frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Jest/Vitest interactive course (runs in the browser)

https://howtotestfrontend.com/courses/jest-vitest-fundamentals
11•howToTestFE•2d ago

Comments

howToTestFE•2d ago
learn step by step the main features of both Jest and Vitest (they're very similar for most common usages) in these interactive4 lessons
felooboolooomba•1h ago
Vitest is a brilliant software. I wish that the vitest vscode extension would be managed in a more careful manner though, too buggy for me to use.
howToTestFE•1h ago
yup vitest is great (my default choice for new projects).

vitest browser mode is really nice too. (new-ish feature, although at this point it isn't exactly new).

halflife•57m ago
Jest mocks allow developers to write bad code. Instead of separating concerns with DI, jest mocks overwrite the importing mechanism without any type safety. Also, if you wish to migrate to native node test runner, the mocks lock you into jest.

Use proper mocks with ts mockito and it will force you to write better code.

howToTestFE•49m ago
100%. its a horrible code smell, and AI loves to jest.mock (or vi.mock()). (The most recent blog post on my site covers this as one of the things to look out for in AI generated tests...)

in JS (with Jest/Vitest) it is far too easy to call mock()...

epolanski•19m ago
I think unit testing FE to be borderline useless and very expensive to maintain.

I have seen so many broken products where leads where obsessed with 100% coverage and quality tests I just don't believe the methodology.

E2Es are the only tests that tell you whether the product is making money or not with a good approximation.

You have to invest in reducing flakiness and their run time, but if my 5 men team maintaining 6 products could, I think it can be done by more people, yet so many seem to be burned on their 10 year old experience..

Of course there are situations you want to test via normal unit tests and even do TDD (parsers/encoders/math stuff, etc) or you're writing libraries, but the people testing react components and such are involved in delusional productivity porn if that's not the case.

DeepSeek open-sources inference optimizations with 60–85% faster generation [pdf]

https://github.com/deepseek-ai/DeepSpec/blob/main/DSpark_paper.pdf
328•aurenvale•2h ago•84 comments

Fintech Engineering Handbook

https://w.pitula.me/fintech-engineering-handbook/
62•signa11•1h ago•16 comments

Previewing GPT‑5.6 Sol: a next-generation model

https://openai.com/index/previewing-gpt-5-6-sol/
1026•minimaxir•18h ago•645 comments

Long Wave radio era set to end with switch-off

https://www.economist.com/britain/2026/06/25/the-bbc-switches-off-its-oldest-service
54•edward•1d ago•62 comments

Linux on Older Hardware: The Complete Revival Guide

https://www.fosslinux.com/158206/linux-on-older-hardware-revival-guide.htm
83•tapanjk•2d ago•29 comments

Beer CSS – Build material design in record time

https://www.beercss.com
32•Seb-C•2h ago•5 comments

WordStar: A Writer's Word Processor (1996)

https://www.sfwriter.com/wordstar.htm
103•droidjj•8h ago•46 comments

Why does kinetic energy increase quadratically, not linearly, with speed? (2011)

https://physics.stackexchange.com/questions/535/why-does-kinetic-energy-increase-quadratically-no...
256•ProxyTracer•13h ago•123 comments

Faster KNN search in Manticore: 2-pass HNSW, batched distances, and AVX-512

https://medium.com/@s_nikolaev/faster-knn-search-in-manticore-2-pass-hnsw-batched-distances-and-a...
15•snikolaev•1d ago•1 comments

The US Army Issued Ocarinas to Soldiers in World War II

https://www.flutetunes.com/articles/my-flute-goes-to-war/
14•tomcam•2d ago•8 comments

OpenTTD 16.0-Beta1

https://www.openttd.org/news/2026/06/25/openttd-16-0-beta1
181•untilted•7h ago•32 comments

U.S. allows Anthropic to release Mythos AI to ‘trusted’ US organizations

https://www.semafor.com/article/06/27/2026/us-releases-powerful-anthropic-model-mythos-to-some-us...
465•bobrenjc93•12h ago•572 comments

AI in mathematics is forcing big questions

https://spectrum.ieee.org/ai-in-mathematics
139•rbanffy•13h ago•104 comments

MicroVMs: Run isolated sandboxes with full lifecycle control

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
338•justincormack•4d ago•188 comments

Jest/Vitest interactive course (runs in the browser)

https://howtotestfrontend.com/courses/jest-vitest-fundamentals
11•howToTestFE•2d ago•6 comments

Fusion Programming Language

https://fusion-lang.org/
83•efrecon•3d ago•37 comments

Hellishly Slow Level 13 Deflate Compression

https://kirill.korins.ky/articles/hellishly-slow-level-13-deflate-compression/
67•zX41ZdbW•4d ago•20 comments

U.S. government will decide who gets to use GPT-5.6

https://www.washingtonpost.com/technology/2026/06/26/openai-says-us-government-will-vet-users-its...
1056•alain94040•17h ago•1119 comments

IBM MCGA Gate Array Reverse Engineering

https://github.com/schlae/IBM_MCGA
37•userbinator•6h ago•7 comments

Anatomy of a Failed (Nation-State?) Attack

https://grack.com/blog/2026/06/25/dissecting-a-failed-nation-state-attack/
70•signa11•9h ago•12 comments

The gap between open weights LLMs and closed source LLMs

https://blog.doubleword.ai/frontier-os-llm
225•kkm•14h ago•181 comments

Show HN: Hacker News on a train station-style flip board

https://popflame.quickish.space/hn-flipboard/
78•PaybackTony•11h ago•18 comments

Ultrasound imaging of the brain

https://alephneuro.com/blog/ultrasound-brain
287•rossant•23h ago•114 comments

Om

https://daringfireball.net/2026/06/om
403•throw0101a•12h ago•19 comments

Foreign funds help make housing unaffordable: research

https://news.mccombs.utexas.edu/research/foreign-funds-help-make-housing-unaffordable/
88•hhs•12h ago•26 comments

We can still stop California's 3D printer surveillance scheme

https://www.eff.org/deeplinks/2026/06/we-can-still-stop-californias-3d-printer-surveillance-scheme
413•hn_acker•14h ago•142 comments

A C++ implementation of a fast hash map and hash set using hopscotch hashing

https://github.com/Tessil/hopscotch-map
94•gjvc•14h ago•16 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
173•adchurch•19h ago•98 comments

SCC Technical Assistance Program

https://nerocam.com/scc_tap.asp
20•luu•3d ago•1 comments

What Is a Nomogram and Why Would It Interest Me?

https://lefakkomies.github.io/pynomo-doc/introduction/introduction.html#what-is-a-nomogram-and-wh...
127•Eridanus2•18h ago•20 comments