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.

1
0
0

ไบคๅทฎ็‚นใง้šฃใซๆฅใŸ่ปŠใฎๅŠฉๆ‰‹ๅธญใ‹ใ‚‰๏ผˆใกใ‚ƒใ‚“ใจ่ฝไธ‹้˜ฒๆญขใฎ็ดใจใƒใƒผใƒใ‚นใŒไป˜ใ„ใŸ๏ผ‰ๆŸด็ŠฌใŒ้ก”ๅ‡บใ—ใฆใฆๅ’Œใ‚“ใ 

1

ๆœ€่ฟ‘ใฎRailsใซใคใ„ใฆใใ‚‹WebSocketใ‚ฏใƒฉใ‚คใ‚ขใƒณใƒˆใฏใ‘ใฃใ“ใ†ใ™ใ‚“ใชใ‚Šๅ†ๆŽฅ็ถšใ‚’ใŒใ‚“ใฐใฃใฆใใ‚Œใ‚‹ๆฐ—ใฎใ™ใ‚‹

0

์ง€๋„์‚ฌ์ดํŠธ์—์„œ ์ž ๋ด‰๋ตˆ๋ฅด ๋“ค์–ด๊ฐ„ ์ƒŒ๋“œ์œ„์น˜๋“ค ๋ณด๋Š”๋ฐ..
์ž ๋ด‰๋ตˆ๋ฅด=ํ–„=์—ฌ์šฐ์‹ ๋ น์€ ํ–„์•Œ๋Ÿฌ์ง€๊ฐ€ ์•„์ง๋„ ์žˆ์Œ
.
.
.
๋ชป๋จน์„ ํ™˜์ƒ์˜ ๋ง›์ด๋ผ๊ณ  ํ•ด์•ผ๋ ๊นŒ๋ด์š”
(ํ–„์•Œ๋Ÿฌ์ง€์•ผ ์ œ๋ฐœ ๋‚˜๊ฐ€์ค˜..)

0
0

ํ™์ฐจ ์ด์•ผ๊ธฐ ๋ณด์—ฌ์„œ ๊ถ๊ธˆํ•ด์ง€๊ธฐ ์‹œ์ž‘ํ–ˆ์–ด๋ฃŒ ํ–ฅ์‹ ๋ฃŒ๋“ค ๋‹ค ์ž˜ ๋จน๊ณ , ๋ฐ€ํฌํ‹ฐ ์งฑ ์ข‹์•„ํ•˜๋Š”๋ฐ ์™€์ด๊ฑฐ ใ„นใ…ˆใ„ท ํ–ฅ์ˆ˜๋ง›์ด๋‹ค ํ•˜๋Š” ๊ฑฐ ์ถ”์ฒœํ•ด์ฃผ์‹ค ์ˆ˜ ์žˆ๋‚˜์š”... ์‚ฌ์„œ ํ–ฅ์ˆ˜ ๋งˆ์‹œ๋Š” ๊ธฐ๋ถ„์„ ๋А๊ปด๋ณด๊ณ  ์‹ถ์™€์š”

0

Xใƒฆใƒผใ‚ถใƒผใฎ็…งๆฒผๅฅๅคช๏ฝœใฆใ‘ใ—ใ‚…ใ‚“้Ÿณๆฅฝๆƒ…ๅ ฑใ•ใ‚“: ใ€Œๆœ‰ๆ–™่จ˜ไบ‹ใŒใƒ—ใƒฌใ‚ผใƒณใƒˆใ•ใ‚Œใพใ—ใŸ๏ผ2ๆœˆ16ๆ—ฅ 9:01ใพใงๅ…จๆ–‡ใŠ่ชญใฟใ„ใŸใ ใ‘ใพใ™ AI็†็”ฑใซใ€Œๅ›ใฏใ„ใ‚‰ใชใ„ใ€ใ€€ใ‚ฏใƒชใ‚จใƒผใ‚ฟใƒผใฏ้€€่ท่ฟซใ‚‰ใ‚Œใ€ใ†ใค็—…ใซ๏ผšๆœๆ—ฅๆ–ฐ่ž t.co/23cUXmPPE0ใ€ / X
x.com/TeKe0824/status/20228235

0

Yes, you may be killed by falling human made space junk, but the odds remain small(ish) that will occur. The (almost inevitable) may also prevent future flights if all those in Low Earth Orbit start colliding, creating countless debris.

However, we *ALL* have to worry about the โ€˜chemical problemโ€™ being created by SpaceX et al in the upper atmosphere. I have been banging on about this for a while and the attached article summarises the science in an easy to understand way - I have pasted the bit about the โ€˜chemical problemโ€™ below because we *ALL* need to understand what the billionaires are doing to the planet while we are watching.

โ€”โ€”โ€”โ€”โ€”
Quote:

Debris on the ground attracts immediate attention, but atmospheric scientists are tracking a slower process with potentially larger consequences. When satellites vaporize in the mesosphere, 50 to 80 kilometers above Earth, they release clouds of vaporized metals that condense into aerosol particles. Those particles descend into the stratosphere, where Earthโ€™s protective ozone layer resides.

Aluminum is the element of greatest concern. Upon reentry, aluminum oxidizes into aluminum oxide nanoparticles. A single 250 kilogram satellite generates roughly 30 kilograms of these particles. Unlike chlorofluorocarbons, which directly destroy ozone, aluminum oxide acts as a catalyst. One particle can facilitate chemical reactions that destroy thousands of ozone molecules over decades without being consumed.

Researchers from the University of Southern Californiaโ€™s Department of Astronautical Engineering documented an eightfold increase in atmospheric aluminum oxides between 2016 and 2022, directly correlating with the proliferation of satellite constellations, a finding reported in detail by CNET. In 2022 alone, reentering satellites released an estimated 41.7 metric tons of aluminum, approximately 30 percent more than the natural input from micrometeoroids.

Projections based on current deployment schedules suggest annual aluminum oxide emissions could reach 360 metric tons, a 646 percent increase over natural background levels, according to research highlighted by Popular Mechanics. Because these particles take 20 to 30 years to descend into the ozone layer, the atmospheric chemistry of todayโ€™s satellite fleet will not manifest as measurable ozone loss until the 2040s. By then, the upper atmosphere could already be saturated with catalysts.

NASA high altitude sampling flights over Alaska in 2023 detected the signature of this process. At approximately 60,000 feet, instruments found that 10 percent of stratospheric sulfuric acid particles larger than 120 nanometers contained aluminum and other metals traceable to spacecraft reentries, according to data presented at the American Astronomical Society meeting that year. The atmosphere now bears a permanent chemical marker of human activity in space.
โ€”โ€”โ€”โ€”โ€”

indiandefencereview.com/starli

0
0
0
0

- Users not being able to control who can reply to their posts

The Fediverse having thousands of independent servers is one of its greatest strengths (fedi.tips/why-is-the-fediverse) but also causes whack-a-mole problems when trying to block hate.

If users could pre-emptively restrict who can reply to their post, e.g. followers-only, this would prevent hatemongers from random unblocked servers posting nasty replies.

Github users can vote for this at github.com/mastodon/mastodon/i

๐Ÿงต Thread - Part 3 of 7

@FediTips Re: reply controls.

GoToSocial came up with a way (docs.gotosocial.org/en/latest/) to do this. It doesn't โ€œsolveโ€ malicious servers, but it lets benevolent servers honor each other's inhabitants' wishes.

I'm drafting a โ€œFediverse Enhancement Proposalโ€ document to make it easier for other projects to join GTS. It's progressing, but I have day job stuff etc. It might help to add a few collaborators.

Anyone comfortable w/ technical specs similar to this fediverse.codeberg.page/fep/fe & want to help?

0
0
2
0

RP ์ค‘๊ตญ๋ถ„๋“คํ•˜๊ณ  ์˜ค๋ž˜ ์ง€๋‚ด๋ณด๋ฉด ๊ทธ ๋ญ๋ž„๊นŒ ์ค‘๊ตญ๋ถ„๋“ค๋งŒ์˜ ํ—ˆ์„ธ๋‚˜ ์ด์ƒํ•œ ๋…ผ๋ฆฌ๊ฐ€ ์žˆ๋‹ค๋Š”๊ฑธ ์•Œ๊ฒŒ๋จ๋‹ค ใ…‹ใ…‹ใ…‹;; ์šฉ์–ด๊ฐ€ ์žˆ์„๋ฒ•ํ•˜๊ธฐ๋„ํ•œ๋ฐ... ํ•˜์—ฌ๊ฐ„ ์„ค๋ช…ํ•˜๊ธฐ ์–ด๋ ค์šด๋ฐ ๊ทธ๋ถ„๋“ค์ด ๋งํ•˜๋Š”๊ฒƒ์„ ๊ทธ๋Œ€๋กœ ๋ฐ›์•„๋“ค์ด๋ฉด ์•ˆ๋ฉ๋‹ˆ๋‹ค -_-;

0

It is depressing if someone experiences hate on here, especially if it puts them off using this place.

I follow people that regularly raise these issues, to hear how bad it is and what the causes are.

Five things seem to come up most often:

- Lack of representation in software design
- Users not being able to control who can reply to their posts
- Moderation being reactive rather than proactive
- Allowlists vs blocklists
- Cultural problems

Let's look closer...

๐Ÿงต Thread - Part 1 of 7

0
0
0
0

ๅคงๅญฆ่ชฌๆ˜Žไผšไน—ใ‚Šๅˆ‡ใฃใŸโ€ฆโ€ฆ็พŽๅ‘ณใ—ใ„ใƒใƒณใƒใƒผใ‚ฌใƒผ้ฃŸในใฆๆœฌ่ฒทใฃใฆใƒ—ใƒฉใƒžใ‚ค0ใ€ใƒ—ใƒฉใ‚น1ใใ‚‰ใ„ใซใฏใชใฃใŸโ€ฆโ€ฆโ€‹:blob_mu:โ€‹

1
0

Is End-to-End Encryption Optional For Large Groups?

One of the recent topics in Messaging App Discourse is whether it makes sense to prioritize End-to-End Encryption when searching for an alternative to Discord. Who's Saying "No"? I'm going to quote 0xabad1dea here, because she is awesome and explains my "opposition" position better than anyone else: So You Want To Write An Open Source Discord Replacement Things you donโ€™t need:

soatok.blog/2026/02/14/is-end-

0
0
0
0
1
0
0
0
0
0

์ง์žฅ์—์„œ ์„ฑ์žฅํ•˜๋Š” 6๊ฐ€์ง€ ์ง€ํ˜œ

1. ์‹ค์ˆ˜๋ฅผ ๋‘๋ ค์›Œํ•˜์ง€ ์•Š๋Š”๋‹ค
2. ๊ธ์ •์ ์ธ ๋งˆ์ธ๋“œ๋ฅผ ์œ ์ง€ํ•œ๋‹ค
3. ๊พธ์ค€ํžˆ ๋ฐฐ์šฐ๊ณ  ๋„์ „ํ•œ๋‹ค
4. ์กด์ค‘๊ณผ ํ˜‘๋ ฅ์„ ์‹ค์ฒœํ•œ๋‹ค
5. ๊ฐ์ •์„ ์ „๋ฌธ์„ฑ์œผ๋กœ ๋‹ค์Šค๋ฆฐ๋‹ค
6. ์‹คํŒจ๋ฅผ ์„ฑ์žฅ์˜ ๊ธฐํšŒ๋กœ ์—ฌ๊ธด๋‹ค

0
1

Am I crazy, or is `pwait` totally broken on FreeBSD 15?

I started noticing various daemons not restarting properly. rc.subr calls wait_for_pids, which calls pwait(1) on the daemon's PID. Occasionally, when running `service foo restart`, I'll get an error saying "foo already running!"

After some investigation, it looks like pwait returns a few milliseconds before the process actually terminates.

Caught in the act...this should NOT be possible:

$ kill 97891; pwait 97891; ps -p 97891
PID TT STAT TIME COMMAND
97891 - REJ 0:01.20 invidious

$ kill -0 97891
kill: 97891: No such process

Must be a race condition somewhere?

0
0
0
0
0
1
0

์Šˆํผ๋งˆ๋ฆฌ์˜ค๋ฅผ ์•…์˜์ ์œผ๋กœ ํ•ด์„ํ•œ ๊ฒŒ ๊ต‰์žฅํ•ด์„œ ๊ธฐ์–ต์ค‘์ด๋‹ค. ์•„๋ฌดํŠผ ์ตœ๋Œ€ํ•œ ๋น ๋ฅด๊ฒŒ ๋ˆ์„ ๋ชจ์œผ๊ณ  ๋‚จ์„ ๋ฐŸ๊ณ ์„œ๋ผ๋„ ์˜ฌ๋ผ๊ฐ€๋ผ

0

์ผ์ „์— ํ•œ ๊ฒŒ์ž„ ์ œ์ž‘์ž๊ฐ€ ๊ฒŒ์ž„ ํ•ด๋ณธ ์  ์—†๋Š” ์ž๊ธฐ ์•„๋‚ด์—๊ฒŒ ๊ฒŒ์ž„์„ ์‹œ์ผœ๋ณด๊ณ  ์˜†์—์„œ ์ง€์ผœ๋ดค์„ ๋•Œ. 'ํ‰์ƒ ๊ฒŒ์ด๋จธ๊ฐ€ ์•„๋‹ˆ์—ˆ๋˜ ์‚ฌ๋žŒ๋“ค์€ ๊ฒŒ์ž„์„ ๋ณด๊ณ  ์–ด๋–ค ์‹์œผ๋กœ ์œ ์ถ”ํ•˜๊ณ  ํŒ๋‹จํ•˜๋Š”์ง€' ๊ด€์ฐฐํ•œ ์ ์ด ์žˆ์—ˆ๋Š”๋ฐ. ์ƒ๊ฐ๋ณด๋‹ค '๊ฒŒ์ด๋จธ'๋“ค์ด ์˜ค๋žœ ์‹œ๊ฐ„๋™์•ˆ ์ถ•์ ํ•ด์˜จ ๊ด€์Šต์  ๋™์ž‘๊ณผ ์ƒ์ง•๋“ค์ด ๋งŽ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ์•˜๊ณ . ๋‚˜๋Š” ๊ทธ ์ค‘ ํƒœ๋ฐ˜์„ ๋ชจ๋ฅธ๋‹ค๋Š” ๊ฒƒ๊นŒ์ง€ ์•Œ๊ฒŒ ๋˜์—ˆ์Œ.

RE: https://bsky.app/profile/did:plc:pruiueewvzesklle63peqvtl/post/3meufhzrbq422

1
0

์ผ์ „์— ํ•œ ๊ฒŒ์ž„ ์ œ์ž‘์ž๊ฐ€ ๊ฒŒ์ž„ ํ•ด๋ณธ ์  ์—†๋Š” ์ž๊ธฐ ์•„๋‚ด์—๊ฒŒ ๊ฒŒ์ž„์„ ์‹œ์ผœ๋ณด๊ณ  ์˜†์—์„œ ์ง€์ผœ๋ดค์„ ๋•Œ. 'ํ‰์ƒ ๊ฒŒ์ด๋จธ๊ฐ€ ์•„๋‹ˆ์—ˆ๋˜ ์‚ฌ๋žŒ๋“ค์€ ๊ฒŒ์ž„์„ ๋ณด๊ณ  ์–ด๋–ค ์‹์œผ๋กœ ์œ ์ถ”ํ•˜๊ณ  ํŒ๋‹จํ•˜๋Š”์ง€' ๊ด€์ฐฐํ•œ ์ ์ด ์žˆ์—ˆ๋Š”๋ฐ. ์ƒ๊ฐ๋ณด๋‹ค '๊ฒŒ์ด๋จธ'๋“ค์ด ์˜ค๋žœ ์‹œ๊ฐ„๋™์•ˆ ์ถ•์ ํ•ด์˜จ ๊ด€์Šต์  ๋™์ž‘๊ณผ ์ƒ์ง•๋“ค์ด ๋งŽ๋‹ค๋Š” ๊ฒƒ์„ ์•Œ์•˜๊ณ . ๋‚˜๋Š” ๊ทธ ์ค‘ ํƒœ๋ฐ˜์„ ๋ชจ๋ฅธ๋‹ค๋Š” ๊ฒƒ๊นŒ์ง€ ์•Œ๊ฒŒ ๋˜์—ˆ์Œ.

