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

And then there is Virding's First Rule of Programming:

Any sufficiently complicated concurrent program in another language contains an ad hoc informally-specified bug-ridden slow implementation of half of Erlang.


This (very long) article explains why OO might not be such a good idea as initially believed.

http://www.smashcompany.com/technology/object-oriented-progr...


Cool. I made a so called dynamically recompiling (dynarec) CHIP-8 emulator in Lisp myself, but never got around to implementing the actual graphics, input, and sound.

https://github.com/flambard/chip-8-dynarec

Perhaps my project will be completed after all.. :-)


Myth. The stress from lifting causes bone to grow more.


When this subject comes up, I always think of this article: http://startingstrength.com/articles/barbell_medicine_sulliv...


I take fish oil and a pretty high dose of vitamins and minerals to help recover from lifting heavy objects (powerlifting, weightlifting).

Oh, and lots of protein of course.


Does the timing of the protein matter?


Yup. These two are good articles on protein amount/timing http://eprints.qut.edu.au/64117/ http://eprints.qut.edu.au/64127/


Ok so 20g every four hours after a workout for 12 hours?

So best to work out early in the day?

I guess 20g right before a workout too?


Yep you could go pre exercise as well. Give give enough time prior to a workout otherwise it might come back to haunt you


You should take a look at Klarna.

Not really a small startup anymore, but a pretty cool place. I used to work there but quit because of a long commute and being unable to relocate.

https://klarna.com/en/about-us/work-at-klarna


I've tried about 5 different positions there but keep getting rejected. Not sure why they don't like my profile :(


This is kind of situation where LOOP really shines.

    (defun machin-pi (digits)
      "Accurately calculates PI digits using Machin's formula
       with fixed point arithmetic and variable digit guarding."
      (flet ((arccot (x unity)
	       (loop
	          with xsq = (* x x)
	          for positive = t then (not positive)
	          for n upfrom 1 by 2
	          for xpow = (floor (/ unity x)) then (floor xpow xsq)
	          for term = (floor xpow n)
	          until (= 0 term)
	          sum (if positive term (- term)))))
        (when (> digits 0)
          (let* ((guard (floor (* 10 (log digits 10))))
	         (unity (expt 10 (+ digits guard)))
	         (thispi (* 4 (- (* 4 (arccot 5 unity)) (arccot 239 unity)))))
	    (floor thispi (expt 10 guard))))))



Unfortunately, no. Go to a blank line inside a code block that's indented a bit and hit tab. Nothing happens :/

I wasn't clear above, I have been able to have it never insert a tab, but it's that and the "don't try to 'intelligently' prevent me from indenting" thing that I need.


Have they not heard of lists:all/2?


Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: