Factor: Guess the number
My first useful factor program.
! A guessing game
USING: calendar random strings namespaces prettyprint math.parser io io.files math kernel combinators ;
IN: guess
! lets choose our number
SYMBOL: answer
! initialize the generator
now timestamp>unix-time init-random
! get a number [1..100] and put it in answer
100 random answer set
answer get .
! keep asking the user
: start-guessing ( -- )
"Enter number: " print…
Read more ⟶
Programming: What they don't teach in school
This is my honest opinion, feel happy to flame or contradict me, but be polite.
Much has already been written about how much High School computer science teaching sucks ( High school computer science education ). As a student who has just left high school I just wanted to present my 2 cents on how bad the seperation between RealWorld programming and ClassRoom programming is. A common rebuttal is that there isn't enough time.…
Read more ⟶
Information Overload
…
Read more ⟶
aseigo on KDE 4
Talking Bluntly
Refreshing.
That will shut up the pessimists. …
Read more ⟶
Factor -ize
Its been a week since i discovered Factor. So first, it's stack based, it's small, it's almost tiny. I've never programmed in a stack based language before. But I liked it, really makes you think. Infact I haven't got any program written yet, just playing around in the interactive interpreter. It's got really good documentation by way of the API, what it could use is a quick start guide, ie.…
Read more ⟶
1/1/2008
Welcome to the New Year!…
Read more ⟶
Stop coding already
I am sorry to say this to myself, and it is a sad way to end the year, but I've to give up on decent projects for a few months. The next few months are 'while true: study' months for 12th standard students, since the exams supposedly decide your life. Which means most of the time my mind is just looking forward to not thinking and unfortunately programming is thinking, even if it is fun.…
Read more ⟶
How bug reporting should be
Amarok has the best way of reporting a bug. Whenever Amarok crashes it
launches a KMail compose window with full debug information filled in and adressed. Which means you just click send. This is way better than having to go to the project's bug tracker and create an account - the worst part - and then submit a bug. I wish all of KDE ( and others ) went this way.…
Read more ⟶
Ricochet for windows out.
Ricochet for windows has been released. Grab it now. …
Read more ⟶
Ricochet stable out
Play 18 levels of switch-toggling fun.
Get Ricochet …
Read more ⟶