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

10:01 AM
@mcmwhfy you not have a normal table, so you have use other method.
This is not specific.
From `$(this).parent()` you have to get index of element `<span class='cell'></span>` (are childrens) clicked by user . [use a loop]

NOW from `$(this).parent().parent()` you have to set css of the **index** children of every children element.
then you have to use two loop for get colomn of selected cell
 
@beginner "span" is a css selector. "this" is not. Have you tried $(this).find('span').hide()?
@mcmwhfy No need another loop. Use nth-child to get column cells: jsfiddle.net/SK48T/303
 
10:18 AM
@Sheepy Nice work
nth-child probably do a loop that I explained :D
 
i wish i could also retire at age 42 like chris metzen from blizzard :/
but i guess i have to do this shit till i´m dead
 
@MirkoCianfarani All CSS selectors are multiple loops, if you see it this way. Even a simple ID select - one to loop through the id hashtable, another to copy the result to a NodeList. If you use jQuery there's even more.
But the non-jQuery part is handled browser side, in the C code, so they are not javascript loop.
Oh I almost forget. And the browser need to loop through each character in the id to generate the hash. That's after tokenising and parsing the css string, which is even more loops...
 
@Sheepy thanks it works
 
@Sheepy Yeaaaaaah, I use more Javascript than Jquery!!! This cause long row of code but I have a fast response...
 
10:36 AM
stars.
 
starwars.
 
starwars the phantom menace.
 
@Sheepy Nice, thank you !
@MirkoCianfarani ty
 
starwars the phantom menace figures.
@MirkoCianfarani Sorry I want to take two of my loops back. I guess the browsers simply memcpy to create nodelist in case of simple id. And hashlookup is not a loop either. That leaves tokenising, parsing, and hashing. parsing may be shortcircuited for simple id, too, need to check source code...
 
11:36 AM
starwars the phantom menace figures out it's terrible.
 
starwars the phantom menace figures out it's terrible but it's too late.
 
I'm a bit paranoid about mobile performance and garbage collection. Does iterating ~500 strings and checking if they match the value of a input field every time the value changes cost a lot. Or is it negligible?
 
@Schoening That depends
Just run tests :P
 
I guess that is the only way forward yea :p I am screwed it its too slow haha!
 
12:04 PM
You probably don't have to compare against all 500, do you?
Like, only compare against those that start with the same letter as the input, that could already drastically reduce the set
A properly sorted input will probably result in very few actual comparisons being performed if the correct approach is used
 
12:17 PM
any angular2'ers in here?
also, Hi.
 
!!welcome Dave
 
@Dave 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.
 
Oh
 
nice rule
 
@RajYadav 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.
 
12:24 PM
can i store data in javascript object ,server side ?
 
using node or what?
or from client (js) -> server (e.g. php)?
 
i am new in js so want to know which i prefer?
 
@RajYadav Do you not already have some serverside code?
Or is this a completely new project?
 
we can´t make that decision for u, but in general for new ppl to programming php is just fine
because there are 1000x tutorials and it´s really easy to make things work
 
"php is just fine"...
I didn't think I'd read that here in 2016
 
12:30 PM
don´t start that debate
-.-
 
@KendallFrey completely new project
 
you mean people should stick to those old tutorials that were so fine ? That's why we have still loads of questions about escaping strings when concatenating them in SQL queries...
 
omf
i´m starting working, makes more fun
 
Most (99.9%) PHP tutorials are bad.
 
for new ppl, using php is much easier as the npm, node webpack and what ever currently exists hell
this is just true.. you quicker get results as reading through 100x guides how to use all that shit
 
12:33 PM
But PHP makes it easy to shoot yourself in the foot.
Don't use them, then.
Use what you need.
 
and those tutorials make sure you do shoot yourself in the foot
 
And not what's considered cool.
 
ah wait... i´m in the debate... fuck me!
 
can it be that react redux is just an overwhelming overcomplicated pub/sub system which was the only way to bring some kind of sanity into a messed up "framework" mixing html+js together using hard-coupling everywhere?
I'm looking into some tuto's right now and I can't believe how complicated this crap is for the easiest of tasks
 
