Programming2015. 9. 13. 05:43

Qualcomm opensource 코드는 codeaurora.org를 통해서 open됩니다.

Linaro에서는 stable kernel code를 배포받고요. Tool chain도.

-------------------

repo/git tool이 있다면,

manifest를 codeaurora.org에서 서치해서 아래와 같이 다운받으면 됩니다.

https://www.codeaurora.org/xwiki/bin/QAEP/release

repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BF64.1.2.1-06420-8x92.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

-------------------

8994 v1 support build
 January 09, 2015  LA.BF64.1.1-03310-8x94.0  msm8994 LA.BF64.1.1-03310-8x94.0.xml 05.00.00 
repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BF64.1.1-03310-8x94.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

-------------------

https://www.linaro.org/


https://www.linaro.org/downloads/


-------------------

sudo apt-get update

sudo apt-get upgrade -y

sudo apt-get install -y build-essential make cmake scons curl git ruby autoconf automake autoconf-archive gettext libtool flex bison libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev


curl -L http://u/brewinstall | bash


*DEPs

sudo apt-get install -y build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat1-dev libncurses5-dev zlib1g-dev python-dev python-setuptools


*No DEP check

curl -L http://u/brewinstall | NO_DEP_CHECK=1 bash


sudo apt-get install pv pigz libxml-simple-perl exuberant-ctags cscope lzop 


sudo apt-get install openjdk-7-jdk 


*configure

sudo update-alternatives --config java

sudo update-alternatives --config javac

sudo apt-get install openssh-server 

-------------------

'Programming' 카테고리의 다른 글

git 과 repo  (0) 2015.09.19
bash alias  (0) 2015.09.19
Natural Language Processing with Python  (0) 2015.08.24
파이썬 오디오 인식 - pydub, audiogrep  (0) 2015.08.24
Python의 얼굴과 젊은 개발자의 언어 선택에 대한 조언  (0) 2015.07.26
Posted by 쁘레드
Programming2015. 8. 24. 14:00

2009년 판인데 좀더 update하면 많은 사람들이 재밌어 할것 같다는 생각이 든다.

http://www.nltk.org/book/ch01.html

가면 온라인에서 책도 볼수 있습니다.

----------------------



INDEX

0. Preface
1. Language Processing and Python
2. Accessing Text Corpora and Lexical Resources
3. Processing Raw Text
4. Writing Structured Programs
5. Categorizing and Tagging Words (minor fixes still required)
6. Learning to Classify Text
7. Extracting Information from Text
8. Analyzing Sentence Structure
9. Building Feature Based Grammars
10. Analyzing the Meaning of Sentences (minor fixes still required)
11. Managing Linguistic Data (minor fixes still required)
12. Afterword: Facing the Language Challenge


../images/authors.png

Figure XIV.1: Edward Loper, Ewan Klein, and Steven Bird, Stanford, July 2007


'Programming' 카테고리의 다른 글

bash alias  (0) 2015.09.19
codeaurora.org and linaro.org  (0) 2015.09.13
파이썬 오디오 인식 - pydub, audiogrep  (0) 2015.08.24
Python의 얼굴과 젊은 개발자의 언어 선택에 대한 조언  (0) 2015.07.26
Python for Data Analysis  (0) 2015.07.24
Posted by 쁘레드
Programming2015. 8. 24. 13:54
오디오/음성를 인식해서 text로 바꿔주는 기능은 open source로도 많이 있습니다. 오래된 기술인데 사실 어떤 application에 쓰일수 있느냐가 key인데 재밌는 application이 많이 있는데도 아직까지 많이 퍼지지 않은것이 궁금해서 이것저것 보고 있습니다.

Pydub Build Status

Pydub lets you do stuff to audio in a way that isn't stupid.

Manipulate audio with a simple and easy high level interface 


Installing pydub is easy, but don't forget to install ffmpeg/avlib (the next section in this doc)

pip install pydub

-OR-

git clone https://github.com/jiaaro/pydub.git

Dependencies

You can open and save WAV files with pure python. For opening and saving non-wav files – like mp3 – you'll need ffmpeg or libav.

Linux (using aptitude):

# libav
apt-get install libav-tools libavcodec-extra-53

####    OR    #####

# ffmpeg
apt-get install ffmpeg libavcodec-extra-53

https://github.com/jiaaro/pydub

--------------------

Audiogrep

Audiogrep transcribes audio files and then creates "audio supercuts" based on search phrases. It usesCMU Pocketsphinx for speech-to-text and pydub to stitch things together.

pip install audiogrep

How to use it

