Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
451.
▲
by
pdw
14y ago
Don't think so, but it seems Wirth is revising the Project Oberon book. This time he'll include the design of his own RISC CPU, targeting a $100 FPGA board. https://www.youtube.com/watch?v=BJIqHIYSDrk
452.
▲
by
pdw
14y ago
I wonder how big a factor Windows is. I remember that in 200x several projects (e.g. Mozilla and Java) chose Mercurial over Git because of Git's poor Windows support. At which point did Git become usable on Windows?
453.
▲
by
pdw
14y ago
The second is avoided if you use C++11-style initializers: string a{"Hello"}; string b{}; string c = string{"World"}; Many of the others also disappear if you stick to a "modern" style.
454.
▲
by
pdw
14y ago
GNU grep certainly honors locale settings, and recent versions are fast even when you're using UTF-8 (since release 2.7 or so).
455.
▲
by
pdw
14y ago
As explained by Grace Hopper: http://highscalability.com/blog/2012/3/1/grace-hopper-to-pro...
456.
▲
by
pdw
14y ago
Regarding point 1), they trust AMD and Intel because they receive errata documents from these vendors and can therefore learn about and work around CPU bugs that would affect them. It still seems an extremely paranoid stance to take.
457.
▲
by
pdw
14y ago
If you want to do secure boot, Microsoft won't sign your boot loader if it claims to be "Windows Boot Manager".
458.
▲
by
pdw
14y ago
The term call-by-name already exists and means something entirely different. It will blow your mind. http://www.cs.sfu.ca/~cameron/Teaching/383/PassByName.html
459.
▲
by
pdw
14y ago
I wish all this "call by x" terminology would just disappear. It's fine if you're discussing ALGOL-60 dialects, which by modern standards were all horribly confused about parameter passing (call by name, anyone?). It's just not helpful at a
460.
▲
by
pdw
14y ago
As someone who's done a bit of Debian development, I find autotools packages a lot easier to deal with than the alternatives. It might be a bit crufty, but if used properly it works very well.
461.
▲
by
pdw
14y ago
The Kobo is supposedly trivial to hack: http://ccoffing.net/tech/embedded/kobo/ "Of the three major e-readers out today, Kobo rocks the hardest. Kobo supports the ePub standard, has released code as required by the GPL, and has made the l
462.
▲
by
pdw
14y ago
Wouldn't the type system complain that you're returning nil in a function that is not declared/inferred as returning nil?
463.
▲
by
pdw
14y ago
I think this only happens if the user manually switches to Latin-1 encoding. In that case IE will try to use the same encoding when submitting form data. The user might do this if you already have encoding problems and present a mixed Latin
464.
▲
by
pdw
14y ago
At we had a few (non-medical) products that ran on Windows XP Embedded [1]. It was pretty nice, it had something much like a Linux package manager where you could select which components you wanted and didn't want, and it would generate a d
465.
▲
by
pdw
14y ago
There's now the backports service, http://backports.debian.org/ where you can get newer versions of packages recompiled for stable.
466.
▲
by
pdw
14y ago
Except for Rust :)
467.
▲
by
pdw
14y ago
That's true, but it's very awkward. In Acme, the middle button means 'execute command'. You need to press it constantly, often in combination with other buttons. A clickable scroll wheel is not good enough.
468.
▲
by
pdw
14y ago
Conceptually I love Acme, but the three-button mouse thing has turned out to be a real problem for me. I don't think I can work without a scroll mouse, and I've never found a mouse that has both three real buttons and a scroll wheel. Can an
469.
▲
by
pdw
14y ago
This is yet another horrible naming mess. As far as I can figure out, the following is correct: There are two things named GLX: First, it's a network protocol for sending OpenGL requests to an X server. Second, it's a library that X clients
470.
▲
by
pdw
14y ago
Debian Iceweasel 15: https://aboutmybrowser.com/3221535922 Epiphany 3.4 (GNOME's browser): https://aboutmybrowser.com/3704839315
471.
▲
by
pdw
14y ago
> We're sorry, but something went wrong. Iceweasel 15 (rebadged Firefox) on Linux.
472.
▲
by
pdw
14y ago
I don't know which paper you read, but C++ supports exactly that syntax. It's rarely seen in the wild as many older compilers didn't implement it and honestly, who wants to remember yet another oddball C++ syntax variation?
473.
▲
by
pdw
14y ago
m4 allows you to redefine the delimiters (yes, it's that crazy). Autoconf uses square brackets.
474.
▲
by
pdw
14y ago
That matches my experience. Chrome can (according to its internal task manager) easily use over 100MB per tab which adds up quickly. Firefox is much more frugal. And for me Chrome's memory leaks are worse then Firefox's ever were.
475.
▲
by
pdw
14y ago
I wonder how this pluggable storage architecture relates to the SQLite/BerkeleyDB hybrid that Oracle created a while back.
476.
▲
by
pdw
14y ago
This doesn't work at all in my Firefox: http://i.imgur.com/O1gUL.png
477.
▲
by
pdw
14y ago
Perl can do this as well: @a = (10, 5, 9, 6, 20, 17, 1); @slice = @a[0, 1, 3, 6]; Though I've never seen this used for anything other than simple sublists (like @a[0..3]).
478.
▲
by
pdw
14y ago
On x86, the shift instruction only looks at the bottom 5 bits of the shift distance. x<<32 effectively is interpreted as x<<0. (I'm sure other architectures have the same restriction.)
479.
▲
by
pdw
14y ago
I don't think it's intended as a portability test, but rather an implementation-defined vs undefined behavior test. And in practice it's safe to make assumptions about implementation-defined behavior as long as you're programming for genera
480.
▲
by
pdw
14y ago
Tsarist Russia sucked pretty hard too.
More ›