oh-4-fucks-sake

Joined 7 years ago

Karma
232
Submissions
72
Member since
Feb 8
View on Hacker News

Recent submissions

Comment · 1 year ago
Speed Queen for washing machines. Bosch for dishwashers.
Comment · 2 years ago
2-3 years ago, I was thinking something similar along the lines of "yeah, why doesn't Apple just stick with computers/phones/peripherals/software." But if anything's become clear in the last few years in the EV market are issues with: reliability, software/firmware, usability, aesthetics, build-quality, and high startup capital requirements. Apple is a perennial expert UX/design/durability/usability. Sure there's been a few boondoggles over slight decreases in QA and quality (butterfly keyboards)--but at the end of the day, most of us still love at least some of their products because they still, usually "just work". Apple is also quite good (whether or not you like it) at building walled gardens. Imagine if Apple released a rock-solid car and an absolutely kick-ass charging network that rivals Tesla's? There's be demand. The biggest, most-obvious reason why Apple could succeed at building a car is that they have massive amounts of cash. The #1 reason these fly-by-night EV startups fail is because they can't handle 5-10 years of negative margins coupled with massive capital costs. Apple could burn billions before their EV division becomes profitable and not even blink.
Comment · 3 years ago
I agree with the sentiment--and with most of your comment--except the assertion that "I don't think it's possible to beat this stack".

I have something similar: Kotlin on the server-side with my SQL DSL generated by jOOQ and Flyway running my schema migrations. I don't have any experience with LINQ--but it looks to be of a similar idea to jOOQ such that you get an autogenerated, injection-safe, type-safe, compile-time-checked SQL DSL.

If you like LINQ, you'd probably really like jOOQ. It's uber-powerful and the only queries that I've not been able to completely write in jOOQ are geo-spatial queries--and even for them, I can use string SQL for just the one where-clause predicate where I need to go off-the-rails--the rest of the query still being standard jOOQ. The thing I like most about it, is that the queries that I write in the DSL are sooo close-to-the-metal of pure SQL--I'm not even context-switching between SQL and jOOQ really. Check it out!

Comment · 4 years ago
What's a "large sum"? If you compare how relatively spoiled we software engineers are to other (even white collar) careers, we're doing pretty darn well. Even if you're making super-low-end in the US at like $80k, many people in other careers would never dream to pull that much. Many of us are comfortably pulling $120k-$170k and that's unfathomable to many people. In everywhere but (maybe) the most expensive city centers in America, that's a very, very good life.

I'm assuming "large sums of money" here means (at least) $250k+. I guess I start to ask "how much is enough"?

Comment · 4 years ago
100% agreed. $350k salaries for people that have basically built and maintained the modern-day Library of Alexandria is a pittance. These people deserve it.
Comment · 4 years ago
A confounding view here though is that even though seafood contains pollutants, the benefit of high omega-3 content in some species outweighs the negative effects of the pollutants. The key is find the combo of:

- high omega-3-to-omega-6 fat ratio in the fish

- short-lived fish (low bioaccumulation)

That basically leaves you with wild salmon, (some) farmed salmon, and small/oily fishes (like sardines and some species of mackerel).

Comment · 4 years ago
Try the (free, or premium) tabnine plugin. It uses a ML model to analyze your codebase for patterns and suggest better-and-better autocompletion over time as your project grows--it works really seamlessly with the IntelliJ autocomplete--so, it only adjusts the suggestion list when there isn't a straightforward suggestion from IntelliJ's already.
Comment · 4 years ago
Really curious to see what (if any) increase in digestive cancers a low-mercury-pescatarian diet would confer over a pure plant-based one.
Comment · 4 years ago
Agree with this incremental step from a political perspective as an easy sell / quick win. But, it's imperative that this be understood as an incremental step. The hazard here is equating "natural" with "safe" and "synthetic" with "unsafe".

Eventually, this mindset will have to be dropped because morphine, cocaine, and cyanide are natural (heck, methamphetamines is found in trace amounts in some species of acacia). MDMA is synthetic but can be lethal in a single dose. LSD is semi-synthetic and one of the safest of the bunch--in fact, it's safer than the "natural" chemical feedstocks of its synthesization routes (LSA or ergot).

The shift will have to be to evaluating each molecule on its merits and risk profile. Sure, the whole "natural" argument feels warm-'n'-fuzzy for a lot of people--but sadly it's a poor metric for determining safety. After all, our brains' receptors can't tell whether a molecule originated from a plant or from a lab.

TL;DR: LSD, Cannabis, Psilocybin, Mescaline, DMT, (maybe) MDMA, and their various pro-drugs/analogues should be legal and regulated--regardless of their source. Morphine? I mean, the libertarian in me says "OK", but the more practical side says "probably not a great idea". In the end, none of this is rocket science--but the DEA, the broader US Government, and religion have turned it into a far more complicated thing than it needs to be.

Comment · 4 years ago
One step further: they needed a larger cube. Seems like the study reasoned that providing unlimited food/water ruled out "resource scarcity" as a cause for decline. Space is very much a resource.

It's no different than the naïve reasoning around government-run housing projects: "You have food, water, and a tiny space to live crammed among 1000s of other people--what more could you need"? Didn't this spawn aberrant, violent, unhealthy behavior too? Wasn't (at least in theory) part of the solution to stop doing ultra-ultra-high-density housing? (Given, it's not like the government executed on re-housing all the project-tenants into lower-density housing--they often simply dumped them back into the streets.)

TL;DR: It's mostly obvious why ultra-high-density projects (and prisons, and concentration camps, and slums) set people up for failure; 256 tiny nests in a 4.5ft cube sounds a whole like a housing project.

Comment · 4 years ago
In the JVM world, jOOQ is great happy-medium technology between the extremes of string SQL and full-blown ORM:

- Type-safe DSL generated from your schema that looks like SQL

- (If you can write the SQL, you can write it in jOOQ)

- SQL-injection protection

- Strong multi-dialect and vendor-specific support

- Custom-type mappers

- Composable queries

- Compile-time, schema-aware query safety

- Fine-grained transaction control

- And so much more...

Comment · 4 years ago
I worked as a consultant for BP shortly after the Deepwater Horizon spill.

I can't speak to what the (office) safety culture was like in the pre-spill days but at the time I found the office rules more than a bit ironic considering, you know, their most recent safety disaster was viewable from space.

I always thought of their rules as bike-shedding...but for safety regulations, with reasoning looking like:

1. Our biggest safety vulnerability is industrial infrastructure failures.

2. We can't make it safer (without spending money). We're out of compliance with federally-mandated inspection schedules but paying those fines is cheaper than risking discovering critical issues that'll be costly to repair. Plus, all those drill bits and pipes are hard to understand so it's better if we just don't think about it.

3. Now we have an unmitigated disaster on our hands and we must project that we're a safety-minded organization.

4. Quick! Instructing employees to tattle on each other about laptop charger trip hazards costs us nothing and is simple enough for everyone to understand.

5. So let's disproportionately obsess about that.

What's more (and even more ironic) is that mild trip hazards weren't even the biggest risk in the office. Apparently, the duty of regularly cleaning the office refrigerator wasn't assigned to any staff. It was cleaned on an ad-hoc basis by...idk...whoever got fed up with it first? So, first off--constant food safety issues are bad enough. But, one day, this gross fridge was apparently so full of abandoned paper-bag lunches that one resting against the refrigerator bulb began smoldering and smoking. We all evacuated the building and received a collective "stern talking to" about paper-bag-on-incandescent-refrigerator-bulb safety. Which, OK, I guess no one saw that one coming--but, like, still--can we all agree that the big, tar-covered elephant in the room is still clearly the crude-oil volcano in the Gulf of Mexico.

Comment · 4 years ago
Install a second shower-head and make them shower together. Parallel processing is your friend here.
Comment · 4 years ago
Comment · 4 years ago
Git blaming code from billions of years ago would be hilarious. Imagine understanding the few hundred keywords in a long-lived language but not being able to understand the git commit messages.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton