Programming

20404 readers
169 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 [email protected]



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
10
‘AI’ as Class Warfare (newintermag.com)
submitted 1 hour ago by pylapp to c/programming
 
 

So-called ‘AI’ does not reduce, but rather diffuses and renders labour practically invisible.

6
 
 

A 16 minute read, but great nonetheless

7
8
9
7
submitted 17 hours ago by pylapp to c/programming
 
 

With the arrival of Cyber Resilience Act it can be helpful to generate a Software Bill of Materials (SBOM), and to process other to look for known vulnerabilities.

Two open source tools under Apache 2.0 license:

10
11
Modern C++ — RAII (green7ea.github.io)
submitted 19 hours ago by namingthingsiseasy to c/programming
11
 
 

I would prefer activitypub on stuff like this, but its still cool.

12
13
14
 
 

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

Firefox 139.0 released yesterday, with support for the Temporal JavaScript API.

I explored the API, writing down the most relevant interfaces into a reference or cheat sheet.

It's certainly and finally a thorough API for handling temporal information. Working with zoned datetime across time offsets and time zones can get very confusing, though.

I love how you can work with them though, especially with durations.

console.log(Temporal.PlainDateTime.from('2025-02-05T08:00:00'))

console.log(Temporal.Now.plainDateTimeISO("Europe/Berlin"))

console.log(Temporal.Now.plainDateTimeISO().add('PT2M0.2S').subtract('PT0.5S').since(Temporal.Now.plainDateTimeISO()))

console.log(Temporal.ZonedDateTime.from('2025-02-05T13:57:35.777888[Europe/Berlin]').withTimeZone('Europe/London'))
15
 
 

The comment does well in providing context and arguments.

Lets go back to the closest thing we have for requirements for this editor..Default CLI Editor - Feature Exploration!. This discussion was based on the current state of windows and was not concerned with UNIX.

Being a simple text editor, it should not hallucinate, it should not add text one did not type, it should not change the text that was typed. If the user typed a tab character, it was because the user wanted a tab character. If you want four spaces then type four spaces.

edit should by default work like the original namesake and not hallucinate or add characters that were not typed or make assumptions.

Where do you draw the line on "smart" features? Tab should not add indent spaces? Encoding or newline mechanisms? Determining EOF newline?

16
 
 

I learned about Appwrite from the entry in the selfh.st newsletter. It looks like an open source (BSD-3 Clause license) alternative to Google's Firebase and other BaaS platforms:

https://appwrite.io/blog/post/open-source-firebase-alternative

I haven't tried it, but it looks neat

17
18
 
 

Is anyone aware of any FOSS browser replacement projects? Being a "full stack dev" (feels like a false skill set most of the time) I'm at this point where there are easily enough of us who have struggled with implementing web apps in the various frameworks and tools that essentially all boil down to JavaScript, HTML and CSS.

There's nothing wrong with them individually, but with modern languages and hardware we should be able to make something better. At least in a way to encourage adoption of something better, and I want to contribute to it.

19
20
 
 

I'm trying to figure out what has changed between the previous version of the user agreement and the current one, and the big missing thing is lack of the fallback version definitions and rules. Does this mean Jetbrains no longer offers them?

21
 
 
22
 
 

Marketers promote AI-assisted developer tools as workhorses that are essential for today’s software engineer. Developer platform GitLab, for instance, claims its Duo chatbot can “instantly generate a to-do list” that eliminates the burden of “wading through weeks of commits.” What these companies don’t say is that these tools are, by temperament if not default, easily tricked by malicious actors into performing hostile actions against their users.

Researchers from security firm Legit on Thursday demonstrated an attack that induced Duo into inserting malicious code into a script it had been instructed to write. The attack could also leak private code and confidential issue data, such as zero-day vulnerability details. All that’s required is for the user to instruct the chatbot to interact with a merge request or similar content from an outside source.

23
 
 

Title really, but some comments ...

I'm likely to move to Codeberg, and I like the idea of a CI system that I can run locally, without tie-in to a particular code hosting vendor. But why this over e.g. Jenkins, or whatever other systems there are these days? I'm new to Woodpecker.

24
 
 

Developer experience, concrete examples, contextualized, including flaws/edge of capabilities.

Ideation, Maintenance, Coding, Testing, Debugging, …

Chapters:

  • Speaker Introductions
  • 00:03:03 - Personal experiences with AI in coding
  • 00:14:41 - Updating regular expression engine
  • 00:31:39 - AI Assisting in Code Writing and Fixing Mistakes
  • 00:34:01 - AI-Driven Regex Capabilities for Uri Templates
  • 00:37:59 - Enhancements in Memory Extensions
  • 00:44:10 - Discussion about AI handling tasks and upcoming merge
  • 00:46:00 - AI creates and handles test cases automatically
  • 00:46:57 - AI tackles project tasks, improves efficiency, and handles edge cases

A good look into how it is and can currently be used.

25
 
 

Game Development Tutorials

Intro to Game Development

  1. Lukky - Making a Game from Start to Finish (Tutorial)
  2. Brackeys - How to make a Video Game - Godot Beginner Tutorial
  3. Brackeys - How to program in Godot - GDScript Tutorial

Basic Game Development

  1. LegionGame - Juiced Up First Person Character Controller Tutorial - Godot 3D FPS
  2. Lukky - Godot 4.0 Third Person Controller Tutorial (2023)
  3. Quilled - Import Animations in Godot 4 with Animation Retargeting
  4. LegionGame - Design 3D Game Levels From Scratch - Godot 4 Tutorial

Advanced Game Development

  1. Chap C. Creates - The First Skill GODOT Beginners Should Learn - State Machine Game Showcase
  2. The Shaggy Dev - Starter state machines in Godot 4
  3. The Shaggy Dev - Advanced state machine techniques in Godot 4

Basic Game Development (continued)

  1. LegionGames - 3D Enemies With Pathfinding and Animations - Godot 4 FPS Tutorial
  2. LegionGames - Complete 3D Shooting Mechanics - Godot 4 FPS Tutorial
  3. LegionGames - Hitscan Guns, Weapon Switching and Crosshairs - 3D Godot 4 FPS Tutorial
  4. LegionGames - Fully Destructible 3D Environments - Godot 4 FPS Tutorial
  5. Coco Code - Godot UI QUICKSTART (Ex-Unity friendly guide)
  6. DevWom - How to Create a INVENTORY in Godot 4 (step by step)

Game Feel

  1. Game Maker's Toolkits - What Makes a Good Combat System?
  2. Extra Credits - Open World Design - How to Build Open World Games
  3. Razbuten - How Small Open-World Games Feel Big
  4. Game Maker's Toolkit - What Makes Good AI?
  5. Game Maker's Toolkit - How to Keep Players Engaged (Without Being Evil)
  6. Game Maker's Toolkit - Secrets of Game Feel and Juice
  7. Game Maker's Toolkit - The mistake every new game developer makes (Developing 2)
view more: next ›