Hacker News new | past | comments | ask | show | jobs | submit | n00kie's comments login

Probably true too, but:

1) fat takes much longer to digest

2) refined sugar/wheat is like a drug. Basically you get withdrawal symptoms that force you to eat more sugar soon. I bet that the food companies love it

3) ... and technically your body can't process over certain amount of protein per day (i think it was 300g). If you eat more than that for some reason, then you just pee it out.

I'm on "paleo diet" + cheese and have lost a lot of weight so far. I don't count carbs and I need to remind myself to eat (lack of hunger).


I'd say division of labor/"departments" are a must-have no matter where you are based. Sometimes LAZY managers/owners put employee level developers together with customers and make them even handle billing/contracts. At one point such employees realize that they don't need you or your company! And why should they?

Besides, specialization increases productivity.


Exactly. I have interviewed many candidates and later fired several too. Some people who look good on paper are so desperate that they lie about everything! In fact, I had to fire the first person I ever hired, because he claimed to be expert at X and Y (lies and lies), but weak at Z (truth). So ok, didn't seem like a huge problem until I realized that he didn't know how to program... at all. In any language. My mistake was that I didn't test ACTUAL coding skills at all, because why would anyone lie about it? LOL!

FizzBuzz style questions are really important (eg. create an array with 4 numbers: 1, 2, 3 and 4 and output the values. Oh a "Java and Python 'expert'?". Please in both languages then!). Although I agree that home tasks and trick-algorithm questions are useless.


Although I agree that home tasks and trick-algorithm questions are useless.

I don't think home tasks are useless, but they have to used properly. A home task geared to 1-2 hours seems reasonable for an exercise between the first and second interview. Some may say they'll just look up the answer (it's encouraged!), and that's why during the second interview the employer should discuss their answer. If the candidate can explain why they made particular decisions on the take home piece and have an intelligent discussion about the trade offs they took then who cares if they looked up the answer. In fact, the home test is probably closer to real programming since I don't know anyone who codes without Google nearby.

So, my preferred method is to use FizzBuzz as a first cut on the first interview and then give a take home quiz that should take the candidate 1-2 hours or less if they are good.


I had a similar problem.

* Figure out what do you want achieve in the long run (eg individual freedom, another interesting idea that requires much more capital, fly to space, save pandas etc). Does switching/quiting really help you towards that goal? No matter what idea you choose there will be always some less interesting aspects about it. So you need more than "interesting".

* Are your goals/ideas too unrealistic (=loss of interest)?

* start long distance running (helped a lot!)

* be open about what you do (friends, family)! Social pressure is not that bad in your case :)


Mac + Chrome = crash. Memory usage keeps growing. No idea.


Yes!

I hired 2 programmers more than a year ago. One of them was a guy with a lot of experience and another was a girl with only basic programming knowledge (university, first year). It was a valuable experiment, because my gut feeling yelled HIRE HER, but at the time it seemed like a completely irrational decision :)

Anyway I had to let the guy go 4 months later, because he didn't progress fast enough (imho, too lazy/ego). In fact, just after 4 months the girl was already much better!

So how?

* Personality: high intelligence, abstract thinking, perfectionistic tendencies, fast learner

* A good mentor: someone has to constantly look over and point out design flaws/errors/bugs (btw, I had to do it only once with her! With other coders I had to do it at least 2-5 times per bug/antipattern type)

And the most important thing:

* Write consistent code!!! So when you make a bad design error or a bug. Rewrite it again (a function, a class)! And again. And again. Until your code is consistent. Whitespace, curly brackets, comments, variable names, function names, class names. Absolutely everything. It starts with tiny things like:

if(x) {

vs

if(x)

{

When you copy-paste a code snippet from a website - rewrite it so it matches your own style!!! And repeat! And repeat!


You should be using a standardized code formatter in an IDE to take care of the bracket and spacing issues, etc there's no sense in putting a bunch of effort worrying about something like that. You can take a room full of 10 developers and debate until the end of time whether a bracket should be on the same line or next line, its personal preference and the most important thing is to use a formatter to standardize for your company, you will never get everyone to agree and its a pointless argument. Of course the naming is important but its really a fairly simple concept, just to always use descriptive names, in your example using x as a variable name is an example of NOT doing this


I second that notion. I've always been irrationally anti-IDE, but in the past few weeks I've been using Pharo Smalltalk for some personal projects and I've realized how much a good IDE can do for you. You should let your IDE handle trivial issues like directory structure, file formatting, etc.

When I write Smalltalk, I ignore formatting and indentation. I just write code. When I'm done, I hit Command+r and the editor formats everything for me. This is just one of a billion tiny bureaucratic issues that the Pharo environment handles for me.

(Offtopic: makes me wonder why we don't build programming environments from the IDE down instead of building them from the language up. Our current approach doesn't seem to be working very well, IMO.)


I agree, I use what I consider to be a great IDE for the language I work in, it does variable suggestion, everything and its great because it makes me write code faster and not cut corners


xcode - unstable piece of sh*t. Even after so many years it still tends to crash randomly...


We avoided middlemen/agencies. Searched for actual teams relatively near us (via google/recommendations). I would recommend companies/teams in Baltic states if you're from US/EU (good quality, relatively cheap, less cultural issues). After that: Eastern Europe (more cultural issues that might make you feel that the entire team has the total IQ/motivation below average), Pakistan, India. No idea about AS3 :( !


Depends. If it is your product/startup then be careful:

We had a split between founders (business vs technical) about outsourcing vs hiring more people, but I finally gave up. So we outsourced 2 non-trivial components, I interviewed both teams (that was my condition and they were really good!) and of course they shipped.

The problem was that we had to throw both outsourced components out and eventually expand our team. Why?

1) Minor tweaks: code was hard/impossible to extend - no long term thinking and why should your outsourced team really care? They follow the specs! 2) Pivot 3) Expensive 4) No know-how 5) Hidden costs -> communication 6) After some time the code quality dropped dramatically

If you need something YESTERDAY and have the resources to do that... then why not? Just be mentally ready to throw that code away next month.

In retrospect we should have used outsourced teams only for mockups/experimental front-end prototypes and not for the actual product.


DRM is mostly marketing BS (target -> content providers). For example it takes less than 10 seconds to remove the latest Adobe DRM from an epub file once everything is set up (max 5-10 minutes).

Use plain XOR, ROT13 or RC2/RC4. Strong crypto might get you into trouble/extra paperwork later (iOS, US export regulations). And lie if you have to, because that's how it actually works! Security through obscurity! But it should be good enough to stop "casual" pirates/hackers/wannabes.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: