|
BOAT - Bring On Another Thousand.
Lived on a sailboat for 12 years and I can testify that is a true statement.
Fair winds bub.
|
|
|
|
|
For that content, I recommend www.yachtforums.com
There are a number of experts there who can give very good answers to all kinds of questions about Yachts.
One thing I should caution you on, is go small at first. Most people who buy boats end up leaving them at anchor most of the year and that still costs you money in the long run. Learn how to keep your costs down first (while maintaining safety)
|
|
|
|
|
I believe it was an ex president who said "If it floats, if it flies, if it F^&&cks, rent it.
|
|
|
|
|
cavilling faction captures joint (9)
|
|
|
|
|
Ok we give up
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
To avoid an "Oi!", I decided to post it a little early.
I will try to post it at 11:30 BST. I'm almost always up by then and will hold off so that the time is more predictable.
|
|
|
|
|
Very early - it's still only 2021 in Wales ...
"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!
|
|
|
|
|
We'll be asleep by then
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
|
Greg Utas wrote: Turnabout is fair play!
How many letters?
|
|
|
|
|
It will be 9, so start up your SQL and favourite dictionary dump.
|
|
|
|
|
So what is the clue ?
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
|
I can see Turnabout is fair play! in one post and nine letters in another it's like a treasure hunt before you even start on the clue
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I try to avoid web work. It's just not my cup of tea. I don't like duck typing. I don't like scripting. I don't really like markup - it's too much typing.
But now I'm faced with the daunting task of shoehorning a "good enough" CSS processor onto an ESP32.
The trouble is, I don't know what constitutes good enough and the internet isn't giving up the goods on that where epubs are concerned.
The trouble is this - EPUB readers are typically running on relatively "fat", android capable devices and use a webkit browser component to display content.
I can't run webkit. I just can't. It's just not going to happen in the RAM and CPU that I have.
So far, I 've gotten away with wedging everything into a 512kB system (with 200kB reserved for the system) by streaming content directly from flash wherever possible rather than using RAM. I have 4MB of NVS flash for program and data, so I lean on it.
Streaming works great when you can do it but CSS presents a challenge.
CSS Selectors Reference - this is my Everest[^]
1. Clearly, I have to load the entire CSS content into some sort of hopefully compact, normalized data structures. I won't be able to stream because of the number of times I'd have to reparse from the beginning to implement the selection.
2. Aside from the selector challenges I have the issue of styles overriding other styles (for example if you have both class and style attributes. That means maybe? a stack of hashtables. I'm not sure if I can afford that?
3. I can't find a working subset of CSS that EPUB routinely expects, I think because everything just uses webkit. That means even if I solve 1 and 2, I have to ... i don't know, somehow figure out what subset of CSS I can reasonably get away with supporting, because supporting it all just isn't going to happen on a device like this.
4. This is where I wish I was a web developer. I don't know what most of these style attributes do. I don't understand the CSS box model. I don't know for example, why you might use padding instead of margins aside from being able to venture a guess. Every single thing I have to support I'm going to have to learn first.
This is daunting. By the time I'm done I suppose if I still have any of my sanity left I could expend it on doing web development for people, because after this I'll be a CSS and HTML expert.
Real programmers use butterflies
|
|
|
|
|
Margins are the space between elements, padding is the space within an element.
So you might have two label elements with different fonts using a margin to give them some horizontally separation, and vertical padding to, say, shift them vertically because you want them horizontal-center-aligned.
Of course, the nightmare that I always encounter is that not all style attributes work the same for elements, like centering and text alignment I think, which have sometimes, and sometimes not, to be handled by an outer div.
CSS is a nightmare. I doubt you'll have any sanity left.
|
|
|
|
|
That's why the middle "S" stands for "SNAFU" ...
"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!
|
|
|
|
|
|
If I granted your wish, I'd probably be looking for a job in a boys' choir.
|
|
|
|
|
honey the codewitch wrote: Wishing I was a web developer suddenly
May God have mercy on your soul...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
honey the codewitch wrote: I can't find a working subset of CSS that EPUB routinely expects ..you have Winforms?
A "rich" client. And now you voodoo with HTML??
Why?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Because winforms doesn't run on a system that costs $1.60
Real programmers use butterflies
|
|
|
|
|
Runs on anything that supports Mono.
Specs?
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
LOL
Try 300kB of RAM except 120kB is off limits because it's needed to hold a couple of frame buffers.
You have a 240MHz 32bit cpu backing it up. No significant superscalar architecture.
Box or class overhead is 80 bytes in .NET
Nah. I think I'll pass.
Real programmers use butterflies
|
|
|
|
|
I feel bad posting his - like I'm in Q&A or something, but it worked for me: CSS Tutorial[^]. In particular, the Try It option lets you modify the initial content and see the damage.
When I first got started in web dev I had a problem: FireFox and some version of IE had to both be supported and IE was amazingly non-compliant. Ultimately, the solution was to position things with "absolute". Although the IE went away I kept with the methodology. A style sheet with horizontal positioning makes alignment very easy.
Box model - think of this as a container. Positioning within the container is relative to the container so blocks of things can be set up and conveniently moved without messing up internal alignment. It is, as you have observed, quite nuanced: a div vs. a span and how some CSS doesn't work in a span (for example). It makes sense - but there's even a CSS style to modify that if you need it. Also one that, should you "pad" something, it doesn't change the size of the surrounding element (which normally it does).
The rest of the insanity I leave in your capable hands
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|