« first day (754 days earlier)      last day (4195 days later) » 

2:00 PM
bug report during DOM3 that getElementsBy* methods should return NodeList while they return HTMLCollection, then closed as WONTFIX since DOM4 says it should return HTMLCollection
 
I always hated how darkwing was treated like an idiot
 
Hello, is anybody here with some experience with Js testing?
 
I wanted him to not be a comic relief so badly
 
specifically, zombie.js and mocha
 
@SomeKittens If you come across good tutorials on Node, tell me
 
2:03 PM
I prefer insertNounHere.js
 
the name zombie.js makes me want to learn it. but qunit has always done the trick for me
 
beer!/convert 30F
@Zirak Y U NO MAEK SENSE!? Could not understand convert 30F
@Zirak -1.1111111111111112C, 272.0388888888889K
facepalm
 
ok then, any kind of node.js and mocha testing?
 
@Zirak Could not process input. Error: Object -1.1111111111111112 has no method 'maxPrecision'
 
what I want is to do some TDD with node and stuff
 
2:04 PM
@AmaanCheval nodebeginner.org
 
say wat
gah, damnit names!
 
i can possibly help with that, what are you wanting to do?
 
beer!/convert 30F
@Zirak -1.1112C, 272.0388K
 
Basically, I have a test. Some lame basic test. I use zombie.js and it's browser.visit("url"....
 
@phenomnomnominal Learn how to be proficient in node.js
 
2:05 PM
beer!/convert -1.1112C
@Zirak 29.9998F, 272.0388K
hehehe, nice
 
so now, I start the test, and it loads the actual page
I want to do something like
var app = "server.js";
browser.visit("some/page/fromtheserver.js", ....)
 
beer!/convert 20f
@Zirak 6.096m
 
0
Q: How to test express app headless with Mocha and Zombie.js

zladuricI am trying to run some Mocha/Zombie.js tests on my new node.js (express) app. Now I want to do it without having to restart the node app. Now, I have a working test, something like this: var assert=require('assert') , Browser = require("zombie") ; var browser = new Browser(); browser...

that is what I asked, tried pushing the question around a bit, but nobody I know knows how to do this...
 
So you want something like node-supervisor?
 
Hmm... this could help, but not what I'm after.
 
2:10 PM
@SomeKittens Looks good
 
It's like in ruby and rspec, you write a test and even if your app is "down", when you run your rspec test, it will go.
I'll see if this can be done.
In the mean-time, node-supervisor will probably have to do.l
 
@zladuric why don't you want it to restart?
 
beer!/convert -40C
 
@rlemon Confuse converter with c, receive error message
@rlemon -40F, 233.15K
 
Well, I learned a bit of that rails/rspec thing, and there you didn't even have to have the rails server running.
 
2:18 PM
beer!/convert 1000000000nm
 
So, going after the same logic.
 
@rlemon Confuse converter with e, receive error message
@rlemon 3280839895f
 
Also, node-supervisor is ok... I just need to tell it not to restart when I rewrite my test.js :)
 
@rlemon Confuse converter with n, receive error message
 
beer!/convert 1000000000m
 
2:18 PM
!!/define nm
 
@AmaanCheval Confuse converter with n, receive error message
 
@rlemon Could not find definition for nm
 
@AmaanCheval 3280839895f
 
@zladuric the rails server is just launched during the tests, that's it (iirc)
 
So it uses meters only
Not mm and all
 
2:19 PM
A nanometre (American spelling: nanometer; symbol nm) is a unit of length in the metric system, equal to one billionth of a metre. The name combines the SI prefix nano- (from the Ancient Greek , ', "dwarf") with the parent unit name metre (from Greek , ', "unit of measurement"). It can be written in scientific notation as 1×10−9 m, in engineering notation as , and is simply . The nanometre is often used to express dimensions on an atomic scale: the diameter of a helium atom, for example, is about 0.1 nm, and that of a ribosome is about 20 nm. The nanometre is also common...
Zirak you failed me
 
Yep, and you can also use the other stuff like guard and watch and some such gems :)
Probably something like node-supervisor :)
 
To be fair, he's only checking for m and f and similarly C, F and K
 
Those will be added, don't worry. Just wanted the basics to work first.
 
everyday use... yep, I know I use decimeters every single day.
 
2:22 PM
you might not... I do.
 
It's subjective. @rlemon probably actually does
 
props to you then!
 
No I really don't. but I hear the engineers throwing around every form of measurement known to man
 
that a bot?
 
@zladuric Yep
!!/tell zladuric help
 
2:23 PM
!!/choose "I am a bot" "I am not a bot" "why are you caring if i'm a bot"
@rlemon None of the above
:)
 
!!/norris
 
What a bitch the bot is
 
THE PLOT THICKENS
 
@zladuric Available commands: help, listen, live, die, forget, ban, unban, regex, jquery, choose, user, listcommands, define, norris, urban, parse, tell, mdn, get, beautify, google, hang, learn, nudge, ring, roll, spec, stat, todo
 
2:23 PM
!!/norris
@rlemon Chuck Norris is not hung like a horse. Horses are hung like Chuck Norris.
@zladuric Chuck Norris just says "no" to drugs. If he said "yes", it would collapse Colombia's infrastructure.
 
!!/norris
 
@zladuric Chuck Norris invented black. In fact, he invented the entire spectrum of visible light. Except pink. Tom Cruise invented pink.
 
!!/kill norris ?
 
You can't
 
@zladuric Command kill does not exist.
 
2:24 PM
:)
 
!!why i come here in the first place.
 
@Zirak You should add an easter egg there
 
@rlemon Command why does not exist.
 
Man, the chuck norris election video thing was just awkward
 
!!'of this bot'
 
2:24 PM
@zladuric Invalid command /'of this bot'
@rlemon Y U NO MAEK SENSE!? Could not understand `why i come here in the first place.`

@zladuric Y U NO MAEK SENSE!? Could not understand `'of this bot'`
 
hehe
fun
@amaa
 
useful as well.
 
@AmaanCheval that your bot?
 
@zladuric Oh no. @Zirak's
 
!!/google restart node-supervisor
 
2:26 PM
His idea; I wanted to make one too; he beat me to it; I got lazy
 
!!/urban lazy
@rlemon lazy: A movement founded by myself, promoting conservation of energy, in an effort to postpone entropy. Followers are looked upon not as leeches to society, but activists, bailing out the universe from imminent doom with a cry of reason, often drowned out by shrills of "duuurrrr" from every dronish, hard-working idiot in the world.
 
@zirak that Js bot?
:)
 
@zladuric Runs in the console
He's hoping to put it on a server some day
 
@zladuric That sentence is missing a verb
 
2:27 PM
Yes it is. Anyway, cool thing to develop!
 
@rlemon Zirak could easily hax0r your machine
 
It's almost a year old. And it's still retarded. <3
 
he could.
he is too nice
 
@AmaanCheval His machine is too boring
 
so he wont
 
2:28 PM
His pronz is lame. Not enough horses.
 
Hahahaha
 
I always wondered what it said on that dude's grave. The one who died from the horse fucking.
 
@Zirak What'd you use on your hypothetical server? Node?
 
who downloads porn locally anymore? I can stream anything I need
 
Loved animals?
 
2:29 PM
@AmaanCheval 'course
 
Wait what?
 
!!/urban animal love
 
Oh mr hands, y u drunk and unsupervizd, now u ded
 
@rlemon animal love: when someone is so ugly and sexually frustrated at the same time, they find their penis in and out of a magpie very arrousing.
 
!!/urban 2 guys 1 horse
 
2:30 PM
Server error (status 500) occured
 
That should be more descriptive. Usually happens when the message is too long
 
anyway, thanks for the node-supervisor thing.
 
!!/define robert
 
hrm...should probably break it
 
@rlemon robert: He designed the defenses for Washington, D.C., during the Civil War and later wrote Robert's Rules of Order. (source)
 
2:31 PM
@zirak, put it in as the answer for some points :)
 
!!/urban robert
 
@rlemon Also, you know it's going to be wildly inaccurate because of floating-point arithmetic?
 
@Zirak meh
close enough
Server error (status 500) occured
 
0.1 + 0.2 === 0.3
// false
shot JS
 
What the heck?! My college has a festival named blowfest
3
 
