I don’t get why the RFC show an example returning 403 with body “You do not have enough credit.” although there is a dedicated status code " 402 Payment Required". Isn’t more correct to use 402 in this situation?
I don’t get why the RFC show an example returning 403 with body “You do not have enough credit.” although there is a dedicated status code " 402 Payment Required". Isn’t more correct to use 402 in this situation?
So which one are you using ?
My top 3 (as mainly JS dev) would be:
string
when you know that can happens.JSON.parse('{"n": 123456789123456789012.0}').n
// => 123456789123456800000
Object.freeze
a lot). Something like:const CONFIGURATION = { conf: { enabled: false } }
// setup a "copy"
let currentConfiguration = { ...CONFIGURATION }
currentConfiguration.conf.enabled = true
// try to reset the conf
currentConfiguration = { ...CONFIGURATION }
// => { conf: { enabled: true } }
if (foo = false) {
// do something
}
I tried Helix but my muscle memory around Vim movements was a non - starter for me. Also , Helix wasn’t working out of the box with Vue.JS (it needs to be tweaked a bit.
So I gave a try to LazyVIM and everything works almost as is. I’ll never look back.
The video mentions some “de facto” standard libraries like Lodash or Underscore. But there is also Bun which try to promote their standard library like their test runner, their HTTP server, etc…
I like Deno’s approach, since they try to make their “Standard library” also available for other platform. But only few of them are compatible with Node.js.
For instance, @std/cli
is only available for Deno. So I’ll stick with commander which is more standard for CLI tools, and it works with Deno, Bun & Node.js.
Just by curiosity, why Blender isn’t adapted for this use case ?
Congrat. How long did it take to build this game ?
my two cents,
I personally buy some music from Bandcamp, and I’m pretty sure those songs don’t exist on the Apple Music catalog. So I don’t want to handle multiple apps to listen what I want.
Also, streaming platforms have the internet constraints. Sometimes, like when I’m driving, I don’t have a stable internet connection
Recompress to a lossless format (…) There is very little reason for you to do this
I though there are no reasons at all to do it. What could be a valid use case for this ?
Offtopic, but I was not aware that licence CC BY-NC-SA 4.0 prevents commercial AI to use your content. It’s a good idea to use it for this purpose
For example, all of the list abstractions (map, filter, reduce, etc.) will copy the array to a new list every time you chain them.
This methods were added to generator recently. So you can avoid copying the array in memory.
All this is also without even getting started on the million JS frameworks and libraries which make it really easy to have vendor lock-in and version lock-in at the same time
In my opinion, it’s also what make JS good. There a package for almost everything.
You can get pretty far using a bit of JS and Tamper Monkey . You can even search in existing user scripts if someone already did it.
I just discovered from So You Think You Know Git - FOSDEM 2024 that you can use Git to generate columns:
seq 1 24 | git column --mode=column --padding=5
Will render:
1 3 5 7 9 11 13 15 17 19 21 23
2 4 6 8 10 12 14 16 18 20 22 24
It can be useful to list files / permissions in a directory in multiples columns
ls -lah | git column --mode=column --padding=5
(Ok, it’s useless)
I installed it on a cheap VPS a few years ago, and it just works. I never had to do any maintenance. I love it
I guess it is https://en.wikipedia.org/wiki/Turtle_(syntax)