What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

Turned on the new "Code Quality" feature that seems to be some extended CodeQL + AI.

It's actually worse than anything gave us. That actually gave really good reports on code smells, regressions and coverage failure. It was reliable.

It really does appear tech companies are replacing everything with expensive, resource intensive systems that give worse results and expect us to pay more @pluralisticCory Doctorow

0
0
1
1
1
3
1
1

I'm a very tolerant person, I get everyone has different personalities and quirks. But when people constantly put negative and annoying comments in replies there's two stages:
1) Mute
If stuff still gets through, then I'm sorry its onto:
2) Block
This is my happy place, be nice!

0
0
0
1

I situate my work in the POV of what we know about how people reason about ability, competence, belonging and "innate genius," but we keep all landing at the same place, because it's an overlooked key. When we make software culture inhospitable to how human beings learn, they can't learn.

0
1
0

子が使っている古いパソコンのWindowsを11にアップグレードしてから、もたつきが著しいのみならず、管理画面にたどり着けない、ハッキングでもされたかのような異常な挙動をする、など、なにかと使いものにならなくなったので、Windowsを捨ててLubuntuを入れた。

新しいパソコンになったようにバリバリ動く。テスト一環で眺めるYoutubeの動画もサクサク動くのでよいのであるが、履歴のない状態で並ぶ動画は高市マンセー動画、野党涙、習近平悲鳴などの動画がいくつもあって、ちと驚いた。ここまでプロパガンダが浸潤しているのであるな。普段は履歴があるので私は目にしないような惨状である。こりゃ洗脳されるわ。

0
0
1
2
0
0
1

Hmmm.

Hey, if I wanted to plot a bunch of data points in three dimensions - x,y,z,colour, coords all positive, nothing more than that - what’s your favorite tool for that? I’d like to be able to pan and zoom around whatever I’m looking at.

0
0

People often think that a protocol is just the order of bits and fields and headers. But that shit is just the schema. You can have a bunch of well ordered bits and still manage to communicate absolutely nothing.

Protocols tell you how to do something in various situations in order to achieve orderly outcomes. Thus, a well-written communication protocol also tells you
how to communicate, and what that communication is meant to achieve. Since two clients have adopted the same protocol, it can be assumed they want to achieve the same goals.

A protocol is thus also a contract.

I mean that all seems super obvious and straight forward, but then you look at a lot of modern protocols and they focus a lot on schema and leave very little to figuring out goals and means. They want to be everything-protocols, which is just counter productive. A contract without known goals has no enforcement mechanism, and no way if anything but extremely broad terms have been met. Has my message had the desired affect? Do I need to send more, wait for more? Hard to know. It's fine if you just want to send bytes back and forth, but its shit when you're trying to create an ocean for applications since they don't know what is going to be achieved broadly, they have to negotiate individually (...which they could have done anyways without a protocol).

And that's why you see app A fighting with App B fighting with ... to figure out what each has done and how to read each other's specific interpretations and ideas. Frankly, It's a fuckin' mess. I understand that'd It'd probably create a lot of friction and slowdown to do it right, but its also kinda silly that applications often have to identify and negotiate with each other despite sharing the same protocol/version.

0

Today I had some time to play around with a esp32-c6 I had laying around. I wondered for a while now whether it would be possible to run Diesel on these micro controllers.
Turns out that this is possible for the SQLite backend with some adjustments to diesel and some of our dependencies :tada:

You still need to bring your own VFS to get this working.

I likely will upstream parts of these in the next days, so the next Diesel release might support this out of the box.

Command line output of flashing a ESP32-C6 via espflash and afterwards seeing Diesel queries appearing in the ouput.Source code for running an embedded Rust program creating a Sqlite Database connection via Diesel and executing several queries.

```rust

#[unsafe(no_mangle)]
extern "C" fn sqlite3_os_init() -> core::ffi::c_int {
    println!("Setup os");
    unsafe {
        crate::memory::install();
    }
    libsqlite3_sys::SQLITE_OK
}

#[esp_hal::main]
fn main() -> ! {
    let config = esp_hal::Config::default().with_cpu_clock(esp_hal::clock::CpuClock::max());
    let peripherals = esp_hal::init(config);

    println!("Firmware starting");

    esp_alloc::heap_allocator!(size: 100 * 1024);
    println!("Before sqlite");
    let mut conn = SqliteConnection::establish(":memory:").unwrap();
    conn.set_instrumentation(|event: diesel::connection::InstrumentationEvent<'_>| {
        println!("Execute query: {event:?}")
    });

    conn.batch_execute("CREATE TABLE users(id INTEGER NOT NULL PRIMARY KEY, name TEXT NOT NULL)")
        .unwrap();

    diesel::insert_into(users::table)
        .values([users::name.eq("John"), users::name.eq("Jane")])
        .execute(&mut conn)
        .unwrap();

    let delay = Delay::new();
    loop {
        let data = users::table
            .filter(users::name.eq("Jane"))
            .first::<(i32, String)>(&mut conn)
            .unwrap();
        println!("----");
        println!("Query data:");
        println!("Loaded user data: {} -> {}", data.0, data.1);
        println!("---");
        delay.delay_millis(500);
    }
}

```
0
1

@neilNeil Brown
The is more than just the protocol. Diaspora, for example, does not use it and yet belongs to the Fediverse and it is one of the oldest service in the Fediverse.
Fediverse means that instances federate. There are different services: Mastodon, Pixelfed, Diaspora, Friendica, etc. See image.
This diversity has grown bottom up and is also desired by many users of the services. However, there is an app that captures much accounts and displays it in one timeline on the app. This is the Fedilab app: fedilab.app/ @appsFedilab Apps

Since more people are coming to the Fediverse from commercial central platforms, there is often a desire to see everything with one account. For example, the topic was discussed intensively here (in German): mstdn.social/@bsi@social.bund.

Fediverse-Services in a tree with different protocols
source: https://axbom.com/fediverse/
0
0
0
0
0
0
0
0
0

the Android drama is exploding.

github.com/researchxxl/syncthi

@fdroidorgF-Droid at this point is being used to push out an app with sensitive permissions that's been taken over by an unknown individual who refuses to engage with its large community of users and developers.

I STRONGLY recommend disabling updates from Fdroid, if not uninstalling and manually installing 2.0.11.2, or installing the Google Play version which has a different maintainer.

this is extremely shady and it's just looking worse as time goes on. I'll link to the Syncthing forum thread from about where I left off last time in a subsequent post.

0
0
0
0
0
0
0
0
0
0
0

Speaking in mitigation today Adelheid Russenberger, 34, a history PhD student from London said:

“I believe that I acted morally and according to my conscience [. …] There is no justice in climate breakdown and without a stable climate no-one can live, let alone thrive. I climbed onto the gantry to try and prevent the government’s disastrous plans to licence more North Sea Oil and gas extraction – oil and gas that would have pushed us closer to lethal irreversible tipping points. I climbed on a gantry because I refused to ignore that basic moral principle of acting to protect life.”

In mitigation, Jane Touil, 59, a visually impaired former crown servant from Rochdale said:

“We are in an unprecedented situation. Yet the law says our protest was not justified. Not necessary. Not reasonable or proportionate. Disruption from flooding, extreme heat, extreme weather and wildfires is not a public nuisance. I am.

“The law will not save us. I have always tried to live and act according to my conscience. I call on everyone in this courtroom and in this country to do the same. Politicians will not make the change we need, but we can”

1/3

juststopoil.org/2025/12/05/fou

0
0
0
0
0
0
0

Looooooooong overdue but now that is stable I feel confident enough in it as a long term solution that I am finally doing it. I am deleting everything in Google Photos today. Long overdue.

Also, the deleting process stinks. You have to do it manually from the webUI bit by bit. Anti-user behavior. I guess that shouldn't be a surprise.

0
0
0
0
0
0
0
0
0
0