News for hackers. Stuff that matters.

foray1010

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

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.

Re:Mozilla to shut down Pocket on July 8 on Thursday May 22, 2025 @01:12PM (#44064191)
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?
Re:Nebula Sans on Sunday April 06, 2025 @12:25AM (#43598954)
100% agree, I don't understand why it is acceptable, it is very confusing on abbreviation.
Re:Kagi Translate on Friday November 08, 2024 @07:42PM (#42091668)
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?

Re:Thunderbird 91.0 on Thursday August 12, 2021 @01:43AM (#28152428)
seems download link is still not available in the homepage, if u are interested: https://download-installer.cdn.mozilla.net/pub/thunderbird/r...
Re:All-in-One DNS block list on Saturday June 06, 2020 @10:25AM (#23439395)
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
Re:All-in-One DNS block list on Saturday June 06, 2020 @09:27AM (#23439031)
Energized Protection actually included them all, so you don't need to add them one by one, and nextdns supports it!
Re:NextDNS Is Out of Beta on Tuesday May 26, 2020 @10:12PM (#23318703)
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.
Re:Rome: An experimental JavaScript toolchain on Thursday February 27, 2020 @10:02AM (#22433827)
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?
Re:Rome: An experimental JavaScript toolchain on Thursday February 27, 2020 @07:47AM (#22432729)
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!
Re:JWT is Awesome on Tuesday February 18, 2020 @09:36AM (#22356336)
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.
Re:Switching from Chrome to Firefox on Monday December 30, 2019 @05:00AM (#21912252)
7. Remove Chrome and never look back.
Re:Invidious: an alternative front-end to YouTube on Friday November 15, 2019 @06:56AM (#21544136)
maximum resolution in Invidious is 720p even 1080p is supported when goes to youtube. Are there some technical limitations?
Re:Apple Hides Taiwan Flag in Hong Kong on Tuesday October 08, 2019 @02:11AM (#21189275)
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
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