HNHacker News
TopNewBestAskShowJobs

cldr

115 karma · joined June 19, 2013

submissionscomments
cldr··on Learn X in Y minutes where X = Go
> It’s not the latest trend in computer science

Uh, I think it is. I can't go three articles without seeing Go mentioned.

I'm going to get downmodded to gray, but either this tutorial is missing something or Go is way over-hyped. I saw nothing special in the language at all, I have no idea what all the obsession is about lately.

cldr··on Why JavaScript Will Become the Dominant Programming Language of the Enterprise
TypeScript really helps with this.
cldr··on Does Gravity Travel at the Speed of Light? (1998)
> because the moon is the major contributor to the tides

No. Tide comes in, tide goes out. You can't explain that.

cldr··on Getty Just Made 4,600 Images Public Domain
Those manuscript pages (like http://search.getty.edu/museum/records/musobject?objectid=30... and http://search.getty.edu/museum/records/musobject?objectid=48... and http://search.getty.edu/museum/records/musobject?objectid=59...) are some of the most beautiful pages I've ever seen. I wish I could read those letters, and old French.
cldr··on Destructuring Assignment in ECMAScript 6
Do you happen to know, which is `destructuring-bind`, destructuring or pattern matching?
cldr··on Destructuring Assignment in ECMAScript 6
Good to see, this is one thing I have really missed from Erlang when writing Javascript.
cldr··on FP vs. OO, from the trenches
Say anything to a Java programmer and you'll get a "huh?" so don't feel bad.
cldr··on The Future of Programming
I have noticed this too; all the "functional" languages I've seen (i.e. those with immutable data) encourage working with bare data. Is encapsulation only necessary for mutable data?
cldr··on How Did Dropbox Scale To 175M Users? A Former Engineer Details The Early Days
For most users, their network speed is way way less than multi-gigabit. May or may not change soon.
cldr··on How Did Dropbox Scale To 175M Users? A Former Engineer Details The Early Days
One of the points of the article was that storing data completely on the net, instead of synchronising local and remote versions, is not in their vision of the future because "users shouldn't have to worry whether they're online or not", so what you proposed is specifically what they're avoiding.
cldr··on How Did Dropbox Scale To 175M Users? A Former Engineer Details The Early Days
I think "replace the hard drive" is a terrible way to say it, since a hard drive (or SSD or SD or whatever) is exactly what you need to be able to use Dropbox.
cldr··on iPhone 6: An edgy concept
> The only way to create a true edge-to-edge display is to remove the edge all together.

And moisture is the essence of wetness.

cldr··on Facebook Tackles (Really) Big Data With ‘Project Prism’ (2012)
> The result is a platform that can juggle as much as 100 petabytes of data — aka hundreds of millions of gigabytes

No more than 105 million gigabytes actually.

cldr··on Books and papers every graduate student should read
Pretty funny that on the "People also bought..." section in Amazon for the "Even a Geek Can Speak" book is the projector remote the author recommended.
cldr··on Google Glass has new rival in GlassUp smart specs
> Google has the best maps/navigation thus far, so it seems the GlassUp would be at a disadvantage (then again for the price who knows, it might be worth it)

I got the impression that an Android app could use the API to use Google Maps with this device. I could be mistaken though.

cldr··on Why 1 && 2 == 2
I think so too, I just have bad reading comprehension and should have known but didn't.
cldr··on Why 1 && 2 == 2
Well, there is a difference between "format specifier" and "format string". The first argument to printf is the format string, the `%d` and `%s` type things are the format specifiers. I was talking about this

    printf("Hi", 45);
which will not segfault. If you meant

    printf(45);
Then you are absolutely correct, that would segfault on common machines.
cldr··on Why 1 && 2 == 2
Feel free to change it to how you like it if you feel that another syntax would be more convenient. You can choose another operator or just create a variadic template function and use function syntax to avoid operator precedence issues.
cldr··on Why 1 && 2 == 2
This is commonly seen in Perl and PHP with stuff like

    launchMissiles() or die('failure');
cldr··on Why 1 && 2 == 2
My thoughts too.
cldr··on Why 1 && 2 == 2
Not putting a format specifier wouldn't cause a segfault.
cldr··on Why 1 && 2 == 2
Yes it will: http://ideone.com/DYmxj0
cldr··on Why 1 && 2 == 2
Just for my curiosity's sake, would you mind posting the code you tried that segfaulted?
cldr··on Why 1 && 2 == 2
He probably thought pointers are the only kind of variables and that he needed to dereference them. I imagine something like

    int *a = 1, *b = 2;
    printf("%d\n", *a && *b);
Either that or he used `%s` as a format specifier. That seems more probable.

Edit: Or, as I just realised the people below me meant,

    printf(a && b);
cldr··on How we Went from Zero Audience to Over a Thousand Beta Signups
So... It was basically all thanks to a well-designed landing page, or did I miss something?
cldr··on Do_good.js
Reminds me of the recent posting that talked about an employee that got fired from a game company because he added code to the game to mine bitcoins without users' knowledge. Not a good idea.
cldr··on DuckDuckGo Direct queries per day (28 day average)
The numbers on the left are literally off the charts. I can't read them, they go under the graph.
cldr··on Code in the cloud with your favorite OS X text editor
What advantage does this have over mounting a network file system (or whatever it's called)?
cldr··on Why HTTP/2.0 does not seem interesting (2012)
So is that just cookies by another name?
cldr··on Justice Dept. defends secret rulings in new spy court filing
We can say that reality is a matter of opinion but we can't have that much useful discourse that way :) And in my comment I meant to refer to his statement "if you are in favor of..." which, even if soundness is subjective, doesn't have to do with soundness at all.
← PreviousPage 2 of 3Next →