libera/#commonlisp - IRC Chatlog
Search
16:07:21
lisp123
I instaleld it on a linux within a VM, but the rendering of fonts by the VM wasn't good enough (since I have a largish screen), then tried Macports & Home brew, but wasn't so easy
16:07:59
lisp123
Best would be App Store, but I'm sure many have mentioned that already :-) I think you will find a lot of love from the MacOS community
16:21:19
jmercouris
I know, I was a macOS user myself, it’s just so frustrating dealing with the APIs
16:26:19
lisp123
Yeah its annoying how macOS is similar to linux but still the gap is far and many things don't port over nicely
16:48:50
lotuseater
jmercouris: are there plans for also bringing nyxt to ARM (I mean eg raspberry pi)? and I can imagine it has a smaller footprint in memory than firefox or chromium
16:50:52
lotuseater
but this is one excellent example for me how to deploy such a big application to various platforms
16:52:06
lotuseater
the thing is the SBCL on pi is just vesion 1.4.6 or so o_O even in apt, but I installed nix package manager so this oldish debian pkgs is not my problem where i need newer software releases
18:01:23
ecraven
hm.. I remember looking at an article that talked about how to implement compile-time unit (as in m, s, m/s, ...) checking in Common Lisp, but can't find it any longer :-/ does anyone happen to know it?
18:04:00
_death
possibly https://medium.com/@MartinCracauer/a-gentle-introduction-to-compile-time-computing-part-3-scientific-units-8e41d8a727ca
19:12:27
JeromeLon
I have a (declaim (optimize ...)) at the top of each file in my asdf system. This is suboptimal, I would like a shared directive (in package.lisp for example). I couldn't find what the compile-time semantics are for declaim when using multiple files: declaim stuff should be global, but the compiler focuses on a single file that is not even loaded. What is the right way to share a declaim between multiple files?
19:19:32
JeromeLon
lotuseater: that sounds perfect! the doc for around-compile even mentions "proclaiming consistent optimization settings"
19:20:45
pjb
JeromeLon: you should not declare optimization in library (or published application) code.
19:24:52
JeromeLon
pjb: so, what is the right way to do it? declaim something and then call load-system? will my declaim be used (assuming nobody did what you are guarding me against)?
19:28:12
pjb
JeromeLon: put your optimization declaration in your rc file. Change it depending on what you want to do (eg. if you want to generate a fast executable, you can rais speed, by default, you will be debugging).
19:29:14
aeth
imo... if what you're doing isn't math, you probably don't want to optimize it at all; if it is math, I'd optimize per-function (perhaps with a macro to automate it)
19:29:50
aeth
pjb: It's not a universal, though. There are cases where you absolutely want to have optimizations in the source files, directly. But essentially only for math libraries.
19:30:22
aeth
i.e .You don't want to have the user force (near-)universal optimizations just to get efficient math
19:30:35
pjb
you would have to wrap them in a lot of checks. Most of the time, that would defeat the purpose.
19:32:08
JeromeLon
ok, let me reformulate my question: I am writing a system that consists of a lot of files. What do I have to do to have all the debug capabilities at all time while developping?
19:34:37
JeromeLon
pjb: just to be clear: I eval this on the repl just before load-system, and all the compiling will use it from that point on?
19:54:22
pjb
Note however that there's no conforming API to inspect the optimize declaration, and not all implementations provide one.
19:54:45
pjb
So it would be hard to do an around-compile function that would save and restore the optimizations.
20:04:28
jcowan
fwiw I think that skinnability has become an important part of UI design. But that can wait for OClim rather than McCLIM, I suppose.
20:33:33
jcowan
Yes. Mac/Mc is a prefix to Irish and Scottish surnames originally meaning "son of", whereas "O" means "grandson/descendant of".
20:34:47
jcowan
My own surname is a clipped form of Irish "Mac Eoghain", son of "Eoghan", "Owen", or "John", though my father was Thomas and not John.
20:36:10
jcowan
His father, however, wrote his name "John Cowan" but pronounced it more like "Shawn a-Cawn".
20:37:51
lotuseater
here in germany the most common surnames are something like "Müller" or "Meier" for also historical reasons
20:43:43
jcowan
Yes. Germans didn't go in for patronymics for whatever reason, unlike Jews, Scandinavians, the English, and the Welsh.
20:50:31
lotuseater
I fond it interesting that some jewish surnames are very german but one can predict they're more used in jewish families
20:51:24
lotuseater
nice waleee you're from sweden :) a friend of mine is travelling atm there with a camper
20:52:02
waleee
the rest of the surnames would sound jewish in German I guess (heavily nature-inspired)
20:52:33
jcowan
Invented by Austro-Hungarian bureaucrats, who could be paid to give you better ones.
20:53:43
jcowan
"So what name did you get?" "Schweisshund." "Whaaat? Didn't you pay him enough?" "My friend, you have no idea how much I had to pay for that W!"
20:59:54
lotuseater
my surname is that of a german town without the last two chars, has nothing to do with each other, but sometimes useful to say for one to write it down correctly :D and also not so often which is good
21:03:59
lotuseater
like Fickmühlen, Luschendorf, Afrika, Knoblauch, Amerika, Texas, Poppel, Lederhose, Aua, Hanf, Kothausen, Drogen
21:04:46
lotuseater
so coming back ontopic, they should have used a CL tool for figuring out that those names are silly
21:50:56
lotuseater
are then the double colon not exposed symbols package::symbol the childrens the world shall not know about? ^^
22:00:40
moon-child
jcowan: in j, package names go after explicitly qualified symbols, rather than before
22:03:32
jcowan
Never tell a Hungarian he is backwards. You can tell a Chinese that, but they will loftily ignore you.
22:26:55
edgar-rft
this is what you could tell to hungarians -> https://www.youtube.com/watch?v=C1Sw0PDgHU4