Thursday, October 9, 2014

Better than food, sleep and sex

There is a lethal game...

Pazner General Forever


...when I was a kid I used to play computer games. When I became a little bit older (not saying grown up) I sometimes look back and spend an hour or two playing old games from the past. This time the experience was different thanks to Panzer General Forever. See this thread:

Today is a happy day for me. My work on the initial release of PG Forever, my PG/AG remake is finished. Woohoo! :woohoo It took me 2 years to go all the way from the first working prototype to the finished game, and if I knew how much time the project would take, I would probably never start it. :p 


Someone has just recreated a game from nineties! Main improvements include AI - computer player getting smarter and enhanced UI - better usability according to modern standards. All in all the game is a blast and no wonder why my sleeping habits are different these days. The game is better than food, sleep and sex!

On the same note there are some games that were recreated by fans:

Now I know how it feels to be immersed in Virtual Reality. Now I can understand emotions related to gaming and that instant gratification of destroying enemy units.

---

This post has been sponsored by Panzer General Forever FAQ:

[Q] I like PGF! How else can I help? 
[A] You can help by spreading the word. The more players we have, the more issues we'll detect and fix, thus making the game better and better all the time. If you have a blog or a web site, consider posting some information about PGF there. This will help a lot. 

Wednesday, July 23, 2014

Friday, June 6, 2014

London City Investment Club (follow the money)

I'm currently at the event at Google Campus...

This is the final slide of presentation:


Sounds good. Most of mine colleagues are engineers, developers. In this room it was quite different:
Our Club membership is open to professionals (particularly City investment bankers) who are interested in entrepreneurship and the world of high-tech start-ups. We offer them a chance to make investments (benefiting from very attractive tax breaks) and get actively involved in very promising, chosen start-ups.

 


A little food for thought :)

---

UPDATE:


Taken from:


No wonder why millionaires place their children in Asia:

Monday, May 26, 2014

Seed Enterprise Investment Scheme (SEIS) - tax break in the UK

I've just commented on Business Insider article...

London - The City With The Most Opportunity Right Now

(technically speaking I live in Cambridge, 45 minutes by train which is not that bad at all)




Seed Enterprise Investment Scheme (SEIS)

Tax relief for investors who buy new shares in your company.


SEIS The Case for the New Investor from School for Startups Ltd on Vimeo.

I had a discussion on Makespace email group (Makespace is a community workshop / hackerspace in Cambridge):





I would really like to be your local contact in the UK.

Links to two major crowd funding sites describing SEIS opportunity:
- seedrs
- crowdcube

Contact me anytime: mstefanow@gmail.com

Tuesday, May 20, 2014

Setting CORS (cross origin resource sharing) headers in node.js express app

There is a question: http://stackoverflow.com/questions/7067966/how-to-allow-cors-in-express-nodejs





The essential part was here:

app.configure(function() {
// has to be in that order ! ! !
app.use(cors());
app.use(express.static(__dirname + '/static'));
 
// will NOT work like that
// for files served statically
// (it took a little while to figure it out)
// app.use(express.static(__dirname + '/static'));
// app.use(cors());
})
I encourage you to use Nitrous - reflink - because you are up and running in no time, think jsFiddle jsBin codepen plnkr for node apps. On this occasion Rubber Duck method proved itself useful (as always) so no silly questions posted to StackOverflow.

Friday, April 11, 2014

Tuesday, April 8, 2014

Qualcomm partnerships #coliving #coworking

Have you heard of https://en.wikipedia.org/wiki/Cocktail_party_effect aka cocktail party syndrome?

Once I started working for Qualcomm I see Qualcomm everywhere!

Take for instance internet.org laser drones: http://mashable.com/2014/03/27/zuckerberg-facebook-connectivity-lab-internet-org/

Qualcomm is there:

Or linaro:
https://en.wikipedia.org/wiki/Linaro
Linaro is a not-for-profit engineering organization that works on open-source software for the ARM architecture, including the GCC toolchain, the Linux kernel, power management, graphics and multimedia interfaces.


Or #SXSW tweeting bike project: usemeleaveme.com

 

