« first day (800 days earlier)      last day (4149 days later) » 

12:26 PM
Oi Oi ppl!!
 
@KirstyHarris Oi Oi
 
Somebody should tel Morgen Stanley that having a UTF-8 support in their database... is a good thing.
I get a notification letter in my mail every week, about my address having changed. And each time the "ß" in it is escaped in another, funny way.
 
:o
@IvoWetzel hi btw , i was JUST thinking about you
 
@Abhishek NO WAI!
 
yes way
writing a report about html5 at the moment writing about web-sockets
and other canvasy stuff which reminds me of my early days in this room which reminds me of you and Raynos and rlemon and Incognito instantly
 
12:32 PM
oh yeah, the good old times
 
uh hu
 
but yeah, web sockets are nice. although I don't understand why they aren't being used that much :/
 
@IvoWetzel you germans with weird letters such as ß too...
@IvoWetzel browser support
 
@FlorianMargaine WHICH BROWSER DOES NOT SUPPORT IT ?:
 
@FlorianMargaine At least we don't put a ` on top of everything ;)
 
12:36 PM
socket.io is the only library I know of that correctly handles silently the graceful degradation...
 
and from browser i mean decent browser :P
Chrome / Ffoxx / Opera / IE 10
all support web-sockets!
 
yeah... what's ie9 share?
 
they can use xhr fallback comon
btw what to write about html5
more importantly what NOT to write about HTML 5
i am on page 20 with just history of web [ copying from wiki and bleh ]
 
On phone so will be slow lol!!! Xxx
 
@KirstyHarris its fine and we are happy you are here on christmas eve with us ;-)
Okay my MS word crashed for 100th time today <3
 
12:46 PM
Sup fools, Merry Christmas from NZ!
 
@phenomnomnominal Nm Insanity Same to u
 
Sanity is overrated! I should probably go to bed, my cousins will have me up in a few hours for presents...
 
@phenomnomnominal then u should stay up
and surprise them
 
Haha, nah, I think I'll handle the excitement a bit better with some sleep
 
I love my code
I'm dealing with "universes" (basically, big categories)
and in a comment
// For each universe. To infinity and beyond!
I love my code.
 
12:54 PM
@FlorianMargaine man thats a tribute to Lady Physics and Lightyear in same line!
 
Lady Physics?
 
1:09 PM
For Each Univers => Multiple Univers { Now thats physics }
and besides since Physics is beautiful we can call it lady :P
 
Riiiight
 
1:25 PM
btw: new side project github.com/BonsaiDen/wombat (V8 2D game engine built around allegro)
 
@IvoWetzel sounds a lil bit intresting
Womb AT ?
 
@Abhishek Was the first cushy animal name coming to my mind...
and beware of crappy c++ code
Gnah, not that "crappy" but I'm sure it could be 1000% better if I knew exactly what I was doing
 
@IvoWetzel since its open me should fix it if i find it crappy :P
@IvoWetzel why pure v8 and not node ?
and btw it looks neat to me
 
@Abhishek Easier, also it makes more sense since the game engine should be running the game and not just be a library. In addition, having no asynchronous stuff here should make things easier for traditional game programming
 
!!> 111111111 * 111111111 === 12345678987654321
 
1:30 PM
@rlemon true
 
@IvoWetzel true :-)
 
@rlemon And ?
 
f u
it's cool
 
@rlemon its math
 
1:31 PM
@FlorianMargaine ? Sorry, my C++ is "decent" at best
 
otherwise, I hate game's code
 
> 5% of the world population lives in the US but 22% of the world's prisons population are held in the US.
 
@rlemon because africans don't have prisons, all the criminals are out there
 
@FlorianMargaine I know of enums, but "state" isn't meant like in a state machine (e.g. "walking", "idle"), it hold all kinds of other variables and stuff here
You know, the hard problems... naming stuff :)
 
meh
I hate game's code
 
1:34 PM
:D
 
so inelegant
 
@FlorianMargaine lol
 
full of switches
 
switches? Then you're going to like this one: github.com/BonsaiDen/wombat/blob/master/src/api/mouse.cpp#L47
 
it has to be - you don't have another choice
but it's just so ugly
@IvoWetzel yeah was looking at this one
 
1:35 PM
Why can't cast int to enum ._.
 
@IvoWetzel I rewrite this kind of switch to a mapping object though
way prettier
 
I see, but in this case it would only move the ugly part around, unless there's a one liner to create a mapping object from an existing enum? :O
 
you already have an enum?
 
the cursor thing is not of mine though, but from allegro itself so I have no control over the whole values. Main problem is, I'm exposing the values as constants into JavaScript land and therefore I only get integers back later
 
@IvoWetzel you cant ?
if we are on the same page you can , but thats if we are on the same page
 
1:39 PM
@Abhishek Tried it, g++ doesn't like it :(
 
show code !
 
but that looked overkill for my problem
 
if you know that input coming is going to be in range
enum my_enum_val = reinterpret_cast<MyEnum>(my_int_val);
but zirak and thief may have a better input on that
.. eh .. u can just do (EnumType )int_val :P will still work but ur value might bounce off the defined enum range which would be a bad case
 
hm, seems to work this time around, dunno why I got an error yesterday then
 
@IvoWetzel welcome to the world of C++
now help me ... i am a vampire
conlude about html 5 in 1 page :-|
 
1:48 PM
Just write down about every html5 related buzzword that springs to your mind :)
SEO all the words!
 
@Abhishek the new web
 
gm people
 
morning
 
good afternoon
 
hats it going everyone?
 
1:53 PM
Good evening
 
@Raynos was here?
where was i?
 
time for a break from coding, let's play some games :)
 
I've been playing games all day
@Neal When? Don't think he was
 
@AmaanCheval I see him on starred list
-1
Q: Does Chrome have an error console like Firefox?

biltongIn Firefox if there is a JavaScript error or anything like that it shows up in the Error Console. I have a problem on my site that only seems to happen in Chrome, and I think it's a JavaScript error. I can't find anything remotely related to an error console like in Firefox. So how the heck do I ...

wth
cv-pls
 
Uh, Dec 21st
 
1:57 PM
Just use the internet... — Neal 1 min ago
I have too many hats....
 
No such thing.
 
hehe ive got 25
 
Oh yeah, Well Ive got!
and thats all that really matters in life
 
everyone will star everyone else on NYE? yes? :-P
 
Yeah I plan on it :P
 
2:00 PM
:-D
 
What is the subtle difference between <myElement width="200px" /> vs <myElement style="width:200px" />
 
@RoyiNamir one is deprecated, the other isn't recommended
 
@FlorianMargaine so the only remains option is.....?
 
use css
 
2:15 PM
@FlorianMargaine where does it say that the former is deprecated ?
 
o/
merry christmas, everyone
 
Merry Christmas @GNi33
even though its a bit early :P
 
for you guys, yes ;)
we celebrate on the 24th
 
we = Austria in that case, is it the 25th in France too?
 
2:19 PM
Merry Christmas Eve!
(Depending on timezone)
 
@GNi33 :P
 
posted on December 24, 2012 by RKoutnik

To the surprise of everyone, I used to be an IT guy.  I went through an Infotech program in high school and did quite well, setting the state record for technical certifications on graduation.  I also worked two internships in IT and met a lot of great people along the way.  While it was fun, I've moved on to programming and never looked back. That's not to say I don't like IT.

 
@SomeKittens You always come in here right after posting on your blog so you can star Feeds, don't you? :p
 
I always unstar it though
 
lol
 
2:25 PM
@FlorianMargaine Is that a high-rep thing or how would I do that ?
 
room owners can
 
0
Q: Multiple JavaScript functions on click in wordpress

user1696497I'm working on a wordpress plugin and need two functions to happen on onClick function on different ID's. I have code something like this. echo "<div id='cnote_open'><a id='show-note' onclick='document.getElementById(&quot;website-link- box&quot;).style.top=&quot;10...

 
@copy now you can
 
I can't always unstar things, though
Some starred messages have the option, but others don't
 
That was easier than expected
NOW I SHALL RULE ABOVE YOU FOOLISH HUMANS
 
2:27 PM
meh
most regulars are room owners
 