2:32 PM
I'd attend
 
Some sort of brass band shit?
 
...which college do you go to? where do you sign up?
 
or bowl making, and someone screwed up?
 
this one time, in band camp...
 
lol
It's just Indians being stupid
 
2:33 PM
You gonna go get yo' blow on?
 
Didn't know they had a website
Mentioned Blowfest there
Seriously, man
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
ahhhhh DreamWeaver code
 
pastebin much? :)
 
I love it
 
Is that Depp?
 
2:35 PM
Just wow.
 
> They handle all the competitions during the sports festival and youth festival – Blowfest.
 
@AndersMetnik no, you pastebin!
 
Funny how everything is still prefixed with MM..
 
yes i do ;-)
 
@poke that is what makes it so obvious to find
whenever I view source three things stand out - jQuery / MM_ and wordpress includes
 
2:36 PM
whats going on whats going - everytime I look at this tab its has a three figured number in parenthesis.. omg, spam channel ! so distracting !
 
@rlemon They could prefix it with AD or something :P Macromedia was so long ago..
 
I have to read it all and if I'm done, everytime I swear not to do it again because its so useless
but I... can't... ressiis... isttt.
 
Resisist?
 
but long and drawn out like he is trying to currently
 
> Students look forward to the annual Blowfest and start palnning the moment they begin the academic term.
6
 
2:37 PM
@rlemon Added in inches and mm, anything below that will be pointless. Should there be km and weights as well?
 
@Zirak thats what she said
 
haha
 
sure, make it as robust as possible.
 
facepalm
 
2:38 PM
but, nanometers.
 
@jAndy so distracting yet so interesting :(
 
know the feeling, 5 hours in the office, when you realize you didn't type a single line of code yet...
pricesless
 
hrm, there should be an argument that'll print available units
 
@AmaanCheval whyyyyyy
beer!/convert --help
 
@rlemon Could not process input. Error: Cannot read property '1' of null
 
2:40 PM
you should take flags
 
Because tables and inline events are old school
 
It's 3.47am here, I'm trying to finish the report for my honours project, yet I would rather read this a million times more.
 
@rlemon Did you really just post an image of code? Seriously?
 
@AmaanCheval no why in the fuck did they comment out an entire block and leave it in the production site
 
Given the code, I think an image is appropriate
 
2:41 PM
@poke would you rather me have mailed it
 
actually I'm quite thankful he didn't paste that piece of crap into here
 
pastebin maybe?
 
(as plain text)
 
@rlemon Because it's a junior college's website in India. From what I can tell, one of the students made the site as an assignment or something
 
oh boy.. :p
 
2:43 PM
That's so meta
 
no don't, but there is nothing wrong with posting code as an image or posting blocks of code
 
My favourite xkcd
 
Wow XD
 
@rlemon Oh wow..
@AmaanCheval wtf!? o.O
 
@Zirak That should be your Gravatar
 
2:45 PM
@poke you don't want to get me started
 
@rlemon No I don't. I admit defeat. You win.
 
I have developed my own toolset just for trolling
it's a sad reality
 
 
9 messages moved to recycle bin
DIE IMAGES
GNAAHHH
 
DELETE ALL THE IMAGES!!!!
 
2:47 PM
well... that was unnecessary
 
Aww :(
 
user image
2
 
Your birth was unnecessary
 
rofl
it really looks like a toolset for trolling
impossible to create such things in that amount of time
 
beer!/convert list
 
2:49 PM
@Zirak Command convert does not exist.
 
@Zirak Could not process input. Error: Cannot read property '1' of null
ggrrr
 
Anyone have any experience with ray tracing?
 
that is a pretty good trollface impression emma
 
lol
 
beer!/convert 1km
beer!/convert 180r
@Zirak 3280.8398f
@Zirak 3.1415d
beer!/help convert
@Zirak convert: Converts several units, case sensitive. /convert 1C Pass in list for supported units /convert list
 
2:58 PM
beer!/convert list
 
@rlemon C, F, K, m, f, km, mm, i, d, r
 
should add what they are
 
bah, if you need to convert them, you'll know what they are
 

« first day (754 days earlier)      last day (4195 days later) »