Better HN
topnewbestaskshowjobs
Log inSign up

mcronce

1,005 karma · joined Mar 31, 2020 (6y ago) · 374 submissions

Submissions

comment 2y ago · link · parent

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?

comment 2y ago · link · parent

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

comment 2y ago · link · parent

"The candle that burns twice as bright, burns half as long"

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

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Can confirm, am cat ~~owner~~ family member

comment 2y ago · link · parent

No, I spelled customer correctly, but thank you for the offer.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

It was also explicitly stated to be a joke. There's really nothing wrong with that.

comment 2y ago · link · parent

> 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.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Other than compiling a bit faster, what ergonomics does Go give you that Rust doesn't?

comment 3y ago · link · parent

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

comment 3y ago · link · parent

> 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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

This is a good point. I had no idea its hardware requirements were that low.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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)

comment 3y ago · link · parent

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?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

I can't drink during/before flights at all, it destroys me

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

My background is PHP, Python, and Go, and I have the same experience as GP

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

TIL, thanks for the info
12345
13