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.

๐Ÿ‡จ๐Ÿ‡ฟ picks of the day:

(All in Czech unless otherwise noted)

โžก๏ธ @birdlifeczฤŒeskรก spoleฤnost ornitologickรก - Czech Ornithological Society, protecting birds

โžก๏ธ @UbuntuCZUbuntu CZ/SK - Czech & Slovak Ubuntu community

โžก๏ธ @gomeetupprague - Go programming language meetups in Prague (in English)

โžก๏ธ @jopenspace - Tech events for developers in Czechia

โžก๏ธ @ct24.ceskatelevize.cz๐Ÿฆœ ฤŒT24 โ€” Vรฝbฤ›r redakce - News feed from ฤŒT24 public broadcaster

โžก๏ธ @www.ceskatelevize.cz.sport๐Ÿฆœ ฤŒT sport - Vลกechny zprรกvy - ฤŒT sport news feed

๐Ÿงต 1/4

0
0
1
0
0
0
0
0
0

AI์˜ ์˜๊ฒฌ์ด ๋ฌด์Šจ ์ง„๋ฆฌ์ด์ž ์ง„์‹ค์ธ ์–‘ ๋ฏฟ๋Š” ์‚ฌ๋žŒ๋“ค ๋„ˆ๋ฌด ์‹ซ๋‹ค. ์ด๊ฒŒ ์˜ฌ๋ฐ”๋ฅด์ง€๋„ ์•Š๋Š” ๊ฒƒ์€ ๋‘˜์งธ ์น˜๊ณ  ์ƒ๊ฐํ•˜๋Š” ๊ฒƒ๋งˆ์ € ๊ธฐ๊ณ„์— ์˜ํƒํ•˜๋Š” ๊ฒŒ์œผ๋ฅธ ์‚ฌ๋žŒ ๊ฐ™๋‹ค.

0
0
0

my colleague @DarkaMauldm has put out a new post on the @trailofbits blog on how we worked with @pypiPython Package Index's maintainers to slash PyPI test run times from ~160s to ~30s despite overall test counts growing by 17% (3900 to 4700+):

blog.trailofbits.com/2025/05/0

this is some of my favorite kind of work: faster test suites means that developers run tests locally more often, and are less hesitant to add new tests (especially parametric ones). another great example of security and performance/reliability engineering dovetailing.

0
0
0
0
0
0
0
0
0
0

I would encourage every Fediverse software project to implement a โ€œdead-man switch" on registrations: if nobody with moderator permissions has been active in the last week, then disable new account creation.

The Fediverse has a significant number of abandoned instances that are used by bad actors to create accounts and send spam.

We implemented this in Mastodon (github.com/mastodon/mastodon/p) and it has been highly effective.

Another consideration: new installations should not allow open registrations by default. This should be a setting that the administrator needs to opt into, and this is a good place to inform them that open registration instances require moderation resources.

In Mastodon, we display a warning when the admin chooses this option. Mastodon also support requiring moderator/admin approval for new sign ups, which helps a lot in preventing automated registrations.

A screenshot of the Mastodon moderation interface, showing the โ€œWho can sign-upโ€ menu with the โ€œAnyone can sign upโ€ option selected.
A warning is displayed below: โ€œWe recommend using โ€˜Approval required for sign upโ€™ unless you are confident your moderation team can handle spam and malicious registrations in a timely fashion.โ€
0
0
0
1
0

ๆณ•ๅฎ˜่ฃๅฎš Apple ้ซ˜้šŽไธป็ฎกๅฎฃ่ช“ไฝœ่ญ‰ๆ™‚่ชช่ฌŠ๏ผŒไธฆๅฐ‡ๅ…ถ็งป้€ๅˆ‘ไบ‹่—่ฆ–ๆณ•ๅบญ่ชฟๆŸฅ https://www.thebignewsletter.com/p/judge-rules-apple-executive-lied

2025 ๅนด 5 ๆœˆ๏ผŒ่ฒ ่ฒฌๅฏฉ็† Epic Games ๅฐ Apple ็š„ๅๆ‰˜ๆ‹‰ๆ–ฏๆกˆ็š„ๅŠ ๅทžๅŒ—ๅ€่ฏ้‚ฆๆณ•ๅฎ˜ Yvonne Gonzalez Rogers ๅฐ Apple ็™ผๅ‡บๅšดๅŽฒ่ญด่ฒฌใ€‚่‡ช 2021 ๅนด่ตท๏ผŒEpic Games ๅœจ่ฏ้‚ฆๅฑค็ดšๆ•—่จดไฝ†ๅœจๅŠ ๅทžไธๅ…ฌๅนณ็ซถ็ˆญ่จดๆฑ‚ไธŠๅ‹่จด๏ผŒๆณ•้™ขๅ‘ฝไปค Apple ๅฟ…้ ˆ่ฎ“้–‹็™ผ่€…่ƒฝๅœจ App Store ๅค–่ˆ‡็”จๆˆถๆบ้€šใ€ไธฆๆไพ›ๅค–้ƒจไป˜ๆฌพ็ฎก้“ใ€‚็ฌฌไนๅทก่ฟดไธŠ่จดๆณ•้™ข๏ผˆNinth Circuit๏ผ‰็ถญๆŒๆญค็ฆๅˆถไปค๏ผˆInjunction๏ผ‰๏ผŒ็พŽๅœ‹ๆœ€้ซ˜ๆณ•้™ข๏ผˆSupreme Court๏ผ‰ๅœจ 2024 ๅนดๅˆๆ‹’็ต•ๅฏฉ็†๏ผŒๅŽŸๅˆคๆฑบ้‚ๆญฃๅผ็”Ÿๆ•ˆใ€‚Apple ๅœจ้ŽๅŽปไธ€ๅนดๅŠไปฅๅ„็จฎๆ–ฐๆ”ถ่ฒปใ€ๆๅš‡็•ซ้ข่ˆ‡็‰นๆฌŠๆŠ—่พฏ็ญ‰ๆ‰‹ๆฎต่ฆ้ฟ็ฆๅˆถไปค๏ผŒไธฆๅœจๆณ•ๅบญไธŠ้šฑ็žžๅ…ง้ƒจๆฑบ็ญ–้Ž็จ‹ใ€‚Gonzalez Rogers ๆณ•ๅฎ˜ๆŒ‡ๅ‡บ๏ผŒ่ฒกๅ‹™ๅ‰ฏ็ธฝ่ฃ Alex Roman ๅœจๅบญไธŠใ€Œๆ˜Ž็›ฎๅผต่†ฝๅœฐ่ชช่ฌŠใ€๏ผŒไธฆๆ˜Ž็™ฝ้ปžๅ CEO Tim Cook ็„ก่ฆ–ๅปบ่ญฐ๏ผŒๆŽˆๆฌŠ CFO Luca Maestri ๅœ˜้šŠๆŽกๅ–ๆœ€ๅ…ทๅฃŸๆ–ทๆ€ง็š„ไฝœๆณ•๏ผ›ๆณ•ๅฎ˜้‚ๅฐ‡ๆญคไบ‹็งปไป˜ๅŠ ๅทžๅŒ—ๅ€็พŽๅœ‹ๅœฐๅ€ๆชขๅฏŸๅฎ˜๏ผˆUS Attorney for the Northern District of California๏ผ‰่ชฟๆŸฅๆ˜ฏๅฆๆ่ตทๅˆ‘ไบ‹่”‘่ฆ–ๆณ•ๅบญ๏ผˆcriminal contempt๏ผ‰่จด่จŸใ€‚

ๅŒๆ™‚๏ผŒๆณ•ๅฎ˜็•ถๅบญๅ‘ฝไปค Apple ๅฟ…้ ˆ็ซ‹ๅˆปๅœๆญขๅฐ้–‹็™ผ่€…ๆ–ฝๅŠ ๆ–ฐๆ‰‹็บŒ่ฒป๏ผŒไธฆ่งฃ้™คๅฐๅค–้ƒจ่ณผ่ฒท็š„ไปปไฝ•้™ๅˆถใ€‚ๆ นๆ“šใ€Š็ด็ด„ๆ™‚ๅ ฑใ€‹ๅ ฑๅฐŽ๏ผŒApp Store ็š„ๆ‰‹็บŒ่ฒปๅ  Apple ่ฟ‘ๅƒๅ„„็พŽๅ…ƒๅนดๆœๅ‹™็‡Ÿๆ”ถ็š„ๅคง้ƒจๅˆ†ใ€‚Apple ้›–่กจ็คบๅฐ‡้ตๅพžๆญค่ฃๅฎš๏ผŒไธฆๅŒๆญฅๆๅ‡บไธŠ่จด๏ผŒไฝ†่‹ฅ็ฌฌไนๅทก่ฟดไธ็™ผไฝˆๆšซ็ทฉไปค๏ผŒ้–‹็™ผ่€…ๆ˜Žๅคฉๅฐฑๅฏ็ซ‹ๅณ้ธๆ“‡ๅคš็จฎ่ฒฉๅ”ฎ app ๆ–นๅผ๏ผŒๆญค่ˆ‰ๅฐ‡ๆ˜ฏ้ฆ–ไพ‹็œŸๆญฃๅœจๅธ‚ๅ ดไธŠ่ฝๅฏฆ็š„็ง‘ๆŠ€ๅทจ้ ญๅๆ‰˜ๆ‹‰ๆ–ฏๆ•‘ๆฟŸใ€‚

