MongoDB 2.2 이후 집계 파이프라인을 통한 데이터 분석을 강화하고 있습니다.
버전 4.2 에서는 더 많은 기능을 추가 했으며, 더 강력한 쿼리 및 업데이트 그리고 MView 기능까지 사용 할 수
있습니다. 집계파이프 라인을 포함한 해당 기능을 이용하여 단일뷰(SignleView), ETL, 데이터 롤업 및 MView 수행하는 방법을 설명합니다.
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)MongoSF
The document appears to be notes from a MongoDB training session that discusses various MongoDB features like MapReduce, geospatial indexes, and GridFS. It also covers topics like database commands, indexing, and querying documents with embedded documents and arrays. Examples are provided for how to implement many of these MongoDB features and functions.
Python Ireland Nov 2010 Talk: Unit TestingPython Ireland
Unit testing for those seeking instant gratification - Maciej Bliziński
Abstract: Unit testing has long term benefits. However, depending on how you use it, it can have short term benefits too. This is an introductory talk, aimed at both beginner and experienced Python programmers who would like to get started testing their code.
MongoDB World 2019: Aggregation Pipeline Power++: How MongoDB 4.2 Pipeline Em...MongoDB
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
This document defines PHP functions and constants for handling communication channels, encryption, and command execution in a meterpreter payload. It initializes global variables, defines TLV constants, registers core commands, and provides functions for opening, reading/writing, and closing channels. It also includes functions for negotiating encryption, getting system information, and loading additional modules.
Modern Application Foundations: Underscore and Twitter BootstrapHoward Lewis Ship
Underscore.js is a utility-belt JavaScript library that provides functions for manipulating arrays and objects without extending built-in prototypes. It contains over 60 built-in functions for tasks like iterating, mapping, filtering, and reducing collections of data. Underscore.js aims to work consistently across all JavaScript environments without dependencies on other libraries.
This document discusses JavaScript MV* frameworks. It covers common features of these frameworks including the client-server model, event handling, view templates, and URL routing. It also provides examples of models, collections, implementing client-server sync, views and events, view templates, and UI element binding.
Jython: Python para la plataforma Java (EL2009)Leonardo Soto
This document discusses using Python on the Java platform. It begins by asking if a Java platform can exist without Java, and explores using Python, Ruby, Scala and Groovy instead. It then highlights features of Python like being dynamic, flexible and readable. Jython is introduced as a way to use Python on the Java platform. The document demonstrates using Swing GUIs from Jython and shows a Django web application example. It also discusses testing Python code including doctests and integration tests using HtmlUnit. Finally, it mentions some companies that use Jython and provides resources for learning more.
Jython: Python para la plataforma Java (JRSL 09)Leonardo Soto
This document discusses using Python on the Java platform with Jython. It begins with an introduction to Jython, noting that it allows Python code to run on the Java Virtual Machine while maintaining compatibility with CPython. The document then provides examples of using Swing GUI libraries from Python with Jython. It also demonstrates using Django to build a simple wiki application in Jython. Finally, it discusses doctests for testing Python code and mentions some organizations that use Jython, such as Lockheed Martin and EADS.
Map/reduce, geospatial indexing, and other cool features (Kristina Chodorow)MongoSF
The document appears to be notes from a MongoDB training session that discusses various MongoDB features like MapReduce, geospatial indexes, and GridFS. It also covers topics like database commands, indexing, and querying documents with embedded documents and arrays. Examples are provided for how to implement many of these MongoDB features and functions.
Python Ireland Nov 2010 Talk: Unit TestingPython Ireland
Unit testing for those seeking instant gratification - Maciej Bliziński
Abstract: Unit testing has long term benefits. However, depending on how you use it, it can have short term benefits too. This is an introductory talk, aimed at both beginner and experienced Python programmers who would like to get started testing their code.
MongoDB World 2019: Aggregation Pipeline Power++: How MongoDB 4.2 Pipeline Em...MongoDB
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
This document defines PHP functions and constants for handling communication channels, encryption, and command execution in a meterpreter payload. It initializes global variables, defines TLV constants, registers core commands, and provides functions for opening, reading/writing, and closing channels. It also includes functions for negotiating encryption, getting system information, and loading additional modules.
Modern Application Foundations: Underscore and Twitter BootstrapHoward Lewis Ship
Underscore.js is a utility-belt JavaScript library that provides functions for manipulating arrays and objects without extending built-in prototypes. It contains over 60 built-in functions for tasks like iterating, mapping, filtering, and reducing collections of data. Underscore.js aims to work consistently across all JavaScript environments without dependencies on other libraries.
This document discusses JavaScript MV* frameworks. It covers common features of these frameworks including the client-server model, event handling, view templates, and URL routing. It also provides examples of models, collections, implementing client-server sync, views and events, view templates, and UI element binding.
Jython: Python para la plataforma Java (EL2009)Leonardo Soto
This document discusses using Python on the Java platform. It begins by asking if a Java platform can exist without Java, and explores using Python, Ruby, Scala and Groovy instead. It then highlights features of Python like being dynamic, flexible and readable. Jython is introduced as a way to use Python on the Java platform. The document demonstrates using Swing GUIs from Jython and shows a Django web application example. It also discusses testing Python code including doctests and integration tests using HtmlUnit. Finally, it mentions some companies that use Jython and provides resources for learning more.
Jython: Python para la plataforma Java (JRSL 09)Leonardo Soto
This document discusses using Python on the Java platform with Jython. It begins with an introduction to Jython, noting that it allows Python code to run on the Java Virtual Machine while maintaining compatibility with CPython. The document then provides examples of using Swing GUI libraries from Python with Jython. It also demonstrates using Django to build a simple wiki application in Jython. Finally, it discusses doctests for testing Python code and mentions some organizations that use Jython, such as Lockheed Martin and EADS.
TDC2016SP - Código funcional em Java: superando o hypetdc-globalcode
The document discusses refactoring code that filters a list of Pug objects in Java. It starts with code that filters by color or weight in separate methods, then refactors it to pass the filtering logic as function parameters. This improves flexibility by allowing different filtering without changing the core logic. Later it covers using predicates, lambda expressions, and streams to make the filtering more functional and declarative in style.
The document provides information about various Corona display, audio, physics, and storyboard APIs:
1) It summarizes the display.newText, display.newImage, display.newRect, display.newCircle, and display.newGroup functions for creating and manipulating display objects.
2) It covers the basics of touch handling using object:addEventListener and provides an example listener function.
3) It describes timer functions like timer.performWithDelay, timer.pause, and timer.resume for delayed execution of functions.
4) It gives an overview of the audio API and provides an example of loading and playing sounds.
5) It introduces the Corona physics module and
This document demonstrates how the oplog in MongoDB replica sets works by replicating operations from the primary to secondaries. It shows insert, update, remove operations on a collection on the primary and then verifies that the same operations have been replicated to the oplog and applied on a secondary by finding the same document changes. It also shows getMore commands from secondaries tailing the oplog on the primary to stay up to date as new operations are applied.
This document discusses MySQL 5.7's JSON datatype. It introduces JSON and why it is useful for integrating relational and schemaless data. It covers creating JSON columns, inserting and selecting JSON data using functions like JSON_EXTRACT. It discusses indexing JSON columns using generated columns. Performance is addressed, showing JSON tables can be 40% larger with slower inserts and selects compared to equivalent relational tables without indexes. Options for stored vs virtual generated columns are presented.
Mobl is a programming language for building mobile web applications. It aims to provide portability across different mobile platforms and browsers by compiling to JavaScript and HTML5. Mobl supports common mobile features like location services, camera, contacts and more through a simple object-oriented syntax. It also includes tools for building user interfaces, accessing data through entities and queries, and making web service requests. The goal is to enable complete coverage of mobile development needs while avoiding platform-specific code.
R is an open source statistical computing platform that is rapidly growing in popularity within academia. It allows for statistical analysis and data visualization. The document provides an introduction to basic R functions and syntax for assigning values, working with data frames, filtering data, plotting, and connecting to databases. More advanced techniques demonstrated include decision trees, random forests, and other data mining algorithms.
Topological indices (t is) of the graphs to seek qsar models of proteins com...Jitendra Kumar Gupta
Currently, there is an increasing necessity for quick computational chemistry methods to predict proteins properties very accurately. This is facilitated by the improvements in various bioinformatics techniques as well as high computational power available these days. Hence quick and fast running techniques are being developed for analysing many macromolecules computationally.
In this sense, quantitative structure activity relationship (QSAR) is a widely covered field, with more than 1600 molecular descriptors introduced up to now Most of the molecular descriptors have been applied to small molecules.
Nevertheless, the QSAR studies for DNA and protein sequences may be classified as an emerging field. One of the most promising applications of QSAR to proteins relates to the prediction of thermal stability, which is an essential issue in protein science.
Connectivity indices, also called topological indices (TIs) serve fast calculations. TIs are graph invariants of different kinds of proteins.
The interest in TIs has exploded because we can use them to describe also macromolecular and macroscopic systems represented by complex networks of interactions (links) between the different parts of a system (nodes) such as: drug-target, protein-protein, metabolic, host-parasite, brain cortex, parasite disease spreading, internet, or social networks. Here, we use TI’s to analyze protein-protein complexes.
The Ring programming language version 1.7 book - Part 72 of 196Mahmoud Samir Fayed
This document describes a Ring-based notepad application with the following key features:
- It allows opening, saving, printing files and includes buttons for common editing functions like cut, copy, paste.
- The interface contains toolbars for file operations and menus for File, Edit, View, Help options. Shortcuts are also defined.
- Text editing functions like font selection, text coloring, search/replace are implemented through event handlers.
- The application stores settings like active file name, text/background colors, font and handles asking to save on close if needed.
The Ring programming language version 1.8 book - Part 74 of 202Mahmoud Samir Fayed
This document describes a Ring-based notepad application with the following key features:
- It includes buttons and menu options for common file operations like new, open, save, print.
- The interface contains a toolbar and main window for the text editor area.
- Additional features allow for text formatting, search/replace, and setting the font and colors.
- The application stores the open file name and can check if the user wants to save changes when closing.
Marimba - Ein MapReduce-basiertes Programmiermodell für selbstwartbare Aggreg...Johannes Schildgen
This document presents a MapReduce-based programming model for self-maintaining aggregate views. It begins with motivation for incremental processing of aggregate views to avoid recomputing from scratch. It then provides background on related work in incremental MapReduce processing. The core functionality allows for distributed computation using MapReduce with incremental, overwrite, and full recomputation jobs. Evaluation shows incremental processing is faster than full recomputation when changes are small.
This document provides an overview of Groovy's collection API. It discusses how Groovy treats many objects like collections, including strings, numbers, and regular expressions. It demonstrates various collection notation and operations, including lists, maps, ranges, and spread operators. It also summarizes common collection methods like each, find, collect, reducers, and useful utility methods like groupBy, countBy, and set operations.
An Elephant of a Different Colour: HackVic Metcalfe
Slides from my GTA-PHP Meetup talk about Hack which is the Facebook version of the PHP programming language which runs under their HHVM runtime environment for PHP. The focus of my talk was the language improvements that the Facebook team has added to PHP.
There's a lot of information in the presenter's notes, so if you're interested in Hack scroll down to see the extras.
The document describes MongoDB's GridFS specification for storing and retrieving files that exceed the BSON document size limit of 16MB. It explains that GridFS splits files into chunks, which are stored as individual documents, and maintains metadata about the file such as length, MD5, and filename in a separate collection. It provides examples of using the mongofiles command line tool to list, search, put, and get files from GridFS.
The Ring programming language version 1.10 book - Part 81 of 212Mahmoud Samir Fayed
This document describes a cards game application developed using RingQt. The application deals 5 cards to each of two players. Players take turns clicking cards to reveal them. If a card matches another visible card or is a "5", the player earns points and may eat additional matching cards. The game ends when all cards are revealed, and the player with the most points wins. The application displays the cards, scores, and gameplay logic through a graphical user interface built with RingQt widgets.
This document provides instructions for creating a desktop-like web application interface using Ext JS and CodeIgniter. It includes steps to set up the database and models, configure views and controllers, and write JavaScript code to display and interact with phonebook data using grids, forms, and other Ext JS widgets. The application allows getting, inserting, updating and deleting phonebook records by making AJAX calls to CodeIgniter controllers from the Ext JS application.
The document discusses the deque collection in Python. Some key points:
- Deque allows fast appends and pops from either side of the list, with O(1) time complexity, unlike regular lists which are slow (O(n)) for pop(0) and insert(0,v).
- Deque provides methods like append, appendleft, popleft, pop for adding/removing elements from either side of the list.
- It can be initialized with a maximum length to act as a sliding window, discarding old elements as new ones are added.
- Methods like rotate rotate the deque a given number of positions, extending adds multiple elements at once. Deque is useful when
This document summarizes a keynote presentation about developing mobile applications using domain-specific languages. It discusses current mobile platforms and their programming languages, challenges with cross-platform development and arbitrary app rejections. It then presents an approach using a high-level modeling language that compiles to HTML5/JavaScript to enable cross-platform mobile app development. Key elements of the language include data models, user interfaces, scripting, data binding, web services access, and compilation to optimized JavaScript code.
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
The document describes OTP (Open Telecom Platform) and its main components. It discusses how OTP uses processes, supervision trees, and message passing to build robust, distributed applications. It provides examples of building a fantasy team application using plain processes and then refactoring it to use the GenServer behavior from OTP to encapsulate its state and provide a standardized interface.
MongoDB .local Paris 2020: La puissance du Pipeline d'Agrégation de MongoDBMongoDB
Le pipeline d'agrégation a été en mesure d'alimenter votre analyse de données depuis la version 2.2. Dans la version 4.2, nous avons ajouté plus de puissance et vous pouvez maintenant l'utiliser pour des requêtes plus puissantes, des mises à jour et la sortie de vos données dans des collections existantes. Venez découvrir comment vous pouvez tout faire avec le pipeline, y compris les vues uniques, ETL, les cumuls de données et les vues matérialisées.
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
TDC2016SP - Código funcional em Java: superando o hypetdc-globalcode
The document discusses refactoring code that filters a list of Pug objects in Java. It starts with code that filters by color or weight in separate methods, then refactors it to pass the filtering logic as function parameters. This improves flexibility by allowing different filtering without changing the core logic. Later it covers using predicates, lambda expressions, and streams to make the filtering more functional and declarative in style.
The document provides information about various Corona display, audio, physics, and storyboard APIs:
1) It summarizes the display.newText, display.newImage, display.newRect, display.newCircle, and display.newGroup functions for creating and manipulating display objects.
2) It covers the basics of touch handling using object:addEventListener and provides an example listener function.
3) It describes timer functions like timer.performWithDelay, timer.pause, and timer.resume for delayed execution of functions.
4) It gives an overview of the audio API and provides an example of loading and playing sounds.
5) It introduces the Corona physics module and
This document demonstrates how the oplog in MongoDB replica sets works by replicating operations from the primary to secondaries. It shows insert, update, remove operations on a collection on the primary and then verifies that the same operations have been replicated to the oplog and applied on a secondary by finding the same document changes. It also shows getMore commands from secondaries tailing the oplog on the primary to stay up to date as new operations are applied.
This document discusses MySQL 5.7's JSON datatype. It introduces JSON and why it is useful for integrating relational and schemaless data. It covers creating JSON columns, inserting and selecting JSON data using functions like JSON_EXTRACT. It discusses indexing JSON columns using generated columns. Performance is addressed, showing JSON tables can be 40% larger with slower inserts and selects compared to equivalent relational tables without indexes. Options for stored vs virtual generated columns are presented.
Mobl is a programming language for building mobile web applications. It aims to provide portability across different mobile platforms and browsers by compiling to JavaScript and HTML5. Mobl supports common mobile features like location services, camera, contacts and more through a simple object-oriented syntax. It also includes tools for building user interfaces, accessing data through entities and queries, and making web service requests. The goal is to enable complete coverage of mobile development needs while avoiding platform-specific code.
R is an open source statistical computing platform that is rapidly growing in popularity within academia. It allows for statistical analysis and data visualization. The document provides an introduction to basic R functions and syntax for assigning values, working with data frames, filtering data, plotting, and connecting to databases. More advanced techniques demonstrated include decision trees, random forests, and other data mining algorithms.
Topological indices (t is) of the graphs to seek qsar models of proteins com...Jitendra Kumar Gupta
Currently, there is an increasing necessity for quick computational chemistry methods to predict proteins properties very accurately. This is facilitated by the improvements in various bioinformatics techniques as well as high computational power available these days. Hence quick and fast running techniques are being developed for analysing many macromolecules computationally.
In this sense, quantitative structure activity relationship (QSAR) is a widely covered field, with more than 1600 molecular descriptors introduced up to now Most of the molecular descriptors have been applied to small molecules.
Nevertheless, the QSAR studies for DNA and protein sequences may be classified as an emerging field. One of the most promising applications of QSAR to proteins relates to the prediction of thermal stability, which is an essential issue in protein science.
Connectivity indices, also called topological indices (TIs) serve fast calculations. TIs are graph invariants of different kinds of proteins.
The interest in TIs has exploded because we can use them to describe also macromolecular and macroscopic systems represented by complex networks of interactions (links) between the different parts of a system (nodes) such as: drug-target, protein-protein, metabolic, host-parasite, brain cortex, parasite disease spreading, internet, or social networks. Here, we use TI’s to analyze protein-protein complexes.
The Ring programming language version 1.7 book - Part 72 of 196Mahmoud Samir Fayed
This document describes a Ring-based notepad application with the following key features:
- It allows opening, saving, printing files and includes buttons for common editing functions like cut, copy, paste.
- The interface contains toolbars for file operations and menus for File, Edit, View, Help options. Shortcuts are also defined.
- Text editing functions like font selection, text coloring, search/replace are implemented through event handlers.
- The application stores settings like active file name, text/background colors, font and handles asking to save on close if needed.
The Ring programming language version 1.8 book - Part 74 of 202Mahmoud Samir Fayed
This document describes a Ring-based notepad application with the following key features:
- It includes buttons and menu options for common file operations like new, open, save, print.
- The interface contains a toolbar and main window for the text editor area.
- Additional features allow for text formatting, search/replace, and setting the font and colors.
- The application stores the open file name and can check if the user wants to save changes when closing.
Marimba - Ein MapReduce-basiertes Programmiermodell für selbstwartbare Aggreg...Johannes Schildgen
This document presents a MapReduce-based programming model for self-maintaining aggregate views. It begins with motivation for incremental processing of aggregate views to avoid recomputing from scratch. It then provides background on related work in incremental MapReduce processing. The core functionality allows for distributed computation using MapReduce with incremental, overwrite, and full recomputation jobs. Evaluation shows incremental processing is faster than full recomputation when changes are small.
This document provides an overview of Groovy's collection API. It discusses how Groovy treats many objects like collections, including strings, numbers, and regular expressions. It demonstrates various collection notation and operations, including lists, maps, ranges, and spread operators. It also summarizes common collection methods like each, find, collect, reducers, and useful utility methods like groupBy, countBy, and set operations.
An Elephant of a Different Colour: HackVic Metcalfe
Slides from my GTA-PHP Meetup talk about Hack which is the Facebook version of the PHP programming language which runs under their HHVM runtime environment for PHP. The focus of my talk was the language improvements that the Facebook team has added to PHP.
There's a lot of information in the presenter's notes, so if you're interested in Hack scroll down to see the extras.
The document describes MongoDB's GridFS specification for storing and retrieving files that exceed the BSON document size limit of 16MB. It explains that GridFS splits files into chunks, which are stored as individual documents, and maintains metadata about the file such as length, MD5, and filename in a separate collection. It provides examples of using the mongofiles command line tool to list, search, put, and get files from GridFS.
The Ring programming language version 1.10 book - Part 81 of 212Mahmoud Samir Fayed
This document describes a cards game application developed using RingQt. The application deals 5 cards to each of two players. Players take turns clicking cards to reveal them. If a card matches another visible card or is a "5", the player earns points and may eat additional matching cards. The game ends when all cards are revealed, and the player with the most points wins. The application displays the cards, scores, and gameplay logic through a graphical user interface built with RingQt widgets.
This document provides instructions for creating a desktop-like web application interface using Ext JS and CodeIgniter. It includes steps to set up the database and models, configure views and controllers, and write JavaScript code to display and interact with phonebook data using grids, forms, and other Ext JS widgets. The application allows getting, inserting, updating and deleting phonebook records by making AJAX calls to CodeIgniter controllers from the Ext JS application.
The document discusses the deque collection in Python. Some key points:
- Deque allows fast appends and pops from either side of the list, with O(1) time complexity, unlike regular lists which are slow (O(n)) for pop(0) and insert(0,v).
- Deque provides methods like append, appendleft, popleft, pop for adding/removing elements from either side of the list.
- It can be initialized with a maximum length to act as a sliding window, discarding old elements as new ones are added.
- Methods like rotate rotate the deque a given number of positions, extending adds multiple elements at once. Deque is useful when
This document summarizes a keynote presentation about developing mobile applications using domain-specific languages. It discusses current mobile platforms and their programming languages, challenges with cross-platform development and arbitrary app rejections. It then presents an approach using a high-level modeling language that compiles to HTML5/JavaScript to enable cross-platform mobile app development. Key elements of the language include data models, user interfaces, scripting, data binding, web services access, and compilation to optimized JavaScript code.
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
The document describes OTP (Open Telecom Platform) and its main components. It discusses how OTP uses processes, supervision trees, and message passing to build robust, distributed applications. It provides examples of building a fantasy team application using plain processes and then refactoring it to use the GenServer behavior from OTP to encapsulate its state and provide a standardized interface.
MongoDB .local Paris 2020: La puissance du Pipeline d'Agrégation de MongoDBMongoDB
Le pipeline d'agrégation a été en mesure d'alimenter votre analyse de données depuis la version 2.2. Dans la version 4.2, nous avons ajouté plus de puissance et vous pouvez maintenant l'utiliser pour des requêtes plus puissantes, des mises à jour et la sortie de vos données dans des collections existantes. Venez découvrir comment vous pouvez tout faire avec le pipeline, y compris les vues uniques, ETL, les cumuls de données et les vues matérialisées.
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
MongoDB .local San Francisco 2020: Aggregation Pipeline Power++MongoDB
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
MongoDB .local Chicago 2019: Aggregation Pipeline Power++: How MongoDB 4.2 Pi...MongoDB
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
MongoDB .local Toronto 2019: Aggregation Pipeline Power++: How MongoDB 4.2 Pi...MongoDB
Aggregation pipeline has been able to power your analysis of data since version 2.2. In 4.2 we added more power and now you can use it for more powerful queries, updates, and outputting your data to existing collections. Come hear how you can do everything with the pipeline, including single-view, ETL, data roll-ups and materialized views.
The document describes the initialization of a graphical user interface (GUI) for a harmonicograph application using the Wx::Perl toolkit. It loads localization text, remembered favorites, and default parameter ranges. It then creates widgets like sliders, buttons and a drawing board and arranges them in a tabbed layout within a main frame window. The frame is populated with the widgets and initialized parameter values before being displayed.
The document discusses using Redis hashes to store nested data and alternatives to hashes for certain use cases. It describes how Redis hashes can store nested hashes as hash values. An example shows retrieving a hash and parsing the values as JSON to access nested data. Alternatives to hashes are explored, like storing multiple integer counters as bytes in a string to reduce memory usage for certain types of data. Code is provided to implement this counter pattern using Redis strings.
Swift - 혼자 공부하면 분명히 안할테니까 같이 공부하기Suyeol Jeon
The document contains code snippets demonstrating various Swift programming concepts including variables, constants, types, optionals, functions, classes, structs, enums, and more. Key concepts demonstrated include variable and constant declaration with types, optional binding, functions with parameters and return values, classes and structs with properties and methods, tuples, and enums with associated values and raw values.
Transducers are a type of reducing function that take in a reducing function and give back another reducing function. They allow you to compose functions together in a chain or pipeline structure to quickly, easily and efficiently transform data. In PHP, we have the mtdowling/transducers library, built off the basis of the idea of Clojure's transducer library.
The document provides a comparison of MongoDB query and aggregation capabilities versus Couchbase N1QL capabilities. It begins with an introduction and overview of the different approaches and use cases for each. It then delves into detailed comparisons of specific query and aggregation operations such as CRUD, nested queries, array queries, text search, and joins. Overall, it finds that while both provide robust querying, Couchbase N1QL expressions tend to be more declarative due to its basis in SQL, whereas MongoDB requires more familiarity with its syntax.
The document discusses a problem that arises when using a boolean module across threads in Perl. It defines singleton true and false values that are blessed references. However, when a new thread is created, it gets its own copies of these values due to thread semantics. This means the overloaded string value comparison in the isTrue() subroutine may compare references from different threads, causing it to incorrectly return false even when passed the true value.
This document summarizes the Database API for Drupal 6 and 7. It provides examples of how to perform common SQL queries like SELECT, INSERT, UPDATE, and DELETE using both the procedural and object-oriented database abstraction layers. Key differences are highlighted, such as how placeholders are handled and the introduction of a query builder interface in Drupal 7.
The document discusses using functional programming techniques in Perl to efficiently calculate tree hashes of large files uploaded in chunks to cloud storage services. It presents a tree_fold keyword and implementation that allows recursively reducing a list of values using a block in a tail-call optimized manner to avoid stack overflows. This approach is shown to provide concise, efficient and elegant functional code for calculating tree hashes in both Perl 5 and Perl 6.
These are slides from our Big Data Warehouse Meetup in April. We talked about NoSQL databases: What they are, how they’re used and where they fit in existing enterprise data ecosystems.
Mike O’Brian from 10gen, introduced the syntax and usage patterns for a new aggregation system in MongoDB and give some demonstrations of aggregation using the new system. The new MongoDB aggregation framework makes it simple to do tasks such as counting, averaging, and finding minima or maxima while grouping by keys in a collection, complementing MongoDB’s built-in map/reduce capabilities.
For more information, visit our website at http://casertaconcepts.com/ or email us at info@casertaconcepts.com.
Powerful Analysis with the Aggregation PipelineMongoDB
Speaker: Asya Kamsky
Think you need to move your data "elsewhere" to do powerful analysis? Think again. The most efficient way to analyze your data is where it already lives. MongoDB Aggregation Pipeline has been getting more and more powerful and using new stages, expressions and tricks we can do extensive analysis of our data inside MongoDB Server.
MongoDB .local Munich 2019: Tips and Tricks++ for Querying and Indexing MongoDBMongoDB
Query performance can either be a constant headache or the unsung hero of an application. MongoDB provides extremely powerful querying capabilities when used properly. As a member of the solutions architecture team I will share more common mistakes observed and some tips and tricks to avoiding them.
The document demonstrates the use of Kotlin collection functions like filter, map, flatMap, groupBy, sortedBy etc on sample data models of Category and Product. It shows how to search for one item, filter, map, group collections and sort data. Advanced techniques include filtering, mapping price with VAT, flattening category subcategories, grouping by category, sorting by price etc.
Conheça um pouco mais sobre Perl 6, uma linguagem de programação moderna, poderosa e robusta que permitirá que você escreva código de forma ágil e eficiente.
Similar to Aggregation Pipeline Power++: MongoDB 4.2 파이프 라인 쿼리, 업데이트 및 구체화된 뷰 소개 [MongoDB] (20)
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB
This presentation discusses migrating data from other data stores to MongoDB Atlas. It begins by explaining why MongoDB and Atlas are good choices for data management. Several preparation steps are covered, including sizing the target Atlas cluster, increasing the source oplog, and testing connectivity. Live migration, mongomirror, and dump/restore options are presented for migrating between replicasets or sharded clusters. Post-migration steps like monitoring and backups are also discussed. Finally, migrating from other data stores like AWS DocumentDB, Azure CosmosDB, DynamoDB, and relational databases are briefly covered.
MongoDB SoCal 2020: Go on a Data Safari with MongoDB Charts!MongoDB
These days, everyone is expected to be a data analyst. But with so much data available, how can you make sense of it and be sure you're making the best decisions? One great approach is to use data visualizations. In this session, we take a complex dataset and show how the breadth of capabilities in MongoDB Charts can help you turn bits and bytes into insights.
MongoDB SoCal 2020: Using MongoDB Services in Kubernetes: Any Platform, Devel...MongoDB
MongoDB Kubernetes operator and MongoDB Open Service Broker are ready for production operations. Learn about how MongoDB can be used with the most popular container orchestration platform, Kubernetes, and bring self-service, persistent storage to your containerized applications. A demo will show you how easy it is to enable MongoDB clusters as an External Service using the Open Service Broker API for MongoDB
MongoDB SoCal 2020: A Complete Methodology of Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB SoCal 2020: From Pharmacist to Analyst: Leveraging MongoDB for Real-T...MongoDB
Humana, like many companies, is tackling the challenge of creating real-time insights from data that is diverse and rapidly changing. This is our journey of how we used MongoDB to combined traditional batch approaches with streaming technologies to provide continues alerting capabilities from real-time data streams.
MongoDB SoCal 2020: Best Practices for Working with IoT and Time-series DataMongoDB
Time series data is increasingly at the heart of modern applications - think IoT, stock trading, clickstreams, social media, and more. With the move from batch to real time systems, the efficient capture and analysis of time series data can enable organizations to better detect and respond to events ahead of their competitors or to improve operational efficiency to reduce cost and risk. Working with time series data is often different from regular application data, and there are best practices you should observe.
This talk covers:
Common components of an IoT solution
The challenges involved with managing time-series data in IoT applications
Different schema designs, and how these affect memory and disk utilization – two critical factors in application performance.
How to query, analyze and present IoT time-series data using MongoDB Compass and MongoDB Charts
At the end of the session, you will have a better understanding of key best practices in managing IoT time-series data with MongoDB.
Join this talk and test session with a MongoDB Developer Advocate where you'll go over the setup, configuration, and deployment of an Atlas environment. Create a service that you can take back in a production-ready state and prepare to unleash your inner genius.
MongoDB .local San Francisco 2020: Powering the new age data demands [Infosys]MongoDB
Our clients have unique use cases and data patterns that mandate the choice of a particular strategy. To implement these strategies, it is mandatory that we unlearn a lot of relational concepts while designing and rapidly developing efficient applications on NoSQL. In this session, we will talk about some of our client use cases, the strategies we have adopted, and the features of MongoDB that assisted in implementing these strategies.
MongoDB .local San Francisco 2020: Using Client Side Encryption in MongoDB 4.2MongoDB
Encryption is not a new concept to MongoDB. Encryption may occur in-transit (with TLS) and at-rest (with the encrypted storage engine). But MongoDB 4.2 introduces support for Client Side Encryption, ensuring the most sensitive data is encrypted before ever leaving the client application. Even full access to your MongoDB servers is not enough to decrypt this data. And better yet, Client Side Encryption can be enabled at the "flick of a switch".
This session covers using Client Side Encryption in your applications. This includes the necessary setup, how to encrypt data without sacrificing queryability, and what trade-offs to expect.
MongoDB .local San Francisco 2020: Using MongoDB Services in Kubernetes: any ...MongoDB
MongoDB Kubernetes operator is ready for prime-time. Learn about how MongoDB can be used with most popular orchestration platform, Kubernetes, and bring self-service, persistent storage to your containerized applications.
MongoDB .local San Francisco 2020: Go on a Data Safari with MongoDB Charts!MongoDB
These days, everyone is expected to be a data analyst. But with so much data available, how can you make sense of it and be sure you're making the best decisions? One great approach is to use data visualizations. In this session, we take a complex dataset and show how the breadth of capabilities in MongoDB Charts can help you turn bits and bytes into insights.
MongoDB .local San Francisco 2020: From SQL to NoSQL -- Changing Your MindsetMongoDB
When you need to model data, is your first instinct to start breaking it down into rows and columns? Mine used to be too. When you want to develop apps in a modern, agile way, NoSQL databases can be the best option. Come to this talk to learn how to take advantage of all that NoSQL databases have to offer and discover the benefits of changing your mindset from the legacy, tabular way of modeling data. We’ll compare and contrast the terms and concepts in SQL databases and MongoDB, explain the benefits of using MongoDB compared to SQL databases, and walk through data modeling basics so you feel confident as you begin using MongoDB.
MongoDB .local San Francisco 2020: MongoDB Atlas JumpstartMongoDB
Join this talk and test session with a MongoDB Developer Advocate where you'll go over the setup, configuration, and deployment of an Atlas environment. Create a service that you can take back in a production-ready state and prepare to unleash your inner genius.
MongoDB .local San Francisco 2020: Tips and Tricks++ for Querying and Indexin...MongoDB
The document discusses guidelines for ordering fields in compound indexes to optimize query performance. It recommends the E-S-R approach: placing equality fields first, followed by sort fields, and range fields last. This allows indexes to leverage equality matches, provide non-blocking sorts, and minimize scanning. Examples show how indexes ordered by these guidelines can support queries more efficiently by narrowing the search bounds.
MongoDB .local San Francisco 2020: A Complete Methodology of Data Modeling fo...MongoDB
The document describes a methodology for data modeling with MongoDB. It begins by recognizing the differences between document and tabular databases, then outlines a three step methodology: 1) describe the workload by listing queries, 2) identify and model relationships between entities, and 3) apply relevant patterns when modeling for MongoDB. The document uses examples around modeling a coffee shop franchise to illustrate modeling approaches and techniques.
MongoDB .local San Francisco 2020: MongoDB Atlas Data Lake Technical Deep DiveMongoDB
MongoDB Atlas Data Lake is a new service offered by MongoDB Atlas. Many organizations store long term, archival data in cost-effective storage like S3, GCP, and Azure Blobs. However, many of them do not have robust systems or tools to effectively utilize large amounts of data to inform decision making. MongoDB Atlas Data Lake is a service allowing organizations to analyze their long-term data to discover a wealth of information about their business.
This session will take a deep dive into the features that are currently available in MongoDB Atlas Data Lake and how they are implemented. In addition, we'll discuss future plans and opportunities and offer ample Q&A time with the engineers on the project.
MongoDB .local San Francisco 2020: Developing Alexa Skills with MongoDB & GolangMongoDB
Virtual assistants are becoming the new norm when it comes to daily life, with Amazon’s Alexa being the leader in the space. As a developer, not only do you need to make web and mobile compliant applications, but you need to be able to support virtual assistants like Alexa. However, the process isn’t quite the same between the platforms.
How do you handle requests? Where do you store your data and work with it to create meaningful responses with little delay? How much of your code needs to change between platforms?
In this session we’ll see how to design and develop applications known as Skills for Amazon Alexa powered devices using the Go programming language and MongoDB.
MongoDB .local Paris 2020: Realm : l'ingrédient secret pour de meilleures app...MongoDB
aux Core Data, appréciée par des centaines de milliers de développeurs. Apprenez ce qui rend Realm spécial et comment il peut être utilisé pour créer de meilleures applications plus rapidement.
MongoDB .local Paris 2020: Upply @MongoDB : Upply : Quand le Machine Learning...MongoDB
Il n’a jamais été aussi facile de commander en ligne et de se faire livrer en moins de 48h très souvent gratuitement. Cette simplicité d’usage cache un marché complexe de plus de 8000 milliards de $.
La data est bien connu du monde de la Supply Chain (itinéraires, informations sur les marchandises, douanes,…), mais la valeur de ces données opérationnelles reste peu exploitée. En alliant expertise métier et Data Science, Upply redéfinit les fondamentaux de la Supply Chain en proposant à chacun des acteurs de surmonter la volatilité et l’inefficacité du marché.
MongoDB .local Paris 2020: Les bonnes pratiques pour sécuriser MongoDBMongoDB
Chaque entreprise devient une entreprise de logiciels, fournissant des solutions client pour accéder à une variété de services et d'informations. Les entreprises commencent maintenant à valoriser leurs données et à obtenir de meilleures informations pour l'entreprise. Un défi crucial consiste à s'assurer que ces données sont toujours disponibles et sécurisées pour être conformes aux objectifs commerciaux de l'entreprise et aux contraintes réglementaires des pays. MongoDB fournit la couche de sécurité dont vous avez besoin, venez découvrir comment sécuriser vos données avec MongoDB.
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceIndexBug
Imagine a world where machines not only perform tasks but also learn, adapt, and make decisions. This is the promise of Artificial Intelligence (AI), a technology that's not just enhancing our lives but revolutionizing entire industries.
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
Main news related to the CCS TSI 2023 (2023/1695)Jakub Marek
An English 🇬🇧 translation of a presentation to the speech I gave about the main changes brought by CCS TSI 2023 at the biggest Czech conference on Communications and signalling systems on Railways, which was held in Clarion Hotel Olomouc from 7th to 9th November 2023 (konferenceszt.cz). Attended by around 500 participants and 200 on-line followers.
The original Czech 🇨🇿 version of the presentation can be found here: https://www.slideshare.net/slideshow/hlavni-novinky-souvisejici-s-ccs-tsi-2023-2023-1695/269688092 .
The videorecording (in Czech) from the presentation is available here: https://youtu.be/WzjJWm4IyPk?si=SImb06tuXGb30BEH .
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
Building Production Ready Search Pipelines with Spark and MilvusZilliz
Spark is the widely used ETL tool for processing, indexing and ingesting data to serving stack for search. Milvus is the production-ready open-source vector database. In this talk we will show how to use Spark to process unstructured data to extract vector representations, and push the vectors to Milvus vector database for search serving.
Best 20 SEO Techniques To Improve Website Visibility In SERPPixlogix Infotech
Boost your website's visibility with proven SEO techniques! Our latest blog dives into essential strategies to enhance your online presence, increase traffic, and rank higher on search engines. From keyword optimization to quality content creation, learn how to make your site stand out in the crowded digital landscape. Discover actionable tips and expert insights to elevate your SEO game.
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on integration of Salesforce with Bonterra Impact Management.
Interested in deploying an integration with Salesforce for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Webinar: Designing a schema for a Data WarehouseFederico Razzoli
Are you new to data warehouses (DWH)? Do you need to check whether your data warehouse follows the best practices for a good design? In both cases, this webinar is for you.
A data warehouse is a central relational database that contains all measurements about a business or an organisation. This data comes from a variety of heterogeneous data sources, which includes databases of any type that back the applications used by the company, data files exported by some applications, or APIs provided by internal or external services.
But designing a data warehouse correctly is a hard task, which requires gathering information about the business processes that need to be analysed in the first place. These processes must be translated into so-called star schemas, which means, denormalised databases where each table represents a dimension or facts.
We will discuss these topics:
- How to gather information about a business;
- Understanding dictionaries and how to identify business entities;
- Dimensions and facts;
- Setting a table granularity;
- Types of facts;
- Types of dimensions;
- Snowflakes and how to avoid them;
- Expanding existing dimensions and facts.
Ivanti’s Patch Tuesday breakdown goes beyond patching your applications and brings you the intelligence and guidance needed to prioritize where to focus your attention first. Catch early analysis on our Ivanti blog, then join industry expert Chris Goettl for the Patch Tuesday Webinar Event. There we’ll do a deep dive into each of the bulletins and give guidance on the risks associated with the newly-identified vulnerabilities.
29. Set Defaults
{_id: 1, a: 5, b: 12}
{_id: 2, a: 15, c: "abc"}
{_id: 3, b: 99, c: "xyz"}
If a or b are missing, set to 0, if c is missing -> "unset"
30. Set Defaults
{_id: 1, a: 5, b: 12}
{_id: 2, a: 15, c: "abc"}
{_id: 3, b: 99, c: "xyz"}
If a or b are missing, set to 0, if c is missing -> "unset"
db.coll.update({}, [
{$replaceWith:{
}}
], {multi:true})
31. Set Defaults
{_id: 1, a: 5, b: 12}
{_id: 2, a: 15, c: "abc"}
{_id: 3, b: 99, c: "xyz"}
If a or b are missing, set to 0, if c is missing -> "unset"
db.coll.update({}, [
{$replaceWith:{$mergeObjects:[
]}}
], {multi:true})
32. Set Defaults
{_id: 1, a: 5, b: 12}
{_id: 2, a: 15, c: "abc"}
{_id: 3, b: 99, c: "xyz"}
If a or b are missing, set to 0, if c is missing -> "unset"
db.coll.update({}, [
{$replaceWith:{$mergeObjects:[
{ a:0, b:0, c:"unset" },
"$$ROOT"
]}}
], {multi:true})
33. Set Defaults
{_id: 1, a: 5, b: 12, c: "unset"}
{_id: 2, a: 15, b: 0, c: "abc"}
{_id: 3, a: 0, b: 99, c: "xyz"}
{_id: 1, a: 5, b: 12}
{_id: 2, a: 15, c: "abc"}
{_id: 3, b: 99, c: "xyz"}
If a or b are missing, set to 0, if c is missing -> "unset"
db.coll.update({}, [
{$replaceWith:{$mergeObjects:[
{ a:0, b:0, c:"unset" },
"$$ROOT"
]}}
], {multi:true})
76. aggregate 'temp' and append valid records to 'data'
db.temp.aggregate( [
{ ... } /* pipeline to massage and cleanse data in temp */,
{$merge:{
into: "data",
whenMatched: "fail"
}}
]);
77. aggregate 'temp' and append valid records to 'data'
db.temp.aggregate( [
{ ... } /* pipeline to massage and cleanse data in temp */,
{$merge:{
into: "data",
whenMatched: "fail"
}}
]);
Similar to SQL's INSERT INTO T1 SELECT * from T2