« first day (505 days earlier)      last day (4429 days later) » 

 
1 hour later…
2:48 AM
http://jsperf.com/jquery-create-element-892305
jQuery appendTo is sloooooow
the "fully optimized?" test seems so fast it actually freezes until finished
idk what's going on there
hmmm... I wish each test would get their own iframe
don't do the test, it's gonna spike your memory lol
soemone tell me if that's the wrong way to test document.appendChild
no wonder, it uses jQuery's clone and pushStack x_x
 
3:36 AM
@andrewjackson yous trolling ight?
just use appendChild
and none of this jQuery trolls
 
I just wanted to demonstrate just how slow it was =]
I still use it for animations and some normalization, but only because I don't want to focus on that part of my project right now. I'm writing it so it'll be very easy to go back and replace with it my own implementations.
it's a good strategy for people who get easily sidetrack imo
 
4:32 AM
:P
Ugh -.-
I still have more answers in then
3
I have to fix that
 
0
Q: Is Javascript a solution for public server-side scripting?

alfa64I'm building a public website where users share data and scripts to run over some data. The scripts are run serverside in some sort of sandbox without other interaction this cycle: input > script > output or input > script ( local API calls) > output There should be a way to add custom functions...

 
 
1 hour later…
6:00 AM
0
Q: javascript multithreading

AliWell these days JavaScript is main player in all web development technologies , on client side for making user interface better, client side logic, on some web servers as server side logic also Add to that the fact of people (at least some of them ) started moving in web game development from f...

 
6:30 AM
RT @johnallsopp: "Report on the Workshop on HTML.next for Games" - Workshop on HTML.next for Games http://tmblr.co/ZiFBPyHRHBND
 
6:51 AM
jquery
 
 
3 hours later…
10:13 AM
@GGG you there ?
can somebody try to xss mess it ?
 
10:25 AM
revs.2itb.com - Impact of indian education system - that noob thinks he is one of the best programmers / hackers because he is in the best college ... doh! seriously what the fuck!!!
@Nil hey there :D
 
user457812
Eh?
 
just saying hello -.-
 
GGG
@Abhishek lol what time zone are you in
 
Indian standard time
3:57 pm here
@GGG wanna lend me a hand ?
 
user457812
So you are 12 hours and 37 minutes off from me
 
GGG
10:27 AM
5:27 am here
 
o trololol
you guys are nearly in the same timezone my girlfriend is lol
 
GGG
cool maybe i can borrow her sometime
 
@Abhishek skills by association. spiffy. i should hang out with more hackers or something.
 
lol
@cHao exactly :( , but what a pity he will probably get a 100x better job then anybody who codes better then him
 
yay india.
 
10:31 AM
:'(
i see my future in darkness .. until somehow i get out of here
wanna check XSS vulnerability ?
 
10:45 AM
@cHao my web failed
did you found any bug yet ? [ and i admit my client side code pretty much sucked ]
 
11:07 AM
i reloaded the page about that time...wonder if that has anything to do with it
 
lmao
if so then ... i am fucked Lmao
 
 
1 hour later…
12:17 PM
Can someone please help me with my question. :(

http://stackoverflow.com/questions/9527945/find-largest-image/
 
1:06 PM
Hi guys.
 
0
Q: JavaScript library for reading PCM

BcorngtrI'm looking for a JavaScript library that will allow a web page that is streaming audio (PCM) to actually "read" this stream and even manipulate it. Is this possible and available? Thanks!

 
1:44 PM
0
Q: CSS and JavaScript not being pulled on Wordpress Site, 500 error

Adam WaiteI'm working on a WordPress based website, the webpage loads fine but the CSS and JavaScript won't load in. Here's a screenshot from FireBug: Because I'm new to this forum it's not allowing me to post an image yet - check here: http://stackoverflow.com/questions/9548400/wont-load-css-wordpress-si...

 
2:00 PM
\o
 
2:16 PM
Hi
would this small function I just wrote work or am I missing something?
<Script language="Javascript">
function toggle(id) {
var browserwidth = screen.width
if (browserwidth <= 1100) {
document.getElementByID(quick).style.display = 'none';
} else {
document.getElementById(quick).style.display = 'block';
}
}
</script>
except the ; missing after width
 
hello my friends :D
 
hi
 
sup ?
 
not much, just wrote my first javascript function and am waiting for someone to take a look at it and tell me what I did wrong
 
@Charlie Are you trying to mimic the CSS @media query with JavaScript?
 
2:22 PM
Im trying to make a script to determine if the browser width is less than 1100 and if it is to not display the div 'quick'
 
@Charlie the answer is yes , yo are trying to mimic css media queries
 
that's pretty much what octavian meant. Media Queries are the way to go here
 
Moreover CSS3 media queries will also be faster then javascript by miles
anyways how should i try to obtain that shape ??
 
but whats the "quick" in your function?
 
SVG or CSS ?? or something else ?
 
2:25 PM
you are passing an id as argument to the funtion, but you aren't using it
and then you pass quick to getElementById... what's this?
 
@Abhishek Do you want to build that interface as a website?
 
@OctavianDamiean webAPP ..
 
GNi33 aka. JS Lint. :D
Hum, this is quite a complicated shape.
 
@OctavianDamiean ^_^ told ya lol
 
:P at least i am not complaining about mixed tabs and spaces :D
 
2:27 PM
heh
 
its harder then my css baby faces :-(
 
ah ok
thankd
 
lets try doing it with CSS first if we fail i will just import the SVG image as background [oldschool!!]
 
I don't think that you can build it using pure CSS.
 
tapeer.net/404.html <- that makes me feel i should atleast try :o
but even i feel its hard to make lol
@OctavianDamiean lets bet 1 beer :D i can make that shape through semantic CSS and HTML only
 
2:36 PM
Alright, if you manage to recreate that shape using only CSS and HTML I'll owe you a beer.
 
:D
 
html5
 
@Charlie Just for completeness. You should not use window.screen.height or window.screen.width anyway because it will always return the screen's dimension.
 
in PHP, 1 min ago, by Incognito
Hey guys I'm trying to make a list of useful websites for various tasks we sometimes run into, such as, something for string manipulation/encoding, colour pickers, etc... Anything I should add to this (quite short) list?
 
ok thanks
 
2:40 PM
What you should have used is window.innerWidth and window.innerHeight.
However CSS media queries are the best option for your use case.
 
but... they don't work in ie7
 
the css media query probably wont work for me as the div i want to make disappear if the screen size is less than 1100 is a static on the left hand side inside of a container that is set as width:100%
 
Really?
 
there's respond.js for that, but it's pretty slow
 
IE - Y U NEVA WORK!?
 
2:41 PM
i looked at a compatibility list last night
and it was a chart and IE had only 1 tick out of 15
 
Internet Explorer Microsoft should be marked deprecated.
 
@Incognito css3gradient something - colorzilla.com/gradient-editor
 
IE7 is a big, big mess sometimes. an auto-update feature (which is actually planned) would be awesome
 
stupid apple and microsoft!
 
@Charlie ...
but oh well in web-developers eyes they really really suck lol.
 
2:44 PM
both companies suck balls
favourite OS? Mine is arch linux, so much more freedom
 
Mine ?
Windows 7
.. yes .. and don't rant thats my personal choice
 
@OctavianDamiean i also code in .net [/ranting]
 
rants even more
 
lol
 
GGG
2:49 PM
sup trolls
 
@GGG halp!!
i am in killzone lol
 
We be trollin'.
 
GGG
lol uh oh
 
anyways @GGG prntscr.com/6pggh thats my graphic designers final sketch
 
GGG
i gotta get some breakfast before i get my troll on
@Abhishek looks like a good design for a hardware device =/
 
2:51 PM
@GGG pffct
but i have to make this in a website [trololol]
 
GGG
=(
 
and as a bet with octavian i am doing it css way [rather first time css will dump me]
 
GGG
reminds me of trillian
 
@GGG though being a EC student i will try to make a hardware like that too :D :D
 
GGG
make hardware that looks like that and you'll probably do pretty well
 
2:52 PM
lol
i like her idea though
for noobs [ as we know which are demographics ] they will be nerdified by it lolol
 
GGG
i like her style, it's almost like a technical drawing
i wonder what software she used
fireworks maybe
 
XARA
 
GGG
<3
 
all she uses is XARA xArA xAArAA
 
@Abhishek I didn't mind windows 7, but then i just seemed to get constant bugs, I turned my pc on one day and EVERY service had been disabled even the service manager... Stupid windows updates
 
2:54 PM
@Charlie no .. stupid you .. possible cause .. porn sites [xD]
 
nope
 
I looked through all sys logs
 
@GGG microsoft updates
 
GGG
no questions tagged porn eh
 
2:55 PM
stuff not makes life unlivable
(XD)
 
the only thing that could have done it was a windows update
 
lmfaooooooooooooooooooooooooooooooooo @GGG
wanna make one ?
 
GGG
i wonder if i can make tags yet
 
How to filter porn xD
 
@Raynos Y U NO USE SEMI-COLONS!?
 
GGG
2:56 PM
@Zirak he was strangely quiet about that when I asked
where did you come from anyway
 
@Zirak , @GGG remember those "A real programmer ...." that why
TROLOLOLOL
 
GGG
well i hope she payed you alright
that must have been rough for you
 
She was a bit harsh. I mean, why so cheap on the butter? It's the most important part.
 
facpalm
looks like i just accidently made CSS tits
 
GGG
@Abhishek sounds like a good subject for a blog post
Pure CSS tits
 
2:59 PM
@GGG no thanks -_-
they were pretty easy though
 
Or a tweet. LULZ I MAED BOOBIES, CLOSEST I EVER CAME TO ANY
 
GGG
#lolboobies
 
:-|
okay you wont see my tits
erm my CSS made tits -_-
 
Your magnificent moobs are of no interest to me
 
lol
@Zirak you sound very high
whats you on ??
 
3:01 PM
Helium
 
i doubt
 
I'm a badass
 
3:25 PM
Hello guys
 
i hope i will get what she wanted from HTML [hopefully ] lol
 
Guys, I'm looking for open source web based ide
does anyone know?
 
@TuralTeyyuboglu depends
on what u need
ibm has one maqueta
 
GGG
@TuralTeyyuboglu that's a great idea
 
GGG
3:28 PM
what for real
 
yes lol
 
GGG
paid?
 
nope
but as per ryan kinal
 
I need something free and
 
it sucks
 
3:29 PM
(1)yuck, IDEs. (2)Good ones? nope. (3)Just grab your favourite editor on a flash drive
 
want to publish it on my webserver
 
other is cloud9 but its typing based
 
to access from anywhere
 
@Zirak best choice
 
GGG
omg this is hanging everything
it is sloooow
 
3:29 PM
fuck yes it is lol
@GGG
 
GGG
web based ide is a great idea
 
GGG
sell it for like 20 bucks lifetime use
 
does it looks even close (XD)
 
I have a flash drive with Emacs and Vim on it. Can do all my codez anywherez.
 
3:30 PM
@GGG lol
 
GGG
@Abhishek there is no image
 
GGG
and why are you doing all that border radius stuff
 
hey not sure if this would be politically the correct room but....
 
what's u guys
 
3:31 PM
cause thats the only way to do that with a single div
 
i was wondering if anyone could give me a hand with JSON
working between PHP and Javascript
 
i will also skew it a bit later to look more realastic
 
A hand with JSON written on it? I can arrange that
 
andl aslo scale on X axis and Y axis seprately to make the curves look better
 
thanks Zirak
ok im pretty much new to JSON
and am attempting to pass a PHP array to my Javascript code
 
3:33 PM
@LordLink json_encode()
 
Ive been reading some tutorials and am now attempting to get this to work but failing
 
//php:
$jsonstuff = json_encode( $stuff );
//print it out along with the rest

//js:
var jsonstuff = JSON.parse( stuff );
 
the part that fails is eval from javascripts side of the code
aaa JSON.parse let me try that
 
EVAL!?
Like EVAL!?
 
http://php.net/json_encode
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/JSON/parse
 
3:34 PM
i seen it on a tutorial
 
GGG
@Abhishek why does it put all this garbage in here when i make a new project
how do i make a blank project
 
@LordLink I'd post question with my piece of code on SO, rather than asking for help in chatroom, if I were you
 
where ?
 
Don't use eval. Unless you're a ninja with telekinetic abilities.
 
GGG
maquetta
 
3:34 PM
and what pulls garbage ??!??!
 
GGG
files
 
oh ... i dont fucking know (trololol)
@GGG
 
@Tural Ive posted a question but fromt he responses im getting they are telling me to seperate the javascript from my html which isnt exactly what im looking for :(
 
for you i would say use cloud9
 
@Tural figured it might be easier having a live conversation with someone
 
3:37 PM
There might be other problems with what you're doing, not just with what you're searching help for.
If you had an edge-case where you'd summon the Witch King, wouldn't you wanna know?
 
heres a link to my question so you can see the code
0
Q: JSON: php to javascript data conversion gives me an error on eval

Lord-LinkHi im fairly new to using JSON and have been trying to pass an array from PHP to Javascript using JSON. I have been reading up a bit on it but am having an error on the eval function in javascripts side of the code. If anyone couid please help id really appreciate it thanks in advance! PHP (lang...

 
You do realize you're treating the entire page as JSON, not just lang.en.php?
You're grabbing the page you're on...why would it work?
 
hmm theres somehting im missing then
how am i treating the entire page as JSON when im passing the $lang array to encode only?
 
If the url is iLikePuppies.html, and you're grabbing the page iLikePuppies.html, chances are you won't just get the JSON.
And you're not passing anything to encode...you're trying to eval an html document. Monitor the requests to see it.
Or, really, just look. A request from index.html -> index.html
So you should've given the answers a second look, because they're right.
 
hmm guess i just needed better explanation i wasnt understanding what they wanted to point out
so heres whats confusing me why exactly is it passing the html doc when in my encode i send the $lang variable...?
 
3:50 PM
Where on earth are you encoding anything?
oh, that little part? Why wouldn't it send everything else?
 
ya there... because i specified json_encode($lang) <-- the $lang variable which is an array of strings...
 
Text is text, how you treat it is what matters. php doesn't know why you sent this http request, and even if it did, how can it know which parts to include in the response?
If you want to have a request who's output is the JSON-encoded array, then make that page or make your page react differently for some parameters (like a GET or POST variable.)
 
k im gonna haveto have a better look at this i appreciate the help but i haveto get going now im going to read up some more and see if i can understand cause im not getting it just yet... Thanks alot for your time and patience with me!! :)
 
@LordLink: if you want to output JSON datas, your whole page has to be json-encoded
 
user1385191
4:12 PM
you know you're pedantic when you cry over a deep recursive method because it's 30 lines long
 
For all Sublime Text 2 on Ubuntu users. Up-vote this proposal!
@Raynos --^
 
@OctavianDamiean , you might want to look up what is GPL
 
What do you mean?
I know very well what GPL means but I just don't see the connection.
 
user1385191
> Sublime Text may be downloaded and evaluated for free, however a license must be purchased for continued use.
 
user1385191
doesn't mesh with the GPL
 
4:22 PM
Yes, thanks I know all that, still where is the connection?
 
user1385191
 
Who on earth said that every package has to be GPLd ...
 
Are there any rules of thumb that is "applied" when you deside whether or not an action should be done with AJAX?
 
0
Q: Cellbased maps explanation?

hustlerincI've been trying to understand cellbased maps and how they work, i have googled alot but can't seem to find any explanation for it. With cell based maps i mean the ones where you do height and everything like walls roof floor in each cell. If possible i would appreciate an explanation from a Jav...

 
user1385191
if open-source systems accepted programs that required payment, they'd become Windows in a hurry
 
4:24 PM
Look, I'm right from the Ubuntu world, been to developer summits and know quite well what I'm talking about with respect to Ubuntu so I don't need a crash course on what is possible to be submitted to Ubuntu and not.
 
user1385191
you've never been annoyed with programs that let you use them once then ask for money?
 
I was merely asking for support from people that might care.
 
I have a list where a user can report another user. Should the form be just an overlay over the list or another page with the form
 
"(..) I'm right from the Ubuntu world (..)" my ars
 
Guys, come on. Stop trying to tell me what's possible on an OS which I've been using for a decade.
 
4:28 PM
he still doesn't get the point
 
Well not Ubuntu directly but starting with Debian.
@tereško I'm right here, you don't have to talk about me in third person.
 
user1385191
The Commercial Software FAQ page (http://developer.ubuntu.com/publish/commercial-software-faqs/) has several references to the "Commercial Software Centre Publishing Policy". Yet no where on the site can I find this policy nor any obvious links to where it may be found.
Ubuntu App Developer site
Undecided / New
 
user1385191
lol
 
The most important part of that site is this.
> Can I distribute and sell proprietary software through Ubuntu? Yes, you can distribute proprietary software through Ubuntu by joining the Ubuntu Application Developer programme. In some cases the software is provided without a charge, and the developer makes money through advertising or upsells. In other cases a software license is sold to the user giving them rights to the software. Both systems are allowed in the Developer Programme.
So pretty please stop arguing over something I already know is possible.
 
@Zirak Y U USE SEMI COLONS
 
4:38 PM
Every time I see a lacking semi-colon, years of C-like languages scream murder throughout my brain. It physically and emotionally hurts me to not use semi-colons.
 
...
 
...
@Zirak what are you ? a JS VM ?
 
l2boss
 
@Abhishek Yes, yes I am.
@Raynos Seriously, why did you switch?
 
@Zirak
                 function duh(){
                          return duh()
                 }
                duh();
 
user1385191
4:44 PM
@Zirak x1000
 
lol
 
@Abhishek >>> 42
 
xD
@Zirak .. your sir are brilliant :D
okay i am going to crash my browser
 
I suckled on brains as an infant
 
in order to test what zirak said
RangeError: Maximum call stack size exceeded
Wow my js can handle 26163 functions
in call stack :D :D
wonder what firefox have
fuckerfox chrashed :D :D
pbbly infinite functions lol
 
4:50 PM
Nothing's infinite. :)
 
            var i;
            function duh(){
                 ++i;
                 return duh()
             }
            duh();
 
Except the stupidity of mankind.
 
OBJECTION!
 
@OctavianDamiean i am getting the beer ;-)
 
Infinity === Infinity; //true
 
4:51 PM
lol
@Zirak can u tell me if thats the proper way to find out how many functions ur callstack can have ?
 
Right, nothing except infinity and the stupidity of mankind is infinite.
 
OBJECTION!
 
hey there is one thing else
OBJECTION
 
@Abhishek Yea? Link to the interface of it didn't happen. :D
 
@OctavianDamiean coming soon
i figured out how to do it :D
pretty nifty way but works lol
 
4:52 PM
lim(2^x), x -> Infinity = Infinity
 
oh lol :D
 
Any polynomial will do, actually.
 
revs.2itb.com Raynos ranting on that website esp after talking to the person who made it [ he claims to be a great programmer/hacker as he is in best indian college] is comparable to infinity :D
 
Oh my gosh ... words fail me.
 
Anyone know anyone that works for Yamaha?
 
4:54 PM
Mitsuru Umemura.
What did I win?
 
...
 
lol
 
I want to talk to someone at yamaha
 
Oh.
Does that mean that I didn't win anything?
 
@OctavianDamiean that misery .. erm the "pro-grammar" even encrypted the src code for that bullshit as som1 can be assed to steal it (XD)
 
4:56 PM
Wait, he encrypted HTML!?
 
lol
<!--
   document.write(unescape('%3C%73%63%72%69%70%74%20%6C%61%6E%67%75%61%67%65%3D%22%6A%61%76%61%73%63%72%69%70%74%22%3E%0A%66%75%6E%63%74%69%6F%6E%20%44%65%63%6F%64%65%28%73%29%7B%0A%76%61%72%20%73%31%3D%75%6E%65%73%63%61%70%65%28%73%2E%73%75%62%73%74%72%28%30%2C%73%2E%6C%65%6E%67%74%68%2D%31%29%29%3B%20%76%61%72%20%74%3D%27%27%3B%0A%66%6F%72%28%69%3D%30%3B%69%3C%73%31%2E%6C%65%6E%67%74%68%3B%69%2B%2B%29%74%2B%3D%53%74%72%69%6E%67%2E%66%72%6F%6D%43%68%61%72%43%6F%64%65%28%73%31%2E%63%68%61%72%43%6F%64%65%41%74%28%69%29%2D%73%2E%73%75%62%73%74%72%28%73%2E%6C%65%6E%67%74%68%2D%31%2C%31%29
that way lol
 
What website is so full of fail, it actually hurts.
 
lol
true that
 
Using document.write(), fantastic ...
 
GGG
ffs
"javascript counter - immediately implement comma on page load"
what the fuck does that mean
i want to fix this title and i don't even know how to make sense out of this moronic drivel
how in the flying fuck do you implement a comma
 
4:59 PM
lol
 

« first day (505 days earlier)      last day (4429 days later) »