@straceX

Computer Architecture, Semiconductors, Systems Programming & I care about what the hardware actually does.

Joined June 2024
Strace retweeted
SQL is funny because you can spend 40 minutes making a query readable and then the query planner looks at it and does whatever the fuck it wants anyway
4
4
3
14
549
SQL is funny because you can spend 40 minutes making a query readable and then the query planner looks at it and does whatever the fuck it wants anyway
4
4
3
14
549
Strace retweeted
libstdc++ has an emergency memory pool because throwing "out of memory" also needs memory. if it can't allocate from that either, it calls std::terminate(). there's out of memory and then there's shut the fuck up out of memory.
5
9
3
113
2,679
libstdc++ has an emergency memory pool because throwing "out of memory" also needs memory. if it can't allocate from that either, it calls std::terminate(). there's out of memory and then there's shut the fuck up out of memory.
5
9
3
113
2,679
Strace retweeted
writing 5,000 lines of application logic to dodge schema migrations is the modern equivalent of disabling the L1 cache because you don't like cache invalidation.
"we'll use a NoSQL database so we don't have to worry about schema migrations." - someone who is about to spend the next two years reinventing relational joins in application-level javascript.
3
11
5
167
5,430
writing 5,000 lines of application logic to dodge schema migrations is the modern equivalent of disabling the L1 cache because you don't like cache invalidation.
"we'll use a NoSQL database so we don't have to worry about schema migrations." - someone who is about to spend the next two years reinventing relational joins in application-level javascript.
3
11
5
167
5,430
Strace retweeted
"we'll use a NoSQL database so we don't have to worry about schema migrations." - someone who is about to spend the next two years reinventing relational joins in application-level javascript.
109
317
61
6,550
309,564
Strace retweeted
if you ever feel useless, remember there is a system call in linux called sync() that politely asks the kernel to write cached filesystem data to disk, and it literally returns void, so it can't even tell you if something went wrong.
20
26
5
1,056
42,302
if you ever feel useless, remember there is a system call in linux called sync() that politely asks the kernel to write cached filesystem data to disk, and it literally returns void, so it can't even tell you if something went wrong.
20
26
5
1,056
42,302
C is a perfectly logical language. int *p; // pointer to an int int *p[10]; // array of 10 pointers to ints int (*p)[10]; // pointer to an array of 10 ints int (*p)(int); // pointer to a function taking an int and returning an int wow very readable.
108
67
17
1,519
62,531
"we'll use a NoSQL database so we don't have to worry about schema migrations." - someone who is about to spend the next two years reinventing relational joins in application-level javascript.
109
317
61
6,550
309,564
Strace retweeted
Java: you may point at memory. Also Java: please don’t call it that.
Half of Java interviews are just two people arguing about a pointer that Java refuses to call a pointer.
8
6
3
173
4,852
Strace retweeted
modern web dev: "I need to debounce this button so the state doesn't get corrupted during the virtual DOM reconciliation" embedded C dev:
18
62
6
2,905
60,417
Java: you may point at memory. Also Java: please don’t call it that.
Half of Java interviews are just two people arguing about a pointer that Java refuses to call a pointer.
8
6
3
173
4,852
Strace retweeted
Just implemented bulletproof memory safety in C:
16
17
467
15,189
Just implemented bulletproof memory safety in C:
16
17
467
15,189
modern web dev: "I need to debounce this button so the state doesn't get corrupted during the virtual DOM reconciliation" embedded C dev:
18
62
6
2,905
60,417
Strace retweeted
In 2002, the company behind Blender shut down. Blender’s development stopped, and the rights were still held by the company’s investors. Ton Roosendaal and the community launched the Free Blender campaign to raise €100,000 to buy those rights back. They hit the goal in just seven weeks. On October 13, 2002, Blender was released as open source under the GNU GPL. People literally paid to make sure everyone else could have it for free.
19
119
10
991
22,153
In 2002, the company behind Blender shut down. Blender’s development stopped, and the rights were still held by the company’s investors. Ton Roosendaal and the community launched the Free Blender campaign to raise €100,000 to buy those rights back. They hit the goal in just seven weeks. On October 13, 2002, Blender was released as open source under the GNU GPL. People literally paid to make sure everyone else could have it for free.
19
119
10
991
22,153
Strace retweeted
C++ has a vector<bool> surprise. flags[0] is now true. named it copy. it still has access to the original.
17
3
3
49
5,804