Open Side Menu Go to the Top

04-29-2013 , 05:51 PM
Quote:
Originally Posted by Xhad
Try that import in a python shell sometime.
Okay...

(nothing happens)
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
04-29-2013 , 06:20 PM
Quote:
Originally Posted by daveT
http://ocw.mit.edu/courses/electrica...s-spring-2005/

Watch the 1985 videos, read the book, do as many of the book exercises as you can muster.



Lol, great answer.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 06:25 PM
What's funny?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 06:34 PM
Quote:
Originally Posted by daveT
What's funny?
It's just so obvious that the answer to "what should I do after 6.00?" is 6.01.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 07:08 PM
Quote:
Originally Posted by daveT
Okay...

(nothing happens)
Error message blindness, I presume.

Code:
>>> from __future__ import braces
    File "<stdin>", line 1
SyntaxError: not a chance
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 07:33 PM
Quote:
Originally Posted by TheMetetrown
It's just so obvious that the answer to "what should I do after 6.00?" is 6.01.
It is the logical next step and I certainly encourage you to give it a shot. I've suggested this course to a handful of posters here, but in general:

week one- Oh, I get it, that is pretty awesome concepts, can't wait to apply them to my own projects.

week two- Okay, I don't get it / this is getting hard

week three- **** this ****. What sort of insane ******* does this ****? (quits)


But then, if you push through it:

week four- Oh... my... god! My mind is blown...

week five- My brain is so melted.

Quote:
Originally Posted by Xhad
Error message blindness, I presume.

Code:
>>> from __future__ import braces
    File "<stdin>", line 1
SyntaxError: not a chance
Yeah, it throws an error. What's the point?
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 08:04 PM
Quote:
Originally Posted by daveT
Yeah, it throws an error. What's the point?
Once I had a friend who tried to show a joke page to another friend. The problem was, the joke page deliberately mimicked Internet Explorer's default 404 page, so the other guy said "What? I don't get it? I see this all the time!" It took several tries for the joke to take.

Spoiler:
read the error, seriously. ;P
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 08:05 PM
Yeah it's just funny because somehow the idea of doing 6.01 somehow hadn't occurred to me. I'll definitely give it a go and I appreciate the input.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 09:01 PM
Quote:
Originally Posted by Xhad
Spoiler:
read the error, seriously. ;P
Quote:
Originally Posted by Xhad
Code:
>>> from random import random
    File "<stdin>", line 1
RuntimeWarning: not chance
Can you highlight what you want me to see, so I don't feel stupid?

Quote:
Originally Posted by TheMetetrown
Yeah it's just funny because somehow the idea of doing 6.01 somehow hadn't occurred to me. I'll definitely give it a go and I appreciate the input.
Probably shouldn't listen to my advice. I don't really know, plus I could be trying to indoctrinate you.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 10:05 PM
Dave,
ctrl + F "not a chance"
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 10:38 PM
Quote:
Originally Posted by NoahSD
Dave,
ctrl + F "not a chance"
Canonical just pulled up a porn. That's not nice.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 10:42 PM
Quote:
>>> from __future__ import soylent_green
File "<stdin>", line 1
SyntaxError: it's people!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 10:45 PM
lol @ bolding

Last edited by tyler_cracker; 04-29-2013 at 10:46 PM. Reason: also, i think ValueError would be more appropriate
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 11:09 PM
Code:
Python 3.2.3 (default, Apr 11 2012, 07:12:16) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from __future__ import django
  File "<stdin>", line 1
TransitionError: future feature django is not defined
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-29-2013 , 11:17 PM
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 12:35 AM
Quote:
also, i think ValueError would be more appropriate
I don't know how the Python interpreter is implemented, but it may be the case that its implementation naturally makes special cases into syntax errors.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 04:16 AM
Quote:
Originally Posted by daveT
http://ocw.mit.edu/courses/electrica...s-spring-2005/

Watch the 1985 videos, read the book, do as many of the book exercises as you can muster.

Martin Odersky's Functional Programming in Scala appears to cover very similar ground (the recommended textbook is the same), except using Scala instead of Scheme. It also has the highest documented completion rate of any MOOC. The class is live right now, although in Week 5 of 7.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 01:08 PM
Quote:
Originally Posted by Nchabazam
Also, what do people here consider their threshold for # of hours they can code during a work week? I am super ADD and actually enjoy coding, so I'll often crank out a solid 8 hours straight of coding during a day then come home and crash, mentally exhausted. I haven't been staying at my job for more than 8 hours in the office except on rare occasions (it's a start up, hours are more about getting things done).

That being said... it's my first real programming job, and 2 months in I'm starting to burn out. I don't have any mental energy after coding all day, and I don't like the way it makes me feel when I get home. I actually asked my boss if I could just pencil in 2 days a week from home, since I am still productive at home, and not having to get up and shower and commute 40 minutes each way is a mental boost.

Instead, they offered me a 20% raise. I think I'd rather have the 2 days a week from home. Some first world problems here.
Managed to get the raise and up to two days a week from home. Working at my apartment right now and feeling much better about this situation. Also, I've gotten more done today than the last 3 combined I think.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 02:02 PM
Quote:
Originally Posted by Nchabazam
Managed to get the raise and up to two days a week from home. Working at my apartment right now and feeling much better about this situation. Also, I've gotten more done today than the last 3 combined I think.
Haha awesome, congrats!
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 03:05 PM
so I just realized I can get around my local newspaper's "10 free articles per month" paywall by disabling javascript. Brilliant.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 03:06 PM
Quote:
Originally Posted by jaytorr
Martin Odersky's Functional Programming in Scala appears to cover very similar ground (the recommended textbook is the same), except using Scala instead of Scheme. It also has the highest documented completion rate of any MOOC. The class is live right now, although in Week 5 of 7.
In regards to the low attrition rate: it would be for the same reason so many people got high marks on the uPenn Calculus class. For someone like me, who taught himself calculus, that class was very difficult. Here, the professor offered a unique class and that attracted many people with a strong math background, so there was a higher-than-normal baseline of "average student."

The same applies here. You have the creator of Scala offering a course in how to write good programs in Scala, so yes, word spreads across Reddit and HN and people who are already familiar with FP and / or Java are going to join in. This is not a collection of people taking this as their intro course or a follow-up to an intro course.

In regards to SICP: that book is not about FP. Yes, there are elements of FP, but it is about procedural and OO as well. It is about data structures and concentration of thinking about programming in the abstract. It is about building elegant systems and building interpreters and compilers. I suspect that Scala (like Clojure), is too opaque for the book to really make sense. The exercises require you to peel away the abstractions by forcing you to create your own in order to gain a deep understanding of how every decision you make impacts the systems and programs you are creating. There are tons of ideas in the book, even covering "modern" concepts like Actor Models and concurrency. It is a whirlwind tour of everything you'd ever need to continue learning. I couldn't possibly write about all the book has to offer, but if you use that book as a guide to another class and not do the exercises, you are cheating yourself.

Its ironic that this topic ends up on the front page of HN: I think the post and the discussion summarizes everything I'd like to say: https://news.ycombinator.com/item?id=5631441
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 03:27 PM
Quote:
Originally Posted by Grue
so I just realized I can get around my local newspaper's "10 free articles per month" paywall by disabling javascript. Brilliant.
There are some you can even ignore with a client-side stylesheet.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 03:35 PM
Another decent article some of you guys might find interesting - So you don't want to be a programmer after all
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 04:15 PM
I knew from the first day of my first programming class in college (FORTRAN) that I was good at it and liked doing it. I would say if you don't know you love programming then it's probably not for you.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
04-30-2013 , 04:43 PM
Quote:
Originally Posted by diebitter
Another decent article some of you guys might find interesting - So you don't want to be a programmer after all
no idea why anyone would get into it if they didn't like it. very little glamour, still considered nerdy and uninteresting by most normal people (though a bit less so than it was), and there are much easier way to make money if that's what you care about. strange indeed.
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD ** Quote
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **
$25m Guaranteed WPM on CoinPoker
Join the action now
Daily Rewards • Splash Pots • CoinRaces
** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

      
m