« first day (961 days earlier)      last day (4211 days later) » 

21:00
@ShotgunNinja I chewed out the dude on the other end. His response was "It shows in our logs this is what you payed for", I told him it was an old purchase and up till this point we were on a linux host. They told me they corrected their mistake and it would be extra $$ to move over to linux again.
I wasn't too pleased, but fuck it.
!!/stat DemCodeLines
user1596138
We have a bullshit local host. They run some 2006 verison of windows and we're still on PHP 5.2
@DemCodeLines DemCodeLines has 326 reputation, earned 0 rep today, asked 39 questions, gave 2 answers.
you need more answers
21:01
yeah?
stop leeching the community
!!/stat DemCodeLines
user1596138
@DemCodeLines Damn!!! Never seen a Q/A answer that pathetically horrid...
@DemCodeLines DemCodeLines has 326 reputation, earned 0 rep today, asked 39 questions, gave 2 answers.
I was just trying to see something, never mind.
user1596138
21:02
I feel like he shouldn't even be allowed to continue on the site...
!!/stat ShotgunNinja
We can't all be a Jon Skeet. There would be no questions to answer.
@ShotgunNinja Shotgun Ninja has 299 reputation, earned 0 rep today, asked 1 questions, gave 10 answers.
user1596138
!!/stat demcodelines extended
@Jhawinsss DemCodeLines has 326 reputation, earned 0 rep today, asked 39 questions, gave 2 answers.avg. rep/post: 7.95. Badges: 0g 3s 13b
21:02
@DemCodeLines please go back to this answer and make it an answer. stackoverflow.com/questions/9099219/css-html-2-float-columns/…
Providing quality questions is a good way to contribute to the community.
pull out the relevant information from the article and put it in the answer
user1596138
@rlemon Hahahahahahahaha
user1596138
Bananas
if that blog decides to delete the post then your answer is a fucking banana without the fruit.
"just link" answers are not answers
21:03
1 question, 10 answers. I don't go to the site proper that often, especially not to ask questions (too much time away from productive research). Usually, though, if I have an answer to something, I'll give it in as much useful detail as I can.
@ShotgunNinja lol I was at the time :P
@Gacnt You're not still together with her, are you?
Please update this to contain some actual information (cited) from the article. just link answers are not preferred over snippet + link answers. if that link ever dies your answer is useless. — rlemon 18 secs ago
seriously.
Just Link answers are the bane of my existence
is it possible to see the output automatically of cofeescript in jsfiddle?
@Connor You can run coffeescript in chat, if you need to test something quick...
!!c> println "Hello world"
21:08
@ShotgunNinja i want to play around with coffee script
@ShotgunNinja "ReferenceError: i is not defined"
@ShotgunNinja "ReferenceError: println is not defined"
!!c>if connor isnt 'ginger' connor = 'red'
@Connor Could not process input. Error: unexpected POST_IF on line 8
super useful error messages.
@ShotgunNinja yeah, 6 years now :P
21:10
!!java> System.out.println("meh");
@Michael Y U NO MAEK SENSE!? Could not understand java> System.out.println("meh");
@Michael get out
lololol
back to Java with you
i'm already there...
oh "c" is "coffeescript"
21:11
WHAT!!! i thaught cofeescript was like sass, and compiled into js, but you can use it like a js plugin right?
or no?
how do you use coffeescript
@Connor CS transpiles into JS, yes.
Coffeescript is a language that compiles into Javascript.
isn't the Coffeescript reference implementation written in Java?
Browsers cannot run coffeescript. The coffeescript code must first be compiled into Javascript before the browser can execute it.
Bananas
21:13
@ShotgunNinja idk
@Michael ohhh, i was looking at jsfiddle and it includes coffiescript.js
Even more bananas
Some research reveals that the reference implementation of Coffeescript is written in Coffeescript.
For example, if your project uses Coffeescript, then the code may be compiled into Javascript during the build phase of your project.
Compiled into Javascript for Node.js (I believe) by the Jison parser, if I read that correctly.
21:14
@Connor I wouldn't be surprised if jsfiddle allows you to write your programs in Coffeescript. But what it's probably doing is compiling into Javascript on the server-side.
@Connor Hmm, perhaps it is compiling into Javascript on the client then (using a Javascript program to do so).
@Connor o.o
This is not something you want to do in production situations, however, because it significantly decreases the performance of your web application.
@Michael yes that would make no sense what so ever
21:18
snapdragon
I like saying that
Coffeescript was created in order to have a more usable, yet backwards-compatible, alternative to client-side scripting.
@Michael backwards-compatible
Its goal is to eliminate the quirks and inconsistencies that are found within Javascript.
@Connor It's backwards-compatible in the sense that it compiles into Javascript.
@Michael is it the cherry on the cake then?
Not sure if genius or insane: github.com/getify/BlockScoper.js
21:22
@Connor My impression is that it's a little bit more substantial than that.
The syntax is similar, but still relatively different.
@SomeKittens looks like garbage to me
The main page of their website gives a good overview on the differences in syntax between the two languages: coffeescript.org
Use it like this:

