News for hackers. Stuff that matters.

reblws

Re:Dragon Go Server on Monday May 31, 2021 @04:20PM (#27347721)
Main way is using an AI to tell you what the next best move is.
Re:Can we start calling JavaScript EcmaScript? on Friday June 01, 2018 @01:06PM (#17207485)
Yes
Re:Show HN: An extension to turn your LinkedIn into a resume on Wednesday February 07, 2018 @02:47PM (#16327420)
The main difference between Chrome and Firefox extensions is that Chrome uses a callback-based API while Firefox's is based on promises. Other than that they're functionally the same aside from some differences in the manifest and the namespace (Chrome uses `chrome` while Firefox uses `browser`). I think Firefox has some backwards compatibility with the callback interface for easier porting but I haven't tried.

There's a nice polyfill by Mozilla so you can use their promise interface in Chrome but it was missing some important apis last I checked (sessions and optional permissions). https://github.com/mozilla/webextension-polyfill

Firefox: TabSearch: https://addons.mozilla.org/en-US/firefox/addon/tab_search/

Fuzzy search for tabs + keyboard controls for tab management. (I made this, hope it's alright that I'm advertising)

Octotree: https://addons.mozilla.org/en-US/firefox/addon/octotree/

Adds a tree-style panel to the side of every GitHub repo, makes it easy to browse and skim source code.