AWS, The Blessing For Digital Startups?

April 20, 2014 by remco | 0 comments

KSnQL1nkSince I’ve parted from Tokobagus I’m involved in several lower profile startups in Indonesia, I just love pioneering, build stuff and help out like minded peers. In general, I like to get involved really early stage because I think that’s where I can contribute a lot and it’s the phase I enjoy most. One rule though, the startups I like to get involved in have to have great ambitions and their model needs to be scalable, in the end I like building big things.

Scalable not only means that the product should be scalable, but also the organisation and infrastructure, and that’s mostly where I come in. In my past I had some experience with scaling an e-commerce platform to become one of the largest sites in Indonesia and I definitely remember the head aches and stress that gave us. So I like to spend time thinking about and working on solutions that are scalable from the start, which is for a part in the code and for a part in the architecture. Often this means serious investing in hardware and knowledge from the start, but startups are startups and often have little means, no money, short on staff and a hell of a lot of work to do.

Continue Reading →

What’s Happening In Digital Advertising?

February 24, 2014 by remco | 0 comments

Though programmatic buying in Indonesia still seems to be in a very infant state, it’s nonetheless very interesting to see what’s happening on a global scale and how it affects specific industries. All but mobile is up…. On a side note, the success on mobile for a lot of publishers also often leads to declining revenues so for me that’s a challenge I would love to take on. More on that later this year.

For the rest, a cool infographic, courtesy of Turn, the whole report can be downloaded here. 

Infographic-Turn-Advertising-Intelligence-Index-February-2014

How To Secure And Encrypt USB Flash Disk For OSX

February 22, 2014 by remco | 0 comments

flash-disk-encryption-macSince I bought a 255GB flash drive, I kind of switched from using external hard drives to flash drives. The reasons are obvious, using a flash drive is just easier and more comfortable.

But I’m a sloppy person and tend to leave my flash drives lying around just about everywhere, making it easy for others to take it or have a peak. In my windows days I bought a special app to secure my flash drives but since I switched to Mac I didn’t encrypt my drives anymore. Anyway, today I decided to secure my flash drives so here’s how you do that on OSX without any 3rd party app.

Continue Reading →

Setting Up Multiple Host In Apache On Mac OSX

February 19, 2014 by remco | 0 comments

multiple-hostsSo, you are the fortunate owner of a Macbook Pro and are working on several projects. How to setup Apache to work with multiple hosts/websites on just your local IP?

The first thing you want to do is spoof your IP to some domains you want to use so those domains are routed to your local IP. To do this you need to edit your hosts file:

Next, add the domains to be resolved to your local IP:

Save and close, you can instantly test it by opening http://microsoft.local in your browser, you should get the start page of your Apache server.
Next, you need to enable the use of virtual hosts in Apache.

Next look for this line:

Change it to:

Save and exit. Now you have enable the use of virtual hosts in Apache and the only thing left is defining the virtual hosts. For this you need to edit the file httpd-vhosts.conf:

Here’s an example of how you can configure the 3 local domains we’ve defined earlier:

Now make sure the folders for your websites exist and have something in it, restart Apache and check the domains in your browser.

The only comment here is that if you already had a website running in your root (/Library/WebServer/Documents/) then that one won’t work anymore. No worries, best to create a new sub-folder, move the website there and create another virtual host for it.

Installing Laravel On OSX (Mavericks)

February 19, 2014 by remco | 0 comments

Laravel-MacbookSome people might think i have too much time on my hand and thus I like writing posts like this. Others might think I’m doing all of this just to help others. However, I mostly write these posts for myself, so I don’t have to go through the excruciating pain again.

Installing Laravel on my Macbook with Mavericks installed seemed to be a one hour job at the most but turned out to be a process taking much more time than I cared too.

So here it goes, more after the break.
Continue Reading →

Installing FFMPEG On OSX (Mavericks)

February 18, 2014 by remco | 0 comments

ffmpegI already wrote a post on How To Install FFMPEG On A Webserver and when I wanted to install FFMPEG on my Macbook Pro I assumed I could follow the same procedure but I ran into some problems. First, there’s no WGET command on OSX, well not by default anyway.

Once I solved that problem, the FFMPEG installation started but failed because the Libvpx library installation failed. So hereby a step-by-step installation instruction which probably also works on previous versions of OSX.

Continue Reading →

(Bringing back) HTML5 HLS support in Videojs

February 6, 2014 by remco | 0 comments

videojs-hls-html5Lately I’m focussing a lot on video as you’ve might have noticed and I kinda left flash and fully focus on HTML5. I guess the most important thing is delivery, meaning a video or pre-roll is delivered as fast and stable as possible. In the start I did a lot of research on which player to use and I chose Videojs because it’s the perfect framework for building a custom HTML5 player.

To solve issues on mobile connecting with 3G I decided I had to use HLS, basically the same as Youtube does. But any test I did with Videojs failed, meaning any test I did on browsers that natively support HLS and AES. So I was kinda surprised to see that an HTML5 based vide0 player doesn’t support something that is natively supported by HTML5. Just to be clear, this mostly applies to Chrome on Android.

After a little research I found that the cause for this is that Videojs completely relies on the “canplaytype” property, but as you can see here support for that method of checking browser support for HLS is far from perfect to say the least. But luckily that’s a problem that can easily be solved by doing some editing in the video.dev.js file. Obviously you can’t use the minified video.min.js file anymore but you can easily minify the dev version yourself.

Continue Reading →

WordPress: Track Lightbox Image Views In Google Analytics

January 19, 2014 by remco | 0 comments

analyticsSo one of the sites I’m running has a terrible, terrible bounce rate of almost 70%. That’s bad but I figured I might have overseen something. In my opinion, a bounce is when a visitor lands on a page and leaves it without any interaction having taken place. Wikipedia doesn’t agree with this definition but I got Google Analytics on my side. Anyway, this particular site is a lot about images and I wasn’t tracking image views at all.

So after a sunday night watching a movie I thought I would fix that quickly, but since I Lightbox all the images I quickly ran into trouble. I tried to add the functionality outside of the code of the lightbox plugin, but failed because the lightbox components are dynamically added on first open of the light box overlay. That means that binding an event in jquery to any lightbox component was futile, even though some forums disagree.

Anyway, here’s my solution.

Continue Reading →