programming.dev

9,061 readers
287 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
154
submitted 2 hours ago* (last edited 1 hour ago) by [email protected] to c/programmer_humor
2
3
 
 

Welcome to a new era of interconnected content discussion with PieFed – a link aggregator, a forum, a hub of social interaction and information, built for the fediverse. Our focus is on individual control, safety, and decentralised power.


Like other platforms in the fediverse, we are a self-governed space for social link aggregation and conversation. We operate without the influence of corporate entities – ensuring that your experience is free of advertisements, invasive tracking, or secret algorithms. On our platform, content is grouped into communities, allowing you to engage with topics of interest and disregard the irrelevant ones. We utilise a voting system to highlight the best content.


Video introduction the codebase

4
5
6
 
 
7
27
On "Safe" C++ (izzys.casa)
submitted 13 hours ago by [email protected] to c/programming
 
 

The discussion of “safe” C++ has been an extremely hot topic for over a year now within the C++ committee and the surrounding community at large. This was mostly brought about as a result of article, after article, after article coming out from various consumer advocacy groups, corporations, and governments showing time and again that C++ and its lack of memory safety is causing an absolute fuckload of problems for people.

And unfortunately, this means that WG21, the C++ committee, has to take action because people are demanding it. Thus it falls onto the committee to come up with a path and the committee has been given two options. Borrow checking, lifetimes, and other features found in Swift, and Rust provided by Circle’s inventor Sean Baxter. Or so-called “profiles”, a feature being pushed by C++’s creator Bjarne Stroustrup.

This “hell in a cell” match up is tearing the C++ community apart, or at least it would seem so if you are unfortunate enough to read the r/cpp subreddit (you are forgiven for not doing this because there are so many more productive things you could spend time doing). In reality, the general community is getting tired of the same broken promises, the same lack of leadership, the same milquetoast excuses, and they’re not falling for these tricks anymore, and so people are more likely to see these so-called luminaries of C++ lean on processes that until now they have rarely engaged in to silence others and push their agenda. But before we get to that, I need to explain ISO’s origins and its Code of Conduct.

8
 
 

The petition is open to all EU resident. The goal is to replace all Windows in all public institution in Europe with a sovereign GNU/Linux.

If the petition is successful it would be a huge step forward for GNU/Linux adoption.

9
10
11
 
 

cross-posted from: https://lemmy.zip/post/26533086

Linux kernel 6.12 is one of the most significant releases of the year, delivering a feature nearly 20 years in the making: true real-time computing.

12
 
 

Mirror is an entirely new concept in programming — just supply function signatures and some input-output examples, and AI does the rest.

13
36
Is Python Really That Slow? (blog.miguelgrinberg.com)
submitted 2 days ago by norambna to c/python
14
 
 

Welcome to a new era of interconnected content discussion with PieFed – a link aggregator, a forum, a hub of social interaction and information, built for the fediverse. Our focus is on individual control, safety, and decentralised power.


Like other platforms in the fediverse, we are a self-governed space for social link aggregation and conversation. We operate without the influence of corporate entities – ensuring that your experience is free of advertisements, invasive tracking, or secret algorithms. On our platform, content is grouped into communities, allowing you to engage with topics of interest and disregard the irrelevant ones. We utilise a voting system to highlight the best content.


Video introduction the codebase

15
16
 
 

Spilled some tea on my keyboard today. Didn't think much of it it's just tea right? My A key started to get sticky. I tore down the keyboard, and found some water damage on the a and s keys.

The s key is still springy, and responds. But it has a blue green hue on the metal contact in the photo.

The a key still works, but is very soggy, and requires greater depression than before.

This is a kinesis gaming RGB keyboard. All of the switches are attached to a metal plate, so to replace a single switch I think I have to unsolder all of the switches so I can get the metal plate off. It's an interesting design

For the moment, I cleaned up 6 years of filth and dirt from the keyboard. Looks pretty clean now from my estimation. For the key itself, I got as much stuff out of it as possible. I soaked the a and s keys in 99% alcohol. And then smash the keys over and over and over and over and over again. Trying to wash the keys from the inside. Right now I have a fan pointed directly at the keys, trying to finish the dry out.

Anybody else have success in rescuing a cherry MX key switch? I'm not opposed to soldering on new key switches, but I don't want to have to solder 28 keys just to reach one

17
 
 

We have an app for our product that receives cable information via BLE and then saves it as a .csv file on the phone. The app is built with Flutter and generally works (on Android at least).

I'm having issues with permissions being reported as permanently denied by the permissions handler:

The permissions are granted according to the settings, but in the app this is never showing:

I'm launching the app via flutter in the terminal in xcode and it opens straight up. If I close it, the debugging session is closed and the app can not be opened again, which makes debugging this a nightmare.

I'm out of ideas and have already spent too much time trying to get an already functional app working in iOS. Is there anyone who can explain this to me or guide me in the right direction?

18
 
 

For context, "no hello website" is a term I'm using to describe websites like https://nohello.com. The gist is that it's trying to get people to no only say "hello" but also ask whatever it is they're trying to ask you about. (In my opinion, this can even extend to generic conversations, like "hey, how are you?" versus just "hey!")

The problem is, many of these websites seem pretty rude. At the end of the day, I don't think it's possible to make one not seem at least a little rude because telling someone not to say hello just sounds rude lol. That said, even my favorite one (https://nohello.club/) has phrases like

  1. Unnecessary pleasantries
  2. useless phrase like "Hello"

But I like it because it doesn't say things like this that the original http://nohello.com says

please be prepared to be ignored if you only say "Hello!".

Some context, I'm not necessarily looking to include this on any corporate messaging app bio (unless it was 100% polite, which as I said I don't find possible). But the closer to something that polite, the more useful I think it is.

19
20
 
 

cross-posted from: https://goblin.band/notes/a0t79m3yt7o92tbv

Itch.io Now has Generative AI Disclosure Tagging (and requires it for Assets)

Developer Update

Itch.io projects have a new "Generative AI disclosure" field. Projects that don't comply will no longer be indexed on Itch's browse pages after a grace period.

@[email protected]

#Itchio #GameDev #IndieGameDev

21
 
 

I have heard many times that if statements in shaders slow down the gpu massively. But I also heard that texture samples are very expensive.

Which one is more endurable? Which one is less impactful?

I am asking, because I need to decide on if I should multiply a value by 0, or put an if statement.

22
 
 
23
 
 

This article explores how to use the concept of transactions in SwiftData and Core Data to build more reliable and efficient persistence operations.

24
 
 

cross-posted from: https://lemm.ee/post/47771637

Extractify.zip is open source progressive web app (PWA) website to view and extract zip files online without downloading them (client side). It is a free and open source project.

Website: https://extractify.zip/

25
view more: next ›