then you are probably using it wrong
:P
with redux you have to look at the whole thing a real app, not a todo list
 
12:38 PM
yea its pretty much an outsourced goodlike thing which handles all the interesting stuff from all hard-coupled "modules" in one place
using like a pub/sub
 
i feel some angry vibes
 
indeed, first time I'm really looking into react and I'm getting one disappointment after another. I expected more from those Facebook guys
 
it just against everything you have learned in the past years ;)
but after doing my 2nd project, i feel like i´m going much better now
 
oh that's not my problem... I'm developing app frameworks myself and I did most of the stuff they did, 4 years ago already. In fact, this is worse because of making things so overcomplicated imo :p
 
haha ok
then rewrite it to a jAndyTheGame version ;)
 
12:43 PM
already on its way :P so far I was bound to company contracts and couldn't really publish much of the stuff I / we developed there
but.. things are about to change
 
ping me if your done :P
 
or should I say, the game will change :P
Maybe I'm off or I'm judging too early.. but come on... all this stuff with a godlike mediator which handles all actions from the actual modules, stores, reducers... this doesn't seem right to me, should be way more simple
 
Sanity check tuesday: when I npm shrinkwrap I do not commit my node_modules directory right?
Did I just kill the room? :P
 
yes
 
go back to php
:P
 
12:52 PM
:P
 
Peeeeeeeeeeehaaaaaaaaaaaaaaaaaaa
 
@DenysSéguret Hell they go as far as finishing it off by shooting you once in the head and twice in the chest for good measure
 
@SterlingArcher its back baby!
 
@rlemon SterlingArcher is afk: that's why
 
1:09 PM
@rlemon Why is Randy invading Stan's space so much? He's like a whole seat over! Is it because Jeb smells?
 
@Trasiva... centering the frame while keeping the logo.
 
Huh...I'll be damned, you're right.
 
Q; I am using a jquery Inview plugin. They say to wrap the image in data-src.
Does it matter if I have still a <img src=" as well?
so: <img src="blah.jpg" data-src="blah.jpg" alt="blah" />
 
Hey guys
 
1:21 PM
wtf @DenysSéguret...
Seriously WTF
-1
A: Number of columns of rows of a table

