HNHacker News
TopNewBestAskShowJobs

zkldi

1,734 karma · joined March 10, 2021

aspirant
submissionscomments
zkldi··on NFT's aren't the answer to the problems of digital art
What?
zkldi··on NFT's aren't the answer to the problems of digital art
The fact that other games can refer to other <items> on the blockchain doesn't implicitly mean that they'll work in every game though?

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.

zkldi··on Ask HN: Is it worth it to invest in learning TypeScript?
You would have to check your third party data sources anyway? I fail to see how this is a knock against typescript.

Setting the type of unknown data to `unknown` forces you to validate it.

zkldi··on Ask HN: Why crypto is rising so fast when its not creating value?
Like?
zkldi··on Firefox 94
There are ads in the address bar?
zkldi··on No YAML
I've taken a massive liking to JSON5[1] recently for configs, but I've never really seen anyone else using it. Sucks, because I think it's really easy to read and write.

[1] https://json5.org/

zkldi··on How we built a serverless SQL database
it's impressive how well that video has aged with modern web dev.
zkldi··on Scaling Indexing and Search – Algolia New Search Architecture
Slightly off topic but I signed up for Algolia to try it out a month or so ago and it's done nothing but spam my inbox daily with so many things.

I tried clicking the unsubscribe link in the email and it just takes me to a blank page.

zkldi··on We want to fix GitHub Actions
Why are all the graphs on your main page[0] fake? They're all the same size despite the data being different.

[0]: https://buildjet.com/for-github-actions

zkldi··on Tricks I wish I knew when I learned TypeScript
You can use `ts-node` to copy paste directly into an interpreter. (`npm/pnpm install -g ts-node`)
zkldi··on How I built a modern website in 2021
Genuine question: what's up with it?

Typed Javascript for me personally has been a godsend for maintenance and avoiding stupid bugs.

zkldi··on Show HN: The Billboard, a fully decentralised billboard stored in Ethereum
Amusing that one of the things on the billboard is

> https://<SITENAME>.club Marketing that actually works. (like getting posts on HN's main page) 0.000000100000000011Ξ

zkldi··on Ruby removed “Participants will be tolerant of opposing views” from its CoC
I was trying to actually look for the sexist joke, couldn't find it anywhere.
zkldi··on Ruby removed “Participants will be tolerant of opposing views” from its CoC
Yeah - no longer assuming good intentions is a weird thing to change. I guess it makes it easier to claim bad intentions?
zkldi··on Ruby removed “Participants will be tolerant of opposing views” from its CoC
Not a fan of the "you should educate yourself" retort whenever people ask for definitions. It happens in that Github thread over what a "protected class" entails.
zkldi··on JSON5 Data Interchange Format
It's a superset of JSON, so it should natively support true and false identifiers.
zkldi··on What if Git worked with programming languages?
Personally, I'd go as far to say that `alignment` is an anti-pattern.

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!
zkldi··on What if Git worked with programming languages?

    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.
zkldi··on A notable JavaScript developer shamelessly copied one of my most downloaded nod
I have nothing against them as a person - I don't know them at all. However, the ANSI colours one is blatant package-downloads optimisation. Infact, the READMEs were clearly copied and pasted,

> 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

zkldi··on A notable JavaScript developer shamelessly copied one of my most downloaded nod
I don't really think the idea is copied at all. The idea of formatting code is fairly common. I just think they should stop using deceptive advertising.
zkldi··on A notable JavaScript developer shamelessly copied one of my most downloaded nod
The JS Open Source Community is filled with people grifting things like this. Quite notably, there's a linter called JS Standard Style, which actually has nothing to do with JS Standards.

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.

[1]: https://github.com/standard/standard/issues/1381

zkldi··on A notable JavaScript developer shamelessly copied one of my most downloaded nod
For what it's worth, this is also all the work of one person who spammed NPM with micropackages to boost his download counts. This meme attacking `npm` for nonsense like `is-odd` is quite literally the result of one person resume boosting.

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

https://github.com/jonschlinkert/ansi-bgcyan

https://github.com/jonschlinkert/ansi-bgwhite

zkldi··on Migrating to Next.js from Create React App
This still isn't correct - vanilla react.js is not create-react-app at all.
zkldi··on Postman raises $225M Series D at $5.6B valuation
Can vouch for insomnia, have been using it for a long time now and it's been great.
zkldi··on Show HN: Visualizing a Codebase
Is this site critically slow in firefox for anyone else or just me? It's running at around 1fps...
zkldi··on Vue.js is Wikimedia Foundation's future JavaScript framework
Well, no, because JSX is meant to be parsed by a JS parser and not a HTML parser.
zkldi··on Vue.js is Wikimedia Foundation's future JavaScript framework
> This is true for Vue and Javascript.

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.
zkldi··on Vue.js is Wikimedia Foundation's future JavaScript framework

    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.
zkldi··on Vue.js is Wikimedia Foundation's future JavaScript framework
Because that loop doesn't do what you think it does?

for...in iterates over the keys of an object, but for in in vue iterates over the elements of an array.

zkldi··on Vue.js is Wikimedia Foundation's future JavaScript framework
> It's basically any valid `for..in/of` expression

This isn't true at all though, because `for x in y` is invalid JS.

← PreviousPage 5 of 7Next →