« first day (1350 days earlier)      last day (3599 days later) » 

2:00 PM
^ my thoughts too
 
@phenomnomnominal well... that made it do SOMETHING, just not entirely sure why...
 
off-topic, but, why does this not load but this does? I mean, why do they care for 404s?
 
@AwalGarg Because that's the joke?
 
@AwalGarg 404 didn't exist, so it returned status code 404 :)
 
@_@
 
2:06 PM
If they'd have to do that for every return code, they'd have no space for comics
xD
 
That's brilliant.. I didn't even notice they did that
 
and 302 would be an infinite redirect loop
 
They skipped 404 XD
 
<-- is a joke discoverer
 
2:07 PM
Morning
 
I can't remember when I first read their comics, was about 4 years ago or so I think? Is that possible?
Morning Jorrrdan :3
 
@AwalGarg but you totally got butt hurt about the "anal" joke. Heck I would have rolled with it.
protip: we are sarcastic a-holes. you'll know when we actually dislike you when we stop interacting with you.
 
@Magikaas why does that make me feel uncomfortable D:
 
@rlemon !!slidepoop
 
@rlemon I told him to STFU, he didn't listen. I was polite, he was crazy like hell. That's what irritated me.
 
2:08 PM
@AwalGarg I'm just saying don't take that kinda stuff personally. it was all in good fun.
 
but, please, let's just stop talking about it.
 
@AwalGarg Fact: some people are assholes. Don't let it get to you
 
my humble request to you.
 
I will. I'm just making sure you realize it was all in good fun. not malicious.
 
@RUJordan People say that about me more than you'd expect, I get used to it :P
 
2:09 PM
ok, point noted.
 
Some more than others
 
$scope.$on('$locationChangeSuccess', function(event) {
        var c = Chart.get({chart_name: $location.hash()}, function(data) {
            console.log(typeof data);
            var chart = $('<div/>').highcharts(data);
            console.log(chart);
            $scope.chart = data;
        });
    });
 
@AwalGarg Fyi, towc is a known troll. You have been warned.
 
this is giving me an error saying TypeError: Converting circular structure to JSON at Object.stringify (native). Why is that? typeof says it's an object
 
@Neil oh well, we were talking about N*** D*****... towc seems to be helpful, and intelligent.
Thanks for warning, though :)
 
2:11 PM
@Magikaas your picture confuses me, are you one of the rare chicks we have here or just a dude who likes skimpy anime? :P
 
@RUJordan Hahaha
... The former part of the latter...
 
@AwalGarg You say it like a cuss word, but I know who you mean ;)
 
I honestly can't think of a 5 letter word that starts with N that needs to be censored
4
 
I do enjoy the occasional skimpy anime, but I won't go out of my way to find them
 
@RUJordan nor can I
 
2:12 PM
@RUJordan Noobs?
 
@Magikaas oh god, I suck at former and latter things. So you're a fembot?
 
nerdy, for sure
 
its 4
 
@RUJordan nanny
Numbs
 
and I think he/she/other is one of the regulars, so you must know...
 
2:13 PM
@AwalGarg N**** N + *x4 = 5 letters
 
@RUJordan former is first part, latter is last part, so a guy that watches anime, I guess xD
 
@AwalGarg I don't know any cuss words with 4 letters
 
HAPPY FRIDAY
 
STOP CONFUSING ME
 
!!friday
 
2:13 PM
but it is Friday ;_;
 
haha. bye!! gotta practice code.
 
NONONO!
 
Oh wait
 
Thanks again to everyone...
 
2:14 PM
Thank god
 
Muhaha xD
 
I'm enjoying myself
!!youtube friday
:c
 
@RalphWiggum You iz in mindjail
 
I thought it was Rebecca Black making a comeback
Ha suck it Ralph
 
Hahaha xD
 
2:14 PM
!!youtube friday 8bit remix
 
huh
haven't listened to this
 
@RUJordan Am I that confusing? ._.
This doesn't sound half bad, tbh
 
that or im borderline retarded
 
Well, it's an improvement on the original, for sure :P
@RUJordan Aren't we all, in a way :)
 
2:15 PM
you don't sound half bad
 
@RalphWiggum Thank you for the optimism :P
 
you sound half good
 
Why does this sound like something that would be playing in a Final Fantasy cutaway scene?
 
@RUJordan Artificial intelligence beats natural stupidity any day
 
^^
@Neil Hahaha, and that has been proven :P
 
2:18 PM
@JanDvorak you typo'd trying in your last comment just a heads up
 
@RUJordan Part of it could be, actually, yeah :P
@RUJordan Are you stalking him? I don't see him anywhere near here in chat ._.
 
I clicked on a question with negative votes to close and I saw he commented lol
 
Oh lol
Anyways, I gots to go, been fun and informative talking to you guys :)
 
Adios
 
Have a great friday and a good weekend errrvryburrrdy
 
2:20 PM
Totally going to start calling you Magikarp
 
Kill me. The controls are still clunky. ;-;
 
Yeah, that's a good gameplan.
 
@Magikaas Good weekend
 
Haha, you too? ._.
@Neil Thank you, you too <3
 
Or happy weekend. How would you say that?
 
2:21 PM
In english?
or Dutch
 
@Magikaas ( _)=mm=(^_^ )
 
Both at the same time
 
Goed/Fijn weekend is good enough :P
 
@Neil bon weekend
 
gelukkig weekend !!
 
2:21 PM
40 minutes before I leave work
 
now you're just making up words
 
@FlorianMargaine We don't have that expression in english, so I'll just adopt French
 
Weekend, the universal word for the 2 best days of the week :D
 
I'm attempting to add a field to Ghost CMS. I'm trying to figure out where to start, has anyone had any experience with modifying the Ghost core?
 
@RUJordan am nort!
 
2:22 PM
@rlemon Hello nort
 
You're Nort?
@Magikaas ha
 
;)
 
@Magikaas I read your name as magikarp
 
Fijn weekend to everyone else here then :P
 
and I am not even a pokemon fan
 
2:23 PM
@rlemon You and many others, hahaha :P
 
@rlemon Sure. *wink wink* Not even a pokemon fan. Right. *wink* *nudge nudge*
 
3 mins ago, by RUJordan
Totally going to start calling you Magikarp
 
@RUJordan ahh missed that ;)
 
late
xD
 
we are two peas in a pod man
 
2:24 PM
Bahaha
flails
 
lets get a tandem bike!
 
dude lets get bunk beds
 
Sleepover!
 
suddenly have a desire to find a video with a printer playing pokemon theme song
 
Hey, why do they call them "bunk beds"?
 
2:25 PM
anyone knows good data visualisation plug-in for jquery except Flot please ?
 
@Twocode Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@RUJordan I CALL TOP BUNK!
 
@Zirak Is that a serious question?
 
@Neil Is that seriously your face?
 
@rlemon good. I fell off my top bunk in college and hit my head on my desk
 
2:25 PM
 
Ever since I've been a bottom bunk guy lol
 
@Zirak Hmph.
 
@Zirak lost
@Zirak actually, it's a good idea, I will make one now and name it that way
 
IT'S SO BAD!
 
2:27 PM
@RUJordan Bottom bunk is best bunk
You've got a free desk - the floor.
 
Definitely. No inherit risk of concussion just from coming home drunk and falling off
Well... severely less risk
There is always risk when it comes to drunk
 
when I was growing up my brother and I had bunk beds for a bit. He had the top bunk. I use to wait until he was asleep then stand on my bed and push up his mattress so he would roll off the top bunk. then quickly pretend to sleep
my mom just thought my brother was rolling out of bed in his sleep
 
One day he died
Unrelated note. "He" is the carpenter who made the beds.
 
nahh, after a handful of times she put those guards on the sides so he couldn't roll off.
 
Poor Mr. Travis...
 
2:30 PM
lol wow you're such an asshole xD
 
HEY! Mr. Travis was a special man!
 
not you haha the lemon
 
