« first day (748 days earlier)      last day (4198 days later) » 

12:00 PM
Not IE9, I think
 
@tereško What have that got to do with anything I said? I said nothing about server running....
 
Older versions
IE8 and 9 are "garbage"
 
Yeah it's possible to install, but does it fully mimick IE's functionality and quirks?
I vaguely recall hearing WINE's IE is slimmer
 
the what are you using virtualbox for ? running windows ? that's just insanity
 
@tereško Why is running windows in virtual box insanity?
 
12:02 PM
I wouldn't trust anyone to mimic IE completely. There's just way too much crap in that
 
Well said amaan :)
 
@Zirak On the freenode JS room, there's the ecmabot, right?
 
@AmaanCheval Is there a way to capture a pagerefresh event? i'd like to remove the #article2 on that event you see :)
 
@AmaanCheval Yep
 
Is there a way you can contact who made it? It's MDN routing works pretty well
 
12:05 PM
It's open source, and the mdn routing is grabbing the first google result
 
@AndersMetnik Pagerefresh, no, but onunload, you can set a flag in localStorage
@Zirak But you can't do that?
Also, link to the source
 
Nope, I'm running locally
 
@Zirak So?
 
How can I search google?
 
With whatever API they've got?
 
12:07 PM
Thanks mate
 
What API have they got?
 
I don't know :p
 
It'd be lovely if they had one
 
From what I remember, it was deprecated, right?
How does the bot do the searching?
curl?
 
Dude, the bot's running from inside my browser
It doesn't search anything which doesn't have JSONP APIs
 
12:09 PM
I'm asking how the IRC bot does the searching
 
The IRC bot lives on a server, so it can do whatever the hell it wants
 
@AndersMetnik even for small projects, git init never hurts.
@AmaanCheval onbeforeunload
 
@Zirak Yeah, but how?
 
@FlorianMargaine Yeah i know that now :/
 
Yeah, onbeforeunload
 
12:11 PM
Probably scraping
You can dig through the source (linked above)
 
lol
I used to use tabs too
 
yeah, everybody's been a noob someday
@rlemon still is, but well
 
No, I used tabs until very recently
Like a month back
 
12:14 PM
30 secs ago, by Florian Margaine
yeah, everybody's been a noob someday
 
@FlorianMargaine That's for custom searches, not sure if that'll work on the main engine
Also, I use tabs
 
> That said, only a moron would use tabs to format their code.
@Zirak did I say you weren't a noob? You can't even debug a simple index problem. :>
 
:D
totally, that's what's fun
 
> That said, something something only a moron would use spaces to format their code
LOOK PROOF
 
12:16 PM
0
Q: 2D Game Dev Resources/Tutorials for Windows (Phone) 8 Development?

Ilya KnaupI am really exited about the launch of windows 8, windows phone 8 so I decided to start learning how to develop games for them. I was even more exited when I found out that html, css, javascript can be used to develop apps for these platforms. I'm familiar with some standard html, css3 that i use...

 
My opinion is now worth 2 opinion-points more than yours
 
off to smoke
nah, I just like the quotation in the article's context :)
> Choose tabs, choose spaces, choose whatever layout conventions make sense to you and your team. It doesn't actually matter which coding styles you pick. What does matter is that you, and everyone else on your team, sticks with those conventions and uses them consistently.
> That said, only a moron would use tabs to format their code.
that's the full quote :)
 
I still won
 
nope, you're still a sucker
 
12:18 PM
off to smoke
 
gah, now I'll have to use it
 
HA HA!
 
!!are you alive?
 
hi guys, I came across a website which is very interesting for me. This website acts like a ajax website, but it seems that it is NOT ajax at all. When you switch to another page from navigation, it shows loading screen, but also fully refreshes the website, can you tell me how is it done? ls5.de/arbeiten.html
 
Now I can test
 
12:20 PM
@rlemon isn't in the room, so no
 
@Ir
@Irakli these are just normal html pages..he gave the loading icon while page is loading
 
sorry but I don't understand how is it done, because I thought when page is loading browser is deleting and then redrowing everything
 
ungh, I fixed some bot stuff on the other HDD and didn't commit yet. Crap. Too lazy to plug in that hdd.
 
Just plug it in and leave it in?
 
> Too lazy to plug in
 
12:25 PM
What happened about the broken clip?
 
I think he meant: why did you plug it out?
 
A fairy came at night and fixed it
 
