508 karma · joined Dec 20, 2025 (11mo ago) · 477 submissions
comment 4d ago · link · parent
but hey, it gets them a month of being talked about.
comment 4d ago · link · parent
I can write Lean that certifies that 2 + 2 = 5 is correct, by redefining every axiom about natural numbers on the way. Or abusing bugs in Lean. Stop believing Lean is the response to everything.
comment 4d ago · link · parent
Every single Android app will, by default, support foldables. You have to ACTIVELY take steps to not support them. Sure, it might not look great, but you're not forced to make it look great.
You're also conflating two things: Android starting to ignore the screen orientation declaration in the manifest on some devices (which is the right thing to do), and play store (optional, although the main way people get apps) requiring you to not attempt to block foldables
And of course emulator screenshots are allowed lmao. There's so many more egregious things that Google is attempting with Android than "boohoo they're deprecating a terrible thing that allowed developers to be incompetent"
comment 1w ago · link · parent
Extremely funny to say that about US law when it is entirely based on precedent, and a single judge having vibes on a particular day changes how your entire country works for the next 50 years.
US law is explicitly made to be skirted, as is every common law system in the world and they are all irrevocably flawed.
comment 2w ago · link · parent
The fun part about it is that even if you lower TalkBack's sound, enable the debug tool that just writes the text in a toast because listening to accessibility announcements all day long is a recipe to go mad, turning it on/off always give you the horribly loud TALKBACK ENABLED, all my colleagues know when one of us is doing accessibility work.
comment 2w ago · link · parent
No, a DSL only needs to be better than the language itself to write a layout in. UI is a whole different beast than anything else, where deep nesting is common, layouts flow in many ways, and more. Rust is simply not appropriate to make that pleasant.
Take a simple layout like you'd declare it in Kotlin using Compose:
@Composable
fun GreetingScreen(title: String, onBack: () -> Unit) {
var count by remember { mutableStateOf(0) }
val scope = rememberCoroutineScope()
Column(Modifier.fillMaxSize()) {
Surface(Modifier.weight(1f)) {
Text("Count: $count", style = TextStyles.h1)
}
Button(onClick = onBack) {
Button(onClick = { count++ }) { Text("+1") }
Button(onClick = {
scope.launch {
delay(1000)
count++
}
}) { Text("+1 later") }
}
}
}
Kotlin naturally has trailing lambdas, method references, has the advantage of being a GC'd language so memory management is out the window.In pure rust ?
pub fn counter_screen(ui: &mut Composer, on_back: Rc<dyn Fn()>) {
let count = remember(ui, || 0_i32);
column(ui, Modifier::new().fill_max_size(), {
let count = count.clone();
let on_back = Rc::clone(&on_back);
move |ui, col| {
surface(ui, Modifier::new().weight(col, 1.0), {
let count = count.clone();
move |ui| {
let label = format!("Count: {}", *count.lock().unwrap());
text(ui, TextProps {
value: &label,
style: Some(&TextStyles::H1),
..Default::default()
});
}
});
row(ui, Modifier::new(), {
let count = count.clone();
move |ui, _row| {
button(ui, ButtonProps {
on_click: {
let count = count.clone();
move || count.update(|n| *n += 1)
},
enabled: true,
modifier: Modifier::new(),
}, |ui| text(ui, TextProps { value: "+1", ..Default::default() }));
button(ui, ButtonProps {
on_click: {
let count = count.clone();
move || {
let count = count.clone();
spawn(async move {
sleep(Duration::from_secs(1)).await;
count.update(|n| *n += 1);
});
}
},
enabled: true,
modifier: Modifier::new(),
}, |ui| text(ui, TextProps { value: "+1 later", ..Default::default() }));
}
});
button(ui, ButtonProps {
on_click: { let on_back = Rc::clone(&on_back); move || on_back() },
enabled: true,
modifier: Modifier::new(),
}, |ui| text(ui, TextProps { value: "Go back", ..Default::default() }));
}
});
}What a delicious piece of trash. Since you've said no macros, you're carrying an additional variable everywhere (Composer is a Compose system, but you have the same thing in every UI library that does the same. Call it Context, whatever you want). You have shitty lambdas that need to pass the scope too (because Modifier.weight() only works on a ColumnScope). You have no named parameters, and the only way you would would be crap like having a ButtonProps struct. You have impl Fn() + 'static written in your code. And then if you start to want to do some actual work like "clicking on the button increases a counter", you're suddenly spamming Arc::clone, |move| Rc's everywhere in your code because Rust is simply not a good language for UIs.
(And if you want to go the old school way of simply managing yourself a widget tree, good luck, not only is it always full of bugs, it's also an unmaintainable garbage fire.)
Clojure is not a good language for DSLs either, and the post you've linked is just jerking itself off saying "look i can convert some clojure into the exact bash equivalent by only changing one thing" when it's the exact reason why every single clojure project ends up reimplementing the wheel twelves times and is a piece of shit unmaintainable kludge of whatever code the local genius wanted to commit in this morning. Good languages have constraints.
So yes: DSLs _always_ offer a better alternative. QML is a good DSL, and using Javascript is not the reason why.
comment 2w ago · link · parent
comment 2w ago · link · parent
Because having each parent have to go to a privatized daycare utimately costs more, for a worse service than it being a public service. It also reinforces social segregation, where wealthy parents can afford to put their children into the fancy daycare, while poorer ones either don't (which is horrible for the children), or have them in run down, overcrowded day cares.
comment 3w ago · link · parent
In which universe ? You generate a signing key, its password, configure the alias, the alias password and then just modify your gradle build script to say signingConfig.set(file("file/path.jks"))
Hell, if you want to go even further, give up on signing, use the debug signing certificate and let google sign for you with their own keys.
I've stopped counting how many issues you get on trying to build iOS apps because "whoops, sorry, xcodebuild just farted and can't sign"
comment 3w ago · link · parent
comment 3w ago · link · parent
Character customisation already exists. AI won't make blending textures easier or harder.
>game artists would change from making 3D meshes, textures and animations to being authors of storylines and styles.
You fundamentally misunderstand game artists if you think that the meshes, textures and animations they make _today_ isn't driven by a storyline and styling. That's the absolute core of everything artists do. Otherwise we'd have reusable animation packs everywhere, like every default UE5 game does and nobody would redo a 50th running animation.
comment 3w ago · link · parent
Note that this amendment to the law was passed with 11 votes for, 10 no... With a national assembly of 577. I have to assume it was voted at night, that's when peak democracy happens.