frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Matthew Shulman, co-creator of Intellisense, died 2019 March 22

https://www.capenews.net/falmouth/obituaries/matthew-a-shulman/article_33af6330-4f52-5f69-a9ff-58...
1•canucker2016•1m ago•1 comments

Show HN: SuperLocalMemory – AI memory that stays on your machine, forever free

https://github.com/varun369/SuperLocalMemoryV2
1•varunpratap369•2m ago•0 comments

Show HN: Pyrig – One command to set up a production-ready Python project

https://github.com/Winipedia/pyrig
1•Winipedia•4m ago•0 comments

Fast Response or Silence: Conversation Persistence in an AI-Agent Social Network [pdf]

https://github.com/AysajanE/moltbook-persistence/blob/main/paper/main.pdf
1•EagleEdge•4m ago•0 comments

C and C++ dependencies: don't dream it, be it

https://nibblestew.blogspot.com/2026/02/c-and-c-dependencies-dont-dream-it-be-it.html
1•ingve•4m ago•0 comments

Show HN: Vbuckets – Infinite virtual S3 buckets

https://github.com/danthegoodman1/vbuckets
1•dangoodmanUT•5m ago•0 comments

Open Molten Claw: Post-Eval as a Service

https://idiallo.com/blog/open-molten-claw
1•watchful_moose•5m ago•0 comments

New York Budget Bill Mandates File Scans for 3D Printers

https://reclaimthenet.org/new-york-3d-printer-law-mandates-firearm-file-blocking
1•bilsbie•6m ago•0 comments

The End of Software as a Business?

https://www.thatwastheweek.com/p/ai-is-growing-up-its-ceos-arent
1•kteare•7m ago•0 comments

Exploring 1,400 reusable skills for AI coding tools

https://ai-devkit.com/skills/
1•hoangnnguyen•8m ago•0 comments

Show HN: A unique twist on Tetris and block puzzle

https://playdropstack.com/
1•lastodyssey•11m ago•0 comments

The logs I never read

https://pydantic.dev/articles/the-logs-i-never-read
1•nojito•12m ago•0 comments

How to use AI with expressive writing without generating AI slop

https://idratherbewriting.com/blog/bakhtin-collapse-ai-expressive-writing
1•cnunciato•14m ago•0 comments

Show HN: LinkScope – Real-Time UART Analyzer Using ESP32-S3 and PC GUI

https://github.com/choihimchan/linkscope-bpu-uart-analyzer
1•octablock•14m ago•0 comments

Cppsp v1.4.5–custom pattern-driven, nested, namespace-scoped templates

https://github.com/user19870/cppsp
1•user19870•15m ago•1 comments

The next frontier in weight-loss drugs: one-time gene therapy

https://www.washingtonpost.com/health/2026/01/24/fractyl-glp1-gene-therapy/
2•bookofjoe•18m ago•1 comments

At Age 25, Wikipedia Refuses to Evolve

https://spectrum.ieee.org/wikipedia-at-25
1•asdefghyk•21m ago•3 comments

Show HN: ReviewReact – AI review responses inside Google Maps ($19/mo)

https://reviewreact.com
2•sara_builds•21m ago•1 comments

Why AlphaTensor Failed at 3x3 Matrix Multiplication: The Anchor Barrier

https://zenodo.org/records/18514533
1•DarenWatson•22m ago•0 comments

Ask HN: How much of your token use is fixing the bugs Claude Code causes?

1•laurex•26m ago•0 comments

Show HN: Agents – Sync MCP Configs Across Claude, Cursor, Codex Automatically

https://github.com/amtiYo/agents
1•amtiyo•27m ago•0 comments

Hello

2•otrebladih•28m ago•1 comments

FSD helped save my father's life during a heart attack

https://twitter.com/JJackBrandt/status/2019852423980875794
3•blacktulip•31m ago•0 comments

Show HN: Writtte – Draft and publish articles without reformatting, anywhere

https://writtte.xyz
1•lasgawe•33m ago•0 comments

Portuguese icon (FROM A CAN) makes a simple meal (Canned Fish Files) [video]

https://www.youtube.com/watch?v=e9FUdOfp8ME
1•zeristor•34m ago•0 comments

Brookhaven Lab's RHIC Concludes 25-Year Run with Final Collisions

https://www.hpcwire.com/off-the-wire/brookhaven-labs-rhic-concludes-25-year-run-with-final-collis...
3•gnufx•36m ago•0 comments

Transcribe your aunts post cards with Gemini 3 Pro

https://leserli.ch/ocr/
1•nielstron•40m ago•0 comments

.72% Variance Lance

1•mav5431•41m ago•0 comments

ReKindle – web-based operating system designed specifically for E-ink devices

https://rekindle.ink
1•JSLegendDev•43m ago•0 comments

Encrypt It

https://encryptitalready.org/
1•u1hcw9nx•43m ago•1 comments
Open in hackernews

Ask HN: Open framework for generating thumbnails on untrusted files?

2•dafelst•3mo ago
Hi HN - for part of a project I'm working on, I need to generate previews/thumbnails of files that may be untrusted. This would be across a variety of file types (the usual suspects like graphics files, documents, video), but also ideally is easily extended with downloadable "handlers" such that more obscure file types can be handled at run-time. Ideally the result is cross-platform in that it can be run on windows/linux/osx clients, but also on server infra (e.g. cloudflare workers).

I have searched the web and github (and had ChatGPT do that too) and while there are some frameworks out there like `preview-generator` in the python ecosystem and `thumbnailator`, they all seem to shell out to native handlers. While native handlers are all well and good and there are good examples for extensible plugin systems with native code, it does complicate things for runtime extensibility.

My initial thought was to define a simple function API and have the "handlers" implemented in WebAssembly such that they can be loaded and runtime and effectively sandboxed, one shot stream processors.

Does anyone know if anything project like this already exists, or does anyone have any advice?

Comments

fsflover•3mo ago
Perhaps you may be interested in Qubes OS, security-oriented OS, which allows to convert untrusted images to trusted ones using a disposable VM: https://github.com/QubesOS/qubes-app-linux-img-converter/blo...
dafelst•3mo ago
This is very cool, thank you. Spinning up a dedicated VM for this seems very heavyweight though, especially on client machines.
fsflover•3mo ago
https://roscidus.com/blog/blog/2021/03/07/qubes-lite-with-kv...
coobird•3mo ago
Hi, author of Thumbnailator here.

Just FYI, Thumbnailator itself doesn't delegate processing to native processing -- it's just a wrapper around Java's Image I/O[1] functionality. In other words, it delegates the compression/decompression to loaded Image I/O plugins, hence, whether native processes are used depends on those plugins.

In terms of cross-platform support, the default Image I/O plugins that come with Java shouldn't be much of a concern. For 3rd party ones, IIRC there are some that will use native libraries, while others are pure Java. One good library on the Image I/O plugins front is TwelveMonkeys ImageIO[2], which provides plugins to support a wide variety of image formats.

1: https://docs.oracle.com/javase/8/docs/technotes/guides/image...

2: https://github.com/haraldk/TwelveMonkeys