Skip to main content

Posts

Vinyl is back!

 I remember when compact disc became the popular format. One of my favorite places to buy LPs went only CD. LPs disappeared from shelves everywhere a year or so later. The trailblazer shop? They closed as they followed the trend too early! For years my LPs languished, in boxes in the shed. The turntable in its box on alongside them. Suddenly "vinyl" became popular again. Actually it was a gradual return but I was slow to notice. Compact Disc is now the format slowly withering away - slowly being killed by music streaming services. I now have my vinyl and turntable in the house again and I have started listening to it again. The latest home theater amplifiers now have phono inputs.  Welcome back vinyl! If only the high street outlets weren't charging premium prices for new LPs. I even have a second turntable for when I am working in the shed!

"No child processes" error on Linux

A problem was reported by a customer. They were getting a failure and in the logs it reported error → waitpid failed 'Reason: No child processes' The “No child processes” error came from waitpid() after using  fork/spawn to launch a utility to load data into a data base. Upon detailed investigation it appears it is possible that some other process that the user is running has changed the default handler for SIGCHLD - possibly the shell (e.g. bash!) used to launch our server processes. If the signal handler is set to SIG_IGN then when a process is started using fork()/exec() the return code from the process is NOT returned and waitpid() cannot retrieve the response code. The most likely reason for "No child processes" error from waitpid() is that the signal handler for child processes (SIGCHLD) is not set to SIG_DFL. This should not be possible however it seems that on Linux a process run in the shell (or maybe a shell process) can set it...

"Tap and go" using "Card" or "Phone"?

I set up Android pay on my phone and tried it a few times. I have found I get out my card and use tap and go instead. It is all about convenience. I find it is just as easy to get the card from my wallet, remove it from the protective sleeve as it is to get my phone and unlock the screen. I think it is also a politeness thing. I always try not to be engrossed in my phone when I am going through the check outs. I keep my phone in my pocket so as to be courteous and pay attention to my shopping. Then there is habit. I am used to getting my wallet out to pay. Perhaps if it was quicker to unlock my phone I might get into the habit of using it to pay.

Charging your devices when travelling

One of the challenges when traveling is being able to connect and charge all the different devices we take with us. These devices differ depending on the purpose of the trip (business or pleasure) but have the same challenges.When traveling for pleasure you may be staying with friends or at an AirBnB. What is available may be unknown. Many hotels cater for international travelers and have sockets that allow many different plugs to be used - The JW Marriott in Bangalore allows you to plug in any type of plug (all that I have seen!). One hotel in Sydney had USB charger ports available. The first challenge is being able to plug your charger in. When traveling for work I always carry two adapters that convert from the local plug standard to the plugs required for my devices and chargers. An alternative is to carry one adapter and a power board. The exception to the two adapters is when I am traveling to multiple countries which have different plugs! In those cases a universal adapter is ...

When a picture isn't enougth!

I bought a Bluetooth speaker online a few years ago and when it arrived it was much smaller than I expected. The picture made it look bigger and I failed to check the dimensions. I bought a sub-woofer before that and it was the size I expected. Then I bought another sub-woofer a week ago, expecting it to be a similar size. The price was about the same. The speaker came in a large box and is the size of a small fridge, at least 3 times the size I expected! The moral of the story? Pay attention to the dimensions!

Upgraded Jenkins and P4 plugin and builds no longer work?

I updated a Jenkins build system today and pipeline builds no longer worked. After an hour or two of debugging I figured out it was due to the Jenkinsfile not being checked out due to the Jenkins / the P4 plugin having changed the location (path) it checked out to. Checking out p4-12b39e21-cb2b-47e8-9488-22aca324fc36-//ir/rana/ebf/10.0.0/products/jenkins/linux/Jenkinsfile //jenkins-${NODE_NAME}-${JOB_NAME}/Jenkinsfile into /var/lib/jenkins/jobs/IIRV10-linux-ebf/branches/IIRV10ebf/workspace@script to read Jenkinsfile ... ERROR: /var/lib/jenkins/jobs/IIRV10-linux-ebf/branches/IIRV10ebf/workspace@script/Jenkinsfile not found Finished: FAILURE   The previous path used was   /var/lib/jenkins/workspace/V10-build-trunk_IIRV10trunk-M5WSRVTJ6TYJGMXQO4574D5VYI3DULEPQJZJY5FGST6MOUHDDAPQ%40script   The change simplifies the generated path so is a good change. The problem is that Perforce thinks it is already checked out and so does not get the file. From the command...

Cannot read gmail using thunderbird (or other mail programs) after enabling two factor authentication

I enabled two factor authentication for my google account and thunderbird stopped working with a "Retry","Enter new pasword","Cancel" dialog. To get gmail working again login to your google account and go to the security settings in "My Account" and create an App password for Thunderbird. Go back to Thunderbird and paste the new password in using "Enter new password". You will also need to use the same password if you use gmail to send email as well. I leave it up to you to use google search to find the instructions for creating an app password if the following link has expired or changed App Passwords

Tablets revisted

I wrote about tablets a while ago. At the moment I have a Surface pro 3, an iPad Air, a Nexus 7 and a Zenphone 2. The Zenphone isn't a tablet but it does have a 1080p 5.5 inch screen and, not so long ago, they were selling 5 inch tablets (anything portable without a screen was called a tablet!). I use it to check email, hangouts, normal phone activities like texts and phone calls as well as to play ingress. It does all that very well. It also has a second SIM slot so I can use it with an overseas SIM while travelling and still have my normal number. It is the best phone I have owned (so far)! The surface pro is a very recent acquisition and so far I am using it as an ultra portable with the keyboard attachment. The 12 inch screen is very nice, the keyboard is very usable although the touchpad would be a problem if the screen wasn't touchable! The biggest annoyance so far is that the  touchpad doesn't seem to have any way to do a middle mouse button click.  The ipad is...

Is it the end of the world?

Just checking. I was folding some washing and when I had finished there were no socks left over. That can only happen if I have slipped into an alternate universe or some other cosmic event has occured. The world still appears to be the same. Maybe the spare sock monster took a day off?

Acronym Slang

Acronym Slang is an alternative to Rhyming Slang. What is a Washington? A Diet Coke. i.e. Washington D.C. Another example is Wigwam, Toilet paper = TP, Teepee is another word for WigWam. Rhyming Slang can be very obscure and hard to understand. Acronym Slang has the potential to be even more complex! Any more examples?

Google Now mixes up the weather!

Yesterday the weather in Google Now was 35 degrees C and Light Snow was predicted. A few days before it said it was 30 degrees C and predicted Freezing Fog! It was back to reality today - 40 degrees C and Partly Cloudy however it now says 29 C and Light snow again! For the Celcius impared 35 C is 98.5 F. There is not  much chance of snow when the outside temperature is nearly 100! I have no idea if this was a widespread problem or if it was just on my phone! It may be an unusual combination of the Google app (formerly Google Now) and Android 4.3 (Jelly Bean).

You learn something new everyday! Using scale mode and VNC with VirtualBox to get a decent display resolution for a VM!

I was trying to get the display resolution for a Linux Virtual Machine to a reasonable value - the host has an old PCI video card and can only do 1024 by 768 so the VM has been restricted to less than that even when using VNC (ie Remote Desktop for non-Windows machines). I was experimenting with the various modes that Virtual Box allows when I realised that after setting the Virtual Machine to Scaled Mode I was able to choose a resolution that was higher than the resoltuion of the host. It did look pretty odd on the Host but when using VNC it is fine! I can now control the Virtual Machine and see much more in the window! 24 May: After updating the network router I found my Linux Virtual machine would now lock up. So I created a new one using Fedora Core 20. However I was not able to get anything greater then 1012 by 664 (the host is stuck at 1024 x 768!). So after some digging I found the following in the Virtual Box help. VBoxManage setextradata global GUI/MaxGuestResolutio...

Please don't ruin The NBN (Too late!)

The Australian opposition launched its Broadband policy today. Inferior in every way to the current National Broadband Network and no cheaper in the long run due to the cost of maintaining the old copper network.  Is the cost of electing the LNP having inferior infrastructure, more expensive health care and poorer education? Do the opposition plan to charge all the people who are already connected to the NBN the $5000 they will make me pay to get FTTP once they get elected? My house is over 3.5KM from the exchange and I get 3M over ADSL2. You have got to question the motives of the opposition - are they protecting their biggest donors? They will be winning the next election regardless of what they say or do between now and September so there is no reason not to allow the NBN to proceed except for vested self-interest. One thing is for sure - if they ruin the NBN I will be cancelling my Foxtel subscription and will never buy anything associated with the backers of the LNP. I...

Tablet Thoughts

I have an iPad 2, Nexus 7, Kindle Touch, Smartq 7 and an ePad 10inch tablet. The SmartQ and ePad have been consigned to the back of a shelf out in the shed and I am actively using the iPad and Nexus 7. I use the iPad a lot - it has a decent sized screen so is comfortable for web browsing. I prefer its screen ratio to that chosen by the Android tablets. The Nexus 7 was bought to replace the Kindle (actually I used Frequent Flyer points that were about to expire so it was not a hard decision as it didn't seem to cost anything). The problem with the Kindle Touch is the difficulty reading it when the light is fairly poor. There is no problem reading the Nexus 7 and its screen is nice and sharp (1280 by 800 resolution for a 7 inch tablet is very nice). The only thing that might make me upgrade my iPad is the screen on the new models or when it breaks! Do I like iOS or Android more? I don't think there is a lot of difference - both are good at what they do - running apps! I find ...

The Extended Attributes Are Inconsistent in Windows 8

I have upgraded my laptop to Windows 8 and all was fine for about three hours and then I started to get an error when trying to run any application that required Administrator privileges. Half an hour of Googling led me to this blog post   Case of the broken uac prompt This problem was caused by downloading themes. The final theme I had decided on included a new sound theme. Clearly at least one of the sounds did not play (the one for the UAC prompt!). Changing the sound theme (right click on desktop, choose "personalisation") to Windows Default sorted out the problem. Doing a clean install would also have fixed it but that would have been a drastic solution and as soon as I installed a new theme it may have happened again.

Thunderbird Unified folders problem

I have just migrated my Mozilla Thunderbird profile to a new computer and I discovered that Unified Folders were not working. I migrated using MozBackup, and when I discovered that the Unified folders were not working, and a second time by a direct copy and a modification of profiles.ini to point to the copied profile (so I did not have to rename the profile directory). In both cases the Unified Folders option could not be selected. The Error Console (select Error Console from the Tools menu) had the following error. Timestamp: 15/04/2012 11:52:20 AM Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgSendLater.hasUnsentMessages]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/mail-offline.js :: :: line 81" data: no] I discovered that the unified folders worked if I Ran Thunderbird using the "Run as administrator" opti...

Optimising C programs on z/OS V1R8

Now for a topic with a possible audience of zero (which is probably the number - besides spambots - who read this blog!). Over the last few weeks I have been investigating the performance of our application on z/OS. The application is written in C and runs in batch and CICS. A customer reported that our latest version was not performing as well as the version they were currently running. Testing showed there was a difference. The same tests did not show a difference on other platforms. z/OS has unique characteristics, not surprising given the hardware it runs on, and there are bound to be factors that affect performance that do not affect other platforms. We build our application using unix system services and link the final modules into a Dataset (load library). What this means is that we can use standard unix shell utilities, make files and other tools just like on any other unix platform. This makes development much easier. The final link is the first time anything leaves the unix e...

How to get better battery life from your phone

My old phone (as of about three weeks ago) was a windows mobile 6.5 handset and it got about 1 days from its battery. Then I dropped it on to a hard stone floor (is there such a thing as a soft stone floor?) and it started to misbehave. The sound would turn off, including the sound of the person talking to me! No ringtone or any other sound until I rebooted it. Then it was okay for a day or two but then it would not answer calls for two days until I rebooted it again. So I restored it from the custom ROM back to the manufacturers version of Windows mobile and installed Android (as an executable that was run after booting Windows mobile!). Now the battery life was less than a day! So I got a new (Huawei Sonic) phone for less than half what the old phone cost. A very nice, android based, phone. Then I got a $2 prepaid SIM for the old phone. Recharged it, activated the SIM and called the old phone. It answered! Since then it has sat on my desk for 9 days - the battery life is down t...

Upgrading Fedora 14 to 15 and Gnome V3

I have two linux file servers and they were both on fedora 14. I decided to upgrade them to fedora 15 and started using the two online upgrade methods - preupgrade and the Fedora documented way using yum. Both upgrades worked flawlessly but on one of the file servers it failed all the drives in the RAID6 array**. I restored from backup to fedora 14 and the RAID was fine and has stayed fine for a week since. Besides that problem I found the biggest problem with Fedora 15 is Gnome V3. It would only work in fallback mode on one system due to the PCI video card and on the other system it was really bad using VNC - the screen would not refresh - and I had to enable the fallback mode. For a system that is going to be used remotely Gnome 3 is useless - perhaps using X it may be better but with VNC it is hopeless. So I had mixed success with the upgrade - one is working fine on Fedora 15 and the other system is back at Fedora 14. ** a friend hates it when anyone says RAID array. Redundant Arra...