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.

One challenge of migrating from to is how some of the types are handled.

normalize_json github.com/django/django/blob/
doesn't handle some extra types like
DjangoJSONEncoder github.com/django/django/blob/
Though model JSONField defaults to json.JSONEncoder docs.djangoproject.com/en/6.0/ which doesn't support some types either ๐Ÿค”

Celery does a bit better casting types . . . . but is complicated enough I can't find the spot it actually casts things ๐Ÿ˜†
At least django tasks is MUCH more readable!

0
0
0
0

็พŽ ํฌํ‹€๋žœ๋“œ์„œ ๋˜ ์ด๋ฏผ๋‹น๊ตญ ์š”์›์ด ์ด๊ฒฉโ€ฆ2๋ช… ๋ณ‘์› ์ด์†ก www.yna.co.kr/view/AKR2026... ICE์— ์˜ํ•œ ๋ฏธ๋‹ˆ์• ํด๋ฆฌ์Šค ์ด๊ฒฉ ์‚ฌ๋ง์‚ฌ๊ฑด ํ›„ ํ•˜๋ฃจ๋งŒ์— ๋˜ ๋ถˆ์ƒ์‚ฌ ์˜ค๋ฆฌ๊ฑด ํฌํ‹€๋žœ๋“œ๋„ ๋ฏธ๊ตญ ๋ฏผ์ฃผ๋‹น ์ง€์ง€๊ฐ€ ๊ฐ•ํ•œ ๊ณณ์ธ๊ฑธ ์งš๊ณ  ๋„˜์–ด๊ฐˆ ์ˆ˜ ๋ฐ–์— ์—†๋„ค์š”...

็พŽ ํฌํ‹€๋žœ๋“œ์„œ ๋˜ ์ด๋ฏผ๋‹น๊ตญ ์š”์›์ด ์ด๊ฒฉโ€ฆ2๋ช… ๋ณ‘์› ์ด์†ก...

0
0
0

RE: mastodon.social/@brichapman/11

Uruguay prรกvฤ› dokรกzal, co je moลพnรฉ: za pouhรฉ dva roky pล™eลกel na 98 % obnovitelnรฉ elektล™iny โ€“ a tรญm vรฝraznฤ› snรญลพil mรญru chudoby.

Jakรฉ je tajemstvรญ? Prezentovali to jako ekonomickou pล™รญleลพitost, nikoli jako klimatickou katastrofu. Dรญky veล™ejnรฉmu vlastnictvรญ, kterรฉ zajiลกลฅuje pล™รญstup pro vลกechny, vytvoล™ili model, kterรฝ funguje pro lidi i pro planetu.

0

ๅค–้€ๅนณๅฐไธŠๆŠŠๅ“้ …ๅƒนๆ ผไน˜ไปฅไบŒไน‹ๅพŒ่ฒทไธ€้€ไธ€็š„ๅบ—ๅฎถๆ˜ฏๅœจๅšไป€้บผ็คพๆœƒๅฏฆ้ฉ—ๅ—Ž๏ผŸ

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

Heyโ€” please reply to this telling me which operating system you are reading this post on, and what if anything you see after this colon: ๐Ÿด๓ ต๓ ณ๓ ด๓ ธ๓ ฟ

