HNHacker News
TopNewBestAskShowJobs

bzalasky

190 karma · joined June 26, 2011

I’m a software engineer at Lookout that builds large-scale JavaScript applications, data visualizations, design systems and prototypes with uncompromising craftsmanship.

Talk to me if you’re interested in learning more about Lookout, or if you need to solve a problem with technology.

Let’s build something.

submissionscomments
bzalasky··on Ask HN: Who are your favorite poets?
One Art

Elizabeth Bishop, 1911 - 1979 (http://en.wikipedia.org/wiki/Elizabeth_Bishop)

  The art of losing isn’t hard to master;
  so many things seem filled with the intent
  to be lost that their loss is no disaster.

  Lose something every day. Accept the fluster
  of lost door keys, the hour badly spent.
  The art of losing isn’t hard to master.

  Then practice losing farther, losing faster:
  places, and names, and where it was you meant 
  to travel. None of these will bring disaster.

  I lost my mother’s watch. And look! my last, or
  next-to-last, of three loved houses went.
  The art of losing isn’t hard to master.

  I lost two cities, lovely ones. And, vaster,
  some realms I owned, two rivers, a continent.
  I miss them, but it wasn’t a disaster.

  —Even losing you (the joking voice, a gesture
  I love) I shan’t have lied.  It’s evident
  the art of losing’s not too hard to master
  though it may look like (Write it!) like disaster.
bzalasky··on Ask HN: Anxiety is limiting my enjoyment of a wonderful career. Can you relate?
There was another thread about anxiety a while back, and someone mentioned how 'A Guide to the Good Life: The Ancient Art of Stoic Joy' by William B. Irvine had helped them (http://www.amazon.com/Guide-Good-Life-Ancient-Stoic/dp/01953...). I'm about half way through it, and have to say it was a great recommendation.

Stoic philosophy aside, sleep (cutting back on caffeine), exercise and spending time with family and friends helps me.

bzalasky··on From Java to Rails – what do I need to know?
Along these lines, you could also check out Sprockets ES6 (https://github.com/josh/sprockets-es6).
bzalasky··on Ask HN: What is the best resource to learn about software architecture?
There was a similar question [0] I commented on a while back... The Architecture of Open Source Applications [1] was mentioned there by another commenter. I also saw the link here on HN to Cloud Computing Patterns [2] a couple days ago.

[0] https://news.ycombinator.com/item?id=8730285

[1] http://aosabook.org/en/index.html

[2] http://www.cloudcomputingpatterns.org/

bzalasky··on Blog: roll my own or just use Wordpress?
For something that gets updated once a month, I'd go with a static site generator. I like https://middlemanapp.com/. If that seems like too much work, you should just write on Medium.

Having used WordPress heavily in the past, I wouldn't go near it for my own site. It's a great option if you need a CMS for non-technical contributors, but I find I can get things done much faster writing in my editor of choice. As others have mentioned, security is something you need to stay on top of...

bzalasky··on Replace CoffeeScript with ES6
The things I hate most about CoffeeScript are the dash rockets and white-space significance. These are just opinions though. There are things I like about CS as well, like destructuring assignment and splats. Sometimes when I'm writing JS, I miss is, unless, etc... That said, I'd put my money on ES6 in the long run, though it doesn't really matter. People should use whatever makes them (and their team) happy and productive.
bzalasky··on Write Emacs extensions in Haskell
The modeline in spacemacs looks beautiful. I used emacs live to kickstart my latest configuration, but I'm tempted to check out spacemacs now...
bzalasky··on Ask HN: Besides coffee, what could help me focus when I need to work?
This might be counterintuitive, but cut the stimulants and sleep more. I've been way more focused and productive since eliminating caffeine from my system.
bzalasky··on Show HN: Snabbt.js – a minimalistic animation library
This looks great at a glance. Looking forward to tooling around with it this weekend.
bzalasky··on Ask HN: What are projects I can implement to learn a new framwework?
It's an open ended question with lots of jumping off points to talk about implementation details and design. And as far as the backend being trivial (it may well be), if a candidate said that in an interview, I'd ask them to walk through how they'd roll their own WebSocket solution. With a different candidate it could jump off into a UI focused discussion. Lots of possibilities.
bzalasky··on Ask HN: What are projects I can implement to learn a new framwework?
To borrow from an article I read earlier today (http://weblog.raganwald.com/2006/06/my-favourite-interview-q...)... how would you enable two people to play turn based (and/or realtime) monopoly (or chess, or any other game) over the web? This will almost certainly be more complicated on the front-end than most apps you'll need to build, and complicated enough on the back-end to be non-trivial.
bzalasky··on Ask HN: Learn JavaScript from actual websites?
If you haven't checked out the annotated source of Backbone and Underscore, I'd recommend starting there. I've also added Backbone.Marionette. Once you've taken a look at the first two, you'll be able to see how Marionette builds on top of both libraries.

- http://backbonejs.org/docs/backbone.html

- http://underscorejs.org/docs/underscore.html

- http://marionettejs.com/annotated-src/backbone.marionette

bzalasky··on Clarifying the 5+ Roles of a “Front-End Web Developer”
All that said, I think there is more room for the UI Developer role in a company that does lots of client work on a frequent basis (this person might work on 5-10 new projects each month), not so much in a startup or web application shop (4 months to a year in between projects/redesigns with a small amount of template and style work required for features after the initial work is completed). No hard evidence beyond my own experience to support this reasoning, but thought it was worth adding to my above points.
bzalasky··on Clarifying the 5+ Roles of a “Front-End Web Developer”
The UI Designer role described in this article should ideally be able to cover everything in the UI Developer role. The JavaScript Developer role should also be able to cover that role. I agree with the rest of the whittling down.

However, saying that someone who specializes in JavaScript is essentially the same as a back-end developer is inaccurate. The types of problems an experienced JavaScript developer deals with on a regular basis are fundamentally different than those that a back-end only developer deals with (not trying to imply that there isn't overlap).

bzalasky··on Ask HN: Would you use an NLP interface on top of Mixpanel?
It sounds like a great product. However, leaning too much on other companies can get tricky if they decide to cut off the firehose. A previous startup that I worked at got burned by the Twitter Cards API. Perhaps carrying the same concept over to SQL/NOSQL databases (by no means trivial) could be the difficult problem to solve that goes from zero to one, to steal a line from Peter Thiel. That being said, I'd be interested in learning more.
bzalasky··on Redesigning SoundCloud
Infinite scroll can be a terrible anti-pattern when implemented poorly, and it's terribly difficult to pull off correctly.

I dealt with this issue at the last startup I worked at (Stipple, now defunct :(). We had a masonry feed of annotated images with associated media like videos, audio and product links that was infinitely scrolling. What this meant in practice is that you could paginate about 20 times before the fan on your macbook would start roaring.

LinkedIn had a great article about year or two ago about optimizing infinitely scrolling feeds, however, it only applies to single column feeds. Masonry layouts make things much more difficult. That being said, one of the benchmarks in that article mentioned toggling visibility improving performance (not what they settled on, but still a significant gain). This is what I was able to implement. We had to query the DOM to detect when an image in the feed was moving in and out of the screen with a buffer equal to screen height. With this in place, users could paginate 50+ times without trouble (at a solid framerate), though they would've eventually hit problems if they kept scrolling too long.

TLDR; I hate masonry layouts for performance reasons.

bzalasky··on Ask HN: Front end/CSS books
Here's a sampling of some great books in the front-end space. I'd also suggest looking into Tuts+ (http://tutsplus.com/) or Codeschool (https://www.codeschool.com/).

- Dive Into HTML5 http://diveintohtml5.info/

- Scalable and Modular Architecture for CSS https://smacss.com/

- HTML5 and CSS3 (2nd edition): Level Up with Today's Web Technologies https://pragprog.com/book/bhh52e/html5-and-css3

- Programming JavaScript Applications http://chimera.labs.oreilly.com/books/1234000000262

- Building Backbone Plugins https://pragprog.com/book/d-dbback/building-backbone-plugins

- Automate with Grunt: The Build Tool for JavaScript https://pragprog.com/book/bhgrunt/automate-with-grunt

- The Offline Cookbook (recent article, but great stuff) http://jakearchibald.com/2014/offline-cookbook/

bzalasky··on Ask HN: What are the best books for learning software architecture?
You might be interested in Concepts, Techniques and Models of Computer Programming by Peter Van Roy and Seif Haridi (http://www.amazon.com/Concepts-Techniques-Models-Computer-Pr...). It presents an overview of different programming models, and expounds on the right way to approach problems with these different models. I found the chapters on concurrency useful myself.

While not a book, an alternative strategy that might be helpful would be to explore some projects like TorqueBox (Ruby) or Immutant (Clojure) that pull together a lot of different solutions (web server, application server, messaging, caching, transactions and scheduling) into a suite.

bzalasky··on Ask HN: What is the best alternative to Angular JavaScript framework?
A combo of Backbone.Marionette (composite app architecture) and Backbone.Stickit (data binding) has served me well for the past 2 years. Also, while Marionette is under active development, the core team has a policy of breaking deprecated features out into separate libraries that can be mixed into your existing project if you want to stay current with updates.
bzalasky··on 101 – A JavaScript utility library
If you take a look on Github, the project explains that it intends to trim itself over time to reduce overlap with native JS functionality.
bzalasky··on Ask HN: What is HN reading?
Invention by Design; How Engineers Get from Thought to Thing by Henry Petroski:

http://www.amazon.com/Invention-Design-Engineers-Thought-Thi...

Previously, I've read his book Design Paradigms: Case Histories of Error and Judgment in Engineering:

http://www.amazon.com/Design-Paradigms-Histories-Judgment-En...

I can't speak on the former yet, but the latter is excellent, and provides a framework for analyzing failures in engineering judgment (regardless of whether you're talking about bridges or software). I've also been working through The Little Schemer.

bzalasky··on Ask HN: Recommended books for beginner web developer
No problem. You should also check out Chrome Developer Tools. They're an essential part of the front-end web development workflow.
bzalasky··on Poll: What's Your Favorite IDE for JavaScript?
I lean on dired mode (replaces the file tree) and rgrep (searching across files in a project) a lot. There's a multiple cursors package I've been meaning to check out that seems like it emulates the behavior in Sublime. Web mode is good for working with embedded JavaScript and or *.erb files.
bzalasky··on Ask HN: What is your favorite data structures book?
This book is great, but could be overwhelming depending on how much you exposure you have to similar material. That said, I wouldn't hesitate to recommend it. I particularly enjoyed the war stories.
bzalasky··on Ask HN: Recommended books for beginner web developer
Here's a great collection of resources (compiled by Zed Shaw) for learning about programming, software and web development:

- http://programming-motherfucker.com/become.html

You'll find resources on Zed's site that will help you learn the web development toolchain as well. You'll want a good editor, an understanding of git and version control, as well as the command line (apologies if you're acquainted with these already but looking to get into web development).

Another thing to remember is that once you grasp the basics, you can learn a lot from reading other people's code (especially libraries) and the associated documentation.

Some other resources that helped me out immensely when I was getting started (or that I wish I'd read):

A great overview of JavaScript.

- http://eloquentjavascript.net/

Once you get the basics of JS down, this book will help you learn how to organize your code better.

- http://addyosmani.com/resources/essentialjsdesignpatterns/bo...

An overview of HTML5.

- http://fortuito.us/diveintohtml5/

While it's from 2010, most of it is probably still applicable. This was the intro to CSS that helped me grasp the box model and DOM.

- https://code.tutsplus.com/tutorials/css-noob-to-ninja--net-1...

This is a great book for learning how to organize SASS/CSS files in a large project.

- https://smacss.com/

bzalasky··on Ask HN: Which are the best sources to learn Swift?
Pragmatic Programmers has released a book on the iOS 8 SDK that uses Swift.

https://pragprog.com/book/adios2/ios-8-sdk-development

bzalasky··on Ask HN: My penmanship has gone to shit, what can i do?
One thing that helps me is using ultra-fine felt-tip pens. They have a touch more friction than ballpoint pens. Obviously, they aren't magic, but when I revisit my notes a week later (I use a combo of org mode and notecards to plan my work), I can actually read them.
bzalasky··on Show HN: Cobalt2 theme and colour scheme for Sublime Text
I actually had to switch to Solarized Light for awhile because my eyes couldn't stand white text on a dark background. I'm back to using a dark theme now though.
bzalasky··on Show HN: Cobalt2 theme and colour scheme for Sublime Text
I switch back and forth. Each year or so the colors start to make code look like work, so I change it up and things look fresh again. So far, I've gone between Slush & Poppies, Cobalt, Monokai, Solarized Dark, Monokai, Solarized Light, and most recently Cyberpunk (the Emacs Live theme).
bzalasky··on Ask HN: What are the best light-weight CSS frameworks?
If you're looking for light-weight Sass frameworks, you might like Thoughtbot's mixins and libraries.

- Bourbon (bourbon.io, like Compass but lighter)

- Neat (neat.bourbon.io, grid framework via mixins)

- Bitters (bitters.bourbon.io, scaffold styles and file structure)

- Refills (refills.bourbon.io, example components built with all of the above)

I've used these in multiple projects and I wouldn't switch back to Bootstrap or Foundation, which end up adding tons of unused styles to projects, and IMO, get in the way. The advantage to Bourbon, etc... is that you have much more control over the structure of your Sass and what specifically you need. If you're looking for out of the box UI, Refills gives you something to work with, but honestly, I think it's tailored towards developers that are building custom interfaces.

← PreviousPage 3 of 6Next →