Irealizedthatweneededtodefinethetablebasedonthedefinition
ofitsentriesbeforeallocatingit.Thisideawasfrommacrosin
LISP,whereonceweknowthedefinitionofsomething,manyattributes
canbehard-codedingenerateddatastructuresandfunctionsoperating
onthem.Thiscombinesefficiencywithflexibility.Thismightbeone
reasonforthemacrosinqueue(3).[
閱讀全文]
Isaidthatinapreviouspostbutfeltmorestronglynowto
repeat.
Withalltheinjuries,Ihadtostayputandawayfrom
vigorousexercisesforthepastmonth.Icouldn'tholdit
anymore,andwentjoggingduringlunchhoursacoupleof
timesinthelasttwoweeksanditfeltgreat.
Butworkingseemslikeawhirlpoolsuckingapersonin.It
caterstosecurityandvanityandgivesafalse
senseofaccomplishment.Theworldencouragesi...[
閱讀全文]
Whatelsewouldyoucallsomeonewhogotupat4:00amona
Saturdaymorningandrevisedhisprogramtwicetomakeit
morerobustandflexibleafterhedidit4timesthe
previousday?
Theenvironmentcanchangeaman'sfocus.Mynewworkplace
isfarfromideal.Mybossisbossyanddesperateandseems
insecure.(Well.He'snewtohisjob,too.)Mycolleagues
aretypicalsoftwareengineersstuckinaholethatthey
helpeddiggingthe...[
閱讀全文]
TodayIdecidedtogetbacktoexercisebybikingtowork.
Morningtrafficwasverylightandtheweatherwascool.I
rodeacrosstheDumbartonbridge,glidedthroughtheupper
rightcornerofEastPaloAlto,followedtheMountainView
shorelineandthentheBayTrail,andarrivedatmy
workplaceintheSouthBay,allin1:50min.
Ithasnotbeenfunforthepasttwoweeks.Icouldn'tdo
anythingwiththatpainfulshoulder,notevenrefill...[
閱讀全文]
IgotasevererightshoulderpainonMondaybyliftingand
swinginga16kgkettlebell.Ithadbeenapieceofcakebut
thistimesomehowitengagedwrongpartsoftheshoulderand
Ifeltthepainrightaway.Thenextday,itgotworseandI
couldn'tliftmyrightarmwithoutpain.Oneweekalmost
passedanditwasonlygettingbetterslowly.
NowI'vegotachancetoenjoysometimeofffromallphysical
exercises,itmightbegoodt...[
閱讀全文]
Iam100thisyear,neartheendoflife.Idon'tknowhow
muchfurthertogo,it'snotuptome,butIamquitesure
thathomecomingisathand.
Iwouldliketoflushawaythedustgatheredoverthe
centurybeforeIgo.Atthispoint,Idon'tfeelsmug
likeConfuciuslookingdownfromMountTaibutsimply
livequietlyinmyownlittleworld.WhenIthinkofthis,
Ifeelpeaceful.Ishallpeacefullywelcomeeachnew
dayandgetready...[
閱讀全文]
Googlemapsaiditwouldtakeme1hr59mintogettoworkby
bikeandIbeatitthismorningby10minandfeltgood.Not
justthatIwasfast,mylaborhadanextrapurposein
additiontoexercising.Mylittlebikefeltsturdyandupto
whateverstressIcouldthrow.[Ibraggedtoosoon.Thetripback
took2hrs45min,duetothewindandlowenergy.Itwastough.]
3weeksafterthehillrun,myleftkneestillhurt,evenin
thepool.Yes.OnThu,Iwent...[
閱讀全文]
Iexercisedalotoverthepast2weeks,mostlyfromriding
abikeforabout2hourseveryday.Ididn'tforgetweight
trainingandhavebeendoingsessionsintheeveningswhen
nottootired.Atwork,Istandonmyfeetfor5or6hoursaday.
Ontheotherhand,Iseemtohavedevelopedasortofsugar
rush.Icraveforsweetthings,sugar/coffee,chocolates,
icecreambars,etc.,andcan'tstopeatingthingslike
fruitsandalmondsonceI...[
閱讀全文]
Someoftheunixcommandsarenot
scripting-friendly.Take"stat-c%sfilename"or
"md5sumfilename."Whydothesecommandshaveto
printoutthe<filename>inadditiontothesize
andthemd5checksumofthefile,respectively,
andgivenooptiontomuffleit?Iknowsomeunix
toolsareespeciallyhandyandsomeshellsoffer
waystomanipulatestrings.Butthoseshouldn'tbe
thereasontoskipt...[
閱讀全文]
IheardaboutDavidFosterWallaceonNPRyesterday.Whata
guy!IthenreadhiscommencementspeechatKenyonCollege
(Thisiswater)andwasblownawaybytheclaritywithwhich
heputthings.I'llreadhimmorebutincaseIforget
here'sanextractfromthatspeech.[Speakingofspeeches,I
likeCharlieMunger'sUSCtalk,too.]
Intheday-to-daytrenchesofadultlife,thereis
actuallynosuchthingasatheism.There...[
閱讀全文]