Erwin BrandstetterThe answer is trivial: SELECT count(*) > 5 FROM tbl; But here is a not so trivial hint: If the table might be huge (and you don't know it), the above query might take a while. To be safe: SELECT count(*) > 5 FROM (SELECT * FROM tbl LIMIT 6);

 
@rlemon omg yes
@Happydevdays are you here?
 
@DenysSéguret :sigh: user has a pattern
 
yeah... He does know SQL and databases, but he loves rep a little too much...
 
stackoverflow.com/questions/39205073/missing-hstore-extension is it odd that this user shows up more than once?
coincidence I suppose
 
@rlemon your early answers have so many formatting issues :P
 
1:29 PM
ohh probably
 
@rlemon s/coincidence/repwhoring like a pro
 
@Cerbrus that sjw meta post has destroyed my morning productivity
quite an entertaining read
 
ikr
 
@rlemon Which one?
 
And depressing at the same time
@Trasiva: Brace yourself.
 
1:34 PM
@Cerbrus I think it is safe to say someone was triggered hard
 
-46
Q: Gender exclusive language and moderator abuse

naomik This message written to StackOverflow support. I wanted to post it here in meta to get the community's response as well. It's a little scatterbrained because I'm pretty tilted, but I wanted to write it up before I became too discouraged and swept my feelings under the mat. EDIT: thi...

 
I've now read every answer and comment
it was a wild ride
 
SO TRIGGERED
It seems to have cooled down a bit, no new comments in a while
 
other than you
op seems to have logged off
 
Some girl can't handle being referred to as "you guys"? This is gonna be a shitshow.
 
1:36 PM
@rlemon Good for him.
@KendallFrey Not to mention a mod ABUSING his POWER
 
@KendallFrey Did somebody mention OP in the comments as "he" yet? :P
 
@KendallFrey I think the issue took a big dive when OP got upset no one was triggered with her
 
> I write to support today to let you know that I'm officially offended
 
They should ban her and say deal with it, that's life.
 
1:37 PM
@SterlingArcher Oh, it's official. That changes the matter.
Hehe
 
!!giphy offence taken
 
There's just so much one could say about that question.
 
@rlemon Wow your giphy actually returns related things
Ours just returns crap 99% of the time
 
@Cerbrus Here goes my entire morning....
 
1:39 PM
@PeeHaa feel free to use mine
li.rlemon.ca
 
!!giphy morning wasted
 
That actually applies to the discussion xD
 
@rlemon I want to point out, she's one of yours too.
 
@stenehall: I read that "rasist" as "rapist". That does make it "extra hard", yea. — Cerbrus 14 secs ago
I'll go stand in a corner.
 
1:43 PM
@rlemon lol...
 
warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
So annoying O___o
 
That post was a wild ride
 
@OliverSalzburg " memory leak detected." --> increase limit. Fixing like a pro
 
Hard to take anybody seriously after they vandalize their own answer. That's such a childish move.
 
I can't take anyone seriously that makes an issue out of something that's not
 
1:44 PM
^
"I'm a girl and I'm mad that nobody acknowledged it". That basically sums up the entire thing.
8
 
All this over the term "guys" -_- glad to see Meta wrecked that question because they're sick of gender issues
 
@Cerbrus Good grief
 
Now, it would be cool to have another gender neutral term to replace "guys". Any suggestion from native speakers ?
 
folks, people
 
I have one, but it's racist, so probably not the best answer.
 
1:47 PM
guys is much more common and informal
 
@Cerbrus I'm amazed that 11 is the limit where they assume it's a leak
 
Guys is a gender neutral term when speaking to multiple people
 
@SterlingArcher again
 
In any case using it to start a question is probably wrong.
 
Apparently this is fixed in npm@next
 
1:47 PM
@Cerbrus triggered
 
Annoying nevertheless
 
@SterlingArcher or when used in context or contrast to "girls"
 
@DenysSéguret snowflakes
 
@DenysSéguret meat sacks.
 
@rlemon omg so sexist
 
1:48 PM
> I don't even need SO to say they have my back or fight alongside me
wow.
really?
 
@DenysSéguret not at all. It's not wrong to ask a question, with only an answer in mind, while not caring about who answers it. I'm not going to worry about who is offended by my language when I'm not being rude. What's wrong is maybe the fluff of the question, but that's not even a huge deal.
 
Your profile picture anecdote is delightful. Thank you for sharing it. I used to use my face as a profile picture too until I received too much harassment from other users. Then I changed it to a laughing hyena face (which can still be seen on my twitter profile). After I got sick of that, I changed it to a nice beetle. Beetles are very interesting creatures. You can't tell, but the one in my picture is a guy/bro beetle. For purposes of fitting in. — naomik 8 hours ago
 
@DenysSéguret user
 
Those last two sentences....
 
@OliverSalzburg there's world outside the internet
 
1:50 PM
@littlepootis That term is not exclusive to the internet. You can use lots of things, like drugs
 
!!afk gender issues get me worked up and I have too much to do to focus on this
 
@SterlingArcher shameless plug
 
Howdy yall
 
@Cerbrus That answer and the comments by stenehall...
@rlemon Why am I not surprised you have that bookmarked or handy?
 
ctrl + t, "shameless plug" [enter], [click images]
takes 2 seconds
 
1:54 PM
...Naomik changed her profile to literally instigate the issue more.
 
@Trasiva Fun, eh?
He doesn't seem to get the point of SO
 
@Cerbrus Tumblr needs to buy bigger pants and stop leaking over into over forums.
 
@rlemon triggered
 
@Cerbrus sjw think all platforms are platforms for sj
 
I hope they suspend her for trolling.
 
1:57 PM
Hi
 
@Archit 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 hope they troll her for suspending
 
How can I manage window resize event
 
debounce it
 
@Waxi: I suggest you refrain from trolling that meta thread.
 
1:58 PM
@Cerbrus That wasn't trolling, that was legitimate suggestion.
 
Instigating, then... Adding fuel to the fire like that.
"I hope they ban her" is anything but constructive.
 
@Waxi Woah, dude. No.
 
lol
I guess it's a good thing I don't make the decisions around here then.
 
very
 
You bet.
 

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