First, transcribe the audio (you'll only need to do this once per audio track, but it can take some time)

# transcribes all mp3s in the selected folder
audiogrep --input path/to/*.mp3 --transcribe

이 명령어만 쓰고 ouput된 text에 따로 grep하는게 좋을것 같습니다.


# returns all phrases with the word 'word' in them
audiogrep --input path/to/*.mp3 --search 'word'

https://github.com/antiboredom/audiogrep

--------------------


sudo apt-get install python-pip
  1. pip is a package management system used to install and manage software packages written in Python. Many packages can be found in the Python Package Index (PyPI).


Posted by 쁘레드
Programming2015. 7. 26. 04:15

Youtube에서 Python을 찾으니 아주 인기있는 speaker가 있는데, 얼굴도 예쁘고 거기다 금발까지. 거기다가 공부도 잘해. 완전 엄친아. Startup회사도 만들고 벌써 다른 회사에 팔아 넘기기까지(=돈도 많아) ^^ 파이썬의 얼굴이라고 해도 되겠네요.




Jessica McKellar

I am a startup founder, software engineer, and open source developer living in San Francisco, California.


http://web.mit.edu/jesstess/

-----------------------

한 video를 보게됐는데 프로그래밍 언어의 점유율에 대해서 잘 보여주고 있습니다. Github프로젝트로 가장 많은 수를 차지하는 언어는 JavaScript입니다. 이전에 포스팅했던 Popcorn Time과 NPM이런것들이 JavaScript언어로 되어 있음에 깜짝놀랐다는 글이었죠. (NPM engine은 C++입니다만) 



JAVA는 꾸준히 인기있는 언어이고요.

Perl은 죽었다고 봐야하겠고요.

PHP가 web programming에서는 꾸준히 있기를 유지하고 있네요.

JavaScript(JS)도 꾸준히 유지되네요.

Python은 폭발적으로 증가하고 있고요.


-----------------------

그러면서 티스토리 IT블로그에서 본 어떤 개발자들의 말이 생각났습니다.

누가 C/C++를 요즘 공부하냐는 말, C++는 이미 죽었다는 말. 점유율이나 대다수 사람들이 공부하는 추세를 보면 C/C++를 하는 사람이 없지요. 너무 어렵고 앞으로 사용하는 분야가 너무 없다고 생각되지요.


맞는 말이지만, 어떤 engine을 생각할때 저 휘에 있는 언어로 만들어서 팔수있는게 있습니까? 대다수의 회사는 C/C++로 engine/OS/Framework을 만들어 팝니다(or open source로 공개합니다.) 저 위에 언어는 새로운 새대의 언어이지만 UI에 가까워있는 일만 할수 있습니다. 좀더 장기적으로 오래가는 일을 하려면 그 아래의 일도 하는게 좋겠지요. 그래서 젊은 개발자들은 C/C++를 계속 배우는게 자신의 미래를 대비하는데 좋을거라 생각이 듭니다.(물론 하나도 잘 하기 힘든데라고 생각하면 하나에 집중해야겠지요)


젊은 개발자들이 저 위에 있는 언어만 한다면 이미 시장에서 잔뼈가 굵은 사람들의 job은 오래동안 상당히 안정적일것이라 생각이 됩니다. 우리는 좋은 세상에 태어난 것을 고맙게 생각하며 은퇴할수 있을까 궁금하네요.

-----------------------


Posted by 쁘레드
Programming2015. 7. 24. 11:40

며칠째 쓰도못하는 파이선으로 간단한 파서(Parser)를 만드는게 있어서 끙끙 앓다가 이참에 Python을 공부해보려고 책을 읽고 있습니다. Data분석을 하려고 하는 제 요구와 잘 맞는것 같고 두껍지도 않아서 시간을 내어 읽고 있습니다. 아주 잘된책인것 같지는 않지만 좋은점이 아주 많은 책인것 같습니다. 계속 update예정



http://www.numpy.org/

http://pandas.pydata.org/


Python tool for Visual Studio - 최소한 Visual Studio 2010은 되어야 하네요. 저처럼 2008에 머물러 있는 사람은 공짜버전을 다시 받아야 하겠네요. 좀 간단하며 강력한 IDE가 없으려나, ㅋㅋㅋ

http://microsoft.github.io/PTVS/

Posted by 쁘레드
Programming2015. 6. 3. 06:29

NASA가 예산이 줄어들면서 Open NASA로 방향을 잡고 있습니다. 정말 제대로된 나라는 악조건을 선순환으로도 돌릴수 있습니다. 망할나라는 좋은 호재도 악재로 바꾸는 재주가 있지요. 부러운 동네입니다.


NASA가 제공하는 API로 무엇을 할수 있는지는 제가 다시 조사해서 좀더 detail하게 소개하겠습니다.



나사가 공개하는 code들은 여기에 모여있습니다.

http://code.nasa.gov/#/


-----------------------

http://www.programmableweb.com/news/nasa-launches-api-portal-to-encourage-use-data-sets/2015/05/26


NASA has launched an API portal as part of its ongoing attempts to encourage reuse of the significant data sets available from the U.S. space agency’s missions and other ongoing projects. The API portal complements other initiatives, including the recently launched NASA Data Portalopen source code libraries and GitHub account.

-----------------------

https://api.nasa.gov/index.html#getting-started

Getting Started

Most developers getting started with api.nasa.gov wish to leverage NASA data in their applications and services, and this is encouraged! There are also developers that have existing APIs that they may wish to contribute to the NASA API site. Below describes two paths on how to "use" our APIs as well as "contribute" to our API catalog. First, to get started with using NASA APIs, we recommend applying for an API key, reviewing the Authenticationsection, then once ready, dive in to API calls.


----------------------

Posted by 쁘레드
Programming2015. 6. 3. 06:17

공개된 Stock API이 많은것 같습니다. 한국에서는 대우증권에서 2000년대 초반에 API를 공개해서 자동으로 trade하고자 하는 저의 꿈에 한발짝 다가갈수 있게해줬었는데, 그 이후 막히고 점점 퇴보하는것 같았습니다. open해주면 아무래도 보안에 문제가 있을거란 걱정을 윗대가리들은 하겠지요. 오픈이 가끔 보안문제를 야기시키지만 사회를 투명하게 하고는데 도움이 됩니다. 뭘 오픈할지도 생각하지 않고 안된다고만 하는것은 안되겠지요.


시간을 내서 재밌는거 하나 만들어봐야겠네요. 매번 반복적으로 하는거 자동화하게요.

----------------

http://www.programmableweb.com/news/96-stocks-apis-bloomberg-nasdaq-and-etrade/2013/05/22

Our API directory now includes 96 stocks APIs. The newest is theEurex VALUES API. The most popular, in terms of directory page views, is the Bloomberg API. Below you'll find some more stats from the directory, including the entire list of stocks APIs.



In terms of the technical details, REST and XML lead the way. There are 55 stocks REST APIsand 42 stocks SOAP APIs. Our directory lists 64 stocks XML APIs and 18 stocks JSON APIs


  Bloomberg API: Financial markets data service

  E*TRADE API: Access to E*Trade services for applications

  NASDAQ Data-On-Demand API: NASDAQ historical stock quote data servcie


----------------------

http://www.programmableweb.com/api/bloomberg

Financial
StatisticsStocks
Unspecified
No
C, C++, .NET, Java, Perl Node.js
open-tech@bloomberg.net
Unspecified, IP authentication, Bloomberg Terminal authentication






















--------------------

ETrade

Financial
Stocks
XMLJSONREST
Yes
OAuth



















--------------------

Nasdaq

Financial
Stocks
XMLRESTSOAP
ASP, C#, Java, PHP, Perl, .NET, VB, XSLT


Posted by 쁘레드
Programming2015. 6. 3. 03:03

윈도우 command line이 좀 dull하니까 이것을 리눅스의 bash 처럼하려는 시도인것 같습니다. cygwin도 좋은데 이것도 좋은 시도네요.

--------------


http://mridgers.github.io/clink/


Overview

Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the well-known Unix shell Bash, the standard shell for Mac OS X and many Linux distributions.

Features

  • The same line editing as Bash (from GNU’s Readline library).
  • History persistence between sessions.
  • Context sensitive completion;
    • Executables (and aliases).
    • Directory commands.
    • Environment variables
    • Thirdparty tools; Git, Mercurial, SVN, Go, and P4.
  • New keyboard shortcuts;
    • Paste from clipboard (Ctrl-V).
    • Incremental history search (Ctrl-R/Ctrl-S).
    • Powerful completion (TAB).
    • Undo (Ctrl-Z).
    • Automatic “cd ..” (Ctrl-Alt-U).
    • Environment variable expansion (Ctrl-Alt-E).
    • (press Alt-H for many more…)
  • Scriptable completion with Lua.
  • Coloured and scriptable prompt.
  • Auto-answering of the “Terminate batch job?” prompt.

Usage

There are a variety of ways to start Clink;

  1. If you installed the autorun option then simply start cmd.exe. Run clink autorun –help for more info.
  2. To manually start, run the Clink shortcut from the Start menu (or the clink.bat located in the install directory).
  3. To establish Clink to an existing cmd.exe process, use “<install_dir>\clink.exe inject”


Posted by 쁘레드
Programming2015. 6. 3. 02:57

ARM에 맞는 stable kernel을 관리해주는 사람이 있었네요. 중요한 feature는 back port도 해주고 아주 친절하네요.


-------------------

https://wiki.linaro.org/LSK

Linaro Stable Kernel (LSK)

Overview

Linaro Stable Kernel (LSK) aims to provide a stable basis for system integration of ARM hardware, integrating Linaro developed features available in mainline with kernel.org Long Term Stable (LTS) releases to allow integration of those features in production systems.

Most LSK features can be disabled at either build or run time so are included as part of the core LSK functionality. To support those feature sets which have substantial impacts on the kernel and cannot be disabled at build or run time the LSK is provided in multiple flavours. Currently these are:

  • "Core" - features which can be runtime disabled
  • "Android" - additional changes from AOSP

  • "RT" - the RT patch set adding realtime features to the Linux kernel

The number of flavours is kept to a minimum in order to make selection simpler. As much as possible is in the core LSK in order to ensure that features are as widely available as possible.

Currently the LSK release in Feature mode is base based on kernel version v3.18. Note: details for maintenance mode LSK versions can be found below.

Support

Each Linaro Stable Kernel (LSK) is maintained for two years. During the first year [Feature-Mode], both features and bug fixes are integrated and during the second year [Maintenance-Mode] only bug fixes are integrated. Bug reports should be filed against Linaro Stable Kernel project. Any queries should be directed to the Linaro support system in the first instance.

Adding code to LSK

Any bug fixes which apply to the standard kernel and could be included in a kernel.org LTS release should be submitted there, the kernel.org LTS releases are integrated into the LSK.

New features need to be reviewed by the TSC in discussion with the LSK team. Features should be present in current versions of the upstream kernel or in the process of being integrated there.

Code specific to the LSK should be submitted to the LSK team for review by e-mail using standard kernel submission techniques such as patches in e-mail or git pull requests. The addresses to send things to are:

  • LSK Tech Lead: Kevin Hilman <khilman AT linaro DOT org>

  • LSK Engineer: Alex Shi <Alex.Shi AT linaro DOT org>

  • Linaro Kernel mailing list <linaro-kernel AT lists DOT linaro DOT org>

Please include "LSK feature request" in the Subject line.

The submission should include information to help track upstream work on the feature, in order of preference:

  1. Commit IDs from the standard kernel in the changelogs of the individual patches.
  2. A description of how the equivalent change was made upstream or why it isn't required in LSK (eg, explaining that this is taken care of by features not present in the stable kernel).
  3. References to where out of tree development is happening including contact information for followup.

This will aid ongoing maintenance of the features. Any new features should be discussed with the LSK team in advance to determine the most straightforward approach.

Features in LSK v3.18 [Feature Mode]

Feature

Upstream

ARM64 errata framework

yes, and LTS 3.18

ARM64 errata workarounds

yes, and LTS 3.18

DT files for Juno support

yes

Coresight

no

Coming soon...

KVM

yes, and LTS 3.18

IPA

yes

dm-crypt performance

yes

Getting LSK

Linaro Stable Kernel (LSK) is available in a git repository on git.linaro.org. There are branches for each flavor of the kernel:

Flavour

Kernel version

Branch

Core

v3.18

linux-linaro-lsk-v3.18 *in preview mode, targeting release 15.06*

Android

v3.18

linux-linaro-lsk-v3.18-android *in preview mode, targeting release 15.06*

RT

v3.18

linux-linaro-lsk-v3.18-rt *in preview mode, targeting release 15.06*


Posted by 쁘레드
Programming2015. 6. 1. 22:07

한국 사이트 스타디 그룹 사이트가 있었네요. 그런데 요즘은 죽은듯. 이전 링크도 많이 깨진것이 아무도 관리 안하는듯.

http://www.iamroot.org/xe/

 

NASA Open Source

http://ti.arc.nasa.gov/opensource/

 

대표적인 github. 저렇게 방대한 서버를 운영하려면 누군가 돈을 내야할텐데, 자본력은 어디서 나오는지 궁금.

https://github.com


참 오래된 사이트은데 아직까지 유명하다는것이 놀랍다. 유행이 아닌 오래가는 사이트를 만들고 오래 유지해야.

http://sourceforge.net/


Posted by 쁘레드