- On your computer, open Gmail logged in as username@
longname.tld . - In the top right, click Settings
Settings.
- Click the Accounts and import or Accounts tab.
- In the "Send mail as" section, click Add another email address.
- There, enter username@sssvv.org
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!
Monday, February 11, 2019
sending and receiving emails with domain aliases on GSuite
Tuesday, February 05, 2019
modus operandi for processing audio files for rebroadcast
1. Listen to the whole thing (if feasible at 2x speed, or at mandir itself, while the program is going on), mark problematic parts with markers.
2. If the program is a drama that contains copyrighted songs, edit out those songs within only 10-20 seconds.
3. If the program is of poor quality, like songs which are completely out of tune, do not process for broadcast.
4. If the program has speeches which are not of general interest, or which are not suitable for broadcast due to poor delivery, do not process for broadcast. If the speech is good, but marred by repetitive words like Ummmm / Aaaah / "You know" / "Like" etc, edit those out. Also edit out any gaps like speaker turning pages, speaker drinking water, etc.
5. If it is a music program, try to cut into individual songs/announcements if possible. Filenames similar to historical filenames which you can see under MSV* and SV* in our local cdsearch page.
6. For speeches, I have been processing to remove noise as per this:
http://hnsws.blogspot.com/2010/01/tips-for-clean-audio.html or
http://hnsws.blogspot.com/2013/11/another-audio-cleanup-tool-chain-reaper.html
7. I have been skipping processing Telugu dramas for AsiaStream once TeluguStream started, so that if the Telugu team is interested, they can use for TeluguStream. Similarly now with Hindi team.
Sunday, January 27, 2019
paying income tax on tax demand
Friday, January 11, 2019
malware/adware on our home page with BSNL router
Monday, December 24, 2018
low cost desktops for billing counter etc
https://eltechs.com/product/exagear-desktop/
for running Windows software on the Pi.
Cost of full fledged Pi system would be < Rs. 4000 including software and HDMI to VGA convertor which would enable use of old monitors.
Sunday, December 23, 2018
building Matlab-like gui programs on GNU Octave
https://stackoverflow.com/questions/47298509/how-to-manually-convert-matlab-guide-gui-code-to-octave-ui-components
https://stackoverflow.com/questions/43519040/how-to-code-a-slider-in-octave-to-have-interactive-plot/43536882#43536882
A nice example -
https://github.com/octave-de/macgyver_utils/blob/master/demo_uicontrol.m
On Matlab, gui creation guide,
https://in.mathworks.com/videos/creating-a-gui-with-guide-68979.html
Tuesday, December 18, 2018
issue with server-hosted mp3 played on Android app
For Audio files that are present in server2 we are able to download/stream, for all the android devices (including Android 4.4 version devices also) . But Audio files present in server1 is not downloading/streaming for few android devices (like Android 4.4 version devices etc).Links from both the servers are mentioned for your reference.http://server1/path/1.mp3 (not working in all the devices) Same links we have tested for https also.http://server2/path/1.mp3 (working in all the devices)Kindly suggest us how to go about this issue.
Saturday, December 15, 2018
incomplete instructions - SBI debit card
OpenCV CUDA performance comparisons
Wednesday, October 31, 2018
Google Apps error report and workaround
FYI, for future reference.
Was trying to create a new email Id in Google Apps.
Clicking on the 'Users' menu item in the Admin panel of Google Apps, repeatedly gave "Error 400, URL is not available error" described here. Tried the steps described there.
Finally, I could get there and create the same only through the Plain-HTML Gmail interface. Nothing else worked.
Friday, October 26, 2018
google group permissions for Google Apps domain
(The actual domain names have been changed :)
Whoever is the admin for your whateveritwas.extension domain in Google Apps, has to enable access.
I believe that whateveritwas.extension was set as a domain alias for anotherdomain.com in Google Apps? I see an email thread where I suggested that this was a possibility. In that case, webmaster@anotherdomain.com would be the admin.
After logging on to webmaster@anotherdomain.com , go to the administrative console at
https://admin.google.com/Dashboard
According to this page,
https://productforums.google.com/forum/#!msg/apps/6wYszBdjuaI/W1cJcvxAf50J
"From the administrative console select the Organizations& Users tab, then click on Services. Scroll down to Google Groups and turn it on."
Wednesday, October 24, 2018
install EOS utility without CD
https://www.youtube.com/watch?v=VTLISryqbSc
Creating a registry key under
HKEY_LOCAL_MACHINE -> Software -> WOW6432Node
(Right-click, New -> Key)
Canon
(Right-click, New -> Key)
EOS Utility
This did not work for the latest version of EOS Utility, but did work for an earlier version.
Thursday, October 04, 2018
flashing a custom ROM on a Samsung Galaxy Grand Quattro - i8552
https://www.gsmarena.com/samsung_galaxy_win_i8550-5392.php
This was for use at our exhibit of Universe2go.
The stock Samsung had Android 4.1, and Universe2go needed at least 4.2. So, I started on the journey to flash a custom ROM on the device. It took me 3-5 hours over 3-5 days because of conflicting instructions and things not going as planned. The things which delayed me turned out to be
- loose USB cable. A good fit for the USB cable, and a good cable, is a must before doing any flashing.
- lack of clear instructions on how exactly the buttons need to be pressed to go into download mode on this particular model, and terribly written instructions in general,
- and many broken links and links to paid file hosts. Downloaded files from androidfilehost.com instead, using the filenames given.
which is actually just a skin on the existing 4.1 kernel and wrongly reports as 4.4 - so universe2go does not run ...
and also lineageOS 13,
https://forum.xda-developers.com/grand-quattro/orig-development/rom-lineage-os-13-grand-quattro-t3541777
which crashes a lot. This one ran universe2go, but the screen refreshes were at 5 fps or so, not usable. Also tried this one,
https://forum.xda-developers.com/grand-quattro/orig-development/rom-carbon-rom-gt-i8552-delos3geur-t3628076
which says that the sensors work. But installing GApps causes crashes. GApps is supposed to be the version of the OS and ARM pico version - ie ARM 4.4 pico for this carbon, etc from opengapps.org . Also, it does not shut down cleanly. And universe2go crashes.)
Will try to restore the stock ROM -
https://forum.xda-developers.com/showthread.php?t=2433941
and then maybe unroot etc,
https://forum.xda-developers.com/showthread.php?t=2494471
Edit: Finally restored stock ROM from
The actual sequence of steps I followed, with many missteps, was something like this -
* daemon started successfully *
List of devices attached
71ba1f19 device
Bus 002 Device 003: ID 046
assert error
Wednesday, August 29, 2018
correcting browser fonts on Ubuntu and related distros
https://askubuntu.com/questions/1008661/incorrect-rendering-display-of-devanagari-fonts-in-browsers-chrome-firefox-etc
On Firefox, in Preferences, Language and Appearance, changed default font to Lohit Devanagari
Friday, August 03, 2018
ease of use of Word vs LaTEX
https://blog.mendeley.com/2012/03/24/how-to-series-generate-bibtex-files-for-your-collections-for-use-in-latex-part-3-of-12/
Can easily get bibtex entries using Google scholar too.
https://texblog.org/2014/04/22/using-google-scholar-to-download-bibtex-citations/
Some manual corrections are needed.
With Microsoft Word, equations, citations, and almost everything else needs tweaks. There is a tendency to get mangled as the document goes from one collaborator to another with different versions of Word. For example, here is the long procedure for copy-pasting an equation!
Thursday, July 19, 2018
loudness with reaper - dB and RMS and LUFS
In particular, the advice given by Michal is, "use actions from SWS.
SWS: Set RMS analysis/normalize options
Here you can set your RMS level target, it is one time operation..
SWS: Normalize items to overall peak RMS
You can select all items on the track and run this action for RMS normalization to predefined level.."
Of course, right now I'm not likely to try any of these...
Monday, July 09, 2018
troubleshooting streaming delay on Google Home device
I'm still seeing ~100 second delays even on this stream on the Home device. On my phone/browser, it plays instantly.
I tried changing the burst-size but initially did not find any difference -
64 kB = 65535 = 100 sec delay - this is the default burst-size for icecast
128 kB = 131072 = 100 sec delay
256 kB = 262144 = 100 sec delay
512 kB = 524288 = 100 sec delay
1 MB = 1048576 = 100 sec delay
Then it turned out that I was using a relay for testing, and on-demand was set to 1. After setting the relay's on-demand parameter to 0 (so that the relay is always ready and doesn't have to start after a new connection is made),
128000 = started within 4 seconds!
64000 = 100 sec delay
Repeated this three times, waiting 100 sec + each time after restarting the server. Seems to work well with 128000. So, set this as the burst-size for all our streams.
Sunday, July 08, 2018
Google Home Mini - a mini review
Tuesday, July 03, 2018
packet sniffing wifi
https://osqa-ask.wireshark.org/questions/61656/promiscuous-mode-not-working
https://wiki.wireshark.org/CaptureSetup/WLAN#Monitor_mode
Then the packets have to be decrypted.
https://wiki.wireshark.org/HowToDecrypt802.11
For that, if using WEP, the WEP password has to be converted to the Hexadecimal key -
http://corecoding.com/utilities/wep2hex.php
change Google Home mini wifi settings without Google Assistant app
Friday, June 29, 2018
ITR2 - paying income tax
Friday, June 22, 2018
blender z axis flip
Just a quick recipe for flipping an object in Blender -
- Select object
- Ctrl A (for Apply)
- Choose Scale
- Enter Z scale as -1
- Ensure that scale checkbox is ticked under apply.
Wednesday, May 30, 2018
unhelpful error message - google groups
Apparently this has nothing to do with internet connectivity issues. These forum posts point to a bad email id in the submitted batch. Sure enough, there was a "blogger.com" email id in the batch which was causing problems for me. Removed it, all well.
Tuesday, May 29, 2018
Google Apps legacy documentation
Wednesday, May 16, 2018
opencv contrib modules need compiling on Windows
A guide to compiling the contrib modules of OpenCV on Windows -
https://putuyuwono.wordpress.com/2015/04/23/building-and-installing-opencv-3-0-on-windows-7-64-bit/
Friday, May 11, 2018
Linux Mint Live CD / DVD
- username is mint, and no password.
- sudo does not ask for password.
- to take a backup, can do sudo cp -R /source/folder /destination/folder
- to switch between screens, Ctrl+Alt+F2 or Ctrl+Alt+F7 etc - need to press Fn also on Mac keyboard.
web hosting on github
https://help.github.com/articl
https://pages.github.com/
The limits are quite generous - https://help.github.com/
"GitHub Pages sites are subject to the following usage limits:
- GitHub Pages source repositories have a recommended limit of 1GB .
- Published GitHub Pages sites may be no larger than 1 GB.
- GitHub Pages sites have a soft bandwidth limit of 100GB per month.
- GitHub Pages sites have a soft limit of 10 builds per hour."
Sunday, May 06, 2018
C++ programming - using fstream in a cross-platform manner
Some notes about making use of fstream in cross-platform code -
Some interesting methods are discussed at
https://stackoverflow.com/questions/9739948/write-a-file-in-a-specific-path-in-c/40980510#40980510
In Visual Studio,
disable deprecation, use _CRT_SECURE_NO_WARNINGS -
Configuration Properties >> C/C++ >> Preporocessor >> Preprocessor Definitions >> _CRT_SECURE_NO_WARNINGS
A working code snippet -
char path[80];
char foldername[80];
sprintf(path,"homeuser/file.txt");
sprintf(foldername, "homeuser");
CreateDirectoryA(foldername, NULL);
std::ofstream file(path); //open in constructor
std::string data("data to write to file");
file << data;
Friday, May 04, 2018
making an alexa skill
There was already a Radio Sai skill, but that one was missing AfriStream and AsiaStream. So, decided to try to implement this skill, with some improvements, as an official radiosai skill.
Changes in the user interface - the screenshots given here are no longer similar to Amazon's AWS console or the Skills console. Instead of uploading the sample utterances as a text file, I manually created the utterances in the Skill console using the wizard. Also added some confirmation before playing each stream, like
var message = 'Playing Bhajan Stream.'; this.response.speak(message); this.attributes['stream'] = 'BhajanStream'; controller.play.call(this);
and also added a stop call to the AudioPlayer -
'AMAZON.CancelIntent' : function () {
// adding the line below to stop the audio player
controller.stop.call(this);
//////////////
var message = 'Good bye.';
this.response.speak(message);
this.emit(':responseReady');
}
It looks like only the playModeIntentHandlers are active - the others don't seem to be called. Have submitted for being made available to the public.
Edit: Update May 11 -
1. Bug fixes by the owner of this repository, looks like the SDK had some changes so the zip file needed to be changed.
2. How to build an Alexa audio streaming skill from a template - YouTube video - lots of similar resources available
3. Audio player skill sample from Amazon, for multiple streams.
Wednesday, April 25, 2018
free alternatives to Zemax
https://www.quora.com/What-are-some-open-source-free-Optical-design-software-packages-similar-to-Zemax-CodeV-available-for-Windows
"My experience with free software gives me the impression that they are good enough to learn about lens design and optics, but not good enough to do serious (=paid) work."
lightmachinery.com/optical-
Saturday, April 21, 2018
free video editor - DaVinci Resolve
https://www.reddit.com/r/AskReddit/comments/8dp8ui/whats_the_best_free_software_out_there_that_you/
A video editor with lots of features - DaVinci Resolve, and also, of course, Blender.
Tuesday, April 17, 2018
Notes on compiling software lockin amplifier
Friday, April 13, 2018
USB to TTL link dump
A collection of links about communicating with serial control lines over USB - Arduino etc -
- Communicating via the USB-to-TTL-Serial Adapter - https://www.pololu.com/docs/0J36/6
- https://www.xanthium.in/Serial-Port-Programming-on-Linux
- Using CTS / DSR - last part of https://stackoverflow.com/questions/209603/steps-to-make-a-led-blink-from-a-c-c-program
- https://stackoverflow.com/questions/957337/what-is-the-difference-between-dtr-dsr-and-rts-cts-flow-control
- No RTS pins for low cost board - need FTDI board - detailed tech info -
https://www.adafruit.com/product/954 via the quora link below, - https://www.quora.com/What-is-a-TTL-signal-in-communication-and-when-using-a-USB-port-why-do-we-use-a-USB-to-TTL-converter - "The so-called USB to TTL converter is actually a USB Serial Port to CMOS Logic-Level Serial Port converter."
- Using select() for microsecond delay -
https://www.experts-exchange.com/questions/20556300/how-insert-a-delay-in-microseconds-in-C-under-VC.html
https://stackoverflow.com/questions/1157209/is-there-an-alternative-sleep-function-in-c-to-milliseconds
https://pubs.opengroup.org/onlinepubs/000095399/functions/select.html - Processing.org - interesting resource for graphing the output, even from an Arduino. Tutorial -
https://itp.nyu.edu/physcomp/labs/labs-serial-communication/serial-output-from-an-arduino/ - libusb.info - crossplatform
- https://playground.arduino.cc/Interfacing/LinuxTTY - interesting shell tricks
- https://chrisheydrick.com/2012/06/13/how-to-read-serial-data-from-an-arduino-in-linux-with-c-part-2/ links to
- "Tod Kurt’s blog has an excellent write-up and fantastic example program for reading and writing serial data to/from an Arduino." - and http://todbot.com/blog/2013/04/29/arduino-serial-updated/
- Things to try if tty is not writable - https://ubuntuforums.org/showthread.php?t=2333167
Tuesday, April 10, 2018
bouncing emails in google groups
Maintaining google group by deleting bounced emails. And if needed, re-adding them.
https://support.google.com/a/answer/7552660?hl=en
Edit: Users can reset their bounce status by going to https://groups.google.com/bounced?pli=1 or https://groups.google.com/a/example.com/groups/bounced?pli=1
next to Bounce Status, email status -> Reset bounce status. (which appears only if it is bouncing.)
Monday, April 09, 2018
Arduino IDE on Linux Mint
From https://playground.arduino.cc/Linux/Mint/ -
we should probably not use
sudo apt install arduino
because it is outdated or non-standard, and we should instead use the 64 bit binary from
https://www.arduino.cc/en/Main/Software
Saturday, April 07, 2018
email slowdown and possible fixes
1. For some gmail emails, the server was trying the ipv6 address, and not able to reach it - like
Mar 25 09:34:15 krishna postfix/smtp[19788]: connect to gmail-smtp-in.l.google.com[2404:6800:4003:c03::1b]:25: Network is unreachable
Mar 25 09:34:28 krishna postfix/smtp[20163]: connect to ASPMX.L.GOOGLE.COM[2404:6800:4003:c02::1b]:25: Network is unreachable
This was probably due to a router change at the Studio.
Did this -
https://support.plesk.com/hc/en-us/articles/213398289-Specifying-Postfix-configuration-of-IPv4-IPv6-protocol-support
ie
adding the option:
inet_protocols=ipv4
to the /etc/postfix/main.cf Postfix configuration file. And then as root,
# postfix reload
# service postfix restart
That worked, the emails went out. But the email sending rate was only around 1000 emails per hour, as reported by
# qshape incoming active deferred
2. A lot of mails were being deferred instead of bounced by gmail, OverQuotaTemp.
cat /var/log/mail.log | grep OverQuotaTemp | wc -l
5878
PB unconfirmed those emails using
cat /var/log/mail.log | grep OverQuotaTemp | grep 'to=' | grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' | sort | uniq -i
Then also for bouncing emails, like
cat /var/log/mail.log | grep "does not exist"
cat /var/log/mail.log.1 | grep "does not exist"
cat /var/log/mail.log.1 | grep "553 Mail from 111.93.16.162 not allowed"
cat /var/log/mail.log | grep "status=bounced"
cat /var/log/mail.log.1 | grep "status=bounced"
3. Mails were still going out slowly, with the usage on the internet port being like


