I tested the yarn desktop client on wsl2 on windows 11, compiled and ran just fine there. Nice to have linux applications with gui on windows.
We have Monday off work again, going to be super nice with a long weekend again! :)
Also - the last thing I needed is sorted, how to get vs code to pick up the default.nix shell environment, there is a really nice addon for vs code that picks up what is in that file, and then set up the environment based on that, meaning I can now open the source, configure, compile and debug with vscode, this was the last piece that was missing. I will write a blog post on my website that explain what I learned, and how I fixed all these things, maybe it’ll help someone else to try NixOS for some development.
I was able to fix this now, by making a ‘default.nix’ file, and then you can open a shell that has all the stuff needed by simply typing ‘nix-shell’ in the root git directory. Pretty nice, I’m starting to enjoy this OS more and more.
GTK4 libraries are not detected by cmake, even though I have it installed on my system. I’ve googled a bit - and others have solved it a bit differently. So I’ll try a couple of things to see if I can get it to work.
Also, got almost everything I use up and running on NixOS, last thing I need now is a way to develop directly on my source, I think I need to set up one of those development shell files for it, so that I then can work from vscode or kdevelop. Cmake is currently happy, and I tried to install everything on my system, but the ‘nix build’ works fine - but that pulls from remote repo, I want to compile the local edited source as I work on it.
I need to add multithreading to the desktop client, I have not done that before in c++ - so that’ll be fun to figure out. I need it for the fetching of the timeline so that it happens in a separate thread. That way the GUI does not freeze while fetching the timeline. Also need to add a status bar that can show what the application is working on.
@prologic@twtxt.net Thank you! Now I just need to get it running on OpenBSD 😀
Here is a screenshot showing the client running on NixOS.
Heh, I do not regret it anymore, I was able to create a flake.nix file that builds the desktop client on NixOS.
But I now found a bug with keyring access that I need to fix. but the client compiles and starts.
It does not open the keyring - so it hangs and waits and you need to kill it. On my previous machine the keyring got opened at login by another application.
So, I kinda regret installing NixOS, I had forgotten why I did not use it for c++ stuff last time. But I learned about ‘flakes’ so Im checking into that now to see if I can use that to my advantage to make it easier. So I’ll give it some more time to see if I can learn what I need to build yarn desktop client on it.
We had a wonderful day by the ocean today.
@mckinley@twtxt.net not much, enjoying time off work and family time :)
I want to try NixOS again, and then get the yarn desktop client built on that, and then see if I can get the client into their repo. That would be fun to do. If I have time tonight I’ll start on that.
Been some busy days this week, even though I have some time off now. Today me and Marlyn had some time for ourselves - and her mother watched our kids, so we went out to eat at a resturant, which we very rarely do, was nice to do that. I had some nachos, was really nice. Also bought one of those popcorn machines for our kids, because they always burn the microwave popcorn (not their fault - its the microwave thas weird), so now they can safely make popcorn :)
Scrollwheel on bluetooth mouse on ipad does not work in goryon. Other then that it works great!
But you can use mouseclick and move the timeline as you do with touch, so its not a big deal.
Wish you all a great day!