David's Blog
-
Improve my reading speed Mar 8
I heard about this today that can help to increase the reading speed
Today I have found this site spritz. It has some theory about how to improve the reading speed. I have read about some kind of this theory before. And have installed some iOS app...
Read More... -
Write presentation in markdown and hosted on heroku Mar 7
Write docs in Markdown
As more and more docs and email can be written in markdown format, It is time to try it in the slides/presentation.
Reveal.js
Seems reveal.js is very easy to use, I try to use it to write slides, and I hope it can be hosted...
Read More... -
Write an opencv android app using jruby Mar 6
Download opencv lib
Download lib from http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.8/ Unzip the files
Setup ruboto project
use Ruboto CLI to create a new project
Read More...ruboto gen app -t 15 --package org.ruboto.example.opencv...
-
ZeroMQ in Ruby Mar 5
2 ways to write concurrent program
In order to make use of all cpu cores and increase the capability, we need to write concurrent programs that can communicate with each other.
There are 2 different communication options:
- inter-thread
- inter-process
-
Write auto running task on raspberry pi Mar 1
A cheap board running complete linux OS
Not like Arduino, the Raspberry Pi board can run a full linux OS and also have GPIO pins, so there are more thing could be done on the Raspberry Pi. Now I need to find out how to run some task automatically...
Read More... -
Compile vim source with python and ruby support Feb 28
vim,ruby,python
Compile the vim after upgrade ruby to 2.1.1
After I upgrade to ruby 2.1.1, I found the vim can’t work, so I get the source of vim and compile it again.
It is weird that the src/Makefile can’t take effect, I have to manually input...
Read More... -
Hacking simplewebrtc.js to change the video resolution Feb 25
Introduction webrtc and simplewebrtc.js
I am very exciting about WebRTC technology. It makes the browser can provide some peer to peer functionalities that can’t be thought before.
The only limitation now is that only a few mainframe browsers support...
Read More... -
use bootstrap and sass in a semantic way Feb 24
Using twitter bootstrap directly means mix things together
When developing the web page, using bootstrap could accelerate the process. But mixing the content and the display style is not a very good solution.
So we try to use SASS to isolate the...
Read More... -
Combine Backbone and React.js Feb 20
Get the best of both Backbone and React.js
Backbone is a small and simple framework for Single Page Application. But rendering views is hard, so let’s try to use React.js together, and let React.js to finish the hard work for us.
React.js Framework
Read More... -
switch from guard to simpler solution Feb 19
The weird problem when using guard
I have recently encounter a problem: when using guard to watch file changes, and run tasks automatically, they run multiple times, or remove the result. Some similiar issues on github
Fix the problem or avoid it
Read More...
Page 3 of 4