Navarr's Tech Side The Technical Side of my Life

12May/100

Closing Desktop Notifications on a Timer

So, one of the few things about Chrome’s desktop notifications I’ve been trying to figure out is how to close them on a timer, and it finally came to me.

This timer will only activate when the notification is opened, and will close the notification even if the page that originally spawned it has been closed.

Create and Show a new HTMLNotification.

<!DOCTYPE html>
<html>
	<head>
		<title>Notification Title</title>
		<style type="text/css">
			body,body* { font-family: sans-serif; font-size: 10pt; }
			h1 { font-family: sans-serif; margin: 0; padding: 0; font-size: 12pt; font-weight: bold; }
			p { margin: 0; padding: 0; }
		</style>
	</head>
	<body onload="setTimeout(self.close,5000)">
		<h1>Notification Title</h1>
		<p>Notification Text</p>
	</body>
</html>

That will close the window after five seconds and will look just like a normal notification! :D

What I learned is: Notification Windows respond to the javascript method self.close()

Filed under: General No Comments
3May/100

Open Letter to Dave Winer

I know you invented RSS and all that, but please, please stop raping your feed.

I do not like getting this every couple of weeks, or days.. I don’t know, I have no concept of time, but this isn’t the first time its happened.

image

Please?

Filed under: General No Comments
15Apr/100

Why SuperTweets won’t kill URL Shorteners

Now, the title of this blog post makes it sound like I’m going to write an essay about why SuperTweets (and the probability of them having a URL metadata for tweets) will not be killing URL Shorteners like j.mp and bit.ly anytime soon.

1) URL Shorteners Keep You Safe

One of the things URL shorteners do now is they keep you safe from malicious websites.  You can preview the site you are visiting, and if its determined to be delicious the short URL will either be deleted or blocked or a warning will be shown, letting you know it is no longer safe to visit that URL.

2) URL Shorteners are Branded

All I really have to say here is “Bit.ly Pro”  URL Shorteners now have custom branding, so it makes it even easier to send people to your website or promote your brand on twitter by including the link in the text.

3) URL Shorteners are Easy to Remember

When they are used correctly.  Services like bit.ly allow you to give a custom name to your short link.  This is especially useful in media such as Television or Print: http://j.mp/cnn-transgender is much easier to remember and type than www.cnn.com/2010/LIVING/04/14/transgender.irpt/index.html?hpt=C1

With even just these three simple reasons in mind, it is very clear to me that URL shorteners will not be dying anytime soon, no matter how much metadata you can attach to tweets.  I’m not even sure they’re bad for the internet, anymore.

1Apr/100

The Very Best Thing about Unixkcd

guest@xkcd:/$ make me a sandwich

What? Make it yourself.

guest@xkcd:/$ sudo make me a sandwich

Okay.

Filed under: General No Comments
1Mar/100

Geosense – I’m in Love

Geosense for Windows

I love applications that fill in where hardware fails, but this one is really taking the cake!  Geosense for Windows gives you the capabilities of a GPS sensor in your computer (but without the actual hardware!)  It uses Google Location Services to triangulate your location and provide your coordinates to applications that request them.

Sensor Properties Dialog

Unfortunately, not many applications use this type of data (yet) but Long Zheng and Rafael Rivera are hoping that with this new default driver for PCs without GPS, that many more developers will embrace the creation of geo-location in desktop applications.

Continue Reading for Code Snippets

Filed under: General Continue reading
17Jan/102

The Mysterious 50500

Last Night I was working on a job site, and I had checked into it using Foursquare (twice, the first time a typo).  I was wondering if there was a way to undo a check-in, or something similar.  So, of course, I texted “help” to 50500 (the US Shortcode for Foursquare) and I got back the following message:

2 Vicinite alerts/wk, tones/video clips: $0.49-$9.99/mth+ msg&data rates may aply.  Visit vicinite.com/index2.html or 8666443345. STOP 2quit.

Wait, what?  That has nothing to do with Foursquare at all.  What is going on here?  So, I decided to google the shortcode for more information, and found out its ALSO used for Contxts, another service I used.  Just to make sure, I texted “David” to 50500 and what do I know?  His business card was texted right back to me, with the sender labeled as “Foursquare” due to me having set the number as Foursquare’s in my address book.

This is kind of fishy, in my opinion.  How, and Why do these three services share the same shortcode number?  They seem to have nothing to do with each other, either.

So then… how do they pull it off?

17Jan/100

Another Blog?

Well, congratulations me.  I think?  I guess?  Saa.  Either way, I’m now going to be a contributor for MacDavid Pro (which will be renamed, just nobody knows to what yet.)

Which is all well and good, except I don’t write much of anything ever, and the few times I do I have trouble including media and pictures and formatting it the way I want to.  Bleh.

Well, lets hope I do better as a contributor to that blog than I have been doing for this one, eh?

1Dec/090

Word 2010 Blogging

Toying around with the interface for publishing blog posts in Microsoft Word 2010 Beta.

It truly is fascinating, but I don't think it'll manage to replace Windows Live Writer, which definitely has a much better, and more blog-specific user interface.

Filed under: General No Comments
1Nov/090

The Licensing Revenue Model

Full Disclosure: I do not personally know if any companies do what I’ve written about in this post.  These are merely some thoughts I had on how to make money by creating a License for others to use.

It has been often discussed and is basically a known fact that the future of the world is Open Source.  As technology increases, more and more people want to contribute, and everyone wants to see their idea expand before them without having to do any of the hard work themselves.  This is where Open Source comes in.  Open Source is having the code available to all, so that others can patch it, can contribute, and can make your idea come to life whether or not you still want to work on it.  But that isn’t the topic of today’s post.

With a boost of popularity in the Open Source direction, there is a new seldom-thought of business that has opened up the doors of possibility – Licensing.  Open Source users want their ideas expanded, but not stolen, and this is where Licensing comes in.

You see all over the internet different licenses, GNU, MIT, Apache, Creative Commons – and personally, I don’t know a thing about any of them.  But if the companies that control them wanted to make money off of their licenses, it would be simple – without even charging the creators of content a penny.

The revenue stream lies in protecting the license.  Lets say you’re creative commons, and a absolutely MAGICAL deviantArt artist uses your license for their work, lets say BY-NC-ND, meaning that use of the picture has to be attributed to the artist, and it can’t be used commercially nor can derivative works be made from it without the Artist’s expressed consent.  One day, the artist sits down to watch a movie, and sees her wonderful work in the background – Her License has been violated.

If you, Creative Commons don’t do anything to help her, then people don’t believe in your license.  Less people use it, and suddenly it isn’t so popular.  But if you take on the case, pursue legal action, and sue over it for her, giving her a decent percentage of the profit and keeping the rest, then the artist got her retribution, and you as an organization just made money.  Since you were so eager to defend the artist’s rights, more and more people use your license to protect their work.

Is this unethical?  No, of course not.  The law is on your side.  The author said that their work could only be used in this way, and it was violated.  You’re protecting the rights of the people, and making money while you’re at it.

5Sep/090

Moved to WordPress

Well, all that looks official.  It seems we’ve now officially moved onto a Self-Hosted WordPress Blog from our previous place at Blogger.  Don’t get me wrong, I love Blogger and all, but I wanted a lot more control, and a lot more experience with WordPress.

So, the new blog should be here to stay.  I’ve made it so that old links should continue to work.  If you have any problems with them, please go ahead and post what they are here, and I’ll work my hardest to fix them.

As for how awful the older posts look, I won’t be doing anything to rectify them.  I’m sorry but its much too much work and I’m much too lazy to go through and fix things such as bad images and the whole Digg button thing to make all the posts look the same.  They’ll be buried in the archive soon enough.