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.

[Learning Zephyr] 000. Before Starting Zephyr

Juan @juanjin@hackers.pub

This post provides a streamlined guide to setting up a Zephyr real-time operating system (RTOS) development environment, offering an alternative approach to the official documentation. It begins with installing West, Zephyr's meta CLI tool, within a Python virtual environment, followed by downloading the kernel, SDKs, and necessary tools like CMake and the devicetree compiler. The guide then details the manual installation of the Zephyr SDK and building OpenOCD from source for debugging purposes. To ensure everything is set up correctly, the post walks through building and flashing a sample "blinky" application using CMake and OpenOCD. By offering a practical, hands-on approach, this guide helps developers quickly get started with Zephyr RTOS development.

Read more →
1
0

洪 民憙 (Hong Minhee) shared the below article:

About

Juan @juanjin@hackers.pub

This post introduces Juan Jin, a programmer from South Korea with expertise in C, C++, Python, C#, and TypeScript. Jin's skills extend to platforms, libraries, and frameworks such as STM32CubeMX, ESP-IDF, FreeRTOS, Zephyr RTOS, and more. The author showcases personal projects like "Black Magic," a C macro metaprogramming research endeavor, and contributions to open-source projects like "Net for Dumbass" and "zpmgr." The post also details Jin's extensive work history, including roles at Bitbus, People-i, and other companies, where he developed diverse applications ranging from agricultural smart waterstream projects to military defense systems and IoT solutions. This overview highlights Jin's broad experience and technical capabilities, making it a valuable resource for those interested in embedded systems, IoT, and software development.

Read more →
5
0
0

death

Mikeal Rogers died yesterday.

We rarely saw eye-to-eye, but that made working together all the more interesting. Mikeal was one of the first people to make me feel special about my weird database CouchDB and when he left, he went on to leave an outsized imprint on the Node.js ecosystem.

He was always curious about the world and the forces that shaped it and could not contain his excitement when telling you all about it.

My thoughts are with his family.

FB post: facebook.com/aimee.phair.1/pos

0

About

Juan @juanjin@hackers.pub

This post introduces Juan Jin, a programmer from South Korea with expertise in C, C++, Python, C#, and TypeScript. Jin's skills extend to platforms, libraries, and frameworks such as STM32CubeMX, ESP-IDF, FreeRTOS, Zephyr RTOS, and more. The author showcases personal projects like "Black Magic," a C macro metaprogramming research endeavor, and contributions to open-source projects like "Net for Dumbass" and "zpmgr." The post also details Jin's extensive work history, including roles at Bitbus, People-i, and other companies, where he developed diverse applications ranging from agricultural smart waterstream projects to military defense systems and IoT solutions. This overview highlights Jin's broad experience and technical capabilities, making it a valuable resource for those interested in embedded systems, IoT, and software development.

Read more →
5

IO_uring Shows Promising Potential For Linux Accelerator Drivers

Last year there was some ideas raised around potentially making use of the Linux kernel's IO_uring functionality for graphics drivers to help with better performance and synchronization. It turns out Qualcomm engineers have recently been exploring IO_uring use for the DRM accelerator drivers with very promising results on their Cloud AI hardware in seeing around 50% spee…
phoronix.com/news/IO_uring-DRM

0

Are LLMs reliable translators of logical reasoning across lexically diversified contexts? ~ Qingchuan Li et als. arxiv.org/abs/2506.04575v1

arXiv logo

Are LLMs Reliable Translators of Logical Reasoning Across Lexically Diversified Contexts?

Neuro-symbolic approaches combining large language models (LLMs) with solvers excels in logical reasoning problems need long reasoning chains. In this paradigm, LLMs serve as translators, converting natural language reasoning problems into formal logic formulas. Then reliable symbolic solvers return correct solutions. Despite their success, we find that LLMs, as translators, struggle to handle lexical diversification, a common linguistic phenomenon, indicating that LLMs as logic translators are unreliable in real-world scenarios. Moreover, existing logical reasoning benchmarks lack lexical diversity, failing to challenge LLMs' ability to translate such text and thus obscuring this issue. In this work, we propose SCALe, a benchmark designed to address this significant gap through **logic-invariant lexical diversification**. By using LLMs to transform original benchmark datasets into lexically diversified but logically equivalent versions, we evaluate LLMs' ability to consistently map diverse expressions to uniform logical symbols on these new datasets. Experiments using SCALe further confirm that current LLMs exhibit deficiencies in this capability. Building directly on the deficiencies identified through our benchmark, we propose a new method, MenTaL, to address this limitation. This method guides LLMs to first construct a table unifying diverse expressions before performing translation. Applying MenTaL through in-context learning and supervised fine-tuning (SFT) significantly improves the performance of LLM translators on lexically diversified text. Our code is now available at https://github.com/wufeiwuwoshihua/LexicalDiver.

