Programming

26523 readers
291 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
1
 
 

Hi all, I'm relatively new to this instance but reading through the instance docs I found:

Donations are currently made using snowe’s github sponsors page. If you get another place to donate that is not this it is fake and should be reported to us.

Going to the sponsor page we see the following goal:

@snowe2010's goal is to earn $200 per month

pay for our 📫 SendGrid Account: $20 a month 💻 Vultr VPS for prod and beta sites: Prod is $115-130 a month, beta is $6-10 a month 👩🏼 Paying our admins and devops any amount ◀️ Upgrade tailscale membership: $6-? dollars a month (depends on number of users) Add in better server infrastructure including paid account for Pulsetic and Graphana. Add in better server backups, and be able to expand the team so that it's not so small.

Currently only 30% of the goal to break-even is being met. Please consider setting up a sponsorship, even if it just $1. Decentralized platforms are great but they still have real costs behind the scenes.

Note: I'm not affiliated with the admin team, just sharing something I noticed.

2
3
4
5
 
 

How do I convert a batch of .pngs into a single .apng?

6
 
 

Source from HN because they have shadowbans: https://news.ycombinator.com/item?id=47773594

I'm wondering too what you are looking for in a font. Good looks, features, options to enable or disable, ligatures?

7
8
 
 

I'm trying to get to a reason on this, but my point reach to a limit.

I've the feels that scraping the internet for public accessible data, like for example open and public music on Spotify wouldn't be a crime, but the distribution would be. At the same token, this is seem as a crime, while Google does the same and nothing happens, even worse, if this get regulated, Google would have a huge advantage on anyone else.

So, my deeper question is: "Is copyright dead?"

9
10
 
 

cross-posted from: https://lemmy.world/post/45602294

Hello All

I am someone who graduated some time back and was not able to score their first job in the field. I am recently getting back into programming a bit more as a hobby. In particular I am toying around with Rust and a bit of C#.

Was wondering what books you all used for data and algo class? It would be good if you know some with those languages in mind, but otherwise just a book that is more generic would be great too.

11
 
 

In this pre-paid self-own, I study security vulnerability through the lens of self-flagellation. I go through a lot of trouble to make life worse for me and my antediluvian website's users (AS USUAL).

Get it or try it:
https://tom7.org/httpv/

Or read the 25-page (!) SIGBOVIK 2026 paper: https://tom7.org/httpv/httpv.pdf

Keywords: https, tls 1.2, RSA_WITH_AES_256_CBC_SHA, httpv, toxic max-security, vulnerability research

Brilliant and very funny video.

12
13
 
 

...and I still don't get it. I paid for a month of Pro to try it out, and it is consistently and confidently producing subtly broken junk. I had tried doing this before in the past, but gave up because it didn't work well. I thought that maybe this time it would be far along enough to be useful.

The task was relatively simple, and it involved doing some 3d math. The solutions it generated were almost write every time, but critically broken in subtle ways, and any attempt to fix the problems would either introduce new bugs, or regress with old bugs.

I spent nearly the whole day yesterday going back and forth with it, and felt like I was in a mental fog. It wasn't until I had a full night's sleep and reviewed the chat log this morning until I realized how much I was going in circles. I tried prompting a bit more today, but stopped when it kept doing the same crap.

The worst part of this is that, through out all of this, Claude was confidently responding. When I said there was a bug, it would "fix" the bug, and provide a confident explanation of what was wrong... Except it was clearly bullshit because it didn't work.

I still want to keep an open mind. Is anyone having success with these tools? Is there a special way to prompt it? Would I get better results during certain hours of the day?

For reference, I used Opus 4.6 Extended.

14
 
 

While the Meson build system has been capturing much of the limelight in recent years by open-source projects, the cross-platform CMake build system also shows no signs of slowing down and continues evolving with new features and functionality.

