HNHacker News
TopNewBestAskShowJobs

rrosen326

353 karma · joined August 27, 2012

http://rossrosen.me
submissionscomments
rrosen326··on BeeWare – The IDEs of Python
I started with Sublime, switched to Pycharm, and then switched back to Sublime for a Ruby project. I REALLY wanted to standardize on Sublime, but I wound up switching back to Pycharm. The debugger was the killer feature for me. Many of the other features of Pycharm are quite good, but also good or good enough in Sublime / the terminal and individual tools. But damn, tracing through code in the Pycharm debugger is SO nice that I felt forced to switch back.
rrosen326··on Principal component analysis explained visually
This is truly fantastic.

Excuse me for being daft, but how do you transform back into 'what does this mean'?

For instance, in ex 3, we see that N. Ireland is an outlier. It wasn't obvious to me that the cause was potatoes and fruit.

How does PCA help you with the fundamental meaning?

rrosen326··on Obfuscating “Hello World” in Python
I thought this was a great post, some amazing code, and humbling since this is WAY beyond my current - and future - ability.

Even more impressive - it looks like the author is a freshman in college! https://www.linkedin.com/in/benkurtovic

Nice work, Ben!

rrosen326··on Show HN: Hind-cite.com – Hacker News Charts and Data
Just a bit more generic. Cloudant sponsored this, so I wanted the db calls to be simple templates anyone could learn from (and everyone uses jquery, while angular is less common).
rrosen326··on Show HN: Hind-cite.com – Hacker News Charts and Data
All of these questions, I believe, can be easily answered with the existing, Algolia-based, HN API. (Though good questions all.) What hind-cite adds is a time-based component. (The existing api shows the end result - number of points, comments, etc. etc.) Just an FYI.

I think marrying the two datasets (probably at a client level with two separate calls) would give a pretty complete picture.

rrosen326··on Show HN: Hind-cite.com – Hacker News Charts and Data
Fixed. I had to remove my cool embedded, recursive chart showing how the post itself was doing. But yeah, that redirect back loop was maddening. So now to see the chart, you have to click on the Post History page or this http://www.hind-cite.com/multiPost?postIds=8075216
rrosen326··on Show HN: Hind-cite.com – Hacker News Charts and Data
Ah - shoot - that's probably a recently introduced bug! My bad. I wanted to include the chart of this Show HN post itself on the home page (as an example), and that is apparently causing all sorts of weirdness. I'll try to figure it out. Sorry.
rrosen326··on Show HN: Hind-cite.com – Hacker News Charts and Data
I'll leave the architecture of the cloudant db to the Cloudant guys. Being able to add data, though, is interesting. If people want to add different views (which basically trasform the data using map/reduce), we can add those to the db so they are available to all.

For charts, you just create a new chart and assuming it works and all, we'll host it on the site. It will pull the data directly from the db via the REST interface.

So, basically, yeah - we are hoping to do exactly what you are asking.

rrosen326··on Runnable – jsfiddle for everything
I too wonder this. I assume runnable, jsfiddle, plnkr, etc. make money somehow, but I've always been curious as to how? I love the services and really appreciate them, but I don't get it.

Any ideas?

rrosen326··on Why I Don’t Do CrossFit
I'm an ex-crossfitter and thought this and the Rippetoe article mentioned were excellent. They have the ring of truth. I loved Crossfit, miss it, and yet probably won't go back.

It wasn't the suffering - that was a positive. It wasn't the injuries - I had chronic shoulder pain that ultimately led to a torn bicep tendon during a set of high-rep cleans for time (of course). The problem was one that Rippetoe mentioned - I just wasn't improving. I suffered extravagantly. Most days I was prostrate on the floor. Many days took me hours till I wasn't nauseous. But I just wasn't getting better. I actually switched to Rippetoe's Starting Strength program and now Wenders 531 and have made steady progress (on strength, at least).

So Crossfit was super fun, but didn't work for me. But the weird thing is that there were many INCREDIBLE athletes in my gym. They were SUPER fit. And they got that way doing Crossfit. So somehow this random variation of high-effort work does work for some people.

Another challenge is what to do if you want to improve but not do Crossfit? There are 3-5 CF gyms within 15 minutes of my house. There are a couple of lame normal gyms. My old CF gym had world-class knowledgeable instructors. I have not been able to find a replacement. And while learning from a book like Starting Strength is ok at the beginning, eventually you need expert help. CF is easy to find. World class strength coaches for the recreational athlete are not.

