자동차이야기2016. 3. 19. 01:41

삼성, 현대로부터 기사써주고 돈 받는 기레기들을 없애지 않으면 언론이 재벌과 권력을 위한 광고꾼으로 전락할것입니다. 결국은 국민의 눈을 가리고 입을 막는 일을 할테고요. 이미 한국 언론은 주요 언론사들이 그렇게 되어 있지만, 이제라도 바꿔야지.


미국 제네시스 2016년 2월 판매량 = 2976대

놀라운것은 제네시스 쿠페와 세단을 합친 대수입니다. 미국에서는 쿠페와 세단의 판매량을 따로 발표하지 않습니다. 통계조작이나 퉁치는 행위는 판매량을 부풀릴려는 의도지요.

미국 벤츠 E class 2016년 2월 판매량 = 2700대

E-class는 모델 체인지가 가까웠는지 최근에 급격히 판매량이 줄고 있습니다.


판매대수로는 이긴것은 맞지요. 이것은 소나타가 BMW 3 시리즈 눌렀다는 것과 같은말이지요. 경쟁상대도 아니고 가격도 다르고 고객도 다른데 이건 뭔 개소리 인가요. 이런 기사 쓰는 기자들은 정말 챙피하겠지요. 언론 장학생들 track할수 있는 사이트가 필요함을 절실히 느낍니다.



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

조선일보 기사 - 이병희 기자

현대차 '제네시스', 미국서 벤츠 E클래스 누르고 판매 2위…러시아에선 쏠라리스가 판매 1위

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

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

Posted by 쁘레드
IT이야기2016. 3. 18. 03:34

다음 팟플레이어. 아주 가볍고 강력해서 오래전부터 잘 쓰고 있는데요, 계속 꾸준이 update도 해주고 있고 다른 player를 쓸이유가 거의 없습니다.

다운받을때는 쓸데없는거 제거한 영문판을 받는것이 좋고요.(한국에서는 가능한지 모르겠지만)

https://potplayer.daum.net/

다른데서 받아보니 이상한 프로그램과 같이 깔리기도 함니다. official page에서 받아놓고 그걸 잘 저장해놓고 계속 사용하는게 좋아보입니다.


다운받은 다음에 두가지는 꼭 바꿔주고 써야지요.

  • 자동업데이트 막고 = Auto Check for update = Never
  • Image Capture path수정 - Hidden folder인 AppData에 넣고 있어서 정말 짜증나지요.

자동업데이트를 막는 이유는 이것이 뭐좀 보려고 할때 업데이트 하라고 떠서 산통을 다 깨버려요. 자동업데이트는 몇개월만다 수동으로 해주시면 됩니다.

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




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

이거 이외에는 다른 설정은 별로 필요치가 않고 몇가지 단축기를 알면 편하지요.


Entel : Full screen

Space : pause/resume

Up/Down : volume

Left/Right : jump 5 sec

CTRL+ Left/Right : jump 30 sec

SHIFT+ Left/Right : jump 60 sec

CTRL + H : caption hide

CTRL + ALT + E : save current frame

F6 : Playlist

Posted by 쁘레드
Programming2016. 3. 18. 01:57

(계속 update중)


CPU benchmark는 요즘 아주 잘되어 있지만, CPU가 빠르면 system이 빠르긴 하지만 자기가 많이 쓰는 기능들이 빨라자지 무작정 빠른 시스템을 사 놓고 웹브라우저나 돌리면 너무 아까우니까.


한동안 꿈의 CPU였던 Intel I7-4790K benchmark

https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-4790K+%40+4.00GHz



i7-6790k가 나와서 기록을 갱신하겠지만, i7-6700k의 성능에 user들은 분노를 느낍니다. AMD가 더 잘 해줬어야 Intel이 외계인들을 계속 고문했을거라고.


개발자들이 생각하는 속도를 어떻게 측정할수 있을까 생각하다가 이래와 같은 항목을 생각해 냈습니다. 어떻게 하나하나 measure할지 생각해 보고 program을 만들어 측정해볼 생각입니다.

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

컴파일 타임

Ubuntu 14.04.03

linux kernel v3.19.8 source code compile time on x86 기준

