Better HN
topnewbestaskshowjobs
Log inSign up

wingspan

266 karma · joined Sep 12, 2011 (15y ago) · 127 submissions

Software Engineer at Netflix, building components for TV.

https://ianobermiller.com

Submissions

1.

Early gunpowder was made from the 'pisse' of church ladies(chicagoreader.com ↗)

4 points · by wingspan · 1y ago · discuss

2.

Please Stop Using Barrel Files(tkdodo.eu ↗)

5 points · by wingspan · 2y ago · 1 comment

comment 3y ago · link · parent

It’s worse than that, since you can’t use CSS variables inside a media query!

4.

Core-JS: JavaScript Polyfills(github.com ↗)

9 points · by wingspan · 3y ago · discuss

5.

AI Codemods(github.com ↗)

2 points · by wingspan · 3y ago · discuss

comment 4y ago · link · parent

> “And Knosso whatever-his-name was a physicist. That’s the Library of Nothing.”

> “Nothing?”

> The old woman had her spiel ready. “Physicists long since determined that most of space was empty, and most of each atom was empty, so that the overwhelming nature of the universe is nothingness, with tiny interruptions that contain all of existence. So their library is named for this Nothing that comprises most of the universe. And the mathematicians share the space, because they are proud to say that what they study is even less real than what the physicists study, so their portion is called the Library of Less than Nothing.”

> Rigg decided he was going to like the physicists. It seemed to him, though, that the mathematicians must have an annoying competitive streak.

Pathfinder (2010) by Orson Scott Card

7.

Extract parameter types from string literal types with TypeScript(lihautan.com ↗)

2 points · by wingspan · 4y ago · discuss

comment 4y ago · link · parent

Also a good lesson about including screenshots in any PR with UI changes. Once the maintainer saw the changes visually they were much more willing to iterate and get the PR merged.

comment 4y ago · link · parent

I was able to reproduce this in a simple example [1]. If you refresh it a few times you will be able to see it flash (at least I did in Chrome on Mac). It is probably more noticeable if you set it up as an SPA with a page transition, but I wanted to keep the example simple.

[1] https://codesandbox.io/s/recursing-glitter-h4c83u?file=/src/...

comment 4y ago · link · parent

I love this approach and have used it many times in JavaScript. I often end up adding an additional map in front with the resolved values to check first, because awaiting or then'ing a Promise always means you will wait until the next microtask for the value, instead of getting it immediately. With a framework like React, this means you'll have a flash of missing content even when it is already cached.

comment 4y ago · link · parent

Nice! I put together a single file offline HTML version [1] with a demo [2] using only a CDN-hosted QR library.

[1] https://gist.github.com/ianobermiller/9f17f1022bc75c2228d742... [2] https://bl.ocks.org/ianobermiller/raw/9f17f1022bc75c2228d742...

12.

Is the United States Exceptional?(acoup.blog ↗)

41 points · by wingspan · 4y ago · 137 comments

comment 4y ago · link · parent

Thanks for calling out that this was inspired by CodeFlow, I kept thinking that as I was reading. Still one of my favorite code review tools, used ~2012.

One of my favorite features was a panel with every comment on the PR, sorted and organized by status. Because all files in the PR were preloaded clicking a comment instantly took you to the specific code and version. So good!

comment 4y ago · link · parent

Using thin-backend has been one of the most delightful experiences I've had making an SPA with a simple backend. The developer experience with the generated TypeScript types is particularly great, the DB migrations remind me of Prisma, and knowing I have a standard Postgres db under the hood is comforting. It isn't a large or complex app, but Marc has been super responsive to bugs and feature suggestions so it has been fun to iterate on. You can find the code at https://github.com/ianobermiller/colorcal.

15.

Incremental Font Transfer via Range Request(w3.org ↗)

2 points · by wingspan · 4y ago · discuss

16.

Sweden Swerved Covid Disaster(unherd.com ↗)

13 points · by wingspan · 5y ago · 5 comments

comment 5y ago · link · parent

This is fantastic, wish I had it before we had our fourth and final child. One piece of feedback: when I use the app with my thumb, the natural position for it to rest is right over the name. Consider moving the name more towards the center or top of the screen and making it possible to swipe anywhere in the top yellow area.

comment 5y ago · link · parent

The problem is that TypeScript does not scale to the size of the giant monorepo at Facebook, with hundreds of thousands, if not millions of files. Since they aren't organized into packages, it is just one giant flat namespace (any JS file can import any other JS file by the filename). It is pretty amazing to change a core file and see type errors across the entire codebase in a few seconds. The main way to scale in TypeScript is Project References, which don't work when you haven't separated your code into packages. (Worked at Facebook until June 2021).

19.

Le Pétomane – The French Flatulist(en.wikipedia.org ↗)

2 points · by wingspan · 5y ago · discuss

comment 5y ago · link · parent

Really neat! I whipped up a single file HTML version [1] with a demo [2] using only a CDN-hosted QR library. Thanks for the distraction!

[1] https://gist.github.com/ianobermiller/9f17f1022bc75c2228d742...

[2] https://bl.ocks.org/ianobermiller/raw/9f17f1022bc75c2228d742...

21.

Google is beginning the forced migration from Hangouts to Chat next year (2020)(theverge.com ↗)

2 points · by wingspan · 5y ago · discuss

22.

Clarity on Flow’s Direction and Open Source Engagement(medium.com ↗)

2 points · by wingspan · 5y ago · discuss

comment 5y ago · link · parent

You joke, but this is basically how Facebook uses MySQL for the main user table and for the majority of Entities: https://blog.yugabyte.com/facebooks-user-db-is-it-sql-or-nos...

24.

JavaScript Database (JSDB)(ar.al ↗)

2 points · by wingspan · 5y ago · discuss

25.

Real Problems with Functional Languages(blog.darklang.com ↗)

4 points · by wingspan · 5y ago · 1 comment

26.

Dinosaur National Monument(nps.gov ↗)

1 points · by wingspan · 6y ago · discuss

27.

Tenko: A spec-compliant ES2020 JavaScript parser written in JS(github.com ↗)

48 points · by wingspan · 6y ago · 9 comments

28.

React Hook for Redux(github.com ↗)

1 points · by wingspan · 8y ago · 1 comment

comment 8y ago · link · parent

Regarding Mosh and control mode, Eternal Terminal https://mistertea.github.io/EternalTCP/ provides the same resumable session, and works flawlessly with tmux control mode.
12345