Saturday, November 10, 2012

more options for making web radios on the cheap

A follow-up to my earlier post, here is another el-cheapo web radio, elegantly simple with power over ethernet, for parts under $30 if we sacrifice the display etc - found via Wired.com - http://www.watterott.net/projects/webradio-arm

I did contact Watterott, but they are busy for the next 6 months. Plus the mp3 decoder card used has now been superceded by a new model, so some changes would be needed to the design.

Tuesday, November 06, 2012

extracting audio from video file - without virtualdub etc

For non-technical users, extracting audio from video files like flv files or mp4 files can be done using VLC - this post shows how in detail.

panorama mapping formula

As mentioned in my previous post, the field of view is what decides the "stretching" if needed. As an empirical test, the original stadium pan in this post seems to be around 120 degrees horizontally and around 60 degrees vertically. So, vertically it would need to be multiplied by 3 to cover the full 180 from front to back, and horizontally it would need to be multiplied - again by 3 - to cover the 360 degrees all around the observer. And indeed, using white space instead of cloning to save time, using an image where the pan is the ower middle tile in a 3x3 set of tiles of the same size as the pan,

we get this polar image, which seems to be quite undistorted.
If we keep the same aspect ratio as the orig of this pic and reduce the white space, we get more coverage of the dome with the image. The extreme case of this would be to use the pan itself without any padding, since the padding is equal in horiz and vert directions in this case. Then we get this,
where we can see that the Hanuman statue which is further away from the horizon seems to be vertically stretched. On the dome also, it is seen to be vertically stretched. So, in general, we should shoot for images which are near the horizon, and we can clone the sky or mirror the image for filler.

Sunday, November 04, 2012

more on using panoramas on fulldome

But my posts so far have been for using a shortcut to displaying the panorama on the dome. Finishing up my previous post, here is the pan with the "visible" region having the interesting part of the pan, with the rest of the image filled with a mirror image and white space on top (which could have been replaced with "sky".) The amount of stretching required seems to be a bit ad-hoc, depending on the field of view, I suppose. If the field of view is more, then probably the stretching may not be required? Anyway, this was stretched 2.5x, and made into a rectangle and not a square before making polar - implying more stretching in that process.

Flat image, stretched and mirrored:

and the polar version,

For better results, I guess I should map the pan onto a cylindrical surface and use the view from the fisheye camera in Blender.
I'll check out the above image by animating it to make a full circle and watch it on the dome, and then proceed.

Saturday, November 03, 2012

displaying panoramas on fulldome

I had explored displaying panoramic photos on our mirrordome setup in an earlier post, just using Filters -> Distorts -> Polar Co-ordinates in Gimp on a square image. Here are some more details. The filter dialog box was as below,

Here, the map backwards prevents the resulting polar image from being left-right inverted. If Map from top is removed, the result is like these mini planets. The offset angle is entered so that Hanuman statue is centred on the resulting fulldome image.
Merely adding more 'sky' and making the pan square is not enough. The resultant fulldome image will appear squished down vertically. Example below.

This image, which is square,

becomes this image on doing polar co-ords distort


So, the image has to be vertically stretched 2.5x for it to look reasonably good. The image below is stretched 3x, it looks a bit vertically elongated on the dome:

3x stretched pan made into a square,
and then polar:

Now, if the image is not made into a square, still the polar distortion can be done. But the resulting image is as if the original had been stretched to make it into a square and then the polar distortion was done. For example, with this original image,

we get this,

which is the same as we get if we distort this image got by stretching the pan into a square,

Now, these are not 360 degree pans - more like 180 degrees or even less. Assuming 180 degrees, we would get an image like this if we were to add white space for the missing 180 more degrees - I have put in a text background colour to highlight the white space.


But this also yields a vertically squished image,
 


As our audience is front-facing, the region which is well visible to our audience is highlighted below,
So I can try and make pans with some clouds or a fade-to-grey or something for the non-visible part, and push the relevant pixels into the visible part. The non-visible part is around 25%, so we can try adding 25% to the width of the image and then making it polar.



Friday, November 02, 2012

HTC Wildfire update

The HTC Wildfire mobile phone informed me of a 4 MB software update, 2.25.720.4. Downloaded it on the phone, said that it needs to restart phone after the update. I was updating Opera, so waited till that finished before going back to the software update. For this, I had to go to Settings -> About Phone -> System software updates

Once the update was installed and the phone rebooted, it took a good 10 minutes to boot up. The HTC welcome screen ("quietly brilliant") was displayed for a while, then the lock screen came on, on unlocking also the HTC welcome screen, finally a progress box with percentages display, finally booted to the home screen.

using an xp machine as gateway

N wanted to use an XP machine as a gateway for a LAN which is normally not connected to the internet. Googled it and found that to use Windows XP as a router, it's a simple registry edit,
HKEY_LOCAL_MACHINESYSTEM  -> CurrentControlSet -> Services -> TcpipParameters -> IPEnableRouter
should be set to 1.

Step-by-step instructions on how to set gateway properties on each of the machines etc is given at
http://www.home-network-help.com/ip-forwarding.html

our DKIM keys

This story in Wired prompted me to check our DKIM key length for radiosai.org - this post indicates I have used 1024 bits, safe for now.

colour correction for mirrordome

As mentioned in my previous post, the colours in our projection were not very accurate - highlights washed out and so on. Changed the modes on the projector and viewed the blu ray movie which came along with the projector. With that movie, the modes sRGB, movie, presentation and bright all looked similar. But with our Darshan video, movie seemed a bit too reddish, with a slight excess of brightness over contrast. Presentation looked better, so currently have set it to presentation.

Tuesday, October 30, 2012

a brief descent into cell-phone purgatory

I had taken out my Airtel SIM card to try out radiosai using GPRS on an iphone and a windows mobile 5 phone. After putting it back into my HTC Wildfire Android phone, the phone started giving flash messages with junk characters at the rate of 3 messages every five minutes. The messages had two options - save or cancel. If saved, they were saved to the messages folder. The messages looked like this:
=¤¡$C@@$£Ã˜J9§AåΣ7¿L£$ùøÆch¿_¥
Λ¿Ã¨G
Q$ΦIΓ#OB@é(AR7kJM¥ jÆΨ3¡$d0
Z0yBIKù¡T9.f@éxaR4tF!+f
ò*i¿£Î”u
And when saved were seen to be from the number 4204.

Three messages every five minutes is too much to bear, right? Tried calling Airtel customer care. I did not know what exactly to ask them, I said junk characters are seen on my phone like a flash message. They said they will disable flash messages for my number. But the messages kept appearing. Went upto supervisor on Friday and Saturday. Still no respite - supervisor said that they are logging the issue, expect a resolution time of 48 hours. But till Tuesday, no respite.

The messages would stop at night after 9.30 or 10 pm and would start again the next day after 9 or 10 am. So I was led to believe this was some sort of message being sent by Airtel. But then I was wrong.

Finally thought of google - googled flash messages on airtel htc wildfire and found that these could be due to cell broadcast messages. Then googled disable cell broadcast htc wildfire and found this link which says Settings -> Call -> Other Call Settings -> Cell broadcast. But on my phone, it was in Settings -> Call -> Cell broadcast and was already disabled. I enabled it and then disabled it. And that resolved the issue!

recovering from rm *

V did an rm * on his system when trying to delete his Skype folder. Trying to recover deleted files from his Ubuntu Linux system with PhotoRec by booting with a Live CD.

We needed a root shell to go into the folder and run it - used sudo -i as given here.

Tried recovering from the unallocated space - 153,174,016 sectors - initially it estimated around 4 hours to completion. Actually took 8 hours. And it recovered 320,000 files in 600+ recovery folders! Digging out the actual files which were needed out of that mountain was another task, trying to use
find /folder/where/recovered/files/are -name '*ods'
didn't yield any results, probably open document spreadsheet files are not recognized as such by photorec and are saved as generic binary elf files?

Next step was a search within files for a known string contained within the file, like
find /folder/where/recovered/files/are -exec grep -l "Jaya Jaya" {} \;
But that takes a looong time, since there are many GBs of files. The idea is to do it in batches of a few thousand files. For eg. a search on saiwaves over 173 MB of 10 kB files - around 15,000 files -  took around 2 minutes.

Update: V says he proceeded in a semi-manual way. He used a tool 'search for files' which allowed him to search specifying file size limits and other parameters. He found that there are multiple copies of the same file (versions over time) which have been recovered. And he found that generally the files recovered which are in the same recovery folder were in the same folder to begin with. So he found some ods files with the 'contains string' method, and by opening them manually, found the latest version. mp3 files had their filenames stripped, but he was able to rename them back using an mp3 tagger tool. The whole process took him till 3 am to complete. He restored a backup he had made 15 days ago, and overwrote the files which he had modified over the last 15 days using the recovered files.

Thursday, October 25, 2012

gprs keep alive on Windows Mobile 5

Wanted to make my old Windows Mobile phone a usable internet radio. For that, gprs keep-alive was needed, since TCPMP by itself was not keeping the connection alive even when it was streaming. Instead of the $2 app, this registry hack did the trick.

[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections]

for the relevant connection (which connects over GPRS, I had named mine as Mo), switch the "AlwaysOn" value from 0 to 1. Then, one can manually stop the GPRS connection from the Connection Manager by turning Data off, but to connect one just needs to do some sort of network activity like make a phone call or something like that, after which it automatically connects and remains connected.

Wednesday, October 24, 2012

disabling a single page in apache

I wanted to disable a html page which had a lot of graphics on it when we were doing live video streaming from the same box. Did it by editing /etc/apache2/sites-available/default

Added a line
RedirectMatch path/to/the/file.html http://radiosai.org/tempUnavailable.html
and restarted Apache.
/etc/init.d/apache2 restart

Saturday, October 20, 2012

more adjustments to the mirrordome

More tweaking after my previous post about mirrordome adjustments in our Planetarium. The distortions of lines which should be vertical becoming slanting on the sides, and of spheres becoming oblate spheroids in projection, were all due to projector and mirror positioning. The default warp settings are for a setup like this, (as shown at Paul's website)

But our mirror and projector were much more angled, like this,


As a result of that, we needed to use keystone correction to make the image on the mirror rectangular in shape (instead of trapezoidal) as seen from the projector as in the somewhat exaggerated drawing below.


The projector and mirror do need to be tilted because ours is a tilted dome, but they should be aligned so that the image on the mirror is rectangular. As Paul pointed out, digital keystone correction reduces the effective number of pixels and so the clarity of the image suffers.

Taking a look at the Bangalore Planetarium as suggested by Paul, found that their Mitsubishi UD 8400 projector with the rated 6500 lumens ($10,000)was giving a much better image, not just in brighness, but also colour accuracy and focus. In comparison, our Optoma EP1080 is 3600 lumens. The pixelation, screen door effect etc was similar, but not so noticeable since their audience sits further away from the dome.

To be done: adjusting projector positioning and colour calibration for more improvements. Also can explore other projectors. Paul also mentioned the Optoma TH7500 (6000 lumens, $9,000) and the Optoma EH2060 (4000 lumens, $1,500) as a cost-effective alternative.

Friday, October 19, 2012

making our own internet radio

Thought this Raspberry Pi hack of a home-built wifi radio would be a good starting point for us to make our own low-cost internet radio for people to listen to radiosai. But then, the cost would be around Rs. 3,000, and for that price Mutant radios are available in the US during discounts. Also, the Raspberry Pi based device is a bit difficult to configure to use the home wifi access point for non-techies. Also, SK said that he has had discussions with a Hyderabad-based mobile-phone assembling company for making our own internet radio with SIM-based connectivity instead of wifi, which would be more usable etc.

Later, I made the following two documents for different options for connectivity:

Options for people in India - http://goo.gl/YO795


Options for people overseas - http://goo.gl/ShwuS

Technical details for connecting - http://goo.gl/GH1DM

(Even though internet radios are available in India, the prices are nearly double the prices in US. Hence, other devices are mentioned as options for people in India. The Logitech squeezebox, for eg. is $100 in the US, but Rs. 12,000 in India.)

Edit - another inexpensive web radio option explored here.

deleting all contacts on iphone

Easy way to do it for the console enthusiasts: just ssh into the phone, delete the files in /User/Library/AddressBook and then reboot.
Was let to it by this forum thread, which has the wrong path mentioned.

Thursday, October 18, 2012

how to use MTS dongle on android tablets

A reply to a query as the title suggests. For CDMA/EVDO dongles like MTS and Tata Photon, so this post seems to have the solution for rooted tablets.

Monday, October 15, 2012

more on typing in Hindi on Mac

In August, I'd passed on the following info to A, when he wanted an alternative to copy-pasting Hindi text from google transliterate for use in Google Docs and other apps:

Looking further for typing Devanagari on Mac, found this discussion,

Accordingly, there seems to be phonetic Hindi typing built-in on the Mac. It says,
activate the Devanagari Qwerty keyboard in system prefs/international/input menu and then select it in the "flag" menu at the top right of the Finder and type away.
The Mac Devanagari Qwerty keyboard is similar to the transliterate, but a little different, as described at this link.

To generate default conjuncts, type the first character followed by the Halant (also called Virama) key, then the next character. To generate explicit half-forms for alternative conjuncts, or independent half-forms, type the character followed by the Halant key and the Nukta key. To generate an "eyelash RA," type RA plus Nukta plus Halant. To generate a Nukta consonant, type the character plus Nukta. To prevent conjuncts, type two Halants.
Note that the Halant/Virama key is the D key on Devanagari keyboards and the F key on Devanagari-QWERTY keyboards. The Nukta key is the ] key on Devanagari keyboards and the Shift-F key on Devanagari-QWERTY keyboards. RA is the J key on Devanagari keyboards and the R key on Devanagari-QWERTY keyboards.

A tried it out, and used the "Show Keyboard layout" option to actually see all the keys. Pressing modifier keys like Alt, Command, Control and Shift and also combinations like Shift-Command etc are used for some of the letters. A bit more clunky than google transliterate, but more reproducible and accurate.

Later, A had a problem - the documents he produces in this manner were not compatible with CorelDraw which was being used by Ag on a Windows machine. So, A has to type on iLeap on a Windows machine for Ag's use. The issue seemed to be that of Unicode versus ISCII encoding. So I told hime the following:

The type of font used by google transliterate (and typing with Mac Hindi Qwerty keyboard selection) is called Unicode.

The type of font used by ileap and Coreldraw etc is called Type 1 font, or 8 bit Ascii font, or in the case of Indian letters, ISCII.

What you need is conversion of unicode to type 1 for Hindi fonts.

Such a tool seems to be available at this link where if you scroll down, you find a tool called Unidev which seems to do this Unicode to Ascii conversion. There also seems to be this php code, which could possibly be used to do something like the same conversion. There is also a quick and dirty fix, which probably may not work correctly for Hindi, which is suggested here, simply to use, in the Windows command prompt,
type unicode-file-name > ASCII-text-file-name


Wednesday, October 10, 2012

live video streaming options

Looking for options for streaming live video for more concurrent viewers than currently supported by our single dedicated server, found a nice guide to setting up wowza on AWS at
http://churchm.ag/how-to-build-a-live-stream-for-online-church-on-the-cheap/   Google Hangouts on Air had the problem that it did not work with firewire video inputs on MacOS.   We don't have Youtube live streaming partner status yet.   P wanted a way in which we could push the stream to our server using multiple connections for fail-safe operation. Did not find any such option which would work with our Wowza server.   Other options:

1. Hire from utream.tv
https://www.ustream.tv/ustream-pro/pricing

By paying $500, we can get 4000 viewer hours, which will be enough for 22/23 Nov.

2. Hire from justin.tv
http://www.justin.tv/payments/premium/

$400 for 3000 viewer hours.

3. Hire from livestream.com
http://new.livestream.com/broadcast-live/original-pricing-plans

$350 for 3000 viewer hours.

4. We can hire one more server from Voxel,

$180, and get 4000 GB of traffic. We will still be limited to around 1000 simulaneous viewers with this option.

5. We can hire from dacast.com,
http://www.dacast.com/streaming-pricing-plans.html

$170 and get 1000 GB traffic, or maybe even $100 for 500 GB traffic, with unlimited simultaneous viewers.

This seems a good option, since 22/23 Nov traffic is expected be < 1000 GB for video. Also, no hassles of setting up.

6. We can hire from Amazon Web Services,
http://www.wowza.com/pricing/ec2-streaming
http://aws.amazon.com/ec2/pricing//184-5034279-7838454/

with bandwidth charged at $0.12 per GB = $120 for 1000 GB. But we have to do some setup ourselves, and if traffic is high, set up additional instances etc. Difficult, in my opinion, since we will all be busy at that time.

For decision-making, our past statistics at
http://stream.radiosai.org/awstats/awstats.pl?config=wowza

would be useful. Especially the Feb (Shivaratri) & April (Samadhi day) stats.

Later, P added BitGravity which belongs to Tata as another option if we get good pricing, and also the unlimited new plan from livestream, for use all year round.

Monday, October 08, 2012

Korg nanokontrol problem - USB cable issue

The Korg NanoKontrol midi controller used for live recordings did not work at all despite many attempts at disconnecting and re-connecting. Had to use the mouse and trackpad. Some tips:

  • Hovering over a track and using the scrollwheel of the mouse will move the corresponding fader. Rotating the wheel slowly makes small changes, rotating the wheel fast makes large changes.
  • Clicking on a point on a fader causes the fader position to move to that point.
  • Multi-touch on the trackpad - two-finger slide is similar to rotating scrollwheel.

Tried out another USB cable - thankfully that made it work.

Wednesday, October 03, 2012

exporting video as a frame sequence

KMPlayer has an option. But did not seem to be working.
http://www.kmplayer.com/forums/showthread.php?t=8204
says that the latest version seems to do it.

Also
http://forum.doom9.org/archive/index.php/t-86818.html
says ffmpeg can do it.
From
http://ffmpeg.org/ffmpeg.html#Main-options
the -y option means overwrite without asking.

But simplest is Virtualdub,
http://www.samuelpean.com/how-convert-video-file-image-sequence/
showed the way using File -> Export -> Image Sequence.

In Virtualdubmod, the menu item is File -> Save image sequence

For exporting the video as an image sequence for tgawarper, I need not bother about aspect ratio - tgawarper will warp it anyway in the correct manner if the frame contains a fisheye view with no black edges.

Sunday, September 30, 2012

multiple calendars in iPhone Calendar App

A wanted to sync his calendar as well as the studio recording calendar on his iPhone, and asked me how this could be done. Googled it and found that apparently the procedure for multiple calendars is using Google Sync.
http://support.google.com/a/users/bin/answer.py?hl=en&answer=139206

The method for setting up Google Sync on an iPhone is given at
http://support.google.com/a/users/bin/answer.py?hl=en&answer=138740   But we didn't follow through with it, since his phone took a very long time to sync over spotty GPRS.

Saturday, September 29, 2012

javascript issues with 000webhost.com

Helping out someone on 000webhost.com which offers free web hosting, found that some javascript menus were just not working. The exact same page on another host was working. Then found that many people had trouble with 000webhost and javascript, as seen in this forum thread. Even disabling the analytics code did not help with the javascript menu, though other javascript code was running on that page. Finally worked around it by just not using the javascript part of the menu.

Friday, September 28, 2012

a post about not using Antivirus

This slashdot post seems to validate my stand about not using antivirus.

Best AV is almost as good as nothing at all
  The only thing AV provides is a false sense of security. With AV, you're waiting until AFTER an infection occurs and then HOPING the AV company you've chosen has A) seen the malware before, B) bothered to add a signature to their definitions list, and C) is actually capable of removing the virus.

Better ideas: Turning on AppLocker & running most of the time as an unprivileged user. Check out OSSEC for use as a File Integrity Monitor and Host-based Intrusion Detection System. Disable unnecessary services, remove unnecessary programs, use an ad-blocker, a "default deny all" firewall policy and get a 3rd party patch manager to keep all your non-MS bits up to date. Secunia PSI is a free patch manager/vuln scanner for home use - there are others.

For a detailed description of just how bad AV is at protecting systems, check out the blog post at computer-forensics.sans.org

Sunday, September 23, 2012

revisiting awstats - streaming audio stats

Had earlier configured awstats for analysing the streaming video logs from the Wowza server and for the web-server statistics on media.radiosai.org. Now added configuration for streaming audio - icecast log analysis.

Also made a change in the media.radiosai.org analysis conf, changed LogFormat from 4 to 1 so that user agents can be parsed.

For the icecast logs, just copied the web server analysis conf, and changed the following parameters:
LogFile
LogType
LogFormat
SiteDomain

Friday, September 21, 2012

"Listen now" page needing compatibility mode in IE

Many Internet Explorer users had trouble with our "Listen Now" page.

This link works with browsers which have flash plugin installed and javascript enabled, or with browsers which have HTML5 mp3 support like Safari on iPad/iPhone. But this link has problems with Internet Explorer on Win7 and above. Or perhaps the issue is with IE7 and above. On some machines, the page needs compatibility mode enabled in order for the audio to play. On some machines, the player does not display until the page is refreshed, even though the audio is heard.

We had not made much headway in solving this bug for the last one year. Then we sent this to a volunteer, who suggested the following links,

http://jplayer.org/latest/developer-guide/#jPlayer-option-ready

http://stackoverflow.com/questions/8661469/issue-with-multiple-instances-of-jplayer-in-ff-and-ie

The second link  refers to multiple instances, probably that is not our issue.


The first link  seems to be addressing our issue at the bottom of that page:
Internet Explorer 9 Beta (Win)
The Flash is disabled in jPlayer by default due to bugs with Flash's ExternalInterface in this browser.
The IE9 bugs listed there, and at places like here , here, and here seem to be the issue. We tried one of the workarounds mentioned on one of the posts, ie adding

!DOCTYPE html (within angle brackets)
to the top of the php page. That was not enough. Then our volunteer pointed us to this page, and accordingly we added the meta tag
http-equiv="X-UA-Compatible" content="IE=EmulateIE7"
to the top of the php page.

And that seemed to solve both the issues in IE, by forcing IE to use compatibility mode.

Wednesday, September 19, 2012

finding large attachments in gmail

P sent me this labnol link for using findbigmail to find and delete large attachments in gmail accounts. It uses IMAP and a temporary token to connect.

Edit: Jan 2021 - An easy way would be to use GMail's search - examples - 
has:attachment larger:10MB
has:attachment larger:10M
size:10M
etc.

Monday, September 17, 2012

side load apps on android

A sent me this makeuseof link, for downloading and installing apps on android devices which don't have the Google Play Store. The useful part of that article is the mention of the apk downloader chrome extension - a useful tool, though it breaks Google's terms of use.

Thursday, September 13, 2012

PHPlist - issues with spaces into words

Our Sai Inspires emails has had this problem for years - some random word(s) will have spaces introduced in them. Instead of 'message', for eg, it would be seen as 'mes sage' or something like that. Apparently this was due to the long message string, the MTA seems to put in a newline by itself. This problem was discussed here, but we did not implement it in our setup since PA thought copy-pasting the text separately would solve the issue. But of course, it did not, so PB implemented this solution now.
$htmlmessage = wordwrap($htmlmessage, 60, "\r\n");
in admin/sendemaillib.php @ line 634

Monday, September 03, 2012

connection issues and workaround - more notes

In my earlier post, I had mentioned restarting management services on Cyberoam as a workaround for connection issues with BUTT live audio streaming. This is of course a very crude kludge, P tried to make a better solution using Firewall rules a couple of days later, giving the TCP packets to the relevant ports to the relevant ip address a higher priority and guaranteed bandwith.

Unfortunately the problem persisted. A couple of weeks later, I had problems. Got disconnected many times in the evening during live. Reconnected within 10-15 seconds every time. My guess is that other usage was dropping the connection due to congestion - it was getting disconnected when Cyberoam shows the peak usage, upload.



I tried making some more firewall rules, by putting in a Bandwidth policy, Other_Usage, and putting it to the rule number 1 on cyberoam firewall rules, ie Any host to Any host all services accept. This bandwidth policy allows 100 kbps guaranteed, 4 Mbps burstable, but with priority 2. The live streaming rules have priority 0 as P had created.

Even this did not solve the problem, sometimes even now there are connection issues when there is a lot of video streaming (youtube etc) traffic from Studio. Probably using only essential services and not doing bandwidth hungry tasks during the live times would be the solution.

Sunday, September 02, 2012

projectors in Mandir

Today the permanently installed projectors in Mandir were inaugurated. They are 17000 lumen Panasonic projectors, PT-DW17KU. Unfortunately, due to suspected ground loops in the signal, the live mix could not be displayed during the evening program. Long cable run and lack of isolation from the audio console which uses a different line for AC power might be possible causes.

Radiosai Playlist emails

P made a change to the accessdb2/display_playlist.php file to make it show an editable text file - he now edits the AsiaStream playlist email before sending in the case of Thursday, to accommodate the live broadcast during the day.

Tuesday, August 28, 2012

filing income tax return online - extra notes

