Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
e-dant
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
Python has a thing for Spam (and Eggs)
(github.com)
1 points
by
e-dant
1y ago
|
1 comments
32.
▲
by
e-dant
1y ago
I like github
33.
▲
by
e-dant
1y ago
The author does point out that these problems come up when implementing various data structures. It might be surprising to some folks, but there is a lot of unsafe code in Rust, and a lot of that is in the standard’s data structure impl
34.
▲
by
e-dant
1y ago
What's all this controversy with GNOME? I must be missing something. Isn't it perfectly reasonable to say that some security issue in a dependency (which is maintained and open and funded, like WebKit or Linux) is not the fault of
35.
▲
by
e-dant
1y ago
Let the language die, hope it goes quicker than cobol.
36.
▲
by
e-dant
2y ago
These were three pants from Lululemon, figured they’d be good. None of them lasted more than 6 months. Admittedly, I bike and walk a lot , so probably I put more strain on them than I should have. But, come on, that’s why I got them, and s
37.
▲
by
e-dant
2y ago
Few years back, I thought it was wise to invest in some semi-pricey clothes which were intended to suite me for a while. The only formal stuff I had at the time was my Dad’s, or something I thrifted, which didn’t quite fit. Some pants, shir
38.
▲
by
e-dant
2y ago
Part of why monads are not interesting to talk about is that they’re generic enough that most explanations are incomplete, and sufficient explanations are boring and unhelpful. But the biggest reason is that they’re sort of intuitive, plent
39.
▲
by
e-dant
2y ago
Linux has pledge? Huh? `pledged = (p->p_p->ps_flags & PS_PLEDGE);`
40.
▲
Martian Internet [video]
(youtube.com)
4 points
by
e-dant
2y ago
|
0 comments
41.
▲
by
e-dant
2y ago
Feels like clojure from afar
42.
▲
by
e-dant
2y ago
I want to thank everyone here who pointed out deficiencies in this little library. Good catches :)
43.
▲
by
e-dant
2y ago
Nevermind — there are ways for deleting colliding items to cause other colliding items to be “forgotten”, and one solution would be to implement slot cycling on deletion
44.
▲
by
e-dant
2y ago
Good catch! Yes, that looks like a bug :)
45.
▲
by
e-dant
2y ago
There’s no slot cycling logic. When a k,v pair at some index is deleted, and a different k,v pair has a matching hash, there’s a (small?) penalty in the hm_get logic that will eventually the right k,v pair. I need a bit more clarification o
46.
▲
by
e-dant
2y ago
I like the exercise of trying to find the simplest reasonable solution to some problem. Many of my toy and hobby projects are exactly that. Some make allowances for the sake of performance and generality. The hash map, though, is up there w
47.
▲
by
e-dant
2y ago
Huh — I must have written djb1 in error
48.
▲
by
e-dant
2y ago
This was originally meant to solve the problem of zombie processes in Docker containers (hence the name and issue nr.; moby/9098). I’ve found this more succinct in other contexts than backgrounding tasks, writing pid files, and maintai
49.
▲
Show HN: A portable hash map in C
(github.com)
176 points
by
e-dant
2y ago
|
90 comments
50.
▲
Show HN: Sysroot Generator
(github.com)
1 points
by
e-dant
2y ago
|
0 comments
51.
▲
Show HN: Uniquely identify any process you run (with o pidfiles)
(github.com)
1 points
by
e-dant
2y ago
|
1 comments
52.
▲
Tracing and Monitoring Tools for Linux
(github.com)
4 points
by
e-dant
2y ago
|
0 comments
53.
▲
by
e-dant
2y ago
logrotate (which you really ought to use if you can) happens to use rename() under the hood to move the primary logfile into rotation, which confuses programs already writing to it (they will now be writing to the rotated file, which is wei
54.
▲
Frots: The only file rotation tool I'm aware of that *handles stdout
(github.com)
2 points
by
e-dant
2y ago
|
2 comments
55.
▲
by
e-dant
2y ago
I hate init py files the same way I hate Java’s verbosity. If it looks like a package, it’s a package. If I want to be explicit, I’ll write something in C.
56.
▲
by
e-dant
2y ago
I always squint a little bit when folks mention nanoseconds. The overheard of observing the time is around 60 nanoseconds. Light travels about a foot in a nanosecond. Below ~500 nanoseconds, things get fuzzy.
57.
▲
by
e-dant
2y ago
What’s the protocol actually? All I can see are hardcoded ping/pong “meow” messages going over a hardcoded client and server. But maybe the ping/pong is part of the protocol? It’s not clear. Anyway, this redundancy-based protocol
58.
▲
by
e-dant
2y ago
Oh, I started searching for some hot topics in the rust lkml, ouch, there’s some bad stuff in there. Linus seems reasonable in comparison…
59.
▲
by
e-dant
2y ago
I must be missing something obvious. I’m not aware of any too-frequent toxicity in the rust lkml. Just seems like a lot of groundwork is still being laid, without much even having been started. The article makes it seem like things are actu
60.
▲
Show HN: What two years of maintenance on a project I love looks like
(github.com)
3 points
by
e-dant
2y ago
|
1 comments
More ›