Never spend 6 minutes doing something by hand when you can spend 6 hours failing to automate it. - Zhuowei Zhang

submitted 1 day ago by [email protected] to c/programmer_humor

From the conclusion:

NAT may be a good short term solution to the address depletion and scaling problems. This is because it requires very few changes and can be installed incrementally. NAT has several negative characteristics that make it inappropriate as a long term solution, and may make it inappropriate even as a short term solution. Only implementation and experimentation will determine its appropriateness.

submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/commandline
submitted 1 day ago by lizmat to c/rakulang
submitted 1 day ago by [email protected] to c/linux4noobs

Hello, I broke my laptop about a week ago and could use a hand figuring out the best approach for recovering the files when my new laptop arrives

The laptop was running fedora and would have used whatever encryption option is default in the fedora installer (The laptop required a password before it'd fininish booting so I'm pretty confident it was encrypted), which I believe would be LUKS?

If I understand correctly the ssd is a socketed sata drive, so I figured I'd buy a sata drive enclosure when I get my new laptop that'd let me plug it in via USB

I have the password I needed to boot when the device was working, if I get a sata enclosure can I access the files?

Any input, guidance, thoughts or suggestions are appreciated :)

submitted 1 day ago by lysdexic to c/programming
submitted 1 day ago by SmartmanApps to c/dotnetmaui
submitted 1 day ago by [email protected] to c/godot
Saw 37 the software Dev (
submitted 2 days ago by [email protected] to c/programmer_humor

but stackoverflow how i fixy the brokey!

submitted 1 day ago by livialima to c/linuxupskillchallenge
submitted 2 days ago by [email protected] to c/cool_github_projects
submitted 2 days ago by popcar2 to c/blogging
Deep Clone | Re: Factor (
submitted 2 days ago by Andy to c/concatenative
submitted 2 days ago* (last edited 3 hours ago) by onlinepersona to c/linux

From another comment I made

A linux installer for windows that works just like a normal installer on windows. You download the .exe, double click it, it opens a wizard you can walk though, and by the end of the process, after it reboots, you're in a linux distro.

How could something like this be implemented?

My idea:

Best case scenario where multiple data partitions exist and can accommodate the user data stored on C:/ + there's a swap partition -->

  • download a linux iso
  • deactivate swap
  • replace swap partition with ISO contents
  • modify contents to auto install linux with settings from wizard
  • add boot entry to boot from old swap / modified ISO
  • reboot
  • install linux with a nice progress animation
    • move user data from C:/ to other partition
    • replace C:/ with linux
    • install alternatives to programs found on windows (firefox for edge, gimp for paint, inkscape for ..., libreoffice for MS office, etc.)
    • move user data to /home/$username
    • configure DE with theme (gnome for macos look, kde with theme for windows look)
    • other customisations
  • reboot into linux

Dunno if this is feasible in the best case scenario.

Anti Commercial-AI license

submitted 1 day ago by fatbobman to c/programming

At the 2023 Worldwide Developers Conference (WWDC), Apple launched the highly anticipated new generation data management framework — SwiftData. As the successor to Core Data, can SwiftData play a key role in the Apple ecosystem? With WWDC 2024 approaching, this article will evaluate the overall performance of SwiftData since its initial release during the Xcode 15 period (i.e., its first major version), and provide a forecast of its future development.

submitted 1 day ago by SmartmanApps to c/windows_dev
submitted 1 day ago by SmartmanApps to c/csharp
submitted 2 days ago by [email protected] to c/programming
I Don't Trust My Own Code (
submitted 2 days ago by Aijan to c/programming
submitted 2 days ago by [email protected] to c/linux
submitted 2 days ago by lizmat to c/rakulang
Solodev life (
submitted 3 days ago by [email protected] to c/godot
submitted 2 days ago by [email protected] to c/ask_experienced_devs

cross-posted from:

Hello Lemmy,

I am the author of bluetuith, an open-source TUI-based bluetooth manager for Linux only. I have been working on this project for over 2 years on and off, and I was wondering about extending support to other platforms as well.

To begin with, the Bluetooth Classic (BR/EDR) implementation on Linux is fairly standardized (via bluez APIs), but on other platforms, especially windows, Bluetooth APIs are finicky, and tricky to deal with, and also there is no standardized management in general.

I would like to start creating a centralized Bluetooth server or a daemon for other platforms (natively maybe), mainly Windows and Linux, which can expose relevant APIs so that clients can use them to handle Bluetooth-based operations. I know this is quite an uphill task, but I would like suggestions on how to implement it, or if anyone has a better idea, please do suggest that as well.

To summarize, my current plan is this:

  • Create bluetooth servers natively for each platform, utilizing the platform's proven APIs to handle bluetooth-based functions and expose a standard API to clients
  • Adapt clients to use said APIs provided by the daemons to allow the user to control bluetooth in general.

For the server implementation (mainly to other platforms), I will require contributors, so contributors are highly welcome to be involved in the project. I am in the process of securing an NLnet grant to invest into this project and mainly pay contributors to implement this platform-wise (the proposal has been accepted, and the negotiation call will be hosted in a few weeks, more details about this can be further published if anyone has questions about this. If contributors are confirmed, maybe the budget could be adjusted as well).

I apologize if the post is naive or does not fit this community's guidelines, and if it doesn't, a comment on where to redirect this question would be great.

Constructive feedback is appreciated. Thank you.

Note: By Bluetooth operations, I mainly mean Bluetooth Classic based operations.

submitted 2 days ago by racsol to c/data_structures

I'm currently finishing a CS degree, so I've had some DSA courses. Nonetheless, I don't feel I have good enough theoretical foundations or proficiency when putting them into practice.

My main goal would be to prepare myself for coding interviews, but I'd also want to make sure I understand well theory.

What are the best resources for learning Data Structures and Algorithms theoretical with good theoretical background that also allows you to succeed in coding interviews?

Some resources I've found, but I haven't followed myself:

Free resources

Paid resources

submitted 1 day ago by SmartmanApps to c/dotnet
submitted 2 days ago by [email protected] to c/programming

I am looking to program something similar to a simulation game, but free-form in its customization and scripting to the point where no strategy game will get me close enough.

I initially thought to start from scratch, simulating all the basics. Simulating money, people, resources, maps, etc. Obviously this is very ambitious.

Are there any libraries or frameworks that could help me with this? I don't want something opinionated that decides the model for how to simulate, for example, money or a person. I want to preserve the ability to simulate those with the models and math of my choosing. But maybe a library that has the foundations of simulation in general, so that I don't have to build everything completely from scratch?

I understand what I said sounds very vague. This will be something I will discover as I do more of it, so forgive the vagueness.

view more: ‹ prev next ›

8,327 readers
383 users here now

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

🛠️ 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.

founded 11 months ago