That sounds like a command that could work, sudo KUUUUUUUUUU, the more Us the slower it details the important files being deleted, without allowing you to cancel the command
To be fair: snaps can work for all kinds of things all over the stack from the kernel to individual applications, while flatpak just does applications. Canonical is building a lot around those abilities to handle lower level things, so I guess it makes sense for them.
IMHO flatpak does the applications better and more reliably and those are what I personally care for, so I personally stay away from snaps.
There’s a guy out there who made a reversible NES emulator, meaning it can run games backwards and come to the correct state. He made a brilliant post on Reddit /r/programming linking his ideas for the emulator to quantum mechanics.
Then he was asked why he didn’t distribute his program in git. He said that he didn’t know git.
To me, that’s a pretty good example of the difference between computer science and software engineering.
In internet terms: It’s just a soyjak holding a box with data who is pointing at another soyjak holding a box with data who is pointing at another {insert N-3 of the same soyjaks} soyjak with a box with data without an arm to point with
each commit points to the one before. additionally a commit stores which lines in which files changed compared to the previous commit. a branch points to a particular commit.
As one of the very likely commenters that falls into this i’m sorry, but fuck the reddit administration, i left them nothing. Hopefully you might find an archived version of the answer.
When I was a kid I pressed the “return coin” button on a vending machine at a rest stop and 50¢ came out. Gotta check every single vending machine now.
I have a love/hate relationship with docker. On one side it’s convenient to have a single line start for your services. On the other side as a self-hoster it made some developers rely only on docker meaning that deploying the stack from source is just an undocumented mess.
Also following the log4j vulnerability I tend to prioritize building from source as some docker package were updated far later than the source code was.
I love Docker because it is the only sane method to selfhost shit with my Synology NAS, and I love my Synology NAS because it is the only Linux interaction that I have (from my old MacBook Pro).
The Dockerfile is essentially the instructions for deploying from scratch. Sure, they most likely only exist for one distro but adapting isn’t a huge chore.
You can also clone the repo and build the container yourself. If you want to update say, log4j, and then attempt to build it, that’s still entirely possible and easier than from scratch considering the build environment is consistent.
If I’m updating the source code already I might as well build my service from it, I really don’t see how building a docker container afterward makes it easier considering the update can also break compatibility with the docker environment.
Also adapting can be a pita when the package is built around a really specific environment. Like if I see that the dockerfile installs a MySQL database can I instead connect it to my PostgreSQL database or is it completely not compatible? That’s not really something the dockerfile would tell me.
I really don’t see how building a docker container afterward makes it easier
What it’s supposed to make easier is both sandboxing and reuse / deployment. For example, Docker + Traefik makes some tasks so incredibly easy and secure compared to running them on bare metal. Or if you need to spin up multiple instances, they can be created and destroyed in seconds. Without the container, this just isn’t feasible.
The dockerfile uses MySQL because it works. If you want to know if the core service works with PostgreSQL, that’s not really on the guy who wrote the dockerfile, that’s on the application maintainer. Read the docs, do some testing, create your own container using its own PostgreSQL or connecting to an external database if that suits your needs better.
Once again the flexibility of bind mounts means you could often drop that external database right on top of the one in the container. That’s the real beauty of Docker IMO, being able to slot the containers into your system seamlessly due to the mount system.
adapting can be a pita when the package is built around a really specific environment
That’s the great thing about Docker, it lets you bring that really specific environment anywhere and in an incredibly lightweight manner compared to the old days of heavyweight VMs. I’ve even got Docker containers running on a Raspberry Pi B+ that otherwise is so old that it would be nearly impossible to install the libraries required to run modern software.
Also I created this repo to create a reproducible sec environment for myself. I added other languages, but personally work mostly with python. It is basically resonating for handling all the boiler plate:
For packaging in docker I started to use nix2container project as it gives me a greater control over layers. So for example when I package my phyton app I typically use 3 layers:
python and it’s dependencies
my application dependencies
my application, which is very tiny compared to other two, so there is great reuse of the layers
The algorithm mentioned in the video also helps a lot with reuse, but the above is more optimized by frequency of how things typically change.
BTW: today I discovered this github.com/astro/microvm.nix I haven’t play with it yet, but in theory it would let me generate a microvm image (in similar fashion to generate a docker container) which would let me to run my app natively as a tiny VM on EC2 for example, and use only minimum necessary of a typical OS to run it.
@Prunebutt meant 4.5! and not 4.5. Because it’s not an integer we have to use the gamma function, the extension of the factorial function to get the actual mean between 1 and 9 => 4.5! = 52.3428 which looks about right 🤣
I think you got hit hard by Poe’s Law here. Except it’s more like people couldn’t tell if you were jokingly or genuinely getting your math wrong… Even after you explained you were joking lol
If one doesn’t realize you’re op, the entire thing can be interpreted very differently.
Then “Not sure if sarcastic and woosh, or adding to the joke ಠ_ಠ” could be interpreted as something like “I’m not sure if you are adding to the joke and I’m not understanding it”.
🤣 I wasn’t even sure if I should post it on lemmy. I mainly wrote it so I can post it under other peoples posts that actually are intended to artificially create drama to hopefully show enough people what the actual problems are with those puzzles.
But I probably am a fool and this is not going anywhere because most people won’t read a 30min article about those math problems :-)
Aaron would be appalled at the state of the world of today if he, like so many brave, selfless defenders of human rights, hadn’t been murdered by the capitalist cadres of yesterday.
Yes. He also helped create RSS which is basically where content needs to be moving. He had exactly the same principles in mind as Lemmy/Mastodon creators and would have been a vocal opponent of what Reddit became. I mean, perhaps he could have eventually been corrupted, but judging by his record of hacktivism, he probably would have become a “problem” for the powers that seek to control/centralize, advertise to, and study our browsing habits.
Considering it uses day then month, 24hr clock, and distance in km, I’m guessing the reason why it’s not “human readable in American” is because it’s intended to be “human readable for pretty much everybody else”
I once worked in a software shop where all release packages had the Unix epoch timestamp in the filename. Yes, these sorted brilliantly making it trivial to find the last one. But good luck finding a build from a specific date/time.
Call them on the telephone, and tell a human you would like to make a reservation. Telephone voice calls still work at every restaurant in my region. Also, get this, you can place take out orders that way at most places! It’s an amazing technology!
even worse is any deals are on downloaded apps. F that. The only good effect for me with that is its an effective way to identify and avoid corporate type institutions as they are top in using it.
You should vocalize it to the owner (or at least management) if you can. You’d be surprised what comes of it.
I did this once with a restaurant/bar owner, and she was very understanding. Once I took the time to explain how I didn’t wanna be subjected to everything that a setup like that brings, she empathized and actually got a standalone website.
Many people aren’t aware until you make em aware. And whether they feel the same or not from a consumer standpoint, at least they’ll know that there’s people out there who do care, and it affects business. And usually, if it affects business, it doesn’t matter what their personal feelings towards it are. A good business owner will be sure to adjust because they learned something new about the market.
programming.dev
Top