News for hackers. Stuff that matters.

oscarduignan

Re:Why Not Eat Octopus? on Saturday October 04, 2014 @03:56PM (#8410450)
There are a lot more bees in a hive than in a pod of whales or dolphins, we're talking potentially many tens of thousands of bees per hive. I think that's the qualifier here, scale of numbers
Re:Ask HN: Programmers Without Relevant Degree on Wednesday January 19, 2011 @09:26AM (#2119785)
It really depends on what type of programming you and your friend are talking about, it may be worth clarifying this with him.

Though from personal experience I would say with most jobs (and especially those relating to web development), lack of experience and social skills will play a larger roll in whether or not you're able to secure the position you want rather than lack of a degree.

Re:Ask HN: Inspirational Books on Wednesday November 17, 2010 @08:40AM (#1914130)
Leaving microsoft to change the world - http://www.leavingmicrosoftbook.com/

Born to Run - http://borntorun.org/

A little while back I got an email from someone using this feature to send out his résumé! Quite an ingenious use I thought, find all X developers near Y and send them a friendly form email customised using other details available from their account (like their name) with your résumé and contact information attached.
Re:Ask HN: Django Deploy Recommendations on Saturday October 23, 2010 @07:08PM (#1824606)
> - We keep a local settings file for each environment, and those /are/ versioned. We have a /settings_local directory which contains each of the variants (localdev/dev/staging/df/live). The appropriate one is sym linked to /settings_local.py, which in turn is imported into settings.py.

I didn't read your comment (thoroughly) before posting my comment above, so I was parroting your point about organising project settings, however there are a few differences between our approaches. And I'd be interested to hear what you think about them. I don't work that actively with django at the moment, and never really had the opportunity to use my above system in a commercial project so maybe (probably) there are some gotchas I haven't thought about!

Re:Ask HN: Django Deploy Recommendations on Saturday October 23, 2010 @07:00PM (#1824590)
> -Set up a local configuration file (not managed by version control) and a base configuration file with all the settings that are immutable. Import the local config file within settings.py so as to avoid local setting conflicts.

Have you tried keeping your settings in a package rather than in a module? Most introductions to django use settings.py to keep things simple (works out of the box using manage.py), however there is another (better) way!

You can store your settings in a package instead, so you have a settings directory, and inside this you have modules which represent a configuration. So you could have settings/development.py rather than settings.py, this just means you just change your django settings environmental variable to point to the correct configuration for each machine.

There are a few perks to managing settings this way, first you can extend existing settings (for example if you wanted to have some default settings that all configurations use, you could have a settings/shared.py and then do a `import * from .shared` in each of your configurations). Which means you have access to all the existing settings so you don't have to repeat yourself if you say want to add some middleware, or an application (think debug toolbar.)

And another benefit is that you are able to manage your settings through your version control system. Which I understand is not always ideal, however my guess is for most private projects this will be the best way of doing things! It also just seems to me like a much more pythonic way of organising your settings. (You can also do this for urls, however there's not as much benefit there, given that urls probably won't change from machine to machine that often.)

Re:Extreme Productivity with Screen and Vim on Friday August 27, 2010 @04:58PM (#1640260)
Something like the vim command-t plugin (https://wincent.com/products/command-t/) can make filenavigation very fast. That, the already mentioned C-j, C-k, C-h, C-l bindings, nerdtree, and bufexplorer (http://www.vim.org/scripts/script.php?script_id=42) and you're set for speedy file navigation. Then when you're comfortable with that there are things like taglist.vim to take advantage of ctags to kick it up a notch further!
Re:Ask HN: I'm an 18 year old programmer; How do I get a job? on Wednesday August 11, 2010 @02:27PM (#1595552)
If you've not got much experience within an industry, it's really easy to overestimate the average skill level of others in that industry.

It sounds like your problem isn't your lack of qualifications or your lack of connections; but the fact that while you have identified that connections can be a good way to get work, you (appear) to have decided not to make the effort to start building them.

Chris Eppstein (develops compass) does a great job breaking down the why (for tools like sass in general) here => http://chriseppstein.github.com/blog/2009/09/20/why-styleshe...
Re:Ask HN: How do I get started freelancing? on Thursday June 10, 2010 @01:55PM (#1420968)
Have you written up any notes about your conventions/system in org-mode? I'd be really interested to read more from you about this, as I'm using org-mode as well, and it's really helpful reading about how other people are putting it to work for them (I'm fairly new to org-mode myself, and at the moment my conventions are fairly loose.)
Re:Streaming UTF-8 (with node.js) on Wednesday May 19, 2010 @06:51AM (#1360633)
I didn't stick around after reading the title when the youtube page loaded, however I'm pretty sure it was Rick Astley singing Never Gonna Give You Up.
Re:Streaming UTF-8 (with node.js) on Tuesday May 18, 2010 @12:49PM (#1358092)
What an awesome RSS feed icon they have, if you haven't already, try hovering over it a few times (and then a few more.)
Re:Ask HN: How do you manage and organize Ideas? on Tuesday May 18, 2010 @03:25AM (#1356828)
http://orgmode.org/ is a brilliant tool for this kind of thing. And you don't need to know emacs to get started. If you're unfamiliar with emacs then getting it setup does require some persistent effort, however once your over that hill, it's really easy to work with. And I have mine set up so that I can hit a key binding wherever I am and a window will pop up so that I can enter a note or todo item.
Re:Ask HN: Hacker Hobbies? on Saturday May 15, 2010 @01:10PM (#1350239)
Just after Christmas I started taking Salsa Dancing lessons, and have since expanded into Tango, Cha-Cha, and Merengue. Hell of a lot of fun, and I've met some interesting people as a result.

That and the usual; cooking, reading (fantasy and science fiction,) social gaming with friends, running, cycling, and (when I get round to learning how) swimming.

Re:HN Members' Workspaces on Sunday May 02, 2010 @07:21PM (#1313471)
Yes, here's my poor-man's standing workspace:

http://imgur.com/LGArE.jpg

I've found it works really well, it affords me lots more storage space, and (after the first week of working with it) has eliminated my lower back pain.

I recommend it to everyone, and you don't need any fancy ergonomic equipment to get started, just a bit of ingenuity. However if you do give it a go, keep in mind that the first week of standing can be pretty... tiring! And if you're adventurous (and have one to hand) you could even try using it with a treadmill.

Re:Ask HN: I'm way too shy, please help on Monday March 22, 2010 @11:48AM (#1210571)
Haven't read the article, I just like the picture...

http://plpatterns.com/post/307982918/its-hard-to-change-a-li...

Re:The Toughest Developer Puzzle Ever on Thursday July 09, 2009 @01:35PM (#696307)
Apparently there is an auto responder set up, to notify you if have found the correct address.
Re:The Toughest Developer Puzzle Ever on Thursday July 09, 2009 @12:26PM (#696167)
Got a confirmation, but it said that I missed something, and so it continues!