Pages

Monday, March 23, 2015

Skype formatting

This seems to be nowhere documented, but here's some markup Skype recognizes.  An example of what you'd type is in gray, and what Skype would render is in blue.

*bold*
bold

_italic_
italic

~strikethrough~
strikethrough

@@ *not bold* (note the space after the two at signs, and that this must be the first thing in a message)
*not bold*

!! preformatted (note the space after the two exclamation points, and that this must be the first thing in a message)
preformatted

Preformatting also overrides other markup, for example
!! *not bold*
*not bold*

Preformatting also respects whitespaces, for example
!! above
below
above
below

Of course Skype also supports /me, like most chat clients do these days
/me yawns
[user name] yawns
[user name], will be whatever your name is in Skype (not your username)

And since 6.22.81.105, you can also enable/disable the markup feature with
/wikimarkup on/off

Wednesday, March 18, 2015

Preventing Chrome hijacks from coming back

It's easy enough to remove extensions in Chrome, but to prevent the really obnoxious ones from coming back again, look at paths in entries under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Google\Chrome\Extensions\
Basically anything in C:\Users\USERNAME\AppData\Local\CRE or C:\Users\USERNAME\AppData\Local\Temp
can go.  My thanks to Mike for the helpful advice.

Monday, August 18, 2014

Java Installer Error 135

So I was having problems installing jdk-8u11.  I kept getting
Error 1335: The cabinet file ss180110.cab required
for this installation is corrupt and cannot be used.

For some reason, which I still don't understand, downloading the installer with Firefox instead of Chrome resulted in the error going away.  Thanks Dox Starz for suggesting this idea in a comment.

Thursday, January 2, 2014

My Republic Wireless Review

The Phone

Features

Active Display

I really like this feature.  It can be argued it's a gimmick (I'm not sure it saves that much battery life), but it is nice to quickly see why my pocket is vibrating with just a touch.

Shape

The screen size is a great balance between easy viewing and comfortable holding during calls.  Could have been a touch larger in my opinion, but not a huge complaint.  It's larger than it feels in your hand since they have such a small bezel.  The curve on the also adds to the comfortable fit in your hand.

Touchless Control

I don't use this a ton, but it is nice in the car.  The only thing I don't like is that I can't control everything by voice.  For example, I can talk to send a text, but have to tap confirm.  And non-Google apps don't work (other than being launched).

Quick Camera Access

Twist your wrist, and your camera pops up.  Even if the phone is asleep.  Very convenient.

 Other Notes

The speaker has a reasonable volume and sounds decent.  I never expected to be blown away by the built-in speaker, and I wasn't.

What's Missing?

No expandable storage, but we've come to expect that from Google (remember that Google bought Freescale from Motorola).  It's not the absolute fastest phone out there, or the largest screen, or the best camera (so I've been told -- looks fine to me), but I haven't really had any problems with it.  Could be a tad cheaper given it's benchmark performance, but still not bending you over either.  This phone, like most others has the speaker on the back of the phone which doesn't project the sound the best since you will never be facing the phone away from you.  But if you cup your hand behind the phone, you can bounce the sound back to the front.  Oh, and the phones are not unlocked (though I don't know of any carrier which offers that).

Battery Life

It's not the longest out there, but 24 hours on standby is conservative in my experience.  After 24 hours, I still usually have about 38% left.  The phone does get a little warm with continuous use (e.g. an hour of web browsing).

The Service

Sprint

My evaluation is based on the 3G service in Columbus mostly, and some in the Houston area.  Sprint is the poorest performing network out there.  Everyone knows that.  It's the slowest, and doesn't have the best coverage, but it is cheap, and they make their towers available to lots of little carriers like Republic. I've not had any issues with it for streaming, navigation, email, or texting.  There are some parts of Columbus (like the south side) that have dismal performance.  But even in the fairly good areas (like Dublin), it's not very speedy for things like Youtube and web browsing.  But its better than running from WiFi to WiFi, which is what me and my Nexus 7 were doing before the Moto X.  Surprisingly, I was able to do a video chat with the folks back in Texas for Thanksgiving in Swanton (although it did get dropped a couple times).  I recommend checking Sprint's results on http://www.rootmetrics.com/ before purchasing.

WiFi

I mostly love this.  It offers full signal strength in my apartment, which is great for those that live in buildings a bit far from a tower.  How many times have you heard the complaint of a cell phone working everywhere but home?  Only downside is if your Internet isn't quite up to speed.  My parents' Internet struggles to keep up with the load of my siblings' devices and the TVs streaming (they use Aero to stream even regular air TV).  So I opted to disable my WiFi most of the time to avoid terrible call quality.  It does transfer off WiFi in these instances, but it's 10 unintelligible seconds later.  Downside here is there is no way to opt out of WiFi calling without turning off WiFi altogether at least as far as I could tell.  At my apartment though, quality is flawless.  As is WiFi to cell handover (I don't even notice it happen).  One interesting things about the handover is that when on a cell call and moving into WiFi, it doesn't hand the call back to WiFi.  This might be on purpose since they might assume if you're on cell that you're on the move and might move back out of WiFi signal.

The Customer Service

I've heard some people get really rapid responses (like within minutes), but I've been a bit disappointed by my experience.  I had issues with MMS messages displaying (either a picture preview or a group text message) in the default messaging app, and I couldn't reply to a group MMS message in Hangouts.  The way their support works is online only (to save money).  They replied 3 days later with a clearly generic copy/pasted response asking for more information.  I provided that the same day, and haven't heard back from them yet (it's been 3 weeks).  I might contact them again, but I've heard other people say they've had MMS issues with their carrier as well, so maybe there's nothing to be done.

Conclusion

If you are an avid smartphone user already, you might be too spoiled for the Republic option and better served by something like Straight Talk.  But if you are looking for a cheap way into the smartphone game or are looking for a a phone to do calls that doubles as a WiFi Internet device, $10 or $25 a month cannot be beat.  If that sounds like you, use my referral link and save us both $20 each: http://rwshar.es/bbcQ7.  If you have any questions, leave a comment and I'll do my best to answer.

Edit 1: After shaming them on their Facebook Wall, I got a response to my issue. They're currently investigating. They also claim this only affects 0.22% of customers.  I don't know of that's true, but that's what their known issues page says.

Edit 2: I think they started working on this after the holidays.  My issue was updated 1/11 saying they made some changes and to try again.  Everything is working now. :)

Thursday, October 3, 2013

WebHDFS vs Native Performance

So after I heard about WebHDFS, I became curious about it's performance characteristics compared to the native client, particularly after reading this blog entry.  Oddly, I found my results to be dramatically different from Andre's findings.

Here's the results of my experiments
Size Native Avg % Faster
10 MB -20.0%
100 MB 34.3%
500 MB 48.3%
1 GB 79.4%
10 GB 90.1%

As you can see, the native client generally handily beats WebHDFS, and there seems to be a correlation between the performance gap and the file size.  I haven't had the time yet to look into the technical details of why this might be.  There are some differences between our tests to note:
  • The latency between my client and the server is much lower (about 0.29ms instead of 23ms)
  • My client is in the same data center rather than a remote data center, with 10GbE connecting it to the server
  • I used wget instead of a Python WebHDFS client

It's possible there's network or cluster configuration differences that could contribute as well (including differences in Hadoop versions).  My takeaway from this was that it's better to observe your actual performance before deciding which approach to take.

HDFS NameNode Username Hack

I created a userscript to override the username when (when programmatically detectible) to allow you to read HDFS directories and files that aren't world readable.  Nothing fancy here, you could edit the URL yourself, this just makes it easier.  The script is hosted here: http://userscripts.org/scripts/show/179132, and the source is available here: https://gist.github.com/keeganwitt/6810986.

Sunday, September 8, 2013

NSIS SelectSection

So, I haven't seen a working example of how Sections.nsh's SelectSection could be used (at least not one that worked for me anyway).  So here's an example based on what I did in the installer for Meld.  The goal was to include some default sections if the install was silent.
!include "Sections.nsh"
Section "Foo" foo
    ; install stuff here
SectionEnd
Section "un.foo" unfoo
     ; uninstall stuff here
SectionEnd
Function .onInit
     IfSilent isSilent notSilent
     isSilent:
     !insertMacro SelectSection foo
     !insertMacro SelectSection unfoo
     notSilent:
FunctionEnd