frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Injectable time and timers with custom Date types for TypeScript

https://github.com/jaenyf/time-provider
1•jaenyf•55m ago
I find TypeScript js/node environment is missing a Time-Provider (just like *.*NET TimeProvider for instance ships with its framework).

So for this purpose I built a small library (@time-provider) tailored for js/node environment.

Obviously the goal is to both avoid using global monkey-patching with fake-timers or re-writing your clock interface... and still use your date library (native or custom).

I propose four clock strategies: system (real time), fixed manual (advance time explicitly), and sequential (replay of a sequence of timestamps).

I also benchmarked slightly better performances than jest / sinon.

The project is still young, so the API may still receive refinements as real usage appears.

I would be happy to hear feedback on this ! Take care.

You can check it out on GitHub: https://github.com/jaenyf/time-provider

Jaenyf

Psion Emulator – classic Psion palmtops in the browser

https://joehaines.com/psion/
1•randkyp•5m ago•0 comments

The most official water costs $120k a gallon

https://signoregalilei.com/2026/07/26/the-most-official-water-costs-120000-a-gallon/
2•srijan4•8m ago•0 comments

AI Workspace for Your PC

https://stuard.ai
1•Ifesol•13m ago•1 comments

Verisign Cooperative Agreement

https://www.ntia.gov/program/verisign-cooperative-agreement
2•themaxdavitt•13m ago•0 comments

Nvidia in Talks with OpenAI to Guarantee $250B Financing for Data Center

https://www.wsj.com/tech/ai/nvidia-in-talks-with-openai-to-guarantee-250-billion-financing-for-da...
4•taurath•22m ago•1 comments

Show HN: 3D music visualization on Apple Vision Pro

https://old.reddit.com/r/VisionPro/comments/1v5llv9/3d_music_visualization_on_apple_vision_pro/
1•linxy97•22m ago•0 comments

Show HN: Watch random code typed out on an MS-DOS IDE

https://hackerman.specr.net/
2•vunderba•26m ago•0 comments

Sand battery: Finland's answer to a renewable energy headache

https://www.cnbc.com/2026/07/25/finland-sand-battery-renewable-energy-storage.html
2•coderintherye•27m ago•0 comments

Why AI Doesn't Replace Software Architecture – It Makes It More Valuable

https://wilburhimself.github.io/blog/65-why-ai-doesnt-replace-software-architecture/
1•wilburhimself•28m ago•1 comments

Malicious sites use JavaScript to build malware in browser memory

https://www.bleepingcomputer.com/news/security/malicious-sites-use-javascript-to-build-malware-in...
3•justworks•28m ago•0 comments

Show HN: CarbonSheets – Host your own customizable cheatsheet portal In GitHub

https://carbonsheets.vercel.app/
2•elnoxvie•31m ago•0 comments

Physicists build a computer from 400 particles orbiting in liquid

https://www.tomshardware.com/tech-industry/physicists-build-a-computer-from-400-particles-orbitin...
2•sbulaev•37m ago•0 comments

Sticky notes on a storyboard became my savior productivity app

https://www.taskloco.com/
1•taskloco_nyc•38m ago•0 comments

The Optimization Theory of Everything

https://12gramsofcarbon.com/p/the-optimization-theory-of-everything
1•theahura•44m ago•1 comments

Show HN: Quintile – keyboard-only window grids for Mac

https://github.com/stefanopineda/quintile
1•stefanopineda•48m ago•0 comments

Foxconn drops VMware, adopts hyperconverged upstart Arcrfra

https://www.theregister.com/virtualization/2026/07/27/foxconn-drops-vmware-adopts-hyperconverged-...
1•NordStreamYacht•49m ago•0 comments

Show HN: ASL V6 – Open-source AST red-teaming engine for Python AI agents

https://github.com/sivaadityacoder/asl-v6
2•sivaaditya•53m ago•0 comments

Show HN: Injectable time and timers with custom Date types for TypeScript

https://github.com/jaenyf/time-provider
1•jaenyf•55m ago•0 comments

Multimodal foundation model for image and video understanding from Microsoft

https://huggingface.co/microsoft/Mage-VL
1•MehrdadKhnzd•55m ago•0 comments

Bullwhip Effect

https://en.wikipedia.org/wiki/Bullwhip_effect
3•vismit2000•56m ago•0 comments

It is empowering to hand off execution

https://www.charbzg.com/blog/ai-empowerment
1•charbz•58m ago•1 comments

Palette Vault – Color Palettes and Hex Codes

https://palettevault.github.io/
4•javatuts•1h ago•0 comments

Porffor: An ahead-of-time JavaScript-to-native/WASM compiler

https://porffor.dev/
2•goranmoomin•1h ago•0 comments

Newpipe Extractor in WASM

https://github.com/thegrims/newpipe-extractor-wasm
1•aidangrimshaw•1h ago•1 comments

Paywall-free News Aggregator

https://freepress.today/
1•niraj-agarwal•1h ago•1 comments

Show HN: a Rust, Wayland, Vulkan 3D CRT, screencast application, retroarch cores

https://github.com/andrewfader/crtulum
1•androsynth89•1h ago•0 comments

India cuts internet, then demands removal of bitchat's code

https://korben.info/en/india-cuts-internet-demands-removal-bitchat-code.html
4•sakumen•1h ago•2 comments

Improving Terminal Ergonomics

https://aiex7.github.io/blog/articles/improving-terminal-ergonomics/
1•harr01•1h ago•0 comments

Why Lean is faster than Rust

https://kim-em.github.io/blog/2026-7-24-why-lean-is-faster-than-rust/
1•replatformradar•1h ago•1 comments

Renaissance Man: imago ex machina

https://github.com/willswire/renaissance-man
1•willswire•1h ago•0 comments