onlinepersona

joined 2 years ago
MODERATOR OF
[–] onlinepersona 2 points 42 minutes ago* (last edited 41 minutes ago)

Phoronix comments really are a battlefield for rust vs C. The seaheads just can't accept rust is safer and will moan about the borrow checker telling them they are doing something unsafe. Probably the same people would argue static typing is better then dynamic typing, but can't seem to see the parallels between safety guarantees at compilation time vs checking at runtime. Impressive.

More to zlib-rs: good job! RiR without bothering people is great. Just do it.

Anti Commercial-AI license

[–] onlinepersona 2 points 4 hours ago (1 children)

Nextcloud vs Nextcloud Hub, what's the difference?

Anti Commercial-AI license

[–] onlinepersona 17 points 5 hours ago* (last edited 1 hour ago) (2 children)

Their military says they need it and it shouldn't be backdoored while the justice minister thinks he understands more about security and wants it backdoored. Glorious

Anti Commercial-AI license

[–] onlinepersona 1 points 14 hours ago* (last edited 14 hours ago)

So Facebook has to be sued in the Netherlands for it to succeed 👌 If somebody goes through with it, that would be a great popcorn moment.

Anti Commercial-AI license

[–] onlinepersona 4 points 1 day ago* (last edited 14 hours ago)

It's called Web Monetisation. It's a standard that's in development. In short, you, the user, can donate/pay money on any website that follows the standard. No patreon, no PayPal, no VISA, no yada yada.

Setup: You install an extension or use a compatible browser, create a wallet with a web payment provider, login / connect with the extension / browser.

Example operation: while browsing you happen upon a website (Lemmy.world for example) or web page (tilvids.com/u/thelinuxexperiment or one of the video pages), the "tip" button is made available, you hit it and 1£ is queued to be sent to the website or person on the webpage. At your leisure, you accept the transaction.

This can be implemented any number of ways e.g statistics are collected (locally) about which websites you visited with web monetisation active, at the end of the month, you are shown a breakdown of that activity. Say 10% peertube, 30% Lemmy, 40% mastodon, and a smattering of other softwares. You say "I want 10£ to be split across the different softwares with a minimum of 1£ per transaction". Or anything else you can come up with.

That's it. The website operator doesn't need you to have PayPal, or patreon, or some special bank. You have a " wallet", you decide how the money is transfered and to whom, and you're done.

Anti Commercial-AI license

[–] onlinepersona 6 points 2 days ago

Thanks. I'll have a look at this!

Anti Commercial-AI license

[–] onlinepersona 1 points 2 days ago

Host forgejo on I2P or use radicle. Then you'll be safe from this shit

Anti Commercial-AI license

[–] onlinepersona 45 points 2 days ago* (last edited 2 days ago) (6 children)

The signal community should band together and write a signal client that doesn't use the waste of space called electron. There is a rust library for signal and slint for cross platform UIs. Slint is even working (slowly) on mobile targets

Anti Commercial-AI license

[–] onlinepersona 1 points 3 days ago* (last edited 3 days ago)

I'm pointing out that appealing to popularity is a fallacy. Also, humans can eat at Joe's too. Being a fly is not a prerequisite.

Anti Commercial-AI license

[–] onlinepersona 1 points 3 days ago (2 children)

And then of course, if people are already there, why not chat on Telegram?

"Go eat at Joe's, 10 million flies can't be wrong"

[–] onlinepersona 16 points 3 days ago* (last edited 3 days 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 @[email protected] 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 3 points 4 days ago* (last edited 4 days 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

 

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

24
submitted 1 week ago* (last edited 1 week ago) by onlinepersona to c/rust
 

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.

11
submitted 1 week ago* (last edited 1 week ago) by onlinepersona to c/meta
 

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.

449
submitted 1 month ago* (last edited 1 month ago) by onlinepersona to c/programming
 

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 ›