@vzn Well, that would be cumbersome for some big tasks, but regression? I bet it would be faster to write it than install some nearly-a-day quirks-heavy unchecked library.
@vzn I like your blog posts and the fancy fresh articles / papers, but installing dubious library is not one of them ;). To remind some basics facts and fun of dissing, the statistics packages in ruby are slowish and recent events (huge mistakes in statistics software) shows it would be nice to check it.
@Evil yeah. and have you coded multiple regression from scratch yourself? ruby is an excellent/ very widespread language & think its kind of a shame if its this hard to do basic statistics. :(
I have a small didactics problem and assume it is not proper question. What methaphors or examples can be used to teach someone what is a linked-list? To show passing by reference or value was easy, explaining pointers worked, the array addressing also, but one can cite how linked-list works, but does not understand it. I cannot get any example or drawing back.
It is like saying that people are in the queue and sit on chairs while waiting (so it is not obvious what is the order), every person knows who is befere them (and only that). Still I got array idea to store them. When I add that they can swap places, no problem there, still array is the idea I get back.
Of course array idea is invalid - it is traversing the list and adding people to array =.=
@Evil Couldn't you simply draw a linked list on the whiteboard or something like that? A "box" for each element, with arrows between them... (guess this is too obvious :-))
I was once teaching arrays by using a "physical array", which in this case was a very small drawer
@Juho I belive, there are such modalities but very hard to encounter person with such. Anyway, idea is good, I didn't gave much thought to that because some kind of random access is still there.
@Juho "index different drawers" - awesome -> beads with hooks and numbers on top with small reading device (small tube with hole for number). Thank you for idea. I'll build it, but in case it won't work maybe you have some methaphor also?
@Juho indeed, but the physical idea is awesome, thank you for that. Anyway I started to think how to prepare in advance for trees, the "reading device" will not work without cogs...