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

There's and there's . No matter what you're doing: , , playing , performing , doing , , playing , ... these two things are part of what you're doing.

Practice puts tools in your toolbox; but beware: it's not "practice makes perfect"! It's "practice makes permanent"! Practice the right thing, the right way. Speed might be an important part of the actual act, but that's not where you start in practice. You start with **correct**. You practice until that thing is right every time and you can do it without thinking about it, for instance like you walk or like you chew. That action must not be an automatic response! If your practice trains you to always throw an uppercut after X has happened, you've skipped the thinking part! You're putting things in your toolbox so that you can assemble the correct answer from all the pieces you're already good at without thinking about any of them.

The hard part is **thinking**, because you obviously suck if you haven't practiced, but you un-obviously suck if aren't thinking. Practice (and learning, and researching, and focusing on the **why**) give you the power to use the individual building block (which is ready and perfect for you because of your practice), but it's thinking that lets you select the right one.

There's a built-in function in Python, `issubclass`. It takes two arguments: the object you're looking at (potentially a subclass) and the class you want to know: for this class, is the potential subclass **actually** a subclass? They come in that order. There are several built-ins in this form: `isinstance`, `getattr`, etc. First the thing of interest, second the object or class it might relate to. In your code, you've just written a ton of functions that are all about class hierarchies. The first argument is always the base class. Now you're about to write `is_virtual_subclass`. It's just like the built-in but considers the abstract base class `register` machinery. What order do you choose for the arguments? Do you make it like all your other recent functions? Or do you make it like the built-ins?

This part is about thinking!

0
1
0
1

We at Digital Commons Cooperative aim to develop data mapping and sharing tools that map social movements and their resources, and therefore help them to re-generate the economy we need for a fairer world.

We're a UK based community benefit society formed from an alliance between solidarityeconomy.coop and sharedassets.org.uk/, inheriting the mapping applications from both - MykoMap and Land Explorer.

0
0
0

accounts for &

(If it looks blank, read this: fedi.tips/why-does-someones-ac)

โžก๏ธ @workingclassmusic - Reviews of guitars, amps, pedals etc
โžก๏ธ @meshe๐Ÿซง๐ŸŒธ๐Ÿซง - Singer-songwriter, beautiful pop ballads
โžก๏ธ @labrLABR - Love a Brother Radio - International DJ collective, eclectic genres, soulful house etc
โžก๏ธ @bgm - Indie pop & rock musician in Canada
โžก๏ธ @babumenos - Indie pop songwriter
โžก๏ธ @tepreeceThomas Preece - Folk & classical, ukulele & ocarina
โžก๏ธ @luca_mancini - Rock music drummer
โžก๏ธ @mans1 - Swiss hip-hop (in French)

๐Ÿงต 1/5

0
0
0
1
0
1
0

The Dutch province of Groningen are completely fed up with the operational qualities of governance in Niedersachsen around the Wiederlinie Groningen - Leer - Bremen. Politicians do not communicate clearly about delays, DB InfraGo is making a mess of everything and is qualifying everything including installing switches and signals a โ€œtechnical challengeโ€.

Article in Dutch: nos.nl/l/2590164

0
4
0

์‚ฌ์‹ค ํ•œ๊ตญ์€ ์•„์ง๋„ ๊ณฐ์ด ์‚ฌ๋žŒ์œผ๋กœ ๋‘”๊ฐ‘ํ•ด ์•”์•ฝํ•˜๋Š” ๋‚˜๋ผ์ž…๋‹ˆ๋‹ค. ๊ณผํ•˜๊ฒŒ ์—ฐ์–ด๋ฅผ ํƒํ•˜๊ฑฐ๋‚˜ ๋น„์ •์ƒ์ ์œผ๋กœ ๋งˆ๋Š˜ ์š”๋ฆฌ์— ์ง‘์ฐฉํ•˜๋Š” ์‚ฌ๋žŒ์„ ์ฃผ์˜ํ•˜์‹ญ์‹œ์˜ค. (๋†๋‹ด)

0
0

Apparently, โ€œzinesโ€ are a thing again (or never stopped).
Of course you can make some with , look into the imposition options!

wiki.contextgarden.net/Documen

Thereโ€™s also an option for one-sided, 8-page booklets (AKA PocketMod pocketmod.com):

\setuparranging[1*8]

See also the articles about PocketDiaries that are based on this schema: articles.contextgarden.net/jou

Simplified drawing of a 16 page booklet. Source: Wikimedia Commons. Public Domain.Imposition schema 1*8, 8 pages on a single sheet, with fold and cut marks.
0

Xใงใ‚ขใ‚ซใ‚ฆใƒณใƒˆใŒๅ‡็ตใ•ใ‚ŒใŸใ‹ใ‚‰ๅˆฅใฎใ‚ขใ‚ซใ‚ฆใƒณใƒˆไฝœใฃใŸใจใ„ใ†ไบบใ„ใ‚‹ใ‘ใฉใ‚‚ใ€ใใฎใ‚ˆใ†ใช็›ฎ็š„ใงใ‚ขใ‚ซใ‚ฆใƒณใƒˆใ‚’ไฝœๆˆใ™ใ‚‹ใฎใฏๆ˜Ž็ขบใซXใฎ่ฆ็ด„้•ๅใ ใ‹ใ‚‰ใพใŸๅ‡็ตใ—ใฆใใ ใ•ใ„ใจ่จ€ใฃใฆใ‚‹ใ‚ˆใ†ใชใ‚‚ใ‚“ใ˜ใ‚ƒใชใ„ใ‹ใ—ใ‚‰โ€‹:tanuki_daradara:โ€‹

3
0
0
0
0
0
0

๊ตญ๊ฐ€๋ฐ์ดํ„ฐ์ฒ˜๊ฐ€ ์˜ฌํ•ด ์ฒ˜์Œ์œผ๋กœ โ€˜์™ธ๋กœ์›€โ€™ ์—ฌ๋ถ€๋ฅผ ๋ฌป๋Š” ์กฐ์‚ฌ๋ฅผ ์‹ค์‹œํ•œ ๊ฒฐ๊ณผ 10๋ช… ์ค‘ 4๋ช…์ด โ€˜์™ธ๋กญ๋‹คโ€™๊ณ  ๋‹ตํ•œ ๊ฒƒ์œผ๋กœ ๋‚˜ํƒ€๋‚ฌ์Šต๋‹ˆ๋‹ค. ์—ฐ๋ น๋Œ€๊ฐ€ ๋†’์„์ˆ˜๋ก ์™ธ๋กญ๋‹ค๊ณ  ๋‹ตํ•œ ์ด๋“ค์˜ ๋น„์ค‘์ด ์ปธ์Šต๋‹ˆ๋‹ค.

10๋ช… ์ค‘ 4๋ช… โ€œ์™ธ๋กญ๋‹คโ€โ€ฆ๊ธฐ๋Œˆ ๊ณณ ์—†๋Š” โ€˜๊ณ ๋ฆฝยท์€๋‘” ...

0

์ž„์„ฑ๊ทผ ์‚ฌ๋‹จ์žฅ์ด ์ž๋ฃŒ๋ฅผ ๊ฐค๋Ÿญ์‹œ ๋ณด์•ˆํด๋”์— ๋„ฃ์–ด๋’€๋‹ค๊ฐ€ ํ„ธ๋ ธ๋‹ค๊ณ  ํ™”์ œ์ธ๋ฐ ๊ฐค๋Ÿญ์‹œ ๋ณด์•ˆํด๋”๊ฐ€ ํ•ดํ‚น์ด๋ผ๋„ ๋‹นํ•œ ๊ฒŒ ์•„๋‹ˆ๋ผ ์ด ์ธ๊ฐ„์ด ๊ตฌ์†์˜์žฅ์ด ์ฒญ๊ตฌ๋˜์ž๋งˆ์ž ๊ฐ‘์ž๊ธฐ ํ•˜๋‚˜๋‹˜์˜ ์‚ฌ๋ž‘๊ณผ ๊ฐ€ํ˜ธ๋กœ ๊ธฐ์–ต๋‚ฌ๋‹ค๋ฉด์„œ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ๋ถˆ์—ˆ์Šต๋‹ˆ๋‹ค(...)

