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.
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 ?
I did a quick user script with Tampermonkey to search torrents links from torrents-csv.com of movies when I’m navigating to themoviedb.org . Not sure I can share it but it was really fun to develop and really useful for me.
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 guess it is https://en.wikipedia.org/wiki/Turtle_(syntax)