1,734 karma · joined March 10, 2021
The amount of effort it would take to support every item for every single game in every single game is impossible.
That means developers will:
1. Have to actually care about implementing items from many other games. 2. Have to choose a subset of items to implement (the valuable ones)
meaning that the only things worth owning NFTs of are the most valuable items in the game.
Also, NFTs are literally just pointers to data, there would be absolutely nothing stopping any game developer from inferring hash 0cd42e... as an entirely different item, or one with entirely different stats.
What appeal does this actually serve? Developers of different games and companies have to collaborate still, and they could just do that with an SQL database and APIs. Infact, that approach would be millions of times quicker, more efficient, and with no blockchain overhead.
Setting the type of unknown data to `unknown` forces you to validate it.
I tried clicking the unsubscribe link in the email and it just takes me to a blank page.
Typed Javascript for me personally has been a godsend for maintenance and avoiding stupid bugs.
> https://<SITENAME>.club Marketing that actually works. (like getting posts on HN's main page) 0.000000100000000011Ξ
Setting up an automatic formatter and using tabs is personally the best for all worlds. Space-like alignments like
var someReallyLongVar = 5;
var x = 10;
Are the worst! if (x)
{
SomeMethod(paramater1,
paramater2,
parameter3);
}
You simply should not write this code. It's unclear, and performs nonsense indentation. You could do: if (x)
{
SomeMethod(
paramater1,
paramater2,
parameter3
);
}
If you need your function to use line breaks.> The color reset, in ansi. [1]
> The color strikethrough, in ansi. [2]
etc.
Which don't really make any sense.
[1] https://github.com/jonschlinkert/ansi-reset [2] https://github.com/jonschlinkert/ansi-strikethrough
It's marketed as if it was a standard, the fact that it isn't is tucked away in the readme, and also -- the entire project is just a wrapper around someones .eslintrc file, yet barely any credit is given to the ESLint devs who do all the work.
Go ahead and read the readme here, https://github.com/standard/standard. Could you genuinely tell this wasn't really a JS Standard at a glance? Could you tell this was just a config file for someone elses work? None of the donations go upstream to eslint by the way.
Hell, the actual config file is hidden inside a sub repo:
https://github.com/standard/eslint-config-standard
which has the audacity to claim
> This module is for advanced users. You probably want to use standard instead :)
It's a config file for someone elses program! Why does this library go through so much effort to hide that it's just someones config file? Why on earth is it called JS Standard Style?
The whole community is filled with slimy nonsense like this.
EDIT: also, this was the project that displayed ads in a million terminals on installs[1]. It's 100% clear to me that this package is misleadingly marketed for personal gain.
For every one thing, he broke it down into as many possible packages as possible, and all of his packages depend on 20 more of his packages. It's like a fractal of resume boosting.
https://github.com/jonschlinkert/info-symbol https://github.com/jonschlinkert/success-symbol https://github.com/jonschlinkert/warning-symbol https://github.com/jonschlinkert/error-symbol
My personal favourite is making every single ansi colour into a separate package, and then making `ansi-colors` which depends on all of them, and all of these packages are just a single function call with a provided number. It's honestly insane.
https://github.com/jonschlinkert/ansi-black
https://github.com/jonschlinkert/ansi-reset
https://github.com/jonschlinkert/ansi-bold
https://github.com/jonschlinkert/ansi-dim
https://github.com/jonschlinkert/ansi-italic
https://github.com/jonschlinkert/ansi-underline
https://github.com/jonschlinkert/ansi-inverse
https://github.com/jonschlinkert/ansi-hidden
https://github.com/jonschlinkert/ansi-strikethrough
https://github.com/jonschlinkert/ansi-black
https://github.com/jonschlinkert/ansi-red
https://github.com/jonschlinkert/ansi-green
https://github.com/jonschlinkert/ansi-yellow
https://github.com/jonschlinkert/ansi-blue
https://github.com/jonschlinkert/ansi-magenta
https://github.com/jonschlinkert/ansi-cyan
https://github.com/jonschlinkert/ansi-white
https://github.com/jonschlinkert/ansi-gray
https://github.com/jonschlinkert/ansi-grey
https://github.com/jonschlinkert/ansi-bgblack
https://github.com/jonschlinkert/ansi-bgred
https://github.com/jonschlinkert/ansi-bggreen
https://github.com/jonschlinkert/ansi-bgyellow
https://github.com/jonschlinkert/ansi-bgblue
https://github.com/jonschlinkert/ansi-bgmagenta
This is not true for javascript at all.
for (x in [6,1,6,2,6,3]) {
console.log(x);
}
Please run this in any javascript runtime. for (x in [6,1,6,2,6,3]) {
console.log(x);
}
Please run this in your browser console and tell me if it iterates over the elements of the array.for...in iterates over the keys of an object, but for in in vue iterates over the elements of an array.
This isn't true at all though, because `for x in y` is invalid JS.