Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BA
Posts
118
Comments
5,119
Joined
2 yr. ago

  • I think with regards to the EU China is going for something like an economic cold war. They want to prove the superiority of their system, but unlike Russians have too much strategic sense to go for possible lose/lose scenarios. I wouldn't count on the US at all they're fickle at best.

    Also don't underestimate the desire of UNASUR, ASEAN, actually scratch that pretty much the entire southern hemisphere to keep win-win going. A year or two ago there was lots of talk about a "BRICS axis" which Brazil quickly commented with "why the fuck would we want to antagonise the west". Brazil is out for revenge for that 7-1 but that's pretty much it. Strategically it's going to be important to not lose Africa to Chinese bribes. I suggest starting by locking up the French in a closet, specifically their president. Specifically their current one the man is running around with a foot in his mouth.

  • Learning the actual algebraic laws, instead of an order of operations to mechanically replicate. PEMDAS might get you through a standardised test but does not convey any understanding, it's like knowing that you need to press a button to call the elevator but not understand what elevators are for.

    Though "lazy teachers" might actually be a bit too charitable a take given the literacy rates of US college graduates mastering in English. US maths teachers very well might not understand basic maths themselves, thinking it's all about a set of mechanical operations.

  • Why? Because a bunch of dead Greeks say so!

    The Greeks certainly didn't come up with PEMDAS. US teachers too lazy to teach kids actual maths did. And that's before taking into account that the Greeks didn't come up with Algebra.

  • In Frosch sind und waren nie Phosphate drin. Gibt's auch in ~3kg-Boxen statt den standard ~1.5kg.

    Wenn du Umweltschutz maximieren möchtest dann isses aber wahrscheinlich besser die kleinen Packungen im Supermarkt, Drogerie usw. zu kaufen, weil Transporteffizienz.

  • To a (modern) compatibilist, free will is the capacity to respond to the same stimulus with different reactions, i.e. it’s equivalent to the cybernetic concept of degrees of freedom. As such, answer:

    “You can poke a ball-point pen and it’s going to do the same thing, over and over again: Extend and retract the lead. It is predictable because its internal complexity is below the threshold of chaos.” Then proceed to repeatedly poke them in the arm to see how many different reactions they have to that. Mentally prepare for a tickle fight.

  • Your ld.so contains:

    Entry point address: 0x1d780

    EDIT: ...with which I meant, modulo brainfart: My libc.so.6 contains a proper entry address, while other libraries are pointing at 0x0 and coredump when executed. libc.so is a linker script, presumably because GNU compulsively overcomplicates everything.

    ...I guess that's enough for the kernel. It might be a linux-only thing, maybe even unintended and well linux doesn't break userspace.

    Speaking of, I was playing it a bit fast and loose: _start is merely the default symbol name for the entry label, I'm sure nasm and/or ld have ways to set it to something different.

  • Aluminium is actually a better conductor than copper when you judge it by mass, not volume. I think also by tensile strength.

    In any case there's a reason that large overland wires aren't copper, but steel-cladded aluminium. Copper will always have its applications but so does gold and yet we're not running out of gold to plate connections with.

    In cases like windings requiring more volume is actually an issue, in the case of PCBs... no, despite Apple's insistence, it's actually fine to have a phone that's 0.2mm thicker.

  • How does executing a program actually work?

    Way too long an answer for a lemmy post

    It has an executable flag, but what actually happens in the OS when it encounters a file with an executable file?

    Depends on OS. Linux will look at the first bytes of the file, either see (ASCII) #! (called a shebang) or ELF magic, then call the appropriate interpreter with the executable as an argument. When executing e.g. python, it's going to call /usr/bin/env with parameters python and the file name because the shebang was #!/usr/bin/env python.

    How does it know to execute “main”?

    Compiled C programs are ELF so it will go through the ELF header, figure out which ld.so to use, then start that so that it will find all the libraries, resolve all dynamic symbols, then do some bookkeeping, and jump to _start. That is, it doesn't: main is a C thing.

    Is it possible to have a library that can be called and also executed like a program?

    Absolutely. ld.so is an example of that.. Actually, wait, I'm not so sure any more, I'm getting things mixed up with libdl.so. In any case ld.so is an executable with a file extension that makes it look like a library.

    EDIT: It does work. My (GNU) libc spits out version info when executed as an executable.

    If you want to start looking at the innards like that I would suggest starting here: Hello world in assembly. Note the absence of a main function, the symbol the kernel actually invokes is _start, the setup necessary to call a C main is done by libc.so. Don't try to understand GNU's libc it's full of hystarical raisins I would suggest musl.

  • Pure SQL, as in relational algebra, is LOGSPACE/PTIME. Datalog is PTIME-complete when the program ("query") is fixed, EXPTIME-hard otherwise.

    It's all quite tractable, but there's definitely turing-complete declerative langugages. Not just pretty much every functional language, but also the likes of prolog.

  • Permanently Deleted

    Jump
  • And to remember the whole thing: "Star" comes from steer, goes back to old ships which had their rudder and till tied to the side at the aft and specifically, when looking forwards, to the right as people tend to be right-handed. Thus, steering-side == right if you're looking forwards.

    "Port" because that's the side the port is on if you land without risking damaging the rudder. Originally it was "backboard" because that's the board (== side of ship) that's (often) in the helmsman's back, English changed it at some point while everyone else kept it. The terminology goes back to at least Old Norse, probably earlier, that's just the earliest that's attested.

  • And presumably the terms of the permit allow Israel to kick them out at their heart's content.

    I gotta be honest Jerusalem is a thing I was overlooking but I still don't think Kahanites would be willing to do that. Some kind of compromise to be able to say that Jerusalem is (fully) Israel, one thing, but the west bank? It's just land. They don't want the people living there they'll either not take it, or take it without the people, no matter how disenfranchised.

    I suppose this is more about annexing the illegal settlements. Ones which already have sky-high walls around them.

  • Occupying it. Meaning that Palestinians living there could not vote, and were subject to martial law. At the same time Israel administered things such as building permits which means that Israel could "legally" demolish "illegal" buildings.

    I highly doubt they're going to annex anything that's full of Palestinians, not while the Kahanites are in power they're way too much into the whole ethno-state thing to do that.

  • I think non-Germans can’t understand the deep social guilt that’s been drilled into them since WWII.

    Then why are you speculating about it.

    when I was living there I asked some question I don’t even remember about the Holocaust of one of my German friends, and he quite politely told me “we don’t talk about that.” It’s a subject of guilt and embarrassment.

    Yeah that's surely the only possible interpretation.

    Truth be told: Just by using the term "guilt" you're parroting Nazi talking points. It's the precise type of rhetoric they're driving, and you're a dogwhistle's understanding away from "The Jews invented the Holocaust to shame Germany to keep it from being strong".

    Maybe that's why people didn't want to talk to you about it.


    For people actually interested in understanding it, instead of merely having an opinion: Start by distinguishing between "guilt" and "responsibility", the latter not in the sense of culpability, but... OSHA.

    The whole Israel thing is actually distinct from that. If, tomorrow, Netanyahu, Ben-Gvir etc were to keel over and we'd have the second coming of Rabin, the collective sigh of relief in Germany would knock the earth off axis. The trouble is supporting, at the same time a) Israel to exist within its internationally recognised borders and b) supporting the same thing for Palestine allthewhile c) fascists on both sides making shit impossible.

    There's been plenty of criticism within Germany towards the hesitant stance of the government. On the flipside, what you also don't see is German media -- also public, also state media (DW) sugar-coating what's happening in Gaza.

    For the longest time the government kept to its age-old approach of working the Israelis quietly, in the background. Stuff that, on occasion, led them to relent on settlement projects etc. Germany did it that way because it was a way to influence things while keeping an in. That seems to be over because there's no "in" with Israel any more, they're simply not listening to things they don't want to hear.

  • In addition to that martial rape could be, and was, prosecuted as coercion and bodily injury. Corporal punishment of spouses (which would be a way around that) was legalised in Prussia in 1794, then outlawed again in 1812, in Bavaria the span was from 1756 to 1900 (introduction of the BGB).

    Still takes a very special kind of conservative to object to categorising it as rape, and that's the exact type of conservative Merz is.

    The exact same reform btw also made the law gender-neutral. "Rape" doesn't exist as a thing in itself in German law, in a sense, it's a name given to a specific aggravation of sexual assault:

    (6) In especially serious cases, the penalty is imprisonment for a term of at least two years. An especially serious case typically occurs where

    1. the offender has sexual intercourse with the victim or has the victim have sexual intercourse or commits such similar sexual acts on the victim or has the victim commit them on them which are particularly degrading for the victim, especially if they involve penetration of the body (rape), or
    2. the offence is committed jointly by more than one person.