« first day (906 days earlier)      last day (4049 days later) » 

10:00 PM
template = template.replace(regexp, arg);
should be tmp
??
 
yes
>_>
 
yay!
 
And I was wondering why my codegen spit out duplicated lines and stuff :(
 
me get Zynga job now?
 
user2157210
changnesian power its called
 
10:02 PM
before dev tools I'd spend hours trying to figure out stupid bugs in IE
 
@Kevin here's the essay...
@kevin - liveassured.co.uk
So we broke the carousel by removing the old jQuery-core file that it seemingly relied on.
The main issue however, is when the first option box is changed to 'You & Partner' and the second part of the form is shown, the jQuery I am trying to make work just doesn't. I am using parsley.js for form validation. Several attributes can be added to a field to validate the form, you can see this working in the top part of the form by submitting it with empty values. What I'd like is for these attributes to be added/removed when the option box is changed. ie, the second pa
 
much obliged. @Jambo I'm just settling in from work. I'll take a look at this in a sec.
when I hop on the chat you all distract me and I get side tracked :P
 
@Kevin no worries at all man i'll be on for a while, just laid it out for ya to see :)
 
brb
 
@IvoWetzel todomvc.com
 
user2157210
10:04 PM
@Kevin Do you cats accept the fishes?
 
it's like a little TV set for my younger cat. The older one ignores them.
 
user2157210
How do your cats react to dogs?
 
user2157210
My two tigers literraly try to kill every dog in sight scratching and hunting them to eternity
 
older cat runs from anything non human (took a month to get her used to the younger male cat)
younger one is feral around anyone but me and the gf
was a rescue kitten
now stop pinging me for a bit. shit to do :P
(realizes he can just turn off his sound)
 
@Kevin Like what?
 
user2157210
10:07 PM
@GNi33 are you from graz?
 
no
 
user2157210
are you near graz?
 
not really
 
@Kevin Hi
 
10:08 PM
i'm in Linz
 
@Kevin, does this make you... changry?
 
Wow I really Britta'd that whole ignore the pings thing didn't i
 
new Britta'd or old Britta'd?
 
@copy hi?
 
@BadgerGirl hi
 
10:15 PM
finally, progress!
scope {
    int l = 0
    string f

    l = 3 + 3 * 3
    f = 'foo' * 2

    bool o = true == true
    o = 2 != 2 && 'foo' == 'foo'

    string m = 'Hello World'
    int len = #m

    int i = 2
    i += 4
}
becomes
    {
        var l = 0;
        var f = '';
        l = 3 + 3 * 3;
        f = (new Array(2 + 1).join('foo'));
        var o = true === true;
        o = 2 !== 2 && 'foo' === 'foo';
        var m = 'Hello World';
        var len = m.length;
        var i = 2;
        i = (i + 4);
    }
 
What is that, if I may ask?
 
my own compile-to-js language thing
 
Looks good so far
 
all the code generator is programatically defined on the types... so user classes will be able to overload just about over single operator there is :)
 
@dystroy I fixed your golf for you
 
10:19 PM
OPERATOR OVERLOADING
I <3 YOU
but won't it make the generated JS exceedingly ugly?
@IvoWetzel
 
@phenomnomnominal :) My goal is to expose the full power of the type system to the end user, even the primitives are declared programtically github.com/BonsaiDen/emblem/blob/master/lib/compiler/type/…
 
@phenomnomnominal It works now on Heroku, still doesn't on Nodejitsu, just thought i would let you know :)
 
0
Q: Two Knockout computed dependent on each other

Chuckworking jsFiddle: http://jsfiddle.net/ruslans/vFK82/ I have 3 fields: Net Price (ex. tax), tax amount and Total price (price ex. vat + tax amount). the NetPrice and the Total are writable, i.e. you can change either of them and the other 2 values must be auto-calculated. The way I've done it is...

 
@phenomnomnominal That's why the Chrome Team Gods invented Source Maps
 
@IvoWetzel yeah, gotta love source maps. Also, love the name
@XCritics silly jitsu
 
10:22 PM
Ok so i have a database function and 3 buttons... first button have id 1 second have id 2 and third button have id 3 ....default id is 1 so when page loads content of database of id 1 is also loaded...but what i want to do is that when button 2 is pressed content on page reloads with out page refresh with id 2 content
 
Heroku 4 l1fe
 
@IvoWetzel What's this strongly typed variable nonsense?
 
@phenomnomnominal It's not yet working (spend all evening getting the type definitions into the grammar and working) but I hope the type system will play nicely with lists and maps github.com/BonsaiDen/emblem/blob/master/lib/compiler/type/…
 
Very cool
 
@Shmiddty Well, I want to learn something about compilers, writing another CoffeScript like thing would only take a few evenings (just transforming some AST into JS is easy) also I like overloading a lot, and it's just easier to do with types.
Also, golang.org/ref/spec turns out to be a really good read and gives a lot of ideas. Their spec is awesome
 
10:25 PM
if CS had operator overloading it would be perfect
 
In theory I can even overload the basic assignment and make everything callable...
I really like that latter in python
@phenomnomnominal The name came from a simple thesaurus lookup for "Type" :X
 
fuck man, 5 fish tanks and all of them need different foods and all the foods need different preps. I'm starting to regret the last two tanks.
 
@Kevin Get 5 sharks. Problem solved.
 
tanks are not large enough for those :P
I could do freshwater sharks but they are very small
 
user2157210
get bigger house
 
10:30 PM
@Nexxpresso real-estate here is very expensive
300K for a small, old house
 
user2157210
thats cheap
 
user2157210
still cheap
 
not compared to similar sized cities in the USA
half the price there if not less in some areas
 
user2157210
yeah but thats murica
 
user2157210
ok this night will be no sleep have to develop a navigation server
 
10:31 PM
and i'm Canada. Who else do I compare too? a country half way around the world? or the country bordering us whose economy drives ours and ours theirs.
 
user2157210
Sure you are comparing right
 
user2157210
i just feel like i am living in the wrong country
 
I wish I lived in a different province, cheaper in some other places
Ontario is iirc the most expensive province to live in (sometimes BC depends on when you are checking)
 
user2157210
Do you have some good universites in canada?
 
yes
 
user2157210
10:33 PM
expensive
 
user2157210
?
 
education and jobs are excellent. things are expensive but the pay scale generally reflects that
 
user2157210
dont know if i can get all that money out of my dads ribs
 
foreign + in technology + anything else you can think of (awards etc) will land you scholarships like crazy here.
 
user2157210
someone has to pay for my education tho
 
user2157210
10:35 PM
but i am the worst of the worse student you will ever face
 
also if you come here and work for a bit and save for first year you can do co-op which just adds another term to your degree but you get paid on 'work terms' to work in the field you are studying
 
user2157210
how much is studying per year?
 
user2157210
aprox?
 
rlemon, you're in the States, yeah?
 
lots of students here do co-op because it's a good way to a) get money, and b) get your foot in the door of a company. After school if you are good they will hire you
no I'm in Canada.
and @Nexxpresso no clue. Don't have a degree.
 
user2157210
10:36 PM
hm k
 
last I checked for CS it was like 6K a term not including books or anything
 
Ah, k. Was gonna say, I did almost exactly what you're talking about but in the U.S.
 
user2157210
term is half year right?
 
@monners well the convo started as me comparing prices in the USA with housing vs Canada.
 
Aw, no node gurus around
@monners made a comeback!
 
10:37 PM
Ahoy hoy
Yeah, got a job too!
 
Sweet!
 
@phenomnomnominal Ok so i have a database function and 3 buttons... first button have id 1 second have id 2 and third button have id 3 ....default id is 1 so when page loads content of database of id 1 is also loaded...but what i want to do is that when button 2 is pressed content on page reloads with out page refresh with id 2 content
 
user2157210
Shanghai Business school is cheaper
 
lol
 
user2157210
but who wants to learn chinamen language?
 
10:38 PM
ok @Jambo sorry, see I get side tracked easily. going to start looking at it now.
 
@Kevin don't apologise :)
 
developers.google.com/maps/documentation/javascript/geocoding Anybody know where it says on the page what <script> to put to include the geocoding api?
 
@james have you tried jQuery? It's great!
 
@XCritics I played around with that... There should be an example of the request in there, lemme have a look
 
user2157210
10:40 PM
so what protocol i use for a connection i have to hold open to a server?
 
@monners nvm i got it thanks
 
@monners so what's this job?
 
FED for a digital agency
 
FED?
 
@XCritics My mistake, was in a book (non-digital)...
Front End Dev
 
10:44 PM
ah
 
Ambiguous, I know
 
