HNHacker News
TopNewBestAskShowJobs

mcronce

1,005 karma · joined March 31, 2020

submissionscomments
mcronce··on Chemical reactions fuel crises at LA County's two largest landfills
Many places already have weekly/biweekly pickup for single-stream glass/plastic/paper/aluminum recycling - is there any fundamental reason that batteries couldn't be added to the stream?
mcronce··on My reference was dropped, why is the compiler complaining about multiple borrow
If it's not a project under NDA, like another user, I'd be happy to put eyeballs on it and help you work out the errors
mcronce··on My cat water fountain comes with a spicy USB power adapter
"The candle that burns twice as bright, burns half as long"

The math was a little off, but the quote still comes to mind

mcronce··on Shoplifting and frustrated customers plague self-checkout
Home Depot, believe it or not, has an actually pleasant self checkout experience. No scale whatsoever, access to a handheld barcode scanner, a fast enough machine that you're not sitting there waiting for it all the time, and no robot voice telling you what every item costs with no option to mute
mcronce··on My cat water fountain comes with a spicy USB power adapter
In my old house (US) there was an outlet that was setup that way. Two phases plus ground on a bog standard looking 120V outlet. Made the discovery when we plugged a 500W work light into it while renovating and it exploded after a few minutes.
mcronce··on Why a spritz of water before grinding coffee yields better results
Can confirm, am cat ~~owner~~ family member
mcronce··on Google calls Drive data loss "fixed," locks forum threads saying otherwise
No, I spelled customer correctly, but thank you for the offer.
mcronce··on Google calls Drive data loss "fixed," locks forum threads saying otherwise
Google, institutionally, still seems to have not realized that many users are now customers and not (or at least, in addition to) product. If you are receiving money from somebody, they are your customer, and you have a responsibility to provide at least vaguely good service.
mcronce··on Cloudflare Gen 12 Server: Bigger, Better, Cooler in a 2U1N Form Factor
It's nuts how much energy server fans can use.

I recently picked up an R730xd. By default, a non-Dell-branded PCI-E device will force the fans to ~16000RPM, but there's an IPMI command to disable that and go back to regular, temperature-driven, fan control. Total server power came down by 70W after issuing that command.

mcronce··on Semantic fuzzing of the Rust compiler and interpreter [pdf]
It was also explicitly stated to be a joke. There's really nothing wrong with that.
mcronce··on RPG Engine for the Nintendo 64
> PSX load times did really suck; games did things to mask them.

It's really highlighted with some of the NES/SNES RPGs that were ported to PS1 - Chrono Trigger and Final Fantasy 1-6 come to mind. As one particularly egregious example, there's a significantly long pause when entering combat in Chrono Trigger.

mcronce··on Super Mario RPG is an endearing, perplexing relic
Mystic Quest was my first JRPG...then FF4, Chrono Trigger, and SMRPG - I think in that order?

It really kicked off a lifelong love of the genre

mcronce··on Charging a lithium battery to 80% only?
FWIW, I can't speak to other operating systems, but with Linux (maybe requiring cooperative hardware? I'm actually not sure) you can configure it to stop charging at a certain % if the charge controller doesn't have reserve.

I can find a link if you're interested; IIRC it was easy to setup and easy to temporarily disable if you need to fully charge for e.g. a long flight without outlets

mcronce··on NilAway: Practical nil panic detection for Go
Other than compiling a bit faster, what ergonomics does Go give you that Rust doesn't?
mcronce··on Show HN: YouTube banned adblockers so I built an extension to skip their ads
Yeah, I'm using uBO in both Chrome and Firefox and have yet to have them not work or get a "turn off your adblocker" nag or whatever
mcronce··on NilAway: Practical nil panic detection for Go
> Also, there may be a false sense of productivity. Go is verbose, and you write a lot. Sure if you spend most of your time typing then yes you are productive. But is it high-value productivity? Some more concise languages leave you more time to think about what you are writing and to write something correct. The feeling of productivity is not there because you are not actively writing code most of the time. IIRC plan9 makes heavy use of the mouse, and people feel less productive compared to a terminal because they are not actively typing. They are not active all the time.

This is my sense. "False sense of productivity" is an accurate statement - I've also found that it seems to be for a very specific (and not necessarily useful) definition of "productive", such as LOC per day.

It's not as bad as dynamic languages like Python, but very frequently Go codebases feel brittle, like any change I make might bring down the whole house of cards at runtime.

mcronce··on NilAway: Practical nil panic detection for Go
With generics, can you not make a NonNil<T> struct in Go, where the contents of the struct are only a *T that has been checked at construction time to not be nil, and doesn't expose its inner pointer mutably to the public? I would think that would get the job done, but I also haven't really done much Go since prior to generics being introduced

Otherwise, since pointers are frequently used to represent optional parameters, generics + sum types would get the job done; for that use case, it's one of two steps to solve the problem. I don't foresee Go adding sum types, though.

mcronce··on Xash3D: An open-source reimplementation of Half-Life
This is a good point. I had no idea its hardware requirements were that low.
mcronce··on Google resumes transition to Manifest V3 for Chrome extensions
I agree with your intuition on the latter being more likely. And Google won't care about the minority of power users they lose. They've been outwardly hostile toward power users with Android for years.
mcronce··on Rolls-royce confirms all of its current engines can run on 100 percent SAF
Not a truck, but my buddy had an old 300SDL (1984, I think)

He would just run whatever in that. I think my favorite was peanut oil, it made the neighborhood smell like Chinese food.

mcronce··on Push ifs up and fors down
The author called out the newtype solution specifically in the first paragraph:

> it could push the task of precondition checking to its caller, and enforce via types (or an assert) that the precondition holds

(Emphasis mine)

mcronce··on Why Rust in Production?
There's an oddity in that article...the C++ p99.9 is lower than its p99. Am I crazy or should that not be possible?
mcronce··on Laid-off masses have a message for Zuckerberg, Benioff: We'll never come back
I'll go work for a different company that laid off other people...unless it was for the same reason. I'm not doing a full-time RTO for any company.
mcronce··on People with autism less likely to succumb to bystander effect, research finds
I can't drink during/before flights at all, it destroys me
mcronce··on People with autism less likely to succumb to bystander effect, research finds
My intuition is that, in addition to what you mentioned and at least for longer flights, some people have residual effects from the mild hypoxia at altitude when they're on the ground in their destination airport.

I, at least, sure as hell feel dumber for the rest of the day after a six hour flight. Usually that's accompanied by a fairly debilitating headache.

mcronce··on Was Rust Worth It?
Mutability is a big one for correctness. In Python, any function you pass any (non-primitive) object to might be mutated right out from under you and you have no idea it's happening. In Rust, you have to explicitly provide mutable references, or you need to hand over ownership, in which case you don't care if the callee mutates its argument, because you no longer have access to it.
mcronce··on Was Rust Worth It?
My background is PHP, Python, and Go, and I have the same experience as GP
mcronce··on Nghttp3 1.0.0 – HTTP/3 library written in C
No? Your entire C codebase needs to be thoroughly scruitinized, whereas in Rust, you can build a small portion with unsafe code, thoroughly audit that, and build a sound abstraction on top.
mcronce··on Finding that lead emissions from aircraft engines contribute to air pollution
TIL, thanks for the info
mcronce··on Finding that lead emissions from aircraft engines contribute to air pollution
Maybe my understanding is incomplete, but AFAIK the "California gas sucks" thing is just because the highest grade you can find at most pumps there is 91, while we get 93 in a lot of other states

Not that it matters when everything made for "premium" is tuned for 91 from the factory anyway, not 93

← PreviousPage 2 of 12Next →