4 News Express
This is a autopost bolg frinds we are trying to all latest sports,news,all new update provide for you
Thursday, May 28, 2026
Show HN: Scrolodex – A super simple window switcher for macOS https://ift.tt/r7w1V5X
Show HN: Scrolodex – A super simple window switcher for macOS I built scrolodex to scratch my own itch of having a quick and simple way to switch between the currently open windows under my cursor. Simply hold ⌥ + scroll to cycle through windows under your cursor. Release to focus. Also includes triggers for scrolling through all windows, dock app's windows, or switching between desktop spaces. Configurable hotkeys, themes and overlays. Completely free and OSS. brew install --cask jaydenfyi/tap/scrolodex Website/demo: https://scrolodex.app/
GitHub: https://ift.tt/CR0K6zw https://scrolodex.app/ May 29, 2026 at 01:32AM
Show HN: Py-SQL-cleaner – format SQL embedded in Python strings https://ift.tt/OB3XEy5
Show HN: Py-SQL-cleaner – format SQL embedded in Python strings Hi HN, I built py-sql-cleaner, a CLI for formatting SQL embedded in Python files. Python formatters handle Python syntax. They do not format SQL written inside Python code.
On the other hand, SQL formatters usually target SQL files or raw SQL text, not SQL embedded inside a Python file. Still, I think it is not uncommon to find long SQL queries inside Python codebases. py-sql-cleaner detects embedded SQL inside Python files and works only on that SQL.
The main things it can do are: find the SQL, format it in place, or extract it into a .sql file. It avoids rewriting SQL that depends on runtime values or template expansion.
For example, SQL containing parameters like %s or :name, or Jinja-style template variables like {{ ds }}, is skipped by default. Try it with: uvx py-sql-cleaner list path/to/file.py
uvx py-sql-cleaner format path/to/file.py --dry-run
If you write Python, have run into this kind of SQL cleanup problem, or are just curious, I’d be happy if you take a look. https://ift.tt/Wlw5nyj May 28, 2026 at 11:00PM
Wednesday, May 27, 2026
Show HN: An update to our long-turn FreeCiv experience https://ift.tt/Skw8OKe
Show HN: An update to our long-turn FreeCiv experience So we have had quiet the journey here. So 70 days ago (aka 73 turns ago) I posted on HN sharing our FreeCiv deployment ( https://ift.tt/5TdxESX ). FreeCiv is a great game, the clients is very buggy however. I'm using the GTK4 version, but a few others have opted for the QT variant. At some point, we might turn our focus to contributing to improving the client based on our experiences playing the game. We've since added a lot of little fun features: - The editor: you can write to the newspaper Editor and they /might/ publish what you write, quote you, or decide you're full of it and write an opinion piece slamming your reputation. The editor will also reach out to a few players, each turn, and ask for their input on current game matters. - The Intelligence Dashboard. People were forgetting what they were up to, so we added a dashboard showing the timeline of what happens per turn for your player. - beta the online map viewer: I wanted a way to view the map without loading the client, so we started working on a beta map viewer that is HTML based. - The Chronicle (The newspaper) has also grown a bit. Maybe too much? We'll see. The crossword is fun. Some other 'fun' things that happened: my brother in law stopped speaking to me because of in game banter that was taken way too seriously. My friends invaded my wifes territory, and well, she didn't like that either. I'm currently in the lead, but theres still a long way to go from 475BC. https://ift.tt/UiQwncX May 28, 2026 at 05:54AM
Show HN: Open-Source AI Racing Harness https://ift.tt/AvUBL6C
Show HN: Open-Source AI Racing Harness Hi I'm Dan from Elodin, making an open source real-time capable flight software simulation. For AI Grand Prix contestants, the wait for the Round 1 virtual qualifier simulation has been grueling. If you’re competing, check out our simulation harness to tide you over, built to match the published competition constraints and message format. It runs against real Betaflight, which we learned requires at least 1000 sensor samples per second to run real-time correctly. The competition warranted introducing a new feature to generate the camera sensor directly in the simulation loop. Typically people connect to Unreal or similar game engine to create a camera sensor, which works well but is very heavy. For the simple needs of this challenge, creating sample directly in the loop is very handy and easy to use. Happy to hear your feedback on this! While it's not fancy looking currently, it uses the Rust Bevy game engine, which should allow us to improve the visual fidelity quickly. We all should easily be able to shift our implementation to the published competition sim once it lands. Hope you enjoy and good luck! https://ift.tt/HLsDK0U May 28, 2026 at 02:07AM
Tuesday, May 26, 2026
Show HN: DDoS detection in 500 lines of Python (MIT, no cloud, no account) https://ift.tt/8Tyrj2E
Show HN: DDoS detection in 500 lines of Python (MIT, no cloud, no account) https://ift.tt/OA8Yl5L May 27, 2026 at 02:09AM
Show HN: I used AI to built static recompilers for 5 retro game systems https://ift.tt/uT8tkoK
Show HN: I used AI to built static recompilers for 5 retro game systems https://1379.tech/nes-snes-genesis-virtualboy-and-psx-a-journey-with-ai-and-recompilation/ May 26, 2026 at 11:08PM
Show HN: An LLM translator whose source is a single prompt https://ift.tt/SBt4vFp
Show HN: An LLM translator whose source is a single prompt https://ift.tt/obUJjnD May 26, 2026 at 11:53PM
Monday, May 25, 2026
Show HN: Write your BPF programs in Go, not C https://ift.tt/i0Ox2lr
Show HN: Write your BPF programs in Go, not C https://ift.tt/uwKctdS May 21, 2026 at 09:55PM
Show HN: I made Pokémon but with real animals in the real world https://ift.tt/fpcaJT2
Show HN: I made Pokémon but with real animals in the real world Firstly, apologies, it's not free. It would be difficult to support this for free, it's a paid game. I will now share the technical details, which will probably be most of interest for HN readers. I previously made a carbon footprint tracking app where you photo objects and it tells you the carbon footprint by using an LLM to estimate the data on the fly, e.g. 32kg CO2e / kg of beef, in the UK. At some point, I realised that it is possible to make a Pokémon-style game, but capturing real animals in the real world. This is now possible because:
- image recognition is cheap, i.e. identifying animals, and the models (gpt-4o) can detect a (surprisingly) large number of animals and output their exact species.
- LLMs can output a species' full taxonomy, pretty reliably. And, more importantly, they can generate game data quickly, on the fly. It would unfeasible to generate the game sprites (images) for every species (millions, worldwide) and their full evolution chain, e.g. caterpillar, chrysalis, butterfly, ahead of time. I realised it's possible to do this in real time. General game flow:
- photo animal
- send to gpt-4o
- return species
- send species to LLM, create evolution chain, plus attributes, types and moves.
- in parallel, create sprites. All data is cached. The aim of the game is to build up your team and compete with other players to take over gyms. The game is based in the real world, I had to come up with a way to have health centres and shops. These must both have decent coverage, globally. The solution is health centres are places of worship, e.g. churches, mosques, temples etc and shops are real world grocery stores. Every country as far as I can tell has places of worship, with good distribution, which was surprising. Gyms are located in every park worldwide. Challenges: How to get players outside:
- I use openstreetmap for the game map, but I overlay my game design on top of it.
- To physically make players go out into nature: I use openstreetmap area types to only allow capturing animals when your GPS location is in natural areas, e.g. woodland, parks etc. The aim of the game is to get you out into nature and appreciating animals.
- Level system: The solution I came up with is to set the animal levels based on the proximity to built-up areas, e.g. Every ~500 meters you go away from built-up areas, the animal level bands increase by 5 levels.
- It would be expensive to render the entire physical world in my game map, so I instead render the map on the fly, deterministically. I also fetch animal calls in real time so that when they enter battle you hear a pigeon cooing, for example, which is pretty cool. I also fetch the animals conservation status, i.e. how endangered is it, and give you more reward (leaves, in-game currency) for capturing rarer animals. I "launched" the game about a month ago, but have not really been publicising it as I've been working on various updates and improvements, but now I am sharing it more openly. It's got about 20 players so far, from around the world, and around 500 unique animal species have already been encountered. Challenges have been keeping the costs low. Servers cost about $200 / month, text-gen is basically free as I get free tokens from OpenAI for sharing data, it's not privacy-related, and image-gen costs about $0.04 per sprite (2 per animal). My background: not a programmer, originally a mechanical engineer and then business development manager, then started learning programming and building apps with AI in the last few years. Feel free to ask me any technical details, happy to share. https://ift.tt/E4tZqPH May 26, 2026 at 01:18AM
Show HN: Cursed Browser – a VLM reads the HTML and hallucinates the page https://ift.tt/rdsfZGP
Show HN: Cursed Browser – a VLM reads the HTML and hallucinates the page https://ift.tt/gSuvatx May 25, 2026 at 11:23PM
Sunday, May 24, 2026
Show HN: My homelab is outperforming the stock market https://ift.tt/Xyd2jvf
Show HN: My homelab is outperforming the stock market https://stocks.sjer.red May 25, 2026 at 03:24AM
Show HN: Replacing a 3.4MB video with 40kb of GSAP https://ift.tt/0uOBwn8
Show HN: Replacing a 3.4MB video with 40kb of GSAP https://ift.tt/rc7gfmL May 25, 2026 at 02:29AM
Show HN: Baby's First Cards – real photo flash cards for toddlers https://ift.tt/6Q0elwf
Show HN: Baby's First Cards – real photo flash cards for toddlers App maker here. I built this because most flash card apps use cartoonish illustrations that don't help babies recognize real objects.
This app lets you take photos of real things around the house or pick from curated real photo sets. Key features: • Take your own photos as flash cards • Record your own voice for each card • Pre-loaded kits with high-quality real photos and real animal sounds • Bilingual (English and Chinese) mode • Fully offline, no ads, no data collection • One-time purchase, no subscription Happy to answer questions or discuss the development process! https://ift.tt/5mgpnRZ May 24, 2026 at 06:43PM
Saturday, May 23, 2026
Show HN: Running BitNet b1.58 inside DRAM by breaking DDR4 timing rules https://ift.tt/3SDq8XA
Show HN: Running BitNet b1.58 inside DRAM by breaking DDR4 timing rules I have been working on running BitNet b1.58 inside DRAM by intentionally breaking DDR4 timing rules. Also made a visual explainer: https://pcdeni.github.io/CaSA/explainer/
This is tested and works inside commercial off the shelf memory with custom memory controller in the FPGA. The underlying effect is well characterized in academic papers (cmu safari, simra, dram bender, etc). In the process of getting this to work I also made previously undocumented discovery about DDR behaviour: https://pcdeni.github.io/CaSA/explainer/xor-spread.html
Overall it is a bit slow, since data (in full rows) needs to be moved even when what is actually needed is only the count of the '1' bits (popcount). To make it competitive memory die changes would be needed, but not as drastic as merging compute and memory into one silicon. This would then avoid the memory wall issue the industry is currently facing. May 24, 2026 at 12:24AM
Show HN: Vibe-coded Steam, but in the browser https://ift.tt/Y2MVCPQ
Show HN: Vibe-coded Steam, but in the browser Hi HN! Lifelong avid gamer here, hugely passionate about WASM and WebGPU. I firmly believe that these technologies will enable console and PC quality titles to be accessible through a browser, and with this, we'll need a new discoverability layer. Looking online, platforms like CrazyGames and Poki cater to a casual/hypercasual demographic, and I couldn't find anything out there that was for me, a core gamer that typically uses Steam and consoles. So I vibe coded my own! It features WASM ports of classic games, as well as some indie Unity titles. The goal is to host mainly WebGPU titles moving forward, and to serve as a way for smaller developers to get discovered outside of crowded channels like Steam. Here's a few features from the platform I wanted to highlight: • Controller support
• A console-like UI/UX
• Community forums (much work to do here)
• Basic achievements
• Store pages, modeled after Steam
• Social features
• Asset chunking to enable faster load times I'd love to get feedback on the portal, to make it even better. Thanks! https://gameghost.manus.space/ May 24, 2026 at 01:24AM
Show HN: A satirical idle game about running an AI startup https://ift.tt/DQL1S85
Show HN: A satirical idle game about running an AI startup I made an idle/clicker about running an AI startup. You start with a cat-vs-dog classifier and try to make it to AGI, but the NYT sues you for training data, Yann tweets that scaling is dead, and your fired ML engineer leaks the Slack. https://ift.tt/3QdM4iI May 24, 2026 at 12:24AM
Friday, May 22, 2026
Show HN: CoreMem – Portable context for AI agents https://ift.tt/yukS9wD
Show HN: CoreMem – Portable context for AI agents CoreMem lets you build collections of context, called a mem, and share it with any AI agent via URL, a Chrome extension, MCP, Cursor/VS Code plugins, a skill, and more. Instead of re-explaining your project or goal when you switch agents or start new sessions, CoreMem keeps your context centrally organized so that any AI tool can read it. This originally started as a CLI I built that kept pieces of context (Project A/B/C details, my writing style, preferred tech stacks, coding style, etc) in a SQLite database. I could instruct various agents to “use my `coremem` CLI to retrieve details about [project A] before we get started.” It solved a problem for me b/c I am continually bouncing around between different projects and chat agents, and having to re-explain myself every time became an exercise in either repeating myself or copy/pasting summaries I’d saved from previous sessions. I decided to make this a little more robust and portable, so I turned that original CLI into a SaaS. Tl;dr: You can create a “mem”, which is a collection of 1 or more pieces of related context, and share that mem with any agent to quickly get them up to speed. Right now I’ve got integrations in the form of revokable share links, a Chrome Plugin, Cursor Plugin, Cursor/VS Code extension, Claude Code plugin, ChatGPT/Claude/Gemini/et al via MCP. Since I mostly work from the CLI, I use the Claude Code plugin or create 5-min share links I can drop into a chat, but I’ve tried to make this useful to people who mainly work from a browser or an IDE. I’ve been coding for 30+ years, and I vibed most of this. I was able to use CoreMem to help it built itself as I jumped between various coding agents, having them grab context then start a new task. I’m sure my architecture and engineering experience helped, but building this in a few weeks confirmed for me that the barrier for someone to build a tool they need to solve a problem is incredibly low. The rush I used to get from coding has mostly faded, but I’m getting similar rushes managing different agents to build things now. https://coremem.app May 22, 2026 at 11:22PM
Show HN: Mechs.lol – a free, web-based autoshooter game https://ift.tt/jCKHSrv
Show HN: Mechs.lol – a free, web-based autoshooter game One unexpected benefit of LLMs is I can work on projects I otherwise wouldn't have taken on. I made a web-based autoshooter (with multiplayer support) heavily using AI / LLMs. This is something I'd consider "alpha" quality so don't expect a super polished experience but it's hopefully fun https://mechs.lol May 22, 2026 at 10:34PM
Subscribe to:
Posts (Atom)
Show HN: Scrolodex – A super simple window switcher for macOS https://ift.tt/r7w1V5X
Show HN: Scrolodex – A super simple window switcher for macOS I built scrolodex to scratch my own itch of having a quick and simple way to s...
-
Show HN: A directory of 800 free APIs, no auth required Explore reliable free APIs for developers — ideal for web and software development, ...
-
Show HN: I built Dirac, Hash Anchored AST native coding agent, costs -64.8 pct Fully open source, a hard fork of cline. Full evals on the gi...
-
Show HN: I built a FOSS tool to run your Steam games in the Cloud I wanted to play my Steam games but my aging PC couldn’t keep up, so I bui...