HNHacker News
TopNewBestAskShowJobs

migf

197 karma · joined December 23, 2022

submissionscomments
migf··on Samuel R. Delany Reimagined Sci-Fi, Sex, and the City
I read the Wikipedia plot summary and have been putting it off.
migf··on Colorado River deal forever changes the price of water in the West
I'm concerned that this is going to make it much more profitable to clear forest land in wetter areas.

Speaking as a Minnesotan, this is probably pretty fucking good for alfalfa prices, not so good for marginal wetlands.

migf··on A new digital world order has already come to Kazakhstan
Significant omission in article: https://en.m.wikipedia.org/wiki/Kazakhstan_man-in-the-middle...

The Kazakhstan government has attempted on multiple occasions to require trust of their own CA, and to proxy all traffic in and out of the country, and probably to enable snooping on all network activity at will.

Which, I mean, the US was doing prior to the widespread adoption of TLS.

migf··on Make microservices look like monoliths
That's terrible, so sorry
migf··on Make microservices look like monoliths
Works great for applications where you spend most of the time waiting for a database.

The dynamic type system makes it easier to write testable code with less abstraction overhead.

Faster to train up junior devs.

That said, you * must * set up the codebase with appropriate guard rails or bad things can happen.

migf··on Migrating Netflix to GraphQL safely
Apollo is also available for Elixir, where I have seen it much loved.
migf··on Update: U+237C ⍼ &Angzarr;
To the emoji t-shirt mobile!!!
migf··on Show HN: Java REST without annotations, DI nor reactive streams
Honestly I think your best bet for this is to have a predictable failure or degenerate input (empty body for post etc) and then write a test that hits all your endpoints in a docker container.
migf··on Brazil develops tropical wheat and predicts self-sufficiency in 5 years
Correct
migf··on How Somali workers in the US are fighting Amazon’s surveillance machine
Spread across 60 pick items an hour...
migf··on NYC skyscrapers sit vacant
Which parts of onboarding do you feel like are pain points?
migf··on JavaScript state machines and statecharts
I have actually just started a process like this in a personal react project.

The project uses password auth and websockets, and I was starting to get bugs around refreshing things that I couldn't easily fix.

I had implemented this originally using a singleton pattern for an AuthService and a MessageBus for the websockets. I created those at app start and put them in a React Context.

Converting things to xstate is working great, but it's nearly a rewrite. The approach I had stashed state in a couple different places and had a bunch of callbacks passed around. Now all that state is just in the state machine's context, and what were methods turn into pure functions.

One thing that's a little non obvious is that if you have async operations (ie waiting for a new token) you probably want a state for waiting for that, where you invoke the async method followed by transitions on success and failure. The docs reflect this, but it's not narratively obvious.

Anyway, liking it so far. Changing to a state machine is going to hurt if your code already sucks.

migf··on “Tinder for Canceling Meetings”
Brilliant

Nothing like the realization you're stuck somewhere pointless that costs $1500 an hour.

migf··on How the Streaming Era Turned Music into Sludge
On the bright side, it's easier than ever to listen to albums, even really obscure stuff. I feel like it's a good antidote to that "sludge" feeling. I've been able to find most any hometown punk shit from 1997 I want.

Better yet, figure out where local bands are playing and watch people do their thing.

migf··on How to set your domain as your handle
You're describing humanity, lol
migf··on JavaScript private class fields considered harmful
Yyyyyeah, classes in js are pretty bad full stop. For instance, passing a method as an argument will do awful things unless you bind it to a this first. Gross.

Still, it's interesting to me that Proxy is more valuable to author than private member variables. Curious about some common use cases.

migf··on Why is OAuth still hard in 2023?
Yeah, but it's a negligible rounding error of cpu time for each client.

Distributing this work ironically makes it much easier to centralize the authentication.

migf··on Google Cloud region currently down due to water intrusion
It amazes me that in every market they serve, Amazon has no actual competitors from a feature perspective.

Like, Target does not compete with Amazon. They have a totally different home delivery model that is not in the same category of reliability or service.

It's annoying.

migf··on The Full-Source Bootstrap: Building from source all the way down
I'm new at this. Why is C++ an obstacle to bootstrapping?
migf··on Someone asked an autonomous AI to 'destroy humanity'
I think there's very little risk mitigation we can do to prevent a human from trying to kill us all, so the addition of an AI trying to do the same is sort of "who gives a shit."

Like, there was a fifty fifty chance we made it out of the 1980's without nuking ourselves. Average person's ability to influence this? Zero. So, you know. Chill out and enjoy the consumer products while they're available.

migf··on CSS is hard no matter how good you are at it
Tailwind * tries * to resolve this, but is probably just a different bird's nest.
migf··on Banshees of Inisherin: The Game
lmao what is wrong with you

Thank you.

migf··on The Corruption of California
Then it's against the law, and you need to get it off the road.
migf··on The Corruption of California
Racism is a really powerful cognitive fallacy. Once you let it in, it's tempting to just start pointing it at everything, like author is doing here.

I got to the part where he's describing Hispanics at the DMV and had to check if this was an HP Lovecraft story or something. Yikes

If the DMV sucks, and there's no republican party, maybe go complain to the Dems about it? I understand that decisions are being made are entirely within that party, because nobody likes the other guys. Maybe vote in the primary?

migf··on Certifications create wrong incentives for engineers and recruiters
Exactly. I'm an independent consultant and I just got my AWS Pro cert for marketing reasons.
migf··on Ask HN: How to get an accessibility tester job as a blind programmer?
I have two leads for you. DM me for details.
migf··on Most data work seems fundamentally worthless
This is actually the most important career advice for tech jobs.

First junior dev job it's not as important because you just need to find something. After that you will want to be very careful to make sure the job has actual business impact, otherwise you are likely to end up in some kind of bullshit vanity project that only has to appear to work.

migf··on I created an eBay account and bought an item, today I got indefinitely suspended
Yeah this reads like when SaaS companies complain about getting banned from AWS and leave out the part where people were using the software to run massage parlors or whatever.
migf··on The US Supreme Court doesn’t understand the internet
I think the Supreme Court has a real out here to say, "Fuck, we dunno" and rule to change nothing and suggest that Congress remedy the situation through new laws. That's ideologically consistent and the right move. I would be astonished if they don't do that here.
migf··on The case for hanging out
Man, nobody planned this.
← PreviousPage 2 of 3Next →