« first day (2159 days earlier)      last day (2789 days later) » 

12:34 AM
@DanDascalescu the questions are 4 years old.. not a big deal if no one gets to them for a while
 
0
Q: json last error returns 4

BOTJr.I am trying to send an array from js to php through an ajax call.To achieve this i first converted my string to json by using JSON.stringify() and then at the other end i used json_decode() to decode, but it didn't work out. Using json_last_error() i found the error to be 4. Js code looks like ...

Anyone ?
I really need help on this one
 
1:15 AM
@BOTJr. are you sending over the form as JSON? If not encoded, of course it wont decode
@rlemon @ndugger I switched up leg day, and I comfortably pressed 380lbs :D I'm getting stronger
 
I'm eating hummus
 
I'm drinking beer
 
I'm getting hummuser
 
I'm eating cereal
bruh
 
lol
 
1:19 AM
My back is freaking killing me
 
@SterlingArcher just updated my question
 
that's a bit of a stretch
oooooooo
 
and then it was (removed)
 
oooooooo
 
@BOTJr. log out the JSON before you post. Looks like your quotes went to shit
You guys suck lol
 
1:23 AM
twss
 
I mean... yeah.
Oh fuck you
 
lol
 
:32809031 nice
 
@SterlingArcher 2.9
 
@SterlingArcher how do i do that?
 
1:27 AM
Um.. console.log?
 
oh
wait
 
All I wanted was to play a sound with node.js, and here I am downloading 1.5GB of software
it's raining men
 
hallelujah
 
did you see my latest hangouts @SterlingArcher
 
ummm not yet
ok im already terrified
 
1:30 AM
excellent
 
js
 
but why
 
who knows
 
not you catmoon we're having a shrek moment
 
1:31 AM
@SterlingArcher updated.
 
Shrek is not a moment. Shrek cannot be confined in space or time. Shrek merely is.
Shrek is love. Shrek is life.
 
> me: /snaps picture of the surrounding mountains/
her: I'm jealous. I want to see pretty stuff!
me: Look in the mirror, then!

tl;dr I'm a smooth sunuvabitch
 
Contain yourself woman
 
Shrek is a ogre
Just sayin'
 
@ndugger mutters holy shit
 
1:33 AM
@BOTJr. I'm bored, find out why your backslash is being escaped and not the quote and theres your answer
 
@mooncat39 It ain't ogre till it's ogre.
 
@ndugger and uh, did it work?
 
grunt ok, it's ogre
 
@SterlingArcher Still waiting back on the reply
 
1:33 AM
God speed soldier
 
This is the slowest I've ever flirted with a girl. I'm not rushed, I'm not emotionally attached, it's just good flirting. I think this is how adults are, but I'm so fucked, I couldn't tell you.
 
@ndugger ooooooooooohhhh
 
@ndugger smooth town calling dr.smooth
 
Dick pic time
 
lol
 
1:35 AM
of course
 
If we gave apes cameras I wonder how soon they'd invent the dick pic.
I mean, we gave them money and they invented whores straight away.
 
I think shitpics would be sooner
 
I mean
Yeah
 
1:39 AM
Send a shitpic to steph
after you've eaten chipotle
 
savage
 
Honestly I could suplex that girl and she'd still wanna go to dinner
 
@rlemon I think we stick to normal porn before we try fetish porn
 
@SterlingArcher well.. try it
 
G+ lol
10/10 gonna suplex her BWAH GOD
 
1:43 AM
don't
 
TOO LATE SUPLEX ENGAGED
 
@SterlingArcher You're what now?
 
He suplexed his weenis in her gina
 
I'm gonna suplex the shit out of my girlfriend
I repeat
BWAH GOD
Shit it still feels weird to say that
 
jesus
 
1:45 AM
you're really into that word today
 
suplex?
 
shit
 
I
 
to kill myself
 
1:46 AM
well none of us do
 
girls
 
because
 
we're gay
 
bromos
 
@KendallFrey I only said shit twice today
ALSO HI @Shmiddty
 
1:48 AM
!!s/said//
 
@KendallFrey @KendallFrey I only shit twice today (source)
 
hi dickbutt
 
well it was twice in rapid succession
 
thrice
 
pubic lice
 
1:49 AM
You're going to douche your gf after dinner? Going for brown town?
er
 
I mean give her an enema
 
Fun fact. 2 of my messages containing "shit" have been starred, one recently, and the next one: December 2015
Dec 30 '15 at 20:54, by Sterling Archer
fucking fuckity fuck shit balls fuck
Go me
Oh jesus guys stop omg lol
 
!!s/G/D/
 
@KendallFrey Do me (source)
 
1:50 AM
NICK
 
sorry
 
!!s/N/D/
 
@KendallFrey DICK (source)
 
KENDALL
 
!!s/ENDALL/KK/
 
1:51 AM
@ndugger KKK (source)
 
I'd say to blame it on the alcohol, but I'm in Utah
 
Utah is Kendall's mum's name
 
@rlemon what's your moms name
 
1:53 AM
steph
 
@SterlingArcher theresa
 
NICK
-6
Q: Malware virus infected other file

nierixinThere are three users, Alice, Bob, and Carol, with ACLs: F1: (Alice, r), (Bob, rw), (Carol, x) F2: (Alice, rx), (Carol, rwx) F3: (Bob, rwx) Assume a virus spreads only when a user executes a le infected with it. Consider the following independent scenarios: (a) A virus has somehow infected F1. W...

Destroy this
 
RICK
 
#DicksOutTillRicksOut
 
1:55 AM
#Dickroll
My taskbar is flashing
 
#HarambesOutForRichard
 
SO dank
 
lookit dat fine booty
 
harambooty
 
1:57 AM
lmao
 
> Harambe was nothing less than perfect. The kid should have been more disciplined. WHITE POWER!
 
#ApeLivesMatter
 
@ndugger what
 
I need more mini Arduino projects until my next batch of stuff comes
 
2:00 AM
welp, im gonna go to bed
!!afk that's why
 
@SterlingArcher i did get my question solved but the json decode should return me an array even though i used true as the second parameter in json decode? what could be the issue, any ideas?
 
You're the issue
 
this is not what i heard from your mom.
 
ooooooooooooo
dank
 
oooooooooo
 
2:46 AM
The mid-autumn festival is drawing near.
 
!!> ['hello', 'world'].join(' ')
 
@user7045 "hello world"
@user7045 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.
 
@user7045 nice
 
happy mid-autumn festival
 
@Xiaokun 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.
 
2:57 AM
happy mid-autism festival
 
let's eat cupcake
 
3:08 AM
does anyone know how to get the height of the screen using css?
 
not the height of the screen
but the viewport
 
hey guys, how do you import velocity and jquery into es6 project?
 
you can't get the screen dimensions in css
 
I was just referencing jquery and velocity using
<script src""> into main html file
but I thought there must be a better way
 
google it
 
3:12 AM
I've tried various apporach, oh and forgot to mention
I need it to be available through webpack
 
google it
 
I googled ndugger
 
@ndugger thank you!
 
user6820627
Can you answer this question? stackoverflow.com/questions/39461647/…
 
@LearnHowToBeTransparent 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.
 
3:13 AM
@Jason Liar; I found results on google right away. Try again; stop being a help vamp
 
user6820627
not my question. I understand CDN, but I can't answer...
 
@ndugger right
 
@LearnHowToBeTransparent that Q is off topic for StackOverflow
 
hey, I love becoming a job seeker state
 
so no
 
user6820627
3:15 AM
ok, can you close it?
 
It allows me to feel free from my current job, I can proudly say I'm looking for a job so I need financial support
, I can fully dedicate on developing my personal project
 
user6820627
@ndugger thanks for leaving that comment. I want to say that but I don't have enough rep.
 
Then get more
 
Hey, I like this guy
@ndugger pretty sick bro
 
Don't ping me
 
3:19 AM
ruderp.
 
user559633
I think the answer is "HTTP/websocket only", but when running a script in JS in a browser, is it possible to do raw TCP connections?
 
I love being a liar, makes me feel badass
 
user559633
(me too (i lied))
 
I love webpack
 
user559633
I bet you feel like a badass right now.
 
3:27 AM
yeah, badass gangsta
 
Hi folks
 
@Abhishrek hey man
How's it going?
 
all good
for(let [{injector, element}, value] of fetchFields(profile, fields)){
  injector(element, value);
}
 
206
Q: Coworker is easily and often offended and doesn't want us to mention offensive topics like facial hair

Jeffery DouglasWe have an employee who seems to be easily offended by non-offensive things. The latest example is that we should not talk about how facial hair makes someone look different because this person is sensitive to comments about beards. A colleague with a long beard, let's call him Jeff, shaved it of...

LOL
 
@Abhishrek Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
3:36 AM
Thats a new low from me :-/
 
How the fuck is facial hair offensive?
 
@ndugger people can find anything to be offensive.
 
People's gender identities can go get bent.
I'm so sick of the worship of mental illness these days
 
user559633
> HR later told me not to make any beard comments.
 
@ndugger triggered
 
user559633
3:43 AM
I would just grow a strange, patchy protest beard as bait.
 
I wouldn't consider that mental illness, but I neither give a fuck nor would give someone special treatment because of their identity.
 
user559633
Yeah, I don't think this is legitimate mental illness. I think this is "hey, pay attention to me, please/thanks/or else"
 
Nah, I consider it a mental illness for sure. Something went wrong that greatly changed their perception of reality and so they need to warp their reality to fit their messed up perception
 
If you're easily offended, you should do something about it, rather than making it uncomfortable for everyone else.
 
user559633
Complaining == easy; doing something == not easy
 
3:46 AM
they're doing something by complaining
 
user559633
I love the comments defending the attention.. we can't use that word now...wanter.
 
the real solution is to stop being so emotionally immature and let people joke around. Maybe go see a therapist if the world is too scary for you.
People just need to stop crying before the milk is even spilled.
 
user559633
But...attention :(
 
4:19 AM
{
  'OPTION': (element, value) => [].map(element.children, (option) => option.selected?option.value:false ).filter(Boolean).join(','),
}
I wrote that when drunk^
> [].map
 
4:32 AM
When you finally understand how beautiful es6 is.
Anyone know if there's a way to get superclass variables from an child class?
 
@Zirak what is it?
 
user559633
4:58 AM
@neet_jn I think that has a risk of getting name-mangled if you're minifying, but Object.getPrototypeOf(my_child.constructor).whatever_thing ?
 
5:17 AM
0
Q: How do you use velocity.js in Webpack?

JasonI am trying to setup velocity and Zepto or jQuery. In my Webpack config file, I'm using new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', 'window.jQuery': 'jquery', 'root.jQuery': 'jquery' }) to make sure I am loading jQuery as p...

 
5:44 AM
@AwalGarg lenny
 
@AwalGarg Haha, I know. We've had some of their seminars at our college
 
5:59 AM
Are you all English-speaking folks?
 
@PiyushKumarBaliyan 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.
 
I'm not :(
 
not cool
 
6:01 AM
I'm not, either.
 
@CapricaSix "Please don't ask if you can ask", what does this means?
 
Guess it means if you can ask someone around you for help, don't ask it here.
 
@PiyushKumarBaliyan it means you don't need to ask if you can ask a question
 
A traditional Chinese festival is drawing near. I am overwhelmed at the decision to go back home.
 
@SomeGuy how'd they go? and did you take the liberty to interrupt in between and obliviously poke fun at them?
 
6:05 AM
It's really hard to come out to parents.
 
OK @littlepootis, got it
 
