전체 글
-
시스템 프로그래밍 실습 12주차 : Concurrent ProgrammingSystem Programming/Ubuntu Linux 2021. 11. 15. 17:53
시스템 프로그래밍 실습 12주차 : Concurrent Programming 먼저 10주차 Socket 내용 복습! https://asidefine.tistory.com/109 시스템 프로그래밍 실습 10주차 : Sockets 시스템 프로그래밍 실습 10주차 : Sockets [목차] - Internet Connections - Client-Server Model Client Server - Socket TCP / UDP socket 함수들 ( socket(), connect(), bind(), listen(), accept().. asidefine.tistory.com [목차] - Process-based - Thread-based - Event-based(I/O multiplexing) 네트워크에서 ..
-
시스템 프로그래밍 실습 11주차 : PthreadsSystem Programming/Ubuntu Linux 2021. 11. 8. 09:45
[목차] - Process vs Threads - Pthreads 관련 API 종류 - Pthreads의 데이터 타입과 속성 - Pthreads 다루기 (메소드) - Creating Threads - 쓰레드를 생성한다 - Terminating Threads - 쓰레드를 종료한다 - Joining Threads - Detaching Threads - 쓰레드를 메인 쓰레드에서 분리시킨다 1. Process vs Threads - Process는 한 process에 한 주소 공간(address space) -> 각각의 process가 자신만의 data(전역 변수), stack, heap을 가지고 있다 - Threads는 address space를 공유할 수 있다 -> data와 heap 영역은 같은 주소 공간..
-
강화학습 프로젝트 참고 자료AI/Reinforcement Learning 2021. 11. 6. 15:58
https://data-newbie.tistory.com/648?category=776421 [RL] 강화학습 알고리즘 baseline 코드 URL github.com/openai/baselines/tree/master/baselines openai/baselines OpenAI Baselines: high-quality implementations of reinforcement learning algorithms - openai/baselines github.com stable-baselines... data-newbie.tistory.com https://www.kaggle.com/osbornep/-reinforcement-learning-from-scratch-in-python Reinforceme..
-
Densely Connected Convolutional Networks 정리 및 코드 구현 by Pytorch [DenseNet]AI/Computer Vision 2021. 11. 2. 00:24
Densely Connected Convolutional Networks 정리 및 코드 구현 by Pytorch [DenseNet] Abstract Layer들 간에 Short Connection들을 좀 더 많이 만든다면 성능 올라가지 않을까? 각 레이어에서 뒤따라오는 레이어들로 L(L+1)/2 개의 connection들 만든다! => Vanishing Gradient 문제 완화, Feature propagation 강화, feature reuse 강화, parameter 수 감소의 효과! Introduction 기존) CNN이 층이 깊어질수록 Vanishing Gradient 등의 문제가 생겨 이를 해결하기 위해 ResNet이나 Highway Network 등장! => 둘의 공통점 : 전의 레이어에서 ..
-
시스템 프로그래밍 실습 10주차 : SocketsSystem Programming/Ubuntu Linux 2021. 11. 1. 12:10
시스템 프로그래밍 실습 10주차 : Sockets [목차] - Internet Connections - Client-Server Model Client Server - Socket TCP / UDP socket 함수들 ( socket(), connect(), bind(), listen(), accept() ) - 예제: Echo Client & Echo Server Internet Connections +) 꼭 먼저 알아야 할 기본! => 인터넷 등의 네트워크에서 통신을 원할하게 하기 위해서 필요한 공통된 통신규약, 즉 프로토콜을 지정하였다! - ISO(International Standardization Organiztion)의 OSI(Open System Interconnection)는 네트워크 계층..
-
Shell 만들기 참고할 것System Programming/Ubuntu Linux 2021. 10. 28. 13:30
명령어 구현 1. rm 명령어 구현 https://github.com/yadu007/Basic-Unix-Commands-Implementation/blob/master/rm.c GitHub - yadu007/Basic-Unix-Commands-Implementation: Implementation of some Linux commands using system callls Implementation of some Linux commands using system callls - GitHub - yadu007/Basic-Unix-Commands-Implementation: Implementation of some Linux commands using system callls github.com 2. mv ..
-
Python multiprocessing.Process 멀티프로세싱 1AI/중고급 파이썬 2021. 10. 26. 16:58
https://tempdev.tistory.com/26?category=845382 Python multiprocessing.Process 멀티프로세싱 1 파이썬에서 멀티프로세싱을 이용하여 여러 작업을 동시에 처리할 수 있다. multiprocessing의 Process를 사용하여 이를 간단히 구현할 수 있다. Process 사용 아래 코드는 Process를 사용하는 가장 간단한 tempdev.tistory.com
-
컴퓨터 네트워크/운영체제 개념 공부를 위한 참고 사이트Network 2021. 10. 25. 15:15
2021년 10월 25일 발생한 KT 인터넷 문제의 원인이 DNS 응답 지연이라는 것을 보고 컴퓨터 네트워크나 운영 체제에 대해 좀 더 자세히 알고 싶다는 공부 욕구가 들었다! KT 인터넷 문제가 전국적으로 11시 20분부터 12시까지 터지면서 난리가 났다. 우리 집도 유무선 인터넷, TV 모두 KT를 사용하는데 이상하게 TV만 잘 되는 것을 보고 의아했다. 40분만에 복구되고 난 뒤에 디도스의 문제라고 하는 발표에 소프트웨어 단톡방에 절대 디도스 문제일리 없다는 것을 보고 이유가 궁금해졌다. 디도스는 특정 서버에 접속량을 확 늘려서 트래픽 병목을 일으키거나 트래픽이 처리할 수 있는 양을 넘어가게 만드는 것인데, 이번 일은 전국적으로 망이 터진 것이라 절대 디도스가 문제일리 없다는 것이다. 비유를 하자면..