HNHacker News
TopNewBestAskShowJobs

goostavos

5,885 karma · joined February 24, 2012

Software engineer and overall pretty swell guy.

Checkout my book! https://www.manning.com/books/data-oriented-programming-in-java

chriskiehl.com

submissionscomments
goostavos··on Ask HN: Why Is Everything Declining?
Holy crackers.

When I see a person wearing PJs in public, I think -- actually, I guess I don't really think about it beyond "huh.. PJs in public." You're out there stewing on it, writing about it on the internet, and literally thinking that people wearing things you don't like is stemming from a mindset that's at the root of society's problems.

This casual insight into madness is what keeps the internet exciting.

goostavos··on YouTube Addiction
>can be a deceiving

I think that's a great way of describing it. Watching "educational" content feels better or more productive than watching a Let's Play, but it's all basically empty entertainment -- the medium and the algorithm sort've necessitate it. Which is definitely not to say there's not awesome resources on youtube for actually learning things, but, for the most part, I'm not watching things that actually take mental effort. I'm more often just letting trash wash over me while also convincing myself that it's OK because "I'm learning" (even though whatever trivial factoid being discussed is immediately ejected from my brain when the next video starts)

I've realized that the internet has a numbing effect on me. It all washes over me until I feel absolutely nothing and I'm just mindlessly consuming. My ISP was recently down for a day, and it actually made life (at least temporarily) more interesting. Rather than just sitting in front of a screen and having content pumped into my veins, my SO and I had to leave the house to seek out things to do.

Then the internet came back and now we're both back on the drip.

goostavos··on Conversation skills essentials
>you might both find agreement in that nobody has ever fallen off the edge of the Earth.

You've revealed yourself as not having actually found common ground with flat earthers. Evvvvverybody knows that it's not about travel distance. You can't fall off the edge of the earth because of the ice walls. It's not like it just ends. That'd be silly. The oceans would drain out into flat space.

goostavos··on The FBI was the primary link between the intelligence community and Twitter
>How do you defend this?

From this thread, it seems by just going "pfft... no big deal."

As long as there's a layer of abstraction ("I didn't kill him. The bullets and the fall did") and it's applying to speech we generally don't care for (misinformation, "hate speech", etc..), then I guess we're cool with it?

It's tough not to be cynical at times. A decade after PRISM, the government controlling speech indirectly via "polite suggestions" mostly just fills me with similar feelings of "no big deal." Not because it isn't, but because it's expected.

goostavos··on John Carmack Leaves Meta
>why should we believe

Oh, good lord.

Listen, you're talking about companies with hundreds of thousands of employees scattered all across the globe. Do you really think there's one homogeneous culture across everything? Single orgs can have the population of small towns. "culture" is a local phenomenon.

There are promotion oriented people. There are not promotion oriented people. There are mutants who work 12 hours every day and call into meeting while on vacation because they want to climb the ladder. There are teams which are hyper focused on visibility and self-promotion, and there are teams which just quietly churn out good tech. There are hundreds of thousands of people. You're going to get different experiences. I'm not sure why that's such a crazy idea to you.

goostavos··on Riffusion – Stable Diffusion fine-tuned to generate music
This was the first AI thing to fill me with a feeling of existential dread.
goostavos··on I don’t want to be an internet person
Leaving comments to boast about what you flag and moralizing about what kind of content is worthy of attention?

You might be an internet person, my friend.

More like this article, plz. Or we could go back to our usual high brow, attention worthy content of "I asked GPT about a thing and you won't believe what it said"

goostavos··on Exercises for understanding Haskell Lenses (2019)
Even still.. Seems a bit... arbitrary?

It's pretty easy to just never bump into certain corners of languages -- even if you use said language extensively. I've used Python for, like, 8(ish) years professionally. I maintain a few moderately popular open source libraries. I honestly don't recall exactly what happens when you do the `list_to_add=[]` thing, because these days I pretty much never pass in a list with the purpose of having it be mutated by something else. I know is that I did try it once, a long time ago, and that it does something unexpected. But I couldn't tell ya more than that just by looking at in.

Color me dismayed to discover that I'm actually a hack fraud.

