DiPot | Ice Tea Tech Blog


Firefox 3 Add-ons Wishlist PDF Print E-mail
Software
Written by ageor   
Friday, 06 June 2008 11:22

Now that Mozilla Firefox 3 RC2 is out, it's about time all add-ins are updated.

My personal favorites (therefore wishlist) that are not working yet (in alphabetical order): Firebug, FireFTP, Google Browser Sync, Google Toolbar for Firefox, PlainOldFavorites, SEOpen, AddThis.

In all fairness, I am also thankfully mentioning the ones that are already working: BlockSite, DownThemAll, Facebook Toolbar, Forecastfox, IE Tab, IE View, iMacros for Firefox, MySocial 24x7 Bar, PDF Download, Shareholic, Web Developer.

 
Music on Hold PDF Print E-mail
How-to
Written by ageor   
Wednesday, 14 May 2008 13:01

I am in search of a simple "music on hold" (and background music) system for the office PBX.

I have already tried a CD player and WinAmp on a PC. The CD is short in duration and eventually wears out. WinAmp is better, but it requires a PC with a dedicated sound card (or every other sound source disabled), it doesn't run as a service out of the box and it does occasionally stop playing for no apparent reason.

All these were happening before the portable MP3 players days. So, the obvious today's choice would be an MP3 player with enough memory, set to shuffle and repeat. Using an AC to USB adapter should solve the power problem, as batteries don't last for ever, right? Unfortunately, most USB-powered MP3 players switch to data mode when connected, even if connected to power-only USB. And when in data mode, they just won't play songs! Experiments with several players and asking various salespersons confirmed that fact.

So, how can it be done? I got a suggestion to find a player powered from a non-USB source. Not an easy task, these days. The last such device I remember was an MPIO MP3 player (yes, it still works, but it's not mine). Although this was before USB totally dominated the peripherals market, I always held using a non-USB power adapter against it. Little did I know...

Then I accidentally came across the Creative MuVo V100. Its design is exactly such that it distinguishes connection to data USB vs power only USB and acts accordingly, that is play MP3s even when powered! Perfect, at least in theory. Preliminary tests show that, while it works as advertised, it, too (like WinAmp), occasionally stops playback for no apparent reason.

While tests continue, it seems I am still searching...

Update: Creative is in the clear. Apparently, MuVo works fine. When I tried another USB power supply all problems disappeared. It turns out even a simple device like that can be faulty enough to work at random! I am finally happy with my music on hold.

Last Updated ( Friday, 06 June 2008 10:54 )
 
Microsoft IE and Standards Compliance PDF Print E-mail
Software
Written by ageor   
Saturday, 29 December 2007 13:17
There is an indirect update to my December 16, 2007 "Web browser standards: Opera Software vs Microsoft" post in the "Internet Explorer 8 and Acid2: A Milestone" IEBlog post. The way I see it, Microsoft effectively confirms allegations about not complying with standards (by, at least, not seriously updating IE6 in over 5 years and creating lots of problems with IE7) promising it will do so with IE8:

"... IE8 now renders the “Acid2 Face” correctly in IE8 standards mode. ..."

"...  With respect to standards and interoperability, our goal in developing Internet Explorer 8 is to support the right set of standards with excellent implementations and do so without breaking the existing web. This second goal refers to the lessons we learned during IE 7. IE7’s CSS improvements made IE more compliant with some standards and less compatible with some sites on the web as they were coded. Many sites and developers have done special work to work well with IE6, mostly as a result of the evolution of the web and standards since 2001 and the level of support in the various versions of IE that pre-date many standards. We have a responsibility to respect the work that sites have already done to work with IE. We must deliver improved standards support and backwards compatibility so that IE8 (1) continues to work with the billions of pages on the web today that already work in IE6 and IE7 and (2) makes the development of the next billion pages, in an interoperable way, much easier. ..."

If you wonder who made the "existing web" prone to "breaking", I don't. In my mind, it was Microsoft. When IE was dominant, it never completely adhered to standards, while extending HTML in all sorts of ways. When standards emerged or caught up, was IE updated accordingly? No.

Is Microsoft finally entering a standards compliance era? How, by adding a "Standards mode" in IE8? I still have my doubts and for good reason. You see, past experience says otherwise.

Web developers, Microsoft hasn't and won't ever do it for you. If you are interested in every computer owner being able to fully utilize your sites, please do us all a favor and comply to universal, not Microsoft standards. Windows percentage in the PC market is still very large but dropping. Make them build a decent browser; or not, who cares? Firefox, Opera etc. are excellent, compliant and multiplatform browsers. Don't build the Internet depended on ActiveX and anything else non-standard enough so only IE (therefore only Windows) users can view.
 
Your home on camera, live! PDF Print E-mail
How-to
Written by ageor   
Tuesday, 18 December 2007 20:06

Two weeks ago I was asked again to install a couple of cameras to watch a newborn baby at home (with the sitter...).

Provided there is an ADSL in the premises, the task is trivial, tech-wise. In this case, the heart of the system is an AVM Fritz ADSL modem, 4 port switch, wireless Access Point with SIP, complemented by 2 VIVOTEK PT7137 wifi IP pan-tilt (but not zoom) VGA cameras.

The first problem in serving content from a non-static (dynamic) IP address is how to hit the correct IP, which is a moving target (I recently came across the fact that, in Greece, ISP OTEnet actually disconnects dynamic ADSL connections every 54 hours, just to change IP address!). The solution to this is dynamic DNS, in this case in the form of the free service DynDNS (other such services also exist). What dynamic DNS does is have a client program automatically update the current IP address of an ADSL connection to a host of the form <myhost>.dyndns.org. In this case (lucky me), both the router and the cameras have dyndns.org support built-in. If this wasn't the case, I could set up a dyndns.org client in a windows or linux pc to do the job. I could, alternatively, buy a static IP address, which I do not prefer for security and cost reasons. More than one dynamic DNS client can be set up for redundancy, if needed.

The other problem in serving content this way is that the Internet IP one's router uses is different from the local IP address of this same router and each of his local network devices (yes, it's too technical). The router takes care of back-and-forth IP translation for the outgoing connections (browsing, email reception & transmission, Instant Messaging etc.) automatically (using NAPT, Network Address Port Translation). However, when a local server needs to listen to Internet incoming traffic, this must be routed to it in a way that cannot be automated (not until UPnP, anyway, which is another story), so port translation must be manually programmed to the router and the method is called "port forwarding". What this does is tell the router what to do with any incoming traffic, depending on the Port it uses: drop it or forward it to a different internal IP and Port, where a server is standing by.

