Better HN
topnewbestaskshowjobs
Log inSign up

bitsig

4 karma · joined Apr 18, 2019 (7y ago) · 9 submissions

Submissions

comment 1y ago · link · parent

For people using NixOS, you can wrap these configs in extraPrefs in wrapFirefox firefox-unwrapped:

Example: Put this expression(using lockPref to hardcode the config values) in environment.systemPackages(assuming "with pkgs"):

  (wrapFirefox firefox-unwrapped {

        extraPrefs =
        (
          ''
          lockPref("browser.ml.enable", false);
          lockPref("browser.ml.chat.enabled", false);
          lockPref("browser.ml.chat.hideFromLabs", true);
          lockPref("browser.ml.chat.hideLabsShortcuts", true);
          lockPref("browser.ml.chat.page", false);
          lockPref("browser.ml.chat.page.footerBadge", false);
          lockPref("browser.ml.chat.page.menuBadge", false);
          lockPref("browser.ml.chat.menu", false);
          lockPref("browser.ml.linkPreview.enabled", false);
          lockPref("browser.ml.pageAssist.enabled", false);
          lockPref("browser.tabs.groups.smart.enabled", false);
          lockPref("browser.tabs.groups.smart.userEnable", false);
          lockPref("extensions.ml.enabled", false);
          ''
        );

      })

2.

The Obsessive World of 78 Collecting(Book review on discogs.com)(discogs.com ↗)

1 points · by bitsig · 1y ago · discuss

comment 2y ago · link · parent

https://archive.is/zcQQ6

comment 6y ago · link · parent

Erroll Garner

comment 6y ago · link · parent

  >    get_nix_version(){
  >      # shellcheck disable=SC2046
  >      extract_nix_version $(nix --version)
  >    }
You might do something like:

  get_nix_version(){
      local IFS=' '
      extract_nix_version $(nix --version)
  }
if you want set "IFS=$'\n'" globally, and still be able split on space "locally".

Edit: Still needs the "# shellcheck disable=SC2046" stanza, though

6.

Theoretical technique to abuse EMV cards detected used in the real world(zdnet.com ↗)

2 points · by bitsig · 6y ago · discuss

7.

Reversing Lyft's ride history API to analyze 6 years worth of rides(blog.jonlu.ca ↗)

1 points · by bitsig · 6y ago · 1 comment

comment 6y ago · link · parent

Clearly a candidate for a Darwin Award