Since the CMake 4.0 release last year it has continued to iterate and last month released CMake 4.3 that brought the rather interesting import/export support using the Common Package Specification. The Common Package Specification (CPS) is a JSON-based format also being worked on by the CMake developers at Kitware for offering greater interoperability with other projects from package managers to handling software dependency descriptions for C/C++. Software Bill of Materials (SBOM) generation is also another experimental feature of the new CMake 4.3.

15
4
Coding Together? (self.programming)
submitted 3 days ago* (last edited 1 day ago) by comrade to c/programming@programming.dev
 
 

Is anyone working on a project/looking to create a project that's open to collaborators?

My own last post on this sub had many interesting commenters so I'm curious what you all could be cooking up? I hope you leave a comment

I have a decent bit of spare time and a lot of ideas, if your looking to dm me then feel free :v

  • off topic below

Edit: yall are still kinda weird, We cant be getting mad at people for not saving others 2 clicks, its overly confrontational and weird. just chill we got way bigger issues bro, we need to join the united front

16
 
 

If you liked the post The Git Commands I Run Before Reading Any Code by Ally Piechowski, you might also like this interactive Marimo notebook that puts all those commands together and adds some nice charts 😉

17
30
Checkout Paged Out! (pagedout.institute)
submitted 5 days ago* (last edited 5 days ago) by Threen@aussie.zone to c/programming@programming.dev
 
 

Issue #8 came out a few months ago.

18
19
20
 
 

Just wanted to share an idea I had, in order to hope that another developer learns from my lessons, and hopefully either finds a work around or a better solution to this problem.

I wanted to find out if it was possible to locate your iPhone from your watch based on the latency of Bluetooth messages, since RSSI (signal strength) isn't available. I made a simple app, and started sending messages back and forth between my phone and app.

After much testing, the conclusion is no. Mostly because Bluetooth is amazing and the average latency for a message is 58-62ms. And because as Erik pointed out... apple just sucks.

I am hopeful PebbleOS can be updated to see RSSI or the app can expose the notification api to the PebbleKit JS.

If anyone want me to publish my code, let me know.

The raw data is here if you want to see it: https://docs.google.com/spreadsheets/d/1Yr5XX0CXh5TifsnW3yOp10ZoaA_xx0q189f_fG8rMTU/edit?usp=sharing

21
 
 

In this video Dr. Chuck explores how he sees the role of AI in programming courses. He talks about the perils of using too much AI that you never learn anything and how he designs courses in the "post-AI" world.

22
 
 

cross-posted from: https://programming.dev/post/48635032

Hey all, Not long ago I shared my Artix Linux installer. I wanted to take it a little bit further (And learn some more Rust along the way), and make a companion site to make setting up the script settings even easier when wanting to run the installer - so here it is. Introducing the Lazy Web

This was developed using Rust, with Actix for the backend and egui + wasm for the frontend.

I had a few considerations when developing this, I wanted the encryption to occur clientside in the frontend in order to ensure your encryption password never makes it to the server. But also I wanted the decryption process to occur when the script downloads the settings. I also wanted the identifier that you use to connect and download the settings to be short and unique.

The website and the script are both still a work in progress, and i'm open to suggestions/feedback.

Edit: Just realized that I was returning the wrong URL to the codeberg repo.. so it probably wasn't working for anybody. Sorry!

23
 
 

Hello,

I have been hosting my project on vercel and I really don't like it at least the free version. so I wanted ask is there any open source and free alterantive of vercel. of course I won't be hosting the production server there but I don't want to pay for it when I am developing it.

Thanks in advance <3

24
 
 

I have a small website with the git code hosted on my own Forgejo instance. I want to give my wife easy access to the code to update texts. I think using Forgejo is an easy enough interface for her to do that.

But how do I ensure that every commit is reflected on the website in a timely manner? I think webhooks are the usual answer. But do I add them to the website itself or do I run a separate service for that? If the latter, can you recommend one?

Or is there a better way? Seems kind of roundabout since the website and Forgejo run on the same hardware.

25
view more: next ›