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

Today is the official yearly celebration for
John Mastodon :awesome: :rainbowdance:

The famous John Mastodon who did so much for us on December 16th/17th, 2022 :blobsalute:

For those who were here 👀

What is your favorite "fact" about John Mastodon? (no fact-checking allowed)

For those who weren't here ❓👇

Take the time to educate yourself about this important part of our history, you will not regret it :blobcatwink: johnmastodon.me/#education

0
0
0
0
0
0
3
1
0
0
0
0
0
1
1
1
0
0
1
0
0
1
1
0
1
1

위안이 됨
이런 주니어들 교육하는 일도 맡아서 하고 싶다

0
0
0
0
0
1
0
1

可以把「工作收入」和「投資收入」想像成一個翹翹板,一開始工作收入 100%,投資收入 0%,目標是在年老前 (越早達成越好) 把翹翹板翹到另一邊,也就是工作收入 0%,投資收入 100%,差不多在各 50% 的時候生活就會輕鬆許多。

我是不太信任退休金這種制度,也不要只依賴勞務換取收入,永遠盡可能地保持自己可控制經濟的能力。

0
0
1

알고리즘 재활 같은 느낌으로 leetcode easy부터 푸는 중
쉬운 문제여도 영어로 읽어야 하니 좀 시간 걸리는 것 같고, 시간복잡도 줄이는 방향으로 구현하고 싶은데 파이썬 문법 다 까먹어서 좀 비상이에요
1월에 premium 결제할까 고민 중입니다...🤔
https://leetcode.com/u/starcat37/

0
0
0
1

dc is a semi-standard linux/unix RPN calculator. Many years ago, inspired by a code golf challenge, I performed an exhaustive search of digitless dc programs using the character set ~^-/*+|ABCDdEFIinOorvz to find all integers up to 1,000,000. emergent.unpythonic.net/015251

So as we roll towards 2026 I checked my list to find the shortest digitless dc program that produces the output 2026: CiDCAn

This program sets the input radix to "C" (12) then inputs the non-canonical base-13 number DCA (= 13 * 12**2 + 12 * 12 + 10), and finally prints it.

Non-canonical base 12 numbers are used in several upcoming years:

2026 CiDCAn
2027 CiDCBn
2028 CiDCCn
2029 CiDCDn
2030 CiDCEn
2031 CiDCFn
2038 CiDDAn

The current year (2025) can't be written in the same manner, because it would use the digit 9. It is still a 6-character program though: CF F*n. This multiplies the non-canonical base-10 number CF (135) by the non-canonica base10- number F (15).

0

可以把「工作收入」和「投資收入」想像成一個翹翹板,一開始工作收入 100%,投資收入 0%,目標是在年老前 (越早達成越好) 把翹翹板翹到另一邊,也就是工作收入 0%,投資收入 100%,差不多在各 50% 的時候生活就會輕鬆許多。

我是不太信任退休金這種制度,也不要只依賴勞務換取收入,永遠盡可能地保持自己可控制經濟的能力。

0
0
0
0