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
2
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0

The gods of Krita, please help me with a little mystery?

I've been drawing a small thing in Krita on my LCD graphic tablet (it didn't turn out well, as you can see). Then I exported the file in PNG and opened in GIMP. The colours were clearly off.

I thought maybe it was an RGB profile, so I re-exported the image from Krita in sRGB. Krita crashed on export, and when I reloaded the file from autosave, the colours in the kra file were exactly as on the PNGs that I've exported (both in default profile and sRGB).

My best guess is that I've been drawing in the palette that I got in the exported PNGs, but __something__ made things look like the palette was different. What could it have been?

Side note:

In the panic I did not save the file rescued by the auto-save. I started from a PNG reference and forgot to re-save it as a Krita file. I kind of want Krita to behave like GIMP here: opening any format, but saving only in xcf/kra to preserve the layers. %)

A screenshot of Krita window that is overlapped by GIMP window, showing very similar stylized portrait but in different colours
0

I’ve had several web developers ask me about how Safari on iOS 26 extends down behind the Smart Search field (location/URL bar)… will you need to do anything to make sure the navigation doesn’t overlap your website?

You don’t need to do anything. The web page appears to extend below, behind. But the viewport itself & your content is 100% above the bar, just like now. The background color / image / look & feel of your page is extended further… so it looks beautiful. But content will not overlap.

0

"Gosh my focus is *really* all over the place today. I guess I did have a lot of kind of tedious admin stuff, and a bunch of interruptions, and there *are* both the protests and WWDC going on, but even so… something feels… slightly…"

*notices the basket full of un-brewed coffee grounds from this morning sitting next to a kettle of now-cool water*

"Oh, oops."

0
0
0
1

Right now, AI tools are being pitched as an aide to software development, but the grand vision AI companies are pushing is one in which AI interaction /replaces/ consumer-facing software. I'm not sure professional developers have really grappled with what that entails.

AI companies don't want to help you build better software. They want to replace your software. And where does that leave you?

0
0
0
0
0
0

The gods of Krita, please help me with a little mystery?

I've been drawing a small thing in Krita on my LCD graphic tablet (it didn't turn out well, as you can see). Then I exported the file in PNG and opened in GIMP. The colours were clearly off.

I thought maybe it was an RGB profile, so I re-exported the image from Krita in sRGB. Krita crashed on export, and when I reloaded the file from autosave, the colours in the kra file were exactly as on the PNGs that I've exported (both in default profile and sRGB).

My best guess is that I've been drawing in the palette that I got in the exported PNGs, but __something__ made things look like the palette was different. What could it have been?

Side note:

In the panic I did not save the file rescued by the auto-save. I started from a PNG reference and forgot to re-save it as a Krita file. I kind of want Krita to behave like GIMP here: opening any format, but saving only in xcf/kra to preserve the layers. %)

A screenshot of Krita window that is overlapped by GIMP window, showing very similar stylized portrait but in different colours
0
0
0
0
0
0

We have 7 videos on web technology at WWDC25!!
- What’s new in Safari and WebKit
- What’s new for the spatial web
- Learn more about Declarative Web Push
- What’s new in passkeys
- Verify identity documents on the web
- Unlock GPU computing with WebGPU
- Meet WebKit for SwiftUI

webkit.org/blog/16987/web-tech

0

Right now, AI tools are being pitched as an aide to software development, but the grand vision AI companies are pushing is one in which AI interaction /replaces/ consumer-facing software. I'm not sure professional developers have really grappled with what that entails.

AI companies don't want to help you build better software. They want to replace your software. And where does that leave you?

0

I've been using Tridactyl[1] for a long time now for keyboard-driven vi bindings in the browser and yesterday decided to check out the alternatives, thinking maybe they provided some interesting features too.

I looked them all up: Vimium, Vimium C, Vimmatic, SurfingKeys and the result is: I am in awe of how advanced Tridactyl is in comparison to all of them.

Native messaging*, comprehensive ex command mode for commands and settings with live-previewed completions; hint-based visual selection, copying and focus; support for local filesystem text-based configuration; binding sequential browser actions to custom commands; tab group commands; actually launching (neo)vim to edit text areas; ...to name a few!

[1] tridactyl.xyz/

* do bear in mind the security implications of native messaging, as noted by the developers themselves, but you can have most of the functionality without it

0
0
0
0

there being an intermediary is different than talking to someone who did it directly. not every context gives you that ability in the first place, but not taking advantage of it when it is possible does seem like a loss. on the flip side, it also kind of encourages writing this stuff...

0

Thanks to I got great feedback on @badgefedThe BadgeFed Project ,exactly what I needed.

One hot topic: badge posts in public feeds. Some love seeing them all, others find them spammy.

In an ideal world, BadgeFed would *privately* issue badges, and folks could *choose* to share them, with boost/quote options or a “Share to my Fediverse” button. (This is not technically possible right now, not without some hard user friction).

But even then, if 500 people *choose* to share, it’s still 500 posts. Not spam, just… noisy.

My take? Let people filter. I'll force the instances to tagging awards with something like so you can mute/follow as you wish. The power of the fediverse is giving people choice.

More on filtering here: [fedi.tips/filtering-your-timel - by @FediTips
What do you think?

0
0

"情熱を注ぐには最適だと考えました。実際に活動は大変で、夜遅くまで機体を制作するのは日常茶飯事でしたし、学業との両立は難しかったですが、本当に充実した時間を過ごすことができました"……私も似たような学生時代だったなー / 我、プロとして nihon-u.ac.jp/catchup/alumni/2

0

This isn't really a critique of AI products, per se, but it does make the computer scientist in me slightly sad how much everything has moved over to throwing massive amounts of data at learning problems and being clever about training infrastructure, rather than being clever about defining the problem space in some way that reflects the structure of the learning problem.

0
0
0
0
0
0
0
0

"「問題の真相解明が先だ」とか「給与カットで幕引きは認められない」などと疑問や反発の声"

そりゃそうだろ。妥当。

兵庫 斎藤知事の減給処分 採決見送りへ 情報漏えい問題 | NHK | 兵庫県 www3.nhk.or.jp/news/html/20250

0
0
0