« first day (2571 days earlier)      last day (2392 days later) » 

1:00 PM
Hey, guys. Can I get help with something? I want to use the 'reduce' method on an array, but I am not even sure how to start..
 
@rlemon it can make sense, but maintenance is double (at least).
 
It can make sense.. I don't know if your specific situation does
 
@rlemon i did read it, but i don't know how to do what I need to do. I am not exactly a coder..
 
@RobertRoss if you're writing code, you're a 'coder'
maybe not a very good one yet, but that's no excuse
explain what is confusing you
 
1:05 PM
@RobertRoss start at codecademy.com if you are not exactly a coder
this site is amazing to start learning, it guides you through the basics etc. This will get you some insight, logic etc in starting to code
If you are not exactly a coder do not start working with something you have no idea of learn about it first, i assume you want to learn something and not just finish something to be done with it
 
I'm not exactly a lot of things.
 
xD
 
Um guys hi, I have a question: I'm facing a sort of quiz thing, where you type your answer in a textbox and hit a button, and it verifies it. What could I do to possibly find the answer? Sorry, but JS isn't my thing.
 
Could you give us even any code to help you with? What have you tried so far etc.
 
I need have something like an aggregate function which reduces the size of a 2D array. So, to put it simply, if i have six arrays where the elements 0,1 and 2 are identical, from these six arrays I want just one array where i still keep the 0,1 and 2, but 3,4,5 are the aggregated values of these arrays.
 
1:09 PM
@Meraj99 you can make things easier: don't cheat
 
you can work with arrays and just run through an array with possible answers comparing them to eachother
 
lol, im not exactly sure what code to give... ive tried going through the scripts...
but if i would have to design it, where would i store the answer?
 
@RobertRoss have you even read my advice or do you just want a code out of us?
 
@KarelG i actually think this question is bugged xD
 
@Meraj99 as i said work with arrays
 
1:11 PM
like that the answer is wrong?
 
yup
 
Is there a method to filter out data sent and received from a certain web app. Obviously browser does it. I wanna know how to get those data from application layer.
 
the server
 
@Tomm usually "I'm not good with JS / I don't know JS / I'm not a programmer" is a preface for "I just want the code"
 
it depends of the developer, but i do that at the server
 
1:12 PM
@rlemon Sadly it does
 
mmm, ok... shall i try disconnecting my internet and seeing if it still gives me the wrong message?
 
client sends answer once the user has clicked the submit. The server validates and checks the answer and returns with ...
yeah do it
 
Meraj99 what is the question
 
if there is still a response, then the validation is done locally
 
its a picture puzzle, this one featuring la la land and steve harvey
 
1:12 PM
@tomm. I did read your advice. I know how to code on a basic level, but I don't know how to use the reduce function, especially on the array I have. I am just a guy in marketing trying to use the Google Apps Scripts API, but sometimes when it comes to things like this I feel challenged.
 
well, ive tried like every possible thing...
 
!!metal or alt or wubwubwub
 
@rlemon metal
 
wubadubadubdub
 
beat me to it
 
1:13 PM
Anyone?
 
@RobertRoss you said you do not even know how to get started how is that any close to coding on a basic level
 
@aquire you wanna MITM some web traffic on your network?
 
@tomm I have never used the reduce function.
 
Show us a before and after of what you want a .reduce() to do and I'll at least tell you if reduce is the right choice.
 
What's MITM?
 
1:14 PM
@RobertRoss you've been linked the official docs on Array.prototype.reduce. you need to give us the code you're trying to produce and the problems you're having
not an abstract of it
 
Man In The Middle attack
 
^
 
Man in the middle. Also known as 'the right kind of threesome'.
 
Ah no, no respone. Thanks for trying though xD
 
then the check is done at a server
@Luggage i'm the middle kid of 3. Am I qualified for MITM?
 
1:16 PM
@Meraj99 why dont you start trying without internet
 
yep @rlemon
 
