Dishonest Uber Booking Fee

I was just slapped with a fee that was not shown to me when I ordered the ride. After I found out I was charged with a “Booking Fee” the next day. If there are fee, then so be it… but to charge me them after the fact?!

Looks like I’ll only use Uber when I can’t find a Lyft!

The fingerprint scanners needs to trend back to the front of the phone.

In the world of smartphones there are a plethora of phones to choose from. But how often do the little things like a fingerprint reader placement make or break your purchase decision? I haven’t bought a new phone since the Samsung S6!

I’ve used both and realized a front-facing fingerprint scanner is way more convenient than a rear-facing one since I can see it and easily tap it with different fingers from different angles. In contrast, I had to hold the phone in a particular way to get the back one to work. To be frank I hate it when companies tinker with designs and end up messing up the whole ergonomics of the phone.

Android phone manufacturers tend to do more harm than good in this area. Just take a look at the Samsung S9 and Note 9, with their misplaced fingerprint sensor position. One might think despite complaints from consumers other companies will learn. Nope! Even though previous generations of Apple’s iPhones had fewer features compared to their Android counterpart, Apple at least kept the fingerprint sensor on the front with one of their phones, the iPhone 8.

When the fingerprint scanner is in front, it is easier to reach and use. Plain and simple.
If your phone is kept on the table or any other surface then you don’t need to pick it up. Just put your finger and voila! Whereas, a rear-facing scanner phone has to be lifted.

It makes your phone look beautiful too. If the fingerprint sensor is not there, the phone just looks too bland. Some phones have a big chin and waste the space by having the placement on the back of the phone.

If you are driving in a car and your phone is in a phone mount or holder, at that time the rear sensor will be of no use at all because the holder covers it up and also it may cause unwanted touches to the scanner which can scratch or damage it.

Some people might argue we shouldn’t be on our phones while driving anyways. Please Telsa that, with their full screen dash! We all use a Map or Navigation app of some sort. Especially ride sharing drivers.

In phones like the Samsung S8, S8 Plus, Sony Xperia XZ3 etc. the camera is often mistaken for the sensor. So touching it again and again soils the camera and may even cause damage.
The biggest issue I’ve found is when pressing the rear-facing scanner, I have to hold the phone in a particular way, either from the front or sides to provide enough resistance to scan my finger, and there’s less area to provide this resistance whereas a front-facing scanner has way more area of resistance from the back and sides with different angles.

In the end, it is a matter of personal preference but I am a strong advocate of having it in front.

JSON to Javascript Date & Time (HH:MM:SS AMPM) 12HR

Recently needed to convert JSON to Javascript Date & Time. Not only that I needed it in a specific format (HH:MM:SS AMPM) 12HR. The answer wasn’t so clear cut and simple, but I found what worked for me:

var dateAdded = new Date(parseInt(val.DateAdded.replace("/Date(", "").replace(")/", ""), 10));
//the below 3 were other options
//var dateAdded = new Date(+val.DateAdded.replace(/\/Date\((\d+)\)\//, '$1'));
//var dateAdded = new Date(parseInt((val.DateAdded.substr(6))));
//var dateAdded = eval(val.DateAdded.replace(/\/Date\((\d+)\)\//gi, "new Date($1)"));
$(".spnDate", table).html(formatDate(dateAdded));


function formatDate(dateAdded) {
var actDate = new Date(dateAdded);
var m = actDate.getMonth();
var d = actDate.getDate();
var y = actDate.getFullYear();
var h = actDate.getHours();
var mm = actDate.getMinutes();
var s = actDate.getSeconds();
var ampm = h >= 12 ? 'PM' : 'AM';
h = h % 12;
h = h ? h : 12; // the hour '0' should be '12'
mm = ('0' + mm).slice(-2); // the minute '0' should be '00'
s = ('0' + s).slice(-2); // the second '0' should be '00'
return (m + 1) + "/" + d + "/" + y + " " + h + ":" + mm + ":" + s + " " + ampm;
}

Hope this helps someone else!

DNN 7.4.2 Help Icon Error/Fix

I ran into a a weird bug from a fresh install of DNN 7.4.2. The help icon wouldn’t move. After a little digging, I tracked it down to the default portal’s default.css:

/*.dnnTooltip .dnnFormHelpContent span:after,
.dnnHelperTip .dnnFormHelpContent span:after {
position: absolute;
content: "";
left: 15px;
bottom: -7px;
width: 0;
height: 0;
opacity: 0.75;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid #000;
}*/

.dnnTooltip .dnnFormHelpContent .dnnHelpText {
word-wrap: break-word;
}

.bottomArrow:after
{
position: absolute;
content: "";
left: 15px;
bottom: -7px;
width: 0;
height: 0;
opacity: 0.75;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid #000;
}
.topArrow:before {
position: absolute;
content: "";
left: 15px;
top: -7px;
width: 0;
height: 0;
opacity: 0.75;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #000;
}

It seems the old tool tip css, was commented out and a new section put in. It wasn’t working for me so I just reverted things. I hope this didn’t break anything, and for now I hope it helps someone else:

.dnnTooltip .dnnFormHelpContent span:after, .dnnHelperTip .dnnFormHelpContent span:after {
position: absolute;
content: "";
left: 15px;
bottom: -7px;
width: 0;
height: 0;
opacity: 0.75;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid #000;
}

/*
.dnnTooltip .dnnFormHelpContent .dnnHelpText {
word-wrap: break-word;
}

.bottomArrow:after
{
position: absolute;
content: "";
left: 15px;
bottom: -7px;
width: 0;
height: 0;
opacity: 0.75;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-top: 7px solid #000;
}
.topArrow:before {
position: absolute;
content: "";
left: 15px;
top: -7px;
width: 0;
height: 0;
opacity: 0.75;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #000;
}
*/

DESC Container.ItemIndex

Recently had a need to reverse the count for an asp.net Repeater for one of my pages.

My google searches: DESC Container.ItemIndex, reverse repeater count, ItemIndex(), etc.

Much of the code I found either didn’t fit into my code or required behind code rework that I wasn’t willing to do until necessary.

My last search: start with last Container.ItemIndex, landed me here: http://bit.ly/2nfLQMw

Again I had to modify the code a little, but this worked for me…


< %# (-1 * (Container.ItemIndex - DirectCast(DirectCast(Container.Parent, Repeater).DataSource, IList).Count)) %>

I hope someone else can use it!

GoDaddy Prices Up!

It’s been a while since I have had to think about renewing my hosting. GoDaddy was the first place I checked for prices. That’s where the deals used to be. That doesn’t seem the case anymore! Having to move hosting companies can be a headache, so before you commit yourself like I did to their introductory low prices… shop around!

There is a plethora of hosts out there (none posted here, I am not a promoter), many with similar packages with cheaper prices.

*Additionally, you will not have to worry about the “when you renew price.” GoDaddy used to have renewal coupons, but it’s been years now since they stopped offering them.

Answering a call via the Phone vs the Headset

Dear Samsung (and other phone makers),

I recently bought myself a Samsung Galaxy S6. Let me tell you it’s a very nice phone. I am quite happy with it. But with bluetooth now up to revision #4, I would think one thing would be worked out. Here’s my problem. When using a bluetooth headset, there should be options to allow us to pick up from the phone.

For example, when I pick up a call via the phone and the bluetooth device still connected… the call goes to the headset. Seems right? Yes and no. If the headset was on my ear I would answer it using the buttons on the headset. Unfortunately, having the headset on the ear all the time can be annoying, uncomfortable, and uncool. So, with the headset in the pocket or in the draw, I will often answer the call with the phone. Bam, I am then struggling to find the headset, switch over to the phone, wondering how could I forget.

Please give us the option to allows pick up the call (calls received only) with the phone, until we hit a headset button.

Not everyone will agree with me, but some will. Giving us that option will help us moderate headset users greatly.

Yours Truly,
The Augmenter

Tablets with Physical Home Buttons

Dear  Amazon,

I see that you have released a new Fire Tablet. Again, it’s pretty much the same thing. I have been waiting for Amazon to come out with a Tablet that has a home button for the longest time. Quite frankly, I don’t mind the soft home button because I have always been an “Android” user. Unfortunately my children, parents and +50% of the world are more “simplistic”. They need that “panic go to home button” in plain sight.

Apple has this down, Samsung is catching on, and you with all your consumer-centricness can’t see this? Please just try it!

Yours truly,
The Augmenter