Show more
m0xEE boosted
m0xEE boosted
m0xEE boosted

And here’s #MorphOS running on the 800 Mhz iBook G4. Looks great at 1024x768. Sure the laptop is chunkier than a MacBook Air but on this OS it’s is pretty snappy*

* that is if you stay away from the modern web, which WayFarer, the builtin WebKit browser will render correctly but 800 Mhz is nothing these days)

#RetroComputing #Amiga

m0xEE boosted

Russian civil-military analyst Kirill Shamiev writes that three of his friends/acquaintances have attempted or carried out suicides in the last six months after struggling to find themselves in emigration. Much of the outside world’s information about Russia now comes from scholars and journalists living in exile under these psychological circumstances. It’s worth remembering that.

m0xEE boosted
m0xEE boosted
m0xEE boosted
m0xEE boosted

It's Wednesday, my dudes! 🐸

According to some sources today also happens to be Capybara Appreciation Day — according to others it's in October.

Stay tuned for interesting developments…

m0xEE boosted
m0xEE boosted

FBI, cyber-cops zap 968 AI-fueled Russian Twitter bots

'Farming is a beloved pastime for millions of Russians' says RT News after it's accused of social nyet-work The FBI and cybersecurity agencies in Canada and the Netherlands have taken down an almost 1,000-strong Twitter bot farm allegedly set up by Russian state-run RT News that used generative AI to spread disinformation to Americans and o…
#theregister #IT
go.theregister.com/feed/www.th

m0xEE boosted
m0xEE boosted

just making sure you're working and not looking at cat videos. carry on.

#Caturday

In Go this wouldn't have been a problem as HTTP client in the standard library honors the environment variables for proxies, but in Rust standard library is very limited — there are plenty of widely used and good crates to make up for it. ureq, which is used in this project, doesn't do it, to me it looks a very similar to Python's great requests module, in which you have to construct the session object (Agent in ureq) and to configure it to use proxies and which is then used to execute requests.

Show thread

Now I have to figure out how to make ureq in this RSS reader use the proxy set with environmental variables. It looks trivial to accomplish: a matter of implementing the Default trait, which is now derived, for the structure (which would be an object in classic object oriented language) that is used as HTTP client.

Show thread

Some problems arise from software relying on atomics (thread-safe types) from the standard library, which aren't portable — luckily, there is portable-atomic crate: github.com/taiki-e/portable-at
Replacing atomics from standard library with the ones from portable-atomic IS straightforward, but in my case it was a dependency of a dependency using it, so building the RSS reader involved adding a [patch.crates-io] section to Cargo.toml to use a local patched version of crate.

Show thread

In case some of the crates use C code and build something themselves, like ring crate does, you have to point cargo to the right tools using the environment variables, but in a lot of cases it figures everything out on its own.
Also rust crate version 0.16 didn't support 32-bit PowerPC properly so to port TUI RSS reader here github.com/veeso/tuifeed I had to update a few dependencies to use newer ring 0.17

Show thread

It appears that cross-compiling with Rust is rather straightforward: just install the target you're… hmm, targeting with "rutsup target add <target>", and use "cargo build --target <target> --release" — not much harder than it is with Go.
Considering that your target is available via rustup — mine, PowerPC MUSL system wasn't and I had to build natively, I'll figure out how to add my own targets later. But building for my old ARM machine went without a hitch — and, surprisingly, the binary works😂

I have sussexfully updated rust (and cargo) to 1.79 on my PowerPC MUSL machine running Void.
xbps-src makes cross-building software so easy, in absolute most cases you only have to specify the target architecture and here we go — although it fails to produce a working dynamically-linked Python for PowerPC, but it looks like a bug in libffi. In any case you only have to worry about platform-specific workarounds, most of other stuff is done for you — and it just works!

Show more
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml