HNHacker News
TopNewBestAskShowJobs

mofle

1,217 karma · joined May 22, 2011

[ my public key: https://keybase.io/sindresorhus; my proof: https://keybase.io/sindresorhus/sigs/f2efA_W7FvEyw55qXGSw6k9Oj3heHIAmU0gwhaGhW9I ]
submissionscomments
mofle··on One Thing – Put a single task or goal in your menu bar
I recently rewrote my website and product screenshots is still a todo. Just follow the App Store button for screenshots.
mofle··on Run Stable Diffusion natively on your Mac
This was a bug. It's fixed in the latest update.
mofle··on Run Stable Diffusion natively on your Mac
I have a comparison here: https://sindresorhus.com/amazing-ai#diffusionbee
mofle··on Run Stable Diffusion natively on your Mac
Yes, it's using https://github.com/apple/ml-stable-diffusion
mofle··on NPM chalk goes esm-only and disables issues
We explicitly point out in the release notes that TypeScript users should not upgrade yet. Chalk v4 has been stable for years and you can continue to use that if you cannot use ESM.
mofle··on NPM chalk goes esm-only and disables issues
The issue tracker is only temporarily disabled to prevent issue spam. We had a lot of that lately.
mofle··on Marak adds infinite loop test to popular colors.js
If anyone is looking for a well-maintained coloring package, check out Chalk (https://github.com/chalk/chalk)

I'm one of the maintainers (https://github.com/sindresorhus).

mofle··on Curated list of userscripts
FYI, project-awesome.org just rips off Awesome lists and put ads on them. Can someone change the URL to https://github.com/bvolpato/awesome-userscripts ?
mofle··on Curated List of Lists
Awesome project maintainer here. This is not an official website for Awesome lists. They seem to have just mirrored the list to earn money on ads. The official website is: https://awesome.re
mofle··on Request Node lib used by 48k modules is now deprecated
“got” has support for streaming. We have a migration guide for “request” users: https://github.com/sindresorhus/got/blob/master/documentatio...
mofle··on Ink: React for interactive command-line apps
Answered in the issue tracker: https://github.com/vadimdemedes/ink/issues/10
mofle··on How the Clipboard Works, Part 1
Here's a real world example: https://github.com/sindresorhus/win-clipboard/blob/218dcffb9...
mofle··on Falsehoods Programmers Believe About Time (2012)
More interesting falsehoods in this awesome list: https://github.com/kdeldycke/awesome-falsehood
mofle··on Terminal Charts with Victory CLI
Check out https://github.com/sindresorhus/term-img if you want to render images in iTerm2 from Node.js
mofle··on Building fast.com
It shows an animated spinner if you don't redirect the output.
mofle··on Building fast.com
You can also run fast.com from the command-line: https://github.com/sindresorhus/fast-cli
mofle··on Write Code to Rewrite Your Code: jscodeshift
We use jscodeshift [0] in the AVA project to enable our users to run one command to migrate breaking changes in their tests automatically. This really is the future of breaking changes!

[0]: https://github.com/avajs/ava-codemods

mofle··on Test Anything Protocol specification (2006)
Some useful TAP resources here: https://github.com/sindresorhus/awesome-tap
mofle··on Netflix launches its own speed test website, Fast.com
Command-line tool for Fast.com: https://github.com/sindresorhus/fast-cli
mofle··on Fast.com: Netflix internet connection speed test
I made a command-line app for it: https://github.com/sindresorhus/fast-cli
mofle··on Refined Twitter
They can't. For them it's just a normal browser.
mofle··on Refined Twitter
Author here. I also made a desktop app for this: https://github.com/sindresorhus/anatine
mofle··on Refined Twitter
This extension redirects before a request is even made. `document-start` runs when the whole page is downloaded, but before the DOM is constructed, which is a lot slower. As for portability, both Firefox and Edge are committed to supporting Web Extensions, which is pretty much the Chrome extension API. This extension is not tied to any store. You can install it manually exactly as you would with a userscript. Actually, userscripts in Chrome, are just re-packaged as native extensions on install.
mofle··on Refined Twitter
I intend to add some keyboard shortcuts. Comment your needs here: https://github.com/sindresorhus/refined-twitter/issues/5
mofle··on Refined Twitter
It should work in Firefox 48. See https://github.com/sindresorhus/refined-twitter/pull/3 and https://blog.mozilla.org/addons/2016/04/29/webextensions-in-...

Happy to add something to the readme if anyone can test and confirm.

mofle··on Refined Twitter
A greasemonkey script in Chrome would take the same amount of memory or more, as Chrome just repackages it as an extension on install.
mofle··on Refined Twitter
This extension redirects requests before they've even started, making it much faster than what's possible with a Greasemonkey script. Greasemonkey scripts are also hard to discover and install these days.
mofle··on Refined Twitter
Requests to normal Twitter are redirected to the mobile version, which is on a sub-domain.
mofle··on Awesome Python: A curated list
See https://github.com/sindresorhus/awesome for more awesome lists.
mofle··on Bluebird in the wild: Advanced promise-based workflows
Check out https://github.com/sindresorhus/pify
← PreviousPage 2 of 5Next →