@aquire okay, now you know the term. "how to man in the middle on my local machine / network"
might be worth a shot for a start
 
If that's what he means.
 
after researching it for a few minutes he'll find out
 
@rlemon I can give you an extract from the array I have and then you can give me some tips if you want. You don't have to write the code for me.
 
1:17 PM
fiddler might do it?
 
could even mean something like wireshark
 
@RobertRoss is a tip really better then a whole documentation?
 
@RobertRoss no, but if you give me some code that doesn't work I might be able to help you make it work
 
@RobertRoss could you provide us with like a fiddle and what you have tried yourself
 
@Tomm I haven't tried anything, because I couldn't figure out much from the documentation.
 
1:19 PM
@KendallFrey @Loktar ohh yea, brought my prints into work. pretty sure that's all I needed to do to sell my boss on one :D
if he does, gonna try to get him to get the bigger version :D
@RobertRoss then you need to re-read it
there are examples
 
3D printing evangelism :D
 
@RobertRoss if this doesnt work for you i think i might give up airpair.com/javascript/javascript-array-reduce
 
it's spreading
 
the .reduce docs are probably some of the more detailed array method documents
because reduce is kinda confusing at first.
but the docs do explain it fully, and if you run one of the accumulator examples it becomes pretty clear what is happening
 
* fights the urge to print something in 3D *
SEE KENDALL!!
 
1:21 PM
@RobertRoss can you do what you want by just looping? if so, do that.
 
the docs are good enough to at least take a stab at what you wanna do.
 
@Tomm I did, apparently it's validated on the server. rip me.
 
@Meraj99 you never went offline, are you sure
 
@KendallFrey there are dozens of us, literally dozens.
 
of "us"? who's "us"?
 
1:22 PM
@Luggage I don't think I can. The original array has 150k entries and looping will be slow and will make my script in Google spreadsheets run out of time
 
@Tomm yes i did xD
 
Weird
@RobertRoss Would you please for the love of god just read the link i send you....
 
@KendallFrey THERE ARE DOZENS OF US! 👉
 
You can keep asking us or you can try something
 
@RobertRoss a reducer is a loop
 
1:23 PM
here is the link again
 
Yea.... i have absolutely no idea how to do server stuff
 
@Tomm I did and I still don't understand how to what I want. Maybe I am just stupid.
 
Meraj do you have a server manager
 
@Tomm how is that weird? the answer is checked on the server?
 
@RobertRoss no way you have tried something followed the tutorial and read the documentation in that short ammount of time
 
1:24 PM
no x. x
i only code applications, not js xD
 
I code applications in JS
 
@RobertRoss look if you are a basic coder, you will really understand that tutorial. It is as basic as it can be if you just follow the steps
 
Meraj99, do you own that server application? Or just a colleague?
 
Well, I meant like C# and such.
 
I also code applications in JS.
Also C#
 
1:25 PM
My college club owns it xD
 
I code in brainfuck so that I get fucked constantly
 
@KarelG I just use npm for that
 
Nasty
 
lol
 
you can alias that command to the f word on your pc
 
1:26 PM
Getting a migraine in an airport without having your pills is something I won't recommend to my worst enemy
 
@KamilSolecki been there done that
trust me lifting off in the plane was even worse then i imagined at that point
 
drink some whiskey brother
 
@KarelG I had mine as wtf for a bit
 
under aged brother
 
@Tomm Thanks for the heads up :D
 
1:28 PM
are you from USA?
in europe it is available for 18+
 
I am from europe
I am almost 18
 
@KamilSolecki maybe if you don't want migranes don't go wondering around a fucking nuclear radiation exclusion zone
 
l0l
 
just sayin
 
@tomm I just don't know how to write my conditions
 
1:28 PM
hah
 
@RobertRoss
@RobertRoss how did you get 500 rep on so
 
@RobertRoss pretty much at this point, you need to make an attempt.
 
by asking a lot of questions :)
 
@RobertRoss that's something basic to do o.0
 
we will look at an attempt, but we're not going to listen to you ask the same question over and over
 
1:29 PM
conditions is the first thing you learn
 
we want some effort.
 
codecademy.com just saying
 
Can you see yourself in a mirror?
aww sweet. I think I just found unsed code.
 
@Luggage No, and I have a crippling allergy to garlic and silver.
 
1:32 PM
Tbh this is the best so chat i have been in
all other chats are so strict about only talking code and problems etc
 
@rlemon feeling swampy damn
 
we try
 
@Tomm we sometimes need to check ourselves and make sure we talk about programming
it gets very off topic in here
 
Sometimes if goes so far off topic it comes back to programming from the other side
 
if ( subject == "rick and morty" ) { continiue } else { talk code }
 
1:34 PM
@Luggage Ah, the little known supernatural programmers.
 
Never heard of that, but... is that a young Frakes?
 
Question time
 
@KendallFrey tv show called supernatural
 
on netflix?
 
1:36 PM
@Tomm Okay. Does time fundamentally exist, or is it emergent?
 
@Tomm how do I make a function return a boolean and a method?
 
emergent.
 
how do i write a condition
jk
 
unless you keep a state for the function call?
man, that would be super ugly.
 
K so this is my table haha prntscr.com/h3wehl
php and html
 
1:36 PM
@rlemon tuple
 
keh, that tv show is around from 2005
 
@KendallFrey in js
if(sad() === true){

sad().stop();
@Tomm's profile
 
syntax error
 
it's bad
 
smh
so anyone helping me or not lul
 
1:38 PM
@KendallFrey Is this The Big Picture room or something? Get out of here with your interesting well-formed thoughts!
 
@Tomm did you ask a question?
 
Not yet i got interupted
 
@SomeGuy Bob Chipman is dead to me now.
 
Thanks for the suggestion (to someone else) about that book, btw. It's so good!
 
:D
 
1:38 PM
@Tomm then no one is helping
 
@SomeGuy That's a brilliant book, btw
 
It is! I've read ~75% and it's been so good
 
!!welcome Tomm
 
@Tomm 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.
 
caprica i am not new to this chat
smh
 
1:40 PM
!!tell Tomm bot
 
@Tomm I'm actually a bot, so don't reply to me.
 
madara i am actually not a new user to this chat
but hey ty for the warming welcome
:p
 
Warmcome
 
@CapricaSix you're not my supervisor
 
@rlemon I can make that work with == but I doubt with ===
 
1:41 PM
@towc She does outrank you.
 
@Luggage I'll pass, thanks
 
is this the army?
 
@towc you wanna bet?
 
@towc She is a Room Owner. lol
 
@CapricaSix 5 internet points
 
1:42 PM
Toxc outranks her by 90000
 
Towc just made a power play against a robot and lost.
 
Caprica Six is a pixel that can be destroyed at any time :D
 
@Tomm try me
 
You wanna have a go m8
 
dude, cap will rek you
I can see it now
 
1:43 PM
I bet when ROs aren't around, we can make cap echo flaggable stuff
 
I got the power of god and anime on my side
 
wait for random flaggers, then hope the mods who know about her don't show up
 
@towc anyone who does gets perma banned from cap
 
and BOOOM kick
 
there are already people on that list
 
1:44 PM
oh
welp
I tried
 
@towc Do you remember the translate Feeds "feature"?
 
cap wins
 
@KendallFrey so much fun
and you could move Feeds to another room
 
not really :/
 
Feeds: PHP sucks -> moved to PHP
good times
 
1:45 PM
lol
 
in PHP, Aug 21 '14 at 22:45, by Feeds
PHP sucks.
found it
 
lol
 
nice
 
Feeds
10:44 PM
fucking shut up
reading that chat i am lmao
 
1:54 PM
in Lounge<C++>, Aug 21 '14 at 22:46, by Feeds
Fuck Meta police woop woop
 
lol
 

« first day (2571 days earlier)      last day (2392 days later) »