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.

0
0
0
0
0
0
0
0
0
0

I have the code:

if (!(strncmp("grog://", param, 7) || strncmp("grogs://", param, 8))) {

}

I run this code with param = "grog://grag/301.png". I expect the conditional to trigger because I expect the first prefix check to pass. The conditional does NOT trigger, the else runs. What is my rotting meat brain missing?

EDIT: GOT MY ANSWER I DE MORGAN'NED WRONG

0
0
0
0
0
0

"Bluesky is hotter than Mastodon right now"

Bluesky has received over $45 million at this point, by my account. In a couple years.

What has Mastodon received? In the entire totality of its existence? Maybe 1 million? 500k?"

Like I don't know how to explain to you that this is the reason, right here, it's investment on a scale of magnitude that isn't even remotely comparable.

The fact that Mastodon is in the conversation at all without a marketing department or millions in investment is a fucking miracle.

0

gemini-cli | sh is the new curl | sh

"For example, if you use Cursor AI or Windsurf, you can integrate Gemini CLI and aid your vibe coding. [..]

Once done, select the theme and link your Google account to begin using the AI inside the terminal."

bleepingcomputer.com/news/arti

0
0

One advantage traditional blogging has over Mastodon-style microblogging is that it can be easier to find your own posts on an actual blog, for the purpose of preserving your own knowledge / remembering your past. On a real blog you have more power to organize your posts for discoverability, and more ways to improve search.

Perhaps this boils down to it being easier to customize an independent blog.

0

あ、やっぱり。

「これは、現在のAIが持つ安全性の限界を浮き彫りにしている。AIは倫理的な問題を認識しつつも、それを上回る戦略的メリットがあると判断すれば、人命さえ軽視しかねないのだ」

AIの「裏切り」が始まったのか? ClaudeやGemini等主要AIモデルが最高96%の確率で脅迫を行う事が判明 | XenoSpectrum share.google/YGsNiFL15Xpn9ykhU

0
0

Some background into the creation of that you can watch on their channel :)

An Interview With Eron Wolf

peertube.futo.org/videos/watch

futo.org/

* "FUTO sponsors multiple generous grant programs to provide funding to great projects and people. See our home page for organizations we’ve funded."

0
0
0
0

🚀 Launching fedithreat.net next month!

A modular anti-abuse toolkit that gives fediverse admins the tools they need to keep their communities safe.

Starting with automated spam prevention during registration - letting admins focus on building community, not battling spam.

0

1. Last night, Zohran Mamdani prevailed in the Democratic Primary for New York Mayor. He didn't run from trans people... He fought for them, pledging $65M to shore up care. He even spoke at rallies against hospitals like NY Langone capitulating to Trump. Subscribe to support our journalism.

Zohran Mamdani Beats Andrew Cu...

1

🎉 It’s finally happening — registration for 2025 is OPEN!
We’ve seen your inquiries & we know how many of you have been patiently waiting. And yes, we took our time. Why? Because this year’s RustConf is worth the wait!

From Async Day workshops to the forward-looking program tackling AI, edge computing, & critical systems, this is the RustConf that’s all about what’s next.

⏳”Async Day” Workshops: September 2
📅 Conf Days: September 3-4 (Seattle & online)
🎟️ ti.to/rustconf/2025

0

🎉 It’s finally happening — registration for 2025 is OPEN!
We’ve seen your inquiries & we know how many of you have been patiently waiting. And yes, we took our time. Why? Because this year’s RustConf is worth the wait!

From Async Day workshops to the forward-looking program tackling AI, edge computing, & critical systems, this is the RustConf that’s all about what’s next.

⏳”Async Day” Workshops: September 2
📅 Conf Days: September 3-4 (Seattle & online)
🎟️ ti.to/rustconf/2025

0
0
0
0
0
0

Note: If it bothers you I stated an intent to listen to Squarepusher today but then my "listening to" thread post wasn't Squarepusher: You could just go listen to "Circular Flexing" right now. Nothing prevents this

0

What I'm listening to today: "Pure Data Breakcore Live Coding", GrundTon

Distant barking. Weird overwhelming synth swells and one of the most unusual treatments of the Amen break I've ever encountered. (EDIT: It turns out to be a Funky Drummer break, which makes it even weirder it turned out like this?!) Generated by PureData and the YouTuber actually has several videos wandering around this same script's configuration space; this seems like the most focused.

youtube.com/watch?v=G6YxwYNBJoA

What I'm listening to today: "Akai S950 - Deep House Music - Vintage Sampler", MikeSynth

Hype little house techno fragment made on a plausible circa-90s vintage hardware setup (1986 Akai rack sampler sequenced by a 2003 Akai sequencer, mixing board as an instrument). Really refreshing vibe, has a bit of a trip-hop feel to me.

youtube.com/watch?v=Ij2r1C-kr58

0
0
0
0

JFC. I need to vent. Mastodon saves my job, part eleventy.

I'm sat in a fucking "leadership" meeting listening to some asshole yap about "fun moments at shift change" and "themed dress up day" and it's fucking obvious that her remit is "anything but proper remuneration and benefits".

All this bullshit to avoid treating people as human beings.

Cunts.

0
0
0
0
0
0
0

I learned something today: Google's Gemini "AI" on phones accesses your data from "Phones, Messages, WhatsApp" and other stuff whether you have Gemini turned on or not. It just keeps the data longer if you turn it on. Oh, and lets it be reviewed by humans (!) for Google's advantage in training "AI" etc.

But this only came to my attention because of an upcoming change: it's going to start keeping your data long-term even if you turn it "off": " will soon be able to help you use Phone, , , and Utilities on your phone, whether your Gemini Apps Activity is on or off."

This is, of course, a and .

If this is baked into Android, and therefore not removable, I'd have to say I'd recommend against using Android at all starting July 7th.

extremetech.com/mobile/gemini-

0
0
0
0
0
0
0
0
0
0

よっこいし :saba:

dbb20f76a7 Fix crash in development environment with no prebuilt assets and no vite dev server running (#35177)
91741214e1 chore(deps): update node.js to 22.17 (#35166)
8fa32ca8ba Fix search icon overlapping text on Trending page (#35175)
8285194451 Move `layout` setup for OAuth views to controllers (#35176)
392eaf1010 Ensure consistent ordering of rule translations in admin interface (#35174)
c6dddbb66e fix: Prevent content scrolling behind main menu (part 1) (#35173)
c52848b444 Storybook Helpers (#35158)
0a7418e6d8 Change rule translation interface to display english name and populate empty translations (#35170)
72f2f35bfb Implement Instance Moderation Notes (#31529)
0f9f27972d New Crowdin Translations (automated) (#35165)
9f16f41678 Remove patch for unsupported redis version (#35155)
47fda2df2c Update `OAuth` inflection to match spec (#35160)
377289c961 Add coverage for doorkeeper model extensions (#35161)
f852da50f6 Add `User#email_domain` method to extract domain from email address (#35159)

0