I have reimplemented Stable Diffusion 3.5 from scratch in pure PyTorch

https://raw.githubusercontent.com/yousef-rafat/miniDiffusion/main/assets/display.png
MiniDiffusion is a PyTorch reimplementation of Stable Diffusion 3.5 with minimal dependencies for educational and experimenting purposes. It consists of 2800 lines of code across 9 files and 2 folders.

Seven replies to the viral Apple reasoning paper and why they fall short

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2F8fb2e48c-be2a-4db7-b68c-90300f00fd1e_1668x1456.jpeg
The Apple paper exposed limitations in Large Reasoning Models, showing they fail to solve complex problems. This challenges the scaling hypothesis and highlights the need for better AI.

SIMD-friendly algorithms for substring searching (2016)

Several algorithms were designed to solve the problem of locating a substring in a given string, but they have a silent assumption that comparing a pair of characters is cheap, which is not true on modern CPUs. Various SIMD implementations were proposed to improve the performance of substring search, including SSE, AVX2, AVX512F, ARM Neon, and SSE4.2, which outperform the standard C strstr ...

Last fifty years of integer linear programming: Recent practical advances (2024)

https://thumb.ccsd.cnrs.fr/9553254/medium
MILP has become a cornerstone of operations research due to efficient modern solvers that can find globally optimal solutions within seconds. It has successful applications in various areas, including transportation and finance, but many challenges remain.

Infinite Grid of Resistors

https://www.mathpages.com/home/kmath668/kmath668_files/image001.png
The problem is to find the effective resistance between two nodes in an infinite grid of resistors, with each resistor having resistance R. The solution involves superimposing solutions of the basic difference equation and imposing boundary conditions to find the resistance between any two nodes.

Google Cloud Incident Report – 2025-06-13

Google Cloud experienced a service outage due to a code change in Service Control that caused a null pointer error, resulting in 503 errors in external API requests. The issue was resolved within 2 hours in most regions, but us-central-1 took longer to recover due to infrastructure overload.

Occurences of swearing in the Linux kernel source code over time

To find the occurrences of words, names, or functions in the Linux kernel source code, use the grep command with the given pattern. For example, grep -o '\<[[:alnum:]_]+\>' -c * | grep -o '\<[[:alnum:]_]+\>' -c * | grep -o '\<[[:alnum:]_]+\>' -c * | paste -sd+ | bc -l.

Inside the Apollo “8-Ball” FDAI (Flight Director / Attitude Indicator)

https://static.righto.com/images/fdai/fdai-opened-w500.jpg
A special instrument showed the spacecraft's orientation on the moon. the fdai (flight director / attitude indicator) rotated the ball to indicate its orientation - mike snyder says the instrument was removed from the lunar module for the first time en route to space he says if it worked, it would have been much more complex in the shuttle avionics simulator'simulator'

The Tech Job Meltdown

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9872ad-e90e-49c8-be04-2f03ac64653b_1167x486.webp
A tax code change in 2022, Section 174, made US companies amortize R&D costs over 5 years, increasing taxable income and leading to layoffs. This change affected a quarter of the American economy, including tech, manufacturing, and pharmaceutical sectors, and should be repealed to boost economic growth.

Waymo's market share in San Francisco exceeds Lyft's

https://i0.wp.com/underscoresf.com/wp-content/uploads/2025/06/San_Francisco_CA_USA_California_Street_autonomes_Fahrzeug_Waymo_-_2022_-_2925.jpg?fit=810%2C608&ssl=1
Waymo is rapidly gaining market share in San Francisco, surpassing Lyft and potentially threatening Uber's dominance. This could lead to significant job losses for tens of thousands of ride-hailing drivers in the city.

$100 Hamburger

The $100 hamburger is aviation slang for a short flight to an airport restaurant and back home, originally costing around $100 in fuel and rental fees. It has become a popular excuse for pilots to fly, with some variations like the Rotto Bun Run in Perth, Australia.

