freenode/#lisp - IRC Chatlog
Search
20:55:04
gendl
Update: it's not just a Lisp problem. Windows file Explorer and cmd shell also have trouble seeing files a level or two down from the <SYMLINKD> directory. Only cygwin can see everything.
20:57:25
gendl
So this is some kind of issue with the sshfs, the windows <SYMLINKD>, or the combination of the two. Using the M: drive directly (the one mounted with sshfs) works fine. Anyway not a Lisp issue so I'll dig into it on the windows end of things and stop yammering on about it here... sorry for the noise..
21:45:15
pjb
Clearly, Microsoft doesn't know what belongs to kernels and what belongs to userspace. GUI inside the kernel, FS in user space, PFFFTHTH!
21:50:15
Aruseus
perhaps they wanted to show they could be innovative and implement the fs on top of the gui
21:52:15
pjb
Aruseus: probably they were innovative in a meeting such as https://www.youtube.com/watch?v=BKorP55Aqvg
21:58:10
Aruseus
pjb, are you can expert? I need you to implement copy-on-write using context menus and buttons.
21:59:26
pjb
Notice, there's an good expertly answer: http://img1.joyreactor.cc/pics/post/full/песочница-Не-мое-кто-в-теме-тот-поймет-эксперт-2734907.jpeg
22:03:03
pjb
https://www.youtube.com/watch?v=BKorP55Aqvg&list=PLKlTnphWMK_pbfHE4VilQg3GjVuXJdo5I&index=1
23:40:33
pjb
(loop … do (multiple-value-bind (foo bar) (multiple-value-list whatever) …)) might be more efficient indeed.
1:50:48
jcowan
Cygwin treats .lnk files as if they were really symlinks, but most Windows programs don't understand them at all.
1:53:39
jasom
I seem to recall someone saying that NTFS support symlinks, but it not being exposed at the OS layer.
2:08:19
Ukari
I notice that simply use a (funcall (lambda () ...)) to wrap outside seems won't effect the excute time , https://plaster.tymoon.eu/view/1228
2:11:43
jasom
also, FWIW funcall is not required to call a lambda, ((lambda () ...)) is valid. A lot of people use the funcall to make it more clear though (as two open parens looks an awful lot like one).
3:27:03
Ukari
but when I `:import-from :foo :bar`in package `foo-test`, and try to use method `(bar)`, it works?!
3:27:03
Ukari
I was thought that if a symbol `bar` is not export, it must needs to be import by `:import-from :foo ::bar`
3:32:14
gilberth
At times you only want to import a few symbols. But those use cases are. Usually, you export your "interface"/"API" and just use that package from another.
3:35:27
Ukari
I am used to use import-from to import a exported symbol from other packages, and only use (:use ) for package :cl, because it shows a clear dependency
3:36:20
gilberth
Well, that is not like most people do that. As you pointed out: exporting a symbol goes with using a package.
3:43:17
gilberth
Hacking is about communication with the next hacker, who will read the code, also. And that next hacker could as well be me in 20 years. When I see :import-from in a DEFPACKAGE, I wonder: Why?!
3:46:16
Ukari
if there is not a explicit :import-from in defpackage, the next hacker might don't know where a function he never seems before comes from, especially when he read the code in github
3:57:54
gilberth
Ukari: And then you do not use :import-from for the COMMON-LISP package and list all 978 symbols.
4:00:07
Ukari
yes, i use (:use :cl) for package 'common-lisp', and in package foo-test, i will also use (:use fiveam) for a test framework
6:30:55
slightlycyborg
Hello. I am doing serial stuff. I need to convert a Lisp int which represents a 2 byte signed short into a list of 2 lisp ints that represent the bytes
7:04:56
verisimilitude
What LDB lets you do is get a section of an INTEGER and have it right-justified.
7:05:12
verisimilitude
You should also look into MASK-FIELD, which doesn't right-justify the result.