freenode/#lisp - IRC Chatlog
Search
20:26:20
makomo
phoe: the pdf regarding alexandria that you linked, is that something you're working on or?
21:26:20
phoe
All conditions signaled inside FOO are going to be printed, but execution will keep on going.
21:52:31
no-defun-allowed
If they can't read it, they can't crack it -- I mean I haven't heard of it used like that.
21:56:16
pjb
drduck: security by obscurity is no security. There are AI-based malware. You could implement that in lisp. There are AI-based countermeasures. You could implement that in lisp.
21:56:36
pjb
drduck: Please don’t assume Lisp is only useful for Animation and Graphics, AI, Bioinformatics, B2B and E-Commerce, Data Mining, EDA/Semiconductor applications, Expert Systems, Finance, Intelligent Agents, Knowledge Management, Mechanical CAD, Modeling and Simulation, Natural Language, Optimization, Research, Risk Analysis, Scheduling, Telecom, and Web Authoring just because these are the only things they happened to list.
22:01:44
no-defun-allowed
Please don't assume Lisp is only useful for malware since we infected your computer with it.
22:27:48
jcowan
https://web.archive.org/web/20120128001349/http://philosecurity.org/2009/01/12/interview-with-an-adware-author
1:00:14
White_Flame
discussed this pretty recently, but in old code that I've seen, consider a normal hashtable scenario holding a symbol->value mapping. If you have no hash tables but only symbol plists, then the usage is symbol-plist ->(table-name value)
1:01:22
White_Flame
so there is no central object holding the table. The symbol keys are just annotated with the table named entries in the plist. It's a pretty good way of avoiding plist key clashes
1:02:39
anamorphic
So I was playing with this: (defun magic-keyword (keyword) (setf (fdefinition keyword) #'(lambda (hash-table) (gethash keyword hash-table)))), which lets you use (:foo hash-table) like in Clojure... Is that kind of thing likely to cause a mess in subtle ways?
1:05:25
White_Flame
I can't see anything at simple glance of the spec that would clash with that use
1:06:40
White_Flame
it does go against common style in terms of what keywords are for, but I don't think there'd be a technical problem with it
4:36:15
leo_song
Speaking about network, is there portable way of avoiding the read hanging on the unfinished line other than READ-CHAR-NO-HANG?
5:09:07
leo_song
Better to write a new one over the system calls when dealing with GBs of data other than the READ-CHAR-NO-HANG
5:19:13
beizhia
Anyone got some good resources for introducing other coders to Lisp? Going to be giving a little talk to a bunch of php and JS coders. I
5:22:37
aeth
beizhia: you could try doing something fun and visual with a library like https://github.com/vydd/sketch or https://borodust.org/projects/trivial-gamekit/ or https://github.com/cbaggers/cepl
5:22:39
beizhia
I was thinking of giving a good showing of REPL/Slime development, macros, asdf/quicklisp, etc
5:23:08
beizhia
maybe a bit of interactive web-dev with hunchentoot, since thats what I've been doing lately myself
5:24:17
aeth
beizhia: I think CEPL would be a good choice to show off what SLIME can do. e.g. https://www.youtube.com/playlist?list=PL2VAYZE_4wRKKr5pJzfYD1w4tKCXARs5y
5:24:54
aeth
Only do graphics if you have control over the hardware, of course. Who knows what drivers a random machine has.
5:25:29
beizhia
Oh ya, those would be pretty rad. I'd be showing it from my machine, so that's all cool
5:25:40
leo_song
beizhia: I think build a "cl-php" over hunchentoot should cost less than 1000 lines of code, and much faster than real PHP
5:26:59
beizhia
I do want to keep it around 30 mins of demo time, so its probably more of a core concepts of the language sort of thing
5:28:39
aeth
leo_song: if you mean implementing PHP in CL, it's probably not 1000 lines. cloc says I have 763 lines of .lisp and .scm code in my Scheme implementation in CL and it's only about 40% complete. And Scheme's one of the closest languages to CL (and one of the smallest specified languages)
5:32:22
leo_song
aeth: yes, one of my freind did a similar thing in Node.js during the internship, he said it's very handy
5:44:46
leo_song
beizhia: I think a very important point is telling people Common Lisp is actually simpler than their languages
5:51:21
beizhia
leo_song: Agreed. I do also have to make them comfortable with the syntax (or lack thereof)
6:05:39
aeth
I mean, left-pad was accidentally quadratic but not really. https://accidentallyquadratic.tumblr.com/post/142387131042/nodejs-left-pad