|
Well, you've obviously got to convince the Illuminati why it's in their best interests to allow it to be successful first...
|
|
|
|
|
First the little mouse wanted an epub reader
Then she needed a zip library to unzip the xml
Then she needed an XML parser library to decode it.
Then she needed an HTML library to display the content.
Then she needed a CSS library to lay out the HTML
Then she needed a truetype font library to render the CSS styles
*sigh*
If these were designed for little CPUs why did they make the technology stack so deep?
Real programmers use butterflies
|
|
|
|
|
|
not sure it will run on a WROVER chip though
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: not sure it will run on a WROVER chip though
Oh...I had not seen that requirement.
|
|
|
|
|
I didn't list it in the OP. My bad.
The thing is too, that looks like an e-book manager more than a reader.
I want this thing to run on a ESP32 @ 240MHz with 4MB of PSRAM, 4MB of flash, and 512k of actual RAM, with a 600x448 7 color e-paper display.
It's a tall order, to be sure. Especially processing CSS layouts and HTML. TTF support is no joke either though. This is a project and a half.
However, as I'm building it I intend to develop a user interface library that is HTML based for producing more professional screens on these little IoT widgets.
Real programmers use butterflies
|
|
|
|
|
That sounds cool. Maybe some of the code that renders the e-books in calibre could be leveraged to give you an idea how to do that work?? But, maybe not-- since I think the calibre code is in python.
Isn't it interesting that this is about re-use -- one of the holy grails of programming that has been around forever -- and we're still talking about it in 2021?
A few years ago another dev had a HTML to PDF thing in their code. I said, "hey, can I get that code so I can just create PDFs from my HTML..." I love being naive.
So, then i looked at the code and everything was tied to everything else and there was no way to use the original code without copy / paste.
and even then there were dependencies. so, yeah, reuse...wish it were already done once but we just keep on reinventing wheels.
|
|
|
|
|
I have an open source project that is an e-book reader that targets the ESP32 and does most of this so I'm using it as a reference. I'd use it entirely except:
1. I can't get it to build
2. I want to use its component features like HTML/CSS and truetype rendering in my GFX lib without necessarily using EPUB
3. It has no knowledge of color e-ink displays and only supports one device anyway, which i don't own.
But at least it has given me a ton of ideas, and let me know of projects out there I didn't think would build on the ESP32 (but they do, because it uses them!) like freetype.
Real programmers use butterflies
|
|
|
|
|
Because at some point our entire development industry went insane and decided that everything needs to be so abstracted that you can never really find the executable code.
|
|
|
|
|
I've had to rush to get any coding I want done early before the sun is beating down. The little A/C unit we have can't keep up. It has never been this hot in this region before.
Now I need to hurry up and parse e-book format before it gets to be 85 degrees in here again.
Real programmers use butterflies
|
|
|
|
|
Same here. The all time record high for the Edmonton region is 99°, going back to 1937. Environment Canada is forecasting the high for Wednesday at 106°!!! Historically, summer temps rarely touch 90°, so very few houses, including mine, have AC. Maybe I'll see if I can find an air mattress to put in the basement, and maybe get a good night's sleep. Perhaps set up a table down there with a Pi do work from for the week. Maybe. Even that sounds like a lot of effort ...
Keep Calm and Carry On
|
|
|
|
|
Similar situation where I'm at. Near the water, so we have typically mild weather, but for the first time, it's getting over 100 degrees here. Ridiculous.
Real programmers use butterflies
|
|
|
|
|
We live on a similar latitude and it's only about 62/63 today. Which is also ridiculous in its own way.
|
|
|
|
|
Gimme some of your warm air, I'll give you some of my cold Brisbane air...
(it's not usually cold.. but this weekend, after the winter rain, we got maybe 10 degrees at night or something! )
|
|
|
|
|
honey the codewitch wrote: it gets to be 85 degrees Please keep it civil and use international standards (I know you didn't because you'd be dead if you did)
We've had around 30C too, but luckily the temperature dropped with at least 10C again
I'm expecting a heat wave of around 40C again (if we have heat waves every year, maybe we should change our definition of heat wave...).
Things are only going to get warmer too, but I won't expand on that because somehow scientific facts have become political debate.
|
|
|
|
|
Sander Rossel wrote: somehow scientific facts have become political debate
That makes me both angry and sad.
Real programmers use butterflies
|
|
|
|
|
Whereabouts are you in the states.
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I'm near Seattle.
Real programmers use butterflies
|
|
|
|
|
Pessoal estou desevolvemdo um App usando ionic e firebase, estou com dificuldades em fazer autenticação, e sempre que tento executar recebo este erro
Cannot GET / .
Translation:
Guys I'm unevolved an App using ionic and firebase, I'm having trouble doing authentication, and every time I try to run I get this error
modified 26-Jun-21 19:34pm.
|
|
|
|
|
Your secret code has a secret problem.
Unfortunately, that means any solution must also remain a secret as well ...
However, if you want to ask in the right place - Ask a Question[^] - like it says at the top of the page, and give us some idea what code is actually generating the error, there is a chance we might assist without such security precautions.
Using English on an English language site helps as well...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Paciência Aníbal Muienga wrote: Pessoal estou desevolvemdo um App usando ionic e firebase, estou com dificuldades em fazer autenticação, e sempre que tento executar recebo este erro According to Google Translate, this is Portugeuse: "Guys, I'm developing an App using ionic and firebase, I'm having difficulties in authenticating, and whenever I try to run I get this error"Gary Wheeler replies: There is some red text above that says "Please don't post programming questions in the Lounge". Please try posting your question in the Q&A section of The Code Project: https://www.codeproject.com/Questions/ask.aspx[^] Há um texto em vermelho acima que diz "Por favor, não poste perguntas sobre programação no Lounge". Tente postar sua pergunta na seção de perguntas e respostas do The Code Project: https://www.codeproject.com/Questions/ask.aspx[^]
Software Zen: delete this;
|
|
|
|
|
Yes OR No OR Maybe!
Get me coffee and no one gets hurt!
|
|
|
|
|
Guy, you must think forward, you must think quantum state!
That is: Yes AND No AND Maybe!
|
|
|
|
|
|
I'm fairly certain that is not a feline, but rather, and ancient form of field rat that has not been seen for over a thousand years.
|
|
|
|