"PostgreSQL and Python" Lightning Talk @EuroPython2014Henning Jacobs
PL/Python allows users to write PostgreSQL functions and procedures using Python. It enables accessing PostgreSQL data and running Python code from within SQL queries. For example, a function could query a database table, process the results in Python by accessing modules, and return a value to the SQL query. This opens up possibilities to leverage Python's extensive libraries and expressiveness to expose data and perform complex validation from PostgreSQL.
This document discusses using Python to connect to and interact with a PostgreSQL database. It covers:
- Popular Python database drivers for PostgreSQL, including Psycopg which is the most full-featured.
- The basics of connecting to a database, executing queries, and fetching results using the DB-API standard. This includes passing parameters, handling different data types, and error handling.
- Additional Psycopg features like server-side cursors, transaction handling, and custom connection factories to access columns by name rather than number.
In summary, it provides an overview of using Python with PostgreSQL for both basic and advanced database operations from the Python side.
Psycopg2 - Connect to PostgreSQL using Python ScriptSurvey Department
It's the presentation slides I prepared for my college workshop. This demonstrates how you can talk with PostgreSql db using python scripting.For queries, mail at dipeshsuwal@gmail.com
T.Yamamoto gave a presentation on July 24, 2009 in Nagoya about using Grails for web development. He mentioned that around 90% of his work involves Grails and that he is a member of JGGUG, a Japanese user group for Groovy and Grails. In the presentation, he discussed using the Acegi Plugin with Grails.
Cycle.js is a functional and reactive JavaScript framework for building user interfaces based on Observables and declarative code. It uses RxJS Observables to model asynchronous behavior and data flow in applications. This allows the unidirectional data flow of views updating models via intents to be modeled as Observables. The document includes code examples of using Cycle.js with RxJS to build reactive UIs, including handling events, updating state, and generating HTML. It also summarizes how the Cycle.run function coordinates driving the application by connecting sources to sinks.
The document discusses using ES6 features in real-world applications. It provides examples of using arrow functions, classes, destructuring, template literals, and default parameters to write cleaner code. It also discusses tools for enabling ES6 features that are not yet fully supported, such as transpilers, and flags in Node.js and Chrome to enable more experimental features. Overall, the document advocates adopting ES6 features that make code more concise and readable.
"PostgreSQL and Python" Lightning Talk @EuroPython2014Henning Jacobs
PL/Python allows users to write PostgreSQL functions and procedures using Python. It enables accessing PostgreSQL data and running Python code from within SQL queries. For example, a function could query a database table, process the results in Python by accessing modules, and return a value to the SQL query. This opens up possibilities to leverage Python's extensive libraries and expressiveness to expose data and perform complex validation from PostgreSQL.
This document discusses using Python to connect to and interact with a PostgreSQL database. It covers:
- Popular Python database drivers for PostgreSQL, including Psycopg which is the most full-featured.
- The basics of connecting to a database, executing queries, and fetching results using the DB-API standard. This includes passing parameters, handling different data types, and error handling.
- Additional Psycopg features like server-side cursors, transaction handling, and custom connection factories to access columns by name rather than number.
In summary, it provides an overview of using Python with PostgreSQL for both basic and advanced database operations from the Python side.
Psycopg2 - Connect to PostgreSQL using Python ScriptSurvey Department
It's the presentation slides I prepared for my college workshop. This demonstrates how you can talk with PostgreSql db using python scripting.For queries, mail at dipeshsuwal@gmail.com
T.Yamamoto gave a presentation on July 24, 2009 in Nagoya about using Grails for web development. He mentioned that around 90% of his work involves Grails and that he is a member of JGGUG, a Japanese user group for Groovy and Grails. In the presentation, he discussed using the Acegi Plugin with Grails.
Cycle.js is a functional and reactive JavaScript framework for building user interfaces based on Observables and declarative code. It uses RxJS Observables to model asynchronous behavior and data flow in applications. This allows the unidirectional data flow of views updating models via intents to be modeled as Observables. The document includes code examples of using Cycle.js with RxJS to build reactive UIs, including handling events, updating state, and generating HTML. It also summarizes how the Cycle.run function coordinates driving the application by connecting sources to sinks.
The document discusses using ES6 features in real-world applications. It provides examples of using arrow functions, classes, destructuring, template literals, and default parameters to write cleaner code. It also discusses tools for enabling ES6 features that are not yet fully supported, such as transpilers, and flags in Node.js and Chrome to enable more experimental features. Overall, the document advocates adopting ES6 features that make code more concise and readable.
The Ring programming language version 1.5.3 book - Part 25 of 184Mahmoud Samir Fayed
This document provides summaries of various file handling functions in Ring programming language including Read(), Write(), Dir(), Rename(), Remove(), fopen(), fclose(), fflush(), freopen(), tempfile(), tempname(), fseek(), ftell(), rewind(), fgetpos(), fsetpos(), clearerr(), feof(), ferror(), perror(), fgetc(), fgets(), fputc(), fputs(), ungetc(), fread(), fwrite(), fexists(), and describes how to use numbers and bytes with files. Examples are given to demonstrate the use of these functions for tasks like reading and writing files, getting directory listings, opening and closing files, seeking within files, and checking for errors.
This document summarizes the key features and changes in PostgreSQL 9.0 beta release. It highlights major new features like replication, permissions, and anonymous code blocks. It also briefly outlines many other enhancements, including performance improvements, monitoring tools, JSON/XML output for EXPLAIN, and mobile app contest. The presentation aims to excite developers about trying the new beta version.
The document discusses sample code for creating a Chat class with message, dateCreated, and lastUpdated properties in Groovy. It also defines a ChatController that uses scaffolding to automatically generate CRUD operations for the Chat class.
2017 02-07 - elastic & spark. building a search geo locatorAlberto Paro
Presentazione dell'evento EsInRome del 7 Febbraio 2017 - Integrazione Elasticsearch in architettura BigData e facilità di integrazione con Apache Spark.
Mozilla が力を入れているゲームに関する活動をテクノロジの面からまとめています。各種 API、特にWeb Workers、Typed Arrayと asm.js、WebAssembly のような JavaScript の高速化手法について概観します。
This slide describes Mozilla's Web Game initiative from technological perspective. We can overview technologies for Web Game: Web Workers, Typed Array, asm.js and WebAssembly. Please refer Mozilla Developer Network (MDN) for each technologies' details.
QA Fest 2019. Saar Rachamim. Developing Tools, While TestingQAFest
Our daily work is comprised of testing a product and improve its quality. However, here and there, we can come to a state where we find a need to build a tool, that can make our work easierbetter.
I will share from my experience when I found myself in a situation where building a tool was needed.
We will start with a web application that allows you to know when a food delivery you ordered arrives to the office, and then we will focus on a tool that test the performance of an app from the UI side. We will do a live demo for both of them.
The document summarizes Dmitry Soshnikov's presentation on ECMAScript 6 features at the HelsinkiJS meetup on December 12, 2011. Key features discussed include default function parameters, modules system, quasi-literals for string templates, array comprehensions, maps and weak maps, destructuring assignment, rest operator for function arguments, proxy objects for meta programming, and struct types.
Building Real Time Systems on MongoDB Using the Oplog at StripeMongoDB
The document discusses MongoDB and its oplog feature. It begins with an introduction to the oplog and how it allows data to be replicated from a primary MongoDB node to secondary nodes. It then provides examples of how the oplog can be used for real-time event processing and data transformations from MongoDB to other databases like PostgreSQL. Disaster recovery using the oplog is also discussed.
This document discusses the Japan Grails/Groovy User Group (JGGUG). It mentions a speaker named T. Yamamoto and covers topics discussed at JGGUG meetings including Grails, Groovy, Gradle, plugins, and Maven.
This document discusses JavaScript generators and how they can be used to simplify asynchronous code. It begins with a simple generator example and then explores more complex use cases like yielding promises, error handling, and parallel processing. Generators allow long-running operations to be written in a synchronous-looking way and are useful for tasks like I/O. When combined with co-routines, they provide a clean way to write asynchronous code that looks synchronous.
The document shows an example Java class called HelloWorld that contains a greeting method to return the string "Hello" plus a name. It then demonstrates initializing an instance of the class, setting the name, and calling the greet method to print the greeting. The document also shows how this example is translated to use Groovy instead of Java.
The Browser Environment - A Systems Programmer's PerspectiveEleanor McHugh
The document discusses asynchronous JavaScript and XML (AJAX) techniques for making asynchronous HTTP requests from the browser. It provides code examples using XMLHttpRequest and the newer Fetch API to make requests to server-side handlers written in Go. The code sets up a simple page that displays buttons for different asynchronous actions, and uses JavaScript functions to make requests on button click, printing the responses to a log on the page. This demonstrates asynchronous interactivity between the browser and server.
This document discusses using Celery, an asynchronous task queue, to build a distributed workflow for baking pies. It describes Celery's architecture and components like brokers, workers, tasks, and queues. It provides examples of defining tasks, building workflows with primitives like groups and chords, and routing tasks to different queues. The document also covers options for asynchronous and synchronous task execution, periodic tasks, concurrency models, and Celery signals.
Paradigma FP y OOP usando técnicas avanzadas de Programación | Programacion A...Víctor Bolinches
Charla Universidad de Valencia - http://www.uv.es/
Cátedra de Capgemini 2016/17 - http://www.uv.es/capgeminiuv/sobre_nosotros.html
Asignatura : Programación avanzada y Lenguajes de programación
Título : Paradigma FP y OOP usando técnicas avanzadas de Programación
This document discusses Java generics, collections, streams and related concepts. It provides code examples of:
- Defining generic classes and methods
- Using common collection interfaces like List, Set, Map and their implementations
- Working with streams to perform operations on data in a declarative way
- Using lambda expressions and functional interfaces with streams
Implementing Software Machines in C and GoEleanor McHugh
The next iteration of the talk I gave at Progscon, this introduces examples of Map implementation (useful for caches etc.) and outlines for addition of processor core code in a later talk.
Explaining ES6: JavaScript History and What is to ComeCory Forsyth
An overview of some of the history of JavaScript, how it became ECMAScript (and what Ecma is), as well as highlights of the new features and syntax in ES6 aka ES2015.
Originally presented to the New York Public Library on June 4 2015.
This document summarizes PL/Java, which allows writing server-side functions in Java for PostgreSQL. It discusses how to define and deploy Java functions, configure PL/Java, handle parameters and return types, use JDBC from functions, and write triggers in Java. While compatible with Oracle's SQL/JRT standard, PL/Java has some limitations around memory usage and performance. It works best on Linux and is a stable option for adding Java code to PostgreSQL databases.
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.
This document discusses refactoring Java code to Clojure using macros. It provides examples of refactoring Java code that uses method chaining to equivalent Clojure code using the threading macros (->> and -<>). It also discusses other Clojure features like type hints, the doto macro, and polyglot projects using Leiningen.
Wprowadzenie do technologii Big Data / Intro to Big Data EcosystemSages
Introduction to Hadoop Map Reduce, Pig, Hive and Ambari technologies.
Workshop deck prepared and presented on September 5th 2015 by Radosław Stankiewicz.
During that the day participants had also the possibility to go through prepared tutorials and test their analysis on real cluster.
The Ring programming language version 1.5.3 book - Part 25 of 184Mahmoud Samir Fayed
This document provides summaries of various file handling functions in Ring programming language including Read(), Write(), Dir(), Rename(), Remove(), fopen(), fclose(), fflush(), freopen(), tempfile(), tempname(), fseek(), ftell(), rewind(), fgetpos(), fsetpos(), clearerr(), feof(), ferror(), perror(), fgetc(), fgets(), fputc(), fputs(), ungetc(), fread(), fwrite(), fexists(), and describes how to use numbers and bytes with files. Examples are given to demonstrate the use of these functions for tasks like reading and writing files, getting directory listings, opening and closing files, seeking within files, and checking for errors.
This document summarizes the key features and changes in PostgreSQL 9.0 beta release. It highlights major new features like replication, permissions, and anonymous code blocks. It also briefly outlines many other enhancements, including performance improvements, monitoring tools, JSON/XML output for EXPLAIN, and mobile app contest. The presentation aims to excite developers about trying the new beta version.
The document discusses sample code for creating a Chat class with message, dateCreated, and lastUpdated properties in Groovy. It also defines a ChatController that uses scaffolding to automatically generate CRUD operations for the Chat class.
2017 02-07 - elastic & spark. building a search geo locatorAlberto Paro
Presentazione dell'evento EsInRome del 7 Febbraio 2017 - Integrazione Elasticsearch in architettura BigData e facilità di integrazione con Apache Spark.
Mozilla が力を入れているゲームに関する活動をテクノロジの面からまとめています。各種 API、特にWeb Workers、Typed Arrayと asm.js、WebAssembly のような JavaScript の高速化手法について概観します。
This slide describes Mozilla's Web Game initiative from technological perspective. We can overview technologies for Web Game: Web Workers, Typed Array, asm.js and WebAssembly. Please refer Mozilla Developer Network (MDN) for each technologies' details.
QA Fest 2019. Saar Rachamim. Developing Tools, While TestingQAFest
Our daily work is comprised of testing a product and improve its quality. However, here and there, we can come to a state where we find a need to build a tool, that can make our work easierbetter.
I will share from my experience when I found myself in a situation where building a tool was needed.
We will start with a web application that allows you to know when a food delivery you ordered arrives to the office, and then we will focus on a tool that test the performance of an app from the UI side. We will do a live demo for both of them.
The document summarizes Dmitry Soshnikov's presentation on ECMAScript 6 features at the HelsinkiJS meetup on December 12, 2011. Key features discussed include default function parameters, modules system, quasi-literals for string templates, array comprehensions, maps and weak maps, destructuring assignment, rest operator for function arguments, proxy objects for meta programming, and struct types.
Building Real Time Systems on MongoDB Using the Oplog at StripeMongoDB
The document discusses MongoDB and its oplog feature. It begins with an introduction to the oplog and how it allows data to be replicated from a primary MongoDB node to secondary nodes. It then provides examples of how the oplog can be used for real-time event processing and data transformations from MongoDB to other databases like PostgreSQL. Disaster recovery using the oplog is also discussed.
This document discusses the Japan Grails/Groovy User Group (JGGUG). It mentions a speaker named T. Yamamoto and covers topics discussed at JGGUG meetings including Grails, Groovy, Gradle, plugins, and Maven.
This document discusses JavaScript generators and how they can be used to simplify asynchronous code. It begins with a simple generator example and then explores more complex use cases like yielding promises, error handling, and parallel processing. Generators allow long-running operations to be written in a synchronous-looking way and are useful for tasks like I/O. When combined with co-routines, they provide a clean way to write asynchronous code that looks synchronous.
The document shows an example Java class called HelloWorld that contains a greeting method to return the string "Hello" plus a name. It then demonstrates initializing an instance of the class, setting the name, and calling the greet method to print the greeting. The document also shows how this example is translated to use Groovy instead of Java.
The Browser Environment - A Systems Programmer's PerspectiveEleanor McHugh
The document discusses asynchronous JavaScript and XML (AJAX) techniques for making asynchronous HTTP requests from the browser. It provides code examples using XMLHttpRequest and the newer Fetch API to make requests to server-side handlers written in Go. The code sets up a simple page that displays buttons for different asynchronous actions, and uses JavaScript functions to make requests on button click, printing the responses to a log on the page. This demonstrates asynchronous interactivity between the browser and server.
This document discusses using Celery, an asynchronous task queue, to build a distributed workflow for baking pies. It describes Celery's architecture and components like brokers, workers, tasks, and queues. It provides examples of defining tasks, building workflows with primitives like groups and chords, and routing tasks to different queues. The document also covers options for asynchronous and synchronous task execution, periodic tasks, concurrency models, and Celery signals.
Paradigma FP y OOP usando técnicas avanzadas de Programación | Programacion A...Víctor Bolinches
Charla Universidad de Valencia - http://www.uv.es/
Cátedra de Capgemini 2016/17 - http://www.uv.es/capgeminiuv/sobre_nosotros.html
Asignatura : Programación avanzada y Lenguajes de programación
Título : Paradigma FP y OOP usando técnicas avanzadas de Programación
This document discusses Java generics, collections, streams and related concepts. It provides code examples of:
- Defining generic classes and methods
- Using common collection interfaces like List, Set, Map and their implementations
- Working with streams to perform operations on data in a declarative way
- Using lambda expressions and functional interfaces with streams
Implementing Software Machines in C and GoEleanor McHugh
The next iteration of the talk I gave at Progscon, this introduces examples of Map implementation (useful for caches etc.) and outlines for addition of processor core code in a later talk.
Explaining ES6: JavaScript History and What is to ComeCory Forsyth
An overview of some of the history of JavaScript, how it became ECMAScript (and what Ecma is), as well as highlights of the new features and syntax in ES6 aka ES2015.
Originally presented to the New York Public Library on June 4 2015.
This document summarizes PL/Java, which allows writing server-side functions in Java for PostgreSQL. It discusses how to define and deploy Java functions, configure PL/Java, handle parameters and return types, use JDBC from functions, and write triggers in Java. While compatible with Oracle's SQL/JRT standard, PL/Java has some limitations around memory usage and performance. It works best on Linux and is a stable option for adding Java code to PostgreSQL databases.
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.
This document discusses refactoring Java code to Clojure using macros. It provides examples of refactoring Java code that uses method chaining to equivalent Clojure code using the threading macros (->> and -<>). It also discusses other Clojure features like type hints, the doto macro, and polyglot projects using Leiningen.
Wprowadzenie do technologii Big Data / Intro to Big Data EcosystemSages
Introduction to Hadoop Map Reduce, Pig, Hive and Ambari technologies.
Workshop deck prepared and presented on September 5th 2015 by Radosław Stankiewicz.
During that the day participants had also the possibility to go through prepared tutorials and test their analysis on real cluster.
These are the outline slides that I used for the Pune Clojure Course.
The slides may not be much useful standalone, but I have uploaded them for reference.
Apple's Swift has achieved the top place in Stack Overflow's "Most Loved" list of programming languages in its 2015 Developer Survey. Based on information gleaned from GitHub and Stack Overflow, analyst firm RedMonk has seen Swift's popularity ranking soar from 68 to 22 in an unprecedented 6 months.
The "Extreme Swift" event does not require advanced, or even any, knowledge of Swift. Learn about some of the more outrageous features of the language which help explain what the fuss is all about!
Never look at programming the same way again — even if you never end up writing a single line of Swift code in your life.
This Python script uses SSH to connect to network devices, gather configuration and connection status data, and test ISDN dial backup connections. It contains classes to initialize SSH connections, log in to devices, retrieve interface and dial string configuration details, execute test calls to verify two B-channel connections and EIGRP neighbor establishment, and disable/enable SNMP traps. The script has been updated over time to improve error handling and switch from Telnet to SSH connections.
Building a friendly .NET SDK to connect to SpaceMaarten Balliauw
Space is a team tool that integrates chats, meetings, git hosting, automation, and more. It has an HTTP API to integrate third party apps and workflows, but it's massive! And slightly opinionated.
In this session, we will see how we built the .NET SDK for Space, and how we make that massive API more digestible. We will see how we used code generation, and incrementally made the API feel more like a real .NET SDK.
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.
ITT 2015 - Saul Mora - Object Oriented Function ProgrammingIstanbul Tech Talks
Functional programming is finally a first class citizen in the Cocoa toolset! But, as you may have heard, Swift is not necessarily a pure functional language. And in embracing the functional paradigm, do you need to throw out your knowledge and experience with Object Oriented programming? Saul Mora shows that it turns out you can have your cake and eat it too!
This document provides an overview of DataMapper, an object-relational mapper (ORM) library for Ruby applications. It summarizes DataMapper's main features such as associations, migrations, database adapters, naming conventions, validations, custom types and stores. The document also provides examples of how to use DataMapper with different databases, import/export data, and validate models for specific contexts.
1. The code sample provided defines a simple Java class called HelloWorld with a main method that prints "Epic Fail".
2. The class contains a single public static void main method that takes an array of String arguments.
3. Within the main method it prints the text "Epic Fail" without any other processing or output.
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.
Solr provides concise summaries of key points from the document:
1. Solr discusses its search architecture including the use of Thrift for service encapsulation and reduced network traffic. Only IDs are returned from searches to reduce index size and enable easy scaling of primary key lookups.
2. Load balancing is discussed, including an algorithm that hashes the query and number of servers to provide server affinity while distributing load evenly.
3. Replication of the index is covered, including challenges with multicast and an implementation using BitTorrent to efficiently replicate files.
In a world where users have ever higher expectations from the apps they use, having data always available, even when the device is offline, has become increasingly important.
In this talk you will learn how thinking "offline first" not only makes your app architecture better but also result in cleaner code and happier users.
I will introduce Realm, a new database for easy persistence, and demonstrate how it enables truly reactive UI's by fitting seamlessly into the standard network stack of Retrofit and RxJava.
Finally we will take a look at the new Realm Mobile Platform, which provides real-time synchronization between devices, enabling features previously out of reach for many development teams.
This document discusses the evolution of C# and .NET Framework over time. It lists various C# versions and their associated .NET Framework versions and Visual Studio versions. It also provides examples of new C# language features such as tuples, nullable reference types, default interface methods, and extension methods.
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.
Groovy is a dynamic language for the Java platform that provides features inspired by languages like Python, Ruby and Smalltalk. It allows Java developers to use these features with a syntax that is very similar to Java. Groovy code can be compiled to Java bytecode and integrated with Java applications and libraries. It supports features like closures, metaprogramming, builders and templates to improve developer productivity.
Semelhante a Python postgre sql a wonderful wedding (20)
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
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.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Digital Marketing Trends in 2024 | Guide for Staying AheadWask
https://www.wask.co/ebooks/digital-marketing-trends-in-2024
Feeling lost in the digital marketing whirlwind of 2024? Technology is changing, consumer habits are evolving, and staying ahead of the curve feels like a never-ending pursuit. This e-book is your compass. Dive into actionable insights to handle the complexities of modern marketing. From hyper-personalization to the power of user-generated content, learn how to build long-term relationships with your audience and unlock the secrets to success in the ever-shifting digital landscape.
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.
Trusted Execution Environment for Decentralized Process MiningLucaBarbaro3
Presentation of the paper "Trusted Execution Environment for Decentralized Process Mining" given during the CAiSE 2024 Conference in Cyprus on June 7, 2024.
Skybuffer SAM4U tool for SAP license adoptionTatiana Kojar
Manage and optimize your license adoption and consumption with SAM4U, an SAP free customer software asset management tool.
SAM4U, an SAP complimentary software asset management tool for customers, delivers a detailed and well-structured overview of license inventory and usage with a user-friendly interface. We offer a hosted, cost-effective, and performance-optimized SAM4U setup in the Skybuffer Cloud environment. You retain ownership of the system and data, while we manage the ABAP 7.58 infrastructure, ensuring fixed Total Cost of Ownership (TCO) and exceptional services through the SAP Fiori interface.
Dive into the realm of operating systems (OS) with Pravash Chandra Das, a seasoned Digital Forensic Analyst, as your guide. 🚀 This comprehensive presentation illuminates the core concepts, types, and evolution of OS, essential for understanding modern computing landscapes.
Beginning with the foundational definition, Das clarifies the pivotal role of OS as system software orchestrating hardware resources, software applications, and user interactions. Through succinct descriptions, he delineates the diverse types of OS, from single-user, single-task environments like early MS-DOS iterations, to multi-user, multi-tasking systems exemplified by modern Linux distributions.
Crucial components like the kernel and shell are dissected, highlighting their indispensable functions in resource management and user interface interaction. Das elucidates how the kernel acts as the central nervous system, orchestrating process scheduling, memory allocation, and device management. Meanwhile, the shell serves as the gateway for user commands, bridging the gap between human input and machine execution. 💻
The narrative then shifts to a captivating exploration of prominent desktop OSs, Windows, macOS, and Linux. Windows, with its globally ubiquitous presence and user-friendly interface, emerges as a cornerstone in personal computing history. macOS, lauded for its sleek design and seamless integration with Apple's ecosystem, stands as a beacon of stability and creativity. Linux, an open-source marvel, offers unparalleled flexibility and security, revolutionizing the computing landscape. 🖥️
Moving to the realm of mobile devices, Das unravels the dominance of Android and iOS. Android's open-source ethos fosters a vibrant ecosystem of customization and innovation, while iOS boasts a seamless user experience and robust security infrastructure. Meanwhile, discontinued platforms like Symbian and Palm OS evoke nostalgia for their pioneering roles in the smartphone revolution.
The journey concludes with a reflection on the ever-evolving landscape of OS, underscored by the emergence of real-time operating systems (RTOS) and the persistent quest for innovation and efficiency. As technology continues to shape our world, understanding the foundations and evolution of operating systems remains paramount. Join Pravash Chandra Das on this illuminating journey through the heart of computing. 🌟
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.
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.
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfflufftailshop
When it comes to unit testing in the .NET ecosystem, developers have a wide range of options available. Among the most popular choices are NUnit, XUnit, and MSTest. These unit testing frameworks provide essential tools and features to help ensure the quality and reliability of code. However, understanding the differences between these frameworks is crucial for selecting the most suitable one for your projects.
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
Have you ever been confused by the myriad of choices offered by AWS for hosting a website or an API?
Lambda, Elastic Beanstalk, Lightsail, Amplify, S3 (and more!) can each host websites + APIs. But which one should we choose?
Which one is cheapest? Which one is fastest? Which one will scale to meet our needs?
Join me in this session as we dive into each AWS hosting service to determine which one is best for your scenario and explain why!
Fueling AI with Great Data with Airbyte WebinarZilliz
This talk will focus on how to collect data from a variety of sources, leveraging this data for RAG and other GenAI use cases, and finally charting your course to productionalization.
8. PostgreSQL - Story
Développée à Berkeley
Réécriture de Ingres
1985 -> Postgres (vient de Post-Ingres)
1995 -> Postgres95 (0.01) (Ajout d’un interpréter SQL)
1997 -> PostgreSQL 6.0
2013 -> PostgreSQL 9.3
2014 -> PostgreSQL 9.4 (b4)
9. PostgreSQL - TL;DR
ORDBMS, ACID
SQL:2011
DataTypes
Transactional DDL
Concurrent Index
Extensions
Common Table Expression
MultiVersion Concurrency Control
Cross-Platform
10. PostgreSQL - TL;DR
Replication
Foreign Data Wrappers
Procedural Languages
Triggers
Full text Search
Views (Materialized)
Table Inheritance
Listen/Notify
11. PostgreSQL, FDW ?
Utiliser une source externe à PostgreSQL
Twitter, RSS, CSV, XML
FileSystem
Processes
12. PostgreSQL, PL ?
Étend la base de données
Fonctions stockées
Safe (sandbox, SQL, PL/pgSQL) / Unsafe (C)
PL/Python, PL/V8, PL/PERL
14. DB-API 2.0 aka PEP-249
API pour les connecteurs de Base de Données
Facile à utiliser, et à comprendre
Utilise deux concepts:
• Connection
• Curseur
http://legacy.python.org/dev/peps/pep-0249/
15. Connection
Emballe une connection vers la base de données
Gère les transactions et leur état (Commit/
Rollback)
N’exécute pas de requêtes SQL.
17. Connection - Exemple
import driver
conn = driver.connect(database='database',
host='localhost',
port=5432)
try:
# cree le curseur
# utilise le curseur
except Exception:
conn.rollback()
else:
conn.commit()
conn.close()
18. Curseur
Créé via une instance d’une connection
Utilisé pour la manipulation et interrogation de la
Base de Données
cursor = conn.cursor()
cursor.execute("""
SELECT column1, column2
FROM tableA
""")
for column1, column2 in cursor.fetchall():
print(column1, column2)
20. Curseur - execute
execute(query[, parameters])
Performance et Sécurité
JAMAIS utiliser l’interpolation (%)
et la concaténation (+)
=> SQL Injection
21. Curseur - execute (2)
Accepte un formatage de la requête.
qmark Question mark WHERE field = ?
numeric Numeric positional WHERE field = :1
named Named WHERE field = :code
format ANSI C print format WHERE field = %s
pyformat Python format WHERE field = %(name)s
22. Exemple plus complet ;-)
import driver
conn = driver.connect(database='database',
host='localhost',
port=5432)
cursor = conn.cursor()
try:
cursor.execute("SELECT column1, column2 FROM tableA")
for column1, column2 in cursor.fetchall():
print(column1, column2)
except Exception:
conn.rollback()
else:
conn.commit()
finally:
cursor.close()
conn.close()
24. Introduction
PostgreSQL Adaptor, basé sur libpq
DB-API 2.0 Compliant
Multi-thread
Pool de Connections
Full Asynchronous, Coroutines
Supporte TOUS les types de données de PostgreSQL (Json,
Hstore, …)
Python 2.5+, 3.1+, PostgreSQL 7.4+
25. Curseurs
cursor = conn.cursor()
cursor = conn.cursor(name=“pycon_cursor”)
• Curseur coté PostgreSQL
• Interrogation, manipulation des données de la
base.
• Nommé => Utilisé pour les gros ensembles de
données
26. Requêtes SQL
cursor.execute("SELECT * FROM table")
cursor.execute("INSERT INTO table (field1, field2) VALUES (%s, %s)",
(field1, field2))
cursor.execute("DELETE FROM table")
cursor.execute("UPDATE table SET field1=%s", ('value',))
cursor.execute("CREATE DATABASE database")
cursor.execute("DROP DATABASE database")
27. Exemple
import psycopg2
conn = psycopg2.connect(host='localhost', port=5432,
user='username', password='password',
database='database')
cursor = conn.cursor()
try:
cursor.execute("SELECT column1, column2 FROM tableA")
for column1, column2 in cursor.fetchall():
print(column1, column2)
except Exception:
conn.rollback()
else:
conn.commit()
finally:
cursor.close()
conn.close()
28. Exemple - Context Manager
import psycopg2
DSN = dict(host='localhost', port=5432,
user='username', password='password',
database='database')
with psycopg2.connect(**DSN) as conn:
with conn.cursor() as cursor:
cursor.execute("SELECT column1, column2 FROM tableA")
for column1, column2 in cursor.fetchall():
print(column1, column2)
conn.commit()
30. Introduction
“Technique de Programmation créant l’illusion
d’une base de données orientée objet à partir
d’une base de données relationnelle en définissant
des correspondances entre cette base de
données et les objets du langage utilisé.”
Wikipedia
31. En bref
• Mapper une classe Business sur une table !
• Méthodes pour ajouter, modifier, supprimer et
rechercher
33. Peewee
ORM
Simple, facile à comprendre et extensible
Python 2.6+ et 3.2+
Extensions
3200 lignes de code (MySQL, Sqlite3 et PostgreSQL)
Très bonne documentation
53. Alembic
Basé sur SQLAlchemy
Utilise un environnement de Migration
Fichier de configuration INI
Scripts de migration
http://alembic.readthedocs.org/
54. Alembic
cd votreproject
alembic init migrations
> tree
migrations/
!"" README
!"" alembic.ini
!"" env.py
!"" script.py.mako
#"" versions
64. Multicorn
• Extension PostgreSQL
• Permet d’écrire un Foreign Data Wrapper
• Wrapper Python de l’API C de PostgreSQL
• Tous les outils utilisant SQL peuvent utiliser un
FDW
• Support FULL SQL ;-)
65. FDW de base
• RSS, CSV, XML
• LDAP
• Gmail, IMAP
• Google Search
• SQLAlchemy (mysql, sqlite, oracle, …)
67. Simple exemple (2)
CREATE SERVER wirtel_be_srv
FOREIGN DATA WRAPPER multicorn
OPTIONS (
wrapper 'multicorn.rssfdw.RssFdw'
);
CREATE FOREIGN TABLE wirtel_be_rss (
"pubDate" TIMESTAMP,
description CHARACTER VARYING,
title CHARACTER VARYING,
link CHARACTER VARYING
) SERVER wirtel_be_srv OPTIONS(
url 'http://wirtel.be/feeds/python.rss.xml'
);
68. Simple exemple (3)
SELECT "pubDate", title, link FROM wirtel_be_rss LIMIT 1;
-[ RECORD 1 ]------------------------------------------------------------------------
pubDate | 2014-10-19 00:00:00
title | Python @ FOSDEM 2015 - Call For Proposals
link | http://wirtel.be/posts/en/2014/10/19/python-fosdem-2015-call-for-proposals/
69. avec OpenERP
from multicorn import ForeignDataWrapper
import erppeek
class OpenERPForeignDataWrapper(ForeignDataWrapper):
def __init__(self, options, columns):
super(OpenERPForeignDataWrapper, self).__init__(options, columns)
url = 'http://{hostname}:{password}'.format(**options)
self.client = erppeek.Client(url,
options['database'],
options['username'],
options['password'])
self.object_name = options['object']
def execute(self, quals, columns):
proxy = self.client.model(self.object_name)
item = {}
for record in proxy.browse([]):
for column in columns:
item[column] = record[column]
yield item
70. avec OpenERP (2) CREATE EXTENSION multicorn;
CREATE SERVER multicorn_openerp
FOREIGN DATA WRAPPER multicorn
OPTIONS (wrapper 'multicorn.openerpfdw.OpenERPForeignDataWrapper');
CREATE FOREIGN TABLE oe_users (
login character varying,
name character varying)
SERVER multicorn_openerp OPTIONS (
hostname 'localhost',
port '8069',
database 'openerp',
username 'admin',
password 'admin',
object 'res.users'
);
SELECT id, login, name, active
FROM oe_users
WHERE login = 'admin';
74. PL/Python
CREATE OR REPLACE FUNCTION str_title(s VARCHAR) RETURNS VARCHAR AS $$
return s.title()
$$ LANGUAGE plpythonu;
demo=# select str_title('hello world');
-[ RECORD 1 ]----------
str_title | Hello World
75. PL/Python - DataTypes
PostgreSQL Python
integer, bigint int, long
boolean bool
text types str
SQL Array list
Custom Types dict
76. PL/Python - Debug
Fonctions de base pour afficher les messages
• plpy.notice(“<msg>”)
• plpy.debug(“<msg>”)
• plpy.error(“<msg>”)
• plpy.fatal(“<msg>”)
Oublier le ”print”
77. PL/Python
CREATE OR REPLACE FUNCTION get_pid_cpu_mem(pid INT)
RETURNS TABLE(pid INT, cpu_perc FLOAT, mem_perc FLOAT) AS $$
import psutil
process = psutil.Process(pid)
return [
{
'pid': pid,
'cpu_perc': process.get_cpu_percent(interval=0),
'mem_perc': process.get_memory_percent()
}
]
$$ LANGUAGE plpythonu;
80. PL/Python
WITH stats AS (
SELECT psa.*, get_pid_cpu_mem(psa.pid) as attrs
from pg_stat_activity psa
)
SELECT (stats.attrs).pid,
(stats.attrs).cpu_perc,
(stats.attrs).mem_perc,
stats.application_name
FROM stats;
pid | cpu_perc | mem_perc | application_name
-------+----------+---------------+------------------
14680 | 0 | 1.50435626678 | psql
(1 row)
81. PL/Python - Attention
Unsafe -> pas de sandbox
Difficile à maintenir et à debugger
Comment rendre fou votre DBA ;-)
Pas de virtualenv et demande les privilèges
superuser.
82. PL/Python - Pistes ;-)
Traitement sur grosses masses de données
Ajouter des contraintes fortes et logique dans le système.
Ajouter de nouvelles fonctionnalités dans PostgreSQL
“str_title”
Triggers ?
Utilisation des libs de PyPI (requests, redis, zmq, smtp…)
Accès complet à la base de données !!!