« first day (335 days earlier)      last day (3453 days later) » 

user652649
02:04
posted on March 31, 2014 by kbironneau

/* by waskarali */

 
1 hour later…
03:06
Good MOrning
03:46
Ahhh, finally finished: cruuga.org
At least it's live, haha
@Wes which code u wanna see??
04:04
anybody alive ? :P
@SweetWisherツ Yes!
great :)
yesterday, by SweetWisher ツ
I m using data table for pagination..Now I want collapse-exapnd feature on clcick of every row of table...
I add this tr after each tr of ma data :
<tr class="inner-tr">
<td>show</td>
</tr>

But it gives an error: Uncaught TypeError: Cannot read property 'className' of undefined

I know this happens coz of improper table format..
So any suggestion to achieve expand- collapse with data table???
@ZachSaucier any suggestion for ma query??
1 min, phone distractions
opps...NP :) btw its ur sleeping time na :P
04:16
I know, need to sleep xD
np.. U can... :) Gn SD
what's your giving the error?
@ZachSaucier Uncaught TypeError: Cannot read property 'className' of undefined
I mean the js line (:
not the console error
Oopss
wait
@ZachSaucier currently web service is not available :( cant reproduce that error...:(
04:19
):
Anyway, it sounds like your selector is wrong
meaning like the element you're passing to the function is incorrect
or something like that
check for null elements in the related functions
it;s giving error in dataTable.js
while generating pagination
so check how you're calling it maybe? not familiar with that library
):
actually that js take all tds and do some calculations on it
bt when i add only one td in tr for that show-hide functinality
it throws an error
Not sure how to help without seeing code
I'm off to bed
see ya!
See ya... Good nightN thnx :)
05:19
3
Q: Collapsible table with data table plug-in

SweetWisher ツI am using data table plug-in for pagination..Now I want collapsible feature on click of every row of table... This is a snippet of my code : <tr class="outer-tr"> <td>1</td> <td>pppol</td> <td>Approved</td> </tr> <tr class="inner-tr"> <td>show-hide</td> </tr> And ...

@Mr.Alien @Wes @SomeGuy @Will @DarkAshelin anyone ??
Hello friends.. Anyone here familiar with Ionic Framework?
@Anamika not me :-/ still same issue ??
1
Q: Write multiple pages in single html

AnamikaI need to implement something like this jQuery structure in ionic framework <body> <div data-role="page" id="page1"> <!--content --> </div> <div data-role="page" id="page2"> <!--content --> </div> </body> I searched on google but not able to do that. Currently ...

yes
let other ppl come...might help u ...
Hmm. hope so :/
05:29
hope for d best (:
!!listcommands
@DevCarlsberg 420, help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, doge, domain, findcommand, github, google, hang, inhistory, jquery, learn, aliens, format, fa, easytools, wherearethegoats, tobacconist, joystick, fools, cake, cool, vengeance, ln, protip, slidepoop, zirak_naked, loktar, artisticpoop, crustypoop, buttstuff, poopkittie, daybreak, rfc, man, ಠ_ಠ..., getit, resources, html5unleashed, jspattern, ajax, xhr
guesswhat, amazon, ihazbukkit, bewbz, solution, sandbox, gayclubs, kumar, echo, pizza, wherearemypants,
!!refresh
@DevCarlsberg I'm afraid I can't let you do that, Dev Carlsberg
05:39
!!amazon
!!solution
in JavaScript, Oct 2 '13 at 20:02, by deep
document.write(eval(txtarea.value));
mrngs !!
hello @easwee
!!jquery
YO @Mr.Alien :)
@Anamika please take it :P
@Mr.Alien @Mr.Alien
wake up @Mr.Alien
@SweetWisherツ :)
@SweetWisherツ want to collapse the rowS?
yup
i know code for it
how you will uncollapse them
05:46
but problem is : to integrate it with data table plugin
@Mr.Alien morning
@TheDictator mornin
@Mr.Alien to collapse n uncollapse
that doesn't matter
ma ques is : integrate it with data table plugin
ya so what's wrong? it's working for me
05:49
for me to :(
use colspan
getting same error re
14
Q: Uncaught TypeError: Cannot read property 'className' of undefined

ph_lehthe following error is being thrown in google chrome's developers tools Uncaught TypeError: Cannot read property 'className' of undefined the code on which the error is being thrown is var oTable = $('#resultstable').dataTable({ "bAutoWidth" : true, ...

@Mr.Alien This set that there were 7 td columns, but there were only 6.
ma prbm is same... I need 4 tds... not even colspan wrk with data table :/
@Mr.Alien got it??
than i cannot solve
05:55
why ?? :(
because am not familiar with that plugin
@Mr.Alien okies
06:13
I guess nobody knows ionic framework here :(
Bye friends :) see u later. have a nice day
For me it's an obvious typo
06:36
0
Q: how do I get MP3 stream poster image

pronoxFor html5 audio element, using Javasript I can control behavior of audio element like this Play/Pause activeSong = document.getElementById("mainPlayer"); activeSong.play(); activeSong.pause(); For getting metadata I am using activeSong.addEventListener('loadedmetadata', function() { ...

user652649
06:47
@SweetWisherツ If you need help post an example of your issue, please.
user652649
:P
hey everyone. Anyone here good with jQuery autocomplete ?
I have an interesting problem
morning
@user2962766 are you talking about a plugin or writing an autocomplete function by yourself?
06:55
@DarkAshelin something like that
I am trying to make a triggered autocomplete just like in facebook and twitter
this is far i have got
jsbin.com/somuquzu/2/edit
its working "almost"
but the only thing it doesn't do is search the json data as we type
it displays all the results possible
and i don't know why !
gimme a few minutes I just got at the office
yeah ! take your time
user652649
guys did you set recently the legal hour in your country?
user652649
(in europe...)
user652649
07:07
30 march?
31st cuz she just stepped in office
31 today yes
time changed on 30 march 2AM
so you are probably from uk
@Wes Posted a question :(
wait what? DST was weeks ago I thought.
07:14
@user2962766 I am checking your jsbin but it's not triggering anything
@crypticツ freak, 3.15am and you are still on..
@Mr.Alien I'm about to go to bed, but first need to eat some ice cream.
no, I'm not depressed
user652649
@SweetWisherツ sorry, in the weekend i have the focus skills of an amoeba... can you jsfiddle the actual issue? with your code etc
@DarkAshelin what ?. Just type "@" and then type a
07:16
I bought two tubs of pistachio almond ice cream. Going to eat it all by myself...forever alone =o(
!!afk resting
it shows the results
@crypticツ forever alone I prefer this alot
user652649
@crypticツ you should watch less "apocalypse is coming" documentaries
@user2962766 ah I see, didn't get the "@"
07:17
thats the trigger. @ and #
3
Q: Collapsible table with data table plug-in

SweetWisher ツI am using data table plug-in for pagination..Now I want collapsible feature on click of every row of table... This is a snippet of my code : <tr class="outer-tr"> <td>1</td> <td>pppol</td> <td>Approved</td> </tr> <tr class="inner-tr"> <td>show-hide</td> </tr> And ...

@user2962766 have you checked with console.log's if all of your code is being properly executed?
@Wes theguardian.com/environment/earth-insight/2014/mar/14/… shit is going to go down and I'd rather be prepared when it does.
user652649
@SweetWisherツ it's impossible to determine the problem from that... need the whole code
07:18
@Wes hv u wrked with that plugin??
@DarkAshelin yeah.. code is working. Its just it isn't searching the results. just showing all the results
@user2962766 can you paste here the code part where it should be searching/limiting the results?
user652649
@crypticツ i seriously always have doubts whether you are joking or serious
@crypticツ Got your tinfoil hat ready ?
$new('body').on("keypress",".triggeredAutocomplete",function(e){
		text = this.value;
		var charTyped = String.fromCharCode(e.which);

		if(triggered && /[a-z\d]/i.test(charTyped))
		{
			position2 = $new(this)[0].selectionStart;
			query = text.substring(position1+1,position2+1);
			$new(this).autocomplete("search",query);
		}
		else
		{
			triggered = false;
			if(e.charCode == 64)
			{
				leTrigger = "@";
				triggered = true;
				position1 = $new(this)[0].selectionStart;
			}
			else if(e.charCode == 35)
07:20
ctrl+k that
no, select all of the text and use ctrl+k xD
cntrl + K for wht ??
@user2962766 ok problem 1: the keypress event isn't correctly triggered. If you console.log(text); then you'll see it doesn't recognize the last letter until you make another keypress. Trigger teh event on keyup instead
user652649
@SweetWisherツ i don't, but if i can reproduce the issue i would probably fix it
@DarkAshelin Keydown :P
07:23
@SweetWisherツ it beautified the code
@PatsyIssa whatever works
@Wes then gimme some time .....
:15572439 can i check??
ohhhh got it.. it applies.... `` yeah :)
@DarkAshelin I used keydown intentionally.. in KeyUp i cannot recognize if "@" is pressed or "2" is
thnks for the Short cut :) @DarkAshelin
it doesn't has fromCharCode() function
07:27
@user2962766 uhm all I can see is that it goes to here:
                search: function () {
			if (!triggered) {
				return false;
			}
		}
so it returns false and doesn't do anything
@DarkAshelin it is for when user is typing something else. ie when the trigger is not set.
letmen remove that and try
nopes. even if i remove that, it doesn't work
@user2962766 no, this search is triggered every time I type "@atee"
it doesn't use the "select", only "search"
@DarkAshelin Select is used when you select something from the menu. It types out the mentioned name's email id in the text feild and bring the caret next to it
Not sure if posted before but good reference article
@PatsyIssa its awesome ! thanks for sharing
07:36
@user2962766 anyway the problem is that you end up in the "search" function every time I type "@ateev", but in the search function it does nothing, which is why it doesn't filter the results
@DarkAshelin how to rectify this ?
@user2962766 put the functionality to filter the results in the "search" function
search: function () {
        // filter results here through query or whatever
	if (!triggered) {
		return false;
	}
}
"Shit's legible and gets your fucking point across (if you had one instead of just 5mb pics of hipsters drinking coffee)"
user652649
> Internet Explorer 9 and below have a max of 4,096 selectors per stylesheet. There is also a limit of 31 combined stylesheets and <style></style> includes per page. Anything after this limit is ignored by the browser. Either split your CSS up, or start refactoring. I'd suggest the latter.
user652649
i didn't about this shit
user652649
07:43
jesus christah
yeah nothing new
user652649
just 31? it's incredible that i never found that bug
@DarkAshelin how to do that ? I mean a custom filter ?
but anyway - if you have more than that you are doing something worng
@user2962766 google it ;)
you'll basically need to run over your object and search if anything matches the input string
user652649
07:44
@easwee ah, combined
user652649
so that's why it never happened xD
@DarkAshelin Thanks for your kind time. Letme google and get back to you
:)
o/
Hmmn guys, tell me what you think I should do.
We lately got a new backlog feature in the company and I've been inputting all of my working hours for each client. Turns out that I usually spend about double or triple the time for each client than what we quote them for. But the sole reason for this is that there is just no other work for me to do. So I'm working very slowly / relaxed on each project, or otherwhise I'll just be sitting here doing nothing at all. I can easely finish each project on the quoted hours, but there's no point rushing if I'll just be sitting here staring at my desk
I'm planning to call on a meeting with my boss about this, but not sure how to address this
along with this as background story: workplace.stackexchange.com/questions/21578/…
user652649
@DarkAshelin U MAD? some would sell their mother for that xD
07:54
@Wes I absolutely don't mind that I can work relaxed and without rushing, but my boss does expect me to be as productive as I can. Now that I have to note down my hours he's going to notice these odd working hours
there are also often gaps of 2-3 hours where I just do nothing
Can't mark them down as R&D ?
In my downtime i read, watch tutorials and such
Research and development
user652649
do you think you have a future in that company? @DarkAshelin
I read up on standards, new tech etc... and pass it to my coworkers
07:56
well ye, when I'm having a meeting with him I do plan to bring up that I spend a lot of time here on SO to improve my own skills
@Wes no, I don't plan to stay here for very long. I offered them a few weeks ago to hire me as freelancer instead of full-time, as they clearly don't have enough work to keep me busy full-time
but my boss said he wanted to continue like this for now. Prolonged contract until end of May
I am planning to push again for my suggestion to hire me as freelance instead by then
user652649
and you are worrying for just two months? :P
I have already mentioned it before to my boss, about how I lack work to keep me busy, and his reply was "well then find something useful to do, but still for the company (so not working for something else)"
2 months is a lot to me xD
user652649
your boss is very dull
Hello, I want to redirect a specific browser with a specific user session ID, what do I need for this?
you probably need to google
08:01
@easwee Yeah I did can't find :(
@easwee new avatar yo
@y451n What server side language are you using ?
@PatsyIssa Yeah :) - it's my rubber duck - 1 year older than me xD
user652649
idk anyway... @DarkAshelin i have the feeling that workplace relationships have to start good or they will never work...
posted on March 31, 2014 by kbironneau

/* by adnan */

user652649
on a related note, tomorrow 5 new kids will start apprenticeship here... 1st of april. still not sure whether it's a joke or not
08:06
Most probably is :P
5 freshies for legacy code is kinda improbable
"PulseAudio plays Audio over Bluetooth too fast - sounds like a chipmunk on helium"
chipmunk on helium? that's extreme
user652649
not really... long story short, company receives economic subsidy for that, even if it's not useful for for anyone (that's the italian way baby)
ouu well gg wp :P
user652649
occasionally someone gets hired, last time happened in 1934
That was you right ? :D
user652649
08:10
nope, i was hired like a boss
no no @wes lives in a cofin there - he's older than that
user652649
"lives in a coffin" definitely fits my life
user652649
need to get a new job asap
Dust farts ?
user652649
wat? farts are pizza and spaghetti flavored
user652649
08:17
@PatsyIssa i'm waiting for the "dust farts" definition
user652649
!!urban dust fart
@Wes dust farts when u keep a fart stored up in ur intestines for too long a strange dust like substance shoots out with a popping noise and you can not control them they just...POP!
user652649
thanks urban dictionary
and it's no joke :)
already leaked on torrent
user652649
wtf
08:19
Someone available to support Joomla Q&A proposal?
dafuq Area51
user652649
it was told me that joomla is nearly dead
@Wes Now need only 49 votes more.
joomla still kicking?
user652649
ahah
user652649
08:24
13
Cheese

Proposed Q&A site for cheese afficionados, eaters, makers, crafters and pairers.

Currently in definition.

i vote cheese
@easwee What's wrong with Joomla?
@easwee best.game.ever!
@Radu - don't know - I'm just asking if it's still kicking - because I haven't heard that anyone uses it for a long time
taking "It's not a bug, it's a feature!" to the next level
user652649
08:27
@easwee using some php cms?
user652649
@wes wordpress and custom codeigniter for one website
who started this .io trend?
user652649
run dmc?
no idea xD
user652649
that would be .yo, right? xD
08:59
what is the reason for using this?
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
instead of just a regular
it's a clearfix
.clearfix{
   clear: both;
}
actually it should be
.clear:after {
   clear: both;
   display: table;
   content: :"";
}
09:02
ah ok. but the regular clearfix method without :before, :after works just fine too, right?
nah, in that you need to add an extra element to clearfix
well yeah just an extra div
yup
just an extra div for a set of floating elements, you could've more than 10 sets, so 10 useless empty elements
well it's the same as the browser rendering an :after element with empty content
you don't have to modify your dom for that, :after for me is really helpful when I am modifying existing templates and I've no control over the html
user652649
09:06
that's not the same since that is automatically added @DarkAshelin
morning all :)
for some reason I don't like that blog ^^^
@Will morning
@Mr.Alien Good Afternoon Sir...!!! How are you.?
@SilentKiller hello, am fine, my neck is broken cuz of excessive work so having some rest
user652649
09:08
@DarkAshelin in case of msie7 you could use a script that adds <div>s automatically
@Wes or just go with the regular clearfix div
@DarkAshelin I have shifted the code to use keyup event
still no luck
@user2962766 u haven't changed your search function yet
user652649
well, yes @DarkAshelin i suppose you don't have to use many times, right? :P otherwise you would hate adding it each time
@Mr.Alien OMG. take rest man. me too some what like in pain. work full week and playing cricket in week end so no rest for me. so have aching in multiple parts.
09:09
@Wes nah, so far once or twice / page
was just wondering why ppl use the other method and if it's worth changing
yea, I tried pushups 2 days back, and the pain started cuz of muscle stiffness, even throat is paining
@DarkAshelin Im not sure what to do in that.
I wanted to show you something i did earler
@Mr.Alien bodybuilding. ahm ahm.. for whom..?? ;)
@DarkAshelin This is what i did for single trigger. This works perfectly. jsbin.com/qakefini/40/edit
lol nothing like that, I was aware that I never exercise, I did for a day and this is the result
09:11
@user2962766 the keyup works perfectly now :)
@user2962766 seems to work fine, what is wrong with it?
@Mr.Alien obviously the result was same for me too.. :D ;)
truly awesome.
09:12
@DarkAshelin which one works fine ?
@user2962766 both
@Mr.Alien I like how all have hover effects except ieshits
keyup on first = fine
search on 2nd = fine
@PatsyIssa +1 lol
@DarkAshelin in first, it is for just 1 trigger + it doesn't work if user tries to type between some text
@PatsyIssa am amazed cuz someone actually managed with a single element with pseudo elements... If I would've designed, must have used more elements, for convenience
09:14
in 2nd , the search is still not working. Its showing all the results
@user2962766 it's working for me
@DarkAshelin letme see
@DarkAshelin Found the problem. Its in the function test
user652649
anyway @Mr.Alien @DarkAshelin i use the fix for both before and after
http://jsfiddle.net/LY9W6/ try to comment :before
i guess its not returning the dara properly
user652649
helps to prevent collapsing margins
user652649
morning @mikedidthis xD
@Wes Sup!
@mikedidthis O/
@PatsyIssa o/
o/
09:21
ola will :D
;)
user652649
:3
@Wes zoom for ie7, I hate IE7
!!google internet explorer tax
09:23
Server error (status 500) occured (message probably too long)
lol
user652649
@rlemon ^ caprica fail?
ahahahaha, IE fails here as well
09:24
@PatsyIssa haha nice
@PatsyIssa Thats a good idea!
user652649
<!--[if lt IE 8]><meta name="gun-device" content="kill-painfully"><![endif]-->
09:41
hahahahah

« first day (335 days earlier)      last day (3453 days later) »