Slashdot Mirror


User: tesmako

tesmako's activity in the archive.

Stories
0
Comments
156
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 156

  1. Re:Agreed on Robots Without a Cause · · Score: 3, Interesting
    True quote from a pretty damn clever mathematics prof. that held a course I took once:

    "Practice in mathematics is using mathematics to invent new mathematics, it is not in any fucking way related to bridges."

    Translated from swedish, hopefully decently true to the original swedish quote :)

  2. Re:Paper books still useful for display on Welcome to the Safari Jungle · · Score: 1

    > So if I wanted to look like a c/c++ god, I'd > have things like K&R and Stroustroup, and NOT > some "dummies guide", even if I don't know how > to properly format a 'for' statement. As a small side note I warmly recommend K&R over any dummies book even if you can't format a 'for' statement. It's the C book for everyone really :)

  3. Re:Why X? on IBM Calls Linux "Logical Successor" To AIX · · Score: 5, Interesting

    Actually you got it backwards, Multics was extremely multiuser, was the reasoning behind the name. UNIX started out as largely a singleuser simplification of Multics (which was a very complex system), first named UNICS, which makes the pun much simpler to understand. The name was changed to UNIX when multiuser support was added.

    Multics is really to operating systems what Algol was to programming languages, the huge research project where they found a lot of the do's and dont's in operating system design. A great system all in all, a bit too ahead of its time though.

    See http://www.wagoneers.com/UNIX/City-U/Multics/ for more information.

  4. Re:In a nutshell.... on Amateur Quest For Lychrel Numbers · · Score: 1
    No, took an hour to both implement it and then run it for long enough to notice that it wasnt likely to finish anytime soon. As it happens I have since slept and discovered that the code is somewhat moronic too but that's what you get for trying to code in the middle of the night, crappy code to solve an unsolvable problem :)

    Also could be noted that I implemented it in Matlab at first, but noticed that it ran off the range of a 64 bit integer quickly, so I reimplemented it (badly) in C with GMP to support arbritrarily sized numbers and get some speed out of it (at this point I still thought 691 was just hard, not that hard :), seeing I had never used GMP before it involved a bit of manual reading and such.

    And just to note, one should not use GMP for this problem, was too sleepy to see that yesterday though, better off maintaining and array of actual base 10 digits and doing the adds "by hand".

  5. Re:In a nutshell.... on Amateur Quest For Lychrel Numbers · · Score: 1
    Can't let perl have all the fun, a quickly thrown together and badly tested C solution: lychrel.c

    Requires GMP, build it with something along the lines of

    gcc -o lychrel -O2 -lgmp lychrel.c

    and run with a number as argument to try it for the lychrel property. Makefiles are for wimps ;)

  6. Re:In a nutshell.... on Amateur Quest For Lychrel Numbers · · Score: 2, Funny

    I hate you. I spent an hour writing a program to calculate these damn numbers and crunching on 691 before I got the joke :P Oh well, I learnt a bit of GMP in the process, guess it was not all wasted.