Hacker News new | past | comments | ask | show | jobs | submit | tutipop's comments login

I do the same in bash, but it's a bit wordier:

  _chpwd_hook() {
    if [[ "$PWD" != "$PREVPWD" ]]; then
      ls
      PREVPWD="$PWD"
    fi
  }

  PROMPT_COMMAND=(_chpwd_hook)
Goes well with

  shopt -s autocd
  alias r='cd -'


Not strictly equivalent, but shorter (and should work with multiple shells):

  $ cd() { builtin cd $* && ls; }
  $ cd /
  bin  boot cdrom  dev  etc  home  lib  lib64 [...]


$* will break on directory names containing spaces and other bash "word" delimiters, use "$@":

    cd() { builtin cd "$@" && ls; }


> Did you know that a dog puts its tail between its legs when it's sad.

Can you spot the mistake?

Neither can I. :-)

Well done.


You can access about:config with chrome://geckoview/content/config.xhtml even in non-nightly versions.

Credit goes to this guy - https://news.ycombinator.com/item?id=40955452


So that means it's on but can't be disabled without using this hacking around? That's not cool :(


And not just any ad company:

> Anonym was founded in 2022 by former Meta executives Brad Smallwood and Graham Mudd.

https://blog.mozilla.org/en/mozilla/mozilla-anonym-raising-t...


And the ad company they acquired is also linked to Meta:

> Anonym was founded in 2022 by former Meta executives Brad Smallwood and Graham Mudd.

https://blog.mozilla.org/en/mozilla/mozilla-anonym-raising-t...


> I've heard that welding stainless steel gets it too hot and removes something (the carbon?) essentially de-stainlessing it (?).

I don't know if it's possible, but even if it is, it's not the carbon that makes the steel stainless. It's the additional chromium, nickel, or molybdenum.

Maybe when the steel melts during the welding process, those other metals get separated from the iron.


a light nanosecond is a foot :)


In about:config

  widget.non-native-theme.scrollbar.size.override 20 
  widget.non-native-theme.scrollbar.style  4
  widget.gtk.overlay-scrollbars.enabled   false
I even use a custom gtk.css to improve things further:

  scrollbar, scrollbar button, scrollbar slider {
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-secondary-forward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true;
    min-width: 20px;
    min-height: 20px;
    border-radius: 0;
  }
It's a shame we have to resort to this to get decent scrollbar behavior.


Thank you! How the hell is anyone supposed to discover things like this?


Software should include documentation, which should mention all of the commands used there, so that you can know how to do it. Unfortunately, many of the settings are not very well documented, and the document is hard to find.


Good luck designing a UI that includes settings for scrollbar width and other settings of that granularity in which any of those settings are discoverable...


> Good luck designing a UI [with] settings for scrollbar width and [similar] in which any of those settings are discoverable...

Like Windows XP?

ref: https://www.simplehelp.net/2009/08/04/how-to-enlarge-or-shri...


Exactly. Admittedly I was a lot younger then, but I had a hard time finding even relatively simple options in the nested menus and tabs of Windows XP.


did you mean to ask if Signal's own infrastructure would geoblock EU users?


What's the history of the name?

Ghidra sounds Russian (Гидра) for Hydra.

Was it considered cool to use Russian words for hacker/spy things?


> Please remember that the NSA is run by a bunch of nerds and Ghidorah in Japanese cinema is a movie about a three headed monster. In the film, an extraterrestrial from Venus, possessing the body of a princess, warns humanity of the pending destruction by the alien-dragon King Ghidorah-with Godzilla, Rodan, and Mothra being their last hope for survival.


Ghidra is a monster from the Godzilla movies. I don't know if it's some Japanese version of "Hydra".


> The "Ghidorah" part of King Ghidorah's name comes from the pronunciation of the word "hydra" (Гидра, ˈɡʲidrɐ) in Russian, written as ヒドラ (Hidora) in Japanese.

Good eye, looks like the name does originate from that.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: