HNHacker News
TopNewBestAskShowJobs

jasonhansel

9,140 karma · joined February 2, 2015

Website: https://jasonhansel.com
submissionscomments
jasonhansel··on Ask HN: Why was Terraform created?
Future-proofing, I assume. Better to have things in Terraform now than to have to move them all later as you grow the application. Moving things into Terraform can be quite hard, since you essentially need to figure out how to reproduce the entire infrastructure from scratch.
jasonhansel··on Microservices are hard
> if the boundaries are not drawn correctly to start with, fixing that can be much harder in a microservice architecture (with corresponding separation of teams) than a monolith.

Therein lies the problem. Nobody draws these boundaries correctly on the first try, and the correct boundaries can shift rapidly over time as new features are added or requirements change.

jasonhansel··on Ask HN: Why was Terraform created?
It's probably overkill for your use case. If you're on AWS you can stick to CloudFormation; with something this simple, you can indeed just (as you suggest) use a bash script.

But a lot of applications have infrastructure far, far more complex than a single service running in a container and S3/RDS. It may involve a large number of lambdas, networks, API gateways, firewalls, proxies, certificates, etc.

Past a certain point, you need a way of managing all that complexity, keeping things consistent across environments/regions, ensuring all infrastructure changes are tracked and audited, and making it easier to update lots of resources at once, among other things. That's where Terraform helps.

jasonhansel··on Production Twitter on one machine? 100Gbps NICs and NVMe are fast
Incidentally, a lot of people have argued that the massive datacenters used by e.g. AWS are effectively single large ("warehouse-scale") computers. In a way, it seems that the mainframe has been reinvented.
jasonhansel··on Production Twitter on one machine? 100Gbps NICs and NVMe are fast
If you really wanted to run Twitter on one machine at any cost, wouldn't an IBM mainframe be much more practical?

You can even run Linux on them now. The specs he cites would actually be fairly small for a mainframe, which can reach up to 40TB of memory.

I'm not saying this is a good idea, but it seems better than what the OP proposes.

jasonhansel··on Dedicated biomass is not a good idea
First, the use of a log-scale seems to serve no purpose. The point is to illustrate that biomass is vastly worse than the alternatives; a comparison between those alternatives is irrelevant. So the log scale obscures the point rather than elucidating it.

But secondly: some log scale graphs have unevenly-spaced lines along the Y axis to make the use of a log scale more obvious. This is an example of what I mean: https://www.geol.lsu.edu/jlorenzo/geophysics/graphing/semilo...

On this graph, though, the lines along the Y-axis are evenly-spaced, increasing the confusion.

Thirdly: the use of a log scale should be mentioned in the graph's caption, not buried in the text.

jasonhansel··on Dedicated biomass is not a good idea
> each box represents a source of electricity. The higher the box, the more land that source uses. [...] If you look carefully, you might notice that the vertical axis uses a log scale.

I think this graph wins the hotly contested "most misleading use of a log scale" award. Anyone glancing at it quickly would vastly underestimate the differences between energy sources.

jasonhansel··on Radar detector that can detect a radar detector detector (see page 2)
From page 2 of that manual:

> This remote also provides the benefit of undetectability by alerting you to the presence of VG-2(The radar detector detector).

jasonhansel··on Safe deposit boxes aren’t safe (2019)
Like LastPass! Oh, wait...
jasonhansel··on Even More Bay Area House Party
This article explains it pretty well: https://www.theatlantic.com/politics/archive/2017/02/behind-...
jasonhansel··on Even More Bay Area House Party
I'd said only that he expressed sympathy for neoreactionaries, and the above Twitter thread proves my point.
jasonhansel··on Even More Bay Area House Party
HBD (or "human biodiversity") is a euphemism for the view that there are genetic racial differences in intelligence.
jasonhansel··on A secret message in a Colombian song gave hostages hope
Given the inherent difficulties in providing specialized training to a thinly-spread and relatively disorganized guerrilla group, I'm guessing that they wouldn't have had the organizational capacity to conduct Morse code lessons.
jasonhansel··on English as She Is Spoke (1884) [pdf]
Where I am (Boston area) "raining cats and dogs" seems to be the more common idiom.
jasonhansel··on Tallow in plastics – why? (2016)
For obvious reasons, the use of beef tallow has been particularly offensive to some Hindus. Some have even banned the new banknotes from temples: https://www.bbc.co.uk/news/newsbeat-38195265
jasonhansel··on When will Twitter collapse? (Elon Musk firings)
> I think Elon is being more aggressive in pushing out changes.

What evidence do we have for this?

He's pushed aggressively for a few specific features, but we don't know how much of the work was done before the layoffs, whether that pace of development is sustainable, and whether it extends beyond his pet projects.

jasonhansel··on When will Twitter collapse? (Elon Musk firings)
> Significant backend server architecture changes rolled out. Twitter should feel faster.

Without more details, I'm going to hypothesize that these are just the sort of routine improvements and performance wins that such teams deploy on a semi-regular basis. Anything can be called a "significant architecture change" if you want it to be.

