Tuesday, June 24, 2008

using the JW flash player for our radio streams

Multi-platform support, and the ability to show "Now playing" and "Coming up next" etc on the page where the player is embedded. Actually, the player has to be on an html page which is on the streaming server itself: otherwise the flash security measures will prevent "content from another domain". So, implemented using an iframe on a page on www.radiosai.org , the iframe's src is a page on stream.radiosai.org . The JW player's home page is here.

Friday, June 20, 2008

imported contacts successfully, google docs and gears

As mentioned in my previous post, tried out importing the "Gmail csv" exported by Gmail's contact manager, adding more stuff in exactly the same format, this time it worked. But to do that, had to go through a few hoops.

First, Google Docs did not allow me to just copy-paste from one spreadsheet to another. Had to go through the pain of publishing as csv using the 'More publishing Options' from one spreadsheet, importing it as external data on a new sheet on the destination spreadsheet, then linking the data to another sheet. But once I installed Gears, everything became simple again. I could just highlight cells on one spreadsheet, copy, highlight cells on the other spreadsheet, paste. Gears really adds to the functionality, but maybe the Google folks are leery of publicising its virtues too much due to its privacy issues - not safe to use with a public computer....

Tuesday, June 17, 2008

wonder why gmail contacts regressed

Generally Google products improve over time, but for some reason, the contacts browser in Gmail seems to have regressed very badly. So many features broken in the new version whose only advantage seems to be eye-candy:
  • Search doesn't match for any field other than contact name
  • Does not allow deleting of more than 20 contacts at a time
  • Import is more finicky - csv files which work with old version don't work with new version!
Thank God the Google team have retained the "Older version" link at least! But I hope the GMail team cleans up the contacts mess. Reason for ranting right now is that I'm trying to import a csv file, with field headers Name, Email Address, Phone - but GMail old version insists on making a Notes field and putting Phone: 9999999 there. New version refuses to import at all. Will try making a csv file exactly like the "GMail csv export" which Gmail exports.

google apps user export

There was a migration to google apps for domains over the weekend, and one of the features the admin wanted was an easy way to export list of all users. I didn't find it, he found it himself - the Download user list as CSV link at the bottom of the Email addresses tab.

Friday, June 13, 2008

java vnc viewer's scaling support

Saw on tightvnc site that the java viewer also has scaling support like the Win32 viewer has. Tried to get it working from saiwaves. Copied the class and other files to /usr/share/vnc/classes/
Edited the index.vnc file by adding the scale factor parameter. But adding scaling causes the refresh to break - cursor trails everywhere - and also the auto scaling was not working in spite of using the open new window parameter. Probably because of the old version of vnc server running on saiwaves. So currently better to stick to no scaling on Linux.

manually adding files to the audio search database

Some Musings talks were not accessible by the audio search page since they were not played since early 2007, and a listener requested. So, added them using dummy csv files dated 2007-01-01 and 02, with values entered by hand. Have to remember to
  1. not have a semi-colon or CR-LF after the last entry
  2. fill in the duration in minutes correctly
  3. make sure there are no spaces in the download-filename.

Wednesday, June 11, 2008

dharma's AGP slot bad - maybe

Dharma refused to boot a few months back, beeping a lack of display. Tried PCI card, still no go. So snuck in an old ISA VGA card to make it boot. Only 16 colours, but boots. Today tried other AGP cards - Matrox Marvel G400, G200 - no go. Tried the PCI card, still no go. Then tried the PCI card in a different PCI slot + ISA card, booted, saw that the PCI card was listed in device manager. Then tried with PCI alone, booted OK, recognised the Sis 6215 card and loaded the correct driver. So, restored the system to using the PCI Sis card. Maybe the AGP slot has gone bad?

portable DVD / VCD player smoothing issue

MS brought in a portable DVD / VCD player for consultation. It was a circular disk around an inch thick, the size of a DVD, with a 3 inch LCD screen on top. Apparently he was trying out some settings and from then on the video was just coloured blocks. Went through the menu system - while displaying the menu the screen was fine, so it was not directly a display problem. Under video settings or something, found a Smoothing option which had been turned on. Turned it off and voila! The video renders fine. Probably the smoothing doesn't work for VCDs?

