Better HN
topnewbestaskshowjobs
Log inSign up

Two4

366 karma · joined May 25, 2023 (3y ago) · 276 submissions

Submissions

comment 3y ago · link · parent

Please use thousands separators - I have no idea how absurdly big that price tag is because my eyes just slip right over those zeroes like a greasy fat kid down a slide

comment 3y ago · link · parent

I'm assuming you work for Postman. I hope you know that because of this, as well as the account requirement, other REST tools are going to eat your lunch. I don't think this was a good move.

comment 3y ago · link · parent

I think you may be right about how it would pan out, but ideally you'd either start with a stipend that covers the base rate for your insurance with any increase in premiums beyond coming out of pocket, or averaging premiums across union members to create a powerful economic incentive to keep members in line. I'm not a fan of the latter, because US cops seem tribalistic, and would likely see an increase in premiums as an us vs them issue rather than an internal issue. Pricing bad individuals out of the profession directly is better.

I do also sometimes think about using other law enforcement agencies that overlap in some (but not all) responsibilities to create some sort of incentive structure where if they catch each other breaking the law, it's much more beneficial to screw each other over than be complicit

comment 3y ago · link · parent

The fact that automated vehicles operate with much broader safety margins with regard to driving conditions definitely contributes to them being safer overall - humans choosing to drive in worse conditions objectively makes them more dangerous drivers. I also suspect that what others are getting at - that under the same driving conditions safety margins as robocars, humans have a lower accident rate - isn't true, considering the bulk of motor vehicle accidents occur during normal commutes during daylight hours in nominal weather at low speeds. I suspect that even if you control for the elderly, the drunk, and inclement weather, humans will still have worse statistics. I think that humans have a tolerance for risk and ambiguity that makes for statistically worse, albeit more predictable, driving behaviour. But much like you, I don't have any better data to back this up.

comment 3y ago · link · parent

As someone who has used most of these standards, save for some of the more esoteric ones, I can honestly say type M is best - all the benefits of type G, but won't literally stab your foot when you step on it (I'd link some nsfl photos if I weren't on mobile).

Built in fuses are quite archaic - circuit breakers are better, and if you really need one, build it into the appliance.

Any socket that is compatible with type C plugs tends to have plugs that easily break if any kind of bending or shearing force is applied to it while plugged in, and the equipment manufactured for it (adapters and multiplugs) tend to be cheap, not make good contact and allow the plug to fall out easily. I've never encountered a type M socket that didn't Just Work™

comment 3y ago · link · parent

The Russian military buildup on Ukraine's borders was obvious and believable, no one had a hard time seeing the Russians were going to invade. What really had the Ukrainian regime on the precipice, and was a harder sell in the lead-up to Z-day, was the internal coup attempt that would be coupled with it.

comment 3y ago · link · parent

Can't figure out how to delete this comment on this mobile client, please ignore

comment 3y ago · link · parent

Why does everyone compare things to houses? If you want to be more consistent with your building analogy, IoT sold to the public or enterprises are more like bars, except that each user has their own privately owned bar that may or may not be stocked by a central liquor company. If a user wants to check it's not possible for someone to break into his bar, or slip poison into his booze shipments, or redirect the shipments altogether, that's legitimate in my mind. Even if someone buys a bar intending to hijack booze shipments, the liability is still partially on the liquor company if they have not taken reasonable precautions against known risks. Imagine buying a bar and the liquor company who you're forced to use says "if you rattle any of the doorknobs or test the alarm works, we'll sue your pants off and throw you in jail" - does that seem fair?

comment 3y ago · link · parent

I friggin love rtings - I wish all reviews would dive so deep into the technicals and have such consistent processes.

comment 3y ago · link · parent

I thought they used the Russian consultants as a vector by infecting their laptops before they went inside the airgapped system? I was under the impression that this was the reason Stuxnet spread so far and wide, because it had to spread organically to the Russians' devices. Time for a Wikipedia rabbit hole, I guess.

comment 3y ago · link · parent

Yes - I once wrote an AWS lambda that was having issues with cold boot times, so I compiled it to a binary and bada bing bada boom, boot went from 2 seconds to about 200ms.

It's not a silver bullet though - some reflection features aren't supported, and reflection in general requires a bit of config at compile time to make sure all the required classes are loaded. This can make some plugin architectures unworkable, although I maintain that if you need reflection for pluggable code, you're probably doing it wrong.

comment 3y ago · link · parent

