onlinepersona

joined 2 years ago
MODERATOR OF
[–] onlinepersona@programming.dev 14 points 1 day ago* (last edited 1 day ago) (3 children)

Are you trolling or is this the first time asking for help?

Imagine if someone told you their car didn't work, you asked what they did, and they said "turned the key in the ignition twice and it doesn't start". ? No make, no model, no description of sound or recording of the action, no idea when they got the car checked, no photo of the warning lights, nothing. Would that be enough information for you to help?

As @just_another_person@lemmy.world said: post configs! What is your OS, what commands did you enter, what are the contents of your yml files, which containers are running, which images are you using, etc. Nobody can help you otherwise.

Add the information to the original post.

Anti Commercial-AI license

[–] onlinepersona@programming.dev 3 points 1 day ago* (last edited 1 day ago)

Only one I found mentioning European on alternative to.net was N-26? Maybe try that one out?

European-alternatives.eu doesn't have a "banking" category).

Anti Commercial-AI license

[–] onlinepersona@programming.dev 2 points 1 day ago* (last edited 1 day ago)

It's nice that separate solutions exist but noone is going to understand what's going on, what version control is, what pinning is, and so on. And even if they did, finding separate solutions for them is a pain. An all in one solution would be the best.

Anti Commercial-AI license

[–] onlinepersona@programming.dev 6 points 1 day ago* (last edited 1 day ago) (2 children)

Only 5 hours? That's quite fast! It took me years to configure my NixOS system. It's not even complete yet. It would be great if there were a GUI that took care of the entire thing, could lock dependencies (no, not flakes), add it to version control with signed commits and secrets, and the configuration could be shared across devices. That's all possible with manual labor but having that out of the box for GUI users would be amazing.

Anyway, I feel this post too much 😅

Anti Commercial-AI license

[–] onlinepersona@programming.dev 6 points 1 day ago* (last edited 1 day ago) (5 children)

Yeah dude, just pay and give up your autonomy. It's way better!

Anti Commercial-AI license

"I wrote an email to Google to say, 'you have access to my computer, is that right?'", he added.

The tech giant confirmed it had not.

Either he emailed it or put it on his google drive. That or somebody else did.

Anti Commercial-AI license

It's up to the community to make these games go viral. Most games in my library were under 15€ on sale and I don't think I have a single "AAA" title in there. They are just pricey, require expensive hardware and are most likely all hype. It shouldn't have been a surprise that most players can't afford that shit.

To me, this list is just yet another confirmation that game media like the one you mentioned is just paid and unoriginal. They ride a wave to get clicks, that's it.

Anti Commercial-AI license

It's about memory management.

In programming terms: allocated memory has to have the data in it that you expect in order for your program to work. The unsafe languages do it by manually ensuring it's good and doing so mostly at runtime, or just assume the data is valid and write code that looks valid and have somebody check it before the program runs, or do a mix thereof. In all cases, it require a lot of human intervention and because humans are fallible with different skill levels, this fail quite often.

Safe languages are either built on top of unsafe languages that are battle tested and do lots of runtime checks behind the scenes (interpreted languages like python, ruby, javascript, etc.). Then there are languages that check actions at compile time like Rust. They tell you that the memory you're trying to access can be modified by another part of the code, which might make unexpected changes and that in order to access it, certain conditions have to be met.

In laymans terms: imagine you work at a storage facility (memory) and have to store and retrieve packages. To know where to store and retrieve them, you have a piece of paper with the aisle, shelf, and rack and position on the rack. That's your pointer. To store something, you have to make space on a rack and put the item there, write down the name of the item (variable) and location on a piece of paper (memory address), and keep it on you.

Imagine keeping all of that in order. You have to make sure you don't write down the wrong location (off by one error), remove a piece of paper then it's not valid anymore (dangling reference), remove a piece of paper without removing the item (memory leak), add a piece of paper pointing to something without actually checking what you expect to be there is there and then retrieve it later, and so many other things.
Those are the things unsafe languages allow you to do.

Safe languages either enforce that before doing certain things, you check stuff (runtime checks) or that before you even start doing anything, you plan how you would do, and that plan is checked.

The crazy storage facilities are what most of our world runs on at the moment and there a whole lot of people who love it because it's simple and they know it. "Just tell the intern to get that box there, I made sure it'll be fine. Trust me, I've been doing it this way for years." meanwhile somebody gets the wrong medicine because a piece of paper said another one was supposed to be on the shelf. There are a bunch of people who have thought about ways to improve it, implemented, tested it, and are using it to manage their storage facilities.

Anti Commercial-AI license

I wish we had community linux project or something similar which was funded by donations and hired kernel devs to work on things the community voted on

This is probably what I'm looking for. I wonder how we can get this started. "Linux Kernel Collective" where you can pledge money to the development of the kernel in general, a specific thing in the kernel, or a specific team - with or without stipulations i.e "I trust you, I just donate" and "please show proof e.g monthly reports".

Dunno what would need to be done to get that started, if it already exists, or whether something like OpenCollective could be a good starting point.

Anti Commercial-AI license

 

I think it's obvious (and has been) that the linux kernel needs more contributors and more maintainers to share the load*. The Linux Foundation spending 2% on kernel development in 2024 (page 18) does something but not nearly enough.

