The Smallest Brain You Can Build: A Perceptron in Python

A perceptron is a simple neural network that takes one input, weighs it with a weight, adds a bias, and decides with a yes-or-no answer, and it learns from its mistakes by adjusting the weight and bias. The perceptron's ability to learn and make decisions relies on the weight, bias, learning rate, and normalization of the input data, which can be adjusted to improve its accuracy and performance.

Building from zero after addiction, prison, and a felony

https://gavinray97.github.io/static/images/building-from-zero.svg
The user spent 14-16 years in juvenile prison and later became a convicted felon due to addiction, but rebuilt their life through software and open-source contributions. They now work at Hasura, a developer-facing tool, and hope to give others a chance despite their troubled past.

A Matter Wi-Fi Light Bulb in Rust on the Raspberry Pi Pico 2 W

https://raw.githubusercontent.com/melastmohican/rust-rpico2-embassy-examples/main/pico-DS18B20_bb.png
This repository contains Rust examples for the Raspberry Pi Pico 2 using Embassy async framework, including sensors and displays. Examples include ADXL345 accelerometer, DS18B20 temperature sensor, DHT11 temperature and humidity sensor, and more.

Show HN: I Derived a Pancake

https://www.absurdlyoptimized.com/img/articles/pancakes-hero.jpg
The author created a pancake calculator to optimize pancake recipes by balancing four axes of quality: interior texture, tang, rise, and exterior crisp. The calculator uses stoichiometry to determine the optimal ratio of ingredients, including acid, leavening agents, and dairy, to create the perfect pancake.

Teenage Engineering: Introducing APC-2

https://assets.teenage.engineering/_img/6a22f2d3ab13747827da71c7_1024.webp
a professional record cutter built and designed for producingoriginal playback discs with superior sound quality in real time. availableexclusively via our collaborative partners and masters of analog media,SUPERSENSE. our shared vision is to enable access to anyone who wantstheir music or sound on a physical record. so far, only a limited set ofmachines has been built. email us to find out ...

Making peace with your unlived dreams (2023)

The writer is unable to pursue snowboarding due to knee issues, but has come to accept and move on from the dream. They now focus on their current life and hobbies, finding satisfaction in the present moment.

How's Linear so fast? A technical breakdown

https://media.performance.dev/cdn-cgi/image/width=893,quality=100,format=auto,fit=scale-down/posts/p_gAMR6Z7y49Fp/yLYBhiiY_FsV.jpg
Linear's speed comes from its local-first architecture, where the browser stores data and syncs with the server in the background. The app's design, including shortcuts and animations, also plays a crucial role in making it feel fast and responsive.

Do we fear the serializable isolation level more than we fear subtle bugs (2024)

https://miro.medium.com/v2/resize:fit:700/1*keS37tRigV2DLMy2itYZGQ.png
Weaker isolation levels in databases can lead to concurrency bugs and security vulnerabilities, as seen in cases like Flexcoin and Poloniex. Using serializable isolation as the default can prevent such issues.

What is the purpose of the lost+found folder in Linux and Unix? (2014)

https://unix.stackexchange.com/Content/Sites/unix/Img/apple-touch-icon@2.png?v=32fb07f7ce26
The /lost+found/ folder in Linux and Unix is for storing files that fsck, the filesystem check and repair command, recovers from a damaged filesystem. You would interact with it after a system crash or power failure, when fsck places recovered files there.

Powering up a module from the IBM 604: an electronic calculator from 1948

https://static.righto.com/images/ibm-650-thyratron/ibm-604-w500.jpg
IBM introduced the Electronic Calculating Punch, type 604, a programmable calculator that used vacuum tubes and was much smaller and cheaper than computers. It was highly successful, with over 5600 units produced, and led to the development of IBM's vacuum-tube computers in the 1950s.

My automated doubt development process

