Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Galanwe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
511.
▲
by
Galanwe
3y ago
> Thats not atomicity. Thats a blocking API. > Blocking and atomicity are unrelated It's the same in this context. fsync uses a blocking API to implement atomicity. That is, after an fsync() all previous writes should have been w
512.
▲
by
Galanwe
3y ago
I think we have a quiproquo about the level of atomicity here. You seem to be talking about _application level_ atomicity, like when you issue 4 write() to a file and want an "all or nothing" flush of these 4 writes. I'm talk
513.
▲
by
Galanwe
3y ago
> All filesystem operations on modern computers should be atomic Well that seems a bit over the top. You would pay the price of full consistency for every write, while just one write every 3 years will fail. It would be insanely slow and
514.
▲
by
Galanwe
3y ago
Yeah, I just had a look and it seems BBUs don't actually power the disk. They just keep the volatile cache alive until the disk is powered to flush them.
515.
▲
by
Galanwe
3y ago
I guess I've been living under a rock, because I had the souvenir that disks with volatile write caches did have a small power bank, able to sustain the disk for the few seconds it needed to flush its caches (what it called a BBU?) Whi
516.
▲
by
Galanwe
3y ago
These paywall things are such a bane... I do have a registration at Bloomberg from work, but I get logged out of the website so frequently that it's basically faster to read from a paywall bypass. This is absurd.
517.
▲
by
Galanwe
3y ago
I guess I still don't clearly see what the leading question is pointing at. Should that be: _why was it not important to optimize for vector pop front?_ If that is the case, then I feel like the overall philosophy of vector vs deque an
518.
▲
by
Galanwe
3y ago
That is the exact opposite of my experience. I try very hard to have the database as dumb as possible. - Having mixed workloads on the database servers make it almost impossible to profile and tune. By definition, a database answers a lot o
519.
▲
by
Galanwe
3y ago
I think it is precisely the point. What you suggest is basically a tradeoff for speed of front removal against wasting some memory. There are an infinite number of such subtle tradeoffs that can be done. Some line need to be drawn somewhere
520.
▲
by
Galanwe
3y ago
Because there are an infinite number of half-breed data structures that you could think of to balance tradeoffs. The STL has to restrict itself to somewhat stereotypical data structures that are intuitive to understand, yet can be composed
521.
▲
by
Galanwe
3y ago
Does it work with self hosted github enterprise server? Is the code sent out to internet at any point? can we self host watermelon?
522.
▲
by
Galanwe
3y ago
> Says anyone who has spent more than a decade in the workforce. Well, no. I have worked almost double that, and I don't feel that way. I tend to think there is mainly an echo chamber of somewhat entitled young north americans incor
523.
▲
by
Galanwe
3y ago
> you are incredibly lucky Says who? There's no more reason for an office space to be bad rather than good. And there's no reason to think that having a good one is based on luck. If office space dynamics and setup are importan
524.
▲
by
Galanwe
3y ago
I 100% agree with you. Early in my career, a senior colleague used to reply to complaints with the simple statement "you only get the company/boss that you deserve". By that, he meant that if you complained, you were always f
525.
▲
by
Galanwe
3y ago
> remote work [...] allows employees to tailor their environment to their needs, rather than be forced into a hostile office space Some office spaces being bad doesn't imply we should get rid of office spaces overall. If the company
526.
▲
by
Galanwe
3y ago
> This task remained impossible for years until GH Actions made it possible. Every major distribution used build farms long before GitHub (and git) existed...
527.
▲
by
Galanwe
3y ago
That's basically what I did the first year working with git. Then I met a coworker that told me to stop doing this and come with him on a whiteboard to understand and solve the problem. That was painful the first month, but after some
528.
▲
by
Galanwe
3y ago
I don't quite get your point. A blockchain is just an infrastructure on top of which you run your business logic. In a sense, it's similar to what AWS would be in a centralised world. So basically, you can add whatever registratio
529.
▲
by
Galanwe
3y ago
If there is no incentive to operate the network, who will sustain the infrastructure? If there is no cost to using the system, how do you prevent spam abuse? This is what crypto solves. It doesn't have to be a get rich scheme, just iss
530.
▲
by
Galanwe
3y ago
Did not try Racket specifically, but I did quite a lot of work with Dr. Scheme 15/20 years ago, which I think is Racket's ancestor? It would allow you to define variables which were actual images. The image was a thumbnail in the
531.
▲
by
Galanwe
3y ago
> I think someday it would be amazing to have 1500W to 3000W kettles simply being powered by Type C Well this is very unlikely to happen. To deliver more power, you either need to increase voltage, or increase current. - The higher the v
532.
▲
by
Galanwe
3y ago
> "Just recompile your kernel" is how Linux people convince other Linux users to install Windows or buy a Mac. Well I'm not really proposing he does it, I'm just saying he should ask for someone to help him do it. If
533.
▲
by
Galanwe
3y ago
Not even mentioning CGNAT.
534.
▲
by
Galanwe
3y ago
If it's just a driver problem, why not checkout the old one, build it as a new module with a different ID, and insmod it on the new kernel?
535.
▲
by
Galanwe
3y ago
> This is actually why I feel that mathematical texts tend to be not rigorous enough, rather than too rigorous. This is _precisely_ the opinion of Roger Godement, French mathematician and member of the Bourbaky group. I would highly reco
536.
▲
by
Galanwe
3y ago
> The fact that you can—if you wish—have less infrastructure should make it easier to deal with, not harder. Look, I don't know what to tell you, honestly. I tend to think I'm fairly more litterate in networking than most softw
537.
▲
by
Galanwe
3y ago
I never said moving from 4 to 8 bytes would require less changes that IPv6. The problem of adoption with IPv6 is not technical. It's that IPv6 changes radically how we thing about IP networks. IPv6 explodes all existing concepts of DHC
538.
▲
by
Galanwe
3y ago
> I think the reason this never gains any user mindshare [...] is ipv6 doesn’t actually change anything about the user experience Lots of purely technical things which have no impact on user experience take over old technologies. The iss
539.
▲
by
Galanwe
3y ago
That is netlink. https://man7.org/linux/man-pages/man7/rtnetlink.7.html
540.
▲
by
Galanwe
3y ago
I am a bit blurry on the details because I worked on that almost 10 years ago to support a program that used (and abused) `$ORIGIN`. I ended up pushing the executable filename through the aux vector to the dynamic linker, which is simar to
More ›