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

마음을 치유하는 자기긍정 습관들

1. 내면의 거울에 비친 나의 빛나는 면들을 바라보며 스스로를 격려한다
2. 실수는 배움의 단계일 뿐 영원한 죄가 아님을 깨닫는다
3. 가장 작은 승리조차 내 영혼을 성장시키는 소중한 순간임을 인정한다
4. 하루의 끝자락에 마음의 감사를 글로 새겨 내면의 평화를 일구어간다
5. 감정은 그 자체로 온전하고 소중한 존재임을 받아들인다

0

미국에 KFC가 있다면
사우디에는 알바이크(Al Baik)가 있다.

사우디에선 맥도날드급으로 유명한 체인으로
메카, 메디나로 순례를 갈 때
순례자들이 무조건 들르는 식당으로
사우디 뿐만 아니라 바레인, 두바이에도 진출했다.

이후 카타르 월드컵 때도
화물차 정도로 커다란 푸드트럭을 보내
세계인들의 눈도장을 찍기도 했다.

0
0
0
0
0
0
0
1

@appassionatoearthling @Devorppa Shame, that article is obviously AI generated and is using some kind of weird AI bird that doesn't even have claws, when pictures of real birds exist. There are great, reliable bird resources with pictures, videos, and sounds through sites like:

allaboutbirds.org/news/

birds.cornell.edu/home/

www.audubon.org

And others. It's getting harder to find things in search due to all the slop, but please share reliable resources so people can learn proper information about birds.

0

Drunk CSS

shkspr.mobi/blog/2025/09/drunk

A decade ago, I was writing about how you should test your user interface on drunk people. It was a semi-serious idea. Some of your users will be drunk when using your app or website. If it is easy for them to use, then it should be easy for sober people to use.

Of course, necking a few shots every time you update your website isn't great for your health - so is there another way?

Click the "🥴 Drunk" button at the top of the page and see what happens!

These are a relatively simple set of CSS rules which you can apply to any site in order to simulate inebriation.

(I may have changed these since writing the post. Check the source for the latest version.)

First, monkey around with the fonts. This sets all the lower-case vowels to be rendered in a different font - as discussed in "targetting specific characters with CSS rules":

 CSS/* Drunk */
@font-face {
    font-family: "Drunk";
    src: url("/blog/wp-content/themes/edent-wordpress-theme/assets/fonts/CommitMonoV143-Edent.woff2") format("woff2");
    /* Lower-Case Vowels */
    unicode-range: U+61, U+65, U+69, U+6F, U+75 ;
    size-adjust: 105%;
}

The rest of the characters will be rendered in the system's default Cursive font. Characters will also be slanted. The first character of every paragraph will be shrunk:

 CSS:root:has(input#drunk:checked) * {
    font-family: "Drunk", cursive;
    font-style: oblique -12deg;
    text-align: end;
}
:root:has(input#drunk:checked) p::first-letter {
    font-size: .5em;
}

Next, use the child selectors to rotate and skew various elements. While we wait for CSS randomness to come to all browsers this is a simple way to select various elements:

 CSS:root:has(input#drunk:checked) *:nth-child(3n) {
    transform: rotate(2deg);
}
:root:has(input#drunk:checked) *:nth-child(5n) {
    transform: skew(5deg, 5deg);
}
:root:has(input#drunk:checked) *:nth-child(7n) {
    transform: rotate(-3deg);
}

Make the entire page blurred and saturate the colours:

 CSS:root:has(input#drunk:checked) body {
    filter: blur(1px) saturate(2.5);
}

Make any hyperlink harder to click by having it gently bounce up and down:

 CSS:root:has(input#drunk:checked) a  {
    animation-name: bounce;
    animation-duration: 4s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes bounce {
    0%   { margin-top:  0px; }
    25%  { margin-top:-10px; }
    50%  { margin-top:  0px; }
    75%  { margin-top: 10px; }
    100% { margin-top:  0px; }
}

Does this really simulate drunkenness? No. It is a pale simulacrum. What it is, however, is deliberately inaccessible to the majority of people.

How does it make you feel using the site in Drunk-Mode? Does it frustrate you? Do your eyes hurt due to the garish colour scheme? Do you keep missing the thing that you try and click on? Are the words so hard to read that it takes you extra time to do anything useful? Will you recommend this experience to your friends and family?

I've written before about cosplaying as being disabled. Strapping on a pair of Glaucoma Goggles will give you an idea of what a visual impairment is like. But it won't give you the experience of living that way for months or years.

You should test your stuff with people who have cognitive impairments or physical disabilities. Find out how usable your site is for someone lacking fine motor control or for those with learning disabilities. Pay disable people to take part in usability studies. Integrate their feedback.

Faffing around with CSS will only get you so far.

0
0
1
1
1
0
0
1

Interesting to so easily see the quite aggressive radar/jamming near key Russian sites on European Space Agency's Synthetic-Aperture Radar images

(See for yourself over here)

I suppose there is a trade off on "jam/radar on 1-3Ghz and reveal exactly where the radar is" and being blind on those bands, I assume if this is what the boring open access stuff can see, whatever the intel agencies have is a lot more interesting

But interesting regardless!

5kQ2yq43ws74Z6Z7Zz.pngQRkZmB477cYTPNlRS2.jpg3Lb7MN1m944k7tqd14.jpgmFt26pyw1f4TbVf4xk.jpg
0
0
1
0
1
1
2

All about Swift Package Manager Traits 📦

Discover how traits act as feature flags, enabling conditional compilation, optional dependencies, and advanced package configurations. ⤵️

theswiftdev.com/2025/all-about

0
0

絶望的な英語力を晒しますが、表の列を示すカラム(column)と、読み物のコラム(column)の語源が同じ事をたった今知りました。
そしてその語源はどうやらギリシャ建築で見られるあの特徴的な円柱だそうで。これを覚えておけばどちらが row でどちらが col か迷うことはなさそう! (たぶん常識)

0
0
1
0
0
0
0
1
0
3

목 스트레칭 하다가 PT 처음 받은 날 PT 쌤이 마사지 해주는데 목 관절에서 갑좍 우드득 소리 나서 아프지도 않은데 그냥 소리만으로 깜짝 놀라서 비명 질렀던 거 생각난다 아니 근데 진짜 소리가 목 부러지는 소리가 났다니까요

0
0

말레이시아의 어느 커플이
도시락을 만들어서
자판기에다 넣어두고 팔아서
대략 월 300만원 수익을 올린다고 함 :blobcatthink:

식당을 오픈하기엔 너무
자본도 많이 들어가고 하니까
하루 팔고 바로 채워넣고
안 팔린 거 버리는 방식으로
돈을 벌기로 하셨나봄

자판기의 음식이
썩기 전에 바로바로 판다면
꽤 괜찮은 전략 같음.

youtu.be/1Jtxxzt5vL4

0
0
0
0
1

:blobcatlaugh: 說起來真的超喜歡冷凍蔬菜的,雖然很多人覺得不新鮮,但我個人來說覺得買一次就能用很久這點就超級爽的,又能久放
新鮮食材當然很好,不過保存性和對錢包友好性來說我還是堅決的冷凍蔬菜派嘿嘿嘿

0
0
1
10
1
0