Better HN
topnewbestaskshowjobs
Log inSign up

dramaticus3

50 karma · joined Aug 17, 2011 (15y ago) · 101 submissions

Submissions

comment 15y ago · link · parent

ok, but now I have a generic logger that I can send all kind of messages to. I can use the source channel anywhere and pop a new data source into it etc. etc.

channels rule :)

comment 15y ago · link · parent

use channels, you can make them block so the first loop will wait for logger to finish the logging if you like

    do { 
       source = <- sources // read a source from the sources channel
       if source
           data = read(source)
           process <- data  // send it to the process channel
       else
           process <- nil
    } while source

    fn processor {
        do {
            data = <- process
            result = process(data)
            results <- result
        } while data
    }

    fn writer {
        do {
           data = <- results
           msg = write(data)
           log <- msg
        } while data
    }

    fn logger {
        do {
           msg = <- log
           if msg
                print msg
        } while msg
    }

comment 15y ago · link · parent

turn off javascript (I didn't even know it was a slide deck, I have js off (NotScripts extension) in Chrome).

To be fair to Russ, it is his slidedeck from doing his talk, not a publication. It was only the 2nd IWP9, we've got a bit better since then :)

comment 15y ago · link · parent

So surely Forth should make a resurgence, it has the most code density, the fastest runtime and the lowest error rate.

The only metric is loses on is its high score in impenetrability.

comment 15y ago · link · parent

Quote fight

"object-oriented design is the roman numerals of computing." -- Rob Pike

And Rob shared an office with Bjarne for quite a while.

comment 15y ago · link · parent

Making it Tweet would be the modern way.

I have one that is simply tweet 'what ever I feel like'

which warns me if I go too long instead of posting

comment 15y ago · link · parent

http://harmful.cat-v.org/software/OO_programming/

e.g. "The phrase "object-oriented" means a lot of things. Half are obvious, and the other half are mistakes." -- Paul Graham

comment 15y ago · link · parent

all ?

speak for yourself

comment 15y ago · link · parent

most swords are

comment 15y ago · link · parent

I import the remote filesystem into Plan 9 and edit it there.

Which might be u9fs via ssh | ftp | drawterm | cpu | sshnet & AoE | import | sshnet & ftp | import /net & AoE | import /net & ftp

The possibilities are numerous

1234