Is there a way that we as a community / third parties / non kernel devs can fund kernel developers and maybe even get a kernel maintainer in there? Maybe something already exists or do we have to start something ourselves?

*: Yes, I understand our overworked maintainer problem (being one of these people myself), but here we have people actually doing the work! - Greg KH

 

I've got 64 GB of RAM and would like to force cargo to dump build artifacts into it. So basically the target/ directory should end up there.

Unless I'm mistaken RAM is much faster than SSDs and since I do rebuild quite often, it would save some R/W cycles on my SSD and allow faster file access.

I do jot mind doing a full rebuild every morning

Solution:

These 2 comments gave me the best indication how to do it: cargo ramdisk and build.target-dir config options.

Would be great if cargo had a build.target-dir-prefix though. One could set and env var CARGO_TARGET_DIR_PREFIX and point it at /dev/shm or /tmp if it's a tmpfs and every rust project would have its artefacts end up in RAM.

 

How do admins feel about users requesting (or creating) communities on here for blogging purposes? For example /c/online persona or /c/online persona sibling or something similar.

I saw somebody talking about how they started doing that on another server and simply linking to it on reddit to get traction in the fediverse. It seems like a great idea to me. Blogs are shared quite often and them being on Lemmy allows for new entries to simply show up in the local feed. They can be easily crossposted and commented on in Lemmy and across the fediverse if I'm not mistaken.

The only problem I could see is are naming conflicts. For example if somebody reads this and immediately creates /c/onlinepersona to block me from creating that to force a report to the admins. Or the reverse, a user creating the name "programming-guides" to then claim a community with the same name.

Thoughts?

Anti Commercial-AI license

 

Every week or so there seems to be drama about some old dude shouting about how rust in the Linux kernel is bad. Given all the open hostility, is there easier way for R4L to continue their work?

 

I know little about gradle and have only just started exploring it, so this is just a question out of curiosity.

It's supposedly a language agnostic dependency manager and builder, yet it seems to have only found its niche in Java. C/C++ projects could definitely do with dependency resolution...

 

I've inherited a systemd service and it uses BindReadOnlyPaths to make certain paths available to the service (doc)

A bind mount makes a particular file or directory available at an additional place in the unit's view of the file system. Any bind mounts created with this option are specific to the unit, and are not visible in the host's mount table.

The service is running using a specific user and I would like the user to access those read-only paths outside of the service. Is there an possibility within systemd that would allow me to do that?

Edit: solved it with a systemd bind mount

 

IRL, I once listed my favorite bands across metal, rock, hip-hop, electronic, and drum n bass and was hit with "that's standard programmer music".

As someone with little physical human contact outside of work and actually meeting devs outside to find out they listen to the same music was a little surprising. That was a tiny sample though and this is the web though and people are from all over, what kind of stuff do you listen to? Favorite genres, artists, or just "everything" even noise?

 

The device with I2P is behind a NAT router without UPnP. The device has a firewall but has opened the UDP and TCP port for internet facing communication. The ports from the router are forward to the device's ports. Are there any ports missing?

Edit: I finally figured it out. The port forwarding was only for TCP. It would be good to have logs or some kind of status window stating why it thinks it's firewalled though.

Anti Commercial-AI license

 

addition to the USB updates and big staging flush merged yesterday for the Linux 6.13 kernel merge window, the "char/misc" pull was also honored for that catch-all of various kernel changes. With the char/misc pull there are some notable additions for those wanting to write kernel drivers within the Rust programming language.

 

They slowly started locking down the platform for people without accounts and it has been really annoying to use the website since. First it was not possible to search for code, then even searching for issues got more and more difficult with it randomly failing, and now it's gotten to the point where I can't search for a fucking project anymore!

Github's search is becoming as bad as reddit's, where if you want to find anything, a secondary service like SourceGraph, GrepApp, or even a dumb search engine is better. Sometimes those haven't indexed what I need (especially code search), so I have to download the bloody tarball and rg for whatever the fuck it is I was looking for. Sometimes it will also block the VPN I'm using, so I have to proxy to a non-VPNed machine. The world could do without these unnecessary roadblocks.

What also grinds my gears is requiring an account to contribute. There is no way to send in a patch, raise an issue, or anything without an account there, so by if a project being on github, you have no choice but to give Microsoft your data to participate in opensource. Don't get me wrong, mailing-lists are filth, but and I'd rather claw my eyes out than participate in any project demanding their use, but Microsoft being the "lesser evil" is not a good look.

Please, for the love of opensource, get your project off of github, please. It's a monopoly at this point and doing microsoft things. This isn't the end and they'll probably do more stuff to see how far they can push it. We'll all be the boiled frogs.

Yes, I know they have a CI and some other features, but if all you're doing is hosting your code, please consider an alternative.

Possible alternatives in alphabetic order:

  • Codeberg (could have federation in the future)
  • Gitlab (has CI)
  • ~~OneDev (no git SSH clone but feature-rich)~~ not an instance for the public
  • Radicle (no CI, but federated)
  • Sourcehut (minimalist, but fast as fuck)

or maybe others will suggest more.

view more: next ›