Bzr checkout error

2016-01-04 00:00:00 +0000

I was trying to clone the keystone package using the given bzr command.

Read More

Latest java 1.8.60 on firefox 41 on fedora 22

2015-10-05 00:00:00 +0000

I updated my java to the latest 1.8.60 on my fedora 22. After the latest java update, I lost the java firefox plugin. The browser did not detect any local java at all. The java detection failed to detect any java. I reinstalled the java rpm but to no avail. A reboot did not help either. I then used the documentation to create a manual symlink at ~/.mozilla/plugin and voila. It all started working fine :)

Read More

Unishire The Weave - Jun 2015 update

2015-06-11 16:35:00 +0000

In this post, I am going to tell you the story after the place where I left last.

Read More

How to rebase

2015-06-05 00:00:00 +0000

As a follow up to the easy rebase post [[http://anshprat.github.io/easy-git-rebase/]], the need for the actual rebase came up recently. The usecase is -

Read More

Easy git rebase using reset

2015-05-19 00:00:00 +0000

I have tried my hands at git rebase a couple of times at Aerospike and Reliance. However I never was able to get it done nicely. Almost always, the requirement is to squash the intermediate git commit messages while retaining the actual work done.

Read More

Unishire The Weave

2014-10-23 04:06:16 +0000

In this post I am going to tell you about Unishire The Weave, which is an upcoming apartment project from Unishire Realtors Pvt. Ltd. It is situated off Thanisandra Road in Bangalore and my experience in booking the same.

I recently booked a 2BHK apartment in the above mentioned apartment. The deciding factor for me was the payment scheme.

There was a 10% downpayment scheme with the rest of 10% payable in two installments of 5% each payable in October 2014 and July 2015. Since I had booked in October, I ended up paying 15% as downpayment, but still the ability to pay the remaining 5% in July 2015 was a big plus. The downside being the possession of this project is scheduled to be late 2017 and I dont expect it to be ready before 2018. That too being optimistic.

As of date they have approvals only upto fourth floor. The rest of the approvals should be available by January 2015 end. (The earlier quoted date was Nov-Dec 2014 for rest of approvals).

The Unishire group is presently actively working upon its other two projects in Thannisandra, so guess they will only put complete dedication to this project once the other two are done.

I booked at the rate of 3750/- sq feet and have applied for home loan from HDFC.

Overall my experience with dealing the sales people has been nice and the concerned HDFC sales person also has been a pleasure to deal with. All paper work was done at my home/office.

This is the plot of the project as on Oct 19, 2014. Unishire The Weave

 

And here is the google maps location https://goo.gl/maps/3dUTI

Update: Oct 25, 2014 : Got a call from the Sales guy saying management is recommending ICICI since HDFC has apparently not released the money so far for the project. They will confirm to me on monday if I should go over to ICICI. I will go only if ICICI gives me zero processing fee since I have already paid the processing fee to HDFC (and the loan is in final stages of approval).

Read More

Linkedin down?

2014-09-28 19:32:15 +0000

Looks like @ Sun Sep 28 21:27:08 UTC 2014 , Linkedin is down on the web with infinite redirect loop. The problem exists both while logged in and non-logged in.

Going by the looks of it, a new home deployment might have caused a faulty redirect. Surprisingly I dont see any other reports on twitter at this time for a linkedin failure. Is it just me?

 

Screen Shot 2014-09-29 at 2.59.49 AM

Anshu-MacBook-Pro:~ anshup$ curl -I -L -s https://www.linkedin.com/
HTTP/1.1 301 Moved Permanently
Server: Apache-Coyote/1.1
P3P: CP="CAO CUR ADM DEV PSA PSD OUR"
Location: https://www.linkedin.com
Content-Language: en-US
Content-Length: 0
Vary: Accept-Encoding
Date: Sun, 28 Sep 2014 21:29:06 GMT
X-FS-UUID: 18019603b8379813f0ea79a8782b0000
X-LI-UUID: GAGWA7g3mBPw6nmoeCsAAA==
X-Li-Fabric: prod-lva1
Set-Cookie: _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: leo_auth_token="GST:UvElobHw83UX24kTRj2lklHVoQQXXlf0Rt2k8itBKk8GG3AQzMhbhP:1411939746:245dd3572340239e71357eef1895a64caf71ab98"; Version=1; Max-Age=1799; Expires=Sun, 28-Sep-2014 21:59:05 GMT; Path=/
Set-Cookie: sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: JSESSIONID="ajax:3378763733454792746"; Version=1; Domain=.www.linkedin.com; Path=/
Set-Cookie: visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Tue, 27-Sep-2016 21:29:06 GMT; Path=/
Set-Cookie: lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
Set-Cookie: lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
Set-Cookie: bcookie="v=2&71ea2c02-5df9-45f7-8db5-5d24119e31f2"; domain=.linkedin.com; Path=/; Expires=Wed, 28-Sep-2016 09:06:38 GMT
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store
Connection: keep-alive
X-Li-Pop: PROD-IDB2
Set-Cookie: lidc="b=VB78:g=109:u=1:i=1411939746:t=1412026146:s=3048875758"; Expires=Mon, 29 Sep 2014 21:29:06 GMT; domain=.linkedin.com; Path=/

HTTP/1.1 301 Moved Permanently
Server: Apache-Coyote/1.1
P3P: CP="CAO CUR ADM DEV PSA PSD OUR"
Location: https://www.linkedin.com
Content-Language: en-US
Content-Length: 0
Vary: Accept-Encoding
Date: Sun, 28 Sep 2014 21:29:07 GMT
X-FS-UUID: 928ba61ab8379813e0dba9dcca2a0000
X-LI-UUID: koumGrg3mBPg26ncyioAAA==
X-Li-Fabric: prod-lva1
Set-Cookie: _lipt=deleteMe; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: leo_auth_token="GST:UicjR0NBQqxraRmVAJE3SkdicNoyfQnr54E9IJoJMVdMn8mYU3pN9c:1411939747:93cea2e9d32d7f3b4c65a4a754d58ec46ee426f0"; Version=1; Max-Age=1799; Expires=Sun, 28-Sep-2014 21:59:06 GMT; Path=/
Set-Cookie: sl="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: sl="delete me"; Version=1; Domain=.www.linkedin.com; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: s_leo_auth_token="delete me"; Version=1; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/
Set-Cookie: JSESSIONID="ajax:7472706816298936279"; Version=1; Domain=.www.linkedin.com; Path=/
Set-Cookie: visit="v=1&G"; Version=1; Max-Age=63072000; Expires=Tue, 27-Sep-2016 21:29:07 GMT; Path=/
Set-Cookie: lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
Set-Cookie: lang="v=2&lang=en-us"; Version=1; Domain=linkedin.com; Path=/
Set-Cookie: bcookie="v=2&de6e7146-727b-4c72-82fd-c0c5b062d0b3"; domain=.linkedin.com; Path=/; Expires=Wed, 28-Sep-2016 09:06:39 GMT
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store
Connection: keep-alive
X-Li-Pop: PROD-IDB2
Set-Cookie: lidc="b=VB78:g=109:u=1:i=1411939747:t=1412026147:s=3097703888"; Expires=Mon, 29 Sep 2014 21:29:07 GMT; domain=.linkedin.com; Path=/

Read More

Fedora EC2 HVM AMI

2014-08-03 04:01:07 +0000

In this blog post, I am going to tell you how to setup a Fedora HVM Image from the official Fedora PV Image on Amazon EC2. In general, this basically covers how to convert a PV image into a HVM image for AWS EC2. This works for fedora, but might not work for other OSes.

I assume you know about AWS, EC2, AMI, HVM and PV. Amazon has been steadily pushing towards using HVM. With the latest round of launches on July 1, 2014, Amazon now shows only HVM Images by default when you go to launch an instance. You now have to search for PV images. One benefit of using HVM images is better access to underlying hardware resources which gives benefits such as enhanced networking.

Fedora has official Amazon AWS EC2 AMIs available at http://cloud.fedoraproject.org/. However presently it only has para-virtualized (PV) Images.

I have been working extensively on AWS EC2 for the last few weeks and have realized that for best performance, we should be using HVM images.

For this particular project, I was interested in the multiqueue block layer, which was introduced in kernel 3.13.

The first step is to spin up an instance from the existing PV AMI. Its not completely necessary, since you just need the snapshot of the AMI. However I created an instance as I needed to make some changes to the image. The existing AMI available from Fedora has Kernel 3.10. So, I had to do a yum upgrade to get the latest available kernel 3.15.

After launching the instance from PV and making changes as per your needs (in my case, sudo yum upgrade -y), create a new AMI using AWS tools or web console, whatever way you are comfortable with.

For the rest of the steps, you need to setup EC2 API tools or the EC2 Command line Tools. I use EC2 CLI Tools.

After the AMI is ready, find the snapshot id used by the above AMI under EC2 > Elastic Block Store > Snapshot in EC2 Console.

or if you have the ec2 api tools setup:

ec2-describe-images ami-id_of_above_created_ami

and find the snapshot id for the ami. It would be something like snap-a12b34cd .

Once you have the snapshot id, you can register a new AMI using the above snapshot.

To register a new HVM AMI using the above snapshot, you need to use the cli/api tools since AWS still doesn't have this in the webconsole (it might come soon).

ec2-register -a x86_64 -d '3.15.7-200.fc20.x86_64' -n 'Fedora_20_HVM_AMI' --sriov simple --virtualization-type hvm -s snap-b44feb18 --root-device-name /dev/sda1

where

-d is AMI description
-n is AMI name
-s is snapshot id from step 3.
-a is architecture
--virtualization-type is required for making it hvm
--sriov is for enabling enhanced networking , though it might be redundant, not sure.

This would register/create a new HVM AMI based on the snapshot created by the PV Image.

So, in this blog, we discussed how you can convert an existing PV AMI into an HVM AMI, specifically, how to create a fedora HVM AMI from the official PV AMI.

PS: I have made my Fedora HVM AMI public in the east region. So just search for Fedora and you will find it. Feel free to create AMIs of your own and/or copy it over to other regions.

PPS: Wanna know which cool place do I work where we end up playing with the state of the art latest technologies, be it kernels or the latest SSDs? Hit over to http://aerospike.com/careers to join the team!

Read More

You're up and running!

2014-03-03 00:00:00 +0000

Next you can update your site name, avatar and other options using the _config.yml file in the root of your repository (shown below).

Read More

How to earn Fedora Badges?

2013-09-15 09:10:05 +0000

Fedora recently launched https://badges.fedoraproject.org, a recognition system that awards badges based upon certain activities that you do within the Fedora Infrastructure Environment.

I have recently been working with the Fedora Infrastructure and came to know about the badges. Needless to say I was excited and wanted some of my own.

First step to be a part of the Fedora infrastructure is to have a Fedora Account System account. You can signup for it at http://admin.fedoraproject.org/accounts/.

Once you have created your account, you should add a secret question to your account. This will earn you https://badges.fedoraproject.org/badge/riddle-me-this.

https://badges.fedoraproject.org/pngs/fas-riddle-me-this.png

Adding your timezone to your account profile earns you the

https://badges.fedoraproject.org/badge/white-rabbit

https://badges.fedoraproject.org/pngs/fas-white-rabbit.png

By adding your ssh or GPG key to your account, you can earn the https://badges.fedoraproject.org/badge/crypto-panda

https://badges.fedoraproject.org/panda/fas-crypto-panda.png

Accepting the FPCA (Fedora Project Contributor Agreement) earns you the https://badges.fedoraproject.org/badge/involvement

https://badges.fedoraproject.org/pngs/involvement.png

To earn the https://badges.fedoraproject.org/badge/let-me-introduce-myself , you need to create your User twiki page on the Fedora twiki. Mine is at https://fedoraproject.org/wiki/User:Anshprat

https://badges.fedoraproject.org/pngs/wiki-let-me-introduce-myself.png

Editing 10 times on the Fedora twiki earns you the https://badges.fedoraproject.org/badge/junior-editor

https://badges.fedoraproject.org/pngs/junior-editor.png

Participating in one of the Fedora meetings in #fedora-meeting in irc.freenode.net earns you a
https://badges.fedoraproject.org/badge/speak-up!

https://badges.fedoraproject.org/pngs/irc-speak-up.png

This is a brief overview of how to earn some of the badges. I will be updating soon with more badges and more details on the the steps mentioned above.

You can see all the badges at https://badges.fedoraproject.org/explore/badges

And the badges I have earned so far at :

https://badges.fedoraproject.org/user/anshprat

Read More