Programming

24562 readers
112 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
1001
1002
1003
1004
1005
1006
1007
1008
 
 

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

1009
1010
 
 

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.

1011
 
 

cross-posted from: https://beehaw.org/post/17155901

I started to learn how to use FLTK in Rust this year, so its fair to assume this update is specifically made for me; its so obvious. FLTK is basically a suckless toolkit for GUIs, with the goal of being small, light and standalone without being complicated. It is very small and can be compiled into the app without runtime requirements. It has most common functionality you would expect from a toolkit and should work cross platform.

Happy to see this update! Need to experiment and learn more about it soon for my first FLTK app.

1012
1013
 
 

Hey guys! I built an AI powered file organizer! This was my first "big" Python project!

1014
1015
1016
1017
 
 

My SO is interested in learning Python because she hopes it becomes useful in her work. She works with ArcGIS and/or QGIS and apparently it supports Python scripting so she's thinking about giving it a go.

She has no programming background so I was hoping you friends could suggest something for absolute beginners that would teach her both the Python and programming basics. It doesn't have to be very comprehensive, just something to get her started.

She has managed to get some scripts working through copy/pasting and minor adjustments but she lacks the foundations to really build a script of her own.

Thanks a lot!!

1018
 
 
1019
23
Announcing .NET 9 - .NET Blog (devblogs.microsoft.com)
submitted 1 year ago* (last edited 1 year ago) by Kissaki@programming.dev to c/programming@programming.dev
1020
 
 

Git Commit Creation

This is an article in which I explore the details and thinking that goes into how you should create git commits, and why. I like to think of it as the article I wish existed when I was just starting out over 20 years ago.

I wanted to cover all the things that you should think about at a high level. That way it at least could work as an entry point to deeper exploration of the particular areas if the reader isn’t completely sold or they want to just gain a deeper understanding. While at the same time trying to provide enough details to show why and how these choices are valuable. This is always a tricky balance.

Anyways, I would love any feedback on thoughts on how this could be improved.

Thanks

1021
 
 

The EFF is urging people to contact their legislators now, before the vote.

https://act.eff.org/action/tell-congress-we-can-t-afford-more-bad-patents

1022
 
 
1023
1024
1025
 
 

I'm wondering how hard it would be to write a firefox extension that blocked individual Lemmy posts based on the presence of words in a block list.

I'm pretty famiiar with Python, but have only done a little bit of hacking of JS, so was hoping the brains trust could provide some insight.

view more: ‹ prev next ›