Searching txt.sour.is

Twts matching #work
Sort by: Newest, Oldest, Most Relevant

Today I was fighting against a TOTP library in PHP, since it works for 6 and 8 digits, but for 10 it was giving inconsistent values, due to a conversion to a 32 bits int.

It felt amazing when, after a few hours, I found what was causing the error…

And found that many libraries have the same problem.
Now I get why TOTP is limited to 8 chars. It’s a 2FA but not a Password. Perhaps another algorithm will be needed to support 16 digits.

⤋ Read More

Good morning to you all! Just had the morning walk with the dog in the rain, it’s raining pretty bad today, all day.
But that also means I have some time for my computer later today. I just have to figure out what to do first :)
Probably code a bit, or reinstall one of my computers, I’ve been wanting to run #OpenBSD again, I tried it on one of my laptops, but wifi did not work for some reason, but I have some wifi dongles - so I’ll try with that, or install on one of my other laptops.
I have a #Thinkpad #x200 with #libreboot, I might give it a shot there - all though it takes some time to get it to work with libreboot, I did install it some years ago though, so I think that should work again now. Either way I’ll figure out something to tinker with today!

⤋ Read More

Today we went on another roadtrip! Was really nice, we also spent 2 hours in a crowded resturant (table outside), with our dog Nanook, went great! Kids could eat a whole pizza, and he just sat there next to the table taking in the view, dogs walked by, people walked by, crowded street etc, was awesome to see that all the training we have done gives very positive results :) Been a fantastic day. And was nice to spend it all with my family, I love having time off work.

⤋ Read More

A checklist and guide to get your repository collaboration-ready
In the world of software development, collaboration can make the difference between a brittle last-minute release and a reliable, maintainable, pain-free project. Whether you’ve been coding for a day or a decade, your colleagues are there to help strengthen your work. But they can only help if you’ve given them the tools to do so. ⌘ Read more

⤋ Read More

I hung up a older tv in our bedroom today, a dumb tv without any smart features, bought one of those new chromecast’s, works very well, pleased with this setup. Gonna be nice to watch some TV in bed, or listen to podcasts etc.

⤋ Read More
In-reply-to » compiled and ran the desktop client on riscv tonight. my mangopi only has 512mb ram, but it was enough to compile and run it :)

@prologic@twtxt.net I have to admit it was not useable in any way, since it (along with the OS) used almost all the ram, and the mangopi is not a powerfull device, works fine for terminal and file browsing \ editing etc, but not much more. Still waiting to get my hands on some better riscv hardware.

⤋ Read More

Smarter, more efficient coding: GitHub Copilot goes beyond Codex with improved AI model
We’re thrilled to announce two major updates to GitHub Copilot Code Complete’s AI capabilities that will help developers work even more efficiently and effectively. ⌘ Read more

⤋ Read More

How to responsibly adopt GitHub Copilot with the GitHub Copilot Trust Center
We’re launching the GitHub Copilot Trust Center to provide transparency about how GitHub Copilot works and help organizations innovate responsibly with generative AI. ⌘ Read more

⤋ Read More

Exploring developer happiness, inclusion, and productivity at GitHub’s Design Conference
As a design organization, we have the opportunity to make a significant impact on designing the platform for all developers. How does the emergence of creative AI impact our work? How can we achieve an inclusive experience for a spectrum of all abilities? What does designing for developer happiness look like? ⌘ Read more

⤋ Read More
In-reply-to » Just compiled the Yarn desktop client on OpenSuse, was no issues getting it to run there, I love how portable it is. I initially wanted to run OpenBSD on this laptop, but it would not detect wifi, which is a dealbreaker for me, so I installed OpenSuse tumbleweed instead, and will run OpenBSD in a VM and try from there instead.

@apex@twtxt.net - source is here
https://github.com/stig-atle/YarnDesktopClient

Some more info and screenshot:
https://stigatle.no/posts/2023-07-03-yarn-desktop-client/
Keep in mind it’s early still, but a lot of things works and I use it all the time my self..

⤋ Read More

Release Radar · Spring 2023 Edition
It’s been a while since we’ve published our Release Radar. You can blame IRL conferences coming back, getting influenza, and being struck down by the weather. But those are just me problems. While I’ve been down or travelling, the community has been hard at work shipping new releases and new projects. So, we thought we’d […] ⌘ Read more

⤋ Read More
In-reply-to » Came across a twitter post claiming that there is a UFO in a building, meaning the ufo crashed, and then the building was built to cover it.

It’s the same type of antenna on both buildings, all though one is a actual building, and the other is just the antenna with a smaller building under the mesh structure.
I often fly flightsims, its my hobby, so I often work with waypoints, so I now just looked up the waypoint to find it’s information, to do that I looked up the closes airport, then looked around until I found the waypoint:
https://opennav.com/navaid/KR/SEL/ANYANG

So would they really place a navaid on a building that contains a UFO? I do not think so.
Would a UFO crash that close to Seoul without a since photo or video? I do not think so either.

⤋ Read More
In-reply-to » I've been thinking in the back of my mind for a while now, that the Yarn.social / twtxt + ActivityPub integration was a mistake and a. bad idea. I'm starting to consider it a complete failure.

I understand your thoughts on this, but I would not call it a failure - because you learned a lot from it, and lots of things worked as well.
And there are alternatives for those who needs\wants activitypub, so I think also yarn\twtxt benefits from you focusing on that instead of dealing with the frustrations of activitypub integration. And maybe it’ll feel a bit better to put that on the backburner? :)

⤋ Read More
In-reply-to » I had issues with the current activitypub implementation here on yarn (people could not follow me properly) and I cannot see their posts and stuff like that, so I decided to host activitypub separate from here. So I will turn it off here - and use this site has as before - but without activitypub turned on, and then do all my activitypub stuff over on that other service. I can be added through: @stigatle This does not affect the development of the desktop client, I will still work on that, I'm here to stay :) I just need a way to follow the others properly on the other services..

@prologic@twtxt.net no worries :) and as you know I appreciate the work you put into it!

⤋ Read More

I had issues with the current activitypub implementation here on yarn (people could not follow me properly) and I cannot see their posts and stuff like that, so I decided to host activitypub separate from here.
So I will turn it off here - and use this site has as before - but without activitypub turned on, and then do all my activitypub stuff over on that other service.
I can be added through: @stigatle@activitypub.stigatle.no
This does not affect the development of the desktop client, I will still work on that, I’m here to stay :) I just need a way to follow the others properly on the other services..

I did not want to join mastodon, and I did not want something complex to host, so I decided to set up Snac2 - https://codeberg.org/grunfink/snac2 . It’s super lightweight, easy to set up, and worked out of the box for what I was looking for.

⤋ Read More

Question to all you Gophers out there: How do you deal with custom errors that include more information and different kinds of matching them?

I started with a simple var ErrPermissionNotAllowed = errors.New("permission not allowed"). In my function I then wrap that using fmt.Errorf("%w: %v", ErrPermissionNotAllowed, failedPermissions). I can match this error using errors.Is(err, ErrPermissionNotAllowed). So far so good.

Now for display purposes I’d also like to access the individual permissions that could not be assigned. Parsing the error message is obviously not an option. So I thought, I create a custom error type, e.g. type PermissionNotAllowedError []Permission and give it some func (e PermissionNotAllowedError) Error() string { return fmt.Sprintf("permission not allowed: %v", e) }. My function would then return this error instead: PermissionNotAllowedError{failedPermissions}

At some layers I don’t care about the exact permissions that failed, but at others I do, at least when accessing them. A custom func (e PermissionNotAllowedError) Is(target err) bool could match both the general ErrPermissionNotAllowed as well as the PermissionNotAllowedError. Same with As(…). For testing purposes the PermissionNotAllowedError would then also try to match the included permissions, so assertions in tests would work nicely. But having two different errors for different matching seems not very elegant at all.

Did you ever encounter this scenario before? How did you address this? Is my thinking flawed?

⤋ Read More

This whole twitter thing got me motivated to code on the yarn desktop client.
Currently working on adding support for links in the post, so that you can open and view the links that are in the statuses.

⤋ Read More

got two computers donated from work, xeon server machines. set them up for my kids. they do not know that ill give those to them yet. they have been asking about them, and asked if they can play roblox on them and such. they are going to be so happy tomorrow when they get the machines set up in their room tomorrow :)

⤋ Read More

We Thank the Stack Overflow Community for Ranking Docker the #1 Most-Used Developer Tool
Stack Overflow’s annual 2023 Developer Survey engaged nearly 80,000 developers to learn about their work, the technologies they use, their likes and dislikes, and much, much more. As a company obsessed with serving developers, we’re honored that Stack Overflow’s community ranked Docker the #1 most-desired and #1 most-used developer tool. Since our inclusion in the […] ⌘ Read more

⤋ Read More

wanted to use my oculus to do some flightsimming on Friday, but now Meta forces you over to facebook. super annoying message that constantly pops up in the desktop client, but then after 10 minutes of flying they show the same message in fullscreen inside the VR glasses. so fuck them. I will try and get it to work on linux instead one day soon when I have time.

⤋ Read More

Hehe, as you all might have noticed - I test OS’es often. NixOS was too much of a pain to work efficiently in (the way I wanted), so hopped over to Fedora now. Got all my stuff working there now, as well as the desktop client. I really like how portable the code is, and how easy it is to compile on different os’es. Installed fedora with LXQT, I really like that desktop, I do not like gnome at all - I really dislike the way gnome works. LXQT is just what I need.

⤋ Read More
In-reply-to » @mckinley Yeah, that’s more clear. 👌

@prologic@twtxt.net that would work if it was using shamir’s secret sharing .. although i think its typically 3 of 5 so you get 3, one to the company, and one to the “third party”. so you can recover all you want.. but if the company or 3rd wants to they need one of your 3 to recover.

but still .. if they are providing them then whats the point of trusting they don’t have copies.

⤋ Read More
In-reply-to » Still undecided between TiddlyWiki, DokuWiki, Bear, Benotes, Memos, my blog software, standardnotes, apple notes and more. I like them all quite a bit, but standardnotes, the only one that has reall multiplatform is so fucking complicated to host on your own and then they have this stupid offline subscription thing that allows rich text or the block editor that works like notion. I also found codex docs which is really really nice. Unfortunately they lack proper authentication. 1 / 2

I setup Joplin with caddy as the WebDAV server. Works okay. The e2e encryption can get messed up sometimes. Supports markdown and images.

⤋ Read More
In-reply-to » 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.

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.

⤋ Read More
In-reply-to » 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.

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.

⤋ Read More

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.

⤋ Read More

Still undecided between TiddlyWiki, DokuWiki, Bear, Benotes, Memos, my blog software, standardnotes, apple notes and more. I like them all quite a bit, but standardnotes, the only one that has reall multiplatform is so fucking complicated to host on your own and then they have this stupid offline subscription thing that allows rich text or the block editor that works like notion. I also found codex docs which is really really nice. Unfortunately they lack proper authentication. 1 / 2

⤋ Read More

How GitHub Copilot is getting better at understanding your code
With a new Fill-in-the-Middle paradigm, GitHub engineers improved the way GitHub Copilot contextualizes your code. By continuing to develop and test advanced retrieval algorithms, they’re working on making our AI tool even more advanced. ⌘ Read more

⤋ Read More

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. :)

⤋ Read More

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.

⤋ Read More
In-reply-to » Metaverse Could Contribute Up To 2.4% of US GDP By 2035, Study Shows A study commissioned by Meta has found that the metaverse could contribute around 2.4% to U.S. annual GDP by 2035, equating to as much as $760 billion. Reuters reports: The concept of the metaverse includes augmented and virtual reality technologies that allow users to immerse themselves in a virtual world or overlay information digitally on ... ⌘ Read more

@prologic@twtxt.net 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.

⤋ Read More

Building a culture of innovation in your business with GitHub
Consider the typical software development practices in an organization. Projects are commonly closed, and causes friction across engineering teams. But open source communities work asynchronously, openly, remotely and at global-scale. What if our internal teams could reuse those same practices? ⌘ Read more

⤋ Read More