freenode/#lisp - IRC Chatlog
Search
7:57:52
verisimilitude
I've been writing scraping tools for a very particular type of website lately; it's not in a finished and packaged state, though.
7:58:49
verisimilitude
I was using a special patch of DRAKMA for HTTP requests, but I've not yet written code to resume interrupted downloads and other such things; it worked well enough, though.
7:59:14
verisimilitude
I had a HDD failure, however, and so I'm currently just having my Lisp write out files for GNU wget to process, instead.
8:00:18
verisimilitude
I noticed CL-JSON was absurdly slow when processing hundreds of thousands of records, so I've been very lightly working on my own JSON library. I call it JSON-SUCKER, because that implies JSON sucks.
9:00:08
Jachy
Does lisp really need another? =P https://sites.google.com/site/sabraonthehill/home/json-libraries
9:01:33
verisimilitude
I'm going to offer the ability to work directly on the string contents of the JSON, rather than trying to make an efficient parser.
9:01:43
jackdaniel
as of NIH syndrome, I can't say it is reassuring given how many projects which already exist need more people
9:02:32
verisimilitude
This library was thought of because I'd replaced the slow CL-JSON with a simple and efficient string operation; I figured if I could get most of the way there with this approach, generalized, I'd just use it.
9:04:02
verisimilitude
Common Lisp is a language that lets me avoid working with others, which is what I prefer to do.
9:05:53
verisimilitude
Besides, I don't have any other Common Lisp libraries I could be working on, at the moment, sans one that should be rather small.
9:06:14
verisimilitude
Well, that's not true; I've been meaning to start on Gopher software in Common Lisp.
9:09:16
makomo
it's the first step to fare's "Let's consolidate CL libraries" or something like that
9:09:54
jackdaniel
and first thing to consolidate them he declared many maintained libraries "obsolete" in favour of his own uiop thing, I don't think it is the nicest of ways to invite contributors
9:12:07
Jachy
On the flip side, "Once on #haskell, I was asked why I have no large programs to my credit; I replied, 'My problem is that most programs I use already exist.'" Some NIH is acceptable to me.
9:58:50
MichaelRaskin
Re: scraping and JS — well, I do have my code for driving a sandboxed Firefox via Marionette online.
9:59:25
MichaelRaskin
(And then again I prefer to use CL-HTML5 + CSS-Selectors and some custom code to export to text in a way I like it…)
10:01:17
MichaelRaskin
Fare can realistically demand an exception re: other libraries, because ASDF needs to do a lot of things, and having a ton of dependencies for ASDF is somewhat inconvenient… But yes, this does undermine credibility of an effort for greater unification.
13:44:39
pjb
the fact is, if you have to go to Mars or farther, what programming language should you bring with you? stackoverflow will be at more than 1/2 hour away for Mars, days, or years away if you go farther!
13:45:44
pjb
Will you bring a language for which armies of programmers are needed to develop libraries or give you help to write each line, or will you bring a language in which YOU CAN write everything yourself.
13:52:20
devon
Aeons ago, a friend parodied Dijkstra "My graduate students vill profe a theorem und I vill publish a paper ... but we've no help for the poor slobs in the trenches who minimize head motion to optimize seek time."
13:56:18
pjb
Well, that's not a good parody, because Dijkstra would have had no problem designing an algorithm proven to be the best to optimize seek times.
18:30:08
akoana
Xach: Thank you very much for your work on quicklisp, I really appreciate it - it's especially helpful for a newbee like me.
18:32:50
Posterdati
cage_: no, I'm looking at it... Cazzilli = slang from the city of Cagliari means "not so useful stuffs"
18:39:17
Posterdati
I think would pass 2 or 3 millenia before english could acquire the richness of italian language! :) lol
18:54:54
drewc
(loop :with time = 0 :until (or (fall-of-p *roman-empire*) (>= time (get-universal-time))) :do (incf time) :finally (return time)) => 3758122365
18:59:13
drewc
There is a cl lib based on it that I use daily, and have started porting to another language :)
19:01:00
drewc
CL-USER> (local-time:universal-to-timestamp 3758122762) => @2019-02-02T10:59:22.000000-08:00
19:03:13
drewc
I have some links to related CL libs on the readme here: https://github.com/drewc/gerbil-local-time
19:06:23
drewc
Time is still a big issue for development. My clients have offices in Vancouver, Calgary, Toronto, Montreal, Halifax, and report to London, England. There are reports that want "days". Ok... days where exactly?
19:07:57
drewc
Postmodern has SIMPLE-DATE: http://marijnhaverbeke.nl/postmodern/ . I use that as well, along with local-time, and some other hacks, to try and give what they need.