frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

How Ireland became the Saudi Arabia of siphoned-off global profits

https://www.economist.com/europe/2025/06/12/how-ireland-became-the-saudi-arabia-of-siphoned-off-global-profits
1•austinallegro•47s ago•1 comments

The BBC uses robo-cameras disguised as dung heaps to film wildlife up close

https://old.reddit.com/r/nextfuckinglevel/comments/1k7ggw8/the_bbc_uses_robocameras_disguised_as_dung_heaps/
1•palmfacehn•3m ago•0 comments

Datalog in Rust

https://github.com/frankmcsherry/blog/blob/master/posts/2025-06-03.md
2•Bogdanp•6m ago•0 comments

The long afterlife of a literary classic

https://thecritic.co.uk/the-long-afterlife-of-a-literary-classic/
1•pepys•7m ago•0 comments

Apple WWDC25: Platforms State of the Union [video]

https://developer.apple.com/videos/play/wwdc2025/102/
1•tosh•7m ago•0 comments

Voice-controlled agentic robot with pi0

https://github.com/PathOn-AI/awesome-lerobot/tree/main/control_robot/voice_control_agentic_robot
4•danqing0703•8m ago•1 comments

Associations Between Demographic and Relationship Variables and Sexual Desire

https://www.researchsquare.com/article/rs-6799953/v1
1•mpweiher•8m ago•0 comments

Last fifty years of integer linear programming: Recent practical advances

https://inria.hal.science/hal-04776866v1
1•teleforce•11m ago•0 comments

Google Cloud Incident Report – 2025-06-13

https://status.cloud.google.com/incidents/ow5i3PPK96RduMcb1SsW
1•denysvitali•13m ago•0 comments

A Realtime Multimodal AI Agent Framework with Go/Python/C++/Node Extension SDKs

https://theten.ai/
1•halajohn•18m ago•1 comments

Show HN: A Product to Feature Your Products

https://www.go-publicly.com/
1•Sathish_t•20m ago•1 comments

AI Makes Students Dumb and What We Can Do About It

https://medium.com/@klaudel.b/how-ai-makes-students-dumb-and-what-we-can-do-about-it-eac690db46d5
2•jruohonen•24m ago•1 comments

Great Blue Norther of November 11, 1911

https://en.wikipedia.org/wiki/Great_Blue_Norther_of_November_11,_1911
1•gametorch•28m ago•0 comments

Chatty I/O antipattern (2022)

https://learn.microsoft.com/en-us/azure/architecture/antipatterns/chatty-io/
2•motorest•29m ago•0 comments

ScienceDirect AI

https://www.elsevier.com/products/sciencedirect/sciencedirect-ai
1•jruohonen•37m ago•1 comments

Farewell Economy 7, a Casualty of the Long Wave Switch-Off

https://hackaday.com/2025/04/10/farewell-economy-7-a-casualty-of-the-long-wave-switch-off/
2•austinallegro•38m ago•0 comments

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

https://blog.pragmaticengineer.com/builder-ai-did-not-fake-ai/
12•todsacerdoti•39m ago•2 comments

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

https://ceramics.onlinelibrary.wiley.com/doi/10.1111/jace.20650
1•PaulHoule•40m ago•1 comments

Lisp Machine

https://en.wikipedia.org/wiki/Lisp_machine
2•doener•41m ago•1 comments

How to Write the Worst Possible Python Code (Humor)

https://effective-programmer.com/how-to-write-the-worst-possible-python-code-8c6e49816e90?sk=d06d4241ce97a51a969fbce67070f8ba
2•naveed125•42m ago•0 comments

The most reliable AI agent that works – where Claude, Gemini, and o3 fail

https://substack.recursal.ai/p/the-worlds-most-reliable-ai-agent
1•djshah•44m ago•0 comments

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

https://www.businessinsider.com/y-combinator-yc-demo-day-spring-ai-agent-startups-2025-6
5•aspenmayer•45m ago•2 comments

Roll: Reinforcement Learning Optimization for Large-Scale Learning

https://github.com/alibaba/ROLL
1•robertnishihara•45m ago•0 comments

The Talented Ms. Highsmith

https://yalereview.org/article/working-for-patricia-highsmith
2•Caiero•46m ago•0 comments

How Are Students Using Generative AI in UK Universities?

https://markcarrigan.net/2025/05/30/how-are-students-using-generative-ai-in-uk-universities/
1•jruohonen•47m ago•2 comments

Cure Dolly's Japanese Grammar Lessons

https://kellenok.github.io/cure-script/
2•agnishom•48m ago•0 comments

Show HN: I'm a student built an AI to chat with YouTube videos

https://www.wiyomi.com/explore
2•adrinant•48m ago•0 comments

China Moves Forward on Next-Generation 400 Km/H High-Speed Rail

https://www.newsweek.com/china-high-speed-rail-next-generation-2085191
3•decimalenough•49m ago•0 comments

The z80 technique reveals the source code for Atlassian's 'rovo' AI assistant

https://ghuntley.com/atlassian-rovo-source-code/
1•ghuntley•50m ago•0 comments

Embedding Benchmark for Retrieval

https://huggingface.co/spaces/embedding-benchmark/RTEB
1•fzliu•56m ago•0 comments
Open in hackernews

Show HN: I built a tool to turn handwriting into a font with PyTorch/OpenCV

https://handfonted.xyz/
2•reshamgaire•16h ago
Hey HN,

For the last few months, I've been working on a personal project called HandFonted, and I'm excited to share the result with you all. The goal was to build a fully automated pipeline that could take a single image of a person's handwritten alphabets and generate a usable .ttf font file.

You can try it here: https://handfonted.xyz And the code is open-source here: https://github.com/reshamgaire/HandFonted

The Technical Stack and Workflow: The process is broken down into three main stages:

1. Segmentation (OpenCV): The user uploads an image. I use a series of OpenCV functions to process it: resizing for consistency, adaptive Gaussian thresholding to handle lighting variations, and morphological operations (opening/dilation) to clean up noise. Contours are then detected to isolate each character. I also added a small heuristic to merge dots with their parent 'i' and 'j' bodies by checking for components that are close and vertically aligned.

2. Classification (PyTorch): This is the machine learning core. The segmented character images are fed into a custom-built CNN. I experimented with a few architectures and landed on a hybrid model that combines concepts from ResNet (residual blocks for deep training) and Inception (parallel convolutions of different kernel sizes). The model was trained on a dataset of character images to classify each of the 52 uppercase and lowercase letters.

3. Font Generation (fontTools & scikit-image): Once a character is classified, the real fun begins. First, the bitmap image is skeletonized using scikit-image. A distance transform is then applied to the skeleton to create a stroke of uniform thickness. skimage.measure.find_contours is used to trace the outline of this new, clean character, converting it from a raster image to a set of vector coordinates. Finally, I use the fontTools library to programmatically build the font. It takes the vector outlines, converts them into TTF-compatible glyphs, and inserts them into a base font file, replacing the original glyph data and adjusting metrics like side-bearing and advance width.

Challenges & Learnings: The biggest challenge was glyph metrics. Simply plopping a new character shape into a font file doesn't work. I had to write logic to estimate a reasonable LSB (Left Side Bearing) and advance width to make the font somewhat usable for typing, though it's still an area for improvement. Training a robust classification model that works on varied handwriting styles was tough. Data augmentation was key here. The project was a fantastic deep dive into some classic computer vision problems and the surprisingly complex world of font file structures.

I built this because I thought it was a cool problem to solve. It's completely free and open source. I would love to hear any feedback you have, especially on the technical implementation. Happy to answer any questions!