alexkras.com

  • Archive
  • Top Posts
  • GitHub
  • LinkedIn
  • Contact

Please Make Google AMP Optional

June 10, 2017 by admin

I was reading some articles on Hacker News about how we’ve lost the internet to big companies and how we are not doing anything about it and it got me thinking about Google’s Accelerated Mobile Pages (AMP) again. My story with AMP started in early 2016 when I enabled it on this site. It kind […]

Filed Under: AMP, Random Thoughts, SEO

Whiteboard Interviews Suck, Get Good at Them Anyway

June 6, 2017 by admin

Most people agree that whiteboard interviews suck. They have little co-relation with the job requirements and thousands of great engineers are being rejected every day just because they don’t do well with CS 101 types of questions. On a flip side, the whiteboard interview have been the industry standard for many years and they are […]

Filed Under: Career, Software Engineering

It’s OK to Still Use Angular 1 in 2017

June 1, 2017 by admin

Update Jan 19, 2018: I was wrong, please read It’s NOT OK to Still Use Angular 1 in 2018 instead. I saw an old friend over the weekend, who is a Director of Front End at a local start up. He asked me what framework we were using, and I said, still Angular 1. He […]

Filed Under: Front End, JavaScript

Compile Node.js to Native Binaries

May 1, 2017 by admin

Guillermo Rauch (Socket.io, Mangoose.js, Hyper.js, Now) is the guy to watch, and last night he did not disappoint. The following tweet announced pkg – a simple tool to generate a native executable file from Node.js code targeting Mac, Linux, and Windows. Introducing `pkg` Single command binary compilation for Node.js pic.twitter.com/Dbe9L1gb0x — ZEIT (@zeithq) April 29, […]

Filed Under: JavaScript, Node.Js, Tools

Understanding differences between npm, yarn and pnpm

May 1, 2017 by admin

Introduction I am not an expert on either of the package managers. Contrary, until few days ago I didn’t realize that npm used a local cache. Unaware, I wrote an article titled OMG — NPM clone that finally makes sense and was called out on some of my false assumptions. That feedback forced me to take a […]

Filed Under: Node.Js, Tools

OMG – NPM clone that finally makes sense

April 21, 2017 by admin

Note: Everything I’ve assumed was wrong, I am keeping track of things as I discover them via the medium post: https://medium.com/@akras14/omg-npm-clone-that-finally-makes-sense-3478588879 I’ll update this post when the dust settles 🙂 Last week I came across a yet another NPM clone, called pnpm, but unlike other clones (cough Yarn) this one is actually interesting! What so […]

Filed Under: JavaScript, Node.Js, Tools

Running Any Linux Browser in (almost) Headless Mode

April 13, 2017 by admin

I just saw an articled on Hacker News announcing that Chrome 59 is going to have cross-platform headless support. A lot of people are excited by this announcement, mainly because it will allow them to move away from PhantomJS – a buggy headless browser currently used as a de-facto solution to run unit tests and […]

Filed Under: Software Engineering, Tools, Ubuntu

Convert video to images via command line

April 8, 2017 by admin

I often find myself needing to convert video to a series of images. It’s a great way to look through the content to find some details or identify screenshots that are worth keeping. For example I used this method to look through all talks given at Chrome Dev Summit to supplement my notes. Another use […]

Filed Under: Tools

Save Ammonite (Scala REPL) History to File

April 7, 2017 by admin

I use Ammonite and ipython like REPL for Scala. I find it handy to save history to file, so here is how to do it in Ammonite. Ammonite exposes a global object called repl, which has a method called history. The code above converts history to a new line separated string and writes it to […]

Filed Under: Scala

Write or Paste Multi-Line Code in Scala REPL

April 7, 2017 by admin

I love Python and ipython, so I often crave similar experience when working with Scala. Scala already has a built in REPL which is a huge plus, however, I wasn’t sure how to copy/paste multi-line text. For example, I had a snippet of code saved somewhere that looked as such: This would work fine if […]

Filed Under: Scala

  • « Previous Page
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • …
  • 13
  • Next Page »

Copyright © 2025 · eleven40 Pro Theme on Genesis Framework · WordPress · Log in