rob_w has quit [Remote host closed the connection]
f8l has quit [Ping timeout: 256 seconds]
f8l has joined #picolisp
v_m_v has joined #picolisp
<v_m_v>
What would be easiest way to run some background processes each X minutes?
<abu[m]>
With 'task'
<abu[m]>
E.g. once per minute: (task -60000 0 (tty (println (inc (0)))))
<v_m_v>
oh thank you!
<abu[m]>
Welcome ☺
<Nistur>
Random quick question. I was trying to tinker with something running on my pi. I don't know what version of pil I'm currently running on there, but just throwing the hello world html test on there, and checking the source in the browser, I'm getting the base url to be <base href="http://192.168.1.43:Firstname Lastname/"/> (which it then also in all other absolute links)... the strange thing is... it
<Nistur>
actually has my first- and lastname there... and I don't _think_ it could have got something from my Pi, but it is my user account on the machine that I am using for a browser to test it
<Nistur>
any idea what the smeg I've done wrong?
<abu[m]>
Oh, strange indeed
<abu[m]>
Which hello world html test is that?
v_m_v has quit [Remote host closed the connection]
v_m_v has joined #picolisp
<v_m_v>
Is it possible (in Pilog) to ask about potential doubles? By potential doubles I mean: give me all the rows which have price +- 10%value to the other rows
<abu[m]>
Which are the "other" rows?
<v_m_v>
other entities in the same class
<v_m_v>
in the other words: groub elements by price +-10% and show only those groupes which have more then one entity
<abu[m]>
You would make an index on the price. Then collect all objects with a price within a given range
<v_m_v>
hmm still it would force me to make N queries instead on one
<abu[m]>
yes, ok, so I would select price ranges
<v_m_v>
For N elements I would need to get that element price and then ask about elements with price +- 10%
<abu[m]>
No Pilog needed I think
<v_m_v>
No pilog but still N queries
<abu[m]>
yes
<abu[m]>
Do you have another idea?
<beneroth>
(group)
<beneroth>
combined with (by)
<beneroth>
bbl
<abu[m]>
If you know your average price, it is a single 'collect' call
<abu[m]>
Hi beneroth!
<beneroth>
(N queries using index is okay)
<beneroth>
hi abu[m] !
<beneroth>
but gotta go now, just saw this by chance :)
<beneroth>
cu
<abu[m]>
See you! :)
<abu[m]>
'group' is fine, but requires all objects in a list first
<abu[m]>
with index
<abu[m]>
Then you select them immediately
<abu[m]>
Another option is perhaps to store some percentage value in each item
v_m_v has quit [Remote host closed the connection]
Regenaxer has joined #picolisp
<Regenaxer>
Grr, matrix messed up the order of the lines I wrote
<Regenaxer>
Good old plain IRC is really still the best
<Nistur>
sorry, I didn't realise the time when I posted my question, I had to run off
<Regenaxer>
No problem
<Nistur>
abu[m]: both the one on the web app tutorial linked from the wiki and... the other more extensive tutorial I found elsewhere... always start all projects with hello world, to make sure I have a sane environment
<Nistur>
in this case, I didn't...
<Regenaxer>
btw, abu[m] is my idendity from matrix in this channel
<Nistur>
ahh ok :D
<Regenaxer>
tankf33der established a bridge
<Nistur>
I've also identified that my name _must_ be coming from the pi after all, because I'm using a different laptop that definitely doesn't know my name and I still get it
<Regenaxer>
The name is separated by a colon?
<Regenaxer>
So it looks like a port
<Nistur>
yup
<Regenaxer>
no idea
<Nistur>
me neither :D
<Nistur>
I think my next thing is to figure out which version of pil this is :P
<Regenaxer>
Probably this makes no difference. http stuff did not change