Skip to content
AI NEWS JOURNAL
AI, IN PERSPECTIVE

Search AI news

Search headlines, summaries and articles to connect the dots.

Newest first

Show HN: A React Native math keypad for kids – fractions, exponents, no WebView

I run a small school for gifted kids in Honolulu, and our students do some of their math practice on iPads. I wanted a 9-year-old to be able to type 3 2/5 the way she'd write it on paper, and couldn't find a React Native component that did it. MathLive and MathQuill are good editors, but they're built on the DOM, so in React Native they only run inside a WebView, and I didn't want a WebView inside every answer box.It's harder than you might think to to make sure arrow keys, taps in parentheses, delete keys, tab key, etc. on a hardware keyboard all work as expected. We packaged it up so other schools/builders don't need to reinvent the wheel.It's drawn with react-native-svg and runs in Expo Go. A dev build adds two small iOS modules.We pulled it out of the tutoring app our students use every day and put it under MIT. It hasn't been run on Android yet. Web support is new in 0.1.1: 0.1.0 crashed on react-native-web, which I found out while taking a screenshot for this post. Comments URL: https://news.ycombinator.com/item?id=50621077 Points: 1 # Comments: 0

Show HN: Alter – Restyle any website by typing what you want (extension, BYOK)

Alter is a Chrome extension: open it on any site, type something like "hide the sidebar and display articles in Hacker News format", or "give text more contrast and add a dark mode," and the change will show up on the site as a live preview. Save it, and it will be there every time you return to the site.Open source and BYOK (currently only Anthropic).It can also do one-off things like downloading the page contents into an MD file, etc.Not on the Chrome Web Store; download the ZIP and use Load unpacked in Developer mode.Would love to hear where it does poorly. Comments URL: https://news.ycombinator.com/item?id=50617387 Points: 2 # Comments: 0

Show HN: Temporary hot reloading for your Home Manager/Nix backed config files

I have written this tool some time ago to solve my gripe with Nixos. I'd tinker with my configs quite a lot in order to get some details right and I would have to rebuild my system each time in order to see the effects. This tool temporarily repins your nix backed symlinks to editable files so you can iterate quicker. Comments URL: https://news.ycombinator.com/item?id=50625035 Points: 1 # Comments: 0

Show HN: Gitfold – every Git branch as a folder, ready in a second

Hi HN!I want to show you a project which I'm using myself to save time on worktrees creation and management. My case is a bit specific because I'm normally working on a really big monorepo, where creation of a worktree takes around a minute and 20+GB of disk space. Previously I was using a pool of worktrees which were managed by my own sessions manager. It worked, but was a bit clunky and sometimes I was running out of the worktrees anyway.As a fun side-project I decided to create a VFS for serving git branches directly from the git object store, with only one real checkout needed. I started with read only version to speed-up the reviews (I often checkout the PRs code to get LLM support) and that is very easy to do with FUSE, but it would not let me fully replace my old solution. Adding write capabilities was a bit more involved, and writing without full kernel passthrough turned out to be a few times slower. But interestingly for my workflows it does not matter. I was also running some external tests like full Linux kernel build (allmodconfig) and the performance hit vs a native build was around 2.5%. So far so good!After building the core I realised that having VFS allows me to play with other interesting features. And I implemented a few:- tree structure of branch dependencies; you can e.g. have branch 'api', on which 'store' and 'ui' depend. When you add or fetch new commits to 'api', whole tree rebases automatically- read only views showing "merged" state of each node in the tree from the previous point; e.g. you can check how 'api' branch would look like, if both 'store' and 'ui' would be merged as is; currently it has two modes: only committed or all changes- command for showing conflicts between current worktree and all other open worktrees- command for showing all worktrees touching given file of interest- agents getting real time notifications about potential conflictsWhat is also important is that it works without an issue with all native git commands. Git sees those workspaces as normal worktrees. So you can e.g. normally rebase every such worktree separately (which is one of the main differences compared to overlayfs). I'm sure some people will think this project is very similar to GitFS, EdenFS, OverlayFS, ArtifactFS, etc... spoiler alert: it is not. Most of those projects are focusing on fetching objects from remote git server lazily. Which I can imagine is very useful if you need a fresh checkout on a new instance (eg. in a CI). But that is not my use case. I have a full local checkout, and need to be able to create and delete on demand a lot of worktrees. That is it :) But I also prepared a full comparison, just in case: https://github.com/pkukielka/gitfold/blob/main/docs/comparis...I'm happy to answer any questions! Comments URL: https://news.ycombinator.com/item?id=50601881 Points: 1 # Comments: 0

Show HN: A modern take on the Go language

Targets Go to use the toolchain and the package system you already know and love Comments URL: https://news.ycombinator.com/item?id=50595828 Points: 2 # Comments: 0

Show HN: Compare how codex and Claude Build a procedural octopus jar escape

Article URL: https://keepplain.com/b/build-a-procedural-octopus-jar-escape-in-threejs/vs/build-a-procedural-octopus-jar-escape-in-threejs-cjma,build-a-procedural-octopus-escaping-a-jar-in-threejs,build-a-procedural-octopus-jar-escape-scene-in-threejs Comments URL: https://news.ycombinator.com/item?id=50591321 Points: 1 # Comments: 1

Show HN: Hikari.ImGui, a pure C# re-implementation of Dear ImGui

A pure, standalone C# re-implementation of the much-beloved and widely used immediate-mode GUI for 3D applications, Dear ImGui, targeting version v1.93.0-docking with zero native dependencies. Please feel free to use for your projects. Also available as a nuget package. Comments URL: https://news.ycombinator.com/item?id=50595885 Points: 2 # Comments: 0

Show HN: RayClay – an open source C app framework for desktop, mobile, and web

RayClay aims to be the most developer-friendly framework for creating native desktop and mobile applications. It handles all the DIY aspects of C for you while retaining all the performance benefits of using a low-level programming language.MY MOTIVATIONAt the start of the year I decided I wanted to develop my own app with the goal of releasing it on mobile, desktop, and web.Probably like most developers, I wanted to build a closed-source app and distribute it to whomever I wanted. And I didn't want to have to pay any sort of fee or owe any conditions to the development tools I used. It turns out, this set of criteria really limited what framework I could choose.Distributing it to whomever I wanted meant that the app had to be properly cross-platform. This cut out options like React Native (no official Linux) and Electron (no iOS or Android). And, while Tauri has yeses for all platforms, I decided that its dependence on platform-native webviews would probably mean excessive ongoing maintenance which I would prefer not to have to deal with. These frameworks were all very bloated anyways so it didn't feel like a big loss tbh.So I was left with choosing between Qt and Flutter, but Qt has this finicky dual licensing model and Flutter still felt a bit too bloated.Ultimately, I realised that I was looking for a framework that didn't exist: lightweight like Qt but also convenient and fully open-source like Flutter. I wanted the performance of a lower-level framework with the convenience of less-performant frameworks. Is that really so much to ask for :/This led me to develop RayClay. It's already 6 months old but now I feel it is really ready for the world to check it out since I've released v1.0 (which I deliberately held back releasing until I though it was ready).This description is adapted from my blog post here https://www.impizulu.com/blog/why-i-built-rayclay where I give a little more detail. Comments URL: https://news.ycombinator.com/item?id=50600516 Points: 1 # Comments: 0