4 karma · joined Sep 28, 2011 (15y ago) · 16 submissions
comment 14y ago · link · parent
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).
comment 14y ago · link · parent
Besides, specialization increases productivity.
comment 14y ago · link · parent
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.
comment 15y ago · link · parent
* 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 :)
comment 15y ago · link · parent
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!
comment 15y ago · link · parent
comment 15y ago · link · parent
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.
comment 15y ago · link · parent
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.
comment 15y ago · link · parent
I just left/sold my own company that I started over 3 years ago. Then people asked why? I said "opportunity cost". I just couldn't explain it in any other way.
Wasn't happy with my response so I got obsessed in psychology for a couple of days this month. So why?
"Someone with extraverted intuition as their leading function is very dependent on his/her feelings of interest and disinterest. Interest and boredom seem to be the driving forces in such a person's life — more so than for any other types. Other types also find things 'interesting' and 'boring,' however, they are able to derive satisfaction and enjoyment from things that aren't necessarily interesting and novel, as opposed to extraverted intuition types."
"What makes something interesting? A new situation, a new set of people, a new way of looking at old things, or novel or unusual information. There has to be some special quality in the information, situation, or people that creates an open-ended, high-potential situation that engages and energizes the mind. Extraverted intuition types would rather choose an unknown situation that might have high potential than a known situation that is known to have low or medium potential."
comment 15y ago · link · parent
Without it small build/utility scripts turn into macaroni cheese unless you resort back to Python/Ruby/Bash - more languages, harder to maintain.
comment 15y ago · link · parent
I worked for a large Japanese hardware company many years ago. They had an entire floor full of programmers (YES, not kidding!!!) who were working on a new software product and when the first beta versions started to surface our guys in Europe saw how bad and hopeless it was. So they assembled a small competing team of 3 guys in Europe (I did the software design and coding – it was actually my first real job!). The headquarters provided all the necessary documentation and 1 year later we had a working product finished before them!! I think one of the major problem was that they had incompetent managers and nobody questioned their authority/ideas. Everyone did what they were told! No independent thinking! Seems like a cultural thing to me.