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

่ฑ†ๅŒ… 2.0 ่ขซๆ›ๅท้ข˜๏ผŒๅช่ƒฝ่ฏดๅญ—่Š‚่ฟ™ไนˆๅšไปฅๅŽ่‚ฏๅฎšๅพ—ๅ…ˆ้ฟ้ฃŽๅคดๅ†ๆฐช้‡‘
0

We STILL need more snowflake proxies!!!

โ„๏ธ Snowflake has been a crucial circumvention tool for censored users in Russia, China, Iran, Turkmenistan and many others regions!

You can help keep the internet free and open. Run a Snowflake proxy!

It's simple as opening a tab on your browser! Copy and paste: embed-snowflake.torproject.org/ (yes, you can open on multiple tabs!)

Or check other options here: snowflake.torproject.org/

This machine fights internet censorship. Tor Snowflake purple logo.
website: https://snowflake.torproject.org
0

We STILL need more snowflake proxies!!!

โ„๏ธ Snowflake has been a crucial circumvention tool for censored users in Russia, China, Iran, Turkmenistan and many others regions!

You can help keep the internet free and open. Run a Snowflake proxy!

It's simple as opening a tab on your browser! Copy and paste: embed-snowflake.torproject.org/ (yes, you can open on multiple tabs!)

Or check other options here: snowflake.torproject.org/

This machine fights internet censorship. Tor Snowflake purple logo.
website: https://snowflake.torproject.org
0

็‰นๅฎšใฎๆ›ธ็ฑใŒใฉใ‚Œใใ‚‰ใ„ๅฃฒใ‚ŒใŸใ‹ใฃใฆใŠใ‚‚ใฃใŸใ‚ˆใ‚Šๅ…ฌ้–‹ใ•ใ‚Œใชใ„ๆƒ…ๅ ฑใชใ‚“ใ ใญ

0

็ทŠๆ€ฅๅฟซ่จŠ๏ผš็พŽๅœ‹ๆœ€้ซ˜ๆณ•้™ข่ฃๅฎš๏ผŒๅทๆ™ฎๅคง้ƒจไปฝ้—œ็จ…้žๆณ•็„กๆ•ˆ๏ผŒ่ช็‚บๆ†ฒๆณ•ไธๆŽˆไบˆ็ธฝ็ตฑๅŠ่กŒๆ”ฟๆฉŸ้—œๆฌŠๅŠ›่‡ช่กŒๅŠ ๅพต้—œ็จ…

ๅˆคๆฑบ้‡ๅฐๅ‹•็”จใ€Šๅœ‹้š›็ทŠๆ€ฅ็ถ“ๆฟŸๆฌŠๅŠ›ๆณ•ใ€‹IEEPA่€Œ้–‹ๅพต็š„้—œ็จ…๏ผŒๅŒ…ๆ‹ฌๅ…จ้ƒจใ€Œๅฐ็ญ‰้—œ็จ…ใ€๏ผŒไปฅๅŠๅ‘ไธญๅŠ ๅขจไธ‰ๅœ‹ๅพตๆ”ถ็š„ใ€Œ่Šฌๅคชๅฐผ้—œ็จ…ใ€

9ๅๆณ•ๅฎ˜ไปฅ6ๆฏ”3ๅŒๆ„้€™ไปฝๅˆค่พญ

0
0

RE: fosstodon.org/@paulox/11610288

A++ content. I was in a call with @mkennedyMichael Kennedy and @pythonbynightMario Munoz this week, where this topic came up again.

We looked, and I thought Django's package size was 200M bigger than it actually is. Django is only 10.9 MB compressed, which is within ~1 MB of SQLAlchemy, which is kind of impressive to think about.

So running the Django ORM doesn't quite have the same mental tax as I have assumed all of these years.

0

์ด์ œ ์™€์„œ ํ•˜๋Š” ๋ง์ด์ง€๋งŒ, ํ•œ๊ตญ์ด ๊ด€์„ธ ํˆฌ์ž ์‹œ๊ฐ„ ๋ˆ ๊ฑด ๋งž์ง€ ๋ญ. ใ…‹ใ…‹ใ…‹;

0
0
0
0

@muninFi ๐Ÿณ๏ธโ€โšง๏ธ Every time I've entered a federal or county courthouseโ€”sometimes to serve jury duty, to support a relative before a judge, or to just do some business with the countyโ€”I've had to put my phone into a locker. Only lawyers could bring their phones into the building. And I would be checked by guards to ensure that I didn't break the rules.

I canโ€™t imagine that Zuckerberg & co. didnโ€™t know that they were violating the rules of the court.

0

