hacker news viewer: expandable inline top comments    .. more
?
home   ask   best  classic  links  :  13h 45m ago   :  
1
points by    ago   discuss
2
Didn't see this coming: The Goldman Sachs Github Account (github.com)
114 points by haberdasher  6 hours ago   69 comments 15 top all
1
chrisaycock 5 hours ago 1 reply      
From their FAQ:

  Why is Goldman Sachs open-sourcing GS Collections?

- We believe that GS Collections offers a significant advantage over existing solutions. We hope others will benefit from it.

- We believe in the power of the technical community to help improve GS Collections.

- Technology is a huge part of what we do at Goldman Sachs. GS Collections exemplifies our commitment to technology.

- We use open source software in many of our operations. We have benefited from the work of others and we'd like to give something back.

  Does Goldman Sachs use GS Collections?

- Yes, we use GS Collections in many of our internal applications.

2
babarock 4 hours ago 1 reply      
I'm not entirely surprised. A few months ago (a year and a half! wow!) GS hired Ulrich Drepper, the longtime project lead of the GNU C library.

I also read another article (no way I can find it again now) saying how big investment banks are hiring more and more software engineers.

Disclaimer: I work in IT for a large investment bank which's gradually outsourcing all its IT department to south asian countries.

3
fatjokes 5 hours ago 2 replies      
Why not? It's a large corporation with many branches and technical needs, some of which are harmless to open-source. Despite its reputation, I don't think they go through their day thinking "hmm... we could open-source this, or we could go kick a puppy instead! Muahahaha!"
4
user23409 47 minutes ago 1 reply      
We currently do all development in an internal Subversion repository and are not prepared to take external contributions.

It's a PR and recruiting tool.

5
jlarocco 5 hours ago 5 replies      

  ...
import com.gs.collections.impl.block.factory.Comparators;
import com.gs.collections.impl.block.factory.Functions;
import com.gs.collections.impl.block.procedure.CollectionAddProcedure;
import com.gs.collections.impl.collection.mutable.AbstractCollectionAdapter;
...

Gees, I feel sorry for people still stuck using Java.

6
sparknlaunch12 2 hours ago 1 reply      
There are a few other brands on there, including Walmart and Amazon:

https://github.com/walmartlabs

http://www.readwriteweb.com/archives/walmartlabs_kosmix.php

https://github.com/amazonwebservices

I can imagine Goldmans are using Github to acquire talent and new ideas. I am sure they have some complex problems and technology that needs fixing.

Stack Exchange had a discussion on this last year:

http://programmers.stackexchange.com/questions/61062/why-sho...

7
6ren 3 hours ago 0 replies      
Software is eating the world. But I really shouldn't be surprised as I am at this one, since trading is well-known to be the most algorithmic math-geek industry at present.
8
mcot2 5 hours ago 1 reply      
Any java guru think this is good stuff? Just curious. I moved on form java years ago.
9
DodgyEggplant 5 hours ago 1 reply      
Ahh, it's Henry Blodget fault. He argued that Goldman lost the FB IPO partly because the other underwrites were semi geeks investment bankers, http://www.businessinsider.com/morgan-stanley-goldman-sachs-...
10
tar 4 hours ago 0 replies      
This does not seem to be new. According to their profile they have had an account since Dec 16, 2011. This might be the first time they have open sourced anything though.
11
nn2 3 hours ago 0 replies      
It has some nice features: parallel iteration and lazy iteration (return an iterator that is only evaluated when the values are needed)
12
joshu 3 hours ago 1 reply      
Heh. Morgan Stanley open sourced Aplus a long time ago.
13
jrockway 2 hours ago 0 replies      
It's Guava, essentially.
14
adviceonly 4 hours ago 3 replies      
Why simulate Lambda? Couldn't they just have waited on Java 8? Or maybe just used JRuby, if Java was a requirement? Still- it's great that they shared this.
15
gringomorcego 3 hours ago 5 replies      
I fucking hate goldman sachs.

Note because of politics. Not because of any financial action they've done.

Because they hired that despicable fuck Ulrich Drepper. Seriously, the amount of nice, young people who were forever turned away from GNU/open source with a bad taste in their mouths because of that scumbag dipshit.

I don't care if he was right % percentage of the time. The point of a project is to welcome users, and if you can't do that, why the fuck are you maintaining it?

I mean fuck, how many projects switched their libc implementation because of that fuck? Fuck. Fuck that guy.

The worst part? I didn't even get something rejected by him. I've just read enough of the communications with that guy to have his name seared into my brain next to the part that produces bile.

3
SpaceX looks to relaunch Tuesday after reviewing fail data. (plus.google.com)
70 points by cr4zy  6 hours ago   7 comments 4 top all
1
cletus 5 hours ago 1 reply      
I happened to be up late last night and saw they were webcasting the launch, which I watched. I was surprised at how excited I was by the whole thing TBH. In a world where everyone seems to be trying to create the next social network for cats it's truly exciting to see something as revolutionary and innovative as what SpaceX is doing (to the economics of launching into orbit).

I was disappointed to see the launch aborted but also impressed to see that they could abort the launch after ignition and not lose the vehicle ("safe'ing the vehicle" as they said a number of times).

Oh they made one factual error in the Webcast too (or one is on their site). A pre-launch question came up about what they look for in hiring. A representative said they must be US citizens. According to the site, you can be a US citizen or permanent resident.

2
hkmurakami 5 hours ago 0 replies      
I was talking with some friends who are Aerospace Phds at Stanford last night. They told me how the last few decades were sort of a "dark ages" in the Space field, that there is now a glimmer at the end of the dark tunnel.

It seems that in many ways, this launch is a make or break point in the private Space sector. For the sake of shifting our attention to truly great, ambitious endeavors, and for the sake of many great engineers who have chosen to devote their lives to a now-unsexy craft (and the many who may follow in their footsteps in the future as a result of these projects), I truly hope that this mission ends in a resounding success.

I personally haven't been this excited about a technological milestone in years.

3
jlgreco 6 hours ago 2 replies      
Apparently the valve in question was a turbopump valve. I don't know how the turbopumps work in the Falcon 9, but they are a fairly interesting topic in general. For example, in the German V-2 rockets the turbopumps were steam driven. The steam for this was created with hydrogen peroxide and a catalyst; almost like a little miniature rocket engine inside of a larger one. I think this highlights just how much complexity we can forget liquid fuel rockets have.
4
FrojoS 52 minutes ago 0 replies      
This is the cooles rocket since the Saturn 5, maybe even cooler!

Video from the aborted start:
http://www.youtube.com/watch?v=tI31ibLRCm8

Detect an anomaly in your system? Just shut down the engine after ignition and abort the launch. Fuck yeah!

Good luck on the next attempt! You guys are heroes!

4
Hacker Typer (hackertyper.com)
63 points by th0ma5  6 hours ago   16 comments 10 top all
1
heretohelp 1 hour ago 1 reply      
I cloned this for Emacs so that you won't look like you're writing code in a web browser of all places. Mostly because I wanted to see if this would be easier to implement in Emacs Lisp than JavaScript...it was.

https://github.com/bitemyapp/dotfiles/blob/master/.emacs#L36...

Nota Bene: I wrote this ages ago back when people first talked about Hacker Typer.

2
jaredsohn 3 hours ago 0 replies      
Previous posting of the original hackertyper.net from a year ago: http://news.ycombinator.com/item?id=2485159

CodeTyper (a fork that added sounds) was posted a few days later. http://news.ycombinator.com/item?id=2499883

3
moocow01 1 hour ago 0 replies      
Fantastic way to skate by in your corporate job.

Add a frown and pretend to be just slightly irked but still deep in thought. Sip coffee every 2 minutes and then stroke chin. Repeat daily - you'll be in that corner office in no time.

4
Rhapso 3 hours ago 2 replies      
Yay! Now I can mash the keys as fast as possible and look like a bit of an idiot, yet still somehow magically be typing the code to a program I have yet to discern the purpose of!

Where does this get it's source? can we set it?

--EDIT-- seems it might be a fork of: http://hackertyper.net/ but that is a guess. and that is the linux kernel I was typing...

5
huhtenberg 3 hours ago 0 replies      
Yay! to more people being exposed to a well-written C code :)
6
rsuttongee 2 hours ago 0 replies      
7
mmcdan 3 hours ago 0 replies      
Grade A execution. I pressed buttons like an idiot with the lights off for 3 minutes while laughing hysterically.
8
10098 3 hours ago 2 replies      
I laughed out loud when eventually an "Access Granted" popped up.
9
clone1018 3 hours ago 0 replies      
HackerTyper.net is much better, custom files, the whole shebang.
10
mthreat 3 hours ago 0 replies      
ACCESS GRANTED, story of my life ;)
5
Visualizing Galois Fields (nklein.com)
35 points by wglb  5 hours ago   1 comment 1 top all
1
dude_abides 2 hours ago 0 replies      
Wolfram demo visualization of finite fields: http://demonstrations.wolfram.com/FiniteFieldTables/

(requires the Wolfram CDF player)

6
A few things to remember while coding in Python (satyajit.ranjeev.in)
198 points by satyajitranjeev  13 hours ago   102 comments 13 top all
1
halayli 11 hours ago  replies      
It's worth explaining why mutable defaults are bad.

The problem with mutable defaults is that they are evaluated once only when the function is defined. Each time the function is called you'll be using the same mutable variable that was created during function definition.

2
raymondh 9 hours ago 1 reply      
Overall, this is a nice post. There are two quibbles though.

1). For the most part, "c = collections.Counter()" is almost always better than "c = defaultdict(int)"

* Counter only supplies missing values rather than automatically inserting them upon lookup.

* The Counter version is much clearer about what it is trying to do. The defaultdict version is cryptic to the uninitiated (understanding it entails knowing that it has a __missing__ method to insert values computed by a factory function and that int() with no arguments returns zero).

* The Counter version provides helpful methods such as "most_common(n)".

