Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kagevf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
kagevf
2y ago
CL is case-sensitive, but it handles things so you typically don't have to be aware of it. I don't think I'm smart enough to try to do something clever on top of that, so I hope I can avoid your pain.
62.
▲
by
kagevf
2y ago
Not to mention “Go” …
63.
▲
by
kagevf
2y ago
You can think of code reviews as an opportunity for knowledge transfer. ... and it has the added benefit that the person it's directed to will actually read your feedback since it would be directly related to work they're doing.
64.
▲
by
kagevf
2y ago
I agree, which is better - for or map - depends on context. map typically is functional and allocates memory, for does not. But for is more likely to have side-effects. Which trade-offs matter depends on the larger context of the surroundin
65.
▲
by
kagevf
2y ago
Public transit isn’t free on the strip except during New Years Eve and possibly some other special occasions. The monorail from Mandalay Bay to Bellagio is free, but it isn’t public transit.
66.
▲
by
kagevf
2y ago
The code looks pretty readable, if you're familiar with CL and the Windows API - nice! You might want to consider not :USEing your dependencies, and use the package name prefix when you invoke exported symbols instead, though, like you
67.
▲
by
kagevf
2y ago
I wonder if MS long term plans to have both GH and Azure DevOps (the source code management part) ...
68.
▲
by
kagevf
2y ago
In Common Lisp, '(' is a macro character that triggers a reader macro to read/parse the list it surrounds with a pair ')'. More info: https://gist.github.com/chaitanyagupta/9324402 This one dem
69.
▲
by
kagevf
2y ago
> think of tests more like assertions or checksums. That's a good way to summarize how tests can catch regressions. And, I think I'm stealing that!
70.
▲
by
kagevf
2y ago
Everything is still an expression in CL, but you have to account for different namespaces. Also, the above can be further shortened to: (funcall (if (< 1 0) #'+ #'*) 42 100)
71.
▲
by
kagevf
2y ago
GitHub has had diff for images for years, and there's a web automation testing (think: Selenium) vendor called Aplitools that takes snapshots of web pages and diffs those too. I don't know of any non-proprietary tools, but at leas
72.
▲
by
kagevf
2y ago
I use papercut too.
73.
▲
by
kagevf
2y ago
I expect that with AI, we'll be less able to rely on the heuristic of bad grammar to easily detect phishing. That one flaw gave the phishers away so often, and made it so obvious ...
74.
▲
by
kagevf
2y ago
> Would you write your own JSON parser, is it that easy in LISP? Well, there are a lot of them. Here's a link to a guide someone wrote to compare a bunch of them: https://sabracrolleton.github.io/json-review.html
75.
▲
by
kagevf
2y ago
> Looking at Quicklisp's package manager, it looks like the packages are updated on at least a year's interval? I think it used to be closer to monthly. It has slowed down a lot recently. I've seen talk on IRC about ideas
76.
▲
by
kagevf
2y ago
Too bad there isn't one for quicklisp...
77.
▲
by
kagevf
2y ago
This blog has some useful Linqpad tips: https://www.danclarke.com/linqpad-tips-and-tricks In particular, keyboard shortcuts to toggle visibility on the different sub-windows, and using the Util class to prompt for a passwor
78.
▲
by
kagevf
2y ago
It looks like with this, you get macros and a repl, though.
79.
▲
by
kagevf
2y ago
xappings show up in an example in CLTL2's readtable chapter: https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node192.html#...
80.
▲
by
kagevf
2y ago
I’ve been really liking emacs across the 3 major OSs - pretty much works the same everywhere. The joke is that emacs itself is an OS, but it makes a decent shell. Setting save-desktop to 1 and it survives Windows reboots. Change some keybin
81.
▲
by
kagevf
2y ago
I think you made a worthwhile point. I recall seeing either on IRC or reddit someone asking about why their code wasn't working as expected, and it lead back to needing to understand that the string literal in their code was getting up
82.
▲
by
kagevf
2y ago
Yes, updating literals is asking for trouble, or at least can lead to some confusion. If I replace ‘(a b c) in my example with (list ‘a ‘b ‘c) I got the same results.
83.
▲
by
kagevf
2y ago
Correct. (let* ((x '(a b c)) (y (cdr x)) (z (copy-list (cdr x)))) (format t "y=~A, z=~A~%" y z) (setf (nth 1 x) 'w) (format t "y=~A, z=~A~%" y z)) => y=(B C), z=(B C) y=(
84.
▲
by
kagevf
2y ago
Japanese e would only ever be [ɛ]. The constructs to produce an [e] sound would be transliterated as "ei" (the quoted are just letters, not meant to be IPA). So, while I disagree that they sound "exactly the same", I do
85.
▲
by
kagevf
2y ago
I don't know IPA, but Japanese e and Spanish e are also different. Spanish e is like English A in "ace", Japanese e is closer to English "eh".
86.
▲
Common Lisp Community Survey 2024
(cl-survey-2024.djhaskin.com)
7 points
by
kagevf
2y ago
|
0 comments
87.
▲
by
kagevf
2y ago
It's written in arc, a lisp language Paul Graham created. I think you're right about vi, though.
88.
▲
by
kagevf
2y ago
Same here; getting a handle on string interpolation was particularly challenging.
89.
▲
by
kagevf
2y ago
This is a dumb one, but I told it to refer to PowerShell as "StupidShell" and told it not to write it as "StupidShell (Powershell)" but just as "StupidShell". I was just really frustrated with Powershell semant
90.
▲
by
kagevf
2y ago
Someone did: https://portacle.github.io/ Also, lem (already mentioned elsewhere in this thread)
More ›