cypressious
|
3 months ago
|
on: Abuse of the nullish coalescing operator in JS/TS
It seems Rust's unwrap is the exact opposite of ?? "". It throws an error instead of using a fallback value, which is exactly what the author suggests instead of using ?? "".
cypressious
|
9 months ago
|
on: Don't guess my language
cypressious
|
10 months ago
|
on: Fighting unwanted notifications with machine learning in Chrome
Web notifications are opt-in.
cypressious
|
1 year ago
|
on: The tragedy of running an old Node project
If you use the the Gradle wrapper, it will use the correct version and download it if necessary. If I'm not mistaken, that's the recommended approach.
cypressious
|
1 year ago
|
on: Rider is now free for non-commercial use
It's explicitly allowed to be used for content creation.
cypressious
|
1 year ago
|
on: Embedded Rust in Production?
I really enjoy projects where the project and the scripts around it use the same language.
cypressious
|
1 year ago
|
on: Apple's risky bet on CarPlay
Impressive. Funny that one thing they got wrong is cars becoming smaller instead of bigger.
cypressious
|
1 year ago
|
on: One UX researcher ignited changes to how the company (YouTube) built product
Many years ago, I changed my YouTube bookmark to go directly to the subs page. Can recommend.
cypressious
|
1 year ago
|
on: Faces.js, a JavaScript library for generating vector-based cartoon faces
You could serialize the JS representation to Base64 or Base10 if you want it to be numeric.
cypressious
|
2 years ago
|
on: Push notifications – What to push, what not to push, and how often
It shows, though it's a bit obscure. Long press the notification, then press notification settings. It will scroll you down and highlight the notification channels item. Press on it. After a second, it will highlight the channel the original notification was belonging to.
cypressious
|
2 years ago
|
on: Push notifications – What to push, what not to push, and how often
Android forces app developers to categorize notifications (the API is called notification channels). Each channel can be muted individually in the system settings. Though it's up to the app makers to correctly categorize their notifications, in my experience most apps do this.
Whenever I see a spam notification, I immediatelly go mute the channel and the problem never repeats itself.
cypressious
|
2 years ago
|
on: Orion Browser by Kagi
It has become better in the last year or so. I used to have the same setup but currently Meet on FF works without issues for me.
cypressious
|
2 years ago
|
on: Inside the JVM: Arrays and how they differ from other objects
The default size of an ArrayList has been 0 for a while. On the first insertion, it is initialized to 10.
cypressious
|
2 years ago
|
on: Why does email development have to suck? – Explaining all the <tr>'s and <td>'s
Last time I had to deal with emails, I've used
https://mjml.io/ and was very happy with it. You can version the templates, compile them as part of your build pipeline and it seems to do produce very _adequate_ HTML full of tables that looks good on all clients that we tested.
cypressious
|
3 years ago
|
on: Virtual Threads: New Foundations for High-Scale Java Applications
Does you library use any of the JDK's blocking APIs like Thread.sleep, Socket or FileInputStream directly or transitively? If so, it is already compatible. The only thing you should check is if you're using monitors for synchronization which are currently causing the carrier thread to get pinned. The recommendation is to use locks instead.
cypressious
|
3 years ago
|
on: V-memo a new directive to improve your Vue 3 app performance
That's exactly what Vue does (unlike say React). Only those parts of the VDOM are updated whose dependencies changed. v-memo is mostly for lists and cases where updates should be delayed for reasons like flickering.
cypressious
|
4 years ago
|
on: TypeScript Features to Avoid
cypressious
|
4 years ago
|
on: Esbuild – An extremely fast JavaScript bundler
I think vite is using esbuild only for TS transpiling in development and esbuild & rollup for production.
cypressious
|
4 years ago
|
on: When it comes to Git history, less is more
This is exactly what the author is saying in the final paragraph.
cypressious
|
4 years ago
|
on: The architecture behind a one-person tech startup
You can always add Cloudflare to the mix to cache static assets. This change is additive meaning you can start with a single Heroku deployment and if static asset traffic becomes an issue, you can create a Cloudflare account, configure DNS and be done.