I'm a big fan of JDK 21 with Helidon 4/Nima on the backend - most use cases covered, but very tight and light in dependencies and pretty much completely platform independent. You also have the option of compiling it AoT with GraalVM for a very quick-loading and low-memory near-native binary. Virtual threads mean much easier scaling, as you can do thread-per-request with a synchronous API. (Although I'm not sure if Graal supports java 21 yet, I'll have to check)

comment 3y ago · link · parent

My team was asked how we should store data that is variable in structure and depth. When I suggested using mongo and not trying stuff it into a SQL db, I was looked at like I had suggested blending my firstborn for margaritas. People seem to think that NoSQL is dead and was always a bad idea.

comment 3y ago · link · parent

Which NYT article? What earlier contemporary reporting?

comment 3y ago · link · parent

Many jobseekers will be in this thread, looking for tips. Seems like a smart place to pick up candidates.

comment 3y ago · link · parent

As soon as you start talking thread pools, you're talking about async task dispatching at some level, even if it's abstracted away at the API level. What I'm talking about is using a virtual thread, not event-driven shuttling of stateful objects between threads via task queues, to complete a request from start to finish.

comment 3y ago · link · parent

Non-MicroProfile Helidon uses a reactive interface for most things, which lends itself well to async operations. It a very nice, simple and powerful abstraction that makes async relatively easy. IMO anything webserver or client should be async when virtual threads aren't available, due to Java having the tendency to quickly build up a ton of threads when you use the one-thread-per-request model. That being said, virtual threads does make that model viable at scale, so reactive async probably isn't as necessary.

comment 3y ago · link · parent

I don't think they're referring to dudebros' js, they're referring to systems software and the ability to deliver relatively secure updates over insecure channels. I've even delivered a signed firmware update to a microprocessor in a goddamn washing machine over UART. Why can't we do this for a jet?

comment 3y ago · link · parent

If possible, always use an FOV of 90 degrees or more. I often find console ports that have too tight an FOV and no way to adjust it make me queasy (they're intended to be played from the couch). Another possibility is to make the crosshair bigger, or use a crosshair overlay - if you don't have something to "anchor" your perspective, it can cause nausea

comment 3y ago · link · parent

Translation translation: someone has leveled valid criticism about a nationwide problem in a country that propagandises itself to be the best in the world and I've drank the koolaid so now I need to be super touched about it

comment 3y ago · link · parent

If this is true then why, for the love of God, can I not walk into my local and buy a halfway decent printer?

comment 3y ago · link · parent

Suicide rate is around 4 times higher for men in Western societies, but suicide attempts by women are at least twice that of men. More lethal, messier suicide methods are more popular among men, and in my opinion, it's because women are socialised to be more considerate of those who will find their body.

comment 3y ago · link · parent

More or less, yes, although I'm not sure what you mean by "solar most abundant and cost-effective"

comment 3y ago · link · parent

While your comment addresses the most common factors contributing to addiction, it doesn't really answer the question of how to let children experience the consequences of addiction in a way that's low stakes and not irreversible.

comment 3y ago · link · parent

Did you also delete Messenger, Instagram, Whatsapp and Threads?

comment 3y ago · link · parent

Wet wipes, no matter how much the manufacturer claims, are not flushable. They don't break down in water like toilet paper (why would they? defeats their purpose), and clog sewage lines like a mofo. Even if they don't affects the lines in your property, they very likely gather somewhere downstream. The alternative is throwing them in some kind of receptacle, which I understand is acceptable in some countries anyway due to poor sewage infrastructure.

comment 3y ago · link · parent

Total war is distinct from civil war or regional conflict - none of the parties you mentioned are completely committed at every level possible to victory (or at least the other side losing). Britain and Germany can both be thought of as being in states of total war at varying times during WW2.

comment 3y ago · link · parent

Tupac certainly had some fairly high ranking civil servants, lawmen and politicians as enemies, or at least detractors. His parents were both considered political extremists, and the FBI kept a very thorough dossier on him, as he was considered a threat to the political establishment in the same vein as black civil rights leaders in the sixties and seventies. His death was convenient at best, a conspiracy at worst. It's not surprising that the investigation was cursory and left to go cold.

comment 3y ago · link · parent

Using solar without batteries to supplement baseload requirements is a great cost-cutting exercise, because it reduces grid draw when data center power requirements are highest (business hours) and electricity is most expensive. You can also add batteries later if they start to make more business sense.

comment 3y ago · link · parent

This smacks of some kind of microservice failure causing a bad default/fallback currency identifier value to be used before the transaction made it to the card payment rails.
1
678910