Google Alphabet – what is Alphabet?

Google is now Alphabet!? Ok so what is alphabet and why am I saying google is now alphabet? Well according to abc.xyz Alphabet Inc. will replace Google Inc. as the publicly-traded entity and all shares of Google will automatically convert into the same number of shares of Alphabet, with all of the same rights. Google will become a wholly-owned subsidiary of Alphabet. Our two classes of shares will continue to trade on Nasdaq as GOOGL and GOOG. So, google is now owned by a parent company by the name of Alphabet. Alphabet will allow google to divest of side projects which may become alphabet projects. Google founder Larry Page mentioned it would be a simplify the structure for what had become a diverse group of businesses.  mentioning focus on their core projects he said on google blogspot blog : “This new structure will allow us to keep tremendous focus on the extraordinary opportunities we have inside of Google” “Our company is operating well today, but we think we can make it cleaner and more accountable” … ” The whole point is that Alphabet companies should have independence and develop their own brands.” Google Alphabet is a reiteration of google’s promise to always try to do the best for their users and their investors. Lets see how they achieve this in the future but it seems like an interesting move. The people at Google Alphabet Some of the well-known faces around google will move around between Google & Alphabet while others will keep their positions and yet others will share […]

Compiling on linux with low ram

[et_pb_section admin_label=”Section” fullwidth=”on” specialty=”off”][et_pb_fullwidth_post_title admin_label=”Fullwidth Post Title” title=”on” meta=”on” author=”off” date=”on” categories=”on” comments=”off” featured_image=”on” featured_placement=”background” parallax_effect=”off” parallax_method=”on” text_orientation=”center” text_color=”dark” text_background=”on” text_bg_color=”rgba(255,255,255,0.9)” module_bg_color=”rgba(255,255,255,0)” title_all_caps=”off” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_fullwidth_post_title][/et_pb_section][et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] I had to compile a C++ program today on a VPS with 2 gigs of ram. the base ubuntu 12.04 install took 115MB of ram. For some reason when linking the libs at the end the program shot above 2 gigs of ram and got killed by the openvz system. took me a while of googling but the answer to my woes was multi fold,   I switched from a debug build to a release build which was much more optimized. I added the following to my Cflags : CFLAGS=”–param ggc-min-expand=0 –param ggc-min-heapsize=8192″ Dont both of those things cleared up my issue in no time. [/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”bottom above footer” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_text][et_pb_divider admin_label=”Divider” color=”#ffffff” show_divider=”off” divider_style=”solid” divider_position=”top” hide_on_mobile=”on”] [/et_pb_divider][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

I got 99 problems but a problem ain’t one… wut?

Some people, when confronted with a problem, think, “I know, I’ll use regular expressions.” Now they have two problems. Some people, when faced with a problem, think, “I know, I’ll use #binary.” Now they have 10 problems. Some people, when confronted with a problem, think, “I know, I’ll use #threads,” and then two they hav erpoblesms. Some people, when confronted with a problem, think “I know, I’ll use #multithreading”. Nothhw tpe yawrve o oblems. Some people, when confronted with a problem, think, “I know, I’ll use mutexes.” Now they have Some people, when confronted with a problem, think: “I know, I’ll use caching.” Now they have one problems. Some people see a problem and think “I know, I’ll use #Java!” Now they have a ProblemFactory. Some programmers, when confronted with a problem, think “I know, I’ll use floating point arithmetic.” Now they have 1.999999999997 problems. Some people, wanting an escape from their full-time job, think “I know, I’ll contribute to open source.” Now they have two full-time jobs. Some people, when confronted with a problem, think: “I know, I’ll think outside the box!” Now, they have 3.75 problems, an entirely new framework, and three dozen toll house cookies cooling in the kitchen. Some people when confronted with a desire to use pithy quotes in their presentations think “I know, I’ll use something from Star Wars”. Now two problems they have. Some people, when confronted with a problem, think, “I know, I’ll use #UTF8.” Now they à??????µ?ç°§ùÔ_¦Ñ?. “I’ll use #PHP!” Now they have (“1 apple” + […]

Cisco Anyconnect VPN issues

I had to use cisco Anyconnect VPN client on windows 8 X64 and it was giving me errors. usually something like : “The VPN Client driver has encountered an error” when I was trying to connect. well found the fix by stalking cisco forums. Go to the Windows 8 Start Screen by pressing the Windows key. Type regedit to initiate an application search, then press Enter to launch regedit. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva Locate the key DisplayName. Right-click this key and select Modify. #1 for Windows x64 and #2 for windows 32 bit : In the value data field, erase everything and replace it with Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x64 If you are running a 32-bit system, perform the same steps, but instead replace the entry with Cisco AnyConnect VPN Virtual Miniport Adapter for Windows x86 Restart the Cisco AnyConnect client. The issue should now be resolved. [/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”bottom above footer” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_text][et_pb_divider admin_label=”Divider” color=”#ffffff” show_divider=”off” divider_style=”solid” divider_position=”top” hide_on_mobile=”on”] [/et_pb_divider][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]

Aptitude installed package list

Today I got a new VPS… well great but now I need to install a bunch of new packages and libraries and helper apps. how do I remember it all? did I have python 2.6 or 2.7? not to mention which boost libs did I install? well here.s a couple of ways to deal with this issue of whats on my installed package list. Using dkpg and apt-get dpkg –get-selections > selections.txt Scp / email / copy to USB or copy it bit by bit, whatever floats your boat. Move to new machine. dpkg –set-selections < selections.txt apt-get update apt-get upgrade voilà it should be ok. but there’s a lot of clutter, like libraries and dependencies that were needed on old machine and might not be needed again. so how to find a cleaned up list? or alteast one that shows the automated installed? there’s always aptitude its simpler in syntax and better imho Using Aptitude aptitude search ‘~i’ which gives you aresult of all your packages like : i   udev                                                                                               – /dev/ and hotplug management daemon i A unattended-upgrades                                                                                – automatic installation of security upgrades i   upstart                                                                                            – event-based init daemon i A usbutils                                                                                           – Linux USB utilities i   util-linux                                                                                         – Miscellaneous system utilities i   vim                                                                                                – Vi IMproved – enhanced vi editor i   vim-common                                                                                         – Vi IMproved – Common files i   vim-runtime                                                                                        – Vi IMproved – Runtime files i   wget                                                                                               – retrieves files from the web This of course scrolls all the packages past your view very quickly and can be …. hard […]

SSH key generation 101

[et_pb_section admin_label=”Section” fullwidth=”on” specialty=”off”][et_pb_fullwidth_post_title admin_label=”Fullwidth Post Title” title=”on” meta=”on” author=”off” date=”on” categories=”on” comments=”off” featured_image=”on” featured_placement=”background” parallax_effect=”off” parallax_method=”on” text_orientation=”center” text_color=”dark” text_background=”on” text_bg_color=”rgba(255,255,255,0.9)” module_bg_color=”rgba(255,255,255,0)” title_all_caps=”off” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_fullwidth_post_title][/et_pb_section][et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] I always forget the -b option which allows changing the size of the key…. so Im putting this down here for future reference. ssh-keygen -t rsa -b 2048 You can use dsa instead of the rsa after the -t to generate a DSA key. The number after the -b specifies the key bits. DSA is limited to 1024, whereas RSA isn’t. standard is 1024 if you don’t include the -b argument. [/et_pb_text][/et_pb_column][/et_pb_row][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”bottom above footer” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_text][et_pb_divider admin_label=”Divider” color=”#ffffff” show_divider=”off” divider_style=”solid” divider_position=”top” hide_on_mobile=”on”] [/et_pb_divider][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]