frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Recall for Linux

https://github.com/rolflobker/recall-for-linux
134•anticensor•3h ago•45 comments

Rust cross-platform GPUI components

https://github.com/longbridge/gpui-component
13•xvilka•58m ago•3 comments

Geoutil.com – Measure distances, areas, and convert geo data in the browser

https://geoutil.com
26•FreeGuessr•6d ago•5 comments

The last European train that travels by sea

https://www.bbc.com/travel/article/20251024-the-last-european-train-that-travels-by-sea
51•1659447091•1h ago•42 comments

WorldGrow: Generating Infinite 3D World

https://github.com/world-grow/WorldGrow
5•cdani•1h ago•2 comments

Why I'm teaching kids to hack computers

https://www.hacktivate.app/why-teach-kids-to-hack
74•twostraws•4d ago•20 comments

How I turned Zig into my favorite language to write network programs in

https://lalinsky.com/2025/10/26/zio-async-io-for-zig.html
233•0x1997•10h ago•80 comments

Should LLMs just treat text content as an image?

https://www.seangoedecke.com/text-tokens-as-image-tokens/
5•ingve•6d ago•0 comments

Why JPEG XL Ignoring Bit Depth Is Genius (and Why AVIF Can't Pull It Off)

https://www.fractionalxperience.com/ux-ui-graphic-design-blog/why-jpeg-xl-ignoring-bit-depth-is-g...
45•Bogdanp•2h ago•26 comments

Show HN: Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang
59•yar-kravtsov•5h ago•21 comments

If Your Adversary Is the Mossad (2014) [pdf]

https://www.usenix.org/system/files/1401_08-12_mickens.pdf
94•xeonmc•2h ago•72 comments

An overengineered solution to `sort | uniq -c` with 25x throughput (hist)

https://github.com/noamteyssier/hist-rs
67•noamteyssier•4d ago•38 comments

What Happened to Running What You Wanted on Your Own Machine?

https://hackaday.com/2025/10/22/what-happened-to-running-what-you-wanted-on-your-own-machine/
53•marbartolome•1h ago•12 comments

Show HN: MyraOS – My 32-bit operating system in C and ASM (Hack Club project)

https://github.com/dvir-biton/MyraOS
192•dvirbt•13h ago•40 comments

You already have a Git server

https://maurycyz.com/misc/easy_git/
530•chmaynard•23h ago•363 comments

Sandhill cranes have adopted a Canada gosling

https://www.smithsonianmag.com/science-nature/these-sandhill-cranes-have-adopted-a-canadian-gosli...
104•NaOH•4d ago•19 comments

Ken Thompson recalls Unix's rowdy, lock-picking origins

https://thenewstack.io/ken-thompson-recalls-unixs-rowdy-lock-picking-origins/
170•dxs•17h ago•24 comments

Structure and Interpretation of Classical Mechanics

https://tgvaughan.github.io/sicm/toc.html
29•the-mitr•6h ago•8 comments

Are-we-fast-yet implementations in Oberon, C++, C, Pascal, Micron and Luon

https://github.com/rochus-keller/Are-we-fast-yet
67•luismedel•11h ago•15 comments

A definition of AGI

https://arxiv.org/abs/2510.18212
234•pegasus•16h ago•368 comments

Sphere Computer – The Innovative 1970s Computer Company Everyone Forgot

https://sphere.computer/
63•ChrisArchitect•3d ago•5 comments

We Saved $500k per Year by Rolling Our Own "S3"

https://engineering.nanit.com/how-we-saved-500-000-per-year-by-rolling-our-own-s3-6caec1ee1143
206•mpweiher•13h ago•166 comments

A bug that taught me more about PyTorch than years of using it

https://elanapearl.github.io/blog/2025/the-bug-that-taught-me-pytorch/
389•bblcla•3d ago•74 comments

Feed the bots

https://maurycyz.com/misc/the_cost_of_trash/
220•chmaynard•22h ago•158 comments

NORAD’s Cheyenne Mountain Combat Center, c.1966

https://flashbak.com/norad-cheyenne-mountain-combat-center-478804/
122•zdw•6d ago•61 comments

Asbestosis

https://diamondgeezer.blogspot.com/2025/10/asbestosis.html
264•zeristor•1d ago•195 comments

Poison, Poison Everywhere

https://loeber.substack.com/p/29-poison-poison-everywhere
228•dividendpayee•12h ago•143 comments

Tamper-Sensing Meshes Using Low-Cost, Embedded Time-Domain Reflectometry

https://jaseg.de/blog/paper-sampling-mesh-monitor/
20•luu•3d ago•3 comments

Eavesdropping on Internal Networks via Unencrypted Satellites

https://satcom.sysnet.ucsd.edu/
203•Bogdanp•6d ago•30 comments

Researchers demonstrate centimetre-level positioning using smartwatches

https://www.otago.ac.nz/news/newsroom/researchers-demonstrate-centimetre-level-positioning-using-...
55•geox•1w ago•20 comments
Open in hackernews

Show HN: Write Go code in JavaScript files

https://www.npmjs.com/package/vite-plugin-use-golang
59•yar-kravtsov•5h ago
I built a Vite plugin that lets you write Go code directly in .js files using a "use golang" directive. It compiles to WebAssembly automatically.

Comments

hshdhdhehd•2h ago
Like it. Especially the how to use it and when to use it guidance.
nsonha•2h ago
seems like an unintuitive idea that could have only come from someone infected by react/vercel. The natural way that most would think about this is just write go in a go file and have an import attribute or macro
yar-kravtsov•2h ago
Fair take! Though, this was literally built as a joke in response to @ibuildthecloud's tweet. Sometimes the dumbest ideas are the most fun to prototype.
iamsaitam•2h ago
Are there vaccines for these infected? I hope we can stop the spread /s
foreigner•2h ago
Reminds me of this toy I made some years ago: https://www.npmjs.com/package/polyglot-tag
b_e_n_t_o_n•2h ago
Hah. Back in the day I wrote a plugin to convert Lua files into a module that ran via one of the JS lua vms. Good fun.
smashah•2h ago
funny but this is going to become extremely popular.
pjmlp•2h ago
Cool hack, just use JavaScript.
kitd•2h ago
The author explains why you might want to use Go instead at the end of the readme.
onion2k•1h ago
I don't think any of the use cases suggested really make sense though. For a compute-intense task like audio or video processing, or for scientific computing where there's likely to be a requirement to fetch a ton of data, the browser is the wrong place to do that work. Build a frontend and make an API that runs on a server somewhere.

As for cryptography, trusting that the WASM build of your preferred library hasn't introduced any problems demonstrates a level of risk tolerance that far exceeds what most people working in cryptography would accept. Besides, browsers have quite good cryptographic APIs built in. :)

tgv•1h ago
> For a compute-intense task

The browser often runs on an immensely powerful computer. It's a waste to use that power only for a dumb terminal. As a matter of fact, my laptop is 6 years old by now, and considerably faster than the VPS on which our backend runs.

I let the browser do things such as data summarizing/charting, and image convolution (in Javascript!). I'm also considering harnassing it for video pre-processing.

pjmlp•1h ago
You can take advantage of that power via WebGPU, or WebGL if the browser is not yet up to it.
preommr•1h ago
> For a compute-intense task like audio or video processing, or for scientific computing where there's likely to be a requirement to fetch a ton of data, the browser is the wrong place to do that work.

... I mean... elaborate?

Everytime I've heard somebody say this, it's always a form of someone stuck in the 90s/00s where they have this notion that browsers showing gifs is the ceiling and that real work can only happen on the server.

Idk how common this is now, but a a few years ago (~2017) people would show projects like figma tha drew a few hundred things on screen and people would be amazed. Which is crazy, because things like webgl, wasm, webrtc, webaudio are insanely powerful apis that give pretty low level access. A somewhat related idea are people that keep clamoring for dom access in wasm because, again, people have this idea that web = webpage/dom, but that's a segway into a whole other thing.

Cthulhu_•2h ago
99 times out of a hundred, sure. But sometimes you need better performance or a library that isn't available in JS.
pjmlp•1h ago
WebGPU or WebGL is the answer.
hollowturtle•1h ago
Better performance? For javascript code that calls into native platform apis provided by the browser it's been alteady proven that performance is an order of magnitude better than calling into wasm and doing all the sheningans to move bytes from and to wasm
h33t-l4x0r•1h ago
How big is it? Is it smaller than imagemagick wasm?
montakaoh•1h ago
we need to go deeper
tkzed49•47m ago
Beautiful. Minor feedback: rather than having a "use golang" directive, just allow imports of .go files. This is more idiomatic for JS bundlers.
zikani_03•45m ago
Looks interesting and good use case for introducing folks to extending web apps with WASM functionality.

Used a similar technique using tinygo wasm builds (without Vite ofcourse) on toy project where WASM based functionality acted as a fallback if the API wasn't available or user was offline - found it an interesting pattern.

liampulles•20m ago
Just be careful with this backend-code-in-frontend stuff. If it's needed for some computationally expensive logic that is logically client side, then fine. But be wary of letting the client dictate business rules and having open-for-anything APIs (GraphQL is particularly prone to this).

I've seen teams do this in the wild more than once.