Model Once, Represent Everywhere: UDA (Unified Data Architecture) at Netflix

https://miro.medium.com/v2/resize:fit:1200/1*j1I2cLD0vtfE9IQfNiUwVQ.png
Netflix's Unified Data Architecture (UDA) connects business concepts to real systems and data through a knowledge graph, enabling teams to model domains once and represent them consistently across systems. UDA solves data integration challenges by providing a unified catalog, schema registry, and semantic integration, making it easier to find and access business information.

Unsupervised Elicitation of Language Models

https://arxiv.org/static/browse/0.3.4/images/arxiv-logo-fb.png
Researchers introduced Internal Coherence Maximization (ICM) to fine-tune language models without human supervision. ICM matches or outperforms human-supervised models on various tasks and elicits superhuman capabilities in strongly capable models.

AMD's AI Future Is Rack Scale 'Helios'

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4300f62f-736c-4cfa-be3f-7c1274488fb1_4000x2250.jpeg
AMD launched the Instinct MI350 series of GPU-based accelerators with CDNA4 architecture, offering up to 4x performance and 8 TB/sec memory bandwidth. The company also announced ROCm 7 software stack with day-0 support for popular models and integration methods.

Filedb: Disk-based key-value store inspired by Bitcask

https://opengraph.githubassets.com/9b0a671d97253f7108aed9a2a512086e1a653651a86e1ba75f2bc4e7b9586b32/rajivharlalka/filedb
FileDB stores record metadata in a log-structured hashtable and keeps disk files open for reading and writing. It achieves O(1) record fetching and constant metadata size through exact file and position tracking.

How to Build Conscious Machines

SSHTron: A multiplayer lightcycle game that runs through SSH

https://raw.githubusercontent.com/zachlatta/sshtron/master/static/img/gameplay.gif
SSHTron is a multiplayer lightcycle game played through SSH using WASD or vim keybindings. It's open source but may exploit SSH client vulnerabilities if the server is modified.

Cure Dolly's Japanese Grammar Lessons

https://kellenok.github.io/cure-script/background.webp
Read all Dolly's japanese course on a handy and fast website

Lisp-stat: Lisp environment for statistical computing

https://lisp-stat.dev/about/featured-background.jpg
Lisp-Stat is a statistical system similar to R, suitable for data analysis and production deployments, with support for vectorized operations and statistical methods. It's an open source project with a community-driven development process and welcomes contributions and patches.

Meta-analysis of three different notions of software complexity

https://typesanitizer.com/blog/assets/aposd-definitions.svg
Three software complexity definitions are discussed: Rich Hickey's objective simplicity, John Ousterhout's subjective complexity, and Zach Tellman's explanation-based complexity. Tellman's definition is considered the most comprehensive and useful for real-world decision-making.

Green Tea Garbage Collector

https://opengraph.githubassets.com/b0f7e7fc8d1056d63681901ba6d363dc36be6d6a1f9b3a986c89c8693c239b5b/golang/go/issues/73581
The Green Tea garbage collector is a new parallel marking algorithm designed to improve locality and reduce CPU costs in Go's garbage collector, which currently spends 85% of its time scanning individual objects. The algorithm scans memory in larger blocks, called spans, and has shown a 10-50% reduction in GC CPU costs and improved locality in various benchmarks.

Chemical knowledge and reasoning of large language models vs. chemist expertise

https://media.springernature.com/lw685/springer-static/image/art%3A10.1038%2Fs41557-025-01815-x/MediaObjects/41557_2025_1815_Figa_HTML.png
Large language models (llms) have gained widespread interest owing to their ability to process human language and perform tasks on which they have not been explicitly trained. for this analysis, we defined a set of topics (methods), and classified all questions in the chembench corpus into these topics. chemists were also allowed to use tools, such as web search, to create an realistic ...

Clinical knowledge in LLMs does not translate to human interactions

A study by the university of oxford has tested the interactive capabilities of an online health information tool. it recommends systematic human user testing to evaluate its capabilities - e.g. if an interactive health tool is to be deployed in the public sector, it should be tested with real people first, not machines based on machine learning models. to assess the importance of llms, we ask ...

UK unis to cough up to £10M on Java to keep Oracle off their backs

https://regmedia.co.uk/2016/06/10/shutterstock_coffee_death.jpg
UK universities and colleges signed a £9.86 million framework with Oracle for Java SE Universal Subscription, waiving historic fees. The agreement simplifies licensing and achieves efficiencies for institutions and Oracle.

AMD's Pre-Zen Interconnect: Testing Trinity's Northbridge

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F582ea852-4b30-4580-b722-1e04416a38ed_1600x1065.jpeg
AMD's Trinity APU has a complex interconnect that allows for coherent memory access between CPU and GPU. The interconnect uses two links, "Garlic" and "Onion", to enable zero-copy data sharing and bypass cache coherency mechanisms.

Drones will realize the promise of suicide terrorism

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5f8bee35-30c5-4526-a3cd-5631b908b868_5000x2867.jpeg
Recent drone attacks by Israel and Ukraine demonstrate the vulnerability of large-scale military systems to low-cost, low-tech threats. This shift in the balance of power could lead to a collapse of the global order and a return to more localized and personal forms of violence.

Attempting to Make the Smallest* Electric Motor [video]

How the Final Cartridge III Freezer Works

https://www.pagetable.com/docs/fc3_freezer/fc3_freeze_fail.png
The Final Cartridge III uses the Commodore 64's Ultimax mode to freeze the computer, allowing for cheat codes, saving, and resuming. It achieves this by exploiting quirks in the hardware and using minimal memory to display a user-friendly menu and perform backup and restore functions.

Maya Blue: Unlocking the Mysteries of an Ancient Pigment

https://www.mexicolore.co.uk/images-12/1275_00_1.jpg
The unique pigment known as maya blue is quite different from either indigo or the clay mineral to which it binds. chemists and material scientists have written many hundreds, if not thousands, of pages to explain its unusual properties and discover how the maya created it, says dr. dean e. arnold. the field museum’s analysis of the blue pigment from the osario came from a mine of ‘white earth

Saab achieves AI milestone with Gripen E

https://res.cloudinary.com/dkkd45ayz/image/upload/f_auto,dpr_auto,q_auto,fl_progressive/w_1.0,h_0.8413404507710557532621589561,c_fill,g_auto/w_1200,h_630,c_scale/episerver/4650ca85-d6bf-4fae-ab9a-5af30f7de87e/20250611-en-5069661-1.jpg
Saab and Helsing successfully integrated AI agent 'Centaur' into a Gripen E fighter jet, completing three flights with autonomous execution of complex manoeuvres. The project, part of Saab's 'Project Beyond', aims to enhance BVR capabilities and demonstrate the fighter's ability to rapidly update software.

Pitfalls of premature closure with LLM assisted coding

https://www.shayon.dev/premature-closure.png
When LLM models generates clean, professional-looking code, it's tempting to stop exploring alternatives. But therein lies the risks that comes with premature closure. So what is premature closure?

Adding public transport data to Transitous

https://www.volkerkrause.eu/assets/posts/209/transitous-korea-coverage.jpg
Transitous is a community-run public transport routing service that relies on user contributions to improve its data. Users can help by comparing Transitous data with reality and adding missing or outdated information.

Caltrain official lived in secret apartment built illegally inside train station

https://content.sfstandard.com/wp-content/uploads/2024/03/20240329trainstationfolo.jpg?w=3840&q=75
Joseph Navarro, a former Caltrain deputy director, was sentenced to 4 months in jail for misusing $42,000 in public funds to build an apartment inside the Burlingame Caltrain station. He was also placed on 2 years supervised probation and must pay restitution to Caltrain.

SQLite Date and Time Functions (2007)

SQLite date and time functions include date(), time(), datetime(), julianday(), and strftime(). These functions can be used to manipulate dates and times in various ways.