@rlemon #1 cause of falling out of bed is "younger brothers"
 
Is there a way to call a div globally based on ID?
 
@RUJordan he is two and a half years older. This was pay back
 
2:33 PM
What's "calling a div"?
 
I'm running my site on Node
 
user1596138
@notchris getElementById
 
How does one "call a div"?
 
@notchris <div id="globally based on ID"></div>
 
@Jhawins It will be only be available on that page
 
2:34 PM
@notchris ... getElementById("yourIdHere")?
 
*ring ring*
"Hello? div?"
*no answer*
":("
 
user1596138
@notchris Well yeah, the div is only available where it is
 
@Zirak You're attempt at humor does not amuse me
Your*
My attempt at grammar does not amuse me
 
it amuses the rest of us
 
It amuses me
 
user1596138
2:34 PM
That "page" doesn't exist when you aren't on it, so the div doesn't exist.
 
majority rule. you lose
 
lol
 
Your attempt at asking questions doesn't entice me
 
I realize that the DIV exists on only a single page, is there a way to create a div and call it globally based on ID
 
@Jhawins "Hey mr. browser. do you mind holding onto this element from that page over there? xthnksbui!"
 
2:35 PM
> <div id="globally based on ID"></div>
 
wtf is "calling a div"?
 
@Zirak Bobby
 
What's "globally"?
 
passport
 
@Neil I'm running Ghost CMS, it uses SQLite, should I learn to just store that information there
 
2:36 PM
What's my spoon?
 
@notchris your questions make less and less sense the more you ask them
can you please answer Zirak and try to explain what you mean by these terms
because they don't make sense in the context of your question
 
On a more related note: qdb.us/54088
 
@notchris I don't use Ghost CMS, but to save something to use client-side and in the back-end, you typically store session data
 
Are nested functions frowned upon?

For example:
	_onKeyDown = (e) ->
		e.preventDefault()
		if e.which == 9 and not TABDOWN
			TABDOWN = true
			getNextEnabledSelect = (origin, offset) ->
				nextSelect = _getOffsetSelect(origin, offset)
				if nextSelect?.$control_input.is(":hidden") or nextSelect?.isDisabled
					nextSelect = getNextEnabledSelect(origin, offset + (offset / Math.abs(offset)))
				return nextSelect
			_focusSelectize(getNextEnabledSelect(this, if e.shiftKey then -1 else 1))
 
2:38 PM
@Cereal no
 
you're frowned upon
 
Oh that formatted gross
 
@Cereal Bad Poorly formatted code is generally frowned upon
 
in your case, there's no reason to nest the function though
 
@Cereal In that case, I'll have to say "yes". I don't like functions defined inside ifs or loops.
 
2:39 PM
anyway, the getEnabledSelect is nested, but it's not used .. anywhere else ever
 
you could raise the inner function above
 
@rlemon I'm running my site on Ghost CMS, it's a nodeJS powered blog system that does not support additional post fields. I wanted to know if I could modify the platform to add an additional form per post. Because this seemed like a difficult task for me because I'm not extremely familiar with Node, I wanted to know if there was an alternative method I could try.
 
that ghostcms website is so hip
 
you do understand the separation between client and server right?
 
I nest the function in 2 cases only: it's used only there, and it has less than 2 lines.
 
2:39 PM
@rlemon Somewhat, I'm still learning
 
when the API you use requires functions, mostly.
 
okay well you seem to be getting them confused here.
if you want an additional form on the posts look into the post view file and alter that
 
@Cereal In this case, I don't even get why you'd want a nested function there.
What's the difference between calling your function then and there...and just writing out that code?
 
@Zirak It's recursive
 
@rlemon Ghost uses SQLite to store information, I'm assuming that I would be adding a form to the client site and the information I post in that field would be stored in the DB
 
2:41 PM
Oh yes, hurr de durr
 
That's coffeescript, isn't it?
 
Why would take such an elegant language and write nested functions in it?
 
2:41 PM
@rlemon I attempted this, however I can not find the exact file where the form exists.
 
