krish – 起死回生 [Wake up from death & return to life.]

December 16, 2014

AN OPEN LETTER TO SHENAZ TREASURYWALA

Filed under: Uncategorized — krish @ 2:39 pm

Originally posted on Xpressionsdpka's Blog:

IS MY COUNTRY REALLY SO UNSAFE? IS EVERY MAN OUT THERE A RAPIST?

Dear Shenaz,

I read your Open Letter to some of the most Influential Men in India asking them to do something “URGENTLY” to protect women of this country. The accounts you shared in your letter are horrific and no girl should go through an experience like that.  Easier said than done…I know. I am a woman and I can correlate with the pain but Shenaz I would like to draw your attention towards something that no one today talks about and also urge you to write few more Open Letters after reading mine to you.

You ask a question again and again in your letter. Why was the driver in Uber case let go when he was caught for rape last time? Don’t you think you should ask this question to the woman who compromised the case…

View original 1,343 more words

November 5, 2014

Giving up Everything to move forward in Life!

Would you call me crazy if I said I don’t need a house, don’t need the TV, the car, the sofa, the dining table, the Fridge, utensils, cooler, suits, and a ton of stuff that we all keep inside 4 walls and rate our success in life with how much more we can stuff within those walls?

Would you call me mad, a lunatic, if I said life can be lived on a single backpack?

It’s 3:00 am, I’m awake despite being sick and short of breath due to Asthma.
Meditated for a bit, feels better now.

Dark room, silent surroundings with everyone asleep, good for thought process.
Two months, I’ve backpacked Malaysia and Singapore for 2 reasons.

  1. To find investors for my start-up and
  2. To assess if I can survive with one backpack.
A backpack with life's essentials is all I seem to need.

A backpack with life’s essentials is all I seem to need. Pudu Raya Bus Terminal, Malaysia .. waiting for bus to Singapore.

As I reflect on my thoughts and feelings I went through while backpacking,  I do not seem to need my urban luxuries of life to make anything better of it.

My car, the TV, and the seemingly un-ending list of items stuffed in the apartment, I can survive without it.
With the goals I have set for my life, none of this matters.

All I need is a laptop, and few clothes.
Should an Indie game developer need more than that?

Working on my upcoming game while backpacking. One laptop, a drawing tablet and access to Internet - thanks to a host who gave me shelter.

Working on my upcoming game. One laptop, a drawing tablet and access to Internet – thanks to a host who gave me shelter.

I always knew my life isn’t going to be about settling down at a place.
I’ll never fit in a society, a structure or an organisation, or the very nature of people to own more materialistic things of life to climb that social ladder, the society with it’s rules that I can’t find a logic too.
Quit my job 4 years ago to do what I love.
Toured quite a few places in India on my motorbike, but something is still holding me back.

Yes! the Possessions I have. Possession of things in life that needs you to stuff them inside 4 walls and call it home, are holding me back.
I need to let go to experience new things this world has to offer.
I need to make more friends, I need to meet more good people with positive vibes around the globe, see the world and immerse myself in the nature/beauty/history/stories that Earth has to offer.

This is it. I have to do this.
There is no reason to wait any longer.

I need to travel without boundaries,
I NEED to be FREE!

So, here’s a list of stuff that I’m giving up from my current life. (Click to go to the link)
A lot of “Free GiveAways to Friends” yay!, and a few things on sale. :)
If you’d like to see videos of my travels, you can subscribe to me on Youtube – click here.

Pantai Tengah beach, Langkawi, Malaysia. Nice place to sit and think of game ideas.

Pantai Tengah beach, Langkawi, Malaysia.
Nice place to sit and think of game ideas.

October 15, 2014

Would you buy air tickets if AirAsia makes you stand in their plane?

Backpacking 2 months between Malaysia and Singapore, I finally reach KLIA2 airport in Kuala Lumpur to take a flight back to India.
Next destination is Chennai, flight is AK011, on 11 Oct 2014.

I am at the airport 8 hrs before flight schedule.
Spent some time working on my laptop, looking for charging points, tasting some food and well, standing in a short queue for long long time.

socialupdate1

socialupdate2

socialupdate3

 

socialupdate4

IMG_20141011_034312

“Finally, the time has come for check-in and I can happily get some well deserved sleep in the flight”, I thought to myself.

The queue is not long, but seems like moving slow, just too slow.

Oh wait! what’s happening.. where are you guys .. oh my! Did you just cut queue!!!  (A young Indian origin Malaysian man cuts the line with 4 female members of his family)

1.5 hours later still in queue, as I alternate my stare between the yellow line “Don’t cross”, and the family that is still in front of me at the counter.

Why does it take so long to process 5 people I think.

Few more minutes and I check-in, got 10F assigned and I move away (takes less than 3 minutes for my check-in. There is a system problem.. airlines check-in crew is writing things up by hand)

socialupdate5

 

 

Boarding time!
Walking in, eyes glued to the seat numbers … Aha! 10F, I open the cabin baggage compartment .. It’s already full!
But wait!, there is space just enough for my thin laptop bag to slide in.  Cool.

Lock the compartment, look down “Wait a minute! was this man here sitting in my seat already?”
His face seems so similar like I’ve seen him before.

ponnam1

HELLO! I sit in your seat and act like nothing happened. PROBLEM?

Before I open my mouth to ask him, 2-3 people from the row 9 start demanding the steward beside me “He (the person in my seat) HAS to sit here”
The steward shows me 11F, I obliged.
A little not impressed that the steward didn’t ask me if I wanted to give my assigned seat to the person who somehow has already claimed it.
Neither did the person want to ask me, or even look at me (people generally atleast take a glance at the person whose seat they might have taken).
Somehow he lets people in row 9 do the talking for him.

I wonder where have I seen this face. And why are people popping out of their seats to take a look at him.
I can understand bits and pieces of Tamil and seems like people want to take selfies with him. But no one went on to take one.

??????????????????????????????????????????????????

What do you mean I have to look at you? I took your seat and have 5 people talking on my behalf. HAHA what can you do huh?

 

Now at 11F, a person’s face gets too close and I go like “What the”
Oh he’s trying to look out of the window. Both he and his friend 11 D,E

Their constant inquisitiveness to what’s outside aircraft tells me they are probably new to flying or new to Malaysia’s airport.

I offer them my seat and let them have fun. I feel happy that they were happy too.

IMG_20141011_091643

3 hour long Check In seat Assigning is Just for Fun at AirAsia. We prefer Actors and people to bully us to fly with us anyway. Or is the 10F the new Toilet standing seat?

I am now at 11D, trying to settle in but life has other plans.

“I want this seat”, shouts a woman over my head. I turn back in surprise to what’s happening!
She is talking to the steward. She wants the seat where I’m sitting now.

“And I want my father to sit with me”, she says (She wants 11D and 11E, but the row is already occupied)
The steward asks me to get up and move to another seat he shows me, 12E.

Strange, and yet again you don’t ask if a person wants to change.
I feel a bit irked, but I let go because I hear the adamant lady again “I am pregnant and I want this seat and I want my father to sit with me.”

She is still not talking to me, or talking to me indirectly but facing the steward. Strange people.

pokerface

Not the same, but my face looked similar at many moments during this flight.

As I get up, I notice no baby bump (so well, probably early stage of pregnancy), but anyway the lady is pregnant so I oblige again.

Oh boy, there is no space to move around and get to 12E. Why am I surrounded by 4 people looking at this lady with their bags in hand.
They are looking at this lady and then at the cabin baggage compartment over 10 and 11 (DEF) row. Surely there is no space there.

I look around and I see empty space in cabin baggage 2 rows ahead and suggest them to park their luggage there.
To which, I get a cold shoulder glance and denial of existence. I figure out they were family of this lady and well, forget being thankful for giving up the seat, they probably also want me to remove my luggage and create space for them or something.

Even if I did remove my thin laptop bag, there isn’t space for the bigger bag they were holding on to.
Alright, let’s move to 12E.

“Hi Uncle, can I get in”
I get stared through the glasses of a mid-aged semi-obese (not fun, just describing… I’m bit fat myself) man, who had his right palm glued on the empty 12E seat, didn’t move an inch of his leg to let me in and kept staring.
The very body language that says he’s not happy to see the empty seat beside him fill up.

I later took a picture of him, as you see below. His foot planted onto the empty seat for some comfy sleeping time, his hand takes rest on his thigh. Next time you’re flying AirAsia AK011, you know that 12E seat was foot planted by this uncle :)

IMG_20141011_093026

Alright, now that I didn’t let the dude in … lets have fun with extra space. A Leg over it and a nice nap outta do it.

So I stand and see if the steward can help. But dude is busy trying to accommodate the pregnant lady and her demands.
I watch helplessly as I see him getting bullied around by the passengers for seats.

This seems so much like an Indian state travel Bus!
I get a small smirk smile on my face as the image of what’s happening overlaps with an image of Crowded bus in India where people are standing, REQUESTING others for seat (oh yeah requesting, AT LEAST in Indian stage buses people talk to the people in the seat for a swap), and wondered to myself if soon there will be a state of life where you would travel airlines standing crowded like a local Bus/Train.

bus-india

A Bus in India felt better than AirAsia for the conductor never forces you to keep hopping seats.