ๅœจ็ฌฌไบŒๅ‰‡ๅฅฝๆถˆๆฏไธญ๏ผŒ็œพ่ญฐ้™ขๅธๆณ•ๅง”ๅ“กๆœƒไธปๅธญใ€ๅ…ฑๅ’Œ้ปจ้ ˜่ข– Jim Jordan ๆ›พๅœจ็จ…ๆ”นๆณ•ๆกˆไธญๆš—ไธญๆๅ‡บไธ€้ …ใ€ŒๆŠŠ็พŽๅœ‹่ฏ้‚ฆ่ฒฟๆ˜“ๅง”ๅ“กๆœƒ๏ผˆFTC๏ผŒFederal Trade Commission๏ผ‰็ซถ็ˆญ้ƒจ้–€ๅˆไฝต่‡ณ็พŽๅœ‹ๅธๆณ•้ƒจๅๆ‰˜ๆ‹‰ๆ–ฏ้ƒจ้–€๏ผˆDOJ Antitrust Division๏ผ‰ไธ”ไธๅธถๅ…ฅ FTC ็ฆๆญขโ€˜ไธๅ…ฌๅนณ็ซถ็ˆญๆ–นๆณ•โ€™ๆฌŠ้™ใ€็š„่ญฐๆกˆ๏ผŒ้€ฒ่€Œไฝฟ FTC ๆญค้ …่ถ…่ถŠใ€Š้›ชๆ›ผๆณ•ใ€‹๏ผˆSherman Act๏ผ‰่ˆ‡ใ€Šๅ…‹่Š้ “ๆณ•ใ€‹๏ผˆClayton Act๏ผ‰็š„ๅŸทๆณ•่ƒฝๅŠ›ๅฝขๅŒๅปขๆญขใ€‚ๆญคๅšๆณ•้ญๅ‰ๅŸทๆณ•ไบบๅ“กใ€ๆฐ‘ไธป้ปจๅœ‹ๆœƒ่ญฐๅ“กใ€ๅณๆดพๆฐ‘็ฒน้ ˜่ข– Steve Bannon๏ผˆๆ–ผ War Room ็ฏ€็›ฎไธญๅ…ฌ้–‹่ญด่ฒฌ๏ผ‰ๅŠๅ…จๅœ‹้›œ่ฒจๅ•†ๅ”ๆœƒ็ญ‰ๅ•†็•Œๅœ˜้ซ”ๅผท็ƒˆๅๅฐ๏ผŒๆœ€็ต‚ Jordan ๅœจๅง”ๅ“กๆœƒๅฏฉๆŸฅๆ™‚ๆ‚„็„ถๆ’คๅ›ž็›ธ้—œๆขๆฌพ๏ผŒ็ถญๆŒ FTC ๅฐใ€Œไธๅ…ฌๅนณ็ซถ็ˆญๆ–นๆณ•ใ€๏ผˆunfair methods of competition๏ผ‰ไน‹ๅŸทๆณ•ๆฌŠใ€‚