@Shmiddty <script>
$(document).ready(function(){
$("#button_group").click(function(){
$("#tab3").load("demo_test.jsp");
});
});
</script> button_group is the id of button ..tab3 is the id of div which i want to refresh and demo_test.jsp is my page name...so what i am expecting is that when i click button tab3 div should reload
 
@james not enough jQuery
trying installing plugins until something works.
 
@Shmiddty what i am doing wrong?
 
.load() doesn't do what you think it does
 
10:49 PM
@james You need more jQuery
 
why all the useless trolling ?
@james please indent code if you paste it here, use the fixed font button before you send it
 
@james, it's generally not appreciated to be randomly pinged.
 
dammit @Jambo join the room I invited you too :P
 
@SomeKittens any solution?
 
@james Yes, read the jQuery docs
 
user2157210
10:51 PM
meh i just came to the conclusion the easiest solution for my problem is to write an irc server
 
@james are you aware that if you put your JS code at the bottom of the page, the it will already be called when DOM has been loaded
 
@Kevin I'm retarded...was making a coffee ha
 
@tereško jQuery warps minds
 
@jAndy you mean except the "because jquery is crap" reason ?
 
@tereško what is your problem actually
you always sound like you want to offend someone by subjective stupid lines
 
10:52 PM
Some people just want to watch the world burn
 
lack of sleep, money and free time .. your's ?
 
@Jambo Totally making some coffee when I get home. With bailey's.
 
because you always sound like jquery fanboy
 
@Shmiddt baileys is foul...
 
@Jambo blasphemy
 
10:53 PM
Smite me
 
@tereško what did I say that you came to this conclusion
 
!!/smite Jambo
 
@Shmiddty Command smite does not exist.
 
:'(
 
@jAndy got a message?
 
10:54 PM
@OctavianDamiean ?
 
Short message.
 
user2157210
@OctavianDamiean mr android
 
user2157210
Can I android without java?
 
@Nexxpresso Not entirely without Java. :(
 
!!/tell Jambo say "And I will strike down upon thee with great vengeance and furious anger. And you will know My name is the Lord when I lay My vengeance upon thee."
 
10:55 PM
@Jambo Hi!
 
Can I jQuery without javascript?
 
trollz
@monners of course
 
more like jQueery
 
javascript is just a jQuery plugin
 
you know, because it's gay.
 
10:55 PM
@Nexxpresso you can use LUA
 
user2157210
@james HOLY LUA THEY START ARRAYS WITH 1
 
jQuertize
 
That was mainly the reason I dropped Android.
 
user2157210
@OctavianDamiean Ok so i have to get some guy a link i fetch from some site copied in his clipboard on android
 
!!/learn vengeance "And I will strike down upon thee with great vengeance and furious anger. And you will know My name is the Lord when I lay My vengeance upon thee."
 
user2157210
10:57 PM
how do i do?
 
@Shmiddty Command vengeance learned
 
!!/tell Jambo vengeance
 
@Jambo And I will strike down upon thee with great vengeance and furious anger. And you will know My name is the Lord when I lay My vengeance upon thee.
 
haha
and fuuuuuuuurious annnggeerrrr
 
@Nexxpresso Uhm, that's like urgh ...
 
user2157210
i made him a userscript which fetches the link and fucking puts it marked in a textbox
 
user2157210
@james yeah i know those frameworks i have to develop in some shit called "Mosync" for work
 
Oh yea, best tip I can give you. Don't touch any of those horrible frameworks ...
 
user2157210
I HAVE TO
 
@Nexxpresso Just rewrite everything, it'll be faster.
 
user2157210
10:59 PM
but I only have to do the backend work with our json shizzle so not my problem
 
Well if you have to it sucks for you but if you can avoid it do it by any means.
 
user2157210
thats why i wanted to write native android for him
 
user2157210
but i dont want java
 
If you can avoid native Android do it.
 
user2157210
so i shall write ios app for him?
 
11:00 PM
In essence I'm saying avoid Android.
 
user2157210
which sends him sms
 
just write embedded html/js
 
No, that's not better. iOS is just as bad.
 
user2157210
yeah but i cant copy to clipboard with js can i?
 
user2157210
11:01 PM
see
 
user2157210
but i dont want to java
 
I'm of course being a bit negative there because a) I dislike (and by that I really mean hate) Java and b) the Android API is utter crap.
 
user2157210
but you are owner of the android room
 
user2157210
this is confusing
 
11:02 PM
I earned my right to hate Android. ;)
 