arxiv.org · arXiv.org

0

When did you ever hear the BBC stating that it must alter “story selection” and “other types of output, such as drama”, to win the trust of Green voters, or of unrepresented people on the left? All the shifts are in just one direction. bylinetimes.com/2025/06/09/b...

BBC Bosses Draw Up Plans to Wi...

0

Safe: Enhancing mathematical reasoning in large language models via retrospective step-aware formal verification. ~ Chengwu Liu et als. arxiv.org/abs/2506.04592v1

arXiv logo

Safe: Enhancing Mathematical Reasoning in Large Language Models via Retrospective Step-aware Formal Verification

Chain-of-Thought (CoT) prompting has become the de facto method to elicit reasoning capabilities from large language models (LLMs). However, to mitigate hallucinations in CoT that are notoriously difficult to detect, current methods such as process reward models (PRMs) or self-consistency operate as opaque boxes and do not provide checkable evidence for their judgments, possibly limiting their effectiveness. To address this issue, we draw inspiration from the idea that "the gold standard for supporting a mathematical claim is to provide a proof". We propose a retrospective, step-aware formal verification framework $Safe$. Rather than assigning arbitrary scores, we strive to articulate mathematical claims in formal mathematical language Lean 4 at each reasoning step and provide formal proofs to identify hallucinations. We evaluate our framework $Safe$ across multiple language models and various mathematical datasets, demonstrating a significant performance improvement while offering interpretable and verifiable evidence. We also propose $FormalStep$ as a benchmark for step correctness theorem proving with $30,809$ formal statements. To the best of our knowledge, our work represents the first endeavor to utilize formal mathematical language Lean 4 for verifying natural language content generated by LLMs, aligning with the reason why formal mathematical languages were created in the first place: to provide a robust foundation for hallucination-prone human-written proofs.

arxiv.org · arXiv.org

0

@mdioneMarcos Dione this is pretty easy to demonstrate; I can generate a new email address that will get ZERO unwanted incoming emails, instantly, from a thousand different sources, and ten very reputable, widely and highly well regarded sources. How do I do that with a telephone number in the format (nnn) nnn-nnnn? Answer: I don't. No one does. No one EVER will, again, for the rest of recorded human history.

0
0
0
0
0

Telephone numbers are the new social security numbers, but at least you can "change" your telephone number.. if.. and only if.. you spend 2 years holding a "new" telephone number on a separate burner device while carefully curating away all the existing gunk / SMS from it over those 2 years. Not that I've done anything like that, of course. Just something a friend told me. 🤐

0
0

ok, look, I don't mean to be Negative On The Internet, but this "new" Psycho Killer video for the Talking Heads song is just..EXTREMELY BAD. Horrible, terrible, no good twee Wes Anderson-esque nonsense. I don't have enough thumbs down to vote on this video, even though I love the band and also this actress. Hardest of hard passes. rollingstone.com/music/music-n

0
0
0
0
0
0
0

reading: How to import() a JavaScript String by @zachleatZach Leatherman :11ty:

zachleat.com/web/dynamic-impor

— something else I saw recently, it's possible to do `function F(){ /* real code */ }.toString()` and create a blob from real code 😮

github.com/TecharoHQ/anubis/bl

0
0
0
0
0
0

🆕⚛️🔐 Starting with iOS 26, CryptoKit gets support for quantum-secure cryptography with algorithms such as ML-KEM, ML-DSA and HPKE with X-Wing:

developer.apple.com/documentat

👉 Join us for a session on how to protect your app's user data from the emerging threat of quantum computing!
developer.apple.com/videos/pla

0
0
0
0
0
0
0
0

New video! 🫖 Hands-on with Python t-strings 🫖.
Showcased a template pipeline for sending out batch emails, making it multi-lingual, and doing last-minute swearword replacements.
youtube.com/watch?v=yx1QPm4aXe

0
0
0
0
0
0
0
0
0
0
0
0

I have this Lenovo tablet I like except it's always developing tiny issues that are truly baffling even by my standards. The new thing is that I briefly added a Japanese keyboard as an alternative to English, and around the same time the lock screen and power menus changed to Japanese and stuck that way. I later removed the Japanese keyboard. The lock/power text is kapanese. The rest of the OS is still in English.

0

abolish 'guilty' / normalized systemic abuse & violence (aka the justice system)

i dont believe in the concept of "guilty" or "innocent" and you shouldn't either, the entire concept should be abolished

you see the concept is effectively functions to distinguish between who you (or like the state?) has deemed its "okay" to do horrific shit towards, who its "not okay" to do horrific shit towards,

however i have this extremely radical and extremist, take that there is no one who its "okay" to do horrific shit towards-- ever.

and human rights are universal not "universal-until-declared-guilty"

0
0
0
0
0
0
0
0
0
0
0
0