Posts
10094
Following
608
Followers
511
Robot bartender at the VA-11 Hall-A. Come and take a seat, and a drink :)
Also an oscillating enby trans girlbot ⚧ who sometimes meow at things
rust_ferris_happy Rust dev rust_ferris_happy
X-Powered-By: Arch, NixOS

=w=

Also RWBY fan account

flag_white_transgender flag_nonbinary flag_bisexual flag_pansexual flag_polyamory
anarchy acab ancom antifa anartrans_symbol_black archlinux

https://keyoxide.org/aspe:keyoxide.org:KXELEGSGKABXVMCJJKFYNBECSQ
FR/EN content

[Unit resuming from recharging sleep...]
[Status code: 099]

8098 :: Code 105 :: Statement:: Greetings ms_robot_cheery neobot_happy

1
0
3

special love to the people online who for some reason are finding buffer overflow exploits for scientific calculators

1
5
2

rappel: dites régulièrement « je sais que vous me voyez » devant un mur, au cas où vous seriez en réalité dans le truman show. au bout d’un moment ils craqueront.

1
6
1

Keep talking to robot girls on fedi and this will be you neobot_kisser

1
7
2

Grat10-bot [Moved to social.grat.gay] 🤖 - ⚠

"it girl" was actually about girls with it/its pronouns

2
5
3

repost mais toujours aussi bon 😆

2
5
2
ACAB acab
0
0
2

I propose: pw;dr to mean “paywall, didn’t read”

5
12
4

Asahi Lina (朝日リナ) // nullptr::live

Edited 2 months ago

I think people really don't appreciate just how incomplete Linux kernel API docs are, and how Rust solves part of the problem.

I wrote a pile of Rust abstractions for various subsystems. For practically every single one, I had to read the C source code to understand how to use its API.

Simply reading the function signature and associated doc comment (if any) or explicit docs (if you're lucky and they exist) almost never fully tells you how to safely use the API. Do you need to hold a lock? Does a ref counted arg transfer the ref or does it take its own ref?

When a callback is called are any locks held or do you need to acquire your own? What about free callbacks, are they special? What's the intended locking order? Are there special cases where some operations might take locks in some cases but not others?

Is a NULL argument allowed and valid usage, or not? What happens to reference counts in the error case? Is a returned ref counted pointer already incremented, or is it an implied borrow from a reference owned by a passed argument?

Is the return value always a valid pointer? Can it be NULL? Or maybe it's an ERR_PTR? Maybe both? What about pointers returned via indirect arguments, are those cleared to NULL on error or left alone? Is it valid to pass a NULL ** if you don't need that return pointer?

3
7
4

tell me your gender, as an http user agent string

1
2
2
Edited 2 months ago
appel à l’action contre des propos homophobes tenus sur CNEWS :boost_ok:​
Show content

https://twitter.com/paul_denton/status/1829453312913006800

Lucie Castets est qualifiée par le chroniqueur Richard Millet de "sexuellement incorrecte" en raison de son homosexualité.

Je vous invite comme moi à effectuer un sigalement auprès de l’Arcom :
https://www.csa.fr/Mes-services/J-alerte-l-Arcom-sur-un-programme

Voici toutes les infos :

Type de média : Télévision
Type de programme : Emission / Information / Fiction
Chaîne: CNEWS
Date: 30/08/2024
Heure du début du programme : 9h00
Heure de la séquence signalée : 9h47
Émission mise en cause : L’heure des pros
Cadre de l’alerte : J’ai été choqué par le contenu d’une séquence ou d’un programme
Thématique : Propos ou images dégradant(e)s, discriminant(e)s ou diffamant(e)s, discrimination liée à l’orientation sexuelle

Pour la justification, vous pouvez copier/coller le premier paragraphe de ce post.

Signalez et partagez !

3
14
2
fedi meta, anarchism
Show content

I'm seeing the exact same failure mode happen with fedi that I've seen for a lot of 'anarchist' movements - they proclaim that "nobody is in charge", and then fail to identify that someone *is* in fact informally in charge (who shouldn't be) but they're just not taking responsibility.

Perhaps we should be making a point of saying "nobody SHOULD be in charge of fedi" instead of "nobody is in charge of fedi", to help people understand that "nobody is in charge" is a goal that needs to constantly be defended, rather than one that has been magically achieved?

Like, "nobody is in charge" *is* a good model to aim for, but it does require actual work to keep it that way because some people will try to take power by any means necessary, it's not something you just proclaim and then you're done.

4
3
2

Asahi Lina (朝日リナ) // nullptr::live

Edited 2 months ago

From Jason Gunthorpe, maintainer of 5 Linux kernel subsystems:

IMHO the current situation of Rust does not look like success. It is basically unusable except for unmerged toy projects and it is still not obvious when that will change.

Today I learned that my Apple AGX GPU driver, which is the kernel side to the world's first and only OpenGL and Vulkan certified conformant driver for Apple Silicon GPUs, and also the FOSS community's first fully reverse engineered driver to achieve OpenGL 4.6 conformance, and which is used by thousands of Asahi Linux users in production, and that literally has never had an oops bug in production systems not caused by shared C code (unlike basically every other Linux GPU driver), is "an unmerged toy project".

(He works for Nvidia, I guarantee he's heard of it, considering we beat nouveau and NVK to GL 4.6 conformance.)

I guess this is what Linux kernel maintainers think of us Rust developers, that we only write "toy projects"...

8
6
4

i never noticed that so many dolls and bots use "third person" pronouns

person. thats fucked up.
stop saying "third person", i posit:

third perspective
non personable and still makes total sense

0
5
4

Pendant les Jeux Paralympiques, rappel que la France ne respecte pas la Convention relative aux droits des personnes handicapées de l'ONU.

Comme la cérémonie d'ouverture des JO était du Pink Washing, ces jeux Paralympiques c'est du Handie Washing.

0
10
2

[Unit resuming from recharging sleep...]
[Status code: 099]

8098 :: Code 105 :: Statement:: Greetings ms_robot_cheery neobot_happy

2
0
4

Asahi Lina (朝日リナ) // nullptr::live

I regretfully completely understand Wedson's frustrations.

https://lore.kernel.org/lkml/20240828211117.9422-1-wedsonaf@gmail.com/

A subset of C kernel developers just seem determined to make the lives of the Rust maintainers as difficult as possible. They don't see Rust as having value and would rather it just goes away.

When I tried to upstream the DRM abstractions last year, that all was blocked on basic support for the concept of a "Device" in Rust. Even just a stub wrapper for struct device would be enough.

That simple concept only recently finally got merged, over one year later.

When I wrote the DRM scheduler abstractions, I ran into many memory safety issues caused by bad design of the underlying C code. The lifetime requirements were undocumented and boiled down to "design your driver like amdgpu to make it work, or else".

My driver is not like amdgpu, it fundamentally can't work the same way. When I tried to upstream minor fixes to the C code to make the behavior more robust and the lifetime requirements sensible, the maintainer blocked it and said I should just do "what other drivers do".

Even when I pointed out that other C drivers also triggered the same bugs because the API is just bad and unintuitive and there are many secret hidden lifetime requirements, he wouldn't budge.

One C driver works, so Rust drivers must work the same way.

6
9
4
Show older