์ˆ˜์š”์ผ์— ํ”ผ๋“œ๋ฐฑ ๋ฐ›๊ณ  ๋ถˆ์— ํƒ€์˜ค๋ฅด๋ฉฐ "๋‚ด๊ฐ€ ๋„ˆ ํ‹€๋ฆฐ๊ฑฐ ์ฆ๋ช…ํ•˜๊ณ  ๋งŒ๋‹ค!"๋ผ๋ฉด์„œ ์Šค์ผ€์ฅด ํ•œ๋‹ฌ์น˜๋ฅผ ๋งŒ๋“ค์–ด๋†จ๋Š”๋ฐ ์ฒซ๋‚ ๋ถ€ํ„ฐ ๋ฐ€๋ ธ๋‹ค

1
0
0

ํœด, ์ด์žฌ๋ช… ๋Œ€ํ†ต๋ น์˜ ์‹œ๊ฐ„ ๋Œ๊ธฐ๊ฐ€ ์„ฑ๊ณตํ–ˆ๊ตฌ๋งŒ. ๋ฏธ ์—ฐ๋ฐฉ๋Œ€๋ฒ•์›์ด ๋น ๋ฅด๊ฒŒ ๊ฒฐ์ •ํ•ด์ค˜์„œ ์‚ด์•˜๋„ค. ใ…‹ใ…‹;

์ผ๋ณธ์€ ์–ด์ฉ”๋ ค๋‚˜. ์ผ๋‹จ ์ฒซ ๊ฑด์€ ํˆฌ์ž ํ•˜๋Š” ๊ฑฐ ๋ณด์—ฌ์ค„๋ ค๋‚˜.

0
0
7
0
0
1

Klarnamenpflicht und Altersgrenzen sind das Gegenteil von evidenzbasierter Politik. Wofรผr genau soll das gelten? Fรผnf Big-Tech-Apps? Alle sozialen Medien? Smartphones? Internet-Zugang? Vรถllig unklar. Es geht nicht um Fakten, nur um Gefรผhle. "Die Politik muss was tun, fรผr die Kinder/Demokratie."

0
3
0

> LOOK

You are in a room. There are exits to the north and west. There is an armchair.

> SIT

You are sitting in an armchair in a room. There are exits to the north and west. A small black cat enters the room.

> TAKE CAT

You cannot take the cat.

> PET CAT

You pet the cat. It starts to purr.

> PET CAT

You pet the cat. It jumps onto the chair, purrs, and settles on your lap.

> N

You cannot go north. You are immobilised by a cat.

> STAND UP

You cannot stand up. You are immobilised by a cat.

> W

You cannot go west. You are immobilised by a cat.

> PET CAT

The cat purrs.

0
25
0

์˜ค๋ž˜ ๊ธฐ๋‹ค๋ฆฌ์…จ์Šต๋‹ˆ๋‹ค!!!

BlueBase: Python์œผ๋กœ ๋ฐ‘๋ฐ”๋‹ฅ๋ถ€ํ„ฐ ์ง์ ‘ ๋งŒ๋“ค์–ด๋ณด๋Š” DBMS

https://theeluwin.github.io/BlueBase/

๊ฒฐ๊ตญ ์™„์„ฑ์€ ๋ชปํ–ˆ์ง€๋งŒ, ์ผ๋‹จ ๊ณต๊ฐœํ•  ์ˆ˜ ์žˆ๋Š” ๋ถ€๋ถ„์ด๋ผ๋„ ๊ณต๊ฐœํ•ฉ๋‹ˆ๋‹ค.

RedBase DBMS์„ ๊ตฌ์„ฑํ•˜๋Š” PF, RM, IX, SM, QL ์ค‘ PF์™€ RM์„ ์—ฌ๋Ÿฌ๋ถ„๋“ค์ด ์ง์ ‘ ๊ตฌํ˜„ ํ•  ์ˆ˜ ์žˆ๊ฒŒ, ๊ณผ์ œ์˜ ํ˜•ํƒœ๋กœ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

