General Programming Discussion

7803 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 6 years ago
MODERATORS
126
9
grokking neural networks (photonlines.substack.com)
submitted 2 years ago* (last edited 2 years ago) by overflow64@lemmy.ml to c/programming@lemmy.ml
127
 
 

If you are a dev looking to crush some bugs and make some money or an OSS project that needs some dev help, hop on in! !bugbounties@lemmy.ml

128
 
 

For open source software, I can easily use a widely-used open source license (e.g. MIT, Apache, GPLv3, MPLv2, etc.). However, source-available licenses are less easy to find.

Are there any source-available licenses that I can readily copy to apply to my software? I am hesitant to copy the source-available licenses listed on Wikipedia because license texts are copyrighted by default and should not be copied without permission from the author of the license text.

Specifically, I am looking for a source-available license that has conditions similar to the GitLab Enterprise Edition (EE) license that I can use for my software.

129
 
 
130
131
9
GNU C Library 2.38 (lists.gnu.org)
submitted 2 years ago* (last edited 2 years ago) by JRepin@lemmy.ml to c/programming@lemmy.ml
 
 

cross-posted from: https://lemmy.ml/post/2650558

Highlights:

  • More work on C2X features.

  • The strlcpy and strlcat functions have been added. They are derived from OpenBSD, and are expected to be added to a future POSIX version.

  • Support for x86_64 running on Hurd has been added.

  • CVE-2023-25139: When the printf family of functions is called with a format specifier that uses an (enable grouping) and a minimum width specifier, the resulting output could be larger than reasonably expected by a caller that computed a tight bound on the buffer size. The resulting larger than expected output could result in a buffer overflow in the printf family of functions.

132
 
 

The goal is to have my screen rotate to normal and start Barrier (keyboard and mouse share software) on boot up.

So, i have a laptop laying on top of my desktop monitor that i use kinda like a second monitor. But it boots up with the display sideways and i have to login to be able to use mouse and keyboard from my desktop.

I have tried everything to get a systemd service to handle those problems. But no luck, i think the service isnt running properly on boot. Please help me out.

Let me know if there is a better community to post to or if additional info is needed. Thanks.

133
 
 

cross-posted from: https://lemmy.ml/post/2611168

Available at your local GNU mirror and, depending on your OS, perhaps soon your favorite package manager repository. A full list of features and changes can be found in the NEWS file.

134
6
GNU Binutils 2.41 (sourceware.org)
submitted 2 years ago* (last edited 2 years ago) by JRepin@lemmy.ml to c/programming@lemmy.ml
135
 
 

i'm going to design and build a "programmer's numpad", because I'm sick of awkward hand movements for writing brackets with numbers and commas and spaces etc. here's the first draft. make your modifications here: http://www.keyboard-layout-editor.com/#/ i'm thinking of adding another column, putting something between the numbers and the plus/minus.

136
137
 
 

Hey all, I have 2 questions. I am an experienced iOS/macOS engineer. And have only recently started to open-source my work and future work.

Initially I was getting some traction on my first public repo, but the rest are getting close to none as if my profile was pushed by Github's algorithm and then forgotten maybe.

Although I have been consistent for the past month in updates and changes to many of my repos.

Question 1: Is there a possibility I am not appearing in searches for some reason? Or is it simply that my work is not of a quality standard to see the expected traffic, which is great to know in itself.

Question 2: Does anyone have advice on sourcing feedback on their public projects, mostly consisting of SDKs/Tooling? I literally do not have friends/relatives/mentors in my field/expertise that I can talk too and it's quite difficult to survive simply on YouTube videos/podcasts/articles/other repos/online anecdotes and/or professional work experience to understand if my approach/mentality is on the right path for many of my projects. Most of my current experience comes from working professionally, but to scale independently is quite difficult. I specifically am talking about design patterns or building tooling using libraries such as Metal.

