F.fuga

Author's details

Date registered: 24/05/2012
URL: http://www.studiofuga.com

Latest posts

  1. Strong Typing PODs — 07/09/2017
  2. A C++ Smart Pointer wrapper for use with JNI — 10/03/2017
  3. Vmware Player is slow under Ubuntu 16 host, Part 2. — 21/10/2016
  4. Vmware Player is slow under Ubuntu 16 host — 10/10/2016
  5. A compact CSV parser using C++ TMP — 07/03/2016

Most commented posts

  1. Building AllWinner Android Firmwares — 7 comments
  2. TouchWiz and the onOffsetChanged missing call — 6 comments
  3. The dbus-cpp Library, introduction — 4 comments

Author's posts listings

Sep 07

Strong Typing PODs

Identifiying object by a numerical integer is an almost trivial task. In DISPLACE, a very complex simulator I am involved with, there are many of different categories of objects that model different categoris of agents in the simulator, like vessels, marine locations, ships, ports, and so on. Each object has an Id, and it was very natural, …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2017/09/07/strong-typing-pods/

Mar 10

A C++ Smart Pointer wrapper for use with JNI

Introduction In this article, I'll propose a solution for managing native C++ resources from JNI using smart pointers. While Smart Pointers can't be useful from Java, because of the limits of the Java memory management, it may be required by the native library to maintain allocated resources through shared_ptr or unique_ptr, for example because classes …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2017/03/10/a-c-smart-pointer-wrapper-for-use-with-jni/

Oct 21

Vmware Player is slow under Ubuntu 16 host, Part 2.

So it seems the issue I talked about some week ago, wasn't fixed. Windows is still slow, the hard disk always working at 100% load. Not so slow, because the fix explained in my previous post seems to mitigate the problem, but still slow. Since I was using many Virtual Machines on that box without …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2016/10/21/vmware-player-is-slow-under-ubuntu-16-host-part-2/

Oct 10

Vmware Player is slow under Ubuntu 16 host

So you just upgraded your Ubuntu box and found that all your VmWare Windows Boxes are extremely slow? The symptom is your Windows task manager showning 100% usage of your disk, and the WIndows Instrumentation showing very long lags, says, up to 2.5seconds (yes, seconds) to respond to a disk request. This makes the box practically …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2016/10/10/vmware-player-is-slow-under-ubuntu-16-host/

Mar 07

A compact CSV parser using C++ TMP

How many times have you implemented a CSV parser to fill a list of stucts from a text file? Personally, it happens to me about every time I have new project. Though it is a simple task that requires no more than half an hour to build and debug, it is boring, error prone and repetitive. …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2016/03/07/a-compact-csv-parser-using-c-tmp/

Nov 28

The dbus-cpp Library, introduction

While working on a bluetooth based embedded device, I needed to deal with the somehow infamous dbus. DBus and Bluez5 have a very steep learning curve, and if you are don't have access to either Qt framework or glib framework, you have indeed a problem. Glib are very complex C libraries that mimick some of …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2015/11/28/the-dbus-cpp-library-introduction/

Aug 10

Pairing Bluetooth with no pin on Intel Edison

It may seems strange for an IoT enabled device, but there's no obvious way to pair an Intel Edison through Bluetooth without accessing the shell. I spent different hours to do something that with Bluez4 took at most 4 minutes, including the research on Google. Here's what I did. Edison provides Bluez5 that reworks most …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2015/08/10/pairing-bluetooth-with-no-pin-on-intel-edison/

Aug 21

Fixing problems with Ubuntu 13.04 and VmWare Tools

Installing Ubuntu on my VmWare fusion box has never been so difficult as it was last weeks, when I needed to have it ready as soon as possible. Though 12.04 LTS has been proved to be a great choice when you need a solid rock linux box, latest Ubuntu boxes are preferable, on my opinion, …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2013/08/21/fixing-problems-with-ubuntu-13-04-and-vmware-tools/

Jul 11

TouchWiz and the onOffsetChanged missing call

I am currently working on a Live Wallpaper project for a customer. Interestingly, I found that though my app works perfectly on different devices – I have a Nexus7, Nexus10, a Galaxy Tab p1010, different chinese allWinner devices, and a Note II phone – my wallpaper can’t scroll when the screen is swiped on some …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2013/07/11/touchwiz-and-the-onoffsetchanged-missing-call/

Apr 10

Flashing an AllWinner device via LiveSuit from Windows 8

Flashing an AllWinner device using the LiveSuit tool from Windows 8 isn’t as obvious as it seems. First, as usual with a new operating system, not all drivers works and you must find the “right” version. Second, as the previous issue wasn’t enough, with Windows 8 isn’t possible without some trick to install an “unsigned” …

Continue reading »

Permanent link to this article: https://www.studiofuga.com/2013/04/10/flashing-an-allwinner-device-via-livesuit-from-windows-8/

Older posts «