"elegant" is in the eyes of the beholder.
 
It makes sense in my head is all. If it's better to stick it outside, I'll do that
 
@FlorianMargaine Yes but some things most programmers will agree on. Having to scroll to the right to see code idented that much to the right is not generally elegant :)
 
@Cereal put it outside. See if it's more readable.
If it isn't, keep it in.
 
@Neil I once decompiled some flash game, and buy, did it remind me how designers can't write code for shit...
 
2:43 PM
Likewise, coders usually can't design for shit
 
There were about 300 nested ifs in a row, each one checking just one condition (which is how I know it wasn't compiler optimisation. plus, the flash compiler doesn't do shit to optimise)
 
omg blueberry glazed doughnuts... so delicious
 
I can design very well, but I'm actively trying to become a better programmer
 
That sounds incredibly tasty
 
I wish I had learned in reverse
 
2:44 PM
hey guys, anyone remembers the awesome `halt`or `haltdef` in mIRC Scripting that would *stop* the script execution at that point and return null from the event?
How can I do such a thing in Javascript?
 
In the de-indenting, I had around 4 screenfulls of }
 
@Zirak My colleague at work knew a flash programmer. He compared him to a normal programmer without really understanding anything about how a computer works
 
Do people use Actionscript still?
 
If you think about it, they live in their own world. They don't really have to interact much at all
 
Or is flash completely replaced now by HTML%
5*
 
2:45 PM
HTML% is still controversial
 
@Zirak the previous developer left SO MUCH if's&else's&elseif's that the IDE screams at me "too many nested if-else" xD
 
Granted, I think you could be a web programmer and not really understand how a computer works, though it is a lot more difficult
 
Too dangerous, some say. But yeah, people write a lot of flash stuff, especially games.
 
@Neil We see them every day, people who don't even have an inkling about how HTTP works
 
2:46 PM
@Neil my knowledge of the actual computer is preeeeeettty lacking :P
 
I think there's still a conception that HTML5 games are a lot harder to code than flash games
 
I mean flash makes sense if you don't want to have to include 3 different file types for a HTML5 video player.
 
@RUJordan Come on, I'm sure you know how computers work better than a flash programmer :P
 
^ LOL7
 
True..
I took a flash class and I was the only actual programmer there
 
2:47 PM
@Zirak There are always these types of people. Fortunately you don't often have to deal with them at work
 
All the web designers were like whoa he's good
I was like development > design
tbh i sucked at flash too =x
 
I visibly cringe when I see a site written entirely in flash
 
Yeah but you don't even need to be a good designer anymore with css frameworks available
 
It honestly depends. If you're making your grandmother's baked goods recipe site, you don't need flash.
 
@notchris Thank god for that
 
2:48 PM
@RUJordan dev is > design; Though without design your development won't be appreciated by the masses -- the inverse is not always true
 
But designing a motorcycle fan's website in pure html...that sounds much more difficult.
 
We aren't artists, we're programmers
 
On the other hang, I can't make pong, so my opinion on the matter is moot
 
It's a very talented person that can program well and design well
 
Iunno man, that's insinuating that most programmers don't have a good eye for design
 
2:50 PM
Flash is used a lot for movie websites
 
@Neil Programming is a form of art
 
@Zirak if I have no one to play with this weekend that's what i'm doing: see If i can make Pong.
 
To make them fun and interactive
 
@notchris have you jumped on IRC and asked in #ghost?
 
@Meredith o/
 
2:50 PM
But I'm just not a fan of sites like that
 
@Zirak Literature is a form of art, but they don't design web pages :P
 
@mikedidthis I should, no I haven't. Thanks!
 
Flash used to be the only way you could do a lot of things
 
@notchris I still think hacking the core is a bad idea, but you should get some help from there.
 
The only thing flash is good for now is using the browser's clipboard >=(
 
2:51 PM
I have this object: `var parameters = {"id":"ggbApplet","width":640 }`

and know I want to add a new item `"height":480`, how could I do this ?
 
My eyes x.x
 
