Pietari Heino's personal website

  • Sample Page
  • About me
  • Reading
  • Watching

The XY problem

01/06/2019 / Leave a Comment

Since I just re-discovered the more than brillian xyproblem.info, I’m posting it here for my future self. Reading through the small page always brings me lots of joy. This is a serious, real thing. I’ve wasted countless hours of my life dealing with the XY problem. And be aware: this is NOT only a thing … [Read more…]

Posted in: Uncategorized Tagged: xy problem

}{{} vs. {}{}

24/04/2019 / Leave a Comment

I would like to note that one of these is a palindrome and one is not. This discovery is not my own, but I find it most delightful.

Posted in: Uncategorized

Testing React HOC’s private logic

14/04/2019 / Leave a Comment

I had a problem with higher-order components, their use of even higher-order components, passing styles from the component-to-be-wrapped to the HOC, and testing of the bare/naked/base HOC without involving the wrapped component. In this post I shortly present the solution my colleague and I found to be working quite nicely (I expect you know all … [Read more…]

Posted in: random Tagged: material-ui, react, react hoc, withstyles

Read this for a nice view of the 5G landscape in 2019

15/12/2018 / Leave a Comment

What’s up with the new SoCs (or not-so-SoCs, hehe), what will you get, is it really worth it, does it matter. What the heck. Just read it. Very good. https://arstechnica.com/gadgets/2018/12/dont-buy-a-5g-smartphone-at-least-not-for-a-while/

Posted in: Uncategorized

Paranoid Optimist

28/10/2018 / Leave a Comment

I really recommend Paranoid Optimist by Risto Siilasmaa. It has got some very good insights on Nokia’s transformation from the smartphone market leader to Symbian’s destruction partly through iPhone and new world ignorance, Windows Phone deal with Microsoft, rising from the ashes and finally the transformation to a more or less new company providing not … [Read more…]

Posted in: random Tagged: nokia, paranoid optimist, risto siilasmaa

TabJump Chrome extension updates

16/09/2018 / Leave a Comment

I’ve updated my TabJump Chrome extension, which lets you easily search through your open tabs from any windows, and jump into them. A longer explanation of the ideas and functionality of the extension may be found from my first blog posting about it, here. This time around I’ve changed the core functionality of the extension to make … [Read more…]

Posted in: random Tagged: chrome extension, tabjump

Center current window in KDE Plasma

29/07/2018 / Leave a Comment

I’ve got a nice Samsung 27″ 2K monitor at my home office. The one and only pain I have got with the resolution and size of the monitor is that most programs don’t need that much of horizontal space and become mostly useless and horrible to use. For instance your web browser very rarely needs … [Read more…]

Posted in: random Tagged: center window, kde plasma, kubuntu, kwin, ubuntu

Using D3 and Puppeteer to generate visualizations

08/04/2018 / 2 Comments

While working on a book chapter called Criterion-based grading, agile goals, and course (un)completion strategies (with Ihantola, Isohanni & Mikkonen) for a new Springer book that concentrates on agile learning strategies etc. we needed to generate lots of visualizations. The visualizations were supposed to show the completion paths of different students for the first programming course at … [Read more…]

Posted in: random Tagged: d3, puppeteer, springer, visualization

Lazy loading the Vue root component

21/02/2018 / Leave a Comment

Webpack and Vue together make it possible to split your bundle in chunks and lazy load only the actually needed chunks. Usually one chunk is one view, one component, or one of any encapsulated bunch of only optionally shown piece of content, a software component. This, of course, means that the client makes fewer requests … [Read more…]

Posted in: random Tagged: lazy load, vue, vue root component, webpack

Android battery life: Pixel 2 and Oreo (8.1) nail it

11/12/2017 / Leave a Comment

Android is the mobile operating system for me. It has been for quite a many years. I especially love the vanilla experience and have been a proud owner of Nexus 4, Nexus 5, Nexus 5X, Pixel and now Pixel 2. I’ve also had a couple of devices from HTC and Samsung. I love having the … [Read more…]

Posted in: random Tagged: android battery life, android oreo, pixel 2
1 2 … 5 Next »