0

@screwlisp @kentpitman
Since my name was invoked:
2 talks from ~1980 time capsule, retrieved in 2002:
usenix.org/legacy/events/bsdco
A 2004 article in ACM Queue on languages:
queue.acm.org/detail.cfm?id=10
To my surprise, although rarely cited, itโ€™s been downloaded 52K times, still gets 50+/week.
spawn-queue.acm.org/doi/10.114

@JohnMashey
Thanks for the additional links! I had a sndio(7) channel issue where only Kent could hear me at the start of the recording so it went into the archive-to-repair queue, and it seemed like another, more organized followup was also in order.

If you would be open to talking some week as well I know people would like that, especially with multiple guests.
cc @dougmerrittDougMerritt (log๐Ÿ˜… = ๐Ÿ’งlog๐Ÿ˜„)
@kentpitman

@stefanoStefano Marinelli you don't happen to know if somehow there is a recording of that keynote, do you?

0
0
0
0
0
0

์‹ซ์€ ๊ธฐ์–ต์€ ๊ณง์ž˜ ์žŠ๋Š” ํŽธ์ž…๋‹ˆ๋‹ค. ๋ถ„๋ช… ์˜ˆ์ „์— ์ฐพ์•„๋ดค๋˜ ๊ธฐ์–ต์ด ๋‚˜๋Š”๋ฐ, ์ž์„ธํ•œ ๊ฑด ๊ธฐ์–ต์ด ๋‚˜์งˆ ์•Š์•„ ๋‹ค์‹œ ์ฐพ์•„๋ดค์Šต๋‹ˆ๋‹ค.

ํ•œ ๋™์•ˆ ๊ดด๋กœ์›Œํ–ˆ์Šต๋‹ˆ๋‹ค. ๋ถ„๋ช… ๊ณผ๊ฑฐ์˜ ์ €๋„ ์งง์ง€ ์•Š์€ ์‹œ๊ฐ„ ๋™์•ˆ ๊ดด๋กœ์›Œํ–ˆ์„ ๊ฑฐ๋ผ๊ณ  ์ƒ๊ฐํ–ˆ์–ด์š”.

StackOverflow: Elegant solution to duplicate, const and non-const, getters? [duplicate]

์•„์•„์•„์•„ ๊ดด๋กœ์›Œ์š” O>-<

1
1
0
0
0
0
0
0

ใผใใ‚‚ๆญปใฌๆ™‚ใฟใ‚“ใชใซ็ฌ‘้ก”ใ‚’ๆŒฏใ‚Šใพใใฆใ‡ใช๏ฝžโ€‹:blobcat_niko_hohoemi:โ€‹
็ฌ‘ใฃใฆใใ‚Œใ‚ˆใช
โ€‹:nicha:โ€‹

1

์†Œ์†์‚ฌ ์–ด๋„์–ด์™€ ์ „์†๊ณ„์•ฝ ๋ถ„์Ÿ ์ค‘์ธ ๋‰ด์ง„์Šค ๋ฉค๋ฒ„ ์ „์›์ด ์–ด๋„์–ด๋กœ ๋ณต๊ท€ํ•ฉ๋‹ˆ๋‹ค. ์ง€๋‚œํ•ด 11์›” ์ „์†๊ณ„์•ฝ ํ•ด์ง€ ์„ ์–ธ์„ ํ•˜๊ณ  ๋…์ž ํ™œ๋™์„ ์‹œ์ž‘ํ•œ ์ง€ ๊ผญ 1๋…„ ๋งŒ์ž…๋‹ˆ๋‹ค.

