Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
1amzave
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
1amzave
14y ago
Wow -- did you read even a single paragraph beyond that line? Immediately after that he goes on to say: > fuse works fine if the thing being exported is some random low-use interface to a fundamentally slow device. But for something
62.
▲
by
1amzave
14y ago
Infinite scroll annoys me, period, too, but for entirely different reasons (ones that aren't going to change with improving network infrastructure, more related to ComputerGuru's reasons). When I start browsing the sort of page that web dev
63.
▲
by
1amzave
14y ago
Indeed -- also interesting are the results of an RDNS query on the first IP address listed in the article (17.149.160.49).
64.
▲
Writing a Thumb Drive from Scratch
(youtube.com)
1 points
by
1amzave
14y ago
|
0 comments
65.
▲
by
1amzave
14y ago
Indeed, especially coming after this further up the page: > Never ever ( ever ) trust foreign input introduced to your PHP code. Where'd I put that sense of irony...
66.
▲
by
1amzave
14y ago
Huh? Perhaps you mean Glib? Static linking works just fine with glibc: [me@host: tmp]% cat > hello.c #include <stdio.h> int main(void) { printf("hello world\n"); return 0; } [me@host: tmp]% gcc -o hello -Wall hello.c
67.
▲
by
1amzave
14y ago
Better link: http://lists.gnu.org/archive/html/grub-devel/2012-06/msg0009...
68.
▲
by
1amzave
14y ago
> I don't see any reason to believe there will ever be a new machine with non-power-of-two word size Well...obviously it's designed to run Forth and not C, but for what it's worth, this is a pretty recent machine with an 18-bit word s
69.
▲
by
1amzave
14y ago
Wouldn't the ideal solution then be to modify the OS to purge the disk encryption keys from memory on sleep? If you're concerned about unencrypted file contents in memory, purge the page/buffer cache while you're at it. Then ask the user t
70.
▲
by
1amzave
15y ago
More at: http://www.cs.dartmouth.edu/~doug/darwin.pdf (Probably should have submitted that as the primary link.)
71.
▲
Darwin (1960s programming game)
(en.wikipedia.org)
48 points
by
1amzave
15y ago
|
5 comments
72.
▲
by
1amzave
15y ago
This has bugged me for quite a while, a few days ago enough so that I actually grabbed the strace source code with the intent of compiling it on OSX, at which point I discovered the real reason: ptrace on OSX doesn't support the PTRACE_SYSC
73.
▲
by
1amzave
15y ago
True, hadn't thought of that. (Seems obvious in retrospect, of course.) It's almost tempting to try to differentiate that with st_atime, but I don't think there's any way that could be reliable (especially given noatime mounts and such).
74.
▲
by
1amzave
15y ago
My first reaction to the thread-safety problem: fstat before close, if it fails with EINTR, fstat again. Then you can tell both the state of the fd (since fstat will return EBADF if it's closed), and if it's still a valid fd, what file i
75.
▲
by
1amzave
15y ago
Though I'm not a zsh user, my first reaction was likewise "meh, my shell can do that", and so I whipped up a pretty much identical command (only using sed). However, when it didn't behave quite as I expected, I dug a little deeper and ende
76.
▲
by
1amzave
15y ago
Well, it's not exactly what you describe (which does sound kind of intriguing), but Linux does offer the signalfd(2) syscall, which allows you to read signals from a file descriptor. Doesn't do much for the sender of said signals, howeve
77.
▲
by
1amzave
15y ago
This is true, and I'm often peeved by exactly the same conflation. However, in cases like Clojure, where there's (as far as I know) really only a single implementation out there to be used, it's easy to blur the lines. Python is getting l
78.
▲
by
1amzave
15y ago
> wrap all the outgoing URLs in click-tracking garbage then uses JavaScript in an attempt to hide it, with no way to opt-out Speaking of which, is there any way to disable or bypass that kind of crap? (e.g. with a user-script or some
79.
▲
20 Year Usenet Timeline
(google.com)
2 points
by
1amzave
15y ago
|
0 comments
80.
▲
by
1amzave
15y ago
Neat stuff -- note that the Linux kernel (and probably others, I'd guess) uses a similar technique to tag code/data that's only used during initialization. It gets put in a dedicated section of the kernel (or module thereof) that's discard
81.
▲
by
1amzave
15y ago
Of course there's always the classic "lp0 on fire!", but I think most people know about that one. Also, I've noticed that when GNU screen crashes, it prints "Suddenly the Dungeon collapses!! - You die..." (though I think that may be depende
82.
▲
Panoramic ball camera; toss to snap a picture
(hackaday.com)
7 points
by
1amzave
15y ago
|
1 comments
83.
▲
by
1amzave
15y ago
A neat hack, yes...but probably not worthwhile from the perspective of an actual attacker (if you've got permissions to load a kernel module, you could just load one of your own crafting to do whatever nefarious things you wanted directly).
84.
▲
by
1amzave
15y ago
> The shell derives its power directly from the OS Indeed. After using it for quite some time without really thinking about it much, I've only relatively recently come to the realization that the shell is, in many ways, simply a thin
85.
▲
by
1amzave
15y ago
Really? If Chrome's had updates pushed to it recently, how do I know that my browser itself, as installed on my filesystem, isn't now innately subverted by the Iranian government? (Note the domain in question in this particular case.)
86.
▲
by
1amzave
15y ago
That assumes 'x' is an lvalue, which it may very well not be (thus causing compilation errors, which would presumably get caught pretty quickly).
87.
▲
by
1amzave
15y ago
> Back in the good old days, you would actually run out of memory. It kept you on your toes unlike today when allocs rarely if never fail. Instead, everything just collectively gets paged out to disk, then sluggish and sloshed, and eve
88.
▲
by
1amzave
15y ago
Perhaps it varies by area? I'm in Wisconsin and I've been using 8.8.8.8 and/or 8.8.4.4 since I started getting service from Charter about a year ago, and I've never had a problem with it. Of course, doing that means I never noticed that t
89.
▲
by
1amzave
15y ago
...but that's Windows, this is not. I don't see why Microsoft's mistakes should carry over. On my keyboard, it's not even physically labeled as the "windows" key anway, it says "option" (or, if I didn't have things re-mapped, "command").
90.
▲
by
1amzave
15y ago
My biggest problem with Gnome 3 (and the number one reason I abandoned it in favor of Xmonad, which I've come to like quite a lot), was that it breaks the UI concept of the modifier key . Simply pressing and releasing the super key (with n
More ›