breadcrumb

@breadcrumb@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Suggestions for a good TUI library?

I’m learning C++ and as starting project I’d like to build a simple TUI program, something like neofetch. Do you have any suggestions of a good library I can use to manage the TUI? After some research I sumbled upon ncurses, which seems quite old tho, and https://github.com/dankamongmen/notcurses, which to me looks quite...

Is desktop development still a thing?

I don’t have a CS background (I graduated in Neuroscience) but now I decided I want to attempt a carrer in software development. When I looked at the possible different types of software developer I felt that the one I was most attracted to was desktop developer or system developer. In general, I like creating programs than...

breadcrumb,

Yeah I know that JS and electron took over desktop development as well, so maybe it’s worth investing some time in learning JS as well. Thanks for sharing.

breadcrumb,

Oh I didn’t consider these fields. When I see a company for hardware products I always think they’re gonna make you program some microcontrollers or similar, with no OS involved. But it’s true that many of them need to develop at least some software to interface with a OS. Thanks for sharing.

breadcrumb,

I tried to change both the project name, which was energy-monitor, and the package name (energymonitor) to be the same and I set both to energy_monitor, but nothing changes…but if I open the python shell in the same folder as the project I can import the energy_monitor package with no errors, as soon as I change folder it doesn’t find the package anymore. It looks like it didn’t install the package system wide, but I thought that pipx should handle these kind of things.

breadcrumb,

Yeah sorry I expressed myself wrongly, I mean that it looked like pipx didn’t install the package in the dedicated venv, and that was actually the case because I didn’t specify which packages to install in the pyproject.toml file apparently. I substituted these lines:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">[tool.setuptools.packages.find]
</span><span style="color:#323232;">where = ["energymonitor"]
</span><span style="color:#323232;">
</span><span style="color:#323232;">[tool.setuptools.package-data]
</span><span style="color:#323232;">data = ["data/*"]
</span>

with these lines:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">[tool.setuptools]
</span><span style="color:#323232;">packages = ["energymonitor"]
</span><span style="color:#323232;">include-package-data = true
</span>

and it worked!

breadcrumb,

Unfortunatly I’m not using any virtual environments, the packages are installed system-wide and I checked that the python version where the package is installed matched the one used by jupyter. Also, installing from jupyter didn’t work either :/

Minecraft 1.20 new installation: worlds not present in "saves" folder

Hi, I recently re-installed minecraft after a long time not playing it. I’m using Manjaro linux as OS, which is different from the Linux distro I used in the past to play minecraft (I think it was Ubuntu). I have my old worlds (from v1.16) saved under ~/.minecraft/saves and I hoped they would appear again in the new...

breadcrumb,

I could but my home folder is pretty big, launching a search process throughout the home or the whole system would take ages so I would like to avoid it if possible…but I can try if there is no other solution.

breadcrumb,

I found out the issue was in the launcher I installed. I tried to look at the Game Directory but the launcher wouldn’t open it. I then installed a launcher from another surce, which was the one recommended by the minecraft website (I know I should have used that from the beginning), and the game was correctly installed in the right directory. I was then able to see all my previous worlds correctly. For Arch linux users: the Flatpak version of the launcher didn’t work correctly, at least for me, the AUR package is the correct one.

breadcrumb,

Yeah well I don’t use flatpaks that much so I had no clue about it.

breadcrumb,

I agree with AnuPpuccin + Style Settings beign an amazing combo, been using Catppuccin for a while before discovering that wonderful theme.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • everett
  • osvaldo12
  • magazineikmin
  • thenastyranch
  • rosin
  • normalnudes
  • Youngstown
  • Durango
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • tester
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • Leos
  • anitta
  • modclub
  • khanakhh
  • cubers
  • cisconetworking
  • provamag3
  • megavids
  • lostlight
  • All magazines