« first day (1675 days earlier)      last day (3289 days later) » 

3:00 PM
I got it yesterday and I'm a level 9 warlock
Any other games I should get? I'm on a roll lol
 
I haven't paid really close attention to xbox ones releases, but for cross platform games, Shadow of Mordor is really fun
Deadrising 3 is supposed to be pretty good, that was a launch title for the xbox one
 
Oh yeah? the commercials for Shadow of Mordor looked pretty cool
Is it multi-player?
 
yeah that is a fantastic game
 
shadow of mordor is fun
 
no not multiplayer
Battlefied 4 is though
 
3:03 PM
didn't destiny suck ass?
didn't get it due to every other review I read said it's horrible
 
router.post('/reset',function(req,res){
	var sendResponse = function sendResponse(err,email)
	{
		if(!err)
			return res.json({
				message:'An email has been sent to '+email+' with further instructions.'
			});
	}
	var email = req.body.email;
	resetEmail(email,sendResponse);
});
 
oh and Call of Duty Advanced Warfare
 
wow... so...
 
I <3 that game
 
today I learnt that tmrDevelops is 37
 
3:04 PM
Are there any disadvantages of using a closure to wrap req and res?
 
and has been coding for over 20 years...
 
@vamsiampolu Closure?
 
@towc really?
 
I have advanced warfare!
It's insane
 
@Loktar getting the witcher tomorrow?
 
3:05 PM
@Kitler nah
 
I m gonna wait on some reviews
 
I wanted to, but I only played witcher 2 for like an hour
 
Although the boost jumping makes sniping nearly impossible
 
so Ill just wait until witcher 3 is $20 or 30
 
ah pc
 
3:05 PM
@towc and ? Is there something surprising here ?
 
but when I do buy it, Im buying it on gog
 
@Loktar yeah. Thinking that I tried to give her code advice a few times just makes me ashamed of myself
sorry for the edits...
my brain is still confused
 
@towc meh don't be ashamed
 
@vamsiampolu example?
 
@Zirak has a great quote about playing a piano for 20 years that could be relevant
 
3:07 PM
@towc I'm much older, I've coded for a longer time, and I still take useful code advises. Age isn't relevant.
 
He's got magic fingers?!
 
Jan 16 '14 at 21:49, by Benjamin Gruenbaum
'I can play "Mary Had a Little Lamb" every day for 20 years but that won't make me a great pianist' :D
 
Piano is very difficult
 
@dystroy no, the point is that I thought she was 20 and started coding after I did
 
tickle the ol' ivories
 
3:08 PM
var sendResetEmail = function sendResetEmail(email,sendResponse){

	var onUserFound = function onUserFound(err,user)
	{
		var createToken = function createToken(err,buf){
			var sendEmail = function sendEmail(token){
				var mailOptions = {
					from:'vamsiampolu <vamsideepak03@gmail.com>',
					to:'you <'+email+'>',
					subject:'Password Reset Confirmation',
					text:'You are recieving this because you or someone else requested a password reset on your account.\n'+
					'In order to reset your password,please click on this link or paste into the browser:\n\n'+
i am using the function in sendResetEmail which is used in resetEmail.
 
ok. i see nothing wrong with it in principal.
promises would be more composable, but that's a diversion
 
Star this if you have ever written: console.log('ding')
 
@RoelvanUden Would have definitely bought on the spot if it had a linux version.
 
Star this if you have ever written: console.log('test')
 
never 'ding' but I abuse the shit out of console.log
 
3:12 PM
Star this if you want people to stop abusing stars
 
@Loktar Let's not do that.
 
Oh nos!
Someone may star something.
 
@Shmiddty The developer wrote console.log('ding'). You won't believe what happened afterwards! star for full story
 
haha
 
3:13 PM
@GNi33 His colleagues hate him!
 
@Shmiddty I starred yours out of pity for the rooms attitude.
 
:D
@MadaraUchiha i'm so sorry
 
@Loktar I would star yours again, but I can't.
 
wow really, someone is going to be a baby?
Someone should maybe see the doctor about the stick.
 
3:15 PM
@Loktar They like it there. It's their fetish.
 
haha
 
To be fair I recently used console.log("ping") but that was for an interval ajax call and I was logging lots of return data lol
 
yeah its a good thing I guess, we may have pushed things off such as
15 hours ago, by monners
JSX all the way
I mean, thats super star worthy.
<- is the one who starred that actually.
 
omg lol
 
has made its rounds on reddit, but is interesting, for anyone who hasn't seen it yet.
 
3:19 PM
@Loktar I've read that. It's not really the algorithms , more what they're about
 
yeah thats a good point
I just copied the page title
but yeah it basically just explains what they do in laymen terms
 
3:32 PM
Hi guys. Can anyone give me a new idea what to look for when a webapplication (mostly JS) works everywhere but in IE9? We've tried a lot of different approaches and nothing worked. There are no error messages, all files are loaded without problems...but it looks like the code just isn't executing. Do you have any experience with debugging something like this? I don't know where to continue...
 
@TillHelge look at jQuery
 
Hi
 
@JanDvorak We already use jQuery for a lot of things, especially AJAX calls.
 
@TillHelge ie9 should be able to tell you if the code has an error. try hitting f12 to bring up the console
it might be different in 9, i forgot
 
in IE8 it's F12
 
3:36 PM
@Luggage No errors there. None at all. That's the confusing thing. With the tools available in IE9 I can't pinpoint a reason for why it's not working.
 
are you sure it's JS no running?
check for console.log()s
they fail silently on ie9 fi the console isn't open when the page laods
so you never see an error, thigns just stop
 
HAMMERTIME!
 
^
 
I reloaded the page over and over again with the opened console, so I could see the network activity.
 
hm
 
3:38 PM
I expected there to be a problem with the fact that we load JS from a S3 bucket.
 
tell your users to use Chrome
 
But there are no errors in the console or failed connections in the network monitor.
 
gonna have ot get your hands dirty and add some console.logs to find out how far it's getting, maybe.
 
S3 bucket is not a CDN though
 
Most of the users do use something reasonable...but the client insists on IE9... ("we can't install other browsers...bla bla")
 
3:39 PM
they hate security
 
This stuff really can ruin your week.
 
is this an invalid selector? '#sidebar < .content.scroll-overflow'
 
@corvid Yes
 
how do you select parents?
 
@corvid You don't.
 
3:50 PM
You don't
 
0
A: Adding CSRFToken to Ajax request

Chemical ProgrammerHere is code that I used to prevent CSRF token problem when sending POST request with ajax $(document).ready(function(){ function getCookie(c_name) { if(document.cookie.length > 0) { c_start = document.cookie.indexOf(c_name + "="); if(c_start != -1) { ...

just for my understanding... doesn't storing the CSRF - token in a cookie make it basically absolutely useless?
 
it does
 
Bah this framework makes things difficult then because it generates the HTML
 
@JanDvorak thanks
 
@corvid jQuery has :has()
 
3:56 PM
which framework?
Anyone have an html text editing component they'd like to recommend? I'm using summernote at the moment. it's OK: github.com/summernote/summernote
 
@Luggage Ionic framework, with meteoric-ionic on top of it
 
ah.
so many frameworks i can't keep up with.
coffee -> es6 conversion is tedious.
 
JavaScript doth overflow with superfluous frameworks
 
@Luggage coffee > js > es6 is easier
 
is it? does it mangle the code too much?
 
4:02 PM
you still need to keep an eye on the output, we're in the middle of migrating an old app from coffee to es6
first step was coffee to js
 
what es6 to es6 converter are you using?
 
So far it's a smooth transition
No converter doing it manually since we're moving from ember-app-kit to ember-cli
 
ah. manual coffee to es6 isn't that bad since i'm trying to keep all my 'classes'
i won't want to go to plain JS and lose that
 
ah
 
coffee to es6 transpile would be a nice interesting project
but.. meh. don''t have the time. I'll just convert individuals files when I feel like.
I'm already missing some coffee :(
 
4:05 PM
What's the benefit of coffeescript?
 
@corvid you don't type as much
 
@corvid Some people like the syntax better
 
it's just a differnt syntax. you love it or hate it
 
@ssube Wrong problem to solve IMHO
 
so it is to javascript as jade is to html?
 
4:05 PM
We had to make time in between sprints, it's our own product needed a maintenance run for ~6 months now
 
@MadaraUchiha yup
 
you can use whitespace to indicate blocks instead of {}'s that the biggest difference
 
@corvid Yes
Pretty much
 
exactly.. very jade-like
 
never really liked coffee
gimme my ; and {}
 
4:06 PM
@Kitler At least you have sprints
 
i use jade, too, in my project :)
 
I see everyone use coffee nowadays and doesn't seem like such a huge difference
 
@Luggage Jade, again, solves the wrong problem.
There's little to none that the jade syntax does better than the HTML syntax.
 
<complaint>Bad process</complaint>
 
@corvid where do you see that
I was under the impression that coffee is slowly dying out
 
4:07 PM
@corvid Just write ES6 and transpile with babel.
You'll thank us later.
 
forced indentation keeps my code clean and writing .someClass is a lote cleaner looking than <div class="someClass"></div>
 
@ShotgunNinja agile has it's ups and downs
 
but i could drop jade and not miss it like I do coffeescript
 
@Kitler True, but at least it's something; my company doesn't use a formal process at all.
 
downs being it's usually oriented around what the client sees and not code quality
 
4:08 PM
@corvid I agree, just go es6. And I LIKE coffeescript. It's just not a useful now that es6 sovles some of the same issues coffee does.
 
@Luggage I just have an IDE that supports Emmett.
 
@MadaraUchiha I think he meant the visual representation
 
.someClass TAB - BOOM. <div class="someClass">|</div>
 
Most of our code is in maintenance, but we never refactor.
 
Emmet is essential for html
 
4:09 PM
Hey guys !
 
@ShotgunNinja That's something you should push to change.
 
Better code == easier maintenance == shorter maintenance == cheaper maintenance
 
@MadaraUchiha , u mean div.someClass*
 
@AlexanderSolonik Nope. .someClass will put up a div by default.
Give it a try.
 
4:10 PM
@MadaraUchiha The problem is that we haven't done major refactors of stuff unless we've had to, since like 2003
 
1 min ago, by Madara Uchiha
@ShotgunNinja That's something you should push to change.
Influence the developers around you, influence management as a group
 
I've been here since October 2012, and nothing's gotten better despite my frequent pushes.
 
Push the "it will be cheaper if we gradually improve our code" mantra.
Not the "I'm cranky because our code sucks, we have to improve it bcuz" mantra.
 
I've tried both approaches
 
Also, don't be the only one pushing, you'll be seen as that annoying one guy who complains all the time
 
4:12 PM
And then proceed by stabbing one of the team leaders while wispering "The javascript room sends it's regards"
 
Convince others, and push together.
 
Honestly, it'll be a better use of my time if I just find a better job.
 
@Kitler LOL
 
@ShotgunNinja Also a solid option.
Look for one with a high Joel score
 
and free snacks
 
4:13 PM
JOEL score ?
 
I'm well aware of the Joel test
I've found one that's a solid 10 or 11
The only problem is, I don't have the full-time experience or enough knowledge of the tools and process they use
 
what kind of tools do you want to learn to use?
 
They ask for 3, I've only been out of college for a year. I've had about 3 years of internship work, though.
 
guys one quick question
$(window).on('load', function () {
}
is the above any different from
$(document).ready(function(){
});
 
@Kitler Well, they use Spring and Git, and I'm fairly certain they use some ORM as well
I sent off my current resume and a cover letter to them already, but I noted that I'm not yet qualified in the ways they request.
 
4:16 PM
@AlexanderSolonik First is the window.load event, second is the DOMContentReady event
Basically, latter is when DOM is ready (no images or other resources loaded), former is when everything finished loading.
 
what's stopping you from learning how to use git?
 
Thanks !
 
@ShotgunNinja Git's basics are very easy to learn
 
http://www.commitstrip.com/en/2015/05/18/im-missing-video-games/
CommitStrip - Blog relating the daily life of web agencies developers
I’m missing video games
CommitStrip
1431965865
 
<que my Gitting Better video>
 
4:18 PM
@Kitler Honestly, lack of necessity. I've used Mercurial, SVN, and some old Windows VCS, but I haven't had an excuse to use Git regularly.
 
Git's basics are very easy to understand.. but sometimes seem crzy until it clicks.
 
My current company uses CVS.
 
Egad.
 
dayum
thats old school
 
git status, git add, git reset and git push will already make you go a long way
 
4:18 PM
It gets worse.
 
cvs can work, though.
 
The CVS repo is on a Win2k beige box in the corner.
 
but really, jsut move to svn. it's like the same but better
 
It literally takes 10 minutes to sync a shared project.
 
4:19 PM
@Feeds mother of overused topic
 
@Kitler link him to my git video
@ShotgunNinja if you have questions about it, ping me
ttyl
 
i converted an svn report to git to trry it it. it took less time to do a full clone than a normal svn 'update'
 
and the .git folder was still smaller than the working copy .svn folder in spite of it containing the entire history
 
Thanks; I'll check it out later.
 
4:21 PM
I personally feel two stage commit is the biggest win with Git
 
git is Linus' real contribution to society
 
I've used Mercurial before; I know Git and Hg are pretty close.
 
@ivarni 2 stage commit?
 
yea, they are.
 
I just need to spend a little time picking up on Git.
 
4:22 PM
@GNi33 You commit local, and then later push to origin
 
they use different terms but are supposedly very similar in use and implementation
 
oh, of course
yep
 
I was spoiled in college to be able to use Jenkins, but every job I've had since then has been horrible by comparison.
Of the two I've had since that point, the first was an internship where I basically was project lead for a team of three interns. The boss had absolutely no idea what he wanted from the software, and requirements were never formalized until I opened up a Word document and started typing.
That first internship was awful. There was no software development (other than embedded C) going on in the company until that point; the project was being developed by a contractor who lived in a different timezone.
 
@Luggage :D IMHO, git is one of the rare software which people don't have rants about.
 
ohh, people rant
 
4:26 PM
No management, no software process, no infrastructure, nothing. I had to ask the shop floor guys to let me use the Ethernet cable so I could deploy code onto a test unit.
 
Never heard people bitch about git's cli?
 
The project was half C#, and half Flex/Flash/AS3.
 
@ShotgunNinja then that's your job. introduce some organization and structure
setup a build server, etc.
 
What I don't get is people that have little to no understanding of git calling it shit because they are too stupid to use it
 
I managed to whip that project into shape and get some sort of organization in place, before I just got tired of the boss being a moron and asking for ridiculous things.
 
4:27 PM
or subscribe to a 3rd party one of that's allowed
 
The quote from him was "Can you make the program work on my Android phone? I'm leaving for a conference today and I want to demo it to some shareholders"
 
@ShotgunNinja you can :P
 
I never called it 'shit' but I went through a phase of 'not getting' git.
then a little weed and the git internals page and I was good.
 
all it takes is manifest.json and some crying
 
@Kitler they can freely use git gui clients :)
 
4:28 PM
@Kitler Yeah, with maybe a week or two of notice...
 
@AwalGarg yup they can but they choose to complain about the cli nonetheless :P
 
@Kitler oh, those "rants" don't matter then.
 
a surprising amount of devs don't use the CLI when they can avoid it
 
It was never stated that he would want the Flex UI to be cross-compiled for Android.
 
> This thing is stupid because it doesn't have feature X.
> A: It does. See here.
> Ok. But it is stupid.
 
4:30 PM
!!s/use the CLI/write code/
 
@ssube a surprising amount of devs don't write code when they can avoid it (source)
 
we call them... consultants
 
I'm offended
ok, I'm over it.
 
I just had a haircut. I always feel way more productive after having haircuts.
 
so.. barber-coffee-shops wher you can work while having your haircut..
 
4:33 PM
@Luggage actually I am jealous of you. You have no hair. I wish I didn't have hair, they just feel like burden to me.
@ssube doesn't have hair either. so lucky.
 
@AwalGarg I have plenty of hair
 
@ssube I don't see any :/
wait, that's not your real pic?
 
Not that kind of hair
 
I don't like where this is going
 
@copy ...
 
4:36 PM
I don't have any hair but I briefly though "how does he know what I look like??" when @AwalGarg said that.
 
@Luggage your gravatar?
 
I have hair, but I actually am green.
 
right..
my cartoon pic is pretty accurate.
 
yeah you don't look like a luggage at all, you know
 
There was an accident on the set of Sin City and, after years of surgery, I ended up green and good at coding.
 
4:39 PM
@ssube Have you tried to reproduce that?
 
Generally I try not to reproduce. It causes problems at work, but saves me a lot in child support payments.
 
Quick question, if I have an app pushed to heroku, create a new repo and set that same app as remote and then force push, will it be painful?
 
no more reproducing for him
 
@ivarni if it's a new repo, you don't need to force push. Just push.
 
it sound like he means to overwrite the published code at heroku with new code
 
4:41 PM
cool, already set up DNS stuff and don't want to do it again, but at the same time restarting the codebase after a spike
@Luggage yes
 
git init
git remote add heroku <existing heroku url>
git push heroku -f
# bye bye code
 
Yep, that's exactly what I want to do, I just don't want heroku to shit itself when I do it :)
 
!!xkcd reproduce
 
no idea if it will. depends if it handles checking out an orphan branch
 
4:44 PM
@SomeKittens lmao
 
@Luggage oh okay, I guess I'll know soon then
Worst case I have to setup DNS and logging again
after deleting the app
 
@Luggage Git is better than SVN in every concievable measurement.
 
I never said otherwise.
 
TIL, open-quote
 
svn makes me sad
 
4:53 PM
I prefer git, but SVN is perfectly fine as long as you avoid tree conflicts at all costs
 
I like Git a lot, but git-man-page-generator.lokaltog.net is still hilarious
 
@Luggage not really
 
Hello everyone, I've some trouble figuring out an event for this javascript project of mine... Someone who knows javascript well and has some time to help me out? :)
 
@Kryptonous 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.
 
the SVN workflow is pretty brittle
not having a server is kind of bad for non-distributed VCS
 
4:56 PM
in a corporate setting svn was a good fit for us for years. i wanted to convert to git, though
 
Sounds legit
 
better english than most americans
 
@Luggage hahaha :D
 
@ziGi bank account number?
 
who has a bank account these days?
 
4:59 PM
@ssube What ? Are bank accounts out ?
 
All my money is in dogecoin
 
I think that most people who have a bank accounts have bank accounts
not sure
 
just use a google bit-cloud electronic wallet pal
 

« first day (1675 days earlier)      last day (3289 days later) »