« first day (556 days earlier)      last day (4399 days later) » 

2:16 AM
0
Q: create an associative array from two regular arrays

MalekI want to bind two regular array into one associative array. The values of the first are the keys and the values of the second are the elements. var array1=new Array("key1","Key2","Key3"); var array2=new Array("Value1","Value2","Value3"); var associative_array=new Array(); for(var i=0;i<3;i+...

 
2:27 AM
Help me JavaScript ninjas, you're my only hope!
 
2:59 AM
These are not the droids you're looking for...
 
is there another room for action script?
 
is it Flex and action acript?
 
Yes :|
And also yo can create a new chat room
Try it
 
3:20 AM
cool, i created it, :-)
 
So,
¿Do yo like flex? :|
 
Its called Flash Decompilers
i guess they are gonna ban it.
question, how to embedd a swf file to a web page, so that it gets stored in the host computers memory or hard drive, so that its easier to load next time, they visit
 
Question
¿It's necesary embed a swf file into a web page?
 
what is the alternative?
 
JavaScript & CSS3
 
3:32 AM
do these alternatives promise to quicken the load time of the web page
 
Yes
Look an example
MAde with css3 and javaScript
Look the banner
Is interactive
 
hahaha, that is so good
 
JAJA}
Cool
 
but, sir, i viewed the source of the web page, and i looked for the word .swf it wasnt anywhere, so how did the maker of the site placed it in the page
 
No swf
Only javascript
Code pure
javaScript, CSS3, transitions, effects,
Look
Matrix animation with only css3
A clock
And my favorite
A coke can
 
3:42 AM
wow, I love that pure css can, GREAT!!
all these sites are going into my bookmarks!
 
But the only f***cking limitation is the compatibility in browsers
IE, etc
But, a new question
should give support to other browsers?
My opinion: NO
:p
 
why no,Sir?
i have to go now, can i ask for a favor, when you reply can you write @5tom in it so that i can see later on, thanks, :-)
 
@5tom because IE is dead
@5tom ok, i have something for you
@5tom send my an email
@5tom and I response you with a present, made in css3 :)
@5tom tom.-95@hotmail.com
@5tom bye
 
 
2 hours later…
5:35 AM
0
Q: <kbd> markup shortcuts

Brock AdamsInspired by the question, "Markdown syntax for <kbd>foo</kbd>", this script adds both a button and a keyboard shortcut to each post's <textarea> (when editing posts). Press the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor. If t...

 
 
2 hours later…
7:38 AM
0
Q: How to use Ajaxtoolkit ModalPopupExtender in javascript

SindhuIs there any event in javascript which has the features of ModalPopupExtender i.e, Technically, it should render as a div within the page. Visually it should look like a popup. And this should not be blocked by pop-up blocker of the browser. This is because i want to display the output in another...

 
8:00 AM
o/
 
\o
 
everything fine, and you?
 
yeah, haven't stopped smoking yet
 
8:16 AM
no, but as i said, smoking less every day ;)
drinking more coffee on the other hand though :D
 
heh, just presented node.js to my boss. He's blown away. :D
 
nice :)
asked mine yesterday if we can set up a node - server in-house
 
@OctavianDamiean how did you present that to him?
what kind of advantage/application example?
 
He wanted a simple web server running on a remote machine that would start a process based on the query parameters.
 
8:31 AM
Huh.
that'd be faster in php tho :p
faster to write, that is
 
He didn't know what to use. I told him that there are several ways to achieve that and that node.js would be the best option because it is a very simple web server and everything else he needs for that.
@FlorianMargaine Well, don't forget about the web server.
 
well, php doesn't care about the web server, that's why I told you "faster to write", you don't handle this
 
You don't want to install Apache or nginx for such simple use cases.
 
Well, we'd have to handle the web server as well.
 
8:42 AM
it'd be nice to have node installed by default on linux distros like python is
 
Be a man, build from source!
 
true, but on the other hand .. its installed in no time
 
I just love that quote. :D
 
well, the setup takes a while.. :p
I just received my cooler for today.. a co-worker seriously wants to add a 6,5k line jQuery library to have a gallery slider for like 10 pictures
thats for real.. :p I guess I reacted rather cool by just saying forget about it and.. being only slighly angry, I'd love to see how @Raynos would have reacted :p
 
8:46 AM
I guess something similar to this
 
well he'd have the job done in a minute
makes me think of this selector stackoverflow.com/a/10283803/851498
$('body').find('*').bind
 
@FlorianMargaine good morning buddy
 
heya :)
 
i bunked college to learn decoding of binary mp3 fles , i le satan!
 
no good :(
 
8:55 AM
@FlorianMargaine :-( i know but instead of learning how to make star patterns on TC++ 3.1 i thought it'd be good if i do something productive :D
 
could be nice to know how to make star patterns on TC++ 3.1
 
@jAndy I guess that would've been the first reaction. The second reaction would have been to bit that guy's head off and munch it.
 
ultimately @raynos will end up like carl if he continues to rage :p
 
8:59 AM
Llamas with hats is amazing.
 
almost as cool as charly the unicorn
 
9:15 AM
@jAndy ._.
 
did
anybody saw googles today slogo ?
 
yep, nice canvas stuff
 
That's pretty cool.
 
http://prinzhorn.github.com/skrollr/
"scale, skew and rotate the sh** out of any element"

haha
 
10:18 AM
they entirely replace the whole page with a big canvas as soon as you click on that thing
thats why you got redirected immediately as soon as you start normal typing on frontpage
 
XING's annoyingly complicated to handle ...
Big minus to their UI/UX designers.
 
didn't know about XING
linkedin-like it seems
 
Yea, it is a business networking service.
 
really fucked up, tho
 
I guess xing is more the european biiziiinness playground
 
10:28 AM
really?
I gotta subscribe, then.
 
Working with Windows feels like having hemorrhoids.
 
haha yeah, OSX is way better
 
user986408
lol
 
Except there is a cure for hemorrhoids.
 
working on windows is okay tho, even though I prefer OSX
it's like OSX > Linux > Windows
 
user986408
10:40 AM
i've once used bootcamp for windows.. it screwd my harddisk
 
Troll detected.
 
user986408
doubt that
 
user986408
i think it was a bad idea to install windows updates in a virtual machine
 
Linux > OS X > Plan 9 > Windows
Yes, I'm well aware that Plan 9 is still very experimental but it is still better than Windows.
Also, their logo is epic. :D
 
@OctavianDamiean you deserve an explanation :-|
Y U HATE WINDOZ ?
 
10:44 AM
plan9 still exists?
 
For me

LINUX >= Windows >> OS X
 
The more appropriate question is, Why does Windows hate its users?
@Abhishek I'll never rank any Unix based system below Windows.
 
@OctavianDamiean it doesnt
 
It does with passion.
 
@OctavianDamiean how so ?
For me linux hates me :-(
hell npm on linux dosnt even wanna install express for me :-<
 
10:46 AM
That is not really a problem with Linux.
 
lol thats a general case of how stuffs act up for me on linux
i dont even see the ubuntu loading thing .. it just gives ma purple blank screen
 
any real reason to use plan9?
 
but then my computers hardware has issues with linux
 
@FlorianMargaine Well, not really other than tinkering.
 
I mean common, Dennis Ritchie was one of the owners
 
10:49 AM
@Abhishek Was it a Wubi install?
Wubi tends to screw things up. I always recommend a clean install from a disk.
 
is there a xhr oncomplete method or some event similar which i can use once the request is complete?
@Abhishek you seem to have ubuntu problems?
 
@Yohann: the onreadystate event is fired every time the xhr object changes its state
 
@FlorianMargaine thanks
 
@Yohann Like this?
 
Value	State	Description
0	UNSENT	open()has not been called yet.
1	OPENED	send()has not been called yet.
2	HEADERS_RECEIVED	send() has been called, and headers and status are available.
3	LOADING	Downloading; responseText holds partial data.
4	DONE	The operation is complete.
so you can check every time if the value is "DONE" and do your shit
 
10:59 AM
Ah, Florian ninjad me again ...
 
@Yohann basically you have to do something like this: github.com/rlemon/Little-XHR/blob/master/little-xhr.js#L65
@OctavianDamiean sowwy é_è
 
Oh my god ... it started raining. ._.
 
thanks i got it :D
 
11:18 AM
Hello
I having trouble with regular expression format in dojo-data-props
I used data-dojo-props=\"regExp:'[\[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)]',
but it prompt me this error Error: SyntaxError:
invalid property id in data-dojo-props='regExp:'[\\[a-zA-Z]+(([',.- ][a-zA-Z ])?[a-zA-Z]*)]', promptMessage:'Only Non-Space Text.', invalidMessage:'Invalid Non-Space Text.''
but when I using simple regex ... data-dojo-props="regExp:'[\\w]+',... for checking my code its work fine
Whats the exact format for regular expression for data-dojo-props='regExp:...
can any one help
 
hello everyone. I have a jquery question (validate). Is there a possibility to set custom message for "required" class? As far as i know custom rules and messages can only be set for names and not the class.
 
11:42 AM
1
Q: What is the format of regular expression in data-dojo-props?

AbdulAzizWhat is the format for regular expression for ...data-dojo-props='regExp:... I saw somwhere that this expression is fine ... data-dojo-props="regExp:'[\\w]+',.... But this for very simple one. What if the expression is complex like ^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$ or ^(\+|00)\d...

 
11:57 AM
0
Q: game logic in js

user1351977i explain my probleme : i have a worm game like this i have to go to the next level if i hit SUCCESSIVELY 10 worm i have 3 points live, if i dont hit a worm live = live -1, 0 live : game over in the 2nd level there 2 warms shown simultaneous, level 3 there are 3 shown .. i cant find a s...

 
Oh my ...
@Zirak Maybe it was not him making those graphics.
I actually doubt it was him.
 
I hope.
 
:o
You's 92 years old? :P
 
Couldn't you notice?
I'm the hipster of hipsters.
 
That's well impressive.
 
12:05 PM
can some one help with my question
 
Someone might. Let me call him. In the meantime, can you describe it?
 
lol good one
2
Q: What is the format of regular expression in data-dojo-props?

AbdulAzizWhat is the format for regular expression for ...data-dojo-props='regExp:... I saw somwhere that this expression is fine ... data-dojo-props="regExp:'[\\w]+',.... But this for very simple one. What if the expression is complex like ^[a-zA-Z]+(([\'\,\.\- ][a-zA-Z ])?[a-zA-Z]*)*$ or ^(\+|00)\d...

 
Someone is on vacation. You'll probably not reach him.
 
He's only on Mars, so it's cool. Someone says that he doesn't know squat about dojo, that special characters like \ need to be escaped in any way, and that embedding regexs in html is a silly idea.
 
Yea, Someone's right about that.
 
12:10 PM
Who's right?
No, wait, who's on first
 
I hope he enjoys the Mars, I heard the weather there is beautiful right now.
 
I need to know
What kind of drug are you guys taking?
 
@OctavianDamiean Arnold Schwarzenegger was up there, he told me it sucked
 
I'm high on Chuck Norris
 
@GNi33 Yea. He wasn't very welcome up there as far as I remember.
 
12:19 PM
@Zirak you are right, But I have to do it in the same way
guys any idea?
 
o/
 
Yo bro!
 
Drugs are bad. Be an alcoholic.
 
Both are bad.
 
yea well. not for some.
(looks around then pours Kahlua in his coffee)
 
12:24 PM
heh
 
@OctavianDamiean so i've gotten sick and tired of Bootstrap so i'm making some 'swatches' for it.
 
Is that the Kahlua I mingled with cocaine?
 
got any colour schemes you like?
@Zirak yea. but I added a little heroin so it's balanced out now.
 
@rlemon Yea, United. :D
 
@OctavianDamiean United? I've done Solarized and i'm working on a pastel version.
 
12:26 PM
0
Q: Should I organize jquery and style per page?

MosheI have some pages with a lot of jquery and css code that isn't reusable at all. So does that make sense to have lots of separate js and css files that I load only on the needed pages? It sounds to me much more efficient that having all the js and css on one huge file that gets loaded every page. ...

 
alas my less stopped working and is throwing errors so i'll have to fix that first.
 
United?
link
if it's Manchester... then i dunno.
 
ohhh the "ohh so ubuntu" swatch
but it's done :P you're showing me
I suppose I could make a Unity swatch :P
All purple and translucent
0
Q: javascript - make links clickable

user1100099I've got this piece of code, what it does is saving a value using jstorage. I would like to make saved value clickable - I intend to store links there (kind of like favourite bookmarks). So I would have 2 fields, Key and value, key would be a descriptive name and value would store the whole url...

Why do people do this... like I see he is trying to do things correctly... i think...
also if you're already using jQuery for one aspect of your page why wouldn't you use it for things like event registration.
@OctavianDamiean so where you working now brotha?
 
12:39 PM
@OctavianDamiean nope a pure ubuntu install
using the awesome pendrive ! / usb drive !
 
@rlemon I'm working for a small company that develops web applications on top of CouchDB.
 
@OctavianDamiean woot ?
 
Awesome-sauce.
 
+1
@OctavianDamiean any idea how to fix my driver issues with linux ?
 
cool you front end dev?
or mail boy (juice box boy?)
 
12:42 PM
@rlemon hows your uploader going ?
 
@rlemon Front end dev, yup.
 
well just started on it yesterday.. working ok so far. the php end of it is hellish.
PHP Y U HAVE 26 FUNCTIONS THAT DO THE SAME THING?!
 
Since the entire thing is actually JavaScript I'm also quite involved in the CouchDB internals.
@Abhishek What driver is that?
 
@OctavianDamiean if i knew :-(
 
12:43 PM
i tried to do all the fixxes that internet gave me but found no one that was working
 
There is some information. :)
 
and thats the only reason icant goto linux .. because its the figging sound card !
 
@Abhishek Well, what's the problem then.
Ah, the sound card?
 
lol
yes!
 
That is strange.
 
12:44 PM
it locks the soundcard for only one process
 
i mean i can hear on chromium but not banshee , on skype but not on anything else
and skype and chromium are very vital for me :-(
 
My initial reaction was get a new sound card.
 
Laptop ?
Built like last year ?
 
@OctavianDamiean pi3.rlemon.com
 
12:45 PM
:o
 
also play.google.com/store/apps/details?id=com.mainerror.mobilefuton why does this look like jQuery UI to me?
 
Can you give me the exact model?
 
Dell Inspirion 15R
 
@rlemon Because CouchDB uses a fair amount of jQuery.
 
so, doesn't mean you have to use their shitty UI components
 
12:46 PM
@rlemon a simple and very straight question
Why 2 buttons ?
 
seriously.. after seeing how Twitter Bootstrap UI components are coded - jQuery UI is such a hunk of crap.
 
Choose Files
{ DROP FILES HERE }
Why not ,

Click this to choose or Simply Drop files ?
 
what page?
the image upload page?
 
btw nice uploader
@rlemon yeap
 
@rlemon Well, I'm the new maintainer of Mobile Futon. It was already built when Dale asked me if I wanted to maintain it. :)
 
12:48 PM
the 'upload images' button should dissapear if xhr is available.
also it is far from finished.
@OctavianDamiean I smell a conversion project :P
 
There are some UI issues I'll have to deal with and I want to rewrite it a bit to make it responsive so I'll most likely use Bootstrap for that. :)
 
@Abhishek you'd best not be spamming my server with uploads :P it's not finished yet :P
who's uploading eminem :o
 
@rlemon dont worry :-)
i am XD
just one image for slim shady :D , oh as a matter of fact that image was extracted from mp3 by my binary reader !
 
@rlemon 1100€ / month gross isn't bad eh?
Part time of course.
 
@OctavianDamiean lol I wouldn't be able to live off that... but i'm imagining your cost of living is no where near mine.
 
12:55 PM
I especially love my working time. Tuesday and Wednesday 8 hours, Thursday 4 hours and Friday and Monday free. :)
That makes some bad ass weekends.
 
8-5 mon-fri
 
@OctavianDamiean woot !
 
hahaha multiple files controlling one progressbar is fun.
it goes up and down and up and down and up and down...
 

« first day (556 days earlier)      last day (4399 days later) »