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

Climate Wars by Harald Welzer, 2024

What People Will Be Killed for in the 21st Century

Struggles over drinking water, new outbreaks of mass violence, ethnic cleansing, civil wars in the earth's poorest countries, endless flows of refugees: these are the new conflicts and forces shaping the world of the 21st century. They no longer hinge on ideological rivalries between great powers but rather on issues of class, religion and resources.




The genocides of the last century have taught us how quickly social problems can spill over into radical and deadly solutions. Rich countries are already developing strategies to garner resources and keep 'climate refugees' at bay. 
In this major book Harald Welzer shows how climate change and violence go hand in hand. Climate change has far-reaching consequences for the living conditions of peoples around the world: inhabitable spaces shrink, scarce resources become scarcer, injustices grow deeper, not only between North and South but also between generations, storing up material for new social tensions and giving rise to violent conflicts, civil wars and massive refugee flows. Climate change poses major new challenges in terms of security, responsibility and justice, but as Welzer makes disturbingly clear, very little is being done to confront them.
0

just did some searches on postgresql upsert to check on some details.

saw some tutorials talking about `MERGE` as an alternative to `ON CONFLICT DO`

thought "what is this? postgres doesn't have something called `MERGE`, great i must be reading LLM-hallucinated tutorials"

look around some more... huh... postgres added MERGE in version 15 🤯

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

On my way to . It's supposed to be -28C tonight and -35C with the wind chill where I am. Who knew that Brussels in January would be a tropical getaway?

I'll try to post more about the talks and share a bit of FOSDEM with those who can't make it. The Linux mobile devroom being one among many highlights.

If you're at FOSDEM and want to geek out Linux mobile.... Message me!

0
0
0

今天是弟妹產後D36,原訂在德國停留60天的我,今天應弟弟的請求,改成在德國停留86天,由弟弟付錢並改好機票了。這下子我要在德國待到春天了。

今天中午煮了香菇雞湯,我真想不到來德時買了4、5包乾香菇,到現在已經只剩下10朵不到。晚餐煎現成的漢堡排,這是我之前逛超市時好奇買的,弟弟他們從沒買過,結果它現在成為我的固定菜單之一。今天Gemini提供了一個適合我現有材料的食譜:

漢堡排煎完起鍋後,原鍋加入碎洋蔥和蘑菇切片,用漢堡排的肉汁把它們炒軟。之前因為怕弟妹還未出月子,我會把漢堡排煎到全熟,肉汁也收乾了;今天保留了中心的粉紅色,肉汁也很豐富,完全不必補油就可以炒軟洋蔥和蘑菇,接著加入一匙醬油、一匙巴薩米克醋,用一些水把湯匙上的醋沖進鍋裡,煮到收汁,熄火並在起鍋前放一大塊奶油。

結果這漢堡排和醬汁超好吃的!醋的酸味解除肉汁的油膩感,整體味道又還是濃郁的;肉心不再是全熟的乾柴口感,配上滿滿的碎洋蔥和蘑菇一起吃有豐富的層次。再加上我還花了一小時切奶油南瓜來烤,僅僅二菜一湯(對,中午沒喝完)吃完超滿足的……

0
0

Are there any e-ink readers with a physical keyboard and navigation buttons like a kindle 3 that aren’t amazon made? And ideally ones that are somewhat hackable and not centrally controlled by an evil megacorp?

And possibly newer than a kindle 3, but I’d take stuff from that time period too if needed. Just ugh, micro USB is way worse than C (though mini or full size B would be cooler)

I had a kindle 3 a long time ago and would like something that is similarly laid out but ideally not evil

Amazon kindle 3 with an orthogonal physical keyboard and arrow navigation buttons.
0
0

: A snapshot taken a second before a powerful M-class solar flare was unleashed from the Sun on 30 September 2024 – as seen in unprecedented detail by the ESA-led Solar Orbiter mission. The image is an excerpt from a video created from Extreme Ultraviolet Imager (EUI) images taken every two seconds, leading up to the solar flare. Credit: ESA & NASA/Solar Orbiter/EUI Team

Learn more: esa.int/Science_Exploration/Sp

A close-up image of the Sun's surface, with mottled dark black and bright yellow patches. Some yellow arches and streaks of light give an impression of the Sun being very active.
0
0
0
0
0
0
0
0
0

Can someone recommend a simple tool for Linux to arrange a couple of images on a single page and print them? With drag and drop, resize, arrange?

While every mediocre printer software suite for Windows has these simple photo album programs to print a couple of photos, Linux lacks in that regard.

Or am I just blind? If I look in a search engine, this usually boils down to "this is how to setup a raster in GIMP" or some console magic with imagemagick.

While digikam or XnView has this to some degree, it is still lacking, and not simple.

The closest I have found is photoprint (blackfiveimaging.co.uk/index.p), last updated in 2010, but thanks to some patches from Debian is still working.

But there a gazillion ways to view images, including in the terminal with sixel, and to upload them to some social media platform...

/rant

0

Can someone recommend a simple tool for Linux to arrange a couple of images on a single page and print them? With drag and drop, resize, arrange?

While every mediocre printer software suite for Windows has these simple photo album programs to print a couple of photos, Linux lacks in that regard.

Or am I just blind? If I look in a search engine, this usually boils down to "this is how to setup a raster in GIMP" or some console magic with imagemagick.

While digikam or XnView has this to some degree, it is still lacking, and not simple.

The closest I have found is photoprint (blackfiveimaging.co.uk/index.p), last updated in 2010, but thanks to some patches from Debian is still working.

But there a gazillion ways to view images, including in the terminal with sixel, and to upload them to some social media platform...

/rant

0
0
0
0
1
0
0
0

Experte fällt vernichtendes Urteil: Kritis-Gesetz: "Sechs Minus, das ist Arbeitsverweigerung"

"Für die Änderungen am Gesetz für den Schutz Kritischer Infrastruktur hat IT-Sicherheitsexperte und Sprecher der @AG_KRITIS , Manuel Atug, kein gutes Wort übrig. Die diesbezüglichen Äußerungen von Merz und Dobrindt straft er als "leere, populistische politische Versprechen" ab."
n-tv.de/mediathek/videos/polit

0
0
1
0