RE: https://bsky.app/profile/did:plc:pruiueewvzesklle63peqvtl/post/3meufhzrbq422

1

๊ทธ๋Ÿฌ๋‹ˆ๊นŒ ํ™•์‹คํžˆ ๊ทธ๋Ÿฐ๊ฒŒ ์žˆ์Œ. ๊ฒŒ์ž„ ํšŒ์‚ฌ๋„ ํƒ€๊ฒŸ ๊ณ ๊ฐ์ธต์ด ์žˆ๋Š”๋ฐ. ๋‚˜๋Š” ์ด์ƒํ•˜๊ฒŒ ์–ด๋А ๊ฒŒ์ž„์—์„œ๋„ ๊ทธ ํƒ€๊ฒŸ์ด ์•ˆ ๋จ. ๊ทธ๋‚˜๋งˆ ๋˜๋Š”๊ฑด ์ง„์งœ ์•„๋ฌด๋‚˜ ์™€์„œ ํ•˜์„ธ์š” ํ•˜๋Š” ํผ์ฆ ๊ฒŒ์ž„ ๊ฐ™์€๊ฑฐ. ํ”„๋กฌ ๊ฒŒ์ž„์€ ๋งจ๋‚  ์•ˆ ์–ด๋ ต๋‹ค ์•ˆ ์–ด๋ ต๋‹ค ํ•˜๋ฉด์„œ ๋“ค์–ด๊ฐ€๋ฉด ๋ชปํ•˜๋ฉด ๋„ˆ๋Š” ํƒ€๊ฒŸ ์•„๋‹˜ ํ•˜๋ฉด์„œ ์ซ’์•„๋‚ด๊ณ . (์š”์ฆ˜ ์ด๋Ÿฐ ๊ฒŒ์ž„ ์—„์ฒญ ๋Š˜์—ˆ์Œ) ๊ฐ€์ฑ ๊ฒŒ์ž„์€ ๋‹˜์€ ๋ˆ๋„ ์—†๊ณ  ์‹œ๊ฐ„๋„ ์—†๊ณ  ๊ฐ€์ง„๊ฒŒ ๋ญ์—์š”? ํ•˜๊ณ  ์ซ’์•„๋‚ด๊ณ . RPG๋Š” ์ข€ ๊ณต๋ถ€๋ฅผ ํ•˜๊ณ  ์˜ค์„ธ์š” ์ด๋Ÿฌ๊ณ . ์ธ๋””๊ฒŒ์ž„๋“ค์€ ํ•˜๋“ ๊ฐ€ ๋ง๋“ ๊ฐ€ ๋ชจ๋“œ๊ธด ํ•˜๋„ค.

0

๊ทธ๋Ÿฌ๋‹ˆ๊นŒ ํ™•์‹คํžˆ ๊ทธ๋Ÿฐ๊ฒŒ ์žˆ์Œ. ๊ฒŒ์ž„ ํšŒ์‚ฌ๋„ ํƒ€๊ฒŸ ๊ณ ๊ฐ์ธต์ด ์žˆ๋Š”๋ฐ. ๋‚˜๋Š” ์ด์ƒํ•˜๊ฒŒ ์–ด๋А ๊ฒŒ์ž„์—์„œ๋„ ๊ทธ ํƒ€๊ฒŸ์ด ์•ˆ ๋จ. ๊ทธ๋‚˜๋งˆ ๋˜๋Š”๊ฑด ์ง„์งœ ์•„๋ฌด๋‚˜ ์™€์„œ ํ•˜์„ธ์š” ํ•˜๋Š” ํผ์ฆ ๊ฒŒ์ž„ ๊ฐ™์€๊ฑฐ. ํ”„๋กฌ ๊ฒŒ์ž„์€ ๋งจ๋‚  ์•ˆ ์–ด๋ ต๋‹ค ์•ˆ ์–ด๋ ต๋‹ค ํ•˜๋ฉด์„œ ๋“ค์–ด๊ฐ€๋ฉด ๋ชปํ•˜๋ฉด ๋„ˆ๋Š” ํƒ€๊ฒŸ ์•„๋‹˜ ํ•˜๋ฉด์„œ ์ซ’์•„๋‚ด๊ณ . (์š”์ฆ˜ ์ด๋Ÿฐ ๊ฒŒ์ž„ ์—„์ฒญ ๋Š˜์—ˆ์Œ) ๊ฐ€์ฑ ๊ฒŒ์ž„์€ ๋‹˜์€ ๋ˆ๋„ ์—†๊ณ  ์‹œ๊ฐ„๋„ ์—†๊ณ  ๊ฐ€์ง„๊ฒŒ ๋ญ์—์š”? ํ•˜๊ณ  ์ซ’์•„๋‚ด๊ณ . RPG๋Š” ์ข€ ๊ณต๋ถ€๋ฅผ ํ•˜๊ณ  ์˜ค์„ธ์š” ์ด๋Ÿฌ๊ณ . ์ธ๋””๊ฒŒ์ž„๋“ค์€ ํ•˜๋“ ๊ฐ€ ๋ง๋“ ๊ฐ€ ๋ชจ๋“œ๊ธด ํ•˜๋„ค.

0
0
0
1
0
0
๊ตฌ์ • ๋ฌธํ™”๊ฐ€ ์žˆ๋Š” ๊ฑด ์ค‘๊ตญ๋ฟ์ด๋ผ๊ณ  ์ƒ๊ฐํ–ˆ์–ด.
ํ•œ๊ตญ์—๋„ ์žˆ๊ตฐ์š”.
1
0
0
1
0

Misskeyใฎๆคœ็ดขใ€ใตใคใ†ใซๆคœ็ดขใ™ใ‚‹ใจๆŠ•็จฟๆ–‡ใฎๆœ€ๅˆใซใ‚ญใƒผใƒฏใƒผใƒ‰ใŒๆฅใ‚‹ใƒŽใƒผใƒˆใ—ใ‹ๆ‹พใˆใชใ„ใ‚“ใ ใ‘ใฉ๏ผˆ1ๆžš็›ฎ๏ผ‰ใ€ใ‚ญใƒผใƒฏใƒผใƒ‰ใฎๆœ€ๅˆใซใ€Œ!ใ€ใ‚’ๅŠ ใˆใ‚‹ใจๆŠ•็จฟๆ–‡ใฎๆœ€ๅˆ"ไปฅๅค–"ใซใ‚ญใƒผใƒฏใƒผใƒ‰ใŒๆฅใ‚‹ใƒŽใƒผใƒˆใ‚’ๆ‹พใˆใ‚‹๏ผˆ2ๆžš็›ฎ๏ผ‰ใจใ„ใ†่ฃๆŠ€ใ‚’็™บ่ฆ‹ใ—ใŸ

1
1

์ˆ ์€ ์ข‹์€ ์ทจ๋ฏธ๋ผ๊ณ  ํ•˜๊ธฐ ์–ด๋ ต์Šต๋‹ˆ๋‹ค. ์ˆ ์„ ๋งˆ์…”์•ผ ์ •์ƒ์— ๊ฐ€๊นŒ์›Œ์ง€๋Š” ์‚ฌ๋žŒ์ด ์•„๋‹ˆ๋ผ๋ฉด ์ˆ  ์—†์ด ์ฆ๊ฒ๊ฒŒ ์ง€๋‚ด๋Š” ๊ฒŒ ์ตœ๊ณ ์ž…๋‹ˆ๋‹ค...

0