Viewing profile — 430gj9j
430gj9j
HN member- Joined
- Wed, Jan 04, 2012, 11:35 AM UTC
- HN karma
- 53
- Public activity
- 28 items
- HN profile
- View on Hacker News ↗
About 430gj9j
No profile information was provided.
Recent public activity
-
comment
Comment #6634558
In the examples, 0x3bffffffffffffffff decodes to -18446744073709551616, which doesn't fit into int64_t. Why didn't they switch to bignums after INT64_MIN (-9223372036854775808) ins…
-
comment
Comment #5785813
The full text is a little less alarmist: http://www.who.int/dg/speeches/2013/world_health_assembly_20...
-
comment
Comment #5679811
According to the original paper, 81% of SO users didn't provide their age, so to conclude that older programmers are more knowledgeable from this data seems unwarranted. The paper …
-
comment
Comment #5631748
The programmer inadvertently used a vendor-specific feature. This is the key difference. Nobody writes perfect, standards-compliant code all the time, so the compiler needs to tell…
-
comment
Comment #5631696
A quote from Stroustrup: "Use of a supplier's language extensions and non-standard-conforming features limits the portability of your code and can prevent you from choosing a new i…
-
comment
Comment #5631636
And also here: http://connect.microsoft.com/VisualStudio/feedback/details/7... And again: http://connect.microsoft.com/VisualStudio/feedback/details/7...
- story
- story
- story
-
comment
Comment #5037714
I'd love to see this with a little more curation. An example (there are more): calling Inmarsat a startup is a bit tenuous when they are LSE listed with a market cap of 2.8 billion…
-
comment
Comment #4996955
This would be a great analogy if countries in grey shared a common language.
-
comment
Comment #4996911
The article opens by quoting the NYTimes claiming the iPad's keyboard is "abysmal for typing anything over 140 characters", yet fails to address this point anywhere. Is touch as fa…
- story
-
comment
Comment #4852891
The key is the same length as the data, making this a one-time pad rather than XOR encryption. http://en.wikipedia.org/wiki/One-time_pad
-
comment
Comment #4852872
Presumably you'd have to store the keys somewhere, given that only a savant would be able to memorise them. That somewhere will probably as easy to seize as the encrypted data.
-
comment
Comment #4852859
Yes. In a previous version I was trying to bypass string caching to make x==y return false.
-
comment
Comment #4843448
All languages have pitfalls. Including the author's beloved Java. For example: String x = "foo"; String y = "foo"; // Appears to work but compares references System.out.println(x[0…
-
comment
Comment #4601328
Bear in mind you can't hover on a tablet.
- story
-
comment
Comment #4517165
Ask what isn't in Go that is in Scala. The Go authors deliberately left out certain features to focus on what they call "clarity of design". I don't see them ever adding XML litera…
-
comment
Comment #4469894
http://www.pythonect.org/ FTFY
-
comment
Comment #4455511
No copying here: struct person { int age; }; std::list people; people.push_back(person()); people.back().age = 42;
-
comment
Comment #4365772
Last time I checked corporation tax was payable on profits, not turnover. http://www.hmrc.gov.uk/ct/getting-started/intro.htm
-
comment
Comment #4322844
This made me think: do browsers assume square pixels? So that an N by N pixel image will appear square when displayed? Or is that the responsibility of the OS?
-
comment
Comment #4022913
You're right, Python isn't beautifully minimal. But the Scheme version is boring ;) Rather than asking the interview candidate to use recursion for a problem that shouldn't be solv…