« first day (863 days earlier)      last day (4103 days later) » 

7:00 PM
i'd say that chances of becoming a good programmer on your own are not too bigger or too smaller than becoming the same with schooling
 
@m59 On what kind of detail would you spend 50+ hours?
 
m59
Thousands struggling, sure. The rest just downright wasted.
I've spent more than that on the thing I'm trying to figure out right now.
 
I think one benefit of formal education is you learn the things you didn't know you were supposed to know
 
m59
Structure for just one little tiny part of this plugin I'm working on.
 
I want to get a comp sci degree now because it seems like it would be fun
 
7:01 PM
comp sci is no engineering
and it sounds just booooring to me
seriously.
 
well.. Im a noob with stuff like O notation
 
m59, from that issue it sounds like you actually need a tutor or just a good senior colleague :)
 
same
doesn't matter
 
something I still haven't really sat down to fully understand
 
I "understand" what it means
 
7:02 PM
Ooh, I'm not alone!
 
m59
I can make stuff happen, but that is very different from being good at it.
 
dunno how to define one, but I can understand its value
 
@userfuser so who taught you about finite state automata?
 
although for simple O(1) I know when I find one...
 
Yeah, I roughly know the Big O Notation or whatever
 
7:02 PM
@FlorianMargaine Software Engineering is a part of computer science :P
 
m59
I could just make a vimeo plugin and a separate youtube one, that doesn't mean I should. I just really don't know and there's no way to figure it out.
 
@RoelvanUden these are 2 different fields.
 
@jcolebrand I actually learned that page on university ;)
 
@userfuser page?
 
7:03 PM
*part, not page
 
@RoelvanUden comp sci has nothing to do with engineering, really. Comp sci is thinking about computers, engineering is building (programming)
you learn no design pattern in comp sci
 
So, one of the more important fundamentals to our discipline you learned at University, but you're telling people they don't need to go to University?
 
but in general my schooling didn't do too much for making me better programmer. i think mostly because i didn't have very good teachers.
 
@FlorianMargaine Software engineering is still formally a part of computer science, even if you don't agree.
 
@RoelvanUden You don't really need anything other than the implemented canvas APIs
 
7:05 PM
@AmaanCheval Regarding this, is there no cross-browser difference between the Canvas implementations? Did the browser vendors finally get things right?
 
yeah no difference.
 
Oh, yeah, luckily.
Android's browser sometimes has reflow issues, though
 
And WebGL is yet to become an official standard?
 
Where what you draw isn't completely precis
Don't know about WebGL
Looking to get into it myself
 
I'm back to lurk on account of I really need to do work things since .. ya know, I'm getting paid and all.
 
7:07 PM
@Darkyen suggested I try OpenGL first since it's documented a lot more
 
m59
I can either write crappy scripts, make some money, and be disappointed with myself for the rest of my life, or I can give up programming and look for some other career.
 
Can't you just write good stuff instead? :P
 
:? maybe thats the difference
 
m59
I'd love to write good stuff.
 
I love programming, idc if it is crap, its all a big learning experience
You can't just start off writing good stuff
my js stuff from like a year ago is shit
 
7:08 PM
Programming is fun stuff
 
m59
Again, I'm not learning anything.
 
No its not @AmaanCheval
 
After having done it for almost 2 years, I think I've finally improved to a satisfying standard
@TimeToShine Well, depends. If all you're doing is making rubbish that has to work on IE6, then probably not
 
Write crap shit and move on. You'll learn later how you could have done it better
 
m59
I won't.
Where will I learn it from?
 
7:09 PM
@m59 maybe change of change of company would help you? appling for junior position in bigger software company?
 
@m59 From experience
 
m59
lol.
 
Are you trying to talk yourself out of programming?
 
From other crap shit you'll write
 
m59
Trying to deal with my anxiety somehow.
Kinda losing it.
 
7:10 PM
I write crap every day.
 
You can't expect to be super pro without producing a big pile of crap first.
 
I need to get married to become a better programmer
 
sad world, this is.
 
@m59 Why?
 
Loltar's gun!
 
m59
7:11 PM
No, I used to write crap, and probably still will, I get that, but for some subjects, that leads to improvement. I get that.
 
@TimeToShine lol, not sure how much will that help :)
 
Marriage doesn't help.
 
0
Q: Google Chrome Resources Directory

Jacedcabout a year ago I remember making a google-styled application with JavaScript/HTML (very basic). I went back to making a similar app but started from scratch using JavaScript/HTML5/CSS3 and Python 2.7, and as a preloader I found that you can use the chrome://resources/images/throbber.svg file di...

0
Q: Google Chrome Resources Directory

Jacedcabout a year ago I remember making a google-styled application with JavaScript/HTML (very basic). I went back to making a similar app but started from scratch using JavaScript/HTML5/CSS3 and Python 2.7, and as a preloader I found that you can use the chrome://resources/images/throbber.svg file di...

 
It could
 
@FlorianMargaine nah, my daughters
 
7:12 PM
@userfuser if I get married, then I can dive deep into programming, but at the moment I work 8 hours and then come home, make dinner and that, and time flyes
I know my work mate, his wife do everything for him
and he can easily do stuff with better concentration
 
That's not a very nice thing to expect, though
 
Lol
 
that does make some sense i guess..
I wouldnt know, i work from home
 
You expect your wife to not work then?
 
...and do half of the things for my wife too lol
 
7:13 PM
@AmaanCheval some girls like to be house wife
 
@TimeToShine Are you sure you're not Indian? :p
 
@AmaanCheval am not indian LMAO, I bet you asked me that 5 times now Lol
 
m59
@Amaan Cheval Well, I write code for 40+ hours a week just for practice. I started this in January of last year. I have a wife and we want to have kids and I have humanitarian goals.... Web development could provide the income I need to help the people I want to and get my family out of a trailer.
 
I know, you just sound very Indian
 
how do I sound very indian LMAO
 
7:14 PM
@m59 Just for practice?
 
I'm not so sure spending all that time just to practice and make money is a good thing. Surely you can make more without risk by doing a normal job? :/
 
:waits with bated breath for response to TimeToThine:
 
haha
 
m59
I can't take money for this stuff when I'm aware of the weaknesses (though I am incapable of improving them).
 
@TimeToShine Well, I don't know. The expecting women to be housewives thing is kind of part of the Indian culture, and often, the way you frame sentences makes it sound like you might be Indian
 
7:16 PM
@m59 Money is in business, I never met a salaried person making big money
 
@m59 That's nice of you, I guess. You should probably get more code reviews, though
 
@TimeToShine you're not indian?!
 
Nope, I am Not Indian
someone star it please :D
 
British, apparently
 
7:17 PM
what are you, then?
 
LOl
 
m59
Just an example (maybe a little obscure), but I've had several repairmen do sub-par jobs, whether it's a car or appliance and it ended up causing us a lot of trouble over time. Software-wise, I'm not going to let my poor-performance garbage be like that.
No one reviews my stuff.
 
@m59 Code review and try to get a mentor?
 
@m59 all that sounds like you really need a junior programmer job
 
m59
So, again, How?
 
7:17 PM
Ask strangers to
 
m59
and where do I find a mentor?
 
Doesn't matter
We ask each other to review code all the time. CodeReview.SE is good too
 
m59
I tried to pay people and no one would (even on here)
 
@m59 why don;t you try this,

http://codereview.stackexchange.com/
 
Mentor, I don't know
 
m59
7:18 PM
did
as I said, no one replies.
 
Lol really
 
alright
@m59 I'm gonna be your mentor
 
I always get replies and that
 
you will suffer
 
m59
I went to the paid sites and no one would connect lol.
 
7:19 PM
@FlorianMargaine Good boy man
 
m59
suffer?
 
@m59 Link the question here. You might get more replies.
 
m59
^ been doing that too
 
@m59 Mentors are harsh :p
 
@m59 You will suffer lisp-style
 
7:19 PM
(Not saying you always will)
 
@copy heh, you read my mind
 
If I could I would get a degree.. my gf Wants to be a house wife. I think we can tell I love writing code regardless of how crappy or pointless it is.
Catching up on earlier convoys ^
 
m59
If you're actually willing to look at it, I think any of you could answer this in 10 seconds (might take less than 5 minutes to completely understand the flow of the script).
 
@rlemon Why do you want the degree? More money?
 
m59
And I've spent 50 freakin hours on it :(
 
7:20 PM
@m59 Sure, show us
 
@m59 then show the effin code instead of talking about it
 
@Amaan interest mostly
 
@AmaanCheval You can't get a good job without a degree
 
I can't now due to money
 
post it on pastebin if it's a big pill of mud, or jsfiddle, or the codereview link, or whatever
just give the fucking code
 
7:21 PM
@TimeToShine @rlemon did
 
But making more isn't a primary concern
 
wth... google plus suspended my doctor who page...
 
Loktar as well.
 
@AmaanCheval In Uk, degree is must these days to get a good job
 
7:21 PM
With the government :P
@TimeToShine Define "good job"
 
Oh don't even talk about Government
 
m59
I haven't named the namespace....
 
I've had multiple jobs without a degree.
 
m59
Let me link the whole script too
 
@AmaanCheval To be honest, I didn't came across any job that ain't demanding degree in uk for last few years
 
7:22 PM
@m59 For starters, you're using $, but you haven't included jQuery
 
i never got a job with a degree
well, i may have the last one lol
 
m59
that's just a piece lol
It's a jquery plugin
 
@TimeToShine Are you including freelance jobs?
 
Getting the interview is the tough part. Once you can talk to someone its all based on what you know. If you know shit you won't get the job
 
Nope
 
7:23 PM
@m59 Oh, cool :p
!!s/you know/you don't know/
 
@AmaanCheval Command you does not exist.
@AmaanCheval Getting the interview is the tough part. Once you can talk to someone its all based on what you don't know. If you know shit you won't get the job (source)
 
They demand a degree in the offer for all my positions as well. Its moreso a general thing to require
 
Pfft, never mind. If you don't know shit*
 
@AmaanCheval @FlorianMargaine I am pakistani, but living in Uk now for a long time
 
@TimeToShine THAT'S WHY
 
7:24 PM
after they see experience and knowledge its a non issue
 
@m59 it seems weird to handle cache on client side...
and gotta eat, cya
 
m59
Client side?
 
@m59 Front-end
 
m59
It's stored on the server
 
@rlemon I came across so many jobs I would call dream jobs, but I couldn't get because of my Visa, really piss taking
where's everyone gone :L
 
7:27 PM
That I cannot comment on. No experience with working in other countries aside from consulting.
 
@m59 This doesn't seem difficult at all
 
m59
I know a ton of ways to deal with it
 
You just need a bunch of conditionals
 
And for consulting you just get a letter of invite and you are often fine.
 
I wanna be a SharePoint consultant,
 
m59
7:27 PM
Conditionals make absolutely no sense with the structure I have.
 
m59
Almost got the whole script ready...
 
But consulting jobs are like a few days to a couple weeks at a time.
I love consulting jobs. Twice the pay and you don't write a single line of code.
 
@m59 How does one use those functions?
 
@twiz uhh, i like those scripts that take whole CPU to run :)
 
m59
7:29 PM
jsfiddle is running VERY slow
 
while(1){}
 
@userfuser haha yea, but its still a pretty cool effect
 
m59
Doesn't work there, for obvious reasons. It won't load the youtube api anyway
 
Braces are for style...
 
m59
7:30 PM
But the thumbs object is awesome
 
@rlemon true, it is.
 
m59
It accepts as many youtube feeds as you want, pulls them all, makes a menu for each list, makes the thumbs, etc, has good control over the player, etc.
It works VERY well.
and fast
 
@twiz true, it is.
 
I wanna make a twitter account that just tweets the digits of pi sequentially
 
except now my webcam is stuck on even though I closed the tab....
 
7:31 PM
Same here
 
