00:16
xkapastel has quit [Quit: Connection closed for inactivity]
00:39
ubLIX has joined #picolisp
02:09
ubLIX has quit [Quit: ubLIX]
02:36
alexshendi has quit [Ping timeout: 258 seconds]
02:53
[rg] has joined #picolisp
04:08
orivej has joined #picolisp
04:11
freemint has joined #picolisp
04:11
freeemint has joined #picolisp
04:20
freeemint has quit [Remote host closed the connection]
04:20
freemint has quit [Remote host closed the connection]
04:30
orivej has quit [Ping timeout: 268 seconds]
04:35
[rg] has quit [Quit: Konversation terminated!]
07:00
orivej has joined #picolisp
08:14
aw- has joined #picolisp
08:43
orivej has quit [Ping timeout: 258 seconds]
10:53
orivej has joined #picolisp
11:25
orivej has quit [Ping timeout: 252 seconds]
11:31
freemint has joined #picolisp
11:31
freeemint has joined #picolisp
11:31
freeemint has quit [Client Quit]
11:56
<
viaken >
It was actually lovely, beneroth, so thank you. :)
12:11
tankf33der has joined #picolisp
12:12
<
tankf33der >
Regenaxer: ping
12:15
<
tankf33der >
this is grid and code to find shortest path between cells.
12:16
<
tankf33der >
very slow on this size of grid.
12:32
<
DKordic >
XKCD Check.
12:32
<
DKordic >
Greetings everyone.
12:45
<
tankf33der >
i wonder how to make it faster.
12:53
<
tankf33der >
i should not store and pass pathes, only number of steps
12:55
<
Regenaxer >
Hi tankf33der! Sorry, was away
12:56
<
Regenaxer >
Hmm, yes, old problem
12:57
<
tankf33der >
insane hard for me.
12:57
<
tankf33der >
as usual.
12:57
<
Regenaxer >
Needs another algorithm, not brute force
12:57
<
Regenaxer >
Nothing seems too hard for you ☺
12:58
<
tankf33der >
but for such small grid bfs should be ok, right ?
12:58
<
tankf33der >
this is not 200Mx200M cells.
12:58
<
Regenaxer >
Have you checked Dijkstra's algorithm?
12:59
<
Regenaxer >
Also in Rosetta
12:59
<
tankf33der >
checking.
13:00
<
tankf33der >
found, didnt know already solved. OK.
13:01
<
Regenaxer >
I don't remember the details atm
13:03
<
tankf33der >
thanks.
13:28
ubLIX has joined #picolisp
14:22
andyjpb has joined #picolisp
15:18
alexshendi has joined #picolisp
15:24
alexshendi2 has joined #picolisp
15:24
alexshendi has quit [Read error: Connection reset by peer]
15:24
alexshendi2 has quit [Client Quit]
15:24
alexshendi has joined #picolisp
15:27
<
tankf33der >
reimplemented on counters without lists
15:27
<
tankf33der >
this grid runs bfs in 0.1secs
15:27
<
tankf33der >
if i add one line it runs in 17secs
15:36
ubLIX has quit [Quit: ubLIX]
15:36
alexshendi has quit [Read error: Connection reset by peer]
15:49
<
tankf33der >
gif of animation
15:49
<
tankf33der >
of course it run for ever.
16:55
[rg] has joined #picolisp
17:23
<
Regenaxer >
See you tankf33der! ☺/
17:24
<
beneroth >
DKordic, nice, I didn't know this xkcd. sounds nearly like a real story..
17:25
<
beneroth >
Hi Regenaxer :)
17:27
<
Regenaxer >
beneroth, indeed no f... video ads :)
17:27
<
Regenaxer >
hi [rg]!
17:28
<
beneroth >
Regenaxer, I'm all in for abolishing ALL ads
17:29
<
beneroth >
it's zero-sum games using psychological attacks
17:29
<
beneroth >
and big waste
17:30
<
beneroth >
making people aware of options can happen in trade journals.
17:32
<
[rg] >
google would not have made as much if it was paid right?
17:32
* [rg]
wonders if that was the idea all along
17:34
<
clacke_movim >
Google is an ad network that also provides search engines, communication solutions and other services to deliver users to the ads.
17:39
<
[rg] >
do i have options in picolisp before I use classes?
17:39
<
Regenaxer >
For example?
17:40
<
[rg] >
a polynomial is a list of numbers, with the empty list denoting the 0 degree polynomial
17:40
<
[rg] >
not sure how I would represent that
17:41
<
[rg] >
or just define functions to take explicitly a list
17:41
<
Regenaxer >
Yes, just a list. OOP makes sense if you want inheritance
17:42
<
[rg] >
hm ok, used to having special distiction for my own types, but this works too
17:43
<
Regenaxer >
Well, you can do that, why not?
17:43
<
Regenaxer >
Then a polinomial would be an object
17:44
<
[rg] >
yeah I understand now
17:44
<
Regenaxer >
Makes sense perhaps
17:44
<
Regenaxer >
encapsuulating local data and behavior
17:44
<
beneroth >
or just use plain picolisp symbols
17:45
<
[rg] >
brb computers gonna die
17:45
<
Regenaxer >
But as far as I understand, a plain list is enough
17:45
<
beneroth >
but than the entire tasks seems simple!
17:46
<
Regenaxer >
No idea about the 5G frequencies
17:50
<
beneroth >
though well, I think that was a (understandable) mistake by the TOR project...
17:50
<
beneroth >
this is probably the worst failure of Mozilla this decade (and there were a lot)
17:51
<
[rg] >
what functions should I learn to implement from the library to understand picolisp better?
17:52
<
[rg] >
when I studied miranda it would show most implementations in the standard library
17:53
<
beneroth >
which library? you mean the built-in functions or what=
17:53
<
[rg] >
yeah picolisp builtins
17:53
<
beneroth >
best way to learn a programming language in general: try to make a small (= manageable) project with it
17:54
<
beneroth >
my first picolisp project was a small ToDo-Webapp I still use
17:55
<
beneroth >
difficult question
17:55
<
[rg] >
well what first projects carries the ideas of a lisp well?
17:55
<
[rg] >
i've thought of making the ping command to learn more about tcp but not sure if that's ideal for a first project in picolisp
17:58
<
Regenaxer >
Hmm, the key is that the theme must fascinate you
17:59
<
beneroth >
btw. ping is not part of TCP :P
17:59
<
[rg] >
themes that fascinate me are above my level haha
18:00
alexshendi has joined #picolisp
18:00
<
[rg] >
it's not? oh
18:02
<
[rg] >
so something like a key value database, in picolisp you would just leverage the picolisp db?
18:02
<
beneroth >
yes - which is more powerful than key-value (but could be used as that)
18:02
<
[rg] >
this looks good, thanks beneroth
18:03
<
beneroth >
I learned http this way :)
18:03
<
beneroth >
and http is all in all really a rather easy protocoll (except maybe MIME-parsing required for processing file uploads)
18:04
<
[rg] >
ok here's another thing
18:04
<
[rg] >
in unix land, you make a program then you get a binary, so I can see doing a server that way to be simple
18:05
<
[rg] >
for picolisp I need to bring up the interpreter every time?
18:05
<
Regenaxer >
yes, but it starts extremely fast
18:05
<
[rg] >
like what does sharing a picolisp program look like
18:05
<
beneroth >
usually copying a folder :)
18:06
<
Regenaxer >
$ time pil -bye
18:06
<
Regenaxer >
user 0m0.004s
18:06
<
Regenaxer >
real 0m0.008s
18:06
<
Regenaxer >
sys 0m0.004s
18:06
<
beneroth >
compare it to Java, java binaries are also nothing else than ZIP files interpreted by the java runtime vm
18:06
<
beneroth >
picolisp VM is way smaller and starts alot faster than java
18:07
<
[rg] >
what about manipulating picolisp processes, its still the same?
18:07
<
Regenaxer >
I have lots of #! scripts
18:07
<
Regenaxer >
#!/usr/bin/pil
18:08
<
[rg] >
so a daemon in picolisp is essentially running the interpreter and evaluating code correct?
18:08
<
[rg] >
if you have multiple daemons can they all be handled by a single interpreter process?
18:09
<
Regenaxer >
you would (fork) then
18:10
<
Regenaxer >
must go, bbl
18:11
<
[rg] >
c ya, and thanks
18:43
alexshendi has joined #picolisp
18:51
mtsd has joined #picolisp
19:01
clacke_movim has left #picolisp [#picolisp]
19:32
mtsd has quit [Quit: Leaving]
19:57
<
beneroth >
wb Regenaxer
19:58
<
beneroth >
we should teach rick42 about HTTP 302
19:59
<
beneroth >
or better HTTP 301
19:59
<
Regenaxer >
Thanks!
19:59
<
beneroth >
you're welcome :)
20:01
<
Regenaxer >
I'm just citing it in the mailing list
20:02
<
beneroth >
yeah the blog post from rick42 is truly awesome :)
20:02
<
Regenaxer >
indeed, a perfect intro
20:02
<
beneroth >
really helpful for people with weak math knowledge like me
20:03
<
Regenaxer >
And these questions pop up every few weeks
20:04
[rg] has quit [Ping timeout: 246 seconds]
20:17
orivej has joined #picolisp
20:19
alexshendi has quit [Quit: Leaving]
20:26
[rg] has joined #picolisp
20:30
[rg] has quit [Ping timeout: 246 seconds]
20:30
andyjpb has quit [Ping timeout: 245 seconds]
20:35
<
beneroth >
ah, I saw now
20:35
<
beneroth >
Regenaxer, good mail :)
20:36
<
Regenaxer >
Perhaps a bit too short, but I'm tired ;)
20:36
<
Regenaxer >
So the link to Rick's paper should do
20:39
<
beneroth >
nah, seems good to me
20:43
orivej has quit [Ping timeout: 248 seconds]
21:00
tankf33der has quit [Quit: Connection closed for inactivity]
22:14
ubLIX has joined #picolisp
22:25
inara has quit [Quit: Leaving]
22:28
inara has joined #picolisp
23:41
clacke_movim has joined #picolisp
23:50
[rg] has joined #picolisp