freenode/#lisp - IRC Chatlog
Search
21:56:41
Bicyclidine
string= operates on "string designators". T is a symbol, but can be used as a shortcut for the string "T".
21:58:25
aeth
They are the same. CL upper-cases things by default. Unless you've changed that, they are the same. If you want the lower case form, you have to use ||
21:59:13
aeth
A lot of your questions can be avoided by trying to think up simple test cases and running them in the REPL.
22:00:51
aeth
paule32: There were two ways CL could have introduced backwards compatibility with historical Lisps without being case-insensitive. They could downcase 'FOO to 'foo or they could upcase 'foo to 'FOO. They chose the latter, which is more compatible but also more confusing.
22:01:17
aeth
Almost all of the ugliness and confusion in CL is for historical, compatibility reasons.
22:03:03
paule32
why? i search internet, show chat, test code .... and make coffee breaks that all in my spare time
22:19:18
pjb
paule32: you could break this loop by reading a good tutorial about CL, or the Hyperspec.
22:24:24
aeth
paule32's native language doesn't seem like English. Maybe there's a tutorial in whatever language paule32 speaks natively?
22:24:56
Lowl3v3l
aeth: english is the bare minimum for a programmer. you can't get around it. So better learn it now ;)
22:25:40
aeth
Fortunately, it's much easier to become literate in a language than it is to speak it. I can read French. I can't hold a conversation in French.
22:25:54
pjb
http://cliki.net/Online+Tutorial also lists tutorials and introduction university courses in French and Portuguese.
22:29:43
aeth
A Spanish speaker could probably follow along with the Portuguese tutorial much more easily than an English one.
22:34:34
aeth
There's probably enough introductory material to get by in French or German or Russian.
22:52:40
aeth
One thing that helped me when I was first starting out was retyping other people's code when going through things like tutorials and books. Some people copy and paste. This is imo bad because you don't build the muscle memory and you don't notice every small detail.
22:53:49
aeth
Written languages are much more conservative than their spoken forms because spelling reforms don't happen anywhere near as often enough as they should (especially in certain languages, like English and French).
23:36:36
edgar-rft
aeth: the problem is that for programming, the multiple amount of shitty material is written down, too
0:25:12
pookleblinky
aeth: There's a Tibetan language that has not changed its written medium through several vowel shifts over the last thousand years
0:30:21
|3b|
english has lots of perfectly reasonable spellings... problem is that they are all mixed together :p
0:30:33
whoman
translations of tibetan texts are some of the most <adjective> english i have ever had the pleasure to read in this whole life
0:31:44
|3b|
(and probably like japanese, also has mixed in a few copies of same reasonable spelling from different time periods)
2:02:16
attila_lendvai
so, I've created one more zlib binding, but this one based on c2ffi: https://github.com/attila-lendvai/hu.dwim.zlib
2:03:06
attila_lendvai
with a random tester that seems to trigger zlib bugs when run in certain configurations... :/
3:30:37
fiddlerwoaroof
I've been reading about the Nimble type inferencer for common lisp, does anyone know if the source code is available anywhere?
3:37:13
beach
We work on the HIR (High-level Intermediate Representation) of the program, and we describe type inference as a data-flow problem.
3:40:33
fiddlerwoaroof
They're working in Racket, but they essentially show how you can use a macroexpander to check types and then erase them
3:45:10
fiddlerwoaroof
I'm still a complete novice to these topics, but I have a friend who's working on a lisp with Haskell's type system implemented as a racket macro
6:37:53
vtomole
How do i generate a random bit with the probability of getting a 0 being .40 and probability of getting a 1 being 0.60?
8:08:25
beach
vtomole: No recent progress. I am too busy with my Earley-based lambda-list parser framework.
8:30:59
beach
Sure. I am glad it was helpful to you. Anything in particular you found especially interesting?
8:36:57
joga
(shka_, /win is short for /window in irssi, ie. switches the active channel/query window)
8:39:03
shka_
not sure what clisp does there exactly but from what i see, it does more or less what i said
8:41:26
paule32
i have server here, which shall serve / host lisp projects, it has 24 giga byte ram with 2x 2 terra bytes hard disk space, ok, but the stream / makes the different
8:44:06
beach
paule32: It seems that no free Common Lisp implementation is organized so as to allow most of the code to be in a shared dynamically-linked library.