boost라이브러리 중에서 가장 많이 사용하는 기능인 BOOST_FOREACH()와 shared_ptr의 내부 구조를 분석합니다. 그리고 boost의 내부 구현에 사용된 이 기능을 프로그래밍에 응용하는 방법을 제시합니다.
* BOOST_FOREACH 구조 분석 및 응용
* shared_ptr 구조 분석 및 응용
자바 개발자가 파이썬 개발을 배우면서 실무에 활용하고 집필을 하면서 겪었던 경험담 및 생각을 코드와 함께 풀어본다. 자바에 익숙한 사람이 파이썬을 배우고 있거나, 자바와 파이썬의 사이에서 고민을 했던 사람들에게 비교를 위한 기본 정보를 제공한다. 더 나아가 컴파일 언어와 스크립트 언어의 차이점, 개발 생산성을 측정할때 간과하는 컴파일 시간 및 순수 코딩 시간에 대한 통찰을 이끌 생각이다.
[C++ Korea 2nd Seminar] C++17 Key Features SummaryChris Ohk
C++은 10년 만에 C++11/14를 발표하면서 '모던 C++'이라는 이름으로 발전했습니다. 그만큼 새로운 기능들이 많이 추가되었습니다. 그리고 2017년, C++은 C++17이라는 이름으로 또 한 번의 발전을 준비하고 있습니다. 3년 주기로 빠르게 변화하는 모던 C++에 대비하기 위해, C++17에 추가될 주요 기능들을 살펴보고자 합니다.
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기Chris Ohk
C++11을 시작으로 모던 C++이 도입된 지도 어느새 6년이라는 시간이 흘렀습니다. 올해는 C++17 표준이 도입될 예정입니다. 그만큼 많이 개선되고 새로운 기능들이 많이 도입되었기에 실무에서 사용해보고 싶은 경우도 많습니다. 하지만 이미 서비스 중이라 기존 프로젝트를 새 버전의 VS로 마이그레이션하기 어려운 프로젝트가 많습니다. 그렇다고 아예 불가능한 일도 아닙니다. 이번 세미나에서는 기존 프로젝트를 새 버전의 VS로 마이그레이션하면서 발생했던 문제와 마이그레이션 이후 모던 C++을 사용하면서 발생했던 문제, 그리고 해결법을 설명하고자 합니다. 또한 새 버전의 VS에 생긴 유용한 기능들도 함께 알려드립니다.
The document discusses memory leaks in Internet Explorer caused by circular references between JavaScript elements and event handlers. It provides an example of a memory leak, explains the underlying issue, and presents a "purge" function to break the circular reference and allow garbage collection. Memory leak detection tools are also mentioned.
[C++ Korea 2nd Seminar] C++17 Key Features SummaryChris Ohk
C++은 10년 만에 C++11/14를 발표하면서 '모던 C++'이라는 이름으로 발전했습니다. 그만큼 새로운 기능들이 많이 추가되었습니다. 그리고 2017년, C++은 C++17이라는 이름으로 또 한 번의 발전을 준비하고 있습니다. 3년 주기로 빠르게 변화하는 모던 C++에 대비하기 위해, C++17에 추가될 주요 기능들을 살펴보고자 합니다.
[C++ Korea 3rd Seminar] 새 C++은 새 Visual Studio에, 좌충우돌 마이그레이션 이야기Chris Ohk
C++11을 시작으로 모던 C++이 도입된 지도 어느새 6년이라는 시간이 흘렀습니다. 올해는 C++17 표준이 도입될 예정입니다. 그만큼 많이 개선되고 새로운 기능들이 많이 도입되었기에 실무에서 사용해보고 싶은 경우도 많습니다. 하지만 이미 서비스 중이라 기존 프로젝트를 새 버전의 VS로 마이그레이션하기 어려운 프로젝트가 많습니다. 그렇다고 아예 불가능한 일도 아닙니다. 이번 세미나에서는 기존 프로젝트를 새 버전의 VS로 마이그레이션하면서 발생했던 문제와 마이그레이션 이후 모던 C++을 사용하면서 발생했던 문제, 그리고 해결법을 설명하고자 합니다. 또한 새 버전의 VS에 생긴 유용한 기능들도 함께 알려드립니다.
The document discusses memory leaks in Internet Explorer caused by circular references between JavaScript elements and event handlers. It provides an example of a memory leak, explains the underlying issue, and presents a "purge" function to break the circular reference and allow garbage collection. Memory leak detection tools are also mentioned.
파이썬으로 코딩 기초를 배우고 플라스크로 웹서비스 개발을 배우는 과정을 다루고 있습니다.
- 입문용 자료입니다.
ABCD : http://www.abcds.kr/
Facebook Group : https://www.facebook.com/groups/562787713823026/
한성일 : https://www.facebook.com/jamie.han.16
[email protected]
PyCon 2014 발표 http://pycon.kr/2014/program/8 자료 입니다. 파이썬을 기반으로 금융데이터(주식시장 데이터)에 대한 이해와 수집/분석을 위한 구체적인 방법들 소개합니다.
- 마켓 데이터 수집과 저장
- 거래소 상장 종목 분석
- 금융 데이터의 측정과 분포
- 야후 파이낸스 활용
- 이동평균, 기술적 분석, 상관분석
- 데이터 시각화
http://github.com/ipkn/crow
Crow 프로젝트에서 사용한 C++11 기법들을 실제 구현에 대한 설명을 포함하여 자세히 설명한 발표자료입니다.
C++11 features used in Crow
video:
http://youtu.be/MixS9c3mE6U
https://vimeo.com/119627253
C++은 10년 만에 C++11/14를 발표하면서 '모던 C++'이라는 이름으로 발전했습니다. 그만큼 새로운 기능들이 많이 추가되었습니다. 그리고 2017년, C++은 C++17이라는 이름으로 또 한 번의 발전을 준비하고 있습니다. 3년 주기로 빠르게 변화하는 모던 C++에 대비하기 위해, C++17에 추가될 주요 기능들을 살펴보고자 합니다.
이 발표는 이전에 발표했던 내용에서 일부 사례 추가 및 최신 내용으로 갱신한 버전입니다.
The document discusses HTML, CSS, and JavaScript concepts including:
- Using HTML and CSS for static and interactive user interfaces.
- Code examples for CSS prefixes, accordion components, promises, async functions and error handling, sliding animations and image loading.
- Variable declarations and scope, constant variables, type checking, for loops, and array mapping in JavaScript.
- Debugging with breakpoints and examining the call stack.
- Selecting elements, creating elements, and adding event listeners in the DOM.
The document discusses the history and challenges of front-end development. It notes that initially there were many different front-end tools that made selection difficult. Frameworks became popular but could be incompatible and difficult to decouple. It suggests that ES6 and React provide a good foundation for building front-ends, as React code can be written in ES6 and they avoid issues of other frameworks.
The document discusses object-oriented programming concepts in JavaScript including object creation, prototypes, inheritance and the this keyword. It shows examples of creating Name constructor functions and Name objects, setting and getting name properties, using prototypes to share methods between objects, and checking object types and relationships like instanceof.
6. ; 과 {,}
block구분을 위한 brace나 (syntaxError),
statement의 끝을 의미하는 semicolon 사용을 권장하지 않음
def calculateFactorial(number {
if number == 0{
return 1;
}else {
result = number * calculateFactorial(number-1);
return result;
}
}
7. indent
python interpreter는 들여쓰기를 기준으로 해석.
def calculateFactorial(number):
if number == 0:
return 1
else :
result = number * calculateFactorial(number-1)
return result
8. 변수
count = 1000 //integer
pi = 3.14 //floating point
name =“jisu” //string
type(count) //typeof 와 비슷
9. global 변수
count = 1;
count = 1;
def addCount() :
def addCount() :
global count
count +=1
count +=1
print count
print count
>>> 1
>>> 1
16. python code.
ex)
def calculateFactorial(number):
if number == 0:
return 1
else :
result = number * calculateFactorial(number-1)
return result
def main():
inputVal = input("input number : ")
if inputVal:
result = calculateFactorial(int(inputVal))
print(result)
main()
17. comment
여러줄
"""
getErrorData 메서드는 객체 형태의 에러데이터를 반환한다
@ method getErrorData
@ param {void}
@ return {Dictionaries} , [count, detailErrorMsg2....] }
"""
<원래는 triple-quotes는 multiline string 을 변수에 담으려고 사용된 형태임>
한줄
# test 함수입니다
def getErrorData(self):
....
18. OOP
class based, not prototype-based
class testClass:
def __init__(self,name):
self.name = name
정의
def getName(self):
return self.name
def setReName(self, addText):
self.name = self.name + addText
elp = testClass("jslounge")
호출 print (elp.getName());
elp.setReName("is forever")
print (elp.getName());