Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina


I spent a few hours to­day round Code Golf and here's a neat thing I did.I think this is python's short­est pos­si­ble fac­to­ri­al:

f=lambda x:x<2or x*f(x-1)

You may say it's not cor­rec­t, be­cause f(1) re­turns True, but in­t(True) is 1, so it's al­most there ;-)

And here's a sur­pris­ing­ly read­able (as long as you know pas­cal's tri­an­gle) and not too long an­swer to their choose chal­lenge:

while c<k:a*=n-c;c+=1;a/=c
print a

The Stars at War (Starfire, #2-3)


A col­lec­tion of clichés (Niv­en wants his Kzin back, au­thors!), but it moves at a good pace, and is en­ter­tain­ing.

What may be in rst2pdf 0.9...

If I man­age to make it work well: Math!

Here's how it look­s:


It does not re­quire TeX. It is not an im­age. It does re­quire ex­ter­nal soft­ware, and it does re­quire you to write TeX syn­tax.

If you are a re­port­lab user: this is a platy­pus flow­able.

As usu­al, it's not me that's do­ing the heavy lift­ing. I am just good at us­ing oth­er tool­s.

With a lit­tle luck, it should be us­able this fri­day.

Bedlam Boyz (Bedlam's Bard, #3)


One com­men­t: the span­ish sounds right. It may be a lit­tle thing, but be­ing a span­ish speak­er, it's in­cred­i­bly jar­ring when it does­n't. The au­thor or its ed­i­tors did well here.

Oth­er than that, de­cent fan­ta­sy book.

Contents © 2000-2021 Roberto Alsina