programming.dev

8,940 readers
316 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

1
2
3
4
 
 

I'm trying to see how active a project is, but dependabot spam makes it annoying to find actual commits and to know if those commits are relevant.

There's no need for me to know chai was updated from 5.1.1 to 5.1.2, I want to see what were the most recent actual features implemented.

5
 
 

Hi programmers,

I work from two computers: a desktop and laptop. I often interrupt my work on one computer and continue on the other, where I don't have access to uncommitted progress on the first computer. Frustrating!

Potential solution: using git to auto save progress.

I'm posting this to get feedback. Maybe I'm missing something and this is over complicated?

Here is how it could work:

Creating and managing the separate branch

Alias git commands (such as git checkout), such that I am always on a branch called "[branch]-autosave" where [branch] is the branch I intend to be on, and the autosave branch always branches from it. If the branch doesn't exist, it is always created.

handling commits

Whenever I commit, the auto save branch would be squashed and merged with the underlying branch.

autosave functionality

I use neovim as my editor, but this could work for other editors.

I will write an editor hook that will always pull the latest from the autosave branch before opening a file.

Another hook will always commit and push to origin upon the file being saved from the editor.

This way, when I get on any of my devices, it will sync the changes pushed from the other device automatically.

Please share your thoughts.

6
7
 
 

This should be a huge boon for introducing people to C# development on Mac and Linux!

Take note though, that the free version comes with mandatory collection of anonymized usage data. As far as I'm aware this cannot be deactivated.

8
 
 

Let him cook, chat.

9
 
 

Posting here also, because [email protected] commented that the API should work as expected on lemm.ee for instance and I don't know where is the right place to post my question. Can someone help?

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

I try to get comment data for my posts via API from my Lemmy instance, but whatever I try on using the GetComments endpoint it delivers an empty array.

For example ... GET https://programming.dev/api/v3/comment/list?post_id=20878811 leads to:

{
  "comments": []
}

I want to ask here, before creating an issue. Has someone a hint?

10
 
 

Postiz is an open-source social media scheduling tool that is similar to traditional ones: Buffer, Hootsuite, SproutSocial, etc.

https://github.com/gitroomhq/postiz-app/

Postiz supports:

Key features:

  • Schedule for nine social media platforms (Threads, Pinterest, Facebook, TikTok, Reddit, LinkedIn, Dribbble, YouTube, Instagram.)

  • Fundamental analytics for almost all social media platforms.

  • AI Features: Copilots, AI Auto-complete, Canva-like editor.

  • Team support: Invite your team members to manage social media.

  • Generic Email Provider & Easier installation experience (drop the default Resend and add a nodemailer option!)

  • There are lots of improvements for the docker / docker-compose. It's much easier to deploy everything!

  • Added Bluesky, Mastodon, Slack and Discord channels!

  • Add multiple options for upload files (locally / R2) - working on S3.

  • Improve the refresh token mechanism (even for more complicated ones like Facebook and Instagram)

  • Invite to a team has significant fixes but will be refactored.

What's next:

  • Postiz is a company run by one person and contributors. Accessing all the support tickets (especially installation) is difficult, so I will focus all my efforts on making installation easier.

  • Productivity - many things feel bad when posting, like selecting multiple images and pasting images directly into the editor.

  • Basic SSO for the self-hosters, and more advanced ones like Azure AD and Okta for the enterprise.

  • Public API (unfortunately, I decided to make this feature paid; I need to make money somehow :/ )

  • Tagging brands on Instagram

  • Segmenting accounts into customers

  • Tagging people on multiple platforms

  • Tagging posts for easier searches

  • Auto-plug features, like automatic repost / retweet.

11
5
submitted 9 hours ago by norambna to c/python
12
8
submitted 11 hours ago by greyb34rd to c/pascal
 
 

I've messed around and worked with many languages but for some reason. Pascal is my favourite! I don't have much experience with Delphi but feel free to discuss Delphi here too!

13
10
submitted 11 hours ago by [email protected] to c/nix
14
 
 

It’s available via Google’s Responsible Generative AI Toolkit.

Repo: https://github.com/google-deepmind/synthid-text

15
8
Is GNU Taler usable? (self.gnutaler)
submitted 1 day ago by onlinepersona to c/gnutaler
 
 

Thanks for creating the community. The sidebar description sounds like monero without blockchain. Is it currently usable?

16
 
 

Blogs, Articles, and Posts

  • Automating VM Deployment in Azure with PowerShell
    Learn how to automate the deployment of a Windows VM on Azure using PowerShell. This guide covers network setup, NSG rules, and IIS installation.
  • Get Active Directory ports with PowerShell
    Active Directory services communicate over specific ports needed for authentication, replication, and other directory services. Knowing these ports is crucial for configuring firewalls, ensuring secure communication, and troubleshooting network issues related to Active Directory services. This post will teach you how to get the Active Directory ports with PowerShell.
  • How to Set Directory Synchronization Features with the Graph
    Directory synchronization features control how the Entra Connect tool works when synchronizing accounts from Active Directory to Entra ID. The current advice is to use a cmdlet from the depreciated MSOL module to update settings. This article explains how to do the job with the Graph APIs, including cmdlets from the Entra PowerShell module.
  • Automating Sign-In Analysis with PowerShell and Microsoft Graph
    In this article, we'll walk through how to explore and analyze Conditional Access data in Microsoft Entra using the Developer Tools in your browser. The purpose of this walkthrough is to demonstrate how you can identify and extract the necessary Microsoft Graph API calls directly from the Entra portal, providing a foundation for automating this process with PowerShell.
  • List all EEEU and Anonymous links for SharePoint and OneDrive!
    A colleague of mine asked me before the weekend if I knew if there was a way to list all Everyone Except External Users and Anonymous links for OneDrive for Business. He had written a PowerShell script but had some errors.
  • Practical PowerShell: The Dark Power of Dynamic Parameters
    In this episode of Practical PowerShell, we dive into the dark power of dynamic parameters, and how to use them within in functions and scripts.

Projects, Scripts, and Modules

Community

Events

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

17
 
 

Postiz is an open-source social media scheduling tool that is similar to traditional ones: Buffer, Hootsuite, SproutSocial, etc.

https://github.com/gitroomhq/postiz-app/

Postiz supports:

Key features:

  • Schedule for nine social media platforms (Threads, Pinterest, Facebook, TikTok, Reddit, LinkedIn, Dribbble, YouTube, Instagram.)

  • Fundamental analytics for almost all social media platforms.

  • AI Features: Copilots, AI Auto-complete, Canva-like editor.

  • Team support: Invite your team members to manage social media.

  • Generic Email Provider & Easier installation experience (drop the default Resend and add a nodemailer option!)

  • There are lots of improvements for the docker / docker-compose. It's much easier to deploy everything!

  • Added Bluesky, Mastodon, Slack and Discord channels!

  • Add multiple options for upload files (locally / R2) - working on S3.

  • Improve the refresh token mechanism (even for more complicated ones like Facebook and Instagram)

  • Invite to a team has significant fixes but will be refactored.

What's next:

  • Postiz is a company run by one person and contributors. Accessing all the support tickets (especially installation) is difficult, so I will focus all my efforts on making installation easier.

  • Productivity - many things feel bad when posting, like selecting multiple images and pasting images directly into the editor.

  • Basic SSO for the self-hosters, and more advanced ones like Azure AD and Okta for the enterprise.

  • Public API (unfortunately, I decided to make this feature paid; I need to make money somehow :/ )

  • Tagging brands on Instagram

  • Segmenting accounts into customers

  • Tagging people on multiple platforms

  • Tagging posts for easier searches

  • Auto-plug features, like automatic repost / retweet.

18
 
 

TSMC will soon have a fully operational fab in Arizona that delivers the same quality and efficiency as its Taiwan factories.

19
 
 

Just made a dedicated repo about a bunch of tricks I regularly use.

A KDE Plasmoid is definetly missing on that list. Having it work without garbage Electron, at least most of the time, is crucial.

20
21
22
23
 
 

Fast RAM for Intel's next-gen desktop chips.

24
7
NimConf 2024 (October 26th) (conf.nim-lang.org)
submitted 18 hours ago by [email protected] to c/nim
25
20
submitted 1 day ago* (last edited 1 day ago) by Statick to c/meta
 
 

Looks like all of the alternate theme subdomains are down. I'm assuming this is due to the maintenance but wanted to point it out just in case.

https://t.programming.dev/

https://p.programming.dev/

https://a.programming.dev/

https://old.programming.dev/

https://v.programming.dev/

view more: next ›