Smirk on my face wipes away as I hear “I was all these 6 seats, I want my family to sit with me” from the pregnant lady again!
She now wants 11 (DEF) and (12(DEF) or 10(DEF)), and I take an imaginary facepalm to myself.

I lose a bit of patience and I try to move into 12E while the steward is still busy attending your highness “man with familiar face” and “early pregnancy stage lady”.
As I almost decide that I will settle down at 12E, I hear the steward “Sir you can sit here” (He’s wanting me to move to 11D again!!!!!).

Why?  Because the pregnant lady suddenly changes her mind that she will move 2 rows forward into row 7 with her whole family who was still there standing and staring at all of us (ie., any six passengers in and around where the lady demands her seat to be).

I lose my mind now.
But I don’t want to show anger. I haven’t been angry in the last 2 years. I want to stay calm.

karma

It Helps :)

The only words I say are “Is this a bus or a plane”? To which the steward’s response is “Sir please you can go back to 12E)!!!

I close my eyes, grind my teeth a bit, say “enough is enough” to myself and decide to STAND.
Yes, it’s been 17+ hrs I’m awake. I was carrying an effing heavy backpack before boarding, not rolling suitcases/trolleys.
It’s time I rest, but I decide to stand.
It is my way of peaceful boycott, to the whole mess they made up at AirAsia today leaving very less difference between a scenario in a crowded bus in a 3rd world country to an Airline.

Between this whole process, the plane takes off almost 1+ hrs late

But standing right now is both going to cause discomfort to passengers who are fighting for seats and also I need to be seated during take off and landing.
I take 11D for few moments, let it take off, and then I boycott by standing at the rear end of the plane.

IMG_20141011_083233

Bravo! AirAsia, Bravo! Here’s to your amazing professionalism. Cheers with a Coke at your toilet in your papercup.

I keep moving left and right to not hinder the crew taking out their trolley boxes in and out.
When that’s done, I still need to keep moving to not cause discomfort to people who are in-out of the lavatory.

Once the steward was done running around, I try to strike a conversation with him about the situation and he is LEAST interested.
Between my one line of sentence being obstructed 4 times, with his conversation with the stewardess and finally he turns to me and says “I gave you a biiiiig seat with leg room(with a hand gesture of biiiig), you didn’t take” and he doesn’t even bother to listen to my response.

DSC01957

Her father struck a happy conversation with me. They’ve been flying in a chain of flights for past 36 hrs. I feel they should have given the old man 12E seat atlest.

His logic was, as long as I gave you a seat, I could have you move any number of times as I want.

Someone please tell AirAsia that not everyone is in greed of big seats and leg room.
Some people care about the class you maintain in an airline. The amount of professionalism you carry and most importantly “self-respect”.

DSC01958

A passenger glances at me while I take pics from my standing place in airline travel. He had a cute kid who played peek-a-boo with me for some time :)

The other steward comes in to have a conversation with his mates, and takes a glance at me.
I tell him the reason I’m standing here and that I might write this up in my blog when I land. His response “No problem, you can do that”
(with a flat face of I dont care!)

WoWZa!  Slow claps for AirAsia.

I spent my time moving left to right (Oh! I already said this), overhearing conversations of the cabin crew (which included some random numbers and topics of ex-boyfriends of the stewardess in a language I didn’t understand[probably malay]), playing Peek-a-Boo with a small cute kid, feeling hungry and wondering if I should buy Uncle Chin’s chicken rice (but couldn’t stomach to eat in front of toilets) and being plugged into music; and of-course taking these pictures.

DSC01959

Let’s discuss fun stuff, ex-boyfriends and lots of whatever while we keep a passenger standing near the toilets.

Immediately as I land, I leave tweets to @AskAirAsia and @AirAsia and head off to their office at Chennai Airport.
@AirAsia handles the issue of passenger standing in airlines by asking me to fill up an e-form!

socialupdate6
Slow claps again – ask a traveler to fill e-form where he may or may not have access to a decent speed internet as he lands at airport.

Also, Figured out the man sitting in 10F, the seat assigned to me, was an actor who appears in supporting roles of South Indian movies, named PonnamBalam.

“You are not a worthy passenger to AirAsia if you are not an actor like me”

 

I submit a hand written complaint, and get promised that I WILL receive a call about this the next day (Sunday) without fail.

DSC01961

I head off to Chennai Station for the next destination – Hyderabad.

I have no time visit my friends houses now, thanks to late landing and time spent at AirAsia’s office).
A complete 32 hrs later, I get my first dose of sleep in the train (which also ended up starting 2.5 hrs late).

Sunday, I’m in Hyderabad and there is no call, no email from AirAsia.
As monday too starts to pass by, I wonder if @AirAsia doesn’t even bother. I tweet to them, and their reply is

