frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Claude Memory

https://www.anthropic.com/news/memory
262•doppp•4h ago•156 comments

Can "second life" EV batteries work as grid-scale energy storage?

https://www.volts.wtf/p/can-second-life-ev-batteries-work
64•davidw•3h ago•66 comments

What happened to Apple's legendary attention to detail?

https://blog.johnozbay.com/what-happened-to-apples-attention-to-detail.html
434•Bogdanp•2h ago•240 comments

New updates and more access to Google Earth AI

https://blog.google/technology/research/new-updates-and-more-access-to-google-earth-ai/
93•diogenico•4h ago•24 comments

Pyscripter – open-source Python IDE written in Delphi

https://github.com/pyscripter/pyscripter
24•peter_d_sherman•3d ago•2 comments

I spent a year making an ASN.1 compiler in D

https://bradley.chatha.dev/blog/dlang-propaganda/asn1-compiler-in-d/
224•BradleyChatha•8h ago•112 comments

Kaitai Struct: declarative binary format parsing language

https://kaitai.io/
39•djoldman•1w ago•12 comments

Show HN: OpenSnowcat – A fork of Snowplow to keep open analytics alive

https://opensnowcat.io/
31•joaocorreia•2h ago•5 comments

Armed police swarm student after AI mistakes bag of Doritos for a weapon

https://www.dexerto.com/entertainment/armed-police-swarm-student-after-ai-mistakes-bag-of-doritos...
280•antongribok•3h ago•177 comments

Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates

https://lwn.net/Articles/1043103/
6•blueflow•52m ago•1 comments

Zram Performance Analysis

https://notes.xeome.dev/notes/Zram
8•enz•1h ago•0 comments

PyTorch Monarch

https://pytorch.org/blog/introducing-pytorch-monarch/
293•jarbus•11h ago•38 comments

I Managed to Grow Countable Yeast Colonies

https://chillphysicsenjoyer.substack.com/p/i-managed-to-grow-countable-yeast
6•crescit_eundo•1w ago•0 comments

OpenAI acquires Sky.app

https://openai.com/index/openai-acquires-software-applications-incorporated
68•meetpateltech•4h ago•35 comments

Summary of the Amazon DynamoDB Service Disruption in US-East-1 Region

https://aws.amazon.com/message/101925/
328•meetpateltech•20h ago•62 comments

The OS/2 Display Driver Zoo

https://www.os2museum.com/wp/the-os-2-display-driver-zoo/
37•kencausey•1w ago•3 comments

US probes Waymo robotaxis over school bus safety

https://www.yahoo.com/news/articles/us-investigates-waymo-robotaxis-over-102015308.html
30•gmays•9h ago•47 comments

How count-min sketches work – frequencies, but without the actual data

https://www.instantdb.com/essays/count_min_sketch
30•stopachka•1d ago•6 comments

Make Any TypeScript Function Durable

https://useworkflow.dev/
64•tilt•4h ago•46 comments

Trump pardons convicted Binance founder

https://www.wsj.com/finance/currencies/trump-pardons-convicted-binance-founder-7509bd63
494•cowboyscott•5h ago•430 comments

Antislop: A framework for eliminating repetitive patterns in language models

https://arxiv.org/abs/2510.15061
76•Der_Einzige•5h ago•68 comments

Show HN: Git for LLMs – a context management interface

https://twigg.ai
26•jborland•6h ago•7 comments

Glasses-free 3D using webcam head tracking

https://assetstore.unity.com/packages/tools/camera/vr-without-glasses-for-webgl-332314
65•il_nets•5d ago•44 comments

Programming with Less Than Nothing

https://joshmoody.org/blog/programming-with-less-than-nothing/
403•signa11•15h ago•138 comments

Nango (YC W23) is hiring staff back-end engineers (remote)

https://www.nango.dev/careers
1•bastienbeurier•9h ago

OpenMaxIO: Forked UI for MinIO Object Storage

https://github.com/OpenMaxIO/openmaxio-object-browser
150•nimbius•3h ago•38 comments

Show HN: I built a tech news aggregator that works the way my brain does

https://deadstack.net/recent
105•dreadsword•3h ago•64 comments

VectorWare – from creators of `rust-GPU` and `rust-CUDA`

https://www.vectorware.com/blog/announcing-vectorware/
64•ashvardanian•5h ago•18 comments

The Muscular Compassion of "Paper Girl"

https://www.newyorker.com/books/page-turner/the-muscular-compassion-of-paper-girl
13•mitchbob•1h ago•4 comments

Unconventional Ways to Cast in TypeScript

https://wolfgirl.dev/blog/2025-10-22-4-unconventional-ways-to-cast-in-typescript/
60•Bogdanp•8h ago•27 comments
Open in hackernews

Make Any TypeScript Function Durable

https://useworkflow.dev/
64•tilt•4h ago

Comments

Etheryte•3h ago
Of all the syntax options they could've gone with, they settled on what I would say is arguably the worst. If you want a one-liner, decorators are widely used across different languages and Typescript supports them as well.
javcasas•3h ago
My bad, this is open telemetry stuff to check the status of your servers, not for vendors to extract as much data as they can from you.

> I'm trying to find how they implemented the "use workflow" thing, and before I could find it I already found https://github.com/vercel/workflow/blob/main/packages/core/s...

> Telemetry is part of the core.

> Yuck.

nakovet•3h ago
It's on the landing page, there is not even a standalone mode yet, so you can't use it with node.js you need to use with Next.js. All to say, it's just early alpha preview, I would wait the project to mature before considering using it anywhere.
javcasas•3h ago
My bad, this is open telemetry stuff to check the status of your servers, not for the vendor to slurp as much data from you as possible.
evilduck•2h ago
This is Open Telemetry functions you're referencing. Being able to trace, profile and debug your own code that's executing in a highly distributed environment is a pretty useful thing. This isn't (necessarily) user behavior telemetry.

At least understand what you're looking at before getting the ick.

javcasas•2h ago
That's fair. I'm too accustomed to seeing the other type of telemetry shoved in all over the place.
skrebbel•2h ago
Good luck running a server without any sort of telemetry. How will you debug stuff without logs and traces? Seems to me that the priorities are with practical, real everyday engineering concerns.
oompydoompy74•2h ago
It’s apparently an swc compiler plugin.
tom1337•3h ago
Yea but it's a vercel product and they also pushed the 'use server' and 'use client' directives and probably want to build on them.
bn-l•15m ago
Absolutely bizarre decisions.
ajkjk•3h ago
or no-op functions like useWorkflow() (with some kind of stub that prevents dead code elimination).
MrJohz•2h ago
Decorators don't work for functions, unfortunately, so wouldn't work in this case. You'd need to add a bunch of class boilerplate to make it work.

JavaScript didn't have a lot of great options for this kind of statically-declared metaprogramming, which is why the "use X"; syntax has become so popular in various spaces. It's definitely not my favourite approach, but I don't think there's any clear "best" solution here.

halflife•2h ago
You can use generator fns to achieve the exact same thing without magic strings or bundles. And the bonus is that you can debug it.
Etheryte•2h ago
Since this magic string requires a preprocessor step anyway, there's no reason they couldn't make it a decorator that works on functions. I don't see the problem?
ngruhn•2h ago
But then it's not valid TypeScript anymore. So all the other tooling breaks: syntax highlighting, LSP, Linter, ...
Etheryte•50s ago
Looking at the AST [0], this doesn't seem to be the case. Since Typescript already supports decorators in other contexts, it successfully parses everything and identifies the decorator to boot. Since you're working in a preprocessor context anyway, there's a number of options to make all of this work well together.

[0] https://ts-ast-viewer.com/#code/GYVwdgxgLglg9mABMOcAUBKRBvAU...

quacky_batak•3h ago
i hate the new pattern of using these magic strings everywhere. “use workflow”, “use client”, etc etc.

I don’t like having custom bundler logic for my code.

javcasas•3h ago
Custom bundler + telemetry already included. Smells way too much like Microsoft, too much like lock-in with a deal that gets worse and worse.
brazukadev•2h ago
"don't use next"

"don't use react"

tom1337•3h ago
So at it's core this is "just" a toolkit to add automatic retries to functions inside another function? I don't know if the audience Vercel is targetig knows about idempotency as well as they should before plastering all their functions with "use workflow".

I guess in the end it's another abstraction layer for queues or state machines and another way to lock you into Vercel.

0xb0565e486•3h ago
Somewhat related since this about "workflows" and not cloud function, but are there any practical benefits to cloud functions other than the fact that it's cheaper for the providers as they don't have to run an entire bespoke runtime for every customer/application?
drawfloat•3h ago
Use client and use server aren’t great, but the fact they had to be declared at the top of a file was at least clear.

Starting to scatter magic strings throughout a code base feels like a real step back.