Well I am not an owner...
:-(
 
@AmaanCheval ...maybe
@FlorianMargaine lame!
@Neal thus "most"
 
@SomeKittens :-\
 
Hi, is anyone free to take a look at a very short snippet of code to help me out please. I think it is fairly basic and I'm just missing the obvious.
 
2:31 PM
I've put the code here: pastebin.com/CUCwWeWi
 
@James probably u r
 
Haha, I'm new so I'm allowed a larger margin of error!
Basically, in the function displayResultit is claiming holder[i] is undefined and I can't work out why.
 
Where do u call it?
I do not see that anywhere...
Use JSFiddle...
 
Sorry, I forgot I just amended the code to try and troubleshoot. Now it is queryString that is undefined.
I thought maybe querySelector couldn't accept arrays.
I will look at that now, thanks.
 
...
 
2:37 PM
:-s, what was the ... for? I say something stupid?
 
@James yes
 
Can anyone explain why I was downvoted here: stackoverflow.com/a/14022658/561731 ?
 
Happens often, I'll post as an overflow question instead.
 
2:53 PM
Just in case you guys wanted to get some extra reputation for an easy question I've formalised it here... stackoverflow.com/questions/14022788/…
 
3:05 PM
w00t im at an even number 46k EVEN
:-)
 
-1
Q: How we host node.js application on live server?

Rahul SinghI am developing online real time Multiplayer javascript game for my web application. I found after search to develop game using node.js, but i m totally new for node.js ,i found some demos which run on the localhost with specific port like (http://localhost:8001). But i can't get the way , that ...

questions like this make me sad
 
Wait, I can't bring radioactive material into the US ?
 
Wants to build super awesome javascript multiplayer game....
has no clue about how servers work.
 
@copy Yeah, pretty much.
 
That was totally my intention, although I'm just travelling through
 
3:12 PM
@copy are you are you ?
where are u heading to ?
 
Mexico
 
okayy why ?
Free Laidies , Free Drugs , Free guns , Something Else ? // just being ass
 
Yes
And my girlfriend in Mexico is pregnant
 
Free babies?
 
0
Q: how we host node.js application on live server?

Rahul SinghI am developing online real time Multiplayer javascript game for my web application. I found after search to develop game using node.js, but i m totally new for node.js ,i found some demos which run on the localhost with specific port like (http://localhost:8001). But i can't get the way , that ...

 
3:20 PM
LOL
 
Seriously?..... — Neal 13 secs ago
@rlemon ha
 
LOL
 
0
Q: How do I call multiple JavaScript functions from a single click?

user1696497I'm working on a wordpress plugin and need two functions to happen on onClick function on different ID's. I have code something like this. echo "<div id='cnote_open'><a id='show-note' onclick='document.getElementById(&quot;website-link- box&quot;).style.top=&quot;10...

q_q
 
@FlorianMargaine HAHAHAHAHAHAHHAHAHAHAHAHHAHAHAHAHAHAHHAAH
thats so stupid that i dont even want to say how stupid that is
 
yeah... just downvote to hell the answerer
 
3:28 PM
@FlorianMargaine lol i dont have enough rep there
 
heh, @tereško is lurking around :P
 
yay
 
0
Q: Make A Button In JavaScript file

Ahmed MidoWhen I made a chrome extension I made a JavaScript file (.js) & html file, and in the html file I called the .js file through this line : <script src='history.js'></script> But I want to make a button in the JavaScript file not in the html

seriously, is it troll day?
all the Ahmed are out there today
 
Why is this question downvoted to hell, together with 4 "NARQ" close votes: stackoverflow.com/questions/14022888/…? If any, it's OT and belongs to ServerFault, but the current response looks bad.
 
@RobW It's a "Please send me teh codez" question with s/codez/server help/
 
3:31 PM
@RobW the question is incomprehensible. And from what I understand, it's just "do alllllll this for me plls"
 
I think the SF.se folks would not be happy to see us sending them junk questions
 
@RobW well ... here is a hint: questions end with question mark
 
closed as not a real question by rlemon, SomeKittens, Florian Margaine, Neal, tereško 1 min ago
lol, all js regulars
 
@tereško The title ended with a question mark ;)
 
3:35 PM
yes , but it written like "How i went to get a beer: the story edition"
 
Just kidding, the quality of the question was bad, but I was more concerned about the lack of feedback from voters.
 
3
Q: "Flip" the output of a simple loop using only +1/-1

KayThis is a language-independent question. Suppose I have the following basic loop: for (var i = 0; i < 6; i++) { echo i; } /* Output: 0 1 2 3 4 5 */ Is it possible to "flip" its output to 5 4 3 2 1 0 using a simple variable flag, whose value can only be 1 or -1, without using if/else?

Nice Q ^
 
I just realized , i need references too , aww fuk
 
@RobW I've given up. They never learn.
 
3:39 PM
love the downvotes lol
 
Hello, I want to know how can I select options of a suggestion divs with keyboard arrows, as in youtube, when you type any key and the suggestion appears you can select an option with the keyboards arrows. I have a textbox and I have a "suggestion" div bellow. How can I do it? (Im not using jQuery autocomplete)
 
hey, guys, check out this infinity twitter reader made for fun on AngularJs http://tweets2d.com/#/javascript,angularjs
Just grad the plane and get more and more tweets.

Actually AngularJs is known to be like a framework that can get some perfomance flaws when its more than 2k objects.
so it was kinda test of angularjs with lots of objects
 
3:59 PM
HATS!!
 
... NVM
now.msn.com/squeezing-breasts-can-stop-cancer <- Wow microsoft is making money from porn i seee
 
4:15 PM
I'm starting up a cancer prevention clinic pronto.
 
rlemon, Ontario
6.6k 1 15 35
santa-hat-ception
 
So tell me one thing,
web-workers are ... um threads right ?
why dont we have threads like C/C++/C# ??? so that we can share variables and stuff or we do have it in JS ? @rlemon @KendallFrey since you two know C# so more helpful :P
 
hey, quick question. I'm trying to create a page loading progress bar and I'm looking for events to trigger the increase of "percent" My idea is to just increase the percent when even events trigger. So far I can think of 2 (document).ready() ~ 0% and (window).load() ~ 100% Is there a better way of making a progress bar?
 
web-workers are emulated threads.
javascript can and will only execute on a single thread.
 
still makes no sense to me why i cant share a global variable b/w 2 threads ?
 
4:23 PM
> This specification defines an API that allows Web application authors to spawn background workers running scripts in parallel to their main page. This allows for thread-like operation with message-passing as the coordination mechanism.
 
but i understand why message - passing
 
got it :-) , thx lemon :-*
 
