Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

scheme is superior

Name: Anonymous 2007-07-29 3:13 ID:IT4FqtD1

the start of a beautiful IRC bot
http://img520.imageshack.us/img520/4650/winra0.png

start of a basic IRC client for the funs
http://img300.imageshack.us/img300/5165/clientdl7.png

see how I can interactively change shit as the program is running. totally sweet

enjoy.

Name: Anonymous 2007-07-29 3:29 ID:FDtEAraS

fail:

scheme sucks
windows sucks
mac theme sucks

here's a guide how not to fail:

use haskell
use bsd
use xmonad

Name: Anonymous 2007-07-29 3:32 ID:/DHWXn5o

It's not just Scheme. There have been a number of languages and their associated environments that could do things like this.

Of course, several decades later and we're still stuck with the shittiest of development tools; they're just bandaids on a festering carcass.

One camp thinks Eclipse is the best thing ever, another worships Eclipse, and the third loves vi, yet they all suck tragically. The only reason anybody thinks they're good is ignorance of computing's history.

Name: Anonymous 2007-07-29 3:32 ID:Heaven

One camp thinks Emacs is the best thing ever
fix'd

Name: Anonymous 2007-07-29 3:33 ID:IT4FqtD1

>>2
scheme rocks
windows rocks
mac theme rocks

here's a guide about how not to fail:
shut the fuck up

Name: Anonymous 2007-07-29 3:34 ID:Heaven

>>2
also, lol@bsd and X inferiority

Name: Anonymous 2007-07-29 3:36 ID:IT4FqtD1

>>3
yeah, I wasn't so much saying that only scheme/lisp has this. I just thought I'd point it out because it is a kick-ass way to program

Name: Anonymous 2007-07-29 3:40 ID:Heaven

Use *BSD if all you want to do is use an IRC client. The only BSD I use is the one sitting under OS X.

Name: Anonymous 2007-07-29 3:42 ID:/DHWXn5o

>>7
Indeed it is.

It gives me lulz when I bump into people who think incremental compilation, or even REPL, is awesome. It's nowhere fucking close to where we used to be, and a few niche languages are right now.

I blame it on UNIX, personally. Kinda sad it's the best OS we have right now, with all its brain-damage and shitty baggage.

Name: Anonymous 2007-07-29 3:48 ID:FDtEAraS

Fact: scheme and java are completely fucking useless. I have never seen a worthwhile application written in either. I tried making myself use scheme once but I vomited at the end of the session. It's just so retarded. It doesn't even have a function composition operator. WTF?

Name: Anonymous 2007-07-29 3:53 ID:Heaven

>>10
Poor.

Name: Anonymous 2007-07-29 5:35 ID:1HOg/Nmm

>>1
Scheme rocks
Windows sucks
Black background rocks
Mac theme sucks (digital lifestyle)

>>3
To develop, you only need a text editor. If a language requires you to use more than that, it sucks. You just use the text editor with the most features you use, the least features you don't use, and better interface (as in standard keys, principle of least surprise, PCRE), which rules Eclipse (bloated enterpriseware), vi (shitty interface) and emacs (shitty interface) out. I recommend Kate on UNIX and PSPad on Windows or Wine. (Protip: PSPad takes less memory than Kate if you don't run KDE. Yes, even counting Wine. Yes, it's sad.)

>>9
Truth on UNIX, it's kind of an ugly hack of an OS. However, the alternatives are even uglier hacks, or bloated 90s enterprise bullshit. We need something with the simplicity of UNIX, the filesystem focus of Plan 9 (though I'd add indexable metadata and reverse hardlink indexes), the purity of Scheme, the size of MS-DOS (though I'm willing to sacrifice size for filesystem-related features), and the legacies of nothing (e.g. no 3284720389457 terminals and shitty keyboards which never work, no ancient irregular commands, no crappy shell, etc.).

>>10
Fact: you're a lame troll. Next time, you should spike your trolls with some truth, so that they irritate people.

Name: Anonymous 2007-07-29 6:09 ID:wulE4QBG

>>10
It doesn't even have a function composition operator.
If you're too stupid to write one yourself you shouldn't be attempting to write programs.

(define (dot f g)
  (lambda (x) (f (g x))))


Happy now?

Name: Anonymous 2007-07-29 6:28 ID:Heaven

Fail thread.

Name: Anonymous 2007-07-29 6:30 ID:FDtEAraS

>>Happy now?

Wow! Awesome! Except that it looks like

(dot (dot (dot (dot f g) h) i) k)

instead of Haskell's

f.g.h.i.k

Name: Anonymous 2007-07-29 6:59 ID:wulE4QBG

>>15
OK Bitchy McLikesToWhine, here:

; composes 2 functions
(define (dot2 f g)
  (lambda (x) (f (g x))))

; variable arity function that folds dot2 into its arguments
; and composes as many functions as you like. fag.
(define (dot f g . rest)
  (cond ((null? rest) (dot2 f g))
        (else (dot2 f (apply dot (cons g rest))))))


And now you can do (dot f g h i k). You should be able to figure this shit out on your own.

Name: Anonymous 2007-07-29 7:40 ID:Heaven

>>16
stop. fucking. giving. this. idiot. code.

Name: Anonymous 2007-07-29 7:57 ID:IT4FqtD1

>>12
What bothers me about Plan 9 is that every transfer protocol is abstracted. So file operations are just like working with a local disc. The issue I see with that is connections that are cut while a transfer is taking place. Couple things you can do to make it a non-issue: (1) resume support (2) special treatment functions such as pausing the transfer, resuming, etc. and naming the transfer protocol, giving protocol-specific options. Another alternative could be to have a the operating system make you access all files like a socket connection. You could come up with functions to abstract it and make it less complex. But that's just a random thought I had one time. Shrug.

Name: Anonymous 2007-07-29 7:59 ID:Heaven

>>18
To be honest, though, I don't think that P9 stuff is of a very UNIXy philosophy? I mean, there should really be a specific one-purpose ("do one thing and do it well") program for each protocol that comes with the OS, not one layer that handles all protocols.

Name: Anonymous 2007-07-29 8:04 ID:Heaven

>>19
No. Plan 9 is more UNIX than UNIX itself. Protocols are nothing more than implementation details. They should be abstracted away and presented to the user in a uniform manner. That's what UNIX has always been about.

Name: Anonymous 2007-07-29 8:06 ID:cbqb4d8v

>>18 same
>>19 fucking
>>20 person

Name: Anonymous 2007-07-29 8:07 ID:Heaven

>>21
Three. Different. People.

Name: Anonymous 2007-07-29 8:12 ID:Heaven

>>23,24
Pame serson.

Name: Anonymous 2007-07-29 9:42 ID:1HOg/Nmm

>>23
No

Name: Anonymous 2007-07-29 12:51 ID:/DHWXn5o

To develop, you only need a text editor. If a language requires you to use more than that, it sucks.
While I agree with the sentiment to some degree, I think you too have suffered too long with *nix and its burden.

Take a look at the way Genera did things for a developer. I hear the Smalltalk world has something similar. Factor is miles away from achieving it, but it's trying to get there.

Now ask yourself if your favorite language or environment has anything anywhere close to that. Unless you're a PL weenie, 95% chance you don't.

The problem isn't the editor or IDE. A "simple" editor indicates that you think the editor should somehow be separate from the rest of the system, and thus you loose out on all the goodies such a thing could bring. Things like Eclipse and Emacs are just a poor attempt to cover this over, and thus are large and ugly while still missing the point.

The problem is something far more fundamental, and it's in large part a heritage of UNIX.

Name: Anonymous 2007-07-29 12:54 ID:cbqb4d8v

Take a look at the way Genera
can you show me or tell me a bit about Genera please?

Name: sage 2007-07-29 12:59 ID:Heaven

An IRC bot! That's original!

Name: Anonymous 2007-07-29 13:04 ID:Heaven

>>25
I don't see what Unices has to do with anything here.

Name: Anonymous 2007-07-29 13:22 ID:wulE4QBG

>>26
Look, I googled it for you: http://en.wikipedia.org/wiki/Genera

That'll be $10.

Name: Anonymous 2007-07-29 14:04 ID:kE/RiX3+

I want to learn Scheme now.

Thanks OP.

Name: Anonymous 2007-07-29 15:10 ID:/DHWXn5o

>>26
An HTML version of an old doc:
http://lispm.dyndns.org/genera-concepts/genera.html

>>28
That might be because you think of your programs, your development environment, and the OS & libraries as separate entities. Guess which OS was a great purveyor of that mindset? Now everybody is doing it (or worse, as in Windows).

Name: Anonymous 2007-07-29 19:20 ID:bxBAM4ls

Scheme rules.

DrScheme's shitty forced IDE blows.

Name: Anonymous 2007-07-29 19:28 ID:cbqb4d8v

>>1
sorry but how is your shitty 5 lines of using a pre-written IRC library superior to anything?

Name: Anonymous 2007-07-29 20:27 ID:Heaven

>>17
there.are.some.non.idiots.learning.from.this.too

Name: Anonymous 2007-07-29 20:50 ID:nM6teOH8

Following links from the wikipedia Genera page suggests there might be emulators for Genera and lisp machines.
(I don't know, I've only spent a few minutes on this.)

http://www.unlambda.com/
http://vlee.sourceforge.net/
http://cbbrowne.com/info/lisposes.html



Name: Anonymous 2007-07-30 1:02 ID:oLaiu1kA

OP here.

>>32
It's not forced. You can use MzScheme (the Scheme interpreter behind DrScheme) as a commandline/scripting language like one uses Perl.

Name: Anonymous 2007-07-30 7:25 ID:Heaven

>>1
ITT I just learned how to use prewritten libraries

Name: Anonymous 2007-07-30 7:36 ID:Heaven

>>37
I wrote the IRC library myself, would you like to see the code?

No? Then GTFO.

Name: Anonymous 2007-07-30 9:12 ID:5yW66rOP

Name: Anonymous 2007-07-30 9:35 ID:Heaven

>>38
as if lol

Name: Anonymous 2007-07-30 11:50 ID:Heaven

>>40
Then GTFO.

Name: Anonymous 2007-07-30 17:27 ID:4aTo8zoQ

>>39 is and EXPER PROGRAMMER

Name: Anonymous 2007-07-30 17:28 ID:4aTo8zoQ

which is even worse than an EXPERT

Name: Anonymous 2007-07-30 19:02 ID:Heaven

>>41
your logic does not follow
OH WAIT YEAH IT DOES LOLOLOLOL ITS LIKE THIS:

IHBT -> SHOUT AT PEOPLE AND TELL THEM GTFO LIKE A BABY

thread over? ;)

Name: Anonymous 2011-02-03 0:45


Don't change these.
Name: Email:
Entire Thread Thread List