eval(
  BlockScoper.ify("let(foo){foo='foo';console.log(foo);}")
); // "foo"
garbage
@Shmiddty uh yeah, they need a way better API for that.
like, one that avoids forcing you to wrap the statement in an eval().
@SomeKittens Block scoping means that a variable that is defined within a code block is not accessible outside of the code block.
It helps to make your code a little bit less error-prone because you can be sure that some data value defined in one part of your code does not "leak out" to another part.
21:29
so, you guys want to see some nasty site navigation at the company I work for?
halleonardbooks.com <-- Click on any of the grey nav buttons.
Then try to find your way back to the original page.
this will be coming up in review shortly.
@Shmiddty It might be nice if it was compiled like Coffeescript is. So that, during your project's build process, the BlockScoper library would compile the blocks into real Javascript.
@Michael ...yeah, and? JS doesn't support block scoping (ES6 says otherwise), except for try/catch
@ShotgunNinja confusing lol
@SomeKittens Yes, that is what this BlockScoper library is for...to add block scoping to Javascript.
apparently the VP of Creative decided on that sitemap.
@ShotgunNinja It's like each link in the nav bar goes to a completely separate site.
21:33
@Michael It does. They're "subsites".
That's not the way that most websites on the Internet are designed.
@Michael I know what block scoping is. I met the author in person after he gave a whole talk on the topic. I just think this particular implementation is a bit crazy.
Basically, all of our content gets pulled from different locations and with different keys in our database depending on which subsite is active.
@ShotgunNinja That's what I mean...when you try to click on the banner, it takes you to the home page of the sub-site, not the main site.
Yeah.
There is one way to get back.
Above the Search bar, the words "HLPAPG HOME".
Because everyone would recognize that instantly.
21:35
@ShotgunNinja Sounds like drunk taxi directions
Maybe if there was a button with an arrow in the upper-left corner it would be a little more clear.
If only I was in charge of making such changes.
@SomeKittens Why do you even need the "let" part. You should be able to leave it out completely.
is this code wrong?
2 hours ago, by Connor
   $.ajax({
      url: 'somePHPfile.php',
      data:{email: '[email protected]'},
      type: 'POST',
      success: function (result) {
         result === 0 ? alert('well that email is already... Whatever') : alert('Ok, hes safe, let him in');
      },

      error: function () {
         alert('nothing suprises me');
      }
   });
is there any errors here?
let is the keyword that lets the BlockScoper transpiler work.
Fun trivia: let actually works in Firefox!
21:37
We're currently in a period of our company's growth in which the IT/Systems department is fighting back against the rampant amount of kludge generated on our systems by other departments because we don't have the process to be able to make things work on our own.
@SomeKittens Why not just look for code surrounded in braces?
TL;DR - Business people were allowed to add code and content manually, and now it's bitten us in the ass.
@ShotgunNinja dang
in jQuery, 4 mins ago, by DemCodeLines
@Connor Perhaps, next time, you could tell me that you are giving me incomplete code that is not functional before giving it, instead of making it seem like it works and then telling me later it isn't supposed to work.
@Michael let's more descriptive? I dunno, ask him
@ShotgunNinja Oh joy. My old job was sorta like that.
21:39
In Java, you can create code blocks, but Java is a typed language, so it may be different.
People who can't code shouldn't call the shots when it comes to code.
@SomeKittens Yeah, so half of our meetings are discussing redesigns and refactorings.
@SomeKittens "But I know some HTML from a class I took 8 years ago in college!"
@Michael The generated markup is awful too...
At least they're discussing them, instead of blame-fests and fire extinguishing.
try{throw void 0}catch
/*let*/(foo) {
  foo = "foo";
  console.log(foo);
}

foo; // Reference Error!
garbage
21:40
I was asked by an upper manager the other day how to make something italic using HTML. I had to explain how to write a closing tag.
why not just wrap it in an IIFE?
@ShotgunNinja You told him to use <em> and not <i>, right? ;)
@Michael I didn't want to confuse him, and he already knew about <i>.
@ShotgunNinja Ah ok
He just didn't know how closing tags worked.
Which made me impossibly mad.
21:42
@ShotgunNinja The correct answer is italic is a style choice. And should always be done in CSS. The fact that <em> styles to italic by default is just convenient
Not mad that he didn't know; mad at my team for allowing him to have such control over web content when he clearly has no idea.
"How's your iPhone like that?" "I jailbroke it" "That means you can get everything off the app store for free right?"
but you shouldn't wrap something in <em> that isn't supposed to have emphasis
Oh, and also, half of our websites use cookies for user wishlists.
I say half because I'm not done yet.
21:44
@Shmiddty True
@ShotgunNinja Wish lists should be stored server-side, in a database.
That's what I'm working on now.
That way, you can switch computers and still have access to your Wish List.
for example, <em>Book Title</em> is generally wrong (semantically speaking).
(this is especially important in this day-in-age where people can access in the Internet from multiple avenues)
^ that's why I'm changing it.
21:46
@Michael Or share your wishlist with other people.
I've got like 8 separate sites that need to be switched to use a database-backed system.
@Shmiddty That too. If your wish list is stored on your computer as a cookie, then there's no way for anybody else to view it, because the data is on your local workstation.
The cool part is, they all have to piggyback via AJAX (with raw HTTP request fallback) onto a separate website which has access to that database.
And by cool I mean a bitch to test.
@tuxnani 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.
@Michael The list would have to be embedded into a url param
21:48
@Shmiddty I have a working JSON-P portal between the data-accessing site and the "client" sites.
@Shmiddty But where would that URL be generated? The server cannot generate it because it does not have the Wish List.
@PiterD 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.
i <em>punched</em> my wall
@Michael the user who is trying to share their wishlist would have to click some magical share button, which would generate the url client-side, probably pass it to the server, then the server would email/whatevs it.
@ShotgunNinja Why do you need to use AJAX to load the Wish List data? Why not include the Wish List in the HTML page that is generated server-side?
21:50
Actually, I have a demo if you want to see how it's done.
@ShotgunNinja we're having a tangential discussion on how sharing would work without a database. don't mind me :)
@BrianHadaway 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.
@Gacnt That means that, if you were to speak that sentence out loud, you would place emphasis on the work "punched".
I want some competition
yee
21:52
@Shmiddty Oh, we have that too.
@ShotgunNinja I don't really want to create an account. :P
@Michael Then don't.
@ShotgunNinja It has flash and should die
in a fire
They are nice websites otherwise.
(besides the Flash)
21:53
@Shmiddty not my decision.
we're moving to HTML5 with some of our redesigns, slated for next year or so.
buhhhhhhhhhhh I want to go home
about 1.5 hours more for me
we actually have a rather interesting architecture, built to avoid some of the nastiness connected to using such awful technologies back when they were what we had to work with.
half an hour for me.
@ShotgunNinja kill some time: golf.shinh.org/p.rb?Diamond+Knockout
doeeet
can't; have to finish those sites by the end of the week. Still have 4 left after tomorrow morning.
Been working on this since the start of the year.
Does anybody have a geekli.st account?
I get these activity emails like twice a day and they're always the same.
The same users and cards are always "trending".
22:39
Mom: why is my internet keep going over
Me: Netflix
Mom: that can't be it. I k ow tonnes of people with Netflix and they never go over
Me: o_O
I'm guessing that it's totally possible to do node websockets on heroku?
Guys, Student Green is people
@rlemon anyone home?
ok...
22:50
@Darkyen now you can choose your pallet with your starters!
lemon
I'm guessing that it's totally possible to do node websockets on heroku?
idk
Hey dudes
don't use heroku
Wish somekittens was here'
22:50
do use heroku
@rlemon really?
@lawn I am 67% sure it is
@rlemon, Y U no heroku
@phenomnomnominal I'm guessing that it's totally possible to do node websockets on heroku?
Absolutely
22:51
yeah
It's just node
Wish somekittens was here.
@phenomnomnominal why do I need to?
@phenomnomnominal or u experienced too?
add socket.io to your list of npm packages
22:52
yea socket.io all of the things!
pretty much
@phenomnomnominal o
Okay just so you know I know nothing about that stuff
tonight's task: turn this into this. wish me luck.
@lawm socket.io is a package for using websockets with fallbacks to older technologies
I just wanna learn node around a project
@phenomnomnominal but is it just a lib? can I self host it?
22:54
it's a npm package
If you don't know what npm is, go learn right now, it's pretty much the core of node
I thought the core of node was node
@phenomnomnominal ok
@phenomnomnominal so its a library, but has a bunch of components/files?
@Loktar holy shit is this ever good. codepen.io/rlemon/pen/rmvdg 900 points in three groups in this one.
so not jquery?
look how performant it is.
22:56
@lawm NO, not jQuery
@phenomnomnominal ok
hehehe
/me needs to study this code :P
@rlemon looks nice! yours?
is there an IRC mirror of this chat?
22:56
forked.
it's pretty much the end goal of mine tho
Loktar showed me it, I asked if he knew of any good fluid simulations with metaballs.
Anyone know the url of @SomeKittens kittens chat?
tl;dr - my game will consist of a lake, you are a fish swimming below. you can release bubbles that displace the water above and make waves.. there is a boat (or many) floating / moving a crossed the top of the lake. sink the boat / as many boats as you can in the allotted time.
@rlemon violent
22:59
in todays society? hardly.
true
i'd call it a childrens game. just make the people get rescued from the water
rlemon do you have experience with websockets?
or make the boats seagulls that fly away after a period.
"splash the seagull"
@rlemon You're gonna need to make the SFX work nicely
23:00
fuck that.
^ meaning... i'll get someone else to do that shit
as well as the artwork.
once a frame is up and running that is.
@rlemon is this canvas or GL?
nvm. canvas
...
I'm not smart enough for GL
Wow that was dumb of me! That must have ended up there because I pasted the code from another project. — lawm Dec 20 '12 at 22:11
@Shmiddty wat?
oh I sorta remember that
heh heh heh
...
I'm guessing you're all doing something else, not staring blankly at the chat waiting for something to say.
bb
23:08
Hawt
@powerc9000 You go! Way to show your attraction for Loki.
no need to be ashamed
I'm not even ashamed
Attractive man
I think I'mma just go home now
cause bored
but I have so many more pictures to share!
@Shmiddty nooo!
@Shmiddty WTF!?!? why did you downvote my question that's 6 months old?? That makes a big impact on my reputation!
23:14
mongo :) I thought you guys might like it
@Devan 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.
@SomeKittens ??
Guys can you teach me some js please?
I don't care if someone is 13 or 40, that's the conclusion I reached. I treat people based on who they are, not based on how old they are, what gender they are, what race they are, etc. If someone is help vamping, I don't care if they're 13 or 50. minitech was just an example to show someone young can be a very helpful member
@san.chez Sure, what about JS?
@BrandonGelfand Congratz! Looks awesome and it works :)
23:25
I come form as3 (10 years) and working with js for last 8 months
@san.chez cool, they're very similar, the major difference is that AS3 got OOP kind of wrong
I brought some classical thinking form as3 which I am trying to get rid off
but it is hard
Well, I come from an AS background too, the best way to get used to JS is to write a lot of code
so who saw game of thrones episode 9........
ok I will give you a quick example
23:26
NO SPOILERS
how far behind are you
I've seen 8
@Dave I read the book, if you spoil the colorname wedding to anyone here I'll spoil the rest of the book to you :)
My flat watches it all together and one of my flatmates wasn't here last night
so have i so u ruin nothing for me.
23:27
Today is going to be a challenge
0
Q: ASP.NET Server Controls - Show Hide Textbox based on Dropdown selection