The user's AI development process involves automated doubt from multiple perspectives to ensure quality, using subagents to critique and audit artifacts. This process originated from a lack of trust and has developed into a trust signal, requiring patience, practice, and expertise to terminate the loop.

Firefox Merges Support for Vulkan Video Decoding

Mozilla Firefox has added initial support for Vulkan Video, enabling GPU-accelerated video decoding on Linux. The feature will be available in Firefox 153 release on July 21.

Show HN: Lathe – Use LLMs to learn a new domain, not skip past it

https://raw.githubusercontent.com/devenjarvis/lathe/main/docs/img/read-tutorial.png
Lathe is a tool that generates hands-on technical tutorials on demand using LLM skills, allowing users to learn by working through tutorials themselves. It's a combination of LLM skills and a Golang CLI used to store, manage, and view generated tutorials.

LLMs are eroding my software engineering career and I don't know what to do

https://i.ibb.co/SDdRz6RG/pawel-czerwinski-G6ez-Kt1-XOs-unsplash-1.jpg
The user, a 10-year experienced software engineer, is concerned that their domain expertise in finance and payment processing is becoming less valuable due to advancements in AI and LLMs, which can now perform tasks such as writing code and debugging. The user is worried about their long-term employability and is considering shifting their domain expertise to areas where LLMs are not yet ...

Learn PHP in 2026 (Yes, Really)

The post discusses how PHP's reputation has been unfairly tarnished despite its evolution and continued use in 43% of the web, mainly due to its association with shared hosting and WordPress. This reputation is a social signal that programmers use to judge each other's language choices.

The 29th International Obfuscated C Code Contest (IOCCC) 2025 Winners

https://www.ioccc.org/png/ioccc.png
IOCCC29 had a high submission quality and similar volume to last year, possibly due to improved website design and social media presence. The contest's rules and guidelines were rewritten for this year, and the next contest, IOCCC30, is planned for late 2026.

Cloning a Sennheiser BA2015 battery pack

https://blog.brixit.nl/image/w300/static//static/files/blog.brixit.nl/1669745922/589714de59c2ac21dfce521799562cc0.png
The user is frustrated with expensive Sennheiser wireless microphone battery packs and decided to replicate them using 3D printing and third-party cells. They successfully created a working battery pack.

Office-open-xml-viewer: Office XML document viewer that renders to HTML Canvas

https://raw.githubusercontent.com/yukiyokotani/office-open-xml-viewer/main/docs/images/icon.png
This library allows rendering Office Open XML documents (.docx, .xlsx, .pptx) in the browser using WebAssembly and Canvas 2D API. It supports various formats, including math equations, and can be used with popular frameworks like React, Vue, and Angular.

Backrest – a web UI and orchestrator for restic backup

https://camo.githubusercontent.com/f082008df78f98d1733e0ba54f4a40f70f1db41886c37639fcb240252501d7ef/68747470733a2f2f663030302e6261636b626c617a6562322e636f6d2f66696c652f6773686172652f73637265656e73686f74732f6261636b726573742d312e31312e312d64617368626f6172642e706e67
Backrest is a web-accessible backup solution built on restic, providing a user-friendly interface for creating repos, browsing snapshots, and restoring files. It supports various storage options and can run in the background with automated snapshot scheduling.

Proliferate (YC S25) is hiring to building open source Codex

Proliferate is building an operating system for modern engineering, automating software development to make engineering more human. They're hiring an engineering lead to build the core product with high ownership and a top-market salary.

7.8 magnitude earthquake shakes part of southern Philippines. Tsunami possible

https://s.yimg.com/ny/api/res/1.2/NwJ1B96GxU3UNDTFNTjiQQ--/YXBwaWQ9aGlnaGxhbmRlcjt3PTEyNDI7aD04Mjg7Y2Y9d2VicA--/https://s.yimg.com/os/creatr-uploaded-images/2026-06/d9eac4b0-62cf-11f1-bbbf-bcd7b53e5f07
MANILA, Philippines (AP) — A magnitude 7.8 earthquake shook part of the southern Philippines early Monday, and a tsunami was possible on some regional coasts. Power outages were reported and people were urged to go to higher ground. No further information on damage or casualties was immediately available. The epicenter was 13 kilometers (8 miles) southwest of General Santos city on the island ...

