• 0 Posts
  • 111 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle
  • Because allow/blocklist are just as old if not even older and are way clearer terminology.

    “white” and “black” there are metaphors, the “master” in git branches and SCSI isn’t.

    See at some point you have to ask yourself the question whether you’d be opposed to the change if blue-haired college students really into performative politics weren’t a thing. Imagine the idea coming from your slightly computer-illiterate 60yold shop floor boss saying “I don’t want to think about the terms here, I want to do CAD/CAM. Speak English, whippersnapper”.


  • The false positive problem actually works in favour of the dogs, here: Their noses are excellent they know exactly whether there’s drugs there or not. They also know that the humans can’t tell so it’s easy to get a treat regardless. And they also know to not overdo it.

    Even more complicated are cats, figures that they are by and large uninterested in being studied or proving anything to you.




  • I seem to be speaking Klingon. I never told anyone to “un-depress” themselves. Quite the contrary, I’m talking about the necessity to accept that it’ll be the path you’re walking on for, potentially, quite a while. All I’m telling you is that that path doesn’t have to be miserable, or a downward spiral.

    Make a distinction between these two scenarios: One, someone has a fever. They get told “stop having a fever, lower your temperature, then you’ll be fine”. Second, same kind of fever, they get told “Accept that you have a fever. Make sure to drink enough and to make yourself otherwise comfortable in the moment. Ignore the idiot with the ‘un-fever yourself’ talk”.


  • I’m sorry what’s long-term executive function about cancelling your appointments? What’s harsh about it?

    What about “take a bath” and “go outside to breathe” is less protestant-work-ethic than what I was saying?

    The simple, actionable things are, precisely, the simple, actionable things. “Breathe in the fresh air” is not actionable when living in a city. “Sit on a bench and people-watch” is not actionable in the countryside. You know much better where you live, what simple things you could do right now. The point is not about the precise action, it’s about that it’s simple and actionable thus you should do it. Also, to a large degree, that it’s your idea, something you want.


  • You’ve laid out your personal depression cure to someone stating that reading about other people’s depression cures is incredibly frustrating when you’re actually depressed.

    That’s not what the complaint was about. The complaint was about the generic drivel. The population-based “We observed 1000 patients and those that did these things got better” stuff that ignores why those people ended up doing those things, ignorance of the underlying dynamics which also conveniently fits a “pull yourself up by the bootstraps” narrative. The kind of stuff that ignores what people are going through. Ignores which agency exists, and which not.

    Read what I wrote not as a plan “though shall get up at 6 and go on a brisk walk”, that’s BS and not what I wrote. Read it as an understanding of how things work dressed up as a plan. Going out and cooking food? Just an example, apply your own judgement of what’s good and proper for you moment to moment. You can read past the concrete examples, I believe in you.

    In most cases the best thing you can do to help is to try to understand how someone is feeling.

    The trick is to understand why you’re in that situation, what your grander self is doing, or at least trust it enough to ride along. Stop second-guessing the path you’re on and walk it, instead. You don’t really have a choice of path, but you do have a choice of footwear.

    Or, differently put: What’s more important, understanding a feeling or where it’s coming from? Why it’s there? What it’s doing? What is its purpose? …what are the options? Knowing all this, many feelings will be more fleeting that you might think.

    There’s an old Discorian parable, and actually read it it’s not the one you think it is:

    I dreamed that I was walking down the beach with the Goddess. And I looked back and saw footprints in the sand.
    But sometimes there were two pairs of footprints, and sometimes there was only one. And the times when there was only one pair of footprints, those were my times of greatest trouble.
    So I asked the Goddess, “Why, in my greatest need, did you abandon me?”
    She replied, “I never left you. Those were the times when we both hopped on one foot.”
    And lo, I was really embarassed for bothering Her with such a stupid question.



  • Sorry, I didn’t know we might be hurting the LLM’s feelings.

    You’re not going to. CS folks like to anthropomorphise computers and programs, doesn’t mean we think they have feelings.

    And we’re not the only profession doing that, though it might be more obvious in our case. A civil engineer, when a bridge collapses, is also prone to say “is the cable at fault, or the anchor” without ascribing feelings to anything. What it is though is ascribing a sort of animist agency which comes natural to many people when wrapping their head around complex systems full of different things well, doing things.

    The LLM is, indeed, not at fault. The LLM is a braindead cable anchor that some idiot put in a place where it’s bound to fail.


    1. Accept that your brain wants to do something different than what you had planned, thus
    2. Cancel all mid- to long-term appointments and
    3. Use the opportunity of not having that shit distracting you to reinforce good moment-to-moment habits. Like taking a walk today, because you can use the opportunity to buy fresh food today, to make a nice meal today, because that’s a good idea you can enjoy today while the back of your mind does its thing, which is not something you can do anything about in particular so stop worrying. And you probably don’t want to go shopping in pyjamas without taking a shower so that’s also dealt with. And with that,
    4. You have a way to set a minimum standard for yourself that will keep you away from an unproductive downward spiral and keep depression what it’s supposed to be, and that’s a fever to sweat out shitty ideas, concepts, and habits, none of which, let’s be honest, involve good food and a good shower. That’s not shitty shit you dislike.

    The tl;dr is that depression doesn’t mean you need to suffer or anything. Unless you insist on clinging to the to be sweated out stuff, that is. The downregulating of vigour is global, yes, necessary to starve the BS, but if you don’t get your underwear in a twist over longer-term stuff your everyday might very well turn out to simply be laid back.

    …OTOH yeah if this is your first time and you don’t have either a natural knack for it or the wherewithal to be spontaneously gullible enough to believe me, good luck.

    Also clinical depression as in “my body just can’t produce the right neurotransmitters, physiologically” is a completely different beast. Also you might be depressive and not know it especially if you’re male because the usually quoted symptom set is female-typical.


  • barsoap@lemm.eetoProgrammer Humor@lemmy.mlOf course
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    4 months ago

    I speak fluent x86, I’ve been writing xor eax, eax before rax was a thing and you had to wonder whether you shouldn’t be using xor rax, rax (you shouldn’t), I figured out how to write linux binaries in pure assembly before arch was a thing, just don’t throw sse or something arcane like aaa at me. But damned if I know a single opcode.

    Reverse engineers are a whole different kind of breed. And apparently they hate rust.


  • All instructions occupy the same amount of space in memory.

    Both ARM and RISC-V have compressed instructions. Dunno how ARM works but with RISC-V the 16-bit instruction set is freely interspersable with the 32 bit one, which also get their alignment reduced to 16 bits. Gets like 95% of the space reduction possible with full variable-width instructions without overcomplicating the insn decoder.

    As to addressing and loads and arithmetic: No such instructions, but every CPU but the tiniest ones are expected to do macro-op fusion for things like indexed loads. Here’s an overview.

    The MMU thing… well the vector extension can do gather/scatter, I guess it could stay within the letter of “use the MMU once” but definitely not the spirit.


  • Nope it’s still a register-register op, that’s very much load-store architecture.

    It’s reduced, not minimalist, otherwise every RISC CPU out there would only have one instruction like decrement and branch if nonzero. RISC-V would not have an extension mechanism. The instruction exists because it makes things faster because you don’t have to do manual bit-fiddling over 10 instructions to achieve a thing already-existing ALU logic can do in a single cycle. A thing that isn’t even javascript-specific (or terribly relevant to json), it’s a specific float to int cast with specific rounding and overflow mode. Would it more palatable to your tastes if the CPU were to do macro-op fusion on 10(!) instructions to get the same result?


  • The quality of random no-brand audio cables, connectors, adapters etc. tends to be right-out atrocious. There’s technically going to be metal in there but that “nice”, thick headphone cable that came with those cheap headphones (and even some decent ones, like AKG K240s) is going to consist mostly of insulation, not conductors. Plastic is quite a bit cheaper than copper.

    You can get ok jack adapters for 80ct but honestly I wouldn’t trust that thing if I didn’t trust Thomann. Usually I’d be looking for Rean when wanting a cheap one but they’re apparently not in stock. And I kinda doubt Neutrik or Hicon even produce them if you’re spending five bucks on a 3.5mm jack you’re not using adapters, you’re soldering the exact cable you need.

    Oh. Back to resistance: Doesn’t really matter audio quality doesn’t care it’s still the same AC signal just with less amplitude which you can fix with the volume knob, You’re looking for impedance and material boundaries have a habit of being bad for it, as well as signal quality as parts of the signal will propagate through the boundary and parts will reflect. For more information ask an actual electrical engineer I merely wrote an A in a course I had to take and can tell the hot end of a soldering iron from the cold one (it’s the one with the cable).


  • We can invent one: kn-h. It’s knot-hours, which is technically correct but horrific to look at. It’s like the time I came across hp-h (horsepower-hour) to measure gasoline energy.

    Quite standard, actually. If you buy a fridge over here it’d say something like “150 kWh/a”, which is 17.12 Watts, which is how much the fridge uses on average. People don’t pay for Watts, though, but for kWh, that’s what’s on the bill so kWh/a is way more practical if you want to convert to €/a. Also if you put more than one number in Watts in the docs civilians might get confused, ideally the only one you put there is connection power.

    What’s a hectare?

    I actually have no idea. I know that it’s what farmers pick up women with but I have no real mental image of how much it is. 100m, sure, make that a square but it’s still somehow without meaning.

    but I went into a cold sweat thinking about all the awful things that would happen with a 25 mm inch,

    Blame the Swedes, or more precisely Carl Edvard Johansson, inventor and manufacturer of gauge blocks. Before that the US and Brits had slightly incompatible definitions of inches and he split the difference pretty much in the middle and rounded a bit and ended up producing 25.4mm gauge blocks, and only after that industry even started to be precise and actually adhere to proper measures – without wide availability of reference gauge blocks that was impossible. He should’ve rounded just a bit further.



  • The knot is non-SI but perfectly metric and actually makes sense as a nautical mile is exactly one degree meridian. kn also doesn’t clash with kN, Newtons are always written with capital N. Capitalisation generally matters. No standard abbreviation exists for nautical miles but definitely don’t use nm because newtonnano metres.

    That is, if you take all those colonial units out of there suddenly you’re left with SI units and things that work well with SI units.

    Oh and a pint is 500ml, a pound is 500g, a hundredweight is 50kg (because 100 pound), and a teaspoon is rather approximate because everyone outside of North America will use an actual spoon you stir tea with. The important part is not the precise amount but distinguishing it from “a pinch” etc. I guess by extension ounces should be 25ml and 25g. While we’re at it: An inch is 25mm, and a foot an even 1/3rd of a metre while a yard is exactly one metre.

    Did you know that a Newton metre is about exactly one chocolate bar metre? The work it takes to lift it in about standard gravity, that is. Very intuitive.

    t for ton is a quirk in SI, you can use Mg if you want. There’s also other SI-adjacent strangeness such as the hectare, which is one hecto-are: While SI has meters for length and litres for volume somehow the are isn’t official for area.


  • All definitely not metric as metric uses steps of 1000 (and there’s also 10 and 100 and 1/10th and 1/100th but that doesn’t extend to 10000 and 1/10000th).

    The KiB, MiB, etc, the 2^10 scale is called binary prefixes (as opposed to decimal prefixes KB, MB, etc) and standardised by the IEC.

    And while the B in KiB is always going to mean eight bits it’s not a given that a byte is actually eight bits, network people still use “octet” to disambiguate because back in the days there were plenty of architectures around with other byte sizes. “byte” simply means “smallest number of bits an operation like addition will be done in” in the context of architectures. Then you have word for two bytes, d(ouble)word for four, q(uad)word for eight, o(cto)word for 16, and presumably h(ex)word for 32 it’s already hard to find owords in the wild. Yes it’s off by one of course it’s off by one what do you expect it’s about computers. There’s also nibble for half a byte.

    EDIT: Actually that’s incorrect word is also architecture-dependent, the word/dword/qword sequence applies to architectures (like x86) which went from being 16-bit machines to now being 64 bit while keeping backwards compatibility. E.g. RISC-V uses 32-bit words, 16 bits there are a half-word.

    The bit, at least, is not under contention everyone agrees what it is. Though you can occasionally see people staring in wild disbelief and confusion at statements such as “this information can be stored in ~1.58 bits”. That number is ~ log2 3, that is, the information that fits in one trit. Such as “true, false, maybe”.



  • barsoap@lemm.eetoFediverse@lemmy.mlLemmy.ml is supposedly blocked in China
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    edit-2
    6 months ago

    it was created by nazis for a nazi agenda.

    Source on that? I’m serious. I did a bit of googling and do see that the likes of Ben Shapiro have been using it, but that’s definitely not where I have it from, and you’ll also see plenty of left-wing uses of it.

    I have zero patience for people who side with fascism.

    I referred you to a quite precise definition of what I mean by the term. Can you explain to me how criticising the things encompassed by that definition would put me “on the side of fascism”? Fascists have come up with plenty of terms leftists use all the time, an obvious example would be the word “fascist”. Allegiance to fascism, I’d say, cannot be inferred merely by use of some shared vocabulary, you have to go deeper than that.


    In any case, and I hope you see the irony, going nuclear over the use of such a term, to drill down on syntax instead of semantics, is not unlikely to fit the wokescold pattern of behaviour. Depends a bit on how you do it but overall I’d say it’s likely you’d hit at least some of the checkboxes Zena+Poppy are giving.