alexshendi has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 264 seconds]
<
aw->
new picolisp.com looks horrible
<
aw->
i don't know what's up with these font/style changes, but they're
**really** bad
<
aw->
text is too small, zooming in barely makes it bigger, code samples are in bold text, headers are in italics,... it's so bad
pierpal has joined #picolisp
karswell_ has joined #picolisp
karswell has quit [Remote host closed the connection]
pierpal has quit [Ping timeout: 240 seconds]
viaken has joined #picolisp
pierpa has quit [Quit: Page closed]
pierpal has joined #picolisp
pierpal has quit [Client Quit]
pierpal has joined #picolisp
f8l has quit [Ping timeout: 248 seconds]
stultulo has joined #picolisp
stultulo is now known as f8l
orivej has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
<
tankf33der>
aw-: agree, but i dont use it
<
tankf33der>
software-lab.de only
<
aw->
tankf33der: probably a good idea
<
Regenaxer>
aw-, right. I don't care either, as I use only w3m to read it
<
Regenaxer>
But it is a good thing that some people care about it, and improve it in the long range
<
aw->
well the idea is not to scare away new people who are first landing on the site to learn about Lisp or PicoLisp
<
aw->
the new site was a very good refreshment
orivej has quit [Ping timeout: 260 seconds]
rob_w has joined #picolisp
alexshendi has joined #picolisp
aw- has quit [Quit: Leaving.]
mtsd has joined #picolisp
mtsd has quit [Quit: Leaving]
mtsd has joined #picolisp
xificurC has joined #picolisp
orivej has joined #picolisp
arievw has joined #picolisp
<
Regenaxer>
Hi arievw!
<
arievw>
A lot of fuss :)
<
Regenaxer>
Difficult thing, yes :)
<
arievw>
I think Iǘe got a good idea how to approach all of this in a better way.
<
Regenaxer>
Use a text browser? ;)
<
arievw>
Think I should create a dummy website with a few pages exactly reflecting the CSS and HTML of a few generated Wiki pages.
<
Regenaxer>
Yes, a dummy would be good
<
arievw>
And then update the CSS there and only post a link and ask for comments.
<
Regenaxer>
Still the issue of diversing opiniins remains
<
Regenaxer>
ok, yes
<
Regenaxer>
have a counter on each page
<
arievw>
That is true. But together with an online voting system we then could at least go the democratic way.
<
arievw>
Counter for the version?
<
Regenaxer>
no, I mean for the online votes
<
arievw>
OK. Is that easy to implement?
<
Regenaxer>
I think so
<
arievw>
With a plug-in or so?
<
Regenaxer>
The counter itself is easy
<
Regenaxer>
If we assume that nobody clicks many times
<
Regenaxer>
else we need authentication
<
arievw>
Which is a bit of work ...
<
Regenaxer>
The problem is more that it is quite a work to prepare all versions
<
Regenaxer>
eg. one CSS file per version
<
arievw>
Well, I intend to change just 1 thing at a time (e.g.) H1-H6, then let vote for a week.
<
arievw>
And gradually implement that.
<
Regenaxer>
hmm, not sure. It all may depend on each other
<
arievw>
Yeah. Difficult.
<
Regenaxer>
I tried to avoid style issues in all my programming
<
Regenaxer>
For commercial projects I always use the standard @lib.css only
<
Regenaxer>
only in PilBox apps I do slight modifications
<
Regenaxer>
btw, with PilBox it would be very easy
<
arievw>
What exactly?
<
Regenaxer>
one Zip file per version, may contain its own CSS
<
Regenaxer>
a single-file with 2 lines iirc
<
Regenaxer>
you can throw in a "lib.css" file which will override the default
<
Regenaxer>
replace the 2 lines with some wiki-like text
<
Regenaxer>
and then make many of those ZIPs to download
<
Regenaxer>
When handed to the PilBox app they can be selected on the start page
<
arievw>
But it it is often a different experience on phone, tablet versus big screens.
<
arievw>
That is the issue here I think.
<
Regenaxer>
especially on a phone it is too small to compare with the wiki
<
Regenaxer>
In theory, each browser may look different
<
Regenaxer>
and it does in some way
<
arievw>
Yes, that´s the next bad thing indeed ...
<
arievw>
Problem would go away if the Wiki were rewritten with your default GUI :)
<
Regenaxer>
hehe, but then indeed too ugly
<
Regenaxer>
The DB part is the default GUI
<
Regenaxer>
see you!
<
tankf33der>
Regenaxer:
<
tankf33der>
two servers
<
tankf33der>
centos (kernel 3.10), archlinux (kernel 4.17)
<
tankf33der>
the same pil64, the same library
<
tankf33der>
native calls
<
tankf33der>
on kernel 3.10 works, on 4.17 crash
<
tankf33der>
i belive on kernel 4.16 worked.
<
Regenaxer>
Which test?
<
tankf33der>
run with strace
<
tankf33der>
output the same except addresses
<
tankf33der>
only one function fails from library, others works.
<
tankf33der>
can understand why, maybe downgrade kernel version for test ? :/
<
Regenaxer>
Which function is it?
<
tankf33der>
crypto library - monocypher
<
Regenaxer>
I think the Linux kernel was never critical until now
<
Regenaxer>
Perhaps the libs?
<
tankf33der>
only kernel different between two machines.
<
Regenaxer>
strange
<
tankf33der>
i belive it worked on prev version 4.16
<
Regenaxer>
Crypto functions don't use syscalls I think
<
Regenaxer>
And if addresses are the same, it can't be memory management either
<
Regenaxer>
Perhaps one of the struct sizes?
<
Regenaxer>
might overwrite memory if too small, giving a heisenbug
<
Regenaxer>
For a test, you could use bigger sizes
<
tankf33der>
there is no struct
<
tankf33der>
in crypto_lock.l
<
Regenaxer>
(cons NIL (32) K) -> 100
<
Regenaxer>
yes, but sizes
<
Regenaxer>
is 16 enough? '(M (16 B . 16))
<
tankf33der>
for crypto_lock and crypto_unlock
<
Regenaxer>
alignment differences?
<
Regenaxer>
(we had that problem before)
<
tankf33der>
but i dont use struct and alignment
<
tankf33der>
just pass objects and receive
<
Regenaxer>
void crypto_lock(uint8_t mac[16],
<
Regenaxer>
const uint8_t nonce[24],
<
Regenaxer>
const uint8_t key[32],
<
Regenaxer>
uint8_t *cipher_text,
<
Regenaxer>
const uint8_t *plain_text,
<
Regenaxer>
size_t text_size);
<
Regenaxer>
if nonce[24] is aligned to 32 bytes by the system, the size is at the wrong place
<
Regenaxer>
nonsense! Forget that, it is arguments! :)
<
tankf33der>
yeap, only agruments
<
tankf33der>
and only one function failed.
<
Regenaxer>
Sorry, I was not looking rightly
<
tankf33der>
i will try downgrade kernel for 4.16
<
Regenaxer>
hmm, I don't think it is the kernel
<
Regenaxer>
Debugging with gdb would be the way to go
<
Regenaxer>
Step through to see where it crashes
<
Regenaxer>
si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1e68000
<
Regenaxer>
ie. what is at that place, why the address 0x1e68000
<
Regenaxer>
si_signo=SIGSEGV looks like a bad memory access
<
tankf33der>
this is correct run
<
Regenaxer>
the first write() is the same, then it crashes
nehal has joined #picolisp
<
nehal>
Hello everyone.
<
tankf33der>
Regenaxer: downgrading kernel.
<
tankf33der>
nehal: o/
<
Regenaxer>
Hi nehal!
<
Regenaxer>
tankf33der, ok
<
nehal>
I think wiki css looks fine. May be in sometime others will also get acquainted. Base text size may be increased if all agree.
<
tankf33der>
Regenaxer: 4.16.13 the same :(
<
tankf33der>
downgrading library version
nehal_ has joined #picolisp
<
Regenaxer>
nehal_, indeed the numbering is wrong :)
<
Regenaxer>
Anybody of us could fix it, but arii
<
Regenaxer>
arievw is back later I suppose
<
nehal_>
Yes they are just minor changes told there on mail. I just observed.
nehal_ has quit [Quit: Page closed]
nehal_ has joined #picolisp
<
tankf33der>
kernel 2.6.18 returns (0 0 0)
<
tankf33der>
kernel 3.10 returns (1 2 3)
<
tankf33der>
kernel 4.x crash
<
tankf33der>
yes, should be (1 2 3)
nehal_ has quit [Client Quit]
<
tankf33der>
now 2.6 crash too
nehal_ has joined #picolisp
nehal has quit [Ping timeout: 260 seconds]
<
tankf33der>
even pil 17.12
<
Regenaxer>
Sorry, was on phone
<
Regenaxer>
Hmm, so it looks like something is not clean with these native calls
<
Regenaxer>
I don't have the time atm to look deeper into it
nehal_ has quit [Quit: Page closed]
<
tankf33der>
Regenaxer: ok
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #picolisp
andyjpb has quit [Ping timeout: 248 seconds]
anddam has joined #picolisp
<
Regenaxer>
Hi anddam
karswell_ has quit [Read error: Connection reset by peer]
karswell_ has joined #picolisp
styx has joined #picolisp
pierpal has quit [Ping timeout: 264 seconds]
<
tankf33der>
Regenaxer: i found it
<
tankf33der>
picolisp ok, my fault.
<
Regenaxer>
What was it?
<
tankf33der>
forget pass last argument to function via native
<
tankf33der>
i dont know how it works in centos :/
<
tankf33der>
now all linuxes works.
<
Regenaxer>
Great :)
mtsd has quit [Quit: Leaving]
rob_w has quit [Quit: Leaving]
karswell_ has quit [Ping timeout: 240 seconds]
styx has quit [Quit: styx]
sriram has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
pierpal has joined #picolisp
alexshendi has quit [Ping timeout: 256 seconds]
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
AnOddOne has joined #picolisp
<
sriram>
Hi Regenaxer...in the test svg file you had pastebin (different color rectangles and text centering), there is (line 0 60 200 60 NIL "0.2") )
<
sriram>
but not sure where the line function is defined..could not find de line anywhere in library code or elsewhere
<
sriram>
the file with (ps T "Rechts") to be precise
AnOddOne has quit [Quit: leaving]
<
Regenaxer>
Sorry, was away
<
Regenaxer>
anddam, oh, I see. Perhaps deleted somewhen
<
Regenaxer>
sriram, you are right. 'line' seems gone
<
Regenaxer>
I don't remember
<
Regenaxer>
anddam, can you tell how the image is supposed to be called?
orivej has joined #picolisp
<
sriram>
Regenaxer...no problem...I just wanted to see how it was defined..but ok if its not there
<
Regenaxer>
Seems there is only 'polyline' now
<
sriram>
trying to understand diff between csLineTo and csStrokeLine
<
sriram>
i.e the use of ctx.stroke()
<
sriram>
by the way, have you had occasion to draw a dashed line
<
sriram>
i was looking for setLineDash functionality
<
sriram>
or stroke-dasharray
arievw has quit [Read error: Connection reset by peer]
<
Regenaxer>
Yes, works with strokes, but I don't remember at the moment the exact details
sriram has quit [Ping timeout: 260 seconds]
alexshendi has joined #picolisp
pierpal has quit [Quit: Poof]
pierpal has joined #picolisp
pierpa has joined #picolisp
<
anddam>
Regenaxer: nope, just that there's """ In the figure, we omitted the date of birth attribute.""" in the page
<
anddam>
with no figure to be seen
alexshendi has quit [Ping timeout: 256 seconds]
andyjpb has joined #picolisp
pierpal has quit [Ping timeout: 276 seconds]