freenode/#lisp - IRC Chatlog
Search
9:38:04
jsjolen
Yeah, it's pretty typical to optimize for unsafety when drunk so that might be why you had wrap-around issues
9:44:04
no-defun-allowed
unfortunately estradiol isn't in the quicklisp packages so i'll have to find it somewhere else
9:51:34
beach
v0|d: This picture is derived from information in the AMOP book: http://metamodular.com/CLOS-MOP/graph.png
9:51:53
phoe
I mean, technically, you can create a method object, equip it with some function, then call that method directly without calling any generic function at all.
9:52:18
phoe
If your use case is unusual enough to involve such mechanisms, then it might be feasible for you.
9:52:28
beach
As you can see, the word STANDARD-CLASS is in red, meaning that it is an instance of STANDARD-CLASS (because the rectangle is drawn in red).
9:53:05
phoe
But unless you dive deep into CLOS/MOP internals and have enough knowledge to back you up in case you screw something up, the answer is, no, it doesn't make sense.
9:53:46
Shinmera
The point of the blurb is simply that it is possible for methods to exist without generic functions (because they need to be created first and then attached)
9:54:50
beach
v0|d: The color of the text determines the metaclass. If the color is green, the metaclass is built-in-class. If the color is blue, the metaclas is funcallable-standard-class. Etc.
10:03:16
v0|d
beach: Do you know a particular algorithm that employs this recursive type? (std-class)
10:05:25
beach
Well, it is more like this: Since every Common Lisp object is the instance of some class, unless you want infinitely many classes, there has to be a cycle somewhere in the graph.
10:12:17
phoe
with the smallest cycle being (typep (make-instance 'standard-object) 'standard-object) ;=> T
15:29:01
AeroNotix
I ran mezzano for like 10 seconds a few years ago. Clicked around, "huh cool" and never ran it again
15:33:11
random-nick
but you might have trouble getting it to connect to the network because Mezzano only supports a single ethernet card
15:37:13
random-nick
it doesn't have DHCP, TCP retransmit, ICMP (but it has enough of it to get ping to work), and it has only 1 network driver
15:38:00
random-nick
so only very simple networking things work and you have to manually configure the IP address
15:43:06
AeroNotix
It's funny really. I would have thought a Lisp OS would be the wet dream of every lisper but I haven't seen much interest in Mezzano unfortunately.
15:43:55
Shinmera
OSs are hard and only few people have the know-how and/or dedication to commit to it.
15:45:29
pjb
AeroNotix: wet dreams or not, during the day the tools I use are: emacs, firefox, bash, posix commands, git, gcc or clang and a bunch of C libraries. If Mezzano cannot support those programs, then I cannot use it, but in wet dreams.
15:45:31
AeroNotix
but there are many smart lispers in here that do have the skills to contribute, though obviously probably not the time
15:47:43
pjb
Unfortunately, long past are the days without the internet, where you could use your own little OS and write your own little programs (even for some customers). With the Internet, network effects have been much stronger, and this excludes for practical purposes all but the two or three main options.
16:45:03
jmercouris
the thing is, looking at the asd in the github, it depends on a large variety of systems
16:46:05
AeroNotix
perhaps Xach would know why this is available in the QL distro but not actually working
16:48:03
AeroNotix
jmercouris: put https://github.com/mmaul/clml.extras in local-projects and load clml.extras then clml
16:48:25
AeroNotix
at least it makes some more progress for me. It seems that clml.extras package is where the r-datasets package is located...
16:48:54
AeroNotix
Not got it loaded for me properly yet, though. I have some issues with sbcl and dynamic heap sizes apparently (???)
16:49:15
AeroNotix
"""""ring compilation with SBCL this system requires that the heap space be set to 2560 or greater. ~%This can be set by dynamic-space-size flag when starting sbcl. To resolve restart sbcl as follows:~%""""
16:53:23
AeroNotix
It originally had debian on it which had a package for the xorg/gpu drivers but my current distro doesn't.
16:53:24
jmercouris
maybe it would be easier to find a pci gpu and one of those 90 degree pci mounting brackets
16:53:39
AeroNotix
could be but then that would be effort. I just need a computer that works reasonably well right now
16:57:54
jmercouris
I'll probably have to change some swank config if I will work with this library at all
17:01:02
jmercouris
seems that this system SHOULD have been found: https://gist.github.com/6e6d59ea2acc97d3a88f4f67775f6bf8
18:53:02
AeroNotix
pjb: cool. I'm getting into it and would love to use CL for processing some of the data I get back.
19:21:01
Shinmera
AeroNotix: frgo who hangs out in #clasp sometimes does amateur radio stuff (possibly with lisp?), if I remember correctly
20:29:14
jmercouris
even if it would be using FCGI with nginx as a reverse proxy, that would be fine too
20:31:27
mood
jmercouris: I generally just have Clack use Hunchentoot, and make nginx reverse proxy to the port it's listening on
20:33:23
jmercouris
mood: are you jorams on github? your profile image that of an alien with the lisp flag?
20:33:37
mood
Or, well, I guess that doesn't contain the actual usage of the certificate, but that's just ssl_certificate and ssl_certificate_key
20:35:12
jmercouris
this also let's your lisp image run as a non-privileged user, that is quite useful
20:35:26
mood
This is the config for link., which serves its files directly https://link.joram.io/Hd.txt
20:37:06
jmercouris
I am used to having a different location like location /static or something, or maybe I am misremembering
20:37:44
jmercouris
so you have a directory at: /srv/http/link.joram.io which contains static assets?
20:38:15
jmercouris
so maybe something like /srv/http/link.joram.io/static/file.png and it will try to find that file first?
20:42:45
mood
Uhh, now I do. Apparently I forgot to make the symlink. But yes, a directory at /srv/http/link.joram.io/ containing files like "Hd.txt". Nginx will look for a file to serve, and forward the request to Hunchentoot if it doesn't exist
20:43:44
jmercouris
I wonder if that is less efficient than simply setting up a static dir and pointing to it as I am used to
20:44:18
jmercouris
I am used to the paradigm that looks like this: https://docs.nginx.com/nginx/admin-guide/web-server/serving-static-content/
21:24:28
AeroNotix
I want to communicate with NOAA satellites at first and, since I live very close to an airport, I want to see what I can listen to from them. Perhaps see if I can "use" their radar somewhat
21:34:02
AeroNotix
What's the best way to create a "union" value like in C, I want to have a 16 bit value be addressable via the two bytes.