This document summarizes a lightning talk on pg_reversi, a Reversi game implemented as PostgreSQL functions. Key points:
- Pg_reversi allows playing the game Reversi using only PostgreSQL functions called from psql. It is implemented using PL/pgSQL.
- An Enterprise Edition adds features like concealing SQL logs to prevent the DBA from seeing gameplay, and setting an application name to mask that it is pg_reversi running.
- This allows "lazy employees" to play Reversi at work without bosses knowing, making it a useful tool for "Enterprise companies".
- In conclusion, pg_reversi demonstrates playing games solely within
Demos created for public lecture in VarnaLab (02 October 2013)
Github Demos : https://github.com/dimitardanailov/coffeescript-intro
Agenda :
Introduction
Installing CoffeeScript
Using CoffeeScript Files
Learning the Core Functionality
Data Types
Comments and Functions
Operators
Control Structures
Loops and Comprehensions
Scope and Context
Stirring in Advanced Concepts
Object Prototypes
CoffeeScript Classes
Heregexes
Using CoffeeScript in the Browser
This slides are for meetup event from below link.
https://www.meetup.com/ja-JP/CodeChrysalis/events/245248864/
This mainly explains how backend program works in general and I implemented sample project with express and sequelizejs that are nodejs modules and PostgreSQL for a database. You can see sample project (learning material of backend with JavaScript) from below github link.
Repository for this slides:
https://github.com/duyoji/creating_api_with_express_and_postgresql
Devenez le plus heureux des Front-end avec Gulp.jsRémy Savard
De nos jours, les projets Web utilisent un nombre grandissant de technologies front-end afin d’effectuer différentes tâches. Utilisées par des compagnies telle qu’Adobe, Twitter et jQuery, Gulp et Grunt vous permettrons d’automatiser des tâches récurrentes liées au développement Web.
Comprenez les différences entre Gulp et Grunt. Apprenez à automatiser les tâches récurrentes et découvrez les possibilités de Gulp à l’aide des extensions essentiels (Validation et compression de JavaScripts avec JSHint et Uglify, Compilation CSS avec SASS et Compass, Synchronisation de navigateurs avec Live Reload et Browser Sync, etc.).
A walk through of how to think about Web Exploitation. Focuses less on performing SQL injections and more on how to properly enumerate and evaluate functionality.
Demos created for public lecture in VarnaLab (02 October 2013)
Github Demos : https://github.com/dimitardanailov/coffeescript-intro
Agenda :
Introduction
Installing CoffeeScript
Using CoffeeScript Files
Learning the Core Functionality
Data Types
Comments and Functions
Operators
Control Structures
Loops and Comprehensions
Scope and Context
Stirring in Advanced Concepts
Object Prototypes
CoffeeScript Classes
Heregexes
Using CoffeeScript in the Browser
This slides are for meetup event from below link.
https://www.meetup.com/ja-JP/CodeChrysalis/events/245248864/
This mainly explains how backend program works in general and I implemented sample project with express and sequelizejs that are nodejs modules and PostgreSQL for a database. You can see sample project (learning material of backend with JavaScript) from below github link.
Repository for this slides:
https://github.com/duyoji/creating_api_with_express_and_postgresql
Devenez le plus heureux des Front-end avec Gulp.jsRémy Savard
De nos jours, les projets Web utilisent un nombre grandissant de technologies front-end afin d’effectuer différentes tâches. Utilisées par des compagnies telle qu’Adobe, Twitter et jQuery, Gulp et Grunt vous permettrons d’automatiser des tâches récurrentes liées au développement Web.
Comprenez les différences entre Gulp et Grunt. Apprenez à automatiser les tâches récurrentes et découvrez les possibilités de Gulp à l’aide des extensions essentiels (Validation et compression de JavaScripts avec JSHint et Uglify, Compilation CSS avec SASS et Compass, Synchronisation de navigateurs avec Live Reload et Browser Sync, etc.).
A walk through of how to think about Web Exploitation. Focuses less on performing SQL injections and more on how to properly enumerate and evaluate functionality.
pg_chameleon is a lightweight replication system written in python. The tool connects to the mysql replication protocol and replicates the data in PostgreSQL.
The author's tool will talk about the history, the logic behind the functions available and will give an interactive usage example.
PGDay.Amsterdam 2018 - Daniel Westermann - What we already know about Postgre...PGDay.Amsterdam
PostgreSQL 10 is not even one year old and PostgreSQL 11 is just around the corner. This is a (very personal) selection of improvements and new features with some demos. There are improvements to partitioning, parallel query and much more.
A look at what HA is and what PostgreSQL has to offer for building an open source HA solution. Covers various aspects in terms of Recovery Point Objective and Recovery Time Objective. Includes backup and restore, PITR (point in time recovery) and streaming replication concepts.
These days you can't go far without encountering XML or JSON and in the world of the web these data types are ubiquitous. Since version 8.3 XML has been supported as a data type and JSON support was introduced in 9.2. We'll be looking at what advantages there are in storing your data with these data types and how we can query and manipulate our data once it's stored.
pg_chameleon is a lightweight replication system written in python. The tool connects to the mysql replication protocol and replicates the data in PostgreSQL.
The author's tool will talk about the history, the logic behind the functions available and will give an interactive usage example.
PGDay.Amsterdam 2018 - Daniel Westermann - What we already know about Postgre...PGDay.Amsterdam
PostgreSQL 10 is not even one year old and PostgreSQL 11 is just around the corner. This is a (very personal) selection of improvements and new features with some demos. There are improvements to partitioning, parallel query and much more.
A look at what HA is and what PostgreSQL has to offer for building an open source HA solution. Covers various aspects in terms of Recovery Point Objective and Recovery Time Objective. Includes backup and restore, PITR (point in time recovery) and streaming replication concepts.
These days you can't go far without encountering XML or JSON and in the world of the web these data types are ubiquitous. Since version 8.3 XML has been supported as a data type and JSON support was introduced in 9.2. We'll be looking at what advantages there are in storing your data with these data types and how we can query and manipulate our data once it's stored.
Deep dive into the Rds PostgreSQL Universe Austin 2017Grant McAlister
A deep dive into the two RDS PostgreSQL offerings, RDS PostgreSQL and Aurora PostgreSQL. Covering what is common between the engines, what is different and updates that we have done over the past year.
I strongly believe in the combination of Apache Spark with Java. In this tutorial, prepared for NCDevCon, we are going through the basics of Spark as well as 2 examples: a basic ingestion and an analytics example based on joins & group by. Follow me @jgperrin.
This slides explains why Clojure programming language brings productivity to programmer from the perspectives of:
1. REPL-driven development
2. Immutable data structure
3. Composable functions
4. Immutable database
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Let's dive deeper into the world of ODC! Ricardo Alves (OutSystems) will join us to tell all about the new Data Fabric. After that, Sezen de Bruijn (OutSystems) will get into the details on how to best design a sturdy architecture within ODC.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
11. 11
Viewer script file.
SELECT get_turn_boad_status() AS status;
o /dev/null
SELECT x AS " ", y,
CASE
WHEN status = 1 THEN '●'
WHEN status = -1 THEN '○'
ELSE ' '
END AS status
FROM boad ORDER BY x;
o
crosstabview " " y status y
Point. SELECT result output to /dev/null
17. 17
Features
By emit_log_hook, to conceal the SQL
log from pg_reversi application.
static void
pg_reversi_emit_log_hook(ErrorData *data) {
const char* appname = application_name;
if (appname == NULL || *appname == '0') {
/* applicatoin_name is no set */
return ;
}
if (!strcmp(appname, "pg_reversi")) {
/* When application_name is pg_reversi, output to the server log is suppressed. */
data->output_to_server = false;
}
return ;
}
18. 18
Setting the pg_reversi to PostgreSQL
setting "preload_shared_libraries'.
preload_shared_libraries = 'pg_reversi'
In psql not, use the "pg_reversi"
utility (psql copy).
$ pg_reversi -U postgres pg_reversi
21. 21
Standard Edition
Since SQL is output to theSince SQL is output to the
server log, the DBA willserver log, the DBA will
check it!check it!
↓↓
My boss gets angry!My boss gets angry!
22. 22
Enterprise Edition
SQL is not logged.SQL is not logged.
↓↓
DBA and Boss also doesDBA and Boss also does
not notice.not notice.
Everyone is happy.Everyone is happy.
Win-Win!Win-Win!