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
nicktick has quit [Ping timeout: 240 seconds]
nicktick has joined #lisp
wxie has joined #lisp
FennecCode has joined #lisp
knuckles has quit [Ping timeout: 246 seconds]
wxie1 has joined #lisp
wxie has quit [Ping timeout: 260 seconds]
wxie1 is now known as wxie
knuckles has joined #lisp
ahungry has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
toorevitimirp has joined #lisp
efm has joined #lisp
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
efm_ has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
efm has quit [Ping timeout: 256 seconds]
Lycurgus has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life_ is now known as Lord_of_Life
Theseus has quit [Remote host closed the connection]
bitmapper has quit [Ping timeout: 265 seconds]
Theseus has joined #lisp
bhartrihari has joined #lisp
msk has quit [Ping timeout: 264 seconds]
FennecCode has quit [Ping timeout: 240 seconds]
Theseus has quit [Remote host closed the connection]
wxie has quit [Remote host closed the connection]
vidak` has joined #lisp
Theseus has joined #lisp
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
efm_ has quit [Quit: Konversation terminated!]
efm has joined #lisp
Guest24313 has quit [Ping timeout: 256 seconds]
Fade has joined #lisp
Fade is now known as Guest96708
FennecCode has joined #lisp
EvW has quit [Ping timeout: 244 seconds]
efm has quit [Ping timeout: 258 seconds]
jonatack has quit [Ping timeout: 265 seconds]
jonatack has joined #lisp
shifty has joined #lisp
eta has quit [Ping timeout: 256 seconds]
eta has joined #lisp
space_otter has joined #lisp
nicktick has quit [Ping timeout: 256 seconds]
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
Theseus has quit [Read error: Connection reset by peer]
efm_ has joined #lisp
jesse1010 has quit [Ping timeout: 260 seconds]
Oladon has joined #lisp
ebrasca has quit [Remote host closed the connection]
Lycurgus has quit [Remote host closed the connection]
gaqwas has quit [Ping timeout: 265 seconds]
gaqwas has joined #lisp
wxie has joined #lisp
APic has joined #lisp
justache has quit [Quit: The Lounge - https://thelounge.chat]
mathrick has quit [Ping timeout: 258 seconds]
dyelar has quit [Quit: Leaving.]
Bike has quit [Quit: Lost terminal]
Theseus has joined #lisp
justache has joined #lisp
justache has quit [Remote host closed the connection]
justache has joined #lisp
<Theseus> G'day, I wrote a second hand bookstore.
<Theseus> there's a couple of things I'd like to know about?
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
<Theseus> Is it possible to develop graphics in html for a BITCOIN QR code? (via Lisp)
wxie1 has joined #lisp
wxie has quit [Ping timeout: 264 seconds]
wxie1 is now known as wxie
<Theseus> And a search, of a huge amount of text, titles authors illustrators publishers...
<Theseus> for thousands of books
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
[mark] has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
gioyik_ has joined #lisp
bhartrihari has joined #lisp
gioyik has quit [Read error: Connection reset by peer]
slyrus has joined #lisp
<beach> Good morning everyone!
<beach> Theseus: There are some HTML libraries around, but I don't use HTML so I don't know how good they are.
<beach> Theseus: "Thousands of books" is not "huge" these days. Should work fine.
<slyrus> evening!
<slyrus> Is there still a lispweb channel (or similar) for discussing lispy web frameworks/libaries/etc...?
yonkunas has quit [Quit: Connection closed for inactivity]
Bourne has quit [Ping timeout: 240 seconds]
red-dot has joined #lisp
oxum has joined #lisp
<White_Flame> is there some reason why SLIME fails to show function parameters in the minibuffer?
<White_Flame> eg (defun foo (a b) ...) sometimes when the cursor is inside (foo |) it shows "(foo a b)" bolding where you are, sometimes it's just "(foo)"
<White_Flame> right now, it's not showing params, and that's really annoying
<White_Flame> M-. still works to bring it to the definition, so it's not being redefined to some non-param version
wxie has quit [Ping timeout: 256 seconds]
wxie has joined #lisp
zaquest has quit [Quit: Leaving]
zaquest has joined #lisp
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 240 seconds]
gekkou has quit [Quit: WeeChat 2.9-dev]
dominic34 has quit [Ping timeout: 265 seconds]
<Theseus> slyrus! Can't help, but I'd like to know that too
bhartrihari has left #lisp ["Disconnected: closed"]
bhartrihari has joined #lisp
Khisanth has quit [Ping timeout: 256 seconds]
oxum has quit [Remote host closed the connection]
nikkal has joined #lisp
mathrick has joined #lisp
Guest96708 has quit [Ping timeout: 240 seconds]
Fade has joined #lisp
Fade is now known as Guest95828
Khisanth has joined #lisp
wxie has quit [Ping timeout: 264 seconds]
justache has quit [Quit: The Lounge - https://thelounge.chat]
nikkal has quit [Ping timeout: 260 seconds]
justache has joined #lisp
oxum has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
space_otter has quit [Remote host closed the connection]
space_otter has joined #lisp
terpri has quit [Ping timeout: 244 seconds]
terpri has joined #lisp
rumbler31_ has joined #lisp
narimiran has joined #lisp
sdumi has quit [Ping timeout: 265 seconds]
sdumi has joined #lisp
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
space_otter has quit [Remote host closed the connection]
space_otter has joined #lisp
slyrus_ has joined #lisp
gioyik_ has quit [Quit: WeeChat 2.8]
slyrus has quit [Ping timeout: 260 seconds]
nicktick has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
nicktick has quit [Ping timeout: 256 seconds]
nicktick has joined #lisp
oxum has joined #lisp
space_otter has quit [Remote host closed the connection]
space_otter has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
oxum has quit [Ping timeout: 265 seconds]
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
sdumi has quit [Ping timeout: 246 seconds]
paule32 has joined #lisp
<paule32> hello, and good morning
scymtym has quit [Ping timeout: 258 seconds]
<paule32> i have a little script: http://dpaste.com/1SA0K14
<paule32> can i make a defun function in the form of the defvar's ?
<paule32> like (add-wire [+port] powersupply [-mport] wire-9)
<paule32> where +-port are the + > left side of wire and - < right side of wire
<paule32> in form of: (defun add-wire (component m p))
<paule32> (add-wire wire-1 power+ wire-2-)
gekkou has joined #lisp
gravicappa has joined #lisp
dddddd has quit [Ping timeout: 240 seconds]
<paule32> so, breakfeast, cofe time
wxie has joined #lisp
edgar-rft has joined #lisp
bhartrihari has joined #lisp
<paule32> hello edgar-rft
dale has quit [Quit: My computer has gone to sleep]
rgherdt has joined #lisp
jprajzne has quit [Quit: jprajzne]
jprajzne has joined #lisp
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
jprajzne has quit [Client Quit]
jprajzne has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
sdumi has joined #lisp
oxum has joined #lisp
JohnMS_WORK has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
oxum has quit [Ping timeout: 246 seconds]
rumbler31_ has quit [Ping timeout: 264 seconds]
shka_ has joined #lisp
bhartrihari has joined #lisp
bsd4me has quit [Quit: Leaving]
asarch has joined #lisp
<shka_> good morning
<paule32> hi
<flip214> paule32: I don't understand your requirements. (defun add-wire (&rest args) ...) if you know how to parse +port, -mport etc. from the args list
ahungry has quit [Remote host closed the connection]
<paule32> hello flip214
<paule32> the idea is, to simplyfied/reduce write work
bhartrihari has left #lisp ["Disconnected: closed"]
<paule32> e.g.: (+ wire-1-pport power-supply-mport) ... (+ wire-2-mport powersupply: pport)
<paule32> e.g.: (+ wire-1-pport power-supply-mport) ... (+ wire-2-mport powersupply:-pport)
<paule32> (+ wire-1-mport wire-2-pport)
<paule32> ok, not sense, but a simple graph
midautumnmoon has joined #lisp
midautumnmoon has quit [Client Quit]
MidHotaru_ has joined #lisp
scymtym has joined #lisp
MidHotaru_ has quit [Client Quit]
<paule32> with "make-wire wire-1" i can declare a new wire 1
MidHotaru has joined #lisp
<paule32> is it possible to check condition "make-wire"
thmprover has quit [Quit: Another long day's journey into night.]
<paule32> "make-wire" => "wire"
<paule32> ?
<paule32> ah, ok -> type-of
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
Codaraxis__ has joined #lisp
varjag has joined #lisp
Codaraxis_ has quit [Ping timeout: 256 seconds]
bocaneri has joined #lisp
simendsjo has joined #lisp
gravicappa has quit [Ping timeout: 246 seconds]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
<paule32> so question - bug or no bug:
<paule32> i get only OK, so only the first "cond" is eval
oxum has joined #lisp
<phoe> no bug
<phoe> COND only goes into one branch, that's by design.
akrl`` has quit [Read error: Connection reset by peer]
asarch has quit [Quit: Leaving]
akrl`` has joined #lisp
oxum has quit [Ping timeout: 258 seconds]
<paule32> so, this is ok:
<paule32> (cond ((eq (type-of c1) 'wire) (format t "OK~%")))
<paule32> (cond ((eq (type-of c2) 'wire) (format t "ok~%")))
<paule32> ?
pve has joined #lisp
FennecCode has quit [Ping timeout: 260 seconds]
toorevitimirp has quit [Ping timeout: 258 seconds]
<phoe> that'll work, but I'd use multiple WHENs rather than multiple single-branch CONDs
libertyprime has joined #lisp
<loke`> paule32: You probably really want to use TYPEP instead
<paule32> typep is a pointer to a type, not name
<loke`> paule32: I mean, use (TYPEP c1 'wire) instead of the EQ dance.
<loke`> That way subtypes are covered too. Only use the EQ thing if you explicitly want to exclude subtypes.
<paule32> ok, thx, that nice
<paule32> assume, i have &rest rest
<paule32> (cond ((eq (typep rest) 'power-source) (format t "power~%")))
<phoe> (typep rest) won't compile
<paule32> how can i determine rest type instead power-soirce ?
<phoe> you mean the type of every element of that list?
<loke`> REST is always going to be a list
<loke`> What do you want to achieve here?
<paule32> at the moment, i use type-of static
<paule32> but rest is dynamic
<paule32> so, i can't write the type explizit
<paule32> maybe a design error on my side
<paule32> because "add" should add 2 components (wire-1 + wire-2)
<paule32> and when i produce a list (wire-1 power-1 -wire2)
gekkou has quit [Ping timeout: 240 seconds]
<paule32> i could not determine, what to add at given position ?
<phoe> I don't understand what you're trying to do
<phoe> both low-level and high-level
<phoe> or what static/dynamic means in your case
<paule32> so, the graph could be: (wire-1 power-1 wire-2 led-1 wire-1)
<paule32> phoe: only implementing issue, no low/high 0/1, yet
<phoe> paule32: this answer doesn't help me in the slightest
<phoe> if you want to verify that every element of the list is of some type, you can use (when (every (lambda (thing) (typep thing 'sometype)) rest) ...)
<paule32> ok
<paule32> they can differ
<phoe> what do you mean, they can differ
theBlackDragon has quit [Ping timeout: 258 seconds]
<paule32> so i could write (add wire-1 (add power-1 wire-2)) ?
theBlackDragon has joined #lisp
<phoe> I don't know what ADD does and what WIRE-1 or POWER-1 or WIRE-2 are so I don't know how to answer.
<phoe> Does your project have any documentation?
<paule32> add stands for "connecting" types
Cymew has joined #lisp
<paule32> no, just for fun
<phoe> well then, I'm not competent enough to help
<paule32> haha, to easy for you ?
<paule32> well, i try to simulate a electric system, for kids
oxum has joined #lisp
<flip214> paule32: take advantage of &rest arguments, and allow (add wire-1 power-1 wire-2)
<paule32> na, stupid idea
Theseus has quit [Remote host closed the connection]
<paule32> the set of "add's" buid a circle - a power/supply circle stream, at the moment on lowest layer
libertyprime has quit [Quit: leaving]
<paule32> i know, when i add + and - pols, the power supply breaks
Theseus has joined #lisp
holycow has joined #lisp
<paule32> but this is the beginning of a rise ...
<paule32> so, i could be better ( add power (add wire-1 (add power wire-1))) ?
Oladon has quit [Quit: Leaving.]
<paule32> or better
oxum has quit [Ping timeout: 265 seconds]
<paule32> so, i could be better (add power-plus (add wire-1 (add power-minus wire-1))) ?
<paule32> where the power supply has 2 ports - plus and minus
<paule32> and the wire has 2 ports, too lhs - rhs
<paule32> and the function "add" should only a wrapper, that connects all this components together
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
gravicappa has joined #lisp
simendsjo has quit [Ping timeout: 240 seconds]
Oladon has joined #lisp
oxum has joined #lisp
Khisanth has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
oxum has quit [Ping timeout: 264 seconds]
<flip214> perhaps you shouldn't even mention wires at all, but say (connect power+ resistor1-1) (connect resistor1-2 led1+) (connect led1- power-) ?
Khisanth has joined #lisp
<splittist> Or even (connect (power+ resistor1-L) (resistor1-R led1+) ... )
msk has joined #lisp
holycow has quit [Quit: Lost terminal]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<paule32> (add wire-2
<paule32> (add (add power-source-1 wire-1) power-source-1))
<paule32> this is the simplest
<paule32> open
orivej has joined #lisp
<paule32> power 2x => 1x lhs, 1x rhs
<paule32> wire 2x => 1x on power+, 1x on power-
<paule32> now, a resistor is missing
<paule32> the output is:
<paule32> WIRE
<paule32> POWER
<paule32> POWER
<paule32> WIRE
<paule32> so, it comes closest to me
<paule32> but, there is missing a gui/framework, that renders the connections
gxt has joined #lisp
grobe0ba has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
grobe0ba has joined #lisp
orivej has joined #lisp
oxum has joined #lisp
gxt has quit [Remote host closed the connection]
oxum has quit [Ping timeout: 260 seconds]
Guest22662 has quit [Changing host]
Guest22662 has joined #lisp
Guest22662 is now known as mrSpec
mingus has joined #lisp
ljavorsk has joined #lisp
andrei-n has joined #lisp
oxum has joined #lisp
Oladon has quit [Quit: Leaving.]
oxum has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
jonatack has quit [Ping timeout: 264 seconds]
wxie has quit [Remote host closed the connection]
<paule32> so
<paule32> i got it nearly
oxum has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
<paule32> middtime dinner ...
bocaneri has quit [Ping timeout: 240 seconds]
ramus has quit [Ping timeout: 246 seconds]
oxum has quit [Ping timeout: 256 seconds]
ramus has joined #lisp
lavaflow has quit [Ping timeout: 264 seconds]
bocaneri has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
gaqwas has quit [Remote host closed the connection]
<jackdaniel> is lispworks.com down?
nicktick has quit [Ping timeout: 256 seconds]
<beach> I don't think so.
<phoe> works for me
<jackdaniel> hm, it must be something on my end then. thanks
drdee has joined #lisp
rippa has joined #lisp
frgo has joined #lisp
winny has quit [Ping timeout: 246 seconds]
grobe0ba has quit [Ping timeout: 260 seconds]
frgo_ has quit [Ping timeout: 240 seconds]
grobe0ba has joined #lisp
oxum has joined #lisp
<beach> jackdaniel: In my slides for the next online Lisp meeting, I mention ECL a few times. When you have time, could you check that I am not saying too many false things? http://metamodular.com/SICL/creating-a-common-lisp-implementation-part-1.pdf
<beach> No rush.
lavaflow has joined #lisp
<jackdaniel> sure
oxum has quit [Ping timeout: 258 seconds]
<beach> Thanks!
<flip214> splittist: that requires a macro
<jackdaniel> what is a "cross evaluation"?
<jackdaniel> beach: ^
<beach> jackdaniel: I'll explain that in my talk. It means you can't use a host Common Lisp implementation to evaluate things for you target.
<jackdaniel> aha, thanks
rumbler31_ has joined #lisp
<jackdaniel> beach: that sounds about right. I don't understand the part about "implicit dependencies between modules" though
jesse1010 has joined #lisp
<beach> I'll try to remember to make that clear in the talk. It means that the modules have an order, and that order is usually nowhere documented.
<beach> "When you write code in this module, remember that the following functions and macros are not yet defined:..."
<beach> Maybe "implicit" is not the best term.
<jackdaniel> in case of the c part of ecl, all resulting .o files are compiled to a single .a file (which constitues libeclmin.a
<jackdaniel> (and all are declared in the header), so such traps are not very likely (and this module does not utilise common lisp macros of course)
<jackdaniel> macros in .d files are basically a syntactic sugar which is preprocessed by a parser written in C (called dpp), without any runtime information except for the header files
<beach> What I mean is that the INCF macro can not be defined using DEFMACRO because DEFMACRO has not been defined yet at that point.
<jackdaniel> OK
<jackdaniel> that seems a little misleading for me, because it is mentioned near the part about flaws of implementing things in C, while defmacro, incf and such are implemented in the already-available lisp subset (n.b incf is defined with defmacro, but I understand that was just an example)
<jackdaniel> but I understand what you mean now, so I suppose adding a comment during a talk should suffice
vidak` has quit [Remote host closed the connection]
<beach> Great! Thanks for your help!
<beach> And I don't call it a "flaw" but a direct consequence of the strategy chosen.
<jackdaniel> right, my point is that how lisp macros are implemented is independent from the fact that the "low level lisp" is implemented in C. it could be implemented in fully-fledged Common Lisp. you may mention a consequence, that you *can't* really use Lisp macros in the code written in C used to bootstrap the rest
<beach> That's not really the point. I am not talking about the C code at all.
<jackdaniel> uhm
<beach> The point is that when you start from a subset of the language, you have an order between the Lisp modules.
<beach> You just can't use DEFMACRO until it is defined.
<jackdaniel> that's definetely true, yes
simendsjo has joined #lisp
<beach> And to define it, you need do, dolist, dotimes, when, setf, etc.
<beach> And those are macros.
<beach> So they can't be defined using DEFMACRO.
orivej has quit [Quit: No Ping reply in 180 seconds.]
<beach> And that is a consequence of the fact that you start with a "core" and build upon it.
orivej has joined #lisp
<loke`> beach: You mean at some point you have to decide what the "core" is and build from it?
<beach> That is yet another issue.
<beach> But no matter how you choose it, there is going to be an order between the additional modules.
<loke`> as in... you can build IF on top of COND, or vise versa. But you can't define them in terms of eachother.
<beach> A better example would be LOOP. You might need LOOP to traverse the clauses, but you can't.
<beach> I guess it is good that I am doing this series of presentations, because it seems it contains interesting information to many people. :)
cosimone has joined #lisp
* beach feels that questions such as "but how could you possibly avoid that" are in the air.
<jackdaniel> loke`: in principle you can implement both in the underlying language
<loke`> jackdaniel: Yes, of course.
oxum has joined #lisp
random-nick has joined #lisp
<loke`> What about macros that are expanded by an existing Lisp? (like how SBCL builds)
<beach> What about them?
<jackdaniel> same thing with defmacro, it doesn't have to be implemented with i.e cl:dolist or cl:loop, it may be something like system:while etc
<beach> That's the subject of part 2.
<loke`> OK, I should read it/listen to it before asking questions :-)
<phoe> I guess defmacro can also be implemented outside Lisp and be a part of the core
<jackdaniel> or (ffi:inline "boom(#1)") ;-)
<beach> loke`: Part 2 won't be until at least 3 weeks from now, or 2.8.
<loke`> That's fine. I can wait :-)
<beach> phoe: Yes, and good luck with that.
<beach> phoe: The lambda-list parser for the macro lambda list is non-trivial.
<loke`> Easier in languages where the macro language is different from the actual language.
<beach> phoe: Besides, on one of the first slides, I mention that the goal is to do as much as possible in Common Lisp.
<loke`> I mean, I guess that's the entire reason why most languages have a different macro language.
<jackdaniel> phoe: check out the function sys::destructure in src/lsp/defmacro.lsp ;)
<jackdaniel> saying thaat writing it in C would be unpleasent would be understatement
<phoe> :D
oxum has quit [Ping timeout: 240 seconds]
<beach> Anyway, this discussion is quite helpful, because, again, it shows the need for my series of presentations.
<beach> I had not imagined this level of interest from seasoned Lispers.
<jackdaniel> phoe: but, if you look at the compiler.d, you'll find a function si_process_lambda_list (which is used by said destructure)
<jackdaniel> it illustrates how ugly the codde can be
<paule32> phoe: have you look to: http://dpaste.com/17RA4J6 ?
<phoe> paule32: what's the problem with that code?
orivej has quit [Ping timeout: 260 seconds]
<paule32> no problem, yet, it show's what i mean, with "add"
orivej_ has joined #lisp
<paule32> see console output
<paule32> the output is ugly, but i had nothing to visulize the "add" function
<phoe> OK, I can understand that code
<phoe> it can be simplified a real lot, but I can understand it
<paule32> so, give it a easy to use graphically lib, which can be used
<phoe> I use Qtools for GUI stuff
<paule32> is that in quicklisp ?
<paule32> i see a problem with saving the data in lisp, to formed it with QTools
<phoe> yes, it's in quicklisp
<phoe> what's that problem?
<paule32> the structure of the graph
<phoe> there's no structure in your example so far, it's just a list of six elements
<paule32> but it has a logik
<paule32> logic
<paule32> i can not gurantee if QTool does the same like lisp ?
<loke`> paule32: qtools is a Lisp framework
jonatack has joined #lisp
<paule32> ok
h112 has joined #lisp
gxt has joined #lisp
h11 has quit [Ping timeout: 264 seconds]
h112 is now known as h11
<phoe> qtools is a framework based on Qt
<phoe> as long as you tell it how you'd like to display your stuff, it will display it
dddddd has joined #lisp
jonatack has quit [Ping timeout: 240 seconds]
jonatack has joined #lisp
<jackdaniel> (display-it-aesthetically)
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
<phoe> (print thing :pretty :very)
Lord_Nightmare has joined #lisp
jonatack has quit [Read error: Connection reset by peer]
simendsjo has quit [Ping timeout: 240 seconds]
jonatack_ has joined #lisp
EvW1 has joined #lisp
jonatack_ has quit [Client Quit]
jonatack has joined #lisp
kaftejiman has joined #lisp
oxum has joined #lisp
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
msk_ has joined #lisp
simendsjo has joined #lisp
oxum has quit [Ping timeout: 246 seconds]
msk_ has quit [Client Quit]
winny has joined #lisp
msk has quit [Ping timeout: 246 seconds]
msk has joined #lisp
macdavid313 has quit [Quit: macdavid313]
macdavid313 has joined #lisp
macdavid313 has quit [Quit: macdavid313]
vaporatorius__ has joined #lisp
macdavid313 has joined #lisp
vaporatorius_ has quit [Ping timeout: 264 seconds]
<paule32> this version is a little bit better:
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
<phoe> why does your ADD require two arguments?
<paule32> please don't ask me, why 2x power ++
<phoe> it always returns NIL
<paule32> plus, and minus
<phoe> so the second argument to each ADD call is almost always NIL
<paule32> no
<phoe> yes
<paule32> i only give text out
<phoe> I mean that C2 is almost always NIL
<phoe> only in (add power-source-1 wire-1) the second argument is non-NIL
<paule32> the first agument is plus pol.
<paule32> the second argument is minus pol.
<phoe> your second argument is almost always NIL
<phoe> because ADD returns NIL
<paule32> here the original: http://dpaste.com/0HP3K3T
<phoe> why do you have nested calls to ADD?
<phoe> what is ADD supposed to return?
<phoe> this is seriously #clschool material
space_otter has quit [Remote host closed the connection]
<paule32> the "add" connects wire-2, wire-1 power_1 power_2
<phoe> all it does is printing lines on the screen
<paule32> it does not matter, that power supply is const
<paule32> yes, i did say it
<paule32> step 2 will be, to collect the items with properties :mport :pport
<phoe> okay, I'm more confused than I was before
<phoe> what's the actual problem?
oxum has joined #lisp
<paule32> calculate the voltage that hangs on :mport, and :pport
ebrasca has joined #lisp
<paule32> let the power-source/supply 9.0 V
<paule32> so the electrically stream half it
<paule32> 9.0 / 2 = 3.5 on each port
<paule32> of power
<phoe> > 3.5
<paule32> i ignore the wire R
<phoe> that's 4.5 I think
<paule32> yes, sorry
<paule32> now, i need R-Value let 1 V
diegogub has joined #lisp
<phoe> anyway, the meaning behind this code or the console output is unreadable to me - I won't be of much help
Bike has joined #lisp
<paule32> therefore, i search for Qtools - to visulize it
<paule32> i had create the console output, in the hope you can see whats going on
<paule32> and for me
<phoe> I can't see what's going on, and I can't see the intent either
rumbler31_ has quit [Ping timeout: 240 seconds]
<phoe> there is a series of print statements that don't really follow what's meant to happen in the code
<phoe> and the code is also incomplete
<paule32> see, you can't lay + and - on the pols of the power/supply - it will be break
<paule32> so, need a consumer
Lord_of_Life_ has joined #lisp
<phoe> I
<phoe> I'm sorry, I don't really know which part of this code you're talking about
<paule32> instead of resistor, i could set in a led
<paule32> the (add p m) function
<paule32> p and m are ports
<paule32> each component have 2 ports lhs, and rhs or a begin, and a end
Lord_of_Life has quit [Ping timeout: 240 seconds]
<phoe> let me ask once again: what's the *actual* problem?
<Bike> "this is seriously #clschool material" paule has been banned from that channel, if you weren't aware
<phoe> oh
<phoe> I start to see the reason
Lord_of_Life_ is now known as Lord_of_Life
macdavid313 has quit [Quit: macdavid313]
<paule32> you can debann me, so i could switch over
<phoe> I have no mod access there
<phoe> and I don't know the reasons you were banned there, even though I can guess them
macdavid313 has joined #lisp
<ebrasca> I think he is asking for cl Qtools library.
<paule32> i am sorry, when the questions are to stupid, or easy. i am no guru or profi like you here, i try to communicate with my school english, and this is not well
<paule32> ebrasca: , too
<phoe> I don't consider myself a pro, really; I remember you've been given a lot of Lisp-related advice though, and it seems like you did not utilize most of that advice
<Bike> asking questions is fine, but you've apparently been unable to learn anything from the answers in the several years you've been around here, which makes the prospect of trying to teach you again unattractive
<ebrasca> paule32: I have googled it and , meybe this https://github.com/Shinmera/qtools
<paule32> ebrasca: http://dpaste.com/0HP3K3T
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
cosimone has quit [Quit: Quit.]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
<paule32> bg
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
[mark] has joined #lisp
[mark] has quit [Changing host]
msk_ has joined #lisp
polaris- has joined #lisp
msk has quit [Ping timeout: 258 seconds]
macdavid313 has quit [Quit: macdavid313]
kaftejiman has quit [Remote host closed the connection]
wsinatra has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
toorevitimirp has joined #lisp
dominic34 has joined #lisp
diegogub has quit [Ping timeout: 245 seconds]
knuckles has quit [Ping timeout: 260 seconds]
bhartrihari has joined #lisp
dominic35 has joined #lisp
orivej has quit [Read error: Connection reset by peer]
orivej has joined #lisp
dominic34 has quit [Ping timeout: 246 seconds]
dominic35 is now known as dominic34
msk has joined #lisp
msk_ has quit [Ping timeout: 264 seconds]
rumbler31_ has joined #lisp
rixard has joined #lisp
ljavorsk has quit [Ping timeout: 256 seconds]
efm_ has quit [Quit: Konversation terminated!]
X-Scale has quit [Ping timeout: 258 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
knuckles has joined #lisp
dominic34 has quit [Ping timeout: 256 seconds]
cosimone has joined #lisp
dominic34 has joined #lisp
winny has quit [Ping timeout: 260 seconds]
wxie has joined #lisp
winny has joined #lisp
jprajzne has quit [Read error: Connection reset by peer]
jprajzne has joined #lisp
andrei-n has quit [Quit: Leaving]
EvW1 has quit [Ping timeout: 260 seconds]
nicktick has joined #lisp
msk has quit [Quit: Leaving]
msk has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
wxie1 has joined #lisp
wxie has quit [Ping timeout: 260 seconds]
wxie1 is now known as wxie
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
wxie has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
oxum has quit [Remote host closed the connection]
jw4 has quit [Read error: Connection reset by peer]
rgherdt_ has joined #lisp
Bourne has joined #lisp
jw4 has joined #lisp
oxum has joined #lisp
[mark] has quit [Quit: Leaving]
vidak` has joined #lisp
sdumi has quit [Ping timeout: 246 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
rgherdt has quit [Read error: Connection reset by peer]
oxum has quit [Ping timeout: 256 seconds]
yonkunas has joined #lisp
bsd4me has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
X-Scale has joined #lisp
mingus has quit [Ping timeout: 240 seconds]
asarch has joined #lisp
dominic34 has quit [Ping timeout: 240 seconds]
dominic35 has joined #lisp
Cymew has joined #lisp
dominic35 is now known as dominic34
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
polaris- has quit [Remote host closed the connection]
bitmapper has joined #lisp
oxum has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
simendsjo has quit [Ping timeout: 240 seconds]
flocks has joined #lisp
bsd4me has quit [Ping timeout: 240 seconds]
bsd4me has joined #lisp
Codaraxis_ has joined #lisp
Codaraxis__ has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
flocks has quit [Quit: Lost terminal]
rumbler31 has quit [Ping timeout: 264 seconds]
nicktick has quit [Ping timeout: 256 seconds]
remexre has joined #lisp
oxum has joined #lisp
Bourne has quit [Ping timeout: 265 seconds]
nicktick has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
sdumi has joined #lisp
Bourne has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
sdumi has quit [Ping timeout: 240 seconds]
sdumi has joined #lisp
JohnTalent has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
oxum has joined #lisp
nicktick has quit [Ping timeout: 256 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
sdumi has quit [Ping timeout: 246 seconds]
sdumi has joined #lisp
orivej has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
sdumi has quit [Ping timeout: 256 seconds]
sdumi has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #lisp
cosimone has quit [Quit: Quit.]
sdumi has quit [Ping timeout: 260 seconds]
sdumi has joined #lisp
renzhi has joined #lisp
slyrus_ has quit [Quit: Leaving]
frgo_ has joined #lisp
toorevitimirp has quit [Remote host closed the connection]
frgo has quit [Ping timeout: 264 seconds]
sdumi has quit [Read error: Connection reset by peer]
sdumi has joined #lisp
thrustball has joined #lisp
sdumi has quit [Read error: Connection reset by peer]
rgherdt_ has quit [Ping timeout: 272 seconds]
sdumi has joined #lisp
Bourne has quit [Ping timeout: 258 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
rgherdt_ has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
shymega has quit [Quit: Adiós!]
sdumi has quit [Remote host closed the connection]
shymega has joined #lisp
sdumi has joined #lisp
JohnTalent has quit [Quit: Lost terminal]
asarch has quit [Quit: Leaving]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
ckonstanski has joined #lisp
dddddd has quit [Ping timeout: 260 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
efm has joined #lisp
orivej has joined #lisp
EvW has joined #lisp
bocaneri has quit [Remote host closed the connection]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
Bourne has joined #lisp
oxum has quit [Remote host closed the connection]
akrl`` has quit [Read error: Connection reset by peer]
akrl`` has joined #lisp
oxum has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
vaporatorius_ has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
vaporatorius__ has quit [Ping timeout: 246 seconds]
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
chandler has joined #lisp
oxum has joined #lisp
<chandler> Hi. I am a newbie and trying to understand how 'block and 'return-from work together.
<chandler> (defun block-2 () (block outer (block inner (return-from outer 'space) (return-from inner 'tube)) (return-from outer 'valve)))
<chandler> (defun block-2 () (block outer (block inner (return-from inner 'tube)) (return-from outer 'valve)))
<chandler> why the first block of code returns 'space and the second returns 'valve
scymtym has quit [Ping timeout: 260 seconds]
<Bike> block-2 executes the return-from outer first, and that exits the block, so there's no more code
<Bike> er, i mean, the first one executes [..]
<Bike> the second one returns from the inner block, which puts it at (return-from outer 'valve), which executes, thus returning valve
* Xach remembers the original chandler from 2001-ish
orivej_ has joined #lisp
orivej has quit [Ping timeout: 264 seconds]
<chandler> Thanks a lot
oxum has quit [Ping timeout: 240 seconds]
cosimone has joined #lisp
<Krystof> Xach: he might have been a newbie then too
<Krystof> now he is old enough to vote!
<phoe> now his Lisp beard is old enough to vote
EvW has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
thrustball has quit [Remote host closed the connection]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
wsinatra has quit [Quit: WeeChat 2.8]
scymtym has joined #lisp
EvW has joined #lisp
mingus has joined #lisp
mingus has quit [Client Quit]
andrei-n has joined #lisp
chandler has quit [Remote host closed the connection]
hhdave has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
<pve> the original chandler must have been a pretty interesting character, if he is still remembered after almost 20 years
shifty has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
shka_ has quit [Ping timeout: 265 seconds]
bhartrihari has joined #lisp
akoana has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
efm has quit [Ping timeout: 246 seconds]
gaa has joined #lisp
gaa has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
whiteline has quit [Remote host closed the connection]
xlei has quit [Quit: ZNC - https://znc.in]
whiteline has joined #lisp
gaa has joined #lisp
EvW has quit [Ping timeout: 244 seconds]
dilated_dinosaur has quit [Ping timeout: 265 seconds]
theBlackDragon has quit [Ping timeout: 258 seconds]
narimiran has quit [Ping timeout: 265 seconds]
drdee has quit [Remote host closed the connection]
orivej has quit [Quit: No Ping reply in 180 seconds.]
dilated_dinosaur has joined #lisp
orivej has joined #lisp
gaa is now known as guu
guu is now known as gaa
xlei has joined #lisp
xlei has quit [Excess Flood]
rumbler31 has quit [Remote host closed the connection]
dddddd has joined #lisp
xlei has joined #lisp
xlei has quit [Excess Flood]
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #lisp
whiteline has quit [Read error: Connection reset by peer]
whiteline has joined #lisp
xlei has joined #lisp
red-dot has joined #lisp
gravicappa has quit [Ping timeout: 260 seconds]
asarch has joined #lisp
gaa has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
oxum has joined #lisp
cosimone has quit [Read error: Connection reset by peer]
theBlackDragon has joined #lisp
cosimone has joined #lisp
hhdave has joined #lisp
asarch has quit [Quit: Leaving]
dominic34 has quit [Ping timeout: 258 seconds]
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
flazh has quit [Quit: flazh]
orivej_ has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<contrapunctus> I'm interested in using something like Coalton for a large-ish project to find out how much it helps, but it seems to assume ML knowledge (I don't know ML), and also seems to be incomplete :\
dddddd_ has joined #lisp
flazh has joined #lisp
dddddd has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
<pve> contrapunctus: I guess you can just define functions until the typechecker is happy, and then call the typechecked functions from lisp, no?
oxum has quit [Ping timeout: 265 seconds]
EvW has joined #lisp
renzhi has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 260 seconds]
pve has quit [Quit: leaving]
Jesin has quit [Quit: Leaving]
younder has quit [Quit: Leaving]
Oladon has joined #lisp
tutti has joined #lisp
macdavid313 has joined #lisp
crazybigdan has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
terpri_ has joined #lisp
nicktick has joined #lisp
terpri has quit [Ping timeout: 260 seconds]
efm has joined #lisp
mason has left #lisp [#lisp]
cosimone has quit [Quit: Quit.]
msk has quit [Ping timeout: 256 seconds]
frgo_ has quit [Remote host closed the connection]
frgo has joined #lisp
rgherdt_ has quit [Ping timeout: 240 seconds]
<fouric> axion/sdl2 people: i'm looking to generate the .spec files for sdl2 for arm64 - how might i do this after i have a working c2ffi?
<fouric> the c2ffi manual says that you point it at a particular (header) file, but the sdl2 codebase has a large number of files in it
<axion> delete them and quickload :sdl2
dddddd_ is now known as dddddd
<fouric> if i do that on an x86 machine, will that generate the spec files for an arm64 machine?
<axion> yeah
<fouric> alright, thank you!
<axion> borodust would be the one to ask any further questions. i dont mess with that stuff much
random-nick has quit [Ping timeout: 265 seconds]
<fouric> gotcha
MidHotaru has quit [Quit: Connection closed for inactivity]
rumbler31_ has quit [Ping timeout: 256 seconds]
edgar-rft has quit [Quit: Leaving]
gaqwas has quit [Remote host closed the connection]
Lord_of_Life_ has joined #lisp
tutti has quit [Ping timeout: 272 seconds]
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life_ is now known as Lord_of_Life
dominic34 has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp