HNHacker News
TopNewBestAskShowJobs

jkachmar

309 karma · joined August 27, 2014

Stability Engineering at Mercury.

Interested in writing safer code with modern tools; particularly interested in C++, Rust, Nix, and Haskell.

Formerly Groq, Hasura, Soostone, Symbiont, WeWork, and NASA’s Wallops Flight Facility.

[Verifying my cryptographic key: openpgp4fpr:0107655cc20afd1a8f3f9872c1782440640bc696]

submissionscomments
jkachmar··on CA governor projecting 25.5M COVID19 cases in CA in 8 weeks [pdf]
Yes, I’m saying that the figures on page 10 imply that the blue curve (on its own) is not effective enough to avoid critically overwhelming the hospital system in the UK in the short term.

The guidance towards the measures you see now (nonessential workplace closures, social distancing, restrictions on movement and activity) are what seem to be recommended throughout the rest of the report to suppress the catastrophically high death tolls.

If you read further to Figure 4 (page 12) you’ll see a model for “adaptive triggering” of suppressive techniques (basically staggering to allow a resumption of activity before starting again) which would need to be in place until a vaccine has been successfully verified as safe and inoculation has started.

EDIT:

“Perhaps our most significant conclusion is that _mitigation is unlikely to be feasible_ without emergency surge capacity limits of the UK and US healthcare systems being exceeded many times over. [...]

In addition, even if all patients were able to be treated, we predict there would still be in the order of 250,000 deaths in GB, and 1.1-1.2 million in the US. [...]

We therefore conclude that _epidemic suppression is the only viable strategy_ at the current time.”

Emphasis mine.

jkachmar··on CA governor projecting 25.5M COVID19 cases in CA in 8 weeks [pdf]
Please see the Imperial College London report, recently released, for a model that contradicts what you’re suggesting [0].

In particular, see Figure 3 for a direct refutation of the idea that simply applying suppression techniques to the infected or primarily-at-risk groups is adequate.

Anything other than immediate and severe suppression techniques puts us over ICU capacity in the next few months, and the estimated number of deaths skyrockets into the millions.

[0] https://www.imperial.ac.uk/media/imperial-college/medicine/s...

jkachmar··on CA governor projecting 25.5M COVID19 cases in CA in 8 weeks [pdf]
I’m concerned that there is a vast disparity between the number of confirmed cases and the actual number of contracted cases (esp. asymptomatic).

NY has tested the largest number of people out of all states and has >4000 confirmed cases as of March 19th, and it’s _still_ being undertested for relative to countries like South Korea.

jkachmar··on Google recommends all North America employees work from home
The monitor I have is a Samsung C27HG70, which _is_ a quantum for LED monitor.

Although it’s not 4K, given the fact that it ships with a color calibration report I think calling it “some gaming monitor” is a bit silly.

As someone who’s a bit of a picture quality fanatic (I preferred color accurate panel displays “before it was cool”, my television is a 4K HDR10 OLED, etc.) I think it’s quite ridiculous that you’d classify your suggestions as anything other than luxuriously decadent for most programming work.

jkachmar··on Google recommends all North America employees work from home
My motorized standing desk, VESA amounting arm, and 27” FreeSync + color-calibrated monitor _combined_ total at around $1000 dollars.

To highlight the absurdity of this estimate: $2000 USD should be enough to pay for an entire work-from-home setup with a high quality office chair, an ergonomic keyboard, and a whiteboard in addition to what I have mentioned above (assuming that work provides your computer).

jkachmar··on The browsers are probably running the TLS show now
Not GP, but:

I think the point is more that even the (massive) concentrated effort it takes to patch the IDs will be less than the collective impact of not having those IDs at all (in terms of the convenience it would add to peoples’ lives) OR having the IDs without the patches at all.

jkachmar··on Ask HN: How are you preparing yourself for a recession?
So? I have an emergency fund that I keep in a high yield savings account and don’t touch except in the event of... an emergency.

I’ve missed out on some money by not having that in the market, but during this time I’ve also been working and investing my income so like... I’ve still made money?

Why the greed, man? I can keep a bulk of money for retirement, long term planning, et al. in the market _AND_ keep a small amount of funds wholly liquid in case shit hits the fan without seriously impacting my quality of life.

jkachmar··on Trading halted as U.S. stocks plummet
I don’t believe this is correct.

My understanding is that these automatic limit down rules were added in response to the flash crash in 2010, during which the Dow Jones lost 1000 points over the course of minutes.

jkachmar··on The Zen of Go
> The snippet used in these examples is almost never what you actually write in real code.

This statement is categorically false, and I would encourage you to search GitHub for `return err` under the Go language.

There are 200k+ code results, and a quick survey of the first few pages shows plain ol' `return err` to be _quite_ common.

