• 1 Post
  • 61 Comments
Joined 1 year ago
cake
Cake day: January 19th, 2024

help-circle
  • I don’t know why that comment is collecting downvotes. They are referencing George Orwell’s “Animal Farm.”

    Context: “Animal Farm” is a story about how communism can devolve into dictatorship. In the story, the animals on a farm drive out their tyrannical drunkard farmer. They write on the barn wall: “all animals are equal” and live in communist utopia. But some animals, too, hunger for power and status. Rather than overturn the system, they undermine it by adding “…but some animals are more equal than others” to the barn wall, legitimizing a ruling class (themselves) because they are “more equal.”


  • I think you’re mistaken there.

    Wine is a vanilla Linux executable that runs as the user who launched it. The Windows program it runs thus also runs under that user. That’s possible because Wine doesn’t do anything system-wide (like intercepting calls or anything), it already gave the process its own version of i.e. LoadLibrary() (the Windows API function to load a DLL) and can happily remap any loaded DLL to Wine’s reimplementation of said DLL as needed.

    Here are, for example, the processes created when I run Paint Shop Pro on my system (the leftmost column indicates the user each process is running as): Processes running after launching a Windows executable via Wine

    Also, some advice from WineHQ: WineHQ warning never to run Wine as root


  • After reading, the gist of it seems to be:

    • Vanilla far-right indoctrinated dumbo (his vision: “Reds” welcome, “Blues” not, “Anti-Blue Propaganda” on public view screens)
    • Wants exploitative capitalism on steroids with companies controlling everyone’s lives completely
    • Claims current capitalism is only bad because it’s “woke capitalism” which he claims the “ruling class” is pushing
    • Wants tech bros to butter up police and give security staff jobs to their children as a favor, i.e. intentional social classism

    .

    In short, just another out of touch entrepreneur who sells snake oil cures to people suffering in the current system, so that they may invite in the boot that stomps them down for good.




  • That’s what I meant when I wrote “Git submodules can only point to a whole different repository” - they can’t point to a path inside a repository, only to another repository root. That unfortunately renders them useless for me (I’d have to set up in the order of hundreds of small repositories for the sets of shared data I have).


  • cygon@lemmy.worldOPtoSelfhosted@lemmy.worldGitHub-like WebUI for Subversion
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    10 months ago

    I’m already using Git for source code related versioning, but some use cases involving large binary files with partial updates aren’t well covered by Git (I’ve gone into some detail in my reply to @vvv@programming.dev).

    There’s also the lack of svn:externals in Git. Git submodules can only point to a whole different repository as far as I’m aware.


  • I’m already using Git, thus my experience with Gitea. I am well versed with svndumpfilter and git-svn to extract and migrate individual Subversion repositories to Git.

    I’m not only hosting code, but I have several projects involving large binary files with binary changes. Git’s delta compression algorithm for binary files is so-so. Git LFS is just outsourcing the problem. Even cloning with --depth 1 --single-branch gives me abysmal performance compared to Subversion.

    So I’m still looking for a nice WebUI to make my life with the Subversion repositories I have easier.




  • There’s a hard sci-fi novel (1970s or 1980s) called “Tau Zero” that features this idea.

    Book summary (spoils all of it)

    A colony ship with a Bussard Ramjet on each end (debunked theoretical spaceship drive that uses interstellar hydrogen for propulsion, i.e. the faster you go, the more medium you hit and the harder you accelerate) suffers an accident that destroys the deceleration engine. They keep accelerating because they need the engine’s magnetic field to protect them from interstellar dust. First they try reach the void between galaxies to safely repair the ship, when the interstellar medium is still too “dense,” they go for the void between galaxy clusters, then superclusters, then they just stay on the throttle until the big crunch, at which point, in the nothingness after the universe collapsed in on itself, they can finally fix their ship and begin decelerating into the bounce-back big bang of the forming next universe and colonize a planet.


  • Reading that formed an interesting question in my (also non-physicist) mind:

    If we can, at most, take advantage of relativity to slow down our own time frame, then time could just be our way to describe the pace of how space changes around us following simple causality.

    But if, on the other hand, it is possible to move backwards through time, wouldn’t the universe have to necessarily exist not only as a giant block of eternally changing 3D space, but as a giant block of 4D spacetime one could move around in? And would that mean predetermined past and future, or would that 4D block of spacetime change, too, advancing through meta-time, continually changing future and past of the universe?

    ScienceClic has a cool video, stipulating that we live in 4D spacetime and are bound to always move forward at light speed. If we stand still in 3D space, we move forwards in time at light speed. If we accelerate in 3D space, we change out motion vector from only pointing forwards in time to pointing slightly sideways (up to completely sideways, i.e. time stops, if we were able to move at light speed). But there may be now way to do a 180 involving the time axis like we could do involving the other 3 axes.


  • When you have a bunch of computers networked, each of them is assigned a unique number, so when other computers send data on the wire, they can say who it is meant for (imagine each blurb of data starting out like: “yo, I’m sending these next 500 bytes for computer 0A123FBC32, here they come”).

    Now the right computer will listen, but it doesn’t know what program the data is for - is it a chunk of a file your browser is downloading? Or the email your email app wants to display? Or perhaps a join request from your buddy’s computer for the Minecraft game you’re hosting?

    So in addition to the unique number of the target computer, the data also specifies a “port number”, which tells the computer which of its running programs the data is meant for (programs ask the computer’s operating system: “if any network data arrives on port XY, give it to me”). Some ports have become standards - for example, a program that serves web pages to other computers would typically ask the operating system that any data arriving on the computer that indicates port numbers 80 and 443 should be given to it, and when a web browser wants to fetch a web page, it will send a request to the computer serving the page, defaulting to port 80 o 443.

    If you dig deeper, you’ll find that there are even more unique numbers involved and routers/firewalls let data through not only by port number but also by distinguishing between data that is the initial request to another computer’s port number and data that is an answer to an earlier seen request – and more.


  • That’s how the Earth got destroyed in “The Forge of God.” :)

    Plot (spoils about 50% of the book)

    A hostile alien probe discovers Earth, builds/grows three wildly different alien races, has them crash one each in the world’s three largest superpowers (one claiming to bring knowledge, one warning of an impending attack, one claiming to seek conquest), while robot ships plant explosives along the Mariana trench, but the primary attack is two singularities, circling earth in a decaying orbit, by the time anyone even begins to theorize about the cause of the anomalous gravity measurements across the world, both are already circling deep under Earth’s crust.


  • I love that example. Microsoft’s Copilot (based on GTP-4) immediately doesn’t disappoint:

    Microsoft Copilot: Two pounds of feathers and a pound of lead both weigh the same: two pounds. The difference lies in the material—feathers are much lighter and less dense than lead. However, when it comes to weight, they balance out equally.

    It’s annoying that for many things, like basic programming tasks, it manages to generate reasonable output that is good enough to goat people into trusting it, yet hallucinates very obviously wrong stuff or follows completely insane approaches on anything off the beaten path. Every other day, I have to spend an hour to justify to a coworker why I wrote code this way when the AI has given him another “great” suggestion, like opening a hidden window with an UI control to query a database instead of going through our ORM.


  • I assume that Twitter still has tons of managers and team leads that allowed this and have their own part of the responsibility. However, Musk is known to be a choleric with a mercurial temper, someone who makes grand public announcements and then pushes his companies to release stuff that isn’t nearly ready for production. Often it’s “do or get fired”.

    So… an unshackled AI generating official posts, no human hired to curate the front page, headlines controlled through up-voting by trolls and foreign influence campaigns, all running unchecked in the name of “free speech” – that’s very much on brand for a Musk-run business, I’d say.


  • Linux Unix since 1979: upon booting, the kernel shall run a single “init” process with unlimited permissions. Said process should be as small and simple as humanly possible and its only duty will be to spawn other, more restricted processes.

    Linux since 2010: let’s write an enormous, complex system(d) that does everything from launching processes to maintaining user login sessions to DNS caching to device mounting to running daemons and monitoring daemons. All we need to do is write flawless code with no security issues.

    Linux since 2015: We should patch unrelated packages so they send notifications to our humongous system manager whether they’re still running properly. It’s totally fine to make a bridge from a process that accepts data from outside before even logging in and our absolutely secure system manager.

    Excuse the cheap systemd trolling, yes, it is actually splitting into several, less-privileged processes, but I do consider the entire design unsound. Not least because it creates a single, large provider of connection points that becomes ever more difficult to replace or create alternatives to (similarly to web standard if only a single browser implementation existed).




  • Regarding the “novelty wears off” thing, another side: I’ve been running for two decades, starting from a sedentary lifestyle, but it only became fun later on. I started running shortly after a friend, probably out of some youthful ambition or inferiority complex, so I ran alone and picked routes where as few people as possible would see me struggle. I don’t know why I didn’t drop it like so many other things, but I learned to yearn for it and it’s part of my identity now.


  • Yes, in various ways.

    One part is immediate. When I’m nervous or keep worrying about something, going for a run almost certainly resets my flow of thoughts. It also burns off most of the tension, at least I have a much easier time relaxing after a workout.

    The other part is more long-term. Despite many, many years of running, it merely helped keep my weight in check rather than give me a dream body, but it seems to have changed my thinking a bit – not like some motivation guru’s story where someone forces themselves through hardship to develop a warrior mentality stuff, though. It’s more like becoming aware, long after the change happened, that, woah, I may have skills now.

    As in, there is no mental talk-back or willpower needed for me to run up a steep mountain trail in my area, the gist is more: no question that I can do it, it will be cool to experience it again. For a long time, I wasn’t even aware that it’s not always been that way. It also doesn’t seem to rub off on other areas of life like one would hope, but just having proof in myself that I may have built up to something is a small confidence booster.