Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wahern
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2630 ms
·
5701.
▲
by
wahern
12y ago
The U.S. has mandatory maternity leave as well. The problem isn't getting time off of work. The problem is that you don't get paid. The problem is that you don't get a salary increase because your managers, knowing you'r
5702.
▲
by
wahern
12y ago
Parallel construction doesn't usually work that way. In 50+ years of heightened warrant requirements, the police and DoJ have learned lots of tricks. Helped along the way by various legal loopholes crafted by conservative Justices. A b
5703.
▲
by
wahern
12y ago
You're using it to verify JavaScript code, not the document. Presuming you also disabled inline JavaScript, you've just shutdown cross-site scripting (XSS) attacks.
5704.
▲
by
wahern
12y ago
I'm not a lawyer, but AFAIU the defense has an affirmative burden to prove impropriety. Simply casting doubt isn't enough. They're unlikely to ever get this evidence suppressed on 4th Amendment grounds, so at best it's a
5705.
▲
by
wahern
12y ago
Suddenly the scenes in the movie Hellfighters (1968) (starring John Wayne) don't seem so dangerous or exciting. Somebody should do a reboot, but using a nuclear bomb instead of TNT. (Although in terms of safety I suppose I'd much
5706.
▲
by
wahern
12y ago
You could just make it an HTML meta tag which specifies trusted keys. And add an attribute to the script tag which contains the signature. Might need to disable inline JavaScript, though. And double-check that meta tags are only meaningful
5707.
▲
by
wahern
12y ago
"It will if anything be more bountiful and teeming with life." In the near term, it's going to cause tremendous dislocation of human civilizations. In poorer areas, climate change will cause millions to die and tens of millio
5708.
▲
by
wahern
12y ago
Ah, right, Go is M:N threaded, so the scheduler runs multiple goroutines on a shared POSIX stack, mostly unused until calling out to C code. Presumably, then, only Go code can yield.
5709.
▲
by
wahern
12y ago
See my post down thread. Or just read these pages http://msdn.microsoft.com/en-us/library/hh409293.aspx http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-librar...
5710.
▲
by
wahern
12y ago
I know what he said. But I think he's understating the changes. Visual Studio 2013 supports both compound literals and designated initializers. That required core language changes, and are arguably the two biggest language changes in C
5711.
▲
by
wahern
12y ago
Actually, about 6 months ago Microsoft did an about face. They're now approaching near complete C99 support, adding features deliberately rejected by C++, such as designated initializers and compound literals. In fact, compound literal
5712.
▲
by
wahern
12y ago
Those are completely made-up objections. strlcpy also fails to fix me coffee in the morning, ergo it should be avoided.
5713.
▲
by
wahern
12y ago
Annex K is so useless that last time I checked not even Microsoft, the sponsor, implemented it completely. Also, if you dig into the Annex K API there are quite a few problems with it, both technical and practical. It was half-baked. Some p
5714.
▲
by
wahern
12y ago
Would you execute random Perl or Python code from the internet? No, you wouldn't, even if you tried to sanitize it a thousand ways from Sunday. So why would you do so for the shell? Defense must use different strategies than offense. A
5715.
▲
by
wahern
12y ago
Here's the problem with Rust, hopefully temporary: from the moment it came out it's been touted as having a bounty of great features--speed, safety, ease of generic programming, etc. The story hasn't changed one bit. However
5716.
▲
by
wahern
12y ago
Just to add what others have said, one of the Go developers has added support to GCC for segmented stacks with the -fsplit-stack flag. And it appears clang also supports this. The question remains how Go's new runtime deals with callin
5717.
▲
by
wahern
12y ago
50 years? Two's complement didn't predominate until the late 1970s, early 1980s. Before that time ones' complement predominated. And there are plenty of processors today which only use sign-magnitude. In particular, floating
5718.
▲
by
wahern
12y ago
Strong LL/SC provides the ability to do real software transactional memory. I believe ARM has the strongest LL/SC implementation, with the architecture supporting transaction blocks up to 2KB in size! Although ARM has specified LL
5719.
▲
by
wahern
12y ago
No. It's only filled on execve, not fork.