I've an project that use to get the realtime response from hardware and display to the TV.
From the ready to use components. Today, i decide to implement the project to the WAMP (http://wamp.ws) standard.
The distributed system is coming. !
วันเสาร์ที่ 24 มกราคม พ.ศ. 2558
วันพฤหัสบดีที่ 15 มกราคม พ.ศ. 2558
Keep Front-end do UI Keep Back-end do Back-end
This article wrote when i finished AngularJS tutorial here (https://docs.angularjs.org/tutorial). It's time, i need to sit and think about development framework.
1st Django (https://djangoproject.com/) The power of Django is ORM (https://docs.djangoproject.com/en/1.7/topics/db/models/). You can build you own web site with simple great admin interface very easy.
2nd Twisted Matrix (https://twistedmatrix.com/trac/) I love this tutorial (http://krondo.com/?page_id=1327). Amazing asynchronous programming.
3rd AngularJS.
I would like to say "Keep Django or Twisted do only back-end work and Do amazing User interface with HTML5"
1st Django (https://djangoproject.com/) The power of Django is ORM (https://docs.djangoproject.com/en/1.7/topics/db/models/). You can build you own web site with simple great admin interface very easy.
2nd Twisted Matrix (https://twistedmatrix.com/trac/) I love this tutorial (http://krondo.com/?page_id=1327). Amazing asynchronous programming.
3rd AngularJS.
I would like to say "Keep Django or Twisted do only back-end work and Do amazing User interface with HTML5"
วันพุธที่ 7 มกราคม พ.ศ. 2558
Fews minitue with swift and python
Notthing to do for me today. Then it's time to do something new again.
After finished projects with Kivy then i take a look to HTML5 mobile development framework.
Do i need cross platform? May be yes and may be no!
But new player is comming Swift . The first look on Swift for me is "Is it python version on native language on Apple?"
Let's first start with HTML5 mobile development framework. Then do native if it need.
ref: https://www.apple.com/hotnews/thoughts-on-flash/
ref: https://www.apple.com/hotnews/thoughts-on-flash/
วันอาทิตย์ที่ 26 ตุลาคม พ.ศ. 2557
Learn from both Kivy and Twisted
I, myself searched for many months to see what can i integrate Kivy and Twisted together.
Now my idea is come true.
https://github.com/digitaltrails/piKam
Now my idea is come true.
https://github.com/digitaltrails/piKam
วันเสาร์ที่ 11 ตุลาคม พ.ศ. 2557
Haskell, What is that for me?
Today one guy come and talk with me while he's waiting for finishing of laundering machine. He asked me about freelance in Thailand.
Am i a freelance?
He said "with freelance i can earn money more than i work in company". Is that true?
It's depend on the job you do and what kind of people see you.
In Thailand, the local company in Thailand. Most of them think in difference way.
Let's he see.
Another topic he show me the Haskell Programming Language. I heard this Haskell before , But i now in love with python.
Am i a freelance?
He said "with freelance i can earn money more than i work in company". Is that true?
It's depend on the job you do and what kind of people see you.
In Thailand, the local company in Thailand. Most of them think in difference way.
Let's he see.
Another topic he show me the Haskell Programming Language. I heard this Haskell before , But i now in love with python.
วันอาทิตย์ที่ 5 ตุลาคม พ.ศ. 2557
Another Raspberry PI with Kivy and implementation on Twisted.
I visited this site last month. At that time i did not know how to use it. But now i have any idea to do with this.
please visit this. Then i will do my test.
please visit this. Then i will do my test.
ป้ายกำกับ:
ip camera,
Kivy,
python,
raspberry pi,
twisted
วันจันทร์ที่ 29 กันยายน พ.ศ. 2557
Brewing Gst-Python
From the last post about gstreamer. I would like to do my work on Python. Then i have to brew gst-python again.
Then edit formula. My formula is. $ brew edit GstPython
$ brew create http://anongit.freedesktop.org/git/gstreamer/gst-python.git --set-name GstPython
Then edit formula. My formula is. $ brew edit GstPython
require "formula"
class Gstpython < Formula
homepage "http://gstreamer.freedesktop.org/releases/gst-python/1.3.90.html"
url "http://anongit.freedesktop.org/git/gstreamer/gst-python.git", :using => :git
sha1 ""
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "glib" => :build
depends_on "gstreamer" => :build
depends_on "pkg-config" => :build
depends_on "pygobject3" => :build
depends_on "libffi" => :build
def install
system "./autogen.sh"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make"
system "make install"
end
end
But!!!
Remember i've not install any python yet. Yes we use python site-packages from /usr/local/lib/python2.7/site-packages/ . Homebrew can have their python environment. Then we have to install python first.
First we have to uninstall our previous python package first. Then install python by $ brew install --verbose python
Then you will have to install GStreamer again.
It's time to brewing get-python from now.
$ brew install --verbose GstPython
Then you can try the installation by
Python 2.7.8 (default, Sep 29 2014, 18:34:51)
Type "copyright", "credits" or "license" for more information.
IPython 2.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
In [1]: from gi.repository import Gst, GObject
In [2]: Gst.version()
Out[2]: (1L, 4L, 1L, 0L)
สมัครสมาชิก:
บทความ (Atom)