- Web Workers for binary manipulation and expensive compute.
- Popover API for accessible hint/popover-like elements.
- <dialog> for native, accessible, and stylable modals and dialogs.
- Web Workers for binary manipulation and expensive compute.
- Popover API for accessible hint/popover-like elements.
- <dialog> for native, accessible, and stylable modals and dialogs.
That's the tweet.
That's the tweet.
We use it in production on both backend and frontend.
Ordinality works with any database — IndexedDB, SQL, state files, or anything else.
github.com/vitonsky/ord...
#opensource #javascript
We use it in production on both backend and frontend.
Ordinality works with any database — IndexedDB, SQL, state files, or anything else.
github.com/vitonsky/ord...
#opensource #javascript
Only then it prompts: once or always?
Only then it prompts: once or always?
✅ Implemented IndexedDB so everything loads super fast
✅ Payments and subscriptions are done
I might add AI edit and enhancer before the MVP but need to figure out the credits system
#buildinpublic
✅ Implemented IndexedDB so everything loads super fast
✅ Payments and subscriptions are done
I might add AI edit and enhancer before the MVP but need to figure out the credits system
#buildinpublic
Service worker cache: failed ❌
OPFS: failed ❌
localStorage: hacky
IndexedDB: success ✅
This is entirely Tauri's fault (well... my fault for trying to wrap a PWA in a native app - maybe there is a lesson here?)
Service worker cache: failed ❌
OPFS: failed ❌
localStorage: hacky
IndexedDB: success ✅
This is entirely Tauri's fault (well... my fault for trying to wrap a PWA in a native app - maybe there is a lesson here?)
developer.chrome.com/release-note...
developer.chrome.com/release-note...
Syncing between devices would require a sync service (icloud etc.) though, which is the same as it does now
Syncing between devices would require a sync service (icloud etc.) though, which is the same as it does now
www.google.com/search?q=Unk...
www.google.com/search?q=Unk...
CompressionStream でブラウザで gzip 圧縮する
この記事では、モダンなブラウザが提供するCompressionStreamとDecompressionStream APIを利用して、JavaScript上でgzip圧縮と解凍ができるようになったことを説明しています。
これにより、pakoやzlib.jsなどの外部ライブラリが不要になり、ブラウザネイティブで高速な圧縮・解凍が可能になります。
主な活用例として、IndexedDBへのデータ保存時のストレージ容量削減や、S3やDuckDBなどのAPIとの連携が挙げられています。
CompressionStream でブラウザで gzip 圧縮する
この記事では、モダンなブラウザが提供するCompressionStreamとDecompressionStream APIを利用して、JavaScript上でgzip圧縮と解凍ができるようになったことを説明しています。
これにより、pakoやzlib.jsなどの外部ライブラリが不要になり、ブラウザネイティブで高速な圧縮・解凍が可能になります。
主な活用例として、IndexedDBへのデータ保存時のストレージ容量削減や、S3やDuckDBなどのAPIとの連携が挙げられています。
完全ドローカル運用。一応申し訳程度にjsonファイルへのエクスポート/インポート機能で別ブラウザや別PCにデータを持っていくことはできる。
生成AI使うとこういうちょっとしたものを試しにつくる、が爆速だな。
完全ドローカル運用。一応申し訳程度にjsonファイルへのエクスポート/インポート機能で別ブラウザや別PCにデータを持っていくことはできる。
生成AI使うとこういうちょっとしたものを試しにつくる、が爆速だな。
Check out Edge’s getAllRecords proposal, which allows for fast batch reads in either directions ➡️ https://patrickbrosset.com/articles/2024-11-19-even-faster-indexeddb-reads-with-getallrecords/
Feedback on the explainer is more than welcome!
Check out Edge’s getAllRecords proposal, which allows for fast batch reads in either directions ➡️ https://patrickbrosset.com/articles/2024-11-19-even-faster-indexeddb-reads-with-getallrecords/
Feedback on the explainer is more than welcome!