Posts
2449
Following
106
Followers
231
Riding horses, hacking computers, phones and smartwatch.
I don't do Android. I don't like Android. I even used FirefoxOS so I could have small phone... with no Android.

Android is not evil, compared to usual closed-source stuff. But it is ... quite bad compared to average open-source software, and claims to be open-source.

But I believe Python scripting is still needed, and I wrote required glue... so you don't have to. You should now be able to run Python scripts on Android, with access to screen, touch input, audio support and even camera.

Now, don't expect miracles. Android is still bad system. Linux/Phosh should be better, as would be MicroPythonOS. Porting MicroPythonOS (and thus LVGL) to Android would be better solution, but I'm afraid I'd need to be Android programer for that. With current setup, don't expect frames-per-second when doing fullscreen animations.

Still, long time ago there was sl4a (Scripting languages for Android) and it was very useful for simple things. Biggest limit was that sl4a could not access screen and get touch input. You can now do both, but not very fast.

https://gitlab.com/tui/pyeye
0
0
5
Ta "uzasne inteligentni" umela inteligence od O2 se nejdriv necha 5 minut premlouvat, ze chci mluvit s operatorem, pak me donuti k identifikaci, oznami mi, ze bude hovor nahravat, a pak mi s tim triskne ze je mimo pracovni dobu.

Vazne? Ma tam #o2 nekoho kdo ma aspon 2 mozkove bunky?
0
0
0
@xChaos @dirtycommo @cian @permacomputer Well, loading / saving to audio should be quite easy. DTMF is one very easy possibility.
0
0
0
Which adblocker can deal with Wikipedia's nagging?
2
0
0
They did not teach me about computer audio at school, and now I have computer audio problems. On Linux, world started easy PCM data, and CPU fast enuogh to generate them. But now I'm playing with Python on Android and looking at Tic-80 and history, and having performance problems. I probably could fix them by doing everything in Kotlin, but I'd really prefer to keep doing Python.

There seems to be big and complex world of Procedural Sound Generators, MIDI, FM sythesis, Tracker modules and well, PCM audio. Maybe I don't need 44.1kHz, 16-bit PCM for doing beeps, but should I rather go 16kHz, 16-bit or 44kHz, 8-bit for simple beeps / basic melodies? Noone told me.

So... who has good introduction to computer audio? Series of lectures on youtube would be best, but book / pages should do. Is there good way to store music/sound inline in code? So far I'm looking at abc music notation.
0
0
2
"Premiér Andrej Babiš má nové téma. Osobně řeší, jak v Česku zvrátit historicky nejnižší porodnost." To zni jako... no celkem "zajimave" video. A vlastne, kdyby se dal na nataceni porna a prestal krast verejne penize, bylo by nam lip; tusim ze kolegove uz v tom maji nejake zkusenosti :-).

https://www.seznamzpravy.cz/clanek/domaci-zivot-v-cesku-babis-chysta-plan-jak-primet-zeny-rodit-304622
1
0
1
@cian @xChaos @dirtycommo @permacomputer Yeah. But punching it is non trivial. But actually I'd like something that can use cellphone camera to "read" hand-made marks on paper.
2
0
0
@xChaos @dirtycommo @cian @permacomputer How old is serial port? How old is SD card? Are they going to disappear in few years?
0
0
0
@xChaos @dirtycommo @cian @permacomputer Search for: esp32, SPI protocol, SD card.
1
0
0
@akkartik @dirtycommo @cian @xChaos @permacomputer Unlike Python, Lua does not depend on indentation IIRC.
1
0
1
@xChaos @dirtycommo @cian @permacomputer SD cards are very easy (and popular) option on very small computers (esp32 and probably even smaller). It is SPI, very easy to do; I believe something like 4 GPIO lines should be enough. You could probably even connect it to atari 800xl, or something.
0
0
0
@dirtycommo @cian @xChaos @permacomputer Dunno, why would be Lua less suitable for typing in than BASIC? I'm afraid that BASIC is simply not suitable for any big program today...
1
0
0
@jimmac The game seems to be at https://jimmac.github.io/pico-shed/skulls.html . My high score was 24000; the fact that you can no longer read the score after game over is not great :-). Thanks for the game.
2
0
1
@xChaos @permacomputer @dirtycommo Coding in BASIC is ... pretty painful. Don't do that, except as a joke or something.

If you want small interpreted language, look at Espruino. Javascript is not great, but it runs in 64KB RAM.

If you want something bigger, look at MicroPythonOS. Still fits esp32.
1
0
1
@Andres4NY On desktop, I'm still using Mate. On tablets/phones, I'm aware of Gnome and KDE.

I don't care much about which, but ... no anti-features please.
0
0
1
Dear Gnome. This is supposed to be free software, not shareware. Nagging is not welcome.

Dear Debian. You are not supposed to allow anti-features in your repositories.
2
1
4
When it is seconds per frame (not frames per second), it is time to start optimizing...
0
0
0
abc music notation is, well, music notation intended for print. It is easy to understand. It is not that easy to convert into midi.
0
0
1
Show older