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.
I've streamlined theme development in Ktistec. The theming system uses a hierarchy of CSS custom properties and fallbacks. Theme authors can customize a theme at multiple levels:
Base Colors Only
Define only base colors like --text-primary, --bg-primary, --bg-input, --semantic-primary, etc. Derived colors will auto-generate using color-mix formulas. For example:
:root { --semantic-primary: #ffa500; }
From this one line, theme-appropriate colors like --bg-accent-code, --anchor-color, etc. auto-generate.
Base Colors Plus Derived Colors
Define base colors and derived colors. Derived colors use custom values when defined. Undefined derived colors auto-generate. For example:
:root {
--text-primary: #333;
--text-primary-2: #ff0000; /* red for this specific shade */
}
Given this theme, derived shades like --text-primary-1, --text-primary-3, and --text-primary-4 auto-generate. --text-primary-2 is red.
The simplest possible interesting theme redefines the primary semantic color. The single line above (in Base Colors Only) would result in the following, with button color, link color, disabled, selected, and hover states all derived automatically:
screenshot of the setting page with the primary semantic color defined
These changes will be in the upcoming release. Existing themes will continue to work, as is.
My husband and I were reminiscing about music we listened to as teens. We each had a similar experience with a kind older relative (his grandpa, my aunt), who took us to a record store and said, "Why don't you pick out five albums? We'll listen together, so I can know what young people are listening to these days." Like a kid in a candy shop: a teen in a record shop.
Between diffusion models and LLMs, tech has inflated a trillion dollar bubble around automating activities that have immense social and cultural capital—writing, art, photography—but little actual capital. It’s harmful to education, culture, and society with minimal overall benefit
More and more, generative models are looking like productivity tobacco. Promoted by biased research, it’s addictive, harmful, and the little benefit it has (nicotine is a somewhat effective ADHD drug, for example) cannot outweigh the fact that it’s hurting us all, directly and indirectly.
This shit is already turning out to be one of the most harmful tech innovations of the 21st century. It needs to be regulated at least as much as tobacco, if not banned outright from most economic spheres
Oliver Burkeman on the value of pursuing what interests you, cultivating a sensitivity to your own personal response to topics, and using it as a filter on what to attend to
"to follow the lead of interestingness is to accept that life isn’t a problem to be solved, but an experience to be had. And that engaging with it as fully as possible, connecting to the aliveness, is its ultimate point. "
➡️ @obsidianurbex - Urban explorer & photographer, short videos of abandoned buildings & structures in different countries ➡️ @ewenbellEwen Bell on PeerTube - Professional travel photographer, photos & videos from various countries ➡️ @martijnk - Traveller & beer lover, videos combining both interests ➡️ @spanish_highsEl Perro Negro - Hiking and climbing videos, mainly in Spain ➡️ @adam_steer - Former polar researcher, videos of polar exploration
Chernobyl Fungus Appears to Have Evolved an Incredible Ability https://www.sciencealert.com/chernobyl-fungus-appears-to-have-evolved-an-incredible-ability That fungus is called Cladosporium sphaerospermum, and some scientists think its dark pigment – melanin – may allow it to harness ionizing radiation through a process similar to the way plants harness light for photosynthesis. This proposed mechanism is even referred to as radiosynthesis.
My latest cyber newsletter features all the big security stories from the week, including:
A prolific hacker was outed as a Jordanian teen; Gainsight downplays its data breach; Shai-Halud worm hacks thousands of devs; FCC warns hackers are hijacking emergency alert systems; a Mixpanel breach hits OpenAI, and more.
Plus: the happy corner of good news, and a brand new reader-submitted (and very cute!) cybercat.
Remember that genocide we were all protesting and acting on? It’s still ongoing. There’s still barely any aid entering Gaza. There is still bombing and killing with entire families being wiped out. There are still no medical supplies. People are living in freezing cold tents.
Your $10 or more helps provide food and pay for housing, including for a new mom and her baby.
Saw two of these wee guys on the pavement. The one that was not knocked over said something like "you have been detected and are being observed on cctv, please leave the area".
Seems quite strange to ask folk to leave a public pavement? Maybe I should have tried talking to it?
Na Floridě začala jednání mezi ukrajinskou a americkou delegací o plánu Washingtonu na ukončení války Ruska proti Ukrajině. ℹ️ Šéf americké diplomacie Marco Rubio očekává, že rozhovory s ukrajinskými představiteli, které vede tajemník Rady národní bezpečnosti a obrany Rustem Umerov, umožní pokročit na cestě k ukončení války. 🔗 Více v článku: https://czch.tv/SuLl1C