Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rcfox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
481.
▲
by
rcfox
13y ago
Right, and what if I don't feel like working, but I do feel like eating?
482.
▲
by
rcfox
13y ago
Sure, your code will work today, with your compiler. But will it work tomorrow? Or what if your client wants to compile it on their machine, in a different operating system, with a compiler that you've never tried?
483.
▲
by
rcfox
13y ago
That's the opposite of "defined", in the context of a language discussion.
484.
▲
by
rcfox
13y ago
I wish the myriad articles about this interesting hack would bother to mention that it relies on undefined behaviour. Any time you find yourself doing this: *(foo*) you're probably breaking the strict aliasing rule.
485.
▲
by
rcfox
13y ago
Sort of, but not really... If you statically allocate an array, the compiler will ensure that you get the amount of space that you asked for, or raise a compile-time error. If you dynamically allocate an array (which you probably shouldn&#x
486.
▲
by
rcfox
13y ago
Talking about how to catch stack overflows and protect your data against them isn't useless, but it misses the point. There are rules/guidelines, like MISRA[0] (which the testimony mentions 54 times!) for the automotive industry t
487.
▲
by
rcfox
13y ago
Based on your GitHub account, you probably have an iPhone. Care to rephrase?
488.
▲
by
rcfox
13y ago
I don't know if I've been burned out that bad, but for me, making something where I can get lots of quick, visible feedback helps a lot. The quick part is important you have to convince yourself to keep going, and if you have long
489.
▲
by
rcfox
13y ago
Anyone know how to add this sort of thing before the prompt in `git add -p` ?
490.
▲
by
rcfox
13y ago
Freenode has very recently been under DDoS attack[1] and has been dealing with them for at least a year or more[2]. It seems likely that they're getting the same government treatment as Quakenet. Given that Freenode hosts channels for
491.
▲
by
rcfox
13y ago
The Boost.Units[1] library takes this even further, allowing you to do things like divide a length by a time quantity and get a velocity, again with compile-time type checking. [1]: http://www.boost.org/doc/libs/1_
492.
▲
by
rcfox
13y ago
Oh, that reminds me: You can use XPath in Chrome with $x(). To get all of the links on the current page, open up the console and type: $x('//a')
493.
▲
by
rcfox
13y ago
I've done this a few times with XPath from an ipython shell, using the lxml module to parse the XML and handle the XPath queries. 30-second XPath pitch: //foo/bar This gets the 'bar' children from ever
494.
▲
by
rcfox
13y ago
I made something like myself when I was in university. They had us upload HTML resumes for internship applications, so I included a link to a fake CSS file (they stripped out images, but not CSS) which was actually a Perl CGI script on my s
495.
▲
by
rcfox
13y ago
I'd say it's very relevant. The "Motivation and Scope" section bemoans the over-abundance of library choices and then declares that there should be one standard library for all developers to use. That's literally t
496.
▲
by
rcfox
13y ago
The motivation reads exactly like the xkcd comic on standards. http://xkcd.com/927/ The rest of the document reads like someone just discovered the Cairo library and wouldn't it be cool if we jammed this into our
497.
▲
by
rcfox
13y ago
I had a similar experience at my university (University of Waterloo), which I discussed some time ago: https://news.ycombinator.com/item?id=3682163 In my case, it was internship postings instead of a course calendar, and I
498.
▲
by
rcfox
13y ago
A group of cows is a herd, a group of crows is a murder, and a group of INTJs is an argument.
499.
▲
by
rcfox
13y ago
pg: I don't know how much you care to get back the data that was lost, but it seems like it's at least partially available in the hnsearch.com API: http://api.thriftdb.com/api.hnsearch.com/items/_search?p
500.
▲
by
rcfox
13y ago
Apparently, it's gradually being reduced until next year. http://en.wikipedia.org/wiki/Federal_political_financing_in_...
501.
▲
by
rcfox
13y ago
The article mentions reports of misleading calls in 247 ridings. Anyway, parties receive public funding based on the number of votes they receive, so any amount of election fraud is essentially stealing funding from another party.
502.
▲
by
rcfox
13y ago
> To be more precise, the Conservatives had 2 minority governments and 1 majority government ... And all it took was some country-wide election fraud[1]. [1] http://en.wikipedia.org/wiki/2011_Canadian_federal_electio
503.
▲
by
rcfox
13y ago
It's also great for minimizing cache misses if you find yourself iterating over arrays of large structs and just operating on one field from each of them.
504.
▲
by
rcfox
13y ago
Could you elaborate on this? How would encryption help? The DNS server would need to decrypt the request in order to service it.
505.
▲
by
rcfox
13y ago
One a slightly related note, in Chrome extensions, it's possible to redirect DNS requests on a per-URL basis. This is how Media Hint works to allow non-US Netflix users access the US version of the site. I'm surprised we haven
506.
▲
by
rcfox
13y ago
> as if PG can't be trusted Just because we're in pg's house, it doesn't mean we have to treat him like a god. He's a fallible human being, just like the rest of us. The whole point of a blind interview is to pre
507.
▲
by
rcfox
13y ago
For those who use Steam, Ice ( http://scottrice.github.io/Ice/ ) will automatically create "non-Steam game" entries for your ROMs.
508.
▲
by
rcfox
13y ago
The trend is meaningless without a reference. For example: http://i.imgur.com/zXkkJw4.png vs. http://i.imgur.com/f6A84ds.png It's the same exact data (which I made up, by the way) but the first one tel
509.
▲
by
rcfox
13y ago
The article mentions that the ads will only load over WiFi. How do you do that? Is it functionality specific to mobile apps?
510.
▲
by
rcfox
13y ago
Can you give a link to what you're talking about? Searching for "PLANNER" without any extra context seems futile.
More ›