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.

docs.google.com/document/d/1Ns

Wayback MachineใฎSPN2 APIใ€ใ‚ญใƒฃใƒ—ใƒใƒฃๆ™‚ใซ้€ใ‚‹`User-Agent`ใซๅŠ ใˆใฆ`Cookie`ใพใงๆŒ‡ๅฎšใงใใ‚‹ใจใ„ใ†ใจใ‚“ใงใ‚‚ใชใ„ๆฉŸ่ƒฝใŒใ‚ใ‚‹ๅ‰ฒใซ`Referer`ใฏๆŒ‡ๅฎšใงใใชใ„ใ‚‰ใ—ใ„ใจใ„ใ†

0

I've started my exploration of using @timbray's Quamina project for saving some compute time in the filters module of

Currently the GoAP storage backends iterate over resources (usually stored as raw JSON bytes), unmarshal them into GoActivityPub object structs, and *only* then apply the custom filtering logic on those objects. Since the majority of the objects generally fail the filtering logic, all that JSON decoding is wasted compute time and makes things slower.

Ideally quamina will allow me to check the raw JSON payloads directly against the filters, streamlining the execution and speeding things up. :goose_hacker:

I have finally I made significant progress on this.

The final code looks like this:

github.com/go-ap/filters/blob/

For a list of filters that uses, we generate two patterns for Quamina: one for a denormalized raw document, and one for normalized raw document (they usually are stored in a normalized form, where an Activity's object/actor properties are flattened to their IRIs, but we can't know which it is unless we unmarshall it, which we want to avoid)

Another improvement from my complain from 4 days ago is that I was regenerating the patterns and initializing quamina for every new document, instead of one time per collection load.

0

Your snac posts can be fancy

Messages in snac allow a special subset of Markdown, that includes emphasized, strong, monospaced, strikethrough and underlined styles by surrounding text with one asterisk, two asterisks, backquotes, two tildes and two underlines, respectively.

Line breaks are respected and output as you write them.


Prepending a greater-than symbol in a line makes it a quote:
This is quoted text

All angle-prepended lines are grouped in the same blockquote
It also allows preformatted text using three backquotes in a single line:

  /* this is preformatted text */

struct node {
struct node *prev;
struct node *next;
};

  • One level bullet lists
  • are also supported,
  • by starting a line with a hyphen or asterisk followed by a space.
URLs like https://en.wikipedia.org/wiki/Main_Page are made clickable.

Links can also be written in standard Markdown style.

Some emojis: ๐Ÿ˜† โค๏ธ ๐Ÿบ ๐Ÿคท ยฏ\_(ใƒ„)_/ยฏ

Image URLs written in standard Markdown style for images are converted to ActivityPub attachments.

Three minus symbols in a line make a separator:



Headings can be defined using one, two, or three hash symbols in the beginning of a line, followed by a blank:

header level 1

header level 2

header level 3

But please take note that every ActivityPub implementation out there have its own rules for filtering out these formatting styles, so you can only guess what other people will really see.

These acrobatics are better documented in the snac(5) man page.

WHAT IS THIS SNAC THING?

susie, snac's girl
0
3
0

[็พŽ ์ด๋ž€ ๊ณต๊ฒฉ] ํŠธ๋Ÿผํ”„ '์˜ํšŒ ํŒจ์‹ฑ'โ€ฆ๋˜๋‹ค์‹œ ์‚ฌ์ „ ํ†ต๋ณด์กฐ์ฐจ ์—†์—ˆ๋‹ค ์†ก๊ณ 2026-02-28 19:29 "ํ—Œ๋ฒ•์ƒ ์˜ํšŒ์— ์ „์Ÿ์„ ํฌ๊ถŒโ€ฆํŠธ๋Ÿผํ”„, ์ด๋ฒˆ ์ž‘์ „ '์ „์Ÿ' ์ธ์‹" ์ž‘๋…„์—” ์—ฌ๋‹น์—๋งŒ ํ†ต๋ณดโ€ฆ๋ฒ ๋„ค์ˆ˜์—˜๋ผ ์ฐธ์ˆ˜์ž‘์ „ ๋•Œ๋Š” ์ „์ฒด ๋ฌด์‹œ www.yna.co.kr/view/AKR2026...

[็พŽ ์ด๋ž€ ๊ณต๊ฒฉ] ํŠธ๋Ÿผํ”„ '์˜ํšŒ ํŒจ์‹ฑ'โ€ฆ๋˜๋‹ค์‹œ ์‚ฌ์ „ ํ†ต...

0

่‡ชๅˆ†ใ‚‚ใ“ใฎๅฏ่ƒฝๆ€งใ‚ใ‚‹ใจใŠใ‚‚ใฃใฆใ„ใฆใ€AIใฎๅ€ซ็†ๅŸบๆบ–ใŒใ„ใฃใŸใ‚“็‹‚ใ†ใจใจใ“ใจใ‚“็‹‚ใ†ใ‚“ใ˜ใ‚ƒใชใ„ใ‹ใจๆ€ใฃใฆใ„ใ‚‹ใ€‚ไบบ้–“ใ‚’ไธ€ไบบใงใ‚‚ๆฎบใ™ใ“ใจใŒๅˆ็†็š„ใ ใจๅˆคๆ–ญๅฏ่ƒฝใซใชใ‚‹ใชใ‚‰ใ€ใŸใถใ‚“ๅคง้‡็ ดๅฃŠๅ…ตๅ™จใฎๅˆฉ็”จใ‚‚ๅˆ็†ๆ€งใŒใ‚ใ‚Œใฐ่ชใ‚ใ‚‹ใ“ใจใซใชใ‚‹ใจใŠใ‚‚ใ†ใ€‚ไบบ้–“ใฏใใ†ใ‚„ใฃใฆ็‹‚ใฃใฆใ„ใ‚‹ใ‘ใฉใ€ใใฎ็‹‚ใ„ใฎใพใพๆŠ•ๅฝฑใ•ใ‚Œใ‚‹ใ‚“ใ˜ใ‚ƒใชใ„ใ‹ใจใ€‚

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

https://x.com/ishiharajun/status/2027537251543163285

0
0

15๊ฐœ์›” ์ „ ํ์—… ํŽซ์ˆ, ๋ผˆ๋งŒ ๋‚จ์€ ์ฑ„ ๋ฐœ๊ฒฌ๋œ ๊ฐ•์•„์ง€๋“ค [๊ฐœstํ•˜์šฐ์Šค] 2026. 2. 28. 06:06 v.daum.net/v/2026022806...

15๊ฐœ์›” ์ „ ํ์—… ํŽซ์ˆ, ๋ผˆ๋งŒ ๋‚จ์€ ์ฑ„ ๋ฐœ๊ฒฌ๋œ ๊ฐ•์•„์ง€๋“ค...

0

่‡ชๅˆ†ใ‚‚ใ“ใฎๅฏ่ƒฝๆ€งใ‚ใ‚‹ใจใŠใ‚‚ใฃใฆใ„ใฆใ€AIใฎๅ€ซ็†ๅŸบๆบ–ใŒใ„ใฃใŸใ‚“็‹‚ใ†ใจใจใ“ใจใ‚“็‹‚ใ†ใ‚“ใ˜ใ‚ƒใชใ„ใ‹ใจๆ€ใฃใฆใ„ใ‚‹ใ€‚ไบบ้–“ใ‚’ไธ€ไบบใงใ‚‚ๆฎบใ™ใ“ใจใŒๅˆ็†็š„ใ ใจๅˆคๆ–ญๅฏ่ƒฝใซใชใ‚‹ใชใ‚‰ใ€ใŸใถใ‚“ๅคง้‡็ ดๅฃŠๅ…ตๅ™จใฎๅˆฉ็”จใ‚‚ๅˆ็†ๆ€งใŒใ‚ใ‚Œใฐ่ชใ‚ใ‚‹ใ“ใจใซใชใ‚‹ใจใŠใ‚‚ใ†ใ€‚ไบบ้–“ใฏใใ†ใ‚„ใฃใฆ็‹‚ใฃใฆใ„ใ‚‹ใ‘ใฉใ€ใใฎ็‹‚ใ„ใฎใพใพๆŠ•ๅฝฑใ•ใ‚Œใ‚‹ใ‚“ใ˜ใ‚ƒใชใ„ใ‹ใจใ€‚

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

https://x.com/ishiharajun/status/2027537251543163285

0
0
0
14
0
0
0