Monday, June 09, 2008

problems with flash video

flv files served from media.radiosai.org using the JW FLV media player appeared to be broken - not working from any of the machines at the studio. Then all video sites appeared broken! Including youtube, google videos and all the players listed at Wikipedia. Obviously this was unlikely. Checking the flash version number using this page, found that the videos were working fine in Linux with an earlier version (9.0.xx) of Flash plugin, and also with the latest 9.0.124 version. Maybe the 9.0.115 was the one with the problem. Or maybe not. Also found a post with various workarounds for flash video problems. And running the flashutil from c:\windows\system32\macromed\flash\ followed by a machine restart worked for the studio machines. Manual download and installation might have caused some problem, which this util might have cleaned up.

Edit: After a restart, my firefox again had the same problem. This time, tried the "acceleration toggle" trick - turn hardware acceleration off and then on again, using the settings option available by right-clicking on the video, restarting the browser each time. And it started working again.

Thursday, June 05, 2008

krishna not resolving dns after reboot

Since we seldom reboot, found this one only after a kernel update. Apparently the resolv.conf is being updated by resolvconf independently of what we set in the drakconf interface.
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

We could not just remove resolvconf like this guy did, since drakconf did not allow it. Then PB edited /etc/resolvconf/resolv.conf.d/tail and added
nameserver x.y.z.w
nameserver p.q.r.s
nameserver a.b.c.d
to get it working, with inputs from forums like http://ubuntuforums.org/showthread.php?t=188551

Tuesday, June 03, 2008

the toshiba laptop finally gets professional help

The poor Toshiba laptop was opened once again, since the power jack became un-soldered and the ribbon cable totally detached. D could only do the power jack - the wifi remained dead, and since the ribbon cable was ripped, no sound to headphone either. Finally, H got it repaired at Chennai, with cards replaced for Rs. 3.5 k and service free since it was a friend.

Saturday, May 31, 2008

tfd update from external ip

The tfd update page had ip restriction, so N got access forbidden when he tried to update tfd from home. PB says easiest way to do would be to add the required IP address in the database. Not so easy for me to do....

firewall at the studio, krishna's booting trouble

Last week we moved from iptables running on Linux boxes to a firewall box. DLink DFL-210. It has an added feature of intrusion protection in addition to the greater uptime for studio net users. When the servers go down for maintenance, their browsing need not be interrupted. Fairly straightforward setup, but we wasted a lot of time "troubleshooting" a network cable which was not plugged in!

Related development - krishna not coming up after reboot, probably due to incorrect master-slave setting on extra hard disk or bootable flag or something like that, added to the fact that hotplug or kudzu is not installed, so it needed to drop to a root shell, then we edit /etc/fstab to remove the offending hard disk's entries, then it boots.

Saturday, May 24, 2008

flash flames

Wanted to demonstrate why using flash for a plain text page with a Next button is a bad idea, googled "misuse of flash". Got both points of view in the first few matches:

Pro-flash: http://anthonyfranco.wordpress.com/...cations-rias/

Anti-flash: http://tortus.com/news/flash_flashy_isnt_always_good

To be honest, the "anti" page is not anti-flash, just against its misuse. And the pro page lists many ways of doing things, which are not really done the correct way by our people, so it really is a pointer to flash misuse at our end once again....

Friday, May 09, 2008

miscellaneous vacation stuff

Doing "re-clicking" of old photos using a Kodak EasyShare DX6340 - 3 Mega pixel. The camera should be in the "Close-up" mode for best results.

Got video out working from the laptop, for seeing on the TV. S-video to composite Cable made with the help googling, diagram at
http://www.epanorama.net/circuits/svideo2cvideo.html , S did the soldering.

Monday, April 21, 2008

more on the toshiba laptop

