PokeFind.com – Pokémon Go finder map app

A lot of these “pokemon finder” apps have popped up since the pokemon go app became such a big deal. Check out the http://pokefind.com app for a good example of a pokemon finder (aka pokefind).

A blog is going live soon on the site so you can keep up with both news about pokefind as well as the pokemon go game in general.

Updating here as more is available as well.

Pistol Gun Emoji in Apple iOS and Windows

Big news today was Apple replacing the “pistol” emoji with a water gun design, apparently in an effort to make fonts less violent? The old and new emoji’s look like this:

Pistol on Apple iOS 9.3
Apple iOS original Pistol
Apple iOS Squirt Gun

But, what I didn’t see in the news is that the major “Windows 10 Anniversary Update” released today, does the exact opposite- Windows 10 (and maybe 8? 7?) has had a space-man style pew-pew gun instead of the typical revolver.. but the update today actually changed this back to a traditional revolver desgin.

Pistol on Microsoft Windows 10
Windows 10 original “space man” pistol
Pistol on Microsoft Windows 10 Anniversary Update
Windows 10 Anniversary Update pistol

I suspect this was accidental on Microsoft’s part, as they did a big overhaul of the emoji system in general and probably overlooked this. The timing of the two company’s swapping these designs is pretty funny/spooky though.

Amazon CPM versus Adsense Ads

Been testing Amazon CPM ads on a couple sites lately to see how they perform. So far, my main test was to place it in a lower quality position on a site that has a techie audience, so the visitors typically have very low click rates on adsense ads. The cpm rate for the one ad has settles in at over $1, which actually compares favorably with adsense and may even beat it for this one spot. The next step is to try replacing the remaining adsense ads on this site and see if my overall earnings increase or not. But I’m being hampered by Amazon shortcoming #1:

-Con: Amazon CPM ads do not offer a responsive ad unit option

The current site has responsive ads, so the page can resize and they will resize with it. Amazon only offers the standard sizes like 728×90, 160×600, 350×200 etc. These are great, but I can’t just swap out the responsive ads with them, so I’d have to add some coding to determine if the user is mobile and skip the amazon ads in these instances. This is too much effort at the point so I haven’t gotten around to doing it. (Maybe this could be a future service offering?)

A few other observed Pro’s and Cons:

-Pro (or Con?) – Amazon is CPM based only, and requires you place backup ad code and set a CPM floor for the ads.

This is considered a more advanced option for many users, so it makes implementation a bit more of a headache. You can set up an adsense ad to fill in for the cpm one if it doesnt have anything to show, but this will be driven by the floor cpm you set- go too high, and nothing will show- too low, and you’ll likely loose out on revenue. So, it becomes something you have to watch and fiddle with a bit to optimize, instead of the set-it-and-forget-it way that adsense typically works.

-Con- Amazon Javascript is not async?

I haven’t fully checked this out, but the code script provided by amazon cpm ads appears to not be asyncronous. This could potentially cause your site to load slower than before. Async is almost a basic requirement for sites nowdays, so it’s strange that Amazon would do things this way.

-Con- Reporting – Amazon  reporting for the cpm ads is pretty basic

Overall, it feels like this ad offering was rushed out and perhaps amazon will continue to improve upon it over time. Even the other affiliate ad offerings from amazon are pretty polished nowdays, so the cpm one is lagging even against other amazon offerings.

But in the end, the main thing we care about is- will Amazon make more revenue for you than Adsense? My initial testing looks like it’s a good way to make some extra revenue off your website without diminishing your adsense revenue dramatically- so, the answer is “Yes, sorta”. It may even outperform Adsense on sites that get a lot of traffic but the visitors tend to not click ads, since Amazon is CPM based and not as concerned about actual clicks. But overall, (sigh), at least for now, Adsense still seems to be king.


What is this weird URL that seems to show up in the strangest places?