jkachmar··on The Road to Scala 3
Counterpoint, regarding community: the Rust programming language has a much more vocal, cohesive, and engaged community than Go does in my experience, even though it has a fraction of the corporate backing.

Counterpoint, regarding “reducing the cost of features”: Go is spreading a simplified understanding of what garbage collection performance means to a generation of programmers by providing almost no configuration over their GC settings. I’ve had people say that Go’s GC is obviously the best, without any point of reference with which to compare it.

What Go has done here is pick a reasonable set of trade-offs to make in their garbage collector, hard-code most of these settings into the runtime system, and package that into the philosophy of “configuration is bad”.

jkachmar··on The Road to Scala 3
Another commenter points out that Go has Google backing it, which is a significant confounding factor in terms of figuring out how good it is on its own merits.

I’ll add to this and say that Go is a language that is very well-suited for Google’s issues. Namely, take a bunch of engineers with a particular area of familiarity (e.g. familiarity with C and/or Java) and throw them at code, scaling up by number-of-engineers where necessary.

My issue with pointing to this and calling it “practical” and “easy to understand” is twofold:

(1) Go implicitly makes its ease of understanding dependent on an having existing background knowledge of concepts that the HN crowd is likely to have, themselves, which biases people but isn’t particularly easy to learn on its own merits (versus, say, Python)

(2) Most companies cannot afford to solve engineering problems by throwing more bodies at it, but with Go your option is either that or leveraging external code generation

As far as “taking the time to get each piece right”, this stuff isn’t cutting edge technology development! Go isn’t doing dependent typing or borrow checking or scoped effects!

Everything that people lambast the language over not having is old hat, it’s like defending a car manufacturer who chose to use carburetors over fuel injection by saying that they’re trying to figure out how to do it right.

jkachmar··on The Road to Scala 3
Big ol’ “Citation Needed” on this one.

The flip-side here is that a language that doesn’t support basic programming language theory concepts dooms its users to repeat the mistakes of those who discovered them.

I also would personally disagree that any statically types language without generic types and without non-nullability (e.g. `Option`/`Maybe` and `Result`/`Either`) is severely lacking in the ability to express programs that are easy to understand.

jkachmar··on Boeing whistleblower raises doubts over 787 oxygen system
In my experience there has always been a _deep_ culture of mutual respect between industrial aviation players and the NTSB.

Everyone knows that the investigative body is there to help figure out what went wrong and to provide guidance on how to avoid similar mistakes in the future. It’s not about assigning blame, and there’s an understanding that if it were to become about that then the industry would be worse-off as a whole.

(Slightly off-topic, but this is precisely why Tesla’s reaction to the NTSB investigation in their Model X crash was so concerning. Any player that defects here runs the risk of poisoning the process for everyone else.)

jkachmar··on Blizzard Postpones World of Warcraft 15th Anniversary Event in Taiwan
I think that these corporate responses can only be thought of as "rational" through a _very_ short-term lens due to the nature of _how_ foreign companies are permitted to operate within China.