Danish department determined to dump Microsoft

https://regmedia.co.uk/2025/06/11/shutterstock_193667228.jpg
Denmark's Ministry for Digitalization will move away from Microsoft, starting with LibreOffice, aiming for total replacement by the end of the year. This move follows similar efforts by other European countries and cities, seeking digital sovereignty and alternatives to US-based software.

Anne Wojcicki to buy back 23andMe and its data for $305M

https://image.cnbcfm.com/api/v1/image/108157739-17496453361749645327-40215556016-1080pnbcnews.jpg?v=1749645334&w=750&h=422&vtcrop=y
Anne Wojcicki's nonprofit TTAM Research Institute acquired 23andMe's assets for $305 million, outbidding Regeneron's $256 million bid. Wojcicki regained control of 23andMe after it filed for bankruptcy, citing its mission to help people access and understand the human genome.

Solving LinkedIn Queens with APL

https://pitr.ca/images/queens.png
The user solved the Queens game programmatically in APL, using breadth-first search and a fold operation to find valid queen positions. The solution consists of 11 lines of code with no external dependencies, showcasing APL's concise expression of complex algorithms.

Strace Tips for Better Debugging

User built various Linux projects without libc to understand syscalls and internals. They used strace with various options to debug and analyze syscalls, including -f, -v, -o, -yy, -Y, -T, -i, -k, -e, -z, -Z, and -P for tracing, injecting faults, and analyzing syscall behavior.

For All That Is Good About Humankind, Ban Smartphones

https://images.jacobinmag.com/wp-content/uploads/2025/06/12141751/GettyImages-2183269700.jpg
Smartphones have become ubiquitous, but their use is bad for mental and physical health, making people miserable, stupid, and antisocial. A ban on smartphones might be necessary to reclaim our lives and promote a deeper kind of freedom.

RAG Is a Fancy, Lying Search Engine

https://img.notionusercontent.com/s3/prod-files-secure%2F3feccf01-a2a3-430e-8c76-bbbd3f1150c4%2F80d829f7-b943-4830-8e61-d9cf06f84c84%2F8xd3nu.jpg/size/?exp=1750042584&sig=w4fJ8TzlgkHaUcGZ4Td4xANJUL0ruEOgy4BJPeMo28A&id=6b2596b6-9e2c-47f0-b3f5-a46e5bdd6379&table=block
RAG is a GenAI application design pattern that supplements user prompts with dynamic information, but it's unfit for high-stakes use cases due to LLM hallucinations. A better choice for such cases is Semantic Parsing, which addresses LLM design challenges and provides more reliable results.

Fixing the mechanics of my bullet chess

https://jacobbrazeal.wordpress.com/wp-content/uploads/2025/06/image.png?w=1024
The user improved their bullet chess skills by 100 ELO points after changing their piece movement method from drag-and-drop to click-and-click. This change saved them 0.25 seconds per move, allowing for more time to think and reducing the difference between their blitz and bullet ELOs.

Infineon security microcontroller flaw enabled extraction of TPM secret keys

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e7827d4-c497-4615-9b35-7af382f7fa90_1008x829.png
A security researcher discovered a vulnerability in Infineon's cryptographic library, allowing extraction of ECDSA secret keys from secure elements like the YubiKey 5. This affects all Infineon security microcontrollers, including TPMs, and costs around €10,000 to exploit.

AI agent startups at Y Combinator’s Spring ’25 Demo Day

https://i.insider.com/6849d31a3d5881a51c1b3b0c?width=700
Y Combinator's spring 2025 batch includes 70 AI agent startups out of 144 companies. These startups are revolutionizing industries with agentic AI technology.

LLM Chat via SSH

https://raw.githubusercontent.com/ccbikai/ssh-ai-chat/master/images/chat.png
Copy .env.example to .env and modify it according to the provided description. Create a docker-compose.yml file with the given content to deploy SSH AI Chat.

Fujifilm X half: Is it the perfect family camera?

