shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shpx has joined #picolisp
shpx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shpx has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]
aw- has joined #picolisp
orivej has joined #picolisp
tankf33der has left #picolisp [#picolisp]
orivej has quit [Ping timeout: 268 seconds]
<aw->
hi all
<cess11_>
Good morning.
<aw->
seems there's a lot of censoring on social media recently
<Regenaxer>
Hi aw-, cess11_
<aw->
i had a blog hosted on tumblr, it was flagged because i re-posted some political/activist stuff..
<cess11_>
Not so much censoring as a late scramble for compliance with european law, I think.
<aw->
hmmm
<aw->
they emailed saying it's linked to Russian hackers who are spreading propaganda etc
<cess11_>
Not very sophisticated though, so lots of material get flagged or taken down that might be OK.
<cess11_>
Right, linking to Guccifer stuff and similar might be sensitive.
<aw->
indeed, and their reasoning is absurd
<aw->
someone mentioned the other day, the "dark ages of the internet" - it seems that's where we are now
<cess11_>
It's absurd because it is about profits and survival as a company, but they can't say that they are afraid of regulation and liquidation.
<aw->
yes, so i made a quick little static html blog generator in picolisp :D
<cess11_>
Nice.
<aw->
i'm thinking of making a PilBox android app for it, but right now it works with git.. not sure how to do that on Android
<cess11_>
With Termux it would be fairly easy but that might not be possible to rely on for a commercial product.
<aw->
it's open source
<aw->
well.. i'll make it open source shortly
<aw->
is there git on Android phones?
<cess11_>
Sure, it's just that the security model can make it tricky to use.
<aw->
ohh i would need a picolisp FFI binding for libgit
<aw->
hmmm.. unless i can (call 'curl) ?
<cess11_>
With Termux as a depency this is easy.
<cess11_>
Using native curl and git would be trickier.
<aw->
what does Termux do?
<aw->
what would be easy? can you explain?
<aw->
i'm not familiar with it
<cess11_>
It emulates a Linux shell, basically, complete with package manager and tabs.
<aw->
hmmm
<aw->
i don't see how that would help
<aw->
i don't want the app user to use a shell
<aw->
the git stuff is behind the scenes
<cess11_>
This is why I thought it might not be an alternative. I think Github develops a client and there's Agit and some more too. I'm not sure how easy it is to communicate with these from PilBox.
<aw->
well.. i guess i could make this a server-side app but then the android app becomes mostly useless
<aw->
yeah... would probably be easier to do server-side, or include the git/libgit binary/sharelibs in the pilbox app package
<aw->
oh, there's no git but there's 'scp' .. that might work
<aw->
cess11_: thanks
<cess11_>
Regenaxer: How is the circle colour gradient in Penti set up? Is it easy to change in the sources or perhaps add a colour changer to the installation process?
<cess11_>
I think I've seen some Java sources sometime but not sure.
<cess11_>
Seems to be the PentiView() function that defines this colouring.
<Regenaxer>
Uh, I forgot :)
<Regenaxer>
There is RadialGradient (for the circles) and LinearGradient (for the initial Text) in use
<Regenaxer>
The circles are drawn in fillCircle()
<cess11_>
I see. It needs Android SDK to build, right?
<Regenaxer>
yes
<Regenaxer>
I used a gray gradient to make it distinguishable on every possible background
<cess11_>
I would like to make the fill smaller or darker to make it easier to view in videos on big screens.
<Regenaxer>
But then maybe it is not well visible on dark screens as in terminals (?)
<Regenaxer>
BTW, just now released a new Penti version, after half a year with no changes
<cess11_>
It's fine if it is just a tiny or fairly dark colour change, when taken up to 24" or more it is very bright and gets in the way of what happens below.
<Regenaxer>
A-P is an alternative PASTE (secondary paste buffer)
<Regenaxer>
What do you mean with "happens below"? The gradation is used only during initialization
<Regenaxer>
The circles during normal operation are alternating white/black at equal distances
<cess11_>
When circles are pressed they get a circle gradient that is very bright on large screens, e.g. when watching a full sized video on a desktop monitor.
<Regenaxer>
Ah, yes. Right
<Regenaxer>
True, I never cared as this is only a short moment
<Regenaxer>
It could be more transparent
<Regenaxer>
Or, what if the gradient were opposite?
orivej has joined #picolisp
<cess11_>
That could be enough, I think.
<Regenaxer>
The bright in the center, getting darker to the outside
<cess11_>
Is libandroidsdk-sdklib-java and gradle enough or should I get something else?
<cess11_>
gradle I have, looking at Debian packages for the SDK.
<Regenaxer>
hmm, I don't remember
<cess11_>
OK, I'll try.
<Regenaxer>
I think I downloaded the standard SDK from google developer
<Regenaxer>
I think you just need to toggle the colors in:
<Regenaxer>
CircleFill.setShader(new RadialGradient(x, y, r, Color.BLACK, Color.WHITE,
<Regenaxer>
I'm afraid however that the visual effect will be too faint then
<Regenaxer>
only a small white blob under the finger
<Regenaxer>
bbl
<cess11_>
It's fine, the line circle is enough for me to use it OK.
<cess11_>
The idea is to make videos easier to watch on monitors, I doubt anyone else would use it.
<cess11_>
It doesn't want to build it though, it seems gradle doesn't find some wrapper class. Perhaps it is about versioning.
<Regenaxer>
ret
<Regenaxer>
Which wrapper class?
<cess11_>
The one gradle uses for some build bootstrapping stuff.
<Regenaxer>
ok
<cess11_>
I think it is that my JDK is outdated.
<cess11_>
Trying Oracle:s JDK 8 next.
<Regenaxer>
I would download the whole gorilla, not use the local JDK
<Regenaxer>
It is 25 GiB though
<Regenaxer>
iirc I installed the Sdk, platform tools, and NDK
<beneroth>
25GB WTF
<beneroth>
how do they manage that without tons of pictures and other graphical content?