Machineware, Web Application Development
Web Application Development, Technical solutions, Consulting

Google Gears Geolocation API

The Google Gears (actually now just called Gears) API has a call (getCurrentPosition) that returns a users latitude and longitude. The users location is determined by a number of factors. If present on-board GPS is used(if the user is using a Android based phone for instance). If GPS is not availiable a users IP Address is used (they determine where you are generally by your ip address and network provider....it's not always accurate).

The API is very approachable and anyone who has used the Google Maps API will find it easy to use. I was able to quickly add the users current geo-location to a geography based RSS view. I also added the ability for users to automatically geo-stamp blog entries. It took less than an hour.

 If Gears is present the end user still must give the site or application permission to access the users location (for privacy reasons obviously).

Nov 11, 2008, 11:20 am | Post a comment | No comments


Internet Explorer 8 improvements for developers

I just had this come across my feed reader and I have to say....Microsoft is serious about improving Internet Explorer. As they should be after basically letting it rot for 6 years.

They are adding some great tools for developers:

Scripting Engine

Many enhancements have been done to the scripting engine. One feature that will bring a lot of value to the AJAX developers is the introduction of native JavaScript Object Notation (JSON). With JSON becoming the de-facto data interchange language for contemporary web applications; we have included native JSON support within the JScript engine. With this, developers can use a native JSON object to serialize and de-serialize JScript objects. This feature makes Internet Explorer 8 the first browser to support JSON natively!

Script Debugger

You have experienced the script debugger in IE8 beta 1. We’ve made it even better in IE8 beta 2. You can view script in syntax colored code similar to what you might expect in code editors such as Visual Studio™. The console shows all the script errors in a webpage at a central location. We also support the console.log mechanism to log the errors effectively. The Console is extensible for you to add your own commands through custom scripts.

Script Profiler

This is one of the new features of the IE8 Developer Tools. It will help you identify and fix performance bottlenecks in scripts so that they can run better and faster. The Script Profiler comes with an easy-to-use UI and powerful features such as ‘Call Tree View’ and ‘Export’ functionality. The Profiler output can be exported to tools like Excel so you can visualize the execution times through charts and graphs.



What’s New in JScript for IE8 Beta 2

But come on....just call it JavaScript already.
Sep 9, 2008, 5:35 pm | Post a comment | No comments


How to take the hard drive out of an old iMac

I didn't realize that I'd never taken a hard drive out of a 1st or 2nd generation iMac. Apple has come a long way since the design of these beasts. The current iMacs are better and MacPro's are sublime when it comes to adding drives.

 

In case you ever have to do it this site has the step by step on how to remove the iMac hard drive.

Aug 28, 2008, 3:45 pm | Post a comment | No comments


Firefox 3.1 web application performace boost

The new JavaScript interpreter in Firefox 3.1 uses an optimization strategy called tracing to achieve 20 - 40 times faster performance. This is really pretty incredible since, in my experience, Firefox 3.0 is already pretty speedy when executing JavaScript code.

Mozilla has adopted an innovative new optimization technique for the Firefox JavaScript interpreter. Benchmarks show that JavaScript execution is now up to 40 times faster in some benchmarks. Mozilla aims to deliver performance comparable to that of native code.

Firefox to get massive JavaScript performance boost

This should allow developers to do much more complex tasks in JavaScript and still achieve acceptable speed. Now if someone would come out with a speedy JavaScript plug-in for Internet Explorer 6 & Internet Explorer 7 developers could expect the same performace from all widely used browsers.
Aug 25, 2008, 1:24 pm | Post a comment | No comments


Focus on Text when creating your website

This short video does a great job explaining how important text is when optimizing for search engines (and more importantly, creating a user-friendly site).

MOUNTAINVIEW, CA -- While the recently announced collaboration between Google, Yahoo! and Adobe to search and index Flash files could yield better results, the project is in the early stages and for effective search optimization, Webmasters have to think text.

Here is our interview with Adam Lasnik, Search Evanglist at Google.

-- Andy Plesser, Executive Producer



Google's Search Evangelst Adam Lasnik: Focus on Text

It comes from a Google employee so it's not just theory.
Aug 25, 2008, 1:23 pm | Post a comment | No comments


NBC has ruined the Olympics

I have to say I agree with Russell Beattie's assessment of NBC's coverage of the Olympics. I thought the coverage of the Winter Games two years ago was great but NBC has really screwed up the Summer Games.
The Olympics are supposed to be a worldwide event and a point of national pride, but NBC has hijacked the games completely and totally, providing little actual quality coverage, funneling viewers to a single channel in order for them choke down their incessant commercials as a way of not just making back their money, or simply profiting, but as a way of maximizing profits from their monopoly on the broadcast rights. What should be a privilege for a national broadcaster has been turned into an extortion racket, holding the Olympics hostage with all of us paying the ransom.

NBC has ruined the Olympics


Aug 15, 2008, 12:32 pm | Post a comment | No comments


Intel's Larrabee products are more than gaming chips

Ars has a really interesting article on Intel's Larrabee GPU products. They are initially to be sold as gaming GPU's but they are in fact programmable co-processor cores (think of them as Pentium chips on a graphics card) with their own operating system. The fact that Larrabee has its own operating system and is programmable means that the host operating system will be able to dispatch jobs other than 3D to the GPU.

Intel disclosed a ton of new Larrabee information in a briefing on Friday. Here are the highlights on one of the company's most aggressive architecture changes ever.

Larrabee: Intel's biggest leap since the Pentium Pro

What this means is that eventually the host operating system (i.e. Windows XP or Mac OSX) will be able to use these powerful video cards to offload specialized tasks. I think it also means that eventually the CPU (central processing unit) and GPU (graphics processing unit) will merge and become one massive super powerful unit.
Aug 5, 2008, 11:52 am | Post a comment | No comments


OPML Reading Lists Added to the RSS Reader

The OPML fetch and parse code has been in the RSS crawler for some time but the user interface was spotty. Today I cleaned it up and rolled it into the beta.
Jul 29, 2008, 3:22 pm | Post a comment | No comments


Ajax Single Page Feed Reader & Blog Editor

The title really describes what Interspring is. It's a single page web application that combines a solid feed reader with a solid blog editor (and blogging engine). I've written it so that it works on all major browsers (even IE 6...ick). If you'd be interested in testing the application please let me know.
Jul 9, 2008, 2:28 pm | Post a comment | No comments


PHP RSS & Atom MySQL Storage based Feed Parser

In the process of writing Interspring I had to develop a MySQL backed rss (and atom) feed processor and storage infrastructure. After much work and frustration I'm happy to say that the feed fetch/parse/store backend of Interspring has be running uninterupted for over 6 months. I think that after I normalize the MySQL tables and pretty up the code a bit I will release it as an open source product. If anyone is interesting in testing and or using it...please drop me a line here.
Jul 9, 2008, 2:24 pm | Post a comment | No comments


More spam during the olympics

Ouch...it's not like spammers need a reason to send more email.
Symantec says that online scammers are going to use Beijing's 2008 Summer Olympics to lure unsuspecting victims into fraudulent online schemes



The Spam Olympics

If you get any email over the next 60 to 90 days the has a subject line (you're not using the preview pane are you?) that has anything to do with the Olympics....just delete it.
Jul 8, 2008, 2:35 pm | Post a comment | No comments


Screwing Up the Web Experience

Dare Obasanjo on his Carnage4Life blog has a great entry on what some companies are doing to screw up the web experience. I'll let you read the details on his site but number 4 in his list really hit home for me. Many times I've been searching for a solutions to some obscure IT issue and after seemingly discovering a link to a possible solution I discover that I must "register" to see the page that was in the search engine result list. I think this is a creepy thing to do (letting the search engines "see" the information without registration but forcing real humans to register to view the info), but Dare expresses it much better than I do:
Forums that Require Registration Showing Up in Search Results : Every once in a while I do a Web search for a programming problem and a couple of links to Experts Exchange end up in the results. What is truly annoying about this site is that the excerpt on the search result page makes  it seem as though the answer to your question is one click away but when you click through you are greeted with “All comments and solutions are available to Premium Service Members only”. I thought search engines had rules about banning sites with that sort of obnoxious behavior?

A List of Companies Working Hard to Screw Up My Web Experience

 

Dare works for Microsoft....I wish he would use some of his influence to help improve Microsoft's websites...

Jul 8, 2008, 11:59 am | Post a comment | No comments


Interesting podcast on email

I think that improved filtering and some sort of RSS/Email hybrid will allow us to trust our email reading software more. Right now, it's like the wild wild west out there.
Daily e-mail volume is now at 210 billion a day worldwide and increasing. The burden of managing all that e-mail has prompted a backlash. From declaring "e-mail bankruptcy" to e-mail-free days, many Americans are tuning out and turning off.

Make It Stop! Crushed by Too Many E-Mails

I hadn't heard of email free friday's before. It's not a bad idea....but why just one day?
Jun 25, 2008, 4:21 pm | Post a comment | No comments


Search engine optimization tips from Google's Cutts

USA today has an pretty good overview of some of the things that websites can do to improve their search engine visibility.

USATODAY.com - Achieving visibility in Google's search rankings can be a mystery. To help solve the riddle, USA TODAY sat down with Google's Matt Cutts, an engineer and active blogger, who has five easy tips on how to "optimize" your site so Google and the rest of the world can find it.

Google's Cutts: Good directions drive traffic to your website (USATODAY.com)
It's interesting that number 4 on the list is to create a blog and post often.
Jun 23, 2008, 11:43 am | Post a comment | No comments


Slate on how we read online

Slate has an interesting article on how we read text online. If you've never read anything about this interesting topic (or even if you have) this is a good primer.
How we read online.
It's interesting that he mentions that Jakob Neilson (a web usability guru who I sometimes agree with) doesn't like blogging. I hate the name "blogging" but I've found that it is a viable information distribution mechanism and is probably here to stay (but can we agree on another name for it...please).

Jun 23, 2008, 11:38 am | Post a comment | No comments


Very handy anti-spyware application included with Google Pack

Since it's release i've been doubtful that Google's package of software applications (Google Pack....which is for Windows only) has anything worthwhile. All of the applications are available seperately so I didn't see the point.

 

I still don't see the point but while researching how to remove a particularly stubborn piece of adware (a trojan downloader) I stubled accross the special version of Spyware Doctor which is included in Google's Pack. Yahoo's adware/spyware product (which is really Computer Associates adware product) included with their toolbar found the dowloader and said it removed it but the downloader was still there. 

 

I downloaded Google's Pack installer and selected to only install Spyware Doctor (which seems like a limited/special version). I then ran a scan and it detected a removed the trojan.

 

Spyware Doctor also includes some sort of real time scanning that I haven't had time to fully evaluate. If you have adware/spyware issues I recommended that you give Google Pack and Spyware Doctor a try.  

 

 

Jun 4, 2008, 11:51 am | Post a comment | No comments


Good tips on RSS Reading

 The Read/Write blog has a good piece on RSS reading that is worth checking out. One thing I don't really agree with the the whole river of news view that many RSS readers offer. I like my RSS feeds broken down into channels so that I can easily see the source of what I'm reading.

Some feed readers require that you click through all of one feed's items at a time. Others allow you to see whatever individual items are most recent, regardless of what source feed they came from. This is the prefered method of most news bloggers - but it could serve you well too.

There's no way to read every item in every feed you've subscribed to, so after reading what's most important - try switching to what's most recent!

Try reading those items in order of appearance, until you don't want to read them any more. Then stop. Maybe mark all as ready, maybe don't worry about it. Life's too short to worry about it, aren't you glad you read what you were able to find the time to read?

Seven Tips for Making the Most of Your RSS Reader

I think that eventually RSS readers will evolve into information collection and display applications but that's a subject for another post.
Apr 14, 2008, 12:45 pm | Post a comment | No comments


App Engine sounds cool but...no PHP initially

Google's App Engine sounds like a great way to deploy highly scalable web applications. Initially, however, you can only use Python to develop the applications.
One current limitation is a requirement that applications be written in Python, a popular scripting language for building modern web apps (Ruby and PHP are among others widely used). Google says that Python is just the first supported language, and that the entire infrastructure is designed to be language neutral. Google’s initial focus on Python makes sense because they use Python internally as their scripting language (and they hired Python creator Guido van Rossum in 2005).

Google Jumps Head First Into Web Services With Google App Engine

It will be interesting to see if Google does allow App Engine to use PHP or Ruby. I'm not sure but I would guess that both are more widely used for web applications than Python.
Apr 8, 2008, 12:09 pm | Post a comment | No comments


Web based email being blocked by realtime black hole lists

It seems that several of the large web based email services are being blocked by realtime blackhole lists. This article only mentions gmail but I've noticed it with Yahoo! mail as well.

Over the past month, major anti-spam vendors have had to apply scrutiny to Gmail in a way they haven't had to before, and the result is reduced delivery performance and sometimes outright blocking of Gmail.

Read More...

 

Gmail being throttled, blocked by some anti-spam vendors


I've had to make adjustments to mail servers to allow legitimate mail to pass but a larger volume of spam is passed as well.
Apr 8, 2008, 10:09 am | Post a comment | No comments


Should Mac Users Run Antivirus Software?

I can't tell you how often I get this question. Matter of fact I just told someone last week that they didn't need to get any antivirus software for their new MacBook.
adamengst sends in an article from TidBITS in which Macintosh security expert Rich Mogull explains why he doesn't use antivirus software on the Mac, and why most Mac users shouldn't bother with it either. The article also touches on the question of when an increasing Mac market share might tip it over an inflection point into more active attention from malware writers. (Last month Apple had 14% of PC sales, but 25% of dollar value.)

Read more of this story at Slashdot.


Should Mac Users Run Antivirus Software?


Most computer users are at greater risk of adware/spyware infections than viral infections anyway (many viral infections are trojans downloaders which are a huge problem). No matter what operating system you use or what browser you use the best defensive action you can take is to pay attention to what is actually going on. Many adware/spyware installers will trick you into installing them and then you'll be trying to get rid of them (sometimes successfully) for days.

 

At this point Mac users don't have to worry much about these adware installer but as the Mac OS increases marketshare and user base it will impossible for the bad guys to ignore. 

Mar 19, 2008, 10:45 am | Post a comment | No comments


The REAL Reason We Use Linux

Describing any operating system as fun may seem an odd thing for those not enamoured with technology. However, Linux is fun because of the huge amount of customization that is possible.
Vlad Dolezal writes "We tell people we use Linux because it's secure. Or because it's free, because it's customizable, because it has excellent community support... But all of that is just marketing BS. We tell that to non-Linux users because they wouldn't understand the REAL reason." The answer to his question probably won't surprise you.

Read more of this story at Slashdot.



The REAL Reason We Use Linux

I feel that once a programmer becomes familiar with the Linux/Unix environment that the constraints of other environments become painful.
Mar 17, 2008, 2:25 pm | Post a comment | No comments


Metadata is what?

On a few occasions when discussing search engine optimization with clients I've mentioned the fact that I think page title and page heading are metadata. "Metadata being what?" is typically the response I get. Then I try to define metadata without using the word "data." Try it...it's hard. When I read this quote today I realized I had been approaching the description from the wrong angle:
On the general concept of metadata, Steve Yegge: "Metadata is any kind of description or model of something else. The comments in your code are just a a natural-language description of the computation. What makes metadata meta-data is that it's not strictly necessary. If I have a dog with some pedigree paperwork, and I lose the paperwork, I still have a perfectly valid dog."

Woof!

Quote of the Month

 

Additional types of metadata will be used by search engines and other information aggregators in the future to improve search results. Google already uses metadata (page titles and page headings) to help improve search results. Metadata like geocoding will allow search engines to group search results around an area (Google already does this with Google Local but I'm not exactly sure how they get their geographic information, I think they are creating their own metadata by examining a postal or mailing address on the site).

Feb 22, 2008, 10:12 am | Post a comment | No comments


Digital Elite?

Interesting post on Read/Write web about how the information economy is making certain employees in business very hard (and expensive) to replace.
But still, it is now becoming more costly for the companies. Because of the increasing amount of information processing done by individuals and the uniqueness of each, getting replacements up to speed is more costly. Retaining and motivating the digital elite should be recognized as a high priority for any company.

Are YOU Replaceable? 

 

I'm not sure I agree with the digital elite moniker but it's a good read. Another unintended consequence of the information technology revolution?

Feb 20, 2008, 1:51 pm | Post a comment | No comments


What is web design?

What makes a web site good. You know it when you see it but it is very hard to relate to other people. Jeffery Zeldman has a great piece on web design that everyone should read.

His attempt to define web design: 

Web design is the creation of digital environments that facilitate and encourage human activity; reflect or adapt to individual voices and content; and change gracefully over time while always retaining their identity.

 Understanding web design

 

Is one of the best I've heard. He also compares web design to typography and architecture with great effectiveness. 

I especially like the part about chaning gracefully over time. This one fact is why content management systems are becoming so important to the web development process.

Nov 21, 2007, 3:54 pm | Post a comment | No comments


Intel's Penryn Processors

Today Intel released a slew of new processors that take advantage of a new more-efficient 45nm manufacturing process. The specs for these chips are pretty impressive. The 45nm process along with increased level 2 cache, new SSE4 instructions (instructions for operating on multiple items of data at the same time), and faster front side bus (among other improvements over previous chips) will make for some substantial performance gains over current 65nm chips (less power usage and cooler operation are also important).

Virtualization is one area where these chips should really be beneficial:

One of the key goals of Penryn was to improve virtual machine transition times—that is, the time it takes to enter and exit a VM. The net result is a 25-75% improvement in entry/exit times. This is all completely transparent, and requires no change in the VM software itself.

Penryn Arrives: Core 2 Extreme QX9650 Review

 

Intel is making some great chips lately...it will be difficult for AMD to stay competitive unless they respond quickly.

Nov 12, 2007, 1:54 pm | Post a comment | No comments


next page of entries
Subscribe to Machineware