๋‰ด์ง„์Šค ๋ฉค๋ฒ„ ์ „์› ์–ด๋„์–ด ๋ณต๊ท€โ€ฆ๋ฏผ์ง€โˆ™ํ•˜๋‹ˆโˆ™๋‹ค๋‹ˆ์—˜๋„ ๋ณต๊ท€...

0

ๅฟตใฎ็‚บ (BE_)KOBE ็ตตๆ–‡ๅญ—ๅ›ณๆกˆใŒๆจฉๅˆฉ่ธใ‚“ใงใชใ„ใ‹ใฉใ†ใ‹ใ‚’็ฅžๆˆธๅธ‚ใซ่žใ„ใจใใ‹
ใ–ใฃใจ่ฆ็ด„่ชญใ‚€้™ใ‚Šใฉใ†่€ƒใˆใฆใ‚‚ๅ•้กŒใชใ„ใฎใ ใ‘ใฉ

0

๋ฐฉ๊ธˆ ๋“ค์€ ๊ฑด๋ฐ apron (์•ž์น˜๋งˆ)์€ ์›๋ž˜ napron์ด์—ˆ๊ณ  napkin์€ apkin์ด์—ˆ๋Š”๋ฐ ๊ฐ๊ฐ a napron์—์„œ an apron์œผ๋กœ, an apkin์—์„œ a napkin์œผ๋กœ ๋ณ€ํ–ˆ๋‹ค๊ณ ...

RE: https://bsky.app/profile/did:plc:fl6xvsneko2e7wryimmdyum6/post/3m5g4ya2uyc2l

0

์ผ๋ณธ์˜ ๊ฐ๊ทค ์—ฐ๊ตฌ์ž ๋ถ„์ด ๊ฐœ์ธ ์ถœํŒํ•œ ๊ฐ๊ทค๋ฅ˜ ๊ฐ€๊ณ„๋„๋ฅผ ๋ณด์‹œ๋ฉด ๋”์šฑ ์žฌ๋ฏธ์žˆ์Šต๋‹ˆ๋‹ค. ํ•œ๊ตญ์—์„œ ๊ฐœ๋ฐœ๋œ ํ’ˆ์ข…๋“ค์€ ๋“ค์–ด๊ฐ€์žˆ์ง€ ์•Š์ง€๋งŒ...

RE: https://bsky.app/profile/did:plc:a6qvfkbrohedqy3dt6k5mdv6/post/3m5gjinjbnc2a

0

ํ†ตํ™”ํ•˜๋‹ค๊ฐ€ ๋‚˜์˜จ ์ด์•ผ๊ธฐ์ด๊ธด ํ•œ๋ฐ
๋™ํ™” ์ˆ˜ํ•™ ๊ท€์‹ ์—์„œ ์ฃผ์ธ๊ณต ๋กœ๋ฒ ๋ฅดํŠธ๋ž‘ ์ˆ˜ํ•™๊ท€์‹  ์—ฎ์–ด ๋จน์œผ์‹  ๋ถ„ ์žˆ๋‚˜์š”
์ด ์–˜๊ธฐํ–ˆ๋‹ค๊ฐ€ ์•„์ €์”จ ์›ƒ๊น€

0

ํ˜„๋Œ€์˜ ๋ชจ๋“  ๊ฐ๊ทค๋ฅ˜(์‹œํŠธ๋Ÿฌ์Šค)๋Š” 3๊ฐ€์ง€ ์กฐ์ƒ๋‹˜์˜ ํ›„์†์ž…๋‹ˆ๋‹ค. ๋งŒ๋‹ค๋ฆฐ ์˜ค๋ Œ์ง€, ํฌ๋ฉœ๋กœ, ์‹œํŠธ๋ก . ๋ ˆ๋ชฌ, ์ž๋ชฝ, ์œ ์ž ๋“ฑ ์˜ˆ์™ธ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. ๊ทธ๋ž˜์„œ ๊ฐ๊ทค ์ข…๋ฅ˜๋ผ๋ฆฌ๋Š” ๋Œ€๋ถ€๋ถ„ ๊ฒฐํ˜ผ์ด ๊ฐ€๋Šฅํ•ด์„œ ์šฐ๋ฆฌ๊ฐ€ ์•„๋Š” ๋ฌด์ˆ˜ํžˆ ๋งŽ์€ ๋ ˆ๋“œํ–ฅ, ํ•œ๋ผ๋ด‰ ๋“ฑ์ด ํƒ„์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. ์ƒˆ๋กœ์šด ๊ฐ๊ทค ํ’ˆ์ข…์ด ๋ฐœ๊ฒฌ๋˜๊ฑฐ๋‚˜ ๋งŒ๋“ค์–ด์ง€๋ฉด ๊ทธ๊ฑธ ๋ฒ ์ด์Šค๋กœ ๋” ๋ง›์žˆ๋Š” ๊ทค์ด ํƒœ์–ด๋‚  ์ˆ˜๋„ ์žˆ๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.

0

I forget unsatisfying memories well. I clearly remember searching for a similar thing in the past, but I failed to remember the details. So I searched again.

After seeing the search results, I couldn't help but feel pain. It took a not short time to recover from the pain. I think my past self would have been similar to me now.

"Elegant solution to duplicate, const and non-const, getters?" [duplicate] stackoverflow.com/questions/85

I dislike this!

0
0
0
1

ๆ›ดๆ–ฐใ—ใฆใ‚ทใƒฃใƒƒใƒˆใƒ€ใ‚ฆใƒณไธญใฎใ‚นใƒผใƒ‘ใƒผ Windows ใใ‚“ใซใ€Œๅ†่ตทๅ‹•ใ™ใชใƒผโ€‹:blobcat_sunaa:โ€‹ใ€ใฃใฆใƒ„ใƒƒใ‚ณใ‚“ใงใŸใ‚‰ใกใ‚ƒใ‚“ใจใ‚ทใƒฃใƒƒใƒˆใƒ€ใ‚ฆใƒณใ—ใฆใใ‚ŒใŸ

1
0

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

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

11ๆœˆ12ๆ—ฅ๏ผŒADOR็އๅ…ˆ็™ผ่กจ่ฒๆ˜Ž๏ผŒ่กจ็คบๆˆๅ“กHaerin่ˆ‡HyeinๅŠๅ…ถๅฎถไบบ็ถ“ๆทฑๆ€็†Ÿๆ…ฎๅพŒ๏ผŒๆฑบๅฎš้ตๅฎˆๅˆคๆฑบไธฆ็นผ็บŒๅˆไฝœ๏ผŒไธฆ้€้œฒๅ…ฉไบบๅธŒๆœ›่ƒฝ่ˆ‡ๅ…ฌๅธๅ…ฑๅŒๅฑ•้–‹ๆ–ฐ้šŽๆฎตๆดปๅ‹•ใ€‚ADORไบฆๆ‰ฟ่ซพๆœƒๅ…จๅŠ›ๆ”ฏๆดๆˆๅ“ก็š„ๆผ”่—ไบ‹ๆฅญ็™ผๅฑ•ใ€‚
#newjeans

Photo by ๆธฏๆ–ฐ่ž Kong News on November 12, 2025. May be an image of poster and text that says 'KN KะธR KEHO A moaH NewJeans ๅฎฃไฝˆๅ…จๅ“กๅ›žๆญธ ๅฐ‡ๅฑฅ่กŒADORๅฐˆๅฑฌๅˆ็ด„ Rๅฐˆๅฑฌๅˆ็ด„'.
0
0