HNHacker News
TopNewBestAskShowJobs

foray1010

100 karma · joined May 14, 2014

submissionscomments
foray1010··on 2-day-old GitHub account added AI-generated dependency to Mailgen (2.5k stars)
JavaScript ecosystems often end up with small, feature-complete dependencies where "if it ain't broke, don't fix it" is a reasonable stance, so staleness alone isn't necessarily a risk.

The link in the PR is incorrect, the referenced package by nicolo-ribaudo doesn't exist. The correct repository is https://github.com/ka-weihe/fastest-levenshtein

foray1010··on 2-day-old GitHub account added AI-generated dependency to Mailgen (2.5k stars)
Not blaming any maintainer here - I also received a similar PR (https://github.com/foray1010/didyoumean2/pull/1849 same author, 1 hour before mailgen) but did not merge it.

The concern isn’t obvious malicious code in the PR itself, but how cheap it has become to generate a credible replacement library. Once accepted, it becomes part of the trusted supply chain and can be evolved later. Previously this kind of attack required real engineering effort, AI reduces that cost dramatically.

foray1010··on Mozilla to shut down Pocket and Fakespot
Seems Obsidian Web Clipper is a good alternative, it can save as markdown so you own the data offline. Anyone tried it? What is your experience?
foray1010··on Nebula Sans
100% agree, I don't understand why it is acceptable, it is very confusing on abbreviation.
foray1010··on Kagi Translate
It would be very handy if you allow putting text in query string for translate.

Example for google translate: https://translate.google.com/?text=%s

EDIT: You already supported it! Nice, didn't see it mentioned anywhere. This works: https://translate.kagi.com/?text=%s

I wonder how do we set language in query string? And can we execute search immediately on visit instead of needing to hit the Translate button?

foray1010··on Thunderbird 91.0
seems download link is still not available in the homepage, if u are interested: https://download-installer.cdn.mozilla.net/pub/thunderbird/r...
foray1010··on All-in-One DNS block list
Not bad too! But I really prefer opensource solution more, at least we know how it builds. Because in theory the list can be used for DNS hijacking
foray1010··on All-in-One DNS block list
Energized Protection actually included them all, so you don't need to add them one by one, and nextdns supports it!
foray1010··on NextDNS Is Out of Beta
You can do this by picking a VPN provider that supports WireGuard. In WireGuard config file, you can change the dns address to pihole. I did this so that I can use VPN + nextdns together in iOS because I can't change DNS in iOS.
foray1010··on Rome: An experimental JavaScript toolchain
Having a good sensible default is one thing, bundling everything together is another. If I prefer jest over the test suite provided by Rome, I would have to install two test suites in the same project. Why not split them into different packages and let user pick what they want?
foray1010··on Rome: An experimental JavaScript toolchain
I worry this is a start for a toolchain monopoly, I don't like the idea of all-in-one, how can a single toolchain be the best of all fields? Will it suppress innovation like jslint -> jshint -> eslint? Just because the new and better tool is not part of the toolchain!
foray1010··on JWT is Awesome
depends on if need to call other apis like microservices, you can use the JWT on behalf of the user to request the contents from other services. JWT also introduces `scope` which determine services user consented and allowed your backend to call. These things are not supported by a simple session cookie.
foray1010··on Switching from Chrome to Firefox
7. Remove Chrome and never look back.
foray1010··on Invidious: an alternative front-end to YouTube
maximum resolution in Invidious is 720p even 1080p is supported when goes to youtube. Are there some technical limitations?
foray1010··on Apple Hides Taiwan Flag in Hong Kong
I am from Hong Kong, I can confirm that Taiwanese flag is not displayed in original Emoji keyboard (still appear in third-party keyboard like kaiboard). I am using HK region apple id and latest ios version
foray1010··on Ask HN: What simple tools or products are you most proud of making?
I built a Chrome extension called `Popup my Bookmarks` (https://chrome.google.com/webstore/detail/popup-my-bookmarks...) to solve my pain from switching from firefox to chrome :)

source code: https://github.com/foray1010/Popup-my-Bookmarks