frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

An Update on Fresh

https://deno.com/blog/an-update-on-fresh
62•agos•3h ago

Comments

Imustaskforhelp•3h ago
I am not sure, deno seems really bleak as I had read the HN post about deno actively shrinking its datacenters and fresh activity.

This seems an attempt to show to the world that its not that, but I would say that it's still not working.

Deno deploy, their product is better on supabase or even bunny cdn which provides more locations than deno itself.

Bun also exists. And did we forget about node itself?

Cloudflare workers is a beast if we can work with non standards/ I personally feel a little bit that some code meant for node won't work on cf as much as it would on deno

sync•3h ago
The HN post referenced in case others missed it:

Deno's Decline - https://news.ycombinator.com/item?id=43863937 - May 2025 (157 comments)

pjmlp•2h ago
I have been around for a bit, until now being a laggard in alternative implementations has always paid off.

Eventually the reference implementation gets the features that are more relevant, and we move on.

CharlesW•2h ago
> I am not sure, deno seems really bleak…

There are plenty of moribund open source projects. But looking at this month's 2.3 release, Deno's future strikes me as the opposite of bleak.

As for Deno Deploy, sure —¹ it may fail. But regarding the Deno folks scaling their footprint in response to changes like real-world usage patterns, adoption timelines, our rapidly-contracting economy, or whatever, that's a far better response than ostriching in the longer run.

¹ This em-dash was lovingly hand-crafted by a Mac user. Please don't em-shame.

egglemonsoup•2h ago
I don't want to live in a world where we have to add footnotes when using em dashes
CharlesW•2h ago
Same, my typographically-savvy friend. This "dead giveaway" too shall pass — first it was certain words, today it's em-dashes, and tomorrow we'll be forced to introduce grammatical errors.
tough•2h ago
hey now typos make you authentic, that's a plus
lambtron•2h ago
hey Andy from Deno here. thanks for your comment. we reduced our Deno Deploy regions not because Deno is in decline. (in fact we have seen about 2x adoption since release of Deno 2.) it's just that we noticed more users using Deno Deploy for hosting applications vs. edge functions, which was our original vision for Deploy. in many scenarios, application performance is improved with fewer, more highly trafficked regions vs. many spread out but more idle regions. we will be covering that in more detail in a dedicated blog post next week.
aarestad•3h ago
A bit of Deno trivia: it runs the big "Chicago Brick" video wall in Google's main office in Fulton Market; they open-source the code here:

https://github.com/google/chicago-brick

(I contributed a little "Penrose-tile" module during my time there, though I never got it in production :P)

xnx•2h ago
Cool. Do you know of any recorded video of the video wall in action? I wasn't able to find any.
aarestad•1h ago
I can't find one either! Here's a 10-year-old article with a picture of it, though it looks slightly different now: https://www.dnainfo.com/chicago/20151204/west-loop/long-awai...
lucacasonato•2h ago
Happy to answer any questions :)
skybrian•2h ago
As a hobbyist programmer, I’m wondering how the Open Telemetry support would be useful to me? I’ve read about tools like Grafana on Hacker News, but never installed any of them.
sisk•1h ago
Hiya. No questions but just an fyi: the version of `@fresh/init` mentioned in the article (`2.0.0-alpha.30`) fails to run. Looks like latest at this time (`2.0.0-alpha.33`) runs successfully.
lambtron•40m ago
Thank you! We fixed it.
roxolotl•2h ago
I think there’s a universe in which Deno took off but it’s clearly not ours. I’m inclined to believe this is because what Deno is trying for, a more mature standards based and security focused version of the JavaScript ecosystem, isn’t what people use JavaScript for. Makes me sad because I really appreciate what they are trying to do.
tough•2h ago
Bun is really taking their lunch with a more simpler USP, "Faster"
pier25•2h ago
By far my biggest issue with Node is the dependency on the fragile NPM ecosystem. I could be wrong but I think if Deno had tackled this problem head-on it would have become more popular.

Provide a framework or built-in libs which allow you to build a number of use cases (JSON API, etc) with as little dependencies as possible. That would be something much more valuable than becoming a Node replacement for the NPM ecosystem.

