Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sweetjuly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
sweetjuly
1y ago
Why can't it be? Of course, designing hardware is different from writing software, but it's important to realize that these new age HDLs aren't really HDLs in the strictest a sense but rather languages that let you cleanly
62.
▲
by
sweetjuly
1y ago
This is what baffles me the most. It's not just that they're foisting machine translation on people to boost some nonsense KPI, but that they're assuming that everyone speaks only one language. Tech is awfully hegemonic, sure
63.
▲
by
sweetjuly
1y ago
You can also slow down the hardware (say, dropping the clock and then voltages) to save huge amounts of power, which should be interesting for embedded applications.
64.
▲
by
sweetjuly
1y ago
I think the EICAR test file [1] is more apt. Rather than passing around actually malicious files as part of your tests, it's better to just have it recognize an innocuous and unlikely pattern as malware. [1] https://en.wikip
65.
▲
by
sweetjuly
1y ago
If the OEM hadn't messed up and reused UUIDs, it would be "Microsoft letting companies do whatever they want with their device", which is not unreasonable. OEMs reusing UUIDs for some ridiculous reason is breaking down the ch
66.
▲
by
sweetjuly
1y ago
Ah, that's my bad. Another day, another UB :)
67.
▲
by
sweetjuly
1y ago
Does this work in practice? Now you have a bunch of invalid but non-NULL pointers flying around. NULL checks which would normally prevent you from accessing invalid pointers now will pass and send you along to deref your bogus pointer. Even
68.
▲
by
sweetjuly
1y ago
I don't disagree that the tools are rough, but to the person you're replying to's point, would perfect tools and languages actually solve the underlying problem? As much as I love FPGAs, GPUs really ate their lunch in the acc
69.
▲
by
sweetjuly
1y ago
There are definitely dumb errors that are hard for human reviewers to find because nobody expects them. One concrete example is confusing value and pointer types in C. I've seen people try to cast a `uuid` variable into a `char` buffer
70.
▲
by
sweetjuly
1y ago
The point they draw is that the results are non sequiturs. Reasoning models produce chains of thought (and are sometimes even correct in the chain of thought) and still produce a wrong, logically inconsistent answer. The extreme examples
71.
▲
by
sweetjuly
1y ago
It feels like I'm negotiating with a toddler. If I say nothing, it adds useless comments everywhere. If I tell it to not add comments, it deletes all of my comments. Tell it to put the comments back, and it still throws away half of my
72.
▲
by
sweetjuly
1y ago
> Many other GCed languages, such as swift Swift is not garbage collected, it uses reference counting. So, memory there is freed immediately when it is no longer in scope.
73.
▲
by
sweetjuly
1y ago
There are two bugs in the article: one the author previously knew about and was trying to rediscover as an exploration as well as a second the author did not know about and stumbled into. The second bug is novel, and is what makes the blo
74.
▲
by
sweetjuly
1y ago
I suspect that's a personal bias. If you go to most any cafe (at least in the US) there will be a half dozen people there typing away at their laptops. This is even more common with the rise of remote work where people will (for better
75.
▲
by
sweetjuly
1y ago
The existence of a similar contradictory example does not disprove the original point. It's okay to be suspicious and cynical, but nuance is still important. Assuming that anyone who has anything to gain by you believing them is out to
76.
▲
by
sweetjuly
1y ago
Screen recorder in under 100 bytes: Open QuickTime and hit Command-Shift-N. Press record.
77.
▲
by
sweetjuly
1y ago
Yes, but this is not cheap for hardware. CPU designers love SIMD because it lets them just slap down ALUs in parallel and get 32x performance boosts. Reductions, however, are not entirely parallel and instead have a relatively huge gate dep
78.
▲
by
sweetjuly
1y ago
Loop unrolling isn't really done because of pipelining but rather to amortize the cost of looping. Any modern out-of-order core will (on the happy path) schedule the operations identically whether you did one copy per loop or four. The
79.
▲
by
sweetjuly
1y ago
Relatedly, one of my favorite recent papers is "Surveilling the Masses with Wi-Fi-Based Positioning System" [1]. In the paper, they (ab)use the fact that smartphones report the location of WiFi access points to public databases in
80.
▲
by
sweetjuly
1y ago
The reason why it's so famous though (and why some people tend to use it in a tongue in cheek manner) is because "you know it when you see it" is a hilariously unhelpful and capricious threshold, especially when coming from t
81.
▲
by
sweetjuly
2y ago
> We also know that statistically speaking your spouse is the person most likely to murder you. This is slightly misleading. While it is true that the person with the highest probability of murdering you is your partner (at least, if y
82.
▲
by
sweetjuly
2y ago
I'm not sure what the reference to "modern CPUs" is, but a common complaint is that most reasonable reference counting implementations suffer very badly under contention. Specifically, if an object's reference count is c
83.
▲
by
sweetjuly
2y ago
It's not especially likely you'll be able to make things faster unless you're really strapped for fetch bandwidth. The reasoning is that most useful uops will already have instructions which directly decode to them (ie you&#x
84.
▲
by
sweetjuly
2y ago
Ha, I also got that feeling. It's the weird lists with a summary fragment after the bullet. ChatGPT loves framing arguments like this but I almost never see people actually write this way naturally except in, like, listicles and other
85.
▲
by
sweetjuly
2y ago
The entire BOM is crazy. The USB to UART chip is wholly unnecessary if you simply pick a better (at an equal or lower price) ESP32-S3 module which has a USB interface. I suspect this was designed based on things the author had in their cupb
86.
▲
by
sweetjuly
2y ago
Surely it also marks the parent process' pages as COW too? If only the child is RO but the parent still has RW mappings to the same physical pages, writes from the parent will be observed in the child, which is wrong for COW. You eithe
87.
▲
by
sweetjuly
2y ago
Sorry, I totally didn't mean this as a slight to your work--I've been a fan for quite a while :) More so that estimating power when you don't have access to post synthesis simulations or internal gas gauges is very hard. For
88.
▲
by
sweetjuly
2y ago
The article also mentions they had trouble measuring power usage in general so we can't necessarily (and, really, shouldn't) conclude that it has no impact whatsoever. I highly doubt that AMD's engineering teams are so unprin
89.
▲
by
sweetjuly
2y ago
I imagine this is more of a functional issue. i.e., the loop buffer caused corruption of the instruction stream under some weird specific circumstances. Spectre and Meltdown are not functional issues but rather just side channel issues. Thi
90.
▲
by
sweetjuly
2y ago
$400k is quite a bit more than they typically let you pursue in small claims court :)
More ›