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

้ง…ใƒ“ใƒซใจใ‹ใซใ‚ใ‚‹ใ‚ขใƒญใƒžใƒ‡ใ‚ฃใƒ•ใƒฅใƒผใ‚ถใƒผๅฑ‹ใ•ใ‚“ใฎๅ‘จใ‚ŠๆนฟๅบฆใŒ้ซ˜ใ„๏ผˆใ‚ใ‚‹ใ‚ใ‚‹๏ผ‰

0

ๅคœๆ›ดใ‘ใซ็›Šไฝ“ใ‚‚ใชใ„ใ“ใจใ‚’ใ“ใ†ใ‚„ใฃใฆใฒใจใ‚Šใคใถใ‚„ใใฎใฏ้šๅˆ†ไน…ใ—ใถใ‚Šใ ใช
ๆ€ใˆใฐใ—ใฐใ‚‰ใไฝ™่ฃ•ใŒใชใ‹ใฃใŸใฎใ‹ใ‚‚ใ—ใ‚Œใชใ„

0
0
1
0

๊ทธ๋ฆผ์Ÿ์ด ๊ธ€์Ÿ์ดํ•œํ…Œ ๊ถŒ๋ ฅ์ด ์–ด๋”” ์žˆ์—ˆ๋Š”์ง€๋ถ€ํ„ฐ ๋ฌผ์–ด๋ด์•ผ ๋˜๋Š” ๊ฑฐ ์•„๋‹ˆ์˜ˆ์š”?(์ˆ˜์ •์‚ฌํ•ญ ์ง€๊ฒน๋‹ค)

RE: https://bsky.app/profile/did:plc:de27rm6eyuf5ez6gmvjdmilq/post/3mfboyinczc2h

0
0
0
0
18
0
0
0
0

The software engineer work has changed with AI tools.

AI engineers have already become used to the mode of operation where you need to keep the machines working on valuable things, otherwise they are only depreciating in value.

Software engineers are becoming to be like that as well with AI assistants; they need to keep them working, and not only that, working in a way that creates value.

This has always been what managers have been doing, keeping software engineers productive.

It requires not only different skills, but also a different way of understanding work as it transforms from labor-intensive to capital-intensive.

Have you noticed a change in how you understand value creation when you have a machine creating the value?

0
0
0

The software engineer work has changed with AI tools.

AI engineers have already become used to the mode of operation where you need to keep the machines working on valuable things, otherwise they are only depreciating in value.

Software engineers are becoming to be like that as well with AI assistants; they need to keep them working, and not only that, working in a way that creates value.

This has always been what managers have been doing, keeping software engineers productive.

It requires not only different skills, but also a different way of understanding work as it transforms from labor-intensive to capital-intensive.

Have you noticed a change in how you understand value creation when you have a machine creating the value?

0

IRCv3 is shaping to be amazingly good!

here's the things it offers, today, right now, on a chat server we just set up in one evening:

  • you don't need a bouncer (friggin finally)
  • there are moblie clients that work well
  • you can see backlog when joining a channel
  • you can browse chat history
  • you can connect from multiple devices with one account and nickname
  • if you disconnect, your nickname is still present in a channel you joined, marked as away
  • you can highlight or DM people who are away and they'll see your message when they join (without crutches like MemoServ)
  • there is a "last read message" marker and it is synchronized between multiple connections
  • messages have identifiers (and server timestamps) and replies can be tagged with the message you're replying to
  • messages can be redacted (for moderation)
  • you don't need to deal with fussy nonsense like NickServ authorization, ghosting, or such; connect with your username and password and that's it
  • there are typing notifiers, if you want them
  • there are message reactions, if you want them

here's the things it does not offer:

caveat: since IRCv3 is a true extension of IRCv2, the features listed above work if they're supported by both the server and the client. in my onboarding experience so far, people do not find it difficult to find a suitable client, but your mileage may vary. on the flipside, legacy clients will work just fine.

unexpectly, i realized that IRCv3 can completely replace Matrix rooms for my own group chat purposes, and i'm probably not going to set up any Matrix homeservers again; it's just not worth it and frankly I should instead put that effort into coming up with a file upload IRCv3 extension or something

0
44
1
0
0
0
0
0
0
1
0
0

๋„์ฟ ํƒ€ ํŽ˜ํŒŒ์ฝ” 'ๆˆ–ใ„ใฏใ€็งใฎๅๆŽขๅต' 1๊ถŒ ๋ดค๊ณ  ์•„์ฃผ ๋งˆ์Œ์— ๋“  ์ผ์ƒ์ถ”๋ฆฌ๋ฐฑํ•ฉ ๋งŒํ™”์˜€๋‹ค. ๋ฉ”์ธ ์Šคํ† ๋ฆฌ๋Š” ๊ฐ€๋ณ์ง€ ์•Š์•„ ๋ณด์ด๋Š”๋ฐ ์ผ๋‹จ ๋‘ ์ฃผ์ธ๊ณต์˜ ๊ด€๊ณ„์„ฑ์ด ๋ฟŒ๋ฆฌ๋‚ด๋ฆด ์‹œ๊ฐ„์ด ํ•„์š”ํ•˜๋‹ˆ๊นŒ 1๊ถŒ์—์„œ๋Š” ์ผ์ƒ์ถ”๋ฆฌ์— ํฌ์ปค์Šค๋ฅผ ๋‘” ๋“ฏ? ๋ฌผ๋ก  ๊ฑฐ๊ธฐ์— ๋“ค์–ด๊ฐ„ ์†Œ์žฌ๋“ค๋„ ๋ฐฑํ•ฉ์ด๊ณ . comic-walker.com/detail/KC_007

