« first day (788 days earlier)      last day (4159 days later) » 

2:07 PM
o/
wuddup e-peeps
 
Entity Framework! Yay!
 
@RyanKinal LINQ! Yay!
 
Gym Sock! Yay!
 
Entity Framework == Gym Sock // true - useful, but stinky, and I don't want to touch it
 
@RyanKinal I tell you what you don't want to touch, @FlorianMargaine's socks ...
 
2:14 PM
3 hours ago, by Octavian Damiean
You know, on that site you'll learn to code, in this chat you learn to think.
lol, pretentious much? :-P
 
he claims they're just starchy from the wash... WASH DOESNT DO THAT FLORIAN! WE'VE ALL SEEN AMERICAN PIE!
 
:D
@RyanKinal whistles
I don't even know what you mean.
 
!!/define pretentious
 
@RyanKinal pretentious: Claiming or demanding a position of distinction or merit, especially when unjustified. (source)
 
I should really learn to use the !!/tell command
 
2:15 PM
Still. :D
I'll keep pretending I don't know what you mean.
 
Fair enough :-D
 
!!/tell RyanKinal ... yea you should.
 
@OctavianDamiean Command ... does not exist.
 
o_o
!!/tell RyanKinal tell ... yea you should.
!!/help
 
2:18 PM
It treats the first token as a command?
 
Was that changed or what?
 
No, pretty sure that was always the case
 
@OctavianDamiean Command tell cannot be used in /tell.
 
fu then! Useless piece of scrap metal!
 
2:32 PM
Mhmm, SO went down.
 
It certainly did
 
@Waleed "count" is a local variable unless you declare it outside
 
It's not formatted
 
!!/beautify 6666170
 
If previous button is clicked
its doesnt show proper image
 
2:38 PM
@Neil NOT TRUE AT ALL
 
@N
 
1 message moved to recycle bin
!!/listcommands
 
@rlemon Don't forget SO went down.
 
@Neil count variable is at the starting of this script
 
no i'm still online
 
2:39 PM
Interesting.
 
!!/help
 
You're just being lazy then.
 
seems the bot stalled.
 
!!/listcommands
 
@rlemon Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, github-status, google, hang, learn, slap, echo, whatswhat, rimshot, null, poop, whodid, nudge, ring, roll, spec, stat, todo, undo (0 pages left)
 
2:40 PM
A little help guys please
You can see the problem here, testingscripts.gofreeserve.com/imageslider
If clicked on previous button, The caption is updated but not the image
 
roll through it once and it works fine
 
I don't see a problem
Heh, nevermind. I see a problem.
 
But, If you reload the page and firstly click previous button It won't work properly :(
But if you keep on clicking it will work. :/
It shows the ToyStory pic and caption from Walle pic, It should load the Walle pic
@RyanKinal what is the problem?
 
Dunno
I see the problem, I don't see the cause
 
Any theory on what could be the problem ? :/
I might fix it if I understand whats wrong?
 
2:47 PM
I mean... usually, IDs can't start with numbers
 
why size() over .length?
 
xmm
 
:o But is it necessary? It works for next button and previous button, but not correctly. Okay let me see, id="image_1" can this be?
.size() to get the total images count in that image box
 
.length does the same thing and is a property which in theory should be faster
 
nopx I changed and it stoped the whole script.
 
2:50 PM
$() returns a collection. you need to know the length of the collection
.length() !== .length
 
@Waleed Well, you have to change your script
 
I have an object, how can I change/replace methods name in object?
 
$("#images .images").length(); doesn't work
 
it doesnt work
 
PUBLIC SERVICE ANNOUNCEMENT: FORMAT YOUR DAMN CODE!
16
 
2:51 PM
^
 
I Will bin code that is not formatted.
!!/beautify 6666406
 
How to format it -.- ?
 
1 message moved to recycle bin
 
I suppose everyone has seen the Google60-stuff, right?
 
2:52 PM
@GNi33 Nope
 
!!/help
 
rlemon Can you unban me from asking questions?
 
@Waleed no, you need to ask better questions and provide solid answers
@Zirak beautify kills the bot.
!!/refresh
 
how to format code? ;[
 
@RyanKinal gotta have a look at it then -> masswerk.at/google60
 
2:53 PM
Guys, RTFD!
 
@rlemon I was banned around 50 reputation and raised it to 135, I provided so many good answers :(
 
really cool demo
 
1 min ago, by rlemon
http://chat.stackoverflow.com/faq
@Waleed why are you complaining to me about this? really? I'm not a mod.
 
@rlemon Working on it
 
oh, i just realised some Austrian guy made that
 
2:54 PM
@Zirak yea, no errors or nothing
just dead.
 
0
Q: Remove enemy when bullet hits enemy

jordi12100For my education I have to make a basic game in HTML5 canvas. The game is a shooter game. When you can move left -> right and space is shoot. When I shoot the bullets will move up. The enemy moves down. When the bullet hits the enemy the enemy has to dissapear and it will gain +1 score. But the e...

 
RECEIVED MESSAGE "Quota Exceeded.  Please see code.google.com/apis/websearch";.
HUMAN READABLE: "Mountain View, we have a problem."
ADVICE: A quota error indicates a temporary overload due to high demand. Please retry later.
damn
 
lol
 
@rlemon Weird...
 
It's almost like a real punch-card device :-D
 
2:55 PM
@rlemon Okay, Sorry.
 
beer!/beautify 6666307
@Zirak 404 Message 6666307 Not Found
beer!/beautify 6666488
lol
 
@Waleed dude, 22 answers...
it's nothing
 
@rlemon eh?
 
@Waleed your answers are particularly bad
 
@FlorianMargaine y u make people with few answers sad today :'(
 
2:59 PM
@GNi33 BECAUSE THEY DESERVE MY WRATH
alright, gotta disable caps lock
 
hehe ;)
will try to get to 1.3k before the year ends
but i'm not sure if i can motivate me enough :D
 
Life is good isn't it ?!
enjoying myself in finally working with git - at the office!
 
can you actually say that ? "companyside" ?
 
@jAndy Lucky bastard ;-)
 
3:02 PM
like "ringside"
 
Mercurial is okay-ish, but I still prefer git
 
ringside is because you are beside the ring.
companyside would then indicate you are sitting outside your company (possibly in a car or at a picnic table) With a laptop or tablet coding and using git.
close to your company, but still beside or outside it.
 
well ok :p
 
But server-side is on the server, and client-side is on the client...
 
you are using git inclusively
and client side is on the browser... so why don't we call it browser side.
( joke, yes browsers are not the exclusive client )
 
3:06 PM
:-P
 
quite true ^
some pure souls are used to code javascript for adobe indesign for instance
 
I've used js for many things I shouldn't have :P
 
minute's silence please
 
I once worked for the US Nuclear Defense ... I thought it would be fun to use coffeescript for the control systems. Sorry
 
STOP
 
3:08 PM
HAMMERTIME!
 
HAMMERTIME!
 
We ever going to have a @MattMcDonald day? I miss him...
^_^
 
Could someone see this - fybmp9vq.c4-suncomet.com/sites/ilotulite/# if I click Oulu, the page goes to right place, but the Oulu does not get background colour. Why?
 
how much impact could a calculation for the target destination using something like 0.1+0.2 possibly have in terms of radius / irregularity ?
 
Yeah... still can't believe he ragequit
@Olli ... yes it does
 
3:11 PM
for me it doesnot
it stays white
but if i click tampere it gets blue
I would like that the sidebar would have same behaviour like in BS docs
 
Obviously it's some kind of cross browser issue, then.
Good luck.
 
what browser are you using
and what about if you just scroll the page
will the oulu get blue backgr color?
 
I really need to train my convergence, I'm getting so easily distract lately.. sshhhtt
 
@Olli Yep
Chrome/Win
 
I have chrome too
could you see the code
for some reason, I couldnt get the JS to work
it's exactly same JS like in bs docs
there it works
 
3:16 PM
I don't have IE6/7/8 available... :>
 
user1125394
anyone here worked with EventSource?
var source = new EventSource('/inbox/stream'); working on localhost perfectly
var source = new EventSource('http://otherserver.com/inbox/stream'); gives some Uncaught Error: SECURITY_ERR: DOM Exception 18, but I have Cors enabled on the apache server
 
No idea
 
user1125394
you can try it on the console
 
user1125394
var source3 = new EventSource('/lol');
var source2 = new EventSource('http://www.google.com/');
 
user1125394
first one works, second not, wait let me fetch a cors enabled website instead of google
 
3:25 PM
!!/refresh
 
!!/stat
 
@jAndy jAndy has 58097 reputation, earned 30 rep today, asked 48 questions, gave 1748 answers, for a q:a ratio of 12:437.
 
!!/beautify 6666836
 
I don 't have IE6/7/8 available... :>
 
user1125394
ex: $.get('http://remysharp.com/demo/cors.php', function(res){alert(res);}) works on this cors enbaled website
 
user1125394
3:27 PM
but var source2 = new EventSource('http://remysharp.com/demo/cors.php'); still gives the security exception
 
woop! Now, how about cross-room...
!!/beautify 6666296
 
odd, I was sure there was some trickery at editing...
 
@rlemon Fixed (probably), though I didn't do any fixing, just upgrading
 
@rlemon huh? I made the correct script -.- Its working fine now, testingscripts.gofreeserve.com/imageslider
 
3:30 PM
!!/eval throw new SyntaxError('bash!');
 
@jAndy "SyntaxError: bash!"
 
!!/choose "do it right" "do it fast"
 
@rlemon do it fast
 
I like the cut of your jib ChatBot
 
hello is there possible to get client(browser) machine's ip address for web app using javascript ?
 
3:31 PM
!!/google get client IP via javascript
 
@rlemon [http headers - Get Client IP using just Javascript? - Stack Overflow](http://stackoverflow.com/questions/391979/get-client-ip-using-just-javascript) ; [jquery - javascript getting client ip - Stack Overflow](http://stackoverflow.com/questions/3540198/javascript-getting-client-ip) ; [javascript - How to get client IP address using jQuery - Stack Overflow](http://stackoverflow.com/questions/1641868/how-to-get-client-ip-address-using-jquery)
@rlemon [http headers - Get Client IP using just Javascript? - Stack Overflow](http://stackoverflow.com/questions/391979/get-client-ip-using-just
 
69
Q: Get Client IP using just Javascript?

FlySwatI need to somehow pull the clients IP address using pure javascript, no server side code, not even SSI. Any ideas? I'm not against using a free 3rd party script, if someone can suggest one. This is an emergency stop gap until we can deploy new code.

short answer: no
 
hey
 
long(er) answer: no, BUT you can transfer it from a service / server to another service / server with JS
 
http://jsonip.appspot.com/?callback=getip is neat
I like it
 
user1125394
3:32 PM
and here can be a solution to my problem github.com/Yaffle/EventSource, shame they didn't include cors support in native EventSource
 
i always getting my Router's IP address...using all this methods..
 
LOL
you want the network IP?
192.168.n.n
not gonna happen
1) learn how networks work
2) learn how HTTP works
3) rethink your question
4) WHY IN THE FUCK DO YOU NEED TO KNOW THIS INFORMATION?!?!?!?!
@jAndy kk, so I'm at an internal struggle here - I know this project will be expanded, so I should develop a real framework to build on top of. However I also don't need 99.9% of the functionality right now and a singleton script will suffice (for now).. do I A) write the singleton and get it over with. pop out production site in 20 minutes. or B) do I write it properly and take the majority of my day structuring this for the future?
I'm leaning towards B the more and more I think about it
 
Guys look at my new website!! OMG
 
but then the third BUT is that I eventually want to do this all in Node.js and not PHP (but I would struggle with node.js and not PHP.... so do I spend a week on node.js then write it in node.js or a day writing it in PHP and slowly on my own convert it over? fakk :P)
 
3:40 PM
+1 to anything that takes up time at work
 
@rlemon 20 minutes? get it done ffs ~~
 
could anyone help me to get this work fybmp9vq.c4-suncomet.com/sites/ilotulite
 
You can run both PHP and node at the same time
 
@SomeKittens I know. but to me that such a redundant task (write in PHP then convert to node.js)
but ahh well. fuck it. do it properly.
hopefully it doesn't take too long
 
3:42 PM
@Olli look at the room rules. scrollspy is used there.
	var win = $(window),
		nav = $('.subnav'),
		navHeight = $('.navbar').first().height(),
		navTop = nav.length && nav.offset().top - navHeight,
		isFixed = 0;

	win.on('scroll', processScroll);
	processScroll();

	function processScroll() {
		var scrollTop = win.scrollTop(), i;
		if( scrollTop >= navTop && !isFixed ) {
			isFixed = 1;
			nav.addClass('subnav-fixed');
		} else if( scrollTop <= navTop && isFixed) {
			isFixed = 0;
			nav.removeClass('subnav-fixed');
		}
	}
^ this is the code
that answers your question.
now I have helped and done my good deed for the day. you can resume your ignored status.
 
@rlemon but bootstrap has scrollsppy built in
 
I see he spoke, but he went back on ignore. If it's important I read it someone nudge me :P
 
user1125394
!!/hang
 
@rlemon: really depends on the follow-up structure/requirement. Sounds look its getting huge and you only need a very little part right now. If thats the case I'd indeed just go with a 'fakeish workaround singleton'
 
  +---+
  |   |
  |
  |
  |
__+__

----
 
3:45 PM
  +---+
  |   |
  |
  |
  |
__+__

-------
 
I'm the guy who wastes hours "just" to create the overall application structure so well, I enjoy creating 'beef' afterwards
 
user1125394
damn there are 2
 
Sorry, killed mine
 
user1125394
but I hate this game anyway :P
 
@jAndy well it will be a full blown CMS + CRM when it is done. :/ but right now I just need registration :P no features till the new year
but i'm behind a day due to unforseen meetings / issues so I Really need to get this up and running
@cyril THE GAME!
 
3:46 PM
I lost the game
 
!!/learn thegame "I just lost the game"
 
@SomeKittens Command thegame learned
 
T T T  H   H   E E E
  T    H   H   E
  T    H H H   E E E
  T    H   H   E
  T    H   H   E E E

G G G    A    M   M  E E E
G   G  A   A  M M M  E
G G    A A A  M M M  E E E
G   G  A   A  M   M  E
G G G  A   A  M   M  E E E
little better
 
I am trying to change the hour format from 24 hour to 12 hour on my calendar and I think I found the right lines of code to edit but its not changing
 
dude this is javascript
 
3:52 PM
@benlevywebdesign Perhaps you can solve my math issue.
I know it's integration, but it's not that hard
IF IT'S NOT THAT HARD YOU CAN DO IT YOURSELF.
 
Ugh. Friggin' classical languages.
 
Y U NO HAVE </body></html>
 
@SomeKittens share it
@rlemon o/
 
@SomeKittens I did do it my self but I'm wondering if that isn't the right place because my calendar plugin also uses javascript
 
!!/eval new Function(" return document.createElement")();
 
3:54 PM
@jAndy "ReferenceError: document is not defined"
 
@Abhishek Unlike this guy, I'll do my homework myself.
Thanks for the offer, though
 
:-)
 
@jAndy "ReferenceError: document is not defined"
 
Just over 24 hours until I never have to worry about this horrid class again.
!!/eval console.log(window);
 
@SomeKittens "ReferenceError: window is not defined"
 
3:56 PM
the sled animation when people leave is great
 
@jAndy I like how people continuously see that fact, but keep trying to come up with clever ways to disprove it.
Even though these clever ways just boil down to the simple facts they've seen before
 
@Zirak: leave me alone :p
 
!!/eval window = {}, document = {}, this = {}, you = function(e) { return true; }; you("suck");
 
@rlemon "ReferenceError: window is not defined"
 
bitch...
 
3:58 PM
Forgot the var
 
!!/eval var window = {}, document = {}, you = function(e) { return true; }; you("suck");
 
@SomeKittens "SyntaxError: Unexpected token this"
 
this is reserved, blast
 
@SomeKittens true
 
!!/eval var VAR = "I SAID VAR MOFO!"; while(!!VAR) { console.log("var"); }
 
3:58 PM
@rlemon "SyntaxError: Unexpected token var"
 
heh
 
@rlemon Maximum execution time exceeded
 
Don't ever change
 

« first day (788 days earlier)      last day (4159 days later) »