« first day (554 days earlier)      last day (4389 days later) » 

2:03 AM
Thanks
 
 
1 hour later…
user986408
3:07 AM
is it super-bad if i declare variables in a loop ? like..
for(...) {
var i;
}
 
user986408
or should i do it outside the loop no matter what and live with the additional lines
 
3:46 AM
Hello All
I have a question related to javascript. Can anyone help me?
 
@WeRock yeah that's what this room is for eh
 
Hey user973810 how are you?>
 
@ThatWebNerd It's not recommended. Javascript doesn't have block scope, so your variable will still exist outside of the loop.
GTG
 
Ok np... have a great day buddy
 
user986408
okay.. i wasnt sure because of the performance.. because the intepreter would try to declare the variable every time in the loop although it already "exists"
 
user986408
3:50 AM
wasnt sure how to handle this
 
4:39 AM
0
Q: Review request: snippet of custom array.indexOf that supports nested arrays

ajax333221I recently wrote a snippet to make a custom array.indexOf but with nested array support in addition to allow using a nested array as needle. For example, it correctly returns the index 3 in this case: var arr1=[0,1,2,[3,[4,true,[],[,"x",false,,,undefined,[]]],["5"]]]; console.log(indexOfArr(arr...

 
5:09 AM
0
Q: Custom Post Types make slider hang when loading

wilwaldonI'm using Twitter Bootstraps carousel. http://twitter.github.com/bootstrap/javascript.html#carousel I had a model working perfectly before I added custom post types into the mix. Here's my custom post type: http://pastebin.com/mpzE0L9K Here's the javascript: http://pastebin.com/mjzaehtR A...

 
 
2 hours later…
7:33 AM
3
Q: weird visitors to my website ,

ZaherI hope someone can help me with this situation or has been through the same. For the last three months , I have had thousands of real visitors to a single page inside my website. Those visits are recorded in G Analytics stats and counts as page views in adsense reports, but they are fake: Th...

 
 
1 hour later…
9:02 AM
anyone see a jquery tag on this question?
http://stackoverflow.com/questions/10266432/how-to-make-a-div-appear-in-slow-motion
 
10:01 AM
nope
 
10:12 AM
o/
 
@FlorianMargaine \o
i am probably writing an overkill for that person :3
 
omg , someone had the audacity to downvote my most popular trolling answer
morning guys, btw
 
lolz @tereško
 
morning :)
 
Good Morning :D
 
10:15 AM
gotta go guys
lunch coming!
 
bon appetit
 
huh
only just realised how early it is
 
lol
 
well , yeah , its 13:00+ here , but i just woke up
 
I thought it was like 4pm or something
12:17 here
 
10:16 AM
@sg3s about that jquery js thingy
people are just too much obsesse by jQuery
 
I know... I was baffled how a question, tagged with only 'javascript', got 2 jquery answers within 5 minutes...
 
10:35 AM
hello
 
you mean topics like this ?
3
Q: What are all the things you CAN'T do in jQuery that you need raw JavaScript for?

SusanI have been using jQuery for a little while and never learned raw JavaScript properly. I rather not learn things in JavaScript that I can do via jQuery, but I do want to learn the things that can't be done in jQuery. I know things like setting cookies and getting times need raw js. But what els...

 
lool
 
lol
how do i configure bandwidth mod on apache:?
 
you will have to go to ##httpd channel on IRC for that
 
ok thanks @tereško
:D
no one's active there :( got it working though
 
10:45 AM
thats how IRC works .. you type in th question and then you wait
 
0
A: how to make a <div> appear in slow motion

AbhishekThere is no need of jQuery in this atall , its just a basic i am using your function to explain how thats done. function showDiv(divID) { if(document.getElementById(divID).style.display=='none') { document.getElementById(divID).style.display='block'; } } ...

 
@tereško yeah i know , by any chance do you know what the virtualhost part means?
 
i have used lighttpd as my webserver for 3 years now .. i have no idea what you are talking about
 
@Yohann ask that question on webmasters
 
@Abhishek @tereško i got it working anyways ,does lighttpd have a better way of doing things?
 
10:54 AM
@Yohann i dont know :-'(( , since i met @IvoWetzel , @Raynos in this chat i have been writing servers only on node.js
@IvoWetzel hey there btw
 
@user973810 No block scope and hoisting => variable declaration will be moved outside the loop.
 
11:12 AM
It's nice how people complain about monocolture without looking around to see the (existing) alternatives. Hands down, gmail is god, but for most (if not all) other Google services and products there exist good competitors
 
Hi
 
@Zirak what about live mail, yahoo mail?...
 
@Zirak Google docs has no real competitor either
 
@FlorianMargaine How about my Microsoft Office [kidding] [/troll]
 
stop editing :(
 
11:27 AM
sorry :-(
 
@sg3s They all suck compared to gmail
@FlorianMargaine I never really bothered with google docs...maybe it's a weird enterprisey thing. Who gives a fuck about enterprises?
 
and your trolling's not even funny :p
 
:-( i know its not -_-
 
@Zirak I use google docs everyday
 
@Abhishek Trolling 101: If you say "kidding" or "jk", it's not trolling
 
11:28 AM
for enterprise and for personal
 
Okay got it :-)
 
does googles smtp servers allow sending emails to other providers? (as long as im sending from a gmail account)
 
Anyways i need some help :-( , for some reason my code works like a cream on client side
but messes up ugly when the same code is ran on node.js
 
Google Docs FTW
 
Why? The only merit I see of google docs is the sharing bit. The editor is decent, but I'd take Emacs/Vim any day
@Abhishek Maybe because they're different environments. Depends on what "messes up ugly" means
 
11:30 AM
@Zirak its an id3v2 tag reader in pure js
this is the server side it reads only the half of the tags for some reason i cant find
the jsfiddle is the client version and it works really great on client ( chrome / ffox )
use the ID3v2.readFile(' '); method on server.
 
Did you make sure the entire file is loaded before parsing? node's IO is async, not sync
You could be operating before it could read the entire file
 
yes. i did
fs.readFile( 'filePath', 'ascii' ,function (data){
  /* there the data contains the whole file */
}
 
hey guys , do you know any good online manga readers ?
 
uhu
Cdisplay
 
no , i mean sites where you can read mangas
 
11:38 AM
hurr well thats tricky, about a year ago a big campaign was set up to shut down the biggest sites which contain manga
the battle was short and bloody, little survivors
(licensed manga in the US, and most good/translated stuff is licensed in the US)
 
did i mention that the site must be free ?
which means , outside of US
 
well the problem is that there aren't many alternatives
 
i was using mangahere.com for year or so , but in past month it has gone tits up .. you cannot log in , and the css/js files are not loading anymore
 
@tereško loads for me :S
 
click through the site
 
11:43 AM
the landing page works .. nothing else does
 
A friend of mine suggested mangafox and mangareader
 
Am i supposed to be able to read a comic ?
 
@Zirak , guess you're right , i will migrate back to mangafox
@Abhishek , where's the problem ?
 
@tereško ?? if thats supposed to be regarding the id3 reader , then it reads only 2 -3 tags on server
stops unexpectedly despite of the whole file loads
on client it reads All the tags available but on server it stops at about 4 -5
 
i have no idea what you are talking about
you mean the picture did not load completely ?
 
11:51 AM
mangareader is approved for having parasyte mangareader.net/1415-45814-1/parasyte/chapter-1.html
 
Oh ... thats regarding the website
lolz mangareader works fine for me
 
mangareader wasn't the problem in the first place, mangahere was
 
erm mangahere
ohchrist :|
that one works fine for me too :S
and i can read comics on that fine
 
well .. @Abhishek , the way how managahere is broken might differ from browser to browser .. but that thing is dead =/
 
11:54 AM
and which means that i have lost all my list of read-later and favorites
 
:( :-( that sad
@Zirak any clue why my problem can be occuring or do i just try to re-write the whole thing :|
 
@sg3s , you managed to choose the single most retarded page in the whole series
way to misrepresent something
 
@tereško: there are some extensions to keep list/read-later mangas
 
screw it i am doing it C++ way -_- and just importing a module :D
 
@tereško I know that that single page doesn't accurately represent even a fraction of what the story is about, but because it became a meme I started reading it :)
 
11:58 AM
@Abhishek Honestly, I don't get how it's supposed to work; I fail to see the relation between parseStream and the actual file
 
Ah!
nvm ;-D
 
@Abhishek , despite @sg3s misrepresentation of that manga , you should read it
i mean the Parasyte
 
@tereško i will later :-)
right now i am worried about mp3 :|
 
12:49 PM
@Zirak finally found out whats going wrong
but why still a mystery lolz
time to switch to linux :-)
cyall after a while
 
1:02 PM
hi guys , i have <tr> by id which is variable. and want to make if statment in jquery to show a table by those ids ,
 
@user1291295 and ?
 
the id of table2 is variable same as the <tr> of table1 , so i want make if statment (if tr of table1 == table2.id then make show results)
@Abhishek u understand ?
 
why is the id variable?
 
@FlorianMargaine because i have many rows which generated by id
 
what's the id for if you can't know it?
 
1:08 PM
Can we trust you to be smart enough to show us only the relevant portions of code?
 
you might be looking for indexRow though
 
I have a feeling it's going to be nastily big
 
@FlorianMargaine this my id of tr of table1 and its the same of id of table2 (<tr id= '".$row3[$ww]."'>)
 
id are supposed to be unique
 
because i have buttoms on every row , every bottom is related by this id
 
1:11 PM
if you have the same id at least twice on the same html page, it's not going to work, period.
 
Sure it'll work. It's just invalid.
 
I have a university project which needs (10 minute) user testing. Please email me to volunteer and I'll owe you a favour. (find email on SO profile)
 
Browsers accept much, much worse than duplicated id
 
Star that ^
 
@FlorianMargaine no they are not same ids
 
1:12 PM
What kind of favour?
 
...
 
@Zirak using getElementById will just return the first one tho
which is why I said "will not work"
 
DAFUQ
 
@Raynos Who says you're the real one, and not some guy who hijacked @Raynos email and SO account and wants to send us spams :O
 
HI guys! Can I ask about CSS question here?
 
1:13 PM
@IvoWetzel no trust, never trust.
 
@FlorianMargaine It'll work, just not in a way you'd expect; which is why it's invalid
 
@Zirak the favour kind, there are kinds?
 
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'prototype' of undefined
at Object.<anonymous> (/usr/local/lib/node_modules/express/lib/express/server.js:87:44)
at Module._compile (module.js:443:26)
at Object..js (module.js:461:10)
at Module.load (module.js:350:32)
at Function._load (module.js:308:12)
at Module.require (module.js:356:17)
at require (module.js:372:17)
at Object.<anonymous> (/usr/local/lib/node_modules/express/lib/express/index.js:28:31)
wtf is going on with my node.js on linux ?
 
HI guys! Can I ask about CSS question here?
 
@Abhishek it hates you
 
1:14 PM
@avirk feel free
 
@Zirak heh, I guess we're just mixing words :p
 
@Raynos how to make it love me ?
 
I don't call something not fullfiling my intent "working"
 
If it runs without errors, it works, but it might not be correct
 
@FlorianMargaine what u said ?
 
1:14 PM
@Abhishek be nice to it
 
@Abhishek express --version ?
 
I want a good tutorial for making Horizontal drop down menu through CSS
 
My clock works even if it shows the wrong time
 
But unfortunatly I didn't find myself
:(
 
@avirk if you want I have a boilerplate with JUST the functional parts
 
1:15 PM
@Raynos Yes. I want favour type C
 
1.0.7 @Raynos
btw node.js is @ 0.7.6 -pre
unstable ?
 
@Abhishek your using express 1.x, fail use express 3.x
What's the socially correct way to ask people to help me out with a simple questionnaire :P
I really should replace the phrase "user testing" with questionnaire
 
@sg3s I'll try it
 
It's only 5 questions :P
 
1:17 PM
YO FUCKTARDS, LISTEN UP. DO THIS SHITE OR I SMACK YOU ON THE HEAD WITH MY MOTHER'S HAIRY BALLS
 
@Abhishek use node 0.6.x (0.6.14 ?)
@Zirak pretty sure that's wrong
 
Edited
Truthfulness is always appreciated
 
npm ERR! message No compatible version found: express@'>=3.0.0- <3.1.0-'
@Raynos now wut ?
 
@Abhishek install the express 3.0.0prealpha
 
again version not found :|
 
1:20 PM
@sg3s Actually I want to know that which part of CSS remove the bullets from the li element
 
ugh i am switching back to windows atleast things worked :<
 
And which part force to drop down the menu
 
@avirk list-type: none;
@avirk erm.... everything else, pretty much
 
Hmm that make sense to me now
 
@Raynos leave the npm i will get to windows and use the windows one atleast it works on this . comp.
 
1:22 PM
actually I'm new bee so don't know much about that thanks for your reply @sg3s
 
note that I used SASS nested structure not CSS :-/ @avirk I guess thats kind of important to note
 
@Raynos pi.rlemon.com/paste/24e3901fe7f948e3e896b8de475a421c why the upper one works on client but this doesnt works on server ? the even worse part the bug is in reading the file which is fully read, i cant figure out why it fails to get a few tag info . and gets ? C instead of the 4 char TAG name
 
@sg3s can you refer me any link for this with detail tutorial I'll really appericiate
 
@avirk I guess this suffices: htmldog.com/articles/suckerfish/dropdowns
actually thats pretty terrible but it's not like I have anything better to point at atm
 
Looking cool for me yet I'll try to understand it
 
1:29 PM
@tereško whats wrong with $(this).attr('id') ?
 
@sg3s why not this.id ?
 
i really hope you are trolling ..
 
+1
 
@Abhishek 500 lines of code, tl;dr
 
1:30 PM
hahahaha that is a question that has seriously been asked the fuck
 
@Raynos what ? explain ?
 
@tereško at least $(this).attr("id") catches that one safari 3.0 bug you dont care about
@Abhishek too long did not read
 
Lol
oh kk :-(
 
@sg3s , your opinion in regards to jquery community is way too high
 
o/
 
1:32 PM
@Raynos is there any difference between reading a file as binary string and reading the file in node.js as an 'ascii' encoded string , MDN tells that binary string reads the file in ascii
 
!!/choose "watch cartoons" "write image uploader" "clean fish tank"
 
the whole code fails at a point , on client it reads a tag as "TSRC" and on server it reads as " ? "
 
@Raynos: just give away the questionnaire's link
 
@rlemon write image uploader
 
Here, I loaded it :P
@rlemon Y U NO MAEK SENSE!?
@rlemon write image uploader
 
1:34 PM
@FlorianMargaine that should work
 
ok ok
the man has spoken
 
@tereško it's not that high, actually, good programmers are rare and I recognize the sheer stupidity in the jQuery community; As for that question yes I know its retarded, your comment 23hrs ago got starred and made me chuckle
 
I'm a good programmer. John Resig is like Jesus to me. I recognized the beauty of jQuery right away: $('.mySortAble').find('tbody tr:last:not(:has(table)) td').css('background-color','red')
 
you DO know that this can be done with css
 
lol
 
1:37 PM
way too easy
 
Of course. But with jQuery, you don't need css!
4
 
@Zirak why you forgot

$.ajax!! john resigs awesome boon !!! it beats XHR by miles :3
 
Besides, what about IE compatibility?
 
which IE ?
 
All of them
 
1:38 PM
IE1+?
 
sorry .. i haven't really seen IE5.5 this decade
 
or IE6 for that matter
 
IE6 might pop up once in the while , when going through visitor statistics
 
Have you met Matt McDonald? He still runs IE5.5 Mac
 
LOL
 
1:40 PM
but i suspect that it was bot , identifying as IE6
 
@Zirak you serious ?? I mean really serious ?
 
no , he's just trolling
and he's bad at it
 
Actually, no. He runs and tests for IE5.5
 
he does
and NN 4[.8?]
 
Msomethin???
 
1:43 PM
Nov 1 '11 at 17:53, by Matt McDonald
I've finally found a legitimate reason to test on IE:Mac:
meh, best evidence I could find in a short search
 
he also runs opera 3
 
i saw him and raynos talking about him running tests on nn4
 
and he likes flash :P
 
i think specifically 4.8
i wouldn't even know where to get my hands on nn4
 
Hi
 
1:46 PM
what's nn?
netscape navigator?
 
I didn't get a good regex which enable me to split a String when the first number occurence is occured, for example: "72 street 890 abcd 1000 stack", i need to get: 72 street, 890 abcd, 1000 stack
 
> Supported Systems: Legacy OS support Windows 3.1
 
that was netscape communicator , this is netscape navigator
 
still
win98
 
1:49 PM
@Abhishek I think mattmcdonald would love you very much for this link :p
 
y in dafuq am i testing for win98
 
lmao
 
@rlemon: I had to install win98 se in a vm a year ago
 
I have windows 3.1 :D:D
 
it's 2012!!!!!
 
1:49 PM
{ not vm somewhere in on my HDD the whole setup is saved }
 
my bro wanted to play a game that couldn't be launched in win2k
 
@FlorianMargaine ever heard about dosbox or or or Wine { cause i know u use linux }
 
nope
hm
actually, yeah, but not much about it
and didn't remember about it back then :p
 
@FlorianMargaine and your first thought wasn't to buy him a game that was made in this century?
 
so I just downloaded win98 se in a vm so he could play this game
@sg3s it was an old game he had :)
 
1:50 PM
lol
@FlorianMargaine wut game ?
 
@FlorianMargaine not my point
 
zorg something, can't remember the name
@sg3s he also plays new games, but that's not the point. He wanted to play this game, period
 
I want a modern version of freelancer
 
@FlorianMargaine DosBOX is a small app allows u to emulate dos environment for stuff like TC3.1
 
I've had pets that have died of old age since windows 98. I refuse to think that I still have to support browsers from that era. FFS Beastie Boys and Celine Dion were rocking the charts back then. does that date it for you?!
 
1:52 PM
every few years its the one game I will go out of my way to get it working
 
yo wait does ahybody have TC 3.1 case i am going to need it ?
 
(beastie boys are wicked awesome btw, just saying)
 
guys please check if you have Old TurboC 3.1 IDE cause i will be needing it for my college projects, and i have no clue where can i find that old ass piece of crap
 
why would you need it for your college projects?
 
Our colleges use windows XP with Turbo C 3.1 IDE's & they refuse to update ever
i will have to write a program on C++ and compile it in front of my teachers / professors to prove that I made it -_-
 
1:57 PM
@Abhishek you got a good html5 file api dnd upload example/tut? I really get sick and tired of deciphering the real work behind all of the $() BS
 
@rlemon -_- i wrote one myself lolz
 
link?
 
depends what u actually wanna do ?
simple upload ? or break file in parts and then upload ?
 
ladder
so I can progress bar it ;)
(assuming this is the way to do that)
 
hahaha
nope !
wrong !
 
1:58 PM
seriously opened up like three tuts all were jQuery this and jQuery that so i just closed em and came here
 
the magic is in XHR 2.0
wait i will just write a small jsfiddle
 
ok so just mdn file api and xhr2?
o/ @OctavianDamiean
 

« first day (554 days earlier)      last day (4389 days later) »