HN user

fks

347 karma
Posts26
Comments28
View on HN
astro.build 2y ago

Astro 4.0

fks
3pts0
astro.build 2y ago

Astro 3.0

fks
1pts0
starlight.astro.build 2y ago

Starlight

fks
7pts0
www.pika.dev 6y ago

Pika – The JavaScript package registry for the modern web

fks
3pts1
www.pikapkg.com 7y ago

Pikapkg.com – A searchable catalog of ESM “module” packages on npm

fks
1pts0
fredkschott.com 11y ago

“How to Interview Good” – A Guide for College Students, Everyone

fks
2pts0
fredkschott.com 11y ago

Monkey Patches and MP3s – Exploring Dangerous Design Patterns in Node.js

fks
2pts0
shelljs-recipes.tumblr.com 11y ago

Show HN: ShellJS Recipes – Because complex build systems are overrated

fks
2pts0
fredkschott.com 12y ago

Testing Essentials for Node.js

fks
1pts0
fredkschott.com 12y ago

Understanding Error-First Callbacks in Node.js

fks
1pts0
fredkschott.com 12y ago

'git lg' instead of the default 'git log'

fks
55pts23
fredkschott.com 12y ago

Conquering Asynchronous Context in Node.js

fks
7pts0
fredkschott.com 12y ago

“Node.js Doesn't Work When Javascript is Disabled”

fks
1pts0
fredkschott.com 12y ago

Node.js Cookbook - Crafting Constructors

fks
2pts0
fredkschott.com 12y ago

Designing Singletons in Node.js

fks
2pts5
github.com 12y ago

Show HN: FFlip - Advanced Feature Flipping for Node.js

fks
3pts0
blog.box.com 12y ago

Box Announces New Preview Experience

fks
1pts0
fredkschott.com 12y ago

Medium Has a Quality Problem

fks
1pts1
medium.com 13y ago

Why Facebook’s Recent Data Leak is Worse Than You Think

fks
2pts0
www.fredkschott.com 13y ago

Why Facebook’s Recent Data Leak is Worse Than You Think

fks
5pts0
tuckermax.me 13y ago

Don't Look for Talent, Find People Who Do Things

fks
109pts67
github.com 13y ago

Show HN: CoVim - Collaborative Editing for Vim

fks
8pts4
www.fredkschott.com 13y ago

Introducing CoVim - Online Collaboration for Vim

fks
7pts0
www.fredkschott.com 13y ago

What I Love about Computer Science Students

fks
2pts1
www.fredkschott.com 13y ago

Acing a College Design Class by Failing at Design

fks
1pts0
www.fredkschott.com 13y ago

Want to Learn to Code? Start Small and Have Fun

fks
43pts17
Astro 2.0 3 years ago

https://youtrack.jetbrains.com/issue/WEB-52015/Astro-Languag...

Hi everyone! Sorry for not posting the announcement here, too. I can confirm that we’re going to add Astro support in v2023.1. We will keep you posted on our progress once we start working on the issue and will ask you to give Astro support a try and share your feedback with us. Please keep monitoring the issue for updates.

Sounds like it's coming soon!

Yup, static site means you can pretty much deploy anywhere! Just configure Vercel to point to the final destination build directory when you set up your project.

Elder is great! We're definitely fans. both Elder and Astro deliver Partial Hydration and the same "0kb JS by default" story. We wanted something less Svelte-specific and more pluggable, along with some other neat features mentioned in the README that couldn't fit in the launch post.

Yup, from the tl;dr on the site:

TL;DR - Snowpack removes the need for bundlers (Webpack, Parcel, Rollup) in a traditional application build process by leveraging the ESM syntax you're already writing. Keep using your favorite web frameworks (React, Preact, Vue, Svelte) & build tools (Babel, TypeScript).

That's whats so cool about this: Unlike Create React App or other "starter apps" that try to hide complexity from you, Snowpack actually removes that complexity entirely. If you didn't want to use a single other tool, you could use Snowpack to build a fully modern web app by shipping your source code directly to the browser (cue the "View Source" nostalgia :)

Luke Jacksonn is someone who's done some interesting work in this space with zero-build-tooling sites: https://perf.link - https://github.com/lukejacksonn/perflink

https://www.pika.dev is built with Babel and TypeScript, so it's not technically "zero-tooling", but we still get almost instant iteration by skipping a "bundle" step during development.

Frontend over-complexity is exactly the problem that this is trying to solve for! You can think of this as a simple post-install tool that removes a huge chunk of the complexity (bundling) from your stack, without limiting what you can build.

If this direction of simplified web development is something you're interested in, you'll enjoy this post I wrote back when we started this project (and it was called @pika/web): "A Future Without Webpack" - https://www.pika.dev/blog/pika-web-a-future-without-webpack/

Disclaimer: I created Snowpack & Pika (pika.dev).

Really sad to see this, I remember relying on cdnjs at a few old jobs over the years. Hope they get this sorted.

If anyone is looking for alternatives, I created Pika CDN as a modern alternative for cdnjs/jsdelivr/unpkg. It runs off of npm (so no approval bottlenecks) and is 100% modern ESM (so you can `import` every package directly in the browser without a bundler). https://www.pika.dev/cdn

Similar to what would happen today when a package exports both ESM (web) & CJS (node): frontend gets ESM via @pika/web, while node would use CJS via require. A Babel plugin comes bundled with @pika/web which can help you resolve imports correctly in the web build.

Although at that point, where your app needs to reliably run in both Node & the browser, there’s a good case to be made for bundling. All that complexity is giving you something valuable, which is the point that the article tries to make:

in 2019, use bundling because you want to and not because you have to.

It does!

By default, @pika/web will install all package.json dependencies with an ES "module" entrypoint to the web_modules/ directory. @pika/web is able to handle any legacy Common.js/Node.js transitive dependencies in your dependency tree, however the top-level dependencies (the ones that you import directly) must have a "module" entrypoint.

Totally agree with you that the skills learned from messing around won't turn you into a fully skilled programmer. My argument is that if he'd learned algoritms, recursion, data structures, etc. he probably would have hated and dropped it, while instead he at least knows something, has the ability to teach himself more, and hopefully has fond memories. It's much better to foster a true interest in programming - even if they're not very good - if it will then lead them to improve themselves and enjoy doing it.