oh-4-fucks-sake
Joined 7 years ago
Joined 7 years ago
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!
I'm assuming "large sums of money" here means (at least) $250k+. I guess I start to ask "how much is enough"?
- 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).
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.
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.
- 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...
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.
I feel I'm moving into Peter Principle (https://en.wikipedia.org/wiki/Peter_principle) territory. I don't care about pay bumps--I just want to work full-time as an individual contributor.