anrdoezrs.net is a redirect url used by Commission Junction (cj.com) to sort of anonymize links to individual offers on their platform. So when you post a link to an affiliate offer from CJ (for instance, http://www.anrdoezrs.net/links/3904395/type/dlg/http://www.gearbest.com/tablet-pcs/pp_365835.html ), they use this link to make it less obvious that the link is an affiliate link. Or at least that’s what I assume.

Malware removal toolkit – step by step

I recently suspected my laptop may have some malware (though now I think it’s just some new evil ad stuffing technique used on the web, but digress do I), so I consulted my guru buddy “tk” which malware removal tool he currently recommends. And he dumped the following list on me 😉

me: What’s the best malware scanner n0wdays?
tk: There isn’t one really. You have to weed the sh*t out. One sec and I’ll get you a list.

1.  Start with http://www.bleepingcomputer.com/download/rkill/
2. Then after step 1, go to windows\temp and %temp% and empty those.
3. Then run http://www.bleepingcomputer.com/download/malwarebytes-anti-malware/  (Don’t install the “free” realtime scanner. it’s a check box. )
4. Then run http://www.bleepingcomputer.com/download/adwcleaner/ (it may find some scheduler stuff or something malwarebytes missed.)
5. Once all that is done, run this to manually see what is starting on the PC: http://www.bleepingcomputer.com/download/hijackthis/
6. Then run this to see if you can spot anything out of the norm (this and the prior step take some understanding of how windows works) http://www.bleepingcomputer.com/download/process-explorer/
7. Then run this hosts file editor to check if any domain redirs are hiding in the hosts file: http://www.amazify.com/windows-hosts-file-editor

tk: If it was just something dumb downloaded with a silent installer, the first two things will clean it up. The last stuff is for the really sh*tty malware.

Migrating from Orchard to WordPress

I still like the Orchard CMS project, but I’ve found it taking too much maintenance time and having weird issues over the years, so I finally caved and moved this site (and a number more to follow) to (or back to) wordpress.

Even this process was made way more difficult than it should have, the basic process went something like this:

-Over time, my site had become so slow it was hurting indexing and other issues- so I had to look into why. Finally figured out spammers had been comment spamming the site so hard, it had over 45k comments in the database and it was hurting performance. The site had an akismet plugin, which was detecting much of the spam, but it was still staying in the database.

-Run an old version of a BlogML export module so I could move the content to wordpress, but the content it exported messed up categories and tags. Tried upgrading to the latest blogml export module, but it doesnt work with my old 1.2 version of orchard, so it promptly crashed and had to be backed out.

-Orchard site was pretty old version (because it doesn’t do auto updating like wordpress does, so I never have time to go manually update the versions), so I first attempted to update from version 1.2 up to 1.10. After a lot of finagling, I actually got the site to load… at first, it just bombed and wouldn’t let me log in. Digging through log files, finding out what was crashing etc., hours later it finally let me in.

-The blog was not shown in the admin, nor on the live site. Where did all the content go?? Found a way to pull the blog content out, but it’s a mess.

-Tried several more ways to export content from the blog, but either the original slug url’s were missing, or the export content was mangled in some other way. Finally decided to just use the original blogml export, sans tags, and just recreate them by hand. UGH.

Oddly enough, the only blogml import module I found for WordPress also was outdated and no longer worked in current wordpress (actually, php) versions. I had to edit the php to fix this module… I *hate* php code! But at least I got it work. Finally get the import completed, and have been messing around with tags. I wanted to map the old orchard /Tags/tagname to the wordpress /tag/tagname, so I added a url rewrite rule to do this.

Now my site is back in commission, running fast, and will auto update when new versions of wordpress comes out. Oh, I’m still running on a windows server though, so I’m not completely mainstream just yet 😉

Where does that leave my relationship with Orchard? I wish the project much success, and I will be still using it for select projects, but for basic blog-type content, I’ll just use WP for a quick setup and execution going forward.

Starbucks CEO Pay

The CEO of starbucks made about 21.5 million in 2014 (combined salary, options, stocks etc.)

Starbucks made 16.4 Billion in 2014

Starbucks employs nearly 200,000 full time employees and over 20,000 stores. 

I often see Starbucks accused of overpaying their CEO (even though he is getting paid only .1% of the company’s revenue) and that they should pay their employees more instead of him. 

So: What would happen if we gave 100% of the the CEO’s pay to all teh employees instead? How much per hour of a pay raise could we give them? 

          200,000   employees
          x 2,000   hours (40 hours per week for a year is 2000 hours)  
=  400,000,000   paid hours in a year (that’s 400 million)

Let’s split up the CEO pay and give it to all those hours.

      21,500,000     ceo pay
/   400,000,000
=        0.05375, OR 5 cents per employee hour.

This means that giving 100% of the CEO pay to all the starbucks employees would result in a whopping 5 CENTS per hour pay raise.

Put another way: The CEO of starbucks gets paid a full 5 cents per hour for every employee his company employs.


OneDrive reducing from 15gb to 5gb for free accounts

This is amazing- Microsoft sent a notice today that the free tier for their onedrive offering (basically cloud storage) will be dropping from 15gb down to 5gb. This is in a world where storage continues to get cheaper and storage offerings are continuing to grow their free tiers larger and drop their prices on non-free. Even though Microsoft claims this was a very “hard decision” for them to make, the only logical explanation for this decision would have to be something like:

-implement onedrive way back in windows 7ish (or was it 8?) and make it confusingly integrated with your local document folders
-get a gazillion people to accidently start using the service
-get a second gazillion to start using it after the forced win10 upgrade. 
-ms noticed 60jillion users with 5.623 gb in use and laments how much storage that adds up
-ms genius says “man, if we dropped the free limit to 5gb, we’d be RIIIICH(er)!”
-publish some contrived reason why the limit must be dropped, attempting deperately to not sound like a big stupid lie.

You can read the announcement here if you care to: https://support.office.com/en-us/article/Microsoft-OneDrive-storage-changes-bf91132d-d0cb-4cbb-96ba-86278c5c1c2f?WT.mc_id=PART_OneDrive-Unknown_OneRM_StorageChanges_FAQ&ui=en-US&rs=en-US&ad=US

basically, tons of users will be scrambling to figure out what to do with their files if they are over the 5gb limit, and a large number will feel it necessary to shell out cash for a big ol upgrade.

(Note: my “RICH” joke above is not some bernie-esque hatred of the rich, in fact I’m quite fond of them. I just hate seeing big companies make stupid decisions… over… and over…. and over…)

Prosper 202 on Windows IIS

I’ve been running more PHP and Mysql apps on windows IIS servers lately… I hope this is not the result of some disorder ;p

Wanted to try out Prosper202 Click tracking software. Downloaded the latest, version 1.9.29 as of writing.

First issue encountered – the app highly recommends installing memcache for performance. I did some checking and memcache on windows looks like it hasn’t been done in a while… the couple binaries I found that might work are pretty outdated or were just broken links. Decided to skip this for now and revisit later (maybe).

Second issue was a bit trickier- the app loaded and installed the database, but one I logged in, some things were obviosuly not working correctly. I noticed that many of the ajax widgets on the page just kept showing spinners, never loading. I looked at the source on the page and all the realtive links in the page were prepended with “\” instead of “/” – an obvious goof related to how the windows os uses backslashes instead of forward slashes like linux os’es use.

I traced this down to a function, in the \202config\functions.php file- Update your get_absolute_url() function with this code:

function get_absolute_url() {

$tmp = substr(substr(dirname( __FILE__ ), 0,-10),strlen(realpath($_SERVER[‘DOCUMENT_ROOT’])));

$tmp = str_replace(‘\\’, ‘/’, $tmp);

return $tmp;


The first line is pretty much what the original used, but then we add a replace for any backslashes to make them into a fwd slash. I haven’t checked further if maybe we could slice off the first char every time and replace it instead, but this broad replace function seems to work so far.

The software seems to work now, but will proceed next to actually try it – and see if any other problems or performance issues arise.

Converting DirectX to Vulcan API

Vulcan API spec is out there now and is looking to directly compete with the DirectX api for gaming (and others), for Linux and other platforms. 

I’m sure there will be a lot of discussion about porting from DirectX and/or OpenGLcode to the Vulcan API, so I’ll be adding more content here as I discover more about it. 

update: apparently some are calling it vulcun api instead of vulcan. Learn to spell!

AMP Accelerated Mobile Pages for MVC ASP.Net

Google has a new mobile standard for html that strays from the recent common knowledge involving responsive web pages which show the same html for both mobile and desktop traffic, but which reformats itself to the width of the browser Instead, Accelerated Mobile Pages ( or AMP ) actualy adds a lot of resrictions and some new tags and other goodies with the intention of making the mobile experience much faster. This has been the common compliant I’ve had with the mobile web- even with a powerful smartphone on a fast connection, the web experience is often very slow and just bad. I’m not even sure why some pages are so terrible when they even seem to be built to support mobile, but they just are. This must be the resaoning behind the new AMP standard. 

AMP has recently been in the news because google has indicated that sites supporting AMP will soon receive a bit of an SEO boost. So now, many webmasters who depend on search engine traffic are scrambling to deploy AMP-enabled versions of their sites to take advantage of this slight…advantage. 

Since most of my web projects run on ASP.Net MVC, I’m looking to implement AMP using some boilerplate template code. I’ve checked Nuget and haven’t found anything in there yet. Maybe we’ll have to develop this and add it to the nuget repository. 

Have any of you built or found something to help accelerate developing and/or deploying AMP using .Net MVC? Comment below to discuss further. 

Skype chat messages appear in wrong order – how to fix

I use skype for chatting almost all day, and today it started doing a strange behavior – my types messages would jump “up” the chat thread, to appear earlier than other messages I had already received from my chat partner. I figured it would clear itself up, but a day later things were still wrong. I assumed either my system clock or my partner’s was off, so we started comparing notes and I dicovered the clock on my laptop had skewed off just a few seconds- 5 or 6 – from what the time services show as the “correct” time, and so this was causing skype to get confused about when it was receiving new messages – my chat partner messages seemed to be almost in the future a bit, and so my messages sent to him would jump up the page behind his, in their “chronological” order based on the timestamps of each message. 

I’m actually not having this issue any longer, so I’m not sure if it was being caused by issues with connecting with a time server, or it might have been the intensive ftp transfers I had running for almost a week, pulling 10 threads of files constantly- I think this may have been taxing the cpu in a way that caused the time to shift over the course of a day. In any case, it seems to have stopped now. 

Back on topic- If you find this happening on your system, how can you fix it? 

We can force the clock to sync with a time server again to get the clock back on track. Follow these steps: 

– Open Control Panel, and open Date and Time icon
– Click the Internet Time tab (if you are on a domain, this apprently is not available)
– Click the Change Settings button on the page
– If UAC pops up, click Yes
– Check the “Synchornize with Internet time server” check box, pick a time server from the dropdown (or use the default), and click Update Now

Sometimes this will throw an error if the server cannot be reached. You can try hitting Update Now again, or try selecting a different server and do it again.

Now you’re done! Go back to skype and test out your chats, they should show up in the correct order now. 

There is a commandline option as well, but I haven’t had luck making this one work- maybe you will: 

-open an admin-level command prompt
– run: w32tm /resync   OR IF on a domain run: net time /domain

I’ve seen this throw a “time service is not running” error, in which case I tried starting the windows time service and ran it again, but still no luck. Apparently you can keep trying it until it works, but I just used the UI version above instead. 

PS3 Controller with Samsung Gear VR on Galaxy S6

This is a work in progress. 

Now that I have my Samsung Gear VR up and cranking, I’m looking for some games to mess with, and I’ve noticed that some games need a game controller. Samsung apparently sells a bluetooth controller for use with the galaxy s6, but I’ve seen mentioned that many bluetooth controllers will work with it. So, my PS3 SixAxis controller sitting next to my neglected PS3 – seems like it would be a likely candidate? 

Some searches later, I’ve found a few guys who bound their ps3 controller to their android phone and used it inside games. Every instance I’ve seen so far shows the use of an OTG cable to physically connect the controller to the phone for the initial pairing setup… and as luck would have my, my hacker brother has an OTG cable laying around. This cable basically converts the normally “slave” mode port on the phone into a master USB – the phone physically supposrts this mode internally, but you have to use this adapter cable to get it to behave this way. 

I’m still in progress on this and will update more once I’ve been able to try pairing the ps3 controller my to galaxy s6 and see if we can make it all work inside the Gear VR. 

3D 360 degree Spherical Video for VR

I recently acquired a Samsung Gear VR headset to use with my Galaxy S6 phone. As soon as I tried it on, I was able to experience what I’d been looking forward to trying – seeing a virtual world around me which convincingly stays in place when I move my head around. I’ve known that the full version of the Oculus Rift was able to do this, but wasn’t sure how good the Samsung verison would be- well, it’s good. 

I checked out some 360 degree photos and videos, but I realized that even though I can look in all directions, the images and videos were not in 3d. And if you think about it, the normal way to snap a 3d photo or to record a 3d film is to use a pair of cameras set eye width apart. This works fine, until you try to make it work in a Vr world where the viewer could move and look in any direction – how do you have two cameras pointing in “every” direction at the same time, set eye width apart? Seems like an impossible task. Note that this is not a problem in games, because they can re-render the image immediately from any perspective, and create the two stereoscopic images for your eyes on the fly. 

I was wondering if having an array of cameras might gather enough info that software might be able to build a full 360 degree view that is also in 3d- and it appears this is exactly what a few companies are doing (or attempting to do). Even google is in on the action. Here are a few solutions I found: 

360Heros – http://www.360heros.com/2014/01/worlds-first-fully-spherical-3d-360-video-and-photo-gear/  – Uses a big pile of 12 gopro cameras to capture a stereoscopic view of all 6 directions from a viewer’s perspective. 

Panocam 3d – http://www.panocam3d.com/camera.html  – wear it on your body or use a tripod, captures full 3d stereoscopic video using 24 cameras!

Google Jump – https://www.google.com/get/cardboard/jump/  –  an array of 16 gopro’s in a circle, so it appears to be meant for looking around in a cylinder, not so concerned about 3d above and below you (I assume?)Ody

GoPro Odyssey –  http://gopro.com/odyssey – derived from the google project, uses the smaller gopro 4 cameras. Apparently can control all the cameras at once, and can sync the frames to be exact with each other. 

It will be interesting to see what happens next with this technology, perhaps to bring the cost down and make it available to the consumer. I can envisions spherical camera lenses, reflectors, and low cost cameras being combined in such a way to provide this fucntionality cheaply, and perhaps it will be the next big feature to be included with smartphones.

Of course the shortcoming of 3d video like this is, the vr user can look around, but can’t actually move within the environment. Maybe the next iteration will be to set up a grid of 24 of these 24 camera clusters…. Just kidding!

Could not load file or assembly Newtonsoft.Json

I’ve run into this problem a few times, usually when source control is involved. 

-Delete the package from you /packages folder

-open nuget package manager, it will notify that things are out of sync- click the resolve button. 

-if you have version conflicts, edit your dependentAssembly bindingRedirect so that the older version(s) are redirected to the newer. 

-You may also try uninstalling using nuget and reinstalling, but this usually doesn’t fix everything.