Deno seems to be spending a lot of time and money into Node compat which so far (afaik) hasn't produced results.

simlevesque•1h ago
> Deno seems to be spending a lot of time and money into Node compat which so far (afaik) hasn't produced results.

These days there's almost nothing you can't do in Deno that you can do in Node. If you think there is, please reply here but I think that time has passed.

MrJohz•1h ago
The thing I ran into today was jsdom not seeming to work at all in Deno.

My use case was trying to run Playwright to scrape a site, copy the resultant HTML into jsdom, then run Mozilla's `readability` module on that to get a summary of the page. I found a replacement for Playwright (astral), and `readability` seems to be runtime agnostic as long as it has access to DOM APIs, but jsdom doesn't work with Deno yet.

I'd love to hear if there's an alternative to jsdom that I could use, because I unfortunately can't switch entirely over to NodeJS in this particular project, so either I find a replacement server-side DOM library, or I need to juggle two runtimes for different parts of the project. :/

simlevesque•1h ago
JSDOM works on Deno. Here's a script:

  // from https://gist.github.com/kt3k/6123515ff5d1e167f82dfe4aa12ee5d9
  import { JSDOM } from "https://jspm.dev/jsdom";
  const doc = new JSDOM(`<!DOCTYPE html><p>Hello world</p>`);
  console.log(doc.window.document.querySelector("p").textContent);
Run it like this:

  deno run 'https://gist.githubusercontent.com/kt3k/6123515ff5d1e167f82dfe4aa12ee5d9/raw/f27520c629e56ab6e53e411c455ecc289300bb28/jsdom-in-deno.ts'
This returns "Hello world" on my machine, deno 2.3.1

I'd need more info about your problem but I'm not convinced that Deno's the problem and if there is one.

nwhit•27m ago
Jsdom should work in deno, can you open a github issue (https://github.com/denoland/deno/issues) with some details and a reproduction?

All of the simple cases I've tried seem to work fine, e.g:

  import { JSDOM } from "npm:jsdom";
  
  const dom = new JSDOM(
    `<!DOCTYPE html><p>Hello world <img src="https://example.com/logo.svg" /></p>`,
  );
  
  console.log(dom.window.document?.querySelector("p")?.textContent); // "Hello world"
  console.log(dom.window.document?.querySelector("img")?.getAttribute("src")); // "https://example.com/logo.svg"
corytheboyd•1h ago
One of the original selling points of Deno seemed to be that it didn’t use NPM. It would build its own broadly useful and good standard library.

The NPM compatibility madness really does kill it for me. Probably something to do with taking VC money and “expanding addressable market” or whatever.

nwhit•21m ago
I don't think it's that complicated, in my mind it's as simple as the fact that the npm/node ecosystem is huge and not supporting it at all means having to reinvent each and every library that exists there. That is a huge task and in my experience, the lack of support for npm/node packages (used to) really hamper deno's usefulness.

Now you can tap into the npm ecosystem when needed, but still use deno-first libraries as you please. If you don't like npm, then you can ignore it entirely

corytheboyd•50s ago
But that’s exactly what I’m saying, a big selling point WAS reinventing things. There would be a first-party “http” package for all HTTP client needs, an “orm” package, etc. This is just how I remember Deno being sold many years ago, and I thought it was a noble mission.
MrJohz•1h ago
I think Deno has done a good job pushing the ecosystem forwards, but I think it has the problem that anything it can do, NodeJS can also implement. Since Deno, NodeJS now follows most browser standards, also allows running Typescript natively, has a built-in test runner, and even has a similar permissions system to Deno (albeit behind an additional flag). I believe it can even import JSR modules if configured correctly.

So NodeJS can do pretty much everything Deno can, but it also can do all the stuff it could already do.

xmorse•2h ago
A Fresh update
andrewl-hn•2h ago
On a meta level: after decades of VC-speak overuse on the internet any headline that says "An update on Thing" reads as "We are shutting Thing down". So, people who decide not to read this article may simply assume that this is another piece of bad news about Deno.

It is not: the post talks about the development progress of their web framework, which seems to be their take on server-rendered pages with islands of interactivity. Kinda like Astro or maybe like Remix.

bonoboTP•1h ago
I was definitely expecting it to be an incredible journey before clicking.
binary132•1h ago
You hit the nail on the head. I actually came to the comments to check my assumption that this was about a “rebrand” before reading the article
jerlam•27m ago
I feel the same way when I get an email with a vague subject - it's bad news and someone is quitting.

People think they are being gentle but it has the opposite effect now.

globalise83•2h ago
Super excited about Fresh 2.0

I believe that Fresh is pretty ideal for AI-paired web development since so much information about the application structure is easily parsable just by iterating through the file system (routes are folders and files). I have been using Claude Desktop MCP server with Fresh 1.0 and Claude can "read" the application pretty well.

bpev•2h ago
Haven't really been using Fresh; I feel like whenever I get into the blending of client/server with these ecosystems, things get real muddy real fast. Mostly been doing either sites (mostly fully ssr with Hono + very light vanilla), or fully client-rendered web pwas (solid or mithril).

Deno itself, though, is still a very comfy js environment. I pretty much use it for all js/ts that doesn't run in the browser (I also use it for build steps of said browser code). It just kinda has everything I need/want, so I don't have to add too many dependencies, and don't have to muck around in build/env stuff. Just feels kinda easy.

written-beyond•2h ago
I was runtime/ecosystem hopping recently, trying to find a something that'll make me more comfortable in building RESTful crud + auth services.

I (tried) buildinv the same service in Go, Node(Fastify), Deno(Hono) and Rust (Axum).

Honestly my worst experience was with Deno. It's being built and shipped so fast even the fragmentation doesn't make sense. Some packages are on JSR and others on their own registry. Some NPM packages could be found on JSR but they'd be very out of date, locating docs was very difficult for those individual packages. The new deno.json format was very confusing, was it opt-in or wasn't it. Compatibility may have been fixed but I couldn't get too far with building because of the difficulty in finding upto date packages. They abandoned their own postgres client, which isn't on JSR either.

Now compare that with Rust, which doesn't have anything in it's std-lib to help you connect to a database, setup an HTTP server. However the ecosystem is cohesive enough, maybe partly due to tokio, that you could stumble your way to a recently/library maintained example project on GitHub.

At the end of it I honestly did not see much of a benefit to my development experience shifting to Deno. Projects where I could see some of those devex improvements are too large to migrate.

bpev•1h ago
huh, I mean idk experiences differ. My main project's service is written in Rust/Axum, and I enjoy it a lot. But I thought it was actually kind of frustrating to find that combination; Axum was the 3rd http client I tried, after the first two failed me in different ways. If I had started with the https client first and hadn't already felt good about building the codebase in Rust, I might have just gotten annoyed and moved on. First impressions can sometimes skew the perspective a little.

fwiw, re finding up-to-date packages, you can also pull in npm dependencies. idk what you found confusing about the deno.json, but it's definitely optional; you can just write imports directly in the .js file if you want. I often make single-file scripts to run some npm package over a local file.

karamanolev•1h ago
How would you rate the rest of the items in this experiment? Could you rank them based on "pleasure to work with", speed, stability, suitability for large projects, etc?
ljm•1h ago
I struggle to keep up with all the cutesy names for design patterns that seem to change every other year in frontend and JS-based ‘full stack’ setups.

“We’re no longer building atoms, molecules and components, we’ve moved on to islands, continents and tectonic plates”

simlevesque•2h ago
Fresh is awesome. I have a couple of commercial products running it right now and I find it very fast to develop with.

It powers my friend's canadian roasted coffee business website, available here: https://torque.cafe/en/

enz•2h ago
Using Fresh (v1) for a commercial project, mostly SSR with a very few islands. So far it has been great for my productivity and it’s reasonably fast for our purposes (we run it on a VPS, not Deno Deploy)
watusername•2h ago
Please do not title your posts "An Update On X" if you aren't shutting it down. You can blame the SV startups for the connotation but that's where we're at now. But in this case, I guess it has worked as a form of clickbait :)
ljm•1h ago
I think the opposite would be better: get startups to rip the bandaid off and title their posts: “We’re shutting down.”

Then you don’t have to waste your energy reading corporate waffle.

ItsHarper•1h ago
That would be a way better outcome, but there's also not much we can do to prevent that.
Angostura•57m ago
Why is it harder to ask people who are shutting down to be explicit in their headlines? rather than telling all the people who aren’t shutting down to change their headlines?
dylan604•24m ago
You aren't from around here, are you? /s

Disruptors gonna disrupt even when broke AF and shutting down.

watusername•21m ago
Well, in an ideal world, _everyone_ would be using informative headlines, regardless of whether they are shutting things down or not.

For this post in particular, "An Early Look at Fresh 2" would make a better title, albeit with less "clickbait potential" (well, people love drama). With a "An Update on X" headline you both fail to inform and give the impression that you are killing the thing.

handsclean•18m ago
Unfortunately, history is littered with linguistic treadmills for concepts people don’t like to say. We destroyed our singular “you” like this, I don’t think we’re going to stop to save “an update on {thing}”.
stronglikedan•10m ago
> Please do not title your posts "An Update On X" if you aren't shutting it down.

The number of folks who would infer that is a fraction of a fraction of those who wouldn't, so please do keep titling status updates appropriately, as is done here.

65•1h ago
The Fresh home page has a routing bug on it (https://fresh.deno.dev)

Scroll down to "Stream HTML straight from the server" -> Click "Lemonade" recipe link -> Click "Learn more about Partials" Button -> Press back button -> Press back button again -> Press forward button = The raw Lemonade recipe HTML partial gets rendered instead of the full page.

Or just go here straight from this link: https://fresh.deno.dev/recipes/lemonade

Maybe they should add some logic to prevent being able to load partials as their own page.

dfee•51m ago
I’ve been checking every couple weeks for a status update on Fresh for the last six months (others have been checking longer, it’s a vocal set of early adopters on GH and discord!).

I’m not even sure I’d have confidence in adopting Fresh, but I definitely was using it as a canary for the Deno org’s health. If they can’t maintain their flagship front end framework, after all, they must be circling the drain?

If that’s not the situation, I’m bewildered by their approach to communication.

Anyway, I’m still left wondering if Deno will be around in 18mo. It’s generally a nice DX, but so risky to bet on. I want them to succeed, but fear they won’t.

UAE and US Presidents Attend Unveiling of Phase 1 of 5GW AI Campus in Abu Dhabi

https://www.commerce.gov/news/press-releases/2025/05/uae-and-us-presidents-attend-unveiling-phase-1-new-5gw-ai-campus-abu
1•soulofmischief•1m ago•0 comments

Trump's sanctions on ICC prosecutor have halted tribunal's work

https://apnews.com/article/icc-trump-sanctions-karim-khan-court-a4b4c02751ab84c09718b1b95cbd5db3
2•croes•2m ago•0 comments

Isdera bankrupt: end of a sports car icon

https://www.shots.media/en/engine/2025/Isdera-bankruptcy--end-of-a-sports-car-icon/113865
1•wslh•2m ago•0 comments

Meta Is Delaying the Rollout of Its Flagship AI Model

https://www.wsj.com/tech/ai/meta-is-delaying-the-rollout-of-its-flagship-ai-model-f4b105f7
3•mfiguiere•3m ago•0 comments

White House announces AI data campus partnership with the UAE

https://www.cnbc.com/2025/05/15/white-house-announces-ai-data-campus-partnership-with-the-uae.html
1•nielsbot•3m ago•0 comments

Organizing a Design System via Folksonomy

https://ericwbailey.website/published/organizing-a-design-system-via-folksonomy/
1•tobr•4m ago•0 comments

Automated Authority: AI Algorithms

https://www.newamerica.org/planetary-politics/blog/automated-authority-ai-algorithms/
1•MarcoDewey•4m ago•0 comments

Show HN: AsianMOM – WebGPU Vision-LLM app that roasts you like ur mom in-browser

https://asianmom.kuber.studio/
1•kuberwastaken•4m ago•0 comments

Right click to copy any file as Markdown on Mac

https://iddogino.com/right-click-to-copy-any-file-as-markdown-on-mac
1•iddogino•8m ago•0 comments

Show HN: Pixelagent – Build your Stateful Agent Framework in 200 lines of code

https://github.com/pixeltable/pixelagent
1•pierrebrunelle•8m ago•1 comments

Workers are saying 'no' to toxic environments

https://apnews.com/article/what-to-do-toxic-workplace-job-7c96353516e7b3968e21b0d7099fd877
1•mooreds•9m ago•0 comments

Virginia Woolf? Snob Richard Wright? Sexist Dostoyevsky? Anti-Semite (2019)

https://www.nytimes.com/2019/01/08/books/review/edith-wharton-house-of-mirth-anti-semitism.html
1•Tomte•11m ago•0 comments

Get ready to see a lot more mini-trucks on Colorado's roads

https://www.cpr.org/2025/05/13/law-allows-japanese-mini-trucks-colorado-roads/
1•mooreds•11m ago•0 comments

Unicode in Five Minutes ⌚ (2013)

https://richardjharris.github.io/unicode-in-five-minutes/
1•Tomte•11m ago•0 comments

Show HN: Wavesly – Check Sea and Ocean Temperature

https://www.wavesly.io
1•coolpool•11m ago•0 comments

Show HN: Smol vsc*de plugin to find in all open files via native search

https://github.com/f-person/vscode-search-in-open-files
1•fperson•12m ago•0 comments

Scott Forstall on the Future of Siri and AI (2017) [video]

https://www.youtube.com/watch?v=IiuVggWNqSA
1•bangonkeyboard•16m ago•1 comments

October the First Is Too Late

https://gwern.net/fiction/october
6•adiabatty•16m ago•0 comments

Catalogue of Novel Operating Systems

https://github.com/prathyvsh/os-catalog
1•lioeters•17m ago•0 comments

Keyboard Sounds – Add sound effects to your typing experience

https://keyboardsounds.net/
3•nfiscaletti•20m ago•0 comments

Rafale maker Dassault shares plummet, Avic Chengdu maker of J-10 stock soar

https://www.hindustantimes.com/business/rafale-maker-dassault-aviation-shares-plummet-amid-india-pakistan-tension-chinas-cac-stock-soars-101747108446631.html
3•teleforce•21m ago•0 comments

My full statement regarding DOOM Eternal (2022)

https://medium.com/@mickgordon/my-full-statement-regarding-doom-eternal-5f98266b27ce
6•microsoftedging•24m ago•0 comments

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
3•llm-exe•26m ago•1 comments

The Dumbest Move in Tech: Laying Off Developers Because of AI

https://ppaolo.substack.com/p/the-dumbest-move-in-tech-right-now
2•paolop•29m ago•5 comments

Gitlab 18.0 Released with Gitlab Duo for Premium and Ultimate

https://about.gitlab.com/releases/2025/05/15/gitlab-18-0-released/
2•bmaupin•30m ago•0 comments

Keep calm (but delete your nudes): the new rules for travelling to America

https://www.theguardian.com/us-news/2025/may/15/travel-trump-america-us-border-detentions
3•n1b0m•31m ago•0 comments

Has Grok lost its mind and mind-melded with its owner?

https://garymarcus.substack.com/p/has-grok-lost-its-mind-and-mind-melded
5•NotInOurNames•31m ago•0 comments

The current state of TLA⁺ development

https://ahelwer.ca/post/2025-05-15-tla-dev-status/
8•todsacerdoti•31m ago•0 comments

OpenAI to Z Challenge

https://openai.com/openai-to-z-challenge/
1•Develra•33m ago•0 comments

Why untested AI-generated code is a crisis waiting to happen

https://leaddev.com/software-quality/why-untested-ai-generated-code-is-a-crisis-waiting-to-happen
1•mooreds•33m ago•0 comments