News for hackers. Stuff that matters.

cadbox1

Figma uses a similar solution for their realtime feature. They have a famous article that explains why CRDTs aren’t necessary when you have a central server authority. https://www.figma.com/blog/how-figmas-multiplayer-technology...

I implemented the same solution with Redux actions and Cloudflare Durable Workers. https://emojis.cadell.dev

Re:Vore: A new RSS feed reader on Sunday May 14, 2023 @10:32PM (#35943274)
> people who curate digital gardens of knowledge are in a unique position to be curators of focused streams of knowledge

I think you're onto something here. I save and organise articles and have been exploring ways to share them for some time.

There's two ways to organise knowledge - chronologically and topically. They're both important but for different audiences. Organising chronologically means followers can keep up with recent activity. It's simple and works and is the basis for RSS and social media feeds.

Organising by topic is for knowledge management where you can arrange and re-arrange content based on your understanding of the topic. One day you have a list of cool engineering articles then you might split that into articles about data etc.

I'm working on an app that tries to capture both. Each topic has a timeline of updates and each topic can be broken down into other topics.

Re:How to give yourself time to think on Thursday April 20, 2023 @10:16AM (#35640323)
It just did the same thing for me. Thank you for sharing.
Nice work! It looks like Sequel Pro for Postgres.

This might be the first free, user-friendly interface for Postgres out there. Closest would be TablePlus but it’s paid.

Re:How Blogs Broke the Web on Wednesday January 18, 2023 @08:40AM (#34426473)
I think a combination of chronological and topical organisation is best because each has their own audience.

Topics are great for visitors exploring your content for the first time and chronological updates are great for followers already familiar with your work.

This is the concept i’m exploring in my app, Kapa Notes. You write notes by topic and it generates timeline updates for you that you can edit as you like. I went with an outline based editor to reduce the friction of managing topics as much as possible.

https://kapanotes.com https://kapanotes.com/cadbox1

Re:My Bad Habit of Hoarding Information on Friday January 06, 2023 @05:30PM (#34282221)
I built a notes app specifically for capturing my HN links. It organises them both by date and topic so I can browse them by topic but also find “that one link from last week”.

https://kapanotes.com/cadbox1

Re:Lichess on Scala3 – Help Needed on Monday December 05, 2022 @10:33PM (#33875576)
Deploy daily.

We had a similar issue in a Java application and couldn't work out the root cause so we decided to redeploy daily. No problems after that.

Re:You might not need a CRDT on Monday December 05, 2022 @09:43PM (#33875234)
I came to a similar conclusion about CRDTs after reading Figma's article.

I ended up implementing state machine replication using Cloudflare's Websockets and Redux and found the result to work quite well.

Redux actions seemed ideal for this problem because you can simply share the actions between peers. I couldn't find many redux-based solutions out there but it worked well for my use case.

https://emojis.cadell.dev/

Re:The Future of the Web Is on the Edge on Friday October 07, 2022 @01:18AM (#33117703)
I'm building an app using fly.io and SQLite and it's pretty interesting.

this indie-stack shows how to use the remix framework, fly.io, SQLite and Prisma together.

https://github.com/remix-run/indie-stack

I think fly.io will only expand their SQLite features with the creator of Litestream onboard. Exciting stuff!

https://fly.io/blog/all-in-on-sqlite-litestream/

Re:Ask HN: Who wants to be hired? (August 2022) on Tuesday August 02, 2022 @03:23AM (#32316002)
Location: Perth, Australia

Remote: Yes

Willing to relocate: No

Technologies: Typescript, React, Next.js, SQL, AWS, Java, PHP

Résumé/CV: https://gist.github.com/cadbox1/5dc033c47031989938fd0e079dca...

Website: https://cadell.dev/

Email: [email protected]

I'm an Engineer with 7 years experience in a range of roles, stacks and companies. I've been Full Stack, Tech Lead and Engineering Manager, working with React, Node.js, Typescript, Next.js, SQL and AWS, in startups, scale-ups and small business.

I wanted incremental refresh in Postgres as well and found that you can manage your own table to get something close.

Basically you create a regular table in place of a materialised one, only aggregate data newer than what's currently in the table then store the new aggregates in table. Repeat this an interval.

https://github.com/cadbox1/prawn-stack/blob/master/src/backe...

I use this to show page view data aggregated by hour without calculating it on each request using Lambda

https://prawn.cadell.dev/

Show HN: Random Emojis – A live feed of emojis using Cloudflare and WebSockets

https://emojis.cadell.dev/

Hi HN! I built a simple, fun and realtime app with Cloudflare, WebSockets and Redux because I've never used Cloudflare or WebSockets before and they sound pretty cool.It uses Cloudflare Pages which offers a full stack deployment pipeline and Durable Objects for a realtime data store.I also wrote about my experience and some tips if you're thinking about doing something similar.

( Read More... | no comments | 2 points | on HN )
Powered by a PRAwN stack (Postgres, React, AWs and Node) in the free tier deployed using CDK
Re:The architecture behind a one-person tech startup on Thursday April 08, 2021 @07:33PM (#26745071)
I don't have the startup part yet but here's my one-person stack with Postgres, Node and React deployed on AWS with CDK using RDS, Lambda, S3 and Cloudfront. It's 100% in the free tier.

https://github.com/cadbox1/prawn-stack

Re:Show HN: Grit – a multitree-based personal task manager on Saturday April 03, 2021 @12:11AM (#26678382)
I think I’ve built something similar in React. It looks like a nested list but each item can have multiple parents. It syncs to GitHub and is public, I use it to share my recipes.

https://verynested.cadell.dev/ https://cooking.cadell.dev/

I like knowledge apps that use external storage like GitHub because you have control of your data without sacrificing the convenience of the cloud.

I did the same thing for my knowledge sharing app: https://verynested.cadell.dev/

I use it to share my recipes; https://cooking.cadell.dev/

Re:Athens an open source Roam alternative on Wednesday September 16, 2020 @11:25PM (#24500875)
I think graph/network based notes are really interesting and I'm keen to see how Athens develops.

I've created my own open source approach called Very Nested [1] that uses GitHub repos for storage. It also supports files and images.

So far, I've enjoyed organising my recipes [2] with it.

Feedback welcome, it's new.

[1] https://verynested.cadell.dev/

[2] https://cooking.cadell.dev/

I found myself wanting a graph based approach too, with multiple parents, so I created Very Nested [1] to find out what it was like.

It's open source, outline focused (like workflowy) and uses GitHub for storage and hosting. It also supports files and images.

So far, I've enjoyed organising my recipes [2] with it.

Feedback welcome, it's very new.

[1] https://verynested.cadell.dev/

[2] https://cooking.cadell.dev/

Re:Show HN: A Senior Engineer's CheckList on Monday September 09, 2019 @03:16AM (#20915903)
Did you use a tool to create the JSON or did you type it by hand?