Saturday, September 12, 2020

Hussar Problem Solved

I mentioned that while I was up at the Wargames Holiday Centre I was hoping to make a few purchases. Well,I did indeed, and here are a few pics of some of them. Mike has been selling off quite a few units this year in order to "slim down" the collection (for example, having nearly 180 x 36 man French btns seemed a bit OTT), and I hoped to buy a few units I'd always really liked. High on the list were these 2 regts of Austrian Hussars, 1 of 36 men and another of 48 (Wish they were both 48's).
One of the problems I've always had with the Austrian army is the hussar uniform. Now I know they invented the things, but I've always thought the Austrian hussar uniform looked more at home in Billy Smart's Circus than on a battlefield. All that purulent bright green, stupid red trousers, and yellow plumes...Give them some long, floppy shoes rather than hussar boots and they would have looked better.
Subsequently I've never had any great desire to paint any. So from years ago when I first saw these rather more subdued paint jobs they always appealed. They are all wearing overalls and the green is (a more realistic) darker shade.  Despite this they are still suitably gaudy enough for hussars, with their red shabraques with yellow piping and either bright or dark blue dolmans.
They are (naturally) the Elite miniatures castings, painted and converted by Doug Mason. All the sabres are pins soldered into the hand and are very tough. Even after many years of service up in Scarborough I only had to replace 3 swords out of 84. Doug has done plenty of bends and twists to these figures. There are only 4 basic figures here, officer, trumpeter and 2 trooper figures, and he really has imparted an incredible sense of movement to the models which really look the part of hussars at full tilt

I just did a minimal amount of work on the bases to blend them with my standard basing. Just an oilwash and highlight then some grass clumps added. I also gave them a quick new coat of gloss. I had contemplated giving them a matt coat, but they look infinitely better in their original gloss glory. I'm developing a bit of a theory about gloss V matt: Gloss varnish isn't terribly fashionable these days which is actually a bit wierd. There is no debate about it bringing out the colour and establishing a visual contrast between the figure and its base, this is simply optical fact. Nonetheless, a lot of folk "prefer" matt these days. Anyway, my theory is, that gloss varnish makes well painted figures look even better and badly painted figures look even worse, while matt varnish just dulls everything down to a more median uniformity (no pun inteneded). So for Mr Average painter (like me, and most of you) we think our stuff looks better when we matt varnish it, because gloss just shows up all the cock-ups, while matt is more....forgiving.
Anyway, thats my theory.

These figures were painted by someone who really knew what he was doing, and it shows up even better in the flesh than through the lens of my rather inadequate camera.

These weren't the only figures I bought from Mike, there are more (I just kept peeling off the tenners until he said stop) but the rest will have to wait for another time.



Free Web Site Counter
Free Counter

Website Updates

Over the last few years I've been trying to increase the accessibility of my site. I have 25 years of web pages that I maintain so it was a lot of work to do all at once. I split it up into multiple phases:

  1. Phase one: I converted 85% of my pages to use a "responsive layout", which takes into account the reader's browser size. I converted pages that had a 600px width and were relatively easy to convert to a variable px based layout. My focus was to write responsive CSS rules that smoothly varied the layout and font size based on browser width. I wrote my notes on how to do this.
  2. Phase two: I tackled the 15% of pages that were more difficult to convert, because of their use of non-standard layout, or interactive diagrams, or iframes, or anything else that made it difficult. I wrote a blog post about this. I still used a px based layout.
  3. Phase three: I'm ready to switch from a px based layout to a rem based layout.

This is how I often make progress past "analysis paralysis": I break the problem down into smaller, simpler ones and then work on them one at a time.

Browsers default to 16px fonts typically. Most people don't change the default. But some do. Around 3%. My site had overridden the reader's preferred font size and then set the layout based on my font size.

I have the page layout link the font size and the paragraph width.

  • For narrow browsers, below 550px, the paragraphs are the width of the browser, with a narrow margin. The font is 10px.
  • For medium width browsers, the paragraphs gain some space, but the margins also gain some space. The font grows along with the paragraph.
  • For wide browsers, above 1000px, the paragraphs are capped at 660px, and the rest goes to the margin. The font is capped at 20px.

I wanted to keep this variable font size but make it scale with the reader's preferred font size. Note that I'm not displaying at the browser font size, but instead scaling my variable font size (10px to 20px) based on the ratio of the browser font size to the default. If the reader has set the font size to be 20% larger than the default, then my font sizes will be 20% larger, so 10px becomes 12px and 20px becomes 24px. I made the layout match the font size change by changing the "breakpoint" sizes and the paragraph sizes to use rem units instead.

Since the browser defaults to 16px = 1rem, the simplest thing to do is to divide all px sizes by 16 to make them rem units. For example, the paragraph size of 660px becomes 660รท16 = 41.25rem. However, that doesn't handle all the corner cases.

Sizes inside diagrams, including font sizes and line widths, were already scaled to the diagram's size. And I made the diagram's size responsive to the browser size in phase two. So that means sizes inside diagrams should stay as px units.

Secondly, on some versions of Safari, @media queries work better with em sizes than with rem sizes. So I used em for those.

Third, I had picked sizes like 600px because it was a nice round number. Converting it to 34.375rem makes me wonder: does it really need to be 600px, or could it have been 35rem. This is similar to a problem with Metric vs English units. Why does Coca Cola have 12oz cans (355mL) but 2L bottles (67.6oz)? It's a "nice" number in one unit but not the other. I had previously used px so I picked sizes that were nice in that unit, but now that I'm using rem I may change the sizes slightly to be nice in that unit instead.

I first made this change on my main stylesheet that I share for all my pages, then went through hundreds of pages and made individual adjustments to them. Since my diagrams are generated in Javascript, I also had to adjust the code for some pages to work.

I tested this change by changing my browser's default font size and then browsing my pages. I think it works pretty well. If you see any layout issues, let me know!

Monday, September 07, 2020

Domain Authority 50 for your website - Guaranteed Service

We`ll get your website to have Domain Authority 50 or we`ll refund you every
cent

for only 150 usd, you`ll have DA50 for your website, guaranteed

Order it today:
http://www.str8-creative.co/product/moz-da-seo-plan/

thanks
Alex Peters