Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emadda
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
emadda
3y ago
I'm not sure to be honest, https://caniuse.com/indexeddb lists >95% for browser implementations. I quite like IndexedDB as it is widely supported by browsers. Although for simple data I prefer the sync localStorage
122.
▲
by
emadda
3y ago
One alternative to Comlink is to use IndexedDB transactions and polling. IndexedDB can be shared amongst Web Workers for the same origin (localStorage cannot). https://dexie.org is a nice IndexedDB library. As an example, if you
123.
▲
by
emadda
3y ago
Looks very nice. Side note: I released https://tabserve.dev a few months ago. It uses a browser tab and web workers as a reverse proxy to get a https url to localhost.
124.
▲
by
emadda
3y ago
Side note: I released https://stay100.app recently. It lets you view all stays in a grid with the final price you'll pay.
125.
▲
by
emadda
3y ago
Play is the Trojan Horse for getting the organism to learn the principles of reality.
126.
▲
Show HN: lilo, A CLI to download GCP logs to a SQLite db
(github.com)
4 points
by
emadda
3y ago
|
0 comments
127.
▲
by
emadda
3y ago
I released tabserve.dev recently. It gives you a https url for localhost by using your browser as a reverse proxy. Take a look: https://tabserve.dev
128.
▲
by
emadda
3y ago
Cool, care to share your blog?
129.
▲
by
emadda
3y ago
macOS, legacy desktop app: You can export each note to a PDF by highlighting them all, print, then save to PDF. The Evernote client will export each one to a PDF in a loop. I think there are options for adding the note folder to the PDF hea
130.
▲
by
emadda
3y ago
I have been using zod to create validation functions. The validation functions give the TS compiler hints about the types that are output after validation. I think you either: (1) start with the runtime code and derive the types (what TS do
131.
▲
by
emadda
3y ago
An alternative to contenteditable is to use a plain <textarea>, measure the inline width of the rendered text to get the absolute position of each word, and then overlay styles on top. You need to debounce/throttle the change eve
132.
▲
Show HN: bigwav.app – Transcription and Annotation using just a web browser
(bigwav.app)
29 points
by
emadda
3y ago
|
4 comments
133.
▲
by
emadda
3y ago
Thanks, yes it is the same thing. Tabserve adds a few extras: - No need to install a CLI, safer as it is in the browser sandbox. - Use the Chrome dev tools for observing requests. - Config multiple reverse proxies on different browsers rem
134.
▲
by
emadda
3y ago
WebSockets will be added soon. I think streaming HTTP responses may currently work. The client forwards the response back to the original client chunk by chunk (it does not wait for the entire response). I still have more testing to do.
135.
▲
by
emadda
3y ago
WebSockets will be added soon.
136.
▲
by
emadda
3y ago
The client itself is likely to be more secure than other reverse proxy CLI's as it is inside your browser sandbox. CLI's have access to all your files. You would take the same precautions as putting any other web server on the web
137.
▲
by
emadda
3y ago
Thanks. Yes, `Access-Control-Allow-Origin: app.tabserve.dev` is correct, app.tabserve.dev is the origin where the fetch requests are made to your localhost.
138.
▲
by
emadda
3y ago
Related: I recently released https://tabserve.dev which is a reverse proxy using your browser tab.
139.
▲
Show HN: Tabserve.dev. HTTPS proxy using Web Workers and a Cloudflare Worker
(tabserve.dev)
117 points
by
emadda
3y ago
|
21 comments
140.
▲
Show HN: Tabserve.dev – A HTTPS url for localhost using only the browser
(tabserve.dev)
5 points
by
emadda
3y ago
|
3 comments
141.
▲
by
emadda
3y ago
Reasons why WASM will not replace containers: - System calls call into the Linux kernel for things like disk and network access. These are highly tested and reliable. To keep WASMs isolation and portability it would need to replace these AP
142.
▲
by
emadda
3y ago
Those categories cannot be “wrong” as they are based on the types of molecules. I think what you mean is they are not meaningful to guide health decisions as they are too broad and can be further subdivided into more specific categories.
143.
▲
by
emadda
3y ago
On a side note, I recently released durafetch.com which allows you to download your Durable Object state to a local SQLite database. It allows you to observe and query your state in dev and prod. Take a look: https://durafetch.co
144.
▲
by
emadda
3y ago
If a alien UFO can cross the galaxy, why can’t they cruise above the earths surface without crashing?
145.
▲
by
emadda
3y ago
I recently released Durafetch. It consists of server functions to add to your Cloudflare Worker and a CLI to download all Durable Object state to a local SQLite database. Take a look: https://github.com/emadda/durafetch
146.
▲
Show HN: Durafetch – CLI to Download Cloudflare Durable Objects to a SQLite db
(durafetch.com)
1 points
by
emadda
3y ago
|
0 comments
147.
▲
by
emadda
3y ago
What services do GCP have that are 100x cheaper? Generally they seem quite expensive. I use GCP, very reliable though.
148.
▲
by
emadda
3y ago
Two methods: 1. Queue up writes to a single connection in a given thread. 2. Retry the write after a short sleep when you get a SQLITE_BUSY error. SQLite will do this for you, see busy_timeout docs. WAL is single write, multiple reader, so
149.
▲
by
emadda
3y ago
You are right, to be honest I had just assumed most news articles will have an overly negative spin to get clicks.
150.
▲
by
emadda
3y ago
HTTP2 and 3 are concurrent though and do not use the HTTP 1 pipelining I think you just mean concurrent downloads from the client
More ›