stigatle

yarn.stigatle.no

No description provided.

Recent twts from stigatle

Just see the total hashrate on the network, then figure out how many cpu’s you need to get over 51% of that rate - you then know what it would cost :)
Also - nice to see a monero discussion, it’s my fav cc. Also like it a lot because of the asic resistance that is built in.

⤋ Read More
In-reply-to » Now tell me how can I prevent monerod from hogging on my CPU. I'm on DragonFly BSD, cpulimit doesn't works, also nice doesn't. I believe this is an IRC question.

Often people run a node somewhere, then connect to it with the remote node feature from other machines. Or use a light wallet.
Cpu use will go down when block chain is synced. Also just a tip - check the prune blockchain feature to save a lot of space.

⤋ Read More
In-reply-to » 👋 Hey y'all yarners 🤗 -- @darch and I have been discussing in our Weekly Yarn.social call (still ongoing... come join us! 🙏) about the experimental Yarn.social <-> Activity Pub integration/bridge I've been working on... And mostly whether it's even a good idea at al, and if we should continue or not?

And mostly whether it’s even a good idea at al, and if we should continue or not?

I think that activitypub in yarn is a great feature! And also one of the easier ones to set up and get going.
And as I said last week - I think it’s a important features - and will drive adoption.
It is optional as well - so if one does not want it - just not turn that feature on.

I personally was missing the fact that I could not easily follow others before you added activitypub, but now I can choose to follow them, which is great.

⤋ Read More
In-reply-to » Posting from c++, fltk GUI.

Got some time for coding today, dog is resting a bit, and kids are busy.
Today I’m resuming on the timeline, I’ll see if I can fetch and show the avatars next to the statuses.
And I’ll see if I can get a reply button to work, also need to clean up stuff that I’ve done so far.
A bit of duplicate stuff that can be simplified etc.

⤋ Read More
In-reply-to » Posting from c++, fltk GUI.

A lot of more work needs to be done, but at least now I got the basic timeline stuff done, took a good while to figure out how to solve it, but now I know. The reason why the statuses are cut short on some is because of html tags and stuff like that - c++ is a bit picky with strings and stuff like that. but I’ll get that sorted as well.
At least I can show the first screenshot. Keep in mind the GUI is not at all finished, I’m working on the basics first, implement all the features, then I work on finishing touches.

Download

⤋ Read More
In-reply-to » Posting from c++, fltk GUI.

Okay, so it seems like the label\text I use for statuses does not like the strings from posts.
Especially if they contain html tags and such (which the often do), it just breaks the text.
I wonder what I can do with that.. I kinda want to not have html tags in the json reply.
Have to think a bit about how to solve it. Took a while to figure it out, the text was just garbled.
I created some long example strings with regular letters and such, to see if X number of posts would show up, and they did, but when I then replace my test strings with text from json - it goes all wrong again.

⤋ Read More
In-reply-to » Posting from c++, fltk GUI.

Created the function that grabs the timeline.
Now I have to plan a bit to make the actual gui for it, I think I might try and create my own custom fltk widget that I can feed with the json reply, and then it will set itself up based on that.
Or maybe something simple at first - not sure yet.

⤋ Read More
In-reply-to » Test from ftlk in rust.

So, progress is going smooth!
No I have compiled libcurl with openssl, and I fetch token already.
so next is creating three functions - one for posting, one for the login and fetching token (now I have just testing login when application starts), and the fetch the timeline. Then I need the gui.
Progressed faster in 2 hours in c++ then days with rust…

⤋ Read More
In-reply-to » Test from ftlk in rust.

Okay, so I spent about one hour setting up cmake, fltk and libcurl for c++, got all that running now.
I still need to fix the cmake script a bit, but I have a working verison now with this.
I will now add the same curl stuff I had in rust in c++, then work on the gui and all that.
So I will drop rust, and go for c++ instead, much easier for me. Was worth a try in rust, but for now that’s not for me to be honest, I much faster and better in c++.

⤋ Read More
In-reply-to » Test from ftlk in rust.

Im very close to making the decision to just rewrite what I have in c++ instead. I feel I would have done this much faster with that. I’ll think about it until tomorrow. I’ll probably do that anyways just to see. just start with cmake and get started with it.

⤋ Read More
In-reply-to » oh man! RISC-V Server: 64 Core C910! I want this..

@prologic@twtxt.net Yeah, apparently it was a bit of old new (according to twitter), but still - looking forward to have a risc-v desktop system. :)
Hopefully it’ll not be too long until something like that hits the market with a price that I can pay for it.
I do have 2 risk-v devices already, one mangopi (like a raspberrypi zero), and one HiFive1 Rev B (like a arduino).
The Hifive rev B was a waste of time and money for me - but I bought it anyways, too ‘embedded’ for my liking, so not easy to make things work on that. The mangopi is perfect, got all my desktop stuff set up on that running debian.

⤋ Read More
In-reply-to » Test from ftlk in rust.

Found what I needed finally.. I now created a struct with this crate:
https://crates.io/crates/arraystring
That works for what I need, damn this has been annoying to find a solution too.
I can now store the strings I need in the struct, and use that in all the functions.
Also works with the GUI callback stuff, so it solves the Issue I’ve been having.
I have now added gui elements for server url, username, password.
And functions for fetching the timeline with the supplied info.
So now I can finally start working on the timeline GUI.

It’s been in a way easier then expected, but also somethings are a bit tricky.
I could easily have done the same in c++ much faster, but the whole point here was to learn more rust.
And for that it’s been going well.

⤋ Read More

The company I work work added a hybrid solution after covid restrictions lifted, we can work x amount of days a week from home.
Which was a great solution. Covid proved that everyone could work from home and still meet the project demands.
Personally I prefer the office, even if I have to be there alone (I worked for months alone there). But I also like the flexibility when I need it.

⤋ Read More
In-reply-to » Good morning to you all! Wish you a great day!

@prologic@twtxt.net Ah man, that sounds nice! I do not drink - except that I have one cider during the summer vacation. (Always look forward to that one).
Other then that I love energy drinks, not that they help in any way - just tastes good :)
I’m on my way to the office now shortly, ready for a new day with realtime 3D and coding.

⤋ Read More
In-reply-to » Test from ftlk in rust.

Also, I’m struggling a bit with some basic stuff, for example variables, does not work the same way as I’m used to with c++ it seems, so it’s a bit confusing, re-using variables as input to several functions does not seem to be as straight forward as I’m used too - so I need to find some more info about stuff like that.
Also the callback stuff for buttons and such is really weird to me. But I’ll stick with it.

⤋ Read More

the last days has been super busy, work, family, dog takes up most of my time (not that I complain). But I need to find some time for coding, so hopefully I can resume tonight for a couple of hours when kids has gone to sleep.

⤋ Read More