« first day (2697 days earlier)      last day (2475 days later) » 

17:00
it is a tictactoe and i just want to prof
Hey, Could anyone take a look at this question please stackoverflow.com/questions/49060405/… Any help is hugely appreciated.
@Tums Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Ah, so you have the player's choices, and you want to see if their choces match any of the "winning" scenarios
it is a tictactoe and i just want to proof if the selected Boxes exemplo: [0, 2, 3] matches one of my winner combination indexes
which you have in an array
17:02
@KevinB yes :-)
if they were all lists, you could just do .includes
@Tums you may have to do a big no-no and modify the distributable file where the promises are being generated and add some flag like __isPromise
@Allenph I mean, it works for normal currencies
@OliviaP. How else might you structure your data to simplify this problem?
US dollar hasn't been backed by anything tangible for close to a hundred years
17:03
@TylerH Yeah. That worked out real well.
@TylerH USD is backed up by boots
what kind?
The combat kind.
The kind that fit snugly in people's asses
17:04
@OliviaP. first, write a function that takes two arrays and returns true if they are equivalent, and false if they aren't.
@Shmiddty here you can see more.. here code...
are they supposed to be in a 3x3 grid?
@Allenph Well is 100 years a decent starting target for stability for a crypto currency? If not then yeah fiat is probably not gonna work
the systems we use now are far from great, they're simply less bad than the ones we've already tried at this scale
@TylerH It's a good target to end up in the same boat we're already in.
I suppose.
@Allenph which is?
@TylerH Using fiat currency on the grounds that it's more stable.
Last I checked there is no outstanding threat against the US dollar's value that would cause hyper inflation or deflation
also the reasoning behind moving the US off the gold standard was not because fiat is more stable, but because they wanted to use the gold they had stockpiled
No it isn't.
It's so they can tax us without asking by printing currency.
there's no way the US could have used a fiat-backed currency to pay its debts in 1776
@Allenph lol
:tinfoilhat:
17:09
^
The treasury is a private bank. It's a Ponzi scheme.
you mean the Federal Reserve?
Mhm.
I'm going to lock you in the Federal Reserve!
he doesnt understand the concept
@Allenph it's not a ponzi scheme for a number of reasons but you've already made your belief clear so I won't bother arguing with you on it
@SterlingArcher until the end of the show when he always slides in a very well-reasoned comment that shows mastery of the subject. Classic.
17:11
@TylerH If you have a solid argument the the contrary I'm all ears.
@TylerH you haven't seen The Other Guys?
Or am I missing a reference
What sort of checks and balances/transparency is there at the Federal Reserve? How easy would it be to print money but not report it? Report destroying money but not destroy it? I don't know, just wondering.
@SterlingArcher Yes I couldn't remember what it's from and I recall Archer having the same problem
I love The Other Guys
@Loktar Hi o/ I can remember you did some nice proceduraly generated ships some years ago. Can't seem to find any github repo. Do you have something somewhere ?
2
17:13
@TravisWhite They print money at the request of the government by my understanding, but I don't think there has been a real audit in quite a while although I'm not 100% sure how that works.
But that wasn't my point.
I was saying the government uses the treasury to tax us, not that the Federal Reserve is stealing.
NH.
NH.
Question of the day:
A random oracle is often discussed using the example of a gnome who lives in a black box with a big, fat book and a pair of dice.
what color is the table on which he rolls the dice?
@NH. orange, because black boxes are orange for better location
@Allenph A Ponzi scheme is the invention of a purely imaginary business used to fleece money out of continuously more people in order to continue making money for the people who thought it up. The Federal Reserve does print money, yes, but it does so for a purpose - the US monetary supply - which is then used as a real basis of value for trading on goods and services. There are a lot of problems with the system, yes, but it also has functions and federal mandates and guarantees
NH.
NH.
@HéctorÁlvarez no
Well I'm between orange and y=-xe²
17:17
and you and I don't "buy in" to the reserve by giving them our money (which the reserve prints itself, by the way) in order to make them rich.
NH.
NH.
how is that a color?
because unicorns don't wear hats
NH.
NH.
the hats wouldn't fit over their horn
it could have a hole to fit it
or a really tall hat
17:17
@NH. is colour the light emanating from an object, or the light that would emanate when illuminated by white light?
It doesn't even work as a Ponzi scheme because they would be "getting rich" using the same resource they make. In which case, they would just make the money for themselves.
NH.
NH.
@KendallFrey The latter, but it doesn't matter for the pun involved in this question
well sorry for trying to work out the riddle
NH.
NH.
ok, not really pun. more geeky reference.
I just gave you a clue, what's wrong with that?
@TylerH Not exactly true.
When you print more money you increase the supply. You inflate the currency and the value of a single dollar in the system is less because the new dollars have "siphoned" some of the value from the dollars that existed before.
@NH. trick question. There is no table.
NH.
NH.
@Shmiddty clever, but that's not what I had in mind.
And since the US "backs their currency with boots" as Sterling put it, there's not the same problem as a Ponzi scheme where you run out of people.
@NH. you're the one that didn't explicitly state that there was a table on which he rolled dice.
NH.
NH.
17:21
I know, my bad.
so bad
I'm not saying the Federal Reserve is stealing, I'm saying the government uses it as a tax you don't have to vote for.
Does the table have legs?
NH.
NH.
@KendallFrey not necessarily
the gnome is the oracle apparently
17:22
@NH. could it?
and the table is the big fat book
NH.
NH.
@KendallFrey if you like, but again, that doesn't matter for this question.
quick, what hex colors spell words?
it's #bada55, right?
#c0c0
NH.
NH.
just for entertainment. the table is not a particular hexadecimal color.
I think a proper hex has 2,4,or 6 chars, though
does the color have anything to do with the midget the book, or anything you told us?
@taco no. 3 or 6
NH.
NH.
no, 3 or 6 chars (for HTML)
o my b
17:27
@NH. is the answer in the wiki I posted?
NH.
NH.
@HéctorÁlvarez ah, yes. Another big hint: the purpose of this entire random oracle is for a hash function (in fact, a random oracle would make a perfect hash function for many intents).
@Shmiddty part of it is, but read the bit about hash functions
is it rainbow?
@KendallFrey only if towc makes it
NH.
NH.
maybe I should be asking this joke on crypto chat, they would probably get it.
@KendallFrey yes, but specifically...
no jokes here
only jQuerytography
17:30
@SterlingArcher then who let you in?
I have a list on my phone
Oh hey, your mom is on it
nice
I don't think I should mention what your mom is on
probably menopause tbh
is it Earth? Is she on Earth?
so the answer was a rainbow table
17:32
but it doesn't have legs
your mom is on a rainbow table?
so the answer is "rainbow", which @KendallFrey already said
@NH. that's what I said
@Shmiddty d34db33f
17:33
"what color is the table?" "rainbow table"
and again, rainbow tables don't have legs
@Shmiddty looks for reboot syscall arguments...
NH.
NH.
@FlorianMargaine well, probably since the hash of your mom is deec6a3e9326a373b299fbead22c0339a2e18836
@FlorianMargaine what steak do you have in this, scoundrel?
!!> atob('deec6a3e9326a373b299fbead22c0339a2e18836')
17:34
@SterlingArcher "uçœé­Þ÷}ºk~÷oo}}·šwmœÓ}ýkgµóÍú"
checks out
SHA1?
Rookie
NH.
NH.
I wasn't going to do Argon and have someone have the hardest time verifying it.
besides, who makes rainbow tables for Argon?
anyone using Argon is probably salting anyways.
17:35
is that some kind of hipster hash?
NH.
NH.
yeah, pretty much
most of those periodic table shower curtains are colorful, but probably not a complete rainbow
NH.
NH.
like the pic
@ssube that's a cute idea
there's an idea there?
I avoid those if at all possible
NH.
NH.
@SterlingArcher and also, since we were on the subject of rainbow tables, we must be using these hashes for password purposes, and SHA1 is just fine for password hashing, as long as you wrap it in PBKDF2.
and salt.
like the vampire-defeating hipster above.
17:41
I'm trying to use node-replay. I wanted to have unit tests that play from node-replay fixtures, and integration tests that actually use the web. Instead of setting a mode for the same exact code.
@NH. wait, you'd wrap a hash in a stronger hash?
NH.
NH.
@KendallFrey PBKDF2 isn't a hash all by itself.
oh, what then?
NH.
NH.
it is a key derivation method that takes a hash function and a salt, though I don't know if the salt is optional.
oh, and a password :)
I thought it had a standard hash
17:42
Anyone do something like this? Have /unit and /integration in seperate directories, where integration has all of the code, and /unit just has stuff to play back network traffic for the integration test?
tests that size probably shouldn't rely on the network, there are much simpler ways of mocking an API
For that matter can you invoke a describe in integrationTest1.js from unitTest1.js? I can require integrationTest in unitTest. But would I have to export the describe or something to invoke it?
Easier than node-replay?
I've not seen it.
I guess I could just use one file, and set a mode using different targets in package.json, but that dirties unit tests with stuff that integration tests don't always need.
And this really only tests the happy path.
> To get a certificate, you must create a Certificate Signing Request (CSR) on your server. This process creates a private key and public key on your server. The CSR data file that you send to the SSL Certificate issuer (called a Certificate Authority or CA) contains the public key. *The CA uses the CSR data file to create a data structure to match your private key without compromising the key itself.* The CA never sees the private key.


What does the part in asterisks mean? If they can "match" your private key, why can't someone else?
They just sign your public key along with the hostname it is for. That is used later to verify your private key at runtime
it's worded confusingly
Their certificate is allowed to sign a cert based on your CSR, the one they create for you is not.
17:56
I think I need a diagram of the flow of data
to understand this

« first day (2697 days earlier)      last day (2475 days later) »