Only Intel and Samsung have larger revenue.

Maybe I'll be able to get Qualcomm onboard such noble enterprises as ch.totalism.org and genesis.re?

#coliving #coworking

(in the years to come it will be also about coexistence of people and technology)


Monday, April 7, 2014

Adobe PhoneGap - Apache Cordova - state as of now, Monday 7th April 2014

Trivia: "Cordova" refers to the street the Nitobi office was on when the PhoneGap project first began.

Yesterday I got really confused with Phonegap / Cordova, recent changes to API and CLI (see github issue). It's a great honour to work on the modern stack but it comes with a tradeoff: many rough edges and breaking compatibility - it's not possible to track all the changes in libraries and frameworks.

Tiny summary of posts related to Phonegap and Cordova

(there are so many of them that clearly shows that people are confused with that)


19th January 2014: http://blog.devgeeks.org/post/73789983750/cordova-vs-phonegap-an-update

TL;DR: If you don’t need to use the cloud build service at PhoneGap Build, just use the Cordova CLI tools, not the PhoneGap ones.

More importantly, whatever you do, do not “mix and match” in a single project. This will only make a big mess.



11th August 2013: http://stackoverflow.com/questions/18174511/is-there-a-difference-between-phonegap-and-cordova-commands (many links, references, examples there)

26th March 2013:
http://blogs.telerik.com/appbuilder/posts/13-03-26/demystifying-apache-cordova-and-phonegap

Cordova is the engine driving PhoneGap

19th March 2012: http://phonegap.com/2012/03/19/phonegap-cordova-and-what%E2%80%99s-in-a-name/ (post by @brianleroux, Adobe evangelist, probably the best source of information)

PhoneGap is a distribution of Apache Cordova. You can think of Apache Cordova as the engine that powers PhoneGap, similar to how WebKit is the engine that powers Chrome or Safari.

I think I would like to use PhoneGap build, or at least give it a try.

Private bitbucket repos are not supported: http://community.phonegap.com/nitobi/searches?query=bitbucket
(quite a few folks asked about it)

There is even a blog post with a workaround but doesn't seem to work anymore: http://www.monkehworks.com/using-private-bitbucket-repositories-with-phonegap-build

Luckily there is fairly simple curl API hack: http://community.phonegap.com/nitobi/topics/bitbucket_support#reply_11622962

zip -r /tmp/myapp.zip ./*
curl -u abc.def@xyz.com -X PUT -F file=@/tmp/myapp.zip https://build.phonegap.com/api/v1/apps/123456

By no means I'm an expert but I try to help people whenever I can.

I know how frustrating it can be when a `hello world` app doesn't fire up. Saving the world for Firebase: https://github.com/firebase/firebase-simple-login-phonegap/issues/6 (just closed my own issue)



It is so cool that we have full access to the console, including setting breakpoints and stuff.

Some tips on the screenshots below:
- include scripts via script tag (do not inline in html)
- location.reload() for events occurring on startup




BTW, check my previous post on mobile frameworks (tl;dr I bet on Ionic


Tuesday, March 18, 2014

So you are trying to find web framework for mobile apps?

Recently I was searching for Angular and jQuery mobile wrapper / bridge / thingy.

First attempt:

Following the link:
(not under active development)




Can you invest your time and resources into building on an unstable platform?
(that is likely to change the following day)

They've just raised $1m which in my opinion makes them reliable platform to build upon.


It's your call...
(I bet on Angular)



Update: 
Thursday 15th May 2014 from jQueryUK conference in Oxford
http://goratchet.com/components/

Sunday, March 9, 2014

Hottest Startups

The 7 Hottest Startup Scenes in the U.S.

The World's 20 Hottest Startup Scenes

$1.5m to run 10-people business in SF for a year... INSANE!


That's pretty much ten times more than in Krakow :) Or maybe... They just calculated average salary and office cost. Noone in bootstrapping stage is not going to pay that amounts of money! 


===


There is a saying about selling shovels during goldrush + they say Levi Strauss made fortune by selling jeans to gold seekers. I have no idea about recruitment so I make notes: bit.ly/recruitment-hackpad


Connecting dots, references and ideas, still at the very early stage:


Any help with that? Or maybe I should ignore long-term strategy and jump straight in... Seriously no idea.

(I just observe that everyone is hiring)

(I just observe that in Science Park there are so many services: cleaning, reception, watering plants, security, delivery, sandwich vans, coffee machine servicing)

(recruitment must be a profitable service too)

Friday, March 7, 2014

What is the incentive of using public transport?

I'll be attending two events in the months to come. Of course I wish was able to visit SXSW, DefCon, GoogleIO and similar but... Money-wise I'm not just there yet. Wish my personal value and personal brand was strong enough to justify thousands of dollars in accommodation and flights and entry fees.


(invisible hand of the market, supply and demand, thanks to the prices they can ensure there are always places available)

1. http://www.makerfaireuk.com/









I also offered to share a room on Makespace mailing list and suggested an explanation to why on earth trains are so expensive!
- if you are poor: you travel by car and waste 4 hours focusing on road conditions (and by the time you are arrive you are too tired to do any work)
- if you are wealthy: you can sit, enjoy WiFi, power socket and do some work (that will make you even more wealthy)



Bus: http://www.boomfestival.org/boom2014/tickets/boom-2014-tickets-info/

vs renting a car:


It is still more expensive (note EUR and GBP signs) but I really value my flexibility and freedom. Maybe we will find another two to share the expense?

But then again: flexibility and freedom. Wish I was able to never look at the price tag again but always choose the most value.

(Facebook album from 2010 trip - just made it public)




To the moon!

Tuesday, March 4, 2014

AngularJS is such a canny beast

G+ 6 May 2013

G+ 25 Jan 2014 (such a lengthy call stack)


Plunker: http://plnkr.co/edit/4TmJTKEouhM2VMsyp0jq?p=preview



* Docs: Directive Definition Object - http://docs.angularjs.org/api/ng/service/$compile (require transclude replace terminal controller)
* Fantastic scope jsFiddle: http://jsfiddle.net/maxisam/QrCXh/
* "infinitely recursive directive structure": http://jsfiddle.net/n9KNv/14/

At the end of the day - question wasn't necessary - nevertheless - it took me two hours to figure the right syntax:

(it took me a while to figure it one so leaving a note to myself)

How to securely store private keys?

How to prove that me is me? The answer is simple: private key. But then... How to store it securely?



Favourite quotes from sources listed above:

Protecting your private key is the most important job you have to use GnuPG correctly.

Losing sole possession of your private key is catastrophic.

Safely storing your private key is important, but there is a cost. Ideally, you would keep the private key on a removable, write-protected disk such as a floppy disk, and you would use it on a single-user machine not connected to a network.

Private keys may also be stored on portable hardware, such as a smart card.

***

I know myself, I know how I treat devices. They are pretty much disposable. Hardware is cheap, intellectual property and thought behind is what matters to me. That is why I supported Keepod :) I love the idea behind and while it is primarily targeted at Africa I see plenty of use cases in privileged world too.

I was thinking about becoming a cyborg by inserting an implant that would hold my private key. Is it over the top? See discussion about Bitcoin Tattoos
(link)

Maybe Electrum has a solution?
(link)

Seriously, you should be using the Electrum wallet with its 12 word seed. I can't tell you how much simpler it's made my Bitcoin experience.
It's comforting knowing that no matter how many addresses I create in a wallet, or if my computer starts on fire, my wallet is backed up as long as I know those 12 words.

I like the idea. It's human-approachable... Porn industry invented streaming, Wall Street guys did this, military did that and Bitcoin apparently is teaching us how to think long term!

Monday, March 3, 2014

MongoDB - right tool for right job

Just collecting some thoughts on my recent adventures with Mongo:

I just chose the wrong driver and my attempts were an uphill battle. See this discussion on StackOverflow:
"completely unnecessary"
"avoid forced modeling via Mongoose"

MongoDB is here to stay:
- base for meteor
- "M" for mean:


And it is my job to keep up with technology (and use right tools for right job), otherwise I'll be working at McDonalds while next generation will take my place by using hypertools.

Friday, February 28, 2014