freenode/lisp - IRC Chatlog
Search
16:52:33
larsen
Xach: is it possible to tell modules quickloaded directly from those that are loaded to satisfy a dependency? (I reckon it's probably a difficult notion to define precisely)
17:36:59
phoe
Xach: I think it would be enough for your client to fetch dependencies through a different URL that you can then monitor separately
17:37:52
Xach
But, that would require some care, as I can picture other dists using an url structure that can't be harmlessly amended
17:38:54
phoe
And then again, some people might actually depend on (ql:quickload :foo) pulling a lot of dependencies that they'd install anyway, so this way might actually miss some legitimate hits.
17:39:25
phoe
I think a combination of both "installs + dependencies" and these raw downloads could provide better insight, if anything.
17:51:49
flip214
larsen: well, any system not listed in ql-dist:dependency-tree would have to have been loaded manually...
18:20:29
Shinmera
Though nowadays there's also Lack and I don't really know how Lack does even less than Clack does or whatnot.
18:21:37
Shinmera
There's also Radiance, which does as little as Clack, or more than it, depending on what you want :^)
18:29:48
Fare
ACTION wonders what to do with that dozen or so systems in Quicklisp that haven't merged asdf 3.2 fixes after 1-4 months
20:03:50
whoman
wow, ironclad takes as longer to compile and load than everything else ive installed from quicklisp today combined
20:12:31
whoman
Module #<PACKAGE "HOOVY"> requested but while the package exists, it is not a module. [Condition of type MODULARIZE:NOT-A-MODULE]
20:18:05
whoman
define-page was quite the quick example. i am sort of wanting to move ahead and build onto that by using my own packages.
20:20:49
whoman
thanks for your help Shinmera ! sorry for being a newbie, soon i will have my own flow
21:38:24
Xach
http://report.quicklisp.org/2017-07-25/failure-report/lichat-protocol.html#lichat-protocol
21:39:15
Shinmera
The changes to the protocol allowed me to (just now!) implement file sending https://twitter.com/Shinmera/status/889963002048466945
21:40:22
Shinmera
I did a force push with the fixes back when I fixed it, though I'm guessing that doesn't matter, yeah?
23:05:55
pjb
Not really a library, but you can learn. There are a few libraries, like cl-fad to deal with implementation dependent things such as physical pathnames.
23:06:35
pjb
If you want to access specific file systems, you may have to use platform specific API (eg. to access all the POSIX paths on a unix file system).
23:08:52
pjb
Once you have them in memory, it's normal data. There are libraries for parser generators, regexps, etc…
23:15:17
Xach
z3t0: with-open-file is the usual thing to use, then read, read-line, read-char, read-byte, read-sequence
23:16:27
pjb
or the various library accessors: com.informatimago.common-lisp.cesarum.file:…-file-contents
23:41:56
z3t0
Right now I have read through a third of practical common lisp and am hacking around on a basic project that generates static sites by parsing other files
23:42:22
z3t0
Throughout I am learning new things and that there are at least 10 ways to do any particular task
23:42:53
z3t0
Are there some open source projects with exceptionally good code that I could read up on/contribute to?
23:43:42
z3t0
axion: is there a good place to ask for peer reviews? (I don't want to bother busy people haha)
23:44:16
z3t0
Bike: right now i am trying to create something that will be useful to others in the community and so will hopefully gain some criticisms and other ideas
23:45:18
eelster
Lisp taught me to be a better programmer in a lot of other languages as well. It really makes you think functionally. It's fantastic.
0:52:15
Xach
Lambda functions are invoked with funcall or apply. local functions can be called like global functions.
0:52:20
z3t0
I'm trying to understand the code at https://github.com/kingcons/coleslaw/blob/master/src/content.lisp#L72
0:54:16
Xach
in that particular case, it could have omitted INPUT and used STREAM directly, as that is what it uses in all uses.
1:27:34
z3t0
I have a break statement which calls up a debugger, but it only lets me restart, abort, continue or retry
1:32:19
Bike
yeah, having all those tools necessitates putting things in the compiled code, which reduces its efficiency, so it won't do it unless debug is three
1:35:23
Bike
try macroexpanding the declaim form. it just expands into a slightly inconvenient to write call to proclaim.
1:49:01
sjl
e.g. in SBCL debug 3 might not be enough: http://www.sbcl.org/manual/#Debugger-Policy-Control
1:58:17
Bike
break functions into small, almost pure functional components and test their i/o, is the main thing for me, but i don't think stepping is wrong
1:59:02
z3t0
What I am trying to do is understand the logic of that flet function and from my experience in js i usually step through
2:01:37
Bike
the inner function is completely independent - like, you could make it a separate defun
2:03:17
Bike
if i'm correct, it takes the entire file after the current position, and puts it in a string
2:03:30
Bike
the length of that string is the length of the file minus the length up to the position you're already at
2:04:03
z3t0
the contents of the string is something like "^@^@^@^@^@^@" which im not sure what that is...
2:04:30
Bike
make-string makes a new string of the given length. in this case the contents are not specified.
2:05:25
z3t0
I understand it has the correct size, but what sets its start position since start is not specified?
2:09:25
z3t0
Its amazing how many people are put off by lisps parens but its the parens that makes it such a breeze to edit
4:48:33
Fare
z3t0: uiop is almost as good as builtin, but much more portable and has more useful functions
4:49:22
z3t0
I see, though I wonder how can it be more portable than built in if built in is a part of the standard?