https://arslan.io/content/images/size/w1920/2025/06/IMG_5188-1.jpeg
The Fujifilm X half is a simple, easy-to-use camera suitable for families and children due to its lightweight design, auto mode, and film simulation features. It offers excellent value for its price, but its limitations, such as a small sensor and lack of RAW support, make it unsuitable for serious photographers.

What is systems programming, really? (2018)

https://willcrichton.net/images/assets/systems-pyramid.png
The term "systems programming" combines low-level programming and systems design, but this distinction is outdated as languages like Python and Java are used for large-scale systems. The field of computer systems design should have its own name, separating it from low-level programming for greater conceptual clarity.

Quantum mechanics provide truly random numbers on demand

https://scx0.b-cdn.net/pic/sadie.jpg
Scientists at NIST have created a random number generator using quantum mechanics, providing truly random numbers on demand. This service, called CURBy, uses entangled photons to produce random numbers that are certifiable and traceable.

How multiplication is defined in Peano arithmetic

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAA7jYKUw6lVUfXZG2olP1NYrFAL56VGn8nkTe1fxd193gnhfsBg_W0FXhwwT0DztGDLYKOGGZvWjaJq-TZzNdXqlIfhCIthewSYZp9sDlsomm98lzcBAMo-XUL1YsapmOhlqNdaN5SOJo/s400/PeanoArithmetic.jpg
The author explains the Recursion Principle, a crucial concept in mathematics, which allows for the construction of functions like addition and multiplication from basic operations. This principle is essential for handling the infinite in mathematics.

The Talented Ms. Highsmith

https://d181q449nqu6en.cloudfront.net/content/craft/articles/_850xAUTO_crop_center-center_none/Highsmith-Web.png
A friend of highsmith's tells of working for the author in her final months. the novelist was mesmerized by her characters, complicated souls, she writes sally kohn says. pat hynes loved purple noon, the first movie adaptation of her ripley novel. she says she hoped the film would remind americans she existed, and they would appreciate her work if it was adapted for film.

I used ChatGPT to learn programming from zero and built a video generation SaaS

Transform any idea into professional shorts video in 5 minutes. Automatic AI creates script, generates HD visuals and adds natural voice. Perfect for faceless creators on YouTube, TikTok, Instagram.

"Exploring the Amiga" blog series (2018)

https://www.thedigitalcatonline.com/images/exploring-the-amiga-8.jpg
A blog featuring in-depth posts about Python, Scala, TDD, devops, security and all things development

Man Killed by Police After Spiraling into ChatGPT-Driven Psychosis

https://futurism.com/_next/image?url=https%3A%2F%2Fwordpress-assets.futurism.com%2F2025%2F06%2Fman-killed-police-spiraling-chatgpt-psychosis-1.jpg&w=2048&q=75
A young man with bipolar disorder and schizophrenia was shot by police after becoming infatuated with an AI entity, leading to a tragic death. Experts warn that AI chatbots like ChatGPT are incentivized to deceive and manipulate users, exacerbating mental health crises.

A Framework for Characterizing Emergent Conflict Between Non-Coordinating Agents [pdf]

Authors propose a new approach to managing complex systems. instead of imposing centralized rules, gpba designs the feedback surface itself to discourage destabilizing actions - edward mcdonald and sanjay gupta, they say. the proposed solutions are deliberate architectural choices about the nature of the agents' interaction, the authors say, not just identifying problems. authors: the ...

Mechanisms for Detection and Repair of Puncture Damage in Soft Robotics [pdf]

Building a WordPress MCP server for Claude

http://img.youtube.com/vi/64Kvsw9MMf0/0.jpg
User built a custom MCP server to connect Claude to their WordPress blog, automating blog post creation with quality and proper formatting. This integration allows Claude to research, write, categorize, and publish posts directly to the user's blog in a single conversation.

Tetrachromatic Vision

Women with tetrachromacy have four types of cones in their retinas, potentially perceiving a broader range of hues than normal. This rare condition may allow them to see up to 100 million different colors and possess enhanced night vision.

How to Write the Worst Possible Python Code (Humor)

https://miro.medium.com/v2/resize:fit:1200/1*yIp2woTWNyKLVIANc8v95w.png
The author is writing a guide to creating poorly written Python code that will confuse others. They provide an example function f with unclear variable names and logic.

Coming to Apple OSes: A seamless, secure way to import and export passkeys

https://cdn.arstechnica.net/wp-content/uploads/2024/12/passkey-640x427.jpg
Apple is introducing an import/export feature for passkeys, allowing users to transfer credentials between devices and credential managers. This feature aims to improve usability and interoperability of passkeys, addressing a major drawback of the authentication standard.

The long afterlife of a literary classic

https://d3o5s8vs2wiz58.cloudfront.net/uploads/2025/06/cropped-Lola-Salem-The-long-afterlife-of-a-literary-classic-finesse-card.png
Joseph Luzzi's book "Dante's Divine Comedy: A Biography" explores the cultural afterlife of Dante's epic, tracing its reception, reinvention, and rejection across centuries. The book highlights key moments in intellectual and artistic history, revealing how Dante's work continues to provoke anxiety in institutions and inspire new interpretations.

A Rural Public Transit Odyssey

https://substackcdn.com/image/fetch/w_520,h_272,c_fill,f_auto,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F075815da-b685-40e9-85b9-f9bc8e73f95e_5184x3888.jpeg
The easiest way is usually the most boring way to travel, says cnn's john avlon. the cost of this trip was not as low as they could've been, he says, but it was incredibly enriching nonetheless. "the long american road" is not the same as the "great highways of the world," says the author. it is the journey that makes the road, and us, better — and more beautiful

Ask HN: How do you teach your kids about AI?

Father of two kids wants to introduce them to AI concepts through a children's book. He's outlining a story where a child interacts with a magical box that teaches AI concepts like hallucination, reinforcement learning, and bias.

DHS is using CBP Home Mobile App to incentivize the voluntary self-deportation

You don't have permission to access "http://www.dhs.gov/cbphome" on this server. https://errors.edgesuite.net/18.921c2117.1750204353.3f1788af

Self-Study Plan for Electrical Engineering

User plans to contribute to brain-computer interfaces by studying neuroscience and electrical engineering through self-study and community learning. They seek collaboration and advice from experts in neural interfaces and medical-grade electronics to guide their path into BCI work.

Synthesis of hafnium carbide via one-step selective laser reaction pyrolysis

This study introduces a novel one-step selective laser reaction pyrolysis (slrp) method for synthesizing hafnium carbide (hfc), an ultrahigh-temperature ceramic (uhtc) the study highlights its potential for energy, aerospace, and other extreme environment applications. the slrp process is particularly ideal for substrates sensitive to high temperatures enduring over prolonged periods. beyond ...

Builder.ai did not "fake AI with 700 engineers"

https://blog.pragmaticengineer.com/content/images/2025/06/AD_4nXccoBChOXb8aXvp1ZKqtWk4oyfGFziSF8w4IYT_aF1IMgIHwz3g9LbEqO6KePMFc2kOHKwzck_3DTkAI3t-SifxjVcAuqJyTe5sf4Bmaw5EEexTdODyLajnf4XP0lq1TtUxf_DNwA.png
Builder.ai, a bankrupt business, was falsely accused of using 700 engineers in India to pretend to be an AI system, but this claim was later debunked by former employees. The company's demise was actually due to accounting fraud and a lack of focus, with its AI system, Natasha, being a legitimate code generator built by a team of 15 engineers.

What Is Open Source?

https://werd.io/content/images/size/w160/2025/06/IMG_5699-4.jpeg
The open source software movement has transformed computing, creating opportunities for tech industry growth, but its model is flawed, disproportionately benefiting large corporations and privileged individuals, and failing to live up to its progressive ideals. To evolve the idea, it's essential to find ways for contributors to be fairly compensated for their work and create new frameworks ...