freenode/#lisp - IRC Chatlog
Search
23:09:36
aeth
The greatest evil in programming language syntax is forbidding foo-bar-baz just so someone can write "x-y" instead of "x - y", which makes everything slightly harder to read.
23:10:45
aeth
and camelCase is only fine for short names with no acronyms, making it ironically the worst decision for something like Java
23:11:10
whartung
I use short names in other language becaueCamelCaseIsAPainToType compared-to-variables-with-dashes-which-is-easy
23:13:04
kenu
@jasom there is already some js code queryng that db and I don't feel like changing it
23:14:20
jasom
aeth: also ironic is that standard python style already recommends spaces around binops, so if you follow the style, then x-y could be unambiguously an identifier
23:15:10
whartung
all the chording and shifting is why I’m not a fan of emacs — just hard on my wrists, and I’m not really interested in remapping everything to make it easier.
23:15:34
jasom
whartung: fortunately someone already did all the remapping, and they called it "evil-mode"
23:15:37
oni-on-ion
whartung: try to type slower, or perhaps remap caps lock to control; that is what i have done. but i still dont really like it honestly.
23:15:52
aeth
jasom: Two things are imo a necessary part of style. Spaces around those operators and parentheses when mixing multiple operators so the reader and writer of the file don't need to have the precedence rules memorized. i.e. x + (c * y)
23:16:10
aeth
jasom: and if you consistently always use that style then (+ x (* c y)) isn't *that* different.
23:16:41
oni-on-ion
whartung: hmm try switch up hands? ie. right shift or right alt, i dont use them as often as i should but i started to more and more.
23:17:22
jasom
whartung: I've tried several vim layers for emacs over the years and evil is the only one that didn't cause my muscle memory to get annoyed every few minutes.
23:18:08
oni-on-ion
whartung: hehe. mine is missing at the moment but i still poke into the little rubber thing +)
23:18:40
oni-on-ion
i was next thinking of moving the spacebar elsewhere. like maybe if TopLeft of keyboard was backspace, and TopRight was space....
23:19:12
whartung
yea. on my mac, the CMD key is the “thumb” key, but taht’s not mapped to meta in Aquaemacs (which is a macification of emacs) that I use.
23:20:26
whartung
though in some places shift-backspace is not backspace, and then I rage and bonk things...
23:22:39
whartung
I try not to go for massive customizations of, well, anything, because it’s One More Thing I have to manage and take care of and port across versions, and workstations, and then get all sort of muscle memory that doesn’t work on the kiosk at the hotel.
23:24:00
whartung
(it’s amazing how close emacs is to a canon cat and the “Humane Interface” and yet, how far away it is at the same time.
0:02:00
jasom
https://gitlab.com/at-home-modifier/at-home-modifier-evdev/wikis/home <-- there's what I was thinking of. It's a linux driver that implements what is needed for doing it; any key can be different when chorded vs not chorded.
0:03:47
jasom
I use my thumb for alt and my middle finger for control when I need to use emacs keys that I haven't remapped yet (e.g. C-c C-k) by moving my whole hand; it's a smaller movement than going to my trackball so shouldn't be too bad.
0:20:00
no-defun-allowed
`(ql:quickload :bordeaux-threads)` `(bt:make-thread (lambda () (loop ...))`
0:20:46
no-defun-allowed
(defmacro make-thunk (&body body) `(bt:make-thread (lambda () ,@body))) is also useful
3:20:17
aeth
ppc64 is supported by CCL and SBCL (but it's marked as in progress on SBCL's platform table page)
3:40:17
aeth
stylewarning: I'm guessing that it might be on a different git branch and I would ask in #sbcl
3:40:55
stylewarning
I talked to the guy who is in the middle of trying to port PPC64 on SBCL. Hasn’t made it past cold-init
4:52:08
beach
plathrop: No, not every language must be written in another language. In fact, languages are not written in anything at all. Implementations are.
5:23:18
no-defun-allowed
after an hour i got shodan.io giving me lots of results using the powers of BISECTION and COORDINATES and things
5:24:29
no-defun-allowed
the only downside is i couldn't get drakma to replicate the requests so i have to run curl ):
5:31:31
no-defun-allowed
writing my own mass scanner seems more feasible than getting this to work reliably and quickly
7:16:13
mfiano
Shinmera: Not just cl-jpg, but retrospectiff can't read all TIFFs, and cl-tga can't read all Targa files. All image format parsers in CL are either slow or incomplete, and sometimes the speed is due to a dependency, like with the pngload case. I really wish the quality of these codes were a bit better, but I have no time to fix pngload, let alone write a faster chipz replacement. Actually there are a few
7:29:50
|3b|
lots of random array accesses at calculated indices, so hard to statically guarantee they are in-bounds
7:36:49
|3b|
ACTION wonders if asdf memoizes/caches results while figuring out how to load a system. loading a system with 4.5k deps, which are nodes of a fairly shallow tree, and wondering if it is recalculating the interior nodes every time it sees them or not
7:38:08
|3b|
probably doesn't help that i'm including some of the intermediate deps twice... i should probably fix that
7:51:32
la_mettrie
which lisp dialect to study? which paperbook about lisp to buy? (i have no particular use for the language, just interested in reading about different languages. i am a linux/unix user, inspired by the traditional hacker culture, emacs user)
7:52:45
minion
la_mettrie: direct your attention towards pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
7:53:23
beach
la_mettrie: If you already know how to program in some other language, then PCL is usually what people here recommend.
8:02:58
beach
la_mettrie: There are some thing that did not exist then, but mostly it is still valid.
8:03:26
beach
la_mettrie: We recommend Quicklisp to install systems, and most people here probably use Emacs with SLIME.
8:03:26
la_mettrie
ok, just wanted to be sure that 2005 is the latest edition so that i do not grab an older one
8:06:27
no-defun-allowed
you can install slime via quicklisp (or emacs's package manager) which may be easier to maintain
8:06:58
Shinmera
la_mettrie: one note is that the book will talk about a "Lisp Box". This is outdated and likely won't work anymore. There is a replacement however, called Portacle. https://portacle.github.io
9:17:08
|3b|
ah, most of the time seems to be quicklisp reading its list of systems to see if it knows about them :/
10:28:57
beach
In a few minutes I need to leave to go pick up drmeister and his family at the airport. I'll deal with it later. Thanks.
10:39:06
jackdaniel
brand new is exaggeration, sicl is brand new in a sense of being build from scratch
10:41:01
pjb
Branding is usually rather instantaneous. Building sicl, some parts get old before others are even designed :-)