Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
0xABADC0DA
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
0xABADC0DA
14y ago
> The people responsible are representatives (in one way or another) of the United States of America. Land of the free. Home of the brave. I don't get this at all... Harvard fellow uses MIT's network surreptitiously to violate the term
2.
▲
by
0xABADC0DA
14y ago
If you think you can do asyncMap in Google Go, without casts and without manually collecting multiple return values, by all means show us the code. I would find that really interesting.
3.
▲
by
0xABADC0DA
14y ago
Even so why would you write that boilerplate code out each time? Something like this would work even better: result = src.asyncMap { |e| dowork(e) }; Except Google Go returns several values instead of tuples, so you can't just coll
4.
▲
by
0xABADC0DA
14y ago
In IE10 the JavaScript is multithreaded... there's a separate thread for JS parsing, compiling, and garbage collection. As far as I know this is the only browser with a threaded JavaScript VM. So the skipping frames is probably because th
5.
▲
by
0xABADC0DA
14y ago
The real problem is the software libraries are just as hard . Take OpenSSL for example... it's almost easier to learn the crypto than to figure out the API. Here's a good one: an SSL read/write operation can fail with more than one error,
6.
▲
by
0xABADC0DA
14y ago
> P4 would have to be running at over 20GHz to match what the i7 is doing on a per-core basis. Seems to me memory getting 10x more bandwidth and cache getting 8x larger probably accounts for the majority of the performance differences b
7.
▲
by
0xABADC0DA
14y ago
The only actual proper thing in this whole affair was Apple's lawsuit. As Samsung was copying them right down to the shape of the charger Apple felt they had a real case. They lost, but disputes are supposed to be settled in court when th
8.
▲
by
0xABADC0DA
14y ago
> Sure you can. Spawn a child process ... This is exactly what I was talking about. You can't even admit facts like that Java has dynamic loading and a security model and that Google Go does not. You're simply delusional in this respe
9.
▲
by
0xABADC0DA
14y ago
> > On the other hand, there are plenty of things you can do in Java that are simply impossible to do in Go. > Depending on what you mean by "do" ... Oh, I don't know, maybe dynamic code loading or secure sandboxing of code?
10.
▲
by
0xABADC0DA
14y ago
Thanks for the help. I see now you can get the URL by using the source browser then clicking 'checkout' to get the svn checkout URL. I just wanted to check out the source, but setting up an Ubuntu VM to isolate gclient and that other nonse
11.
▲
by
0xABADC0DA
14y ago
I don't get it why they make it so difficult to get the source code. TypeScript: typescript.org click "Get the source code" click "Download" Dart: dartlang.org click "Download now" click "Check out" the source
12.
▲
by
0xABADC0DA
14y ago
- Slashdot has the best moderation to show you the best posts. - Reddit has best conversation because the red envelope tells you of replies. - Hacker News has the best audience. If these were combined into one site it would be hella cool, b
13.
▲
by
0xABADC0DA
14y ago
Yes. Your filter bubble won't let you know that anybody else finds it creepy. "If you like, you can repeat the search with the omitted results included."
14.
▲
by
0xABADC0DA
14y ago
How would this be different in a different concurrency model? That was actually the point. You have the same space considerations. Being coroutine instead of native thread is just a small constant factor... if this factor is important t
15.
▲
by
0xABADC0DA
14y ago
But remember that this is in contrast to C threads, where 64 kB is a tiny stack and 1-4MB is more common. Yeah not really. C threads normally have a fixed-size contiguous virtual memory space allocated to them, but the space they don't u
16.
▲
by
0xABADC0DA
14y ago
Why do you think this is Apple's fight? The iOS 6 comes out 5 years after the original iPhone. That's a nice round number and it's highly likely that there was a 5 year contract and Google simply refused to license Maps to Apple at any re
17.
▲
by
0xABADC0DA
14y ago
I think this is exactly the point. You have to read the comment to get the error types (isn't compiler accessible), it doesn't list what all the possible error types are (doesn't say the ones documented are exhaustive), and the code return
18.
▲
by
0xABADC0DA
14y ago
It's actually worse than that. The blog has error handling code like: if err := datastore.Get(c, key, record); err != nil { return &appError{err, "Record not found", 404} } This is pretty typical Google Go error ha
19.
▲
by
0xABADC0DA
14y ago
Interesting in that when it comes to computers, he [Rob Pike] knows what he's doing. Clearly not. For one thing you just don't erase a working drive with your data on it until the repair is successful. If it's some warranty thing and th
20.
▲
by
0xABADC0DA
14y ago
Apple's maps will never reach Google's. There is one way Apple's maps already surpass Google's: no advertising. For instance the iOS 5 Youtube app never showed ads, whereas the new app store one shows tons of them. Sometimes 1/4th of the
21.
▲
by
0xABADC0DA
14y ago
So when somebody says a language is "slow" ... he picks arbitrary and unspecified parameters fitting what he wants the result to be, and then declares he was right? That's natural language for you, but if you try to understand what the as
22.
▲
by
0xABADC0DA
14y ago
Languages are not fast (or slow), implementations are. Actually implementations are not fast (or slow) either, hardware is. Not like that matters. When somebody says a language is 'slow' they mean on typical hardware, under some common
23.
▲
by
0xABADC0DA
14y ago
Bookmarklet to turn on/off style sheets: javascript:(function(){var%20s=document.styleSheets;for(var%20i%20in%20s){s[i].disabled=!!!s[i].disabled;}})(); Makes pretty much any page readable, but combine with noscript/adblock to keep the cont
24.
▲
by
0xABADC0DA
14y ago
Groklaw would be awesome as a summary that average people can read and understand... if it wasn't for the spin. Thing like excusing being late to file "Do you know how late Samsung was in the three instances I found? Two days late on two oc
25.
▲
by
0xABADC0DA
14y ago
The 'defer file.Close()' ignoring errors is used throughout the examples for golang so I assumed it was the same here. My bad. you insist on making the wrong choice up front, which is to use defer for something which is non-trivial. Clos
26.
▲
by
0xABADC0DA
14y ago
Something like this: # /bin/echo "Hello World" >&- /bin/echo: write error: Bad file descriptor You get this kind of thing for free with exceptions.
27.
▲
by
0xABADC0DA
14y ago
Also OP missed the ever-present: defer s.Close() I assume it should be: defer func() { err := s.Close(); // handle error }(); But how do you handle the error? Say the method returned successfully until
28.
▲
by
0xABADC0DA
14y ago
I think you pretty much proved my point. NaCL is a sandbox, the very thing that should have the cleanest, clearest delineated lines. But there's no standalone version, no stub version. And you seemingly need a PhD in Chromium to even fin
29.
▲
by
0xABADC0DA
14y ago
Your "source" link doesn't have source, see: http://src.chromium.org/viewvc/native_client/trunk/src/nativ... The other is a link to a build of pnacl sdk that also doesn't include source (src/ folder is empty). Am I being dense here? Wher
30.
▲
by
0xABADC0DA
14y ago
I see hundreds of APIs and beta APIs. There's no source code repository. The python scripts to download a SDK refer to Google "private_svn". So Google spends 6 months working on the next version and Firefox and Opera don't even get access
More ›