A visual introduction to kernel functions

https://images.kelvinpaschal.com/kernels/linear.png
A Gaussian process is a machine learning method that constructs an infinite amount of guesses or functions to approximate a true process, and it is characterized by its mean and covariance, with the kernel function helping to calculate the covariance or uncertainty. Different kernel functions, such as linear, periodic, radial basis function, rational quadratic, and Matérn kernels, can be used ...

Podman 6: machine usability improvements (2025)

https://blog.podman.io/wp-content/uploads/2022/11/containersgfx-1.png
Podman 6 introduces changes to machine function, making provider prominence less prevalent and allowing users to interact with machines across all providers. New features include defaulting to showing all machines and the ability to create machines in non-default providers using the --provider command line switch.

Splash Is a Colour Format

https://www.todepond.com/lab/og.png
Each digit represents a different colour channel: red, green, and then blue. the restriction has made me more open to errors and it's totally fine. 900 has full red channel (9) and nothing in green (0) or blue (0). so in my theme, 00 is... off-black. so you can just use lookup table if you want. click here to download the theme - it's free to use and works

Anthropic, please ship an official Claude Desktop for Linux

https://opengraph.githubassets.com/6b5e876ce500112840e629d8b2e6e18efc5846fb9a71257c939a8b782abcd100/anthropics/claude-code/issues/65697
The user is requesting an official Linux build of Claude Desktop, citing the need for a graphical path to capabilities like desktop dictation and Cowork, and the current workaround of switching to macOS or Windows is causing friction on every iteration of plugin development. The user proposes a lower-cost fallback of a public statement on the install documentation acknowledging the lack of ...

An Ohio Valley 100k-watt FM signal is severed in broad daylight

https://www.radioworld.com/wp-content/uploads/2026/06/IMG_0339-726x968.jpeg
Mike Kirtner, president of Kindred Communications, reported an FM transmission line was cut in broad daylight at 93.7 WDGG(FM) in Ashland, Ky. The station is operating at reduced power and estimates total repair costs between $70,000 and $100,000.

I design with Claude more than Figma now

https://blog.janestreet.com/i-design-with-claude-code-more-than-figma-now-index/figma-to-claude-hero.png
The author was initially skeptical of LLMs but found them indispensable at Jane Street, especially for tasks they were not good at. They now use LLMs to create prototype features that exactly match their design ideas, freeing up time for iteration and refinement.
https://manticoresearch.com/images/blog/knn-early-termination_hu1f1b95ab4e84ede1666461086289baf9_1277298_90a50049f6645f197312d8e47cd41aae.webp
Modern search engines do more than match keywords. When you search for "cozy mystery set in Paris" and get results for "atmospheric detective novel in France" that's vector search at work: documents and queries are converted into lists of numbers, called embeddings, and the search engine finds the documents whose numbers are closest to the query's. Manticore Search ...

Why isn't the U.S. better at soccer?

https://substackcdn.com/image/fetch/$s_!UIdL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F25bec15e-5077-4783-aba9-95b5f3b849c8_3000x1930.jpeg
The US men's soccer team has a 10% chance of reaching the semifinals according to prediction markets, but a 50% chance of making the final four as a host nation.

Win16 Memory Management

http://www.os2museum.com/wp/wp-content/uploads/2026/06/windev-30-wlk-1-640x480.png
16-bit Windows used a segment-based memory management system, where applications were divided into segments that could be moved or discarded by the operating system, requiring programmers to use specific compiler switches and APIs to manage memory correctly. The system was complex and required discipline from programmers, but it allowed for efficient memory management and the use of ...