138
3
Register Spill (registerspill.thorstenball.com)
submitted 2 years ago by amoroso@lemmy.ml to c/programming@lemmy.ml
 
 

An informal newsletter in which Thorsten Ball, of Writing an Interpreter in Go and Writing a Compiler in Go fame, shares his thoughts about software engineering.

139
140
 
 

Hey everyone first time fullstack noob here, novice python, JS and CSS/HTML dev in the middle of development for a Fullstack Django React Native app, the thing is I made a mess out of my modules and nodes trying to compile with 95 no module found error on the expo CLI, I started with npm and the tried yarn since it was recommended and I ended up with a sorry mess. So since the Django backend API is already running on the messy project I’m going for the new project copy paste old code approach, the front end also has components and screens that may need a few touches but the bulk is already there. I not sure about the proper order and want to make extra sure I have the appropriate folder/project creation order so the compiling and installation is as streamlined as possible as well as the creation of the venv; on the last project I had two that had hardcoded the paths for the django folder and the frontend one since I had some issues with my project finding the appropriate folder, so that’s the right approach? at which time during the creation of the projects should the venv creation happen or more precisely which project should be created first with its corresponding venv, Django or React Native Expo, since as far as I understand there’s an ideal order that will create and setup some specs automatically. Any help is greatly appreciated! Thanks

141
 
 

I have to say that since starting I’ve had a lot less support than I was expecting and I’ll be given something to do but very sparse direction. I’ll go away and do my best and usually be told that based on the little guidance I have done good but maybe we could do it this way or that way, which is great as that’s how we learn right?

Also, preface saying that I’m working on a Typescript React app alone as the others have other projects.

So queue today. I’ve got a todo list of questions about my implementation and things I could do better, which they like my diligence of keeping track. Well I was working on a component and like an idiot I hard coded a lot of the data that is subject to change if say they add a new let’s say PetType. So the SE comes over, tears my code to shreds and like a wizard makes it work even better with only dynamic use of data.

I don’t mind the tearing my code to shreds as again it’s a learning experience but my self esteem has dropped off a cliff.

142
 
 

I am looking to purchase a license for Windows but am unclear on where to do this. I am specifically interested in a retail key license. I was initially considering purchasing a license from the Microsoft Store, but there were a few online posts deterred me from using this source, primarily because it a digital license to my understanding.

I've read a few posts that say how digital keys are tied to the motherboard, similar to OEM licenses. The whole reason I want a retail license is so it is not tied to my motherboard, and I can transfer it if I replace the motherboard at some point or build a new PC later on. It looks like the MS store only offers digital licenses though from what I can see. Or maybe number of transfers in a digital license is limited (it is unclear to me)?

There was a post on MS's Answers forum saying it is a digital license tied to my account, not a key license. I'm okay with a license tied to my account, but he had difficulties actually getting it to work since it wasn't a key that was simply emailed to him or something like that, so I'm hesitant to purchase a digital license from the Microsoft store and would rather purchase a key license that I can just type in at installation or first startup.

So I am interested in a legit source to purchase a retail key license, not an OEM license and not a digital license. But it is unclear where to actually do this. Any clarity on confusion on my part or suggestions for where to purchase such a license would be greatly appreciated?

I'm not sure what other community to post this question in so I hope it is okay to post here.

143
 
 

I don't really want to go in depth into programming, I just want to know what I'm looking at if I ever come across anything like that at my job (mechanical engineering) and maybe solve some simple problems.

I learned C and Java in my first year in college, but it's all mostly forgotten. I'm leaning towards Python since I read it's relatively simple and used a lot nowadays, and it's what my teachers used later on in college anyway.

What do you guys think?

Thanks in advance!

144
145
146
147
148
149
150
 
 

Are there communities focused on data storage and processing? I'm looking for one where people talk a lot about databases (No/SQL), message brokers (eg Kafka or RabbitMQ) and data retrieval/processing patterns.

I'd create one such, but I already know I haven't got the time to mod anything.

view more: ‹ prev next ›