Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
slovenlyrobot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
slovenlyrobot
7y ago
I've been vaping for about 10 years and would be happy to see tighter regulation of juices. Some of the stuff available is scary, and the purity is always up for question. There simply isn't any framework for this kind of thing ye
62.
▲
by
slovenlyrobot
7y ago
Does that complete consistency include simulating a lightning strike to a transmission line?
63.
▲
by
slovenlyrobot
7y ago
Far, far more harm is caused by a package repository electing itself as a censor than could ever be caused by a few additional chunks of ASCII turning up in a 4MB Travis CI log. Free software is supposed to be about freedoms, not having tho
64.
▲
NPM Bans Terminal Ads
(zdnet.com)
424 points
by
slovenlyrobot
7y ago
|
353 comments
65.
▲
by
slovenlyrobot
7y ago
For copying photos off an SD card you're unlikely to notice any difference on any machine made in the past 10 years, except maybe the fans coming on, but try it on a Raspberry Pi class machine, or doing any kind of random IO and oh boy
66.
▲
by
slovenlyrobot
7y ago
Obligatory Dan Bernstein presentation: https://cr.yp.to/talks/2015.04.16/slides-djb-20150416-a4.pdf (note: portrait slides!)
67.
▲
by
slovenlyrobot
7y ago
I find it embarrassing that this feature needs to exist at all
68.
▲
by
slovenlyrobot
7y ago
I switched back to Thunderbird sometime in late 2017, in part because I was working from abroad with spotty Internet at the time. Since coming home, it's stuck. The experience is so much better than waiting for a Gmail tab to "boo
69.
▲
by
slovenlyrobot
7y ago
It has a lot of interested users
70.
▲
by
slovenlyrobot
7y ago
Curious to know if this still holds for hyperthreads (i.e. all? modern clouds)
71.
▲
by
slovenlyrobot
7y ago
And AFAIK seccomp everywhere else. libvirt enables Qemu's seccomp too, and slirp runs in-process
72.
▲
Android 10: Google Confirms 193 Security Vulnerabilities Need Fixing
(forbes.com)
1 points
by
slovenlyrobot
7y ago
|
0 comments
73.
▲
by
slovenlyrobot
7y ago
The trouble is how they compose with the expectations of code you don't write. It's just not normal in C to expect execution of your function to abort halfway through, and so memory leaks and broken state are almost guaranteed whe
74.
▲
by
slovenlyrobot
7y ago
I can't remember what's wrong with it, but it's responsible for about eleventy billion CVEs over the years
75.
▲
by
slovenlyrobot
7y ago
These are used /everywhere/ in PostgreSQL, exactly for exception handling. The result isn't bad at all, but indeed, too powerful a tool for 99% of developers
76.
▲
by
slovenlyrobot
7y ago
That's a surprisingly small list, missing e.g. sscanf / gets / strtok / all the other "usual suspects" at least
77.
▲
by
slovenlyrobot
7y ago
It's a big ask, but I've hunted for it numerous times. Do you have or know the video of the dude in the crowd holding his laptop over his head in ecstatic appreciation during the Wave release? Also the parody of the guy the Wave t
78.
▲
by
slovenlyrobot
7y ago
You can achieve a similar (although I guess not nearly as efficient) effect with DOM, without sacrificing convenience given a suitable library. For example the Python lxml library grants access to the tree as it is being constructed, if you
79.
▲
by
slovenlyrobot
7y ago
My hyperthreading enlightenment came from discovering a parallelized XML parsing task (using libxml2) running on Atom N2800 (2 cores) absolutely trouncing a similar run on a much beefier Xeon with HT disabled. It came very close to a 2x sp
80.
▲
by
slovenlyrobot
7y ago
That pointer chasing benefit has been my experience on Intel, especially on anaemic low power designs. I'm more curious how/why Intel stops at 2 whereas Sparc/Power can manage much higher numbers. Maybe it's not architec
81.
▲
by
slovenlyrobot
7y ago
That's a whole lot of SMT. Can anyone comment on how it behaves compared to hyperthreading? I'm assuming at 4x each core must have a ton more execution units to go around
82.
▲
by
slovenlyrobot
7y ago
- Click link, blown away by impossible feat of reverse engineering proprietary system done by apparently a lone hero contributor - Realize nothing I work on really has so much impact as this one lone hero is likely to have already achieved
83.
▲
by
slovenlyrobot
7y ago
My current favourite is pybind11. I wouldn't wish SWIG on my greatest enemy :)
84.
▲
by
slovenlyrobot
7y ago
Having worked with GObject extensively, including through PyGObject, I can say the experience is infinitely better than trying to make C++ interoperate with e.g. Python. (This coming from someone writing C++ since 2002)
85.
▲
by
slovenlyrobot
7y ago
This wasn't necessarily the most constructive thing to say, but it unintentionally invites a silver lining: studying failure is the most effective route to success. This is as true in software as it is in operations, economics, finance
86.
▲
by
slovenlyrobot
7y ago
RAM _capacity_ has a direct effect on energy, usage not nearly much if at all. Hardware has been around to selectively put banks into low power saving mode, but I've never heard of any commodity OS that supported anything like that. It
87.
▲
by
slovenlyrobot
7y ago
I should have written 2035 to make the sarcasm a little clearer :)
88.
▲
by
slovenlyrobot
7y ago
AFAIK Windows handles truly asynchronous buffered IO in some circumstances, but I feel once you're past the point of managing the abstraction or caring about its internal details, it doesn't really matter if there is a tiny chunk
89.
▲
by
slovenlyrobot
7y ago
io_uring grew support for buffered IO in recent kernels, so we should have widespread support for this in userspace circa 2025
90.
▲
by
slovenlyrobot
7y ago
If I understand the EC2 instance lifecycle correctly, shutdown causes ACPI shutdown, and the machine does not enter stopped state until the OS in turn requests ACPI to power it off. That means shutdown time is dependent on the configuration
More ›