lol I just guessed.
my nephew. I just love this pic .
 
hi @all
 
4:28 PM
My uber crappy report on html5 is ready , anybody wanna give it a read ?
 
i want zoom the images in iphone?
 
it was 12 pages in morning , now its 33
 
html5 is ready?
 
@pardhu take two fingers , tap and keep them on screen
then move them away , you will be able to zoom in - out
 
ejs question: How can I pass variables with <% require other.ejs %>?
 
4:29 PM
0
Q: Knockout.js: how to enhance the readability of Javascript part

AbdelHadyMuThere is no doubt that Knockout.js is a very useful tool, which will save you from a lot of Javascript(Jquery) binding hassle, which will reduce your team's bug ratio concerning this part. But unfortunately, its Javascript part gets ugly sooner than you can imagine, the resulting unreadable code...

 
no need to set in javascript
 
on iPhone Zoom is a guesture :P
so if u want to use that
you can use -webkit-transforms
 
@pardhu hold the phone at arms length, now here is the important part... slowly move it towards you until the appropriate zoom has been achieved.
 
@pardhu you didnt mentioned if u wanna do it in your webapp or physically or natively ?
 
use microscope for even better results
 
4:30 PM
@rlemon did you get rid of your facebook?
 
@GNi33 if you really wanna afford them then take Hubble Telescope for lease 100,000 Megapixel uber zoom
 
@Abhishek @rlemon i am developing one small website in iphone in that there is plenty of imags when user scroll on that images that image should be zoom
 
@Loktar yea
 
how can i do? any ideas?
 
lame
 
4:31 PM
how u decide user-scrolls on that ?
 
lol why
 
when he does just use css
 
hey if you're around later ill play some awesomenauts
 
fb is lame.
 
yeah I know lol
 
4:31 PM
-webkit-transform:scale(1.3,1.3); // to scale 1.3times on both axis
 
just noticed it said you were deactivated
had never seen that before
 
@rlemon I closed down my fb
 
using his cursor?
 
@rlemon fb is lame now start forkin tapeer lets make web 3.0 reality
@pardhu on iPhone there is NO cursor :P
 
/me goes to the coffee shop
 
4:32 PM
@Loktar FUCK \
your just reminded me i need coffee :'( , cries
 
means as you said before using his two fingers
 
/me goes to the coffee shop for good coffee (one thing is for certain, after now getting coffee is 6 different states.... our average coffee is better)
 
or placed his cursor and move down and up like that
 
however NE coffee was loads better than IL and IN and MI and everywhere else I had coffee.
 
@abhishek please help me, i need do that in javascrip and jquery
 
4:37 PM
[].forEach.call(document.getElementsByClass("iZoom"),function(elem){
  elem.addEventListener("touchstart",function(e){
    e.preventDefault();
    this.style.webkitTransform = "scale(3,3)"; });
  elem.addEventListener("touchend",function(e){
    e.preventDefault();
    this.style.webkitTransform = "scale(1,1)"; });
});
optionally you cann allow them using iPhone's guestures
google them :P
 
!!/beautify 6858084
 
< pre class = 'full' > [].forEach.call(document.getElementsByClass("iZoom"), function(elem) {
    elem.addEventListener("touchstart", function(e) {
        e.preventDefault();
        this.style.webkitTransform = "scale(3,3)";
    });
    elem.addEventListener("touchend", function(e) {
        e.preventDefault();
        this.style.webkitTransform = "scale(1,1)";
    });
}); < /pre>
 
@Zirak hrm... beautify formatted messages sucks.
 
i need to do that in javascript
 
(xD)
babe that is javascript :P
wait a minute you mean "with $" ?
 
4:39 PM
yes
2
 
you are ignored
 
@rlemon i am going to mental asylum i need it
 
@abhishek can you help me with jquery?
 
with that code you dont even need that piece of crap library
 
4:41 PM
why would you absolutely need to use jQuery for that?
 
nothing
 
Array.prototype.forEach.call(document.getElementsByClassName('iZoom'), function(elm) {
  function add(el, evt, fn, bubble) { el.addEventListener(evt,fn,bubble); }
  function doScroll(e) { e.preventDefault(); this.style.webkitTransform = 'scale(3,3)'; }
  function endScroll(e) { e.preventDefault(); this.style.webkitTransform = 'scale(1,1)'; }
  add(this, 'touchstart', doScroll, false);
  add(this, 'touchend', endScroll, false);
});
mines prettier ;)
 
iphone has a relatively modern browser with good api-support
 
@abhishek your giving some errors?
how to use that?
@rlemon how to use this one?
 
@rlemon actually lemon you dont even need it
iPhone has a scale event !
 
4:43 PM
i am learner for javascript and jquery
 

Javascript Resources.

Sep 4 at 13:36, 2 minutes total – 8 messages, 1 user, 1 star

Bookmarked Sep 4 at 13:40 by rlemon

 
basically tells you how much its supposed to be scaled , nifty eh ?
 
Fucking learn... that is how you "use that"
 
xD
lemon there is the reason why i love you
 
Jesus, pardhu you are like an uber christmas troll. I think I'll call you "Frosty the trollman".
Now everyone grab a hair dryer and lets melt this bitch!
 
4:45 PM
Computer science is not for everybody who just wants to earn money it needs brain in this neighbour hood :P sadly only 10% people realize that and those are well good programmers
 
In every other industry if you don't know what in the fuck you are doing you pretty much get called out on it and get no jobs pretty quickly.... except on the internet. Where you can be a complete moron and still get paid because little does the employer know (or maybe they do), you got a community of professionals to write your code for you then implement it to boot.
 
woot!
 
0
Q: Knockout.js: how to enhance the readability of Javascript part