c-hendricks•2h ago
There's nothing about "use server" that requires it to be at the top of the file though, it can go in function bodies and you have a typed RPC method.

I think "use client" is the only one that has to go at the top of a file.

TimReynolds•37m ago
You are correct. Use server can be slapped in many places
halflife•2h ago
So vercel is adamant on making nextjs apps behavior completely unpredictable and hidden behind tons of magic code?

At least in any other framework library I can just command click and see why things are not working, place breakpoints and even modify code.

lopatin•33m ago
It’s a great business model with epic lock in. Bored front end devs keep indulging / enabling it so why stop?
pavel_lishin•2h ago
Am I stupid, or does the page not actually explain that workflow is?
davey48016•2h ago
It doesn't explain it on the landing page. Even skimming their docs, it seems like you mostly have to infer the purpose of this based on the features.
zzixp•2h ago
This is actually pretty cool. We have a similar custom library at Xbox that's used extensively across all of our services.

I do wish that there was some kind of self-hostable World implementation at launch. If other PAAS providers jump onto this, I could see this sticking around.

lloydatkinson•2h ago
Azures Durable Task Framework or something else? I guess there’s nothing public on it, which is a shame because it sounds interesting
schniz•13m ago
Hi I’m Gal from the team. Thanks! We did ship a reference Postgres implementation. It would receive more love now that we open sourced, but we can’t call it “production ready” without running it in production.

But we did have convos in the last couple of days on what we can do next on the pg world ;D

khalic•2h ago
This seems... bad, inelegant.
ssijak•2h ago
Lost me at "use workflow" directive. This and Next16 expanding the set of directives just makes me question if I'm the mad man for thinking they are absolutely terrible.
dangoodmanUT•2h ago
im becoming increasinglymore convinced that workflows are the wrong model

just build state machines folks

rubenfiszel•40m ago
workflows is just short for state machine DSL
TimTheTinker•2h ago
I'd rather be explicit about what's going on at each step. That way idempotent functions can be handled differently, retry limits can be applied, and no separate preprocessor is required.

    export async function welcome(userId: string) {
      const user = await retry(() => getUser(userId));
      const { subject, body } = await retry(() => generateEmail({
        name: user.name, plan: user.plan
      }));
      const { status } = await retry(() => sendEmail({
        to: user.email,
        subject,
        body,
      }), 2);
      return { status, subject, body };
    }
LewisJEllis•1h ago
can anyone point to the "Durable" part?

looking at the docs and examples, I see Workflows and Steps and Retries, but I don't see any Durable yet. none of the examples really make it clear how or where anything gets stored

schniz•10m ago
That depends on the “world”. We built an adapter interface so you could store the data (and other things) anywhere you want. There are some docs which are wip regarding that: https://useworkflow.dev/docs/deploying/world
lloydjones•1h ago
"use turnMyBrainOff";

"use blackBoxWrapperForEverything";

8note•1h ago
well that's some scary typescript syntax. i didnt know a string constant at the top of a function could change the operation.

or is this some extra compilation step to rewrite the code?

koolba•1h ago
Must be some compile step. Reminds me of “use strict”.
art0rz•1h ago
"use strict" has been around since 2009. That being said, this is not a TypeScript or React feature but yet another black box magic NextJS feature to try to lock you into the Vercel ecosystem.
AgentME•1h ago
This seems pretty similar to Cloudflare Workflows (https://developers.cloudflare.com/workflows/), but with code-rewriting to use syntax magic (functions annotated with "use workflow" and "use step") instead of Cloudflare's `step.do` and `step.sleep` function calls. (I think I lightly prefer Cloudflare's model for not relying on a code-rewriting step, partly because I think it's easier for programmers to see what's going on in the system.) Workflow's Hooks are similar to Cloudflare's `step.waitForEvent` + `instance.sendEvent`. It's kind of exciting to see this programming model get more popular. I wonder if the ecosystem can evolve into a standardized model.
trevor-e•52m ago
So this seems similar to https://temporal.io/, am I reading this right? I used that briefly a few years ago and it was pretty nice at the time. It did make some features much easier to model like their welcome email example. Would love to hear from someone with extensive temporal experience, iirc the only drawback was on the infra side of things.
oulipo2•3m ago
And to DBOS too
oulipo2•1m ago
It's not really clear how you "update" a workflow/step method?

What happens if you saw a bug, or you want to update and change a workflow? Is there a way to discard / upgrade the existing in-memory workflows that are being executed (and correspond to the previous version) so they are now "updated"?