user2157210
I started eclipse once
 
As a wise man once said, Hate what you know.
 
user2157210
and this mosync crapp uses eclipse as IDE
 
user2157210
its enough for me to hate java
 
Yea, Eclipse is yet another "great" IDE.
 
11:04 PM
As a wise man once said, Burn everything.
 
user2157210
the best of the best IDE
 
user2157210
Its giving me random errors
 
user2157210
on somethings that are working
 
The only reason to use an IDE is for "intellisense"
and I guess debugging.
 
You know what I want? I want a mobile platform that has a full Python API.
That'd rock my life.
 
user2157210
11:05 PM
but there is only one real IDE for intellisense
 
@OctavianDamiean, make it.
 
user2157210
and thats bloated
 
surprise!
 
@phenomnomnominal Dude! That would mean I'd have to work ... are you aware of the implications of this?
 
user2157210
 
user2157210
python mobile framework
 
newp
 
are you mustachifying everything now? :D
 
!!/mustache everything
 
11:07 PM
@Shmiddty User -1 was not found.
 
apparently not.
 
@SOChatBot That's a lie!
User -1 exists ...
 
yes, finally the recovery process has finished. let's see if it worked
 
user2157210
!!Talk with me bitch
 
11:09 PM
@Nexxpresso This looks pretty interesting! Thanks.
 
user2157210
Ugly bot is ignoring me for days
 
@phenomnomnominal Do you know anything about executing Bash builtins in Node.js exec?
 
wait a second...
 
I want to hack together a page that runs an image through mustachify recursively.
 
@SomeKittens What do you mean by bash built-ins?
 
11:10 PM
maxstachify.me
 
oh you gotta be fucking kidding me
 
@OctavianDamiean compgen
 
user2157210
@GNi33 nope
 
Node can't find the command
{ [Error: Command failed: /bin/sh: 1: compgen: not found
] killed: false, code: 127, signal: null }

/bin/sh: 1: compgen: not found
 
@SO....
ouch.
 
11:11 PM
AAAAAAH grmmm..b.fa.d.alksflasdfa
okay, this is just fucking bullshit
 
yay working geocode! it's so beautiful
 
I'm a little shaky in this area.
 
there's this recovery tool that let's me scan my old external hdd which doesn't want to work properly anymore
but it doesn't let me actually recover the files in the basic version
 
user2157210
lol
 
why the fuck did i sit through this scan.... ah, screw it
 
user2157210
11:12 PM
just take one of the hundreds of free programms doing the same thing
 
well, i thougt it would be one of them
 
@SomeKittens Now that's interesting. For two reasons. 1) I didn't even know about compgen and 2) I can't find where it is located on my system!
 
@OctavianDamiean Exactly!
 
there you go, that's what i get for not reading any notices i guess
 
11:14 PM
Oh well, it is a bash provided function.
 
@OctavianDamiean Yeah, that's why I think node is having trouble finding it
 
Holy crap ... the manpage of bash is quite huge ...
@Nexxpresso Uh oh!
 
user2157210
They cleared their Uk embassy
 
user2157210
lets see what happens next
 
user2157210
11:18 PM
And judging that muricans anti ICBM defense has only about a 50% success rate
 
user2157210
this is going to be funny
 
setDistance = document.getElementById('setNewDistance').value || 300; can I do that to default to 300 if no distance is entered in the text field?
 
The bash man page is 72 DIN A4 pages long!
 
Just tried it and I can, I should really start trying things instead of just blatantly asking if it will work :/
 
if ( document.getElementById('setNewDistance').value == '') {
setDistance = 300;
} else {
setDistance = document.getElementById('setNewDistance').value;
}
 
11:21 PM
My way worked better :P
and much less verbose:P
 
Lies!
 
Formatting, guys.
 
serious, go try it haha
 
user2157210
i shouldnt read random facts in the internet
 
I tried to format! Four space indent for code, right
 
user2157210
11:22 PM
The age of consent in the Vatican State is 12.
 
@monners just highlight your code and press CTRL+K
 
user2157210
@monners edit ctrl+k
 
lolwut
 
user2157210
12 is just old enough wouldnt you say?
 
> Thus, assuming the couple is married, the minimum age of consent for lawful sexual relations according to Vatican law is 14 for females, and 16 for males.
Dude, check your facts.
 