Hacker News ่จŽ่ซ–ไธญ๏ผŒๅคšๆ•ธ็ถฒๅ‹ๅฐๆณ•ๅฎ˜ๅฐ‡้ซ˜ๅฑคๅŸท่กŒ้•ทๆฒๅ…ฅๅˆ‘ไบ‹่”‘่ฆ–่ชฟๆŸฅ่กจ้”้ฉš่จ่ˆ‡ๆœŸๅพ…๏ผŒๆœ‰ไบบ่ช็‚บๅ„˜็ฎก็œŸๆญฃ่ตท่จด็š„ๆฉŸ็އไธ้ซ˜๏ผŒไธ€ๆ—ฆๆœ‰ไปปไฝ•้ซ˜่ชฟๆˆๅŠŸ็š„ๅˆ‘ไบ‹ๆกˆไปถ๏ผŒๅฐฑ่ƒฝๅฐไผๆฅญ้ซ˜ๅฑคๅฝขๆˆๆฅตๅคงๅจๆ‡พ๏ผ›ไนŸๆœ‰ไบบๆŒ‡ๅ‡บ๏ผŒๆณ•ๅบญๆ‰€ๆญ้œฒ็š„ๅ…ง้ƒจๆ–‡ไปถ่ญ‰ๆ˜Ž Apple ๆ˜Ž็Ÿฅๆ•…็Šฏ๏ผŒ็„ก่ซ– Maestri ่ˆ‡ Roman ๆ˜ฏๅฆๅฎŒๆ•ด้–ฑ่ฎ€ 180 ้ ่ฃๆฑบ๏ผŒ้ƒฝ็„กๆณ•ๆŽฉ่“‹ๅ…ถใ€Œๆœ‰ๆ„้•ๆณ•ใ€็š„ไบ‹ๅฏฆใ€‚ๆœ‰่ฉ•่ซ–ๅผ•็”จ John Gruber ็š„ๆ•ด็†๏ผŒๅผท่ชฟๅ”ฏไธ€้ตๅฎˆ่ฃๆฑบ็š„ๆ˜ฏๅ‰่กŒ้Šท้•ท Phillip Schiller๏ผŒ่€Œๅ…ถไป–้ซ˜ๅฑค้ธๆ“‡่ฟด้ฟ๏ผ›ๆ›ดๆœ‰่ฒ้Ÿณๅ‘ผ็ฑฒๆ‡‰ๆชข่ฆ– Apple ็พๆœ‰้ ˜ๅฐŽๅฑคๆ˜ฏๅฆๅทฒ็ถ“ไธๅ†้ฉไปป๏ผŒไปฅๅ…็นผ็บŒๆๅŠๆถˆ่ฒป่€…ๅŠ้–‹็™ผ่€…ไฟกไปปใ€‚

https://news.ycombinator.com/item?id=43856795

0
0
0
0

I would encourage every Fediverse software project to implement a โ€œdead-man switch" on registrations: if nobody with moderator permissions has been active in the last week, then disable new account creation.

The Fediverse has a significant number of abandoned instances that are used by bad actors to create accounts and send spam.

We implemented this in Mastodon (github.com/mastodon/mastodon/p) and it has been highly effective.

0
0
0
0
0
0
0
0
0
0
0
0
1

Deno 2.3 is here:
๐ŸŒฑ deno compile with FFI & Node native add-ons
๐Ÿ“ฆ Local npm packages
โญ deno fmt CSS/HTML/SQL in tagged templates
๐Ÿ”ญ OTel event recording & tracing in distributed services
and more โ€”

deno.com/blog/v2.3

1

Doesnโ€™t mean rust is perfect! Heck itโ€™s pretty easy to argue that rust does not live up to this ideal. And donโ€™t even get me started on what a PITA it was to get the current website shipped, and how that was so toxic thatโ€™s why itโ€™s remained effectively stale for years.

0
0
0

Of all of the people living on Earth, only 4% are US citizens.

Less than 3% of the world's population are white US citizens.

Less than 1.8% of the world's people are white US citizens that support fascist, racist, policies.

The point: A very small number of people can make life awful for everyone.

The problem isn't "white people." Most white people on Earth don't choose this.

The problem isn't "Americans." Most Americans don't choose this either.

The problem isn't even "racist nazis." Most countries on Earth aren't silly enough to let the racist nazis be in charge, and aren't this strong.

Chronologically, we are closer to 2060 than to 1960. But ideologically, racist Americans would rather bring 1960 back, than progress to 2060.๐Ÿคฆ๐Ÿฟโ€โ™‚๏ธ

This is embarrassing.

The other 98.2% of the people on Earth reject this vision like a cat throwing up a hairball: vigorously, with much noise and retching.

Racism was a useful tool for adding to a nation's wealth in the 1800s and prior.

In the 1900s it was net neutral.

From this point on and into the future, racism is a negative that leads to a nation's downfall and decline. Some of you want to argue with me about this even as the US economy spirals.

The US is barely holding on after 100 days of our re-invigorated racism. Picture where we would be after 100 years of this mess.

We have exactly two choices:

1) Grow up. Get our racism under control.

2) Hang on to our precious racism, and go down with the ship as the world leaves us behind.

If you're thinking "How dare you call racism a useful tool!" or "We should end racism because it's the right thing to do, not to stop national decline!"

1st, unclutch your pearls, then unclench your cheeks.

2nd, I don't know if you've been paying attention, but US folk don't just do the right thing.

0
0
0

Congratulations to @haubleshannah aubry on joining @Mastodon's board!

"Hannah was a great partner and champion of the project during her time running the Fast Forward program at Fastly, and as part of our outreach team. She brings her valuable experience in community, communications, and free and open-source software to share with our leadership team.โ€œ

blog.joinmastodon.org/2025/05/

Via mastodon.social/@Mastodon/1144

0
0
0
0
0

@stefano@bsd.cafeStefano Marinelli I did not want for this to get so political. My intent was explaining the election results for Canada and how it is going to inflict a lot of financial damage and cause a lot more people to hurt badly. Nobody can help every single person, I was only trying to explain, but I've also encountered condescending and hypocritical attitudes from people trying to avoid personal accountability when it comes to someone trying to find resources for help so they put up a smokescreen of words and then turn their back on lesser people. I'm not interested in debating, I was trying to explain, and it grew from there when it shouldn't have
0
0
0

๋ฏผ์ฃผ๋‹น์€ ์•„์šธ๋Ÿฌ ์œค ์ „ ๋Œ€ํ†ต๋ น ๊ธฐ์†Œ๊ฐ€ ์ง€์—ฐ๋๊ณ , ๋ฒ•์›์˜ ๊ตฌ์†์ทจ์†Œ ๊ฒฐ์ • ์ดํ›„ ์‹ฌ ์ด์žฅ์ด ์ฆ‰์‹œํ•ญ๊ณ  ์—†์ด ์„๋ฐฉ ์ง€ํœ˜๋ฅผ ํ–ˆ์œผ๋ฉฐ, ๊น€์„ฑํ›ˆ ๋Œ€ํ†ต๋ น๊ฒฝํ˜ธ์ฒ˜ ์ฐจ์žฅ์— ๋Œ€ํ•ด ๊ฒฝ์ฐฐ์ด ์‹ ์ฒญํ•œ ๊ตฌ์†์˜์žฅ์„ ๋ฐ˜๋ คํ–ˆ๋‹ค๊ณ  ํƒ„ํ•ต์†Œ์ถ”์•ˆ์— ์ ์—ˆ๋‹ค. www.yna.co.kr/view/AKR2025...

์‹ฌ์šฐ์ •, ํƒ„ํ•ต ๋ฐœ์˜์— "ํƒ„ํ•ต์‚ฌ์œ  ํ—ˆ์œ„โ€ฆ๊ณต์ •์„ ๊ฑฐยท๋ฒ•์น˜ ํ›ผ...

0

๊ทธ๋™์•ˆ ํ•˜๋˜ ์•ฑ/์›น ์ž‘์—…์ด ์•„๋‹Œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ฐœ๋ฐœ์ด๋ผ์„œ verification์ด ํ›จ์”ฌ ์‰ฌ์›Œ์„œ ๋ณธ๊ฒฉ์ ์œผ๋กœ ์—์ด์ „ํ‹ฑํ•˜๊ฒŒ ์“ธ์ˆ˜์žˆ์—ˆ๋‹ค. ํ…Œ์ŠคํŠธ์ฝ”๋“œ๋„ ์ž๋™์œผ๋กœ ์ญ‰์ญ‰ ๋ฝ‘์œผ๋ฉด์„œ ๋‚˜๋Š” ๊ฑฐ์˜ ๊ด€๋ฆฌ๊ฐ๋…๋งŒ ํ•œ๋‹ค. ์—์ด์ „ํ‹ฑํ•˜๊ฒŒ ์“ธ๋•Œ์˜ ์ƒ์‚ฐ์„ฑ์ด ์ตœ์†Œ 10๋ฐฐ๋Š” ๋˜๋Š”๋ฐ, ๋ฐ˜๋Œ€๋กœ 1/10์˜ ์ƒ์‚ฐ์„ฑ์„ ๊ฐ€์ง€๋Š” ์–ด์‹œ์Šคํ„ดํŠธ ๋ชจ๋“œ์—์„œ์˜ ์ข‹๊ณ ๋‚˜์จ์ด ๋ญ๊ฐ€ ๊ทธ๋ฆฌ ์ค‘์š”ํ• ๊นŒ.

2

In short: I think Rails fell from dominance in no small part because of DHHโ€™s disdain for JavaScript. This directly led to key failures on both sociological and technical grounds. Hating technology blinds you to the good parts of tech you donโ€™t personally care for.

0
0
0
0
0
0
0