freenode/#lisp - IRC Chatlog
Search
20:26:10
aeth
The ideal approach would probably be directly write to Linux, Windows, and macOS APIs (through some written-in-CL portability layer, of course) so no third party library is required (afaik).
21:04:21
TMA
aeth: SDL is not that heavyweight (could be worse) for the OpenGL and related there is glop https://github.com/lispgames/glop
21:12:11
jmercouris
I wish there was a way like in other langs where you could set a breakpoint in emacs
21:24:39
supernets_
WOW GUYS THIS PARTY @ IRC.SUPERNETS.ORG #SUPERBOWL IS STILL GOING ON!! CAN YOU BELIEVE IT??? CHRONO WANTS YOU TO JOIN THE FUN COME NOW!!
21:24:43
supernets_
fikka fourier kolko random-nick attila_lendvai orivej White_Flame damke_ sjl Rawriful dieggsy pagnol Pixel_Outlaw nowhere_man EvW pmetzger raynold varjag Bike drewc emacsoma` lonjil froggey adulteratedjedi jmercouris oleo Meow-J_ billitch rippa tazjin rumbler31 jfb4 dddddd Kevslinger vyzo zooey
21:24:47
supernets_
rvirding __main__ trig-ger d4gg4d_ python476 nullman saki markong pjb aindilis Mandus shrdlu68 razzy Tobbi nirved xantoz milanj deng_cn angelo|2 oldtopman schoppenhauer msb My_Hearing d4ryus DeadTrickster_ ft brucem vibs29 djinn MightyJoe lacedaemon angular_mike_ rann kilimanjaro jyc banjiewen
21:24:51
supernets_
gendl alms_clozure devlaf stux|RC-- foom2 whoman kozy emaczen manualcrank crsc zmt00 jack_rabbit rk[ghost] zotan sabrac kuneco guaqua theBlackDragon zacts kajo fittestbits eschatologist raydeejay Kyo91 anon_ voidlily bkst earl-ducaine impulse peterhil kini tylerdmace SlashLife Xal jibanes S
21:24:55
supernets_
amSkulls iqubic Tristam giraffe itruslove jdz k-hos stacksmith Petit_Dejeuner arbv CrazyEddy kjeldahl Jach[m] CharlieBrown larme easye akkad Lord_of_Life p_l brandonz drdo gko weltung tobel swflint tokik TMA trn caffe mgsk dim broccolistem _whitelogger troydm rotty presiden bhyde tkd sbat fdfdf
21:24:59
supernets_
mepian tripty cross Posterdati dan64 nopf mnoonan dilated_dinosaur kolb ssake MrBismuth pok funnel fortitude Zhivago alandipert vertigo himmAllRight17 luis Lord_Nightmare arrsim davsebamse aijony sbryant ben3 Kaisyu7 clog whartung Patzy Blkt mjl splittist koenig mulk micro pchrist joast
21:25:03
supernets_
cryptomarauder hdurer[m] kammd[m] Firedancer ku cess11 em equalunique[m] hiq[m] stux|RC XachX tfb gbyers gz_ danlentz johs asedeno antoszka bailon gabiruh_ rjeli_ sigjuice flip214 cyberlard joga jself GreaseMonkey koisoke DGASAU fluxit fouric zymurgy ecraven ja-barr Colleen drot vhost- kbtr les
21:25:07
supernets_
eMBee rgrau ArthurAGleckler[ jeremyheiler _death mbrock shaftoe loke copec beaky plll[m] katco[m] salva ccl-logbot megalography dlowe |3b| mood mikaelj runejuhl philosaur sshirokov grumble Xof sthalik vert2 Tordek Cthulhux vutral deba5e12 Nikotiini askatasuna Rovanion tmc Princess17b29a parseval
21:25:11
supernets_
stylewarning pmden cods Xach mrSpec paratox otwieracz pankracy ircbrowse RichardPaulBck[m felideon tomaw bitch reu lxpz creat sellout lugh eagleflo rme dirb kfdenden[m] mhitchman[m] fiddlerwoaroof mtd dotc Poeticode wladz_ krator44 gilberth nimiux benny guna_ malm djh cibs spacepluk z0d DrPete
21:29:03
Shinmera
Well, my blog site allows you to make posts in markdown and produces cached pages.
21:29:35
dlowe
I made one for myself a long time ago. It was pretty neat - it would "expand" custom html tags, so I could write my site in html and then compile it to look fancy
21:32:50
Shinmera
jmercouris: There's other systems (like Staple) that do similar things but tailored towards specific concerns. I have not written anything that is very general, because that's just a matter of doing some HTML wrangling and writing to file, which can be done in like a single line with lQuery.
21:35:26
jmercouris
I'm using a templating language, that's based on (sexpr) e.g. (:body (:h1 "Some text")) and then there are vars you can set, these vars can be interpreted strings through pandoc
21:36:22
jmercouris
whoman: I think maybe "Interesting, a very different approach compared to mine" or something like that
22:59:43
jasom
anybody know what abcl does during initialization? It takes 8 hours to run on Doppio...
23:08:03
phoe
jasom: are you sure you are running it on a JVM that has a compiler, not just an interpreter?
23:08:52
jasom
phoe: I know nothing about the implementation of the JVM I'm running it on, except it's several orders of magnitude slower than what I'm used to.
23:10:32
jasom
the paper claims 24x-48x slower for compute bounded tasks, and simple benchmarks prove that, but I'm seeing much bigger slowdowns for abcl.
23:33:29
jasom
huh, once abcl is up in doppio, it runs relatively fast; 20x slower to calculate 1000th fibonacci vs native jvm
0:04:32
lerax
There is a portable way to use threads with Common Lisp? Currently I'm using the sb-thread: package from sbcl, but this is not a nice solution because is SBCL only.
0:06:48
lerax
This is the official docs https://trac.common-lisp.net/bordeaux-threads/wiki/ApiDocumentation right?
0:12:18
billitch
now i'm stuck rewriting stream classes because evented io is not supported by ansi cl streams
3:08:26
lerax
I have a asdf system on my quicklisp, but I have the same at ~/lisp-chat/lisp-chat.asd. There is a simple way to load it by the current path on sbcl repl instead of loading the global installed by quicklisp? (lisp-chat it's provided by the quicklisp dist)
3:11:21
pjb
Or, of course, you can just (push #P"~/lisp-chat/" asdf:*central-registry*) ; nothing hacky in it.
3:11:49
lerax
yes, I did that... but seems that in some way the quicklisp gives preference to the version from quicklisp (ql:quickload 'lisp-chat)
3:14:44
lerax
Just for curiosity, this function search for .asd files and register at system-index.txt?
3:20:38
Bike
asdf has a deep api for specifying how it searches for systems, but hardly anyone understands it so we just use central registry and a text file list and so forth
5:59:38
borei
with 4 cores and hope that there is no overheade (there will be some) i should get 10Gflops (double-float), it's getting more or less ok
6:06:07
borei
basically i'd like to say that r-lane (and c-lane) has the type (simple-array double-float (4))
6:07:03
|3b|
(though if you are running at safety 0, you probably should verify they actually contain that type first)
6:08:01
White_Flame
you could put the LET inside the LOOP, making the declarations valid & properly scoped, as that's where the variable is actaully used
6:08:02
|3b|
though they could easily be a literal or constant or something instead of allocating every time
6:09:00
White_Flame
a definite shift from C-style languages to Lisp is that you scope variables much tighter, instead of just declaring them all up at the top of the function
6:10:37
White_Flame
and yeah, LOOP itself migh tbe able to iterate the arrays for you, instead of dealing with indexes manually
6:11:31
|3b|
actually yeah, missed that they were just directly iterating a vector, was thinking FOR = rather than FOR ACROSS
6:15:43
|3b|
ACTION would just do the whole thing on a GPU though, even with the horribly crippled double precision on consumer nvidia cards, recent midrange stuff does 50-100gflops :)
6:21:38
|3b|
CL as specified doesn't have anything like that, but most implementations have some sort of lower-level APIs that would for example let you write asm or extend the compilers
6:24:38
|3b|
https://www.pvk.ca/Blog/2013/06/05/fresh-in-sbcl-1-dot-1-8-sse-intrinsics/ talks about some features in sbcl for example, still fairly low-level though
6:25:31
|3b|
(in the "write asm/extend the compiler" range, but with some of the supporting parts already done)
6:28:50
|3b|
there is also the option of using something like opencl on CPU... not sure if it would be any easier, but would at least be different problems :p
6:33:01
|3b|
also, at that scale of matrix multiplies, you might want to start looking at algorithms that take better advantage of memory access patterns
6:36:25
White_Flame
borei: there's some game engine stuff out there in Lisp which does on-the-fly shader interactive coding while the program runs