News for hackers. Stuff that matters.

h3mb3

Re:Am Stereo on Sunday October 30, 2022 @04:59AM (#33392569)
I think it disappears after a certain time.
Re:Am Stereo on Friday October 28, 2022 @04:22PM (#33377346)
You can edit it back.
Re:How to maintain engineering velocity as you scale on Thursday October 27, 2022 @03:40AM (#33354442)
> 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. However, far more commonly unnecessary effort is spent on making generic code when a solution only targeting for the specific problem in hand would suffice. Then later 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 appending the specific and simple solution.

Re:Pocket Casts goes open source on Sunday October 23, 2022 @08:50AM (#33306559)
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.

Re:Pocket Casts goes open source on Sunday October 23, 2022 @07:27AM (#33306127)
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.
Re:Feather – Simply beautiful open source icons on Monday October 17, 2022 @04:43AM (#33231123)
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

Re:Tremor – React library to build dashboards fast on Monday October 10, 2022 @05:35AM (#33149466)
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.

Show HN: Share to HN – A PWA that gives you a sharing menu option for HN

https://samulisuomi.github.io/share-to-hn-pwa/

Hi HN!I often use HN on my Android phone (no apps, just vanilla Chrome). I got tired of copy-pasting URLs and titles to submit links here so I made this little PWA to help with that. I know there's the bookmarklet [1] but it doesn't work on Chrome for Android, at least not for me. This works from any app.[1] https://news.ycombinator.com/bookmarklet.html

( Read More... | no comments | 2 points | on HN )
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

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

Show HN: Share to HN – A PWA that gives you a sharing menu option for HN

https://samulisuomi.github.io/share-to-hn-pwa/

Hi HN!I often use HN on my Android phone (no apps, just vanilla Chrome). I got tired of copy-pasting URLs and titles to submit links here so I made this little PWA to help with that. I know there's the bookmarklet [1] but it doesn't work on Chrome for Android, at least not for me. This works from any app.[1] https://news.ycombinator.com/bookmarklet.html

( Read More... | 4 comments | 2 points | on HN )
Re:Open Props: Tailwind Alternative from Chrome Dev Team on Tuesday September 13, 2022 @06:54AM (#32822675)
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.

Older »