May 23, 2018

JavaScript for Desktop - Talk in FEU

Yesterday, I had the priviledge to give a talk at FEU Institute of Technology about using web technologies to create desktop applications. For the past few years, I’ve been working on a desktop application wherein the UI component is basically a browser. The experiences I accumulated with this project made me want to share my rants and lessons learned while leading the project, which I then turned into a talk. Read more

November 4, 2017

What I dislike in Go

Error handling I should admit that I used to like Go’s idea of error handling, wherein errors are treated as values. I also thought that forcing developers to handle each possible error points immediately was a good thing, rather than moving all of the code into a try catch block. But recently, while working on one of our project’s internal tools, I came to grow tired of Go’s error handling. Read more

September 16, 2017

Installing Sublime in OpenSUSE

My daily driver nowadays is Gogland , and I sometimes use VSCode if ever I need to open 2 or more projects at the same time (Gogland eats up way too much RAM). In my previous post, I stated that I switched to VSCode away from Sublime, but since Gogland got better JS support, like configuring the root path so that it would match how my webpack config handles import paths, and with the fact that Gogland got better tooling when it came to coding in Go Language, I’m now using it as my primary editor. Read more

September 13, 2017

Alternative to dangerously set inner html in React

Scenarios wherein you need to render a string with html tags in it would still require you to use dangerouslySetInnerHTML… so if your problem is as such, then I guess there’s still no better way to parse strings with html tags. As for scenarios wherein we would need to pass a content to a reusable component through attributes, then this would work. A simple example might help right? The scenario In this example, we’ll be using ReactTooltip as our reusable component. Read more

September 11, 2017

Migrated to Hugo

I’ve been using Ghost for quite sometime already, and my only opensource project in github that was starred by non-collegues is a Ghost theme that I made for my blog. But times has changed, which some of you who are avid readers of my blog might have noticed, my financial situation requires me to be a little more stringent… which also meant that I had to downgrade my VPS. Ghost did well as a blogging platform, but the reasources it consumed, particularly RAM, was just too much. Read more

© Daniel Cefram 2018