If you wanted a button that animated when you clicked on it, and it had more than states "not clicked" and "clicked", you needed to do it in flash
 
posted on June 27, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Only 5 days left to join the new kickstarter!

 
@Neil At work we have an exhibit that allows users to take a "Weather Forecast" video, we have to convert these video files into 3 separate formats to allow all users to view them.
 
2:52 PM
OMG
ACID CHAT!
var color = {
	r: 0,
	g: 0,
	b: 0,
	cycle: 0,
	step: 1
};
color.next = function() {
	if( Math.min(Math.abs(this.cycle + this.step), 100) !== 100 ) {
		this.cycle += this.step;
    } else {
        this.step *= -1;
    }
	this.r = ~~( Math.sin(0.314 * this.cycle + 0) * 127 + 128 );
	this.g = ~~( Math.sin(0.1277 * this.cycle + 2) * 127 + 128 );
	this.b = ~~( Math.sin(0.493 * this.cycle + 4) * 127 + 128 );
}
main();
function main() {
    document.body.style.backgroundColor = 'rgb(' + color.r + ',' + color.g + ',' + color.b + ')';
run in the chat
 
That's the only place where Flash prevails.
 
Oh jesus
Here we go
 
user1596138
> Will you work 4th of July?
...
If I pay you double?
Sure
 
I think this is how I will SO today
 
HTML5 player requires 3 formats for cross-browser compatibility, it sucks.
 
2:53 PM
@rlemon that hurts my eyes so bad lol
But so cool
 
da fuq
the year is like already half over
 
Cut down the denominator from 60 to 20, and it's actually not that bad
 
what the shit happened?
 
@RalphWiggum Well, you wasted your life, and now you're closer to death
 
@Zirak but it is less ACIDy
 
2:54 PM
shit I gotta pay rent soon
 
@Zirak true dat
 
user1596138
Shit I wish I had to pay rent
 
@rlemon Is there a reason why you define properties like {property: value} and methods like object.method = function()
 
@RUJordan Oh, I'll give you back your crotchless pants.
 
@rlemon how do I run that in chat? console ooor ?
 
2:54 PM
I have this object: `var parameters = {"id":"ggbApplet","width":640 }`

and know I want to add a new item `"height":480`, how could I do this ?

I tried parameters."height" = 480; but that wouldnt work
 
@Meredith readability
@MoshMage paste it into the console
 
@Zirak thanks, those will come in handy
 
Ok so there isn't like some hidden optimization issue or anything
 
user1596138
@90intuition ... dude
 
parameters.height = 480
 
2:55 PM
oh.. god xD
 
@90intuition I recommend you take a look at some js introductions
 
or parameters["height"]
 
/me is actually laughing
 
user1596138
:17410352 var parameters = {"id":"ggbApplet","width":640,"height":480 }
 
@90intuition please read about bracket and dot notation
 
2:55 PM
okay, :P thanks for helping, I'm a noob, I admit
 
user1596138
See when they admit to being bad I don't dis them.
 
@90intuition There are some good resources on the js tag faq: stackoverflow.com/tags/javascript/info scroll down to "learning javascript"
 
@90intuition everybody starts somewhere
 
@rlemon what?
hah
 
2:56 PM
17
 
user1596138
It's the "I'm a JavaScript guru but wut does ~ do" people I hate
 
why do people keep referencing "17" here?
 
Look at the url
 
@Jhawins do you mean literally a tilde? :P
 
@Zirak the room id?
 
user1596138
2:58 PM
!!> !~(0)
 
Winner!
 
@Jhawins -2
 
You win: <NOTHING>
confetti
 
@Jhawins false
 
user1596138
lol
 
2:58 PM
I'm still in the phase where with every code that suddenly works, you want to scream, "woooot, that actually works, brilliant"
 
I like your chocolate milk avatar
I'm drinking hot cocoa
let's get married
 
user1596138
@90intuition Haha that will never stop
 
HAMMERTIME!
 

« first day (1350 days earlier)      last day (3599 days later) »