« first day (2078 days earlier)      last day (3095 days later) » 

15:00
You're looking for a password
they're all the rage
Start with the network tab, and poke around HTTP headers
Utilize the console tools
Are these two lines equivalent?
o.status == 'processing' ? o.status = 'pending_approval' : o.status = o.status;
o.status = (o.status == 'processing') ? 'pending_approval' : o.status;
@Jhawins :P It's a variant of the brussels waffle
!!afk hailing satan
@mparnisari what do you think. 50% chance to get it right
15:04
i think so. too lazy to test it
too lazy to press F12 and copy paste
@SterlingArcher Thanks. This is... more than I expected.
Now I'm just going to have to figure out uh.
How to use this stuff in an extension.
you don't need to test both lines.
if you comprehend javascript very well, then you would see the answer
@mparnisari Then you're a waste of our time, and you shouldn't be here.
15:11
: |
Man.
University research sucks.
user2620028
this isn't php
typescript > javascript?
ts <> js
angular2 is using ts..I liked it. But js is very strong..I don't know if (someday) ts will become more used than js
15:24
... one creates the other
@RenanAraújo no. TS is supposed to be a polyfill for some things JS doesn't have.
As time goes on, TS will become smaller and use more JS features.
yes, it's like sass and css
I kind of like TS now. Sort of.
Their stated goal is to eventually meet up with ES8 or ES9 and TS will no longer be necessary.
15:32
@SomeKittens Netflix issues seemed resolved. I let it stream for six hours, no break.
Thanks for the help man!
@ton.yeung oh?
@Megaplex awesome! Glad we could help, who knows how many folks out there had the same problems.
@SomeKittens Being Mediacom? I'll betcha most of the midwest, haha.
@ton.yeung ugh, that's awful.
Lemme know when the blog's up, we can boost signal on HN/Twitter/etc
do you have a new job in mind?
15:44
@SterlingArcher omg I'm laughing so hard
Hght: Not-pregnant
Wght: Not-pregnant
...
I have tears
@VeronicaDeane Tears: Not-pregnant
!!nudge 2102400 is looking for a job. Help him.
@littlepootis Nudge #1 registered.
16:06
> As a 420 year old virginity wizard
Guys, I have a quick question again... why can't JS find index of array inside array? This is how does it look:
because objects are not ===
oh, that's a good point! thank you so much!
So should I iterate through whole array and try to find equal object by JSON#stringify()?
@PDKnight what exactly is your goal?
do you want to find a single element in nested arrays or see if an array contains some other array (comparing by elements)?
16:12
I want to find index of array in bigger one
:)
so I hope stringify should work
it might, but not well
hang on a sec, I can put together a really simple function for that
oh, I can make one, that's not a problem :D
I actually found out underscore has one function
all you need to do is search_space.find(it => it.all(a => other.indexOf(a)))))))))
within the big array, find the first smaller array where every element exists in the other array
you could also compare on indexes
I should study .all function
but your code looks so good though!
I wrote it lisp-style
close parens for daaaaays
if you don't care about order, though, it's really easy
16:17
:D
Am I stupid or I can't find .all function?
doesn't indexOf return 0 as a "success" value?
it returns >-1 as success value
doesn't it?
const search = ['a', 'b', ['a'], ['a', 'b']];
const find = ['a'];

function findArray(search, target) {
  return search.find(sub => Array.isArray(sub) && sub.every((it, idx) => target[idx] === it));
}

