freenode/lisp - IRC Chatlog
Search
6:32:37
beach
Shinmera: The URL http://log.irc.tymoon.eu/freenode/lisp works, but http://log.irc.tymoon.eu/freenode/clasp does not. Any reason for that?
6:35:31
beach
Shinmera: The URL log.irc.tymoon.eu/freenode/lisp works, but log.irc.tymoon.eu/freenode/clasp does not. Any reason for that?
6:36:39
Shinmera
Again, I cannot reproduce your issue, but if you're getting an error about secure connections, then your browser is trying to establish HTTPS, which will not work.
6:37:19
Shinmera
The only thing I can think of is an extension like https everywhere that tries to do that, or your browser caching it and trying to be smart.
6:37:44
Shinmera
Either way, I should probably move the logs down to a single subdomain level so https will actually work.
6:38:39
beach
Even though I give http://log.irc.tymoon.eu/freenode/clasp it displays the URL with https and fails.
6:48:15
theos
what would be the best approach to make a massively modular CL system? i want children (mostly my kids) to develop it as they grow up.
6:49:00
minion
theos: SICL: SICL is a (perhaps futile) attempt to re-implement Common Lisp from scratch, hopefully using improved programming and bootstrapping techniques. See https://github.com/robert-strandh/SICL
6:53:02
beach
Like "a Unix system" is not an application that runs on Unix, but an implementation of Unix. To me, that is.
6:57:36
beach
But I never quite understood CLOS from that book. I understood it from reading the CLIM II specification.
7:01:04
theos
CLOS is introduced in a lot of CL books as a chapter or 2. i think that would be enough.
7:01:15
beach
These days, I tend to break up my programs into "modules", where each module has an ASDF system definition, a package, one or more protocols, and one or more files.
7:03:18
beach
If you do that, you make sure that each module is independent of the program to which it belongs, and it could potentially be used in other programs as well.
7:05:15
theos
yes thats what i am planning to do. so each module can be removed and added without affecting the application.
7:10:34
theos
i am thinking of making an educational software for my kids and other kids that i teach. it should be engaging and interesting enough that they will learn everything through it and also learn CL by hacking it. modifying old modules, adding new ones as they learn more etc. the "system" will be a combination of a lot of systems which can be used independently and also together.
7:13:29
beach
For each module, define specific condition types to be signaled, as well as restarts whenever they make sense, and document those as part of the protocol.
7:14:34
theos
yes there will be an inference engine and a knowledge base in one independent part of the system.
7:16:47
beach
If you are not very experienced with CLOS, I suggest you submit your modules for review here, at least in the beginning.
7:20:06
beach
I am willing to bet that you need a very different approach for different subjects. I don't see much in common between (say) mathematics and geography.
7:21:44
beach
I am assuming you want the user to answer questions asked by the software and that you want to be able to check the answers.
7:25:54
theos
yes question/answer expert system is one part. the main part will be the teaching system. like a hypermedia wiki where users can learn about anything they want. the course/syllabus will be constructed separately for every user after the system knows how much or how little the user knows and wants to know.
7:43:00
fe[nl]ix
** TOPIC Common Lisp, the #1=(programmable . #1#) programming language <http://cliki.net/> <http://paste.lisp.org/new> logs:<http://ccl.clozure.com/irc-logs/lisp/>|contact op if muted| ASDF 3.1.5, cl-launch 4.1.4, SBCL 1.2.13, flexi-streams 1.0.15, Hunchentoot 1.2.34, Drakma 2.0.1
8:56:27
clique
Music has kept becoming lower-class because the demographics of people who can afford to patronize music has kept extending to lower classes
11:59:58
magistr
"The document you tried to access is not available or may have been replaced by a newer version. "
12:06:20
knobo
Would it be possible to make hunhentoot fall back to latin-1 if it got an utf-8 charachter error?
12:06:54
knobo
by retrying the whole operation with *hunchentoot-default-external-format* set to +latin-1+
12:10:21
knobo
So in stead of crashing the server if someone puts an ø the url, it could give a propper 404
12:41:23
jackdaniel
quick ducking returns this http://www.phoronix.com/scan.php?page=article&item=mesa-opengl-40&num=1 , if you want some press release
12:46:49
jackdaniel
there are many factors which might be associated with "better" - speed is one, another one is interoperability or extensibility, backward compatibility etc etc
12:50:34
k-stz
with the 4.0 support for us programmers this just means that we can can write 4.0 programs and expect most linux users to be able to run them right?
12:51:50
edgar-rft
magistr: There is a PDF version the dpANS3 pre-print version of the ANSI specification under http://linux4u.jinr.ru/pub/misc/symbolic/lisp/dpANS3/book.pdf
13:30:38
|3b|
(assuming mesa gives you a software fallback instead of just rejecting requests for a 4.x context)
13:36:33
p_l
|3b|: well, depends whether the new functions require new hardware (this is not always the case)
13:37:40
|3b|
3.x and 4.x are both actively updated, 3.x is dx9 hardware, 4.x is dx10 (or something like that, i don't remember dx versions)
13:40:54
p_l
|3b|: Remember the AZDO stuff, it being mostly "oh well, it works if you have 4.3 or so"? Got all of the features on OpenGL 3.3 (except bindless, iirc, which is a hw change) - it was just part of non-mandatory extensions
13:41:33
p_l
anyway, Mesa with 4.0 probably means intel got around to updating its hardware to 4.0 ;)
13:55:42
jackdaniel
ok, I've found a culpirt, ECL mishandles readtable-case set to :invert *and* readtable isn't reset when loading set of libraries (not sure if latter is problem with ecl, or asdf | quicklisp)
13:57:50
Skrylar
i seem to recall ecl is generally unpleasant to work with, although its been a while since i used it and it might be better now
13:58:40
jackdaniel
Skrylar: my impression is the oposite, codebase is really clean. Unless you mean end-user experience - slime backend needs a bit of love, that's for sure
13:59:52
Skrylar
jackdaniel: my first experiences with it were copious segfaults, found out that for some reason line endings for some random c files had to be set to specific encodings to fix, and it tended to generate code clumsily
14:01:35
jackdaniel
anyway I try to squash bugs with time, next time if you try ecl and encounter such a bug, please report it
14:06:13
dim
I tried ecl only once and couldn't play with pgloader on ecl, because of lacking of threads in some sorts IIRC, and lparallel or something else not being supported
14:08:34
jackdaniel
cl-postgres-error throws an error about invalid :double-float specializer, hmm. I'll take look into that, if fixing readtables bug succeeds
14:09:53
jackdaniel
np, I find it really enlightening when lurk through libraries to find bug in them or in ecl - and fix it :)
14:10:30
dim
if you play with pgloader you might want to run the unit tests and discover problems, you need some PostgreSQL installed for that
14:12:52
jackdaniel
hm, when I finish with current thing (:invert), direct goal would be successful pgloader loading into image
14:18:00
Skrylar
from what i recall of the SLIME docs, ecl's compiler isn't actually thread-safe which is why slime has to use some of the worse ways of communicating
14:35:49
dim
I will be interested into two things: a. building an image for shipping, with all the .so mess from cffi and b. performances compared to sbcl
14:56:39
m_zr0
man. does anybody have any idea why slime loves to give the error: Symbol's func def is void: slime-face-inheritance-possible-p? I'm trying to learn to be able to set up slime without hassle, and this one plagues me. ELPA install: slime, slime-repl
14:57:15
m_zr0
it's been three weeks (and now we all have a song stuck in our head, at least, the intro)
14:57:51
m_zr0
this happens in windows (solved, don't install slime-repl), linux (WIP), and OSX (wip)
14:58:28
jackdaniel
m_zr0: best choice would be using slime took from quicklisp, it's what most people do, so it will be more likely, that they will be able to reproduce and/or you won't have problem
15:03:17
m_zr0
ok, this is going to be the biggest beginner question of all time. "load quicklisp into your comm. lisp impl., then eval". does that mean literally download -only- slime-helper.lisp, then load, then run function?
15:03:35
m_zr0
hahah nah the most rewarding things in life are the most challenging to obtain, just an opinion
15:04:53
jackdaniel
how to install quicklisp, and then there is afair a hint, that you want to quickload slime-helper
15:04:53
m_zr0
sorry for the silly questions, really want to (understand) how to get this going. it works on a few systems, but that's like kicking a TV until it works. you should probably just know how you fixed it.
15:06:18
m_zr0
that makes sense, i HAVE to ask. dude this book "land of lisp" insists at the beginning to use clisp, though EVERYONE is using sbcl. will it mess up my (hi pjb!) flow to use sbcl instead of clisp?
15:06:45
|3b|
m_zr0: you will need to change some code to use sbcl, but google should be able to find the fixes
15:06:48
m_zr0
i find way more instructions on sbcl setup, but want to follow the book so i don't run into some nonsense later
15:07:14
|3b|
it mostly uses portable CL, but a few things like networking and running programs as child processes differ
15:07:15
pjb
sbcl is good at generating slowly fast code, so it may be useful to produce the final executable.
15:08:11
pjb
If you want to run your CL code inside an application, then ecl or abcl might be preferable, depending on whether that application is written in C or java.
15:13:38
pjb
and http://www.secretgeometry.com/apps/cathode/ to get all the feature of a terminal missing from Terminal.all
15:16:43
ToeTag
m_zr0, I don't know if you covered this already but CLISP, when started from the commandline has an interactive interpreter with, I think a GNU readline wrapper so you get tab completion of function names
15:17:02
ToeTag
and sbcl doesn't have that for me, that I know of - haven't read the whole manpage yet
15:17:40
m_zr0
it does! and it rocks. the issue was when it made workflow confusing for a beginner (me) to follow without newline/indentation
15:20:20
Petit_Dejeuner
I'm trying to use ningle/clack to upload media files to a server, but I can only return a string at the end of my route without getting an SB-KERNEL:CASE-FAILURE. It's expecting a vector of unsigned bytes, a list, a pathname, or nil. If I try to coerce a binary file into a string, it doesn't work because not all the bytes are valid characters. Does anyone have an idea what I might be doing wrong or where I should lo
15:49:45
digiorgi
I am having a problem with cl-who, the code is simple. http://paste.lisp.org/display/152273
15:56:59
beach
sigjuice_: Closure (the web browser) has an HTML parser in it. As I recall it is also `fault tolerant' in that it tries to patch bad HTML.
16:00:27
sigjuice_
thanks for all the suggestions. I want to write a program to periodically fetch my cable modem's diagnostic web page to monitor signal levels and other parameters.
16:07:32
ToeTag
Before quicklisp, did people just have to individually download libraries from their respective sources
16:08:52
p_l
ASDF-INstall was pretty limited and reliant on Cliki which had ... less than stellar uptime
16:12:45
Fade
I used clbuild quite a bit. as I recall it was quite useful if you didn't already have sbcl installed.
16:35:01
pjb
What was nice when you had to collect the dependencies by hand, is that you knew what you put in your programs.
16:36:15
pjb
Also, there are good libraries that aren't included in quicklisp (yet), because nobody asked it.
16:36:58
guthur
I'm using static-vectors package and trying to store some integers for use with a foreign lib, but i can't seem to either get the right type-specifier or something is going a little wrong; it is working fine with single floats
16:47:30
novemberist
Anyone else here who uses ac-slime and can confirm that is doesn't work anymore after the latest slime update from melpa?
16:49:28
guthur
|3b|: i'll post some, but what i am finding is that a vector that should be #(0 1 2 1 2 3) is #(0 256 1 256 2 ...)
17:01:14
novemberist
digiorgi: never used company-mode before (is it better than auto-complete?), but i might give it a try until the issue with ac-slime is fixed
17:47:59
novemberist
digiorgi: i tried slime-company and it's really faster. but the docstring buffer doesn't really show the docstring but something else