The CPC explicitly exerts a lot of control over the Chinese market, and they have absolutely no qualms over doing whatever they can to reduce foreign influence and enrich local players (cf. COMAC's C919 development, namely how much of it has been the result of IP theft from foreign partners).

So yeah, you can definitely look at "competing" in China as a way to see quarterly growth, but it feels inevitable that any company that gets _real_ traction would be targeted by the CPC in favor of a domestic company that would more directly enrich them/the country.

While I can understand the financial motivations for wanting to enter this market, I think this is very different from how most other modern nation-states operate and these responses. Blizzard et al.'s responses definitely smack of corporate greed more than they do of rational action, to me.

EDIT: Ah, now that I've posted this I see your comment below where you elucidate a bit on "bounded rationality"; we probably agree, then.

I'll leave this up in case it sparks some more interesting commentary from others :)

jkachmar··on Hong Kong’s Hard-Core Protesters Take Justice into Their Own Hands
I’m going to just pull from two of Maciej Cegłowski‘s tweets on this article (@Pinboard on Twitter, idlewords here):

> This is a really tendentious article by the New York Times that makes me question their other Hong Kong coverage. The story the past week isn't an increase in violence by protesters against people; it's a police rampage in which cops shot two schoolkids.

> There is incredible journalism being done here, including by @nytimes reporters, but what reaches the front page is bad. David Brooks bullshit, articles like this on "escalating violence", descriptions of emergency law as a "measured step". And we have no public editor to turn to

Both from this thread: https://twitter.com/Pinboard/status/1181240398603112449

jkachmar··on What Is Gradual Typing? (2009)
I might be misunderstanding, but it’s definitely possible to emulate this feedback loop with statically typed languages.

For example, Haskell has the `-fdefer-type-errors` flag that will turn type errors into warnings at compile time and runtime failures if the expression that fails to type-check is evaluated.

jkachmar··on Palantir CEO: Silicon Valley Shouldn't Dictate US Policy
As mentioned elsewhere, please see the ACLU’s suggested alternatives to the current United States administration’s detention policies [0].

Also consider that the following conditions are obviously inhumane: separating children from their parents, administering drugs to children without consent or medical information, withholding supplies necessary for basic hygiene equipment (e.g. toothbrush, toothpaste, soap, etc.), and dangerously overcrowding people in these facilities.

The above is certainly not comprehensive, but it should be thorough _enough_ to convince anyone that what we (the United States) are doing is wrong, and that we (technical labor) should not support it if at all possible.

https://www.aclu.org/other/aclu-fact-sheet-alternatives-immi...

jkachmar··on Palantir CEO: Silicon Valley Shouldn't Dictate US Policy
Fortunately the ACLU has you covered:

https://www.aclu.org/other/aclu-fact-sheet-alternatives-immi...

jkachmar··on Tesla Has Failed Massively as a Public Company
> It is curious that since 2013 Tesla sales have jumped from approx 20,000 per year to approx 30,000 per month and yet the stock price hasn't shown an equivalent increase.

For the Nth time that this conversation has to be had on the internet: That’s Not How The Market Works.

Tesla’s stock has been _very_ optimistically valued for quite some time because the market collectively determined that the company was likely to do very well. If a company does well and that performance isn’t surprising then there wasn’t an inefficiency and the market doesn’t need to correct for it.

Likewise, if a collection of market participants believes that Tesla’s valuation is overly optimistic then the can short the company. In doing so, they will be incentivized to show evidence that the valuation isn’t realistic and hopefully validate their short position.

There is an argument to be had over which incentives may or may not be good for society here, but that is completely orthogonal to the discussion of market valuation and short/long positions.

jkachmar··on Employee happiness and business success are linked
Quillette does not feature a centrist perspective.

See Media Bias Fact Check’s overview, in which they’re considered “Right” and to feature pseudoscience and poor reporting [1]. Also see the Wikipedia page on Media Bias Fact Check for citations to show that they’re reputable [2].

See also AllSides' overview, in which they’re considered to “lean right” [3].

[1] https://mediabiasfactcheck.com/quillette/

[2] https://en.wikipedia.org/wiki/Media_Bias/Fact_Check

[3] https://www.allsides.com/news-source/quillette-media-bias

jkachmar··on Carbon calculator: taking one flight emits as much as many people do in a year
There’s an “easy” solution to this quandary, IMO: you can adopt.

You’re not directly contributing to the increase in carbon associated with having a child because that child would exist regardless of your actions, and you have the opportunity to pass on your cultural values and sense of responsibility.

Best of both worlds, plus you’re providing a home and family to someone who might otherwise not have one.

jkachmar··on How much bandwidth does the spinal cord have?
I don't particularly like that essay because the author seems focused on the idea that "your brain is a computer" is a metaphor rather than a theory (see [1] for a more nuanced discussion).

The author correctly points out that past eras developed metaphors to explain how the mind might work based on the technological innovations they were familiar with, but I think there's a lot more nuance in the computational theory of the mind.

Namely that the notion of computation is much more abstract, and potentially more portable across disciplines, than some of the historical examples that the author of that Aeon piece brings up.

Anyway, obviously I don't have any real answers but for whatever reason the brain-as-a-computer theory rings pretty true for me and I've enjoyed reading essays and watching talks about the topic [2] [3].

[1] https://medium.com/the-spike/how-to-find-out-if-your-brain-i...

[2] https://medium.com/the-spike/yes-the-brain-is-a-computer-11f...

[3] https://www.youtube.com/watch?v=lKQ0yaEJjok

^-- This is the first part in an ongoing series of lectures that Joscha Bach has been giving at the Chaos Communication Congress; if you watch it and find it interesting you should check out the proceeding installments.

jkachmar··on What You Lose When You Gain a Spouse
Please consider disclosing that your first source comes from a publication that is attached to a politically motivated organization with a known socially conservative bias (The Liberty Fund [1]).

The Pew Research Center [2] is recognized to be a nonpartisan institution that focuses on "empirical social science research" while avoiding taking policy positions (so as to remain nonpartisan in their research and analysis).

[1] https://en.wikipedia.org/wiki/Liberty_Fund#Criticism

[2] https://en.wikipedia.org/wiki/Pew_Research_Center

jkachmar··on The Tragedy of the Common Lisp: Why Large Languages Explode
This is exactly the kind of pseudo-wisdom that I read the GP as referring to, though.

In the case of Go, the core team saw the pain of indirection-masquerading-as-abstraction in complex Java/C++ codebases and considered the whole thing to be a boondoggle. As a result of this we’ve been saddled with a popular language in which two massive projects (gvisor and kubernetes) have had to hack their own expressivity into the language just to build complex software (i.e. codegen’d generics)

I worry about the cyclic nature of progress in our industry, where wonderful advancements can be made and then walked back or under-utilized because we aren’t patient enough to learn them thoroughly.

jkachmar··on Berlin approves 5-year rent freeze
Chiming in as an NYC resident:

I'm _extremely_ grateful that my current lease, as well as the upcoming one that I hope to sign if my application is approved, explicitly spells out the penalties for renting out apartments on Airbnb as a fee equivalent to 2 months rent immediately applied to the tenant.

It's been a massive improvement to not have to deal with the externalities that come from sharing a building with Airbnb guests.

jkachmar··on Japan Begins Experiment of Opening to Immigration
> I live in central Tokyo and I can go on for days and days without seeing a foreigner!

I’m quite surprised to hear this actually. I visited Japan recently and I consistently saw other foreigners around the center of Tokyo.

I think the only time I _didn’t_ see any other foreigners was when I was out in Ōtsu, but that’s sort of out there for most visitors anyway.

EDIT: I should add that I tried to make a point of walking around a bit, so I don’t think I was just taking the subway to commonly visited spots.

jkachmar··on Liquid DSP – Software-Defined Radio Digital Signal Processing Library
I was fortunate enough to take an Intro to Communications course with Dr. Gaeddert as an undergrad, and I distinctly remember stumbling on this software and being totally blown away by the plots and simulations it produced.

Very, very cool to see it posted to HN; I’m looking forward to poking around and seeing what’s changed (and if I can understand it all a bit better now).

jkachmar··on Adding an Effect System to OCaml [video]
Definitely not as popular, but Arrow-ized effect systems are an interesting area that I've seen people exploring more lately.

Jake Keuhlen spoke about it at LambdaConf this year [0] [1], and John De Goes spoke a bit on the notion of Arrow-ized IO in the `zio` library for Scala that offers an alternative interface for `IO` effects [2].

Will Fancher has also written a bit on the concept of "Free Arrows", but it's a much deeper dive (IMO) than the previous resources [3].

[0] Keuhlen's Repo: https://github.com/jkeuhlen/talks/tree/master/extensibly-fre...

[1] Keulen's Slides: https://github.com/jkeuhlen/talks/blob/master/Extensibly%20F...

[2] https://github.com/scalaz/scalaz-zio/blob/master/core/shared...

[3] https://elvishjerricco.github.io/2017/03/10/profunctors-arro...

jkachmar··on Ask HN: ReasonML, ClojureScript, Purescript or Elm?
> but all that really means is: "I don't know how to do this in a simpler way, so I need the "advanced" language features..."

I disagree with most of your comment, but I want to respond to this one section in particular.

I enjoy using PureScript in place of languages without the "advanced" features because it lets me express things that are otherwise _not expressible_. That doesn't make the language more complex, or less "simple" if you prefer, but it _does_ arm its users with the tools necessary to create more powerful abstractions, should they need them.

Will some of these abstractions end up introducing more complexity? Perhaps. However, one can write simplified code in a language that admits more powerful abstractions while the reverse _is not true_.

When someone decides that they don't want to use higher kinded types or typeclasses in PureScript, they can _choose_ not to use them.

When someone runs into a problem that would be made easier with higher kinded types or typeclasses in Elm, they _cannot choose at all_.

Nowhere is this point driven home more clearly than when deriving JSON encoders and decoders. The last time I checked, users were advised to codegen complex JSON codecs using a web app [0].

Compare this with PureScript, where the language's features can be used to automatically derive JSON codecs from a simple type alias that looks nearly identical to the JSON itself [1].

And these are just two features that are directly comparable. A few months back, I gave a talk on how these "advanced features" can be used to construct functions that can be combined to create complex pieces of input validation logic. These functions can be safely mixed, matched, and extended with strong guarantees that any and all failures will be propagated back to the caller in the form of typed error messages [2].

Anyway, I'm sorry if this rant was just the result of me having read farther into that one part of your comment than you intended. I don't think there's anything wrong with people using Elm, and I'm glad that there are more avenues into strongly typed, functional programming than just Haskell and PureScript.

I just see this line of "Elm is simple" brought out in response to these other languages, and feel that it entirely misses the point of why those languages added the features in the first place.

[0] https://noredink.github.io/json-to-elm/

[1] https://github.com/justinwoo/purescript-simple-json

[2] https://www.slideshare.net/JosephKachmar/lc2018-input-valida...

jkachmar··on Facebook points finger at Google and Twitter for data collection
So? Perhaps one of the facets of the GDPR is the EU’s willingness to accept that fostering “globally competitive tech companies” may not be in the best interests of itself or its citizens.
← PreviousPage 3 of 4Next →