
F**K!!!
F**K!!!
The only person in USA without a gun.
Of course linting and formatting is not part of the language. Of course you can install extensions in some IDE that will handle it. Conan looks great but I never saw a project using it and when I was asking C devs about dependency management no one mentioned it. I checked dozens of GTK projects looking for some decent template to copy and didn’t find anything remotely “modern”. All projects I see simply use meson/ninja, install deps on system level, don’t provide any code formatting or linting guidelines. Most don’t bother with any modules and just dump all source code into 100 files in src
. And I’m talking about actively developed tools for Gnome, not some long forgotten ones. For me the big difference between languages like C and Rust is that every Rust project uses the same formatting, linting tools, uses modules and proper dependency management while most C projects don’t. Because it’s old. Because a lot of C devs learned programming when it wasn’t a thing. Because a lot of C project started when those tools didn’t exist. You can probably start a new C project in ‘modern’ way but when I was trying to do it there were no examples, no documentation and when I asked C devs I was told that “you just do it like always”. In modern languages the default way is the “modern” way.
This is how you declare a new component in gtk-rs:
glib::wrapper! {
pub struct MainMenu(ObjectSubclass<imp::MainMenu>)
@extends gtk::PopoverMenu, gtk::Popover, gtk::Window, gtk::Widget,
@implements gtk::Accessible, gtk::Buildable, gtk::ConstraintTarget, gtk::Native, gtk::ShortcutManager;
}
impl MainMenu {
pub fn new() -> Self {
Object::new(&[]).expect("Failed to create `MainMenu`.")
}
}
#[glib::object_subclass]
impl ObjectSubclass for MainMenu {
const NAME: &'static str = "MainMenu";
type Type = super::MainMenu;
type ParentType = gtk::PopoverMenu;
fn class_init(klass: &mut Self::Class) {
klass.bind_template();
}
fn instance_init(obj: &glib::subclass::InitializingObject<Self>) {
obj.init_template();
}
}
This is how you declare a new component in Leptos:
#[component]
fn App() -> impl IntoView {
view! {
<div>test</div>
}
}
That’s what I mean by “it’s not ergonomic”.
Interesting, I didn’t realize Vala was designed specifically to help with GTK. It could be a skill issue but I found the entire ecosystem really hard to understand. It’s like all documentation is written assuming you already know half of it. “Vala uses the GObject system”. Yeah but I’m just deciding which language to use to learn GTK, I don’t know what GObject is… Now that I understand it all better I would probably just use Vala and stick to GTK. Instead I switched to Tauri+Leptos+Thaw and it was a joy in comparison. Documentation was clear and I was just able to link my app to local framework code and debug whatever part I wanted. I was able to fix bugs in Tauri in first weeks of learning and I contributed quite a lot along the way.
I did some Lisp programming long time ago but I don’t touch it anymore.
which is roughly 15 kilometres north of the U.S. border
Coast Guard followed and tried to push him into the U.S
Wow, that’s a loooooong push.
If they did kidnap a Canadian citizen the government should definitely put enough force on the border to prevent Coast Guard from crossing into Canada ever again.
Nah, the exams wouldn’t be mandatory for everyone. You have a degree? Exempt. You graduated from one of the “certified” high schools (the ones in white neighborhoods but we don’t call it that wink wink)? Exempt. Passed NRA shooting license exam? Exempt.
That’s a completely different thing. I’m talking about global trade. The elites want global trade to continue and Trump and his terrible policies are fucking it all up. The elites would like to see some stabilization but then can’t control Trump. JD would help them with that.
What would happen internally in US is a different story. I didn’t make any claims about it. Of course JD would be terrible for average American but we’re talking about elites and why they would prefer him from Trump. Not what you would prefer.
By “C is so old” I mean it lacks a lot of features modern languages have. Proper linting, code formatting, dependency management, version management, virtual environments, modules. Yes, you can solve some of it with docker but it’s terrible compared with Rust for example.
By “it doesn’t translate well to Rust” I mean that GObject doesn’t translate well to Rust structs so you end up with weird structures split into multiple modules and terrible code overhead. Compared with modern UI frameworks it’s just not ergonomic to work with.
Yes, I know GTK supports multiple platforms but if I want to develop for desktop and mobile I had way better experience using Tauri+Leptos. It’s not just about having some bindings and some docs for it. It’s about how much effort does it take to set it up and figure out how to implement specific functionality. Good docs, good tools good compiler and readable code for the framework help a lot.
I read about Vala but a language that compiles to C seemed icky to me. I don’t know, maybe it solves all the issues that C has. Maybe I will give it a try one day.
Responding in kind would be shooting at cops that are about to shoot you. Here we’re talking about cops detaining people. Shooting them would be illegal. If you doubt that go ask a lawyer before buying a gun.
Yeah, because shooting at police detailing people is legal…
Look, I 100% agree police is in the wrong here but the way the legal system is set up you can argue that in court. They detain you, put you in front of a judge and if you can demonstrate that your detention wasn’t legal you will be freed. The law in no way allows you to shoot cops because you think they don’t have the right to do something. Telling people to shoot cops is advocating for breaking the law, pure and simple. It’s not for me to tell if US is at the stage when civil was is the only way out and you shoot just start killing each other but don’t pretend it would somehow be legal.
You don’t think JD will calm it down with the tariffs or at least will stop changing his mind about it every week? That’s all coming from Trump. It helps people in is circle to make some money but the rich definitely don’t like it.
Oh, so you’re telling people to start breaking the law while you yourself follow it and don’t risk anything? Clever.
I tried using GTK with C, JavaScript and Rust and the experience was always terrible. The tools, the documentation… C is just sooooo old and GTK doesn’t translate well to Rust. For me GTK is great for Window Manger level tools that need to be small, super fast and are fairly static (you don’t add new features do settings app or clock widget that often). I definitely wouldn’t do cross platform apps in it.
Trump did his part. Thanks to Trump they managed to cut medicare and give massive tax cuts to the rich. That was the main goal for this term but now people will start to realize what happened and Republicans may lose the midterms. So what do you do? You get rid of Trump and blame everything on him. You replace him with someone more stable and easier to control.
Basically now that they got what they wanted they want to put JD in charge to stabilize the economy and increase their chances of winning midterms. That’s how I see it.
What are you waiting for?
I think it’s clear by now that this is too well organized for the democrats to be behind it. The call is coming from inside the house…
For anyone curious it’s 25/07/2025 in metric calendars.
I don’t she was just listing names. More likely they came with a list and she was just answering questions about it.