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 ?? "".
HN user
cypressious
Agreed. I use https://addons.mozilla.org/de/firefox/addon/youtube-anti-tra... to work around it.
Web notifications are opt-in.
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.
It's explicitly allowed to be used for content creation.
I really enjoy projects where the project and the scripts around it use the same language.
Impressive. Funny that one thing they got wrong is cars becoming smaller instead of bigger.
Many years ago, I changed my YouTube bookmark to go directly to the subs page. Can recommend.
You could serialize the JS representation to Base64 or Base10 if you want it to be numeric.
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.
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.
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.
The default size of an ArrayList has been 0 for a while. On the first insertion, it is initialized to 10.
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.
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.
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.
Have you tried `const enum`?
See https://www.typescriptlang.org/docs/handbook/enums.html#cons...
Const enums can only use constant enum expressions and unlike regular enums they are completely removed during compilation. Const enum members are inlined at use sites.
I think vite is using esbuild only for TS transpiling in development and esbuild & rollup for production.
This is exactly what the author is saying in the final paragraph.
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.
You're probably thinking about some app not being able to start when some other specific app is running because both were using a GUID copied from SO for implementing single-instance apps.
Possibly the SO question in question: https://stackoverflow.com/a/522874/615306
You're certainly right but it also didn't help that Firefox for Andorid was _really_ bad for a long time. Fenix is a glimpse of hope but it came to late.
OP here: Just to clarify, I wasn't aiming for performance/complexity, only for making the algorithm easier to visualize.
However, I'm intrigued. Are you saying that the strongly connected components are the tuples and if they have edges to other components, they correspond to possible eliminations?
Exactly.
The funny thing is that Flash animations where the more straight-forward way. You create vector animations and export them as such.
Obviously, this is more universal. You can take any input as opposed to something that was vectorized to begin with.
No, that's against the guidelines.
Looks nice. I checked the network tab to see how light the page newcss.net really is. ~600kb looks good but interestingly enough, the favicon is the biggest asset.
The other major issue is that there's no way to have links outside those domains open outside the container, so whenever I click a link on Gmail that goes to Github, Github opens in the Google container and I always have to copy/paste the address to a new tab.
I had the same problem so I made a small extension that does that:
https://addons.mozilla.org/de/firefox/addon/container-outgoi...
There's https://github.com/open-source-labs/PreVue but I haven't used it yet, so I can't say if it's any good.
A bit offtopic, but I'm constantly annoyed by applications using 'x' and 'z' for related operations like zoom in and out in this case.
The reason is, German keyboards use the QWERTZ layout and as you can tell from the name, the 'z' key is in the upper row, right in the middle.
Maybe use 'w' and 's' instead? That's the default in first-person-type games. Actually, never mind, that doesn't work for the French who have AZERTY...
Agree with the non-intrusive part. However Defender does slow down programs that do a lot of filesystem IO. I tend to disable it when I update bigger programs or run other IO heavy tasks.