Open Side Menu Go to the Top
Register
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

02-27-2014 , 02:58 PM
I don't know about anyone else but if I'm tasked to work on legacy code full of useless comments I just rage delete them.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 03:42 PM
Quote:
Originally Posted by suzzer99
Yeah I have a degree in physics, and other than a couple community college classes I'm self-taught at programming. So I definitely missed all the CS theory. I don't think it slows me down at my job – but I would like to know all that stuff.
A couple of those new free online classes would get you 90% of the way there.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 04:34 PM
Quote:
Originally Posted by maxtower
A couple of those new free online classes would get you 90% of the way there.
Any recommendations?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 05:03 PM
I have mostly only taken the more practical courses at coursera, but they have a whole section on theory.

https://www.coursera.org/courses?ord...cats=cs-theory

There's new offerings every semester it seems. Try an algorithms class.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 05:11 PM
I've heard great things about the Sedwich courses. The MIT OCW class will get you 110% there.

Both of the books are pretty good, but I prefer CLRS much more.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 05:22 PM
Quote:
Originally Posted by suzzer99
Yeah I have a degree in physics, and other than a couple community college classes I'm self-taught at programming. So I definitely missed all the CS theory. I don't think it slows me down at my job – but I would like to know all that stuff.
I've heard good things about this book

http://www.amazon.com/Understanding-...dp/1449329276/
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 05:34 PM
Quote:
Originally Posted by maxtower
I have mostly only taken the more practical courses at coursera, but they have a whole section on theory.

https://www.coursera.org/courses?ord...cats=cs-theory

There's new offerings every semester it seems. Try an algorithms class.
I liked coursera more when you could access all of a classes videos after the course was over. Now when they reboot a class they close off access to the last one even if you were enrolled. I'm guessing it might be because theyre trying to monetize and have paid for certificates now & want to make it less easy to cheat.

The 'view course record' button is still present on some pages but they set it to disabled. I actually used dev tools to remove the disabled attr and it worked on https://www.coursera.org/course/algs4partII But the trick won't work on the first sedgewick algo course which sucks because I wanted to review red black trees but now have to wait a month.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 05:48 PM
Quote:
Originally Posted by e i pi
I liked coursera more when you could access all of a classes videos after the course was over. Now when they reboot a class they close off access to the last one even if you were enrolled. I'm guessing it might be because theyre trying to monetize and have paid for certificates now & want to make it less easy to cheat.

The 'view course record' button is still present on some pages but they set it to disabled. I actually used dev tools to remove the disabled attr and it worked on https://www.coursera.org/course/algs4partII But the trick won't work on the first sedgewick algo course which sucks because I wanted to review red black trees but now have to wait a month.
I am a coursera novice, but I think I can access the videos for classes I already signed up for when they were offered. I think the dominant strategy here is to just sign up for anything you might want to take.

The certificates seem worthless, but I guess people are in to them.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 06:06 PM
Quote:
Originally Posted by PJo336
Code:
for( int i = 0; i < decisionList.size(); i++) {
	makeDecision(decisionList.get(i), theres, 9, params,
                            in, this, function, which, sucks);
}
..

private void makeDecision(Object obj , theres, 9, 
                              params, in, this, function, 
                              which, sucks) {
	if obj == blah {
		delete();
	} else {
		update();
	}
}
Quote:
Originally Posted by jjshabado
I'm still not sure if I understand your problem correctly, but as I understand it I think I would do something like:

Code:
private void deleteOrUpdateList(decisionList, ...) {
  toDeleteList = new List()
  toUpdateList = new List()

  for( int i = 0; i < decisionList.size(); i++) {
    obj = decisionList.get(i)
    if (shouldBeDeleted(obj,...)) {
      toDeleteList.append(obj)
    } else {
      toUpdateList.append(obj)
    }
  }
  //Go through and call your delete/update methods
}

private bool shouldBeDeleted(Object obj, ...) {
   return <delete check>;
}
I like jjshabado's suggestion and the advice that follows it, especially regarding naming. The only comment I have is that if you were to use the above solution, also consider refactoring the existing method so that it uses shouldBeDeleted() instead of duplicating the delete check logic.

Code:
private void makeDecision(Object obj , theres, 9, 
                              params, in, this, function, 
                              which, sucks) {
	if shouldBeDeleted(obj, ...) {
		delete();
	} else {
		update();
	}
}
That way, if the delete check logic ever changes you don't have to worry about it being updated in one place and not the other.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 06:28 PM
Quote:
Originally Posted by maxtower
I am a coursera novice, but I think I can access the videos for classes I already signed up for when they were offered. I think the dominant strategy here is to just sign up for anything you might want to take.
Can anyone get into the archives for this?

https://www.coursera.org/course/algs4partI

I got into the archives for part II and guessed the url for the 1st course to be https://class.coursera.org/algs4partI-002 which seems right but theres an error and no content. This will redirect you to the main page if you're not signed in but takes me to the course page but without the content.

