News for hackers. Stuff that matters.

flambard

Re:Famous Laws of Software Development (2017) on Monday February 25, 2019 @03:57PM (#19249398)
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...

Re:CHIP-8 in Common Lisp on Monday August 07, 2017 @02:38AM (#14945743)
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.. :-)

Re:A 15-year-old weightlifting prodigy on Tuesday August 25, 2015 @02:58AM (#10114961)
Myth. The stress from lifting causes bone to grow more.
Re:The Right Dose of Exercise for a Longer Life on Thursday April 16, 2015 @09:24AM (#9387733)
When this subject comes up, I always think of this article: http://startingstrength.com/articles/barbell_medicine_sulliv...
Re:Ask HN: Do you take food supplements? on Monday March 17, 2014 @07:53AM (#7414497)
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.

Re:Ask HN: Who's looking for employment? on Sunday January 15, 2012 @12:27PM (#3467630)
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

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))))))
Re:GNU Emacs 23.1 has been released on Friday July 31, 2009 @02:36AM (#733901)
Re:Distinguishing Strings from Lists in Erlang on Monday July 27, 2009 @10:16AM (#725851)
Have they not heard of lists:all/2?
Re:Cuil, Please Stop on Tuesday July 29, 2008 @05:36PM (#261114)
cuil thinks pg is a caged orangutan! http://www.cuil.com/search?q=paul%20graham&sl=long