HNHacker News
TopNewBestAskShowJobs

th

1,013 karma · joined March 16, 2010

My name is Trey Hunner. I help Python developers & teams level-up their skills.

https://www.pythonmorsels.com http://truthful.technology http://www.treyhunner.com

[ my public key: https://keybase.io/treyhunner; my proof: https://keybase.io/treyhunner/sigs/BZJaTqLkF7FN0VfkNWSvBpSYH0KUmIsrTshacYyW-to ]

submissionscomments
th··on Bootstrap Maintainers Leave Twitter
> Bootstrap isn't mainstream enough to warrant it's own foundation/organization

What do you mean by "not mainstream enough?" Organizations on Github are simply a convenient place to put one or more projects that are collectively worked on by a group of individuals and do not necessarily have a single core maintainer.

th··on San Diego: join us for SD Hacker News meetup #33 (Fri 9/28)
Please do join us next meetup that you happen to be in town. We are very welcoming of newcomers.
th··on Ubuntu Will Now Have Amazon Ads Pre-Installed
This would be an amazing duo. Lenovo as a company hasn't been great about supporting Linux on desktop/laptop machines, but Linux OSes tend to work great on their hardware. Many "Linux is my only OS" users I known use Thinkpads for this reason.

If Canonical could handle the technical support for Lenovo machines with pre-installed Linux I think that would be a match made in heaven.

th··on Do JS styleguides reflect how popular open source code is indented?
> Indentation is a matter of personal preference (it’s why they call it style, after all), but if you’re starting an open source project and want it to be consistent with community standards, indent with two spaces.

Also every project (regardless of whether you stick with the community standards) should use a .editorconfig file to define their code style. We made EditorConfig because it's 2012 and indentation wars shouldn't still be happening: http://EditorConfig.org

th··on San Diego: join us for SD Hacker News meetup #32 (Fri 8/31)
It says on the Anyvite invitation that is linked. Part 1 is at Pangea Bakery (Kerny Mesa) at 7:30pm and Part 2 is at O'Brien's bar across the street at 9:30pm. See you at the meetup.
th··on San Diego: join us for SD Hacker News meetup #32 (Fri 8/31)
Thanks for organizing so much in the past.
th··on San Diego: join us for SD Hacker News meetup #32 (Fri 8/31)
Just picking up where the past organizers left off.

See you at the meetup!

th··on HTML5 Boilerplate v4.0.0
You usually won't know a web page is actually using H5BP, especially without looking at the source.

Two websites using it: http://creativecommons.org/, http://www.barackobama.com/

th··on PG: The Art of Funding a Startup is now free on Amazon
In this case there happens to be a big difference. Try putting this book on your Nook or any other eReader that doesn't have a Kindle app.
th··on Changing Your LinkedIn Password Still May Not Have Kept Your Account Safe
As mentioned in other comments in this thread, LinkedIn's tech team frequently disregards security standards.

I found a CSRF attack on LinkedIn by accident when searching in Duck Duck Go some months back. I clicked a link in my search results and was presented with a page thanking me for signing up for some LinkedIn group. I then received an email thanking me for joining the group as well.

LinkedIn was joining a group whenever an authenticated user performed a GET request to a particular URL in their browser. I followed this up by searching Google for other URLs that suffered from the same problem and found many. I wrote an exploit (very easy for that issue) and contacted LinkedIn. They have fixed the issue by now but it took more than 6 months.

th··on Google Street View: A wolf in sheep’s clothing
There are diagnostic devices for most modern automobiles, some of which can be bought by consumers. For example the VAG-COM Diagnostic System for Volkswagens: http://vag-com.de/
th··on Writing a CV in LaTeX
You might want to add an example PDF for those too lazy to compile the resume to check out the format. Also a license file couldn't hurt.

I like the separate cls file for handling most of the layout. I do pretty much the same in mine: https://github.com/treyhunner/resume

th··on Light Table Is On Kickstarter
I was confused by this at first also. Open source means you can look at the source code. Sometimes it means more than that (often depending on who is using the term).

GNU's criticism of open source: http://www.gnu.org/philosophy/open-source-misses-the-point.h...

th··on Light Table Is On Kickstarter
I really think you should clarify the expected terms of the license.

I would gladly throw $50 to you if you released this under a MIT (or similar) license. Even if I never switch from vim, I feel my $50 would be well-spent bringing a (hopefully) awesome free IDE into the world.

If this isn't actually free software but only open source, I still might purchase a license for myself, but I think it's fair that this is mentioned upfront.

th··on Richard Stallman: How I do my Computing
> All he does is putting restrictions on himself (and in the process also on other people who blindly follow his fundamentalism) rather than removing restrictions and bonds.

I highly doubt that anyone blindly follows Stallman.

Stallman acts as a living litmus test for open source. His actions seem less ridiculous in technical realms where freedom and privacy are more easily attainable and more ridiculous in areas that it is not.

th··on ShareLaTeX
LaTeX Lab <http://docs.latexlab.org/>; is similar but Share LaTeX seems to have a much cleaner interface.
th··on Wikipedia blackout page
Also chaining: https://gist.github.com/1631368
th··on IRA Monte Carlo (hacking the performance of your retirement account)
Here's a more detailed version of the example:

1. Single IRA ABCD worth $4 million dollars 2. IRA ABCD split into 4 1 million dollar IRAs: IRA A, IRA B, IRA C, IRA D

3. Investor converts IRA A, IRA B, IRA C, and IRA D to Roth IRAs in January 2012 (conversion counts again 2012 taxes)

4. Before April 15 2013, investor extends their tax return to October 15 2013

5. In October 2013 investor notices IRA B and IRA C had losses so they decide to recharacaterize their Roth IRA conversion (undo it)

6. Investor files their tax return by October 15 and only pays taxes on the conversion of IRA A and IRA B into Roth IRAs.

I think the "21 months" mentioned in the article is specific to this case. I believe recharacterization of a Roth conversion must occur before filing taxes for the conversion. So if the investor converted their traditional IRAs to Roth IRAs in December 2012, the conversion would count against 2012 taxes and they would still only have until October 15, 2013 (10 months).

There are multiple potential benefits from this, the most obvious one being that if the investor then converted IRA B and IRA C to Roth on October 16, 2013 they would owe less taxes since the values of those accounts has gone down.

th··on All Programmers Are Self-Taught
I think CS departments should offer at least one course that spends a little time focusing on writing quality code.

The Software Engineering course I took at university was a pretty good introduction to "programming". One of our required texts for the course was Code Complete by Steve McConnell. We were required to read all the chapters that focused on programming style.

th··on Why are you using Google Plus for Blogging?
I just migrated my WordPress blog to Jekyll recently without much difficulty. Data can be exported to Jekyll from Tumblr and Posterous as well (I'm not sure how well those migrations work though): https://github.com/mojombo/jekyll/wiki/Blog-Migrations
th··on Dwolla: transactions under $10 are free
> The other major complication with ACH is that most Americans use credit cards for the credit (70% hold a balance). That is something that won't be solved.

I doubt Dwolla needs to solve this problem to be profitable. I'm pretty sure there are still a very large number of cash and debit transactions occurring daily.

> Others like the benefit of rewards (miles, dollars, whatever).

I've seen this argument raised a few times and I still don't understand it. Couldn't merchants (especially online merchants) discount sales that don't use credit cards? The money saved by not offering rewards has to go somewhere.

th··on Ubuntu: Wake up and smell the Unity against you
> If you don't like watching the sausage get made, wait for the LTS releases. Or just turn Unity off, the option's still there.

The next release (12.04) will be an LTS. I'm still on 10.04 and I really hope many of the quirks in Unity will be worked out by April.

th··on Choosing the right sleep schedule to maximize time and keep you healthy
> be exposed to the sun: only reliable way to generate vitamin D in your body (helps bone mineralization)

I think sunlight exposure may be important for a healthy mental state as well. A few years ago I adopted a schedule of sleeping around 10AM and waking up around 6PM. I maintained a reasonable level of sun exposure in the morning, but I would usually wake up shortly after sunset leaving me without sun for the first half of my day. I found that after a few days of this I would wake up every day disappointed that I'd woken up in darkness again. Around this same time period I had no problems waking up at 3PM every day, even though I didn't always go outside while it was still light.

th··on Payment processing for Django
For Authorize.NET CIM support (not in merchant yet) see django-authorizenet: https://github.com/zen4ever/django-authorizenet.
th··on A resume template in TeX
I've added one now: https://github.com/treyhunner/resume/blob/master/resume.pdf

I hadn't thought to add example output.

th··on A resume template in TeX
I made a LaTex resume a while back too: https://github.com/treyhunner/resume
th··on The Google Puzzle
I don't understand the benefit of using separate windows for this type of media. Wouldn't layered DOM elements be easier and less annoying? Do the windows add to the wow factor somehow?

A similar Google-made product: http://www.thewildernessdowntown.com/

th··on Google Maps goof results in headache for homeowner
It looks like Bing and Mapquest show the same thing mistake.

Google Maps: http://maps.google.com/maps?saddr=10001&daddr=40.6125,-7...

Mapquest: http://mapq.st/n5vNiI

Bing: http://www.bing.com/maps/?v=2&cp=40.6055769046077~-74.83...

th··on Google+ Users Are Nearly All Male
"With around 60% of users identifying themselves as web developers or software engineers [...]"

That's probably the more interesting point

th··on The Dangerous Mr. Khan
The "Effectiveness of Science Videos" video does not imply that the proposed form of educational videos help students retain information past taking a test. The study provided simply states that students did better on the test after watching the "misconception first" video format than the traditional science video format.
← PreviousPage 3 of 6Next →