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

Genocide by Tathev Simonyan

Genocide

They killed a poem.

They killed a poem with tea-stained pages.
They killed a poem still bleeding when touched.
They killed a poem unfinished.

They killed one that’s yet to be thought.

They killed a poem inside of a poem.

A poem knee-deep in its mother soil.

A poem still learning to live.

A poem trembling at the edge of the mouth.
A poem asleep inside the ink.
1/



Genocide

They killed a poem.

They killed a poem with tea-stained pages.
They killed a poem still bleeding when touched.
They killed a poem unfinished.

They killed one that’s yet to be thought.

They killed a poem inside of a poem.

A poem knee-deep in its mother soil.

A poem still learning to live.

A poem trembling at the edge of the mouth.
A poem asleep inside the ink.

A poem silenced before its first breath.

They killed a poem inside of a poem.

And you, readers,

And you, self-proclaimed worshippers of words...
“Silence has a right to be,”

and so it does.

Until silence is all that is left,

with heaps of dead poems

and your living dead.
0
1

어른이 되면서 느끼는 삶의 통찰

1. 인간관계는 깊이가 아니라 진심의 문제다
2. 건강이 최고의 자산임을 깨닫는다
3. 돈보다 시간의 가치를 알게 된다
4. 모든 사람을 좋아할 필요는 없다
5. 완벽함을 추구하지 않아도 된다

0
0
1

my work sometimes feels like trying to very slowly and exhaustingly transition over like 10 years from brutalist radical DIY laptop kit for the post-apocalypse to a not-too-weird-looking, hardware and software bug-free, always reliable, well-supported, performant, silent, secure and still repairable and open source laptop that people with a shopping list of specific requirements would find acceptable enough, while not selling out and still surviving somehow

0
0
0
0
0
0
0
0
1
0
0
0

Autumn teaches us a valuable lesson. During summer, all the green trees are beautiful, but there is no time of the year when the trees are more beautiful than when they are different colors. Diversity adds beauty to our world.”

— Donald L. Hicks, Look Into the Stillness (via: gildedautumnvelvet)


0

Sitting in a coffee bar in Cambridge it seems like a good moment to push out a first rough version of my probabilistic DSL that's good enough to answer actual questions on the RPG stack exchange.

github.com/dpiponi/dice-nine

I know it can do this because I pulled down 50 examples from the stack exchange and used them as my tests - this being the version that finally runs all 50 successfully.

colab.research.google.com/driv

There's not a lot that's original about the code but it performs well compared to similar tools (eg. anydice) despite being 100% Python.

One thing that may be of interest - using Python generators allows you to support a degree of laziness which is really powerful. If you want exact computations for discrete distributions you need to be able to explore the entire probability space which means you want to "materialise" the smallest amount of state you can get away with. For example, `lazy_sum(1000 @ d(6))` sums the rolls of 1000 dice but `1000 @ d(6)` is a lazy sequence and so only ever materialises one die roll at a time and in the worst case it has thousands of states to manage rather than 6^1000.

Also fun was using Wang's rational reconstruction algorithm to implement fast parallel (in the sense of numpy) high precision rational arithmetic without having to leave Python. (Bit rough around the edges, currently the onus is on the user to detect overflows.)

en.wikipedia.org/wiki/Rational

0
0
0
0
0
0
0
0
0
1
1
0
0
0
1
0
0
0
1
0
0
0
1
1
0
0
0
1
1
0
0

Clear sign that you need coffee is when you troubleshoot why does

> battery0: battery initialization failed, giving up

keep popping-up in dmesg and then you realize that you removed the battery from that laptop months ago 😂

0
0