« first day (1465 days earlier)      last day (3476 days later) » 

9:00 PM
there is!
 
in Shadow's Den on Meta Stack Exchange Chat, Apr 10 at 8:18, by Shadow Wizard
=== Word Association Game ===
- I post the first word then other user can reply with associated word
- The reply should be chained so we can follow the chain upwards
- No time limit, only single words allowed
- Do not repeat a word that is chained less than 10 words upwards
- In case of a conflict, i.e. more than one reply to same word, latest word counts
=== Have Fun! ===
 
@SecondRikudo - I agree it isn't iron clad, but there is no harm in requesting review :)
 
hrm, there was some noise here. not sure where it went :P
 
@TravisJ Only Stack Exchange staff have moderation powers in chat.mse, so yeah, you'd be wasting their time on it.
 
wth? That invited me to the Trashcan, @rlemon.
 
9:01 PM
yup
 
... that's weird.
 
moving messages to rooms you are not in invites you to the room
 
Oh, really?
 
@hichris123 Never had your message moved before?
 
Welp.
@SecondRikudo Not recently...
 
9:02 PM
iirc it was always that way
at least for the time I've used the chats
 
Huh.
 
!!afk gym then home
 
Aaaaand Shog cleared the comments
 
Yup, SW gets away with that all the time
I wonder if there is a query for the amount of deleted comments a user has.
 
Inviting a user to the trashcan doesn't send the greatest message...
 
9:05 PM
@Retsam ahaha
 
@Retsam Sending to trash was always a workaround for removing messages.
 
Makes me think of school bullies.
 
not sure if its relavent but 9gag is also now converting gifs to videos it seems
 
@SecondRikudo Well yes; I get the purpose of a trash room, I'm just laughing at the 'You have been invited to join the room "Trashcan"' message
 
any one know where I can find a good image zooming tutorial for html5 canvas without the use of libraries
 
9:07 PM
I think someone has to ping you in order to get invited
I moved one of mine, but didn't get an invite. Strange that you got one for the message rlemon moved
 
!!Do you think we should have .gifv ?
 
@darkyen00 Yes!
 
Damn straight
 
PS his argument becomes invalid cause youtube video's are also inboxed in chat.. arent they ?
 
9:14 PM
1 message moved to Trash can
 
@darkyen00 no. Youtube videos aren't auto played
 
well perhaps, gifv can also be made not to autoplay
 
even better have a setting ?
 
Does gifv autoplay? I thought not autoplaying was part of the point?
 
9:15 PM
@Retsam You get the choice.
 
- ninja'd -
 
uh?
since when is @TravisJ room owner?
 
@SecondRikudo Like as a browser setting? Or a room setting?
 
@FlorianMargaine - few weeks
 
@Retsam browser setting if I understood correctly
 
9:16 PM
oh well, never noticed
I don't even remember you :D
 
