Categories
Javascript Personal

Tessel: Review

Tessel is a micro controller that runs JavaScript. It is NodeJS compatible – that means you can take advantages of npm and all the NodeJS awesomeness with it. The key attraction for me was the built in Wifi, makes it very easy to connect to the internet. Tessel has a good collection of modules which you can connect to the board to extend it’s functionality. The modules are listed here: https://tessel.io/modules. Each module has a dedicated npm package. You just have to install the package and require it to interact with the module. Cool, no?

I ordered a Tessel from their website on June 14. I got the board at hand today, July 20. They shipped via DHL global mail.

Here’s the tessel main board:
Tessel Main Board

I also purchased a GPRS module to interact with mobile networks. Here’s a photo of the module connected to the main board:
Tessel with GPRS Module

Setting It Up

Setting up was easy. I already has NodeJS installed. I installed the tessel command line tool.

npm install -g tessel

After tessel is installed, I tried listing the devices:

 ~/Projects/tessel ⮀ tessel list
INFO TM-00-04-f000da30-00574f44-32b02586

Then I copied the example blinking codes and tried them out. All worked fine. So my tessel was working! Then I tried listing the available wifi networks:

tessel wifi -l

I connected to my home wifi:

tessel wifi -n "TARDIS Console" -p "OnlyAnIdiotWouldPostHisRealPwdHere"

It connected to the Wifi just like that! Awesome!

Then I tested out the instructions on the “Tweet” section which uses the recently connected WiFi to send out a tweet.

The WiFi is working excellent!

The GPRS Module

Now I connected the GPRS module and tested out the sample codes. I used a spare Banglalink SIM to send out the SMS. It turns out that you don’t need to type the number in international format. The 017******** format works too 🙂

tesla

Just a quick note: If you follow the official example (it sends a text on gprs.ready event), and then kill the process by hitting Ctrl + C, you might have issues controlling the GPRS module without restarting it. So I think for testing, we can use the Tessel REPL from the command line:

tessel repl
Categories
Personal

Good Bye, 2011! Welcome, 2012! :)

Another year passed – the time has come to look back one more year and set expectations for the next year.

In 2011:

— I enjoyed a lot in Leevio, learned Zend Framework, built DeployNinja and contributed to Kuestions besides other projects.

— I have learned Windows Phone 7 development and some .NET (C#). I built the first Windows Phone 7 application from Bangladesh that made it’s place in the app store.

— I have mainly used Windows 7 as my primary OS all the year long. Switched to Zorin OS in December. Chose PhpStorm as my IDE and Zend Framework as my primary web framework.

— I have spoken at the phpXperts seminar 2011, my 2nd time as a speaker on this annual event.

— I have become a moderator of the phpXperts group.

— I have become the Campus Lead of Microsoft Student Partners, Khulna University.

— Arranged “Imagine Cup boot camp” in KU early in the year.

— Arranged “msdnaa installation fiesta” in Khulna University.

— I along with Hasin vai and Murshed vai created the group “nixers” to promote *Nix in a healthy way. Interestingly the group was created on the 16th December, the Victory Day of Bangladesh.

— I became a moderator in “nixers” too.

— I have learned a lot of Javascript and jQuery.

— Built a WordPress plugin and ASP.NET User Control for Avro Phonetic Keyboard on Rifat vai’s awesome jQuery plugin.

— Learned Git and started using Github.

— Tried some cool cloud offerings – phpcloud, pagodabox, phpfog, epio etc.

— My knowledge in CSS has improved.

— Contributed to “Python programming” chapters in a book published from Ankur ICT foundation.

— Written a few Bangla blog posts on Python but later paused. Also did a few screen casts.

— Learned django.

— Switched to Banglalion from BTCL ADSL.

— Bought a few gadgets.

— Became 2nd in the 2nd year 2nd term, yes, magic numbers 😉

Looks like 2011 hasn’t been that bad for me. Thanks to the Almighty for blessing me with a good year. What do I wish for 2012? Well, seriously, I will put that to the grace of the Almighty. May the Almighty bless me in the year 2012, may I receive the very best of what I deserve.

Plans in 2012:

— Get a Macbook Pro when my current notebook dies.
— Learn a lot of Javascript, PHP and Python. Yes, more focus on JS, then PHP and lastly Python.
— Avoid picking up a new language unless it’s extremely necessary, mastering the available ones should get priority.
— Stay on *Nix, focus on web development.
— More and more community involvement.
— Contribute to the open source community.

May the Almighty Allah grant me success and guide me in the right path. Wishing you all a very happy and prosperous 2012! May the Almighty be with us all!

Good bye, 2011!
Welcome, 2012!

Categories
Personal

উইন্ডোজ, লিনাক্স ও আমার পোস্ট

আজকে যারা আমার এই পোস্টটি পড়ছেন তারা অনেকেই হয়ত আমার উইন্ডোজ ও লিনাক্স বিষয়ক পোস্টটি পড়েছেন । বলে রাখা ভাল আমি দীর্ঘদিন যাবৎ লিনাক্স ব্যবহার করে আসছি । অনেকেই আমার পোস্ট দেখে অবাক হয়েছেন । কেন আমি এভাবে লিনাক্সকে পচাঁলাম এত পুরাণ ব্যবহারকারী হয়ে । শুধু এই পোস্টেই না, টুইটার এবং প্রজন্ম ফোরামেও আমি একই কাজ ক‍রেছি, কিন্তু কেন ?

আমি বহুদিন যাবৎ লিনাক্স কমিউনিটিতে একটি জিনিস দেখে আসছি, লিনাক্সের ভাল গুন বোঝাতে উইন্ডোজকে পচাতে হবে । অন্য কোন ওএস না, শুধুই উইন্ডোজের দোষ । লিনাক্সকে ভাল বলতে চান বলুন, কিন্তু সাথে উইন্ডোজকে টেনে কি লাভ ? গায়ে টেনে ধরে কেন উইন্ডোজ ফ্যানদের পচাতে হবে? আজকে আপনি তাদের বিদ্রুপ করবেন কাল পাল্টা তারা করবে । এরপর নাকি কান্না কেদে বলবেন লিনাক্স ফ্রী, ওপেন-সোর্স, এটা নিয়ে বিদ্রুপ করা অমানবিক ।

যে কোন অপারেটিং সিস্টেম নিয়েই বিদ্রুপ ক‍রা যায় । শামীম ভাই যেমন লিখেছেন তেমন অন্যরাও লিখতে পারে । আপনার প্রিয় জিনিস নিয়ে ব্যঙ্গ ক‍রলে আপনার যেমন লাগে অন্যদের সেভাবে লাগে। এই জিনিসটির প্রতি আলোকপাত ক‍রাই ছিল আমার লেখার উদ্দেশ্য । আসুন আমাদের যার যেটা ভাল লাগে সে সেটা ব্যবহার করি, সেটার ভাল দিক তুলে ধরে অন্যকে উৎসাহিত করি, এর জন্যে অন্যকে খারাপ প্রমাণ ক‍রার দরকার নেই ব‍লেই আমি ম‍নে করি ।

আমার লেখায় যদি কেউ আঘাত পেয়ে থাকেন তবে তার জন্যে আন্তরিকভাবে ক্ষমা চাইছি ।