-
Compiler Writing: A Basic Static Type System
Build a basic static type system, and prevent unnecessary runtime bugs! For many, if not all programming languages, a significant part of static analysis is data type analysis. If a compiler can categorize expressions into predictable types, then you can prevent many errors, such as passing a string into a function where an integer was…
-
Developing RESTful APIs with Angel
It’s faster and easier than ever to build fast, secure API’s with Angel. This post is, more or less, a response to Prosper Otemuyiwa’s recent post about Lumen. View the source code for this example here. Contents Get Started Creating a Service Validation Ensuring Unique Emails Preventing Unauthorized API Access Authentication Authorization Conclusion Angel is…
-
Why Net Neutrality Died.
-
Remaking Pong in Dart
Clone a classic game, and play it from the comfort of your Web browser. Pong is a classic game, created decades ago. Though it was designed to emulate table tennis, it actually plays more like a computerized air hockey. It was the first commercially successful video game, and thus is impossible to get your hands…
-
We Are All SoundCloud Rappers.
-
What I Learned from Giving a Dart Talk
-
Can We Ever Truly Escape Passwords?
Passwords. Either you love them, or you hate em. Just kidding – you hate them. Since what was probably the dawn of time, we have considered passwords as the de-facto form of authentication in virtually ever application ever. Your social media account is password-protected. Your e-mail is password-protected. Your bank account is password-protected. It’s hard,…
-
JavaScript Fatigue – a Sonnet
-
Scalable Session Synchronization in Dart
Share state within instances, at any scale. Identifying Users The Store Mutual Exclusion Putting it all Together Going Further Conclusion While Dart provides excellent HTTP functionality out-of-the-box, some of its features, namely sessions, are not scalable without further configuration. HTTP is defined as a stateless protocol, but sessions allow servers to manage state, with each…