rrosen326··on Production AWS keys on GitHub
Could you go through this process? I just did something where I used a file that was outside my repo but I knew there must be a best practice that I just didn't know about. What is it?
rrosen326··on Fig – Fast, isolated development environments using Docker
I'm still missing a piece of the puzzle. With Vagrant, though heavy weight, I have a completely defined system. If I spin up my production server using the same definition (I use ansible) as my Vagrant config, I guarantee the same outcome. Seems perfect. With Docker, since it relies on the underlying os, it seems I could run into compatibility problems. I understand the "lightweight" aspect, but if I have compatibility problems, that seems not worth the benefit. OR is the issue that those compatibility problems are illusory - Ubuntu 11 will be the same as Ubuntu 12 and CoreOs xx and LinuxZ ZZ? With Docker, what do I lose vs. Vagrant and what do I gain that makes that worthwhile?
rrosen326··on Why Are There So Many Pythons?
Question: This, and many other posts, suggest that PyPy is the way to go (as a user). Faster and compatible - what's not to like? But elsewhere I read, 'hold on'. It actually isn't faster with things that use a lot of C optimizations (like numpy and pandas, which I use extensively). I don't mind small startup JIT penalties, but I don't want to have my core code run more slowly, or fail. Is there a simple direction? (ie: Use standard cPython or use PyPy) Or is it, as always, 'it depends'?
rrosen326··on Why Are There So Many Pythons?
I second this. I read the other comments about the flaws in the article, and I'll take them as valid. Even barring them, I understand a lot more about the different types of python and, the different layers in the stack, and even a bit about compilation, JIT, etc. etc. Imperfect? Maybe. Extremely helpful to me? Definitely. Thanks!
rrosen326··on Show HN: Relearning to code after 20 years
I thought about doing flask, because I love Python and it would be way easier than monkeying around with Angular. But most of my code is D3, so it's a lot of javascript anyway. And by doing angular, I basically upload one page to the user, and then from there out, they never touch my server. (Data is served by Cloudant - a YC comp). So even though I've had > 10k page views, my server is hardly touched. And everyone gets really responsive interaction since it is all done in the browser, occasionally waiting for new data to serve. So, while this was painful to build, I can really see the allure of client-side single-page apps.
rrosen326··on Show HN: Relearning to code after 20 years
Ha - sorry - it was a phone typo!

yes - NOAA.

rrosen326··on Show HN: Relearning to code after 20 years
Hey man - Thanks a lot. I really appreciate that.
rrosen326··on Show HN: Relearning to code after 20 years
Though I should point out there are definitely weird things with the raw NSA data. For instance, their precipitation data at one and 6 hour increments do not match at all.
rrosen326··on Show HN: Relearning to code after 20 years
It's definitely possible I messed up something- I'll take a look. It's one of the challenges of doing everything by yourself!
rrosen326··on Show HN: Relearning to code after 20 years
Yes on both of those- I really love python and find myself way more productive in it. D3 is undoubtedly powerful and if you are an expert I'm sure you can be efficient at it. But as a novice it takes a while. I do my analysis onipython/ matplotlib and then implementa public chart using d3. And I havea love hate relationship with angular. When you are using stock or already made directives, it's magic. But it can take FOREVER to solve the obscure bugs you create when you are doing something new.
rrosen326··on Show HN: Relearning to code after 20 years
Make that "obscure" angular bugs :)
rrosen326··on Show HN: Relearning to code after 20 years
Interestingly the python experience has been incredibly different from 20 years ago. Back then I was hunting memory leaks in C. In python I program at a much higher and more efficient level. The Web side, however,is much more like the old days. Instead of memory leaks I hunt obtuse bugs in angular that make me want to pull my hair out. The biggest positive change is stack overflow, which is really so amazing. And the whole open source community - creating all these great frameworks, and even responding to the occasional plea for help.
rrosen326··on Show HN: Relearning to code after 20 years
1. Start small - I was way too ambitious on the first part of the project. 2. Start with python- my back end data work is all python and it is SO much easier and more learning-efficient than the Web stack. 3. I'm torn on this one. I PROBABLY should have learned more rigorously before jumping in- with angular especially- but I personally find it much more motivating to learn with a specific problem in mind. Though my goal this year is to go back and learn comprehensively what I spot learned in process.
rrosen326··on Show HN: Relearning to code after 20 years
OP here - FYI - I was a software engineer at Novell over 20 years ago, then went to the business side. Last January for some crazy reason I decided to build a website. I couldn't write HTML last January, and though this is a pretty tame site by HN standards, I'm pretty proud of it. I've had to learn HTML, CSS, Javascript, Jquery, Angular, D3, Require, Node, Apache, Bootstrap, noSQL DB (Cloudant/Couch), linux system management - the works. It's been fun.
rrosen326··on Show HN: Codementor – instant one-to-one mentor for programming and design
Love it. I'm a new, self-teaching programmer and have been thinking how great something like this would be, but assumed it couldn't possibly exist. And for me, I don't really need immediate response. First I'd love email access for moderately hot issues - say a couple hour turnaround. Second, I'd love code reviews - "look at this and tell me how I could have done it better". Finally would be one to one back and forths, but I could schedule that days in advance.
rrosen326··on Tools to get started in machine learning
(Author) - Nice tip. Thanks - I'll update my list. (Wish I had known at the start of my learning!)
rrosen326··on Tools to get started in machine learning
(Author here) - I don't have any specific examples, but I was learning R and Python at the same time. I found Python to be very practical and easy to learn. When learning R, I kept getting tripped up. Maybe it isn't that R was harder, but that I had a head start on Python. And as for documentation, R was certainly very complete, but once again, I found it harder. I think because R is written by, and probably for, professional statisticians and mathematicians, it needs to have a different level of rigor than the Python documentation. Anyway, sorry for the lack of specificity.
← PreviousPage 2 of 2