(Sorry, I'm probably asking questions I could just read the imgur post about...)
 
@FlorianMargaine - Maybe you should come in here more often :P
 
@Retsam @SecondRikudo the best part i think about .gifv is
that browsers won't autoload it on mobile devices
 
I'm too much in this chat
 
9:19 PM
@darkyen00 So mobile users will stop whining in the comments of imgur?! Sold!
 
@FlorianMargaine see me and rlemon
@Retsam hahaha
 
@darkyen00 you have less than me
 
lemon ?
 
@rlemon doesn't count
 
@FlorianMargaine rlemon is afk: gym then home
 
9:20 PM
why not ?
 
although... he's only at 2k messages/week these days.
 
What the shit jQuery
Syntax error, unrecognized expression: unsupported pseudo: data
 
var id = this.value;
$("h4:data(state)").each(function() {
	if ($(this).data("state") == id) $(this).remove();
});
According to jQuery docs, that's a legal selector, but chrome doesn't like it
 
@SterlingArcher Just a random guess, should there be quotes around 'state' in the selector?
 
9:24 PM
Not according to the docs
 
@SterlingArcher yeah... read the docs
 
Yay for debugging when you find out that the bug is as simple as a wrong boolean comparison.
 
I'm not sure <h4 data-state="foo"></h4> works
 
@SterlingArcher That's jQueryUI, you're aware of that, right?
 
Son of a bitch
 
9:25 PM
good night internet
 
o/
 
\o
 
@SterlingArcher ....
 
@FlorianMargaine I'm a moron, sorry :(
$("h4").each(function() {
    if ($(this).data("state") == id) $(this).remove();
});
That's all I needed lol
Oops, type comparison
 
@SterlingArcher $('h4[data-state="' + id '"]')
 
9:29 PM
Why do I want to say somebody told me that was not a good practice
I'm not 100% sure. Is that bad?
 
@SterlingArcher You're using jQuery to begin with for some reason so...
 
@SterlingArcher how many h4 do you have?
 
I hope that was a joke .___.
@FlorianMargaine dynamic, none -> many
 
many ~= ?
 
@SterlingArcher It... wasn't, really.
 
9:31 PM
@SecondRikudo my work uses jQuery because we have to support IE7
 
@SterlingArcher No, use a proper framework
 
@SterlingArcher Valid reasoning then.
 
*library?
 
No
 
wat
@FlorianMargaine well, potentially one per state, so up to 51
0-51 potential h4
 
9:32 PM
Obviously I can't tell you what to use at work, so nevermind
 
@SterlingArcher that said, you know what I've done on some recent projects? Using arrays and objects. You can store a lot of DOM elements in JS arrays. Without needing many selectors in the end.
@SterlingArcher use the $('h4') selector then
 
@copy lmao "fuck your boss, use angular or harm yourself nerd"
@FlorianMargaine yeah I'm trying to do this with as little selectors as I've needed
 
What @FlorianMargaine said also makes a lot of sense, even though he's French
 
sorry about that
 
He usually makes sense :P
 
9:34 PM
nah, I'm french
 
sacred blur
<.<
 
@copy do you know about yubikey?
 
@FlorianMargaine Yeah
 
cool. Wanted to let you know in case you didn't.
 
@copy love that episode
 
9:36 PM
@SterlingArcher Alternatively, it might be the same performance but $("h4[data-state=\'"+id+"\']").remove()
 
ignore me again
 
@SterlingArcher an example of what I've done on a project a couple months ago (there were 5 devs on this project... some parts are messier than others... but overall it's not so bad) mesprojetsimmobiliers.fr/sites/all/modules/mpi/mpi_form/…
 
Actually I don't need to escape the single quotes, I think.
 
@FlorianMargaine that's fucking brilliant
I never thought to do something like that
'#edit-kind-naked' your selector game is fierce
 
Should I be worried?
 
You just build your data structures... And work with them. It's extremely pleasant to work with arrays/objects in js instead of messing around with the Dom.
I said there were 5 devs on this... French devs.. English is not the forte of all of them :P
 
@FlorianMargaine Which files should we be looking at?
 
@FlorianMargaine one of them may have issues according to that selector translation <.<
lol jk
 
@Retsan the js files in the mpi_form folder
As I said... Some are messier :D
ftr I was the only experienced js dev
I did ~20% of the work... helped the others make their way with the rest
some are messier ~~
and don't worry, I hit the guy who wrote that
 
9:46 PM
can some one explain why i'm not getting any output here: jsfiddle.net/k091qnkk
 
this one is another example of a not-so-bad one
(look at the end for the "generation of behavior from data structures")
and if you're asking... yes, there is server validation
 
never mind i solved it :)
 
@copy hungry
 
@copy make food
@copy send pizza
 
It's 12pm!
And we had pizza already
 
9:55 PM
every time is pizza time
 
Moar pizza
 
^^
 
@copy milkshake
 
pizza milkshake
 
... milkshake pizza :O
 
my brain just pooped a little
 
@BadgerGirl - Ooh, finite automata :)
 
@copy shake the milk ( ͡° ͜ʖ ͡°)
 
Are you taking that class right now?
 
yeah
@TravisJ I think I have 1 and 2... I don't know if 3 is right and it's 12pm and I don't even want to try 4
 
9:59 PM
@FlorianMargaine סּ_סּ
 
@BadgerGirl - It has been so long since I took that class.. I don't think I could help without the use of my notes and textbook
 
@copy will you make me pizza too?
 
Where is @BenjaminGruenbaum when you need him :(
@SterlingArcher He didn't make it, he bought it
It was really good
I ate a full medium sized pizza.
 
That's really impressive
 
10:02 PM
Not American size though
 
Ever since I quit smoking I've only been able to eat maybe 2 slices before I feel so full I'm going to throw up
 
medium size = 27cm right?
 
When I smoked I could pound 4-7 slices
 
I think 26
@FlorianMargaine TWSS
 
10:04 PM
@SterlingArcher ~10.2"
 
Damn straight!
Yeah, a footlong sandwhich has fed me for almost 3 meals
My appetite is simply shot
 
@SterlingArcher wut?
 
I'm not fat
just saying
 
I made a footlong sandwich last night for dinner, ate about 1/3 of it, had another third for lunch, and just finished it now
A couple months ago, that sandwich would have lasted only a meal
 
I ate a sandwich today too
and chocolate
:(
 
10:08 PM
@BadgerGirl And you're going to the gym every day
 
@BadgerGirl how are croissants in germany compared to US'? :)
 
@copy can she come to the gym with me? I need a spotter for the bench press :(
 
@copy doesn't let me get anything from the bakery
 
well... he doesn't want you to get fat
 
I'm 50kg :)
 
10:10 PM
yeah, right now. If you go to a bakery? You'll be 80kg in 2 weeks.
 
Holy balls
 
especially if you try out desserts.
 
I'm 88.4kg
You're tiny
 
@SterlingArcher Probably not
 
Curses
Well, I'm done for the day.
Have a wonderful night everybody
 
10:11 PM
you too
 
10:41 PM
can anyone think of a cleaner way of writing this?
_.object(_.map(['foo', 'bar', 'baz'], function(x) {
return [x, config.get(x)];
}));
 
Hey-o!
 
i like to put my { } on their own line
 
har har
 
@Dave You shouldn't do that in JavaScript
 
whys that
 
10:43 PM
Semicolor insertion
This ain't Java
 
wait, will it add the ; even if i compress the javascript ?
 
Dunno
 
ill test it out when i get time
 
thanks for the hint though on that :) - shame im so used to the layout of new line curls
thats going to be habit hard to break out of xD
 
10:45 PM
It's typically a code smell in javascript
 
The minified js is executed by the browser. Do you think your minifier leaves newlines?
 
i'm going to have to edit my editor plugins as well now :(
 
Dave .. could always pre-parse before compressing
 
@MikeKormendy Welcome to the JavaScript chat! Please review the room pseudo-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.
 
@FlorianMargaine I've dealt with some shady minifiers in my time.
 
10:46 PM
@Paul give me 2 minutes for something better
 
But they've only ever been a problem if they're not part of the frontend build process
 
IE8 support required?
 
@Dave do it the way you like .. then parse/find curly braces with regex and then compress
 
okies :)
thanks guys
 
@MikeKormendy OR just follow the best practice of NOT placing curlies on the next line
 
10:48 PM
yep!
 
There's a reason it's a bad practice to do so
 
i might make a plugin thatll force it back in its rightful place because i auto hit new line
 
@FlorianMargaine thanks! excited to see what you come up with
 
return ['foo', 'bar', 'baz'].reduce(function(confs, key) {
    return confs[key] = config.get(key), confs;
}, {});
@Paul ^
 
best to break the habit .. 3 weeks to break a habit completely if performed on a regular bases every day the right way
 
10:48 PM
or
return ['foo', 'bar', 'baz'].reduce(function(confs, key) {
    confs[key] = config.get(key);
    return confs;
}, {});
 
are there any other languages that dont like new line {} ?
 
ah. it never occurred to me to use an accum with reduce
 
that's what it's for :)
 
i'm stealing it, thanks.
 
also does it apply to if() aswell as function()
 
10:50 PM
return ['foo', 'bar', 'baz'].reduce((confs, key) => confs[key] = config.get(key), confs);
with arrow...
but getting ugly.
 
do you need the fat arrow (=>)?
 
need? no, it's just less boilerplate
 
I have a question for everyone: I've got this js that works with jquery 1.10.2 in IE9, but doesn't work with jquery 1.11.1, BUT .. IE9 doesn't seem to report any errors when I debug it. ANyone have that issue before?
 
sorry, i was thinking of coffeescript with its skinny vs fat arrow. thanks again.
 
show code
 
10:52 PM
it's kinda long
 
@Paul don't use the fat arrow code, it's barely supported.
@Paul also, stars are not bookmarks :)
@Mike then strip it down to where you can reproduce your issue in a couple lines of code
You will likely find your bug in the process.
 
I was hoping you weren't going to say that
LOL
@FlorianMargaine
 
define "issue" and "doesn't work"
 
Why don't I count Florian?
I'm all up in this room.
 
11:03 PM
Because you're out of our league :)
 
@rlemon has more messages than the entirety of the Java room
 
I'm almost nearing the c++ room guys
I have more overall messages in the chat system than the top two c++ guys, but they have more in their respective room than I do here
 
How have you found 185 rooms to be in? haha
 
I've given 2160 fucks so far.
^ including that one
 
yey .. a pissing match
moving on.
 
11:12 PM
we are not competing.
 
just fun stats
 
whatever
 
woa, Negative Nancy
 
right, Positive Paula
 
11:14 PM
lol
Haven't heard that one
 
the amount of times I've heard the "don't judge" "negative nancies" ..
 
urg, my cat insists on chewing on all things plastic.
 
bound to have a come back eventually :-)
 
basically what it comes down to is @rlemon really likes the chats
 
@MikeKormendy maybe that means you're too negative.
if you are hearing it all the time
 
11:15 PM
I just think of positive paula being paula dean.. and then being racist
 
well that's on you Loktar
 
oh well at least Paula would like me
she is a sweet old lady imo
 
i thought paula abdule and then it made me think bat shit crazy
 
lol
@rlemon lol
 
I'm cheating tonight and I bought a single beer.
 
11:16 PM
Anyway back to the pissing I have the entire Atari 7800 collection
/me drops mic wins life and the internet
 
it is so delicious. but all I see now is a bottle of carbs and calories
 
instead of negative .. I prefer critical :-D
 
critical carl
 
LOL
Critical Carrie ..
 
11:17 PM
it's gotta be a girl's name
 
Carl is critical as hell.
 
critical clarice ... puts the lotion on its skin..
 
just sayin
 
now time for some chianti
 
never got into the walking dead
@Loktar where is that pic btw?
I wanted to make you a zombie
 
11:19 PM
 
:loads gimp:
 
ok gotta run .. ciao relaxed positive people :-D
 
see ya @MikeKormendy
 
later hater
 
I thought he would never leave
 
11:20 PM
I havent left .. Travis
yet
 
;)
 
Rude Rudy
 
Rude Rob
wait.. i'm rob.
 
lmao
says something
 
Rick Rolled
 
11:21 PM
Dick Rick
hmm can't think of a female name to go with dick..
 
heh
 
Dick Dangerous <- like Darkwing duck.
 
I mean let me rephrase that because I can think of many, but not any that rhyme
 
@Loktar you would have cracked up today. I was in a sales meeting and the guy is talking about dominate personalities, "if you have some D in you that is okay, you just have to work on hiding your D when in front of prospects"
old guy, no clue, priceless.
 
LOL
if you have a little D its ok don't hide it
and in the summer you can have a sunny D and thats ok too
/me goes to eat dinner
 
11:24 PM
talking about D makes you hungry eh?
 
OOOh
 
#burn
 
had to star it
that was good, like the D I'm about to eat
 

« first day (1465 days earlier)      last day (3476 days later) »