HNHacker News
TopNewBestAskShowJobs

niedzielski

996 karma · joined July 7, 2014

https://oidoid.com

https://git.io/stephen

https://mastodon.social/@oid

https://twitter.com/niedzielski

submissionscomments
niedzielski··on Shell Tricks That Make Life Easier (and Save Your Sanity)
+1, i found out about this here: https://news.ycombinator.com/item?id=11211344 . total game changer.
niedzielski··on MacPaint Art from the Mid-80s Still Looks Great Today
maybe https://www.gorzek.com/nonfiction/essays/homeworld/ which I found via https://duckduckgo.com/?q=aesthetic+completeness+%22homeworl....
niedzielski··on Running TypeScript in Node.js without any extra tooling
you can try the --experimental-transform-types flag to support TypeScript code gen. I'll add it to the notes!

--experimental-transform-types: https://nodejs.org/en/blog/release/v22.7.0#experimental-tran...

niedzielski··on Running TypeScript in Node.js without any extra tooling
I made a small template that demonstrates the new type-stripping feature in Node.js. Nothing fancy but I was surprised that I didn't need to install a TypeScript test runner and generally how nice it was.
niedzielski··on uBlock Origin is no longer available on the Chrome Store
Brave has a history of very concerning behavior: https://en.wikipedia.org/wiki/Brave_(web_browser)#Controvers....
niedzielski··on Perplexity AI submits bid to merge with TikTok
they just acquired read.cv: https://techcrunch.com/2025/01/17/perplexity-acquires-read-c....
niedzielski··on Templating in JavaScript, from Zero Dependencies on Up (2021)
good article. the point would have been more salient if the jimniels/html micro dependency had been inlined.
niedzielski··on Show HN: WAYF – A Simple Scheduling App
This is great! I would love to see time support. I always use Google Calendar or https://www.worldtimebuddy.com but each is lacking.
niedzielski··on Deep cloning objects in JavaScript
I agree. I had this same problem with a tree UI model. Each node had links to both the children and the parent. Mutating any node in the tree, changes the reference of that node. Mutating the linkage to the updated node cascades to every other node in the tree.
niedzielski··on The negative impact of mobile-first web design on desktop
Thanks for sharing. Do you still implement your own designs or "throw it over the wall"? Any tips on making the switch?
niedzielski··on Lit 3.0
That's interesting. I guess you miss out on batched rendering--if all your setters re-render, you might trigger multiple renders for a single logical update. If you're using signals, maybe you don't care as much about batched rendering. I would probably miss CSS selectors too.
niedzielski··on Nobody ever paid me for code
Thanks for positing this thought exercise. You kept me thinking on it all week! I reworded the hypothetical slightly to avoid magical loophole thinking and posed it to my team but they assumed I was being a trickster anyway. I posted some of my thoughts on it here: https://niedzielski.com/log/2023-08-20.
niedzielski··on Jira can’t stop people from using it incorrectly
I encouraged our IT team to try Trello (now owned by the same company, Atlassian) which sports a JIRA integration[0]. Either due to the fundamental limitations of the integration or a botched setup, it's useless. There seems to be two copies of each ticket (one JIRA, one Trello) that can be in different states. It was not just another UI for the same underlying data.

I do hate JIRA. JIRA adds all the beauty of a government bureaucracy to what should be post-it note management. It's hard to overstate how demotivating JIRA is to my work and especially to my planning. Worse, everyone in the organization has to use it.

[0]: https://blog.trello.com/jira-trello-intregration

niedzielski··on New Playground: Integer.exposed
I like little online tools like this! Suggestion: include some notes in the tool page itself on safe ints and references like https://blogs.mathworks.com/cleve/2017/05/08/half-precision-...
niedzielski··on Linen.dev: A 500 kb Slack alternative
I use source-map-explorer to see what's inside. Lighthouse Treemap provides a similar view.

[source-map-explorer]: https://github.com/danvk/source-map-explorer

[Lighthouse Treemap]: https://umaar.com/dev-tips/270-devtools-lighthouse-treemap/

niedzielski··on <3 Deno
I'm a big Deno fan and use it whenever I can. I think tasks are great and they solve the most common needs.

In my experience, however, as soon as my tasks section got large enough that a separate file was needed, it became long-running enough that I wanted a generic file dependency-aware builds which required a make-like solution. What should large projects do that need to build assets or perform long-running work as part of a build process without dipping into another clunky tool?

I have similar issues with threading development-only import maps that reference local modules in a polyrepo during development and sharing common Deno configs. Customization doesn't scale well to task one-liners even though I want it to. Do folks know of open-source polyrepo reference that serve as a paradigm for patterns that scale?

niedzielski··on Update on Samsung SSD Reliability
This worked for me, thanks! I have a Samsung SSD 980 PRO 2TB which I upgraded from 2B2QGXA7 to 5B2QGXA7. I backed up and also made a copy of the output of `sudo smartctl -t long -a /dev/nvme0` before and after.
niedzielski··on Drag and Drop from Terminal
Wow, this looks awesome! I love CLI / GUI integration tools.

In case you're interested, I wrote some examples on how the system clipboard is also a great integrator for migrating data to and from the CLI: https://github.com/niedzielski/cb#examples

niedzielski··on If you die in the game, you die in real life
By the founder of Oculus.

https://wikipedia.org/wiki/Palmer_Luckey

niedzielski··on Apple bought out all of Newsweek's 1984 Election issue ad space for Mac
To those who used this computer and software, was it as easy as the ad claims to create these outputs?
niedzielski··on Best practices for TypeScript monorepo
Do you use any tooling to detect this? I had this issue some years back and it wasn't obvious. My builds just took longer and longer.
niedzielski··on The Unreasonable Effectiveness of Makefiles
Just looks soooo promising! I don't think I can use it until conventional file target and dependencies are supported though. Right now everything's tasks (phonies) so conventional makefile rules like the following are impractical:

  tic-tac-toe: tic.o tac.o toe.o
    cc -o '$@' $^
  
  %.o: %.c; cc -c $^
niedzielski··on Show HN: PDF-Diff - Visualize any differences between two PDFs
diffpdf doesn't look very pretty but it sure is useful. I use it for all my legal paperwork. Glad OP is contributing to this space.

https://screenshots.debian.net/package/diffpdf

niedzielski··on Meld for Macs
Thanks! I wasn't understanding that before.
niedzielski··on Meld for Macs
This is what I use in my ~/.gitconfig:

    [difftool "meld"]
      cmd = meld "$LOCAL" "$REMOTE"
    [mergetool "meld"]
      cmd = meld --auto-merge --output "$MERGED" "$LOCAL" "$BASE" "$REMOTE"
niedzielski··on ECMAScript Proposal: Types as Comments
I wondered about this as well but speculated that basic compression, either gzip or Brotli, would account for it and, in the case that someone doesn't care about bundling their code, they probably don't care if it has comments (types) in it. If they do care about bundling, even if that is just `cat`, then I think the code is "built" to some extent already.

I would enjoy the flexibility to ship types but personally don't have any need for it. Seems like "boiling the frog" for type-checking in the browsers to me but I personally like the idea of encouraging more typing in native JavaScript.

niedzielski··on The Problem with Vanity TLDs (2011)
There is already http://microsoft.bing. See https://en.wikipedia.org/wiki/List_of_Internet_top-level_dom....
niedzielski··on Music Library and MusicBrainz Picard
Here's mine. I am not sure how to format this without breaking it.

  $truncate($if2(%albumartist%,%artist%),143)/$truncate($if($if2(%originaldate%,%date%),$left($if2(%originaldate%,%date%),4) )%album%,143)$if(%discsubtitle%,/$truncate(%discsubtitle%,143))/$truncate($if($gt(%totaldiscs%,1),$if($gt(%totaldiscs%,9),$num(%discnumber%,2),$num(%discnumber%,1))-,)$if($ne(%tracknumber%,),$if($gt(%totaltracks%,99),$num(%tracknumber%,3),$if($gt(%totaltracks%,9),$num(%tracknumber%,2),$num(%tracknumber%,1))),) %title%,138)
I think the truncations are necessary to avoid exceeding filename length limits on some systems. The if2s are to fallback to another field. Similar to yours, there is also logic for zero-padding as needed on discs and track numbers and to omit discs when there is only one.

https://picard-docs.musicbrainz.org/v2.7/en/extending/script...

niedzielski··on .plan
The author is Joshua Stein (https://jcs.org/projects). I couldn't find the source.
niedzielski··on Cockney Rhyming Slang History
I know the article mentions The Kinks but I'll call out Harry Rag specifically since it's what I recognized the subject from:

https://www.youtube.com/watch?v=OeOLVKeV-Ec

Page 1 of 3Next →