programming.dev

9,062 readers
336 users here now

Welcome Programmers!

programming.dev is a collection of programming communities and other topics relevant to software engineers, hackers, roboticists, hardware and software enthusiasts, and more.

The site is primarily english with some communities in other languages. We are connected to many other sites using the activitypub protocol that you can view posts from in the "all" tab while the "local" tab shows posts on our site.


🔗 Site with links to all relevant programming.dev sites

🟩 Not a fan of the default UI? We have alternate frontends we host that you can view the same content from

ℹ️ We have a wiki site that communities can host documents on


⚖️ All users are expected to follow our Code of Conduct and the other various documents on our legal site

❤️ The site is run by a team of volunteers. If youre interested in donating to help fund things such as server costs you can do so here

💬 We have a microblog site aimed towards programmers available at https://bytes.programming.dev

🛠️ We have a forgejo instance for hosting git repositories relating to our site and the fediverse. If you have a project that relates and follows our Code of Conduct feel free to host it there and if you have ideas for things to improve our sites feel free to create issues in the relevant repositories. To go along with the instance we also have a site for sharing small code snippets that might be too small for their own repository.

🌲 We have a discord server and a matrix space for chatting with other members of the community. These are bridged to each other (so you can interact with people using matrix from discord and vice versa.

Fediseer


founded 1 year ago
ADMINS

Some communities may be broken while we work on fixes

126
2
Fatbobman's Swift Weekly #058 (weekly.fatbobman.com)
submitted 3 days ago by fatbobman to c/swift
 
 

Fatbobman's Swift Weekly #058 | Luck Rewards Patience

  • View Update Mechanism
  • Code Spelunking in DocC
  • AttributeGraph Notes
  • Beware @unchecked Sendable
  • Live Activity and Dynamic Island
  • Nested Transparent Objects
  • Concurrency Proposal Index
127
 
 

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!!

128
 
 

There’s more than one garage opener with a not-quite-open ecosystem. That’s why an Ars writer installed an OpenGarage unit.

129
 
 

I experimented with several ways to run my services:

  1. "regular" systemd services (services.glance = { ... };)
  2. nix containers (containers.glance = { ... };)
  3. podman containers (virtualisation.oci-containers.containers.glance = { ... })

and I must say I'm starting to appreciate the last option (the least nixos-y) more and more.

Specifically, I appreciate that:

  • I just have to learn the app/container configuration, instead of also backwards-translating from their config into the various nixos options (of course the .yaml or whatever configuration files are still generated from my nixos config, I just do that in a derivation instead on relying on a module doing it for me)
  • Services are sometimes outdated in nixpks (even in unstable - and juggling packages between stable and unstable is yet another complication)
  • I feel like it's more secure (very arguable and also of very little consequence since everything is on my homelab... it's mainly for the warm fuzzies)

Do you guys use one of the options above? Something different?

130
131
132
133
134
5
Are we PEP 740 yet? 🔏 (trailofbits.github.io)
submitted 5 days ago by [email protected] to c/python
135
 
 

It's time to say goodbye.

136
 
 

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

If there was one reason I liked coding in Java, it'd be AssertJ and its brilliant extensibility.

The image is an example of it from bjForth

The ability to create custom assertions makes the test code concise and read naturally.

137
 
 

Until when Donald Trump takes office.

138
 
 

CHIPS Act helps with $18.2 million in direct funding and $50 million in federal and state tax credits.

139
 
 

140
 
 

Hello C++ folks, i read this article about interoperability of those languages and wonder what is your opinion about interoperability initiatives.

Do you think it's a good opportunity to acquire Rust libraries and promote use of Cpp ones to a larger audience?

Or instead you think it's a crab conspiracy to promote RIIR (Rewrite It In Rust) strategy?

Thanks in advance

141
 
 

It won’t be fast, but it’ll exist, and that might be enough for now.

142
 
 

Aiming for a capacity of 370,000 wafer starts per mont by 2027.

143
 
 

Hello everyone,

I am a developer with 3+ years of experience with full stack technology so mostly .Net and React along with some side projects in other languages. I wanted to ask if anyone has had any luck moving from high-end projects, to lower end projects(C++). I've become extremely interested in lower level projects like, embedded programming, firmware, drivers, compatibility layers but I don't have any professional experience in those fields.

I understand that projects like these are high priority so they are less interested in taking a risk for a Dev without professional experience in C, C++, or Rust, even if they liked the candidate. I just wanted some insight

144
 
 

I posted this project here before, but it's now reached 1.0.0.

145
 
 
146
147
 
 

Blogs, Articles, and Posts

  • Powershell and the Left Hand Side
    A new article, to talk about an important notion in Powershell, the Left Hand Side (LHS) notion.
  • Manage PIM Role Assignments with PowerShell
    This article describes how to create eligible and active PIM role assignment requests using cmdlets from the Microsoft Graph PowerShell SDK.
  • How to install PowerShell 7 and essential tools on macOS
    As you prepare for the OnRamp track at the PowerShell + DevOps Global Summit, this guide walks you through installing the essential tools on your macOS system, if that's your preferred operating system. You'll learn to install PowerShell version 7, Visual Studio Code, and the PowerShell extension for VS Code to ensure your system is prepared for the event.
  • GitHub and PowerShell: The Underdog
    Remember how I mentioned how GitHub actions are underrated? I’m going to show at a high level how GitHub Actions with PowerShell can save you time and be more efficient. What does it do? It does that automatically once every day, I could do it more, but didn’t think it was necessary.
  • Install and enable SSH on Windows Server 2025
    Windows Server 2025 comes with SSH pre-installed, making secure remote server management easier for administrators. This is especially helpful when accessing servers from macOS or Linux machines or Windows computers not part of the Active Directory domain, as enabling PowerShell remoting can be complicated in this scenario. By default, SSH on Windows Server 2025 uses password authentication, which you should change to public key authentication for enhanced security.
  • Introducing a Custom 'map' Function in PowerShell for Functional Programming
    I built the custom map function to enable processing multiple arrays with ease. Simplify your scripts by applying transformations simply and flexibly.
  • How Can You Effortlessly Restart or Shutdown Windows Using PowerShell Commands?
    In Windows PowerShell, you have two main commands for controlling shutdown and restart functions: Restart-Computer and Stop-Computer. Each command can
  • New PowerShell Threat: Infiltrating Networks with Advanced Techniques
    In a recent discovery, Cyble Research and Intelligence Lab (CRIL) detailed a complex, multi-stage PowerShell campaign that employs several advanced techniques to infiltrate networks, maintain persistence, and enable covert communications.

Projects, Scripts, and Modules

  • CMHealthcheck v 1.0.30
    ConfigMgr healthcheck reporting
  • linuxtools v 1.0.12
    An experimental PowerShell module for Linux nerds. Because: why not?
  • PSBluesky
    A set of PowerShell 7 commands that use the BlueSky API. You can skeet and upload images from a PowerShell prompt as well as view your feed and timeline.

Community

Fun

Check out psweekly.dowst.dev for all past editions as well as a searchable archive.

148
 
 

Command dl opus to download highest quality audio as or into an opus file through yt-dlp.

Add to config.nu:

# Download highest quality Opus audio as/into .opus file
def "dl opus" [url: string] {
    yt-dlp --extract-audio --audio-quality 0 --audio-format opus $"($url)"
}

Usage:

dl opus <url>

I have set up dl as an alias for yt-dlp via alias dl = yt-dlp. The def above adds an overlaying sub-command.

149
150
7
submitted 6 days ago by Kissaki to c/nushell
view more: ‹ prev next ›