MongoDB - Aggregation PipelineJason TerpkoThe document provides an overview of MongoDB's aggregation pipeline, detailing its framework for data visualization and manipulation through multiple stages. It discusses various stages, operators, and examples of how to use the pipeline effectively, including optimization techniques for performance improvement. Additionally, it introduces new features in version 3.4, such as recursive search, faceted search, and views.
Introduction à React JSAbdoulaye DiengCe document est une introduction à la bibliothèque JavaScript React, présentant ses concepts clés tels que les composants, les props et l'état local, ainsi que des méthodes pour gérer l'affichage, les événements et la communication avec un serveur HTTP. Il décrit également le développement d'applications web en utilisant React, y compris l'environnement de développement, la syntaxe JSX et la gestion des formulaires. L'importance du routage et des styles est également abordée pour une meilleure expérience utilisateur dans les applications monopages.
Cours JavaScriptOlivier Le GoaërCe document traite de la programmation web avec JavaScript, en abordant les concepts essentiels tels que le noyau JavaScript, les interactions côté client et serveur, ainsi que les alternatives à JavaScript. Il explique également des notions avancées comme le débogage, les closures, la manipulation du DOM, et le JSON. Enfin, des frameworks et des modèles de programmation sont présentés, fournissant une vue d'ensemble des outils et techniques associés à JavaScript.
Clean Code PrinciplesYeurDreamin'The document discusses clean code principles as presented by Vladimir Romanov at #yeurdreamin2019, emphasizing the importance of writing human-readable, maintainable code. Key principles include meaningful naming, the use of constants over hard-coded values, and breaking down larger functions into smaller, manageable ones to enhance readability and reusability. The document also promotes practices such as the boy scout rule, encapsulating conditionals, and maintaining clean comments for better code quality.
Composition, agrégation et immuabilitéECAM Brussels Engineering SchoolCe document aborde la programmation orientée objet, avec un accent sur les concepts de composition, d'agrégation et d'immuabilité dans la création et la gestion des objets au sein de classes. Il illustre ces concepts à travers des exemples de code en Java et Python, et explique les implications de l'immuabilité et de la gestion des références entre objets. Le document conclut sur la notion de couplage et de cohésion dans le design des classes.
Empower your App by Inheriting from Odoo MixinsOdooThe document discusses various features for integrating messaging, activities, and ratings into a plant nursery management system. It describes using mixin classes to inherit features like mail threading, activities, and ratings into models. Methods are overridden as needed to customize behavior for models like orders and plants. Templates and access tokens are also discussed for customizing the user experience for features like sending rating requests and accessing ratings.
CSW2017 Qinghao tang+Xinlei ying vmware_escape_finalCanSecWestThis document describes exploiting a use-after-free vulnerability called "Hearthstone" in VMware Workstation to escape from a virtual machine. It begins with background on VMware RPC and the fuzzing framework used. It then explains the Hearthstone vulnerability, how it allows information leakage, and how that leakage can be used to conduct an out-of-bounds write to achieve code execution on the host system. The presentation concludes with a demonstration of the exploitation process and takes questions.
Introduction to Node jsAkshay MathurThe document provides an introduction to building a simple web server in Node.js. It discusses organizing the code into modules, including a server module to start the web server, a routes module to route requests, and a request handlers module. It also covers basic concepts like using the http module to create a server, handling requests, and returning responses. The server currently returns the same "Hello World" response for all requests, and next steps involve routing requests to proper handlers to return the appropriate content based on the URL.
reactJSSyam SanthoshThis document provides an introduction to React.js, including:
- React is a JavaScript library for building user interfaces and was developed by Facebook. It is the VIEW component in MVC architecture.
- Key features and benefits of React include being fast, modular, scalable, flexible, and popular due to its employability. Large companies like Facebook use React.
- Core concepts of React include JSX, components, unidirectional data flow, and the virtual DOM which improves performance compared to traditional frameworks. Components are reusable pieces that make up the entire application.
The Newton polytope of the sparse resultantVissarion FisikopoulosThe document discusses the Newton polytope of sparse resultants and defines key concepts such as the Newton polytope of a polynomial and resultant polytopes. It explores various properties, examples, and algorithms associated with these polytopes, including dimensions and face counts, while presenting results from previous works. Additionally, it covers computational aspects and conjectures related to the geometry of resultants in multiple dimensions.
PlsqlrchbeirLe document présente une introduction au langage PL/SQL, expliquant ses caractéristiques procédurales et son intégration avec SQL dans des environnements Oracle. Il aborde des concepts essentiels tels que la déclaration de variables, les traitements conditionnels, les boucles, ainsi que l'utilisation de curseurs pour gérer les données. Le contenu est structuré autour des blocs PL/SQL et inclut des exemples pratiques de leur utilisation.
Svelte JS introductionMikhail KuznetcovSvelte is a frontend framework that focuses on compiler-centered reactivity rather than a virtual DOM for better performance and smaller bundle sizes. It allows writing components in a simpler reactive way using declarative templates, properties and events. The talk covered Svelte basics like project setup, components, events and lifecycle methods. It demonstrated Svelte's speed advantages and discussed the ecosystem of libraries and community support including Typescript. Advanced topics covered included Single Page Application routing with Sapper and NativeScript for mobile.
Introduction à ajaxAbdoulaye DiengCe document présente une introduction à AJAX, expliquant ses avantages, inconvénients et son fonctionnement. Il décrit également l'objet XMLHttpRequest, ses méthodes et propriétés, ainsi que les étapes de construction d'une interaction AJAX. En fin de compte, le document fournit des exemples pratiques pour créer une requête AJAX et traiter les réponses du serveur.
Clean codeifnu bimaThis document provides a summary of a presentation on object-oriented programming (OOP) and clean code given at IPB Computer Science on March 28, 2017. It introduces the speaker, Ifnu Bima, and his background working at Deutsche Bank and blibli.com. The presentation covers topics like code quality metrics, meaningful naming conventions, high-quality functions, comments, and unit testing. It emphasizes writing code that is easy to maintain and modify over time to prevent issues like bugs and technical debt.
Inter thread communicationsubash andeyThis document discusses the producer-consumer problem and its solution using inter-thread communication. The producer-consumer problem involves two threads - a producer that generates data and puts it in a shared buffer, and a consumer that removes data from the buffer. The challenge is ensuring the producer does not add to a full buffer and the consumer does not remove from an empty buffer. The solution uses wait(), notify(), and notifyAll() methods to put threads to sleep and wake them up, allowing synchronized access to the buffer and solving the problem. Applications where this pattern is used include parallel computing and real-time systems.
Lab#7 CSS Box ModelYaowaluck PromdeeThe document discusses CSS box model properties including margin, padding, border, and outline. It defines each property and provides examples of how to set widths, styles, and colors. Examples are given for using shorthand properties to set multiple border properties at once and setting margin and padding. The lab assignment is to create four web pages displaying borders, margins, and paddings as shown in the examples and submit the files in a zip folder.
You code sucks, let's fix itRafael DohmsThe document discusses the importance of code readability and maintainability, introducing the concept of Object Calisthenics for improving code quality. It outlines ten key principles for writing better object-oriented code, emphasizing simplicity, clarity, and the reduction of complexity in coding practices. The talk is led by Rafael Dohms, who shares insights from his experiences and various guidelines to help developers produce cleaner, more understandable code.
Support programmation orientée objet c# .net version f8ENSET, Université Hassan II CasablancaCe document présente une introduction à la programmation orientée objet en C#, incluant des concepts fondamentaux tels que les classes, les objets, l'héritage et le polymorphisme. Il contient également des exemples de code pour illustrer des concepts de base comme les types de données, les opérateurs, les structures de contrôle, et le passage de paramètres à des fonctions. Enfin, le document met l'accent sur la méthodologie de la conception orientée objet et la création d'applications à partir d'objets interconnectés.
개념 이해가 쉬운 Variational Autoencoder (VAE)jaypi KoVariational이라는 단어로는 아무것도 안떠오릅니다.
그래서, '꿩 대신 닭'이라고 표현해 봤습니다.
초반 독자적인 그림을 통해 개념잡기가 쉬워요.
설명부분은 초록색으로 표시했습니다.
확률변수(random variable)부터 막히면, 아래 블로그 글을 읽어 보세요.
https://blog.naver.com/nonezerok/221428251262
MongoDB - Aggregation PipelineJason TerpkoThe document provides an overview of MongoDB's aggregation pipeline, detailing its framework for data visualization and manipulation through multiple stages. It discusses various stages, operators, and examples of how to use the pipeline effectively, including optimization techniques for performance improvement. Additionally, it introduces new features in version 3.4, such as recursive search, faceted search, and views.
Introduction à React JSAbdoulaye DiengCe document est une introduction à la bibliothèque JavaScript React, présentant ses concepts clés tels que les composants, les props et l'état local, ainsi que des méthodes pour gérer l'affichage, les événements et la communication avec un serveur HTTP. Il décrit également le développement d'applications web en utilisant React, y compris l'environnement de développement, la syntaxe JSX et la gestion des formulaires. L'importance du routage et des styles est également abordée pour une meilleure expérience utilisateur dans les applications monopages.
Cours JavaScriptOlivier Le GoaërCe document traite de la programmation web avec JavaScript, en abordant les concepts essentiels tels que le noyau JavaScript, les interactions côté client et serveur, ainsi que les alternatives à JavaScript. Il explique également des notions avancées comme le débogage, les closures, la manipulation du DOM, et le JSON. Enfin, des frameworks et des modèles de programmation sont présentés, fournissant une vue d'ensemble des outils et techniques associés à JavaScript.
Clean Code PrinciplesYeurDreamin'The document discusses clean code principles as presented by Vladimir Romanov at #yeurdreamin2019, emphasizing the importance of writing human-readable, maintainable code. Key principles include meaningful naming, the use of constants over hard-coded values, and breaking down larger functions into smaller, manageable ones to enhance readability and reusability. The document also promotes practices such as the boy scout rule, encapsulating conditionals, and maintaining clean comments for better code quality.
Composition, agrégation et immuabilitéECAM Brussels Engineering SchoolCe document aborde la programmation orientée objet, avec un accent sur les concepts de composition, d'agrégation et d'immuabilité dans la création et la gestion des objets au sein de classes. Il illustre ces concepts à travers des exemples de code en Java et Python, et explique les implications de l'immuabilité et de la gestion des références entre objets. Le document conclut sur la notion de couplage et de cohésion dans le design des classes.
Empower your App by Inheriting from Odoo MixinsOdooThe document discusses various features for integrating messaging, activities, and ratings into a plant nursery management system. It describes using mixin classes to inherit features like mail threading, activities, and ratings into models. Methods are overridden as needed to customize behavior for models like orders and plants. Templates and access tokens are also discussed for customizing the user experience for features like sending rating requests and accessing ratings.
CSW2017 Qinghao tang+Xinlei ying vmware_escape_finalCanSecWestThis document describes exploiting a use-after-free vulnerability called "Hearthstone" in VMware Workstation to escape from a virtual machine. It begins with background on VMware RPC and the fuzzing framework used. It then explains the Hearthstone vulnerability, how it allows information leakage, and how that leakage can be used to conduct an out-of-bounds write to achieve code execution on the host system. The presentation concludes with a demonstration of the exploitation process and takes questions.
Introduction to Node jsAkshay MathurThe document provides an introduction to building a simple web server in Node.js. It discusses organizing the code into modules, including a server module to start the web server, a routes module to route requests, and a request handlers module. It also covers basic concepts like using the http module to create a server, handling requests, and returning responses. The server currently returns the same "Hello World" response for all requests, and next steps involve routing requests to proper handlers to return the appropriate content based on the URL.
reactJSSyam SanthoshThis document provides an introduction to React.js, including:
- React is a JavaScript library for building user interfaces and was developed by Facebook. It is the VIEW component in MVC architecture.
- Key features and benefits of React include being fast, modular, scalable, flexible, and popular due to its employability. Large companies like Facebook use React.
- Core concepts of React include JSX, components, unidirectional data flow, and the virtual DOM which improves performance compared to traditional frameworks. Components are reusable pieces that make up the entire application.
The Newton polytope of the sparse resultantVissarion FisikopoulosThe document discusses the Newton polytope of sparse resultants and defines key concepts such as the Newton polytope of a polynomial and resultant polytopes. It explores various properties, examples, and algorithms associated with these polytopes, including dimensions and face counts, while presenting results from previous works. Additionally, it covers computational aspects and conjectures related to the geometry of resultants in multiple dimensions.
PlsqlrchbeirLe document présente une introduction au langage PL/SQL, expliquant ses caractéristiques procédurales et son intégration avec SQL dans des environnements Oracle. Il aborde des concepts essentiels tels que la déclaration de variables, les traitements conditionnels, les boucles, ainsi que l'utilisation de curseurs pour gérer les données. Le contenu est structuré autour des blocs PL/SQL et inclut des exemples pratiques de leur utilisation.
Svelte JS introductionMikhail KuznetcovSvelte is a frontend framework that focuses on compiler-centered reactivity rather than a virtual DOM for better performance and smaller bundle sizes. It allows writing components in a simpler reactive way using declarative templates, properties and events. The talk covered Svelte basics like project setup, components, events and lifecycle methods. It demonstrated Svelte's speed advantages and discussed the ecosystem of libraries and community support including Typescript. Advanced topics covered included Single Page Application routing with Sapper and NativeScript for mobile.
Introduction à ajaxAbdoulaye DiengCe document présente une introduction à AJAX, expliquant ses avantages, inconvénients et son fonctionnement. Il décrit également l'objet XMLHttpRequest, ses méthodes et propriétés, ainsi que les étapes de construction d'une interaction AJAX. En fin de compte, le document fournit des exemples pratiques pour créer une requête AJAX et traiter les réponses du serveur.
Clean codeifnu bimaThis document provides a summary of a presentation on object-oriented programming (OOP) and clean code given at IPB Computer Science on March 28, 2017. It introduces the speaker, Ifnu Bima, and his background working at Deutsche Bank and blibli.com. The presentation covers topics like code quality metrics, meaningful naming conventions, high-quality functions, comments, and unit testing. It emphasizes writing code that is easy to maintain and modify over time to prevent issues like bugs and technical debt.
Inter thread communicationsubash andeyThis document discusses the producer-consumer problem and its solution using inter-thread communication. The producer-consumer problem involves two threads - a producer that generates data and puts it in a shared buffer, and a consumer that removes data from the buffer. The challenge is ensuring the producer does not add to a full buffer and the consumer does not remove from an empty buffer. The solution uses wait(), notify(), and notifyAll() methods to put threads to sleep and wake them up, allowing synchronized access to the buffer and solving the problem. Applications where this pattern is used include parallel computing and real-time systems.
Lab#7 CSS Box ModelYaowaluck PromdeeThe document discusses CSS box model properties including margin, padding, border, and outline. It defines each property and provides examples of how to set widths, styles, and colors. Examples are given for using shorthand properties to set multiple border properties at once and setting margin and padding. The lab assignment is to create four web pages displaying borders, margins, and paddings as shown in the examples and submit the files in a zip folder.
You code sucks, let's fix itRafael DohmsThe document discusses the importance of code readability and maintainability, introducing the concept of Object Calisthenics for improving code quality. It outlines ten key principles for writing better object-oriented code, emphasizing simplicity, clarity, and the reduction of complexity in coding practices. The talk is led by Rafael Dohms, who shares insights from his experiences and various guidelines to help developers produce cleaner, more understandable code.
Support programmation orientée objet c# .net version f8ENSET, Université Hassan II CasablancaCe document présente une introduction à la programmation orientée objet en C#, incluant des concepts fondamentaux tels que les classes, les objets, l'héritage et le polymorphisme. Il contient également des exemples de code pour illustrer des concepts de base comme les types de données, les opérateurs, les structures de contrôle, et le passage de paramètres à des fonctions. Enfin, le document met l'accent sur la méthodologie de la conception orientée objet et la création d'applications à partir d'objets interconnectés.
개념 이해가 쉬운 Variational Autoencoder (VAE)jaypi KoVariational이라는 단어로는 아무것도 안떠오릅니다.
그래서, '꿩 대신 닭'이라고 표현해 봤습니다.
초반 독자적인 그림을 통해 개념잡기가 쉬워요.
설명부분은 초록색으로 표시했습니다.
확률변수(random variable)부터 막히면, 아래 블로그 글을 읽어 보세요.
https://blog.naver.com/nonezerok/221428251262
신경망기초]오류역전파알고리즘구˳jaypi KoThis document describes an implementation of backpropagation algorithm in C code to understand the backpropagation algorithm through programming. It also explains how it can be applied to a real-world case of handwritten digit recognition using TensorFlow code. The neural network code can be used to gain experience by adjusting values and observing their effects on the network.
파이썬설치jaypi KoTo install Python and TensorFlow, download Python version 3.5.2 from the Python website and TensorFlow from the TensorFlow website. Python 3.5.2 must be installed before installing TensorFlow. Once Python is installed, add it to the system PATH and install pip. Then use pip to install various Python packages like iPython, PyQt5, Matplotlib, OpenCV, and Spyder for data science and machine learning.
C언어 연산자에 대해 간과한 것jaypi Ko연산자에 대해 너무 당연해서 간과해 버린 내용이 있습니다.
이것에 대해 언급하는 문헌을 제가 아는 한에서는 본 적이 없습니다.
이것을 인지하고 나면 ++ 연산자의 해석과,
함수에서의 return의 역할을 명확히 이해할 수 있습니다.
[신경망기초] 합성곱신경망jaypi KoThis document discusses convolutional neural networks (CNNs) for image recognition. It explains key CNN components like convolutional layers, pooling layers, hyperparameters like kernel size and stride. It provides code in TensorFlow to recognize handwritten digits from the MNIST dataset using a CNN model with convolutional and pooling layers. The code trains the model on MNIST data and evaluates test accuracy.
interfacejaypi KoThe document discusses interfaces in COM. It explains that interfaces allow invoking functions of COM objects indirectly using virtual function techniques. It shows how to define a pure abstract interface class and have implementation classes inherit the interface. Clients can call interface methods without knowing the underlying implementation class. Later sections discuss adding multiple interfaces to a class, querying for interfaces, and how a client can load and use a COM server from a DLL.
com architecturejaypi KoThis document discusses the COM (Component Object Model) architecture. It covers topics such as how COM uses the Windows Registry to associate components with their class identifiers (CLSIDs) and locations, how clients can load and interact with servers through functions like CoGetClassObject and CoCreateInstance, how servers implement functions like DllRegisterServer to register themselves, and how interfaces are defined using Interface Definition Language (IDL) and compiled using MIDL. It also compares the COM architecture to web services, noting differences in technologies used like IDL vs WSDL and the Windows Registry vs UDDI for discovery.
[신경망기초] 심층신경망개요jaypi Ko신경망의 층이 늘어났을 때 (즉 신경망이 깊어졌을 때), 학습의 어려움을 해소하기 위해 제시된 선행학습 관점에서 DBN과 AE를 소개합니다. 또한 다른 접근법으로 문제를 해소하여 뒤 늦게 심층 신경망으로 간주되고 있는 CNN을 소개합니다.
DBN에 사용된 RBM, AE는 GAN과 더블어 비교사학습 방법을 이끄는 삼두마차입니다. CNN은 영상학습 분야의 단연 절대강자입니다.
[신경망기초] 선형회귀분석jaypi Ko산포된 데이터를 정합하는 직선을 찾는 것으로 이해해도 무방합니다. 주어진 데이터를 이용해 기울기와 절편을 구하는 방법입니다.
먼저 행렬연산을 통해 구하는 방법을 설명합니다. 그리고 퍼셉트론에 사용된 것과 같은 방법을 다시 설명하므로 선택적으로 듣기 바랍니다.
설명된 예제에 대한 C 언어 코드를 제공합니다. Tensorlow 코드는 정합 과정을 시각화하여 보여줍니다.
[신경망기초] 오류역전파알고리즘jaypi Ko신경망의 핵심 학습 알고리즘인 오류역전파알고리즘을 유도해 봅니다. 신경망 학습에 대한 깊은 이해와 함의를 이해하는데 반드시 필요한 과정입니다.
유도 과정에는 미분 공식 중 하나인 연쇄법칙 (Chain Rule)이 사용되고 있습니다.
[신경망기초] 멀티레이어퍼셉트론jaypi Ko퍼셉트론의 한계를 극복하는 방법입니다. 퍼셉트론은 나오자 마자 한계에 봉착했는데, 이를 해결하기 위해 구조적인 확장을 하게 됩니다. 그러나 정작 중요한 것은 이 확장된 구조에서의 학습 방법을 오랫 동안 찾지 못한 것입니다. 여기서 소개하는 신경망 학습방법은 신경망 학습방법의 거의 전부라고 할 수 있습니다.
5. 5
꼭 알아두어야 할 스타일
WS_BORDER 윈도우 테두리 나타남
WS_CHILD 자식 윈도우로 설정
WS_POPUP 팝업 윈도우로 설정
WS_VISIBLE 윈도우를 생성과 동시에 화면에 표시
WS_OVERLAPPEDWINDOW 일반 속성 모두 포함
WS_CHILD 는 WS_POPUP과 함께 사용 불가 (반대 속성)
어떤 속성은 다른 속성들의 조합
기타 속성은 MSDN을 참고
WS_OVERLAPPED WS_CAPTION
WS_SYSMENU WS_THICKFRAME
WS_MINIMIZEBOX WS_MAXIMIZEBOX
※ MSDN 참고
6. 6
스타일 추가 및 제거
WS_OVERLAPPEDWINDOW에서 WS_SYSMENU
제거해 보자
7. 7
style = style & (~WS_SYSMENU);
스타일 추가: OR ( | )
스타일 제거: Negation ( ~ ) 및 AND ( & ) 연산 적용
DWORD style;
style = WS_OVERLAPPEDWINDOW | WS_VISIBLE;
style = _______________________ ;
hWnd2 = CreateWindow(
"WND2",
"WORLD",
style,
320, 0, 320, 240,
hWnd, NULL, _hInstance, NULL
);
비트 연산 잘 이해가 안되면 다음 참조
8. 8
#include <stdio.h>
#define SW1 1 // 0001
#define SW2 2 // 0010
#define SW3 4 // 0100
#define SW4 8 // 1000
main()
{
int sw = 0; // 모든 스위치가 꺼져 있다
sw = SW1; // 1번 스위치 ON
sw = sw | SW2; // 2번 스위치 ON
sw = sw | SW3; // 3번 스위치 ON
if (sw & SW2) // 2번 스위치 ON인지 검사
printf(“ON”);
}