m59
Now...I want vimeo support. So the many many questions. Do I extend it (as I'm trying to do now), do I make a totally different plugin, do I overwrite the functions totally, do I extract a ton of pieces into more functions!? I just don't know.
 
Depends on the overlap
From the fiddle it looks like only the 3 lines need to be changed
In that case, I think you should just extend it to support both
 
m59
On that part, yes.
 
If its a jquery plugin include the kitchen sink.. jquery users LOVE LoC
 
m59
So, should there be a base object that does neither, or did I choose right in having the base have a default support of youtube?
 
7:33 PM
If Vimeo support would require different code, I'd say you should make another plugin for Vimeo, and then one that combines the two
 
m59
But 75% of the code is the same.
Or more.
 
Extend it then
But I get what you're thinking
It would be kind of ugly to have conditions for everything that needs to be changed
But that's the most sensible way
 
m59
Ok, so we have this:
 
You don't want to be repeating code when it isn't needed
 
m59
var tryServer = function() {
				$.ajax({
					type: 'GET',
					url: feedUrl,
					dataType: 'jsonp',
					success: function(response) {
					console.log(response);
						if (!response.error) {
							var feedList = object.return_feedList(response, optList);
							var feedVideos = object.return_feedVideos(response, optList.type, options.thumbQuality);
							var feed = {'list':feedList, 'videos':feedVideos};
							if (options.caching) { cacheFeed(feed); }
							options.thumbCount = feed.videos.length; //update thumbCount to actual count from feed
Let me show you the most reasonable thing I can think of (that also sucks...)
 
7:36 PM
If the code is repeated more than once it should probably be in a function
code blocks*
Sorry, f editing in mobile interface.
 
m59
well, maybe not totally bad...
dataType: this.dataType,
$(error).text(this.serviceName+' is not responding.<br>The video feed could not be loaded.');
Do a ton of that junk?
So I can overwrite the parts I need?
 
Yeah
 
m59
That's what my first though was, but I got all uptight about it because it's adding more bulk to my already awesome (I hope) youtube plugin
But is that kind of bulk very trivial?
 
Isn't really bulk
At least I don't think so
 
m59
Like 30 lines of namespace.object.prototype.prop = 'prop';
and a few extra functions...
but yeah, I guess that's light.
 
7:41 PM
Wait, why do you need it to be on the prototype?
 
m59
Constructor pattern.
Or wait...
oh it can be private if I take it off, right?
 
I read the chatroom description very, very wrong...
duck was not duck
 
m59
Since it doesn't need to be inherited?
 
Yeah
 
hhmmm apparently I have AVG installed.... but thankfully Chrome is smart enough to automatically disable the AVG extension when chrome upgrades. haha
 
m59
7:43 PM
Yeah, that's right.
Can you imagine spending 50 hours on something this stupid?
 
@canon no one wants to fight one of those either.
I think....
 
m59
I don't want to be that dude whose code @rlemon looks at and facepalms.
 
@twiz lol
 
@m59 We don't really look down at code if we know someone is trying to learn
 
m59
Well, I appreciate that :)
 
7:45 PM
The general frustration in here comes from people who think jQuery is a language, and are too stubborn to listen to us when we tell them to learn JavaScript
 
m59
lol
I don't like having to use jQuery anymore, but I think it's reasonable to.
 
can anyone help me out with a question ... its super easy and seems rather silly
0
Q: html dynamically from require.js text! plugin

n1zeroi'm trying to do a simple function where I get the string of a text! imported html file currently its returning the function. how do i get it to return the text ? this is within the initialize function of a backbone view. this.options.template = req(['text!tpl/snippet/'+this.option.curre...

 
Reasonable, yeah. I don't like people who include jQuery for trivial matters
 
m59
Considering the likelihood of it already be loaded on a site or cached client side....it's better than writing my own functions to handle things that it does very well.
 
@AmaanCheval I think someone needs to write a jquery "plugin" that disables jquery. Then you can just tell people to use that plugin.
 
7:47 PM
@m59 the earth trembleth...
 
@twiz Hahaha
 
m59
lol
 
its sooooooooooooooooooooo cold :L
 
I'm taking a course on AI
They're using Python
I dislike not having braces :/
 
@AmaanCheval seconded
 
7:49 PM
@TimeToShine Its a nice day where I am, its actually above freezing today.
 
Lol really
where you from @twiz
 
jsfiddle is such a shit stew :/
 
@TimeToShine Pennsylvania, US
 
I stopped using JSFiddle since they updated the site
 
m59
@n1zero I'm not great at this yet, but it looks to me like you're trying to use a function without the () and/or the function doesn't return the information you want it to.
Could you post the functions, also?
 
7:50 PM
@twiz lucky you, in uk for past few days its freezing cold
 
@TimeToShine Where in UK are you?
 
London
wbu
 
Ah, London
I'm in India
 
m59
@n1zero actually, that code is really confusing altogether.
 
ahh, I might go back to pakistan, I had enough of living in London
then might go to canada
 
7:52 PM
@TimeToShine Do you get a lot of snow there?
 
Nope no snow this time, just freezing cold
dunno why though
 
@TimeToShine Why?
 
m59
@AmaanCheval thanks so much for helping me get on track. I'm still afraid of hitting an impassable wall... I mean, what if you hadn't given me that advice, ya know?
 
@AmaanCheval I am tired of busy life style, I can't do anything properly
 
m59
anyway, about the caching, a plugin dev advised me to approach it that way
 
7:53 PM
I have to cook, work, chill, and all other things, don't have time for myself at all
 
m59
I ajax the info to a file and pull it from there if it is new enough. Is this bad?
 
@twiz hows life in US
 
@TimeToShine haha that's a fairly broad question...
 
@m59 I haven't actually looked at that part, yet
Let me see
@m59 No problem
 
but I'm in the middle of nowhere and its cold and boring
 
7:56 PM
@TimeToShine Everyone has to o.O
I mean, adults, at least :P
@m59 What info is this?
 
m59
@AmaanCheval youtube feeds
 
@AmaanCheval well you don't necessarily have to cook or chill ha
 
@AmaanCheval if I was in pakistan, I had a made or someone else cooking for me and I would just do programming programming and thats it
 
@TimeToShine Clearly, you don't like independence
@m59 Why aren't you just getting it from YouTube?
 
m59
It's actually faster doing it this way.
quite a bit.
 
7:58 PM
Brilliant
Isn't bad then
It works, right?
 
m59
Ohhh and another reason
Yeah
 
The cache does it right and everything?
 
m59
Yep.
 
What's the other reason?
 
m59
It's two-fold. I'm caching the responses from youtube (saves on request time there) but I also process them first (strip out some stuff, add some stuff, get it ready for the work) and that is cached too
 

« first day (863 days earlier)      last day (4103 days later) »