Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IshKebab
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
901.
▲
by
IshKebab
6mo ago
That is only really possible if you know the pointer is misaligned at compile time (which does happen, e.g. for packed structs). The examples in the article are for runtime misalignment. It would be crazy to generate code so that every func
902.
▲
by
IshKebab
6mo ago
No it doesn't. Compilers are only required to emit the read for volatile types. If the type is non-volatile, misaligned, and can be optimised out then it would be perfectly fine to omit it (that would be the "succeed" option)
903.
▲
by
IshKebab
6mo ago
Yes I would be very surprised by this if it were true (which it probably isn't). The claim isn't that old iPhones run slower on newer OSes - it's that this was done by deliberately inserting malware. Pretty clear bullshit IMO
904.
▲
by
IshKebab
6mo ago
They are true but I agree it's not a great article. C has an unending list of UB and given the title I was expecting a more comprehensive survey, but they actually just picked a few that are both fairly well known and not very interest
905.
▲
by
IshKebab
6mo ago
There are still modern CPUs that don't support misaligned access. It would be insane for C to mandate that misaligned accesses are supported. However I do agree that just saying "the behaviour is undefined" is an unhelpful co
906.
▲
by
IshKebab
6mo ago
Yeah but it's mostly old people who are near death anyway.
907.
▲
by
IshKebab
6mo ago
Yeah I worked in a company that blocked access to their main (terrible) product from some devs. They are not doing too well...
908.
▲
by
IshKebab
6mo ago
This is why you never use shell scripts for non-interactive tasks.
909.
▲
by
IshKebab
6mo ago
Presumably. But they are also limited on the volume of wastewater they are allowed to discharge, so it probably wouldn't be an ideal "solution".
910.
▲
by
IshKebab
6mo ago
Yeah I actually use AI mode a fair bit. It has access to Google's index so it can be quite a good search engine interface when the normal one doesn't work (which is quite often).
911.
▲
by
IshKebab
6mo ago
I agree, they used to be exciting but now it's just AI nonsense, and they basically don't change Android now.
912.
▲
by
IshKebab
6mo ago
Yes I am. The vibe coding I've tried didn't work very well so I agree that still required my skill. But I also don't have access to the latest models and supposedly they're a lot better (see this article for example!). S
913.
▲
by
IshKebab
6mo ago
I have no idea what you're trying to say. If anyone really can vibe code then programming salaries are pretty much guaranteed to come down. The critical question is whether it really is true that anyone can do it, or if it still requ
914.
▲
by
IshKebab
6mo ago
Dynamic dispatch seems to be way less popular in Rust than C++. Presumably because it has worse ergonomics (you have to add `Box` everywhere) whereas in C++ the opposite is true (you have to deal with templates).
915.
▲
by
IshKebab
6mo ago
Supply and demand. Not many people are good at programming and it's highly in demand. The question is how many people will be good at vibe coding? If the answer is "lots" then we can definitely expect programming salaries to
916.
▲
by
IshKebab
6mo ago
You definitely don't need more than 60Hz for gaming. That's a super nice luxury.
917.
▲
by
IshKebab
6mo ago
The claim was that they refuse to help others in any significant way. Clearly nonsense for Gates at least.
918.
▲
by
IshKebab
6mo ago
You can do this with even less fiddling just by getting a KVM that supports video. There are reasonably priced ones that can even do 4K 60Hz. This also means you don't have to deal with monitors that don't implement input switchin
919.
▲
by
IshKebab
6mo ago
That's a neat way to interface with GitHub's authentication system, but I don't see how they've solved the fundamental problem because their whitelisting process is just "click ok fine 10 times". Why won't
920.
▲
by
IshKebab
6mo ago
Only the surplus goes straight to the energy company. If you're consuming any energy and producing it from solar you'll use your own solar first, even without batteries.
921.
▲
by
IshKebab
6mo ago
Someone else suggested that you have to replace your roofs every 25 years though. People definitely live for 25 years!! Also even if you personally don't live that long, it does affect the value. For example a 99 year lease on a proper
922.
▲
by
IshKebab
6mo ago
That sounds a bit pointless to me. The benefit of putting solar on your house is that your house uses electricity, and transmitting electricity is not actually free. If you just care about the overall transition to solar (which you should!)
923.
▲
by
IshKebab
6mo ago
Not actually what this is about (but I was hoping it was because that'd be hilarious).
924.
▲
by
IshKebab
6mo ago
Tbh that sounds harder than just learning CAD, which is really not that difficult if you use a proper parametric editor - I would recommend SOLIDWORKS first. It's got the easiest UX so is ideal for learning. They actually have a vaguel
925.
▲
by
IshKebab
6mo ago
We've established that Pangram is bullshit. But it definitely has some strong LLM vibes.
926.
▲
by
IshKebab
6mo ago
Because the result isn't the same. Not yet anyway.
927.
▲
by
IshKebab
6mo ago
> Writing your tooling in python is valid while starting out and prototyping. This fallacy again. Tell me, when did Mercurial decide "ok the prototype is done, we'll rewrite it in a proper language"? They didn't, of c
928.
▲
by
IshKebab
6mo ago
Quality reference there.
929.
▲
by
IshKebab
6mo ago
Times would definitely be better if people didn't repeat the same endless clichés.
930.
▲
by
IshKebab
6mo ago
Yeah I've seen them in theatres. Doesn't really help.
More ›