AbdelHadyMuThere is no doubt that Knockout.js is a very useful tool, which will save you from a lot of Javascript(Jquery) binding hassle, which will reduce your team's bug ratio concerning this part. But unfortunately, its Javascript part gets ugly sooner than you can imagine, the resulting unreadable code...

 
5:05 PM
GUYS
Codeacademy is using my snow too on the cards!
 
Wanna see my new desktop backgrunds ?
@Loktar Sue em ? unless they attribute u
 
lol nah its free
well yeah :?
actually wait no
its apache vs 2.0
so yeah pretty open license
 
posted on December 24, 2012 by dutton

As we reported last week, there's been a lot happening lately with our old friend WebRTC. Well... here's another first: WebRTC screensharing. Here's a screencast: youtube.com/watch?v=tD0QtBUZsF4 ...and here's the code: github.com/samdutton/rtcshare In essence, we've built an experimental Chrome extension that uses RTCPeerConnection and chrome.tabCapture to share a live 'video' of a b

 
Hi people, can I get some help with Javascript? First time in chat room!
 
@ashpriom Sure, but review the room rules first.
 
5:17 PM
@SomeKittens okay!
 
!!/choose play_game finish_tapeer
 
@Abhishek play_game
 
:D
 
@SomeKittens okay...I did. I actually came across the term Help Vampire for the first time too...well I'm alright ^_^
@SomeKittens I have around 20 Javascript files loaded in my site homepage, they are not all used and affecting my page load time. I need to find a way to debug/detect which files are not being used. So that I can remove them.
 
@ashpriom Simple way: start removing them until something breaks. Hard way: Read through your JS code.
 
5:30 PM
@SomeKittens hmm...reading through all the JS files is the simpler way I suppose
@SomeKittens I can't remove them and test...cause to remove one JS file, I have to deploy my whole app from Amazon servers, which will take 10 mins for each file test.
 
Ah, so reading's good. You'll learn a lot, too.
Protip: You don't need to ping me for every message
 
yea..I'm going to read them now. thanks
ok..no ping! I thought chat was like Twitter! haha
 
You can put Twitter in chat!
@RecodingBlog, Rochester, NY
I post stuff about programming and other geekery. Read my blog!
159 tweets, 18 followers, following 22 users
 
how.. just pasting your link?
@ashpriom
Web Programmer and Photographer. Manchester United Fan. Classic Rock Junk. Secularist. Human. YOU! ☮ ♥ \m/
8.8k tweets, 560 followers, following 335 users
 
Yup. It's called "oneboxing" and works with a lot of stuff. Try it with a SO question
 
5:40 PM
Get a local development environment, best way
 
ah yes!
I can try it out in VMWare, but I guess since I have some hours reading files would be a better way. Thanks anyway :)
8
Q: Creating Falling Snow using HTML 5 and JS

LyndaI visited the Stack Exchange Winter Bash website and I love the falling snow! My question is, how can I recreate a similar effect that looks as nice. I attempted to reverse engineer the code to see if I could figure it out but alas no luck there. The JS is over my head. I did a bit of googling an...

 
^ great question
the guy who answered is pretty badass with snow
I was like WOAH You know your snow bro
 
@ashpriom What server-side language are you using?
is there some way I can detect if a variable exists or not without throwing a ReferenceError?
@Loktar Still throws it
 
nm
 
@SomeKittens JSP. I have a head.jsp in my app. This file loads <head> tag in every webpage. That's where all the scripts are called.
 
5:48 PM
403
A: How can I check whether a variable is defined in JavaScript?

Jim PulsYou want the typeof operator. Specifically: if (typeof variable === 'undefined') { // variable is undefined }

 
ah nice
 
yay, works now
@ashpriom Isn't that cross-platform?
 
-4
Q: Happy Punyember Stack Exchange!

amanaP lanaC A nalP A naM AHappy Punyember to all! And congrats to @JasonPunyon on the baby! (hope you get some sleep!)

 
@SomeKittens how?
 
I've never worked with JSP, but if it runs on the JVM, it should be everywhere.
 
5:55 PM
I think I understand what you're saying. It's a CMS which works contains widgets written in JSP. So I just place widgets, in parts of the page. And loading <head> and calling the CSS, these are done all from one single file.
 

« first day (800 days earlier)      last day (4149 days later) »