0

็”Ÿๆดปๆ„Ÿใฎใ‚ใ‚‹ๆƒ…ๅ ฑใจใ„ใ†ใ‹็”Ÿใ€…ใ—ใ„ๅ…ทไฝ“็š„ใชใ“ใจใฏใ‚ใพใ‚Šๆ›ธใ‹ใชใ„ใงใใŸใ‚“ใ ใ‘ใฉใ€SNSใงใพใง็คพไผš็š„ใชๅฑžๆ€งใ‚’ใฒใฃใ•ใ’ใฆไบบใจใ‚„ใ‚Šใจใ‚Šใ—ใŸใใชใ„ใฎใŒ็†็”ฑใฎ๏ผ‘ใคใชใฎใ‹ใชใจไปŠๆ›ด่‡ชๅˆ†ใงใกใ‚‡ใฃใจๆ€ใฃใŸ

0
1
1
1
0
0
0
0

Turns out Amazon had two outages in December caused by their IaaS management slop generator:

Amazonโ€™s cloud โ€˜hit by two outages caused by AI tools last yearโ€™
theguardian.com/technology/202

> Reported issues at Amazon Web Services raise questions about firmโ€™s use of artificial intelligence as it cuts staff

Sounds like things are not going well over at AWS.

> Michaล‚ Woลบniak, a cybersecurity expert, said it would be nearly impossible for Amazon to completely prevent internal AI agents from making errors in future, because AI systems make unexpected choices and are extremely complex.

> โ€œAmazon never misses a chance to point to โ€œAIโ€ when it is useful to them โ€“ like in the case of mass layoffs that are being framed as replacing engineers with AI. But when a slop generator is involved in an outage, suddenly thatโ€™s just โ€˜coincidenceโ€™,โ€ he added.

Henlo.

0
2
0
1

ํ˜„์žฌ Hackers' Pub์„ ์ด์šฉํ•ด ์ฃผ์‹œ๊ณ  ๊ณ„์‹  ์—ฌ๋Ÿฌ๋ถ„๋“ค์€ ๊ฐ„์ ‘์ ์œผ๋กœ Fedify์˜ ํ˜„์žฅ ํ…Œ์ŠคํŠธ์— ๋„์›€์„ ์ฃผ๊ณ  ๊ณ„์‹ญ๋‹ˆ๋‹ค. ๐Ÿคฃ

8
1
0

ํ•œ๊ตญ: ๋‚ด๋ž€์ˆ˜๊ดด๋ฒ” ์ „์ง ๋Œ€ํ†ต๋ นํ•œํ…Œ ๋ฌด๊ธฐ์ง•์—ญ ์„ ๊ณ ํ•จ

๋ฏธ๊ตญ: ์—ก์Šคํƒ€์ธ ์นœ๊ตฌ ๋‹ค์‹œ ๋ฝ‘์•„์คŒ

0
0

It's Friday again, so it's time for another update on Diesel, the Rust query builder and ORM.

I attended RustNation in London this week. It was a great conference, I enjoined giving a workshop on Diesel there and had quite a lot good conversations with different folks. If you are interested in attending a Diesel workshop the next one will in in May in Utrecht as part of the RustWeek.

Nevertheless it was a busy week for Diesel as well. We received 9 PR's and 1 new issue. This might be a new record.

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

You think web page size bloat is bad on some things? oh boy.

Good afternoon to everyone, except bumn.go.id (an Indonesian government website) for having a (at least) 3GB web page because of embedded MP4's with uncompressed audio and video seeming straight from the camera...

This must cost so much for them, like a single page load could cost at least $0.15 in cloud egress fees alone

ql64389Pkg2BXLw4Pn.png
0
0

์žฌ๋ช…์•„.. ์ด๊ฑฐ๋Š” ๋…ธ๋™์ฐฉ์ทจ์•ผ... ์šฐ๋ฆฌ๊ฐ€ ์›ํ•˜๋Š” ๊ฑด ๋…ธ๋™์ฐฉ์ทจ์—†๋Š” ์‚ฌํšŒ์ธ๋ฐ ์ง€๊ธˆ ๋„ˆ๋Š” ๋…ธ๋™์ฐฉ์ทจ๋ฅผ ํ•˜๊ณ  ์žˆ๋Š”๊ฑฐ์•ผ.. ์—ด์‹ฌํžˆ ์ผํ•˜๋Š” ๊ฑด ์ข‹๊ฒ ์ง€๋งŒ ์ฐฉ์ทจ๊ฐ€ ๋˜๋ฉด ์•ˆ๋ผ ์žฌ๋ช…์•„..!

RE: https://bsky.app/profile/did:plc:uabkr6tn7ru4b4e5e6udleuf/post/3mfcbk54jnc2k

0