• 0 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • Then again, at least in C, the mantra is “declaration follows usage”. Surely you don’t write pointer dereferences as * ptr? Most likely not, you most likely write it as *ptr. The idea behind the int *ptr; syntax is basically that when you do *ptr, you get an int.

    And with this idea, stuff like function pointers (int (*f)(void)), arrays of pointers (int *a[10]) versus pointers of arrays (int (*a)[10]) etc. start making sense. It’s certainly not the best way to design the syntax, and I’m as much a fan of the Pascal-styled “type follows the identifier” syntax (e.g. let x: number;) as anyone, but the C way does have a rhyme and a reason for the way it is.


  • Fairly sure that the USA’s main export are various hydrocarbon products like gasoline and crude petroleum alongside LNG. And things such as aeroplane parts and passenger vehicles.

    But even for the war and murder, I’m fairly sure that people like pres. Zelenskyy alongside the people of Ukraine are quite happy with the “war and murder” exported to them in the form of HIMARS, Patriot and other American armaments to defend their homes against an aggressor attempting to wipe them out. Not to mention the millions of people here in the rest of Europe, or in Japan, South Korea et cetera that explicitly benefit from partnerships with the US even in the fields of “war and murder”.

    But yes, as far as the Israel-Hamas conflict is concerned, I’m not even sure whether Israel even needs the help. It’s nevertheless quite morally corrupt to aid Israel in this kind of a manner.


  • Why Emacs has sound support? Well, you could ask that about many other things in Emacs, but sound support is relatively understandable since you want to be able to do things such as play notification sounds. That’s for example how erc recommends the use of the sound system.

    As to why ALSA and not PipeWire, well, for one, the support is from before pipewire was even a thing. The ALSA support even seems to be from the time when PulseAudio was new (2006 seems to be year of the first ALSA-related commits in src/sound.c.) And since it seems to work, I’m not sure that the developers are that keen to just going and replacing the ALSA support with PipeWire, especially given the latter’s complexity.