# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 938
# self = https://watcher.sour.is?uri=https://yarn.stigatle.no/user/stigatle/twtxt.txt&offset=538
# next = https://watcher.sour.is?uri=https://yarn.stigatle.no/user/stigatle/twtxt.txt&offset=638
# prev = https://watcher.sour.is?uri=https://yarn.stigatle.no/user/stigatle/twtxt.txt&offset=438
@mckinley I use spideroak backup, and switched from selfhosted nextcloud to proton drive.
Have a great day everyone!
Time to dive into threading and c++. I will start with making the file/image downloader threaded, then I'll make the timeline fetching and all that threaded as well.
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 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 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!
Just 2 days at the office this week, then rest of the week is free time :) woho!
Decided to pick up my ipad again, I have one of those keyboards for it, as well as a bluetooth mouse, RDP to other machine works really well. A bit surprised about how well it works actually. I often use one of my older laptops and remote into my workstation, but this is a much nicer solution. :)
@prologic by helping building it up. Positive reinforcement:)
Takes a lot of time..
I have not used AI much at all, I have not paid any attention to it. But today I decided to give stablediffusion a test run, I do only have a 1080 card, so it took some tweaking to output 512x256 images, and I must say it works pretty well. I also had to get one of the memory optimized versions. Fun to test.
Enjoy the weekend everyone!
Picture from the office this morning :)
Hm, encrypted private messages on twitter is for those who pay for twitter blue only.. not that this was unexpected, but still..
@prologic Yeah, we had some discussion about it once it was announced. I said what I felt (And I do love VR - but for flight simulators etc) - but I just knew it would fail.
Especially when they showed the ridiculous screenshots that they where so proud of with the quality of 15 years ago.
And they they pushed it as a place to work or have meetings during the pandemic.. haha.
And they did not even use it themselves in the company.
@movq oof, rust.. Glad I put that away. I do not think I'll ever pick that up again unless I'm getting paid to work with it.
@rebelljoe now that is cool 😁
I still have the email, and I still appreciate the gesture :)
Good morning to you all :)
the next thing to fix is thread view, and the reply to
.. feature (showing the text preview of the post the reply goes to).
Okay, so spent some more time with this. I can now store password - and retrieve it as well.
I'll clean it up and get it working properly as soon as possible.
This was a nice thing to learn.
I've been looking into this tonight, and it seems like 'libsecret' is what I need, so I will try and implement this.
I can then store password and other things (username \\ url) as well with it.
https://wiki.gnome.org/Projects/Libsecret
I've been looking into this tonight, and it seems like 'libsecret' is what I need, so I will try and implement this.
I can then store password and other things (username \ url) as well with it.
https://wiki.gnome.org/Projects/Libsecret
Weekend again! Damn good feeling:)
Here I am, looking at my bookshelf, where the '12 rules for life' book sits.
I found the way he had to be put in a coma to get off addiction to his medicine etc fascinating. It felt like the good old 'do as I say, not as I do' type of thing. But hey - regardless of who you are or how strong you portray yourself - there can always be hard issues to tackle in life.
Exciting!
The tiredness lasted 49 minutes. 🤣
Got that bike today, and nanook ran home pulling me like a rocket. So fun when training on commands - run, go, left, right works. Avoids all obstacles etc. Was really fun! And for once he's tired :)
Decided to write a bit about the desktop client on my website..
Feel free to read.
https://stigatle.no/
@hecanjog We're a bunch of people here that keeps things busy! :)
Today I get a free (used) bike, was nice of them to aak if we needed it. So now Nanook can start running while I bike, that will be great! (And a challenge).
@prx Clonezilla is fantastic, such a great tool!
One thing I did in another project was to use sqlite that had encryption. I might do that here as well. That would work well for this.
Worked a bit on the desktop client tonight, now I store username/pass/server url, but it's insecure at the moment. I need to find a way to store it more securely.
I need to add 'thread view' in the Yarn desktop client, I find my self really missing that when I use it. It will make it much easier to follow threads and such.
Back home again, had a really nice time today, was about a 6hr drive (3hrs each way), so it's good to be back home. Was really nice to see grandma today (and the other family members that where there). Now we're baking pizza! Time to relax :)
@prologic ah yes! Did you loose taste/smell? I lost smell and everything tasted like what a hot garbagecan smells like. Ugh.
@prologic Always nice to get a day off and a short week 😀
@osnews I do not understand why they took it away in the first place, I absolutely hate 'icon only' on taskbar on a computer. Super annoying when working with many windows.
@carsten That sounds nice! This weekend we're going to celebrate my grandmother's birthday (80) and my stepdad's birthday (50). So it'll be a lot of cake this weekend :)
Been a really nice day today. Just one more day at the office then it's a long weekend (We have Monday off work). Looking forward to that!
Have a nice day everyone!
@movq Hope you get some time to relax :)
Gonna code a bit tonight. Clean up the image code, then I will rewrite some of the code that uses libcurl, make a more generic function that I use in the calls, instead of many functions. That will be nice.
@prologic They have some markdown support that you can use, but I have not looked into that yet, I might check on that for clickable links in label.
I now just get all the attached links in each post, check for direct links to images, download them and show them as in the screenshot.
Got a really nice chain from my stepdad today, gonna rig it up in the garden so that the dog can be there as much as he wants without me worrying about him jumping the fence.
Working on showing attached images in the desktop client, it worked on first try.
Now I need to fix the scale and alignment - but cool that it works already!
@carsten Yeah, I keep my account too - do not want to get rid of it, but I do not post much anymore there at all, just retweet stuff I find interresting. Also I'm so boring there that I get almost no followers and such, never got any traction there, even though I've been there since 2008. I write more here then there, and get more response here as well.
@carsten Been thinking about leaving twitter recently, so much drama there. But I have not decided yet. It's still a bit useful for me for getting my tech related news stuff and things like that, so I cannot get my self to leave yet.
@carsten Yeah, that seems to be the case :)
@prologic The good thing here at least is that you get back on your taxes if you loose money, so that helps a bit, and if you buy mining gear you can write some of the cost up as well etc. So it's a pretty nice that they have done it that way here. The only downside is what I mentioned already - the complexity of filing it all.
@prologic The one I actually use for something is Monero. I also mine it (asic resistant, mined with cpu). The others I just put some savings in every month. The whole pyramid scheme thing - I do not think much about honestly. Crypto is here to stay, won't go away. And for me it's better then stocks because I know nothing about stocks and such. I do not put much into it. I also had some NFT stuff that I minted - which I sold for 10x the price later on, but honestly - last year I gained as much as I lost, so it evened out to almost 0.
@prologic yeah. Everything else on my taxes are already folled in. For crypto you need to add each and every transaction. The online service I use has api to each major exchange, pulls the data and crunches the numbers for you though. The problems start when you use decentralised exchanges or unsupported wallets etc. Took some hours to sort out on my end. But now I do not have to worry about it. 😀
Had to add all my crypto to my taxes, damn that is a painful process. There are online services that helps with that part, so I use that to help. but I have transactions all over the place, so it takes a lot of time. But now it's done for this years tax report :)
How are you all doing tonight?
@prologic it's been ruunning smooth sll night/day now.
@prologic ooofff. Hope you get through it quick.
@prologic It did not crash today (after it did earlier today), I now compiled and updated to latest, I'll let you know if it happens again.
@prologic I will try and get that tonight. (Currently at work).
Getting a very frequent crash in yarn. Have to restart it several times a day now. Ill pull down and compile latest later today and see if that helps.
Time to get some sleep! Good night to you all!
@shreyan @prologic I like the way he did that interview, that way they cannot warp what's being said etc.
@funbreaker no need to feel dumb. This is why testing is nice! That being said - ill make a fix for that too :) this is why I appreciate you taking the time to test, because we have now found many things to improve already 😀
@funbreaker I tested now against twtxt with a account I created -it segfaulted if you had a / at the end of the server url.. My bad.. works if you remove the slash. I will fix it in the client so that it removes the slash if it's in the server url.
@funbreaker Also, did you compile rapidjson from source? Or install the package with your OS? I built the latest version and installed that - if the problem continues now after I fixed the error on my end - then that might be the cause.
@funbreaker I have pushed a fix now to git, I now got rid of the error when I use it on my end. I will create a test account on twtxt later tonight (after dinner and all that) if needed. If you test the latest on your end before that - let me know :) And thanks for your patience.
15 degrees + today, feels like summer. Gonna chill all day outside today and enjoy the nice weather :)
@funbreaker seems to be related to the way the timeline array is done. I will rewrite that part. I'll start tomorrow.
@funbreaker Ok, I saw that error here now as well - but it does not crash. I have put it in the issue tracker, I will fix it and let you know once I've tracked it down.
@prologic haha yeah. I had a good laugh from that.
@lyse thanks again! I'll get those things sorted.
@funbreaker Could you pull the latest code and rebuild? I have added SSL verification now.
If it still fails I'll make a twtxt account and look into it more.
@lyse @prologic it seems like the ssl verification works now, I enabled it - but also added another option as well that I now saw in the docs, and now it did not fail on my end (which it did before). I will add a 'enable ssl verification' checkbox (checked by default) so that those who do not need or want it for testing and such can disable it if they want.
Nice morning walk today.