goostavos··on Exercises for understanding Haskell Lenses (2019)
Haskell foot-guns lenses into something awful by doing what so many FP libraries do: over generalizing themselves into impenetrable category theoretic self-indulgence. Why do I need to understand Profunctors to get a value inside of a record?!?

Lenses themselves are awesome. The "bad", naive, not-general type is really simple.

``` newtype Lens a b = Lens {get :: (a -> b), set :: (a -> b -> a)} ```

So simple that modifiers can be mechanically generated for your data types. And suddenly, you can express super-duper complex modifications without all the obnoxious boilerplate it'd otherwise take.

goostavos··on Exercises for understanding Haskell Lenses (2019)
You ask this in interviews...? What makes this a good 1st round question in your mind? What is there to learn about the candidate?

It seems to me that it's one of those things you've either encountered (and go "well, that's weird") or... haven't encountered (and go "well, that's weird" upon having it explained). Have pop quizzes about the sharp edges of various languages proved useful as a filtering mechanism?

goostavos··on Why Domain Driven Design?
>But do you know what helps? Having physical boundaries you can't cross so easily.

Rarely have I disagreed with something more strongly :)

If a team lacks the discipline/skill/wherewithal to create good boundaries within a single code base when stakes are at their lowest, they absolutely don't have the skill or discipline to do ahead of time, across N code bases, and with a network in between all of them.

Breaking your system apart too early, and when you know the least about it, and with the rationale that doing so will magically stop the problems that a lack of engineering skill creates, has, at least in the small slice of the world I've encountered, resulted in nightmarish levels of complexity (some of which I'm directly responsible for the reasons stated! (whoops!)).

goostavos··on The surprising afterlife of unwanted atom bombs
If the book Command and Control is to be believed, that list looks pretty incomplete_by a pretty significant degree. One of the staggering stats from the book: In 1957, one hydrogen or atomic bomb was jettisoned in every 1 out of 320 flights. And there were a lot of flights going on at that time, as the core strategies was keeping bombing power in the air.

It really does seem like just plain dumb luck that we made it through those turbulent wild west days when the bomb was new without killing ourselves.

Just as a side note, reading all the unexpected failure modes that popped up during the weapons program was remarkably humbling. Interactions with reality will poke all the holes in can in your world view. One of my favorite examples from the book: One of the early designs of the bomb required a human to specifically remove a key card from the bomb in order to arm it. This was deemed pretty safe. Until, an aircraft entered problems during a training mission and entered a spin. The centrifugal force of that spin was enough to suck the key out, arming the bomb on the way down as the plane crashed into the earth.

There is, counter intuitively, a lot of comfort to be had in modern missiles from a "will we accidentally blow ourselves up?" perspective.

goostavos··on Laying myself off from Amazon
I've been on 4 different teams at Amazon (now migrating to a 5th). It depends entirely on the team and as well as your current level. Some do loops just like with external candidates. Others barely require more than a conversation with someone on the team -- though this one is a huge red flag. Teams looking for warm bodies are seldom good teams.

Most of the time its somewhere in between. You'll speak with the manager, speak with the team, you each review each other's artifacts, and if everyone's happy, you swap over. The balance of power is pretty nice. I've dropped out of the process many, many times after starting talking with management. Or even just learning more about what the team itself does (I couldn't live with myself if I worked on pre-roll ads, for example. So I noped out of that one).

goostavos··on Ask HN: In mid 40s. What non-tech job can I do?
I imagine the upstart costs are astronomical (especially when weighed against the low returns) here for anything other than personal garden level? Or is that perception wrong? Is it possible to start a new farming operation and be minimally viable / profitable?
goostavos··on What if regular exercise is the best cognitive exercise?
Tracking what you do can go a long way towards making the boring thing not boring.

A long walk on its own versus... a long walk where you've clicked the record button on Stava is for some reason a completely different experience. One is idle, meandering, and boring the other is (somehow psychologically) building something and fun.

goostavos··on Functional programming should be the future of software
>figured out that something is obviously beneficial?

Case in point for the problem with FP communication. When you speak in smug absolutes, it comes off as religion.

I'm pretty big into the FP world. I love Purescript. I dig Idris and exploring dependent types. I spend a lot of time at work teaching "functional" thinking. And yet, I still find most "hard core" FP evangelists insufferable for smugly explaining things as "obviously beneficial." ugh.

That is a lots that sucks about pure FP. It's not all upsides. The FP community can do a lot better at "evangelizing" by talking like engineers rather than sales people.

goostavos··on Housing in Tokyo is cheaper and more spacious than people think
What in the -- Freudian death drive? I'd wager it's far more simple: run of the mill selfishness. NIMBYs want to keep the gravy train flowing while they're here. Increased housing stock threatens the currently astronomical prices and returns. NIMBYs are "anti-growth" because their pocketbook demands it.
goostavos··on Valve Employee Handbook (2012) [pdf]
Based on this interview, the preference leans heavily towards in office for collaboration: https://www.youtube.com/watch?v=9kO6Dj2XNfY
goostavos··on Amazon's Global Quest to Crush Unions
Just to give a minor counter point, I've been at Amazon for 5 years. In that time, I've been in two different orgs and 4 different teams. All in Seattle. I'm yet to see people crying at their desks.

The trick to happiness at Amazon is staying the hell away from anything tier 1 -- or, hell, just anything with direct lines to external customers. Those "9s" we give are delivered on the backs of engineers. I'd for sure break down and cry too if I was getting paged 50 times per week because the response time of some subsystem went outside SLA by 5ms.

Chill org, chill life.

goostavos··on Thoughts on why sometimes programming/software engineering discussions suck
Above all else, TDD requires that... ... ...you like working that way.

I dunno why the TDD folks specifically get so zealot-y about it being the one-True Way™. I'm happy that they've found something that they like and are passionate about, but, damn... it seems like they missed the episode of Power Rangers where you learn that different people will like different things than you do, and that that's okay. They don't have to be "wrong" for you to still enjoy your TDD.

goostavos··on Wealthy Americans moving to Florida at 4 times the rate of other states
The roads in Florida are freaking fantastic and pristine almost everywhere. I moved to Seattle ~5 years ago and I still can't get over the fact that the roads are pot holed pieces of crap in a constant state of disrepair. We can't even get white divider lines painted reliably in the downtown core. I don't know where all the tax money goes.

However, the downside of those glorious Florida roads is that, well, you need them at all. Everything is sooooooo spread out and flat. I forget until I go back and visit just how far away everything is from everything else. Going to something "just up the road" is a 15-20 minute drive.

goostavos··on Why thinking hard makes us feel tired
Hacker News always has crazy takes when it comes to anything diet related. It's always strange.

I totally agree: it's completely preposterous that they're burning 6kcal sitting still regardless of how much they're thinking. People don't seem to realize how hard it is to burn that many calories when moving. That is advanced athlete levels of caloric burn. Does this caloric burn similarly apply while they're "training", or just at tournaments? Do they need to put down Olympic level meals every day just to sustain?

What about other people who's job is thinking? Are mathematicians also forced to devote a significant part of their day just to ensuring can chew through 6000 calories worth of food? Or is there something about board movements that consumes extra calories? L shape? 3 calories. Straight line: one calories. If we could pin down which type of thought burned 100x more calories, we'd be onto something powerful here.

goostavos··on Why study functional programming? (2012)
Monads are indeed way simpler. Just a few beautiful laws. The problem is that they take a loooooooooooong time to really internalize. Saying it takes "5 minutes" is empty in the same way that "learn C++ in 24 hours" claims are (or you're hella smart!).

There's a quote that floats around that's like "as soon as you understand monads, you lose the ability to explain monads." It takes a ton of leg work to make them click. They're simpler, but definitely not easy (in the Rich Hickey sense).

goostavos··on How “let it fail” leads to simpler code
This blog post really captures the core of where null checking should go and how to capture that you've already vetted this field for correctness in the type system so that the rest of your code never has to worry about it -- and further, cannot because the types don't allow!: https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-va...

This is echoed in an amazing book called Domain Design Made Functional, which radically changed how I thought about what a type system is and what it can actually do for us if we lean on it correctly (even a relatively crummy one like Java's!).

goostavos··on How “let it fail” leads to simpler code
Alas, the problem with java, which I say as a begrudging long time java developer, is that "supports this distinction" is a theoretical benefit that is seldom used in practice. Checked and unchecked exceptions get so thoroughly abused and twisted into byzantine contraptions that any distinction, if value were to be gained from it, is completely destroyed by the common free form usage throughout the ecosystem.

The precondition thing, while indeed common, drives me sorta insane. I think it's a pattern java folks need to move on from. You've got this lovely type system (used loosely). If you need a precondition because you've got some fundamental invariant in the system, doing it at runtime rather than encoding it into the type system is such a missed opportunity. If I try to do something inherently wrong, I don't want the code to even compile!

goostavos··on Why do people not notice our enormous, prominent, clear and contrasting banner?
lol. The auto-block sometimes misfires, though!

I recently emailed a museum to ask about tours since they didn't have any information on their website. They replied with links to all the information on their website, that was in literal plain sight, but that I totally and completely missed because my brain just straight adblocked them. I almost had to force myself to "see" them. They just so closely matched that ad spam you see at the bottom of news sites and blogs that I'd just keep skimming past them.

goostavos··on When negotiating a price, never bid with a round number (2016)
I thought the book was great! It's also the only book on negotiation that I've ever read (aside from Art of the Deal out of curiosity, which isn't actually about negotiations at all!), so take my views with a grain of salt.

If you ignore the stuff your linked comments complain about, which is largely him having an obnoxious writing style and literal too-cool-for-(Harvard)-school attitude (them nerds don't know nothin'!), I found tons of the actual content immediately applicable with lots of return.

The thing I absolutely loved about the book was shifting your mindset away from negotiations being these big scary stressful standoffs with winners and losers, and towards them being lighthearted, possibly even fun(!) shared problem solving sessions. That mental shift, and having a box of tools to use, makes navigating tricky situations so much easier.

It also make me look forward to previously stressful situations. For instance, I recently bought a new car, which is a process I usually loathe. However, using all the tricks from the book, I was able to negotiate down a crazy amount off our car with the main approach being the "how can I do X?" from the book. There was some back and forth, some huffing and puffing about how it couldn't be done ("we're already taking a loss on this!"), but eventually, after numerous showy checks with the management, we agreed on a price. I legit had a blast the whole time cause the mental state the entire time was "can we solve this problem together?"

goostavos··on I hope distributed is not the new default
While I enjoy Not Just Bikes as a channel, it goes a little deep into the "cars are literally the root of every problem there has ever been even accounting for the period before cars existed."

I live in the city. It's loud af, but general traffic is only a small part of it. Essential services like police, ambulance, and fire sirens, and trash collection are massively loud. Then you've got bars blasting music on Fridays. People shouting, laughing, and, in general, existing (often till the wee hours of the morning). They there's the meth-fueled tweakers shouting obscenities. Construction noises. Road work. etc..

Density in general is loud.

goostavos··on I hope distributed is not the new default
>The last thing I want is to spend extra time with my coworkers.

That seem to be a common point that divides the WFH vs office people. For some, it's really wild how much they rely on the office, and the people that are only there because they're getting paid to be, to act as a stand in for friends, family, or fulfillment of general social need (plus, in OP's case, the office lets him get his steps in each day(!) which is a topic he surely strikes up a long, tedious conversation about with his coworkers as they're held captive at their desk).

Most coworkers are merely tolerated socially. Even if I think they're wonderful to work with, and cherish and rely on their contributions, I've got zero desire to spend any time with 99% of them outside of situations where I'm paid to be there.

The people who make blanket statements about how integrated, in-office teams are better than remote teams ("every time") fill me with contempt. Mostly because I know over the long haul their arguments will win and we'll all be back in the office because that's what managers who need to be seen want, and coworkers who need a family want, and CEOs who need an empire want.

Don't trust you're lying eyes! Distributed doesn't work! The last two years were a failure. Open source doesn't exist. Now drive into the office so we can have a meeting where everyone sits in a room and midlessly browses Reddit while someone drones on about something that could have been an email.

goostavos··on Why Don't You Use
If you've say through enough conferences, the ire is because the question usually isn't in good faith. More often than not, it's someone with whatever you call the personality defect that leads them to constantly needing to "show how smart they are" to the room full of people by, presumably in their mind, dunking on the speaker with their wildly naive "what didn't you do X?"

I've also say through Q&A sessions where a guy got up to the microphone to recommend books for the guy giving the presentation to read. It was uncomfortable.

← PreviousPage 8 of 28Next →