| |
| |
| |
|
Page: 1 2
Comments:
<0> do you know how i can match a question mark with a regular expression? <0> i want to remove the question marks from my url <0> normaly i would .replace(/thebadchar/g, "entity") <0> but thebadchar can't be a ? since it's part of the regular expressions reserved words <0> ok i figured it out <0> it's .replace(/\?/g, "?") <1> Well done nigga, and they're called "metacharacters" <1> Not reserved words <0> whatever, "nigga" <1> What? <2> 'night all <3> aloha! <4> Hello furtive. <5> what , you come out from hibernation? <3> i need to find a better irc client for osx ;-)
<3> one that's on more regularly. <3> yeah, i'm out of hibernation. <5> you pick cold day to come out ;) <3> went for dim sum today, Ruby Rouge on clark <3> simple js question. (p.s. this is sooo not my code): var foo1; var foo2; var foo3; How do I reference fooX without using eval? <4> this["foo"+x] <3> genius. i knew it would be light like that <4> where this would refer the scope of foo1, foo2 and foo3 (if they are global, just replace this with window) <4> it's not "doable" in a non-global context. <4> heh <4> function foo() { var foo1, foo2, foo3; /* no way to access fooX without using eval. */ ... } <4> there really should be a getfenv(); function. <3> yeah. makes sense. <3> ht311: my days as an integrator are numbered. <3> my days as an integer are numbered. <3> lol <4> hehe <4> someone's a bit rusty on the irc-front <3> yup <3> sometimes i feel like giving it up. all the fun stuff happens while i'm at work. <4> hehe :( <3> they are numbered though, starting feb 5th i give control of the integration dept i helped create to someone else and get to go back to pure java dev. ahhh. <4> eww <3> why eww? <4> "pure java dev" <- ewwwwwwwww eww <4> from my point of view ofc <3> well, pure is probably a misnomer. java/struts webapp stuff. <5> you are crazy <3> :-P <3> yeah, wasn't entirely my idea, lol <5> I have been very busy these days. <5> trying to finish the project <5> and make me hate java more <5> struts is so old .... <3> yeah, i know <3> you should see the interface on this webapp. looks like netscape era stuff. <3> and they just went live with it a few months ago. <5> hmmm, and they want you to help out to freshen up the stuff? <6> ht311: what project? <6> work project or personal? <5> same old one , erp <3> ht311: no, they don't know i've got skills to fix that sort of thing. it'll be my secret weapon for later. <5> heheheeh, don't tell them, ask them to send you out to have a month of training <3> ;-) <3> ooooh <5> we going to have a office in china, interviewed a lot of monkeys last 3 weeks. seem we going to have a stronger team there than here <3> heh, so you get to go out there? <6> monkeys? <3> code monkeys <6> stronger team? <6> what are code monkeys? <3> a million monkeys at a million keyboards, trying to solve the internet through design patterns <5> one guy will be stay there for 3 month, I may go there for a month in summer <3> keep close eye on them. <3> daily builds, weekly inspections. <5> those monkeys very good at struts, and like uml <3> are they cheap? I could outsource some of my work. <5> we have someone there wipe them everyday <5> we are paying about 8000rmb <6> the chinese like uml?
<6> so chinese are good at programming? <0> rmb what'S that? <0> they are over a billion they must have at least a few good ones =) <5> http://www.google.ca/search?hl=en&q=8000rmb+in+cad&btnG=Google+Search&meta= <3> 8000rmb a month? <5> yup. we pay good money there for top people <3> VaranG|aN: anyone from any country can be good at programming with proper training. <5> we see one guy there as good as me on architecture <3> except romanian web developers <5> hhaahahahahahhaaaa <5> india have outsource company in china <0> lol <3> yeah <5> dinner time, later <3> ht311: that sounds reasurring. good luck <5> the office is here http://en.wikipedia.org/wiki/Dalian , very close to north korean <5> korea <6> what about romanian web developers? <3> oh nothing <6> I wanna know! <7> hi ! <8> 24.S06E05.FIRST.ACT.DVDRip.XviD-24FEVER <6> Hello Bronsky, NeoFuture <8> ;) <4> lol <8> does anyone got FOX usa <7> hi VaranG|aN <9> http://pastebin.ca/324114 <9> how can i make after if(form1.email.value=="") msg=msg+"You have to enter your email address.\n"; <9> after it check if he type something in email then to test if email is valid <9> because now is saying : You have to enter and email address and it's say You must enter a valid email address <5> NeoFuture: hour5 is not out yet <2> hello all <10> hi <11> Hello. <10> how to close Mozila Firefox window <10> using window.close() <11> That's the way. <4> indeed. <1> lol, Internet <12> Anyone in here know if its possible at all to use a variable in a replace() function? :/ <13> use a var ? as in var MyString = "Hello"; var MySearch = "e"; var MyReplace = "1"; and do MyString.replace(MySearch, MyReplace); ?? <14> bla.replace(new RegExp(someVar),"gi"... <12> Hm <13> oh didn't know that one big <12> yeah I was just trying to combine a variable in it actually, I didn't think of just like, creating a single varabile <12> *variable <12> I was trying like, ',' + variable <12> or something <12> hrm <14> using the /re/ notation? <12> yeah <14> yea you need a regexp object to do it on the fly iirc <12> in sillyness, I decided to even try /',' + variable/gi, '' <12> so, I want something like <12> hrm, this doesn't look right <12> replace(new RegExp(replacement),"gi", ''); <12> can't imagine that would work, cause of the first , <13> replace(new RegExp(',' + replacement),"gi", ''); like this maybe? <12> well I made replacement the main variable <12> var replacement = ',' + property; <12> hey, actually <12> your idea worked, staz <12> replace(replacement, ''); <12> kinda find myself silly right now I didn't think of that myself :P <12> guess thats what happens when I work about 12 hours on this stuff o_o <15> hey all, it seems that the 'ondblclick' event handler only works if 'onclick' is empty - is this true? <15> anyone? <14> depends what you do in click <14> if you do something blocking/modal it wont raise dblclick <15> aha <6> Bonjour
Return to
#javascript or Go to some related
logs:
#php #java #linux #linuxhelp cucata debian kern.maxdsiz #php nu3nd0 #c++ starkeylogger
|
|