Hacker Newsnew | past | comments | ask | show | jobs | submit | listeria's commentslogin

If you look at the solar radiation spectrum chart in the section "Why isn’t the sky violet?", you can see that sunlight is not evenly distributed along the visible spectrum--it emit more blue than red, and at sea level it's closer to evenly distributed. So the light that reaches the clouds is still mostly white light.

I think it may also relate to chromatic adaptation. To be white it doesn't need to be any exact absolute color just the color our brain sets our white point to.

Not answering this question but I found an interesting short paper about how at sunset and sunrise the color gamut of shadows doesn't fully overlap with the direct illumination color gamut due to the differences in the paths the light takes:

Hubel. 2000. The Perception of Color at Dawn and Dusk.

https://library.imaging.org/admin/apis/public/api/ist/websit...


Global aliases are a zsh feature and not avaliable in bash. So if you want:

  openssl ,v
to expand to...

  openssl --version
readline seems like the way to go.

Then again most of the examples OP gave are usually available as short options, and aliasing ,s to sudo is certainly possible. So the only one which makes sense to me is ,,=$. But it's probably not worth the trouble to my muscle memory.


> most of the examples OP gave are usually available as short options

Yes, but a lot of commands behave differently for -h and --help.

> aliasing ,s to sudo is certainly possible

Sure, but my ,s key sequence doesn’t just expand to sudo. It actually moves the cursor to the start of the current line, prefixes the command with sudo, and then moves the cursor to the end of the line. The idea is when you type a command which requires root privileges but forget to use sudo, you can just hit ctrl+p ,s to fetch the previous command and prefix it with sudo. This is what it looks like in ~/.inputrc: ",s":"^Asudo ^E"


and risk having them interpret it as a declaration of war?


may I introduce you to the nodiscard attribute[1]?

  enum (class)? [[nodiscard]] Error {
    Ok,
    NoMem,
    ...
  };
[1]: https://en.cppreference.com/w/cpp/language/attributes/nodisc...



FWIW I’ve been using warn_unused_result in both gcc and clang since about 2020.


Yep, partial remedies are available for quite some time.


Firefox will read it if it exists[1]. You could use the /usr/lib/firefox/distribution directory (or whatever the installation directory may be), but that may be overwritten by an update.

There doesn't seem to be any way to set per-user group policies, so unless you're installing firefox in a user-controlled directory, it will require elevated privileges.

[1]: https://support.mozilla.org/en-US/kb/customizing-firefox-usi...


> The books were translated years ago anyway.

Translated books lack the nuance or tone of the originals, which you would be missing out of, and most of the time you don't even realise.


  sh: 1: [[: not found


Forgot that was a bash feature..

  ls | xargs -I % bash -c 'cd %; pwd; [[ $(git status -s) ]] && echo WIP || echo clean'


I was immediately put off by the Spanish version when I saw it was called "rústico", which does not translate to rust at all, it means rustic. The Spanish word for rust would be "óxido".


"Rustic" is actually a very common term in the Rust community, though it's an obvious joke drawing on 'Pythonic'. But there's nothing inherently wrong with "Rústico" as a name for a programming language.


That's all well and good, except the README clearly states:

> rústico (Spanish for Rust)

which is plain wrong.



Thanks, this should be added to the OP


What's the difference between this and the first link you shared?


That seemed to an EU thing

But I note the treaties.un.org link is signatories as of late 2024.

Why are they not publishing the current signatories? This is absolutely not something that should be murky.


you can see at the top of the page it says:

  STATUS AS AT : 30-10-2025 09:16:00 EDT
and the date of the signature says 25 Oct 2025.


in the b=2 case, you get:

  1 / 1 = 1 = b - 1
  1 % 1 = 0 = b - 2
they are the other way around, see for example the b=3 case:

  21 (base 3) = 7
  12 (base 3) = 5
  7 / 5 = 1 = b - 2
  7 % 5 = 2 = b - 1


In the b=2 case, 1/1 = 1 = (b-2) + (b-1)/denom(b) = (b-2) + (b-1)/1 = 2b - 3 = (b-1)*b^1 -1 (b-1)

In base 2 (and only base 2), denom(b) >= b-1, so the "fractional part" (b-1)/denom(b) carries into the 1's (units) place, which then carries into the 2's (b's) place, flipping both bits.


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

Search: