Programming

19098 readers
117 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
26
27
 
 

Funny story, friend and I were just talking last night about how Java 8 is still used everywhere.

28
29
30
31
32
33
34
 
 

Bigger TypeScript projects should now become much more manageable in all code editors

35
36
 
 

I just wanted to ask whether anyone has any experience with liners or formatters for Groovy and could recommend any solution for that.

37
38
 
 

I've seen this term thrown around a lot lately and I just wanted to read your opinion on the matter. I feel like I'm going insane.

Vibe coding is essentially asking AI to do the whole coding process, and then checking the code for errors and bugs (optional).

39
13
This Week in Rust 590 (this-week-in-rust.org)
submitted 1 week ago by [email protected] to c/[email protected]
40
41
42
 
 

I just started a new job where I have to ssh into a remote linux vm to work on a qt driven c++ project. I don’t really have a lot of leeway on what can be added to the remote environment, and I don’t think local development is possible. The vm has vim and qtcreator.

I’m from a Java background and I’m learning c++ for this role, while I’m comfortable in vim, I’d really like to have a tool that can give me autocomplete, jump to definition and linting. I know these things can be set up in neovim, but I asked about having that put on the box and was not given a good reaction.

I also know tools like vscode and possibly clion can be set up to do remote work via ssh. Does anyone have experience with this and suggestion on a good setup?

43
 
 

Original post: https://lemmy.world/post/23645197

Hi all! Since my last post I've been hard at work on Manatee Fitness. I polished the core functionality and ended up feature creeping myself. I wasn't intending to add weight tracking or goal calculations but once I got into a groove I just kept going.

The most exciting part is that I finally have a real icon!

Beyond that, I figured out how to build an APK via github actions so now anyone willing to give the app a try is able to easily download and install it! I welcome any feedback from users. One important thing to keep in mind before trying it out is that it is currently focused on foods available in the US. I want to eventually expand the scope to more countries but I'll get to that once I have a stable release.

I'm also happy to take any contributions from the community! I have issues written up for all the bugs and new features on my current roadmap to the first stable release.

And finally, I want to give a shoutout to the 2 existing foss apps in this space that I know of:

Waistline

Energize

My competitive drive to one up them is a huge reason I made as much progress on Manatee Fitness as I have.

44
10
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 

So, I'm making an install.sh script to download script files from GitHub to the user's system. I know downloading to the home directory (~/script_dir/) is typically frowned upon.

For context, this is a directory containing python files, README, requirements, etc. pip dependencies need to be installed before launch. The script would be executed through main.py.

Where would be a good place to download to that won't clutter the user's home directory?

Edit: The script is a CLI interface for yt-dlp to make it easier to use. So, it will download files to specified directories on the user's system.

Edit 2: Appreciate the responses. I forgot to mention this script has a config file it uses for certain parameters, such as default download directory for each category. If a config file doesn't exist it creates one in the script's directory and dumps the default values from a default config file (YAML).

Some of you are mentioning this could be a PyPI package. Would I still be able to read/write my config files if I made this a PyPI package?

45
 
 

I'm currently developing on Windows mainly, but due to the end of life of Windows 10, I might switch my primary OS to Linux instead. However, despite Linux being called "developer friendly" I always preferred the tools available under Windows save for the command line shell of Linux.

My main gripes with Linux development is with the debuggers. On Windows, I have RemedyBG, a pretty good debugger with an easy to use GUI. On Linux, all I have is either GDB or LLDB, and a command line so far.

I looked into some of the "more mainstream" GUI options for Linux, all of them were just a separate tab for the same command line debugger in a text editor.

Please note that I'm the sole developer of my projects on the side of a full time job, so I don't have 1 month to spare to learn the in and outs of GDB, which in the days of useless AI slop articles littering the internet, might be even 1.5-2 months. I have a modern PC, any performance gains from not having a well-optimized GUI is negligible. No, I don't care about scripts. And no, unless I'm actually writing the code, the mouse is faster, not slower.

46
47
27
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 

I'm taking The Odin Project, and one of the assignments is to complete this game. I have to say, I was really surprised, but it's been a really refreshing experience while learning all this new stuff.

48
49
50
view more: ‹ prev next ›