TDD with TypeScript, AngularJS, and Node.js

On July 1st I had a pleasure to speak at Seattle Node.js meetup about unit testing and Test Driven Development with Angular.js and Node.js, using TypeScript.

In this talk I gave an overview of JavaScript testing frameworks, and tools. I also demonstrated how TypeScript can strengthen your tests by adding free unit tests (type checking) thanks to strong typing.

The demo code is available on github.

The site I created as a demo is live on Azure: tddvoting.azurewebsites.net.

Building Large Scale Web Applications with TypeScript

Yesterday I had a pleasure to speak at .NET Developers Association meetup in Redmond, about building web applications with TypeScript.


0:00:00 – Intro (about me, and my work)
0:02:35 – Overview of JavaScript today
0:04:42 – voiceCmdr demo
0:06:55 – browser as a platform: rich UI experience and games (built with HTML/CSS/JS)
0:07:57 – TypeScript intro
0:09:25 – DEMO: TypeScript 101: strong typing, classes, inheritance, interfaces
0:26:15 – DEMO: Building web app with TypeScript, npm, bower, gulp, and dst
0:51:38 – ECMAScript 6
0:54:57 – DEMO: transpiling ES6 to ES5
0:57:56 – AngularJS 2
0:58:54 – DEMO: Angular 2 app written in TypeScript
1:06:08 – Angular 2 vs Aurelia
1:11:40 – FEEDBACK please!
1:12:00 – Q&A
1:20:56 – Recommended resources to get started with JavaScript and TypeScript




You can find demos from presentation on github.

You can also check out my voiceCmdr library that I blogged about a few weeks ago, and demo BooksLib website that is using it.


Thank you very much to everybody for coming. If you like (or not) my presentation please send me an email or leave a comment below. I really appreciate your feedback!

Master of Science in Computer Science

After 1 year and 8 months of being a Graduate Student at Kansas State University and Research Assistant at SAnToS Lab Research Group I got my Master of Science degree.

Courses I took:

In my first semester as a Graduate Research Assistant at SAnToS Lab I was working on integration Bakar Kiasan with GNAT Programming Studio (using Python and PyGTK).

In Summer 2013 I started my actual research work, which is captured in my Master Thesis: A Model-Driven Development and Verification Approach for Medical Devices. The main problem of my research was to propose translation of AADL/BLESS models to SPARK Ada programming language. I created PCA Pump Prototype for BeagleBoard-xM platform, by translating already existing models (using translations developed by me), and performed verification (static analysis) using SPARK Verification Tools.

This is a video from my defense:

Unfortunately, QuickTime crashed 3 minutes before the end. Fortunately, you can catch up with slides.

I created additional video with PCA Pump Prototype demonstration. Pump is developed in SPARK Ada, and it runs on BeagleBoard-xM platform.

Patient Controlled Analgesia (PCA) pump is a medical device, which allows the patient to self-administer small doses of narcotics (usually Morphine, Dilaudid, Demerol, or Fentanyl). PCA pumps are commonly used after surgery to provide a more effective method of pain control than periodic injections of narcotics. A continuous infusion (called a basal rate) permits the patient to receive a continuous infusion of pain medication. Patient can also request additional boluses, but only in specified intervals. It prevents from overinfusion. In addition to basal and patient bolus, clinician can also request bolus called clinician bolus or square bolus.

My Master Thesis in PDF format can be found here. LaTeX source is available here.

I spent 2 years at Kansas State University (4 months as an Exchange Student, and 20 months as a Graduate Student). I had very good time and I learnt a lot. I really recommend to get Master degree from a different University than you get your Bachelor. Wroclaw University of Technology (where I got my Bachelor) is more practical. Graduates are ready to work at the industry. Kansas State is more theoretical and research oriented. I had an opportunity to experience both and I am very happy with that!

Polish Coffee Hour

Yesterday (September 20, 2013) I had presentation about Poland at Kansas State University. It was part of “Coffee Hour” program (student’s presentations about their home countries). Thank you for everybody who helped me to prepare this presentation and food (placki ziemniaczane, pierogi, bigos). I hope that everyone who came enjoyed it 🙂

I recorded the presentation:

Slides are available online: Poland-CoffeHour4x3.pptx (~600MB).

It’s big (over 600MB) because it contains background music and movies. I spent a lot of time preparing it (collecting materials, making it short and rich in the same time, and appropriate for international audience). I share it with you, because maybe some day you will need to prepare something similar. Then feel free to use mine:)

EDIT: There are wrong dates of 1st World War. It supposed to be 1914-1918 (instead of 1814-1818). It’s already corrected in the Power Point presentation (but not in the video).