socialupdate7

My dear travelers, backpackers, and everyone. Did you know Standing seats could be a reality in future of Airlines?http://edition.cnn.com/2014/07/10/travel/standing-cabin-plane-study/

However, if you are eager to experience standing in an airplane travel even before that happens, you should try AirAsia!
Yay! I’m promoting them .. AirAsia, if you are seeing this you should send me a gift. (sarcasm, if you don’t get it AirAsia)

Tough luck that you cannot be the first, because they already helped me become ‘The first passenger in the World to stand in an Airline’. Yippie!

If you do try, please don’t forget to order a Coke and drink it while facing the lavatory.
The sugar and Caffeine in Coke helps you stay awake a bit, and helps soothe the numb sensation in your legs (esp if you have been awake like me for 21 ish hrs before landing)

I’m wondering if their slogan will soon change from “Now Everyone can Fly” to “Now Everyone can Fly Standing”

Tuesday goes by too, and now it is Wednesday and I haven’t heard from AirAsia yet.
Super Slow Claps and the reason why I ended up publishing this blog post.
Because AirAsia doesn’t give an eff about it’s passenger’s concerns.

slowclaps

July 8, 2014

My dear Laptop, looking for new Owner :/

Filed under: Uncategorized — krish @ 5:44 pm
Tags: , , , , , , , , ,

Update: SOLD
With heavy heart, I have decided to part with my 3 year old ultra portable, fun to have and absolute bliss to use laptop for travels (1.6 kgs only!).
We’re talking about ‘Shenron’ (Shenron, is the name of my laptop derived wish granting dragon of Dragon Ball Series;  Yes, I name my gadgets, problem? :D).

shenron

 

The Cheezy Stuff:

Shenron is an HP DM1-Z, which I bought jumping with joy when the AMD APU Fusion Zacate platform blasted performance without eating battery life was released, 3 years ago.

It was and is still the best 11.6 inch laptop available, other than well MacBook Air… or it probably beats air in few areas easily (unless if you’re an apple fanboy).

This is a special model of dm1-z, which is equipped with a 7200 rpm speed hard drive (no other models of dm1-z or even other 11.6 laptops came with 7200 rpm to reduce cost.) Even my new 14” laptop has only a 5400 rpm harddrive, imagine that! :)

shenron3

 

What’s EXTRA for you!

I have a NEW original battery on this(the battery cover is still on), which I purchased for INR 6500 after the stock one died.

I have only discharged the battery to 10% less than 25-30 times and just for keeping it maintained or calibrated. So basically you have ton of life left on it. (Unless you don’t know how to maintain a laptop battery that is ;) )

DM1 has been known for its long battery life. The 6 cell battery, 65 W adapter .. this has got juice to give you 9+ hr of idle backup time and usage time of about 5.5 hrs (I’ve tested this with both the stock and this new battery).

It also has a RAM upgrade by another 4GB stick, so that makes it a 6GB RAM fucking awesome machine! :)  [ Extra chargeable for the 4GB stick, read at bottom of the post ]

Also I am meticulous about stuff, so I maintained the laptop pretty well, including I’ve got it cleaned twice inside out for dust, cleaned heat sinks, the bridges, the keyboard, replaced thermal paste with new improved ones so that it contributes to cooler running and better throughput.

 

shenron2

The Tech Specs:

With AMD APU E-350 Zacate, integrated ATI Radeon 6310M, 2GB 1333Mhz memory (one slot free to expand.. and can upto 8GB), 320GB HDD (7200 rpm), Altec Lansing speakers – Dolby Advanced Audio, HD LED HP BrightView display, this laptop was making waves when it came in.

And I haven’t still seen a 11.6” that comes close to this. :)

For buying my laptop, you get the new battery (so you’re not buying old battery which doesn’t have life left), and can opt to buy the extra 4GB of RAM at lower than market price from me. (Else I can totally use the extra ram on my new laptop)

 

shenron1

Oh look, I love the almost 180 deg tilt!

 

Why I’m being cruel :

The laptop certainly didn’t deserve to go away from me so soon. I love it, it’s beautiful, thin, super portable and I’ve used it for my game design, made video games on it for almost 1.5 yrs now, running VMWare, Virtualbox, playing HD videos, playing games, editing videos.

I could still happily keep using it. It’s got the power I need, it feels very happy to carry around while travelling, and its got long battery life.

However, I have a new 14” laptop which I bought for one of my programmers and unfortunately we decided he should leave.

Now that leaves me with 2 laptops, and the new one has been lying in shelf. It has way less battery life (3 cell) when compared to the one I’m selling away. And keeping it in shelf means unused battery, means screwing it up.

The only +ve of it above this laptop is that it has 14” screen and I thought, for someone who writes games for a living I do need a bigger screen.

 

 

Shut Up and Take my money!

I am currently living in Hyderabad, India and I’m here still for the next 20 days.
So if you live here, or even if you live in another state but have the means to get this laptop to you (I’m not delivering/posting) and want this baby to be yours, then do email me at
das (dot) srikrishna (at) gmail (dot) com
You’ll have to give me 2 days time to back up my data to the other machine. I’m still using this, and infact writing this blog post from it.

It came preloaded with Win 7 home, but I’ve used Linux on it for 2.5 yrs and using Windows 8.1 since 0.5 yrs.
I can either install ubuntu linux for you or give you without OS (since the windows 8.1 is licensed to my company), however if you have a windows 7, you can happily use the product key which is written underneath the battery compartment… so you have a genuine windows license. :)

I spent INR 26,000 on laptop, and INR 6500 on new battery, INR 500 for matt finish screen protector.
Monetarily that brings the price of this beautiful machine to INR 33,000
Not to forget tons of time for careful handling and love!

I’d like to let go of this lovely hardware for just INR 15,000 only. (that’s less price than your 10.1 inch slow netbooks of these days)

The extra stick of 4GB RAM, 1333 Mhz costed me INR 3100 which you can opt to buy for INR 2,200, if not I can give it away to someone else or just use it in my other laptop.

So there :)

June 12, 2014

Femen Quebec Protests Montreal’s Grand Prix | My Thoughts on it

Filed under: Society — krish @ 1:42 am
Tags: , , , , , , , , , , , ,

In response to this article

https://news.vice.com/article/in-photos-femen-quebec-protests-montreals-grand-prix?utm_source=vicenewsfb

My thoughts:
May be Grand Prix time increases demand for paid sex; so does football time.

But for the whole point of “sexism” made by this article and the protester, I was wondering how on one side you protest against sexism and on the other side you write like only males enjoy Cars and racing.
That is sexism too right there. There are many women who like cars and racing.

It seems like feminists only like to “consider” only part of womens’ preferences to fight against.

Image

Also, about the security guard dragging her out, and being called as “enjoying his job” .. THAT IS his job; as in the pic I don’t see him groping or anything (so IMHO, he is doing his job and not ‘enjoying’ per se) … Someone standing on a multi-million dollar car which he is assigned to protect… I think he needs to do what he needs to do (just like the protester has her thing to do) … so stop trying to drag in sympathy by blaming someone else.

As far as Grand Prix or MotoGP having pit/crew/paddock girls, I would say it is entirely their wish. They get paid, and it’s upto them if they want to take part or not. No one is dragging them by their necks to be a crew girl. It’s a job, there is money (and probably more benefits), they want it, they take up the job.

Besides, so much for feminism that says no one should mind even if women run naked on streets, and then raise hue and cry over outfits of grand prix.

Image

I personally think GrandPrix and MotoGP girls look beautiful and they help encourage the riders/drivers to perform better (very basic male nature is to outperform and bring best out of them when the ladies are around). I would call them part of “encouragement” team and view their job “no less” than anything; it is “part of the team“.

Sadly extremist-feminist seem to try to see “lowness” in this.

P.S:  Pretty sure our extremist feminist friends didn’t find anything wrong in this protest that included gestures with dildos in front of “kids” that were at that event?
This world is full of people that want to get their way work out, raise hue and cry about their preferences not being met but aren’t open enough to consider other’s issues.
Bravo, Bravo! (sarcasm) -_-

April 6, 2014

Why are you making that weird noise?

Some people around me asked “Why are you making that weird noise?”

I replied “What noise?” :/
“Not sure, some tune of some gothic track? or something weird” they said.
I didn’t realize what they are talking about. :?

So I asked a biker friend whom I regularly hangout with, to watch out, and stop me right there if I make any song/tune/track noise!

Few days he didn’t notice anything.

One day I asked him, … he said “I don’t remember any weird song, infact not even once”

Then after few secs of pause…
“Oh wait!!!! may be they are talking about the inline4/superbike sound that you keep doing from time to time” -_-

:)

“That’s No weird sound! It’s the voice of my soul longing for a superbike :/”, I said.

March 23, 2014

“Don’t marry a Muslim”

Filed under: Society — krish @ 6:21 pm

krish:

Reminds me, just a couple of hours ago.. I was sitting in a Cafe run by Muslims and sipping on Irani tea, when a 15 yr old boy working there as the tea-boy, asked me “Are you telugu? or Are you Christian”

I replied “I am an Insaan-ian” (aka .. believer of humanity)

He asked again “No I mean who is your God!”

I said “BIRYANI” :P

Originally posted on Sumedh Natu:

My grandmother slit her wrists today.

To assure the inquisitive, prying world it had nothing to do with the inner politics of the family, I was asked to stick to the discussed story that she found out she had an incurable injury. The truth is she couldn’t handle the apparent shame my actions in the past two months had brought our prestigious family name.

Everyone in India barks about tradition. They say our country stands tall on an intellectual platform because we’ve been following a social structure that’s been untouched for centuries. One of the core ideas behind this structure is absolute obedience towards elders. The logic is easy enough to understand. They have more experience. The possibility of them making the right decision in a dilemma is higher. Tradition, I have been told is the platform for a good family life.

Except that I flouted this rule.

I fell…

View original 1,185 more words

December 11, 2013

Blackberry WebWorks 2.0 on Linux!

Okay!, so first some history.. was working with Webworks 1.x to get my game Baka – The World’s Hungriest Frog packaged for Blackberry 10.x platform.

Ran into quite some problems … not finding debug tokens to missing author.p12 files were just some of them.
To much dismay, suddenly all the docs links I was referring to on the developer url on blackberry site changed to Webworks 2.0 (Yay! RIM released BB Webworks 2.0 based on Apache cordova)

Wasn’t much “yay!” for me as I spent over a week figuring out why my debug token wasnt generating or why I couldn’t package a simple bar file… all in between making trips to hospital for I was under treatment for typhoid (still under medicine as we speak).

rants on twitter

rants on twitter

more rants

more rants

Anyway, I was super pissed… shot couple of mails and tweets and thankfully Erik (@WaterlooErik) mailed back quick…. and with quite a sensible reply. Very kind of him :)

3 lines from his email got me the root of the problem

When testing with the new WebWorks 2.0 SDK, you should actually only have to run the following command when your device is connected:
webworks run

This will automatically generate a debug token for you if need be, upload it to the device, and then deploy your project in debug mode to the device.

Have you registered your BBID code signing keys and generated a new author.p12 file already? (If you are using your old CSJ code signing keys, that may be where the issue is coming from.)

My Problems:
1. What he mentioned as “automatically generate a debug token for you” wasn’t happening.

2. So, I was trying everything manually to create those debug tokens… using csj files with the old webworks debugtokenrequest commands and csk with new debugtokenrequest… wait.. in short I had both stuff installed in a big mess.

3. I was using Webworks setup inside a Windows VM running on a Linux host.. so the device was connected via host to guest.. and somehow that pretty much doesnt work. “No Blackberry device found” :)

I definitely didn’t want to dual boot my laptop with windows for this (although I could have used my desktop .. I wanted to have this on the move)

Then I found this https://github.com/badtoyz/BB10-WebWorks-SDK-2.0.0.54-Beta

Decided to do a clean install on my laptop/Ubuntu host … so here I take you through how it was done along with some pitfalls.

 

 

INSTALLING WebWorks 2.0 BETA on Ubuntu Linux:

– PREREQUISITES

\\ Install Git, ia32-libs, Java Runtime Environment
krish@shenron:~$ sudo apt-get install git ia32-libs openjdk-6-jre

\\ Update Repo and install python stuff and build tools
krish@shenron: ~$ sudo apt-get update
krish@shenron: ~$ sudo apt-get install python-software-properties python g++ make

\\ Get Nodejs from Chris’s ppa – there is a nice updated build for lucid lynx, so didn’t have to compile from source
krish@shenron: ~$ sudo add-apt-repository ppa:chris-lea/node.js
\\Accept the freaking ppa adding warning :)

\\Install Nodejs
krish@shenron: ~$ sudo apt-get update; sudo apt-get install nodejs

\\Install Cordova via npm
\\ Note: I didn’t have to install npm via my package manager. Infact it apt-cache policy npm shows its not installed. Probably comes packaged with nodejs
krish@shenron: ~$ sudo npm install -g cordova


- WebWorks 2.0 Beta

\\ Get from Mike’s (@badtoyz) repo
krish@shenron:/opt$   git clone https://github.com/badtoyz/BB10-WebWorks-SDK-2.0.0.54-Beta.git
krish@shenron:/opt$   mv BB10-WebWorks-SDK-2.0.0.54-Beta    BadToyz-BB10WebWorks

 

- Start UI and Try to create a Test Project

startui

Open a tab on your browser to http://localhost:3123, this should give you WebWorks 2.0 UI
Try creating a project and Build it.

For me, it didnt :) .. It got stuck at a dialog called “Creating…” or something and hung there.
So did a little debug via command line, found where the problem step was, reported it on an issue
https://github.com/badtoyz/BB10-WebWorks-SDK-2.0.0.54-Beta/issues/2

I thought I might now have to wait another week for this, but Mike was kind enough to fix this fast (as you can see from the replies on that issue)

 

 

- Pull in latest from Repo + Couple of more changes I figured was necessary

\\ Stop the UI by Ctrl+C on that term you were running it on.

\\ Pulled in Mike’s fixes. You may not have to do this because you will get latest fix from HEAD
krish@shenron:/opt/BadToyz-BB10WebWorks$ git pull origin master

\\ Install npmlog, graceful-fs and clean .cordova
krish@shenron: ~$ sudo npm install npmlog
krish@shenron: ~$ sudo npm install graceful-fs
krish@shenron: ~$ rm -rf .cordova

\\ Extend PATH variable .bashrc to add /opt/BadToyz-BB10WebWorks
\\ and /opt/BadToyz-BB10WebWorks/cordova-blackberry/bin/dependencies/bb-tools/bin

Add to your PATH in .bashrc

Add to your PATH in .bashrc – Sorry for the small screenshot. Resized by mistake :(

\\ Now startui again and try to create test project
krish@shenron: ~$ cd /opt/BadToyz-BB10WebWork
krish@shenron:/opt/BadToyz-BB10WebWorks$ ./start-ui

Go to that localhost:3123 again, and try… it worked this time :)
Was able to create the project.

 

- CONNECT Your Blackberry on LINUX

I was using z10 dev alpha B.. you might have a z30.

Well, this doesnt work so seamlessly as it does on Windows, aka.. it doesnt connect via usb as a recognizable device.. this is the reason I couldn’t forward the usbdevice into my VirtualMachine windows.

Anyway here’s the work around

1. Enable Dev Mode
– Go to Settings -> Security and Privacy -> Development Mode
– Give a password, remember it. This is your DEVICEPASSWORD
– Set an IP. Default is 169.254.0.1 (I used 169.254.1.5)

2. Connecting via USB on Linux
– Got to Settings -> Storage and Access
– Set USB Connections to “Connect to Windows” or “Connect to Mac” instead of the default “Auto detect”
Now you’ll see the device will be available as a network connection on your network-manager
Note: I renamed it to BBz10 to remember so.

BlackBerry z10 in dev mode on Linux as a usb network.

BlackBerry z10 in dev mode on Linux as a usb network.

3. Test the connection
– You should be able to ping your z10 via its dev mode IP (169.254.0.1 or whatever you set it to)

 

 

- Try to BUILD test WebWorks Project

Tried to build and install the project via UI
– FAILED :(

Debug Token, Where are Thou? :(

Debug Token, Where are Thou? :(

What the!!! Same old error. Now I dont want to use that blackberry-debugtokenrequest script again?
Oh wait, Remember Erik said, “When testing with the new WebWorks 2.0 SDK, you should actually only have to run the following command when your device is connected: webworks run”

Let’s try that


 

- Creating a DEBUG TOKEN 

\\ Go to a project directory
krish@shenron:/opt/BadToyz-BB10WebWorks$ cd ~/WebWorks Projects/test1
\\ Run webworks run.
\\ This will ask you for your DEVICEPASSWORD (which you entered when switching on debug mode)
\\ And your KEYSTOREPASSWORD (which you set while generating bbidtoken.csk)
\\ If you did not generate bbidtoken.csk, please do it via
\\ http://developer.blackberry.com/codesigning
krish@shenron:~/WebWorks Projects/test1$ webworks run
[ERROR] The Specified CSK password is not valid.

Whaaat!!! :/

Pretty sure that I had my csk password correct.
Let’s try verbose mode
\\ Trying Verbose on webworks run
krish@shenron:~/WebWorks Projects/test1$ webworks –verbose run –devicepass DEVICEPASSWORD –keystorepass KEYSTOREPASSWORD
Generating config.xml from defaults for platform “Blackberry10″
[INFO] Target Z10-MYDEVICEPIN selected
[INFO] Generating debug token
[ERROR] The specified CSK password is not valid.
An error has occured.

At this point I could see fumes out of my head. This was back to square one. :X
Atleast, it shows MYDEVICEPIN correctly, so unlike earlier, it is able to connect to my device this time :)

Did I mention I was making trips to hospital the whole last week? and then working late nights (probably half drowsy) on this with Webworks 1.x
So I thought, what the hell.. lets just try to ensure we have all files correct


- Files you need under ~/.rim or your /home/user/.rim

You’ll need the bbidtoken.csk and author.p12
I backed up my author.p12 from the windows VM from “%HOMEPATH%\AppData\Local\Research In Motion”
and put in under “~/.rim”

I’m pretty sure I had to generate that author.p12 on Windows. Just can’t remember at the moment.

As for bbidtoken.csk, I generated a new one by going to http://developer.blackberry.com/codesigning and requesting a new token for SDK 10.2 for WebWorks 2.0 Beta
AND remember the KEYSTOREPASSWORD you set here :)

 

 

- Try to CREATE Debug Token Again

W00t! ... it also deployed the app to my z10? :)

