This document proposes an interface and implementation for a standardized database in D. It describes the relational model and different types used like Database, Connection, Statement, RowSet, Row, and Field. It provides examples of querying and retrieving data. The implementation uses a two layer design with a front end that defines the interface and a driver that implements database specific functionality. Polymorphic interfaces allow different database backends.
OpenGL® is the only cross-platform graphics API that enables developers of software for PC, workstation, and supercomputing hardware to create high- performance, visually-compelling graphics software applications, in markets such as CAD, content creation, energy, entertainment, game development, manufacturing, medical, and virtual reality.
The document discusses various compiler data structure nodes used in the Java HotSpot VM compiler such as Node, RegionNode, PhiNode, and LoopNode. It describes how nodes are connected and how methods like Ideal, Value, and Identity are used to optimize nodes. The nodes represent an intermediate representation of the code during compilation and are manipulated throughout the various phases of compilation.
The document contains code snippets and explanations related to C programming concepts like static variables, external variables, scope of variables, const qualifier, etc. It discusses different cases of declaring variables in multiple files and explains the behavior and errors that may occur. It also contains examples demonstrating the memory segments and scope of global, local, static and extern variables.
OpenGL® ES is a royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles. It consists of well-defined subsets of desktop OpenGL, creating a flexible and powerful low-level interface between software and graphics acceleration. OpenGL ES includes profiles for floating-point and fixed-point systems and the EGL™ specification for portably binding to native windowing systems. OpenGL ES 1.X is for fixed function hardware and offers acceleration, image quality and performance. OpenGL ES 2.X enables full programmable 3D graphics.
This document discusses how to create custom indices in Solr to index additional fields beyond what is supported out of the box. It explains that custom indices allow indexing fields that are not normally indexed, such as file attachments, and fields with data types that are not supported by facet display widgets. It provides examples of naming conventions for custom indices and code samples for implementing hook_apachesolr_index_document_build() to add custom fields to the Solr document and hook_apachesolr_query_alter() to make those fields available in search results. Reindexing is required after adding custom code. The new facets can then be configured and displayed.
Статичный SQL в С++14. Евгений Захаров ➠ CoreHard Autumn 2019corehard_by
Xочу рассказать про разработку библиотеки ORM для SQLite3 на С++14 (https://github.com/fnc12/sqlite_orm). В докладе хочется поделиться своим опытом в попытке создать ORM с которой можно забыть про текстовые запросы и как это адаптируется в С++ при помощи шаблонов.
OpenGL® is the only cross-platform graphics API that enables developers of software for PC, workstation, and supercomputing hardware to create high- performance, visually-compelling graphics software applications, in markets such as CAD, content creation, energy, entertainment, game development, manufacturing, medical, and virtual reality.
The document discusses various compiler data structure nodes used in the Java HotSpot VM compiler such as Node, RegionNode, PhiNode, and LoopNode. It describes how nodes are connected and how methods like Ideal, Value, and Identity are used to optimize nodes. The nodes represent an intermediate representation of the code during compilation and are manipulated throughout the various phases of compilation.
The document contains code snippets and explanations related to C programming concepts like static variables, external variables, scope of variables, const qualifier, etc. It discusses different cases of declaring variables in multiple files and explains the behavior and errors that may occur. It also contains examples demonstrating the memory segments and scope of global, local, static and extern variables.
OpenGL® ES is a royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles. It consists of well-defined subsets of desktop OpenGL, creating a flexible and powerful low-level interface between software and graphics acceleration. OpenGL ES includes profiles for floating-point and fixed-point systems and the EGL™ specification for portably binding to native windowing systems. OpenGL ES 1.X is for fixed function hardware and offers acceleration, image quality and performance. OpenGL ES 2.X enables full programmable 3D graphics.
This document discusses how to create custom indices in Solr to index additional fields beyond what is supported out of the box. It explains that custom indices allow indexing fields that are not normally indexed, such as file attachments, and fields with data types that are not supported by facet display widgets. It provides examples of naming conventions for custom indices and code samples for implementing hook_apachesolr_index_document_build() to add custom fields to the Solr document and hook_apachesolr_query_alter() to make those fields available in search results. Reindexing is required after adding custom code. The new facets can then be configured and displayed.
Статичный SQL в С++14. Евгений Захаров ➠ CoreHard Autumn 2019corehard_by
Xочу рассказать про разработку библиотеки ORM для SQLite3 на С++14 (https://github.com/fnc12/sqlite_orm). В докладе хочется поделиться своим опытом в попытке создать ORM с которой можно забыть про текстовые запросы и как это адаптируется в С++ при помощи шаблонов.
OpenXR is a cross-platform API that enables combined real and virtual environments through human-machine interaction, including virtual reality, augmented reality, and mixed reality technologies. The document provides a high-level overview of key concepts in OpenXR, including instances, sessions, spaces, swapchains, input and haptics, and the render loop. It also summarizes how OpenXR separates applications actions from input devices and uses interaction profiles to map actions to inputs.
The document provides an overview of the OpenXR API, including key concepts like actions and action spaces, interaction profiles, setting up bindings, and syncing actions. It describes functions for creating OpenXR instances and sessions. Common data types like vectors, quaternions, and events are defined. Guidelines around threading and supported graphics and windowing systems are also covered.
This document summarizes the OpenGL ES 3.2 API reference guide. It provides an overview of key concepts like command syntax, shader and program objects, buffer objects, textures and samplers. It also lists functions for creating/deleting objects, binding objects, setting object parameters, and synchronizing operations. Section and table references are provided to the OpenGL ES specification for more details.
This document provides an overview of keys and joins in SQL. It discusses the different types of keys like primary keys, foreign keys, and unique keys. It also covers the different types of joins like inner joins, outer joins, and self joins. The document provides examples of creating keys and using different join types. It discusses some performance trade-offs between joins and alternatives like using multiple update statements instead of cursors.
03 of 03 parts
Get Part 1 from https://www.slideshare.net/ArunUmrao/notes-for-c-programming-for-bca-mca-b-sc-msc-be-amp-btech-1st-year-1
Get Part 2 from https://www.slideshare.net/ArunUmrao/notes-for-c-programming-for-bca-mca-b-sc-msc-be-amp-btech-1st-year-2
C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, while a static type system prevents unintended operations. C provides constructs that map efficiently to typical machine instructions and has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computers, from supercomputers to PLCs and embedded system.
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5 b...ssuserd6b1fd
C programming language notes for beginners and Collage students. Written for beginners. Colored graphics. Function by Function explanation with complete examples. Well commented examples. Illustrations are made available for data dealing at memory level.
Notes for C++ Programming / Object Oriented C++ Programming for MCA, BCA and ...ssuserd6b1fd
C++ programming language notes for beginners and Collage students. Written for beginners. Colored graphics. Function by Function explanation with complete examples. Well commented examples. Illustrations are made available for data dealing at memory level.
This document provides a summary and reference for the OpenGL ES 3.1 API. It begins with an overview of command syntax and execution in OpenGL ES. It then provides details on many OpenGL ES programmable processing components and functions including shader objects, program objects, uniform variables, buffer objects, textures and samplers. It also covers synchronization functions and queries. The document is intended as a quick reference for the OpenGL ES 3.1 specification.
The document provides an overview of the Swift Foundation framework. It discusses key types in Foundation like AffineTransform, CharacterSet, Data, Date, DateComponents, Decimal, FileManager, IndexPath, Measurement, Notification, NSError, URL, and URLComponents. The document also briefly mentions the purpose of each type.
The document provides an overview of the OpenCL 3.0 API for parallel programming of heterogeneous systems. It summarizes the key components of the OpenCL runtime including command queues, memory objects, program and kernel objects. It also describes the OpenCL platform layer for querying devices and creating contexts. Image objects and functions for reading, writing and mapping images are also outlined.
This document describes techniques for creating rootkits on Linux x86 systems. It discusses obtaining the system call table, hooking system calls through various methods like direct modification of the table, inline hooking of system call code, and patching the system call handler. It also presents the idea of abusing debug registers to generate exceptions and intercept system calls. The goal is to conceal running processes, files, and other system data from detection.
This document contains C program code examples for various programming problems. It is divided into 5 weeks. Some of the programs included are: exchanging values between two variables with and without a temporary variable, finding the sum of digits of a positive integer, generating factors of numbers, calculating the factorial of a number, computing the sine function as a series, generating the Fibonacci sequence, reversing digits of an integer, converting decimal to binary, octal and hexadecimal, calculating terms of a series, and performing basic mathematical operations based on user input. The document provides the code and output for each problem.
The document discusses various techniques for writing clean code, including formatting code consistently, using meaningful names, writing comments to explain intent, keeping functions focused on single tasks, limiting class and method complexity, and avoiding hardcoded values. It emphasizes habits like adhering to coding standards as a team and writing unit tests. Specific techniques mentioned include consistent formatting, searchable names, avoiding comments as a crutch, limiting function parameters and nesting depth, and preferring classes with cohesive responsibilities. The document recommends several coding standards and style guides.
The document discusses various techniques for optimizing .NET applications at multiple levels. It covers topics like memory traffic optimization through techniques like avoiding closures, using readonly fields, and value type optimizations. It also discusses microbenchmarks and techniques like leveraging instruction level parallelism, cache utilization through blocking algorithms, and using binary search.
The document discusses C++11 smart pointers including std::shared_ptr, std::unique_ptr, and std::weak_ptr. It provides an overview of their features and usage including shared ownership, unique ownership, no ownership. It demonstrates how to use them through examples and discusses best practices such as using std::make_shared to allocate objects, avoiding raw pointers, and enabling shared_from_this.
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 5 of 5 by...ssuserd6b1fd
C programming language notes for beginners and Collage students. Written for beginners. Colored graphics. Function by Function explanation with complete examples. Well commented examples. Illustrations are made available for data dealing at memory level.
The document discusses using RxSwift to add numbers from multiple text fields and display the result. It shows how to:
1. Combine the latest values from the text fields using Observable.combineLatest.
2. Call analytics methods on text field value changes and result calculation.
3. Map the combined values to the result string and bind it to the result label.
This document provides an overview of the Java Collections Framework. It discusses key interfaces like Collection, List, Set, Queue and Map. It also covers concrete classes that implement these interfaces like ArrayList, LinkedList, HashSet, HashMap. The document compares different collection classes and their usage. It describes concepts like iterators, fail-fast behavior, wrapper classes and autoboxing/unboxing. Synchronization of collections and usage of equals() and hashCode() methods is also summarized.
SYCL is a C++ programming model for OpenCL that builds on OpenCL concepts like portability and efficiency while adding C++ ease of use and flexibility. The example code shows a typical SYCL application that schedules work on an OpenCL GPU using a queue, buffer, and parallel_for kernel. It initializes data in a buffer, enqueues work via a command group, and prints results.
This document provides an overview of how to access a database in Java using JDBC. It discusses getting a connection to the database, creating statements to execute SQL commands, and using result sets to access query results. It also covers key concepts like prepared statements to prevent SQL injection, design patterns used in JDBC like the factory and iterator patterns, and options for object relational mapping frameworks.
Embedded Typesafe Domain Specific Languages for JavaJevgeni Kabanov
The document discusses embedded domain-specific languages (DSLs) for Java and provides two case studies:
1) Building SQL queries using a typesafe DSL that avoids errors and allows type inference.
2) Modifying Java bytecode using the ASM library to define a DSL for bytecode engineering.
OpenXR is a cross-platform API that enables combined real and virtual environments through human-machine interaction, including virtual reality, augmented reality, and mixed reality technologies. The document provides a high-level overview of key concepts in OpenXR, including instances, sessions, spaces, swapchains, input and haptics, and the render loop. It also summarizes how OpenXR separates applications actions from input devices and uses interaction profiles to map actions to inputs.
The document provides an overview of the OpenXR API, including key concepts like actions and action spaces, interaction profiles, setting up bindings, and syncing actions. It describes functions for creating OpenXR instances and sessions. Common data types like vectors, quaternions, and events are defined. Guidelines around threading and supported graphics and windowing systems are also covered.
This document summarizes the OpenGL ES 3.2 API reference guide. It provides an overview of key concepts like command syntax, shader and program objects, buffer objects, textures and samplers. It also lists functions for creating/deleting objects, binding objects, setting object parameters, and synchronizing operations. Section and table references are provided to the OpenGL ES specification for more details.
This document provides an overview of keys and joins in SQL. It discusses the different types of keys like primary keys, foreign keys, and unique keys. It also covers the different types of joins like inner joins, outer joins, and self joins. The document provides examples of creating keys and using different join types. It discusses some performance trade-offs between joins and alternatives like using multiple update statements instead of cursors.
03 of 03 parts
Get Part 1 from https://www.slideshare.net/ArunUmrao/notes-for-c-programming-for-bca-mca-b-sc-msc-be-amp-btech-1st-year-1
Get Part 2 from https://www.slideshare.net/ArunUmrao/notes-for-c-programming-for-bca-mca-b-sc-msc-be-amp-btech-1st-year-2
C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, while a static type system prevents unintended operations. C provides constructs that map efficiently to typical machine instructions and has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computers, from supercomputers to PLCs and embedded system.
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5 b...ssuserd6b1fd
C programming language notes for beginners and Collage students. Written for beginners. Colored graphics. Function by Function explanation with complete examples. Well commented examples. Illustrations are made available for data dealing at memory level.
Notes for C++ Programming / Object Oriented C++ Programming for MCA, BCA and ...ssuserd6b1fd
C++ programming language notes for beginners and Collage students. Written for beginners. Colored graphics. Function by Function explanation with complete examples. Well commented examples. Illustrations are made available for data dealing at memory level.
This document provides a summary and reference for the OpenGL ES 3.1 API. It begins with an overview of command syntax and execution in OpenGL ES. It then provides details on many OpenGL ES programmable processing components and functions including shader objects, program objects, uniform variables, buffer objects, textures and samplers. It also covers synchronization functions and queries. The document is intended as a quick reference for the OpenGL ES 3.1 specification.
The document provides an overview of the Swift Foundation framework. It discusses key types in Foundation like AffineTransform, CharacterSet, Data, Date, DateComponents, Decimal, FileManager, IndexPath, Measurement, Notification, NSError, URL, and URLComponents. The document also briefly mentions the purpose of each type.
The document provides an overview of the OpenCL 3.0 API for parallel programming of heterogeneous systems. It summarizes the key components of the OpenCL runtime including command queues, memory objects, program and kernel objects. It also describes the OpenCL platform layer for querying devices and creating contexts. Image objects and functions for reading, writing and mapping images are also outlined.
This document describes techniques for creating rootkits on Linux x86 systems. It discusses obtaining the system call table, hooking system calls through various methods like direct modification of the table, inline hooking of system call code, and patching the system call handler. It also presents the idea of abusing debug registers to generate exceptions and intercept system calls. The goal is to conceal running processes, files, and other system data from detection.
This document contains C program code examples for various programming problems. It is divided into 5 weeks. Some of the programs included are: exchanging values between two variables with and without a temporary variable, finding the sum of digits of a positive integer, generating factors of numbers, calculating the factorial of a number, computing the sine function as a series, generating the Fibonacci sequence, reversing digits of an integer, converting decimal to binary, octal and hexadecimal, calculating terms of a series, and performing basic mathematical operations based on user input. The document provides the code and output for each problem.
The document discusses various techniques for writing clean code, including formatting code consistently, using meaningful names, writing comments to explain intent, keeping functions focused on single tasks, limiting class and method complexity, and avoiding hardcoded values. It emphasizes habits like adhering to coding standards as a team and writing unit tests. Specific techniques mentioned include consistent formatting, searchable names, avoiding comments as a crutch, limiting function parameters and nesting depth, and preferring classes with cohesive responsibilities. The document recommends several coding standards and style guides.
The document discusses various techniques for optimizing .NET applications at multiple levels. It covers topics like memory traffic optimization through techniques like avoiding closures, using readonly fields, and value type optimizations. It also discusses microbenchmarks and techniques like leveraging instruction level parallelism, cache utilization through blocking algorithms, and using binary search.
The document discusses C++11 smart pointers including std::shared_ptr, std::unique_ptr, and std::weak_ptr. It provides an overview of their features and usage including shared ownership, unique ownership, no ownership. It demonstrates how to use them through examples and discusses best practices such as using std::make_shared to allocate objects, avoiding raw pointers, and enabling shared_from_this.
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 5 of 5 by...ssuserd6b1fd
C programming language notes for beginners and Collage students. Written for beginners. Colored graphics. Function by Function explanation with complete examples. Well commented examples. Illustrations are made available for data dealing at memory level.
The document discusses using RxSwift to add numbers from multiple text fields and display the result. It shows how to:
1. Combine the latest values from the text fields using Observable.combineLatest.
2. Call analytics methods on text field value changes and result calculation.
3. Map the combined values to the result string and bind it to the result label.
This document provides an overview of the Java Collections Framework. It discusses key interfaces like Collection, List, Set, Queue and Map. It also covers concrete classes that implement these interfaces like ArrayList, LinkedList, HashSet, HashMap. The document compares different collection classes and their usage. It describes concepts like iterators, fail-fast behavior, wrapper classes and autoboxing/unboxing. Synchronization of collections and usage of equals() and hashCode() methods is also summarized.
SYCL is a C++ programming model for OpenCL that builds on OpenCL concepts like portability and efficiency while adding C++ ease of use and flexibility. The example code shows a typical SYCL application that schedules work on an OpenCL GPU using a queue, buffer, and parallel_for kernel. It initializes data in a buffer, enqueues work via a command group, and prints results.
This document provides an overview of how to access a database in Java using JDBC. It discusses getting a connection to the database, creating statements to execute SQL commands, and using result sets to access query results. It also covers key concepts like prepared statements to prevent SQL injection, design patterns used in JDBC like the factory and iterator patterns, and options for object relational mapping frameworks.
Embedded Typesafe Domain Specific Languages for JavaJevgeni Kabanov
The document discusses embedded domain-specific languages (DSLs) for Java and provides two case studies:
1) Building SQL queries using a typesafe DSL that avoids errors and allows type inference.
2) Modifying Java bytecode using the ASM library to define a DSL for bytecode engineering.
The Ring programming language version 1.10 book - Part 47 of 212Mahmoud Samir Fayed
This document summarizes the methods available in various Ring classes for data types, conversions, databases, security, and internet functions. It provides examples of using each class and the output. The DataType class allows checking value types and properties. The Conversion class converts between data types. Database classes like ODBC, MySQL, SQLite and PostgreSQL provide methods for connecting to databases and executing queries. The Security class implements hashing and encryption algorithms. The Internet class allows downloading files and sending emails.
GreenDAO is an ORM (Object Relational Mapping) library that uses code generation to provide a faster alternative to reflection-based ORMs for Android. It works by mapping Java objects to SQLite database tables to allow for CRUD (create, read, update, delete) operations on the data. The library includes a schema definition and code generator that automatically generates DAO classes to manage database access and queries. This avoids the performance overhead of reflection and allows for compiler checks of the database schema.
This document discusses binary search trees and provides source code to implement binary search tree traversal operations. It explains that a binary search tree is a binary tree where the left child of a node is less than the parent and the right child is greater. It provides code for preorder, inorder, and postorder traversals of the binary search tree and outputs the traversal order for a sample tree.
This document contains code snippets for various operations on linked lists and polynomials in C programming language. It includes 9 questions covering topics like:
1. Counting characters, words, digits in a string
2. Squeezing a string by removing spaces
3. Swapping values using pointers
4. Comparing two strings
5. Concatenating two strings
6. Multiplying two matrices
7. Reversing a string
8. Performing insertion, deletion and traversal on singly linked lists
9. Implementing polynomial addition and multiplication by representing polynomials as linked lists
For each question, the C code to implement the operation is provided along with sample input/output.
Look Ma, “update DB to HTML5 using C++”, no hands! aleks-f
This document discusses using C++ and the POCO framework to generate HTML output from database queries without requiring any server-side code generation or browser plugins.
The POCO framework provides classes like RecordSet and RowFormatter that allow querying a database and outputting the results as HTML or other formats. Classes like Poco::Dynamic::Var allow strong typing while retaining flexibility. Together these enable generating HTML output directly from SQL queries in a performance-conscious way without extra processing on the server.
Razvan Rotari shows an experiment to see how far you can go with binding in C++; Cristian Neamtu follows with an insight on how to achieve this in Rust using Serde.
The document contains source code for performing various matrix operations and array operations in C#. It includes code to add, subtract and multiply matrices, calculate the inverse of a matrix, reverse the order of elements in an array, find the biggest and smallest elements in an array, swap two arrays, and sort an array in ascending and descending order. The code takes user input, performs the specified operation on the input data, and displays the output.
2 BytesC++ course_2014_c3_ function basics¶meters and overloadingkinan keshkeh
The document discusses functions in C++. It explains that functions can be defined in two ways: with declaration/calling/definition or with just declaration and definition. It provides examples of declaring a function that calculates the average of two numbers, calling that function, and defining the function. It also discusses local and global variables and their scopes. Finally, it lists some common predefined functions in C++ like sqrt, pow, abs, and rand.
The Ring programming language version 1.5.3 book - Part 54 of 184Mahmoud Samir Fayed
The document discusses Ring code for database and web application classes and functions. It includes classes for Database, ModelBase, ControllerBase, and View classes. ModelBase handles database operations like insert, update, delete. ControllerBase handles routing and common functions. WebLib contains functions for loading variables, creating pages, encoding special characters, and templating.
The Ring programming language version 1.5.3 book - Part 44 of 184Mahmoud Samir Fayed
This document provides code examples for classes used in a web application framework in Ring. It includes the Database, ModelBase, and ControllerBase classes which handle database connectivity and operations. It also includes an overview of the WebLib API which provides functions and classes for generating HTML pages and elements. Some key classes described are Page, Form, Table, and classes to generate specific HTML elements like Div, Link, Image etc.
Data Structure in C Programming LanguageArkadeep Dey
This document contains program code in C language for various operations on arrays, linked lists, and recursion. It includes programs for 1) creating and manipulating 1D and 2D arrays, 2) basic singly linked list operations like creation, traversal, counting nodes, insertion, deletion and reversal, 3) recursion based programs for factorial, GCD, Fibonacci series, tower of Hanoi and 4) menu driven programs to perform linked list operations like insertion and deletion at different positions. The programs demonstrate basic data structures concepts in C.
Http4s, Doobie and Circe: The Functional Web StackGaryCoady
Http4s, Doobie and Circe together form a nice platform for building web services. This presentations provides an introduction to using them to build your own service.
This document provides an overview of LINQ (Language Integrated Query) and its capabilities. It introduces LINQ to Objects, LINQ to SQL, and LINQ to XML. LINQ allows developers to query data structures using SQL-like syntax directly in code and integrates with various .NET languages and data sources.
The document summarizes key topics in database integrity and performance, including:
- Primary and foreign key constraints to prevent duplicate and dangling tuples
- Attribute and tuple constraints to enforce data integrity
- Views to provide virtual subsets and joins of database relations
- Indexes to enable fast search through tables
The document discusses these concepts over multiple pages and provides examples to illustrate primary keys, foreign keys, constraints, views and indexing. It concludes by offering feedback on students' report proposals, emphasizing depth over breadth and a focus on design over implementation.
This document describes techniques for creating rootkits on Linux x86 systems. It discusses obtaining the system call table through the interrupt descriptor table and IDT register. It explains how to hook system calls by modifying the system call table entries or using inline assembly. The document also covers abusing debug registers to generate breakpoints and divert execution to custom handlers without modifying code. Overall, the document provides an overview of common rootkit techniques along with code examples for implementing hooks at the system call level and bypassing detection on Linux.
Expanded slide set for my talk on dealing with integer overflow and generalized data type conversion techniques. Versions of this talk were given at PGConf NYC, CitusCon, and SCALE 2022
Write a program (any language) to randomly generate the following se.pdfarchanaemporium
Write a program (any language) to randomly generate the following sets of data: 1) 10 numbers
2) 1,000 numbers 3) 100,000 numbers 4) 1,000,000 numbers 5) 10,000,000 numbers Your
program must sort the above sets of numbers using the following algorithms: a) Insertion Sort b)
Merge Sort c) Quick Sort d) Heap Sort Print out the time each algorithm takes to sort the above
numbers
Solution
import java.io.*;
publicclass randomNo{
publicstaticvoid main(String[] args) throws NumberFormatException, IOException {
int n1,n2,ch;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int count = 0;
do
{
System.out.println(\"\ \");
System.out.println(\"Menu:\");
System.out.println(\"1.Insertion Sort\");
System.out.println(\"2.Heap Sort.\");
System.out.println(\"3.Quick SOrt\");
System.out.println(\"4.Merge SOrt\");
System.out.println(\"5.Exit\");
System.out.println(\"Enter your choice: \");
ch=Integer.parseInt(br.readLine());
switch(ch)
{
case 1:
System.out.println(\"Enter range to generate random numbers--Enter n1 & n2::\");
n1=Integer.parseInt(br.readLine());
n2=Integer.parseInt(br.readLine());
int[] arr=newint[n2];
for (int i = 0; i < 10 ; i++)
{
int Random = (n1) + (int)(Math.random()* ((n2-n1)+1));
arr[i]=Random;
System.out.println(Random);
count++;
}
insertionSort(arr,count);
break;
case 2:
System.out.println(\"Enter range to generate random numbers--Enter n1 & n2::\");
n1=Integer.parseInt(br.readLine());
n2=Integer.parseInt(br.readLine());
int[] arr1=newint[20];
for (int i = 0; i < 10 ; i++)
{
int Random = (n1) + (int)(Math.random()* ((n2-n1)+1));
arr1[i]=Random;
System.out.println(Random);
count++;
}
System.out.println(\"\ Before Sorting\");
for(int i=0; i1; i--) {
HeapSort(arr1, i - 1);
}
System.out.println(\"\ Ascending Order\");
for(int i=0; i=0; i--) {
System.out.print(\" \" + arr1[i]);
}
break;
case 3:
System.out.println(\"Enter range to generate random numbers--Enter n1 & n2::\");
n1=Integer.parseInt(br.readLine());
n2=Integer.parseInt(br.readLine());
int[] arr3=newint[20];
for (int i = 0; i < 10 ; i++)
{
int Random = (n1) + (int)(Math.random()* ((n2-n1)+1));
arr3[i]=Random;
System.out.println(Random);
count++;
}
QuickSort(arr3, 0, count-1);
System.out.println(\"\ \ After Sorting\");
System.out.println(\"\ Ascending Order\");
for(int i=0; i=0; i--) {
System.out.print(\" \" + arr3[i]);
}
break;
case 4:
System.out.println(\"Enter range to generate random numbers--Enter n1 & n2::\");
n1=Integer.parseInt(br.readLine());
n2=Integer.parseInt(br.readLine());
int[] arr2=newint[20];
for (int i = 0; i < 10 ; i++)
{
int Random = (n1) + (int)(Math.random()* ((n2-n1)+1));
arr2[i]=Random;
System.out.println(Random);
count++;
}
System.out.println(\"\ Before Sorting\");
for(int i=0; i=0; i--) {
System.out.print(\" \" + arr2[i]);
}
break;
case 5:
System.out.println(\"Invalid\");
default:
break;
}
}while(ch!=5);
}
//Insertion Sort
publicstaticvoid insertionSort(int arr[],int n){
System.out.println(\"\ Before Sorting :\");
for(int i=0; i 0) && .
Similar to DConf 2016 std.database (a proposed interface & implementation) (20)
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...XfilesPro
Wondering how X-Sign gained popularity in a quick time span? This eSign functionality of XfilesPro DocuPrime has many advancements to offer for Salesforce users. Explore them now!
14 th Edition of International conference on computer visionShulagnaSarkar2
About the event
14th Edition of International conference on computer vision
Computer conferences organized by ScienceFather group. ScienceFather takes the privilege to invite speakers participants students delegates and exhibitors from across the globe to its International Conference on computer conferences to be held in the Various Beautiful cites of the world. computer conferences are a discussion of common Inventions-related issues and additionally trade information share proof thoughts and insight into advanced developments in the science inventions service system. New technology may create many materials and devices with a vast range of applications such as in Science medicine electronics biomaterials energy production and consumer products.
Nomination are Open!! Don't Miss it
Visit: computer.scifat.com
Award Nomination: https://x-i.me/ishnom
Conference Submission: https://x-i.me/anicon
For Enquiry: Computer@scifat.com
Project Management: The Role of Project Dashboards.pdfKarya Keeper
Project management is a crucial aspect of any organization, ensuring that projects are completed efficiently and effectively. One of the key tools used in project management is the project dashboard, which provides a comprehensive view of project progress and performance. In this article, we will explore the role of project dashboards in project management, highlighting their key features and benefits.
Consistent toolbox talks are critical for maintaining workplace safety, as they provide regular opportunities to address specific hazards and reinforce safe practices.
These brief, focused sessions ensure that safety is a continual conversation rather than a one-time event, which helps keep safety protocols fresh in employees' minds. Studies have shown that shorter, more frequent training sessions are more effective for retention and behavior change compared to longer, infrequent sessions.
Engaging workers regularly, toolbox talks promote a culture of safety, empower employees to voice concerns, and ultimately reduce the likelihood of accidents and injuries on site.
The traditional method of conducting safety talks with paper documents and lengthy meetings is not only time-consuming but also less effective. Manual tracking of attendance and compliance is prone to errors and inconsistencies, leading to gaps in safety communication and potential non-compliance with OSHA regulations. Switching to a digital solution like Safelyio offers significant advantages.
Safelyio automates the delivery and documentation of safety talks, ensuring consistency and accessibility. The microlearning approach breaks down complex safety protocols into manageable, bite-sized pieces, making it easier for employees to absorb and retain information.
This method minimizes disruptions to work schedules, eliminates the hassle of paperwork, and ensures that all safety communications are tracked and recorded accurately. Ultimately, using a digital platform like Safelyio enhances engagement, compliance, and overall safety performance on site. https://safelyio.com/
Liberarsi dai framework con i Web Component.pptxMassimo Artizzu
In Italian
Presentazione sulle feature e l'utilizzo dei Web Component nell sviluppo di pagine e applicazioni web. Racconto delle ragioni storiche dell'avvento dei Web Component. Evidenziazione dei vantaggi e delle sfide poste, indicazione delle best practices, con particolare accento sulla possibilità di usare web component per facilitare la migrazione delle proprie applicazioni verso nuovi stack tecnologici.
Malibou Pitch Deck For Its €3M Seed Roundsjcobrien
French start-up Malibou raised a €3 million Seed Round to develop its payroll and human resources
management platform for VSEs and SMEs. The financing round was led by investors Breega, Y Combinator, and FCVC.
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsPeter Muessig
The UI5 tooling is the development and build tooling of UI5. It is built in a modular and extensible way so that it can be easily extended by your needs. This session will showcase various tooling extensions which can boost your development experience by far so that you can really work offline, transpile your code in your project to use even newer versions of EcmaScript (than 2022 which is supported right now by the UI5 tooling), consume any npm package of your choice in your project, using different kind of proxies, and even stitching UI5 projects during development together to mimic your target environment.
How Can Hiring A Mobile App Development Company Help Your Business Grow?ToXSL Technologies
ToXSL Technologies is an award-winning Mobile App Development Company in Dubai that helps businesses reshape their digital possibilities with custom app services. As a top app development company in Dubai, we offer highly engaging iOS & Android app solutions. https://rb.gy/necdnt
Most important New features of Oracle 23c for DBAs and Developers. You can get more idea from my youtube channel video from https://youtu.be/XvL5WtaC20A
Hand Rolled Applicative User ValidationCode KataPhilip Schwarz
Could you use a simple piece of Scala validation code (granted, a very simplistic one too!) that you can rewrite, now and again, to refresh your basic understanding of Applicative operators <*>, <*, *>?
The goal is not to write perfect code showcasing validation, but rather, to provide a small, rough-and ready exercise to reinforce your muscle-memory.
Despite its grandiose-sounding title, this deck consists of just three slides showing the Scala 3 code to be rewritten whenever the details of the operators begin to fade away.
The code is my rough and ready translation of a Haskell user-validation program found in a book called Finding Success (and Failure) in Haskell - Fall in love with applicative functors.
What to do when you have a perfect model for your software but you are constrained by an imperfect business model?
This talk explores the challenges of bringing modelling rigour to the business and strategy levels, and talking to your non-technical counterparts in the process.
8 Best Automated Android App Testing Tool and Framework in 2024.pdfkalichargn70th171
Regarding mobile operating systems, two major players dominate our thoughts: Android and iPhone. With Android leading the market, software development companies are focused on delivering apps compatible with this OS. Ensuring an app's functionality across various Android devices, OS versions, and hardware specifications is critical, making Android app testing essential.
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
DConf 2016 std.database (a proposed interface & implementation)
1. s t d . d a t a b a s e
( a p ro p o s e d i n t e r f a c e & i m p l e m e n t a t i o n )
D C O N F 2 0 1 6
Erik Smith
2. T H E R E L AT I O N A L M O D E L
P E R S O N
I D
I N T
L A S T _ N A M E
VA R C H A R ( 3 0 )
F I R S T _ N A M E
VA R C H A R ( 3 0 )
B I R T H D AT E
D AT E
1 Yo k o m o t o A k i k o 1 9 9 0 - 0 5 - 0 3
2 G re e n M a r j o r i e 1 9 7 2 - 0 2 - 0 6
3 H o ff m a n P a u l 1 9 9 5 - 0 7 - 0 1
SQL query
columns
select last_name from person
where birthdate <“1991-01-01”
Table
rows
3. T H E C L I E N T S TA C K
std.database
client
C client libraries
Driver Layer
TCP
sockets
Front Layer
Application
Code
DB
Utilities
ORM
libraries
Application Code
Query
Builder
std.eventvibe.d
4. T H E T Y P E S
Database top level context (shared)
Connection connection to server (per thread)
Statement
query execution, prepared statements, input
binding
ColumnSet Column container, input-range
Column meta data for result column
RowSet RowContainer, input-range
Row row accessor
Field field accessor, type conversion.
5. E X A M P L E
no explicit types
import std.database.mysql;
auto db = createDatabase("mysql://server/db");
db
.query("select * from person”)
.rows
.writeRows;
6. E X A M P L E I N E X PA N D E D F O R M
auto db = createDatabase("mysql://server/db");
auto con = db.connection;
auto stmt = con.statement("select * from person“);
auto rows = stmt.query.rows;
foreach (row; rows) {
for(int c = 0; c != row.width; c++) {
auto field = row[c];
writeln(“value: “, field);
}
writeln;
}
7. E X A M P L E U S I N G C O L U M N
auto db = createDatabase("mysql://server/db");
auto con = db.connection;
auto stmt = con.statement("select * from person");
auto rows = stmt.query.rows;
foreach (row; rows) {
foreach (column; columns) {
auto field = row[column];
writeln("name: ", column.name, ", value: “, field);
}
writeln;
}
8. R E F E R E N C E T Y P E S
auto getCustomers(string zip) {
auto db = createDatabase(“mysql://server/db”)
db
.query(“select from person where name=?“, zip)
.rows;
}
auto localCustomers = getCustomers(“92122”);
9. D ATA B A S E
auto db = createDatabase;
auto db = createDatabase(“mysql://server/db"); // default URI
auto con = database.connection; // uses default URI
auto con = database.connection(“mysql://server2/db”); // specific URI
auto con = database.connection(“server”); // named source
auto con = database.createConnection; // new connection
auto con = database.createConnection(“mysql://server2/db”);
db.query(“insert into person values(1, ‘joe’);
connection: returns same connection per thread
createConnection: new connection for same thread
10. C O N N E C T I O N S T R I N G
db.connection(“mysql://server/db?username=app”)
db.connection(“mysql”) "databases": [
{
"name": "mysql",
"type": "mysql",
"server": "127.0.0.1",
"database": "test",
"username": "",
"password": ""
},
Custom Resolver
URI based string
Named source
config file
11. C O N N E C T I O N
auto db = connection.database; // parent
connection.autoCommit(false); // for transactions
connection.begin;
connection.save;
connection.commit;
connection.rollback;
connection.isolationLevel;
12. T R A N S A C T I O N S A N D S C O P E
auto con1 = db.connection("server1").autoCommit(false);
auto con2 = db.connection("server2").autoCommit(false);
scope(failure) con1.rollback;
scope(failure) con2.rollback;
con1.begin.query("insert into account(id,amount) values(1,-500000)”);
con2.begin.query("insert into account(id,amount) values(2, 500000)");
con1.commit;
con2.commit;
13. S TAT E M E N T
auto stmt = con
.query(“insert into person(id, name) values(?,?)“);
stmt.query(1,”Doug”);
stmt.query(2,”Cathy”);
stmt.query(3,”Robert”);
Prepared Query / Input Binding
14. S TAT E M E N T
stmt.rows // a RowSet
stmt.results // a range of RowSets
stmt.into
15. F L E X I B L E
db.query("select * from t”)
db.connection.query(“select * from t”)
db.connection.statement(“select * from t”).query
db.connection.statement(“select * from t”).rows
these are equivalent
hard to get wrong
16. R O W S E T
row.width // number of columns in row set
row.columns // range of Columns
row.length // number of results (if materialized)
bool empty()
Row front()
void popFront()
a RowSet is an InputRange
17. R O W
auto field = row[0]; // by column index
auto field = row[“FIRST_NAME”]; // by column name
auto field = row[“first_name”]; // case insensitive
auto field = row[column]; // by column
18. F I E L D
field.toString
field.as!T // type T
field.as!int // int
field.as!long // long
field.as!string // string
field.as!Date // as std.datetime.Date
field.as!Variant // as std.variant.Variant (nothrow)
field.get // as Nullable!T (nothrow)
field.option // as Option!T (nothrow)
19. F I E L D A C C E S S O R S
field.isNull // is the value null
field.name // name of column
field.type // type enumeration
20. S I N G L E R O W Q U E R I E S W I T H i n t o
string a;
int b;
Date d;
Variant d;
db
.query("select a,b,c,d from table”)
.into(a,b,c,d);
21. R O W I N D E X I N G
auto field = row[“name”]; // easy but less efficient
auto field = row[1]; // efficient but less readable
22. M I X I N H E L P
mixin(rows.scatterColumns);
foreach(row; rows) {
auto id = row[lastNameIndex];
auto name = row[idIndex];
}
auto idIndex = rows.columns[“id”];
auto nameIndex = rows.columns[“last_name”];
mixin expansion
23. R O W L E V E L i n t o
auto rows =
.query(“select id.name from person”)
.rows;
int id;
string name;
foreach (row; rows) row.into(id, name);
24. M O R E I N T O
query.into(range); // output-range
query.into(myStruct); // serialization
// with UFCS
25. P O LY M O R P H I C I N T E R FA C E
import std.database.mysql;
auto db = createDatabase;
auto con = db.connection("mysql://server/db");
Direct Interface
import std.database;
auto db = createDatabase;
auto con1 = db.connection(“mysql://server/db");
auto con2 = db.connection(“sqlite://file.sqlite”);
Poly Interface
26. P O LY: A D D I N G D R I V E R S
import std.database;
Database.register!(std.database.sqlite.Database)();
Database.register!(std.database.mysql.Database)();
Database.register!(std.database.oracle.Database)();
27. H A N D L E A C C E S S O R S
auto con = db.connection;
auto mysql = connection.handle; // typed as MYSQL*
auto mysql = db.connection.handle; // lifetime fail
28. T E S T S U I T E
• Templated test framework
• Runs test twice: once direct, ones through poly
driver
• Runs carefully in sandbox database
import std.database.mysql;
import std.database.testsuite;
alias DB = Database!DefaultPolicy;
testAll!DB("mysql");
29. O U T P U T B I N D I N G
• A C level buffer interface
• RowSet handles internally
I D N A M E
2 J O E
30. A R R AY O U T P U T B I N D I N G
203 ms
1000 row table
A
I N T
B
I N T
0 1
1 2
2 3
… …
9 9 9 1 0 0 0
auto rs = con
.query("select * from t1");
int sum;
foreach(r;rs)
sum += r[0].as!int + r[1].as!int;
31. A R R AY O U T P U T B I N D I N G
1000 row table
A
I N T
B
I N T
0 1
1 2
2 3
… …
9 9 9 1 0 0 0
auto rs = con
.rowArraySize(100)
.query("select * from t1");
int sum;
foreach(r;rs)
sum += r[0].as!int + r[1].as!int;
32 ms
32. A R R AY O U T P U T B I N D I N G
2 ms
1000 row table
A
I N T
B
I N T
0 1
1 2
2 3
… …
9 9 9 1 0 0 0
auto rs = con
.rowArraySize(500)
.query("select * from t1");
int sum;
foreach(r;rs)
sum += r[0].as!int + r[1].as!int;
33. A R R AY O U T P U T B I N D I N G
601 µs
2M rows / sec
400X improvement
auto rs = con
.rowArraySize(1000)
.query("select * from t1");
int sum;
foreach(r;rs)
sum += r[0].as!int + r[1].as!int;
34. S K I P PA R A M E T E R S
• Optional driver level binding mode that “stripes” bind
arrays into contiguous memory
35. D E TA C H E D R O W S E T S
• RowSet is detachable when all rows are resident
• Detachable RowSets detach from connection
• RowSet upgraded to random-access-range
• No additional copying
• RowSet caching enabler
36. I N P U T B I N D I N G / P R E PA R E D Q U E RY
auto db = createDatabase(“mysql://server/db”)
auto stmt = db
.query(“insert into table(id, name) values(?,?)”);
foreach(d; data) stmt.query(d.id, d.name);
37. I N P U T A R R AY B I N D I N G
auto db = createDatabase(“mysql://server/db”)
auto stmt = db
.rowArraySize(1000)
.query(“insert into table(id, name) values(?,?)”);
foreach(d; data) stmt.query(d.id, d.name);
huge performance win
38. T Y P E C O N V E R S I O N
• Two layers (driver & front end)
• Native driver binding is default
39. P O L I C I E S
• Custom allocators
• Pluggable connection pool
• assert on release build for cross/illegal type conversions
• Scoped types (no RC)
• Omit handle accessors
struct MyPolicy {…}
auto db = Database!MyPolicy;
40. auto inventory = db.createConnection
.query(“select id,* inventory”).rows;
auto orders = db.createConnection
.query("select * from orders order by id”).rows;
auto parts = db.createConnection
.query("select * from parts order by id”).rows;
auto joinedRows = naturalJoin(inventory, orders, parts);
foreach(r; joinedRows) {
int id, orderId, PartId;
inventory.into(id,...);
orders.into(orderId,...);
parts.into(partId,...);
}
U T I L I T Y E X A M P L E : J O I N
inventory
orders
parts
1-n
1-n
an approach to the “multiple hierarchies” problem
42. T W O L AY E R D E S I G N
• Handles reference counting details for all types
• Defines all interface functions
• Consolidates calls to the driver
• Manages state
• Connection pooling
Front End
•
Driver
• Implement driver specific details
43. D R I V E R I N T E R FA C E
module std.database.mysql.database;
alias Database(Policy) = BasicDatabase!(Driver!Policy,Policy);
auto createDatabase()() {return Database!DefaultPolicy();}
struct Driver(Policy) {
struct Database {…}
struct Connection {…}
struct Statement {…}
struct Result {…}
}
Type name correspondence
between layers
44. D R I V E R I N T E R FA C E
struct Driver(Policy) {
struct Database {…}
struct Connection {
this(Database *db, Source src, Allocator *a) {…}
}
struct Statement {
this(Connection *con, string sql, Allocator *a) {…}
}
struct Result {
this(Statement *stmt, Allocator *a) {…}
}
}
45. P O LY D R I V E R : V TA B L E
struct StmtVTable {
void[] function(void*, string sql) create;
void function(void*) destroy;
void function(void* stmt) query;
}
struct StmtGenerate(Driver) {
static auto create(void* con, string sql) {...}
static void destroy(void* stmt) {...}
static void query(void* stmt) {toTypedPtr!Statement(stmt).query;}
}
table = StmtGenerate!Driver.vtable;
void* stmt;
void query() {vtable.query(stmt);}
46. P O LY D R I V E R : VA R I A D I C Q U E RY D I S PAT C H
struct Statement {
void* stmt;
StmtVtable* vtable;
this(Connection* con, string sql) {...}
void query() {
vtable.query(stmt, args);
}
void query(A...) (A args) {
vtable.query(stmt, args);
}
}
problem
prepared version
47. C H A L L E N G E
Need to transport arguments from one
templates query call to another at run time
Run time Compile Time
48. C H A L L E N G E # 2
Avoid requiring the drivers to
handle Variant arguments
49. A P P R O A C H
V ! s t r i n g V ! i n t V ! D a t e
(V!string,V!int,V!Date)
stmt.query(“joe”, Date(2015,2,1), 42)Front End
Driver
Array!V
alias V = Variant;
callVariadic
unpackVariants (string,int,Date)
stmt.query(“joe”, Date(2015,2,1), 42)
50. PA C K I N T O VA R I A N T A R R AY
void query(A...) (A args) {
auto a = Array!Variant(args);
bindArgs.reserve(a.length);
foreach(arg; args) a ~= Variant(arg);
driver.stmtVtable.variadicQuery(stmt, a);
}
static void variadicQuery(void[] stmt, ref BindArgs a) {
auto s = toTypedPtr!Statement(stmt);
callVariadic!F(a, s);
}
51. A R R AY T O VA R I A D I C C A L L
static void callVariadic(alias F,S,A...) (ref S s, A a) {
switch (s.length) {
case 0: break;
case 1: F(a,s[0]); break;
case 2: F(a,s[0],s[1]); break;
case 3: F(a,s[0],s[1],s[2]); break;
case 4: F(a,s[0],s[1],s[2],s[3]); break;
case 5: F(a,s[0],s[1],s[2],s[3],s[4]); break;
default: throw new Exception(“arg overload");
}
}
52. U N PA C K VA R I A N T S
static void unpackVariants(alias F, int i=0, A...)(A a) {
alias Types = AliasSeq!(byte, ubyte, string, char, dchar, int, uint, long, ulong, Date);
static void call(int i, T, A...)(T v, A a) {
unpackVariants!(F,i+1)(a[0..i], v, a[(i+1)..$]);
}
static if (i == a.length) {
F(a);
} else {
foreach(T; Types) {
if (a[i].convertsTo!T) {
call!i(a[i].get!T,a);
return;
}
}
throw new Exception("unknown type: " ~ a[i].type.toString);
}
}
i n t i n t V ! D a t e
i
a[0..i] v a[(i+1)..$]
53.
54. R E A L I T Y C H E C K
P(10,5) = 30240
Drivers must implement an additional call
two options:
query(ref Array!Variant args)
query(Args..)(A.. args) // accept variants
55. F i b e r b a s e d D r i v e r A p p ro a c h e s
1) Modify socket calls in driver source, if available, to
use a D (or vibe.d) non-blocking socket layer.
2) Implement from scratch a non-blocking driver using
a known wire protocol
3) Adapt an existing non-blocking interface for use
with vibe.d / std.event.
56. F I B E R A S Y N C Q U E RY E X A M P L E
auto descriptor = con.descriptor();
auto event = createFileDescriptorEvent(
descriptor, FileDescriptorEvent.Trigger.any);
nonBlockingQuery(sql);
while (true) {
if (poll) {
bool complete = readData;
if (complete) break;
}
event.wait(FileDescriptorEvent.Trigger.read);
}
}
vibe.d calls
async driver calls
57. N O N - B L O C K I N G M Y S Q L C L I E N T
“We're Gonna Need A Bigger Database”
58. S U P P O R T E D D ATA B A S E S
current support (WIP)
Up next
59. U P C O M I N G W O R K
• Fiber based drivers for Postgres & Webscalesql
• Asynchronous push models (Observables)
• Query builder
• Schema metadata
• Callable statements
• Blob support
• Operation timing
• Simulated binding (freetds)
• Quote escaping
• Expose more features of underlying drivers
• Multiple result support
• NoSql support
• Test suite improvement
• Utilities
• More…
60. G E T T I N G S TA R T E D ( O S X )
$ b re w i n s t a l l d m d d u b m y s q l
$ m k d i r - p ~ / s rc / d e m o & & c d ~ / s rc / d e m o
i m p o r t s t d . d a t a b a s e . m y s q l ;
i m p o r t s t d . d a t a b a s e . u t i l ;
v o i d m a i n ( ) {
a u t o d b = c re a t e D a t a b a s e ( " m y s q l : / / 1 2 7 . 0 . 0 . 1 / t e s t " ) ;
d b . q u e r y ( " s e l e c t * f ro m p e r s o n ” ) . ro w s . w r i t e R o w s ;
}
$ d u b
{
" n a m e " : " d e m o " ,
" l i b s " : [ " m y s q l c l i e n t " ] ,
" d e p e n d e n c i e s " : { " d s t d d b " : " * " } ,
" t a rg e t Ty p e " : “ e x e c u t a b l e ” ,
" v e r s i o n s " : [ “ S t d L o g g e r D i s a b l e L o g g i n g " ]
}
d u b . j s o n
d e m o . d
61. Q U E S T I O N S
https://github.com/cruisercoder/dstddb
DUB: dstddb