When similar content is served by more than one servers (in this case all the IP cameras transmit audio & video using the http protocol which by default "listens" and "transmits" on port 80), we have the third problem: We need to reference two (or more) different servers serving the same service (http) using the same single external IP address.

The solution here is in the way protocol calls are made: when our browser shows it connects to http://blog.dipot.com, it is actually connecting to http://blog.dipot.com:80, where 80 represents the connection's port number (which has possible values from 1 to 65535). The port value of 80 is implied, because it is the standard port number for the http protocol (other protocols by default, but not necessarily, connect to other ports). This essentially means that we can reference ~65000 different services (protocols) on the same IP address. So, what we do is agree between ourselves and the router to use these two (or more) addresses to call our two (or more) IP cameras (the "http://" prefix is important, because the specified ports are not usually intended for this protocol):
Camera 1: http://<myhost>.dyndns.org:12001
Camera 2: http://<myhost>.dyndns.org:12002
Camera n: http://<myhost>.dyndns.org:1200n

So, assuming the cameras addresses are 192.168.1.21, 192.168.1.22 (& 192.168.1.2n) and all transmit to port 80 (the default) we program the router to forward calls to ports 12001, 12002 (& 1200n) to 192.168.1.21:80, 192.168.1.22:80 (& 192.168.1.2n:80). It is important for the cameras IP addresses to be static, so we don't have another moving target to cope with.

In case the router didn't support forwarding to a different port than the incoming, we should then program the cameras to listen and transmit to ports 12001, 12002, ... 1200n, which is perfectly possible, if not simpler.

This came out larger and more technical than intended. All these, however, can be implemented in about 30' and are applicable to other services as well.

For router-specific instructions to program port forwarding, refer to the excellent guide "Free Help Setting up Your Router or Firewall".

Last Updated ( Tuesday, 18 December 2007 22:14 )
 
Web browser standards: Opera Software vs Microsoft PDF Print E-mail
Software
Written by ageor   
Sunday, 16 December 2007 20:45
Don't you just hate it when a web page won't show correctly in Firefox or any non-Internet Explorer browser?

I have always wondered why any web developer would block all Linux & Mac OS users out of their sites and frustrate a good portion of Windows users, those who prefer Firefox. On top of that, some sites don't even look the same in IE6 & IE7 due to incompatibilities of their own, which recently forced Microsoft to decide to make IE7 available to illegal Windows owners as well!

Over time, it is a well-known fact that Microsoft won't respect standards very much. Java has been a good example and HTML compliance is no different. So, what's new about any of that? This extract from the Friday, December 14, 2007 8:00 AM PST Paul Meller and James Niccolai's PC World article "Opera Seeks Tougher Remedy in Microsoft Case", describing the "... antitrust suit filed with the Commission this week ..." by browser maker Opera Software, which I find especially interesting and long overdue:

"... In addition to the bundling charge, Opera also complains that Microsoft does not follow Web standards, putting rival browsers at a disadvantage. The issue is significant because if all Web browsers do not use the same standards, Web site developers are likely to design their Web sites to work with the most widely used browser, which is Internet Explorer. That gives people a disincentive to use other browsers.

Microsoft often takes part in debates over Web standards, and says it will implement them, but ultimately does not, Opera's Lie said. He pointed to CSS, XHTML and DOM as areas where Microsoft does not comply with or is inconsistent.
..."

I will follow up on this with great interest. I would prefer users and the industry to force Microsoft (and web developers) to comply by (prefferably open) standards (the cornerstone of the Internet), but a court might as well do it...
Last Updated ( Sunday, 16 December 2007 21:15 )
 
« StartPrev12NextEnd »

Page 1 of 2

DiPot, a Joomla! site.