console.log(findArray(search, find));
it.all(a => other.indexOf(a) >= 0)
ha, that'll do it
16:18
woo guys I got a new job, no more meteor, praise be to odin
compares based on order, too
@PDKnight it's every, sorry
@corvid what framework should we expect to hear about, next? :)
@ssube ohh, I got it now :D
Do you get to get away from Mongo, too?
@Luggage don't worry, I'll be incessantly bothering the ruby room with my inane and contextless questions!
16:19
so that just does: find the first array where every item equals the corresponding item in the target array
retaining order thanks to idx
ruby job? hipster.
my city is the most hipster programmer city around
Boise?
@corvid San Frangarbage?
Cambridge, MA. I saw someone wearing a MongoDB shirt yesterday
16:21
@corvid really? Why is MA so hip?
omg, .isArray...sweet! I forget about this little guy...I used to use instanceof :'D
@ssube thanks again, master! ;)
Move.
@corvid Thanks for the idea. I am low on t-shirts
buys Postgres shirt
@ssube MIT is right there, then there's meetups for every type of framework. The presence of MIT is palpable when you hear people talking about non-atomic operations on a database outside a chipotle
@corvid ohhhh that makes sense
in light of the brexit, we can expect a wexit, iexit, and scexit
How can I remove the old results when the user sorts? jsfiddle.net/jknj4uat
@corvid gratz. rails job?
in light of that, "Euro Truck Simulator 2 is available to purchase on Steam at 70% off the typical retail price," just like the GBP.
@littlepootis Rails, although I am mostly doing front end. Bretty happy bout it
@TheCodesee do .text('') before .appendChild().
nah, that doesn't work.
16:35
hm
@TheCodesee like so? jsfiddle.net/jknj4uat/1
watch line 4
@ssube I love when people make relevant jokes.
@PDKnight yes that's it, thank you
@The np
16:42
holy shit. My favorite games at -75% and me out of money
Your favourite game is one that you don't have?
@SterlingArcher Lol, that shark opening though.
Saints row: the third, outlast, gmod, civ v at 75% off
16:47
@littlepootis don't buy outlast
you'll die
then be spooked
then cry
then die again
Dont buy dark souls 3.
you'll die
you will die
youll die
then die 100x again
I played that for about 20 minutes the other day, then ragequit and played Doom.
First boss amirite
Take the sword out of the giant they said
it will be fun they said
@SterlingArcher I played that and lol it was infuriating.
nope, goo everywhere, giant monsters, and smash
I have never gotten past the first boss in any Dark Souls game
16:50
It took me 57 tries to beat that giant
I counted
@SterlingArcher > Did it break our microwave?
@ssube I was driving to Britain in ETS2 last night :O thank god I crashed, it was my guardian angel protecting me
@Megaplex LOL RITE
How do you not move shit out of the way and maybe iunno... cut the power..
@VeronicaDeane ETS2 is almost as hard as Dark Souls.
It's easy unless you drive like me
> the developers of Euro Truck Simulator 2 quickly issued a patch a day 1 patch
Someone doesn't understand what a day 1 patch is.
user2620028
16:54
A "The Game" a day will keep the @jAndy away.
@SterlingArcher Where can I purchase some eye bleach?
@SterlingArcher Plus, that shark, lol. Oops, didn't kill it, why the fuck did it attack me? The harpoon attacked it!
@VeronicaDeane bro you gotta thank me today
OKay, I want to hear this. Why does he have to thank you.
Of course I need to thank him too
Because today on searching for 1 issue I found his answer which solved 1 problem of mine
And so I have upvoted his answer
17:07
@VeronicaDeane pretty sure that's what was going on in my mind, that's already a very good formalization :P
thanks
I have no idea if it's true, it just feels right
it does...
it isn't true in the general case, i guess
so idk if roots work that way or not
well, again, not sure how from that you derived that it's true if rt(2)/rt(3) would have been rational
because that would only prove the rt(2) * a = rt(3) * b
I guess you could try every case
it would just be 4 cases, right?
* = * , + = * , + = +
3 cases
well, no, still 4...
Is there a way around manually calling an executeable from node_modules directory? Eg: node_modules/.bin/knex [arguments]
17:11
so yeah, * = * is proven to be false because rt(2)/rt(3) is not rational
@towc It would actually be of the form ax + b where a and b are rational
Hey guys, any way to get the type of an input? I'd like to differentiate between checkbox, text etc. I currently have access to e.target, and e.target.type just returns 'input'.
fair point
@Jimbo the attributes?
@ssube What a muppet, I was looking at e.target.tagName. Cheers
17:20
@ssube, quick question... do you know in knex how to just return the first id from a basic insert? It always gives me back a list
lol tinderbots man
@ndugger
@corvid without installing globally?
you could make batch files, shell scripts or symbolic links in your project root to point to it..
eh, i'm on tinder and didn't have experienced "tinder bots" so far
maybe something from USA ?
@towc got your answer?
nope, discussing with Kendall in a private chat
17:27
What's the point of a tinder bot? Are machines trying to collect human semen?
haha, gotcha bookmark that
Nice :-)
I don't get it.
@Luggage the picture says "twat"
17:37
@Luggage hooker services/spam
Spam? Disgusting.
How do you tell the legit hooker bots from spam?
@corvid you should always get a list
whats the best way to go about svg animation these days?
"best"?
easy + features
17:40
"easy"?
"features"?
the best way is to not use svg
+? :)
or use svg
@rlemon i.imgur.com/LeIBIT9.mp4 A nice practice for something else (hint: watching porn)
17:46
@ssube What do you do if you want to make a transactional request on creating a user? I am making an endpoint where it inserts into a users collection then takes an email and inserts it into a user_emails collection (users is one to many to user_emails)
imgur.com/gallery/tmSYx we move further away from gods light every day
@Luggage I am wanting around 8 big svg icons on my page and I want to run some animations on them
HAMMERTIME!
Oh, I derped, lol.
I thought this chat is about ECMAScript lol
@KennethPalaganas 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.
it's lunch time and Friday, nobody is on-topic
^ I gave my last fuck weeks ago
18:03
Why does this code only sort once and then not sort again? jsfiddle.net/jknj4uat/2
@KennethPalaganas it is lol
oh, I get it.
hmm.. anyone use a react-based select/dropdown that they can recommend without reservation?
@TheCodesee my guess would be it's related to the fact that you're re-creating elements without also re-attaching event handlers.
Little bit of debugging would have informed you that the events weren't being triggered, thus making it not sort.
Either only re-create the list items and not the buttons or use "event delegation"
or re-attach events.. but.. meh.
Don't quite understand why the buttons are being added in that way with populate anyway.
18:12
guys is instafeed still running pastebin.com/UYmTBnRF thats my very simple example and doesnt work, nothing work, im trying to get instagram hashtags
can anyone confirm if instafeed still works?
@J-Carder 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.
@J-Carder try jQuery
plss
or stop spamming
@SterlingArcher flagging so they get marked as spam and trigger than ban, m8
18:14
Ah didn't know it was room spam
thank
VALID
No but seriously about that avocado juice...
how do you juice an avacado?
with care
@ssube Well, it does have a nipple.
18:15
that's milking
So you tenderly milk the avocado
Got it
@ssube relevant - oglaf dot com/incubus/ the link is kind of nsfw, and that site is NSFW in general, so deliberately not linked.
oh my god
18:16
@Danack I'm familiar with them, have the book on my bookshelf.
To the UK:
!!popcorn
I feel like a vote of just over 50% is not enough for the UK to upend itself so.
18:20
@Luggage if they took another vote right now, it would go the other way
and since this one wasn't legally binding, that seems like a good idea
it wasn't?
Cameron said "screw you guys, I'm going home." so I suspect they are following through..
maybe scotland will split, now. Weren't they close before?
@Luggage very. Scotland and Ireland are both planning to leave.
18:24
yea.. and a unified ireland makes a lot more sense if the uk leaves the eu
sectarian conflict aside
@Luggage all of the little side countries want to leave the UK and stay in the EU now
@ssube how ironic
like, Scotland voted overwhelmingly to stay in the EU last night
so did young people
> UK
> young people
if you're in the UK, you're born old and bitter
user2620028
18:29
If you drive a bmw you are old and bitter :D
lol shots fired
@HatterisMad nah I just do it to get laid
and outrun anything but exotics
user2620028
uhm
user2620028
how
Sterling knows
user1596138
18:31
@SterlingArcher lmao nice
user2620028
what are the engine tech specs?
user2620028
cause i have never seen a bmw wheelie before
user2620028
never even seen a bmw motorcycle wheelie before :/
@SterlingArcher lol, shots, fired <-- tumultuous day at work
@HatterisMad I suggest google image search for all these things you haven't seen.
How does a BMW help you get laid? Are middle managers in that much demand?
@Luggage it doesn't for old people. Having a nice car when you should just be graduating college, however...
@ssube Wait, are you really that young?
That explains my lack of success
user2620028
18:35
@luggage yeah..... meant personally not by a google image search
user2620028
@ssube does that car really have a bmw engine in it lol
@HatterisMad I don't know
I just looked up what you said you'd never seen
user2620028
also didnt doubt that the bike could wheelie, just never seen anyone but tired old men riding them
@Megaplex depends on which degree you're going for, but def not old.
who here is good with nodejs?
18:36
I got the 335 a few days after I turned 24
user2620028
@ssube should be graduating college would be like 21 years old man lol
@HatterisMad if you go for a noob degree
a real one is 23-24
user2620028
when people refer to graduating college without specifying a degree i think the default you think of would be a bachelors degree
Unless you are Doogie Howser
user2620028
you know... why you are considered a graduate when you are going for your masters
18:39
o.O
wtf
ah, sped up
lol
@MadaraUchiha I totally wanted to make a game like this... Interesting. I'd be interested

« first day (2078 days earlier)      last day (3095 days later) »