HNHacker News
TopNewBestAskShowJobs

peregrine

2,014 karma · joined July 31, 2008

submissionscomments
peregrine··on Why We Don't Use Heroku
We use Heroku a ton with many of our clients because its quicker, cheaper, and easier to get something setup that is "good enough" for most projects. Informing our clients of the pros and cons is part of the job. Most agree that the pro's out weight the cons initially and we tend to agree. We also use it for many of our own projects and have been happy for a while and will continue to use it.

That said I haven't been happy with the way things are going with Heroku and plan on looking at alternatives.

First it was the Heroku toolbelt that wants to install its own git and foreman, tried the standalone and it just fails before installing. Seriously don't understand this decision, I get that its easier for a new person to get started and that they are moving away from ruby only.

The fact that cedar still doesn't support websockets, we gave up having a seamless varnish cache and nginx in front of our machines in hopes of more options. We got more languages but still limited to basic web technologies.

Support is good but can be super shotty, we've had times where our scheduled tasks fail with cryptic error messages. Simple things like a Rake task that has been running for months just starts failing. We send them the trace and then we hear back "that shouldn't happen" then nothing else. Who knows when it will fail again or why.

I'll probably continue to use Heroku Postgres, its been the best part of Heroku for quite sometime and only continues to get better.

I think its time to look into chef/puppet/vagrant and ec2 or maybe dotcloud. Not to mention I don't want to be stuck with Heroku when Salesforce gets sick of them.

peregrine··on Sequel-location - a Sequel plugin for location-based queries
I am a real big fan of Sequel and Postgres. I've written things like this in the past and it will be nice to not write this again.
peregrine··on Show HN: I Built An App to Teach Mind Control
Nice article! Have you considered open sourcing your hardware design and components? And even your software?

I'd love to start messing with things like this need a starting point.

peregrine··on Introducing Poke for Mobile
These are not real facebook pokes https://www.facebook.com/pokes they are phony.
peregrine··on Introducing Geekier, an open source & saner approach to working with APIs
Sounds a lot like the hypermedia discussions going around....
peregrine··on Common Pitfalls with Django and South
Lot of things described here, circular references, conflicts amongst the team, trouble with simple data import. These things are a result of the coupling of models to migrations. The method of models describing and generating the migration which generates the db is troublesome.
peregrine··on Common Pitfalls with Django and South
I wish this article was around year or two ago. I had an awful experience with south so much so that I switched to ruby and sequel. Sequel totally decouples your migrations from your model. It's pretty nice actually and ends up saving quite a bit of headache.
peregrine··on Flynn’s IQ
Super annoying, I had to read it in Instapaper just to cope.
peregrine··on What Caffeine Really Does to Your Brain
I second Theanine. Personally I've been taking it before my morning coffee and I notice that I am less jittery and less stressful, while still having that caffeine high. I will even take it alone sometimes before a high stress situations and it helps with the nerves.

I oftentimes choose to consume Green Tea or Matcha as they contain a varying amount of natural Theanine.

That said these are anecdotal and could very likely be the placebo effect.

peregrine··on Cause & Effect
Anyone have some good modern scifi recommendations? I've read some Stephenson and Gibson. Looking for more though.
peregrine··on Google Now
https://www.cueup.com/ Is a similar product from a YC company.
peregrine··on How a Mexican Drug Cartel Makes Its Billions
Times are not great for plane airlines, I'm sure a struggling airline CEO would have no issue selling a plane to ShellCorp with a large bag of money.
peregrine··on Why Django Sucks
Largest different is age and ruby vs python. That said Sinatra is built on Rack which has a ton of extensions to add things like sessions or auth. Where as flask has specific flask modules. Really apples to apples in my opinion.
peregrine··on Night Vision: a very real UX problem
This is a huge reason why I love http://stereopsis.com/flux/ they have a iPad app but only available for jail broken iPads.

When going from my laptop to ipad at night its a huge and painful difference, its largely the reason I am considering jail breaking.