2). An ellipsis in Python is normally used in a much different way than shown in the article (it's used for an extended slice notation in NumPy).

3
stcredzero 10 hours ago 3 replies      
Generally most use this:

    freqs = {}
for c in "abracadabra":
try:
freqs[c] += 1
except:
freqs[c] = 1

If this is really the common idiom, I'd say this is a sign that professional programming has yet to fully mature as a field.

Some may say a better solution would be:

    freqs = {}
for c in "abracadabra":
freqs[c] = freqs.get(c, 0) + 1

Okay, so I understood immediately what was going on with the 2nd bit of code.

Rather go for the collection type defaultdict

    from collections import defaultdict
freqs = defaultdict(int)
for c in "abracadabra":
freqs[c] += 1


As a non-pythonista, the 3rd bit of code, I had to Google "defaultdict" to figure out. It's only a couple of seconds to Google, and a professional should know this tidbit, but it seems like premature optimization to me. This brings to mind this post:

http://news.ycombinator.com/item?id=3995185

As a programmer, one's most valuable resource is brainpower. Supposedly, a programmer's most important goal is writing clear code. Look around at what goes on in our industry. There's a lot of our most valuable resource spent on showing off our cleverness, not directed towards the clearest code. To me this is like spending money to show one can spend money or playing an instrument to show off dexterity instead of producing gorgeous sounds.

(I think this starts in school and other environments where one is motivated to show off one's coding chops.)

Most of the complexity in our field accrues like litter: a bit here and a bit there. I think it says something about the culture of the folks who live there.

4
euccastro 5 hours ago 1 reply      
There is a builtin function called `reversed`. You'd better remember that than the "useful" [::-1] idiom.

The recommendation on `iteritems` had better be generalized to include `iterkeys`, `itervalues`, and other opportunities for using iterators rather than building lists. A note that the 'iter...' versions are removed in Python 3 (because iterator behaviour becomes the default) would be appropriate here.

In relation to collections, itertools is a great module to get familiarized with. I import * from this module. I consider functions there as if they were builtins.

"Conditional assignment" is a weak and misleading name. "Conditional expressions" is more descriptive. There is no assignment in

  print "yes" if some_condition else "no"

as the article acknowledges later.

Using Ellipsis for getting all items is a violation of the Only One Way To Do It principle. The standard notation is [:].

I commend the good intentions of the writer, but I'm surprised that this article got 144 upvotes in HN.

5
lihaoyi 11 hours ago 4 replies      

    halve_evens_only = lambda nums: map(lambda i: i/2, filter(lambda i: not i%2, nums))

I still find it rather silly that python doesn't supper a nice list map/filter; it could be so much nicer

    nums.filter(lambda i: i%2 == 0).map(lambda i: i/2)

If they did, even including the annoyingly long-to-type "lambda". List comprehensions are cool and all, but do not really scale visually (i.e. get rather messy) when you have more than one map and filter step.

These arbitrary break-away from OO method style into module+data style (len(L) is another!) are one of the things I hate most about Python. There are some reasons for doing so, but a pure-OO (like Scala) or pure-method+data (like F#) would have saved me many a runtime error.

6
Estragon 12 hours ago 3 replies      
Another handy one I saw recently:

  varname, = [x for x in l if predicate_with_single_truth_value(x)]

The comma after varname is an implicit assert that the list comprehension only contains one element.

7
jc4p 11 hours ago 3 replies      

  Generally, most use this:
freqs = {}
for c in "abracadabra":
try:
freqs[c] += 1
except:
freqs[c] = 1

Who does this?!

8
bcl 11 hours ago 1 reply      
My only complaint with this list is conditional assignments. They make it harder for me to understand the code. I am used to the if being at the start and when it isn't it takes more time for me to parse what the real meaning of the line is.
9
ajitk 11 hours ago 2 replies      
Till now I had never seen Ellipsis. It seems very similar to slice notation [:]. Found an StackOverflow comment [1] that has more details about usage of Ellipsis in slicing higher dimensional array numpy.

[1] http://stackoverflow.com/questions/118370/how-do-you-use-the...

10
gcb 7 hours ago 1 reply      
isn't items more efficient than iteritems when you are going to go over all the items for sure on a short list?
11
harlowja 10 hours ago 2 replies      
Probably best not to use iteritems, in python 3, it won't be there, "the dict.iterkeys(), dict.iteritems() and dict.itervalues() methods are no longer supported."
12
shenberg 5 hours ago 0 replies      
There is one slight mistake there - saying that [::-1] is a special case. An empty value in a slice implies the beginning or the end, and when the stride is negative, the beginning is the last index, while the end is 0 - making [::-2] for example start from the last element and go down in jumps of two.
13
phpfanboi 9 hours ago 2 replies      
PHP: Facebook.

Python: ?

Ruby: ?

7
Speeding up FreeBSD Portsnap via geolocation (using EC2 and Route53) (daemonology.net)
13 points by cperciva  2 hours ago   discuss
8
Apple iPhone charger teardown: quality in an tiny expensive package (arcfn.com)
227 points by pmarin  16 hours ago   135 comments 16 top all
1
noonespecial 12 hours ago 4 replies      
I think part of the lesson here is that so few manufactures bother to put any effort into design or quality at all that the ones who do get to name their price.
2
TamDenholm 13 hours ago  replies      
The thing is, Apple get away with charging a premium on its products because they are very well made. I'm no Apple fan but I admit the stuff that Apple produces, especially in hardware, is extremely well built.

In my own opinion, Apple products are probably about 30% better than competitors, but probably have 20% less features, however because they're simply better, they can charge probably 70% more than competitors simply because a lot people want and are willing to pay for the quality.

(Please dont read into the figures i've just used, i pulled them out my arse, they're for illustration purposes only.)

3
halayli 14 hours ago 2 replies      
The cost of products doesn't just come from the raw material used in it. What about R&D cost for example? There's a lot more to establish a product price than simply summing up material cost.
4
recursive 13 hours ago 5 replies      
But they still value aesthetics over quality. The lack of strain relief causes increased wear on the cable ends.

http://www.geek.com/articles/gadgets/a-kickstarter-project-a...

5
pooriaazimi 14 hours ago 2 replies      
That's fascinating. I now fault Apple a tiny bit less for its extremely-expensive peripherals.

Does anyone know of a good disassembly of 'MiniDisplay_Port/Thunderbolt -> VGA/HDMI/DVI/...', or 'iPad Smart Cover' (like this one) that justifies their premium price?

6
joejohnson 13 hours ago 0 replies      
To all the people complaining that Apple charges too much: don't buy their products! If you don't see the benefit in using Apple's peripherals or cables, there are plenty of cheaper options, albeit usually of lower quality.
7
dsirijus 8 hours ago 1 reply      
My rabbit chews a lot of cables. He chewed iPhone charger - I almost cried. He chewed other cables too - I've bought them just round the corner at thrift shop dirt cheap.

I've seen at least 2 iPhones breaking beyond repair just by falling.

My SGSII flew around 4 or 5 times, not a scratch. It does look and feel cheap though. So do Lenovo ribcage plastics as opposed to aluminium shells.

8
thrownaway2424 10 hours ago 0 replies      
There's a fairly obvious way to see that the Apple one is higher quality than the Samsung one, if you happen to own both, like I do. Plug them both in and be quiet. You can hear the Samsung one making a high pitched ring, while the Apple one is silent. This is probably due to the superior diode bridge snubbers in the Apple design (if, indeed, they exist at all.) Having a high-speed diode connected directly to a transformer is an almost guaranteed way to setup an oscillation, which can lead to audible sound, and always leads to electromagnetic interference.

And the sound is really annoying.

9
wr1472 14 hours ago 5 replies      
It feels like it is over-engineered. If a cheaper charger does the job (assuming it's not so cheap it violates safety regs) isn't this a case of over-optimisation?

PS: I'm not an electronics engineer so please educate me, on why this "filtered" and "cleaner" power supply is necessary to charge a phone?

10
J3L2404 15 hours ago 1 reply      
Has anyone tried running these in parallel to get super clean bench top power?
11
nextparadigms 14 hours ago 1 reply      
They should just conform to EU standards and adopt a micro-USB charger.
12
Steko 9 hours ago 0 replies      
People are fixating on the price but I don't see people lining up to buy $30 apple chargers and earbuds or paying top dollar for them on ebay. I'm sure Apple sells a fair number due to the inelastic demand curve (people who lose theirs need a new one now) along with the branding, convenience factor, lack of choice at Apple store etc. but in the grand scheme of things they aren't in business to sell these, in fact they give them away with the phone.
13
TeMPOraL 13 hours ago 0 replies      
Impressive article!

The blue "Y" capacitor reminded me of
http://backtothefuture.wikia.com/wiki/Flux_capacitor

Kind of adds to the magic of those charges :).

14
idspispopd 15 hours ago 3 replies      
If you're going into market charging more than everyone else and making a massive profit - it's only possible to have a clear conscience when the consumer is indeed getting something better, and not merely an ordinary design with a higher price.
15
chj 7 hours ago 1 reply      
Pricing is never only about quality. Suppose symsung produces an equally well made charger, it won't be able to sell well with same price. There is a trust in the brand that can not be measured by figures. That is not fanboism. Trust could bring in buyers who like pay higher prices to stay out of trouble. So even i know it is probably economically wise to buy a TP over MBA, i would still turn to the latter 100% of the time, because I don't want trouble. Trust is also very real. I have used quite a lot of laptops from various vendors over the years, and apple just stands out.

I am not saying only Apple could do this. Amazon has even bigger trust from me. I would still buy books from them even it is a little more expensive just because I have very few trouble over the years with them.

16
dmishe 15 hours ago 2 replies      
Good to know. Though, $30 still feels kinda high
9
A simple example of Huffman coding on a string (nerdaholyc.com)
7 points by romil  2 hours ago   discuss
points by    ago   discuss
11
Morgan Stanley bought 63M Facebook shares ($2.3B) to create a floor around $38 (reuters.com)
162 points by liuwei6  15 hours ago   54 comments 18 top all
1
drags 14 hours ago 0 replies      
The Wikipedia page on the "greenshoe" gives more detail on how Morgan was able to safely buy these shares: http://en.wikipedia.org/wiki/Greenshoe

Brief summary: Morgan oversells the offering. Facebook gives Morgan the right (but not the obligation) to cover its short position by buying shares at the offering price. This is a defensive maneuver.

If the stock pops, Morgan buys the shares from Facebook at the offering price in order to cover its short. Otherwise they'd have to purchase at the market price (which would cause them to lose money). This is the hoped for scenario.

In the unexpected case, where the stock's price trends below the offering price, Morgan covers its short by buying shares directly from the market (instead of from Facebook). This stabilizes the price of the stock at the offering price and ensures that public investors don't go underwater soon after the offering.

It sounds like there are some complicated maneuvers that the underwriter can pull to make some money off the greenshoe (it's not all flowers and sunshine: http://dealbreaker.com/2012/05/facebook-ipo-goes-nowhere-in-...) but this particular implementation seems relatively good to Facebook and the public investors.

2
jpdoctor 14 hours ago 1 reply      
A lot of misunderstanding about the greenshoe...

It's really simple: The IPO sells X+Y shares, where X is the big IPO number of shares and Y is the "over-allotment".

If the stock trades above the IPO price, the money from selling Y shares is given to the IPO company along with the rest of the money from selling X shares.

If the stock drops below the IPO price, the underwriters start buying back (up to Y shares * IPOprice) using the money from the initial over-allotment.

It is one of the few times outright price manipulation is allowed (which should be a completely different discussion, and likely why MS declined comment.)

3
tedunangst 14 hours ago 2 replies      
I love it. Stock pops after IPO, greedy bankers taking the company money. Stock doesn't pop, overhyped failure. I wonder what a successful IPO would look like. Price doesn't change, no trading volume?
5
maybird 15 hours ago 2 replies      
I'm confused by this "greenshoe" business.

To prevent the price of something from falling, you can:

(1) Increase its demand.

(2) Decrease its supply.

Which one does the "greenshoe" do?

6
AznHisoka 14 hours ago 2 replies      
Anyone know if FB employees with shares can sell them immediately after the IPO or do they have to wait after a certain period?
7
jakozaur 13 hours ago 0 replies      
To be honest. I am not that worried if some investment bank got a problem, because Facebook manages to get so much money from the IPO. At least this time, the company which creates true value wins. Unfortunately, in most cases company in first day of trading price rise significantly so it potentially raised less then it was possible.
8
andrewbaron 12 hours ago 1 reply      
Is this another way of saying that Facebook isnt really worth $38?
9
rondon1 8 hours ago 0 replies      
I suspect they will keep this up next week. They will also work out a deal with facebook for facebook to buyback lots of the shares that Morgan Stanley is buying. That way the stock price can go up while the market cap is going down.
10
russtrpkovski 7 hours ago 0 replies      
From the article: "The firm did this by tapping into a 63 million share over-allotment option, or greenshoe, according to sources familiar with the deal."

The title of your post is inaccurate. No one knows for sure how many shares MS bought during the initial day of trading.

For a full breakdown of the first day of trading, check out Zerohedge's analysis:

http://www.zerohedge.com/news/facebook-complete-forensic-pos...

11
ajaymatrix 13 hours ago 0 replies      
Did the investors get the valuation correct? Is it really a $100 B company ?. I am reading through the prospectus now. http://www.sec.gov/Archives/edgar/data/1326801/0001193125120...
12
akavi 15 hours ago 0 replies      
I wonder who the counterparties were.

I'd be willing to bet there're some very happy algorithmic traders out there right now.

13
tzz 12 hours ago 0 replies      
Market Place has more info about Morgan Stanley, the underwriter, supporting the Facebook stock:
http://www.marketplace.org/topics/business/weekly-wrap-what-...
14
arnoldwh 15 hours ago 3 replies      
We know it was MS that's supporting them at that psychologically important $38 figure, but that $2.3B figure is just speculation. Still, I'm sure there are some very nervous traders this weekend over at MS. Would not be surprised to see a lot of shorts on stocks like Yelp, Zynga as a hedge.

What a disaster this IPO was (for the banks, not for facebook). Though, I'm sure the people at Facebook aren't exactly happy with the way things went and all the (unfair?) negative press / scrutiny that they will receive now.

15
nzealand 8 hours ago 0 replies      
As I said a month ago.

May 17 is a terrible time to IPO. Facebook will be fighting against a falling stock market. Operation twist is about to end, and there are a lot of believers in "Sell in May and go away."

16
mcantelon 14 hours ago 0 replies      
I guess the "trading glitches" were not in place for Morgan Stanley's buy orders.
17
Kroem3r 12 hours ago 0 replies      
A well written article; interesting enough in spite of not having any quotable sources. A more accurate title might have been "Reuters shut-out; Facebook IPO bankers remain mum"
18
bewareofdog 8 hours ago 0 replies      
Insiders were selling their Facebook shares pre-IPO.
12
Assange stands 'real chance' of election in Australia (france24.com)
87 points by nextstep  11 hours ago   26 comments 8 top all
1
cletus 5 hours ago 3 replies      
Running for the Senate would be an interesting move, to say the least, and would probably create a headache for the Australian government that they don't want.

I imagine Assange's lawyers have done their homework and have established that from being on house arrest in the UK he could run for the Senate (contrary to what 1-2 commenters here have said).

There's probably few better elections to run in than the next one. It looks like the current Labor government will be decimated in the next election (in some ways history is repeating itself from the Hawke-Keating years, which is interesting).

Yet the population seems disillusioned with the opposition too. My biggest problem with the opposition is their pointless continued opposition to the NBN.

Anyway, the big potential headache for the Australian government here is Assange would go from being a citizen possibly being extradited to the Sweden (and potentially the US) to being a sitting Senator being extradited. While he wouldn't be a head of state and enjoy those protections, I'm not sure if there's any real precedent for extradition of someone in the government like this.

Australia should be standing up to the US over this however so it's a headache I would invite and welcome upon our government.

That all being said, I'm not sure I buy the theory that Assange's extradition to Sweden is to get his extradited to the US. I seem to remember reading something saying it was just as easy to extradite him from Britain so who knows.

2
tjmc 7 hours ago 1 reply      
Here's hoping. Under the Westminster parliamentary system you can say anything in parliament and not be held liable. Everything said is then transcribed and made available as a public record. It's the ideal soapbox.
3
alastairpat 9 hours ago 1 reply      
I'm all for Assange's senate bid, but given he doesn't seem to have declared/decided which state/territory he will be running for the Senate in, I'm curious as to how these data can be considered accurate/representative of any actual electoral outcome.
4
chris_wot 8 hours ago 0 replies      
Th government is on the nose at the moment. So is the opposition! A dead fish has a good chance of being elected right now, if they aren't a member of the major Liberal or Labor parties...
5
rdl 6 hours ago 1 reply      
Would this get him some form of immunity from civil/criminal prosecution? Would it apply internationally? (diplomatic or consular immunity)
6
nextparadigms 8 hours ago 1 reply      
It would certainly make it a lot more interesting to see how the US Government deals with him.
7
tnuc 9 hours ago 2 replies      
He has no chance. He needs to be in Australia to be elected or he will be charged with electoral fraud.

Good luck to him but by the time he has dealt with his current legal "issues" most people would have forgotten about him.

8
tedivm 10 hours ago 1 reply      
He's been under house arrest for over a year now. I'm not saying the guy is perfect, but he's taken some pretty big hits for wikileaks too.
13
NOVA: Replacing Body Parts (pbs.org)
6 points by raccoonone  2 hours ago   1 comment 1 top all
1
ssutch 6 minutes ago 0 replies      
At first I thought this title was linking to an article about classic car restoration.
14
Redundant Array of Independent Clouds (tahoe-lafs.org)
51 points by zooko  10 hours ago   16 comments 9 top all
1
dhughes 7 hours ago 1 reply      
Redundant Array of Independent Networked Storage or RAINS would sound so much cooler considering it is "cloud" storage.
2
j_s 8 hours ago 2 replies      
Cool! First thoughts:

* how many of the supported options boil down to Amazon S3?

* is this the new "upload their important stuff on ftp, and let the rest of the world mirror it"? https://groups.google.com/group/linux.dev.kernel/msg/76ae734...

* whoever put together this newsletter is clearly doing a great job for that community

3
moe 5 hours ago 1 reply      
Sidekick: Why am I not surprised that he replaced inexpensive with independent in the original acronym...

Other than that, interesting project.

4
fsniper 9 hours ago 1 reply      
Even before "cloud" or online storage was too hot or even showed up yet, I was thinking of doing this.

Time was Google providing "unlimited" gmail storage and fuse gmail-fs was just released. I looked for another fuse fs like a hotmail-fs but did not push hard on it. I could not find and let my idea die.

It was hard to do and time consuming, but marginal gain would be small. Also I'm a f lazy system administrator. I hate coding :)

5
emmelaich 7 hours ago 0 replies      
I;m sure many of thought of this, nice to see someone do it.

My idea for backup would use something like DIBS ( http://www.mit.edu/~emin/source_code/dibs/) but instead of peers, use many free salami slice sizes of storage from cloud/hosting platforms.

7
mey 1 hour ago 0 replies      
Beowulf cluster?
8
conformal 8 hours ago 1 reply      
nice work zooko et al :)

my understanding is that tahoe-lafs is meant to be used as a live filesystem. how does the redundancy configuration affect latency? i would guess a cloned volume ("RAID 1") would be faster than a distributed volume (e.g. "RAID 5" or "RAID 6").

9
uncle-ezra 6 hours ago 0 replies      
Nice idea! This paper (http://www.cs.cornell.edu/~hweather/publications/racs-socc20...) called RACS from Cornell explored the same space about two years ago, but it's really nice to see it rendered to practice in usable filesystem form.
15
Show HN: My first web app, DailyDo.it (dailydo.it)
110 points by michelle_  14 hours ago   51 comments 21 top all
1
jacquesm 11 hours ago 2 replies      
I think you can safely drop the 'aspiring' from your bio, you've made more progress in three weeks on this than many have made in much longer time-spans.

Impressive, to put it mildly.

What you've made is interesting, but what is even more interesting is how you managed to do all this in such a terribly short time, I think there will be plenty of people interested in the 'making of' of this neat little website.

2
blatherard 12 hours ago 3 replies      
One thing that confused me was the "Team" link at the top. Having it placed between "Philosophy" and "Contact" made me expect that it was going to be a page about the people that made the site, not a signup page about a future featureset.

Anyway, you might want to make the "team" thing stand out in a different way, if you're hoping to capture people interested in group features.

3
billpatrianakos 12 hours ago 2 replies      
I don't care how overdone to-do lists are, I never get sick of them. Putting this together in 3 weeks is impressive considering your background. The UI is really what makes it. Todo lists are really straightforward from an under-the-hood perspective which is probably why everyone makes them (myself included). That's why I think the design is really the most important part of it and you nailed it. I've been developing professionally for 2 years now and before that I was coding front end stuff since I was 10 and you totally put me to shame in just 3 weeks. I think you have a real talent and a great eye for design. Plus, from what I understand, you're a chemistry major and I'm assuming you don't plan to code professionally. All that considered, you're fucking awesome and I'm actually jealous. Good job.
4
bdunn 11 hours ago 0 replies      
This is great! I hope you're planning on at least charging for the "Team" feature.

Project management / todos / time tracking / and so on are often chided as being oversaturated markets. The fact is: lots and lots of people need these things, they can help increase people's income and happiness, and there's no "right" way to do it. Todo list apps are one of those arena's that can do very well financially if you target the right kind of user.

(Even if this really never makes you any money, and considering this is what you've been able to do without much real world experience, you will have no issue finding work.)

5
ZanderEarth32 11 hours ago 1 reply      
So, going from zero programming knowledge or experience to this in 3 weeks? If that is the case, it's pretty amazing. I would never have pegged this as a 'first app'. Great job.
6
jonmb 11 hours ago 0 replies      
You did a fantastic job! Two questions:

1. What resources did you use to learn PHP/MySQL/jQuery in three weeks?

2. How are you handling passwords in the database?

7
sparknlaunch12 14 hours ago 1 reply      
Like the design. Looks good for first web app. Do you mind sharing some background? How did you come up with product idea? What technologies did you use? What are your planned next steps for app?
8
underwater 12 hours ago 0 replies      
Nice work. There are a few things I find strange, but other commenters have covered most of them.

I love being able to drag around the notes on the "future" tab, it makes it easy to cluster tasks without lots of UI overhead. However I don't see why I can't do the same thing with today's tasks. I also can't send a task to the future tab and vice versa.

9
ameyamk 7 hours ago 0 replies      
Bug: If you add a task to "today" and then switch couple of times between monthly and future tabs, and come back to "today" tab - task is gone! If my task tracker drops my tasks I'd be very worried! But good effort overall
10
nitingarg 13 hours ago 3 replies      
Few suggestions from Interface point of view.

1.Firstly i would suggest move the task-input field to top instead of bottom. It would be much more intuitive .
2.Take the logo out of whole task window if possible. It's kind of distracting as of now.
3.Kill color from background and make it neutral. Give attention to task area as much as possible.

11
robwgibbons 9 hours ago 0 replies      
Great job. You've made a great app here :)

Only one suggestion for usability -- autofocus the "Add a task" input on page load, so the user can begin typing without an extra click upon arrival (think Google.) I think this convention works well with any app which expects text input as its immediate feature

12
antidoh 12 hours ago 1 reply      
Very nice, immediately understandable and therefore immediately useful.

I would add a "today" button in your calendar popup, so a task can quickly be moved to today.

13
sundeep_b 12 hours ago 1 reply      
You made the dot in the logo jump! It doesn't jump for monthly and future though. It's amazing how much you have learnt and put to use in such less time. I'm jealous too! Plus the design is simple and gives a pleasant experience.

I have used many to-do lists and liked the way you stated that this is not a to-do list, but a do-it list. This gives a feel that the task won't remain undone. And of all the to-do apps I used, I realized later that the ones I have stayed with for longer times are comparatively better looking than the ones I never cared to give a second visit. So, good looking site is a definite plus.

Good luck.

14
Kilimanjaro 13 hours ago 0 replies      
I just closed HN to take a nap when I saw the last tab in the browser, played with the app, and came back to tell you good job. I like the mix of simplicity and beauty.
15
easy 14 hours ago 1 reply      
I like it though I do think that changing the logo from daily to monthlydo.it and futuredo.it when people select those tabs will cause some folks to forget your url if they didn't bookmark the site on their first visit.
16
zafriedman 10 hours ago 1 reply      
Amazing dude! You have naturally good taste for design which helps too, but to do the full stack in such short time my hats off to you.
17
tomjakubowski 5 hours ago 0 replies      
Great stuff, one suggestion: clicking the label for an item should check/uncheck it, like in a properly marked up form (using the "for" attribute of the label tag).
18
dragonbonheur 14 hours ago 1 reply      
Excellent! Great design! What languages/technologies did you use?
19
jason_shah 10 hours ago 0 replies      
Awesome work. I just registered.

In the UI, it would be helpful if a user's email address is shown in the top right or somehow otherwise provide (obvious) confirmation that the registration worked.

20
will_work4tears 13 hours ago 1 reply      
Beautiful site, love the simplicity of it, nice on the eyes.
21
qntmfred 12 hours ago 0 replies      
was expecting an adult friend finder clone
16
African child mortality: The best story in development (economist.com)
58 points by ph0rque  10 hours ago   15 comments 9 top all
1
redwood 2 hours ago 1 reply      
The flip-side to reduced infant mortality is typically a population boom (at least this was the case in the 50s and 60s). I'm living in Bangladesh right now where the country really suffers due to over-crowding born out of that era which means there's not enough agricultural land to work for most people, leaving most people under-employed and impoverished.

Of course reduction in infant mortality is good, but it can be coupled with problems later if family planning is not also brought into families at the exact same time.

If family planning is delayed by one generation compared with the reduction in infant mortality, a country's population can rise exponentially very quickly which is highly destabilizing.

The Vatican and others stand in the way to realizing family planning everywhere...

2
lincolnq 8 hours ago 0 replies      
You can fund insecticide treated bed nets in developing countries by donating to Against Malaria Foundation (http://www.againstmalaria.com), which is currently estimated to be the #1 most impactful charity for your dollar in the world, as determined by GiveWell (http://givewell.org).
3
iRobot 1 hour ago 0 replies      
Step One achieved. Now if you could just feed and educate the little fellows and keep them from having too many kids and stop their (generally) useless and corrupt governments from destroying their countries and killing each other, the world would truly be a nicer place.
4
kevinpet 4 hours ago 0 replies      
I hate these government-accounting style stories. The numbers reported in the graph are the percent change in infant mortality relative to the rate of change to meet MDG. Is it just me, or would it be more useful to illustrate an article about infant mortality rates by a graph of the actual numbers for infant mortality in these countries?
5
rokhayakebe 7 hours ago 0 replies      
I think education and the internet also have lots to do with this decline. People in the third world have seen a huge increase in internet adoption, which facilitates second hand learning; they are now more aware and educated and can take better preventive actions. Great news.
6
learc83 7 hours ago 1 reply      
Fantastic news. I wonder how much of this is a result of the Bill and Melinda Gates Foundation's war on malaria?
7
carleverett 2 hours ago 0 replies      
This backs up Hans Rosling's talk on "The best statistics you've ever seen" pretty well: http://www.ted.com/talks/hans_rosling_shows_the_best_stats_y...

The world is definitely improving - from a health perspective. Of course you could talk about overpopulation as a chronic global problem as well, but in my opinion education on birth control will improve enough over the next few decades to help combat that.

8
J3L2404 9 hours ago 4 replies      
Stories like this often don't get traction because it doesn't play into the news narrative. Doom sells.

EDIT: Why is that? Why does doom sell?

9
kristoffer 3 hours ago 0 replies      
I wonder how this will affect Africa as a continent. The article doesn't mention possible effects this could have on these nations, such an analysis would be interesting to read.
17
High-dimensional spheres are "spikey" (penzba.co.uk)
162 points by ColinWright  21 hours ago   39 comments 10 top all
1
xyzzyz 19 hours ago 8 replies      
Another way of looking at this phenomenon is to inscribe a high dimensional sphere in a hypercube. As the dimension grows, the sphere/cube volume ratio gets arbitrarily small, although sphere touches the cube at every side. It seems that most of the mass of the cube was focused near vertices. This is because the side of a cube is a whole lot closer than the vertex from the center of the cube -- for instance, if we take a million-dimensional cube with a side of length 2, then the distance from the center of the cube to the side is 1, but the distance from the center to the vertex is 1000. It's not the spheres that are "spikey", the cubes are.
2
mreid 13 minutes ago 0 replies      
I wrote a very similar blog post a few years ago when I first encountered the same fact:

http://mark.reid.name/iem/warning-high-dimensions.html

Thanks to the comments, I learned this is a common warning, used in at least three textbooks.

3
yummyfajitas 17 hours ago 1 reply      
One practical application of this stuff is in understanding high dimensional discriminants.

Consider two populations, A and B, with N real-valued traits. Suppose each trait in group A is normally distributed with mean 0 and stdev=10, while group B is distributed with mean 1 and stdev=10. (This is true for trait 1, trait 2, etc.)

Each individual trait in these groups overlaps quite drastically. Imagining that all the mass of the normal distribution is contained in a ball of radius 20, then for any single trait A lives on the ball of radius 20 about 0 (namely [-20,20]) while B lives on [-19, 21]. Barely different, right?

On the other hand, in the N-dimensional space, the point (0,0,...,0) has a distance sqrt(N) from the point (1,1,...,1). So in 401-dimensional space, the ball of radius 20 around (0,0,...,0) and the ball of radius 20 around (1,1,...,1) don't overlap at all and the discriminant f(traits)=sign(trait[1] + trait[2] + ... + trait[N]) works fantastically.

This is one reason why "big data" can work well - chaining together many weak predictors gets you a strong predictor.

See Lewontin's Fallacy for a biological example of this.

https://en.wikipedia.org/wiki/Lewontins_Fallacy

4
ot 18 hours ago 2 replies      
Other fun fact about spheres: as the dimension grows to infinity, the function of the area of the section along a diameter converges to a Gaussian (!)

If you are interested in these things, this survey is amazing: http://www.math.ucdavis.edu/~deloera/MISC/BIBLIOTECA/trunk/B...

5
gfodor 10 hours ago 0 replies      
A fun walk through the curse of dimensionality and how your intuition can break down in higher dimensional spaces, and other life lessons, can be found in Richard Hamming's book The Art of Doing Science and Engineering:

http://www.amazon.com/The-Doing-Science-Engineering-ebook/dp...

6
evincarofautumn 14 hours ago 1 reply      
The intuition seems flawed. It's not that n-spheres are spiky, but rather that n-cubes are. If you put n-spheres in all the corners of an n-cube, for n > 9 the corner spheres are far enough away from the centre of the cube that the central sphere ends up with a diameter greater than the cube's edge length.

Even if I'm just misunderstanding it, I don't see how it's surprising. The author writes “with a true high-dimensional sphere, every point on the surface is ‘an extremity'”"isn't the same true by definition of a sphere of any dimension? For an n-sphere, you have an infinite number of “spikes” whose tips constitute an (n ' 1)-dimensional surface.

7
evolvingstuff 14 hours ago 0 replies      
Another fun fact about high-dimensional spaces: Randomly pick k points in an n-dimensional space. Now, find their average location. As the number of dimensions increases, it becomes progressively more likely that every point will be closer to the average than it is to any other point.
8
celoyd 11 hours ago 0 replies      
As a gateway to further reading (covering many of the interesting facts people are pointing out here), I enjoyed http://en.wikipedia.org/wiki/Curse_of_dimensionality
9
kentpalmer 11 hours ago 0 replies      
I use this fact about hyperspheres getting smaller in my dissertation on Emergent Design at http://about.me/emergentdesign.

I have created something called Schemas Theory which is the next level of abstraction up from Systems Theory but contains all the schemas like Facet, Monad, Pattern, Form, System, OpenScape (meta-system), Domain, World, Kosmos, Pluriverse. Then to kick things off I created a hypothesis that Schemas were related to dimensions by a rule that there were two scheams per dimension and two dimensions per schema. And so there are ten schemas ranging from -1 dimension to 9 dimensions. It just so happens that String theory starts at the tenth dimension, but is unschematized, in other words we have no natural organizing template of understanding to relate to it. Schemas are projected organizations by which we understand the things in a given dimension. They are the way that we project Spacetime and find things in it intelligible given Kant's idea of a priori synthesis.

Then the question comes why are there only ten schemas and why do they stop at the ninth dimension, and I use the fact that bounded spheres as in the example given overflow the surrounding spheres at that point which is something that goes beyond our intuitions of how space itself works. I think it works as an explanation as to why we don't have natural models of intuition beyond the pluriverse (i.e. the multiverse). The point in my dissertation is that we use schemas as the basis of all our design activites.

So I think this fact of the overflowing of the hyperspheres of their surrounding spheres is quite important for our understanding of how we project spacetime templates of understanding as a framework for understanding dimensional phenomena.

The other point that I make in my dissertation that is related is that hyperspheres get bigger in terms of surface and volume and then they get much smaller and the dimensions where they are the biggest are at 5 throug 7 dimensions. I make the point that when we say that we can hold 7+/-2 things in short term memory those are independent things, and that means that conceptually we can do design up to the ninth dimension but that the optima is in the fifth through seventh dimensions where the space of possibilities is largest. So we actually hold in our minds higher dimensional objects and we design in spaces of higher dimensions but not too high, but the optimal height is 7+/2 dimensions which is where we have the most room to maneuver the possible schemas. However in terms of manipulation it is the fourth dimension that is best because in that dimension movement has perfect laminar flow without singularities. And it is interesting that this is the dimension where the middle sphere is the same size as the surrounding spheres.

Anyway, I just thought I would mention this because it is a theoretical use of this fact about higher dimensions that we do not see referenced very often which I think has lots of implications for how we think and how we design especially in Software Engineering.

10
tomerv 16 hours ago 0 replies      
Another explanation (a bit clearer in my opinion): http://bit-player.org/2011/the-n-ball-game
18
What is the best way to solve an Objective-C namespace collision? (stackoverflow.com)
22 points by pooriaazimi  6 hours ago   15 comments 5 top all
1
SeoxyS 3 hours ago 1 reply      
This situation is most commonly encountered on iOS, with ad networks and SBJson.

As the developer behind one of the ad network SDKs included in countless iOS apps, I struggled finding a good solution to this problem. Spoiler: there isn't one.

The good news is, while there were often collisions on SBJson; pretty much all versions of the version are compatible. For a while, we would compile our static library without the SBJson objects, and ship the library and SBJson separately.

Recently we decided to create our own fork of SBJson, and switch to using our own prefix, which allowed us to embed it in our library, and not worry about what other libraries were doing.

Note: another tricky gotcha with static libraries for iOS: There is a bug in the linker, in that it will not import Objective-C categories from `.o` files unless there is another another symbol that is recognized, such as a class of C function. This has caused crashers and much headache.

2
pjmlp 35 minutes ago 0 replies      
Funny how Apple still relies on language without any form of namespace support for their system.

Prefixes are not a solution as they have no ways to avoid collisions.

So much for supporting large scale development with Objective-C.

3
buddydvd 4 hours ago 1 reply      
I'm not sure how well this works, but Nimbus (iOS framework) lets you embed itself in your own static library with a custom prefix via preprocessor macros. It would helpful if more libraries provide this feature.

http://wiki.nimbuskit.info/Nimbus-Namespacing

4
cageface 4 hours ago 1 reply      
As ugly as C++ namespace mangling is, it does seem preferable to the kind of hacks it takes to solve this problem.

On the other hand, with a carefully chosen three letter prefix these kinds of collisions should be pretty rare in practice.

5
SoftwareMaven 4 hours ago 3 replies      
As much flak as Java gets, at least they got namespaces right. Python got better, but it's still not what I would call great.
19
Korean and Russian scientists plan to clone woolly mammoth (phys.org)
47 points by nextstep  11 hours ago   11 comments 4 top all
1
vibrunazo 8 hours ago 2 replies      
For those not aware. There's a running joke in the skepticism community, that in the next few years we're gonna have baby mammoths flying around in jetpacks [1]. That's because stories of both mammoth cloning and jetpacks in development keep coming back on the media. Every other year we hear about a new exciting research about either of these, but not only they never delivered, we also haven't seen any real evidence that we have the technology for either of them to become a reality in the near future.

Both jetpacks and baby mammoth share a common problem. They're both things we have already theorized as possible. So we do know we can do it, any research on them could be legit. But there are way too many little technical details in the way to actually make them happen. In the case of cloning mammoths, there are just thousands of little things that could go wrong. From your DNA sample not being as good as you thought, or the womb condition of the elephant not being as appropriate for a mammoth as you thought. To the big elephant in the room (sorry) that is, even if you perfect the technique (we didn't), and happen to successfully give birth to a new baby from mammoth DNA. That new baby is actually not a mammoth. But a mammoth-elephant hybrid. That would be like mating a German Shepard with a Poodle, getting a short dog with curly hair, but with a hair color that resembles the Shepard. And saying "here's a German Shepard". Well, not really. If you really want an actual mammoth that is, at least, very close to a mammoth with little elephant DNA in it. You'll need to reclone that new baby with more mammoth DNA. Even if you assume perfect cloning technique and infinite samples of perfect mammoth DNA. Considering the pregnancy time for elephants. It could take centuries to have an actual mammoth.

So yea, it's exciting research, we love to see it, and it's sure something viable that may become true in the future. But don't get too excited just yet. The correct skeptic stance would be to assume they might succeed, but their chances are very slim to at best, move forward some baby steps in technology. But since that's probably not the best stance to get your research funded, we'll keep hearing about exciting new breakthroughs in baby mammoths flying on jetpacks on the media every other year.

[1] http://www.skepticalrobot.com/products/Jetpack-Mammoth-Tee.h...

2
w1ntermute 8 hours ago 0 replies      
People should approach this with a grain of salt. The leading Korean scientist, Hwang Woo-suk, was discovered to have fabricated two articles he published in Science in 2004 & 2005[0]. We shouldn't completely disregard the work, but should definitely be more cautious when judging its veracity.

0: http://en.wikipedia.org/wiki/Hwang_Woo_Suk

3
ComputerGuru 3 hours ago 0 replies      
In case I'm not the only one who wondered: South Korean, not North. I remember maybe 10 - 15 years back there was some kerfuffle about North Korean scientists being outed as experimenting with cloning humans, so this was the first question that came to mind.

I'm also pretty sure this was previously posted on HN. The news is from a few months back: http://www.wibc.com/news/Story.aspx?ID=1689899

4
fsniper 9 hours ago 2 replies      
For the sake of science and humanity, we need more of these kinds of "crazy" researches. With ethics and academia rules and funding craziness we are holding our-selfs back.

We should be using on-animal harvested human organs for transplants, or we should be using stem-cells for regeneration, wound curing and so many other things in the wild.

Science should be more agile. Like the story of "one sloc change takes 3 days" science nowadays takes too too long.

20
points by    ago   discuss
21
points by    ago   discuss
22
points by    ago   discuss
23
points by    ago   discuss
24
points by    ago   discuss
25
points by    ago   discuss
26
points by    ago   discuss
27
points by    ago   discuss
points by    ago   discuss
29
points by    ago   discuss
30
points by    ago   discuss
cached 20 May 2012 08:02:02 GMT  :  recaching -12h 14m