Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IshKebab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
511.
▲
by
IshKebab
4mo ago
If a memory allocations fails with strict mode then you'll get a null pointer returns and some kind of crash or panic (in code that doesn't handle it properly). If it fails with the default mode the whole process will get killed b
512.
▲
by
IshKebab
4mo ago
Because Rust programmers would have used an enum or Result.
513.
▲
by
IshKebab
4mo ago
Exactly my point. Lots of people think Rust only prevents memory safety bugs, but this is an example of a bug that isn't a memory safety bug but also wouldn't have happened in Rust. They used an int with special meanings for neg
514.
▲
by
IshKebab
4mo ago
Yes there was. It's detailed in the article.
515.
▲
by
IshKebab
4mo ago
That doesn't really explain why it is a footgun.
516.
▲
by
IshKebab
4mo ago
The bug that is detailed in the article. Wouldn't have happened with Rust.
517.
▲
by
IshKebab
4mo ago
Yeah, but scammers know how to talk people through simple toggles like that. Adding a 24 hours delay is a great way to ruin their scams because they obviously can't keep you on the phone for 24 hours. They have to say "I'll c
518.
▲
by
IshKebab
4mo ago
There's so much great stuff here. First, Linux's default memory management strategy is bonkers. OOM killing rarely actually works in my experience, at least on desktop. It takes ages to kick in and usually the system just freezes
519.
▲
by
IshKebab
4mo ago
That's not really how down sampling works. You already have all the information with 48 kHz sampling. Higher rate sampling is just like storing integers to 3 decimal places, or archiving an upscaled DVD. I recommend you actually read t
520.
▲
by
IshKebab
4mo ago
Same for LibreCAD... SolveSpace is much more capable.
521.
▲
by
IshKebab
4mo ago
I would think SolveSpace would be a much better target for this. It's got its own GUI system so probably pretty trivial to get running in the browser. Oh yeah look somebody did it 4 years ago: https://github.com/TrevorD
522.
▲
by
IshKebab
4mo ago
Neat, but I feel like you need to define "circuit" on that page! I thought this was like for silicon design or something.
523.
▲
by
IshKebab
4mo ago
It's not just high end CPUs that use the latest processes. Power, Performance and Area is important to all chips, including microcontrollers, FPGA, etc.
524.
▲
by
IshKebab
4mo ago
How does Android know if an apk that nobody has ever seen before is a payment or banking app? You could probably restrict "risky" APIs like draw-over-other-apps, but tbh I think that would be a worse solution than just making peop
525.
▲
by
IshKebab
4mo ago
We've known for literally decades that that doesn't actually work, for several reasons: 1. People are conditioned to ignore warnings. There are way too many benign warnings in the world; you can't read them all. 2. Even when
526.
▲
by
IshKebab
4mo ago
My guess at what's happening is that people are mostly using the tools on low impact or speculative projects. Notice that he said he wouldn't have attempted it without AI. That's been my experience too. I had an idea that I d
527.
▲
by
IshKebab
4mo ago
They're allowed to do it "to the extent that they are strictly necessary and proportionate ... provided that such measures are duly justified". It remains to be seen whether the EU decides that this measure is strictly necess
528.
▲
by
IshKebab
4mo ago
He's definitely being way over pedantic. Reading the law like HN programmers imagine it works, rather than how it actually works. The intent of the legal language in that spec is pretty clearly that you have to use the BSD license if y
529.
▲
by
IshKebab
4mo ago
This is the most rose tinted thing I've ever seen. phpBB rightly has a reputation for being awful. In fairness it is possible to do old-school forums well, but the only example I have ever seen is the D language forum. https:/&
530.
▲
by
IshKebab
4mo ago
This is clearly the right way to do things. Just make devices have a forced choice for their age setting on initial setup, and expose that to apps and websites. Insane that they didn't even try this simple solution first. Yeah people w
531.
▲
by
IshKebab
4mo ago
Wait 1kW is actually €5k? Lol they have the audacity to describe it as low cost. Also if you have a real project (which this seems to be), don't get AI to slop out your website. Terrible look.
532.
▲
by
IshKebab
4mo ago
Yeah I wouldn't give it more than 20 years. Obviously they won't suddenly stop; it will just be rarer and rarer for things to be released on bluray until it's only super popular stuff and collectors editions and things like t
533.
▲
by
IshKebab
4mo ago
They're paranoid about people using AI to synthesise anthrax or something. You also can't ask it how to build a nuclear bomb.
534.
▲
by
IshKebab
4mo ago
Hard to say but my impression is that most academics are honest and would try not to do this, but also there are rivalries between labs and that tends to encourage "everything they do is bad and we're great" mentalities so it
535.
▲
by
IshKebab
4mo ago
Yeah without context this could be good or bad.
536.
▲
by
IshKebab
4mo ago
More like why people stopped engaging with someone who could never admit that they might be wrong.
537.
▲
by
IshKebab
4mo ago
> they can use AI to fix it AI isn't some all powerful programming oracle that can do anything. Sometimes it doesn't do things right and if you're just blindly copying and pasting its mistakes to some poor reviewer that&#x
538.
▲
by
IshKebab
4mo ago
Interesting but I wonder how useful this is in practice. It doesn't work with unions/enums, I presume it also doesn't work with heap allocated containers, like vectors, hash maps, etc? Wouldn't that rule out like 90% of
539.
▲
by
IshKebab
4mo ago
Plus Josh seems to do waaay more - dynamically exposing monorepo directories as a separate repo. I wish all the effort into things like JJ and Pijul was going into solving those sorts of things instead!
540.
▲
by
IshKebab
4mo ago
I expect they just increased the sensitivity of their existing filter. They probably intend to gradually lower it over time, or perhaps introduct Fable 5.1 with less filtering. It's pretty clear that they didn't want this anyway,
More ›