peregrine··on Understanding database normalisation: a very short tutorial
More important for storage space, quicker updates and faster indexing. If these things are less important(most cases) don't worry.
peregrine··on Crockford on Bootstrap's semicolon omission: “insanely stupid code”
Real question is... why not just use UglifyJS or any one of the other js minifiers? So what Crockford is opinionated about JS, we all know this. Don't use his products if you don't like his opinions.
peregrine··on Go version 1 is released
Yep, if you are googling it use golang, much easier to find things this way.
peregrine··on Go version 1 is released
I've been putting together a small blogging application with Go just for fun on the side to pick up the language and work on my web design.

Its a great language, I'm not using it for half of its capabilities but it very much feels well thought out and the community is very helpful.

Key pieces:

-My code isn't much more complex than my ruby or python.

-The stdlib is pretty fantastic.

-Right now tutorials and 'blogs' are all over the place with compatibility for go, rule of thumb if it says "goinstall" in the guide probably a good sign its an older guide.

-All network communications use epoll in the backend so you get lots of the fun things you would normally get from something like node.js without callback soup.

Ideally go would probably work for a web service or building some backend networked code, or even a simple command line utility. Right now there is not much in the way of GUI code outside of websites which is unfortunate cause I'd like to use the goroutines with some graphics ideas I've had.

peregrine··on Go version 1 is released
Not sure, I am very much new to the new "go" command and how it works. Everytime I did a go get on a repo it would get the wrong version. I'd just cd into the 3rdparty dir and then pull/checkout the weekly branch and be ok.

I figured their had to be a better way but I was pretty focused on getting projects done.

And to be specific this was on non-standard libraries the standard libraries provided by go worked out of the box.

peregrine··on Go version 1 is released
Been playing with the weekly versions of Go for a couple weeks now. Highly enjoying it, my biggest pet peeve was that every library had a master and "weekly" branch which required me to manually pull down the weekly. Shouldn't be long and I can move to master!
peregrine··on Show HN: Smooth.js - Turn arrays into smooth functions
You can always run coffee at the command line.
peregrine··on Show HN: Smooth.js - Turn arrays into smooth functions
Because it compiles to js and can run in either.
peregrine··on Show HN: Smooth.js - Turn arrays into smooth functions
Very cool, this reminds me of D3.scales https://github.com/mbostock/d3/wiki/Scales good work!
peregrine··on Going Simple with JavaScript
Thank you for this.
peregrine··on Going Simple with JavaScript
I mean if you use the CDN jQuery the likelihood of loading jQuery up is fairly low considering its so ambiguous.
peregrine··on How github was hacked
Seems strange that Active Record doesn't have an "update_fields" method with sig array of updateable fields, hash of field=>val. Similar to Sequel.
peregrine··on We need to kill off the localStorage API
If anyone stopped and looked at his 'simple' IndexDB version of the backbone local storage you will see the issue right there. There is nothing simple about that...
peregrine··on Every day at my job I helped people just barely survive
A better grade is more important than delivering in a reasonable time? I think you might have missed my point, you can get A an but the point of the education is not to get an A, its to learn the material.

If they can learn the material, get a very reasonable grade, an AB and spend far far less time I want to work with that person. This person is more likely to be a hacker because they see that there is such a thing as diminishing returns with grades.

peregrine··on Every day at my job I helped people just barely survive
Sidebar: Memorization is one, highly over valued, facet of intelligence. I've know several of the 'smartest' kids in my classes to be actually very slow, very un perceptive, very 'dumb' by all standards. Nonetheless they got high honors and accolades because they possessed a remarkable ability to memorize and put in crazy hours. Some of these people put int 20+ hours in to get an A in a lab when I would put in 2-3 hours tops and get an AB.

My point is would you want to work with someone who when faced with the issue of having to write a paper doesn't have the spike of genius to search for "word processor" in google?

peregrine··on Final design of VLC 2.0 for Mac
I mostly turn these features off and get rid of the boarder and controls and just have a floating video.
← PreviousPage 4 of 24Next →