Better HN
topnewbestaskshowjobs
Log inSign up

foray1010

100 karma · joined May 14, 2014 (12y ago) · 21 submissions

Submissions

comment 7mo ago · link · parent

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

comment 7mo ago · link · parent

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.

3.

2-day-old GitHub account added AI-generated dependency to Mailgen (2.5k stars)(github.com ↗)

3 points · by foray1010 · 7mo ago · 3 comments

comment 1y ago · link · parent

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?

comment 1y ago · link · parent

100% agree, I don't understand why it is acceptable, it is very confusing on abbreviation.

comment 2y ago · link · parent

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?

comment 5y ago · link · parent

seems download link is still not available in the homepage, if u are interested: https://download-installer.cdn.mozilla.net/pub/thunderbird/r...

comment 6y ago · link · parent

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

comment 6y ago · link · parent

Energized Protection actually included them all, so you don't need to add them one by one, and nextdns supports it!

10.

All-in-One DNS block list(github.com ↗)

183 points · by foray1010 · 6y ago · 55 comments

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

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!

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

7. Remove Chrome and never look back.

comment 7y ago · link · parent

maximum resolution in Invidious is 720p even 1080p is supported when goes to youtube. Are there some technical limitations?

comment 7y ago · link · parent

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

18.

Show HN: React Hook for DOM Event Listeners with TypeScript Supported(github.com ↗)

2 points · by foray1010 · 7y ago · discuss

19.

You have no option to disconnect Facebook account from Spotify(community.spotify.com ↗)

16 points · by foray1010 · 8y ago · 5 comments

comment 10y ago · link · parent

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