Better HN
topnewbestaskshowjobs
Log inSign up

flambard

9 karma · joined Jul 20, 2008 (18y ago) · 11 submissions

Submissions

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

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...

comment 9y ago · link · parent

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.. :-)

comment 11y ago · link · parent

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

comment 11y ago · link · parent

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

comment 12y ago · link · parent

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.

comment 14y ago · link · parent

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

comment 17y ago · link · parent

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))))))

comment 17y ago · link · parent

Is this what you are asking for? http://www.gnu.org/software/emacs/manual/html_node/emacs/Jus...

comment 17y ago · link · parent

Have they not heard of lists:all/2?

comment 18y ago · link · parent

cuil thinks pg is a caged orangutan! http://www.cuil.com/search?q=paul%20graham&sl=long