simplicitea's comments

simplicitea | 2 years ago | on: Parrondo's Paradox

This seems like such a pointless semantic flex to me...

In this case has the game not become Game A + Game B ?

It's just a larger game with a distinct winning strategy because the ruleset is expanded right?

What's the significance?

simplicitea | 5 years ago | on: Apple has threatened to ban Parler from the App Store

I would put forth that you're not going to get far in this conversation if you can't acknowledge that censorship and government abridgement of free speech are not one and the same.

A company deplatforming an individual is indeed censorship, but is not government abridgement of free speech.

simplicitea | 5 years ago | on: TypeScript 4.1

readability? who needs it when i can now say `this, but camel case and no nulls`

  export type Camel<T> = { [K in keyof T as K extends string ? `${Uncapitalize<string & K>}` : K]: T[K] extends Record<any, any> ? Camel<Exclude<T[K], null>> : Exclude<T[K], null> }

simplicitea | 5 years ago | on: TypeScript 4.1

Template literals... helllsss yesss, been waiting a long time for those suckers.

simplicitea | 8 years ago | on: Why the world has so many Guineas

It does; it stems from Portugal meaning black people according to the article. If I understood it correctly, it's some mashup of colony and black people. It's an artifact of early modern colonialism and zenophobia.

simplicitea | 8 years ago | on: JavaScript for People Who Hate JavaScript

well, objects are not iterables... ??? unless you decide you want them to be, in which case you can make them such and design them in a way that they work as such?

The least elegant way is Object.keys().map(key => etc) which is really not that hard to work with

edit: it's a phony premise to begin with actually. Iterables have order, objects have mapping. I am less experienced with other languages so I probably don't understand OP's statement clearly. I just think OP's context is lazy thought rot about what's becoming a fairly elegant language. BUT I'm a noob.

simplicitea | 8 years ago | on: JavaScript for People Who Hate JavaScript

> And how do you get the "next 3 elements after the 2nd" ?

.splice(2, 3) (am I missing something?)

> > The rest can be implemented in user-land: var md5 = require("md5") And then you get the current 3Mo pages we all hate. Are you even serious with your arguments or is it trolling ?

md5 node lib is 32kb unbundled. If you meant 3Mb pages that's ridiculous. Modular necessity at the hands of the user is good, and it's something that's been present in every project i've worked on in a less granular fashion than modern npm-driven apps can deliver.

page 1