HN user

benmccann

1,312 karma
Posts25
Comments380
View on HN
svelte.dev 1y ago

Introducing the new Svelte CLI

benmccann
3pts0
svelte.dev 2y ago

Svelte 5 release candidate (RC)

benmccann
32pts17
www.youtube.com 2y ago

Svelte 5 preview generally available with major new features [video]

benmccann
4pts0
www.npmjs.com 2y ago

SvelteKit's New Image Handling

benmccann
2pts0
kit.svelte.dev 2y ago

`@sveltejs/enhanced-img` announced at Svelte Summit

benmccann
14pts6
svelte.dev 2y ago

Svelte 5: Runes

benmccann
471pts386
svelte.dev 4y ago

Accelerating Svelte's Development

benmccann
3pts2
vitebook.dev 4y ago

Vitebook – fast, lightweight alternative to Storybook powered by Vite

benmccann
1pts0
twitter.com 4y ago

Kevin Åberg Kultalahti going full-time leading the Svelte community

benmccann
16pts0
sveltesummit.com 4y ago

Svelte Summit – 4th annual Svelte virtual conference happening today

benmccann
16pts2
github.com 5y ago

Chart.js 3.0 Released

benmccann
2pts0
svelte.dev 5y ago

SvelteKit Is in Public Beta

benmccann
315pts114
www.snowpack.dev 5y ago

Snowpack v3.0 Release Candidate

benmccann
4pts0
github.com 6y ago

Chart.js 2.9

benmccann
48pts2
www.benmccann.com 11y ago

Running Marathon and Mesos with Panamax

benmccann
2pts0
www.benmccann.com 11y ago

How to take over the computer of a Jenkins user

benmccann
2pts0
www.odesk.com 12y ago

Earn $1,000 by fixing a Firefox bug

benmccann
4pts0
www.benmccann.com 12y ago

Solutions for noisy offices

benmccann
1pts0
www.benmccann.com 12y ago

TodoMVC: An Angular vs React Comparison

benmccann
1pts0
tersesystems.com 12y ago

Fixing the Most Dangerous Code in the World

benmccann
7pts0
www.10gen.com 13y ago

10gen offers hosted MongoDB Backup Service

benmccann
1pts0
www.socaltech.com 13y ago

LaunchpadLA Application Deadline Nears, As Class Graduates

benmccann
1pts0
code.google.com 14y ago

Web pages can sniff to see what Chrome extensions you have installed

benmccann
108pts37
news.ycombinator.com 15y ago

Google Irvine hosting Intro to Analytics Event

benmccann
7pts0
news.ycombinator.com 15y ago

Ask HN: Domain privacy?

benmccann
7pts5

I used Gemini to compare the minimized output of the Rollup vs Rolldown JavaScript bundlers to find locations where the latter was not yet at the same degree of optimization. It was astoundingly good and I'm not sure how I would have been able to accomplish the task without an LLM as an available tool.

Hundreds of people had access to publish the Zapier SDK, so it's little surprise they were eventually compromised! (https://bsky.app/profile/benmccann.com/post/3m6fdecsbdk2u)

The e18e community are reducing dependencies in popular libraries and building tools to prevent and reduce the impact of such attacks. Join if you want to help out! https://e18e.dev/

Just this morning, after trying to make the case over the past year, we had a change landed to remove more than a dozen dependencies from typescript-eslint! https://bsky.app/profile/benmccann.com/post/3m6fcjax7ec2h

The number 3, 4, and 5 contributors to SvelteKit in the past year work at Vercel: https://github.com/sveltejs/kit/graphs/contributors?from=8%2...

Rich and Simon are incredibly important, but they're in it for Svelte and the community more so than a paycheck from Vercel. Tee has been doing most of the maintenance on SvelteKit currently funded by community donations. And this isn't counting other infrastructure like vite-plugin-svelte or the Svelte CLI which are entirely maintained by volunteers. I don't think Vercel funds a majority of the work on Svelte even if it might be close to it.

Only 3/40 Svelte maintainers work at Vercel and they mainly finance work on Svelte core. SvelteKit day-to-day is primarily maintained by folks outside Vercel

It's neither true that Svelte has few users or that we can easily break things. Tons of sites are built with Svelte like Yahoo Finance and Apple Music. Svelte 5 was the only big change in syntax in the past five years and we made sure that there's a good migration tool, etc. to minimize the amount of hardship and upgrade might cause. As a result the majority of users have already upgraded to Svelte 5.

That being said, Svelte absolutely does continue to innovate. We'll be introducing a new async primitive, RPC mechanism, etc. in the near future: https://m.youtube.com/watch?v=1dATE70wlHc

Claude 4 1 year ago

The updated knowledge cutoff is helping with new technologies such as Svelte 5.

Vite does statically replace the `browser` variable with `true` or `false` based on whether you're on the client or server, but this shouldn't affect the correctness of your code. It does allow Vite to remove any unused code, however. E.g. `if (browser)` turns into `if (false)` on the server and any code within that block can be removed. This can avoid shipping unused code to the client.

Astro is also built in top of Vite and the same thing happens there. If you reference `import.meta.env.SSR` it is statically replaced during build and unused code is tree-shaken out: https://vite.dev/guide/env-and-mode#env-variables

Svelte 5 Released 2 years ago

The old syntax is considered legacy and it is recommended to upgrade. There is a migration tool to do most of it automatically for you.

Svelte 5 Released 2 years ago

SvelteKit is a great way to build a SPA. I think just adding those two lines of config to your project once shouldn't be an issue. If there are any difficulties you'd like to share we'll try to fix them as part of SvelteKit 3. (e.g. this issue which I added to the 3.0 milestone: https://github.com/sveltejs/kit/issues/12580)

Insurance companies may be more likely to cover home sleep studies, which cost less to run and are nearly as effective. A sleep doctor should be able to pre-authorize the study with the insurance company.

If you want to do it yourself without going through insurance you could check out Wesper. You can also buy a Wellue O2Ring off Amazon and see if your oxygen saturation ever drops overnight, which is a large part of what Wesper does.

External libraries are no longer readonly in the latest release as many users wanted to be able to delete photos in external libraries, but you can mount the Docker volume containing your external library as readonly if the readonly aspect is important to you.