PF๋Š” paged file์˜ ์•ฝ์ž๋กœ, file์„ page ๋‹จ์œ„๋กœ ๊ด€๋ฆฌํ•˜๋Š” ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค. ๋Œ€์ถฉ 4096 ๋ฐ”์ดํŠธ ๋‹จ์œ„๋กœ ๊ด€๋ฆฌํ•˜๋Š”๋ฐ์š”, file์— ๋ฐ”๋กœ๋ฐ”๋กœ readํ•˜๊ฑฐ๋‚˜ writeํ•˜์ง€ ์•Š๊ณ , ์ž์ฃผ ์‚ฌ์šฉ๋˜๋Š” page๋Š” ๊ฐ€๋Šฅํ•œ memory์— ์žˆ๋„๋ก ์ค‘๊ฐ„์— buffer manager๋ฅผ ๋‘ก๋‹ˆ๋‹ค. ๊ทธ๋ ‡๋‹ค๋ฉด buffer์— ๊ณต๊ฐ„์ด ๋ชจ์ž๋ผ๋ฉด? buffer์— ์žˆ๋Š” page ์ค‘ ๋ˆ„๊ตฐ๊ฐ€๋ฅผ evict ํ•  ์ˆ˜๋ฐ–์— ์—†์Šต๋‹ˆ๋‹ค. ๊ทธ๋Ÿผ ๋ญ˜ ๊ธฐ์ค€์œผ๋กœ ํ•˜๋ฉด ์ข‹์„๊นŒ์š”? ์ด ๋ถ€๋ถ„์„ ์ž˜ ์ƒ๊ฐํ•ด์„œ ๊ตฌํ˜„ํ•ด๋ณด๊ณ , ์„ฑ๋Šฅ์„ ๋น„๊ตํ•ด๋ณด๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. ์ œ๊ฐ€ cache hit/miss ์‹œ๋ฎฌ๋ ˆ์ด์…˜ ๊ตฌํ˜„ํ•ด๋‘”๊ฒŒ ์žˆ์œผ๋‹ˆ, ์ œ custom ๋ณด๋‹ค ๋†’์€ ์„ฑ๋Šฅ์„ ๋‹ฌ์„ฑํ•ด์ฃผ์„ธ์š”!

์ดํ›„ RM์€ record management์˜ ์•ฝ์ž์ธ๋ฐ, PF๋ฅผ ์‚ฌ์šฉํ•ด์„œ record๋“ค์„ ๊ฐ€์ ธ์˜ค๊ฑฐ๋‚˜, ์ƒˆ๋กœ ๋„ฃ๊ฑฐ๋‚˜ ๋“ฑ์„ ํ•˜๊ฒŒ ํ•ด์ค๋‹ˆ๋‹ค. ๊ทธ๋ ‡๋‹ค๋ฉด ์ „์ฒด record๋ฅผ ์ˆœํšŒํ•˜๋Š” scan ์—ฐ์‚ฐ์ด ์ค‘์š”ํ•˜๊ฒ ์ฃ . ์ด ๋ถ€๋ถ„์„ ๊ตฌํ˜„ํ•˜๋Š” ๊ฒƒ์ด ํ•ต์‹ฌ์ž…๋‹ˆ๋‹ค. record๋Š” page ์•ž ๋ถ€๋ถ„์— bitmap์„ ๋‘ฌ์„œ slot์ด ๋น„์–ด์žˆ๋Š”์ง€ ์•„๋‹Œ์ง€๋ฅผ ํ™•์ธํ•˜๋Š”๋ฐ, ๋งŒ์•ฝ record ์‚ญ์ œ ๋ช…๋ น์ด ๋งˆ์ง€๋ง‰ slot์„ ๋น„์šฐ๊ฒŒ ๋œ๋‹ค๋ฉด ํ•ด๋‹น page๋Š” ๋”์ด์ƒ ํ•„์š” ์—†๊ฒ ์ฃ . ๊ทธ๋ ‡์ง€๋งŒ ์ด๋ฅผ ๋ฐ”๋กœ free๋กœ ๋งŒ๋“œ๋Š”๊ฑด ์กฐ๊ธˆ ๋น„์‹ผ ์—ฐ์‚ฐ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค. free page list๋ฅผ ๋‹ค์‹œ ๊ณ„์‚ฐํ•ด์•ผํ•˜๊ฑฐ๋“ ์š”. ๊ทธ๋ž˜์„œ ๋ณดํ†ต DBMS์—์„œ๋Š” ์ด๋Ÿฌํ•œ ์ž‘์—…๋“ค์„ vacuum ์—ฐ์‚ฐ์œผ๋กœ ํ•ด๊ฒฐํ•ฉ๋‹ˆ๋‹ค. ์ถ”๊ฐ€๋กœ, ์ง€๊ธˆ์€ ๊ณ ์ • ๊ธธ์ด record๋งŒ ๋‹ค๋ฃฐ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค๋งŒ, ๊ฐ€๋ณ€ ๊ธธ์ด๋ฅผ ํ—ˆ์šฉํ•˜๋ ค๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด์•ผํ• ๊นŒ์š”? ์ด ๋ถ€๋ถ„๋“ค์€ ์ž์œ ๋กญ๊ฒŒ ๊ตฌํ˜„ํ•ด๋ณด์‹œ๋ฉด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.

