« first day (760 days earlier)      last day (4193 days later) » 

@SteffenJørgensen do the visible elements have a class which is unique from the non-visible elements?
 
@Yohann Yes
 
then you can select li.className in the find function
.find("li.className:even")
@AmaanCheval your easily saving 1cr excluding living costs and flight expenses and crap.
 
@Yohann excluding*
 
@Yohann OK - so the function has to know the class name? It is not possible to make the selection outside of the scope of the zebra function?
 
12:14 PM
can I do this in PHP:
	if(	empty($name)
		|| empty($message)
			|| empty($spam) ) {
 
@Olli (1)this isn't the php room, (2)try it and see
 
???
ok
 
12:36 PM
@Yohann I got it working. Thanks a lot mate! :-)
 
Can anyone explain the second line in this block?
      height = $targetPanel
        .wrap($('<div>', {position: 'absolute', 'visibility': 'hidden', 'overflow': 'hidden'}))
        .css({'position':'relative','visibility':'hidden','display':'block'})
        .outerHeight();
not sure what the object is doing
 
the wrap part?
 
yep
 
it wraps the $targetPanel, which should be a jQuery Object into a div
 
I know what wrap does, but not sure why the styles are being passed to the div selector
 
12:45 PM
and adds those css-styles to that wrapping div
 
.css targets the $targetPanel - Object, if i'm not mistaken
 
all of them finn ?
 
could it be rewritten as .wrap('div style="position: absolute; etc..")
 
yes, it could be written like that
 
12:47 PM
cool, thanks. Ie7 seems to dislike that syntax
 
.wrap('<div style="....."/>');
 
res.send(418, "I'm a teapot."); // priceless
 
that because its ie7 ;)
 
very true, and I hate as much as anyone. Reckon that's a bug in jquery?
 
Anyone knows how it is possible for my computer to cache a website ?
 
12:48 PM
and, yes, the function returns the elements, that are being wrapped
what's the problem on IE7?
 
It won't update even though my fellow colleages tells me it's updated :-/ im both my VM w7 IE. And realOS ubuntu chrome and ff
 
In the jQuery('<tag>', { ... }), isn't the second argument properties, not styles?
 
throws an error, 'unknown exception' which is about as usefull as a chocoloate teapot
 
won't update? that means it is cached?
 
!!/jquery jQuery
 
12:49 PM
@Zirak arguments properties it is
 
@Zirak hm, could be, then this wouldn't make too much sense
 
So it styling was wishful thinking
 
that second argument isn't even documented
 
hmmm, then I'm not sure what it does
 
@GNi33 Well it's a website that has the updated code, every other devices that logs into it, gets the new code, but not my developing machine. So something does tell me it's cached on this
 
12:50 PM
clear cache then?
 
could just be duff code, it's from a random plugin
 
It aint the browsers gni, cleared them many many times
 
yea, i'd write the styling directly inline then
there's not a mention of this second argument on the api-site
one example
.wrap('<div class="new" />');
so i guess that's the way to go then...
 
thanks all
 
after all, i'd assign a class and do this in a css-file anyhow
if the styling is variable, you can pass a function to the .wrap - method
 
12:53 PM
@GNi33 Sure it is, second overload here
!!/jquery wrap
 
oh, ok
 
And apparently wrap returns the original elements (the one wrap was called on), not the wrapper
 
yes, it does
so i guess you could do .wrap('<div />', {'style':'position:absolute;color:green;'});
 
Or you can be a sane human being and move the styles to css
 
that's the way to go anyhow
 
12:59 PM
styles being moved to css, plugin being dropped.
thanks again, off now
 
-- Fin --
 
@AndersMetnik well, that's odd
 
Yes thanks for understanding me.. feeling my head is going to implode due to not understanding the shiit going on
they did reboot the server last night though, might have screwed something up... Onwards with sthe investigation
 
1:16 PM
So WebKit actually had a class named "Thingy"? http://trac.webkit.org/changeset/134092
 
@FlorianMargaine Hahaha, nice
 
thanks thanks :D
 
What do you mean map of SO users?
Oh, locations
Nice!
 
I need to do the frontend now :p
the server is just a classic RESTful API
 
1:20 PM
Cool. Using Google Maps?
 
yep
and the geolocation api
 
@FlorianMargaine For what?
 
the point is
you'll have to go on the website, set your location, set your SO id, and it will be saved in the db
 
But anyone can do it?
 
yeah
no security
 
1:25 PM
'morning folks
Oh, sweet! I earned the jQuery badge -_-
 
afternoon boy
 
@FlorianMargaine nice, you're doing the heat-map idea?
 
@Zirak not really heat-map, just plain list of markers for now
 
@FlorianMargaine awesome :)
 
heatmaps are neat
 
1:27 PM
yeah
 
I made an app here to track all of our sites using them
 
I am going to attempt a overnight recap. Blind leading the blind, phenomnomnominal stepped in. Abhishek has no faith, ThiefMaster rocks and thinks binning the unformatted code is good. Vampires (it is nighttime after all). mmmshuddup thinks we know him. Vampites (looks like a good hour of vamping) - then Zirak returns!!!! Kristy is still confused by responsive design... o_O Florian returned a bit later and took the show. Kristy posted walls of unformatted code and it was left.
 
Heatmaps would be nice too, yeah
 
actually that might be a better idea than using google maps
 
... shit i'm only half way to current text
 
1:28 PM
i'm curious if Nokia Here offers a good API
it looks so promising
 
9 hours to recap :/
 
I need to find out how to redirect() using restify
 
@rlemon Dude. Don't bother.
 
hehe, we need to assign people to this :D
 
when rlemon isn't here, someone else should make updates ;)
 
Kirsty kept sucking blood, mmmshuddup kept having his blood sucked, Necro discovered that CSS didn't stop evolving in 2001, some regex stuff, GNi33 masturbated, reminder of everybody's location, Amaan showed off as noobish, I showed off my new shiny thing
@rlemon there you are ^
@GNi33 special mention ;)
 
is there anywhere to vent!! fml!
 
hehehe nice!
 
> "GNi33 masturbated"
 
1:33 PM
0_o
 
ಠ_ಠ
 
This is fun
 

Lounge<C++>

Today we're daydreaming about C++26 reflection
;)
 
1:33 PM
what the hell? why?
 
lol
oh just some person who is a freaking pleb... lol
 
!!/urban pleb
@rlemon [pleb](http://pleb.urbanup.com/500218) Actually defined as a member of a despised social class, a commoner, a member of the plebs of ancient Rome. Also low-born, undisinguished, vulgar, and my personal favourite: vulgar-looking.

Other words with similar meaning: Scrut, Townie, Kappa-Slapper, Rude-Boi, Scum, Greb, Scav, &c.
 
3 hours ago, by Zirak
Eat ice-cream, masturbate and cry?
 
:D
 
@FlorianMargaine Sounds like a typical weeknight.
 
1:35 PM
i don't do stuff like that
No sex before marriage, not even with yourself, infidel!
 
almost thought you were serious for a second there
 
lol
 
ARGH!... honest im gonna scream!
 
Did you miss the last UDS?
 
@KirstyHarris Calm down. It'll be okay :-)
 
1:38 PM
lol sorry.... just grr lol
 
@RyanKinal Stop lying
It won't be okay
Nothing ever is
 
its when u have spent like 6 hours coding a website for them to say.... oh we want something else.... oh so you dont want responsive design then... u just want a shite looking website?
 
Zirak == pessimist
Ryan == optimist
 
and its from a PSD that he provided
 
It's downhill ever since you're 3 and they tell you you can't shit in your pants
 
1:38 PM
@KirstyHarris Oof... hate that shit
 
im usually an optimist.... but im becoming a realist very slowly
 
They can call it "growing up" all they want, it's the first step in a line of disappointments.
 
and this aint the customer... this is the company who i am doing on behalf.. im like did u ask these questions?!
 
@KirstyHarris Yea, customers are stupid. The quicker you get used to it the better for you. :D
 
yh... i need to .... 0_o
 
1:41 PM
hi :-)
 
the fact being im getting a fraction of what they have been probably paid to do this site
 
@RyanKinal Abhishek = Anymist!
 
@Abhishek Hello, my name is John. :p
 
and its annoyance beyond words... hence why im doing my own designs... which are bloody better and more inline with realistic times
 
1:42 PM
@AmaanCheval DaFuk ?
 
37 secs ago, by Amaan Cheval
http://qph.cf.quoracdn.net/main-qimg-569fe63c845c03096cc47b375cf2d730
 
LoL
 
ha!
thanks for that
rlemon u are a legend... made me smile
 
@KirstyHarris try spending weeks building a desktop application that deals with serial communication as a master - then have the boss come up three days after you released it and tell you, "Ohh, yea, can we make it function as a slave as well so I can emulate any device? Shouldn't be too hard, just add a checkbox"
 
1:43 PM
OH MAN XD
 
hmmmmm..... ok i have it easy then...
i wished everyone had a real conception of time
 
> just add a checkbox.....
o_O
 
checkboxes are fun, didn't you know?
 
@rlemon Just do it man, dafuq're you complaining about? :D
 
just put it in there without any functionality
"there you go, done!"
 
1:45 PM
@AmaanCheval :-) did u realized how we can be (XD)
 
aha!!
anyways am off to code ai
@Zirak you really are awesome .. i found it out later what u actually meant to say
with basian
but ended up using open nlp
's inbuilt solution instead
 
@AmaanCheval LOL
 
rofl
 
indian memes are way funnier
 
1:47 PM
Yeah XD
 
aahahaha xD
 
@rlemon looooooooool
 
 
you only fap once?
 
1:48 PM
GUYS GUYS
I AM ON FRICKING WIRELESS 3G
lower the image bandwidth
for my sake!
 
@Abhishek MWHAHAHAHHAHAHAHAHA!
 
@GNi33 LOL
 
o
 
@Abhishek <3 you
 
1:50 PM
@rlemon for you
 
1 message moved to recycle bin
 
8-) bitch please @rlemon
 
yesterday, by Zirak
From now on, I (and I ask other owners to do as well) will bin any message containing unformatted code. Either learn the chat's markdown formatting, or shotgun with Ctrl+K before sending. Thank you, The Management
 
jQuery helps
a lot
 
... url is too long.
 
1:50 PM
FORMAT YOUR #%@!&* CODE DAMNIT
 
i wil be home tomorrow :D
 
[].forEach.call(document.images, function(img) {
     img.parentNode.removeChild(img);
});
jQuery does not help, it hinders.
 
yeah yeah
wikipedia writes good jQuery code though
there mobile frontend has really good guys :D
 
@rlemon WHERESMYLIBRARY
 
1:52 PM
oh and we also got uber-drunk ;D
 
@Abhishek You're still downloading the images. What's the use of hiding them?
 
remove
 
@FlorianMargaine probably in a file on a computer somewhere.... JUST NOT MINE!!!
ohh burn
 
@AmaanCheval am i ?
 
1:52 PM
send an image
and we sill see
 
@Abhishek Oh, maybe not. Do images stop being downloaded if they're removed right away?
 
^ this is how you block images
 
sadly it does downloads :-/
 
Exactly
 
fuck you
 
1:54 PM
Hahahaha
I'm going to try getting you to finish your quota :p
 
Okay done
wow this is good ;D
 
@AmaanCheval i can switch to Lynx ;D
 
Hi guys, anyone can help me on this?
http://stackoverflow.com/q/13366804/1731615
 
wont download 8-)
 
1:55 PM
Why, @rlemon, why?
 
0
Q: Two divs click event works only on one div

wyemI'm using jquery and ajax to create a drawer (#DrawerContainer) and load content into it if I click a thumbnail in a gallery. My function is almost finished but I want to be able to close that drawer if I click again the opening button (now #current). Here is a jsfiddle of my code: http://jsfid...

 
can I do this with CSS: .someElement has[ ul ] { margin-bottom: -10px; }
 
@Oleg o/
been a while mate!
and hi @Loktar
 
@wyem Looks like you've already got a good answer.
 
1:56 PM
so if the elemtn has UL then margin-bottom:-10px
is that possible
 
@SomeKittens why you think it's a good answer?
 
@rlemon Hahahahaha, where'd you find that?
 
big picture there ^
 
@Esailija o/
 
1:57 PM
@wyem It got an upvote
 
ANYONE?
 
not mine
 
github.com/darkyen/wiki-voice <- Anyone with intrest in JavaScript and Artificial Intelligence
 
@FlorianMargaine I was looking for something similar
 
posted on November 14, 2012 by RKoutnik

I've always been an advocate of the project learning style.  Simply put, learn the basics of the language (syntax, simple code structure) and then find a project.  The project shouldn't be overly ambitious (you'll be overwhelmed)  or easy (you'll be bored).  The trick is to find a non-trivial example that only involves one or two things you don't know yet.  Yo

 
1:58 PM
Was going to just rename a song or something so Abhishek could try downloading that :p
 
@AmaanCheval lol
 
@rlemon Brilliant. :D
 
@AmaanCheval i have 4 gigs left btw
 
hey @Abhishek
 
@Abhishek Oh, neat. Which carrier?
BSNL?
 
1:59 PM
(Nod)
 
hm, that's not the big one
it's only 1MB...
 
but a ton of those :-\
 
@FlorianMargaine thats what she said
 
@Abhishek Tethered from your phone?
 

« first day (760 days earlier)      last day (4193 days later) »