Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
721.
▲
by
comex
4y ago
If you want to stick to mmap, you can do it by creating a file which doesn’t have any actual disk backing (one way to do this is with POSIX shm_open), and handling all memory allocations by mmapping parts of that file rather than mapping tr
722.
▲
by
comex
4y ago
Linux has mremap() for this. macOS has vm_remap(). Not sure about other operating systems.
723.
▲
by
comex
4y ago
Hadn't heard of LCP before. Based on some skimming of the website… how does it improve on Adobe's DRM other than cost? It's still limited to applications that explicitly support it. Maybe there will be a wider ecosystem tha
724.
▲
by
comex
4y ago
> And it would make the avoid-harassment side happier, since they could set their filters to stronger than the default setting, and see even less harassment than they do now. I highly doubt it. I’m pretty sure typical harassment comes
725.
▲
by
comex
4y ago
Do you mean driver’s licenses? That doesn’t seem relevant if the figure is thefts per 100k automobiles.
726.
▲
by
comex
4y ago
Smash Bros. for Wii U let you use a 3DS as a controller. It was awkward - you had to download the “Smash Controller” app onto the 3DS from the eShop - and didn’t have any kind of video streaming, but the connectivity was there at least.
727.
▲
by
comex
4y ago
> and most consumer systems don’t even have a power cord to yank. Some do. And the rest occasionally forcibly reboot (kernel panic or hardware failure), need to be manually forcibly rebooted (due to frozen UI), or unexpectedly loose bat
728.
▲
by
comex
4y ago
> If you’ve ever sat down at a slot machine, you will likely note that they are constantly making noises as you interact with them. These sounds are designed to stimulate the reward center in your brain and thus cause it to release endor
729.
▲
by
comex
4y ago
Pirates also work directly with video files . Each file has one bitrate and one codec, and needs to work as universally as possible. There are sometimes two or more versions of the same video available that use different bitrates or co
730.
▲
by
comex
4y ago
A better alternative is to sleep, not for a fixed time period after the end of the operation, but until a fixed amount of time after the start of the operation (assuming the operation never takes longer than that). That way, in theory, t
731.
▲
by
comex
4y ago
They are not.
732.
▲
by
comex
4y ago
But Safari is the default. And if all the options are equal, then there’s no reason to switch from the default. It’s hard enough to convince people to switch browsers in the best of cases, let alone when the list of potential advantages o
733.
▲
by
comex
4y ago
That only shows that humans are better at learning than machines are right now. I may not have read as much code as Copilot, but I have read quite an amount of it, and it strongly informs the code I write, with respect to style and structu
734.
▲
by
comex
4y ago
Not sure if they edited their comment, but the end of it contradicts your interpretation: > I won't be afraid of accidently violating copyright myself, because I won't be trying to bait it into reproducing heavily copy&past
735.
▲
by
comex
4y ago
> But if they are two different things (i.e. I vote for candidate A but guess candidate B will win) I don't see an issue. The problem is that most people are biased towards thinking their favorite candidate will win, so if it's
736.
▲
by
comex
4y ago
> You might imagine this policy doesn’t bias the hiring process, since managers are still free to choose who to hire after interviewing the diverse candidates. But because of the number of applicants, most are rejected based on their res
737.
▲
by
comex
4y ago
But are templates guaranteed to compile without errors for any arguments that match the constraints? If not, then D is in the same situation as C++ with concepts: there is always the possibility of having to debug errors from the template
738.
▲
by
comex
4y ago
SecureTransport is a system library on Apple operating systems that implements TLS. It doesn’t exist on Linux. The configure help output is showing it on Linux because it doesn’t filter the list of options based on the OS you’re running o
739.
▲
by
comex
4y ago
> It has the same energy as only being able to walk x steps on the Shabbat. It's important to recognize when your doctrine has started to hijack you rather than making and adapting rules to serve your long term goals. Except that re
740.
▲
by
comex
4y ago
> A device with a nonprogrammable ROM could be be harmful, and that could be due to code. But it is not fixable by programming, just like a harmful toaster. So why is it better to be harmful and unfixable than harmful and fixable? I can
741.
▲
by
comex
4y ago
I read the Emacs thread. Say what you want about the FSF as a whole, or even Emacs policy as a whole. But this is at another level. The proposal was to remove the function ns-do-applescript, which runs an AppleScript script using the C A
742.
▲
by
comex
4y ago
https://courts.delaware.gov/Opinions/Download.aspx?id=338680 > Plaintiff argues that its broader proposal is necessary to investigate an unusual May 6 email produced from the files of Quinn Emanuel. The email was s
743.
▲
by
comex
4y ago
> This is an argument over not fair use, but transformative use. I’m going to be pedantic, but: as far as US law goes, transformative use isn’t separate from fair use. Rather, transformativeness is a key test used to help establish whet
744.
▲
by
comex
4y ago
Even on top of UDP, it still bypasses TCP-specific infrastructure. It will still be subject to any UDP-specific infrastructure, but that has a significantly smaller scope, at least if you exclude measures that (for better or worse) middleb
745.
▲
by
comex
4y ago
> Or do you tell them good job (it was a good job) and not get into it? Personally, I’m okay with not being informed about everything that’s going on. I work at a big enough company that I couldn’t possibly know what goes on all the w
746.
▲
by
comex
4y ago
Ant-Men?
747.
▲
by
comex
4y ago
I found swiping on the Safari URL bar to switch between tabs a bit too “discoverable”: I was constantly performing it by accident when trying to switch between apps. I quickly switched back to “Single Tab” mode in settings.
748.
▲
by
comex
4y ago
It's a bit of a paradox, isn't it? In theory it seems quite elegant to avoid tightly coupling the memory allocator to the kernel. But in practice, the fact that every pointer has to be freed by the same DLL that allocated it is
749.
▲
by
comex
4y ago
Even on Linux, userland programs are encouraged to perform syscalls through the vDSO, a mini userland library supplied by the kernel. Performing syscalls directly is supported , but the vDSO is preferred. For most syscalls, using vDSO si
750.
▲
by
comex
4y ago
For the record, the extra commas after “Militia” and “Arms” would be considered incorrect by modern standards, though the sentence would otherwise be fine (aside from capitalization).
More ›