HN user

tsp

237 karma
Posts12
Comments78
View on HN

Libraries / examples / documentation for building real-time apps with Cloudflare Workers. Powered by Durable Objects, Inspired by PartyKit.

- PartyServer: the core library for building real-time applications with Durable Objects on Cloudflare - Y-PartyServer: uses Yjs for CRDTs - PartySub: a library for doing pubsub at scale

uMap Project 2 years ago

Looks like a very useful project. Sadly, I cannot tell if the tool creates static images or interactive widgets. The website really misses some examples.

I have been using Netlify for years, for my own projects, but also recommended it to all my freelance clients to host the projects that I was building for them. Going forward I will move all my static pages to other hosting providers.

The Netlify team must think: we waive the fees, because in this instance we noticed the negative press and want to avoid this from blowing up. When this happens to other users, we don’t care, as long as it does not go viral.

Such a pity, Netlify has great UX and I was so happy hosting static pages on their service. But without spending limits, this is not an option for me any more. I could not sleep well when there is a possibility of a $10.000 invoice reaching my inbox.

I’m disappointed they went with React as well. There are definitely more innovative frameworks (my favorites: Vue and Svelte). But I do understand the Tailwind team - it is an economic decision. React (still) dominates.

Going framework-agnostic is (currently) not a good approach imo. The developer experience would suffer too much. I hope in the future agnostic UI kits become a thing, but the tooling around this approach needs to change first.

Lit 3.0 3 years ago

I used Lit 2 in a complex client project once, which was tough to work on, not because of Lit, but because of Web Component composition. I would not choose Web Components for a new project with component composition again. The Shadow DOM makes many things harder than I was used to when building with a JavaScript library like React or Vue. For framework independent individual components (e.g. a video player component), Lit is excellent.

I used Lit in a client project, which still seems to be the most common way to author web components. Styling and composition was really hard, much harder than in typical React, Vue or Svelte projects. It is future proof to build the atoms of a design system as web components (e.g. sliders, buttons and so on), but component composition is better done in a proper framework (e.g. Vue). This way companies could more easily start new projects with their existing design system, independent of the framework. I wouldn’t consider building a complex applications with Lit again, just the design system atoms.

I use Netlify since multiple years for static site hosting on their CDN, partly using a headless CMS. It is a blast to use and I could not imagine how it can be any easier. For full-stack applications I would definitely consider Render, as I heard many positive reviews. For me, as a front-end developer, Jamstack and Serverless comes in very handy as I don’t have to spend time learning other programming languages, but Laravel looks very appealing to me, being opinionated and having a rich ecosystem.

Thoughts on Svelte 3 years ago

Vue 3 and Svelte feel very similar to use. I prefer Vue because of the ecosystem. Using it with TypeScript and Pinia is pure joy! Surely, Svelte will catch up, but it will take a while.

The only font shop that I still buy web fonts from is Fontshop [1]. Their license is based on trust instead of tracking scripts. [1]

This looks well polished in contrast to most other non-official Tailwind CSS component libraries. I will definitely consider using this for my next project. It’s a pity that out-of the box component libraries (React, Vue, Angular) are mostly so hard so customize, I have kind of given up on them, and use these html / Tailwind component collections instead.

I switched from Pinboard to Raindrop to AnyBox. Pinboard hasn’t received much love for years and when I received an answer to my support request a year after sending the email, it was clear that I have to look somewhere else. Raindrop felt like an okay replacement, but never felt solid to me and introduced a bunch of “undefined” categories. Very inconvenient to deal with. I am now using AnyBox [1], a macOS and iOS app that syncs using iCloud. The developer is super responsive and I could not be happier!

[1] https://anybox.app/

Sound 4 years ago

I encountered a strange bug on iOS: after visiting the Sound website, which uses the Web Audio API to play sounds, web-views in other apps (e.g. Lieferando, a food-delivery app) would play the same sound. So it seems like all web views share the audio context. Really weird.