Readit News logoReadit News
sevensor commented on SQLite (with WAL) doesn't do `fsync` on each commit under default settings   avi.im/blag/2025/sqlite-f... · Posted by u/Bogdanp
sgarland · 20 hours ago
Yes, yes it does [0]. I fully understand the need for backwards-compatibility given the sheer number of SQLite installations, I find their attitude towards flexible types [1] appalling. At least they’ve added STRICT.

Similarly, the fact that FKs aren’t actually enforced by default is a horrifying discovery if you’re new to it, but tbf a. MySQL until quite recently allowed CHECK constraints to be declared, which it then ignored b. The FK enforcement decision is for backwards-compatibility.

[0]: https://www.sqlite.org/quirks.html

[1]: https://www.sqlite.org/flextypegood.html

sevensor · 2 hours ago
I disagree about flexible types. SQLite bills itself as a better fopen, not as a full on database engine. If you have data sitting outside your application, trusting it to be well typed is just going to cause trouble. If your database is the application, that’s a different story.
sevensor commented on The ROI of Exercise   herman.bearblog.dev/exerc... · Posted by u/ingve
kqr · 2 days ago
You seem to be forgetting that insufficient sleep is also unhealthy.
sevensor · 2 days ago
I used this as an excuse for a long time, but it turns out it was just a way to prioritize television viewership in the evening over exercise in the morning. Your circumstances may differ of course.
sevensor commented on The ROI of Exercise   herman.bearblog.dev/exerc... · Posted by u/ingve
aeve890 · 2 days ago
>Wake up at 4:30am

About that, what hours people that wake up at 4.30 am go to bed? If they're so conscious about their well being I'd assume at least 8 hours of sleep, so maybe they go to bed at... 8~9 pm? my question is what do they do to end their day at 9pm? If you work 9-5, you have just 4 hours left after work. Less if you commute, have dinner and a "go to be" routine of maybe 30 min. How about social life after work? Run errands? In my case, if I need to do anything out of my house it has to be after work hours (because almost everything is closed between 6am and 9am when I start work).

So, what's the secret?

sevensor · 2 days ago
Committing in advance.

I pay for a gym membership with group classes. You have to book your attendance in advance. I make a habit of doing it the night before. In the morning I get up at five to go to the class I booked the night before. If I wait until the morning, it doesn’t happen. Other people I know are in running groups where they plan to meet their friends at an early hour.

sevensor commented on The Open-Office Trap (2014)   newyorker.com/business/cu... · Posted by u/cebert
dfxm12 · 4 days ago
Consider that the executive class' goals might be different from ours. They might even be in opposition to our goals.
sevensor · 4 days ago
It’s an interesting thought, and it would explain a lot, if middle management and individual contributors were much better aligned with corporate success than the executives. If whatever game they’re playing isn’t won by driving the company to success, but they’re keeping score some other way, that would explain a lot of dysfunction.
sevensor commented on The Open-Office Trap (2014)   newyorker.com/business/cu... · Posted by u/cebert
sevensor · 4 days ago
What amazes me about this phenomenon and so many others is just how long the executive class are willing to stick with a counterproductive trend. RTO, open offices, development methodologies that disempower the developers, devops without people who understand ops, databases without dbas, Business Intelligence in basically every flavor. The unoriginality and lack of independent thought are striking. It’s as if they would rather fail doing the conventional thing than risk failure by doing something different.
sevensor commented on Walkie-Textie Wireless Communicator   technoblogy.com/show?2AON... · Posted by u/chrisjj
slug · 7 days ago
Cheap FRS walkie-talkies, can find plenty of these on ebay if don't want to buy new (will need new batteries though).

https://en.wikipedia.org/wiki/Family_Radio_Service

sevensor · 6 days ago
Frs was everywhere for a minute, and it seems like it’s been completely forgotten. Perfect for the application, basically the intended purpose.
sevensor commented on A Lisp in 99LOC   github.com/Robert-van-Eng... · Posted by u/shikaan
f1shy · 8 days ago
Certainly not the worst I have seen, by far; but yes, not pretty. IMHO “Just for making it shorter“. I would very much prefer 200 lines of actually readable nice code.
sevensor · 8 days ago
For reading, I enjoyed fe, which was very clear: https://news.ycombinator.com/item?id=36239175
sevensor commented on We rewrote the Ghostty GTK application   mitchellh.com/writing/gho... · Posted by u/tosh
AndyKelley · 11 days ago
Windows is becoming less and less of a platform every year
sevensor · 10 days ago
Is that the OS from the people who make Excel?
sevensor commented on 1976 Soviet edition of 'The Hobbit' (2015)   mashable.com/archive/sovi... · Posted by u/us-merul
rightbyte · 11 days ago
Ye reading some background it is the classical view of trolls as like big humans?

I mean orcs are wretched elfs so it makes sense to draw them very human in some sense.

I think my view was very much inspired by DnD. It is interesting to note how different this stuff were viewed at the time.

sevensor · 11 days ago
Just from reading the text itself. I’m well familiar with the D&D troll, but Tolkien’s trolls are just big ruffians covered in mutton grease.
sevensor commented on 1976 Soviet edition of 'The Hobbit' (2015)   mashable.com/archive/sovi... · Posted by u/us-merul
rightbyte · 11 days ago
It feels like the illustrator didn't read the book? The stone trolls are giants? (Am I missremembering that they were trolls?) And the battle is between two human armies. Surely goblins were described in Bilbo as not human barbarians?
sevensor · 11 days ago
I thought the trolls were perfect. Big, unkempt, medium drunk. They should be a great deal bigger than Bilbo.

u/sevensor

KarmaCake day7995August 13, 2014View Original