Readit News logoReadit News
stu_k commented on Reflect – Multiplayer web app framework with game-style synchronization   rocicorp.dev/blog/ready-p... · Posted by u/aboodman
stu_k · 2 years ago
How does one handle an upgrade to mutators? If a client is running old code then the operation will differ to the server. Obvious answer would be to version them independently: `increment_v1`, `increment_v2`, but wondering if there is a better answer?
stu_k commented on LiteFS Cloud: Distributed SQLite with Managed Backups   fly.io/blog/litefs-cloud/... · Posted by u/nalgeon
stu_k · 3 years ago
Has anyone built a mobile app on top of SQLite that can work offline, but then sync to a server when it gets connectivity? It feels like this could be built with a similar approach to this distributed SQLite, you'd "just" need more robust conflict handling.
stu_k commented on AltTab – Windows alt-tab on macOS   alt-tab-macos.netlify.app... · Posted by u/DerekBickerton
stu_k · 4 years ago
Looks great! I've currently use https://contexts.co/ but might switch over for the thumbnails
stu_k commented on CSS Gradients that avoid the “gray dead zone”   joshwcomeau.com/css/make-... · Posted by u/joshwcomeau
stu_k · 4 years ago
This also addresses an issue when you transition from black to transparent to emulate a shadow, and end up with a "cliff" where the gradient abruptly changes. You can see this in the tool when you transition from black to white with LRGB. Any of the other color spaces avoid it. Very cool!
stu_k commented on Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions   infoq.com/news/2020/05/sw... · Posted by u/nan0
gman83 · 6 years ago
If that were true wouldn't we be seeing a big increase in Dart adoption because of Flutter as well? I'm not seeing it.
stu_k · 6 years ago
Although it technically has cross platform GUI, Flutter has actually reimplemented all the native OS widgets. As soon as the OS changes some look and feel your app will look out of date.
stu_k commented on Drinking 1% rather than 2% milk accounts for 4.5 years of less aging in adults   medicalxpress.com/news/20... · Posted by u/lelf
prostheticvamp · 6 years ago
Yes. Steaming milk degrades lactose into glucose and galactose, and coagulates some of the proteins.
stu_k · 6 years ago
Do you know what effect those changes have in the body?
stu_k commented on WebAssembly becomes a W3C Recommendation   w3.org/2019/12/pressrelea... · Posted by u/galaxyLogic
kllrnohj · 6 years ago
Does anyone have any good success stories with WebAssembly in the actual context of using it on the web? That list of testimonials doesn't seem very inspiring as to whether or not the standard has seen actual production usage to justify being a recommended standard...
stu_k · 6 years ago
We currently use wasm on the Adobe XD team for rendering shared prototypes in the browser. It allows us to share C++ rendering code across desktop and web and has been a massive success for us.

The browser support is good enough for our customer base, as it works across all operating systems and mobile devices, and we can fall back for asm.js for IE11.

stu_k commented on The cost of parsing JSON   v8.dev/blog/cost-of-javas... · Posted by u/s9w
Tade0 · 6 years ago
I think this fragment catches the spirit of this piece:

A good rule of thumb is to apply this technique for objects of 10 kB or larger — but as always with performance advice, measure the actual impact before making any changes.

Although it may still not be worth it. At work I have this hand-rolled utility for mocking the backend using a .har file(which is a JSON). I use it to reproduce bugs found by the testers, who are kind enough to supply me both with such a file and a screencast.

On a MacBook Pro a 2.6MB .har file takes about 140ms to parse and process.

stu_k · 6 years ago
You might be interested in a tool I wrote to serve .har files called server-replay: https://github.com/Stuk/server-replay

It also allows you to overlay local files, so you can change code while reusing server responses.

stu_k commented on Raising Prices Is Hard   backblaze.com/blog/raisin... · Posted by u/soheilpro
js2 · 6 years ago
FWIW, I switched from the Backblaze client to Arq + B2 in the past year or so. At this point Backblaze is little more than commodity storage to me and I stick with it because it provides the best combination of pricing and speed.

I switched to Arq once I had multiple computers to backup and paying by the GB for me is cheaper than paying per computer.

From a client-side perspective, Arq and Backblaze each have their own pros and cons.

stu_k · 6 years ago
Thanks for mentioning Arq, that looks really useful. What are the cons you've found?
stu_k commented on TextMate 2.0   github.com/textmate/textm... · Posted by u/jjuliano
lettergram · 6 years ago
stu_k · 6 years ago
"atom" probably includes searches for the particle, not just the editor, so not really fair comparison.

Also "vs code" trends higher than "visual studio code", so take all of these results with a pinch of salt.

u/stu_k

KarmaCake day260May 23, 2012
About
Website: http://stuartk.com/ Twitter: @stuk
View Original