Eyas's Blog

All Posts

Use AsyncPipe When Possible

I typically review a fair amount of Angular code at work. One thing I typically encourage is using plain Observables in an Angular Component, and using AsyncPipe (foo | async) from the template html to handle subscription, rather than directly subscribing to an observable in a component TS file.

Unless you know a subscription you’re starting in a component is very finite (e.g. an HTTP request with no retry logic, etc), subscriptions you make in a Component must:

Read more →

The Subscription Model is the Future of Software—and for good reason

Floppy Disks by jm3 on Flickr.CC BY-SA 2.0

Microsoft recently announced the launch of Office for iPad. Many people took note about the pricing model behind Office for iPad: the apps are free to download, and the user can open and view documents, spreadsheets, and presentations for free, but must pay for an Office 365 subscription to edit these files. Many have taken notice.

At Microsoft, the move to a subscription-based model has been going on for some time. Office 365 was launched in 2011. With Office 2013, the move towards the subscription model has been consummated: a user with an Office 365 subscription can use click-to-run to stream any Office app on any machine, and has access to the latest bits of the software at all times.

Read more →

Some thoughts on the Anonymous/Hacktivist response to the Aaron Swartz tragedy

On Twitter, @AnonymousIRC claims to have been responsible for bringing the *.mit.edu network down for a few hours last night in protest of MIT’s legal “back-and-forth” with Aaron Swartz. Later on they went on to ‘hack’ two sub-domains in the MIT network (the “Cogeneration Project” and an RLE site, seemingly they just picked two random ones easy to break) posting a message about Aaron. Here are some of my thoughts about attacking the MIT network following this tragedy:

MIT has more than 10,000 students, researchers, and professors working on areas ranging from cancer research, renewable energy, and urban planning to free software (FSF), open internet (W3C), and the future of computing in general (CSAIL). In many ways, what MIT, as a community, stands for is more representative of the Swartz and Anon cause than the Anonymous themselves.

Read more →

18