@rlemon WOOO! o/
@Zirak YAY :D
 
I didn't, it's the new HDD I got for my awesome new computer which I fucked
 
rlemon sick :(
 
12:26 PM
This is my old computer I was hoping to convert into a server
 
@Zirak Did you manage to get any help from the manufacturer?
 
just not my week
 
Not yet
 
@rlemon Damn. What is it?
 
@rlemon DID YOU WRITE THIS TESTAMENT?!
 
12:27 PM
:D
Got a new lock yet?
 
call Dr.Dre [ better doctor ]
@rlemon What happened to my lemon :-/
 
Dr Simon = @dievardump?
I'd be wary of having dievardump as a doctor.
 
Why?
 
@AmaanCheval because he's everything but a doctor :|
 
He's a figure-skater? And a road constructor? And a prancing fairy?
 
12:30 PM
@AmaanCheval he'd probably give him marijuana "D
 
...why these were the first 3 things that came to mind, I do not know
3
 
curing every disease
 
@Abhishek Why would that be a problem for @rlemon? :p
 
@AmaanCheval because he's already having this "treatment", it wouldn't change much
 
@AmaanCheval do you know whats marijuana ? the drug that cures everything w/t a hangover
 
12:34 PM
@Abhishek I'm 16, man, not 5
 
LOL OLOLOL wtf so
 
is marijuana common in india?
 
@FlorianMargaine not that i know , but he lives in Mumbai so he'd know more
 
in France, everybody's smoked some marijuana at sometimes in their life
 
@FlorianMargaine Not as common as Canada
It's available a lot, but not many people have smoked it
 
12:36 PM
@Zirak Note to self: Buy this domain
 
@Zirak How will you make the bot search using the link you showed earlier? AJAX requests with CORS in some way? (Never used it)
If you made it a Chrome extension, like rlemon has, cross-domain requests are simple
You just have to add a domain in the permissions in the manifest
 
JSONP
 
basically woke up with the worst migraine - to the point of throwing up
it really has been a horrid week
 
Sounds lovely. Flu?
 
12:52 PM
maybe, guy at work was away for two days with some sinus infection, more likely that, but I hope not
 
??
guys any experts of backbone here?..i have some silly doubts of it
 
so do we
 
@AmaanCheval i am coming to bombay
like tomorrow
 
buh-dum-tsh
 
arrange me some!
now lets change this over professional picture >_>
 
12:53 PM
@Abhishek in Canada it's everywhere - and generally much better quality than anywhere else :P
 
Where and for what?
 
@rlemon meh, say that to dutch people.
 
beer!listCommands
@Zirak Y U NO MAEK SENSE!? Could not understand listCommands
beer!/google blah
 
!!/listcommands
 
@Zirak
 
12:54 PM
@AmaanCheval Available commands: help, listen, live, die, forget, ban, unban, regex, jquery, choose, user, listcommands, define, norris, urban, parse, tell, mdn, get, beautify, hang, learn, nudge, ring, roll, spec, stat, todo
 
...
 
!!/help
 
generally meaning i'm sure there is better, however not many places
 
!!/die
 
12:54 PM
@Abhishek You can't do that
 
so it shouldn't note that when u list all commands :P
 
It still is a command :p
 
!!/listcommands
 
@Abhishek Available commands: help, listen, live, die, forget, ban, unban, regex, jquery, choose, user, listcommands, define, norris, urban, parse, tell, mdn, get, beautify, hang, learn, nudge, ring, roll, spec, stat, todo
 
!!/help get
 
12:55 PM
!!/help
 
Even the bot ignores me.
 
@AmaanCheval get: No info is available
 
@Zirak Update the docs already!
 
get is covered in the docs
 
12:57 PM
Oh, okay :p
Ah, gets an answer or question
!!/get answer last
 
@AmaanCheval Invalid "getter" name last
4
A: Crossbrowser position:fixed but still fails?

Amaan ChevalThe problem lies in document.body.scrollTop. That is not cross-browser compatible. Use window.scrollY, and it should work perfectly fine. Your code would change to this: var foo = document.getElementById('foo'); document.onscroll = function(e) { if (window.scrollY > foo.offsetTop) { ...

 
beer!/google blah
@Zirak
 
@Abhishek What you coming to Mumbai for? Exams?
 
facepalm
!!/mdn Array.slice
 
12:59 PM
@Zirak YOU SUCK
 
Github's Game Off has ~1.2k forks already
@Zirak WOOT!
 
This probably won't work, but...
beer!/google slice site:developer.mozilla.org
 
beer!/google mdn slice
 
1:01 PM
@Zirak site:mdn?
 
beer!/google slice site:developer.mozilla.org
 
beer!/google site:developer.mozilla.org slice
 
Neat
 
1:02 PM
and now for beer!/mdn :)
 
@AmaanCheval i was joking .. in reply for marijuana
its hard to come to
 
So, what's left is wiring up mdn to it and doing an "I feel lucky"
 
@Zirak also, add -site:w3schools.com to the search query
 
@Abhishek Ah. If you're coming, I can totally get you some :p
 
I also don't like the fact that I'm hard-coding the maximum number of results
 
1:04 PM
why? if it's "i'm feeling lucky", just set 1
 
...and on other times?
Currently I slice it to 5 items. That feels meh.
 
who wants thousands results btw?
 
@Zirak Add the title of the result too
 
just show one
or 3
 
Instead of just the URL, so we know if the result was correct. And show like 2, maybe
 
1:05 PM
and yeah, the title would be better :p
 
I know I know, chillax
beer!/google 42
So, title needs to be decoded
That's a shame, the formatting function looks so pretty @_@
 
Hahaha, what?
 
function format ( result ) {
    return template.supplant( result );
}
(supplant is a pseudo-templating function, and template is well, the template)
Well, everything pretty is worn down and destroyed anyway.
 
is that true ? i doubt
 
lol
for some, yes, yes it is true
 
1:18 PM
MS EXCEL :-( : The Self-Aware Excel
 
@rlemon if its future i wish i die
reading ugly jQuery codes
 
@Zirak just change supplant, this way it's still pretty
 
Because as we all know, the future is set in stone and delivered by internet cartoons
Absolutely no way you can evade it
 
@FlorianMargaine you know your facebook pic and gravtar
 
@FlorianMargaine That'll ruin it
 
1:20 PM
3 females in tapeer team has crush on you :P
 
in C#, 2 mins ago, by Kendall Frey
user image
 
@KendallFrey LoL
 
Oh man. That reminds me. I think I scarred a little girl for her entire life.
 
Just one?
 
At the park, some girl (stranger to me) came up, and was proud that she can count her fingers. She motioned each finger, while saying 1, 2, 3 and so on, until she got to 10
So I started motioning each finger, while saying 0, 1, 2, 3...all the way to 9.
 
1:25 PM
HAHAHA
 
Declaring proudly "see? you have 9 fingers!"
 
Hahahahaha
 
She just looked at me. Amazed.
 
How old was she?
It's always fun with really young kids
 
About 4 or 5
 
1:27 PM
in C#, 3 mins ago, by rlemon
user image
 
afk
 
I love kids. It's so fun to fuck with them. (to all FBI agents listening: not fuck them, but with them)
8
 
@Loktar lol
 
@Loktar lOLOLOLOLOLOLOLOLOL
 
1:28 PM
haha yeah cracked me up
 
hi, where is the documentation for $("<option/>",{value:1,text:"3"}).... ?
(could'nt find it)
 
beer!/jquery jQuery
bah
 
@Abhishek lul
 
@RoyiNamir api.jquery.com/jQuery/#jQuery2 , second overload
 
Thanks man. Thanks a lot.
 
1:35 PM
You owe me 4 virgins
 
I don't mess with virgins
 
Good, because if you did, by the time they were delivered to me, they wouldn't be virgins any more
 
I have two JS objects like {a: 1, b: 2, ...} and {a: 3, b: 1, ...}. Is there a way to easily get a new JS objects with the same keys and the difference of the values (value 1 - value 2)?
 
user image
3
 
Just make a function that does it
@rlemon I'm hoping that's there on LeMEME
 
1:37 PM
no I stopped adding pics, I just drag and drop - however I have been stockpiling base pics so I suppose some time today I'll upload them
 
@DaniloBargen Loop over & subtract? If they contain the same items, it's doable with one loop. If not, then two.
 
@rlemon well, that's what this chat is for, isn't it? :)
 
function mix(o1, o2) {
    var o3 = {};
    Object.keys(o1).forEach(function(k) {
        o3[k] = o1[k] - o2[k];
    });
    return o3;
}
 
@FlorianMargaine reduce!
 
1:38 PM
beer!/mdn Array.reduce
 
I haven't gotten my head around reduce
 
@DaniloBargen I wasn't calling anyone specific a vampire - I just like to be prepared
 
@Zirak How would you use it in this case?
 
@Zirak they contain the same keys. yes, i was looking for something reduce-like, but didn't manage to get it work on objects. but @FlorianMargaine, Object.keys(o) helps, thanks :)
 
1:39 PM
return Object.keys(o1).reduce(function(o3, k) {
    o3[k] = o1[k] - o2[k];
    return o3;
}, {});
lol, dafuq? how did child-fucking get pinned? edit: wow, that sounded way better in my head
 
@Zirak LOL
 
@Zirak perfect, thanks!
 
You now owe me 7 virgins
 
I'm back again! @AmaanCheval might recognize this.. But to anyone, I'm having problems trying to append text to my page, grabbing to from a DB. samaradionne.com/links2
 
...I'm catching up to you, Muslims
 
1:41 PM
soon 72
 
11 already, just 61 more
 
uh, were there any other bot suggestions? There's mdn->google, anything else?
I vaguely remember an 8ball and a more complex "choose"
 
github?
 
Dead baby jokes!
 
1:45 PM
^that
 
haha, k. And what about github?
 
dunno, projects.
many oss projects are on github
and I'm too lazy to type site:github.com
also, this'd be fun products.wolframalpha.com/api
 
Oh, yeah
 
@Zirak chess
♜♞♝♚♛♝♞♜
♟♟♟♟♟♟♟♟
▓░▓░▓░▓░▓░▓░
░▓░▓░▓░▓░▓░▓
▓░▓░▓░▓░▓░▓░
░▓░▓░▓░▓░▓░▓
♙♙♙♙♙♙♙♙
♖♘♗♔♕♗♘♖
 
^ top one will be my new processor soon :)
 
1:49 PM
T-T
 
@rlemon No
 
random perf image from a review
 
@FlorianMargaine So, just a Google alias?
 
@Zirak that's what mdn is, right?
 
1:50 PM
@Zirak fix !!>
 
I have google map popup problem. its showing some images which is going misplaced. any one can see this issue
 
Currently no. But sure, doable
 
Tic Tac Toe
 
@rlemon Yeah, that's gonna suck
 
1:50 PM
@rlemon How would you play Tic Tac Toe?
 
@FlorianMargaine Could not process input. Error: Cannot call method 'toLowerCase' of undefined
@FlorianMargaine Command fixit learned
Games will be difficult, since this is a chat-room
 
beer!/fixit @Loktar
 
@AmaanCheval its Crosses and Naughts too
 
|X|X|X|
|X|X|X|
|X|X|X|


|O|O|O|
|O|O|O|
|O|O|O|


| | | |
| | | |
| | | |
 
I think I spelled naughts wrong
 
1:51 PM
Stuff like hangman work because it's multiplayer
 
there is your board, you just put in you 0,0 -> 2,2 cords
 
@Loktar Yeah, but how would you even play it here?
@rlemon Hrm. Could work
 
!!/tictactoe @AmaanCheval
 
@rlemon It's doable, but a bit meh for a chat room. Multiplayer games will be better.
 
1:52 PM
@rlemon Command tictactoe does not exist.
 
@Zirak I could add that for you. I think I have the code for Tic Tac Toe lying around somewhere
 
Like, a DnD thing could be the awesomest thing in the universe.
 
wheel of fortune, but with a strange ruleset
 
@AmaanCheval See above messages to rlemon
 
beer!/google mdn reduce
 
Don't look at the code :P
 
(The AI is stupid too)
 
If you wanna incorporate it, then sure, the bot's open-source and under WTFPL, nothing can stop you. But do you guys feel like it'll be worth it?
 
^^
 
user1125394
1:55 PM
Sorry it may be super easy, but how can I insert in the dom a <input type="hidden" name="k[]" value="myvalue" /> anywhere inside a <div id="tagsContainer">
 
@AmaanCheval omg the code!
@cyril why couldn't you?
 
@FlorianMargaine Told you not to look :p
 
@cyril Yes. Just like you'd insert any other element.
 
@AmaanCheval didn't care, I looked when you told it :D
beer!/google mdn appendChild
 
1:56 PM
@cyril ^
 
@FlorianMargaine The code is from the very beginning of when I'd started to learn
 
beer!/mdn insertBefore
 
user1125394
var input = document.createElement('input'); at first I guess
 
user1125394
@Zirak ok
 
1:59 PM
 

« first day (748 days earlier)      last day (4198 days later) »