daniel02216

Joined 16 years ago

Karma
1,100
Submissions
119
Member since
Feb 16
View on Hacker News

Recent submissions

Comment · 5 years ago
Comment · 9 years ago
It looks like roomkey.com doesn't seem to have any mobile apps, which makes it hard to say that it's more convenient to use when traveling than an aggregator that does have an app.

It's interesting to hear about your site though, perhaps I'll try it out next time I'm traveling.

Comment · 9 years ago
EV_ONESHOT refers to the individual kevent registration, and is basically an automatic EV_DELETE on delivery of the event.

EPOLLEXCLUSIVE is acting at a different layer - in kevent terms it would cause only one of the registered kevents watching an object to be activated when the object is ready instead of all of the kevents watching for the same thing.

Comment · 11 years ago
This is one reason why OS X enforces a hard page-zero on 64-bit programs - it is a hard error to map or allocate anything in the lowest 4 GB of memory, so programmers will immediately discover pointer truncation bugs when porting 32-bit code to 64-bit.
Comment · 11 years ago
This is true - the compatibility boundary for OS X is at the link-against-libSystem layer. The actual interface between libSystem and the kernel is private to Apple and is not guaranteed to stay argument or ABI compatible. (this includes the syscall() function)

Several xnu syscalls are actually paired with a userspace wrapper function that does some extra stuff. Existing syscalls may even become wrapped in a subsequent release if needed.

Comment · 11 years ago
And a bunch of those are using Wine, which requires mapping code at the zero page, so they're compiled with a special load command that allows them to map the zero page.

On Yosemite, 64-bit binaries aren't allowed to do this.

Comment · 12 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton