Mostly work related stuff which I would've entered into my "Log book". Instead of hosting it on an intranet site, outsourcing the hosting to blogger!
Wednesday, October 29, 2008
posting from the iBook
Edit: Since the IE5 on the iBook was not displaying the edit toolbar on Blogger, had to log in again on the PC to add the links. Will be installing better browsers soon.
Audition 3 mixer monitoring problem
Saturday, October 25, 2008
Adobe Audition 3
Tuesday, October 21, 2008
text find and replace replace
Saturday, October 18, 2008
problem booting saispace2
Friday, October 17, 2008
exploring video streaming hosting options
Bypass Gmail Spam filter
Thursday, October 16, 2008
chrome application shortcut
Search and Replace
multiple recorders in Nero
Wednesday, October 15, 2008
videos on the iBook
Tuesday, October 14, 2008
find out which files are opened by a process
INFO: The system global flag 'maintain objects list' needs to be enabled to seeUnfortunately Openfiles /? does not give the solution so easily. Found it by googling at ExpertsExchange - The actual answer is more easily given by Openfiles /Local /? which is
local opened files. See Openfiles /? for more information.
The condition requiring a restart, and the performance overhead, means that we should go with ProcessExplorer....
OPENFILES /Local [ ON | OFF ]
Description:
Enables an administrator to enable or disable the system global flag
'maintain objects list' which tracks local file handles. Changes made
by this switch will take effect only after restarting the system.
Note: Enabling this flag adds performance overhead.
Examples:
OPENFILES /Local
OPENFILES /Local ON
OPENFILES /Local OFF
In Process Explorer, there is a Findmenu item. Using that, just give the substring you want to search for. No wildcards. Just substring. If you want to see any file ending with .mp3, should not give *.mp3, just .mp3. And so on.
new feature in Listen Now
Sunday, October 12, 2008
Data entry techniques on the PocketPC
- Transcriber - recognizes natural handwriting if written neatly.
- Block Recognizer - similar to Palm's Graffiti.
- Letter recognizer - supposed to recognize individual letters entered into a part of the screen
- Onscreen keyboard
This is a test of handwriting recognition where I will keep writing till it stops recognizing stuff. With this thing I can write pretty fast, but not very accurately. If I have to write with this. T,cs the time takento write neatly and then correct it waltz the effort? Or is typing with the virtual keyboard a better choice? Only timee tests will tell. But fol the moment, Tim trying it out.worth thePlncbablly it will recognizeProbablyI have to write very legibly otherwise it will recognize junk.
Using the onscreen keyboard:
This may be much slower, but less error-prone. And the suggestions also save time.
The quick brown fox jumped over the lazy dog. 40 sec. With keyboard.
The quick brown fox jumped over the lazy dog. 45 sec with transcriber after correcting with kb.
The quick brown fox jumped over the lazy dog. 42 sec. With block recognizer, many errors as I'm out of practice.
The qulck bkown fox jumpag oock tha lnzy boa 37seconds wltth eefceh necoynlzer. (letter recognizer)
The quick brown fox jumped over the lazy dog.
28 seconds with transcriber! Result of writing neatly.
Of course, now when I'm entering this into the blog, I remember that the phrase is actually "The quick brown fox jumps over the lazy dog." Jumps, not jumped.
speeds of various flash memory devices
Transcend 8 GB JF220 - 20 sec write, 5 sec read. 40 Mbps w / 160 Mbps r.
Sandisk 1 GB - 20 sec write, 8 sec read. 40 Mbps w /100 Mbps r.
Kingston 512 MB SD-card - 35 sec write, 14 sec read. 23 Mbps w / 57 Mbps read.
Not a very scientific test, since just transferring the 100 MB file from one hard disk to another took 7 sec - the hard disk speeds probably interfere with the results above. But gives a rough idea.
At a time, the Transcend cannot record more than 2 mono audio tracks at 16 bit 44.1 kHz from Cubase - trying to add any more results in buffer underrun and Cubase stops recording. That's just 1.4 Mbps. Relatively, then, the SD-card with a card reader can probably not handle more than one mono audio track at a time while recording.
The unbranded All-in-One card reader I have also has some issues. Twice it caused the drive to vanish while reading the 100 MB file from the SD-card - power over USB cable issue, most probably. Connected it to another USB slot, checked with scandisk and found no errors, copied OK.
more software for the PocketPC
Friday, October 10, 2008
tweaking analog referer reports
REFFLOOR 1000s
#list only those with more than 1000 ref in last 7 days
REFREPEXCLUDE http://mail.google.com/*
REFREPEXCLUDE http://*mail*
REFREPEXCLUDE http://sss.sssbpt.org/sssbpt/?p=confirm&uid*
Sunday, October 05, 2008
e-commerce
Recording Yagnam chants
Wednesday, October 01, 2008
burnt fingers with IMAP
- His total email size is going to be more than 4 GB, and according to Murphy's law, he will probably be still on FAT32, so will crash when that happens.
- Archiving to DVD and deleting old mbox files will probably cause catastrophe with IMAP - won't that delete files on the server?
Sunday, September 28, 2008
fixed stuck ups button
Friday, September 26, 2008
DKU-5 cable installation problem
http://www.susteen.com/support/kb_answers.asp?QuestionId=34
Reasons could be:
1. Phone not supported by cable.
2. No proper driver installed.
3. Cable/phone may be damaged
DKU-5 seems to be compatible with 6070. Checking it out, found that the driver had an issue - Device manager showed that the USB-UART driver had problems.
While reinstalling the driver from driver CD, error message is "name already in use as service name". Uninstalled PC Suite and tried, still no go.
Uninstalled PC Suite, booted safe mode, removed all instances, rebooted safe mode, checked no instances of USB-UART, still the problem persisted.
Some people report that the driver which came with their CD was not working, they downloaded a driver from the manufacturer's website and that worked. But in this case, googling "USB World Technology Inc" gave a driver from driverguide.com which seems to be identical to the one in the CD.
Then, following the tip at linksys forum checked C:\WINDOWS\setupapi.log. It referred to the service "Serenum". Searched with regedit, found the keys, but could not delete them: it says "Unable to delete all specified values". So, stuck till some solution for this is found.
Sunday, September 21, 2008
nice web 2.0 site
capturing from video conferencing system
Tried connecting to the box using NetMeeting, since it supports H.323 and SIP. NetMeeting only got us 320x240 video with 10fps or so.
Have to try Mizuphone SIP client next, running a local SIP server.
Thursday, September 04, 2008
freeing up space in C: on saispace2
Monday, August 25, 2008
<preset name="96 k mono">
<comment>
96 kbps cbr mono.
Command line used: "-b 96 -m m" (maybe)
</comment>
<value name="lameNumberChannels">1</value>
<value name="lameBitrate">96</value>
<value name="lameCBR">1</value>
<value name="hideLameSettings">1</value>
</preset>
Edit (Jan 12 2009): Move this to the top of the presets list in the xml file to make it the default...
Saturday, August 23, 2008
loose contact with line driver card?
Sunday, August 17, 2008
System troubles at Space
And today, just when WB youth arrived for their show, the Star-Ball lamp blew. First replacement also seemed to be bad. Only after they left (showing them "Love is My Form" video instead) and we tried another lamp lying on the table, it worked! So we're down to our last replacement lamp....
Saturday, August 09, 2008
IRDA transfers
Tuesday, August 05, 2008
Using Transcend JF220 with Linux
In order to use it with Linux and the iBook, had to run through some hoops because of its integrated finger-print reader. First, tried the partitioning techniques suggested in places like here, but fdisk on linux just showed the drive as having 10 MB. Learned that this was the "public" partition, and that I would have to repartition the drive's "public" and "private" areas using the Repartition tool given on CD, which works only on Windows. And for that to work, I have to go through a Wizard and submit my fingerprint! Struggled for a while with the fingerprint, since the sensor seemed to be sensitive to orientation (or maybe my finger-prints are not well-defined). Got through after 10-20 tries. After the repartition, when I made the "private" area the minimum possible 50 MB and the rest as "public", the iBook and Linux recognize the 7.5 GB space in the drive without any problem.
Now I have to try the Windows method of disabling auto-insert notification to prevent the fingerprint software from running in Windows. Unfortunately, the Win98 method doesn't work with XP. The fingerprint stuff is in a partition which is recognised as a CD-ROM - formatted cdfs. Can't even remove it.
Edit: Did the autoplay disabling with the Group Policy method mentioned here and as a comment here.
New toy - Toshiba e400 PocketPC
Intel PXA261 @ 300 MHz.
64 MB RAM, 16 MB ROM.
SD-card slot (512 MB card loaded).
16 bit colour TFT 240 x 320 pixels, 3.5 inches.
Microsoft PocketPC Ver. 4.20.1081 (2003, I think).
Here are the usage notes.
- Removing the SD-card - According to the manual, you must shut off the PocketPC before removing the SD card. Also, in my experience, to prevent File Explorer from hanging, navigate to some other folder or the root folder (My Device) before putting off the device and removing the card, then put on the device to check that the card has been "unmounted". Later, if the card is put back (again, with the device switched off) File Explorer will then remount the card and show the new contents correctly. Maybe using "Stop All" in Settings -> System -> Memory -> Running Programs is also useful.
- Installing programs without the USB cable - Those programs for pocketpc which are available as CAB files installed quite well, just by copying to SD card and clicking on them from File Explorer.
- PDF readers - PocketXpdf does not have text reflow. Had problems with Foxit reader - it installs an installer(!) from the CAB file, which is not recognised as a PocketPC executable. Will have to try Adobe Reader using the convoluted technique of running the install with ActiveSync, copying out the CAB files created and so on.
- Video players - Tried TCPMP and PocketMVP from PocketPCFreewares.com. TCPMP seemed to have the best performance and seemed the most tweakable. The Windows Media Player which is already installed plays wmv files quite well.
- Ebook Readers - Successfully installed iSilo and Mobipocket readers. The Pocket Word and Pocket Excel which are also installed are also useful. I specially like iSilo's scrolling along with a finger touch-drag on the screen. iSilo supports pdb and txt, Mobipocket supports html and prc, Pocket Word reads doc, but did not work with an RTF exported from Google Docs. Mobi had trouble with a large html file (BattleStar Galactica novel, 540 kB single html file) saying insufficient memory, but read a H2H issue, 557 kB, fine. This was converted from pdf to html with libprs500. Both files read with the Pocket IE installed, but the novel had formatting problems due to margins which were too large.
Tuesday, July 29, 2008
flickr versus picasaweb
Monday, July 28, 2008
phplist bounce processing
A process for this page is already running and it was still alive 305 seconds agoand refused to run from commandline. Went back to the web-based link from the admin section, this time it said
Running commandline, quitting. We'll find out what to do in the next run.
A process for this page is already running and it was still alive 461 seconds agobut after 20 sec, started processing afresh. But this is somewhat risky when running from a remote machine, because the connection may break during the hour or so taken for processing. The best thing, then, would be to either
Sleeping for 20 seconds, aborting will quit
- run the bounce processing as a cron job (like we do), or
- when troubleshooting, run from inside a screen console, detach the screen when not actively monitoring it, or
- run the web-based link from a local X console, or
- run the web-based link from a VNC X console running on localhost.
Saturday, July 19, 2008
tips from gizmo - print folder contents and boot safe mode
To add the print directory feature to Windows Explorer, follow these steps:He notes that this is adapted from Microsoft's knowledgebase.
a) Open Notepad and then copy and paste the following text into Notepad:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit
b) Save the file as Prin.bat in the Windows directory, and then close Notepad.
c) Start Windows Explorer, click Tools, and then click Folder Options.
d) Click the File Types tab, and then click File Folder. d1)Click Advanced (this step added by Gizmo)
e) Click Edit, and then click New.
f) In the Action box, type Print Directory Listing.
g) In Application used to perform action, click Prin.bat, and then click OK.
h) Click OK, click Apply, and then click OK.
Now Open Windows Explorer, right-click the folder that you would like to print a directory listing of, and then click Print Directory Listing.
...completely reliable way of booting into Safe Mode and that's by using the MSConfig Utility. This tip is not only useful getting problem USB keyboards into Safe Mode but also for folks who have trouble getting their timing right when pressing the F8 key during the boot sequence.This is especially useful for people like me in multi-boot environments.
Press Start/Run and type msconfig into the run box and press Enter. When MSConfig starts, click the BOOT.TAB and put a check mark against /SAFEBOOT. Next time you boot, Windows will automatically start in Safe mode without any need to press F8. Remember later to take out the check mark otherwise your PC will always boot in Safe Mode.
gmail loading problem
Thursday, July 17, 2008
Kaspersky online virus scan
dhcp problem
After many tries with WinXP "repair" and the command-line
ipconfig /releaseand other such stunts, even a wired connection to the router failed, and pings showed a strange character in the destination's place,
ipconfig /renew
Pinging <strange wing-dings character> with 32 bytes of data:Finally it was wiped and the dell recovery CD was used to re-install WinXP, then everything started working again.
Thursday, July 10, 2008
keychain: command not found
keychain: command not foundevery time we logged on to krishna via ssh. Googled, found that it was a bug in Mandriva, fixed it by editing .bash_profile by adding an if [ -x /usr/bin/keychain ] like
if [ ! -d $HOME/.keychain ]; thenThe [space] before the -x is important....
if [ -x /usr/bin/keychain ] ; then
keychain
fi
fi
Tuesday, July 08, 2008
improving speed on WinSCP
listening to SGH on mobile
http://europe.nokia.com/A41107005
http://europe.nokia.com/A41121127
For Nokia phones not supported by this app, there is the S60 Internet Radio.
The user instructions say that you need to copy the pls files of the stations of your choice. For SGH, the pls files are linked from the listen now links:For Windows mobile, there is GSPlayer. For phones with Java, Glassplayer - not free, costs $5. Will add more players here as I find them.
http://www.radiosai.org/Pages/AsiaStream.pls
http://www.radiosai.org/Pages/AfriStream.pls
http://www.radiosai.org/Pages/AmeriStream.pls
http://www.radiosai.org/Pages/BhajanStream.pls
http://www.radiosai.org/Pages/DiscourseStream.pls
Please note that if your internet connection is slow, you will hear choppy audio with breaks.
RSS feeds or email updates for any page on the Net
follow-up on installing indic support on XP
After installing and rebooting, once again go to Control Panel -> Regional and Language Options -> Languages -> Details -> Add , choose your language, and in the drop down below, choose the newly installed IME if you want to type in phonetic English characters, or choose Inscript or other keyboard layout if you prefer that. Again you may need to restart. The Wikipedia Indic support page says that XP SP2 is required for Malayalam support, but Devanagari and the other South Indian languages can do without SP2. Blogger's transliteration help is here, which notes that the transliteration is also available as a separate product here.IMEs cannot be installed or upgraded on a system that doesn't already support IMEs in the same language that you are installing. To enable Indic IME, go to control panel - > Regional and Language Options. Select Language Tab, and check the option "Install files for complex scripts and left-to-right language and insert Win XP CD in your CD-ROM drive.
downloading files with lynx
Edit: The Putty suite's PSFTP seems to be as slow as WinScp - commandline on Linux is still faster.
Edit: See this post for improving speed on Windows!
Monday, July 07, 2008
FF3 installation issue
Thursday, July 03, 2008
Checking out Indic language support
यह हिन्दी में है - Yeh Hindi mein hai
ഇതു മലയാളത്à´¤ിà´²ാà´£് - ithu malayalathilAnu
ఇది à°¤ెà°²ుà°—ుà°²ో - idi telugulo
ಇದು ಕನ್ನಡದಲ್ಲಿ - idu kannadadalli
இது தமிà®´ில் - ithu tamizhil
Blogger does not allow copy-paste between languages as far as I can see - the pasted script remains as Malayalam or Hindi or English or Tamil or Kannada or Telugu. The Language Tool on the toolbar does the magic, with Spell-check, too! Nice. Should try out some desktop Indic tools, maybe.
Edit: Tried various tools including Microsoft's Indic support site and Iwrite32. Using the Microsoft IME (Input Method Editor), text can be entered nicely in all apps, but transliteration between scripts is possible only in MS Office or some limited apps. I tried and did not succeed with Notepad, Wordpad, typing in IE or Firefox. Google docs, too can use the MS IME, but no transliteration. The best of the lot seemed to be online tools - wikipedia page on Indic support has lots and lots of good info and links. The online transliterate tool girgit looks interesting.
Edit: corrected a typo in the Tamil.
Tuesday, June 24, 2008
using the JW flash player for our radio streams
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
- 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!
google apps user export
Friday, June 13, 2008
java vnc viewer's scaling support
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
- not have a semi-colon or CR-LF after the last entry
- fill in the duration in minutes correctly
- make sure there are no spaces in the download-filename.
Wednesday, June 11, 2008
dharma's AGP slot bad - maybe
portable DVD / VCD player smoothing issue
Monday, June 09, 2008
problems with flash video
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
# 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.wto get it working, with inputs from forums like http://ubuntuforums.org/showthread.php?t=188551
nameserver p.q.r.s
nameserver a.b.c.d
Tuesday, June 03, 2008
the toshiba laptop finally gets professional help
Saturday, May 31, 2008
tfd update from external ip
firewall at the studio, krishna's booting trouble
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
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
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
Tuesday, April 15, 2008
AW4416 down
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
Friday, March 21, 2008
Tascam US-1641 digital in problem and solution
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
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.
More on the Tascam US-1641 and the bundled Cubase
From the AW4416, I can export 8 tracks at once to Cubase LE running on the laptop using the Tascam US-1641 - 4 tracks on omni outs, 2 tracks on stereo outs and 2 tracks on digital stereo outs - any bus can be routed anywhere.
About the recordings on Cubase: one nifty trick is "Bounce selected" in the Audio menu. Supposing I have multiple tracks which have different in and out points. The individual recorded wav files will be Audio01_01.wav, Audio02_01.wav etc which will not be in sync if directly imported into another audio sw since their in/out points are different. But if I select (using the marquee tool) an area with these tracks included, and choose the Bounce selected option, it asks whether to replace existing material, if you choose No, it creates new files like Audio01.wav, Audio02.wav and so on, padded with silence at beginning and end so that all of them are of the same length, can be imported to other sw easily.
Saturday, March 01, 2008
BT site in SaiUniti
on freedns.afraid.org - this type of thing is not possible:So A allowed A records for the time being, plans to make an ISAPI filter!
2 errors
# You can't mix CNAME/MX records together using the same hostname.
# Domain root's cannot be CNAME's, however you can web-forward this record to www.sssbpt.org instead for the same effect.
I could have reverted to frame forwarding at nettigritty.
Result:
all saved bookmarks etc with http://sssbpt.org/etc bookmarks will return error 404.
Only if someone directly tries http://sssbpt.org will it go through to the correct site. There, clicking on links will show on the address bar as the same http://sssbpt.org/etc which had earlier returned error 404!
Tuesday, February 19, 2008
Adventures with the Tascam US-1641
Getting the digital SPDIF input and other analogue inputs was no problem, though currently the analogue inputs from the Spirit Live 42 direct outs are too hot - they are going up to + 10 dB on the Spirit's sliders! Will need some sort of attenuator.
Midi: the AW4416 is supposed to have a MIDI Remote facility in firmware Ver2. There is a separate tab inside the MIDI screen for MIDI Remote functionality. Got the relevant manual from Yamaha, but somehow the way I did the MIDI Bulk dump was wrong. So, had to change the Hex values of the MIDI messages sent by the AW4416 manually. The readme says that bidirectional control is not implemented - so changing the controls on the computer are not going to move the motorized faders or anything like that.
Changes made: Loaded the AW4416 xml file from Yamaha in the Device Setup Dialog, found one of the faders was working, then made similar changes to midi messages sent by the other faders and switches to get them to work:
faders:
b0 00 fad endall midi channel 1
b0 01 fad end
...
etc,
switches:
b0 20 sw endworks!
b0 21 sw end
....
etc
20 in hex = 32 = address in cubase. And so on. b0 seems to be some sort of preface. sw must be switch.
The "learn" button inside cubase was displaying the address, channel, etc for faders, did not show up initially for switches. Maybe because the initial setting for the switches was just to send
endwithout address or prefix or anything like that.
Sunday, February 17, 2008
more domains - Media foundation
Thursday, February 07, 2008
online text formatter, GutenMark and other stuff
Also found a link to pielrf, for quick conversions! Kovid Goyal's libprs500 has also made tremendous strides - the screenshots look great.
Monday, January 28, 2008
domains from godaddy
Sunday, January 27, 2008
lots of action, very few posts!
- Recording morning and evening bhajans, so lots of time goes in recording and editing. Editing too, since otherwise hard disk would run out, and also PB want more bhajans asap for BhajanStream!
- heart2heart.in domain - purchased through rediff, a virtual server is made on fs1 for hosting this, and it's forwarded to http://media.radiosai.org/journals
- PB completed php-based scheduler internal web-app, beta-testing on.
- BV completed audio search page, open to public. This is really useful for me, when people ask for specific requests!
- Contemplating a sort of corporate blog or official blog - SP wanted to host a video on need for documentation, I read Eric Sink's book based on his blog, "The Business of Software", etc. Using blogger it should be straightforward, I hope...
- Stupid mistake of trying to make a minor change in number of pixels in TFD page, but without updating my local copy! Outage for 15 hours or so while I tried to replicate PB's changes... Funny part is that commenting out
if recordset.RecordCount > 0
makes the page work! - Following up on sssbpt.org migration to saiuniti servers - I'm not so good at HR! Too blunt!
- Installed Filezilla server, firewall yet to be opened.
- KR(M) is following up on the generator radiator issue, the generator batteries and the cooling tower fan-blades - as instructed by KVR.
- Doing saicast encodes on a borrowed HDD from PB, since my machine is FULL!
- Did some routine log analysis on fs1, transferring old log files to local for archiving.
Thursday, January 10, 2008
Virtualdubmod to directly convert mpeg2 to avi
Wednesday, January 09, 2008
BSNL name servers hate google
So now I can access blogger, youtube and gmail again!
Bonus - learnt about OpenDNS's adult filtering capabilities too.
Friday, January 04, 2008
schedule page and mysql too many connections
> 1. Do not use persisternt connections (pconnect)
> 2. Ensure you are correctly closing connections after use.
We're not using pconnect. For non-persistent connects, they are supposed to
automatically disconnect after the script executes, but still we have added
<?phpto the end of our scripts, just to be safe.
mysql_close($dbcon);
?>
But two possible reasons could be
1. Too much traffic on our site
2. The times when our page fails to load properly giving the error
Maximum execution time of 30 seconds exceeded
( log file is at http://www.radiosai.org/program/inerror.log )
every time it fails, maybe the connection remains open.
Reason (1) - http://www.radiosai.org/plesk%2Dstat/webstat/ shows us that the
index.php gets 1000+ hits per day. That should be OK for mysql to handle, I suppose.
About Reason (2) - Another possibility I thought of was: the index.php also
has links to images and flash files, which also have to load before the 30
second timeout. If this can be delinked from the php part of the code - maybe
using div elements or something? - perhaps the timeout issue can be mitigated
to a large extent? For the time being, I've removed the links to the images and flash files and we'll see if this improves matters.
a typical day
Before 8.15 am - finish morning routines including washing, cycling and exercise if any, and breakfast too.
8.15 to 10.15 - Morning bhajan recording at Mandir.
10.15 to 12.45 - Fight fires if any, or process the recorded audio
12.45 Lunch
1.45 to 2.30 - Make playlist or continue processing audio or if any videos ready for saicast, process them...
2.30 to 6.30 - Tea, then goto Mandir for programme or Bhajan recording
6.30 to 7.30 - Complete playlist making
7.30 Dinner
8.30 to 10.30 - @ S3, R&R, which quite often means updating the "voluntary" webpages!
The 2.30 to 6.30 slot is one where some optimization can be done. Maybe I can think of going to Mandir a little later, saving half an hour or so. Need to find time to do things like data backup, clearing up space on hard disks and so on.
Thursday, December 27, 2007
ssh tunnelling command-line
ssh -f -N -L 1234:localhost:80 user@Remote_Machinefor web-server.
Sunday, December 09, 2007
SHA1 sum check
sha1sum filenameUsed with Fedora iso downloads, for example.
Tuesday, December 04, 2007
combating spam from feedback forms
if Instr(strString,"http://") then
Response.Write " -- "
else
Mail.Send
end if
Sunday, November 25, 2007
firefox doesn't play nice with tunnels
This address is restricted: This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection.Found the solution at http://www.purple.dropbear.id.au/node/139 by googling.
- Go to about:config in your Firefox browser.
- Right click somewhere, and choose "New => String"
- In the setting Name box type "network.security.ports.banned.override"
- In the Setting Value box, type "1-65535" or whatever port-range you want to allow.
- Click OK
Tuesday, November 20, 2007
phplist removal from blacklist, that is, re-subscribe
Sunday, November 18, 2007
more SQL and web programming Gyaan
When trying to write to a text file, the most likely cause of errors is permissions, if the file exists. Check permissions of the parent directory and its parent and so on....
Examples for doing file writing in asp from
http://www.eggheadcafe.com/articles/20030627b.asp
http://www.brainjar.com/asp/fileops/default2.asp
got by googling
scripting.filesystemobject
Tuesday, November 13, 2007
Many different topics
1. New schedule page in public beta - have added a link from the old schedule page on radiosai.org.
2. Asked for a firewall rule change on fs3 to allow only our machines to get shell access.
3. Weird error on a csv import, was due to a newline in a Description.
4. Google customized search being used for H2H, old links to krishna being removed using TexRep find/replace in files tool.
5. Subscription pages which send emails to us instead of directly accessing phplist - to avoid exposure. Also writing to file...
6. Removed asp page dl.asp for saicast downloads, using static addition of the content-disposition header "attachment" instead: In IIS manager, right-clicking on Saicast video downloads, as given in http://support.microsoft.com/kb/260519
"To apply the header statically, right-click the document in the Internet Service Manager, and then select *Properties*. Select the *HTTP Headers* tab and enter the content-disposition header there."In our case, added it to the entire site.
7. Adobe had nice video workshops for their products.
http://www.adobe.com/designcenter/video_workshop/
But around 500 kbps is needed to see them properly.
8. Have subscribed to Secunia Weekly summary of vulnerabilities.
9. Lots of updates on the "voluntary" side of web work, keeping me busy outside "office hours".
Friday, November 09, 2007
sql snippets
update file_information set languageid=1 where languageid is NULLStruggled a bit to get the syntax right, with languageid ='', languageid = NULL , NOT (languageid>0 and languageid<9) and so on, till I googled the correct syntax for NULL.
One more snippet of SQL Gyaan is that to insert, update etc for fields with type interval / timestamp , the syntax is
UPDATE "file_information" SET "duration" = interval '00:01:09' where file_id = 2020and so on. One has to do a sort of typecasting using the keyword interval. One can even say interval '1 hour' and so on. From http://www.linuxjournal.com/article/9618
Friday, November 02, 2007
dir listing taking too long
session_start() caveats in php coding
session_start(): Cannot send session cookie - headers already sentReason was the session_start() function being called in the body of the page. It should appear before any output is sent to the browser, as mentioned below:
http://in.php.net/session_start
http://www.koderguru.com/tutorials/phptutorials/headertuto1.php
silent speakers!
new schedule page
trouble or work ticket systems for windows
http://otrs.org/ - Open source ticketing system - Perl-based, has Windows installer
http://www.netvigilance.com/winrt - - Perl-based, has Windows installer
Google results for NA who had asked for MT office. Passed on the info to V, since he's the one who has to install any sw for MT.
Friday, October 26, 2007
Media convertor problems?
Thursday, October 25, 2007
internal http sharing problem
AllowOverride None
Options +Indexes
Order deny,allow
Deny from all
Allow from 127.0.0.1 x.y.z.w a.b.c.d p.q.0.0/255.255.0.0
#allow from .your_domain.com
Migrating to Google Apps
For migrating other domains, will think about the options presented by Scott Hanselman, especially the part about transferring old mails via pop and the gXfer tool to one-click transfer all mails.
Monday, October 22, 2007
small bug in PhpMailer timezone code
In class.phpmailer.php 's function RFCDate(), there is a bug in the timezone code which returns +0580 for Indian Standard Time instead of +0530.
The line
$tz = ($tz/3600)*100 + ($tz%3600)/60;
should be replaced with
$tz = (($tz - ($tz%3600) )/3600)*100 + ($tz%3600)/60;
Found this bug in our phplist mails....
Edit: More info - http://in.php.net/operators.arithmetic has a comment which describes the integer division required:
nicolas_rainardNOSPAM at yahoo dot fr
10-Jul-2007 09:10
Here is another very simple and extremely fast integer division function, but it works only if the arguments are integers and nothing else. So use it only if you are sure of what you are doing.
function int_int_divide($x, $y) {
return ($x - ($x % $y)) / $y;
}
phplist process bounces
Sunday, October 14, 2007
PhpSpy trojan and more
mozzila... And we're removed the offending php-based pages from view.
Wednesday, October 10, 2007
dns corrections
phppgadmin issue - blank fields
sql queries for find-replace
UPDATE "file_id" SET "download_filename" = '-'and so on. It took two mornings to finish.
WHERE "filename" ~~ 'SV_MS%'
AND "filename" not like '%MSANTAN%'
UPDATE "file_id" SET "download_filename" =
REPLACE(download_filename,'_RAVI_', '_')
WHERE "filename" ~~ 'MBV%RAVI%'
and filename not like '%ARAVIND%'
and filename not like '%KULA%'
Saturday, October 06, 2007
extra-curricular activities
Tuesday, October 02, 2007
R's iptables config for ssh natting
# Generated by iptables-save v1.2.11 on Sat Mar 11 13:08:36 2006By changing the ports to REJECT in the format --dport 8081:65535 he can block access to any other service.
*filter
:INPUT DROP [1339:140723]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [137:35130]
# allow local loopback connections
-A INPUT -i lo -j ACCEPT
# drop INVALID connections
-A INPUT -m state --state INVALID -j DROP
-A OUTPUT -m state --state INVALID -j DROP
-A FORWARD -m state --state INVALID -j DROP
# accept requests from internal machines on port 8080
-A INPUT -s 192.168.0.0/255.255.255.0 -i eth0 -p tcp -m tcp --dport 8080 -j ACCEPT
-A FORWARD -s 192.168.0.0/255.255.255.0 -i eth0 -p tcp -m tcp --dport 80 -j REJECT
-A FORWARD -s 192.168.0.0/255.255.255.0 -i eth0 -p tcp -m tcp --dport 443 -j REJECT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -d 202.141.1.132 -o eth0 -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT
-A OUTPUT -d 202.41.99.9 -o eth0 -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW -m tcp --dport 110 -j ACCEPT
COMMIT
# Completed on Sat Mar 11 13:08:36 2006
# Generated by iptables-save v1.2.11 on Sat Mar 11 13:08:36 2006
*nat
:PREROUTING ACCEPT [128:15724]
:POSTROUTING ACCEPT [35:2100]
:OUTPUT ACCEPT [35:2100]
-A POSTROUTING -s 192.168.0.0/255.255.255.0 -o eth1 -j MASQUERADE
COMMIT
# Completed on Sat Mar 11 13:08:36 2006
We took more than an hour, because default routes were not set to use this machine as a gateway, and also the machine blocks pings. Once the gateway was set correctly on his double-homed Win2k3 box, it worked. But we also struggled a bit because of forgetting the two COMMITs, one after each *table. Also, the
echo "1" > /proc/sys/net/ipv4/ip_forwardwas getting overwritten on service network restart, he had to add it to the startup scripts.