Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonathrg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
jonathrg
2y ago
Although it doesn't have the same level of compile-time guarantees, there are runtime checks to ensure memory safety if you use Debug or ReleaseSafe. You can do your development and testing in the default Debug mode and only use Releas
92.
▲
by
jonathrg
2y ago
How is it more secure to manually browse through the codebase and construct a requirements.txt file yourself, than to run this script to automate the process? In either case you end up with a requirements.txt file which will need to be audi
93.
▲
by
jonathrg
2y ago
Feel free to elaborate.
94.
▲
by
jonathrg
2y ago
It uses this file which maps import names to package names, but it's only 1152 packages and I'm not sure how it was generated. https://github.com/bndr/pipreqs/blob/master/pipreqs/mapping
95.
▲
by
jonathrg
2y ago
How is uv, another flavor-of-the-month Python packaging tool, not contributing to fragmentation?
96.
▲
by
jonathrg
2y ago
That's pretty much it. Jonathan Blow's strongly worded negative opinions on most things attracts a certain kind of person who will go on to evangelize.
97.
▲
by
jonathrg
2y ago
Is GPL really an impediment for someone developing a GDB frontend?
98.
▲
by
jonathrg
2y ago
> We have gdb, lldb, and rr (plus about a million graphical front ends, none of which are good). Strongly agree - I've spent a great deal of time trying to find a good GUI for gdb, but it's all so janky compared to proper IDE d
99.
▲
by
jonathrg
2y ago
It seems that the pendulum of public opinion is swinging back towards simple, mostly HTML-based solutions, with the rise of intermediate solutions like htmx.
100.
▲
by
jonathrg
2y ago
There is definitely a problem with the LSP. I've resorted to turning off the templ extension in VS Code, syntax highlighting and all.
101.
▲
by
jonathrg
2y ago
printf '#include <stdio.h>\n#include <time.h>\nint main() { printf("time_t is %%zu-bit\\n", sizeof(time_t)*8); }\n' | gcc -x c -o timesize - && ./timesize && rm ./timesize If you
102.
▲
by
jonathrg
2y ago
It does work, the problem with ABI changes is that when you change it, you have to change it everywhere at the same time. By default there's nothing stopping you from linking one library built using 32-bit off_t with another library bu
103.
▲
by
jonathrg
2y ago
For libraries, yes that is a concern. In practice you're often dealing with one or a handful of instances of the problem at hand.
104.
▲
by
jonathrg
2y ago
You can't just send a carrier pigeon somewhere. It just knows how to get back to its home. The time taken to transport the pigeon to the "server" needs to be taken into account if you want to compare with a request/respo
105.
▲
by
jonathrg
2y ago
Right, I've seen this occasionally. I don't really mind since it's usually because there is some unexpected audio that you might miss if you're watching on mute.
106.
▲
by
jonathrg
2y ago
What is "sound on"?
107.
▲
by
jonathrg
2y ago
Tight loops of SIMD operations seems like something that might be more convenient to just implement directly in assembly? So you don't need to babysit the compiler like this.
108.
▲
by
jonathrg
2y ago
Multi character constants is one of the many things in C that would be nice to use if the language would just choose some well-defined behaviour for it. It doesn't really matter which.
109.
▲
by
jonathrg
2y ago
Like several others I'm confused about the tagline for this. If I understand correctly, it's not compiling "WASM to micropython", but to native binary code with generated micropython bindings?
110.
▲
by
jonathrg
2y ago
I can't really think of a use case where this could plausibly come up. It would take 3 years if you read the same memory location (uncached) 1 million times a second.
111.
▲
by
jonathrg
2y ago
It only degrades the user experience if you're trying to interact with someone who blocked you. Which is the point.
112.
▲
by
jonathrg
2y ago
For the specific chip I used (MSP430FR2355), you could read and execute code at max 8MHz without wait states. Which means it's reading at most 4MHz since each MSP430 instruction that accesses memory requires at least 2 cycles. So laten
113.
▲
by
jonathrg
2y ago
Texas Instruments has FRAM in some of their microcontrollers. It's really pleasant to use. You write to it like any other part of RAM, the only difference being that the bytes stay where they are when you lose power. With something fla
114.
▲
by
jonathrg
2y ago
The hate might have to do with it being such a primitive and blunt tool; doing anything moderately complex becomes extremely complicated and fragile.
115.
▲
by
jonathrg
2y ago
Why are some of the octant mosaics missing? Most obviously, there is no character with all or none of the octants filled. My best case is that there are existing symbols to fill in the gaps.
116.
▲
by
jonathrg
2y ago
I actually have no idea, I was hoping someone else could fill us in.
117.
▲
by
jonathrg
2y ago
The referenced tweet: https://x.com/Tormny_Pickeals/status/965640850578575362 > Black Panther was a fine movie but its politics were a bit iffy. wouldve been way better if at the end the Black Panther turned to
118.
▲
by
jonathrg
2y ago
I don't really understand why one would build an HTTP API for this. I can't imagine the database being more than a few megabytes, the whole thing could probably be served as a JSON file.
119.
▲
by
jonathrg
2y ago
Sorry for the annoying language comment: your issue was not lack of scruples but presence of scruples.
120.
▲
by
jonathrg
2y ago
There is a comment purporting to show a difference between compilation speeds in C and C++ which uses iostream for the C++ example, which completely misses the point. Sure C++ has a lot of warts, but in terms of compilation speed it should
More ›