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

North County NUG #2
🗓 April 20, 2025 | ⏰ 18:00–20:00
📍 Windmill Food Hall, Carlsbad, CA
The North County Nix User Group is back! hether you're deep into NixOS or just curious about declarative development, you're warmly invited.

This is an open space for learning, tinkering, and sharing. Come as you are—curious, seasoned, or somewhere in between. Let’s build, break, and rebuild together.
northcounty.socal-nug.com/even

North Coubty NUG - April 20
0
0
0
0

보통 틱톡, 디시인사이드, X 등지에서 시작되거나 수입된 밈이 인스타그램 릴스로 넘어와서 전성기를 누리다가 인스타그램 일반 게시물, 유튜브로 넘어와서 노년기에 들어서고 방송에서 쓰이면서 죽임을 당한 다음에 정치인들이 장례를 치뤄주는 것 같음

0

As a first post on this account, I've decided to make an explanation on a compiler I'm writing. Please refer to my main account, @Giona_2, if you would like more information on it.

This post is meant to explain each module of my compiler (Optimizer, Tokenizer, Assembler). Each module will have a dedicated paragraph who were their originally their own posts, but I think it's a great way to kick off this first post

# Optimizer
The Optimizer is the most simplistic part of my compiler. It's job is to arrange the raw text file into a more readable format for the Tokenizer.

Essentially, it arranges the source code you wrote into an array where each word (keyword, number, symbol, etc) is it's own element. This allows the Tokenizer to iterate through each word more reliably than if it just read the raw text file verbatim.

# Tokenizer
The Tokenizer is arguably the most important module.

The Tokenizer takes the list generated from the Optimizer and iterates through each word. When it finds a keyword in the list, it goes through the following steps:
1. Finds the end of the declaration the keyword is indicating
2. Sends this full declaration to a function that'll parse it into a token

The final result is arranged as an array of tokens that emulates the steps the final executable must go through.

# Assembler
Finally, the Assembler is what's responsible for turning the token array generated by the Tokenizer and turning it into the final program.

All this does is iterate over each token in the array and translate it into its assembly-instruction equivalent.

This module, by far, is my favorite for one reason and one reason only: It's extremely volatile in the sense that it can turn the token array into pretty much anything you want Unimal to compile to.

0
0
0
0
0
0
0
2
1
1
0
0
0
0
0

There's been a lot of fretting recently—some of it from me—about there being Too Much Politics On Here, encouraging people to (A) stop posting so much about it and (B) post about other things. This is a valid concern but I want to take a moment to put a structural lens on this problem.

0
0

Nixers Newsletter is out!

Dive into topics like PulseAudioDB, OpenBSD routers, shell history improvements, and more.
It's a solid edition with a gem: “Get your own home bin”, something we probably all do already in our own special ways.

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/MyPersonalProgramsSetup

→ Full issue: https://newsletter.nixers.net/entries.php#286

0
0
0
0
0
0

Reading with my kids in two languages gives me a new appreciation for words and their origins.

We looked at the names of the planets in Chinese. Mercury through Saturn has carries the names of the 5 elements. "Water star" = Mercury etc.

Then Uranus and Neptune are Sky Lord Star, and Ocean Lord Star respectively. Which matches with the Greek god theme.

So I suspected that the first 5 were named independently pre lots of interaction between East and West and the last two, logically, were discovered much later and named in after some level of discourse with each other.

I shared this observation with family at breakfast and that led into discussion about how they justified heliocentricity with epicycles.

I really hope these random conversations gets them interested into the historical aspect of things. I find it so interesting. We looked up discovery dates of the planets even.

May your long weekend be filled with random!

0
0
0

This is one of my favorite things (well... two if you count the quilt...)
A friend of mine gifted this to me when I moved back to Oregon during the pandemic. I consider it my journaling or writing keyboard. I like a fuller keyboard for work, but this one really speaks to my soul. I love the personality and quirkiness.

A picture of a mechanical keyboard with a wooden base and the keys are mismatched and different colors.
0

放假第一天:

- 看完電影
- 拿了送修的電腦
- 晚餐自己煮
- 吸塵拖地
- 開機洗衣服 < 現在到這邊

準備看個一兩小時書去睡

進度算不錯吧

0

4월 19일은 자전거의 날! ​:ablobcatpnd_running:
자전거 이용 문화에 대해 알리고 기념하는 날
...이 아니고!

쫌 거시기한 이유로 자전거의 날으로 여겨진다고 하는디

0
0
0
0

平常再忙也會塗鴉,但自從二月中家裡發生變故後,動筆的勇氣彷彿也一起被火化了。

為了讓自己好過一點,強迫自己運動了一陣子,慢慢拉回正常的步調。

小站的氣氛很舒服自在,讓我重新思考自己與社群的關係。

終於在兩個月後,乳齒象像是暗示般,給了我一個溫暖的夢。

汪背漫畫
0
0

federation challenge: how does this work?

i made a post (note) on my wordpress account. its enabled with activitypub, and thus gets send out to the fediverse. My wordpress account gets followed by a Discourse forum. Someone on the Discourse forum replies with a note. I open the wordpress article with my main mastodon account. I see the discourse reply. I want to react, but with my personal mastodon account.

(cont)

0
1
0
0

之前有說過,我發公開嘟的原因就是想要建立自己的信仰跟價值體系,所以我認為我應該要先從勇敢發聲開始,在這個誰都不認識我的平台上,忠誠的把自己放上來,盡力擺脫他人的束縛。

但有時也總是會擔心,我的文章是否對大家來說過於沉重?會不會造成別人困擾?

雖然這些問題滿蠢的,自己也想得出一套可以說服自己的說詞,但總還是會過不去(努力克服中)

0
0
0
0

平常再忙也會塗鴉,但自從二月中家裡發生變故後,動筆的勇氣彷彿也一起被火化了。

為了讓自己好過一點,強迫自己運動了一陣子,慢慢拉回正常的步調。

小站的氣氛很舒服自在,讓我重新思考自己與社群的關係。

終於在兩個月後,乳齒象像是暗示般,給了我一個溫暖的夢。

汪背漫畫
0
0
0
0
0
0

I had a conversation today at work and someone said “No one under 35 knows what BSD is”.

Let see how that works in here:

(35th birthday + 1 second is over 35.)

0
0
0
0

Feelings about corporations, consumerism, and the higher ed industry aside, I love seeing headlines like these.

"In the 24 hours after Harvard President Alan M. Garber ’76 announced that he would not comply with the White House, the University received more than 3,800 online donations totaling more than $1 million"

thecrimson.com/article/2025/4/

"Making Waves: Costco Doubles Down on DEI, Reaps Rewards While Competitors Falter"

chainstoreguide.com/offthechai

0

One of our two senior developers has been forcibly detained and conscripted to participate in a war. When they first went missing, we revoked their repository access as a precaution. We soon learned their disappearance was completely unrelated to GrapheneOS. Our priority has been keeping them safe.

0
0
0
1
0