W00t! … it also deployed the app to my z10? :)

Yippie! Finally… webwork run also deploys if the app is connected.
Also it created debug keys and pushed it to the device. I could see that on the “Settings -> Security and Privacy -> Development Mode” screen.

But wait, I want to see this working via UI too.

\\ So fire up the ui again
krish@shenron: ~$ cd /opt/BadToyz-BB10WebWork
krish@shenron:/opt/BadToyz-BB10WebWorks$ ./start-ui

\\Try to Build and Install the project via the UI

Building BAR file success!

Building BAR file success!

Huaaaaaaa!!! :)
You’ll see your the app fire up on your phone screen and also an app icon installed :D

Your test WebWorks 2.0 app

Your test WebWorks 2.0 app

Hope this helps someone :)

You can tweet a thanks to @WaterlooErik , @badtoyz and may be me if you want to let me know that this worked for you! :)
Or if it didn’t, feel free to either tweet to me @srikrishnadas and/or leave your error in comments :D
Thanks to ダニエル for his nice write up on prereqs for the old Webworks. It did help :) I wish I knew his twitter id to include in the above thank list :D

An hour past midnight now.. time for BattleField ;)

Btw, You can LIKE our game page – https://facebook.com/HungryBaka to keep updated on the upcoming fun adventure non-endless jumper .. the story of The World’s Hungriest Frog – “Baka:)

December 10, 2013

How to uninstall Intel XDK from Linux!

Filed under: Free / Open Source,GNU/Linux — krish @ 12:54 pm
Tags: , , , , , , , , , ,

This differs depending on the distro you use.

I was on Ubuntu 12.04 LTS, and had installed Intel XDK earlier for a game development; decided to do away with it.

So here it goes

STEP1: Launch javaws viewer and remove the xdk

Use javaws to remove the XDK

Use javaws to remove the XDK

STEP2: Find the cache location and Remove Cached xdk files

Find the cache location and delete cached xdk jnlp

Find the cache location and delete cached xdk jnlp

STEP3: Happily do away with the shorcut

Bye bye shortcut. Neaten up your desktop a bit :)

Bye bye shortcut.
Neaten up your desktop a bit :)

December 6, 2013

I get Flowers?

Filed under: Uncategorized — krish @ 9:57 pm
Tags: , , , ,

So umm…. someone delivered flowers with a “Get Well Soon” note at my home when I was away.

It’s a nice gesture… thanks whoever it is…..but but but… couple of things run through my mind..

1. I hope it’s not a man sending me flowers! And if so, I hope its just a ‘friendly’ gesture.
If not, Sorry dude, I’d have to break your beautiful heart. ;)
But thanks though :D

2. I have no idea what to do with flowers?
If it was Biryani or Beef Steak… I’d stuff my face with it. :P
Or may cans of RedBulls. Umm… What exactly do I do with flowers?
Oh, there were quite some fruits with the pack too… like a ton of them. :/

3. There’s no name on the card.
Now, that’s kinda my style. No named Gifts/souvenirs – the anonymous signature has been my style for so long.
COPYCAAAT ! -_-

4.  My mom thinks it’s from my ex. And I’m like facepalm. Oh no mom, that doesnt happen.
There was only once in her life she had to take care of me when I was in hospital and guess what, she packed her bags and ran the very next day :) .. while I remember being there for her in almost every sickness she had since I knew her.
So I had to chill down my mom making her understand that some people do not have a ‘reciprocation’ nature when it comes to caring.

5. Can I give these flowers to other beautiful girls? :P

Woot Flowers?

Woot Flowers?

Next Page »

The Rubric Theme. Create a free website or blog at WordPress.com.

The Male Factor

Everything that bothers a man. Explore humanity here.

Rough Draft

by Atteris Amarth and Darrek Ringo

The Kochi Post.

Read by all + Influenced by none

JumboMake

A signature of Kiran

SAAYAM CHEDDAM FOUNDATION

This blog is just for additional and extension share of it's main frames. No activity is planned from here

krish - 起死回生 [Wake up from death & return to life.]

Get a sneak peek into krish's life, work and passion.

WordPress.com

WordPress.com is the best place for your personal blog or business site.

A Tale of Two and a Half

Monika Amita Bakshi

Follow

Get every new post delivered to your Inbox.

Join 52 other followers

%d bloggers like this: