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

help-circle
  • I don’t care about Mullvad, but this is an interesting philosophical question. How far does that chain of money carry responsibility? Like, what if you donate to a hospital, and a nurse at the hospital uses their wages to buy bread, and the owner of the bread factory is problematic?

    Definitely some fraction of my donation went to the bread factory owner’s politics, but is it my responsibility? Should I withhold donations to the hospital until they’ve pressured the nurse to buy a different brand of bread, or let them go?

    Definitely the bread factory owner has a bunch of money, and money is power, and that money was given by customers in exchange for bread, so at some point if we want their power to diminish steps must be taken. But is the hospital donor’s money the right lever for that? Does it outweigh the benefits?

    What if the bread factory’s owner is fine, but has a worker who spends their money on a problematic cause. Is it still the hospital donor’s responsibility?


  • Having the bios able to see the disk, but a live boot can’t, makes no real sense to me. If a partition was messed up I’d get that, but to not even see there is a disk to partition, doesn’t feel right. I know it’s probably a dumb question, but you didn’t happen to be messing around in BIOS settings or something right? Is it possible you changed some settings a while ago but haven’t rebooted in a while, and this issue was waiting for you this whole time?

    If you don’t have any other slots on the mother board to try the disk in, you could buy an external adapter for whatever kind of disk you have, which would allow you to use this thing as a USB drive. That should at least allow the live boots to see it.

    Also also, is it possible you have two disks, and grub is on one and your data is on the other? Again, kinda weird question, but it’s a kinda weird situation…





  • psycotica0@lemmy.catoLinux@lemmy.mlWhy Linux?
    link
    fedilink
    arrow-up
    2
    ·
    25 days ago

    I have friends that daily drive BSD, but I never have. For me it’s because Open Source is already a small field, and Linux solves all the problems I have, while also having the most mind-share, focus, and community. I want it to be FOSS for ethics, which Linux is, but otherwise don’t need anything that BSD offers, so there’s no reason for me to attempt anything more. If there’s even one compatibility problem, it’d be one too many for no benefit.

    That having been said, I do donate money every month to one of them, because I like that they exist. So that’s probably weird…


  • I’ve encountered it very little, but when I encounter it it’s because I try to do something and it doesn’t work. So I check the permissions with ls -l, and it all seems reasonable. Huh, this should work. Try again, nope. Hmm. 20 minutes of trying random variations, strange results. Oh fuck, is this SELinux? Shit. Where do those configs exist again? How do I configure that? Google “SELinux cheat sheet” hmmm, I don’t have enough context to use that, Google “SELinux getting started”. Read tutorial, try to skim just enough to figure out what’s going wrong for me.

    So I don’t hate it, I just haven’t ever had a use for it, but it has surprised me in a bad way before and cost me a lot of time and confusion, but I’ve never spent the time getting familiar because I’ve never had a use for it. And it comes up rarely enough I never remember anything about it by the time it bites me. I can’t even recall now what I was trying to do the last time I bumped into it.


  • It’s nice of this poster to ignore the $181m spent on “other projects” and conclude this is some kind of scam. If we include the Linux Kernel with the other projects part, that’s about 67%, or two thirds, of their expenses are paying for various and assorted open source projects. Among them the kernel. So if you’re a “cash and cash alone” person, then 2/3rds of your money is still going as cash to software projects.

    And if we include things like community tooling and project services, which may help a project in ways beyond just cash that becomes about 78% in total, or over three quarters.

    That’s pretty good, I think, but to each their own.


  • Right, but what I’m saying is that git doesn’t store authorship information or line-by-line history, no matter how it’s done. Figuring out which line came from where is an algorithm the git blame command does every time you request it, and that algorithm can give different results depending on which options you give the blame command. And so what you’ve found here is a collection of commits that produces a situation the default blame algorithm can follow, without any optional flags, which is neat! Maybe not great for git history, but neat!


  • Interesting. Yeah, sounds like what git blame -C is for, so I’ve never made copies when splitting files, I’ve just moved lines between files naively. But I guess if one’s tools are limited and doesn’t have the ability to -C, then I guess I could respect the hack that is that solution?

    I mean, I’m 99% sure git doesn’t store blame or authorship info in the pack files, even as a convenience cache, and just guesses by traversing the patch log with heuristics live when you run blame anyway, so the history mostly doesn’t matter there, but the way you’ve done it does seem to have tricked the heuristics into doing what you want without relying on an option, so that’s neat! It’s an interesting hack, and I like interesting hacks 😛

    By the way, if there are down votes, they’re not from me!


  • Yeah, I’m with you. I mean, git isn’t magic. You “can” squash anything, including a merge commit, by just being at the end result, running git reset <commit you want to be squashed off of> and then running a manual git add and commit there. That’s basically all a squash is.

    But what you’ll be left with us a single commit that contains all of the code from the branch you’re squashing and also all the code pulled in from every branch you merged, all written as though it all came from this one commit. And maybe that’s what you want? But it feels like also maybe it’s not?



  • Huh. I have never in my 19 year career using git, ever wanted to copy a file and pretend all of the history of that file is also the history of the new file. I mean, I don’t think I’ve ever even wanted to copy a file? Why are you copying a file?

    Like, maybe I’m just too familiar with git to see the forest for the trees, but what the heck are you doing over there? 😅

    And just in case it’s useful, a tip is that you can use git blame -C to have the blame algorithm use a heuristic to try and find a “source” line if it was moved, including from another file, during a commit, and then continue following the history of that line, to try and get the real commit where this was written, not just the last time it was moved around.



  • Lord of the Rings barely counts, because not only were all three books out and classics before the movies started (obviously), but the three movies were basically worked on at the same time. It’s nuts, but somehow they managed to do it.

    So it’s not like they released the first, got crazy hype, and then phoned everyone up and said “electric Boogaloo, you in?”. They’d already shot most of the second and third by the time the first came out, as I recall.

    Also I really liked Glass Onion 😛


  • psycotica0@lemmy.catoScience Memes@mander.xyzScibot!
    link
    fedilink
    English
    arrow-up
    19
    ·
    2 months ago

    Sure, but RAG has a Wikipedia article about the specifics of the process, history of its use, links to papers and articles about it and its advantages and drawbacks. It’s also useful as a feature on a matrix for comparing one tool or model’s capabilities to another. None of that is true of the sentence.

    Virtually all of computing could be reduced to voltages across terminals changing over time, but it can still be useful to give specific terms to specific applications of this process, so we have something to talk about.



  • psycotica0@lemmy.catoScience Memes@mander.xyztuff enuff
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Physics tends to treat numbers as inputs, outputs, and sometimes constants which are also inputs, but more like calibration to make the math describe our world. Like, c could have any value and the math would be math, but in our universe there’s a particular value that produces useful outputs and all others don’t. So we use that one.

    As for whether or not it’s worth studying, I think that depends on you. Basically no physicist in the last 50 years does any real calculating in their head. We have tools for that, and they do a fine job. So if you can’t memorize your multiplication tables, who cares. Not important.

    But the reasoning part is important. The problem solving part of figuring out how to put pieces together, or how to model something, is important, and also is a skill and mindset. Also, what I didn’t cover is algebra, which is a set of rules for transforming an input into an output, transforming one tool into another, while keeping all the relationships intact. Still not numbers, but again, it is a mindset. Like a language, you have to learn it and become adept at it, and it takes practice to get used to it. And that is very important.

    So! The good news is there’s nothing stopping you! You can lookup a list of, like, highschool physics equations and constants, some highschool problems, and see if you can get some answers! Use a calculator, use Excel, whatever! Play around with stuff, get a feel for how it handles. The numbers aren’t the interesting part, the equations are, and how they’re used. For you, the numbers will just be something you punch in at the end to see if you got your reasoning right.

    So yeah, give it a shot, there are no rules, and try not to get discouraged! 😛


  • psycotica0@lemmy.catoScience Memes@mander.xyztuff enuff
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 months ago

    Math, or at least this part of it, is all about relationships between values. Let’s ignore numbers for a bit. If you take a long stick and put a big rock under it, then when you move your side of the stick down, the other side will move up. And if you were to measure how much you moved your side versus how much the other side moved, you’d notice that unless you put the rock right in the dead middle, the other side would move a different amount. This isn’t because something is magically making this happen, it just a property of the construction of your system. The other side just does move more or less, and it’s different depending on where the pivot point is.

    Similarly, if you have two gear wheels with different numbers of teeth, and you mesh them together, and you turn one and count how many times you’ve turned it, and also count how far the other one has turned, you’ll find a relationship there too! And again, this relationship is just built into the way these objects interact. It’s just the way this system works.

    Okay, so, stay with me now, saying y = 2x + 5 is the same. It’s defining a relationship, it’s building a system that’s says the value we’re calling “y”, chosen arbitrarily it could be any name, is always twice as big as “x” (also chosen arbitrarily), and then 5 more than that. It’s a system we’ve built, just like the levers or gears, that produces a relationship we want to express for some reason. And you can put them together in any way, and they’ll always describe some relationship, even if it’s not a useful one.

    Now, people have spent hundreds of years, depending on how you want to count, trying to find relationships that also happen to have predictive power. They’ve built systems where the relationship between “d” and “t” is modeled to be the same as the relationship between “the distance that rock flew from me” and “the time since I threw that rock”. And what’s nice about finding these relationships is that now that you know what the relationship is, now that you’ve built the system of levers and pulleys and gears that turn in just the right way, you can start guessing about the rocks before you even throw them, because this relationship you’ve got on the page is similar to the one you’ve seen in real life with the rock and the stopwatch.

    Once you’ve got a bunch of these, picking the right one and combining them because more like a puzzle or a maze. I’ve got these things I know, like the weight of the rock, and the size of the Earth, and how stiff the metal in the spring I’m using to launch this thing is. And I’m trying to figure out its top speed. And I’ve got a bag of relationships I know are battle-tested. So all I have to do now is start finding relationships that depend on stuff I know to get me stuff I don’t know. And if I can link them together like a Rube Goldberg machine, I can figure out something I didn’t know using this one relationship, which is handy because this other relationship I’d quite like to use needed that thing I didn’t know before but do now.

    And so I can work through a chain of relating things to things until I can get to the point where I have enough to use one of the relationships I do know that predicts speed. And once I’ve got that, I’m done! I trust the relationships I’ve used, presumably I used them properly and didn’t make any dumb mistakes, and so I followed a chain of things I knew, through tools that used those things, to tools that used the things the other tools produced, until I found a path to my goal.

    The only thing stopping you from there is the complexity of the relationship, the accuracy of the relationship to the real situation, and how accurately you can measure the things you know.