Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmgao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
jmgao
12y ago
Of all the dark patterns on the web, this is possibly the most bullshit and annoying one of all. The one time I've been hit by something like this, it was a false positive (I was switching browsers to use lastpass for paypal), and it a
212.
▲
by
jmgao
12y ago
Scala hits all of those checkmarks (and checks them off more completely than go) and is explicitly designed such that you can use it as a scripting language.
213.
▲
by
jmgao
12y ago
Go is quite possibly the worst possible language for this example. You don't have generics, so the best you can do with an option type is return an interface {}, and any error checking you have to do has to be done manually. The proble
214.
▲
Apple bans German website for posting iPhone 6 Plus 'bendgate' video
(phonecruncher.com)
8 points
by
jmgao
12y ago
|
0 comments
215.
▲
by
jmgao
12y ago
Don't forget getting ebola in the first place!
216.
▲
Samsung, ARM and Nest launch Thread Group to tie home IoT devices together
(pcworld.com)
2 points
by
jmgao
12y ago
|
0 comments
217.
▲
by
jmgao
12y ago
Shameless plug: https://github.com/jmgao/metamove
218.
▲
by
jmgao
12y ago
Oh man, that guy was awesome. I went there 2-3 times a week back when I was in Pittsburgh. I still haven't found better Indian food out in the Bay Area.
219.
▲
by
jmgao
12y ago
#3 is bad (or at least incomplete) advice when you consider portability to 64-bit. What it should say is to use the C type that correctly represents the data. Translating DWORD to `unsigned long` is not correct! unsigned long is 32 bits on
220.
▲
by
jmgao
13y ago
Strictly speaking, you'd be off by ~10%, because circles don't tile the plane, and you'd be counting the area between the hairs.
221.
▲
by
jmgao
13y ago
It's the Japanese equivalent of CEO.
222.
▲
by
jmgao
13y ago
You recommended a garbage collected language that doesn't even have generics as a replacement for C++.
223.
▲
by
jmgao
13y ago
Signature validation should not be an optional thing that gets done if people choose to do so. Any sane updater library will mandate it in the library, and force users to jump through hoops to turn it off.
224.
▲
by
jmgao
13y ago
This is a terrible idea, especially as used as in the examples in the comments. You think enterprise apps would fix security holes using an updater that grabs arbitrary code off the internet using http, and does no signature validation what
225.
▲
by
jmgao
13y ago
It's inherited from Java, where adding something and a string will implicitly convert the something into a string. The C++ behavior is notably worse, though: "5" + 5 in C++ is undefined behavior, and will give you a pointer t
226.
▲
by
jmgao
13y ago
There are multiple ways of getting bash on windows, MSYS and Cygwin being two of them. They perform like ass compared to bash on a real unixy operating system, because Windows doesn't have fork. Its process creation is already signific
227.
▲
by
jmgao
13y ago
As mentioned by others, C does not allow reordering of members in structs. However, C++ does! §9.2.12 says: Nonstatic data members of a (non-union) class declared without an intervening access-specifier are allocated so that later
228.
▲
by
jmgao
13y ago
The constructor also wasn't tagged explicit.
229.
▲
Show HN: XFree86-style alt+drag to move windows in OS X
(github.com)
1 points
by
jmgao
13y ago
|
0 comments
230.
▲
by
jmgao
13y ago
There is a difference between starting with a reasonably well written core and fixing issues that are discovered, and starting with a product that demonstrates essentially no understanding of cryptography beyond the bare minimum and trying
231.
▲
by
jmgao
13y ago
I'm a fan of Lowtax's response to Ubisoft's cease and desist: http://forums.somethingawful.com/showthread.php?threadid=268...
232.
▲
by
jmgao
13y ago
Looks like Gmail in 2010, and all of their sites for logged in users since 2011. [1] http://blog.chromium.org/2013/01/google-search-in-chrome-get...
233.
▲
by
jmgao
13y ago
A target's phone call, e-mail or chat will take the cheapest path, not the physically most direct path - you can't always predict the path Dates When PRISM Collection Began For Each Provider This is complete conjecture, but th
234.
▲
by
jmgao
13y ago
> In general, in any area of art or sensation, there are many ways for something to be good, and they cannot be compared and ordered >Indian classical music (I tend to enjoy Carnatic more than Hindustani) what
235.
▲
by
jmgao
13y ago
I think this is the first time I've ever heard anyone accuse Mozilla of stifling competition.
236.
▲
by
jmgao
13y ago
StartSSL also lets you use subjectAltName to have multiple domains on one cert so that you can host multiple domains off of a single IP.
237.
▲
by
jmgao
13y ago
NYSE:SNE is an ADR [1]; basically, a bank buys shares in a foreign country, and sells a receipt for those shares on a local exchange. It acts as a proxy for the foreign share, without having to deal with currency conversion/owning direct sh
238.
▲
by
jmgao
14y ago
Have you considered that it might be easy to hire developers because there are more unemployed developers there? Contrast that to SF, where it's really hard to hire developers.
239.
▲
by
jmgao
14y ago
It's a Magic the Gathering Online card exchange.
240.
▲
by
jmgao
14y ago
The author is exactly right about the quality of data in bioinformatics. There are datasets with genes named MAR1, DEC1, etc. getting mangled to 1-Mar, 1-Dec, because of Microsoft Excel autoformatting. http://nsaunders.wordpress.com/2012/1
More ›