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

Despite reports of massive bombings of Gaza city with jets, drones, artillery and armored bomb carrying robots, we are not receiving any videos or images

Northern Gaza is completely blocked from the rest of the worthwhile Israel is slaughtering sick, elderly, weak and starving civilians stuck in there.

Almost half a million people are in the kill zone of Israel.



@palestine@fedibird.comPalestine_Group
@palestine@lemmy.ml

0
0
0

Even Obama is now pointing out the hate that Charlie Kirk put out into the world while he was alive. The reaction to Kirk's death has revealed that we are not the same country as we used to be, even for Obama. We recognize the stakes, and aren't willing to paper over them with platitudes.

RE: https://bsky.app/profile/did:plc:iu4j537hox5huj4bwnwgub4z/post/3lz2mtdas3o24

1
0
0
0

Česká televize před volbami nabízí tematické debaty zástupců osmi uskupení s největším volebním potenciálem. Ve středu 17. září přijali pozvání k debatě moderované Danielem Takáčem na téma justice Eva Decroix (SPOLU), Karel Dvořák (STAN), Martin Husa (Přísaha), Zdeněk Koudelka (SPD), Taťána Malá (ANO), Jakub Michálek (Piráti), Jana Turoňová (Stačilo!) a Renata Vesecká (Motoristé).

0

A Visual Survey of Craft History: Global Traditions and Technological Innovations in Clay, Fiber, Glass, Metal, and Wood
This free eBook begins with the Paleolithic Period and continues through the present in the Americas, Europe, Asia, Africa, and Oceania.
crafthistory.com/

0

I think the most baffling thing about The Fall Of a Masking post-people-caring-about-covid is that no one wears them in doctor's office or lab waiting rooms.

Like do you *want* to catch that guy's cold or something??

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

Over the last week I’ve become aware that lots of infrastructure depends on local government, school board, etc, meetings being posted on YouTube. That’s quite a scary dependency & a potential vector for harm. We need to get to a world where these meetings are stored & shared in a more aligned way.

0
0
0

Mesa is working to update our contributor guide. Can you guess why?

Did you guess AI?

Because if you did, you'd be right. I don't want to put anyone on blast here so please don't go digging to find the motivating MR and harass the contributor or anything like that.

But the situation was exactly what you might think. Someone ran ChatGPT on the code and asked it for suggestions on making it more performant. They applied a bunch of the changes against their local branch, tested it, and found that it gave maybe a 0.5-1.0% perf boost in some titles.

That's totally fine. I don't care what tools you use to find a bottleneck. I'll happily take more FPS, no matter who found the issue or how. If some AI assistant helps you find things no one else has found and lets us make drivers faster, great!

But that's not what happened.

What happened next is that they then tried to make it the Mesa project maintainers' job to sort through the shit ChatGPT spit out and decide what's useful and what's not and why the changes helped and whether or not they were correct. The contributor had no no idea and, more importantly, they had no desire to actually learn about the Mesa code-base or the hardware in question. They just wanted to run ChatGPT and send its suggestions towards upstream.

This is not useful. This is not contributing. It's just burning maintainer time sorting through AI hallucinations. We have enough mediocre code to review that comes from actual humans who are actually trying to learn about Mesa and help out. We don't need to add AI shit to the merge request pile. If you don't understand the patch well enough to be able to describe what it does and why it makes things faster, don't submit it.

So now we're making it really clear: If you submit the merge request, you're responsible for the code change as if you typed it yourself. You don't get to claim ignorance and "because the AI said so". It's your responsibility to do due diligence to make sure it's correct and to accurately describe the change in the commit message.

Some things shouldn't have to be explicitly written down but here we are... 😩

1
0
0
1
0
0

Depression Reduces Capacity to Learn to Actively Avoid Aversive Events

Link: eneuro.org/content/12/9/ENEURO
Discussion: news.ycombinator.com/item?id=4

Depression Levels Are Associated with Reduced Capacity to Learn to Actively Avoid Aversive Events in Young Adults

