Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mcronce
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
211.
▲
by
mcronce
4y ago
I agree with you. My general rule of thumb is that I use `unwrap()` for cases where the panic should be unreachable, and is at least reasonably easy to prove it's unreachable. Otherwise, `?` in 90% of code, with panics far up the stac
212.
▲
by
mcronce
4y ago
I use Rust for more or less everything these days, but I found the learning curve to be fairly tough up front. That was in 2019, though; maybe it's easier today with all the improved compiler diagnostics and new books and whatnot. >
213.
▲
by
mcronce
4y ago
The bar I frequent uses straws made of biodegradable material derived from sugarcane - they last a lot longer than paper straws, but ultimately are water soluble and will dissolve after a day ish if submerged. They obviously cost a lot mor
214.
▲
by
mcronce
4y ago
To be fair, the smokey flavor you get from barbeque is primarily carbon
215.
▲
by
mcronce
4y ago
https://customerservice.costco.com/app/answers/detail/a_id/7... AmEx not listed anywhere. Maybe yours does something different, or it's an AmEx branded debit card, or you're not in the US and t
216.
▲
by
mcronce
4y ago
Good point. I'm going to start allocating tens of megabytes of random data all over my address space at the beginning of execution so that I too can gain this advantage :)
217.
▲
by
mcronce
4y ago
You actually can - https://llvm.org/docs/CommandGuide/lli.html LLVM's original purpose was something analogous to the JVM, but it's obviously evolved to be more of a compiler platform, debugging toolchai
218.
▲
by
mcronce
4y ago
They used to be AmEx only. They're now Visa only.
219.
▲
by
mcronce
4y ago
You just listed two very good reasons: Intermediate values can't be named, and error messages are awful.
220.
▲
by
mcronce
4y ago
Go's issues are mostly not performance related, so more monomorphization will really not solve a significant portion of them.
221.
▲
by
mcronce
4y ago
What's the definition of "success" here? Popularity?
222.
▲
by
mcronce
4y ago
I agree. The rule of thumb I follow is that if the list comp doesn't fit on one line, whatever I'm doing is probably too complicated for a list comp.
223.
▲
by
mcronce
4y ago
> Storage is cheap. And yet it's solar being built all over the world, not storage.
224.
▲
by
mcronce
4y ago
> reliable This is not usually a word that one uses to describe something that works when it wants to, as opposed to things that work when you want them to
225.
▲
by
mcronce
4y ago
This is an ... interesting argument. "I can't write this 200LOC component of a large codebase in safe Rust, so what's the point in Rust?"
226.
▲
by
mcronce
4y ago
I think their point is that there are a lot of people for whom $300 is a great payment - essentially, defending the maintainers for offering what the parent seems to be implying is too little. Personally, I'm a senior dev making more t
227.
▲
by
mcronce
4y ago
I was thinking about busy servers running mixed workloads. I would think that, with the CPU running a bunch of workloads on different cores, context switching, etc, it wouldn't be a practical attack. Maybe that's incorrect. Most
228.
▲
by
mcronce
4y ago
At some point you have to accept that if you want to know something, you have to learn it. At one point, you didn't know grep, awk, sed, etc... And then you learned them. Or you can just stick with the old tools if you prefer not lear
229.
▲
by
mcronce
4y ago
I would not describe latency as "excellent" in Go, unless you're measuring average or p90.
230.
▲
by
mcronce
4y ago
I stand corrected then, this would probably be a great fit
231.
▲
by
mcronce
4y ago
When last I checked (and contacted support :)), there was no way to get per-panel generation data from the API. It's been, like, at least a year, but if it hasn't already been added, that'd be a thing I'd love to see so
232.
▲
by
mcronce
4y ago
I have nothing to add, but I'm using IQ7+s on the roof. It's grid-tied, but they've consistently worked great, and Enlighten's API is shockingly (pun intended) nice to use.
233.
▲
by
mcronce
4y ago
Also, 0.1ns would be a single clock cycle at 10GHz
234.
▲
by
mcronce
4y ago
I would also bet that getting the game to perform the exact same series of allocations would be an intractable problem to solve. I don't think Doom 3 has a benchmark mode; the author just recorded themselves loading the game, loading
235.
▲
by
mcronce
4y ago
I agree. It's not like there aren't plenty of improvements to be made, but I write a lot of async Rust and the limitations (which are well enumerated elsewhere in the comments) just aren't really an issue for what I do.
236.
▲
by
mcronce
4y ago
I'm with you. Ignoring the inconvenience of sorting through junk mail every day, just thinking about the energy required to move all that trash to people's mailboxes, only to then be thrown in the trash and moved to a landfill, m
237.
▲
by
mcronce
4y ago
They recently-ish lifted the restriction on only replying/voting in threads 6 months and younger - I'm not sure if that also applies to editing, though, nor how far back it goes
238.
▲
by
mcronce
4y ago
The default AVX offset for Ice Lake is indeed only 100MHz (and it doesn't exist starting with Rocket Lake), but 512b SIMD instructions use a lot of power, and as a result generate a lot of heat - so they certainly can cause thermal thr
239.
▲
by
mcronce
4y ago
Not for recent hardware - Ice Lake eliminated the throttling on 256b ops (they already didn't exist for certain 256b ops and all smaller ops), and reduced the throttling to almost nothing for 512b ops. Rocket Lake eliminated the throt
240.
▲
by
mcronce
4y ago
Sure, obviously you can generate strings containing HTML and send those. I'm imagining something like the serverside rendering you get with e.g. React. That said, I don't know what specifically the previous poster was looking fo
More ›