Programming

17022 readers
371 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 1 year 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
 
 

Hello! I’m looking for book recommendations for learning programming fundamentals.

To be clear, I’m not necessarily looking for a book on learning language(s), but rather, programming, theory I guess you might call it?

For example, I’ve been playing around a lot in my terminal writing bash scripts, and I just implemented my first function. Another example, I know the phrase “Object Oriented programming”, but have no idea what it means.

I learn well by doing, and I’ve learned a lot just writing scripts and reading about bash scripting, but I also realize there’s a lot about programming at a higher level that I know nothing about.

3
4
43
submitted 17 hours ago* (last edited 17 hours ago) by mesamunefire@lemmy.world to c/programming@programming.dev
 
 

For the last 5(?) years or so I have been using GitKraken as my daily git driver for a while. I use it at my job mostly and love the functionality. I still use git via command line but jumping into git bash is nice no matter what os I am currently using.

I mainly use it:

  1. To see what branches have been modified (same as git tree but updates itself).
  2. Hooks into other git hosting like codeberg/gitea/forgeo without any real work. Login is also super easy and built in. Oauth is built in.
  3. Git amend is a one click interface.

There is other niceties like issue tracking, easy auto-creation of branches, etc... that I personally don't use all that much, but I can see the appeal.

The only real issue is the price. It used to be 30$ a year but now it's over 100+. I would happily pay 30 a year or pay one time for a license...but over 100 is too much in my opinion. I may go back to using all command line if the price keeps going up.

Is there any open source tools that do something similar it's the same look/feel?

5
 
 

A great introduction to what traces and spans are, how they work, and the OpenTelemetry Protocol

6
 
 

When managing a database, speed and efficiency are crucial. As applications handle more data and become more complex, the performance of database queries plays a big role in keeping everything running smoothly. One of the best ways to make queries faster is by using indexes. Similar to a book’s index that helps you quickly find a topic, database indexes allow you to find specific data without searching through the entire database. This article explains the basics of indexing, how it improves query performance, and some simple tips for using indexes effectively. Whether your database is small or large, understanding how to use indexes can help keep your application fast and responsive.

7
61
Announcing Swift 6 (www.swift.org)
submitted 1 day ago* (last edited 1 day ago) by popcar2@programming.dev to c/programming@programming.dev
 
 

The big thing about this release is it is a huge leap forward to making Swift a cross-platform language, and not something only built for Mac/iOS

Swift 6 unifies the implementation of Foundation across all platforms. The modern, portable Swift implementation provides consistency across platforms, it’s more robust, and it’s open source. macOS and iOS started using the Swift implementation of Foundation alongside Swift 5.9, and Swift 6 brings these improvements to Linux and Windows.

Swift is designed to support development and execution on all major operating systems, and platform consistency and expansion underpins Swift’s ability to reach new programming domains. Swift 6 brings major improvements to Linux and Windows across the board, including support for more Linux distributions and Windows architectures. Toolchains for all of the following platforms are available for download from Swift.org/install.

8
 
 

This article makes for an interesting read. Here follow two early paragraphs for context:

Oracle controls the JavaScript trademark because in 2009 it acquired Sun Microsystems, which applied to trademark the name with the US Patent and Trademark Office back in 1995. The trademark was granted in 2000.

While the database giant does not use the name for any commercial products, its ownership of the trademark has led JavaScript-oriented organizations such as events biz JSConf to adopt branding that avoids the term. As the signatories to the letter observe, the world's most popular programming language therefore can't have a conference that mentions what it's about.

Toward the end, the article mentions an initiative to legally pursue Oracle for trademark abandonment.

9
10
 
 

Hi ! I've been working on this article for the past few days. It would mean a lot to me if you could provide some feedback.

It is about implementing a physico-chemical simulation as my first attempt to write a shader. The code is surprisingly simple and short (less than 100 lines). The "Prerequisite" and "Update rules" sections, however, may need some adjustments to make them clearer.

Thanks for reading

11
12
 
 

Does anyone know of a website that will show you a graph of open/closed issues and PRs for a GitHub repo? This seems like such an obvious basic feature but GitHub only has a useless "insights" page which doesn't really show you anything.

13
14
 
 

cross-posted from: https://gregtech.eu/post/1188873

I made grebuntu to merge all of the separate scripts into one script for all distros, but it doesn't work. The individual scripts do, I tested in VMs. What could have caused the issue? the script in question is tsubuntu.sh btw, can be found in the repo The original scripts are available at https://github.com/Tsu-gu/tsubuntu

15
16
17
18
 
 

I'm doing interviews for companies that would involve API integrations. I've done a couple now where I was given some general API information (some intentionally unclear, some more clear) and I felt I didn't do well. Mainly I was nervous, and felt very pressured just to understand how the different parts of the APIs interact with each other and should be interacted with. This is despite doing this for work and myself not feeling as nervous doing more common coding tests which I don't do as much at work(thanks to doing examples on hackerrank, Leetcode helping me feel more comfortable).

So what are the resources I should leverage to practice API integrations? How should I go about practicing? Especially considering that I do need to perform in a certain way during interviews.

19
20
 
 

I realize this is an absolutely unhinged thing to ask for: Can anyone direct me to a large database of company names with websites (just those two columns), ideally 100K rows or more, that I can access for free? Basically this database if it had another column with the company name: https://github.com/cygenta/top10million (but doesn't need to be anywhere near 10 million)

21
 
 

https://chat-to.dev/view_trend?id=651 #ProgrammersDay #programmer #Engineering #programming

22
 
 

Over the past few years, the evolution of AI-driven tools like GitHub’s Copilot and other large language models (LLMs) has promised to revolutionise programming. By leveraging deep learning, these tools can generate code, suggest solutions, and even troubleshoot issues in real-time, saving developers hours of work. While these tools have obvious benefits in terms of productivity, there’s a growing concern that they may also have unintended consequences on the quality and skillset of programmers.

23
 
 

Been trying to host my flask app but it keeps coming up with issues like this

Note it's a facial recognition attendance web app

24
25
 
 

It was quite difficult to look up for Windows, and X11 has its own more complicated way of doing things. On X11, I've managed to enter fullscreen, but exiting is even more difficult and less documented.

I know Wayland exists, but as long as XWayland provides a good enough support, I'll use that instead for now, due to lack of time on my own side.

EDIT: To clarify: I meant how do I do it via API calls, in programming, not by what key is the default (which is F11).

view more: next ›