Just like the previous posts - this time D brought it to solder in the replacement jack. Unfortunately now the ribbon cables are getting a bit ragged due to open-close-open-close so many times. So, first the track-pad didn't work. The disable switch on the Toshiba is Fn-F9 - toggling it didn't work, so D had to open it again and fiddle with the ribbon cable. Then the speaker didn't work. Again opened, tried fiddling with the ribbon cable, but this time the speakers stayed dead. So returned the laptop in that condition instead of risking opening it again and making something more critical go bad.

Tuesday, April 15, 2008

AW4416 down

Unfortunately, the Yamaha AW4416 is now "retired hurt", gone to Chennai for treatment. Symptoms: four sliders showed funny values on Thursday but worked normally on Fri and Sat, Sun morning the LED display did not light up and the output waveform was clipped with only the top half appearing and not the bottom half, with slider values also out.

Stopgap arrangement - Aux outs of the Soundcraft mixer into the Tascam US-1641, moving sliders in software using the mouse.

Wednesday, March 26, 2008

added streams to Nokia Internet Radio

Nokia Internet Radio directory makes it easy for supported Nokia handset owners to listen to internet radio streams. They sent us an invite, so I've added the five SGH streams to the directory.

Friday, March 21, 2008

Tascam US-1641 digital in problem and solution

The Tascam US-1641 suddenly developed a strange illness - the digital in (SPDIF) was not working. It happened when I tried a different "boot order" instead of my usual Tascam->Yamaha AW4416->Laptop order. Tried many things including changing the cable, checking settings for SPDIF/AES etc, no go.

Finally, today, tried connecting the digital out from the Tascam to the Yamaha's digital in - then the Yamaha started complaining, Dig-St-in Sync Error! Aha! So changed the setting in Clock settings in the Tascam's control panel from "Internal" to "Automatic" - then tried digital input - working! Again closed and opened Cubase, the setting was reverting to the non-working "Internal" setting. Rooting through the help file, went to Transport -> Sync Setup and changed the sync from "Internal" to "ASIO device". Now works fine even after reboots. But the power-up order seems to be important. Probably booting up the computer without the Tascam being powered on changes the Sync option to internal in Cubase.

Sunday, March 09, 2008

configuring a phone for BSNL's GPRS service

Yesterday, NNR asked for help in configuring web browsing on a Samsung SGH X-600 phone - the BSNL sms with the settings had been saved, but the browsing was not going through. Sat and went through the settings using the guide at BSNL and found that the settings sent by sms had the wrong IP Port - 9401 instead of 9201. Changed to 9201, it started working. Still the home page at http://localhost/home.wml shows "Unsupported content type" on the phone, tho' google, rediff etc websites work fine. Just for reference, the settings are:

For general internet:

-> Profile name – BSNL GPRS
Select GPRS Setting and key in the following:
-> Gateway IP address - 10.31.54.2
-> Gateway IP port - 9201
-> APN GPRS: wapsouth.cellone.in
-> Login ID - ppp
-> Password – ppp123
-> Homepage URL - http://localhost/home.wml
-> Bearer - GPRS only

select Current proxy -> BSNL GPRS and then browsing will work.

For BSNL's portal - rintones etc:

-> Profile name – BSNL PORTAL
Select GPRS Setting and key in the following:
-> Gateway IP address - 10.31.54.2
-> Gateway IP port - 9201
-> APN GPRS: portalsouth.cellone.in
-> Login ID - ppp
-> Password – ppp123
-> Homepage URL - http://wap.cellone.in
-> Bearer - GPRS only
select Current proxy -> BSNL PORTAL and then at the WWW service menu, click home to go to BSNL portal.

For MMS:

Under MMS Profiles setting,

- Profile Name: BSNL MMS
- Server URL: http://10.31.53.18/mms/
Select GPRS Setting and key in the following:
-> Gateway IP address - 10.31.54.2
-> Gateway IP port - 9201
-> APN GPRS: bsnlmms
-> Login ID - ppp
-> Password – ppp123
-> Bearer - GPRS only

Now you can go to Message Menu, and then selecting Multimedia Message, send a multimedia message to another number.