programming.dev

8,997 readers
305 users here now

Welcome Programmers!

programming.dev is a collection of programming communities and other topics relevant to software engineers, hackers, roboticists, hardware and software enthusiasts, and more.

The site is primarily english with some communities in other languages. We are connected to many other sites using the activitypub protocol that you can view posts from in the "all" tab while the "local" tab shows posts on our site.


🔗 Site with links to all relevant programming.dev sites

🟩 Not a fan of the default UI? We have alternate frontends we host that you can view the same content from

ℹ️ We have a wiki site that communities can host documents on


⚖️ All users are expected to follow our Code of Conduct and the other various documents on our legal site

❤️ The site is run by a team of volunteers. If youre interested in donating to help fund things such as server costs you can do so here

💬 We have a microblog site aimed towards programmers available at https://bytes.programming.dev

🛠️ We have a forgejo instance for hosting git repositories relating to our site and the fediverse. If you have a project that relates and follows our Code of Conduct feel free to host it there and if you have ideas for things to improve our sites feel free to create issues in the relevant repositories. To go along with the instance we also have a site for sharing small code snippets that might be too small for their own repository.

🌲 We have a discord server and a matrix space for chatting with other members of the community. These are bridged to each other (so you can interact with people using matrix from discord and vice versa.

Fediseer


founded 1 year ago
ADMINS

Some communities may be broken while we work on fixes

1
2
 
 
3
4
7
Day 5 - More or less… (linuxupskillchallenge.org)
submitted 9 hours ago by livialima to c/linuxupskillchallenge
5
6
 
 

cross-posted from: https://feddit.nl/post/23557305

Allow me to spread the word about ListenBrainz, the occasion being that ListenBrainz now stores over 1 billion entries of listening data from it's users. ListenBrainz is a FOSS project that aims to crowdsource listening data and release it under an open license. Basically it’s Last.fm but better.

Whatever you use to listen to music, you can probably link it up with ListenBrainz. For instance you can connect Spotify, Apple Music, Soundcloud, Last.fm. You can link it up with loads of music players. If you’ve kept track of your what music you’ve listened to up to this point, don’t worry, there are several ways to import them into ListenBrainz.

All ListenBrainz listening data is available for all to use. This means that we don't need to rely on big companies like Spotify for recommendation algorithms. We can use whatever algorithm suits us best. All sorts of other services could be build to make use of the ListenBrainz data set. The dataset can also help analyze other services' algorithms, for instance the Fair MusE project uses LB-data and LB-users to investigate the fairness of different music service algorithms.

Obviously ListenBrainz initially suffered from being a comparatively small service, For good recommendations you need loads of data. But it's growing every day and I feel like the 1 billion listens is an impressive milestone. And ListenBrainz has the advantage of having listening data from several services, Spotify could never recommend you music that's not on Spotify. ListenBrainz, because it's open, doesn't have such inherent blindspots.

I am not working for ListenBrainz in any way, I just really like this project as well as MusicBrainz, and I like to spread the word. I think the aims of the ListenBrainz probably align with some Fediverse-folks. If you don't care about the service itself, you could still link up to support FOSS music services, not only LB itself, but other services that are, can and will be built using LB's data. If you use another service to store your own listening data, for instance Last.fm, you could use ListenBrainz as a backup for you data in case the other sevice ever enshittifies. Note: you shouldn't sign up if you want your listening data to be private, that's not what LB is for. I care very much about privacy, but in the case of LB I consciously choose to share my music listening data with others for my own benefit.

Curious to hear peoples thought on all this.

7
 
 

Changing administrations adds to tension.

8
50
LICENSE.TXT (www.youtube.com)
submitted 13 hours ago by [email protected] to c/programmer_humor
9
 
 

But both fall far behind sales of Nvidia's AI GPUs.

10
 
 

Desperate times call for desperate measures

11
11
submitted 13 hours ago by snaggen to c/rust
12
13
 
 

These ultra-small 3D transistors come with 6-nanometer-wide vertical nanowires, marking a new milestone in nanoscale technology.

14
 
 

Thanks to demand from the AI industry.

15
 
 

TSMC is thought to be the last of the big three to get a High NA EUV machine from ASML.

16
 
 

To take advantage of Foxconn's knowledge of Nvidia-based machines.

17
 
 

The T6EN drives have varying storage capacities and three interface options.

18
 
 

Maybe we should have switched to C#, @flutter, or @slint, instead of porting from #Qt5 to #Qt6.

@qt

#Programming #CPlusPlus #Sigh

19
 
 

SK hynix touts a 32% performance increment in inference vs its 12-Hi offerings.

20
 
 

Still unannounced: the Switch successor itself.

21
 
 

Jensen Huang was apparently not interested

22
 
 

Hi everyone! I want to be able to access a (fuse-type) cloud drive mounted inside a container as the binary is proprietary and I do not want to mount it on the host for security and privacy purposes. I have tried to quickly spin a podman container and bind the folder that corresponds with the drive with the rshared flag but the folder appears to be empty on the host while inside the container it works just fine.

I am running the following commands:

$ podman unshare mount --make-shared --bind /clouddrive /clouddrive
$ podman run -i -t --cap-add=sys_admin --network host \
	--security-opt label=type:container_runtime_t \
	-v /cloudbinary:/bin/cloudbinary:ro \
	-v /clouddrive:/clouddrive:shared \
	--device /dev/fuse:/dev/fuse \
	-v /bin:/bin:ro \
	-v /lib64:/lib64:ro \
	--privileged --name=name image /bin/bash

Inside the rootless container I run:

# cloudbinary login username
<enter password>
<successful login>
# ls /clouddrive
file1 file2 file3

But on the host /clouddrive is empty:

$ ls /clouddrive
<nothing>

Running findmnt -o TARGET,PROPAGATION /clouddrive inside the container yields:

TARGET      PROPAGATION
/clouddrive shared,slave

Running findmnt -o TARGET,PROPAGATION /clouddrive on the host yields:

TARGET      PROPAGATION
/clouddrive shared,slave

I have almost no prior experience with podman but I read something about how a rootless container might not work because the user and group owning the folder is not the right one. Does anybody have an idea on how to fix this? Thank you.

Update: It seems the cloud binary is unmounting any drive with the same name at startup and mounting it's own drive. Would that be a problem? Running findmnt still shows shared but the slave label has disappeared after the binary mounts it's own drive. Is there anyway to "reshare" it at runtime/dynamically?

23
 
 

What are your experiences with @postgresql jsonb columns as document store?

Is it easy to use from a Spring App? How fast is it? What are its limitations?

#postgresql #json #databases

24
103
submitted 1 day ago by Spyros to c/linux
 
 

IT'S HERE!

25
 
 

So I'm no expert, but I have been a hobbyist C and Rust dev for a while now, and I've installed tons of programs from GitHub and whatnot that required manual compilation or other hoops to jump through, but I am constantly befuddled installing python apps. They seem to always need a very specific (often outdated) version of python, require a bunch of venv nonsense, googling gives tons of outdated info that no longer works, and generally seem incredibly not portable. As someone who doesn't work in python, it seems more obtuse than any other language's ecosystem. Why is it like this?

view more: next ›