What's the most popular front end framework around?
 
ColdFusion
 
Did you hear of vue?
 
user4710450
6:56 AM
Hi guys
 
user4710450
I'm in trouble
 
user4710450
I can't create a Node.JS Express.JS app in Webstorm
 
user4710450
 
user4710450
Here is a screenshot :)
 
user4710450
@ZhengquanBai, Seriously, you are GAY?
 
user559633
7:04 AM
Why would that be shocking?
2
 
@Ehsan Forget the project templates
 
user4710450
@tristan No just I thought he maybe meant guy
 
user4710450
@OliverSalzburg Why?
 
user4710450
I'm unable to create a Node.JS Express.JS app
 
user4710450
So I should use empty project?
 
7:06 AM
@Ehsan Use expressjs.com/en/starter/generator.html directly or Yeoman or just build it from scratch
 
user4710450
So there is no way to use Webstorm to create the project itself?
 
@Ehsan No idea. I never used that part of the application, but WebStorm, in general, is broken af
Or maybe you just have to install express-generator manually for that template to work
 
user4710450
OK, I'm just going to work with its Empty Project
 
user4710450
@OliverSalzburg I installed it no hope. It doesn't find it
 
@ZhengquanBai You mean the mid-autumn festival?
 
7:10 AM
Mornin'
 
Morning~
 
user4710450
Good noon
 
@Ehsan Yeah, then just use it manually and open the resulting folder as a new project in WebStorm
 
@Ehsan Yeah, I wasn't kidding. BTW, your desktop looks pretty good.
@Sheepy Absolutely
 
1
Q: How do you use velocity.js in Webpack?

JasonI am trying to setup velocity and Zepto or jQuery. In my Webpack config file, I'm using new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery', 'window.jQuery': 'jquery', 'root.jQuery': 'jquery' }) to make sure I am loading jQuery as p...

Anyone can help me out with this?
 
7:24 AM
@ZhengquanBai And what're you planning to confess to your parents? :)
 
that he has no confessions
 
How can you confess that you have no confessions? My brain hurts now
 
"Congratulations on leveling up to grandparents!"?
 
does it make sense to even store data in a redux store which I just need once for one specific operation?
 
Currently, I'm not prepared to come out. When they persuade me in good earnest to find a girlfriend and get married, my mind just goes blank.
 
7:36 AM
@Jason Don't post your question here multiple times
 
@ZhengquanBai When I was 16 I hope I'd get married before 20. When I was 20 I hope I'd get married before 24. And so on. Now I miss the time before we are married.
 
I've just decided it's not worth it. I value my hobbies too high
 
I think getting married is still managable. I didn't have to stop my D&D campaigns. Getting a baby, on the other hand...
 
Yeah, the baby thing is the problem
 
@Sheepy time? what is that thing?
 
7:43 AM
Time, yes.
 
the thing you don´t have enough
 
And what's ended my last few relationship.. I don't want to deal with that... thing and they usually want one
so I'm like fuck it then, go find someone else I want to keep snowboarding :)
 
Guys.. How can i get custom posts in wordpress by using ajax?
I cant seem to be able to find the url for it.. Wordpress newb here..
 
@ivarni when you get at some age, this sort of thing should be figured out pretty early
 
7:47 AM
I just want the money that people give you when you get married
 
@FlorianMargaine I'm at that age, so I'm single atm since it's a condition I have. I'm not having any kids.
In a few years I'll get to the age where they might have one already and I can skip all that baby-bullshit and then we'll see about it again
 
@ivarni and there are girls out there with this condition too, but they're the minority, I guess
 
Yup. And their little biological clocks can go off without warning too :)
 
8:13 AM
@FlorianMargaine A good friend of mine doesn't have any kids.
She has, in order of importance, 4 horses, 3 dogs, 2 cats and a husband.
That said, he has 4 horses, 3 dogs, 2 cats , a motorcycle and a wife :P
 
