Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EPWN3D
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
211.
▲
by
EPWN3D
2y ago
On Darwin, you can wrap a file descriptor wrapped in a Mach port right. That is leveraged pretty heavily on Apple's platforms for exactly these reasons.
212.
▲
by
EPWN3D
2y ago
The API surface is "I have a string that I'm pretty sure will fit in this buffer, but if it doesn't I don't want to cough up control of my bootloader."
213.
▲
by
EPWN3D
2y ago
That behavior should be totally irrelevant to code bases that are trying to handle C strings properly. If you have some reliance on the content of the buffer after the terminator, you've for problems that the string copy routine cannot
214.
▲
by
EPWN3D
2y ago
The point of strlcpy(3) is not to be the world's best and most efficient string copier. It's to provide a drop-in replacement to previous, memory-unsafe string copy routines in constrained environments where you have to have bound
215.
▲
by
EPWN3D
2y ago
Nifty, but it seems like this would lose commit message content and history entirely during the course of the review since you have to submit a single patch that gets applied, rather than publishing commits to a branch that gets merged. Am
216.
▲
by
EPWN3D
2y ago
If a user is tricked into running malware, that malware can apparently get to these keys. Whereas on macOS, if they were stored in the keychain, that would have been impossible.
217.
▲
by
EPWN3D
2y ago
A lot of programmers are annoyingly predisposed to view themselves as wizards wielding power that society cannot possibly comprehend. As a result of this delusion, they invent moral quandaries in which they, the heroes of their own stories,
218.
▲
by
EPWN3D
2y ago
I get that expressing the function in 6 lines is cool and all, but it'd be nice if it was readable.
219.
▲
by
EPWN3D
2y ago
Now now, that would require the suburbanites who are eager to tut-tut and scold city-dwellers to put their money where their mouth is.
220.
▲
by
EPWN3D
2y ago
There's no great answer here, unfortunately. Let's say the Supreme Court had ruled the other way and said "You cannot ban camping on public spaces if you don't have adequate shelter." The effect would be that smalle
221.
▲
by
EPWN3D
2y ago
And who's going to rent their property to every homeless person? You? I'm unclear on what the volume of available housing has to do with this. That housing is owned by people who are free to rent it or not rent it as they see fit.
222.
▲
by
EPWN3D
2y ago
I've definitely experienced this. It used to happen weekly. My wife would often "wake me up" and say I was snoring, but to me, I was still lying awake trying to fall asleep. It was incredibly confusing, but I just trusted tha
223.
▲
by
EPWN3D
2y ago
Yeah, the whole commercial real estate thing is overblown. I think it's simpler: executive-level positions attract people who don't get very much fulfillment from their home lives. They get paid enough to have double-shift coverag
224.
▲
by
EPWN3D
2y ago
Didn't the EC pass the DMA?
225.
▲
by
EPWN3D
2y ago
If keeping this person onboard requires the effort of training them and keeping their comp a secret, it's not worth it. It will get out that this person is getting paid senior comp for entry-level work, and that isn't going to fly
226.
▲
by
EPWN3D
2y ago
It doesn't avoid the debate; it just makes it take place when choosing the language.
227.
▲
by
EPWN3D
2y ago
Yeah I've always gotten power tripping vibes from sysadmins. They're happy to fork over data just to show that they can.
228.
▲
by
EPWN3D
2y ago
The author is talking about base64 sucking, not base16.
229.
▲
by
EPWN3D
2y ago
I think you nailed it. Europe is, in general, just a lot more family-friendly. Italy in particular is very enthusiastic about children, probably due to a combination of culture and their declining population. But generally speaking, my wife
230.
▲
by
EPWN3D
2y ago
I have no idea why it bothers me so much, but it bugs the shit out of me when people create temporary directories by creating a directory and stapling a UUID on the end of a base name, as opposed to the APIs that exist for that explicit pur
231.
▲
by
EPWN3D
2y ago
Fortunately for us, we've prioritized medical ethics over reverse engineering.
232.
▲
by
EPWN3D
2y ago
That sounds pretty great! I adopted intermittent fasting this year, so I skip breakfast anyway.
233.
▲
by
EPWN3D
2y ago
Why? This was an administration error. The fact that the decree was acted upon incorrectly doesn't invalidate the decree itself, which says "These two people should get divorced". If the firm needs an additional decree so tha
234.
▲
by
EPWN3D
2y ago
Even so, if he was making in the area of $30-$70k/yr during this time, the standard deduction would probably have him covered in the recent TCJA years, and in years before that, SALT may have him covered depending on where he lives. Th
235.
▲
by
EPWN3D
2y ago
I was definitely someone who wrote the FCC (futilely) in support of net neutrality in 2017, and I figured the inevitable outcome of the FCC decision back then would be skyrocketing broadband costs, fast lanes, etc. Except none of it happene
236.
▲
by
EPWN3D
2y ago
A lot of OOP syntax has that exact problem because you don't use a fully-qualified method name. That's actually an upside of a janky C pseudo-OOP patterns. You have to call a function, that function has one name, one way of being
237.
▲
by
EPWN3D
2y ago
It seems like protocols solve 90% of the problems that inheritance does, but with 10% of the headaches. Instead of trying to ensure that two types can both be passed to a function that only knows about the parent type, just have a parameter
238.
▲
by
EPWN3D
3y ago
> Frankly, I see a lot of therapy this way. Some people go through terrible things, and some people's lives suck, but a lot of therapy sounds like brainwashing yourself to deal with it. If it works, then who cares? Maybe you were wr
239.
▲
by
EPWN3D
3y ago
Yup -- the Valley has been around long enough to get infected by MBAs. Even executives who have an engineering background get their brains eaten by this b-school mindset, where every worker is a cog who falls into performance buckets. Once
240.
▲
by
EPWN3D
3y ago
I'm sorry, but this is clickbait junk science. > Psychologists in Sweden found that, on average, volunteers felt more than four years older when they were restricted to only four hours of sleep for two consecutive nights, with some
More ›