November 2011
4 posts
It takes an awful lot of work to be the sixth most impressive thing Scoble (or...
– patio11
dropping all tables on postgres using...
Archiving this so I don’t forget it: in Flask-SQLAlchemy on a Postgres DB, db.drop_all() can fail silently. This can be somewhat infuriating.
This link sums up the situation pretty well. There are a bunch of hacky fixes floating around Google, none of which work, except for a particularly simple one which Mike Bayer himself proposes in the comments of that same...
How to add a free shared PostgreSQL db to your...
Heroku’s documentation claims that “New apps created on Heroku automatically have a shared database installed.” Unfortunately, that isn’t at all true for Flask apps: if you create a new Flask app on Heroku, you don’t have any database at all by default.
I spent a couple of hours Googling and digging through documentation to try to figure out how to get a database...
a personal fitbit dashboard
I bought a Fitbit in July, and ever since, I’ve been walking a lot. I walk home from work most nights, and on the weekends I like to walk to the ocean. I’ve been trying to walk fifty miles a week for the past few months, and I’ve hit that goal most of those weeks.
I’m doing mainly because the Fitbit universe is made of progress bars, and if you put a progress bar in front...
October 2011
1 post
Another thing, very important for problem solving, is asking my colleagues,...
– Joe Armstrong, inventor of Erlang
March 2011
1 post
By and large, writing code is more essay than puzzle.
– http://duartes.org/gustavo/blog/post/lucky-to-be-a-programmer
December 2010
1 post
November 2010
1 post
me: just got into work, just glanced at the last couple of lines i typed before leaving last night
me: [jrheard@dev09:~/pg/loc] (category_ordering) $ grep -ir f[u+]ck *
me: ai/trie/ctrie.pyx: # "If your strings are longer than 1024, why the fuck are you using a trie?"
me: ctrl-C'd before it got farther than that, evidently
pepper: haha
pepper: ha
pepper: haha
pepper: if you did that to the microsoft word code, i put a "gimme a fucking console biotch" in there somewhere
May 2010
1 post
know thyself
i’ve been working on a completely friggin’ awesome project with a couple of really smart guys for the past couple of months. as agreed, i split off from the development of the primary aspect of the project a couple of weeks ago in order to focus exclusively on creating its social-network-esque website counterpart, with my teammates continuing to work on preparing the main part of the...
March 2010
5 posts
seven more albums of awesome coding/studying music
http://jrheard.com/music/mice_parade.zip
http://www.last.fm/music/Mice+Parade
bem-vinda vontade’s my favorite.
snippets from the craigslist computer gigs RSS...
In return for assistance, you will receive the following: * improved resume
-
I am looking for the best of the best with JAVA skills. I need Architects, Engineers, BI/Data Modeling guys, UI and even predictive engine engineer. This is a big deal. I dont think this level of brain will be looking on here…. but I do think that some of us who know these elite top 1%’ers might be on here....
on functional programming
an eye-opening comment
Our programming model does not have to match how our computer works.
I think one of the biggest intellectual hurdles with functional programming is that we know, deep down, that modern computers don’t work like that. They do have side-effects and changing, carried state. It’s a revelation to realize that the programming model you use to write programs...
2 tags
you - yes, you! - can teach yourself how to...
in the beginning was the question
do you think it’s possible to teach yourself programming?
a friend of mine asked me that a couple of nights ago, to my delight. my answer, of course, was
hell yes!
as a matter of fact, any self-respecting programmer you’ve ever met is mostly self-taught. that’s because as soon as a neophyte starts coding, they find out that it’s...
What if the reason you engage in practical activities has nothing to do with...
– http://dilbert.com/blog/entry/crazy_or_disciplined/
February 2010
10 posts
snippets from the weekly stanford CS job digest
this is probably gonna be a regular thing. i think i’m gonna be grabbing chunks that make me smile from this weekly email i get and posting them here; i’ll refrain from commentary.
-
Job Requirement # 2010-001
The ideal candidate is a current student in an engineering/computer science field, with strong expertise in C++, Data Structures, Socket and Thread Programming.
Apart from the great...
How to use rsync to upload big files to HostGator...
tossing a few large .zips up on my HostGator account, and Fetch just isn’t cutting it, my connection drops every so often and the transfer has to start all over again. scp won’t do the trick either.
the secret sauce: rsync —partial, with —rsh=’ssh -p2222’ because HostGator uses port 2222 (rather than the standard port 22) for SSH connections. an example:
...
Garbage Collection in Ruby →
pretty in-depth exploration of memory management in ruby. takes me back to my cs140 days - haven’t thought about freelists in a real long time. contains the most illustrative examples of c unions that i’ve ever seen, to boot; worth the read.
six albums of ridicu-great coding music →
pan-american. try it for yourself.
lowfat: Hello, I have been doing some web programming during the last few months and I'd like to become much better at it. I am trying to learn by reading programming (php) books and doing the practice exercises. I have also tried to write my own code for fun. The problem is that the stuff I do from books are really, really boring! The stuff I do on my own is more fun, but I get stuck quite a bit. Last week I spent an entire day trying to debug why php was not connecting to the mysql db. Once I figured it out, it was great, but I was beat. Is there a better way to learn programming?
edw519: No. You found it.
1 tag
tom_rath: Convoluted as it is, getting a blog post ranked top in Hacker News seems the easiest (only?) way to get a genuine Google issue addressed. I hope they address this one AND create an actual means of contacting the people who are supposed to be running the place.
jamesju: Actually, a friend and I were having a big discussion about Buzz, using Buzz. And, to my surprise, a few Buzz devs jumped into the conversation: http://www.google.com/buzz/tmgrone/brHidEYC3jh/I-wish-Google-cared-more-about-design-then-I-might
jacabado: And then all your privacy concerns quickly disappeared!
1 tag
I’ve tried often to convince the tech-savvy that most users have problems...
– HN user thaumaturgy re: http://news.ycombinator.com/item?id=1119184