HackerTrans
TopNewTrendsCommentsPastAskShowJobs

aguacaterojo

55 karmajoined 4 năm trước
danielgormly.com

comments

aguacaterojo
·33 phút trước·discuss
https://github.com/airdaydev/airday

Underpinning my current app is an e2ee local-first sync engine, basically it is a traditional client-server sync (encrypted logs + snapshots sequenced with integers). It sends bundles of Loro CRDT operations. I wrapped the client side in WASM to power the web app and the CLI and have started a swift wrapper to port to native iOS. Bundle size is 3MB/1.2MB g-zipped so pretty happy with it. I've realised that web encryption is kind of bs (at least not as "WE CAN NEVER ACCESS YOUR DATA" as some vendors state) if someone else is distributing the app.

Over the last week I have done a lot of performance work & data remodeling - CRDTs are interesting because you can let data fall through the gaps if you're not careful.
aguacaterojo
·8 ngày trước·discuss
I started playing video games in Spanish about a year ago. I've finished about 20 now. I had a base of course & was doing little courses etc. But I've sunk 100s of hours now focusing on text and voice heavy games and it went from very tiring and looking up the dictionary constantly to fun and fluid. I can finally watch a lot of stuff without subtitles now. Someone catalogues which games have been dubbed (focused on Spanish of Spain) at this site https://www.doblajevideojuegos.es/ the quality of most new dubs I've seen has been very high
aguacaterojo
·28 ngày trước·discuss
1 person can do another person a favor which involves fucking over a 3rd person.
aguacaterojo
·28 ngày trước·discuss
This is very fun. Having just tried it with my maybe tone deaf partner, she showed progress when she sang at the same time as the notes. It might be good if there was like a faster looped version where the notes would play more frequently.
aguacaterojo
·28 ngày trước·discuss
You should work on the flash of unstyled content! leaves a bad first impression
aguacaterojo
·28 ngày trước·discuss
Having just tested my app with very niche online groups, friends and cold messaging some people who I thought might have wanted what I'm building, and getting almost no response - my advice would be to burst that bubble early. As a general rule, no one cares what you're building anymore - just look at this thread.
aguacaterojo
·28 ngày trước·discuss
The biggest problem with Duolingo is not just the spaced repetition but the entire curriculum is random, imprecise and felt like slop long before LLMs (with the exception of stories I guess). By random I mean it's just like reading a series of disconnected sentences with some common features. There's no anchor.

For Spanish for example, compared to spanishdict.com course which is a similar format but has a defined length and doesn't encourage you to continue indefinitely, is much more precise, follows a practical story arc - introducing yourself at school, how did you get to school, going on vacation with family etc etc. It jumps from location to location each unit and explains regional differences in grammar/vocab.
aguacaterojo
·28 ngày trước·discuss
About half-way through Charles Petzold's Code https://codehiddenlanguage.com/ and continuing studying linear algebra (weak points as a self-taught coder). Tidying up an e2ee, server/client, CRDT-backed, collaborative sync system I'm working on.
aguacaterojo
·2 tháng trước·discuss
I think stories are a good approach, although there's something grating about the voice / monotony after 1-2 stories. Have you thought about narrating yourself?
aguacaterojo
·2 tháng trước·discuss
[dead]
aguacaterojo
·2 tháng trước·discuss
The Product Manager needs to justify their job.
aguacaterojo
·2 tháng trước·discuss
Do you think most people are made to sit still for 8 hours? Do you think someone who can't do that is defective?
aguacaterojo
·3 tháng trước·discuss
V cool. Works in ff on mac for me. Maybe vibe coded but it's a spectrum. Probably in need of a bit of polish and a better performing example & maybe resolution switching. Basement Studio is legit I have bought their fonts in the past.

Floating windows are a little pointless but aesthetic choice or a one shot ui. FPS would be nice, also distinction between canvas and void. Video export works great.
aguacaterojo
·3 tháng trước·discuss
Are people really using Github CoPilot on their own volition or is it just "my employer only lets me use this tool"?
aguacaterojo
·4 tháng trước·discuss
What's it like building native MacOS? SwiftUI or UIKit or?
aguacaterojo
·4 tháng trước·discuss
Last week I wrote the spec for a couple of vanilla JS https://danielgormly.github.io/primavera-ui/dnd/ that I've handwritten in the past. I used the spec to vibecode them + a few follow-up correction prompts. Honestly the robot did a better job of implementation than I would have. Just can't compete with the speed.

Very early days but will keep updating them & adding more.
aguacaterojo
·4 tháng trước·discuss
The man himself. Yeah agreed you guys have solved it. It is more a misfired crud dev instinct for me that sees it as wasteful. Just a different paradigm and not big in practice.

I've got eg-walker & Diamond Types in my reading/youtube backlog. Diamond Types went further down the backlog because of "wip" on the repo! I will look into Antimatter too.
aguacaterojo
·4 tháng trước·discuss
I've spent a lot of time studying CRDTs & order theory in the last year & will publish an article too. Local-first apps are not easy to build, complex data structures (say, calendar repetitions with exceptions) become harder to model. Everything must converge automatically while clients can branch off.

In general, you don't really get to compact tombstones meaningfully without consensus so you really are pushing at least remnants of the entire log around to each client indefinitely. You also can't easily upgrade your db you're stuck looking after legacy data structures indefinitely - or you have to impose arbitrary cut off points.

List CRDTs - which text CRDTs are built from are probably unavoidable except for really really simple applications. Over the last 15 years they have evolved, roughly: WOOT (paper) -> RGA (paper) -> YATA (paper) / YJS (js + later rust port) -> Peritext (paper) / Automerge (rust/js/swift) -> Loro (Rust/js). Cola (rust) is another recent one. The big libs (yjs, automerge, loro) offer full doc models.

Mostly the later ones improve on space, time & intent capture (not interleaving concurrent requests).

The same few guys (Martin Kleppman, Kevin Jahns, Joseph Gentle, probably others) pop up all over the more recent optimisations.
aguacaterojo
·5 tháng trước·discuss
where are you using this in production?
aguacaterojo
·5 tháng trước·discuss
How would a LAMP stack help his git server?