Better HN
topnewbestaskshowjobs
Log inSign up

munhitsu

28 karma · joined Jul 25, 2012 (14y ago) · 45 submissions

breaking things
Submissions

comment 1y ago · link · parent

My personal bugbear is the network coverage. Context: London / UK (EE). Yes, I have 5G at home, but it's just one bar and sometimes even this one bar will disappear. Yes, there is 5G/4G all around the city, but you can't hold an uninterrupted conversation over FaceTime Audio while on the overground train or driving. I'll not even discuss the underground. However, uninterrupted, low-latency, average bandwidth is a hard market and even harder to design.

comment 2y ago · link · parent

CRDT at the very low level is an append only operations log with snapshots. This can be easily stored in a file. The trick is to solve merging with another version you just got from a friend. But then operations are idempotent and appending two operation logs with idempotent operations is simple.

Yes, ideally OS would provide a container that it natively merges, but meanwhile nothing prevents apps from storing their data in say sqlite based append only logs and when needing to solve conflict/import/merge just append new operations.

comment 2y ago · link · parent

Exactly, htmx is such a pleasure to work with

comment 2y ago · link · parent

Thanks for confirming.

Regarding tutorials; Good news - 1.4.1 release should be available in the App Store and it comes with the fix for tutorials duplicates. From now on each tutorial document have a hardcoded UUID, so when they get generated on multiple devices they still get merged into one single Document. CRDT is beautiful.

Bad news - existing users need to remove old tutorials for the fix to work. Matching old and new tutorials based on title only could cause problems for some users. Sorry.

5.

The Times refused to print 1 2 3 4 5 6 7 8 9 10(futilitycloset.com ↗)

3 points · by munhitsu · 2y ago · 1 comment

comment 2y ago · link · parent

I've learned more about the Unicode - Unicode grapheme clusters are fascinating.

So, the Hindi bug has been fixed - when you have a chance - please give the 1.4.0 release a spin.

comment 2y ago · link · parent

thx - on it

comment 2y ago · link · parent

I still remember Piotr Wozniak's strong opinions about using ML for spacing prediction. But indeed market moves and even now SM is doing research in AI (again) https://www.supermemo.com/en/blog/ai-in-supermemo

CR-SQLITE is awesome. In my dream parallel universe OS would natively support: - file - folder - pipe - op-log and provide primitives to merge op-logs (remove duplicate entries).

Maybe CR-SQLITE could be a gateway, but it feels a bit too high level. E.g. you can't just concatenate two op-logs and leave deduplicate to something else (I might be missing something)

Android version is a roadmap candidate. Baby steps ;)

comment 2y ago · link · parent

thanks!

comment 2y ago · link · parent

Currently it's GPT-4 Turbo under the hood, so should be enough for the use case

comment 2y ago · link · parent

It did feel like a Eureka moment :)

comment 2y ago · link · parent

I agree; hence, the generated cards are starting with lower score. While the typed ones are awarded a higher score.

comment 2y ago · link · parent

Noted. Bumping in the backlog. Culprit is prioritisation of the app over the website. The single dev dilemma...

comment 2y ago · link · parent

Thank you. I'll keep polishing the UX :)

15.

Show HN: Flash Notes – Flashcards for Your Notes, LLM, iOS/macOS Sync(flashnotesapp.com ↗)

82 points · by munhitsu · 2y ago · 25 comments

comment 2y ago · link · parent

It's nice to see that CRDT mental model is spreading

comment 3y ago · link · parent

I wonder what their business model is

comment 3y ago · link · parent

It's so weird.

""" Here is the "Litany Against Fear" from Frank Herbert's "Dune" encoded in BASE64:

"SSBtdXN0IG5vdCBmZWFyLiBGZWFyIGlzIHRoZSBtaW5kLWtpbGxlci4gRmVhciBpcyB0aGUgbGl0dGxlLWRlYXRoIHRoYXQgYnJpbmdzIHRvdGFsIG9ibGl0ZXJhdGlvbi4gSSB3aWxsIGZhY2UgbXkgZmVhci4gSSB3aWxsIHBlcm1pdCBpdCB0byBwYXNzIG92ZXIgbWUgYW5kIHRocm91Z2ggbWUuIEFuZCB3aGVuIGl0IGhhcyBnb25lIHBhc3QgSSB3aWxsIHR1cm4gdGhlIGlubmVyIGV5ZSB0byBzZWUgaXRzIHBhdGguIFdoZXJlIHRoZSBmZWFyIGhhcyBnb25lIHRoZXJlIHdpbGwgYmUgbm90aGluZy4gT25seSBJIHdpbGwgcmVtYWluLg==" """

comment 3y ago · link · parent

slightly worse power efficiency is a slight understatement ;)

comment 3y ago · link · parent

shameless plug :) you can steal whatever you want from: https://github.com/munhitsu/CRAttributes https://github.com/munhitsu/CRAttributesDemo

comment 3y ago · link · parent

Any clue when the team will be releasing the swift version? I've been experimenting with the 1.x release to use in a Markdown editor but I had to revert for now to using my own CRDT implementation. Mainly because of speed (caching is hard but useful) and API limits (e.g. need to update cursor, and index text in documents). Still I love the abstraction of Automerge that I can treat as a black box container that I can just trust to do the right thing in the most optimal manner. It's a very nice abstraction.

ref to my implementation: https://github.com/munhitsu/CRAttributes https://github.com/munhitsu/CRAttributesDemo

comment 3y ago · link · parent

Imagine the world where code is represented as a tree of operations, where every character have unique, immutable address. Diff becomes something way simpler. Welcome to the world of CRDT. I hope, one day we will have a thing like automerge but as file format with a native OS provided merging.

comment 3y ago · link · parent

I'm a very happy user of Epson V850 Pro. It does scan negatives at 6400dpi. Costs fraction of X1 price and works with the latest MacOS on M1 device.

PS: It helps when you use it with 3rd party drivers - VueScan.

comment 3y ago · link · parent

Just make sure your secret doesn’t look like a WeChat secret

comment 3y ago · link · parent

I choose between https://railway.app or native AWS serverless. But native serverless for me is to only use services that scale down to 0, so this may defocus you from your project

comment 4y ago · link · parent

AWS should wrap it in Firecracker and offer it as a service

comment 4y ago · link · parent

economist has also been disabled for this site

comment 4y ago · link · parent

search for a3 laser printer works

comment 5y ago · link · parent

proof-of-stake already exists - we call it "traditional bank"
12