CORS with web.go
[Note: This only applies to my web.go repo, which is forked from Michael Hoisie's original] I’ve fought with allowing CORS from my Web.go server for a couple days now, and it turns out I was simply...
View ArticleGolang: Using channels for a connection pool
I’ve been making use of Michał Derkacz’s MySQL module for Go in the latest project I’m working on, and I like it a lot. The only downside I’ve seen is when you are running in parallel (say, a web...
View ArticleAnd Why I Went From Python to Go
At my place of employment we wanted: We wanted to serve cached graph data that was frequently accessed by our User Interface We wanted to use Go Andddddd done. We didn’t write a 4 line function in 8...
View ArticleUnremarkable Emails
[ed note: how did I leave this little gem unpublished?] Do you realize how crushing it is to have your email response to spam ignored? I’ve recently responded to several spam emails with enthusiasm...
View ArticleInstalling Go and $GOPATH
I’ve seen a lot of questions asked about $GOPATH and installing Go for the first time. $GOPATH is simply where Go will look for dependencies to build your application. Python has virtualenv. I don’t...
View ArticleEmotional Bugs
Three things happened to me today. The first was https://bugzilla.mozilla.org/show_bug.cgi?id=786630. This is a problem in Firefox >15 where the placeholder attribute text doesn’t disappear when...
View ArticleDC Python Group Coding
The DC Metro Python community put on a great social coding environment. Unfortunately this post ended up sitting in my draft box for a couple months. I still want to put it up, just as a reminder. I...
View ArticleGolang DC Meetup Summary
Wow, it really had been 6 months since the last meetup. Fortunately it was well worth the wait. Baron Schwartz was up from Charlottesville and gave an excellent presentation about Go and MySQL. I had...
View ArticleNovapython’s First Meetup of 2013
There were a lot of firsts at this past Novapython meetup. It was the first meetup of the year. It was the first video recorded meetup! It was the first meetup at ScienceLogic. We setup a Youtube...
View ArticleMy Costly Mistake
Several posts on HN today focused on the the difficulty of wowing developers due to their extremely poor project estimation abilities. I thought I would share a bit of hard won experience from 1999...
View ArticlejQuery Validate Ajax Calls
[edit: my pull request isn't passing all the test cases so this idea is on hold for a week or so] Let’s take the following form: <form class="form-horizontal registration-form"> <fieldset>...
View ArticleA Numpy CodeKata
On Tuesday NOVAPython put on its very first CodeKata at the Excella Consulting offices in Arlington VA. The Kata was focused on using Numpy in place of list iteration in Python programs. We hosted the...
View ArticleDescriptive Error Messages
All the things going wrong on my current project I’m going to go ahead and blame on poor error handling. Sure there are some business process issues and there are more edge cases than I’d like. But...
View ArticleGolang October Meetup
After a long hiatus, GolangDC and GolangNOVA let their powers combine to put on a spectacular show at UberOffices in Rosslyn. We hit the 50% no-show right on the mark (as much as you legally can with...
View ArticleIt’s All Going to Fail
So just get used to it. The Internet, I mean. If you use it frequently, you probably already realize it breaks kind of a lot. But if you don’t use the internet a lot, like all the people who use my...
View ArticleThe Fear
During what was supposed to be a routine lunch, I was passed the resume of an incredible individual. I didn’t care about the insane GPA from MIT. Being smarter than me is pretty common. But this guy is...
View ArticlePrepping for the New Year
I’m going a completely new direction this time. Typically I come up with habits and life hacks and other ridiculousness that I want to start or stop or change. Then I plan to begin all of those things...
View ArticleWhich Go Web Framework?
I’ve been around the block a couple times. I’ve built production services on soon-to-be dead open source projects more than once. I’ve been burned by hype and excitement in new technologies. It sucks....
View ArticleLog Errors to Github
Log files are great, but why not make errors front and center in your issue tracker. One thing I like to do is automatically log errors to Github. That way when something goes wrong, it is right in my...
View ArticleLose The Employee Mentality
I still haven’t done this. I run into problems in almost every project because of it. I think a very long winded discussion about this basically boils down to: Employees need skills. Businesses need...
View Article
More Pages to Explore .....