Searching txt.sour.is

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

Ukraine says counteroffensive plans were leaked to Russia
Ukrainian President Volodymyr Zelensky suggested on Sunday that plans for Kyiv’s long-awaited counteroffensive last year had been leaked to Russia ahead of time. Ukraine’s counteroffensive in 2023, powered by billions of dollars in Western arms, largely fell flat, failing to break through multiple lines of Russian defences and fortifications. ⌘ Read more

⤋ Read More

UN chief: Security Council undermined by Gaza, Ukraine deadlock
United Nations chief Antonio Guterres on Monday (February 26) deplored how the U.N. Security Council had failed to respond adequately to the Israel-Hamas conflict in Gaza and Russia’s invasion of Ukraine, saying the conflicts had “perhaps fatally” undermined its authority. ⌘ Read more

⤋ Read More

Bolsonaro Supporters Flood Street in Sao Paulo
Former Brazilian president Jair Bolsonaro ridiculed accusations against him of orchestrating a failed coup in front of tens of thousands of his supporters gathered in Sao Paulo on Sunday, February 25. Police are investigating if Bolsonaro incited what amounted to a failed coup after losing the 2022 election, and say he edited a draft presidential decree that would have declared a state of emergency and c … ⌘ Read more

⤋ Read More

Huge Show of Support for Bolsonaro in Sao Paulo Amid Coup Investigation
Former Brazilian president Jair Bolsonaro ridiculed accusations against him of orchestrating a failed coup in front of tens of thousands of his supporters gathered in Sao Paulo on Sunday, February 25. Police are investigating if Bolsonaro incited what amounted to a failed coup after losing the 2022 election, and say he edited a draft presidential decree t … ⌘ Read more

⤋ Read More

Gajim: Gajim 1.8.3
Just after the release of Gajim 1.8.2, we’re releasing Gajim 1.8.3 with improvements for the profile window, fail-safes for anonymous accounts, bug fixes for the account wizard, and several other fixes. Thank you for all your contributions!

What’s New

Several issues with anonymous accounts should be resolved by improved account handling in general.

Gajim’s main window can now be closed by pressing the Esc key, if you enable closing windows via Esc in Gajim’s preferences.

What el … ⌘ Read more

⤋ 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
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
In-reply-to » The code for the desktop client is now public here: https://github.com/stig-atle/YarnDesktopClient , I will create tickets for the known things I need to fix and such later today.

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

⤋ Read More

Erlang Solutions: 5 Key Tech Priorities for Fintech Leaders in 2023
The fintech industry is a major disruptor. Each year, it impacts how consumers interact with financial companies and brings new and innovative means to meet ever-growing customer expectations and occupy market space.

As a business owner or executive in this space, you have no choice but to stay on top of your game to increase efficiency.

In simpler terms, if your business doesn’t scale, it could fail.

That mig … ⌘ Read more

⤋ Read More
In-reply-to » @prologic I start my yarnd through command line, is there a way to enable the activitypub that way? or do I need to do it some other way? (I compiled the latest source)

@prologic@twtxt.net Thank you.
What I did was to just pull the latest, build deps and the server, then enable the features as you mention through command line, as soon as I add activitypub it fails with that error when it starts up.

⤋ Read More