Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
301.
▲
by
pdw
10y ago
Vaguely related, can anybody explain why the Linux pcspkr driver lives under drivers/input?
302.
▲
All good things…
(brian.mastenbrook.net)
1 points
by
pdw
10y ago
|
0 comments
303.
▲
by
pdw
10y ago
Yes. The description section of Debian's motd(5) manpage now reads: The contents of /etc/motd are displayed by pam_motd(8) after a successful login but just before it executes the login shell. The abb
304.
▲
ABA Games' Consomaton: Cell automaton based programming puzzle game
(asahi-net.or.jp)
1 points
by
pdw
10y ago
|
0 comments
305.
▲
by
pdw
10y ago
What distinguishes SourceForge is that it has a lot of end-user features. Project owners can set up forums, a download area, a support area (distinct from the bug tracker) and more. That's probably the reason why a lot of end-user focu
306.
▲
by
pdw
10y ago
head -c 24 /dev/urandom | base64 will give you a password with 24 * 8 = 192 random bits.
307.
▲
by
pdw
10y ago
Can you name an open-source C or C++ project that you believe avoids undefined behavior? Because some people have spend serious time looking without success. E.g. http://blog.regehr.org/archives/1292
308.
▲
by
pdw
11y ago
It has no clue what a tree is: https://i.imgur.com/UTPTvd9.png
309.
▲
by
pdw
11y ago
PoC||GTFO 0x10 had a great article on the copy protection mechanisms these programs use. https://www.alchemistowl.org/pocorgtfo/
310.
▲
by
pdw
11y ago
That's not how I interpret that. Both the specification of malloc() and realloc() contain this phrase: > The pointer returned if the allocation succeeds is suitably aligned so that it may be assigned to a pointer to any type of obje
311.
▲
by
pdw
11y ago
On Itanium, each register contains a trap bit. Any uninitialized value might be a trap representation on that architecture. https://blogs.msdn.microsoft.com/oldnewthing/20040119-00/?p=...
312.
▲
by
pdw
11y ago
"Implementation defined" has a specific meaning in the context of the C standard: it means that an implementation needs to define and document a particular behavior. E.g. for GCC: https://gcc.gnu.org/onlinedocs
313.
▲
by
pdw
11y ago
Git is the same, if you rebase many hashes will be recalculated, and the "tampering" would be obvious to anyone who had a copy of the repository. It is possible to implement the equivalent of rebase in any distributed VCS, the aut
314.
▲
by
pdw
11y ago
Just remove the Xlibint.h include. That's internal Xlib stuff, it's not needed.
315.
▲
by
pdw
11y ago
That's still more than twice as long as the current largest module, and now you need to add caches to the system. (To be clear, I'm not involved in Oberon's design, I'm just explaining the reasoning as I understand it.)
316.
▲
by
pdw
11y ago
The Verilog code for an acceptably efficient DRAM controller would be larger and more complicated than the Verilog code for the entire current system put together. It's not a good fit for a project that seeks simplicity.
317.
▲
by
pdw
11y ago
Though your code converts the input int to u32 when calling vpf_num_to_str. That will fail if int happens to be more than 32 bits long. Anyway, a less theoretical bug report: Your "%d" format specifier fails to print negative numb
318.
▲
by
pdw
11y ago
Yes, it's a jumble of PostScript fragments, base64-encoded images and PDF metadata. Everything that's needed to reconstruct the original PDF, but in a form that's safe to edit in a text editor.
319.
▲
by
pdw
11y ago
Watermarks and such are easy to remove with PDFtk, the swiss army knife of PDF files. Convert the input files to a plain-text representation, find the code that implements the watermark (it will be the only code that's identical on eve
320.
▲
Going my own way
(mjg59.dreamwidth.org)
26 points
by
pdw
11y ago
|
0 comments
321.
▲
by
pdw
11y ago
From a military point of view, the huge advantage of floppy disks is that they're dumb storage. The modern replacements such as USB storage or SD cards are microprocessor-based systems. How are you going to verify that the SD cards you
322.
▲
by
pdw
11y ago
The early Macs had tiny displays, something like 512x342. The first Macs with a resolution of 1024x768 (¾ megapixel) wouldn't appear until the 90s.
323.
▲
by
pdw
11y ago
Wait.. This is a Smalltalk?!
324.
▲
by
pdw
11y ago
This particular variation was (finally!) fixed in the 2013 POSIX revision: "If either of the files dot or dot-dot are specified as the basename portion of an operand (that is, the final pathname component) or if an operand resolves to
325.
▲
by
pdw
11y ago
https://www.cs.cmu.edu/afs/cs/project/mach/public/src/i386.m...
326.
▲
by
pdw
11y ago
I didn't say that it was Microsoft's fault. But the message that game devs got was that you couldn't trust even big names such as Compaq to ship working drivers, and hence you couldn't trust Windows as a platform.
327.
▲
by
pdw
11y ago
Heh, no. WinG was a disaster. It took years before game developers trusted Windows again. From http://www.alexstjohn.com/WP/2013/01/04/the-disnesy-disaster... "Disney had done a deal with Compaq Com
328.
▲
by
pdw
11y ago
That's what wxWidgets is supposed to be, I thought.
329.
▲
by
pdw
11y ago
Probably not what she meant, but Linux has a RNG that extracts randomness from CPU execution time jitter: https://lwn.net/Articles/642166/
330.
▲
by
pdw
11y ago
There's enough old Softdisk/id Software code released that you can trace the evolution of this RNG. First, check out Catacomb (1989). I think this is the oldest of Carmack's games for which source code has been released. This
More ›