>And don't even get me started on the async keyword Please do! Genuinely curious what you don't like about it.
That code does the same thing as https://news.ycombinator.com/item?id=15302465 but not the same thing as the code in the article.
Same reason given in the bluebird library documentation: > Promise.reduce will start calling the reducer as soon as possible, this is why you might want to use it over Promise.all (which awaits for the entire array…
https://doesmysiteneedhttps.com/
Is there a standard way to avoid attacks based on abusing your window.location.replace() calls?
Something I see often and is a huge code smell to me is not using the most restrictive form of iteration. If you see collection.map(...) you know that each iteration is simply a pure function from original element to…
foobar works perfectly and with no noticeable performance difference on linux in wine, and is imo miles better than any of the native linux apps.
Very well designed website.
You can do this in Java using derive4j: https://github.com/derive4j/derive4j. It generates code for algebraic data types which offer a typesafe interface similar to the `case` statements in languages that natively…
Relevant and very entertaining read: The Dice Man
> would have to know the hash of the file which requires them to already know the contents of the file That is incorrect. Knowing the hash does not mean you know the contents of the file. You should generate encryption…
From looking at "upload.js" you are using AES in counter mode. var aesCtr = new aesjs.ModeOfOperation.ctr(encryptionKeyBytes, new aesjs.Counter(-1)); Please use https://github.com/bitwiseshiftleft/sjcl which supports a…
The map doesn't change on page reload, and I'm guessing you didn't change it while training. Doesn't that mean these cars are trained only for this map? Surprisingly, they seem to successfully avoid user-added obstacles.
It's really easy with Mate or gnome-flashback. sudo apt-get install mate-desktop gets you a really nice desktop, almost identical to Ubuntu pre-Unity. Then you just need to use main = xmonad mateConfig in xmonad.hs and…
XMonad hits a sweet spot no other window manager does for me: import XMonad.Config.Mate main = xmonad mateConfig and just like that I have XMonad running inside my mate desktop, without the need to manually configure a…
I think you're being overly obtuse. The point they're making is that browsers don't automatically send anything after the # to the server. This makes it possible to implement apps where all decryption is done on the…
I never got the Java argument. I would much rather fail early and noisily with an NPE than return false and let my program happily chug along when it wasn't expecting a null. If the value is intended to be nullable, I…
This claims to improve static websites by adding hot reloading, search, React, the NPM ecosystem, and faster page load. Search can already be done using Jekyll…
JS: The Good Parts is obsolete
In webpack.config.js > if (IS_PRODUCTION) { > config.devtool = 'source-map'; Ouch! This will make for a huge bundle. See https://webpack.github.io/docs/configuration.html#devtool Merge request here:…
>It's the best Macbook I've ever owned What's so good about it?
> I am going to send over 15 cute boys for you to kiss You're a cool dad.
You should mention that a 648MW solar power plant produces 5.67 TWh/year (648 * 365 * 24). It doesn't seem that unimpressive then.
>And don't even get me started on the async keyword Please do! Genuinely curious what you don't like about it.
That code does the same thing as https://news.ycombinator.com/item?id=15302465 but not the same thing as the code in the article.
Same reason given in the bluebird library documentation: > Promise.reduce will start calling the reducer as soon as possible, this is why you might want to use it over Promise.all (which awaits for the entire array…
https://doesmysiteneedhttps.com/
Is there a standard way to avoid attacks based on abusing your window.location.replace() calls?
Something I see often and is a huge code smell to me is not using the most restrictive form of iteration. If you see collection.map(...) you know that each iteration is simply a pure function from original element to…
foobar works perfectly and with no noticeable performance difference on linux in wine, and is imo miles better than any of the native linux apps.
Very well designed website.
You can do this in Java using derive4j: https://github.com/derive4j/derive4j. It generates code for algebraic data types which offer a typesafe interface similar to the `case` statements in languages that natively…
Relevant and very entertaining read: The Dice Man
> would have to know the hash of the file which requires them to already know the contents of the file That is incorrect. Knowing the hash does not mean you know the contents of the file. You should generate encryption…
From looking at "upload.js" you are using AES in counter mode. var aesCtr = new aesjs.ModeOfOperation.ctr(encryptionKeyBytes, new aesjs.Counter(-1)); Please use https://github.com/bitwiseshiftleft/sjcl which supports a…
The map doesn't change on page reload, and I'm guessing you didn't change it while training. Doesn't that mean these cars are trained only for this map? Surprisingly, they seem to successfully avoid user-added obstacles.
It's really easy with Mate or gnome-flashback. sudo apt-get install mate-desktop gets you a really nice desktop, almost identical to Ubuntu pre-Unity. Then you just need to use main = xmonad mateConfig in xmonad.hs and…
XMonad hits a sweet spot no other window manager does for me: import XMonad.Config.Mate main = xmonad mateConfig and just like that I have XMonad running inside my mate desktop, without the need to manually configure a…
I think you're being overly obtuse. The point they're making is that browsers don't automatically send anything after the # to the server. This makes it possible to implement apps where all decryption is done on the…
I never got the Java argument. I would much rather fail early and noisily with an NPE than return false and let my program happily chug along when it wasn't expecting a null. If the value is intended to be nullable, I…
This claims to improve static websites by adding hot reloading, search, React, the NPM ecosystem, and faster page load. Search can already be done using Jekyll…
JS: The Good Parts is obsolete
In webpack.config.js > if (IS_PRODUCTION) { > config.devtool = 'source-map'; Ouch! This will make for a huge bundle. See https://webpack.github.io/docs/configuration.html#devtool Merge request here:…
>It's the best Macbook I've ever owned What's so good about it?
> I am going to send over 15 cute boys for you to kiss You're a cool dad.
You should mention that a 648MW solar power plant produces 5.67 TWh/year (648 * 365 * 24). It doesn't seem that unimpressive then.