EDIT: Please stop replying now (please). Results: This is a nonstandard emoji sequence for the Texas flag; it appears to ONLY display as the Texas flag on Linux, and only SOME versions of Linux, and I can't figure out the pattern for which ones. Most machines show a black flag, which is not the fallback I'd want (I'd want the letters USTX to be visible).

0
0
0

In Queensland tens of thousands of cattle die of thirst and hunger encircled by fresh water and grass

โ€œIt sounds completely absurd,โ€ grazier Angus Propsting says. โ€œBut they are actually perishing because they are not drinking, even though they are surrounded by water.โ€

Some of the famished cattle look upon grass tens of metres from where they perch.

theguardian.com/australia-news




0
0
0
0
1
0

ๆˆ‘ๆœ‰้–‹ๅง‹ๅ„ฒ็จฟไบ†... :blobcatmeltcry:

ๆˆ‘ไธ‹็ญ†ๅฏไปฅๅพˆๅฟซ๏ผŒไฝ†ๆบ–ๅ‚™็œŸ็š„ไธๅฟซ...
ไธ€ๆœŸๅฏซๆމ1000ๅญ—(้‚„ๅชๆ˜ฏ็›ฎๅ‰)่ฆบๅพ—ๆปฟๆตช่ฒป็š„๏ผŒไฝ†ๆœ‰ไบ›ๆฑ่ฅฟๅฐฑ่ฆบๅพ—ๆœ‰ๅฏซๆฏ”่ผƒๅฅฝ๏ผŒๅƒๆ‹‰ๅฑŽไธ€ๆจฃ...(X

0
0
0
0

SUPER IMPORTANT POLL: You are going to see a movie in the movie theater. You're figuring out when to time your arrival. The ideal time for arriving is:

0
0
0
0
0
0

lat์„ ๋งŒ๋“ค๋ฉด์„œ ํด๋กœ๋“œ๋ฅผ ๋ ˆํฌ 4๊ฐœ์—์„œ ๋™์‹œ์— ๋Œ๋ ธ๋Š”๋ฐ ์˜ˆ์ƒ์น˜ ๋ชปํ•œ ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ๋‹ค. ๋‚ด๊ฐ€ ์›๋ž˜ ๋ชจ๋…ธ๋ ˆํฌ๋ฅผ ๋ณ„๋กœ ์•ˆ ์ข‹์•„ํ•ด์„œ(+ ๋ ˆํฌ๋ฅผ ๋‚˜๋ˆด์„๋•Œ ๋นŒ๋“œ์˜ ๋ฌธ์ œ๋ฅผ Nix๊ฐ€ ํ•ด์†Œํ•ด์คŒ) ๊ด€๋ จ์žˆ๋Š” ๋ ˆํฌ 4๊ฐœ๋ฅผ ๊ทธ๋ƒฅ ๋”ฐ๋กœ ๋”ฐ๋กœ ํŒ ๋Š”๋ฐ, ํด๋กœ๋“œ๊ฐ€ ์ผํ• ๋•Œ์˜ ๋งฅ๋ฝ์„ ์ „ํŒŒํ•ด์ฃผ๋Š”๊ฒŒ ๋งค์šฐ ๋ฒˆ๊ฑฐ๋กœ์› ๋‹ค. ํด๋กœ๋“œํ•œํ…Œ ์ค„ ๋งฅ๋ฝ์„ ๊ธฐ์ค€์œผ๋กœ ๋ ˆํฌ๋ฅผ ๋‚˜๋ˆ„๋Š”๊ฒŒ ๋งž๋Š”๊ฑด๊ฐ€? ์•„๋‹ˆ๋ฉด ๋ ˆํฌ๋ฅผ ๋‚˜๋ˆ„๋”๋ผ๋„ ๋งฅ๋ฝ์„ ๋‹ค์‹œ ํ•ฉ์น  ์ข‹์€ ๋ฐฉ๋ฒ•์ด ์žˆ์„๊นŒ?

2

์„œ์šธ์‹œ ์‚ฌ์ดํŠธ ๊ธฐ๋Šฅ ์•ˆ๋˜์„œ ๋ฌธ์˜ ๋‚จ๊ฒผ๋Š”๋ฐ ๋‹ต๋ณ€์ด ์ด๋ ‡๊ฒŒ ์™”... "๋‚ด์šฉ" ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹ใ…‹

0
0

์†ก๊ณ 2026-01-09 11:27 NYT ์ธํ„ฐ๋ทฐโ€ฆ"๋‚˜๋ฅผ ๋ง‰์„ ์ˆ˜ ์žˆ๋Š” ๊ฑด ๋‚ด ๋„๋•์„ฑ๋ฟ" ็พŽ ํŒจ๊ถŒ ๊ณต์„ธ ์ง€์† ์‹œ์‚ฌ ์œ ๋Ÿฝ์— "์ œ๋Œ€๋กœ ํ•˜๊ธธ ๋ฐ”๋ž€๋‹ค"โ€ฆ๊ตญ์ œ๋ฒ• ๋‘๊ณ  "๋‚ด๊ฒ ํ•„์š”์—†์–ด" ๊ฒฝ์‹œ ๋“œ๋Ÿฌ๋‚ด ์ง‘๋ฌด์‹ค ์ฑ…์ƒ ์œ„์—” ์ด๋ž€ ๊ณต์Šต์— ํˆฌ์ž…๋๋˜ 'B-2 ํญ๊ฒฉ๊ธฐ' ๋ชจํ˜• www.yna.co.kr/view/AKR2026...

ํŠธ๋Ÿผํ”„ "๊ทธ๋ฆฐ๋ž€๋“œ ํ™•๋ณด์™€ ๋‚˜ํ†  ์œ ์ง€, ์„ ํƒํ•ด์•ผ ํ•  ์ˆ˜๋„...

0
0
1

If @loops supported some kind of crowd-content moderation, with configurable rules, like

Show me all the videos with the tag where at least 3 pepple confirmed is of cats. Then I can configure an account and feed for my kid to spend some screen time. This would be much more advanced moderation/customization than what Instagram and TikTok would be willing to implement.

Is something like that possible?

0
0

ใ€Œ่€่ˆ—ใฎ็ธฆๆ›ธใใƒ†ใ‚ญใ‚นใƒˆใ‚จใƒ‡ใ‚ฃใ‚ฟใƒผใ€ŒO's Editorใ€ใฎๆœ€ๆ–ฐๅพŒ็ถ™็‰ˆใ€ŒO's Editor3ใ€ใŒใ€1ๆœˆ1ๆ—ฅใซใƒชใƒชใƒผใ‚นใ•ใ‚ŒใŸใ€‚ๅ‰่บซใงใ‚ใ‚‹ใ€ŒO's Editor๏ผ’ใ€ใฎใƒชใƒชใƒผใ‚นใ‹ใ‚‰ๅฎŸใซ26ๅนดใถใ‚Šใฎใƒกใ‚ธใƒฃใƒผใƒใƒผใ‚ธใƒงใƒณใ‚ขใƒƒใƒ—ใจใชใ‚‹ใ€‚

ใ€ŒO's Editorใ€ใฏใ€20ไธ–็ด€ใ‹ใ‚‰็ธฆๆ›ธใๆฉŸ่ƒฝใ‚’ๆญ่ผ‰ใ—ใฆใ„ใŸใƒ†ใ‚ญใ‚นใƒˆใ‚จใƒ‡ใ‚ฃใ‚ฟใƒผใ€‚ใƒ†ใ‚ญใ‚นใƒˆใ‚จใƒ‡ใ‚ฃใ‚ฟใƒผใงใ‚ใ‚ŠใชใŒใ‚‰ใ€ๆ›ธๅผ่จญๅฎšใŒ่ฑŠๅฏŒใงใƒฏใƒผใƒ—ใƒญใ‚ฝใƒ•ใƒˆใฎใ‚ˆใ†ใซๅฐๅˆท็ตๆžœใซ่ฟ‘ใ„่กจ็คบใง็ทจ้›†ใงใใ‚‹ใฎใŒ็‰นๅพดใ€‚ๆ˜ ็”ป็›ฃ็ฃใงใ‚‚ใ‚ใ‚‹ใŠใฌใพใ‚†ใ†ใ„ใกๆฐใŒ้–‹็™บใ—ใฆใŠใ‚Šใ€่„šๆœฌใชใฉใฎๅŸท็ญ†ใƒปๅฐๅˆท็”จ้€”ใงๅคšใไฝฟใ‚ใ‚Œใฆใ„ใŸใ€‚ใ€

่€่ˆ—ใฎ็ธฆๆ›ธใใƒ†ใ‚ญใ‚นใƒˆใ‚จใƒ‡ใ‚ฃใ‚ฟใƒผใ€ŒO's Editorใ€ใŒ26ๅนดใถใ‚Šใซใƒกใ‚ธใƒฃใƒผใƒใƒผใ‚ธใƒงใƒณใ‚ขใƒƒใƒ— - ็ช“ใฎๆœ
forest.watch.impress.co.jp/docs/news/2076593.html

0
0
0
0
0
1
0