p_l changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | ASDF 3.3.4
pyx has joined #lisp
pyx has quit [Client Quit]
gioyik has quit [Ping timeout: 250 seconds]
xaotuk has quit [Ping timeout: 240 seconds]
gioyik has joined #lisp
iAmDecim has quit [Ping timeout: 246 seconds]
iAmDecim has joined #lisp
frodef` has quit [Ping timeout: 246 seconds]
random-nick has quit [Ping timeout: 240 seconds]
dale has quit [Quit: My computer has gone to sleep]
citizenajb has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
efm has quit [Ping timeout: 256 seconds]
torbo has joined #lisp
msk has quit [Ping timeout: 250 seconds]
* Xach files bugs
efm has joined #lisp
luni has quit [Remote host closed the connection]
efm has quit [Client Quit]
efm has joined #lisp
terpri has quit [Quit: Leaving]
akoana has joined #lisp
igemnace has quit [Quit: WeeChat 2.7.1]
bilegeek has joined #lisp
prince1 has joined #lisp
terpri has joined #lisp
prince1 has quit [Ping timeout: 264 seconds]
iAmDecim has quit [Ping timeout: 246 seconds]
KDr21 has quit [Remote host closed the connection]
bitmapper has quit [Ping timeout: 256 seconds]
KDr21 has joined #lisp
<pfdietz> In what?
lemoinem is now known as Guest39754
Guest39754 has quit [Killed (card.freenode.net (Nickname regained by services))]
lemoinem has joined #lisp
wxie has joined #lisp
wxie1 has joined #lisp
ebzzry has joined #lisp
wxie has quit [Ping timeout: 250 seconds]
wxie1 is now known as wxie
<edgar-rft> in bags
shukryzablah has joined #lisp
wxie1 has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
wxie1 is now known as wxie
ebzzry has quit [Read error: Connection reset by peer]
pfdietz has quit [Remote host closed the connection]
dmiles has quit [Ping timeout: 256 seconds]
gioyik has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 256 seconds]
kamog has joined #lisp
ebzzry has joined #lisp
karlosz has joined #lisp
torbo has quit [Remote host closed the connection]
Khisanth has joined #lisp
semz has quit [Ping timeout: 246 seconds]
iAmDecim has joined #lisp
iAmDecim has quit [Ping timeout: 250 seconds]
ebzzry has quit [Remote host closed the connection]
semz has joined #lisp
semz has quit [Changing host]
semz has joined #lisp
xkapastel has quit [Quit: Connection closed for inactivity]
gioyik has joined #lisp
monok has joined #lisp
gioyik has quit [Ping timeout: 246 seconds]
mono has quit [Ping timeout: 250 seconds]
libertyprime has joined #lisp
prince1 has joined #lisp
prince1 has quit [Ping timeout: 256 seconds]
prince1 has joined #lisp
gioyik has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
iAmDecim has joined #lisp
iAmDecim has quit [Ping timeout: 264 seconds]
dddddd has quit [Remote host closed the connection]
Lycurgus has quit [Remote host closed the connection]
wxie has quit [Ping timeout: 260 seconds]
kamog has quit [Quit: Leaving]
GuerrillaMonkey has quit [Quit: Leaving]
<jcowan> pjb: My country, at least, is completely homogeneous: all the citizens are human.
wxie has joined #lisp
iAmDecim has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
Bike has quit [Quit: Lost terminal]
<no-defun-allowed> jcowan: Which one?
<jcowan> The U.S., but I don't think it matters.
<jcowan> Perhaps. But it's not a citizen.
<jcowan> (In addition, jus soli means that everyone born in the U.S. is a citizen, with the embarrassing exception of American Samoa.)
<oni-on-ion> hawaii ?
<jcowan> Hawaii is a state, so its residents are citizens. The inhabitants of other non-states like Puerto Rico are citizens as well.
<jcowan> "All persons born or naturalized in the United States and subject to the jurisdiction thereof, are citizens of the United States and of the State wherein they reside."
<oni-on-ion> i ask hawaii because samoa
<jcowan> See, there was a coup in Hawai'i instituted by some Americans living there who overthrew the monarchy and applied for admission to the U.S. as a territory. It took decades to become a state, but it finally did.
<oni-on-ion> ah oops sorry for contributing to offtopic, Shinmera . jcowan you are responding to something that was disapproved of and recommended to be #lispcafe
<jcowan> Sorry, I didn't notice that.
<oni-on-ion> they do talk about this stuff in there a lot, im sure you would like it =)
wxie has joined #lisp
gravicappa has joined #lisp
ebzzry has joined #lisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
asarch has quit [Quit: Leaving]
Necktwi has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
wxie has quit [Ping timeout: 260 seconds]
pilne has quit [Quit: Live long and prosper \v//]
Necktwi has joined #lisp
shangul has joined #lisp
pilne has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
Necktwi has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
Necktwi has joined #lisp
dmiles has joined #lisp
dale has joined #lisp
Necktwi has quit [Ping timeout: 250 seconds]
prince1 has joined #lisp
<White_Flame> huh, I know the clhs isn't blemish-free, but is the description for prog2 really that obviously wrong? http://www.lispworks.com/documentation/HyperSpec/Body/m_prog1c.htm
<White_Flame> says it returns first-form instead of second-form
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #lisp
prince1 has quit [Ping timeout: 256 seconds]
<no-defun-allowed> Yup.
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
vlatkoB has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
choegusung has joined #lisp
<oni-on-ion> whoa. should there be a revised version available for CLHS lookup ? as opposed to downloading the lispworks website version for slime
choegusung has left #lisp [#lisp]
vlatkoB has quit [Remote host closed the connection]
slyrus has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 260 seconds]
koenig has quit [Ping timeout: 246 seconds]
koenig has joined #lisp
akoana has left #lisp ["Leaving"]
<beach> Good morning everyone!
usney has joined #lisp
<usney> hi guys
<usney> Why should I program in lisp?
<usney> I am new to it
<usney> is it easy to learn?
<no-defun-allowed> It's less annoying to learn, from my experience.
libertyprime has quit [Read error: Connection reset by peer]
<usney> cool even easier to learn than python? no-defun-allowed
<White_Flame> lisp is very regular. python is very pragmatic
<no-defun-allowed> Yes, there's less syntax and it's more interactive.
<White_Flame> and yeah, python's repl sucks :-P
<White_Flame> so many things you can't do in it
<usney> is lisp scriptable or can I only run it if it is compiled?
<White_Flame> you can create and run .lisp scripts, but the common case is running lisp code from inside a running lisp
<White_Flame> given its heritage as an OS
<White_Flame> you can also of course deploy executables
<no-defun-allowed> Many implementations compile code, but it is still done dynamically.
<White_Flame> usney: what languages do you already know?
<usney> I see
<usney> I just know a little python
<usney> also a little bash scripting but that is not a programming language
Josh_2 has joined #lisp
<White_Flame> minion: tell usney about pcl
<minion> usney: please see pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
<White_Flame> a commonly recommended learning resource, especially if you have some programming under your belt
<White_Flame> also, #clschool is good for specific newbie questions, as discussions here will often get into "you already need to know lisp to understand the answer" territory ;)
<usney> how is lisp an os? is that guix os?
william1_ has quit [Ping timeout: 240 seconds]
<White_Flame> lisp was teh OS of lisp machines in the 70s/80s
<usney> oh okay I will go to that channel
<usney> is this the same lisp that rms uses?
<White_Flame> I don't know what he uses. Emacs has elisp running in it, there's Guile scheme under the GNU project, etc
<beach> I seriously doubt that rms is using Common Lisp.
<White_Flame> this channel, and typically the term "Lisp" itself, refers to "Common Lisp", which is a specifciation of the language
<White_Flame> scheme, elisp, autolisp, picolisp, etc are all separate langauges that aren't CL
<White_Flame> because it's so easy to create a lisp from scratch, basically
<usney> oh okay thank you so much for asking my basic questions
<White_Flame> np
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #lisp
ggole has joined #lisp
<oni-on-ion> its like gardening
william1_ has joined #lisp
prince1 has joined #lisp
prince1 has quit [Ping timeout: 246 seconds]
igemnace has joined #lisp
Jonsky has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
wxie has joined #lisp
wxie1 has joined #lisp
wxie has quit [Ping timeout: 250 seconds]
aeth has quit [Ping timeout: 250 seconds]
wxie1 is now known as wxie
aeth has joined #lisp
Jonsky has quit [Quit: rcirc on GNU Emacs 25.1.1]
shka_ has joined #lisp
Inline has joined #lisp
bilegeek has quit [Quit: Leaving]
Jonsky has joined #lisp
Josh_2 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 260 seconds]
MichaelRaskin has joined #lisp
Josh_2 has joined #lisp
sauvin has quit [Ping timeout: 250 seconds]
usney has quit [Ping timeout: 260 seconds]
hhdave has joined #lisp
Necktwi has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
frodef` has joined #lisp
sauvin has joined #lisp
ebzzry has quit [Ping timeout: 250 seconds]
niez has joined #lisp
vlatkoB has joined #lisp
gioyik has quit [Quit: WeeChat 2.7.1]
sonologico has joined #lisp
prince1 has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
niez has quit [Ping timeout: 246 seconds]
prince1 has quit [Ping timeout: 240 seconds]
Necktwi has joined #lisp
wxie has quit [Ping timeout: 250 seconds]
abbe has quit [Quit: “Everytime that we are together, it's always estatically palpitating!”]
niez has joined #lisp
random-nick has joined #lisp
libertyprime has joined #lisp
karlosz has quit [Quit: karlosz]
vanjulio has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 250 seconds]
__jrjsmrtn__ has joined #lisp
rippa has joined #lisp
Josh_2 has quit [Quit: ERC (IRC client for Emacs 26.3)]
ebzzry has joined #lisp
Josh_2 has joined #lisp
space_otter has quit [Remote host closed the connection]
Bourne has quit [Ping timeout: 240 seconds]
logand has joined #lisp
Josh_2 has quit [Quit: ERC (IRC client for Emacs 26.3)]
Josh_2 has joined #lisp
xkapastel has joined #lisp
frodef` has quit [Ping timeout: 256 seconds]
amerigo has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
Jonsky has quit [Ping timeout: 264 seconds]
prince1 has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
arbv has quit [Read error: Connection reset by peer]
abbe has joined #lisp
arbv has joined #lisp
<sabrac> should (ccl:lookup-hostname "localhost") return something other than nil?
libertyprime has quit [Read error: Connection reset by peer]
hhdave has quit [Quit: hhdave]
<phoe> that should return 127.0.0.1
arbv_ has joined #lisp
arbv has quit [Read error: Connection reset by peer]
<Posterdati> hi
<Josh_2> H
<Josh_2> hi*
<Posterdati> is anyone playing in google kick start?
iAmDecim has quit [Ping timeout: 264 seconds]
<sabrac> phoe: that is what I thought. Obviously I am doing something wrong
<phoe> sabrac: or it's a CCL bug
<phoe> ...I cannot reproduce it though
<phoe> ? (format t "~X" (ccl:lookup-hostname "localhost"))
<phoe> 7F000001
<phoe> that's a 127.0.0.1 that I see there
<sabrac> As usual something wrong on my side
<phoe> that's on 1.12-dev.5 though
<MichaelRaskin> What is in /etc/hosts ?
<sabrac> If I run ccl from a terminal, it does the right thing. If I run if from inside emacs, I get nil. Will restart emacs and see if it still is weird, then will look at my emacs config
<sabrac> Now it works running from a repl in emacs. So it has just decided to spend today laughing at me
dddddd has joined #lisp
ebzzry has joined #lisp
z147 has joined #lisp
epony has quit [Quit: reconf]
epony has joined #lisp
Bike has joined #lisp
ukari has quit [Quit: Leaving.]
milanj has quit [Quit: This computer has gone to sleep]
iAmDecim has joined #lisp
iAmDecim has quit [Ping timeout: 250 seconds]
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
theBlackDragon has quit [Ping timeout: 264 seconds]
void_pointer has joined #lisp
theBlackDragon has joined #lisp
frodef` has joined #lisp
logand has quit [Ping timeout: 250 seconds]
luni has joined #lisp
<z147> I'm interested in medical expert systems and their implementation via CL. I also need to read up on the current state of the field. So far, I have Norvig on my reading list, and am going to review the medical initiatives lambdanative have going. I'd appreciate some pointers/ keywords as far as books, must-read articles etc for the field.
iAmDecim has joined #lisp
<z147> OPS5 is also on the list
Bourne has joined #lisp
<beach> z147: There is also "The Handbook of Artificial Intelligence", but the version I have is old, and I don't know whether there is a new edition of it.
<z147> beach, the cambridge one?
<beach> This one is from Stanford, apparently.
ukari has joined #lisp
<z147> they sure like the name
<z147> i'll look into it, thanks
prince1 has joined #lisp
<beach> Chapter VIII in Volume II in this edition.
lucasb has joined #lisp
<beach> I am not even sure they do AI that way anymore.
<z147> oh, screw "AI" they most certainly are not doing "AI" like that anymore because it's all statistics with no solution to edge cases in sight
<beach> Though I guess for medical systems, they probably would not use neural nets. They need to have the system explain its decisions.
<z147> but the rule systems do work, and i'm going to do those
<z147> beach, yeah, it actually has to make sense
<z147> not a popular approach at the moment
<z147> they're using neural for sorting, as it should be
v88m has quit [Ping timeout: 264 seconds]
<z147> for example x-ray flagging for possible diagnosis, etc
<z147> but rule based is perfect for triage etc
<z147> and it'll be nice to work on a product that actually works
<White_Flame> the state of the art for production rules systems has basically moved into "business rules engines" as fas as I can tell
prince1 has quit [Ping timeout: 250 seconds]
<z147> White_Flame, at some point, when the madness settles, there's going to be a medical conference on emergency medicine i'd like to attend to meet a few experts and talk about diagnostics and automating it, but i need to prepare my basics
<White_Flame> well, if you do want to propose some Real Business, PM me because we've got good tech in that space
<z147> franz has a list of expert systems that are pretty business oriented
<z147> White_Flame, that's what i'd like to find out, if the doctors are willing to be pointed out wrong by a system
z147 has quit [Remote host closed the connection]
z147 has joined #lisp
<White_Flame> yeah, that's obviously something that's not a technical issue
william1_ has quit [Ping timeout: 240 seconds]
luni has left #lisp [#lisp]
<z147> but it's going to affect the marketability very strongly
<z147> so I suppose I'll have to do a machine learning vs rules only comparison due to trends in the market at the moment
<MichaelRaskin> The problem with machine learning is that it is optimised for comparisons that are easy to do with the available data
vanjulio has quit [Remote host closed the connection]
<White_Flame> machine learning is a statistics reinforcer. that's like the opposite of what you want to handle edge cases
<z147> exactly, and i'll have to argue my point
<z147> because a lot of "cited" "cutting-edge" research is machine learning in diagnostics
<z147> just as MichaelRaskin pointed out, one example would be someone touting their "efficient" triage system trained on past patient data
<z147> it shows their system could perform "better" diagnosis on the patients in the data.
<MichaelRaskin> Efficient on average, yes
<z147> somehow the trial phase where they use it on NEW patients is conveniently ommitted
<MichaelRaskin> It is often present, actually
<z147> MichaelRaskin, tips towards must reads appreciated
<_death> the field you're talking about has a long history, at least going to the 1960s.. you seem to simultaneously have strong opinions while asking for basic information
<MichaelRaskin> I think there was a case where they «reliably distinguished» two diagnoses which are basically two schools of naming the same thing.
bitmapper has joined #lisp
<z147> _death, would you happen to have a recommendation as far as information?
<White_Flame> we looked for good, semi-modern resources some years back, and found practically nothing
<White_Flame> we basically built our system from first principles, desiring GOFAI as a programming environment
<White_Flame> as everything else was off in busines modeling land
<z147> White_Flame, what's the field of application?
<White_Flame> general purpose software, automation of processes
<MichaelRaskin> I think A.Colyer has relatively recently wrote a review about a system that learns a neural net, then uses the neural net to learn a rule system (which can then be reviewed by a domain expert).
<White_Flame> the great thing about proper rule programming is that it completely decouples you from managing a program counter at all. The system simply notices state and reacts to it
<White_Flame> regardless of how the state got there, and without having to ensure you have calls & hooks enabled in all the right places
<White_Flame> and which of course also decouples a lot of error handling as well
<_death> z147: there are many books about the history of expert systems.. one famous system was DENDRAL, writtein in Lisp during the 1960s.. in the late 1980s Bayesian networks caused a revolution in the field, and they are still going strong.. there is research on interpretable machine learning, not just for medicine but for other fields where it is critical to understand why a diagnosis or prognosis was made
pilne_ has joined #lisp
pilne has quit [Ping timeout: 246 seconds]
<dmiles> yeah the GOFAI being the helper system to write prograsms somehow slipped everyones mind
<White_Flame> yep, as encapsulated in the term "expert system _shell_" that is no longer used
<dmiles> worse now is we have an inferior version of the field that emerged (the automated programing field) in that people have accepts that things like Agda/Idris is the "newest greatest thing"
<dmiles> "the automated programing field" oops give them too much credit !
<z147> White_Flame, so far not much has come up in a quick search for me as far as domain and CL, so i suppose i will review the current practices outside CL and go from there
<dmiles> the "automated verification" is all _they_ / _them_ do :(
<z147> interestingly, there are some publications coming up due to COVID where they are pushing for rules-based triage
<MichaelRaskin> Expert systems need experts to maintain, and the experts can migrate to another software base if needed. Current machine learning is about making sure your data center is the only environment where the learning procedure can be deployed with reasonable efficiency (and that humans are fungible)
<z147> MichaelRaskin, important point
<z147> the feverish dream of information sold as a utility
<White_Flame> yeah, regarding CL, when we were looking at stuff a decade back or so, most of it was Java. Even charles forgy was moving everything to java
<MichaelRaskin> Re: triage — well, decisions that are life-or-death even when made perfectly are politically easier to push towards being explainable to humans
vms14 has joined #lisp
<jcowan> Selling information is an inherently inefficient market anyway
<z147> White_Flame, that's the impression I get now
<Posterdati> hi
<Posterdati> which is the complexity of the sort function?
<z147> although I presume there is an ongoing migration to the cloud as subscription gathering and customer lock-in
<_death> continuing on the path of Bayesian networks, recent research by Pearl and his students led to results about what he calls "causality diagrams".. not too long ago he published a book placing this research in a historical context, called "The Book of Why"..
<MichaelRaskin> Posterdati: n log n in any reasonable case
<White_Flame> z147: but really, what are you looking for? to build up tech from scratch or to use something existing?
<White_Flame> and if something existing, what sort of thing?
<Posterdati> MichaelRaskin: ok, tx
<z147> White_Flame, my interest sparked about 5 years back when I started observing a movement for check-lists in the medical profession
<z147> it has met a lot of resistance, but it's there
<dmiles> I remember the GOFAI sort of happened to overcome a broken version of AI that proceeded it
<dmiles> i jsut cant remember exaclty what that borken thing was
z147 has quit [Ping timeout: 240 seconds]
<MichaelRaskin> Perceptrons?
z147 has joined #lisp
<z147> I apologize for my connection, the whole network is overloaded here at the moment
<_death> "GOFAI" is kind of misnamed.. approaches like "neural networks" (at the time it was quite offensive to call them that, so they had a name like "neuron-like elements") rose at the same time as the rule-based heuristic approaches, in the 1950s..
<White_Flame> yeah, "symbolic AI" is more correct, though "SAI" hasn't caught on as an acronym
<_death> today's "deep learning" stuff is basically a rehash of Selfridge's Pandemonium architecture (1959)
<dmiles> yeah i sorta actualyl think the history went as follows: Perceptrons/Baysian -> SAI/GOFAI -> BaysianRehashed
<dmiles> well sorry
<z147> _death, I read the Opus (Hartung) with great interest
<dmiles> yeah i sorta actualyl think the history went as follows: Perceptrons/Connectionism -> SAI/GOFAI -> Connectionism done much better as Baysian
<z147> something to think about as far as working with the Java implemented systems
<dmiles> At some point arround the Genetic Algos of the late 1970s it was seen that we needed better Symbolic systems for the GAs to author
<dmiles> And better symbolic systems to "manage" the work a GA will need to work towards
pilne_ has quit [Read error: Connection reset by peer]
<dmiles> but this sociental agenda was lost on most peopel as they over specialized
<White_Flame> yep, command & control is done very well in rule systems
<_death> there's a good Lisp book called "Building Problem Solvers" that deals with backward/forward chaining, truth-maintenance systems, etc.
<z147> White_Flame, i'll read up on the command & control benefits, thanks
<White_Flame> those design lessons were not learned from reading up, but rather fro mdoing
<z147> _death, I haven't seen that book i'll look into it, thanks
<White_Flame> the tech is there, but the actual use and programming design of how to architect the rules is what's sorely lacking
<White_Flame> but then again, nobody's doing actual rule-based programming, except for maybe SOAR, which is tightly bound in a very particular agent-based model
logand has joined #lisp
pilne has joined #lisp
<dmiles> I'd liek to see peopel start to program in EventCalc and SitCalc
<dmiles> EventCalc is where you actually declare the order in which proddedures will happen such as memory intializatio
<z147> I've found a medical field article that mentions Rule-Based Reasoning but I have to follow up with what they actually mean with that in their implementation https://www.ncbi.nlm.nih.gov/pubmed/29673601
<dmiles> vs the SitCalc is how one might declare their CLOS
<z147> White_Flame, which SOAR, SSI/SSDI Outreach, Access, and Recovery?
<White_Flame> John Laird's SOAR project, from university of michigan
<White_Flame> hmm, I wonder if it's just called "Soar" now, a la LISP=>Lisp
<dmiles> there exists for all streams a notion of a count of charaters "so far"
<White_Flame> yeah, looks like they dropped the all-caps, probably a while ago https://soar.eecs.umich.edu/
<z147> I appreciate the suggestions
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #lisp
<White_Flame> z147: in any case, I need to be afk. If you're serious about building something and want to use CL stuff, PM me
pilne has quit [Read error: Connection reset by peer]
<White_Flame> but certainly see wha'ts out there, and there might already be a system directly applicable
<z147> White_Flame, yes, understood. Like I said, i'm collecting data at the moment
pilne has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
<MichaelRaskin> And if you want to do anything with rule-based system, do something with many of the existing prolog-like libraries (or with actual Prolog, or with Datalog, …)
ebzzry has joined #lisp
<z147> MichaelRaskin, which libraries would be top of the list to review?
<MichaelRaskin> You don't need anything fancy, just do something to get a feeling, I think a few Lisp books include Prolog-in-100-lines or something like that
<MichaelRaskin> (or search cliki)
<z147> will do, thanks MichaelRaskin
ebzzry has quit [Remote host closed the connection]
Jonsky has joined #lisp
pilne_ has joined #lisp
pilne has quit [Read error: Connection reset by peer]
pilne_ has quit [Client Quit]
noobineer1 has quit [Ping timeout: 258 seconds]
pilne has joined #lisp
<jcowan> I was going to say that Prolog is by no means dead. I've found the folks on ##prolog to be quite welcoming.
sabrac has quit [Quit: Konversation terminated!]
amerigo has quit [Quit: Connection closed for inactivity]
Necktwi has quit [Read error: Connection reset by peer]
Necktwi_ has joined #lisp
pilne has quit [Read error: Connection reset by peer]
fookara has joined #lisp
prince1 has joined #lisp
fookara has quit [Remote host closed the connection]
pilne has joined #lisp
fookara has joined #lisp
libertyprime has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
Necktwi_ has quit [Read error: Connection reset by peer]
milanj has joined #lisp
z147 has quit [Ping timeout: 240 seconds]
Necktwi has joined #lisp
|Pirx_off| has left #lisp [#lisp]
|Pirx| has joined #lisp
Lord_of_Life has quit [Ping timeout: 250 seconds]
Lord_of_Life has joined #lisp
iAmDecim has quit [Ping timeout: 264 seconds]
loli has quit [Ping timeout: 264 seconds]
loli has joined #lisp
william1_ has joined #lisp
stux|RC-only has quit [Remote host closed the connection]
fookara has quit [Remote host closed the connection]
william1_ has quit [Ping timeout: 256 seconds]
vms14 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
hhdave has joined #lisp
iAmDecim has joined #lisp
fookara has joined #lisp
sauvin_ has joined #lisp
iAmDecim has quit [Ping timeout: 240 seconds]
shangul has quit [Ping timeout: 250 seconds]
sauvin has quit [Ping timeout: 250 seconds]
sauvin_ is now known as sauvin
taof has joined #lisp
william1_ has joined #lisp
fookara has quit [Remote host closed the connection]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 246 seconds]
Jeanne-Kamikaze has joined #lisp
rumbler31 has joined #lisp
vhost- has quit [Ping timeout: 264 seconds]
Involuntary has joined #lisp
Jeanne-Kamikaze has quit [Ping timeout: 250 seconds]
GuerrillaMonkey has joined #lisp
Involuntary has quit [Ping timeout: 250 seconds]
Jonsky has quit [Ping timeout: 256 seconds]
flazh has quit [Ping timeout: 250 seconds]
v_m_v has joined #lisp
v88m has joined #lisp
Jonsky has joined #lisp
milanj_ has joined #lisp
frodef` has quit [Remote host closed the connection]
milanj has quit [Ping timeout: 250 seconds]
slyrus_ has joined #lisp
hhdave has quit [Quit: hhdave]
slyrus has quit [Ping timeout: 246 seconds]
flazh has joined #lisp
GuerrillaMonkey has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #lisp
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #lisp
tcr has joined #lisp
v_m_v has quit [Remote host closed the connection]
prince1 has joined #lisp
scymtym_ has joined #lisp
libertyprime has quit [Read error: Connection reset by peer]
scymtym has quit [Ping timeout: 264 seconds]
prince1 has quit [Ping timeout: 240 seconds]
v_m_v has joined #lisp
<ecraven> regarding SLIME in Emacs, there used to be default keybindings, but somehow I lost them.. were they removed, or do I just have to explicitly enable them somehow?
<ecraven> things like `slime-inspect-presentation-at-point' (which now seems to be completely unbound)
rumbler31 has quit [Ping timeout: 260 seconds]
v_m_v has quit [Remote host closed the connection]
Jesin has quit [Quit: Leaving]
stux|RC-only has joined #lisp
iAmDecim has joined #lisp
bars0 has joined #lisp
iAmDecim has quit [Ping timeout: 240 seconds]
saravia has joined #lisp
xuxuru has joined #lisp
cl_beginner0000 has joined #lisp
<tcr> ecraven: Many things have moved into contribs, but that happened like over 10 years ago
<ecraven> hehe, I just remember that they used to exist..
saravia has quit [Quit: saravia is afk]
<tcr> ecraven, you probably want to add (setq slime-contribs '(slime-fancy slime-presentations)) into your .emacs
<ecraven> I have slime-fancy, but not slime-presentations it seems.. thanks
<tcr> `M-x find-library slime` and then `M-x rgrep slime-inspect-presentation` revealed that ;)
Jesin has joined #lisp
<ecraven> hm.. `lisp-show-variable-documentation' is bound to C-c C-v, not `slime-presentation-map' :-/
eja0 has joined #lisp
EvW has joined #lisp
karlosz has joined #lisp
cl-user has joined #lisp
eja00 has joined #lisp
eja0 has quit [Ping timeout: 246 seconds]
Jonsky has quit [Quit: time to dream]
cosimone has joined #lisp
cosimone has quit [Client Quit]
cosimone has joined #lisp
cl-user has quit [Remote host closed the connection]
xuxuru has quit [Quit: xuxuru]
gareppa has joined #lisp
cl_beginner0000 has quit [Ping timeout: 240 seconds]
<random-nick> I want to make a binding to a C library, should I manually transcribe the API to CFFI definition forms or should I use something which does it automatically?
gareppa has quit [Remote host closed the connection]
<phoe> random-nick: depends on the size of the library
<phoe> how many functions do you need to bind?
stux|RC has quit [Remote host closed the connection]
<random-nick> I'm binding gobject2
zaquest has quit [Quit: Leaving]
<random-nick> it has quite a lot of functions, but not as much as something like gtk
<phoe> you could use something automated, then - either cffi-grovel or cl-autowrap or claw
<phoe> I know that some #lispgames people have had success with the last two
v_m_v has joined #lisp
vhost- has joined #lisp
vhost- has quit [Changing host]
vhost- has joined #lisp
stepnem has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 250 seconds]
stepnem has joined #lisp
milanj_ has quit [Ping timeout: 250 seconds]
milanj_ has joined #lisp
<random-nick> jackdaniel: how does it interact with header paths?
stux|RC has joined #lisp
<random-nick> gobject has some weird header paths
lemoinem has quit [Ping timeout: 240 seconds]
lemoinem has joined #lisp
Khisanth has joined #lisp
<jackdaniel> beats me, trying it or looking at the source is the best way to see how it works
cosimone has quit [Quit: Terminated!]
oni-on-ion has quit [Ping timeout: 250 seconds]
prince1 has joined #lisp
<random-nick> oh, it has pkg-config support
<random-nick> that should work
gravicappa has quit [Ping timeout: 250 seconds]
luni has joined #lisp
prince1 has quit [Ping timeout: 264 seconds]
vlatkoB has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<_death> v
<_death> oops
jello_pudding has quit [Ping timeout: 272 seconds]
<random-nick> I might be missing something, but it seems the groveller doesn't have anything for creating function bindings
<equwal> random-nick: use cl-autowrap
<equwal> It is meant to just work
milanj_ has quit [Quit: Leaving]
ggole has quit [Ping timeout: 246 seconds]
frgo has quit []
eja00 has quit [Quit: Leaving]
<random-nick> equwal: that seems to require clang
<equwal> It requires /you/ to have clang and c2ffi, not your users
<random-nick> well since I'm making a library binding my users require clang
zaquest has joined #lisp
v_m_v has quit [Remote host closed the connection]
space_otter has joined #lisp
frgo has joined #lisp
asarch has joined #lisp
v_m_v has joined #lisp
<_death> random-nick: no, it creates files that can be read without needing clang
Intensity has quit [Changing host]
Intensity has joined #lisp
<equwal> _death: that is what the README says in bold, so I went off of that.
makomo has joined #lisp
tcr has quit [Ping timeout: 240 seconds]
<phoe> random-nick: it requires clang for generating the binding specs
<phoe> you can later distribute the binding specs to everyone along with your library; no need for them to have clang
<phoe> see https://github.com/phoe/cl-lzma/which uses cl-autowrap
cl_beginner0000 has joined #lisp
william1_ has quit [Ping timeout: 250 seconds]
<void_pointer> The one downside is that you have to run it for each processor architecture and sometimes OS you want to target (because the width of an int can change radically between architectures and even OSes on the same architecture)
<void_pointer> also alignment in structs and whatnot
<aeth> cl-autowrap has problems that borodust fixed with claw. https://github.com/borodust/claw
<aeth> equwal: ^
<aeth> In particular, borodust seems to have removed most of the things that introduce performance penalties.
<void_pointer> Also, if you are interfacing POSIX libraries, you have to be prepared for the sizes of things changing from Linux, Mac OSX, the various BSDs, etc.
<void_pointer> Note that you have to deal with that issue if you just use CFFI directly too
<void_pointer> c2ffi can be better in some cases here, like extra fields in standard structs (e.g. Mac OSX has an extra field in sockaddr that isn't on Linux)
william1_ has joined #lisp
<void_pointer> Basically, depending on how many systems one is targeting, the build matrix for the spec files can get rather large
slyrus has joined #lisp
<equwal> void_pointer: That sounds unpleasant. We do have lots of VM technology available and CI, so it should be possible to only manually do the process once.
slyrus_ has quit [Ping timeout: 250 seconds]
v_m_v has quit [Remote host closed the connection]
<void_pointer> That certainly does help. With Linux and most BSDs on most platforms, it should be pretty easy with VMs with or without CI. Windows' high backwards compatibility makes it fairly easy since you only need to do it for one version. Mac OSX is maybe the wild card. Oh, and of course, if one is doing smart phones, well, good luck.
patlv has joined #lisp
<fe[nl]ix> cffi-grovel and manually creating bindings have one advantage: you only define what you use
<equwal> Yeah, I mentioned CI since it helps by automatically doing it when a pull request is made. What would a travis.yaml, GUIX config, or docker file look like to generate these automatically? Do we have an example to start with?
<fe[nl]ix> you can even have a struct with 20 fields, but if you only need one you can just define that and the groveler will figure out the struct size and field offset
<aeth> just come up with a cl-unautowrap tree shaker...
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
cosimone has joined #lisp
<random-nick> hm, cl-autowrap seems to be having trouble with gobject
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<aeth> random-nick: Try its fork claw instead, then. Worst case scenario, neither work, but borodust (the fork author) is in this channel. https://github.com/borodust/claw
torbo has joined #lisp
<aeth> random-nick: and then there's the option of manually using cffi-grovel that fe[nl]ix said
<aeth> there might be a few other options, too
xkapastel has quit [Quit: Connection closed for inactivity]
luni has quit [Remote host closed the connection]
<borodust> claw has no docs unfortunately
Involuntary has joined #lisp
<borodust> i can create a base wrapper for ya though
Jeanne-Kamikaze has quit [Ping timeout: 250 seconds]
goosnargh has joined #lisp
prince1 has joined #lisp
goosnargh has quit [Remote host closed the connection]
hhdave has joined #lisp
bars0 has quit [Quit: leaving]
<phoe> the author is the living documentation™
v_m_v has joined #lisp
prince1 has quit [Ping timeout: 250 seconds]
v_m_v has quit [Ping timeout: 256 seconds]
patlv has quit [Remote host closed the connection]
<aeth> phoe: exactly
patlv has joined #lisp
<aeth> there's a real time query-based documentation system
<borodust> phoe: it will be there, i just need to finish this sm0l feature..
<borodust> c++ support ;₽
<void_pointer> though that is brittle, but this is the nature of many projects in their early states
<void_pointer> unless one is of the literate programming persuasion, design first and code second, or really into making documentation as one goes; that is how it is (and sadly, some projects never get their documentation)
<phoe> borodust: :D
patlv has quit [Remote host closed the connection]
patlv has joined #lisp
<aeth> void_pointer: I have a literate programming library but it's entirely undocumented at the moment ;-)
<void_pointer> aeth: I think I saw it at some point
<aeth> void_pointer: It's a joke. If it's undocumented and documentation comes first, then it's empty, i.e. not there.
<void_pointer> aeth: just checked, not the author of the two I was thinking of
<void_pointer> aeth: ah
<aeth> It looks something like NIL
<void_pointer> aeth: with literate programming, one does have to start somewhere to bootstrap, though that is where external documentation and comment documentation come in
Involuntary has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #lisp
iAmDecim has joined #lisp
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #lisp
william1_ has quit [Ping timeout: 256 seconds]
iAmDecim has quit [Ping timeout: 256 seconds]
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
Inline has quit [Quit: Leaving]
patlv has quit [Ping timeout: 246 seconds]
z147 has joined #lisp
Involuntary has joined #lisp
Jeanne-Kamikaze has quit [Ping timeout: 250 seconds]
cl_beginner0000 has quit [Remote host closed the connection]
nowhere_man has quit [Read error: Connection reset by peer]
iAmDecim has joined #lisp
void_pointer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
asarch_ has joined #lisp
dale has joined #lisp
asarch_ has quit [Client Quit]
lucasb has quit [Quit: Connection closed for inactivity]
asarch has quit [Quit: Leaving]
cosimone has quit [Ping timeout: 246 seconds]
torbo has quit [Ping timeout: 250 seconds]
v_m_v has joined #lisp
iAmDecim has quit [Ping timeout: 264 seconds]
ssafar has joined #lisp
v_m_v has quit [Ping timeout: 240 seconds]
torbo has joined #lisp
makomo has quit [Ping timeout: 250 seconds]
makomo has joined #lisp
v0|d has quit [Remote host closed the connection]
Involuntary has quit [Quit: Leaving]
v0|d has joined #lisp
cosimone has joined #lisp
random-nick has quit [Ping timeout: 240 seconds]
iAmDecim has joined #lisp
patlv has joined #lisp
ljavorsk has joined #lisp
|Pirx| has quit [Ping timeout: 264 seconds]
v_m_v has joined #lisp
prince1 has joined #lisp
v_m_v has quit [Ping timeout: 240 seconds]
ljavorsk has quit [Ping timeout: 240 seconds]
prince1 has quit [Ping timeout: 264 seconds]