Toots for dcz@fosstodon.org account

Written by dorotaC on 2025-01-31 at 11:39

Here I am, Brussels.

Does anyone want to meet up before or during #FOSDEM ?

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-30 at 16:53

I'm used to #mouse #buttons. There was no avoiding them until like 10 years ago or so, where laptop touchpads stopped coming with them.

Recently I got a #keyboard thing with a modern touch pad with no mouse buttons.

Well, I'll just get used to it. Millions of people enjoy them, they can't all be wrong!

The past 3 months of my lived experience without mouse buttons confirm: all those people are wrong.

Whole-pad click sucks. Emulated right sucks.

Give me back my mouse buttons!

[#]UI #UX #laptops

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-30 at 15:26

Looking forward to #FOSDEM :)

I'm on a #3dprinting spree, so I'm excited about the #CAD room. Maybe I can learn how to use #Freecad or #Blender without crashing them. For now it's #OpenSCAD though.

Also, anyone with experience printing transparent pieces?

I already solved several problems, but I still leave fingerprints on the objects XD

Sorry for bad photo quality, #libobscura doesn't support this laptop yet. Those are (going to be) board game pyramids btw.

[#]fosdem2025 #boardgames #cad

=> View attached media

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-30 at 08:09

I think I know.

First, add code in your application to detect if running under cargo (so not installed). Maybe some env var.

Then find out executable's directory and navigate from there to where cargo stores the asset files.

It's a hack. Cargo should not get special treatment, in fact I already have an env var for "data location". But if it works, it's better than if it doesn't.

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-29 at 17:24

[#]cargo question.

Use case: the application is going to distributed with a couple extra files alongside.

Their final location will be in /usr/somewhere. Thy are generated in target/debug or target/release while developing.

How do I force cargo run to give the application the right path to the target dir?

[#]rustlang #programming #AskFedi #rust #coding

=> More informations about this toot | View the thread

Shared by dorotaC on 2025-01-29 at 09:49 (original by Hippo 🍉)

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-27 at 15:40

Modern #Web is annoying, amirite?

Ads, floating panels, BS styling.

Tiny scripts like this give me hope. Resist! Kill all the floating cr@p obscuring your screen with a couple of keystrokes. Death to top bars!

https://alisdair.mcdiarmid.org/kill-sticky-headers/

Reclaim your #useragent . Seriously, I should turn it into a campaign.

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-26 at 08:52

Correction: I typo-ed XD There are some results.

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-26 at 08:50

Funny, #Brave #search serves me a #captcha as soon as I use the "site:" selector.

And then it fails to serve me any results even though I already have one matching page open.

Oh well.

[#]web

=> More informations about this toot | View the thread

Shared by dorotaC on 2025-01-25 at 19:14 (original by Nux)

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-25 at 17:09

I wanted to select "a handful" but I can't vote :(

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-25 at 17:08

How well do tyou fellow nerds know #vi / #Vim ?

[#]coding

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-25 at 16:56

I think I'm going to learn #Kakoune at the same pace as #vim: 2 keys per decade :D

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-25 at 16:55

Also, I gave up on learning more after being unable to figure out how to select a space between words.

I can move to the beginning of the next word.

I can move to the beginning of the previous word.

But end of the current word? Nope.

I wish there was an editor with a more orthogonal set of commands.

Like, W3 goes to the word 3 over.

Why can't I N3 to select 3 more search results?

Same with the bazillion of keys for going one word, WORD, forward, backward, to beginning, to end.

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-25 at 16:50

I just tried to learn more of #kakoune .

Is there any way to paste commands all at once instead of typing them in?

Like, paste '%/#defined:wq' and have it execute.

[#]Editor #programming

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-25 at 14:52

Someone I know is learning to program. I looked at the resulting code, and, unsurprisingly, it was bad :D

What did stand out was the inconsistent indentation.

I only fail to indent when I copy-paste the worst dreck, to throw away with disgust 5 min later. I spend maybe 30min per year with badly indented code.

(And I consider it consistently-indented code even if it's a style I don't like.)

And you, experienced coders? Do you worry about indentation as much as I?

[#]askfedi #programming

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-23 at 17:40

I've been browsing #webcomics again recently.

They usually include author's commentary, links to inspirations and collaborators, even Wikipedia pictures.

It's astonishing how many links from 2002-2008 have rotten. Even a Wikiedia pic of a Japanese emperor ("Not PD picture").

Sites which are still up are often stripped down to the basics, the forum and community gone.

I'm beginning to think: if you care about the content, don't just link to it. Copy and host it.

[#]linkrot #web #internet

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-23 at 14:25

I just had to remove #pipewire :( Upgrading to #Fedora 40 resulted in nonworking sound. Back to #pulseaudio .

Interestingly, my other computer upgraded fine and I play games with pipewire now.

=> More informations about this toot | View the thread

Written by dorotaC on 2025-01-23 at 13:15

I'm writing a hardware access library: #libobscura .

A new idea just popped into my mind: use a special structure for anything that does I/O.

struct Io;

impl Io {

fn device_exists(&self) -> io::Result;

...

}

I'm thinking if I had an Io trait, I could abstract it and use a #mock for #testing.

Is anyone else doing it? Is it a good idea?

[#]drivers #Rust #rustlang #AskFedi

=> More informations about this toot | View the thread

Shared by dorotaC on 2025-01-22 at 19:54 (original by AndiAndi)

=> More informations about this toot | View the thread

=> This profile without reblog | Go to dcz@fosstodon.org account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/490424/reblog
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
474.93748 milliseconds
Gemini-to-HTML Time
3.593736 milliseconds

This content has been proxied by September (3851b).