SIS 771/671 VGA driver on Xubuntu 18.04 LTS

Dedicated for fellow fighters who relentlessly search for an answer on reviving old notebooks with cursed SIS Mirage 3+ 771/671 on-board VGA driver by installing shiny Xubuntu 18.04 LTS (the latest LTS when this article was written). Simply download this tar.gz file, extract 3 files (sisimedia_drv.so, sisimedia_drv.la, xorg.conf), then copy them to respected locations: /usr/lib/xorg/modules/drivers/sisimedia_drv.la…

Summary of “How to Sell”

Featured image is a photo by Mimi Thian on Unsplash This is my personal summary/notes from a talk by Tyler Bosmeny, CEO of Clever, Y Combinator alumni There are some popular myths about sales job where it is considered a high-class job that only gifted people could deliver. In reality, that’s not always true. Some facts that Tyler…

Keras VGG16 with different input shape

Featured image is from analyticsvidhya.com Update (June 19, 2019): Recently, I revisit this case and found out the latest version of Keras==2.2.4 and tensorflow-gpu==1.13.1 make customizing VGG16 easier. For example, we can use pre-trained VGG16 to fit CIFAR-10 (32×32) dataset just like this: X, y = load_cfar10_batch(dir_path, 1) base_model = VGG16(include_top=False, weights=vgg16_weights, input_shape=(32, 32, 3))…

Accessing Laravel session from Ratchet

Ratchet is an awesome PHP-based websocket server framework. A good choice when you want to add real-time websocket-based features to your PHP-based web application without adding any additional technology. I personally use it on my (personal) MVP Laravel-based web application to keep it as monolithic as possible 😝 Since Ratchet has been around for awhile,…

Single command deploying Laravel 5.x to Ubuntu VPS with Envoy

In case you are not familiar with Laravel Envoy, this is a short description from Laravel doc: Laravel Envoy provides a clean, minimal syntax for defining common tasks you run on your remote servers. Using Blade style syntax, you can easily setup tasks for deployment, Artisan commands, and more. Currently, Envoy only supports the Mac and…