Better HN
topnewbestaskshowjobs
Log inSign up

h3mb3

544 karma · joined May 3, 2017 (9y ago) · 118 submissions

Submissions

1.

Superjson: Safely serialize JavaScript expressions to a superset of JSON(github.com ↗)

2 points · by h3mb3 · 4y ago · 1 comment

comment 4y ago · link · parent

I think it disappears after a certain time.

3.

Life after Heroku: What's a dev to do?(reaktor.com ↗)

128 points · by s4i · 4y ago · 103 comments

comment 4y ago · link · parent

You can edit it back.

5.

Apple to put USB-C connectors in iPhones to comply with EU rules(theguardian.com ↗)

2 points · by h3mb3 · 4y ago · discuss

comment 4y ago · link · parent

> 3. Solve the generic problem not the specific one.

It's good that you provided the example...

> i could write a program that reads a csv row by row, converts it to my internal model, then emits those data into a ndjson file. Or I could just write a program that converts csv to ndjson , agnostic of the data. The former costs you every time the model changes. The latter is useful for a variety of system architectures again in the future.

...because in this case I can agree (although I'd need to drill into the details a bit more). Anyway, far more commonly (in my experience) unnecessary effort is spent on making generic code when a solution only targeting the specific problem in hand would suffice. Then later the requirements change or your original assumptions turned out to be wrong, and you need to spend time changing the generic solution to fit the new problem. This can require 10x the effort vs. just continuing from the specific and simple solution.

I guess the difficult art is to be able to recognize those exceptions where it is in fact reasonable to do the extra work for the generic solution. There was a recent submission [1] here about "YAGNI exceptions" which included a few common cases.

[1] https://news.ycombinator.com/item?id=33230216

7.

PAL speed-up(en.wikipedia.org ↗)

1 points · by h3mb3 · 4y ago · discuss

8.

Semantic Compression (2014)(caseymuratori.com ↗)

1 points · by h3mb3 · 4y ago · discuss

9.

Execution in the Kingdom of Nouns (2006)(steve-yegge.blogspot.com ↗)

1 points · by h3mb3 · 4y ago · discuss

comment 4y ago · link · parent

I think most podcasts post the exact same episodes to all popular platforms. Some may have an ad-free version on Patreon.

With Spotify, it's sort of similar to when the paid YouTube (Red/Premium) became a thing. Yea, you'd get rid of the Google-picked ads, but the in-video sponsored ads added by the video creator would still obviously remain.

comment 4y ago · link · parent

Well, Spotify does some of that as far as I know. But I'd never switch to playing my podcasts there just out of principle (even though I pay the subscription too) because I don't like how they are trying to build a walled garden for podcasts and kill RSS as a thing.

12.

What Is a Podcast?(old.reddit.com ↗)

1 points · by h3mb3 · 4y ago · discuss

comment 4y ago · link · parent

A direct link to the folders: https://github.com/react-icons/react-icons/tree/master/packa...

comment 4y ago · link · parent

That's how Git submodules [1] show up on GitHub. I didn't actually know the project was using them. Interesting. As far as I know, this is an ideal use case for submodules, yet at least I've rarely encountered them in the web dev scene for some reason (well, IIRC there are some gotchas).

[1] https://git-scm.com/book/en/v2/Git-Tools-Submodules

comment 4y ago · link · parent

React-specific: https://react-icons.github.io/react-icons/

16.

Smooth and simple page transitions with the shared element transition API(developer.chrome.com ↗)

1 points · by h3mb3 · 4y ago · discuss

comment 4y ago · link · parent

The components look really good but I don't quite get why the instructions make you create a new Next.js app? I understood this would work in any React app/framework and doesn't have any opinions on server-side rendering etc.

18.

Show HN: Share to HN – A PWA that gives you a sharing menu option for HN(samulisuomi.github.io ↗)

2 points · by h3mb3 · 4y ago · discuss

19.

Duck Hunt for NES on World's Smallest CRT [video](youtube.com ↗)

3 points · by h3mb3 · 4y ago · discuss

20.

Wasmtime: A fast and secure runtime for WebAssembly(github.com ↗)

4 points · by h3mb3 · 4y ago · discuss

21.

Butterick’s Practical Typography(practicaltypography.com ↗)

6 points · by h3mb3 · 4y ago · discuss

comment 4y ago · link · parent

Bad timing on the New page, I guess. Also, after posting, a couple of days later I realized there was already another PWA for this [1]. I'm glad I didn't find it earlier though so I wasn't discouraged to build my own. I'm glad my implementation handles a certain edge case better I realized: sharing from Spotify doesn't result in a `"null"` title but `""` instead.

[1] hn-share.now.sh

23.

ARIA: Feed Role – Accessibility(developer.mozilla.org ↗)

1 points · by h3mb3 · 4y ago · discuss

24.

Someone just copied Apple's Dynamic Island on an Android phone(androidauthority.com ↗)

2 points · by h3mb3 · 4y ago · discuss

25.

Pure: Pretty, minimal and fast ZSH prompt(github.com ↗)

2 points · by h3mb3 · 4y ago · discuss

26.

Information Architecture Guide for UX Architects and Designers(xd.adobe.com ↗)

2 points · by s4i · 4y ago · discuss

comment 4y ago · link · parent

Yup, but see my original comment and the PWA page for why that isn't really satisfactory on mobile.

28.

Show HN: Share to HN – A PWA that gives you a sharing menu option for HN(samulisuomi.github.io ↗)

2 points · by h3mb3 · 4y ago · 4 comments

comment 4y ago · link · parent

I don't fully understand how this is supposed to be an alternative to Tailwind while not providing utility classes out of the box? Did I miss something in the docs?

To me the biggest benefit of Tailwind, apart from the great base design system, is not needing to come up with class names for 99% of the things in the app. This is of course only possible when you have some way to abstract components out of the reused parts of your markup – e.g. you're using React.

Edit: The title was "Open Props: Tailwind Alternative from Chrome Dev Team" when I posted this comment.

1234