freenode/#lisp - IRC Chatlog
Search
20:47:01
shka
doing this naive way, gives me Value #<SIMPLE-DATE:DATE 18-01-2018> can not be converted to an SQL literal. error
21:03:23
aeth
Looks like postgres itself can accept any format but recommends ISO 8601. https://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-DATETIME-DATE-TABLE
22:42:40
Shinmera
When I update things it's typically a series of reconnects because I never seem to be able to do anything without also breaking twenty things in the process.
22:43:42
jmercouris
This is the quintissential: http://weknowmemes.com/wp-content/uploads/2012/09/my-code-doesnt-work-i-have-no-idea-why.jpg
22:43:59
Shinmera
Yeah, well, the system administrator part of me dies a little every time it happens
22:44:21
jmercouris
it's alright, you're an engineer, not a sysadmin, don't give into the devops hype
22:47:59
jmercouris
I can't think of a clever proverb, but I'm sure one day you'll hit your zero downtime goals :D
1:07:19
pfdietz
So, how DO quicklisp's systems get curated? Is there a way to tell if they're good or not?
1:08:09
jasom
pfdietz: the default distribution merely checks that they have some open-source license *and* that they build on sbcl
1:08:51
pfdietz
The problem is they can interfere with each other. Just building in isolation isn't enough.
1:13:44
jasom
pfdietz: I think asdf has made some changes to how readtables are modified; it was made less aggressive to to breaking some systems that assumed loading system X would modify the readtable as a side-effect, so I don't know what the final outcome of that was.
1:14:27
jasom
pfdietz: in general the curation is very minimal, so there is no guarantee of quality or completeness
1:15:10
Xach
Well, it does lately. I added a lot of stuff without asking at the start, to bootstrap...
1:40:52
aeth
Fortunately, most of the probable nickname collisions are libraries that do the exact same thing, probably wrapping the exact same C library.
1:46:19
pfdietz
At this point, I mostly care "does loading this system ruin my lisp session". Purely internal quality is less of a concern.
1:47:46
aeth
Without care, a modest sized application could be using dozens, which also probably means duplicated functionality (e.g. 3 JSON libraries or something)
1:52:16
aeth
pfdietz: It looks like I use "::" twice, to declare a type that's not exported and to fix a performance bug in ECL, i.e. (setf cffi::*cffi-ecl-method* :c/c++)
6:26:51
phoe
I want to write a paper extending CLIM2's idea of protocols and extending your extensions of this idea.
6:27:27
phoe
But with >9000 other papers on software development, engineering, software modularity and software interfaces, I don't think it would be any kind of significant contribution.
6:30:44
beach
Most work in software engineering etc. assumes an object-oriented model of type Java, with single dispatch and methods in classes.
6:31:07
beach
Therefore, some work that is related to generic functions etc could very well be unique.
7:55:35
red-dot
Has anyone seen a good book or reference for format directives? I've read CLHS, PCL and CLtL but still do not really have a good grasp on it. I need to do some character based formatting.
7:57:49
red-dot
Weitz has a few examples too, but I think the real answer is going to be: 'go experiment'.
7:58:36
Shinmera
Okey, well for that you first have to figure out the widths of each column. Format won't be able to do that for you. Once you got that you just print each row using the width limitations of the format directives for each column.
8:01:50
red-dot
That's what I thought, thanks. Am hoping there are some good examples of this somewhere, or a Guide to Format Directives somewhere. At some point this must have been more commonly used, but I suspect such information did not make it over to the Internet, as it probably pre-dates it.
8:02:59
Shinmera
This might not be the best way to do things, but here's an example: https://github.com/Shinmera/trivial-benchmark/blob/master/toolkit.lisp#L9
8:04:29
red-dot
Weitz has a pretty-printer example that might also do the trick. Good thing it is weekend.
8:11:06
jackdaniel
I have a mixed feelings about format which partially overlap with points brought here http://www.cs.yale.edu/homes/dvm/format-stinks.html
8:22:19
red-dot
Well, I will not argue that there should not be a better way. Just like LOOP vs. iterate. 'out' might be worth looking at.
8:24:06
jack_rabbit
When load-testing, I'm getting "Can't handle a new request, too many request threads already"
8:24:37
jack_rabbit
Which makes sense, but I'd prefer those requests to go into a pending queue rather than being dropped altogether.
8:33:58
jack_rabbit
hmm. appears the acceptor has a listen-backlog initarg. But it doesn't appear to eliminate the error message.