Monday, September 12, 2016

Python File Search(Pattern Marching)


Q: search all files that contain 'lib' under  directory 'c:\dev\go\ ' including sub directory,
A: glob.iglob('c:\dev\go\**\*lib*', recursive=True)

C:\Dev\Go>python
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import glob
>>> for filename in glob.iglob('c:\dev\go\**\*lib*', recursive=True):
...     print(filename)
...
c:\dev\go\lib
c:\dev\go\blog\content\spotlight-on-external-go-libraries.article
c:\dev\go\blog\content\third-party-libraries-goprotobuf-and.article
c:\dev\go\misc\cgo\testcarchive\src\libgo
c:\dev\go\misc\cgo\testcarchive\src\libgo2
c:\dev\go\misc\cgo\testcarchive\src\libgo3
c:\dev\go\misc\cgo\testcarchive\src\libgo4
c:\dev\go\misc\cgo\testcarchive\src\libgo\libgo.go
c:\dev\go\misc\cgo\testcarchive\src\libgo2\libgo2.go
c:\dev\go\misc\cgo\testcarchive\src\libgo3\libgo3.go
c:\dev\go\misc\cgo\testcarchive\src\libgo4\libgo4.go
c:\dev\go\misc\cgo\testcshared\src\libgo
c:\dev\go\misc\cgo\testcshared\src\libgo2
c:\dev\go\misc\cgo\testcshared\src\libgo4
c:\dev\go\misc\cgo\testcshared\src\libgo5
c:\dev\go\misc\cgo\testcshared\src\libgo\libgo.go
c:\dev\go\misc\cgo\testcshared\src\libgo2\libgo2.go
c:\dev\go\misc\cgo\testcshared\src\libgo4\libgo4.go
c:\dev\go\misc\cgo\testcshared\src\libgo5\libgo5.go
c:\dev\go\misc\tour\static\lib
c:\dev\go\misc\tour\static\lib\codemirror\lib
c:\dev\go\pkg\windows_amd64\compress\zlib.a
c:\dev\go\pkg\windows_amd64_race\compress\zlib.a
c:\dev\go\src\cmd\compile\internal\big\calibrate_test.go
c:\dev\go\src\cmd\internal\unvendor\golang.org\x\arch\x86\x86asm\testdata\lbmach8db.c
c:\dev\go\src\cmd\link\internal\ld\lib.go
c:\dev\go\src\compress\zlib
c:\dev\go\src\go\types\stdlib_test.go
c:\dev\go\src\image\png\testdata\invalid-zlib.png
c:\dev\go\src\math\big\calibrate_test.go
c:\dev\go\src\runtime\cgo\gcc_libinit.c
c:\dev\go\src\runtime\cgo\gcc_libinit_linux_ppc64x.c
c:\dev\go\src\runtime\cgo\gcc_libinit_openbsd.c
c:\dev\go\src\runtime\cgo\gcc_libinit_windows.c
c:\dev\go\src\runtime\cgo\libcgo.h
c:\dev\go\test\fixedbugs\bug322.dir\lib.go
c:\dev\go\test\fixedbugs\bug424.dir\lib.go
>>>

Monday, August 22, 2016

Why 2015 Will Be Year of Big Data: Oracle's Seven Predictions

source: http://www.eweek.com/database/why-2015-will-be-year-of-big-data-oracles-seven-predictions.html

pdf :  http://www.oracle.com/us/technologies/big-data/big-data-predictions-2015-2421021.pdf

Why 2015 Will Be Year of Big Data: Oracle's Seven Predictions

By Chris Preimesberger  |  Posted 2014-12-16 Print this article Print


Data is a new form of capital. Ultimately, information about people, places and things will truly differentiate enterprises.

Oracle has been handling big data-type workloads in its parallel databases since long before the term "big data"—and even the Internet—was born.
Now that there is such a preponderance of business and personal data whirling around the globe every millisecond, a zillion more enterprises are paying attention to the potential value all this data can bring to balance sheets around the world. Oracle, founded way back in 1977, has seen and addressed this trend from a lengthy and deep perspective.
Neil Mendelson, Oracle's vice president of Big Data and Advanced Analytics, is immersed in this sector each day at his office in Redwood Shores, Calif. In a conversation with eWEEK, he offered readers some insight into what the company is thinking—and how big data trends will be evolving—as we all move into 2015.
Large companies, not just startups, are realizing that big data analytics can do wonders for them. In fact, Mendelson believes that 2015 will indeed be known as The Year of Big Data in the Enterprise.
Data: The New Lingua Franca of Business?
"Data is a new form of capital," Mendelson said. "In fact, you see new businesses today whose business is data. Data provides tremendous worth. Companies like Google, for example, are powered by the value that data produces.
"Today we have an index that talks about the value of your brand. In the future, we will see an index that talks about the value of your data. At the board level, companies are beginning to understand that they're facing new competitors, versus like competitors, and the change is very real. Retailers are concerned about Amazon intruding, banks are concerned about telcos providing banking services on your phone.
"At the end of the day, it's information about people, places and things that will truly differentiate them," Mendelson said.
With all that in mind, here are Oracle's top seven big data-related predictions for 2015:
Prediction 1: Corporate boardrooms will talk about data capital, not big data.
Data is as necessary for creating new products, services and ways of working as financial capital. For CEOs, this means securing access to, and increasing use of, data capital by digitizing and datafying key activities with customers, suppliers and partners before rivals do. For CIOs, this means providing data liquidity: the ability to get data the firm wants into the shape it needs with minimal time, cost and risk.
Prediction 2: Big data management will grow up.
Hadoop and NoSQL will graduate from mostly experimental pilots to standard components of enterprise data management, taking their place alongside relational databases. Over the course of the year, early majority firms will settle on the best roles for each of these foundational components. The demand for data liquidity will compel architects to find new ways to make the full big data environment—Hadoop, NoSQL, and relational technologies—act as a mature enterprise-grade system.
Prediction 3: Companies will demand a SQL for all seasons.
SQL is not just a technology standard. It's a language based on 100 years of hard thinking about how to think straight about data. Applications, analysts, and algorithms rely on it daily to run everything from fraud analyses to freight forwarding. Companies will demand that SQL works with all big data, not just data in a Hadoop, NoSQL (Oh, the irony!), or relational silo. They'll also demand that this big data SQL works just like full-fledged modern SQL that their applications and developers already use. This will put pressure on nascent Hadoop-only SQL to mature overnight.
Prediction 4: Just-in-time transformation will transform ETL.
New in-memory streaming technologies change the rate at which we can act on data, causing a re-examination of extract, transform, and load (ETL) activities. Data scientists will increasingly opt for real-time data replication tools instead of batch-oriented ones to get data into Hadoop, which has been the norm. They'll also take advantage of distributed in-memory processing to make data transformation fast enough to support interactive exploration, creating new data combinations on the fly.
Prediction 5: Self-service discovery and visualization tools will come to big data.
New data discovery and visualization tools will help people with expertise in the business, but not in technology use big data in daily decisions. Much of this data will come from outside the firm and, therefore, beyond the careful curation of enterprise data policies. To simplify this complexity, these new technologies will combine consumer-grade user experience with sophisticated algorithmic classification, analysis and enrichment under the hood. The result for business users will be easy exploration on big data, such as knowing where the oil is before digging the well.
Prediction 6: Security and governance will increase big data innovation.
Many large firms have found their big data pilots shut down by compliance officers concerned about legal or regulatory violations. This is particularly an issue when creating new data combinations that include customer data. In a twist, firms will find big data experimentation easier to pen up when the data involved is more locked down. This means extending modern security practices such as data masking and redaction to the full big data environment, in addition to the must-haves of access, authorization and auditing.
Prediction 7: Production workloads blend cloud and on-premises capabilities.
Once companies see enterprise security and governance extended to high-performance cloud environments, they'll start to shift workloads around as needed. For example, an auto manufacturer that wants to combine dealer data borne in the cloud with vehicle manufacturing data in an on-premises warehouse may ship the warehouse data to the cloud for transformation and analysis, only to send the results back to the warehouse for real-time querying
.

Thursday, June 30, 2016

error fix when installing virtualbox on oracle linux 7

#sudo /sbin/rcvboxdrv setup
/sbin/rcvboxdrv: line 85: /etc/init.d/functions: No such file or directory
#ln -s /etc/rc.d/init.d/functions /etc/init.d/functions
#sudo /sbin/rcvboxdrv setup


Stopping VirtualBox kernel modules                         [  OK  ]
Recompiling VirtualBox kernel modules                      [  OK  ]
Starting VirtualBox kernel modules                         [  OK  ]


. install extestion pack first
#VBoxManage modifyvm "BigDataLite-4.5.0" --vrde on
#VBoxHeadless --startvm "BigDataLite-4.5.0" &


mstsc krea2.kr.oracle.com:3389


Bios setup check: Intel VT-x,” “Virtualization” on
Look for an option named “Intel Virtualization Technology,” “Intel VT-x,” “Virtualization Extensions,” “Vanderpool,” or something similar. Enable the option and select “Save and Exit” or the equivalent feature to save your settings changes and reboot your computer.

펌:VirtualBox 원격데스크톱 연결

원본: http://myknowledge.kr/91

VirtualBox의 여러 기능 중에 원격 데스크톱 이라는 기능이 있는데, 해당 기능을 이용하면 윈도우즈의 원격 데스크톱 연결 을 이용하여 VirtualBox에 접속 할 수 있습니다. (=> VirtualBox에서는 원격 디스플레이라고 표시되어 있습니다.)

(이 글에서는 윈도우즈에 VirtualBox를 설치 했을 경우를 예로 들어 설명합니다. )

일반적으로 VirtualBox를 설치하고 그 안에 리눅스를 설치하면, 리눅스의 네트워크 설정 후에 vncviewer / vncserver 기능을 이용하거나 리눅스 원격데스크톱을 이용하여 VirtualBox의 리눅스로 접속을 합니다. 하지만 VirtualBox의 원격디스플레이 기능을 이용하면 그러한 설정 없이도 윈도우즈의 원격 데스크톱 연결을 이용하여 접속이 가능하게 됩니다.

(참고)
제가 예전에 쓴 글 중에 리눅스 원격데스크톱 과 리눅스에서 VNC 사용하는 방법에 대한 설명을 적어 놓은 글이 있으니, 혹시 관심 있으시면 아래 링크를 참조 하시기 바랍니다.
- 리눅스 원격데스크톱 
: 리눅스에서 제공하는 원격데스크톱 기능에 대한 설명입니다.

- 리눅스에서 vnc 사용하기
: 리눅스에 vncserver를 설정하고 다른 PC에서 vncviewer 를 이용하여 접속하는 방법에 대한 설명입니다.

VirtualBox에 있는 원격 디스플레이란 기능은 VRDP (VirtualBox Remote Desktop Protocol) 를 이용하는 것인데, 윈도우즈의 원격 데스크톱 연결도 이 RDP 라는 프로토콜을 이용하게 되어 있어서 접속을 할 수 있는 것입니다.

이 기능을 이용하기 위해서는 VirtualBox 의 원격 디스플레이를 설정해야 합니다.

VirtualBox

원격 디스플레이 설정에 들어가면 VRDP 서버 사용하기 라고 있는데 이것을 활성화 시키면 됩니다. 서버포트는 바꾸셔도 되지만 윈도우즈 원격 데스크톱 연결에서 기본적으로 사용하는 포트가 3389 이므로 안 바꾸고 바로 사용하셔도 됩니다.

원격 디스플레이 설정

포트를 변경하지 않고 사용할 경우 간혹 포트가 충돌 난다고 나올 경우가 있는데 그럴 경우에는 시스템 등록 정보에서 원격이란 탭을 살펴 보시기 바랍니다. 만약 "사용자가 이 컴퓨터에 원격으로 연결할 수 있음" 이 활성화 되어 있으면 포트 충돌이 나므로 아래 그림과 같이 비활성화 시켜야 합니다.

시스템 등록 정보

이렇게 해서 설정이 끝나면 VirtualBox에서 리눅스를 실행시키면 됩니다.

그리고 다른 PC에서 원격 데스크톱 연결을 실행시켜 연결할 컴퓨터에 VirtualBox가 설치된 PC의 IP 어드레스를 적어주면 됩니다.

원격 데스크톱 연결

아래가 연결된 모습입니다.

원격 데스크톱 연결된 모습

만약 근무 환경에 PC 와 노트북이 둘 다 지원된다면, 그리고 해당 PC에 VirtualBox를 설치해서 리눅스를 테스트용으로 사용하고 있다면, 회의실이나 회사의 다른 건물로 이동했을 경우 노트북의 원격 데스크톱 연결을 이용하여 접속 해서 작업을 할 수 있게 됩니다. 

Tuesday, June 7, 2016

강남 재건축

달아오른 강남 재건축..입주 가뭄에 분양권 웃돈 ‘천정부지‘ 출처 : 네이버 부동산 http://me2.do/FxZXPYr5