๋ฌธ์„œ์™€ ํ…Œ์ŠคํŠธ๋Š” ๋ชจ๋‘ ๊ณต๊ฐœ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค. ๊ธฐ์—ฌํ•ด์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค! ๋‹ค๋งŒ, ์ •๋‹ต ์ฝ”๋“œ์™€ ํ•ต์‹ฌ ๋กœ์ง์€ ๋งˆ์ง€๋ง‰๊นŒ์ง€ ์ € ํ˜ผ์ž ํ•ด๋ณด๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค (๋„์ „).

https://github.com/theeluwin/BlueBase

๋ฐ‘๋ฐ”๋‹ฅ๋ถ€ํ„ฐ ์ง์ ‘ ๋งŒ๋“ค์–ด๋ณด๋Š” DBMS์—์„œ page cache policy์— ๋”ฐ๋ฅธ ์„ฑ๋Šฅ ๋น„๊ต.
5
0

็งใจๅฏพ้ขใงๅˆใ†ใจใใŒใ‚ใ‚Œใฐใ€ใ‚ใชใŸใฏใ“ใฎใƒ‘ใƒฏใƒใงไฝœใฃใŸๅๅˆบใ‚’ๅพ—ใ‚‹ใ“ใจใŒใงใใพใ™

RE: https://misskey.io/notes/abd6ss4yziyc02bi

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

0
0
1
0
0
0
0
0
0
17
0

์ˆ˜์ •2026.02.20. ์˜คํ›„ 2:01 โ€œํ•™๋Œ€ ๋“ฑ ์ด๋ฏธ์ง€ ์ƒ์„ฑ ๊ธฐ์ˆ  ์ „๋ฉด ๊ธˆ์ง€ํ•ด์•ผโ€ ๊ตญ์ œ๊ธฐ๊ตฌ๋“ค ์„ฑ๋ช…ยทยทยทํ•œ๊ตญ์„  ๋ฐฉ๋ฏธ์‹ฌ์œ„ ์ฐธ์—ฌ โ€œ์„ค๊ณ„๋ถ€ํ„ฐ ์•ˆ์ „ํ•˜๊ฒŒยทยทยท๋ณดํ˜ธ ์กฐ์น˜ ๋„์ž…ํ•ด์•ผโ€ ์„ฑ์ฐฉ์ทจ ์ƒ์„ฑ๋ฌผ ๋ฐœ๊ฒฌ ๋• โ€œ์‹ ๊ณ ยท๋น„๋‚œยทํ์‡„โ€ www.khan.co.kr/article/2026...

โ€œโ€˜์˜ท ๋ฒ—๊ธฐ๋Š” AIโ€™ ์ง€๊ธˆ ๋‹น์žฅ ๋ง‰์•„์•ผโ€ยทยทยท์„ฑ์ฐฉ์ทจ ์ด...

0

the year of our lord is 3026, humanity lives in a post-scarcity future, everybody lives happily and forever, and a developer AI sighs and commits "Fix missing multipart form attribute"

0
0
0
0
0
0

the year of our lord is 3026, humanity lives in a post-scarcity future, everybody lives happily and forever, and a developer AI sighs and commits "Fix missing multipart form attribute"

0
1
1

This is the most obvious statement of this millennium but apparently it needs to be repeated for the people in the back:

The government does not give a fuck about you. None of them do. We built a system specifically to not trust the government.

The problem with that system is that we keep allowing said government to find loopholes within it that allow it to make whatever tyrannical rules it fucking wants without repercussions or revolt.

When it doesn't work (EARN IT Act), they just keep trying again (ID verification) and each plot will be attempted for years at a time. The feds are playing a war of attrition and are betting on you being forgetful. The communications decency act, the patriot act, TSA, and everything since then. That time they let Microsoft off the hook because their monopoly was too useful.

Nobody could have predicted 300 years ago that we would invent a system to instantaneously transmit vast amounts of information across tens of thousands of miles, and that it would become the backbone of political stability as it dictates everything people perceive to be real. We are more "aware" of our surroundings than ever,and yet simultaneously the least involved in their evolution than we've ever been.

The ID verification laws. We all knew, but now it's been confirmed: the US and Canadian governments are tying your device fingerprints to your financial and social security records to build a unified profile of your identity online on every major website that has that matching information. They are scanning you against a list of politically relevant people for undisclosed purposes.

This is not something Americans do. This is not what we stand for. Self host your online infrastructure. Encrypt and obfuscate fucking everything. This is the last chance you might ever get.

In the highly unlikely event I strike one too many nerves and alert the nearest glowie: I am mentally sane. I have no desire to kill myself and infact I have a very important purpose in life. I am not planning any surprise vacations. I do not take or distribute drugs, keep illicit material on my computer, or fail to pay my bills. I am a healthy, law abiding citizen, and in the event of my disappearance or death you should be very worried because they will probably come after you too.

I'm not anonymous. Real world violence and detainment is how they take your free speech away. Don't forget it.
0
0
0
0
0