Fix : /boot disk has no space ( on Ubuntu)

Problem : /boot disk has no space, thus blocking installation or removal of any package using apt-get

Fix :

In terminal –

cd /boot

ls

sudo rm -r abi-4.4.0-89-generic abi-4.4.0-92-generic config-4.4.0-89-generic config-4.4.0-92-generic initrd.img-4.4.0-89-generic initrd.img-4.4.0-92-generic System.map-4.4.0-89-generic System.map-4.4.0-92-generic vmlinuz-4.4.0-89-generic vmlinuz-4.4.0-92-generic

(From the listed files, remove least two versions of every file)

 

This command searches of kernel files not in use and removes them to make space.

 

“Sndfile not found” error while installing scikits audiolabs

Problem: The following error occurs when installing scikits audiolabs

SndfileInfo:
libraries sndfile not found in /usr/local/lib
libraries sndfile not found in /usr/lib
libraries sndfile not found in /usr/lib/x86_64-linux-gnu

Reason:

The sndfile dev libs are missing (apparently)

Fix

sudo apt-get install libasound2-dev
sudo apt-get install python-dev python-numpy python-setuptools libsndfile-dev
sudo apt-get install libasound2-dev

Ubuntu: Load a disk on startup – the GUI way

 

  1. On terminal run
    • sudo gnome-disks
  2. In the dialog box that opens, choose the disk to mount from the left panel.
  3. In the right panel click on the gears icon
  4. In the pop up menu, choose Edit mount options
  5. Unset (put OFF) the Automatic Mount Options
  6. Make sure Mount at startup is checked.
  7. Give the folder name to load the disk to in the text box with label Mount Point
  8. Click OK.
  9. Restart the system.

Here’s why you should NOT buy Racold Solar water heater for your house/apartments.

 

This write up is about our experience with the Solar water heaters from Racold which we had installed at our apartment complex. To keep it short and precise, these are the reasons why you should AVOID buying Racold’s solar water heating solutions.

Low Build Quality

The 500 Litre tank leaks like a funnel just after two years. Apparently the welds just went off.

Short Sighted Design Choices

The tank is made of MS (mild steel). Even the so called technicians from Racold do not know how to weld and repair it.

Ridiculous Customer Care

This the most important reason why one should ditch Racold. Their customer care is an absolute mockery of everything customer-care.

  • Their contact numbers are Non-responsive.
  • Their contact emails are Non-responsive. (tried customer.care@racold.com, and racold.banglore@racold.com)
  • Their WhatsApp contact guys are absolute useless’s who hide behind anonymity and keep repeating “our technician will call you”.(That is over a month of asking for updates on our complaint).
  • Here’s a link to their straw-man contact-us page – http://www.racold.com/contact-us/

 

Take care of this when you buy a new laptop bag..

Just thought of sharing this.

If you buy a new laptop bag, you have to be careful to remove the small sachets that contain small silica balls (or whatever they are. See photo).

I allowed them to remain in the bag (new one from American Tourister),  the sachets broke, and the released silica balls entered the USB, HDMI, LAN and audio slots of the laptop.

While I could get rid of them from other slots, a nasty particle is still stuck in the 3.5 mm audio slot. (Because I didn’t know of it and pushed in the audio jack, which took the darn ball further down the slot)

So yes, remember to to remove such sachets from your laptop bag before you use them.

Spring boot + Websockets : Connection getting closed by itself.

Problem : Getting the message “Websocket already in CLOSED or CLOSING state” from browser console after sending the first message.

Reason: The packet size is larger than the one set for Text/Binary message on Spring WebSocket handler.

Fix: Increase size limit for individual packages/frames in the Spring handler –

 @Override
    public void afterConnectionEstablished(WebSocketSession session) throws Exception {
        session.setTextMessageSizeLimit(1024 * 1024);
        session.setBinaryMessageSizeLimit(1024 * 1024);
        log.info("Connection established");
    }