gmattesonWhat is the best way to show/hide a textbox or an entire div section based on a users selection from a dropdown? I don't believe its possible with server controls, so I would have to use regular client side HTML controls, correct? Thanks for any input. Would jQuery be the best option for this? B...

well have fun @phenomnomnominal :P
@Dave if you spoil it for me, I will hunt you down and spoil your face
@Dave Great book ^_^
Also, will do :)
23:28
hurry up n watch it so i can talk about it :P
room topic changed to JavaScript: Everything JavaScript | New User? Read rules.javascriptroom.com [ecmascript] [javascript] [six-seasons-and-a-movie]
Actually I better ask a question on SO rather then trouble you here with bits of code
Basically I keep using _.bind for methods used as callbacks etc.
And I can't work out how to not have to bind it
If I want to make something ascii that changes dynamically should I use a <pre> or a <span>?
Does it make sense what I wrote? :)
im confused you didnt want to trouble us but said it anyway
23:40
I didn;t want to paste code here
but no worries
ah i see
I chilling with beer now . Cheers!
BTW It is 1AM here ( if you are in different time zone and think I am alcoholic )
Where from uk are you Dave ?
@san.chez binding is good :)
It's a strong concept from functional languages
what if I have lots of bindings? :)
It's a native language feature in newer browsers that abide to the ES5 specification
23:45
I am worried I am overdoing it
You shouldn't be in this position to begin with, don't overuse this
If you find yourself binding a lot in the same object, there's a dirty trick, doing var that=this and then using that for methods
Anyone know which I should do?
If I want to make something ascii that changes dynamically should I use a <pre> or a <span>?
@lawm what text? ASCII is just an encoding
I have seen that=this a lot, I think I will go for it
@BenjaminGruenbaum Like.. ascii art
Like dwarf fortress
or a classic dungeon crawler
23:49
Sure, pre works then
@BenjaminGruenbaum How do I change the characters then?
@san.chez Just code a lot, it's the only way, you'll develop your own style. The most important thing is to be consistent
@lawm with JavaScript!
@BenjaminGruenbaum but..
@lawm look for a JS string tutorial, there are plenty of those
@BenjaminGruenbaum \ns and <brs> dont work though!
23:50
good point
@BenjaminGruenbaum what do you mean?
maybe ill just change the line height.. or something?
so span will work
@san.chez JS is a scary language to start using, especially coming from another language. AS3 is similar since they abide to the same spec so you're already used to events, but in order to get a "feel" for it you have to write a lot of code yourself. I can recommend quite a few good books, but I think writing code and reading open source code is more helpful if you already understand the underlying language concepts like callbacks and event driven design.
@SomeKittens ok
@SomeKittens heheeh
@BenjaminGruenbaum I am reading The Good Parts at this moment. What could you recommend next?
23:54
@SomeKittens this uses socket.io?
@san.chez "The Good Parts" is very nice! (and short). If you already know AS and you're missing the common how-to I'd recommend "Learning JavaScript Design Patterns" which is free by Addy Osmani
@SomeKittens ?
document.getelementbyid(blah).append("testestesesttestettstetsttsstst");
?
does that work?
let me se
@BenjaminGruenbaum I have been on Addys page a lot of times looking for patterns
nope
I building a project based on raphael
23:56
How can I append stuff to a div jquery-less?
@san.chez well, what are you building?
@BenjaminGruenbaum Comparing people to minitech is rather offensive. Oh, you're not a mod at 15? I'm not helping you.
@lawm .textContent+=
@BenjaminGruenbaum ok thx
@lawm Yes. Just not WebSockets (though it can be configured to use them) because Heroku doesn't support them.
23:57
@SomeKittens oh. really :(
?
@san.chez Seems to me like you're on the right track :) Maybe look into KnockoutJS, learn.knockoutjs.com is a very useful resource
@SomeKittens Wait then what host do you recommend for sockets?
@SomeKittens That was not the point at all. The point was "Oh, you're acting in a non-constructive way? I'm not helping you, age is not an excuse"
@lawm There isn't a free node host that can do WS. If you've got spare cash, use Nodejitsu
@SomeKittens oh..
hehehh
So one cannot simply make a fun demo?
23:58
You can get Azure for free for a month, but after that it costs money
@BenjaminGruenbaum Hey Y this no working?
document.getElementById("frame").textContent+=("test");
@BenjaminGruenbaum Right. Because it's ok to hate on new people who don't know better.
@BenjaminGruenbaum Same deal with Nodejitsu, but I don't consider that "free"
@SomeKittens yeah
@BenjaminGruenbaum I have done a few days exercise with backbone, I quite like it , do you prefer knockout over backbone?
¡No es working!
23:59
@SomeKittens It's OK to not help people who act in a way that is not constructive and do not show minimal research effort. Yes. Age is not an excuse for not searching for something in google.
document.getElementById("frame").textContent+=("test");

« first day (961 days earlier)      last day (4211 days later) »