onlinepersona

@onlinepersona@programming.dev

This profile is from a federated server and may be incomplete. Browse more on the original instance.

onlinepersona,

The solution is simple: don’t give kids money 🤷

CC BY-NC-SA 4.0

onlinepersona,

Best thing to do is wipe the floor without a skin but with others then call them “shiny” or “blingy” or something to make fun of decked out players with no skill.

CC BY-NC-SA 4.0

onlinepersona,

You betcha

CC BY-NC-SA 4.0

onlinepersona, (edited )

Windows 11

RIP the 50Wh battery 😂

CC BY-NC-SA 4.0

onlinepersona, (edited )

A free product you pay for when you buy your graphics card?

Edit: oooh, I completely mistook the products. nvm

CC BY-NC-SA 4.0

onlinepersona,

Promised opensuse support? Should’ve known that was lie. Nobody uses that.

CC BY-NC-SA 4.0

onlinepersona,

Wasn’t it just released or something? It’ll be there on the next release. Maybe…

CC BY-NC-SA 4.0

onlinepersona,

But the most exciting part? We’ve embraced the power of the fediverse! Comments on our blog posts can now be posted and shared across different platforms, fostering a lively and open discussion space.

… how?

CC BY-NC-SA 4.0

onlinepersona,

Thanks for the information! I guess I’ll have to wait until Lemmy supports it.

CC BY-NC-SA 4.0

onlinepersona,

Leaders in Industry Support White House Call to Address Root Cause of Many of the Worst Cyber Attacks

And it’s called C/C++. It’s gotten so bad that even the friggin’ white house has to make a press release about it. Think about it, the place where that majority barely even understand the difference between a file browser and a web browser is telling you to stop using C/C++. Hell, even the creator and maintainers of the language don’t know how to make it memory safe. If that isn’t a wake up call, then nothing ever will be.

And this isn’t the first call! The IEEE also says more clearly: GTFO C/C++.

If you want memory-safe, don’t write C/C++. Trying to get that shit memory-safe is a hassle and a half. You’re better off learning a language that isn’t full of foot-guns, gotchas, and undefined behavior.

CC BY-NC-SA 4.0

onlinepersona,

Very nice! I like the ecosystem y’all are building here.

CC BY-NC-SA 4.0

onlinepersona,

But won’t move anywhere else 🤷

CC BY-NC-SA 4.0

onlinepersona,

idgaf

onlinepersona,

I actually find it a bit funny that a single line at the end of comments sparks so much ire in some. So much so, that they feel compelled to take more time out of their day to write a message than it took to read the line, and hurl insults at me. Not my problem 🤷

Thank you for understanding🙏 Have a good one.

CC BY-NC-SA 4.0

onlinepersona,

Docker is one of the container technologies

Containers vs Images

This is a very simplified explanation, which hopefully clears up for you. As with all simplifications, they aren’t entirely correct.

Containers put processes, files, and networking into a space where they are secluded from the rest. You main OS is called the host and the container is called the guest. You can selectively share resources with the guest. To use an analogy, if you house were the computer with linux, if you took a room, put tools and resources for those tools into it, put workers into it, got them to start working and locked the door, they’d be contained in the room, unable to break out. If you want to give workers access to resources, you either a window, a corridor, or even a door depending on much access you want to give them.

Containers are created from an image. Think of it as the tools, resources, and configuration required every time you create a room in your house for workers to do a job. The woodworkers will need different tools and resources than say metalworkers.

Most images are stored on DockerHub. So when you do docker pull linuxserver/sonarr you download the image. When you do docker run linuxserver/sonarr you create a container from an image.

Installation

You’re on Cinnamon Mint which is linux distribution derived from another linux distribution called debian. You have to follow the installation instructions. Everything is there. If something doesn’t work, it’s most likely because you skipped a step. The most important ones are the post-installation steps:

  • Adding your user to the docker group
  • Logging out and back in (or simply restarting)

Those are the most commonly missed steps. I’ve fallen for this trap too!

Local help

To use linux, you need to learn about ways to help yourself or find help. On linux, most well-written programs print a help. Simply running the command without any arguments most often output a help text --> running docker does so. If they don’t, then the –help flag often does --> docker --help. The shorthand is -h --> docker -h.

Some commands have sub commands e.g docker run, docker image, docker ps, … . Those subcommands also take flags of which -h and –help are available.

The help output is often not extensive and programs often have a manual. To access it the command is man --> man find will output the manual for the find command. Docker doesn’t have a local manual but an online one.

For clarification when running a command there are different ways to interpret the text after the command:

Flags/Options

These are named parameters to the command. Some do not take input like -h and –help which are called flags. Some do like –file /etc/passwd and are often called options.

Arguments

These are unnamed parameters and each command interprets them differently. echo “hello world” --> echo is the command and “hello world” is the argument. Some commands can take multiple arguments

Running containers

Imperatively

As described above docker run linuxserver/sonarr runs an image in a container. However, it runs in the foreground (as opposed to the background in what is most often called a “daemon”). Starting in the foreground is most likely not how you want to run things as that means if you close your terminal, you end the process too. To run something in the background, you use docker run --detatch linuxserver/sonarr.

You can pass options like -v or –volume to make a file or folder from your host system available in the guest e.g -v /path/on/host:/tmp/path/in/guest. Or -p / –port to forward a host port to a guest port e.g -p 8080:80. That means if you access port 8080 on your host, the traffic will be forwarded to port 80 in the guest.

These are imperatives as in you command the computer to do a specific action. Run that docker image, stop that docker container, restart these containers, start a container with this port forward and that volume with this user …

Declaratively

If you don’t want to keep typing the same commands, you can declare everything about your containers up front. Their volumes, ports, environment variables, which image is used, which network card/interface they have access to, which other network they share with other containers, and so on.

This is done with docker-compose or docker compose for newer docker versions (not all operating systems have the new docker version).

This already a long text, so if you want to know more, the best resource is the docker compose manual and the compose file reference.


Hopefully this helped with the basics and understanding what you’re doing. There are probably great video resources out there that explain it more didactically than I do with steps you can follow along.

Good luck!

CC BY-NC-SA 4.0

Why is graphene os only available on google pixels?

I want to mainly use it for privacy over its “security”. I don’t know what makes everyone fine with running it on fucking google pixels. Is there some kind of “low security” version or something for other phones? I’m so tired of certain organizations infiltrating privacy communities and making people believe in...

onlinepersona,

Again, I’ve relocked multiple phones with custom ROMs. If you choose to believe everything you’re told, keep being blue eyed.

CC BY-NC-SA 4.0

onlinepersona,

It is indeed because of AI training, but it wasn’t prompted by reddit as I’ve been doing it for longer than the recent announcement. It was prompted by CoPilot (Microsoft/Github’s AI for coding). There’s an ongoing case about them using licensed, opensource code that hasn’t been settled yet.

CC BY-NC-SA 4.0

onlinepersona,

Linus simply isn’t the target audience for this phone. He says he’s onboard with their mission and everything, but then makes points that aren’t relevant to their mission. Also, if a company as dedicated to their mission as FairPhone (or so they claim, I haven’t personally checked) can make a phone like this, then probably the reason other companies make better phones is really because they don’t care about ethics and morals but cold hard cash.

CC BY-NC-SA 4.0

onlinepersona,

Which part of the video talks about the audiojack? I must’ve missed it.

CC BY-NC-SA 4.0

onlinepersona,

You got it! 👍

CC BY-NC-SA 4.0

onlinepersona,

The point is; he wants a Framework-like approach to modularity and feature set. That means a phone that’s good enough to actually holds its own without retreating to being “ethical” or “modular.”

Even Google failed at that and he’s expecting a cash-strapped startup to do so better and ethically at that too? He’s naive, ignorant, or both.

Fairphone is just the worst deal you can get even if you consider the ethical side of it.

It is not, if you buy a new phone. Then it’s ethically better to buy a FairPhone. If all companies were held to the ethical standards of FairPhone, then we could talk about performance, but if you care more about performance than ethics, that’s your deal.

CC BY-NC-SA 4.0

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • everett
  • rosin
  • Youngstown
  • InstantRegret
  • Durango
  • slotface
  • thenastyranch
  • khanakhh
  • kavyap
  • DreamBathrooms
  • tacticalgear
  • rhentai
  • normalnudes
  • HellsKitchen
  • magazineikmin
  • osvaldo12
  • mdbf
  • ethstaker
  • modclub
  • cubers
  • GTA5RPClips
  • Leos
  • lostlight
  • cisconetworking
  • tester
  • relationshipadvice
  • sketchdaily
  • All magazines