8:34 AM
@KendallFrey You can only do one turn before it goes bonkers, but for just a night dicking around I am pretty happy with it tronix.pieterhordijk.com \o/
 
@OliverSalzburg Thx for the info, but I kinda avoid asking it since I really don't know such informations I should provide when asking :).. But I figured it out somehow..
 
8:58 AM
i´m trying to copy an object from my dev console with "Store as global var" -> copy temp1, but i get the error msg "Unexpected Indentifier".. Does that mean my JSON object is invalid or am I doing something else wrong there?
 
@elsololobo: What's the full error message?
 
just "Uncaught SyntaxError: Unexpected identifier"
 
copy(temp1)
 
ah
wow just missing the brakets -.- woops
 
@Cerbrus yes, we all have this kind of friend
 
9:04 AM
does anyone have an idea why this won´t work in React? jsfiddle.net/h0sLy9we/1
 
Anyone here worked with Adobe Analytics?
It seems pretty awful, it declares a ton of global variables (like s) and uses document.write and the script itself is pretty big.
Do they have a REST API I can hit instead perhaps?
@MadaraUchiha can amp analytics be used outside of amp?
 
@elsololobo The script are correct, I think that you have to wait that load page or some object, and after execute it
Uncaught SyntaxError: Unexpected identifier : You probably missed a ; or a , or a ( or a { or a ) or a }
 
9:20 AM
hey guys, I'm trying to get the rows and columns from a grid in a easy manner using jQuery
Now for rows I can use jQuery .parent() and works perfect

$(".line").on("click",".cell:empty",function() {
$( this ).parent().css( "background-color", "red" );
});
but for columns I don't know how to do
so how can I get that columne ?
fiddle:
 
9:37 AM
hello guys
i am trying $(this "span").hide();
what is correct syntax
this is not working
 
learn JavaScript..
 
@beginner Maybe tell us what you want to do instead of posting broken code
 
i am asking we use $("#parent #child"); for select the element with id #child in the div with id #parent, is this correct
i am trying $(this "#child"). it is not working
 
that isn't valid javascript
 
9:43 AM
jquery
 
jQuery IS javascript
 
actually javascript is a jQuery plugin
 
@littlepootis can u tell me right syntax for selecting delegation element using this
 
I can't believe that react.js got so successful.
Feels like we prayed on stackoverflow for 5 years not to mix concerns, not to mix code, stay unobstrusive as possible... and now we throw that all aboard and do it the 1995-way again :p
 
@jAndy It doesn't mix concerns
They just turned the "oh lets drop tons of logic in our templates" way of doing things upside down
 
9:48 AM
@MirkoCianfarani finally it was, that "this" was undefined and I had to .bind(this) to the ajax call function
 
yea I know, but that's more technically speaking. In fact you're coding html and javascript inline and together, at least.. most people use it that way
 
That's not mixing concerns
 
that's just 1995 perl+html :p
 
@jAndy in my opinion it is the correct way, even if inline style is against everything we learned the past years ago
 
document.execCommand vs range api
which is better to use?
 
9:50 AM
but a component stands for it´s own and that´s great
easier to understand a foreign app
 
that much I fully agree on the approach
 
let's also throw CSS in there somehow.
 
just the implementation is what I dislike so hard
 
If you're making a rich client application there is going to be logic somewhere near your templating at some stage
 
@BenjaminGruenbaum I have no idea
I didn't know they had a different set of analytics
 
9:51 AM
@littlepootis nah, just define the sheets and include in just that components where u need it is just fine
 
Thought they used the normal GA
 
wow i´m using too much just´s ^^
 
you're also using backticks
that`s wrong
 
forgive me
 
No. You are forever shamed.
Shame. Shame. Shame.
 
9:53 AM
but this would be an additional key press on my keyboard = no option
 
Oh, they're forward ticks?
 
german layout
 
oh
@elsololobo no
too much work
 

« first day (2159 days earlier)      last day (2789 days later) »