MacBook, defective by design banner

title:
Put the knife down and take a green herb, dude.


descrip:

One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com

Using 89% of the same design the blog had in 2001.

FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.

As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green.

x

MarkUpDown is the best Markdown editor for professionals on Windows 10.

It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support.

Features you won't find anywhere else include...

You've wasted more than $15 of your time looking for a great Markdown editor.

Stop looking. MarkUpDown is the app you're looking for.

Learn more or head over to the 'Store now!

Friday, December 23, 2016

From a Windows Developer email:

Russia will become a Microsoft remittance country where Microsoft (or its billing service provider) will collect and remit the VAT on behalf of developers. Effective January 1, 2017, Microsoft will determine the VAT due, withhold such VAT from your App Proceeds, and remit directly to the Russia tax authorities. The current VAT rate in Russia is 18%.

You know, when you give an app store (iOS, macOS, Windows) 30% of your take, you actually tend to get a lot.

  • Free licensing
  • Free update mechanisms
  • Free downloads
  • A pretty reliable landing page
  • Free payment processing
  • Limited marketing

That's not bad.

The question's not even, "Is that worth 30% of my revenue?" for many (most?) developers. The question is, "Is 30% too much to give up to release my app before I could have all of this other stuff ready?"

If you could release at Day 0 instead of Day 250, and 70% of the lost sales from 0-250 would make up more than 30% of all sales, then you're an idiot not to release with in an app store as quickly as you can.

What the store buys you is a reduction in time to market. Use that.

What it also buys you is more markets. There's no way I could keep track of VATs and taxes for every country, especially when these countries don't make up much of my user base. Microsoft is big enough that it's worth it to them, as part of the 30% they take from us, to make changes like this VAT charge.

Course it stinks. I'm now getting 70% * 82% = 57.4% of my list price in Russia. Ouch. I could make the price higher to cover the VAT, but for the sales I have there, I probably won't bother.

As Joel says, it's all about barriers to entry. Such a protective tariff should make foreign software more expensive in Russia. I wonder to what extent it does.

Labels: , , , , ,


posted by ruffin at 12/23/2016 02:14:00 PM
Wednesday, November 16, 2016

I went to build an app package for my newest app -- Podcasters' RSS Feed Generator, which does, not surprisingly, exactly what it says it does -- I got the following error in Visual Studio.

App manifest references the image 'Assets\StoreLogo.png' which does not have a candidate in main app package.

Turns out this is a pretty cryptic error. We get a partial answer from hololens.com:

Best Answer

... but it's not quite that easy. You can't simply rename the file; the images also have to be exactly the right size. Painfully, all the .scale-xxx extensions to the names that I had weren't from Unity; they were from Visual Studio. Et tu, VS? That stinks. Microsoft is helping me create a situation they don't support.

Anyhow, the three I had complaints about with their "correct" sizes are:

  • StoreLogo.png: 50x50 pixels
  • BadgeLogo.png: 48x48 pixels
  • Square71x71Logo.png: 142x142 pixels (of course, right?)

Blasting all the old ones with StoreLogo, etc, in the name and then dropping the new, "correctly-sized" replacements into the Assets folder, then including them in the project from VS, does the trick.

Or so I thought. Now I get...

Severity

Description Project

Line

Error

App manifest references the badge
logo image 'Assets\BadgeLogo.png'
which does not have valid dimensions. It must be 24x24 pixels.

19

Error

App manifest references the square
71x71 logo image
'Assets\Square71x71Logo.png' which
does not have valid dimensions. It
must be 71x71 pixels.

20

Which is it, dang it?

Visual Studio complaining about BadgeLogo sizing, though we have the size the error window asked for earlier

Answer: Apparently we wanted the sizes the error window wanted. Ignore errors like the ones pictured, above.

Labels: , , ,


posted by ruffin at 11/16/2016 01:56:00 PM
Monday, October 24, 2016

I'm close to releasing my second application to the Windows App Store, and have gotten just good enough at dealing with icons -- not a rocket scientist-level task by any stretch -- and thought I'd share.

Buy an icon

First, you need a square png (or other common format) of your icon that's at least 620x620 pixels. You can get a nice rounded image, but for the Windows Store, at least, a full square is better.