time make -j8


Machine

 CPU + RAM

 Time

HP Z400

Xeon w3550 QUAD core 3.06GHz

14GB DDR3

real 28m48.841s

HP Desktop

I7-4790K QUAD core 4.00 GHz

32GB DDR3

real 13m23.313s

DELL Latitude E5440

i5-4200U QUAD core 1.60GHz

4GB DDR3

500GB SSD

real 49m14.846s

 

 

 


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

부팅시간

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

Tree search, Sorting

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

Hash query

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

Pattern matching

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

File I/O, Memory I/O

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

Image Processing

  • JPEG decoding
  • DCT
  • Image Effect Filter

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

Floating point

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

그런데 Linux용 Open Source Benchmark program들이 많이 있네. (너무나 당연하게도)

http://www.howtogeek.com/111617/how-to-benchmark-your-linux-system-3-open-source-benchmarking-tools/

https://sourceforge.net/projects/hardinfo.berlios/ ; source code


hardinfo가 내가 생각했던 지표와 많이 비슷한듯. 노트북은 low power때문에 성능을 함참 죽였지만 user들에게 빠른것 처럼 보이기 위해 graphic card 성능을 계속 높이고 있다고 봐야겠네요. 사용되는 분야는 다르다고 봐야하지만 Raspberry PI는 성능이 딱 가격만큼만 나온다고 생각하면 될것 같음.

Intel i7-4790K는 완전 괴물임. 이거 나오자 마자 산 사람들은 다른 사람보다 훨씬 많은 일을 할수 있겠겠네요.(그랬겠지요?)


 Benchmark

 HP Z400

Dell i5-4200U

HP i7-4790k 

Raspberry Pi 

 CPU Blowfish

 2.550

 4.911

 1.28

 61.85

 CPU CrytoHash

 480.454

 329.142

 1235.56

 15.43

 CPU Fibonacci

 2.245

 1.575

 0.93

 16.10

 CPU N-Queens

 5.558

 4.947

 0.34

 51.41

 FPU FFT

 1.155

 0.978

 0.57

 75.03

 FPU Raytracing

 4.644

 4.446

 2.34

 88.61


WIndows porting?

소스코드가 있어서 윈도우에서도 돌려보려 compile해보려고 했지만, GTK/GLib dependency가 있어서 포팅이 쉽지 않음. 헐~

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


https://wiki.archlinux.org/index.php/benchmarking


Phoronix Test Suite

http://www.phoronix-test-suite.com/

http://openbenchmarking.org/



'Programming' 카테고리의 다른 글

Python IDE - PyCharm  (0) 2016.07.07
Visual Studio로 Linux app개발한다  (0) 2016.07.07
프로그래머의 친구 HEX Editor  (0) 2016.03.18
MPI Parallel Computing + Hadoop  (0) 2016.03.17
Terminal multiplexing with Screen  (0) 2016.03.17
Posted by 쁘레드
Programming2016. 3. 18. 01:48

요즘 젊은 개발자들도 그러는지 모르겠는데 프로그래머라면 사람이 볼수없는 Binary data를 열어보곤 하지요. 저는 인생이 항상 그래서 HEX viewer/editor가 없으면 살수가 없는데요, 요즘은 WEB에서도 아주 좋은 툴들이 많이 있네요.


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

Javascript으로 개발했다고 개발자가 소개하고 있습니다. client script이라 상당히 빠르고요 예쁘고 여러 기능들도 잘 갖추어져 있어서 다른 프로그램 설치없이도 잘 쓸수 있습니다. (개발자 page = http://www.duttke.de/)

최근에 big endian plaform에서 일을 하느라 처음으로 big endian data를 reading해 봤는데(이론적으로는 많이 공부했지만) 정말 좋은 경험 많이 했습니다.

https://hexed.it/?hl=en

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

HEXPlorer는 전통의 강자인데 개발이 중단되었고, 글씨가 작게나오는 문제가 있어서 많은 사람들이 버렸지요. Setting에서 FONT만 System Fixed Font로 바꿔주면 됩니다. Open Source에다가 아주 괜찮은 툴이에요.

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

그밖에 Beyond Compare에서 HEX comparison도 좋고요

Visual Studio에서도 Binary data를 잘 보여주고요.

Slick Editor도 좋았던 경험은 있습니다.

Posted by 쁘레드
Programming2016. 3. 17. 04:29

MPI – Message Passing Interface

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

http://mpich.org/

https://www.open-mpi.org/

http://www.mpi-forum.org/docs/docs.html

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

https://computing.llnl.gov/tutorials/mpi/ ; 국가연구소, 자세한 설명

http://mpitutorial.com

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

*API list and guide

http://www.mcs.anl.gov/research/projects/mpi/www/www3/

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

*mpi4py python API

https://groups.google.com/forum/#!forum/mpi4py

https://mpi4py.scipy.org/docs/usrman/install.html


pip install mpi4py

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

A brief introduction to Apache Hadoop

The technology known as Apache Hadoop is an open-source framework for developing distributed applications hosted by the Apache Software Foundation. The framework contains a number of subprojects. The one we are interested in is the Hadoop Core, also known as Hadoop Common.The Hadoop Common project is located within the overall Hadoop framework. It allows the development of cloud computing environments via off-the-shelf hardware such as the Raspberry Pi. The developer interacts with it by using its Java based API.Within Hadoop Common there are several significant areas that help us achieve our goal of developing parallel computing applications. Two of the most important areas are as follows:
  • Hadoop MapReduce environment
  • Hadoop Distributed File System (HDFS)
------------------
MapReduce = Map + Reduce
------------------
MPI, Hadoop, and parallel computing
Further resources on MPI are as follows:
  • Java examples—Cardiff University
    • http://users.cs.cf.ac.uk/David.W.Walker/CM0323/code.html
  • MPI tutorials—Lawrence Livermore National Laboratory
    • https://computing.llnl.gov/tutorials/mpi/
  • Hadoop MapReduce tutorial—Apache Foundation
    • http://hadoop.apache.org/docs/stable/mapred_tutorial.html
  • Raspberry Pi Cloud blog
    • http://raspberrypicloud.wordpress.com/2013/04/25/getting-hadoop-to-run-on-the-raspberry-pi/
  • Beowulf clusters—Duke University
    • http://www.phy.duke.edu/~rgb/brahma/Resources/beowulf/papers/ICPP95/icpp95.html
  • Parallel Computing—Intel
    • http://www.intel.com/pressroom/kits/upcrc/ParallelComputing_backgrounder.pdf
  • Parallel Programming—Gribble Lab
    • http://gribblelab.org/CBootcamp/A2_Parallel_Programming_in_C.html
  • Virtualization—Red Hat
    • http://www.redhat.com/products/cloud-computing/virtualization/
  • Virtual Machines—Virtual Box
    • https://www.virtualbox.org/


Posted by 쁘레드
Programming2016. 3. 17. 03:53


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

sudo apt-get install screen

touch .screenrc

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

vbell off

vbell_msg ""

hardstatus on

hardstatus alwayslastline

#Use: info screen "String Escapes" to style your screen

hardstatus string "%{B}%-Lw%{r}%50>%n%f*%t%{-}%+Lw%<"

def monitor on

term screen-256color

shelltitle Window

screen bash


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


screen

CTRL a + c ; create

CTRL a + <num> ; switch to terminal

CTRL d ; detach

screen -r ; retach

screen -r PID

Posted by 쁘레드
Programming2016. 3. 17. 03:49

대체로 집에 윈도우,리눅스,맥,안드로이드 등 다체로운 운영체제들이 복수로 있지요. 10년전만해도 이런 상황을 상상하기 어려웠는데 세상이 빠르게 변하면서 다른 OS 기기들에 대한 장벽을 다 무너트리고 있습니다. 저는 windows를 main으로 사용하고 linux를 build서버로 쓰는 편인데요.


Windows에 XMing XServer를 깔고

Putty에 X11 forwarding을 enable한다음에

SSH로 Linux에 접속합니다. XWindows가 PC위에서 탁탁 뜨는데... 크롬브라우져(정확히 Chromium)만 안뜹니다. 이건 뭔하가하고 찾아보니 이미 Brower가 다른 display에 떠있을경우 그 process에 attach한다는 군요. 쉽게는 떠있는거 닫고 뛰우던지,

user-data path를 지정해주면 된다고 합니다.


$ google-chrome --user-data-dir=~/.config/putty-chrome &
$ google-chrome --temp-profile

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

:/usr/bin$ Created new window in existing browser session.


[1]+  Done                    chromium-browser orunson.tistory.com


fred@fred-Z400:/usr/bin$

:/usr/bin$ chromium-browser orunson.tistory.com &

[1] 8676

[8676:8676:0316/110602:ERROR:logging.h(808)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist


[8676:8676:0316/110602:ERROR:logging.h(808)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.UnknownMethod: Method "GetManagedObjects" with signature "" on interface "org.freedesktop.DBus.ObjectManager" doesn't exist


[8676:8759:0316/110602:ERROR:cert_verify_proc_nss.cc(924)] CERT_PKIXVerifyCert for ssl.gstatic.com failed err=-8179

[8676:8730:0316/110602:ERROR:cert_verify_proc_nss.cc(924)] CERT_PKIXVerifyCert for www.gstatic.com failed err=-8179

[8722:8722:0316/110602:ERROR:gl_surface_glx.cc(347)] GLX 1.3 or later is required.

[8722:8722:0316/110602:ERROR:gl_surface_x11.cc(56)] GLSurfaceGLX::InitializeOneOff failed.

[8722:8722:0316/110602:ERROR:sandbox_linux.cc(338)] InitializeSandbox() called with multiple threads in process gpu-process

[8722:8722:0316/110602:ERROR:gpu_child_thread.cc(257)] Exiting GPU process due to errors during initialization

[8676:8706:0316/110602:ERROR:browser_gpu_channel_host_factory.cc(132)] Failed to launch GPU process.

[8676:8699:0316/110607:ERROR:cert_verify_proc_nss.cc(924)] CERT_PKIXVerifyCert for track.tiara.daum.net failed err=-8179

[8676:8728:0316/110612:ERROR:cert_verify_proc_nss.cc(924)] CERT_PKIXVerifyCert for ssl.gstatic.com failed err=-8179


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

http://unix.stackexchange.com/questions/80478/putty-x11-forwarding-cant-forward-google-chrome

Posted by 쁘레드
IT이야기2016. 3. 17. 01:59

미국에서 여행을 하려할때 젤 먼저 열어보는 사이트중 ExpediaPriceline이 있습니다. Expedia는 시가총액인 $16B, Priceline은 $65B이니 아직도 덩치는 차이가 크지만 Expedia가 인수합병으로 인한 문어발식 확대, 그리고 다(many) 브랜드로 사람들을 하나씩 끌어들이는 전략으로 최근 크게 상장한 것입니다. Priceline은 강한 브랜드, 자기 사이트 하나로 먹고 살지만 Expedia는 실체도 알수없는 브랜드를 계속 사들이고 만들어 내면서 사람들이 이번에는 이것을 이용해 볼까하는 유혹을 만들어 내고 있습니다. 최근 1년간은 Trivago라는 것으로 엄청난 마케팅을 하고 있습니다. 알고보니 이것도 Expedia. 망해가는 전통의 강자 Orbitz도 Expedia가 인수했네요.


저는 복잡한거 실어하지만 이런 마케팅이 대중에게는 먹히지요. 실적이 상당히 좋습니다.



2014년부터 Expedia는 70%가까운 성장을 보여주고 있습니다. 2016년에 폭락한거 빼면 2015년말까지 100% 성장했으니 이건 폭등수준으로 회사를 만들었네요.






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

    Expedia, Inc.
    Company · expedia.com
    Expedia, Inc. is an American-based parent company to several global online travel brands including Expedia.com, Hotels.com, Hotwire.com, trivago, Egencia, Venere.com, Expedia Local Expert, Classic ... Wikipedia
    Stock priceEXPE (NASDAQ) $112.17 -4.10 (-3.52%)
    Mar 16, 12:40 PM EDT - Disclaimer
    Revenue5.763 billion USD (2014)

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

Expedia, Inc. is an American-based parent company to several global online travel brands including Expedia.comHotels.comHotwire.comtrivago, Egencia (formerly Expedia Corporate Travel), Venere.com, Expedia Local Expert, Classic Vacations, Expedia CruiseShipCenters,Travelocity, and Orbitz. Expedia, Inc.’s companies operate more than 100 branded points of sale in more than 60 countries. Expedia also powers travel bookings for over 10,000 partners such as airlines and hotels, consumer brands, and high traffic websites through Expedia Affiliate Network, 80% of which is powered by their API.[3] Expedia Inc. is listed on Nasdaq under the ticker symbol EXPE.[4]

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

    Priceline.com
    Company · priceline.com
    Priceline.com is an American company and a commercial website that claims to help users obtain discount rates for travel-related purchases such as airline tickets and hotel stays. Wikipedia
    Founded1997

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

Priceline.com is an American company and a commercial website that claims to help users obtaindiscount rates for travel-related purchases such as airline tickets and hotel stays. The company is not a direct supplier of these services; instead it facilitates the provision of travel services by its suppliers to its customers. It is headquartered in NorwalkConnecticutUnited States. Priceline.com is wholly owned by The Priceline Group.

Priceline was founded by Jay S. Walker, who left the company in 2000.[3] Hong Kong companyCheung Kong Holdings later purchased a significant portion of Priceline's stock.[4]

Paul J. Hennessy was named Chief Executive Officer of the priceline.com brand in April 2015.[5]

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

Posted by 쁘레드
IT이야기2016. 3. 16. 04:52

Intel이 최적화 Library를 공급해오던것은 오래됐는데 Python쪽에도 지원하고 있는지 몰랐네요. 기사를 읽다보니 MS가 R을 2015년에 인수했었네요. 그래서 open source화 하고. 이것도 대단한 수인데요.


R, Python, SAS, MatLab, Mathematica

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

The still-in-beta Python distribution uses Math Kernel Library to speed up processing on Intel hardware

http://www.infoworld.com/article/3044512/application-development/intels-python-distribution-provides-a-major-math-boost.html

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

Rather than stuff Revolution R Open into a proprietary box, Microsoft is keeping the popular math-and-stats language open source under the GPL

http://www.infoworld.com/article/3021924/application-development/hooray-microsofts-r-will-remain-free-and-open.html

https://mran.revolutionanalytics.com/download/#download

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

Microsoft to acquire R language powerhouse Revolution Analytics

Microsoft will plant the R statistical language in its Azure machine learning services







http://www.infoworld.com/article/2874853/big-data/microsoft-to-acquire-r-language-powerhouse-revolution-analytics.html

Posted by 쁘레드
Programming2016. 3. 16. 01:18

요즘 개발자들은 안쓰는 것으로 아는데(계속 쓸지도...) Visual Studio Editor가 계속 발전한 덕에 이제 다른 extension은 쓸필요가 없어졌는데, 예전에도 VS는 좋았지만 날개를 달아줄 툴이 Visual Assist였는데.


개발자들의 목마름을 체워졌던 부분은

  • 자동완성(code generation, coding assistance)
  • 더 진보된 syntax highlight
  • Code Snippets(자주 쓰는 구문, 함수, template 자동으로 입력)
  • VA Outline
  • Header/Source file switch
  • 소스코드 분석 도움
  • 많은 기능을 제공하면서 느려지지 않고

등이었는데. 새롭게 깔아보니 예전 생각이 많이 나네.


Whole Tomato Software, 다른거 뭐 만드나 했더니 이거 하나 만드나 보네. 헐.

요즘은 다른 언어도 지원하고 하나보지만, MS가 너무 잘만들어서 이걸 살 필요있나 몰겠네. 예전에는 이거 없이는 못살때가 있었는데.

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






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


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


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

'Programming' 카테고리의 다른 글

Terminal multiplexing with Screen  (0) 2016.03.17
X11 forwarding - 리눅스 크롬 브라우저 문제  (0) 2016.03.17
Raspberry Pi Supercomputer  (0) 2016.03.14
Windows Phone 7 Development Internals  (0) 2016.03.13
Github와 git  (0) 2016.03.08
Posted by 쁘레드