HNHacker News
TopNewBestAskShowJobs

rodriguezcommaj

743 karma · joined August 10, 2012

submissionscomments
rodriguezcommaj··on Tomorrow Theme
Sublime Text 2 uses Textmate themes, so these work absolutely fine. Read the Github page for supported editors.
rodriguezcommaj··on Python Cheat Sheet
I think the length is just fine. Longer than other cheat sheets, sure, but still far easier to scan than the official documentation.
rodriguezcommaj··on Python Cheat Sheet
As someone currently going through Learn Python The Hard Way - this is an awesome resource. A lot of it is over my head, but it is an awesome way to scan through stuff without having to dig through the official documentation. It also helped solidify some of the concepts that I am learning, so thank you.
rodriguezcommaj··on [dead]
Am I missing something or is this just a copy of the Paul Graham essay from 2004? http://paulgraham.com/pypar.html

It is posted on this personal site and while it has a link back to Paul Graham's site, nowhere is it attributed to him. Am I missing something?

If it is someone posting a piece that is interesting or relevant to their audience, shouldn't they attribute it back to the source?

rodriguezcommaj··on The Concepts Get Harder (Python in 30 Days - Day 12)
That's the feeling that I am getting. I like being introduced to concepts early on, even if I don't fully grasp them. Somewhere down the line though, I will see something more advanced and go, "OH! Meta classes. I kind of know about those!" and it is pretty helpful. It works kind of like that learning by immersion (especially for languages), where you are just in the thick of it and sooner or later things start to make more sense.

I agree that it's an advanced concept, but it helps when people post stuff like that here and explain it so that I am at least familiar with it existing.

rodriguezcommaj··on The Concepts Get Harder (Python in 30 Days - Day 12)
Anyone want to explain meta classes for me? Without knowing anything from the start, I would think that they are some subset of classes, maybe they inherit from some built-in classes in Python? I'm somewhat familiar with what classes are - a defined object that has certain characteristics that describe it and store information about it, as well as methods that can be used on that object. I always think of a rocketship class that might have a size, color, velocity, health, fuel, etc. and then have methods like accelerate, decelerate, rotate, shoot, etc. How do meta classes differ?
rodriguezcommaj··on The Concepts Get Harder (Python in 30 Days - Day 12)
Ha, I don't know if that's a threat or a friendly challenge! I will take the latter. I am looking forward to harder programming concepts, I just need to keep practicing to drill them into my head.

Thanks for the words of encouragement, I will definitely keep working away at it.

rodriguezcommaj··on What I've Learned So Far (Python in 30 Days)
I did, and thank you. Just heard that Keir Whitaker and Elliot Jay Stocks released an updated version - http://viewportindustries.com/products/starkers/

Mine is pretty damned basic, very stripped down. I've had other incarnations of personal sites before under a variety of domain names, with some pretty complex themes, but in the end I wanted something very simple, relatively light weight, and dead easy to maintain. My goal is to be able to focus on writing and posting content over maintaining or styling a theme.

Plus, with a simple style like that, it allows the content to style the page when I post images, not have the page overwhelm any content.

Thanks again!

rodriguezcommaj··on What I've Learned So Far (Python in 30 Days)
I am sure that a lot of it is specific to me and what I am used to, so many other people probably have a good experience working with Python on Windows. The main thing is that I am just not comfortable using Powershell and the directory structure on Windows. While I am still somewhat new to using the command line on a unix environment, I feel that a lot of commands are almost muscle memory, so I was quickly frustrated when things didn't work correctly using Powershell.

I know there are a ton of arguments for Visual Studio, and I actually use it at work on a daily basis (I am a front-end designer and am usually split 50/50 between VS and Photoshop/Illustrator), but I honestly just don't like it. It always feels too bloated and the stuff I do code, I usually do by hand anyways so I don't rely on intellisense or any code-completion. I do use Sublime Text cross-platform as well - but like I said in my article, I prefer using vim on a linux box via ssh from my iPad. It is familiar and portable, which is what I want at this point.

rodriguezcommaj··on What I've Learned So Far (Python in 30 Days)
Yeah, I am definitely glad that I am sticking to some sort of system when doing the exercises, but I admit to not doing every extra credit and glancing over some parts. I could see myself going back through a lot of exercises a year from now as a refresher.

I am hoping that going through it will lay a good foundation for programming, though. With any luck, I will find myself in a position of knowing a fair amount about programming and being able to build up that knowledge by tackling harder material and tutorials while building programs that I am interested in.

Thanks for reading and commenting, by the way. I appreciate any feedback and it's a great motivator when doing an experiment like this.

rodriguezcommaj··on Reading Files (Python in 30 Days - Day 5)
Thanks for the resource. I guess I will have to get used to using underscores, which I currently dislike typing.
rodriguezcommaj··on Reading Files (Python in 30 Days - Day 5)
Is there any strong argument against camel-casing, or is it just a stylistic preference? I traditionally like it as it's easier to pick out individual words, but I am open to any arguments one way or the other.
rodriguezcommaj··on Reading Files (Python in 30 Days - Day 5)
I can see the utility in that, but fear that I would get confused on what 'inf' means if I don't use it often and come back to old code. I read that as infinite. Maybe something like "inFile" and "outFile"? A little more verbose, but still not too long and easier to deduce the meaning of the variables. Is camel-casing like that OK for variables in Python, or is there another convention that I am unaware of?
rodriguezcommaj··on Reading Files (Python in 30 Days - Day 5)
Wow, thanks for the pointers. I think I understand everything you are saying up there and will definitely keep it in mind when I start writing my own programs. Right now, this is the program for that exercise written by Zed Shaw, with my comments explaining to myself what each section is doing.

I definitely appreciate you weighing in on it, I love seeing this type of feedback from HN users. Makes me excited to keep learning and become a part of the community.

rodriguezcommaj··on Python in 30 Days - Day 2
Absolutely. Learn Python The Hard Way spawned a couple of similar books that Zed Shaw maintains at http://learncodethehardway.org . I'm working through Python, but look forward to him finishing up his one for C and working through that after I get comfortable in Python and get some programming under my belt.
← PreviousPage 2 of 2