In my experience, it's not too difficult to trade a couple weeks of waiting (in case you get a bad contractor) and $5-$15 to get a servicable icon from fiverr.com. I've used folks from Pakistan each time, strangely enough, and gotten very good results three times, most recently with foxsquare. You do need to be respectful to some degree, as their contract says, "We Do NOT Take Order related to Pork, Nudity, Alcohol & Gambling." So far, so good for me.

Here's my latest, a design for a podcast feed creator. I wish the angles on the orange circles were perfectly symmetrical, and that the little "i" icon didn't reach the bottom of the image, but all things considered, this is a heck of a lot better than I could've done in several hours' work. It's a steal at $15 with .psd.

podcast feed icon

package.appmanifest

To insert the icon into your UWP app, open up your package.appmanifest file from Solution Explorer, and hit the Visual Assets tab.

appmanifest

Now you have a pretty simple interface to upload icon imagery. I recommend clicking on each of the lines from "Square 71x71 Logo" on down.

Resizing your original

For each one, you'll want to upload resized versions of your original icon. "But how do I get those resized images quickly?" you ask? That's easy if you download IrfanView, the handiest image viewer I've ever used.

Can't recall how many years I've used IrfanView now, and I was impressed to learn that it has extensive command line support.

First name the original square.png. Then run a bat file that resizes everything.

Here's the bat file I'm running, though you may have to change to the path where you have IrfanView installed:

"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(284,284) /aspectratio /resample /convert=.\284.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(600,600) /aspectratio /resample /convert=.\600.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(300,300) /aspectratio /resample /convert=.\300.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(620,620) /aspectratio /resample /convert=.\620.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(176,176) /aspectratio /resample /convert=.\176.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(200,200) /aspectratio /resample /convert=.\200.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(96,96) /aspectratio /resample /convert=.\96.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(88,88) /aspectratio /resample /convert=.\88.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(50,50) /aspectratio /resample /convert=.\50.png
"C:\Program Files (x86)\IrfanView\i_view32.exe" .\square.png /resize=(24,24) /aspectratio /resample /convert=.\24.png

pause

Boom. Done.

resized icons

Now go into the appmanifest UI and click on every largest size available for each asset line, then add your image.

NOTE: Some of these already have placeholder X images in your project. OVERWRITE THEM. You can overwrite in addition to the ones you're uploading to ensure you have decently high quality images.

how to upload icons and which to override

Rectangle splash and wide logos

This will leave you with just two assets unfilled, both rectangular. One is the "Wide 310x150" and the other the "Splash Screen" logo.

I kinda cop out here. I could probably get fiverr to make me some, but instead I open Ms. Paint.

The size we need is 1240x600. I tell Paint to create a new image, then I hit "resize" (Ctrl-W, strangely enough), and get it to 1240x600.

resizing in Paint

Make sure "Maintain aspect ratio" isn't checked.

Then I use the paint bucket to fill that all black. Finally, I paste in the 600x600 image IrfanView created and slowly move the middle pixel over until it's at 620 pixels into the image in Paint. Very high tech.

high tech centering success pants

Save it and put into both of the assets you had left.

Voila! The end. Cheap and quick.

Labels: , , , , , ,


posted by ruffin at 10/24/2016 12:12:00 PM

<< Older | Newer >>


Support freedom
All posts can be accessed here:


Just the last year o' posts:

URLs I want to remember:
* Atari 2600 programming on your Mac
* joel on software (tip pt)
* Professional links: resume, github, paltry StackOverflow * Regular Expression Introduction (copy)
* The hex editor whose name I forget
* JSONLint to pretty-ify JSON
* Using CommonDialog in VB 6 * Free zip utils
* git repo mapped drive setup * Regex Tester
* Read the bits about the zone * Find column in sql server db by name
* Giant ASCII Textifier in Stick Figures (in Ivrit) * Quick intro to Javascript
* Don't [over-]sweat "micro-optimization" * Parsing str's in VB6
* .ToString("yyyy-MM-dd HH:mm:ss.fff", CultureInfo.InvariantCulture); (src) * Break on a Lenovo T430: Fn+Alt+B
email if ya gotta, RSS if ya wanna RSS, (?_?), ยข, & ? if you're keypadless


Powered by Blogger etree.org Curmudgeon Gamer badge
The postings on this site are [usually] my own and do not necessarily reflect the views of any employer, past or present, or other entity.