I was signed up for this btw, so that isn't the issue.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 07:14 PM
The MOOCs are good for the basics, but (and I haven't looked much) I haven't seen any good architecture/OS classes.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 08:01 PM
When I took cs50 I talked to a TA for a bit.

He recommended this book for learning the low level gory details:
http://www.amazon.com/Computer-Syste.../dp/B008VIXMWQ

I would imagine something like this book (or similar) would be a pre-req for any OS class. The author taught computer architecture courses for many years and I vaguely remember the TA saying this was one of the best computer books he's ever read.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 08:10 PM
Quote:
Originally Posted by jjshabado
If I understand correctly, his makeDecision implementation needs to change because he wants all the updates/deletes done at the end instead of immediately after each decision is made.
I thought he may have other call sites where he doesn't want this change applied. You may be correct that he needs this change everywhere but definitely not clear from what he's said so far.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 08:12 PM
I've still yet to read it, this was highly recommended somwhere before: Code: The Hidden Language of Computer Hardware and Software by Charles Petzold

http://www.amazon.co.uk/Code-Languag.../dp/0735611319
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 08:17 PM
Quote:
Originally Posted by suzzer99
Yeah I have a degree in physics, and other than a couple community college classes I'm self-taught at programming. So I definitely missed all the CS theory. I don't think it slows me down at my job – but I would like to know all that stuff.
Yeah, makes sense, you may even be the type to be able to use that knowledge too. My impression is that 90+% of the CS grads are completely unable to connect the theory they learned in school beyond intro-level to the real-world work they do, even in situations where such knowledge is helpful, leaving them no better off than people who completely skipped it.

In the middle of my first (company-sponsored) hackathon, very interesting.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 09:28 PM
Quote:
Originally Posted by _dave_
I've still yet to read it, this was highly recommended somwhere before: Code: The Hidden Language of Computer Hardware and Software by Charles Petzold

http://www.amazon.co.uk/Code-Languag.../dp/0735611319
It's a decent read but slightly overrated imo

Since someone mentioned OS...I can recommend reading and working through "The Elements of Computing Systems" which basically walks you from lowest level (you have a nand...design other logic gates etc.) all the way up to building an OS and eventually an application on top of it (Tetris). I haven't completely worked through it all but I've read the entire book.
Work through it+modify etc. is medium high on my "todo if time" list.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 09:31 PM
Quote:
Originally Posted by Shoe Lace
When I took cs50 I talked to a TA for a bit.

He recommended this book for learning the low level gory details:
http://www.amazon.com/Computer-Syste.../dp/B008VIXMWQ

I would imagine something like this book (or similar) would be a pre-req for any OS class. The author taught computer architecture courses for many years and I vaguely remember the TA saying this was one of the best computer books he's ever read.
That's a great book. I took the follow-up course to cs50 (paid for it via their online extension program), and that was the textbook. I found it quite difficult since I was new to C and fairly new to pointers, memory addresses, heap/stack, etc, but in the end am very happy I learned the material.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 10:50 PM
For the more budget-minded, I'd suggest this book. Covers x86, the history, the why, and the how. Very thorough treatment of assembly, registers, and memory: http://www.amazon.com/Assembly-Langu...ileys+assembly
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 10:52 PM
Quote:
Originally Posted by e i pi
Can anyone get into the archives for this?

https://www.coursera.org/course/algs4partI

I got into the archives for part II and guessed the url for the 1st course to be https://class.coursera.org/algs4partI-002 which seems right but theres an error and no content. This will redirect you to the main page if you're not signed in but takes me to the course page but without the content.

I was signed up for this btw, so that isn't the issue.
I think most courses leave the archive online after they are over, but it depends on the university / instructor. AFAIK all the Princeton classes take the archives offline after the course is over. This is a pretty bad practice IMO.

The Sedgewick algorithms classes are very good, they go into a lot of implementation details that are useful. Most of his book and code is available online: http://algs4.cs.princeton.edu/code/

Another really good option is Roughgarden's Algorithms. That one focuses more on algorithmic thinking, not so much on implementation.
https://www.coursera.org/course/algo

Both run regularly (about 2x /year).
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 11:19 PM
have you taken the MIT algorithm course? i'm curious how it compares to the stanford and princeton ones? i don't know if it runs like the others but all the materials are online so you can take it at any time.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 11:46 PM
Life Dilemma..

I am a Jr Web Dev(C#,HTML,CSS,JS) w/ 18 months on the job(36k), I started out pretty fresh but I have improved a lot over the 18 months. I want to possibly try something more challenging in the same field, but it doesn't look as if any opportunities for a promotion/raise will arise in my company anytime soon.

So I'm thinking of two plans to get a new job..
A)Grind out current job, work on a new portfolo, poker p/t on the side while looking for new job
B)Leave my current job, work on a new portfolio, and play poker 40hrs/week ~(grind out 5-8k a month) until I find a new job

Would a few months off look bad on a resume if I were to do plan B?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-27-2014 , 11:58 PM
Quote:
Originally Posted by jaytorr
Another really good option is Roughgarden's Algorithms. That one focuses more on algorithmic thinking, not so much on implementation.
https://www.coursera.org/course/algo
I went through some of this as a refresher, highly recommended
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-28-2014 , 12:21 AM
tercet, option A.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-28-2014 , 01:03 AM
Honestly, I didn't like what I saw of the MIT Intro to Algorithms lectures. They go through 3 chapters of the book each day, and run through a million proofs a minute. By day two, you are watching the derivation of the Master Theorem. The course compliments the book, but if you are seeking something self-contained, you may want to look elsewhere and I would probably suggest looking into Sedgewick.

As for the books, I think that CLRS > Sedgewick. Admittedly, I only read the first 150 pages of Sedgewick, but I was turned off because the first 100 pages or so focused primarily on teaching you Java. The book is pretty non-interactive whereas CLRS a dense textbook; it doesn't waste any time diving into what you are about to face, which is analyzing and creating algorithms. CLRS also holds the advantage because the authors eschew using real code in favor of using pseudo-code. This not only makes the book feel relevant and accessible no matter what language you use, it also forces you to figure out how to do the algorithms yourself, which is much better for reinforcement and stickiness. I also find the writing more lucid and the topics spanning many interesting places, and of course, landing in NP-Complete.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
02-28-2014 , 01:08 AM
Quote:
Originally Posted by tercet

Would a few months off look bad on a resume if I were to do plan B?
Yes it would look bad. Especially if you are only 18 months into your career
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote

      
m