In my earlier post, I had outlined how I filed my income tax return online. After uploading the xml file, I got the pdf file as expected, in my radiosai.org email id which is hosted using Google Apps for Domains. This was from donotreply@incometaxindiaefiling.gov.in and was a zipped pdf file. After mailing it by ordinary post, I got an acknowledgement email after 10 days or so, from intimations@cpc.gov.in with a password protected pdf file as an attachment. Unfortunately, the pdf was corrupted, and was not readable using Foxit Reader 3.0 or the latest Adobe Reader. I dashed off an email to ask@incometaxindia.gov.in and they replied asking me to "please contact us at 0124-2438000 or 1800-180-1961 (Toll Free)." Tried calling the tollfree number, they redirected me to the CPC (Centralised Processing Centre), a Bangalore number with 080 STD code. Since the website incometaxindiaefiling.gov.in had a section showing this acknowledgement, I thought perhaps I need not have a copy of the pdf, so I did not follow up.

A month or so later, now, I have received "Intimation U/S 143(1)" from the same intimations@cpc.gov.in - again a password protected pdf as an attachment, again corrupted. This time I contacted CPC using their new tollfree number 1800 425 2229. The agent told me that their system had problems with some mail servers, and that yahoo and rediffmail accounts are known to work. He said that if I changed my email on the website at My Account -> Update Phone/Email and then call back after 4 days, they can resend the email. After changing to my rediffmail account, called them back, and this time the password-protected pdf mail attachment opens fine. So they have some issues with the mail server at cpc.gov.in, my guess is that with the digitally signed pdf, something non-standard is happening with the MIME encoding.

Sunday, August 26, 2012

TCP/IP stack repair

P had a laptop brought to him for troubleshooting, it was not connecting to the LAN or the internet using either the ethernet port or Wifi. Suggested that he try with a Linux live CD to rule out hardware problems, and that if hardware issues were ruled out, it might be some sort of driver issue with Windows. The next day, he got back to me with the solution.

Your guess was right. Had to do a TCP/IP stack repair to resolve the connection issue.


Followed the steps given here :
http://forums.techguy.org/windows-7/1037173-unable-connect-internet-identifying-network.html

TCP/IP stack repair options for use with Vista or 7.

Start - All Programs - Accessories and right click on Command Prompt, select "Run as Administrator" to open a command prompt.

Reset WINSOCK entries to installation defaults: netsh winsock reset catalog


Reset IPv4 TCP/IP stack to installation defaults: netsh int ipv4 reset reset.log

Reset IPv6 TCP/IP stack to installation defaults: netsh int ipv6 reset reset.log

Reboot the machine.

Tuesday, August 14, 2012

cost effective planetarium mirrordome projection

Tried out a Blu-Ray player, Sony BDP S 190 for projection for our mirror-dome. Got more clarity on the dome over our earlier VGA output method. Most probably the improvement is due to the blurring in the earlier VGA signal due to the cable length, while the Blu Ray player uses HDMI, and hence an all-digital signal path.

In case someone is interested in using this technique for "pre-warped" mirrordome projection, it is extremely cost-effective. Create the shows, warp as desired, put them on Blu-Ray or USB mem stick, no computer needed for playout.

Sunday, August 05, 2012

removing background from drawing or line art

I was requested to put in some drawings onto a website in such a way that the background image of the website showed through. At first I thought I needed to make jpgs with similar region of background, but this led to seams being visible at the edges of the jpg since the background was complex and not a single colour. Finally settled on png files with transparency.

For getting the line drawings to that state, first I thought about converting to vector format. Explored vectormagic.com but found that the free online version was too low res for my needs. Then came across this post - I needn't go the vector way, since the images I had were higher resolution than what I needed for the website. So, just used Select -> Color Range in Gimp, was able to select the line art alone without the white background, was able to paste it into a new transparent layer in Gimp, and could proceed from there.

sms spam on Airtel

I've started getting some SMS spam on my Airtel number. As pointed out by Prasanto, I've logged a complaint with Airtel, (or the last link at this page)  after getting my DND registration number by smsing MY DND to 1909.

Tuesday, July 31, 2012

long filename problems

One of our filenames was too long, and probably because of that, had multiple entries in the website database. Renamed it on the servers, changed database entries to reflect the shorter name.

one more bug

I'd listed some bugs in the MFD in my last post, and had posted about Mac OS X Lion's flawed SMB implementation. P contributes one more:
Yesterday we were trying to take a print in Landscape from a Mac computer through Libre office app to the new HP printer. There was no option to change the orientation from Portrait to Landscape. Did a bit of google and found this workaround.


The solution is to use TextEdit to change the orientation, save it (like A4 Landscape) an then use it with other apps. While using the TextEdit to change the orientation, keep all other apps closed to enable it later to pick the new printer settings.

labour-saving with ADF

The Studio recently got a multi-function device (MFD) - the scanner - copier - network printer HP MFP 400 series M425 and I had the pleasure of using the automatic document feeder (ADF) for scanning a book. The job which would have taken me around 20 minutes per page of typing - 50 hours - or at least 10 hours of scanning and OCR using my old flatbed scanner, was over in just 1 hour. Proof-reading for corrections took another 5 hours or so for the 150 page Octavo sized book.

Just a word about this particular MFD - the driver software is quite buggy. Noticed so far:
  1. Printing from Windows, there seems to be no way to over-ride the printing on both sides of the paper. Even though the single-side printing is chosen in the print dialog box, printer prints on both sides. While printing from Mac, this issue is not seen.
  2. Scanning with OCR - when done with 'Greyscale' mode and scanning of both sides of the paper is chosen, scanning fails after the first side with an error. Probably the scanning of both sides of the paper with ADF is supported only in 'Black and White' mode.
  3. Device doesn't respond when it is in power-saving mode. Have to remove paper or do something to make the printer "wake up" after which it responds to print (or scan) commands from the network.
  4. Printer is very sensitive to paper jams. The earlier MFD in the Studio was able to print on a wide variety of paper, even thin paper. This one is finicky, jams with paper thinner than "copier paper".

Wednesday, July 25, 2012

manual changes to schedule page

P contributed this nugget - he manually edited the csv file to create an entry into Thursday's schedule, with the description having a link to the live schedule page. The filename could be fictitious, since the downloadable and streamable flags were set to zero.

Friday, July 20, 2012

procedure for UPS turn on and off

The  APC SmartUPS RT 5000 which was lent to Planetarium by P has some slightly unintuitive on-off procedure.

When there is mains power:
Switch on - First switch on input power, if not already on. Wait for 10 seconds or so for various relays to click, with the fan spinning up immediately. Only then press the ON button, for output to appear.

When there is no mains power:

Switch on - If the inverter and fans are off, first press (and release) ON button to start the fans spinning. After 5 seconds, keep ON button pressed till it emits a long beep after 4 seconds or so. Release the ON button during the long beep in order to cold start UPS output.

Switch off - Pressing the OFF button just stops the output - doesn't stop charging or the fans. There doesn't seem to be any way of turning off the fans when the UPS is connected to power - probably the charging circuits need the fans. So, if you want the UPS to be quiet and the fans switched off, you need to switch off inputs mains AC power, then long press the OFF button for completely switching off.

Tuesday, July 17, 2012

smb issues on Mac OS X Lion

P reported that on the machines which he upgraded to Mac OS X Lion, password-less access to guest SMB shares was no longer happening.

According to this page,
http://donmorris.com/on/smb-and-mac-os-x-lion
Lion dropped support for SMB1 and supports only SMB2. Maybe this is the reason?

This thread describes the same problem - guest user not working.

More discussions on this topic....

Finally, P got it working with SMBup. A much more elegant solution than installing Xcode and installing samba via macports etc etc.

Saturday, July 14, 2012

projector upgrade

A conversation with AB led to some research on possible projector upgrades for the Planetarium. Our current projector has around 2 megapixel count. For doubling the resolution, currently the only projector seen is this Sony 4k projector which costs 20 times as much as our projector. Even if we get our hands on that projector, it does not have the ability to focus at the distances we want.


And then there are the dedicated planetarium projectors, which give really good displays, but which cost in crores, like this one at page 11/13.
 
Some more projector info came from the E&S page - which gave info about this JVC model and searching for that one led to this one for "just" $8K. And a review too.

Friday, July 13, 2012

screen capture with video annotation​s

There was a conversation by email regarding this. S asked the question, K replied.

The question:
Have you used any screen capture s/w other than camstudio.. camstudio is great but its video annotation feature doesnt work..so while creating a video tutorial, if i want the webcam to also show my face in a small window in a corner of the screen, the video annotations under tools menu is supposed to work..but for some reason doesn't...

The answer:
I am assuming you are using the free version from techsmith called Camstudio. There is a commercial version called Camtasia Studio. I am currently using version 3.0 in my office.


Camtasia (the commercial version) is by far one of the best tools for screen recording. Is there a specific reason you want full motion video captured via your webcam? The reason I am asking is this:

Screen recording is done at a much lower frame rate than full motion video. A typical camtasia recording will be at 5 frames per second while full motion video is 25 frames per second. Even the 5 frames per second is further reduced when the recording tool detects that there has been no change to the screen for more than 5 seconds. I would suggest not using a built in webcam recording unless absolutely essential.

These are some good alternatives I have tried:

ViewletCam (http://www.qarbon.co.in/presentation-software/viewletcam/) - Affordable and excellent after sales service.

Adobe Presenter (Powerpoint specific). 
Adobe Captivate - Generic elearning authoring tool from Adobe. This not as good as Camtasia Studio or Viewletcam. It is known to be buggy and I have had issues with rendering after a successful recording. It fails to detect changes in the screen and hence misses out some important activity on the screen.

Wednesday, June 27, 2012

fades to trims

After watching a fulldome show of Space Opera where the sequences were cropped using Trim in avisynth, found the abrupt cut transitions were too jarring in most cases. So, added 5 frame fades, like below:

FadeIO0(Trim(mix,73200,73220),5) ++ \
FadeIO0(Trim(mix,73457,73477),5) ++ \
FadeIO0(Trim(mix,4621,57424),5) ++ \
FadeIO0(Trim(mix,58301,59714),5) ++ \
FadeIO0(Trim(mix,60757,68115) ,5)
# FadeIO0 does the fade without adding any black frame at the begin or end.

While doing the export from avs to avi in Virtualdub, a virtualdub audio filter is required for this show, to reduce gain by 50%, as below.

Monday, June 18, 2012

filing income tax return online

Filing the income tax return is seen with trepidation by many (most?) people. Some of the pain associated with it can be reduced by knowing more about the process. Encouraged by this post by a colleague, I decided to try and file my own return this year. Keeping at hand income statement, investment and other transaction history, LIC and other receipts, PAN numbers of all entities, etc. is of course necessary, so I invested in a (physical) folder to keep all the papers in one place. Even after doing so, I was initially stumped while entering the numbers - the deductions need to be grouped according to section! (Section of the IT Act).

Some googling + a couple of phone calls solved the questions in my mind.

If I have to mention losses like short term capital loss - investing in a fund and then redeeming it at a loss during the financial year - then I have to use not the ITR1 form, but the ITR2 form.
https://incometaxindiaefiling.gov.in/portal/individual_huf.do

LIC premia for simple life insurance come under 80C, Health Insurance premia under 80D, Infrastructure bonds under 80CCF
http://www.licindia.in/tax_benefit.htm

Specific LIC schemes come under 80CCC - specifically mentioned in the premia receipts.

Tax saving mutual funds come under 80C, as mentioned in the mutual fund transaction statement.

SSSIHL donations come under "100% deduction without qualifying limit" in the 80G section since universities come under this ambit,
http://yourownadviser.com/articles/article_65_27-nov-2011

Now there may be misconceptions or errors in this post - in case you notice any, please let me know in the comments or by email to hn_88 at rediffmail dot com

Saturday, June 16, 2012

back to Linux on the Toshiba AC100

Have gone back to Linux on the Toshiba AC100 since it is probably of more use that way as a general purpose machine. After installing the proprietary NVidia driver, which is supposed to be required for HDMI out, found that suspend / hibernate don't work any more. The system does not come out of suspend - no display. Battery life seems to be only 4 hours now. Not sure if this is due to Linux or due to lessening of life over the last few months.

Thursday, June 14, 2012

escaping quotes in php

The TFD folks had trouble entering the TFD - they had copy-pasted the TFD into the data entry form which uses php, and on submitting it, got errors like
Warning: odbc_exec() [function.odbc-exec]: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression ''In spiritual matters // snip

Guessed that this was due to unescaped quotes. Asked him to manually remove the quotes before submitting. It worked. But he was again stumped by an apostrophe which again caused hiccups. Checked with P and he changed the code from

//$singlequote= "\'";

//$replace_singlequote= "''";
//$messageposted = str_replace($singlequote,$replace_singlequote,$messageposted);

and so on to

messageposted = htmlspecialchars($messageposted);

Tuesday, June 12, 2012

connection issues and workaround

At times when starting the live audio broadcast with BUTT, it is unable to connect to the streaming server immediately, and shows "Connecting..." for even as long as 2-3 minutes. Found a workaround - Restart management services on Cyberoam just before starting the stream. Why does this happen, and only in the evenings and not in the mornings? My feeling is, looking at the usage graphs on Cyberoam, that Cyberoam has too much traffic in the evenings, and doing the restart bounces off some of the excess traffic like streaming video and the like.


Monday, June 11, 2012

MNP - Mobile Number Porting experiences

Starting last year, Indians could change their mobile service providers without changing their mobile numbers. I had been a happy Airtel customer for around nine years, so I thought I need not port my number. But then a series of events made me change my mind. Airtel started asking me for ID proof documents repeatedly over a period of months, even after the ID proof documents were submitted. Tata Docomo had some nice plans and some of my colleagues shifted to Docomo. So, I ported my number from Airtel to Docomo.

That first port went off without a hitch. The only issue was, Tata Docomo had poor connectivity near the Planetarium, and no signal inside the building. This was clearly not acceptable, so I had to port again.  I thought I would give Vodafone a try, since Airtel was so ornery about my ID proof. For the mandatory 3 month waiting period between ports, I had to set up call forwarding so that calls to my number would be forwarded to my secondary mobile whenever the first one was out of range, ie. I was inside the building. Thus, I came to port my number for the second time, Tata Docomo to Vodafone.

Vodafone had coverage at the places I wanted, but.... no conference calling for pre-paid customers in AP! Also, the network quality was not as good, with voice drops etc, and the need to go to the lobby to answer calls to get a better signal. So I had to port again, especially since call conferencing is so much a requirement for me. Running out of options, I was going back to Airtel.

But now the porting process did not go smoothly. Each time a port request is made, the incumbent service provider calls up the customer to try to persuade him not to leave. The Vodafone rep gave me false information, that conference calling has been enabled "just last week". Still, I said I wish to port. But the porting did not happen. My local dealer, who was doing all the SIM card work for me, told me that this had happened to two other customers of his also, when they ported away from Vodafone - the Vodafone rep denies the porting request saying, "Customer cancelled port request"!

On the dealer's advice, tried another port request, with the same SIM, without submitting fresh documents. That did not go through. Calls to Airtel customer care indicated that the port was "in process", meaning that documents were awaited. Each of these port requests took two weeks, with a wait time of 7 days for the port to work under normal conditions, and a two week wait for a fresh porting code.

So, tried a port once again, with the same SIM, but with one more copy of ID proof documents. This time, the port went through. The Voda SIM stopped connecting to the Voda network, inserting the Airtel SIM connected to Airtel network. But.... no outgoing calls, and incoming calls were getting the message, "This number is blocked."

The dealer said that it would be resolved in one day. But since this is not normal behaviour, I called up Airtel customer care. The first level support agent said, "Everything is fine at our end". But I was not able to recharge, not able to get or make calls! So, I asked the call to be escalated. Second level support said, "Please call 123 (customer service IVR) and set your language preference there, that should solve the issue". And it did! So, finally, I am back with Airtel, which has a superior network in this part of the world.

Monday, June 04, 2012

more on overlay

After my earlier post on using AviSynth and virtualdub to create an overlaid video, found that the framerate of the clips had been wrong. The first version of the script had
bg=Imagesource("bk3.jpg", end = 16200, fps=30, use_DevIL=true)
top = BicubicResize(Crop(DirectShowSource("1.mp4"),40,6,-36,-4),320,240,0,0.75)

audio=DirectShowSource("1.mp4")
video1=Audiodub(Overlay(bg, top, 834, 771), audio)

Overlay uses the background clip's length to create the framerate. In this case, the clip used for "top" became speeded up.
So, modified the script, and also took into account that some of the clips were PAL and some NTSC - converted the PAL to NTSC using Bob and Weave using the recipe given here.

bg1=Imagesource("bk3.jpg", end = 15732, fps=30)

# changed the number of frames here
top = BicubicResize(Crop(DirectShowSource("1.mp4"),40,6,-36,-4),320,240,0,0.75)
audio=DirectShowSource("1.mp4")
video1=Audiodub(Overlay(bg1, top, 834, 771), audio)
# this was NTSC video, did not have to change framerate

 
bg2=Imagesource("bk3.jpg", end = 17264, fps=30)
# changed the number of frames here to match number of frames
#  in 30 fps version of ntscvid2 below

palvid2=DirectShowSource("2.mp4")
palvid2=Bob(palvid2) # Separate fields and interpolate them to full height.
palvid2 = ChangeFPS(palvid2, 60000, 1001)
# Convert field rate to NTSC, by duplicating fields.


palvid2 = SeparateFields(palvid2)
palvid2 = SelectEvery(palvid2,4,0,3)
# Undo Bob, even field first. Use SelectEvery(4,1,2) for odd field first.
ntscvid2= Weave(palvid2)
top2 = BicubicResize(ntscvid2,320,240,0,0.75)
audio2=DirectShowSource("2.mp4")
video2=Audiodub(Overlay(bg2, top2, 834, 771), audio2)

# and so on

Sunday, June 03, 2012

recovering a Windows XP laptop

V's Windows XP laptop - this old Acer machine, repurposed as an internet radio player - was not booting. Not even in safe mode command prompt only. As recommended by PB, tried booting from Windows XP boot disk, recovery console. That worked. Then tried chkdsk in recovery console, rebooted, chose "Last known good configuration", worked fine.

Did a Scandisk thorough after that also, just to be safe. Seems to work fine now.

abandoned attempts to play shows on Toshiba AC100

With mvideoplayer app on the Toshiba AC100, was able to play files sequentially from a folder - that seemed to be its playlist functionality as mentioned briefly earlier. With that, tried to play today's Planetarium show using the Toshiba AC100. Made multiple copies of the intro avi files in each relevant folder using hard links, with the SD card formatted as ext3 on Linux to save space on the SD card.
ln /full/path/to/sourcefile /full/path/to/destinationfile
And so on.

Unfortunately, when the video stutters a bit - and the Toshiba has that problem, with a few frame drops here and there - the HDMI input on the projector blacks out for 5 seconds or so. This happened 2-3 times during the show. Clearly this is unacceptable, so gave up playing Planetarium shows on the Toshiba AC100 for now.

The HDMI input does make a difference, with the video being much crisper than with the VGA output from the laptop. Maybe a standalone HD player might work out.

Saturday, June 02, 2012

importing files without playing them - revisited

After I had used this technique, we have made some changes, ie. adding DiscourseStream to the mkcsv scripts, with AsiaStar being dropped. So, had to do an additional step of creating some dummy records for DiscourseStream - finding the fileid 695 for bcid 1314 (Signature tune for AsiaStar), changing it to bcid 9 (DiscourseStream) and changing the time from 6.30 am IST to 7.00 am IST (changeover time for DiscourseStream). Then changing bcid for a couple more dummy records which have timestamp after 7 am. This way, imported a lot of files like Polish Veda Pushpanjali, Satyopanishad in Mandarin, etc to our audio archive / audio search.

avisynth and virtualdub redux

Last time I had used a transform in virtualdub in order to create a video with predominantly white background and a window with a slideshow. This time, did all the processing in avisynth and used virtualdub only to save as avi. Used virtualdub's audio filters for the first time, and had to see this article in order to make them work - we need to add the input and output filters in addition to any other filter we add, and then link them together in a meaningful way.

The main avisynth filter I used was Overlay. Also, Crop to remove unnecessary black bars from one of the videos. The script is as follows, concatenating together three videos with a background pic which has a nice frame on a predominantly white background, as below.

top = BicubicResize(Crop(DirectShowSource("1.mp4"),40,6,-36,-4),320,240,0,0.75)
audio=DirectShowSource("1.mp4")
video1=Audiodub(Overlay(bg, top, 834, 771), audio)

top2 = BicubicResize(DirectShowSource("2.mp4"),320,240,0,0.75)
audio2=DirectShowSource("2.mp4")
video2=Audiodub(Overlay(bg, top2, 834, 771), audio2)

top3 = BicubicResize(DirectShowSource("3.mp4"),320,240,0,0.75)
audio3=DirectShowSource("3.mp4")
video3=Audiodub(Overlay(bg, top3, 834, 771), audio3)

video1 ++ video2 ++ video3

Tuesday, May 29, 2012

extracting audio from DVD

The older post on this topic mentioned DVD Decrypter and others. This time, for some reason, that method did not work. Perhaps because of some mistake in the sequence of steps, I suppose, the resulting file was a VOB file and not an mp2 file. Anyway, the file was not being opened by any of the AC3 decoding methods like WinAmp plugin etc.

So, this time, I tried just copied the VOB files to the hard disk and opening them with VirtualDubMod, extracting the audio stream using Streams -> Stream List -> Save wav. That wav was opened using Soundforge, using AC3 codec. Slightly buggy, since each VOB file's wav data had the duration info of the entire program chain, and so had some sort of repeating audio after the first 25 minutes or so which had to be cut out. But otherwise OK.

Sunday, May 20, 2012

installing Perl module on dreamhost

K wanted me to include mp3 tags on the downloads at dl.radiosai.org. Googled installing Perl Module without root access, and found lots of people doing it, so went on to install MP3::Tag module without root access.

First I tried the procedure at
http://perl.jonallen.info/writing/articles/install-perl-modules-without-root
but the perl process kept getting killed as given at
http://wiki.dreamhost.com/Killed

Dreamhost recommends installing via the CPAN command, as given at
http://wiki.dreamhost.com/CPAN
and then the process doesn't get killed.

But the wiki had some bugs. Got errors like

Cannot gzopen $ENV{HOME}/.cpan/sources/authors etc. Googled it and found
http://discussion.dreamhost.com/thread-87436.html
where the user k2S explains that he did two things differently from the wiki page
http://wiki.dreamhost.com/CPAN
that is

**don't forget to add the suggested lines into your '~/.bash_profile' - that is, not ~/.profile
 ** test command 'echo $PERL5LIB', it should return the correct path

* *I had to edit also ~/.cpan/CPAN/MyConfig.pm and replace all '$ENV{HOME}' with the correct path

Once I did this, the install worked fine, with perl -MMP3::Tag -e 1 not returning any errors.
 (I had actually done the manual config of the MyConfig.pm  as given in the wiki, too.)

After the module installation, some trial scripts still gave errors. Trying out a basic script from

http://search.cpan.org/~ilyaz/MP3-Tag-0.9709/Tag.pm
got errors like
Can't call method "get_tags" on an undefined value

Found this explanation, that it is because the file has no tag to begin with:
http://www.linuxquestions.org/questions/programming-9/cant-call-method-title-on-undefined-title-in-perl-script-396858/

Then tried tagging the file with no tag to start with, and got errors like:
Can't call method "new_tag" on unblessed reference at ./mp3tagger.pl line 6.

Problem was - the filename has to have the full path, and not start with ~/
Once that was done, the script worked. Now to work out some sort of tagging scheme, after which the tagging can be done.

Friday, May 18, 2012

Cyberoam and ftps

The guys at the studio had some trouble connecting to secure ftp. Their newly commissioned server would accept connections only over secure FTP on port 21, as below,
I was able to connect from BSNL network as well as from the Planetarium. But when they tried from the studio, they were getting timed out at "Initializing TLS". I replied with the following:
When the connection is initialized, a dialog box pops up, talking about the certificate, and whether we want to accept the certificate - attached. Only after you say yes does it connect. So, there are several possibilities - either your machine is not getting the certificate due to cyberoam, or somewhere in settings you have set it to not ask, or deny the certificate.

My guess is cyberoam. Cyberoam is set to proxy ftp connections. So, ftps may need some settings. You may want to ask the cyberoam support about this.
http://kb.cyberoam.com/print.asp?id=36&Lang=1&SID=

"Cyberoam parses SSL handshake (SSLv2, SSLv3, and TLS) and extracts “Common Name” (CN) from the certificate. It applies control filters on common name. Based on the outcome of filters, user is either served the page or the connection is terminated."

So probably somewhere in cyberoam you will need to add the certificate of this server, saying accept this certificate. Only then, I am guessing, will cyberoam connect to the server....
They contacted cyberoam support, and as per their recommendation added a MASQ rule so that this connection goes directly instead of through cyberoam's transparent proxy. Then it worked fine.
 

Wednesday, May 16, 2012

Prayaya

A sent me this link,
http://en.prayaya.com/index.html
for software which can create a portable subset of your desktop with the software you need, which you can then run from USB key or other portable storage on any Windows computer. Basically making any app portable. Interesting concept.

Wednesday, May 09, 2012

Google Sky Map

I remember seeing a device on Amazon.com which you could point to the sky, and it would label the objects seen. Now, an app - free to boot - does the same job. Google Sky Map.