freenode/#lisp - IRC Chatlog
Search
20:30:54
HighMemoryDaemon
Can I pass one variable to "format" and do replacements in multiple places?
20:40:44
jasom
windows is actually much easier than linux for this because if you depend on any DLLs you can just put them in the same directory (as that is in the default DLL search path)
20:43:54
jasom
as far as linux portability... the linux kernel has a very stable API, *but* the runtime will invariably depend on some dynamically linked shared objects, and possibly some dynamically loaded shared objects as well. This can pin executables to a very narrow set distributions (and a narrow set of versions within the distribution).
20:47:03
aeth
jasom: That's nonsense. In practice, if you get a Linux application outside of a distro (or third party repositories that are intended for a certain distro) you're not going to depend on the distro's libraries.
20:47:27
aeth
And such applications from 15 years ago can still run even if you don't recompile them.
20:48:10
jasom
Applications from 15 years ago will almost certainly not run due to glibc changes if nothing else.
20:49:10
jasom
oh, you are talking about applications with bundled libraries (or statically linked libraries)?
20:49:18
aeth
A properly written third party application that is neither source distributed nor distributed via a third party repository will bundle everything.
20:50:37
jasom
most binary applications I've seen assume $TODAYS_POPULAR_LINUX_DISTRO e.g. Ubuntu today, redhat a while back.
20:52:17
aeth
Well, the ones that assume Ubuntu are probably increasingly using Snappy, whose only problem is that it's an Ubuntu-first NIH reinvention of something that exists not once but twice: AppImage and Flatpak.
20:54:36
aeth
jasom: Anyway, I think the vast majority of proprietary software written for Linux at this point are Steam games that are written for the Steam for Linux runtime (or whatever it's called).
22:57:27
jfrancis_
Technically a slime question, not a CL question, but still relevant. Slime is getting angry because I'm getting a returned string containing non-UTF-8 characters. Specifically, I'm getting the error "Invalid protocol message: Error during string-to-utf8: Unable to encode character 55357 as :UTF-8.". That's all true and accurate. But I don't care. Is there any way to tell slime to show me anyway, and just go ahead and munge 55357 on my screen i
23:00:15
jfrancis_
Mmm... You mean patch the slime source with an (ignore-errors ...) around the display code? I was hoping for something a bit less brute-force.
23:43:05
jasom
skidd0: you can do shadowing-import-from; uiop also defines its own version of defpackage where you can do imports of packages with no conflicts order matters)
23:46:34
skidd0
jasom: so shadowing-import-from explicitly defines which symbol to use, avoiding the name conflict, right?
2:24:25
stacksmith
G'morn... Has anyone experinced SBCL all of a sudden no longer saving lambda-lists - but only for some code? And recompiling does not help...
3:21:45
skidd0
so coming from Flask and Python, I've used SQLAlchemy as an ORM for a database. With CL, does an ORM provide as much of a benefit to the programmer?
3:22:32
skidd0
by that i mean, ORMs help make querying through database logic faster/easier to write (compared to SQL queries).
3:44:10
aeth
skidd0: The CL solution is often a linguistic solution instead of a directly OOP solution. e.g. for Postmodern (postgresql), http://marijnhaverbeke.nl/postmodern/s-sql.html
4:15:38
sabrac
skidd0: I cannot offer ORM recommendations pro or con as I use straight SQL (or s-sql) but you might look at mito and see if it works for you.
4:29:01
sabrac
skidd0: It really depends on what you want an ORM to do for you and the complexity of your data relationships and how well you understand them. I write functions with embedded s-sql calls that probably do the same thing you would do with an ORM.
4:49:38
skidd0
and my intuition was the, due to lisp's "power", ORMs are less of an improvement compared to other offerings
4:51:23
sabrac
skidd0: obligatory disclaimer - I am the maintainer for Postmodern (and thus s-sql). It is again under active development so if there is something you want, set up an issue on the github https://github.com/marijnh/Postmodern
5:01:04
panji
I finally satisfied with project i made for learning common lisp (https://github.com/epanji/decision-tree). if anyone here willing to give advice or criticize it, please do. but, please don't be so harsh to make me break down. :-)
5:09:05
sabrac
panji: I do not have time to review the code tonight, but I certainly want to congratulate you for documenting, testing and even a youtube video demo!
8:18:56
shka
is it possible to open mcclim application on remote machine, but display window on local machine?
8:19:48
theemacsshibe[m]
if you ssh in, do `ssh -Y` then your usual arguments to make ssh forward X over and set DISPLAY appropriately