If it is in fact a very major change, though, it was probably in the pipeline long before Elon arrived, given the time it takes to develop and fully test such things. It's quite possible that the past couple months were spent entirely on testing and refining a large-scale change that had already been mostly complete pre-acquisition.

jasonhansel··on Effect of Ivermectin vs. Placebo on Covid-19 – A Randomized Clinical Trial
Main result:

> Among outpatients with mild to moderate COVID-19, treatment with ivermectin, with a maximum targeted dose of 600 μg/kg daily for 6 days, compared with placebo did not improve time to recovery. These findings do not support the use of ivermectin in patients with mild to moderate COVID-19.

jasonhansel··on Should small Rust structs be passed by-copy or by-borrow? (2019)
In Rust it's considered idiomatic to pass things by-value whenever you can. Usually this is also the most performant option, since it avoids dereferencing in the callee.

Of course, if your struct is truly enormous, you may want to break this rule to avoid large copies. But in that case you probably want to Box<T> the struct anyway.

Of course, if your struct contains something that can't be copied--like a Vec<T>--you'll have to decide whether to clone the whole struct (and thus the vector in it), pass the struct by-borrow, or find some other solution.

jasonhansel··on Seattle tech worker charged for theft inspired by the movie 'Office Space'
> In total, Zulily’s team said Castro had sent over 1,000 items sent to his house.

> In an interview with police, Castro claimed the orders that came to his house were the result of a mistake during a test and he forgot to return the items and did not notify Zulily staff about the orders, the report states.

Clearly, yet another example of the dangers of testing in prod! (Sarcasm.)

jasonhansel··on Young adults and mental health: Is more childhood independence the answer?
> Most kids in the US don't go to college

It's about 63% of high-school grads, including both 2-year and 4-year colleges: https://nces.ed.gov/programs/coe/indicator/cpa

jasonhansel··on Young adults and mental health: Is more childhood independence the answer?
At your age, do you think that previous generations were any better?
jasonhansel··on Young adults and mental health: Is more childhood independence the answer?
> Certainly anyone living 'off-campus' and having bills to pay is in a minority.

Only among wealthier students:

- 70% of students have jobs while enrolled, depending crucially on socioeconomic status: https://www.insidehighered.com/news/2019/11/18/most-college-...

- In typical public colleges, only 36% of students live in dorms, vs. 58% in typical private colleges: https://collegeaffordability.urban.org/prices-and-expenses/r...

- 36% of students face food insecurity: https://www.washingtonpost.com/news/wonk/wp/2018/04/03/the-h...

jasonhansel··on Young adults and mental health: Is more childhood independence the answer?
I think so-called "free-range parenting" may be what they have in mind.
jasonhansel··on Young adults and mental health: Is more childhood independence the answer?
I think the last sentence is poorly phrased.

The idea seems to be that overprotective parenting of children isn't harmful if those children continue to live with their parents as they enter adulthood, since their parents will be able to help them as they adjust. (Supposedly this happens in Italy.)

Likewise, having children move out when they become adults isn't harmful if those children have grown up with the ability to live independently. (Supposedly this happens in Germany.)

The problem comes when you combine overprotective parenting with the norm that children should move out at a relatively young age. This leaves young adults both unprepared and on their own when they leave. (Supposedly this happens in the US.)

jasonhansel··on Young adults and mental health: Is more childhood independence the answer?
> Chentsova Dutton said America has an international reputation for prizing autonomy, but her study opened her eyes to a more complicated picture. American parents tend to be overprotective when children are young, acting as if kids are going to live at home for a long time, like parents do in Italy. Yet they also expect children to live away from home fairly early for college, like families do in Germany. The result is that American kids end up with drastically fewer years navigating real life than they do in other countries that start much earlier.

A really interesting point.

jasonhansel··on Lies we tell ourselves to keep using Golang
In theory, Go is the same way, but Go does a lot less to prevent panics, limit them to very specific circumstances, mitigate their effects, or limit unexpected failure modes.
jasonhansel··on What are those dents in I-90 outside Seattle?
> Maybe they didn’t use the best grout and that’s wearing away faster than the surrounding concrete.

IIRC this is one of the disadvantages of concrete (as opposed to asphalt) road surfaces: it's very hard to repair them in ways that don't degrade over time.

edit: You can tell this road is "real" concrete because of the visible seams between each slab. For an ideal repair, they would have had to replace every affected slab of concrete, which is...all of them along this stretch.

You don't see these concrete road surfaces much near where I live (in Boston), particularly because such roads are much less safe when snow and ice are present.

jasonhansel··on Lies we tell ourselves to keep using Golang
> Yes, Rust “partially” resolves the issue

Which is a pretty big advantage!

jasonhansel··on Lies we tell ourselves to keep using Golang
The author seems to be asking: given how bad Go is, why (sociologically) do people keep using it?

Of course, this only makes sense if you already accept the premise that Go is bad.

← PreviousPage 5 of 34Next →