jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
pierpa has quit [Quit: Page closed]
Kundry_Wag has joined #lisp
pierpal has joined #lisp
Kundry_Wag has quit [Ping timeout: 272 seconds]
sjl has quit [Ping timeout: 272 seconds]
acolarh has joined #lisp
Kundry_Wag has joined #lisp
<Fare> fe[nl]ix, I'm back in Cambridge.
Kundry_Wag has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
atgreen_ has joined #lisp
jqpl has quit [Quit: .]
atgreen_ has quit [Quit: Leaving]
atgreen has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
slyrus1 has quit [Ping timeout: 244 seconds]
fikka has joined #lisp
atgreen has quit [Remote host closed the connection]
atgreen has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
milanj has quit [Quit: This computer has gone to sleep]
<mason> Fare: Which one?
fikka has joined #lisp
makomo has quit [Ping timeout: 272 seconds]
fikka has quit [Ping timeout: 240 seconds]
kozy has quit [Quit: No Ping reply in 180 seconds.]
kozy has joined #lisp
buffergn0me has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 272 seconds]
robotoad has joined #lisp
Kundry_Wag has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 244 seconds]
dale has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
ym has quit [Quit: Leaving]
rozenglass has joined #lisp
igemnace has quit [Quit: WeeChat 2.2]
jkordani has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Read error: Connection reset by peer]
Bike has quit [Quit: Lost terminal]
buffergn0me has quit [Ping timeout: 260 seconds]
robotoad has quit [Ping timeout: 244 seconds]
robotoad has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Read error: No route to host]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
asarch has joined #lisp
Arcaelyx has joined #lisp
troydm has quit [Ping timeout: 256 seconds]
acolarh has quit [Ping timeout: 240 seconds]
<Fare> Mason, the one that was founded ~3hr away walking upstream and around from Boston. Today, the subway crosses the bridge in 2 minutes.
Kundry_Wag has joined #lisp
troydm has joined #lisp
meepdeew has quit [Remote host closed the connection]
quazimod2 has joined #lisp
quazimod2 has quit [Remote host closed the connection]
quazimodo has quit [Remote host closed the connection]
quazimodo has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
dented42 has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quazimodo has quit [Ping timeout: 268 seconds]
quazimodo has joined #lisp
dddddd has quit [Remote host closed the connection]
captgector has quit [Read error: Connection reset by peer]
captgector has joined #lisp
milanj has joined #lisp
Fare has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 244 seconds]
vlatkoB has joined #lisp
rumbler31 has joined #lisp
dale has quit [Quit: dale]
buffergn0me has joined #lisp
rumbler31 has quit [Ping timeout: 244 seconds]
froggey has quit [Ping timeout: 272 seconds]
froggey has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
charh has quit [Ping timeout: 244 seconds]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
mooshmoosh has joined #lisp
asarch has quit [Quit: Leaving]
<beach> Good morning everyone!
<no-defun-allowed> hi beach
<beach> Hey no-defun-allowed. What are you working on today?
<no-defun-allowed> what? i'm working on things?
<no-defun-allowed> it's saturday
<no-defun-allowed> i can't work on things, there's a giant midi keyboard on my desk
<beach> Ah, I no longer pay attention to the day of the week. Sorry.
<no-defun-allowed> it's alright, i'm in upsidedownland
Kundry_Wag has joined #lisp
steiner has joined #lisp
buffergn0me has quit [Ping timeout: 260 seconds]
zfree has joined #lisp
steiner has quit [Remote host closed the connection]
steiner has joined #lisp
mooshmoosh has quit [Ping timeout: 260 seconds]
mooshmoosh has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
rumbler31 has joined #lisp
sauvin has joined #lisp
robotoad has quit [Quit: robotoad]
zxcvz has joined #lisp
rumbler31 has quit [Ping timeout: 244 seconds]
FreeBirdLjj has joined #lisp
mkolenda has quit [Remote host closed the connection]
mkolenda has joined #lisp
frgo has joined #lisp
shka_ has joined #lisp
acolarh has joined #lisp
robotoad has joined #lisp
edgar-rft has quit [Remote host closed the connection]
igemnace has joined #lisp
nowhereman_ has joined #lisp
rozenglass has quit [Ping timeout: 240 seconds]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #lisp
makomo has joined #lisp
housel has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
zfree has quit [Ping timeout: 240 seconds]
rozenglass has joined #lisp
makomo has quit [Ping timeout: 240 seconds]
mingus has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 240 seconds]
random-nick has joined #lisp
<SaganMan> Morning beach
<SaganMan> beach: It's weekend
igemnace has quit [Quit: WeeChat 2.2]
<beach> So I hear.
<p_l> beach: 'morning
<beach> Hey p_l.
mingus has joined #lisp
robotoad has quit [Quit: robotoad]
pierpal has quit [Quit: Poof]
Kundry_Wag has joined #lisp
pierpal has joined #lisp
Kundry_Wag has quit [Ping timeout: 244 seconds]
FreeBirdLjj has quit []
FreeBirdLjj has joined #lisp
cage_ has joined #lisp
light2yellow has joined #lisp
Oladon has quit [Quit: Leaving.]
rozenglass has quit [Ping timeout: 240 seconds]
Arcaelyx has quit [Ping timeout: 265 seconds]
JuanDaugherty has joined #lisp
nowhereman_ has quit [Ping timeout: 240 seconds]
Oddity has quit [Ping timeout: 272 seconds]
Oddity has joined #lisp
steiner has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
sarkic has joined #lisp
steiner has joined #lisp
Kundry_Wag has quit [Ping timeout: 256 seconds]
Fare has joined #lisp
Kundry_Wag has joined #lisp
sarkic has quit [Remote host closed the connection]
dddddd has joined #lisp
Arcaelyx has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
ym has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
igemnace has joined #lisp
FreeBirdLjj has joined #lisp
rocx has joined #lisp
FreeBirdLjj has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #lisp
Fare has quit [Ping timeout: 272 seconds]
Fare has joined #lisp
JuanDaugherty has quit [Ping timeout: 240 seconds]
random-nick has quit [Read error: Connection reset by peer]
random-nick has joined #lisp
kolb has quit [Quit: ZNC 1.6.3+deb1ubuntu0.1 - http://znc.in]
atgreen_ has joined #lisp
atgreen has quit [Ping timeout: 260 seconds]
pioneer42 has joined #lisp
mkolenda has quit [Remote host closed the connection]
mkolenda has joined #lisp
sarkic has joined #lisp
random-nick has quit [Read error: Connection reset by peer]
random-nick has joined #lisp
Kundry_Wag has joined #lisp
Fare has quit [Ping timeout: 272 seconds]
orivej has joined #lisp
Kundry_Wag has quit [Ping timeout: 268 seconds]
sarkic has quit [Remote host closed the connection]
JuanDaugherty has joined #lisp
ramus has quit [Ping timeout: 244 seconds]
steiner has quit [Remote host closed the connection]
steiner has joined #lisp
JuanDaugherty has quit [Quit: Exeunt]
charh has joined #lisp
graphene has quit [Read error: Connection reset by peer]
graphene has joined #lisp
Inline has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 260 seconds]
edgar-rft has joined #lisp
housel has joined #lisp
Kundry_Wag has joined #lisp
Fare has joined #lisp
zfree has joined #lisp
Inline has joined #lisp
thekolb has joined #lisp
varjagg has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
Kundry_Wag has quit [Ping timeout: 256 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #lisp
quazimodo has quit [Ping timeout: 256 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
pioneer42 has left #lisp [#lisp]
ramus has joined #lisp
Kundry_Wag has joined #lisp
dented42 has joined #lisp
zfree has quit [Quit: zfree]
Kundry_Wag has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 272 seconds]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
asarch has joined #lisp
<asarch> Is there any way to short a^2?: (defun theorem (a b) (sqrt (+ (* a a) (* b b))))
ebrasca has quit [Remote host closed the connection]
random-nick has quit [Read error: Connection reset by peer]
<Shinmera> how much shorter do you want it to be? Even if you define a function that's only one character long you save a mere two characters in that example
<Shinmera> well, per square anyway.
pierpal has quit [Read error: Connection reset by peer]
<stylewarning> asarch: (expt a 2) is the alternative
<Shinmera> Or: (flet ((s (x) (* x x))) (+ (s a) (s b)))
<Shinmera> But again, doesn't really save much and certainly doesn't improve readability
Fare has joined #lisp
zfree has joined #lisp
housel has quit [Ping timeout: 272 seconds]
housel has joined #lisp
Jachy has joined #lisp
<Jachy> asarch: You could always load an infix lib, e.g. https://github.com/rigetticomputing/cmu-infix
kushal has quit [Ping timeout: 250 seconds]
<Jachy> That would save what, 1 character from the example?
random-nick has joined #lisp
pjb has quit [Ping timeout: 265 seconds]
kushal has joined #lisp
pjb has joined #lisp
zfree has quit [Quit: zfree]
<pjb> asarch: (defun ² (x) (* x x)) (defun √ (x) (sqrt x)) (defun theorem (a b) (√ (+ (² a) (² b))))
bars0 has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
equwal has joined #lisp
equwal has quit [Remote host closed the connection]
Jesin has joined #lisp
Jesin has quit [Remote host closed the connection]
X-Scale has quit [Ping timeout: 260 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
Jesin has joined #lisp
<LdBeth> RPN would be good in this case
<pjb> Nope. lisp operators don't have arity.
<rocx> makes it nice not having to make a `sum` function when you can just do (aply #'+ '(1 2 3)).
<rocx> *apply
<pjb> rocx: nothing, define it, put it in a nice library of such functions.
<pjb> And don't use apply like this on random lists, use reduce.
<pjb> (defun Σ (list) (reduce (function +) list))
<rocx> ah now i see the difference.
<rocx> subtle but useful.
<LdBeth> Just view #'+ as if it has implied reduce
<pjb> No, it does not.
<pjb> It is limited to call-arguments-limit which can be as low as 50.
<LdBeth> But these arithmetic operators are natural binary
<pjb> LdBeth: about RPN, just try to implement a macro (rpn c a ² b ² + √ +) -> (+ c (√ (+ (² a) (² b))))
<pjb> LdBeth: also, there would be a problem with side effects and left-to-right evaluation rule of lisp…
FreeBirdLjj has joined #lisp
* asarch takes notes...
<LdBeth> It should be evaluated when passed to #'RPN
<asarch> What does "arity" mean?
<LdBeth> asarch (IRC): number of function args
<asarch> I thought RPN was equal to S-Exp
<asarch> You mean, variadic function? https://en.wikipedia.org/wiki/Variadic_function
<LdBeth> (RPN c a #'^2 b #'^2 #'+ #'sqrt #'+)
<LdBeth> asarch: it’s easy from sexp to RPN, but hard from RPN to sexp without prior knowledge about which are operator
<LdBeth> So suppose RPN is a macro accepts only predefined + - * % and ** sqrt
<LdBeth> Which I hope would cover most case.
Khisanth has quit [Ping timeout: 244 seconds]
<asarch> Wow!
zfree has joined #lisp
<pjb> asarch: arity = number of parameters. But in lisp, arithmetic operators take any number of arguments from 0 to call-arguments-limit, and in general, a macro cannot know how many mandatory argument are required for a given operator (function or macro), notably because it may be macroexpanded before the operator is defined!
slyrus1 has joined #lisp
<pjb> This is why we kept using lists: so that macros (and code walkers) could be implemented easily.
ebrasca has joined #lisp
<aeth> You could do a reverse s-expression, though. (((1 1 +) 2 *) 3 /)
Khisanth has joined #lisp
<LdBeth> What exactly kinds of data structures can be parsed from both start and end?
<pjb> full bracketed structures.
<aeth> The macro for an RPN-style s-expression would just do something like: `(,(car (last foo)) ,@(butlast foo))
<aeth> Except on every element
slyrus1 has quit [Ping timeout: 256 seconds]
<aeth> e.g. (let ((foo '(1 2 3 +))) `(,(car (last foo)) ,@(butlast foo)))
<pjb> (defun rreverse (sexp) (if (atom sexp) sexp (mapcar (function rreverse) (reverse sexp)))) (rreverse '(+ c (√ (+ (² a) (² b))))) #| --> ((((b ²) (a ²) +) √) c +) |#
buffergn0me has joined #lisp
<pjb> (rreverse (rreverse '(+ c (√ (+ (² a) (² b)))))) #| --> (+ c (√ (+ (² a) (² b)))) |#
<aeth> You don't want true RPN outside of a calculator imo so this is a better way of doing it. And it's not hard to apply to every element. Just every ,@(every #'my-transformation (butlast foo))
<aeth> (And have a case for atoms where it does nothing)
<aeth> Or mapcar
<aeth> Sorry, every is just for side effects
zfree has quit [Quit: zfree]
<LdBeth> Kick out side effects
<aeth> CL's confusing because it has nicer named things that have no difference (like first) and nicer named things that are different
<aeth> Always test in the REPL
<aeth> (defun r-expression-to-s-expression (r) (typecase r (cons `(,(car (last r)) ,@(mapcar #'r-expression-to-s-expression (butlast r)))) (t r))) ; put this in a macro and add a special case for dotted lists if you want to support them in r-expressions
<aeth> e.g. (r-expression-to-s-expression `(1 (2 3 *) 3 +)) => '(+ 1 (* 2 3) 3)
<aeth> Much easier than going to/from infix.
ebrasca has quit [Remote host closed the connection]
<aeth> (Or real RPN)
<pjb> Of course, you can implement a rpn language, but you will have to explicitely define all your rpn operators. You cannot just call random lisp functions.
<pjb> (define-rpn-operator + 2 +) (define-rpn-operator - 2 -) (define-rpn-operator neg 1 -) etc…
<pjb> Notice how rpn distinguishes - from neg.
rumbler31 has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
rumbler31 has quit [Remote host closed the connection]
<aeth> pjb: Just one clarification. I don't think r-expressions would reverse everything, just put the first item last in an evaluated list (which means I need to add a special case for QUOTE (and FUNCTION), which I didn't do). If they're like RPN the only difference is that the operator is at the end, e.g. in my RPN calculator 4 2 / => 2
X-Scale has joined #lisp
X-Scale has quit [Excess Flood]
<aeth> So going to an r-expression would be a bit trickier. Naively, this: (let ((foo '(+ 1 2 3))) (append (cdr foo) (list (car foo))))
nullniverse has joined #lisp
nanoz has joined #lisp
nowhereman_ has joined #lisp
X-Scale has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
housel has quit [Remote host closed the connection]
<pjb> aeth: well this means you have to delay the evaluation of variables. Usually in RPN, variables are evaluated and their value is stacked. If you want to use the quote operator after, unless you look ahead, you would have to let allt the operators evaluate the variables. I'd say this would set a bad precedent.
<pjb> How would you distinguish between (symbol-name 'foo) and (symbol-name foo)?
<pjb> Now quote needs to wrap the values!
<pjb> It's silly.
<LdBeth> (RPN 1 (+ 4 3) #'add) then
<aeth> pjb: The main problem is that ((1 2 3) quote) becomes '(3 1 2) and another problem is that people are used to ' and #' as syntax, but they can't just write '(1 2 3) in r-expressions without a custom reader and writer.
<aeth> You can do that, but you're still going to have to deal with QUOTE as a special case to avoid the '(3 1 2) problem
<pjb> Sure, rreverse may be a little too brutal. You would have to code walk.
robotoad has joined #lisp
<pjb> But the point is that RPN is a new syntax, you have to parse it, and you cannot just convert a kind of rpn sexp into a sexp. It's antithetical to the S-exprs and lisp.
<aeth> yes
<pjb> And the Texas Instrument patent on parentheses in calculators is over since a long time.
<aeth> Polish notation would have the same problem. * + 1 1 2 when you can just (* (+ 1 1) 2)
<pjb> Absolutely. For the same reasons.
<pjb> Only, quote would be easier :-)
<aeth> RPN is a write-only language. A very useful one, but definitely write-only. That's why it's mainly used in calculators and programs like dc. And people accuse Perl of being write-only!
<stylewarning> I disagree
<stylewarning> Factor (a Lisp like language) is quite readable
<stylewarning> Functions (known as “words”) are orders of magnitude shorter than their Lisp equivalents
lnostdal has quit [Quit: https://www.Quanto.ga/]
<LdBeth> Nested brackets on arithmetic look crappy
<aeth> I use nested brackets even with my infix arithmetic. Never trust your knowledge of precedence to always work. And never trust the reader to understand all of those rules, too. And this example would need it in infix, anyway. (1 + 1) * 2
<aeth> infix just removes the top level.
<stylewarning> Mathematicians seem to get along just fine
<pjb> C has 27 precedence levels. C++ even more. Smalltalk is quite unintuitive too. Infix is bullshit.
<stylewarning> Brackets can also blur cases where you actually don’t care about order, as with associative operators
<pjb> Hence (+ 1 2 3 4)
<pjb> associative operators in lisp are n-ary.
<aeth> Mathematics is two dimensional. It's a lot easier to express something clearly on paper or generated from LaTeX than it is to express it in one line of ASCII that pretends to be mathematics.
<stylewarning> So are non associative operators, like #’/
<LdBeth> APL has infix without introduce precedence but implicit right to left order
<LdBeth> So 5*3+2 is 25
<pjb> and in smalltalk, 2+3*5 too.
graphene has quit [Remote host closed the connection]
<stylewarning> A reminder that there exists CMU-INFIX for Lisp https://github.com/rigetticomputing/cmu-infix
lnostdal has joined #lisp
<aeth> I'll wait for sb-infix.
robotoad has quit [Quit: robotoad]
<pjb> So when you're fed up with all this bullshit, you just write (+ 2 (* 3 5)) or (* 5 (+ 2 3)) and go on with your life.
<stylewarning> aeth: haha
graphene has joined #lisp
<aeth> "CMU"? Really? The "SB" brand name is much stronger.
<stylewarning> It was written by a chap at CMU. It has nothing to do with CMUCL.
<aeth> If I met someone with a degree from "CMU" I'd say "When did you get that? 20 years ago? Should've gone to Steel Bank instead."
<shka_> aeth: carnegie mellon uni
<stylewarning> (:
<aeth> shka_: Yeah, but it's not like it's one of the top computer science universities in the United States.
nowhereman_ has quit [Ping timeout: 276 seconds]
<shka_> i am not very familiar with top list of CS unis in USA
<shka_> but CMU is well known in the lisp land
<aeth> I think traditionally, MIT, CMU, Berkeley, and one other are considered "tied". Can't think of the last one at the moment.
<shka_> kinda like Berkeley in unix land
<shka_> right
<shka_> those come to my mind as top tier
nanoz has quit [Ping timeout: 268 seconds]
milanj has joined #lisp
<aeth> Oh, Stanford
<LdBeth> And Cornell
stacksmith has joined #lisp
<stacksmith> Good morning
Fare has quit [Ping timeout: 272 seconds]
<LdBeth> Morning
<Demosthenex> wonder if anything happened with mcclim and charms (curses)
nalik89 has joined #lisp
<LdBeth> Continue figuring out how to fit a cons into 8 bits long word memory...
cage_ has quit [Remote host closed the connection]
nullniverse has quit [Read error: Connection reset by peer]
cage_ has joined #lisp
<stylewarning> Speaking of CL-CHARMS, I haven’t been a very good maintainer.
<stylewarning> LdBeth: 4-bit pointers?
Oddity has quit [Ping timeout: 272 seconds]
dale has joined #lisp
<LdBeth> So it’s untyped.
<shka_> LdBeth: is it even possible?
buffergn0me has quit [Ping timeout: 255 seconds]
<stylewarning> LdBeth: it depends on your runtime
Oddity has joined #lisp
<stylewarning> LdBeth: if all pointers are 8 bits, then it’s a useless system anyway
araujo has quit [Quit: Leaving]
<aeth> This was just on HN, about the history of T, and one of the early points a few paragraphs in is that the move to 32-bit changed everything in how you represent your data. http://www.paulgraham.com/thist.html
<aeth> If that's true, you'd have to look at very old solutions. Those were 16-bit, though.
<LdBeth> The memory limit is 64k
<LdBeth> Almost toy program
meepdeew has joined #lisp
<LdBeth> L seems interesting, but not much info I can find
<aeth> The IBM PC (1981-1987) had 16-256 kB RAM according to Wikipedia
<aeth> I'm not sure how anyone used computers before 1990.
<LdBeth> Me neither
<pjb> aeth: there was no 50 MB Firefox to run.
<pjb> Spreadsheets, word processors, IDE including editors, compilers and debuggers all ran in 64 KB (actually usually much less, since some memory space was taken by devices or video memory).
<pjb> Notice that the 7090 on which LISP 1.5 ran had only 32 KW of memory, so just a tad over twice that memory. (32 KW @ 36-bit = 144 KB).
<aeth> pjb: but I want unboxed single-floats and large unboxed fixnums, so I wouldn't want to time travel to before 2003 or so. And this is 64-bit vs. 32-bit. 16-bit sounds like a nightmare.
nowhereman_ has joined #lisp
<aeth> (A Lisp system needs at least 36 bits or so.)
<pjb> aeth: at the time, 64-bit DES was sufficient!
Kundry_Wag has joined #lisp
<pjb> If not just a 16-bit CRC…
<aeth> Well, if you had expensive hardware you could probably get by in the past after 1985 or so.
<LdBeth> I would just spend another few dollars for float point unit
<pjb> But really, in 1975, you'd be happy with a 6502 and 1 KB of SRAM, and writing programs directly in hexadecimal…
<pjb> The alternative was access to mainframes, which means, writing fortran or cobol on paper and waiting a day or two to know if you had compilation errors.
sauvin has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 244 seconds]
<LdBeth> Well it’s 8102 now many can access a desktop computer for verifying.
<aeth> pjb: In 1975 I wouldn't know what I was missing and I'd happily program in a high level language like Fortran.
<LdBeth> And before goes bare metal one can run on an emulator for easier debugging
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
Jesin has quit [Remote host closed the connection]
itruslove has quit [Remote host closed the connection]
robotoad has joined #lisp
housel has joined #lisp
Fare has joined #lisp
<aeth> I wonder when Lisp became an acceptable Fortran. Or at least, close enough that with modern hardware we don't care.
<p_l> aeth: 1970s or so? Then dropped for a time, but mostly because of other issues
<aeth> When did people start doing non-symbolic numerical computations in Lisp?
<p_l> Today people are surprised with how fast CL is
<p_l> And some financial corps never really gave up lisp
<Demosthenex> trip planners...
<p_l> Though Jane Street switched, afaik, from Scheme to Ocaml pretty fast?
<rocx> p_l: grammarly is the first major lisp user that comes to mind.
<p_l> Used to be that ITA was the bóg name, ehh
<p_l> AMEX was using Symbolics Common Lisp as dev platform and Allegro CL as late as around 2000
<p_l> Raytheon was using CL Ain numeric heavy code in late 1990s and XXI century
<aeth> Yeah, but big companies are always a decade behind in tech so that doesn't surprise me.
<aeth> A nonzero number were probably using Windows 2000 in 2010.
<p_l> Raytheon was using it for bleeding edge
<p_l> So was ITA
<aeth> AMEX was probably still following the 1990 trends.
<Demosthenex> healthcare still uses MUMPS everywhere
<p_l> They had a system built earlier with lisp and were supporting it
<p_l> Like several Lisp systems at NASA
<aeth> Demosthenex: This isn't a channel for horror that keeps people up at night.
<Demosthenex> aeth: heh ;]
<p_l> And finance world uses MUMPS as well
<Demosthenex> just comparing historic notes
<p_l> I know for a fact that Credit Suisse uses MUMPS as database as late as 2017
<Demosthenex> funny, i teach my son lisp, and we compare it to python. i show him how he can edit "blocks" of code with emacs, and they snap together, but python you have to hand write and move everything. he says lisp is easier and makes more sense
<rocx> Demosthenex: common lisp or scheme?
<rocx> ...oh right duh forgot which channel i'm in.
<Demosthenex> rocx: CL. using emacs and slime
<aeth> Demosthenex: Yes, but you can teach a child Emacs.
<p_l> Demosthenex: Python has the (general) advantage of providing what once commercial compilers arrived with - a complete teaching manual
<rocx> and give them carpal tunnel at the age of 10?
<Demosthenex> we've been working on a text mode game, and he was interested in the A* and dijkstra's pathing algos
<rocx> i'll leave that job to their video games.
<p_l> rocx: not if you use the modifiers right
<aeth> Demosthenex: I probably already showed this to you, but have you seen this? https://borodust.org/projects/trivial-gamekit/
<rocx> my keyboard isn't where i can palm the control key.
<Demosthenex> aeth: yep, i saw that one
<Demosthenex> we're just doing a text game as a demo, interactive fiction style, like zork or a mud
cage_ has quit [Quit: Leaving]
<p_l> Unfortunately, the emacs manual doesn't explain how the original approach worked, so people do whatever... And it often leads to pain
<Demosthenex> atm in my pet project, i'm outgrowing views to allow me to query json data in postgres. so i may have to remap and parse the json and use postmodern to maintain several other tables. fun stuff
<Demosthenex> it's pretty sweet that postgres can read raw json in a column, and you can use views to create a "virtual" table from that... but the operations are slow, especially with numbers.
<Demosthenex> you have to convert to numeric every call on every row
frgo has quit [Remote host closed the connection]
troydm has quit [Ping timeout: 244 seconds]
<Demosthenex> postmodern includes the new upsert syntax, and i've already hacked it to do dynamic table creation with column dedup, so why not just spam into real tables ;]
<Demosthenex> can't find a good reason to use the DAO though
bars0 has quit [Quit: leaving]
<Demosthenex> was nice to make a POC using 100 lines of CL with a rest api and postmodern though
lumm has joined #lisp
vlatkoB has quit [Remote host closed the connection]
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 272 seconds]
nalik891 has joined #lisp
nalik89 has quit [Ping timeout: 260 seconds]
slyrus1 has joined #lisp
X-Scale has quit [Ping timeout: 272 seconds]
asarch has quit [Ping timeout: 272 seconds]
[X-Scale] has joined #lisp
[X-Scale] is now known as X-Scale
nowhereman_ has quit [Ping timeout: 272 seconds]
itruslove has joined #lisp
lumm has quit [Quit: lumm]
lumm has joined #lisp
kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
aindilis has quit [Remote host closed the connection]
kajo has joined #lisp
housel has quit [Read error: Connection reset by peer]
lumm has quit [Remote host closed the connection]
lumm has joined #lisp
aindilis has joined #lisp
varjagg has quit [Ping timeout: 272 seconds]
asarch has joined #lisp
atgreen__ has joined #lisp
slyrus1 has quit [Quit: slyrus1]
slyrus1 has joined #lisp
atgreen_ has quit [Ping timeout: 265 seconds]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aeth has quit [Ping timeout: 272 seconds]
aeth has joined #lisp
graphene has quit [Read error: Connection reset by peer]
Orion3k has joined #lisp
graphene has joined #lisp
zfree has joined #lisp
nalik891 has quit [Read error: Connection reset by peer]
nalik891 has joined #lisp
pierpa has joined #lisp
graphene has quit [Read error: Connection reset by peer]
graphene has joined #lisp
dented42 has joined #lisp
varjagg has joined #lisp
dale has quit [Quit: dale]
atgreen__ has quit [Ping timeout: 260 seconds]
troydm has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
random-nick has quit [Read error: Connection reset by peer]
slyrus1 has quit [Ping timeout: 276 seconds]
orivej has joined #lisp
rumbler31 has joined #lisp
groovy2shoes has quit [Ping timeout: 265 seconds]
random-nick has joined #lisp
housel has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
grumble has quit [Remote host closed the connection]
emaczen has joined #lisp
lumm_ has joined #lisp
grumble has joined #lisp
varjagg has quit [Ping timeout: 272 seconds]
lumm has quit [Ping timeout: 276 seconds]
lumm has joined #lisp
lumm_ has quit [Read error: Connection reset by peer]
DataLinkDroid has quit [Quit: Alla prossima volta]
lumm has quit [Read error: Connection reset by peer]
lumm has joined #lisp
lumm has quit [Client Quit]
lumm has joined #lisp
lumm has quit [Read error: Connection reset by peer]
dmiles has quit [Read error: Connection reset by peer]
moei has quit [Ping timeout: 272 seconds]
logicmoo has joined #lisp
shka_ has quit [Ping timeout: 244 seconds]
fikka has joined #lisp
nalik891 has quit [Remote host closed the connection]
nalik891 has joined #lisp
m3tti has joined #lisp
Kundry_Wag has joined #lisp
housel has quit [Remote host closed the connection]
random-nickname has joined #lisp
moei has joined #lisp
housel has joined #lisp
zfree has quit [Ping timeout: 276 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
random-nick has quit [Ping timeout: 240 seconds]
m3tti has quit [Ping timeout: 272 seconds]
random-nickname has quit [Ping timeout: 240 seconds]
mkolenda has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nalik891 has quit [Read error: Connection reset by peer]
nalik891 has joined #lisp
Fare has quit [Ping timeout: 240 seconds]
DataLinkDroid has joined #lisp
Fare has joined #lisp
Fare has quit [Ping timeout: 272 seconds]