<Regenaxer>
Connecting to production servers via ssh and tmux on both sides
<aw->
alexshendi: check the Devices List on https://twrp.me - that should be the first place to look for phone support. If it's listed there, then there's likely also Unofficial builds of LineageOS for it.
<freemint>
ok, so your way if working is not friendly towards beginners
<Regenaxer>
no idea
<freemint>
there seems to be a lack of android optimized (touch input) IDEs
<aw->
alexshendi: if you only want PilBox, i think it runs on regular Android as Regenaxer suggested
<freemint>
afp
freemint has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
tankf33der has joined #picolisp
<aw->
m_mans: here?
<aw->
away since May 28 :\
freemint has joined #picolisp
freemint has quit [Client Quit]
<tankf33der>
aw-: try email
freemint has joined #picolisp
freeemint has joined #picolisp
freemint has quit [Ping timeout: 256 seconds]
freeemint has quit [Ping timeout: 256 seconds]
freemint has joined #picolisp
<aw->
tankf33der: good idea, email sent, thanks.
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
freemint has quit [Ping timeout: 240 seconds]
modin2 has joined #picolisp
modin2 has quit [K-Lined]
kepler_mach16 has joined #picolisp
kepler_mach16 has quit [Remote host closed the connection]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
jamesl has joined #picolisp
jamesl has quit [Killed (Sigyn (Spam is off topic on freenode.))]
Zanzibar21 has joined #picolisp
Zanzibar21 has quit [Remote host closed the connection]
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #picolisp
lynxis1 has joined #picolisp
lynxis1 has quit [Ping timeout: 240 seconds]
Dwarf14 has joined #picolisp
razzy has quit [Read error: Connection reset by peer]
Dwarf14 has quit [Ping timeout: 248 seconds]
<tankf33der>
Regenaxer: what options exists to run any versions of pil on macos?
<tankf33der>
im about Matz email and patch
alexshendi has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
<Regenaxer>
Hmm, options? You mean Ersatz?
<tankf33der>
yea
<Regenaxer>
Matz patch is supposed to get pil32 running
<tankf33der>
so pil64 already works, right?
<Regenaxer>
No, not at all
<Regenaxer>
position independent code needed, old problem
<tankf33der>
so patch offers first time ever run pil on macos
<tankf33der>
correct?
<Regenaxer>
not ever, as it worked before they switched to clang
<tankf33der>
i see
<tankf33der>
no gcc on macos?
<tankf33der>
i can have clang and gcc and whatever i want on linux
<Regenaxer>
Good question
<Regenaxer>
yeah
<tankf33der>
i can compile pil32 on old gcc 4.XX
<Regenaxer>
ok, so if it were available on MacOS it would be fine? Needs also libs etc
<razzy>
tankf33der: when i put big file in it,it consume 100percent of processor core for a while, than do nothing. 100KB subsets of same file works fine.
<tankf33der>
yea
<razzy>
using (setq wikina2 (in "enwiki8-start" (till NIL)))
<razzy>
standard apt-get installation
<tankf33der>
its the same (need 100000000 0)
<razzy>
tankf33der: ?
<tankf33der>
laptop is busy
<tankf33der>
cant repeat
<tankf33der>
100mb file was not issue this spring
<tankf33der>
what is your memory size on pc?
<tankf33der>
what is pil process size after read 100mb file?
<tankf33der>
so reading 100mb file to list is the same as create a list with 100M items
<tankf33der>
(need 100000000 0)
<tankf33der>
creates 100M zeroes in list
razzy has quit [Ping timeout: 255 seconds]
razzy has joined #picolisp
<razzy>
tankf33der: i am using raspberry3 ARM architecture, classic rapsbian/debian cca 900MB ram 1900MB swap on SSD (fast). 4cores. never all busy. pil process eat up 600MB
<Regenaxer>
razzy, how does your code look like?
thunderrd24 has joined #picolisp
thunderrd24 has quit [Remote host closed the connection]
<Regenaxer>
Ah, sorry, is it (in "enwiki8-start" (till NIL)) ?
<Regenaxer>
I think you get lots of garbage collections by growing the heap slowly
<Regenaxer>
if it is a 64-bit system, a 100MB file gives 1.6 GiB of list data
<Regenaxer>
If you have such a big memory, do (gc 1600) to pre-allocate. It is a lot faster then
<Regenaxer>
But on a raspi the memory simply is too small, and you get a lot of swapping
<Regenaxer>
So it doesnt make sense at all to read such a long list
<Regenaxer>
What to do with such a list?
<razzy>
Regenaxer: it looks (setq wikina2 (in "enwiki8-start" (till NIL))); in repl
<Regenaxer>
yes
<Regenaxer>
See what I wrote
<tankf33der>
Regenaxer: (gc 1600) will not help.
<Regenaxer>
yes, he has only 900MB ram
<Regenaxer>
too small
<tankf33der>
yeap.
<Regenaxer>
It is a bad idea to build such a huge list. Nothing useful to do with it :)
<Regenaxer>
At least nothing you can do on the file directly
<Regenaxer>
bbl
<tankf33der>
razzy: try mmap then, look at my b2sum example.
<razzy>
Regenaxer: you are wrong :]
<razzy>
i want random acces
<tankf33der>
razzy: you cant, list dont set in your memory
<tankf33der>
do you want compare random access on list?
<tankf33der>
:)
razzy has quit [Read error: Connection reset by peer]
milky22 has joined #picolisp
milky22 has quit [Killed (Unit193 (Spam is not permitted on freenode.))]
razzy has joined #picolisp
<razzy>
tankf33der: Regenaxer: you was right. when i reach 600MB in ram and start swapping, it brek down everything.
<Regenaxer>
razzy, a hundred million cells long list is absolutely not the way for "random access"! :D
<Regenaxer>
What do you want to do with these data?
<Regenaxer>
Normally, you read small chunks of data and operate on them
<Regenaxer>
Such a long list is completely useless
<Regenaxer>
Operating on it non-destructively needs the same amount of space several times
<razzy>
tankf33der: when i put file in list, it lives in my ram
<Regenaxer>
Well, not "lives" :)
<Regenaxer>
it is rather dead
<Regenaxer>
What do you want to do?
<Regenaxer>
search? transform?
<Regenaxer>
For complicated stuff, import them into the database
<Regenaxer>
to get structures, indexes etc.
<Regenaxer>
bbl
<razzy>
Regenaxer: i want to transform :] ,.. i guess i want FIFO buffer 1KB long :]
<Regenaxer>
ret
<Regenaxer>
Good, then you could use the 'fifo' function
<Regenaxer>
But better is in my experience to read small chunks
<Regenaxer>
(char) (skip) (from) (till) (line) and (peek) etc
<Regenaxer>
Do these data in the file have any structure?
<Regenaxer>
Lines?
<Regenaxer>
or parsable?
<Regenaxer>
For an example of a parser, look at e.g @lib/xm.l
<razzy>
i am testing compression algorithms
<razzy>
so i want to rearenge files :]
<razzy>
*rearange parts of file
<Regenaxer>
ok
<tankf33der>
compression algo on rosetta too
<razzy>
fuck me,... thx
<razzy>
wtf, where did my day go?
<razzy>
:D
<tankf33der>
maybe you implement something different