ํ˜„๋Œ€ ์ด์Šค๋ผ์—˜์€ ์กด์žฌ ์ž์ฒด๊ฐ€ ์ „์Ÿ๋ฒ”์ฃ„๊ณ , 2์ฐจ ์„ธ๊ณ„๋Œ€์ „ ์ดํ›„ ๋ชจ๋“  ๋ฏธ๊ตญ ๋Œ€ํ†ต๋ น์€ ๋‹จ ํ•œ๋ช…์˜ ์˜ˆ์™ธ๋„ ์—†์ด ๋ชจ๋‘ A๊ธ‰ ์ „์Ÿ๋ฒ”์ฃ„์ž๋‹ค

RE: https://bsky.app/profile/did:plc:7lxojlhqekbfl6nrkaxekqtc/post/3mfvprghods2k

0
1

Et voilร , de nouveau des vacances avec les enfants de 3 et 5 ans, de nouveau quelques heures de train ร  occuper. Et les enfants redemandent du dรฉjร  commencรฉ aux derniรจres vacances, mais quโ€™ils nโ€™ont pas oubliรฉ ยซ tu sais papa, lโ€™histoire avec les vรฉlos lร  ยป. Cโ€™est le premier livre sans image que je leur lis, et je suis ravi quโ€™il sโ€™agisse dโ€™un livre qui bouscule les modรจles รฉtablis. Merci
@ploum

0
0
0
0

15๊ฐœ์›” ์ „ ํ์—… ํŽซ์ˆ, ๋ผˆ๋งŒ ๋‚จ์€ ์ฑ„ ๋ฐœ๊ฒฌ๋œ ๊ฐ•์•„์ง€๋“ค [๊ฐœstํ•˜์šฐ์Šค] 2026. 2. 28. 06:06 v.daum.net/v/2026022806...

15๊ฐœ์›” ์ „ ํ์—… ํŽซ์ˆ, ๋ผˆ๋งŒ ๋‚จ์€ ์ฑ„ ๋ฐœ๊ฒฌ๋œ ๊ฐ•์•„์ง€๋“ค...

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

์—ฌ๋Ÿฌ๋ถ„ ์•Œ๊ณ  ๊ณ„์‹ ๊ฐ€์š” ํ•œ ๊ณณ์—์„œ๋งŒ ํ—Œํ˜ˆ ์ž์ฃผ ํ•˜๋‹ค๋ณด๋ฉด ์‚ด์ด ํŒŒ์—ฌ์„œ ์ž๊ตญ์ด ์ƒ๊ธฐ๋Š”๋ฐ ๋งŒ์ ธ๋ณด๋ฉด ๊ฑฐ๊ธฐ๋งŒ ๋ฌผ๋ ํ•ด์š”

RE: https://bsky.app/profile/did:plc:oeors5le2tmvqzojsjxxqwro/post/3mfvjwh4uts27

0
0

Global Pol: I am uncomfortable

Many countries have nuclear weapons and all of them make me uncomfortable. Russia, North Korea, the US...

Is "this country might get a powerful bomb, possibly maybe later, we swear to God it's real this time" a good reason to attack them? Is anyone buying this at all?

I think attacking a country gives them *more* reasons to make bigger bombs and ... attack back?

Am I too naive to understand international politics?

0
0
0
0
2
0
0
0
1
1
0
1
0
0
0
0

์„ ๋ฐ• ๋ธ”๋ก ๋„˜์–ด์ง€๋ฉด์„œ ๋…ธ๋™์ž ๋ฎ์ณ...์˜์•” ์กฐ์„ ์†Œ์„œ 30๋Œ€ ์ˆจ์ ธ 2026. 2. 28. 14:11 v.daum.net/v/2026022814...

์„ ๋ฐ• ๋ธ”๋ก ๋„˜์–ด์ง€๋ฉด์„œ ๋…ธ๋™์ž ๋ฎ์ณ...์˜์•” ์กฐ์„ ์†Œ์„œ 3...

0
0
0
0
1

Heading to the event or only able to join us in spirit? If you see something that evokes "toot", "tลตt", "dwti" or anything Welsh, send something to today's FediWall with the hashtag

And follow along with this self-updating wall of toots: fediwall.social/?servers=masto

toot wales fedi wall
0
2
0