11:24 PM
!!s/Vatican State/Middle Ages/
 
@Shmiddty The age of consent in the Middle Ages is 12. (source)
 
5 messages moved to Trash can
Ah, that felt good.
 
user2157210
Get your fact straight
 
user2157210
You are telling us bullshit here
 
@monners same as I could type

setDistance = document.getElementById('asd').value ? document.getElementById('asd').value : 350;
At least I think that would work :)
 
user2157210
11:27 PM
As of Foundation of Vatican State in 1929 the Italian Law stated the age of consent at 12
 
@SomeKittens, i tried to move your "5 messages moved to Trash Can" to Trash can.
 
Thought it would be meta,
Didn't work.
 
@XCritics Yeah, much less verbose.
 
setDistance = (v=document.getElementById('asd').value) ? v : 350;
 
user2157210
11:27 PM
Vatican state didnt change it
 
user2157210
You are taking a sentence out of context
 
user2157210
and thus talking complete bullshit
 
@phenomnomnominal We've tried that before, sadly didn't work. It'd be awesome to have a giant recursive meta-move
 
user2157210
@SomeKittens so now tell me how my fact is wrong
 
@Nexxpresso Why is this important?
 
11:29 PM
@monners Because he doesn't want to feel guilty for banging a 12 year old
 
@monners He wants to feel special, it'd probably be best if we all ignored him, he'll go somewhere else.
 
user2157210
@monners That has some deeper context you can't understand if you havent been here earlier this day
 
@XCritics setDistance = document.getElementById('asd').value || 350;
 
@SomeKittens You make a lot of sense
 
@phenomnomnominal yeah thats what I ended up doing, I was just showing him the other ternary statements :)
 
11:30 PM
@phenomnomnominal better
 
Node.js, where have you been all my life
 
@XCritics I am familiar with these operators, I just thought someone asking that sorta question might appreciate a hand to hold
 
ahh
 
!!/hal9000
 
11:32 PM
@XCritics I'm sorry, Dave. I'm afraid I can't do that.
 
user2157210
so chinamen press just pointed out 2 locations
 
Feels good to have my Rails app 100% ported to Node, now I never have to look at rails again ^^
 
compgen -c | while read x;
  do {
    tr '[:lower:]' '[:upper:]'
  }
done
 
@XCritics Except when you go to the train station.
 
This is what I've got so far. How can I use the output of tr? Something like tr '[:lower:]' '[:upper:]' | echo breaks it.
 
11:37 PM
@SomeKittens Formatting guys :P
 
@monners Fixed now
 
Damnit, two seconds too late
 
!!/ninjad
 
@SomeKittens HOLY SHIT, HOW YOU SO FAST!!!???
 
!!/poopslide
 
11:37 PM
@XCritics Command poopslide does not exist.
 
@phenomnomnominal the desktop notifications don't exist on phones do they? Just curious cause if they did you could seriously have a fully function app with push notifications wrote purely in html5 and what not
 
oh that was too fast
guess everyone finished reading at the same as me
 
!!/slidepoop
 
11:39 PM
@XCritics maybe?
 
user2157210
@XCritics No they dont
 
look at caniuse
 
user2157210
Need to use Apis of the frameworks mostly
 
user2157210
right now
 
11:39 PM
!!/caniuse Array.forEach
 
blackberry has support
 
@Shmiddty Command caniuse does not exist.
 
@Shmiddty yes, we really need that
 
user2157210
some other news
 
11:41 PM
@phenomnomnominal oh so it is supported? Does chrome mean the mobile version too or just desktop
 
user2157210
nk soldiers back to farming
 
@phenomnomnominal nvm im retarded didnt see the legend of the red square :P
 
having some trouble guys, say i have a element that is toggled by a button, it doesn't have a close button, so how can i close this when the user clicks on anything other than the element, i tried body on click hide but then when i click the button to show it it shows then immediately closes?
 
The Legend of the Red Square sounds like a communist epic
 
user2157210
hmm wtf is Watchcon
 
11:46 PM
anyone? please . . . . .
 
@Connor if(event.target != theButton)
time to trek through a blizzard
seesya
 
thanks testing now :D
 
Perl is written in base64
 
stackoverflow.com/badges/998/outspoken?userid=2128168 oh yeah, whos number 1 on that list? This guy.
 
\o/
'gratz
 

« first day (906 days earlier)      last day (4049 days later) »