Depression and anxiety are often characterized by altered reward-seeking and avoidance, respectively. Yet less is known about the relationship between depressive symptoms and specific avoidance behaviors. To address this gap, we conducted two studies. In Study 1, undergraduates and online workers completed an uninstructed go/no-go avoidance task ( N Total = 465) as a reverse translation of a rodent paradigm. Participants exhibited a wide range of symptom scores on the Beck Depression Inventory-II (BDI-II), ranging from low to severe. In Study 1, cues were used to signal the response type (go/active vs no-go/inhibitory) required to avoid an aversive sound. Higher depressive scores were associated with poorer acquisition of active avoidance in undergraduates. Overall participants showed lower accuracy for active than inhibitory avoidance. To examine whether the better no-go trial performance reflected a prepotent response to avoid aversive outcomes, in Study 2, undergraduates ( N Total = 330) completed a version of the task that included reward-seeking. Here all participants showed higher accuracy for active reward-seeking and inhibitory avoidance, consistent with a prepotent response to inhibit action to avoid aversive consequences. These findings suggest that in young adults, depressive symptoms are associated with difficulty in overriding prepotent responses to actively avoid aversive outcomes in the absence of reward. This work bridges the gap between preclinical animal models and clinical research, offering insights that could guide the development of more targeted clinical interventions.

www.eneuro.org · eNeuro

0
1
0
0
0
0
0

📬 The August 2025 FreeBSD Foundation Newsletter is here!

This month’s issue features FreeBSD Jails are Simple and Easy and highlights new products now available in the FreeBSD Shopify store.

We’re also gearing up for the FreeBSD Developer Summit at EuroBSDCon 2025 in Zagreb, Croatia (Sept. 24–25), followed by EuroBSDCon (Sept. 25–28).

Read the full newsletter: freebsdfoundation.org/news-and

0
0
0

Yesterday, I had a realization about boilerplate code.

It seems like there are certain tasks (writing a compiler, writing a graphics pipeline) which involve rewriting a lot of code that is very well understood. So why can't this just go into a library? Why does it take a thousand lines of code just to get a triangle on the screen, or to write a basic bidirectional elaborator?

It is because the *surface area of customization* is very large, and it's far easier to customize code that you have written than it is to expose exactly the right options in a library. There are just so many choices to make, and all of them make sense in *some* scenarios, that it doesn't make sense to abstract. The user of an abstraction library would need to effectively give the library as much information as it would take to simply write it yourself.

An abstraction layer is going to have to make some strong assumptions about what you want.

For instance, you could use a game engine, or you could use Racket and avoid writing a parser at all. But these aren't exposing the underlying API in a concise way, they are writing lots of algorithms that use the underlying API in particular patterns, patterns which you may or may not want.

So I think I've gotten over my aversion towards boilerplate. I now think of boilerplate not as "a tax I have to pay in order to do something I care about" and rather as "a visual representation of the space of decisions I can make about the thing I'm working on." Which is cool!

Viva la boilerplate!

0
0

I realized during a discussion today that I’m not actually attached to monorepos. What I’m attached to is build and test orchestrators, specifically good ones which other people have written. Working in a monorepo without a proper orchestration tool is kind of a pain in the ass, and involves a lot of annoying tradeoffs and manual spot work. Microrepos avoid a lot of these annoyances, but make a lot of the features that proper monorepo orchestrators provide really hard to build. I would be fine with microrepos if I had a tool that let me do things like “run the build and tests for every package and service that transitively depends on the current repo” in a performant way. As it stands though I’m already familiar with a monorepo tool which does this really well, and the microrepo approach sounds like it would be a much harder problem.

0
0
1
0
0
2
0
0
0
0

changelog ✨

📝 Composer relayout
🔍 Recent searches
🏛️ Edit History Snapshots
🔰 Show role badges with profile usernames
⌛ "X months/years later" hint between list of threads or comments
🔗 "Open link?" prompt when clicking links that don't show domain
🔬 Larger-than-rendered custom emojis opens up in media modal when clicked.
🔭 Zoom in/out buttons in Custom Emojis picker
🐛 Bug fixes

🔗 phanpy.social/
💬 matrix.to/#/%23phanpy:matrix.o

0
4
0
0
0
0

Oh my goodness. I think this is the only place on the internet nerdy enough to help me locate this info.

My parents met on a what was effectively an unofficial chat room hosted by capital radio (London). In the 1980s, Capital Radio used to leave their switchboard open at night (unintentionally, they didn’t realise it was happening) and people would call the regular radio phone and just end up in what was effectively a giant group call for Londoners late at night. (I say Londoners due to the reach of the radio rather than the phone line itself, people wouldn’t know the number unless they listened in).

I understand they changed how the phone system worked later in the 80s and closed this loophole off.

So what I’m after is…
- the nature of the switchboard that allowed this to happen
- what change would have blocked this later on
- any historic info on the period it was left open, or personal accounts.

0
0
0
0
0