Pod::Weaver is a tool that uses templates to generate documentation from POD source. It addresses issues like redundant documentation by following rules defined in a weaver.ini template file. This allows it to generate leaner POD that removes unneeded sections like NAME, VERSION, and AUTHORS. It also defines subroutines, methods, and attributes more cleanly. Pod::Weaver supports various output formats through different templates and can be used via Dist::Zilla or directly with the podweaver command.
The document discusses programming for fun and enjoyment. It provides tips on using Vim and Ruby for fun programming projects. It also discusses Ruby programming concepts like classes and threads. Finally, it promotes programming meetups and brigades as a way to socially engage with other programmers.
Follow me on Twitter at http://www.twitter.com/cballou or checkout my startup at http://www.pop.co.
In this presentation we will cover the best features and additions in PHP 5.5. You can look forward to the following:
* Support for generators has been added via the yield keyword
* Usage of the new finally keyword in try-catch blocks
* An overview and examples of the new password hashing API
* The foreach control structure now supports unpacking nested arrays into separate variables via the list() construct
* empty() supports arbitrary expressions such as closures returning false
* array and string literal dereferencing
* The Zend Optimiser+ opcode cache (via the new OPcache extension)
The document provides an introduction to Python including:
- Starting the Python interpreter and basic calculations
- Variables, expressions, statements, functions, modules, comments
- Strings, lists, tuples, dictionaries
- Common list, string, and dictionary methods
It covers the basic Python syntax and many common data structures and their associated methods in less than 3 sentences.
The document provides an introduction to Python including:
- Starting the Python interpreter and basic calculations
- Variables, expressions, statements, functions, modules, comments
- Strings, lists, tuples, dictionaries
- Common list, string, and dictionary methods
It covers the basic Python syntax and many common data structures and their associated methods in less than 3 sentences.
Shared on Aug. 18 @ Yahoo
A brief introduction to JavaScript OOP (Object-oriented programming).
3 ways to create a javascript "class"
1. Object Literal
2. Object Functions (w/o using prototype)
3. IIFE, immediately-invoked function expression
and a little bit of Inheritance :P
The document provides an introduction to Python programming concepts including functions, variables, data types, conditionals, loops, and data structures. It demonstrates a simple "Hello, World!" function and how to define, call, and assign the return value of functions. It also shows how to check variable types, use if/else conditional logic, iterate with for loops, and define a dictionary with nested data. The document uses examples and commentary to explain Python syntax and programming concepts in a beginner-friendly manner.
The document discusses building compilers and domain-specific languages (DSLs) in F#. It describes using FParsec for parsing, building an abstract syntax tree (AST), and interpretation/execution. Examples include building parsers and interpreters for a turtle graphics language, an internal DSL for build automation, an external DSL for games, and a Small Basic compiler. It recommends resources like F# Koans, TryFSharp.org and the book for learning more.
The document discusses programming for fun and enjoyment. It provides tips on using Vim and Ruby for fun programming projects. It also discusses Ruby programming concepts like classes and threads. Finally, it promotes programming meetups and brigades as a way to socially engage with other programmers.
Follow me on Twitter at http://www.twitter.com/cballou or checkout my startup at http://www.pop.co.
In this presentation we will cover the best features and additions in PHP 5.5. You can look forward to the following:
* Support for generators has been added via the yield keyword
* Usage of the new finally keyword in try-catch blocks
* An overview and examples of the new password hashing API
* The foreach control structure now supports unpacking nested arrays into separate variables via the list() construct
* empty() supports arbitrary expressions such as closures returning false
* array and string literal dereferencing
* The Zend Optimiser+ opcode cache (via the new OPcache extension)
The document provides an introduction to Python including:
- Starting the Python interpreter and basic calculations
- Variables, expressions, statements, functions, modules, comments
- Strings, lists, tuples, dictionaries
- Common list, string, and dictionary methods
It covers the basic Python syntax and many common data structures and their associated methods in less than 3 sentences.
The document provides an introduction to Python including:
- Starting the Python interpreter and basic calculations
- Variables, expressions, statements, functions, modules, comments
- Strings, lists, tuples, dictionaries
- Common list, string, and dictionary methods
It covers the basic Python syntax and many common data structures and their associated methods in less than 3 sentences.
Shared on Aug. 18 @ Yahoo
A brief introduction to JavaScript OOP (Object-oriented programming).
3 ways to create a javascript "class"
1. Object Literal
2. Object Functions (w/o using prototype)
3. IIFE, immediately-invoked function expression
and a little bit of Inheritance :P
The document provides an introduction to Python programming concepts including functions, variables, data types, conditionals, loops, and data structures. It demonstrates a simple "Hello, World!" function and how to define, call, and assign the return value of functions. It also shows how to check variable types, use if/else conditional logic, iterate with for loops, and define a dictionary with nested data. The document uses examples and commentary to explain Python syntax and programming concepts in a beginner-friendly manner.
The document discusses building compilers and domain-specific languages (DSLs) in F#. It describes using FParsec for parsing, building an abstract syntax tree (AST), and interpretation/execution. Examples include building parsers and interpreters for a turtle graphics language, an internal DSL for build automation, an external DSL for games, and a Small Basic compiler. It recommends resources like F# Koans, TryFSharp.org and the book for learning more.
This document provides a quick introduction to SQL and using MySQL. It covers basic database and SQL concepts like entities, attributes, tables and schemas. It then explains how to install and use MySQL, including the MySQL Workbench tool. The document spends the majority of its time detailing SQL syntax for queries, data manipulation, and schema definition. It provides examples of queries, DDL and DML statements like SELECT, CREATE TABLE, INSERT, UPDATE and DELETE.
Can't Miss Features of PHP 5.3 and 5.4Jeff Carouth
If you're like me you remember the days of PHP3 and PHP4; you remember when PHP5 was released, and how it was touted to change to your life. It's still changing and there are some features of PHP 5.3 and new ones coming with PHP 5.4 that will improve your code readability and reusability. Let's look at some touted features such as closures, namespaces, and traits, as well as some features being discussed for future releases.
The document discusses various techniques for building command line interfaces with PHP including:
- Parsing command line arguments with getopt() and analyzing argc and argv
- Using the readline extension for interactive input with command history and autocompletion
- Scheduling tasks from the command line with cronjobs
- Getting and setting environment variables from the command line
The document provides code examples for each technique and discusses advantages of different approaches like using the PEAR or Zend frameworks for getopt() parsing. Interactive input with readline is highlighted for building command shells.
The document discusses Symfony2, an open-source PHP web application framework. It provides an overview of its components including routing, dependency injection, and templating. It also describes how Symfony uses an MVC architecture and emphasizes loose coupling and flexibility.
The document discusses techniques for creating reusable Puppet modules. It recommends using parameters, qualified variables, and OS-specific classes to handle diversity across operating systems. Default values should be set for user variables, and users' variables can be filtered. Modules should follow consistent naming conventions and have predictable behaviors. The document also describes how to quickly clone an existing module, customize it for a new project, add monitoring abstractions, and create a coherent infrastructure for sharing modules. The goal is to more easily manage modules and updates through templates and a "Modules Machine."
Python is a dynamic programming language that is designed for readability and simplicity. It can be used for web applications, data analysis, GUIs, games, and more. Some key features of Python include being highly readable, using intuitive and clear naming conventions, being interactive and forgiving, treating everything as an object, and using generators and list/dict/set comprehensions which allow data to be projected in a functional style.
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...Vi Grey
It is often said that if an attacker gets physical access to your computer, all bets are off. In this presentation, I show how an attacker can gain root access to a Mac or Linux computer with just 8 seconds of physical access by using an attack that spoofs the sudo password prompt and cleans up after itself.
This document summarizes Python basics including its features, popularity in different fields and companies, data types, control flow, containers like lists and dictionaries, NumPy for numerical computing, and classes. Python is an interpreted, general-purpose language with rich library support. It is commonly used in computer science, data analysis, biology, and academic communities. Major companies like Google, Dropbox, and Instagram use Python.
This document summarizes Python basics including its features, popularity in different fields and companies, data types, control flow, containers like lists and dictionaries, NumPy for numerical computing, and classes. Python is an interpreted, general-purpose language with rich library support. It is commonly used in computer science, data analysis, biology, and academic communities. Major companies like Google, Dropbox, and Instagram use Python.
This document describes functional pattern matching in different programming languages like Haskell, Erlang, Python, and Prolog. It introduces a Python library called Patterns that implements pattern matching via function decoration and AST transformation. The library allows matching different patterns in function arguments and assigning or evaluating expressions based on the matched patterns.
Conheça um pouco mais sobre Perl 6, uma linguagem de programação moderna, poderosa e robusta que permitirá que você escreva código de forma ágil e eficiente.
Migrating to Puppet 4.0 involves several key steps. First, migrate any code from versions prior to 3.8 to the latest 3.8 version to address deprecations. Next, enable the future parser in one environment to help identify changes needed for Puppet 4.x. Gradually migrate nodes to use the future parser. Finally, stand up a new Puppet 4 master and migrate fully while enjoying new features like application management and data in modules. The language cleanup in Puppet 4.0 focuses on expressions, strict typing, and improved error messages to provide a more consistent and predictable configuration language.
Ruby is amazing. It has a huge standard library and a core choc full of weird and wonderful things. In this talk, given at the Ipswich Ruby User Group, I give a whimsical nonstop tour through some of the more obscure parts of Ruby.
The document describes a trash command that provides a recycle bin functionality for Linux similar to Windows. It works by moving deleted files to the $HOME/.trash directory instead of permanently removing them. Users can restore deleted files by running the rm -l command and specifying the file row number. The trash command also checks the trash directory size and automatically deletes the oldest files if the space limit is exceeded.
Ruby to Elixir - what's great and what you might missTobias Pfeiffer
The document discusses some of the key features of Elixir compared to Ruby including pattern matching, explicit preloading of associations, immutable data, and metaprogramming. It notes some things Ruby developers may miss like dirtiness, magic metaprogramming, and a smaller ecosystem. Overall it presents Elixir as having many advantages for functional programming while acknowledging some aspects of Ruby are not directly replicated.
The document provides instructions for creating a PHP extension module that wraps the libares asynchronous DNS resolving library. It begins by explaining why such an extension is useful and covers generating an extension skeleton, configuring the build system to find libares, the key C API functions to expose, and the basic anatomy of a PHP extension.
The FCC's broadband speed test found improvements in actual speeds compared to advertised speeds across broadband providers. Actual download speeds during peak usage periods were near 100% of what was advertised, up from 87% in the previous year's test. However, a study by the New America Foundation found that US broadband prices are higher than other countries for slower speeds, and US "triple play" bundles are more expensive but slower than bundles in European and Asian cities. While the FCC sees closing gaps and US leadership in mobile broadband, some groups question if US policies adequately address lack of competition in the broadband market.
This document introduces Questhub, which is described as a themed social to-do list for programmers. On Questhub, users can start quests in different categories or "realms" for others to see and comment on. Completing quests earns points, and liking others' quests provides encouragement. The document suggests specific quests for learning Perl, such as giving a talk, thanking CPAN authors, or contributing to open source projects. Overall, Questhub gamifies programming tasks to help users be more productive and have more fun through social motivation and competition.
This document discusses opportunities to improve curation on CPAN. It suggests implementing features like module tagging, reviews of module groups, registering module use, following semantic versioning guidelines, and retiring old modules. The goal is to provide more context around modules, encourage collaboration between authors, and help users more easily find high-quality solutions on CPAN.
This document provides an overview of the Perl programming language and includes examples of common Perl scripts and functions. It discusses getting started with Perl, printing, variables, arrays, loops, conditionals, regular expressions, file handling and subroutines. Code snippets are provided to demonstrate concepts like opening and reading files, splitting strings, calculating averages and more. The document serves as a tutorial for beginners to learn the basics of Perl programming.
This document provides a quick introduction to SQL and using MySQL. It covers basic database and SQL concepts like entities, attributes, tables and schemas. It then explains how to install and use MySQL, including the MySQL Workbench tool. The document spends the majority of its time detailing SQL syntax for queries, data manipulation, and schema definition. It provides examples of queries, DDL and DML statements like SELECT, CREATE TABLE, INSERT, UPDATE and DELETE.
Can't Miss Features of PHP 5.3 and 5.4Jeff Carouth
If you're like me you remember the days of PHP3 and PHP4; you remember when PHP5 was released, and how it was touted to change to your life. It's still changing and there are some features of PHP 5.3 and new ones coming with PHP 5.4 that will improve your code readability and reusability. Let's look at some touted features such as closures, namespaces, and traits, as well as some features being discussed for future releases.
The document discusses various techniques for building command line interfaces with PHP including:
- Parsing command line arguments with getopt() and analyzing argc and argv
- Using the readline extension for interactive input with command history and autocompletion
- Scheduling tasks from the command line with cronjobs
- Getting and setting environment variables from the command line
The document provides code examples for each technique and discusses advantages of different approaches like using the PEAR or Zend frameworks for getopt() parsing. Interactive input with readline is highlighted for building command shells.
The document discusses Symfony2, an open-source PHP web application framework. It provides an overview of its components including routing, dependency injection, and templating. It also describes how Symfony uses an MVC architecture and emphasizes loose coupling and flexibility.
The document discusses techniques for creating reusable Puppet modules. It recommends using parameters, qualified variables, and OS-specific classes to handle diversity across operating systems. Default values should be set for user variables, and users' variables can be filtered. Modules should follow consistent naming conventions and have predictable behaviors. The document also describes how to quickly clone an existing module, customize it for a new project, add monitoring abstractions, and create a coherent infrastructure for sharing modules. The goal is to more easily manage modules and updates through templates and a "Modules Machine."
Python is a dynamic programming language that is designed for readability and simplicity. It can be used for web applications, data analysis, GUIs, games, and more. Some key features of Python include being highly readable, using intuitive and clear naming conventions, being interactive and forgiving, treating everything as an object, and using generators and list/dict/set comprehensions which allow data to be projected in a functional style.
Phishing for Root (How I Got Access to Root on Your Computer With 8 Seconds o...Vi Grey
It is often said that if an attacker gets physical access to your computer, all bets are off. In this presentation, I show how an attacker can gain root access to a Mac or Linux computer with just 8 seconds of physical access by using an attack that spoofs the sudo password prompt and cleans up after itself.
This document summarizes Python basics including its features, popularity in different fields and companies, data types, control flow, containers like lists and dictionaries, NumPy for numerical computing, and classes. Python is an interpreted, general-purpose language with rich library support. It is commonly used in computer science, data analysis, biology, and academic communities. Major companies like Google, Dropbox, and Instagram use Python.
This document summarizes Python basics including its features, popularity in different fields and companies, data types, control flow, containers like lists and dictionaries, NumPy for numerical computing, and classes. Python is an interpreted, general-purpose language with rich library support. It is commonly used in computer science, data analysis, biology, and academic communities. Major companies like Google, Dropbox, and Instagram use Python.
This document describes functional pattern matching in different programming languages like Haskell, Erlang, Python, and Prolog. It introduces a Python library called Patterns that implements pattern matching via function decoration and AST transformation. The library allows matching different patterns in function arguments and assigning or evaluating expressions based on the matched patterns.
Conheça um pouco mais sobre Perl 6, uma linguagem de programação moderna, poderosa e robusta que permitirá que você escreva código de forma ágil e eficiente.
Migrating to Puppet 4.0 involves several key steps. First, migrate any code from versions prior to 3.8 to the latest 3.8 version to address deprecations. Next, enable the future parser in one environment to help identify changes needed for Puppet 4.x. Gradually migrate nodes to use the future parser. Finally, stand up a new Puppet 4 master and migrate fully while enjoying new features like application management and data in modules. The language cleanup in Puppet 4.0 focuses on expressions, strict typing, and improved error messages to provide a more consistent and predictable configuration language.
Ruby is amazing. It has a huge standard library and a core choc full of weird and wonderful things. In this talk, given at the Ipswich Ruby User Group, I give a whimsical nonstop tour through some of the more obscure parts of Ruby.
The document describes a trash command that provides a recycle bin functionality for Linux similar to Windows. It works by moving deleted files to the $HOME/.trash directory instead of permanently removing them. Users can restore deleted files by running the rm -l command and specifying the file row number. The trash command also checks the trash directory size and automatically deletes the oldest files if the space limit is exceeded.
Ruby to Elixir - what's great and what you might missTobias Pfeiffer
The document discusses some of the key features of Elixir compared to Ruby including pattern matching, explicit preloading of associations, immutable data, and metaprogramming. It notes some things Ruby developers may miss like dirtiness, magic metaprogramming, and a smaller ecosystem. Overall it presents Elixir as having many advantages for functional programming while acknowledging some aspects of Ruby are not directly replicated.
The document provides instructions for creating a PHP extension module that wraps the libares asynchronous DNS resolving library. It begins by explaining why such an extension is useful and covers generating an extension skeleton, configuring the build system to find libares, the key C API functions to expose, and the basic anatomy of a PHP extension.
The FCC's broadband speed test found improvements in actual speeds compared to advertised speeds across broadband providers. Actual download speeds during peak usage periods were near 100% of what was advertised, up from 87% in the previous year's test. However, a study by the New America Foundation found that US broadband prices are higher than other countries for slower speeds, and US "triple play" bundles are more expensive but slower than bundles in European and Asian cities. While the FCC sees closing gaps and US leadership in mobile broadband, some groups question if US policies adequately address lack of competition in the broadband market.
This document introduces Questhub, which is described as a themed social to-do list for programmers. On Questhub, users can start quests in different categories or "realms" for others to see and comment on. Completing quests earns points, and liking others' quests provides encouragement. The document suggests specific quests for learning Perl, such as giving a talk, thanking CPAN authors, or contributing to open source projects. Overall, Questhub gamifies programming tasks to help users be more productive and have more fun through social motivation and competition.
This document discusses opportunities to improve curation on CPAN. It suggests implementing features like module tagging, reviews of module groups, registering module use, following semantic versioning guidelines, and retiring old modules. The goal is to provide more context around modules, encourage collaboration between authors, and help users more easily find high-quality solutions on CPAN.
This document provides an overview of the Perl programming language and includes examples of common Perl scripts and functions. It discusses getting started with Perl, printing, variables, arrays, loops, conditionals, regular expressions, file handling and subroutines. Code snippets are provided to demonstrate concepts like opening and reading files, splitting strings, calculating averages and more. The document serves as a tutorial for beginners to learn the basics of Perl programming.
Brent Daigle, Ph.D. presented on challenges and considerations for implementing co-teaching arrangements. Some key issues discussed include gaining buy-in from stakeholders, ensuring co-teachers have the necessary instructional skills and receive proper training, determining how students will be scheduled and which classrooms are suitable, and establishing processes for monitoring student progress. The presentation addressed common concerns around co-teaching such as confusion over roles, resistance to change, anxiety, and frustration that can arise if the approach is not properly planned and supported.
Hank L. Torbert is the Managing Partner and Founder of Avondale Ventures, LLC, which he established in 2006. He has extensive experience in private equity, investment banking, and developing and operating small and middle market businesses. Previously, he was Executive Vice President and Chief Operating Officer at Broadcast Capital, where he helped expand their investment focus. Mr. Torbert also held positions at JPMorgan Chase and AIG Capital Partners. He currently serves on multiple boards and speaks regularly on investment topics. He holds graduate degrees from Columbia University.
This document discusses Python and web frameworks. It begins with an introduction to Python and its advantages for web development. It then discusses several popular Python web frameworks including web.py, Flask, and Django. It also covers related topics like WSGI, templating with Jinja2, asynchronous programming, and deployment with virtualenv.
This document provides an overview of Chef resources and how to use the chef-apply command. It begins by explaining that a resource describes the desired state of an infrastructure element and defines the steps to achieve that state. Examples are given of package, service, and file resources. The document then demonstrates using chef-apply to install packages, create a file, and apply a recipe file to define the required state.
This lecture discusses a group of techniques to use commands output/Input to feed into other commands or into files. It also covers argument expansion and quoting
Check the other Lectures and courses in
http://Linux4EnbeddedSystems.com
or Follow our Facebook Group at
- Facebook: @LinuxforEmbeddedSystems
Lecturer Profile:
- https://www.linkedin.com/in/ahmedelarabawy
The document provides an introduction to shell scripting basics in UNIX/Linux systems. It discusses what a shell and shell script are, introduces common shells like bash, and covers basic shell scripting concepts like running commands, variables, conditionals, loops, and calling external programs. Examples are provided for many common shell scripting tasks like file manipulation, text processing, scheduling jobs, and more.
Tar is used to archive and compress files and directories in Linux. It can be installed using yum or apt-get depending on the distribution. Tar creates archives with options like c for create and z for gzip compression. The split and cat commands can be used to split large tar files into parts and combine them. Sed is used for text editing and search/replace tasks in files. The useradd and group commands are used for user and group management like creating, modifying, and deleting users and groups.
Figuring out why your program is broke can be hard. If you've added print statements and turned up the logging and still can't find the problem, you might reach for the command-line debugger that comes with perl.
In this presentation, I'll show off an alternative. Devel::hdb is a graphical debugger for Perl that runs inside a web browser with a simpler interface. I'll also briefly cover how to write your own debugging tools with Devel::Chitin, and preview a new feature I've been working on.
This document provides an overview of various programming concepts in Groovy including Eclipse IDE basics, assertions, closures, I/O, and functions. It discusses how to set up an Eclipse workspace and Groovy project. It explains that assertions can be used to check code validity and provides examples using assertions. It describes what closures are and provides examples of using closures on lists and maps. It discusses how to perform I/O operations like reading from standard input and files. Finally, it covers functions in Groovy including overloaded functions, default parameter values, and dynamic dispatch based on argument types.
Configuration surgery with Augeas (OggCamp 12)Dominic Cleal
Lightning talk for an intro to Augeas at OggCamp 12. Briefly explains the library, examples of what it can do and where it's used. Based on a presentation by Raphaël Pinson (search for RMLL 2012).
This document discusses key concepts in functional programming including:
- Functional languages favor pure functions that have no side effects and always return the same output for a given input.
- Functions are first-class citizens that can be assigned to variables, passed as arguments to other functions, and returned from other functions.
- Composition involves combining simple functions together to build more complex behaviors through function piping.
- Loops are avoided in favor of map, filter, and reduce functions to operate on collections in a declarative way that can run operations in parallel.
- Immutability is important to avoid bugs from side effects and make reasoning about programs easier.
This document discusses Linux package management and job scheduling. It covers common package managers like RPM, dpkg, and pip. It explains how package managers work, including installing, removing, updating, and querying packages. It also discusses creating custom repositories. For job scheduling, it covers Cron and systemd timers for automating periodic tasks. Examples are provided for scheduling jobs to run daily, weekly, or at specific times.
The document provides an introduction to shell scripting basics in UNIX/Linux. It discusses what a shell and shell script are, introduces the popular bash shell, and covers running commands, variables, logic, and other shell scripting concepts. The key points covered include:
- A shell is a program that takes commands and runs other programs. Popular shells include bash, csh, tcsh, and ksh.
- A shell script is a text file containing shell commands that is executable. Creating and running a simple "Hello world" script is demonstrated.
- Running commands, pipes, redirection, variables, logic, and flow control like if/else, for loops are explained.
- Useful bash
Presented at LinuxFest Northwest 2009, this slideshow covers how to install and use puppet, types of implementations and more. Visit http://www.bitpusher.com/ for more about BitPusher.
Introducing Command Line Applications with RubyNikhil Mungel
This document discusses building command line applications in Ruby. It covers using OptionParser and Mixlib::CLI for parsing arguments, Thor for building commands, testing CLI apps, interacting with the system via libraries like Mixlib::ShellOut, and logging to standard output and error. The target audience is developers looking to get started with Ruby command line programs.
Install Archlinux in 10 Steps (Sort of) :)Sian Lerk Lau
The document provides steps to set up a Linux operating system from scratch, including partitioning and formatting storage, installing the base system and configuring it, and adding additional packages to enable a graphical user interface using X Window System and Openbox window manager. It discusses advantages of building a custom lightweight Linux distribution and guides the reader through the entire process with code examples.
The Grand Puppet Sub-Systems Tour - Nicholas Fagerlund, Puppet LabsPuppet
The document provides an overview of how Puppet agent runs a catalog by starting the Puppet daemon, which then runs the Puppet configurer. The configurer retrieves facts, prepares and retrieves a catalog from the Puppet master's compiler terminus via the catalog indirection and HTTP API. It then applies the catalog by creating a transaction to evaluate resources and report changes.
This document provides an overview of basic Linux commands and concepts for beginners. It covers topics such as opening the terminal, changing directories, listing and manipulating files and folders, searching for files, managing processes, installing packages, setting environment variables, and compressing files. The document is intended to help new Linux users learn the basics of how Linux is organized and how to navigate and perform tasks on the command line interface.
Here is a Python function that calculates the distance between two points given their x and y coordinates:
```python
import math
def distance_between_points(x1, y1, x2, y2):
return math.sqrt((x2 - x1)**2 + (y2 - y1)**2)
```
To use it:
```python
distance = distance_between_points(1, 2, 4, 5)
print(distance)
```
This would print 3.605551275463989, which is the distance between the points (1,2) and (4,5).
The key steps are:
1.
File::CleanupTask is a CPAN module that the company I work at has opensourced. This is a presentation I gave about it at the London Perl Mongers technical meeting in August 2012.
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
Project Management Semester Long Project - Acuityjpupo2018
Acuity is an innovative learning app designed to transform the way you engage with knowledge. Powered by AI technology, Acuity takes complex topics and distills them into concise, interactive summaries that are easy to read & understand. Whether you're exploring the depths of quantum mechanics or seeking insight into historical events, Acuity provides the key information you need without the burden of lengthy texts.
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.
Taking AI to the Next Level in Manufacturing.pdfssuserfac0301
Read Taking AI to the Next Level in Manufacturing to gain insights on AI adoption in the manufacturing industry, such as:
1. How quickly AI is being implemented in manufacturing.
2. Which barriers stand in the way of AI adoption.
3. How data quality and governance form the backbone of AI.
4. Organizational processes and structures that may inhibit effective AI adoption.
6. Ideas and approaches to help build your organization's AI strategy.
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on integration of Salesforce with Bonterra Impact Management.
Interested in deploying an integration with Salesforce for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
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.
OpenID AuthZEN Interop Read Out - AuthorizationDavid Brossard
During Identiverse 2024 and EIC 2024, members of the OpenID AuthZEN WG got together and demoed their authorization endpoints conforming to the AuthZEN API
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
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.
24. [Collect / METHODS]
command = method
=head1 METHODS
=over
=item new() =method new()
creates an object creates an object
=item spawn() =method spawn()
spawns an object spawns an object
=back
20
25. [Collect / ATTRIBUTES]
command = attr
=head1 ATTRIBUTES
=over
=item torches()
number of torches
=item matches()
number of matches
=back
21
26. [Collect / ATTRIBUTES]
command = attr
=head1 ATTRIBUTES
=over
=item torches() =attr torches()
number of torches number of torches
=item matches() =attr matches()
number of matches number of matches
=back
22
28. [Leftovers]
=head1 SUPPORT weaver.ini
For support, please …
send a self-addressed,
stamped envelope to: [Leftovers]
Joshua Keroes [Region / postlude]
Somewhere in [Authors]
Portland, OR [Legal]
24
31. [Legal]
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Joshua
Keroes.
This is free software; you can redistribute it
and/or modify it under the same terms as the
Perl 5 programming language system itself.
27
43. References
This talk at SlideShare: http://xrl.us/jkeroespw
Dist::Zilla + Pod::Weaver http://xrl.us/dzilpw
What is Pod::Weaver 1? http://xrl.us/rjbspw1
What is POD::Weaver 2? http://xrl.us/rjbspw2
Falling in love with Pod::Weaver http://xrl.us/lovepw
39
Editor's Notes
\n
Show of hands and wild cheering please.\n(If >1: hire this champ)\n(If 0: typical. Fortunately, Pod::Weaver can help)\n\n
Why don’t we like to write docs?\nDRY. Heck, we already wrote the code, right?\nBeyond that, every module file in every module must have a NAME section. And an ABSTRACT. And they should have a COPYRIGHT, LICENSE, and AUTHOR(s), too. There’s a lot of repeated effort.\n
Why don’t we like to write docs?\nDRY. Heck, we already wrote the code, right?\nBeyond that, every module file in every module must have a NAME section. And an ABSTRACT. And they should have a COPYRIGHT, LICENSE, and AUTHOR(s), too. There’s a lot of repeated effort.\n
Should we really have to start a FUNCTIONS section? Is it a head1 or a head2? Why do we have to indent? Or remember to stop indenting, for that matter? And what if we want to intermingle POD with code?\n
Should we really have to start a FUNCTIONS section? Is it a head1 or a head2? Why do we have to indent? Or remember to stop indenting, for that matter? And what if we want to intermingle POD with code?\n
Why should you have to keep the copyright current? Honestly, we have a computer here.\n\n
Know what Perl's good at? Templating. Just count the number of template-related modules on CPAN. viz. http://mapofcpan.org/\n
weaver.ini is the template. Let’s take unwrap things a few levels. Default is a Pod::Weaver::PluginBundle::Default. The @-sign means PluginBundle instead of Plugin.\n
Let’s unwrap the CorePrep PluginBundle\n
Validate POD and make sure all sub-elements are nested under =head1’s. Good housekeeping, basically.\n
Undocumented treasure!\n
voila, the whole default template. Barring the two housekeeping plugins, the rest are in order. Let’s figure out what they do.\n
\n
Admittedly, this takes more typing. Fortunately, we can do better.\n
You need either a PODNAME or a package. The rule of thumb is to use PODNAME for programs and to package for modules.\n
Automatic and painless. podweaver gets it from a META.json or META.yml file. Under dzil, it depends which plugins are loaded in dist.ini, but that’s getting ahead of things.\n
Think of the GENERIC plugin as a pass-through. These three sections, named above, and their contents will pass through P::W relatively unharmed.\n
The collect plugin fetches and assembles sets of things. \n
PW will add the section header and add the indenting; we just list the functions and what they do.\n
The method collection uses the new =method keyword....\n
\n
Like Moose, Mouse, Moo, or Mo? =attr behaves just like the other collects. As with the other examples... Speaking of which, there are two plugins on CPAN you may find useful, one that adds an EXTENDS section; the other a CONSUMES section for Moose roles.\n
the shorthand on the right will generate the POD on the left.\n
Do you want to add generic/text before the synopsis? Text found here between a preludes =begin and =end or after a =for will be moved to the prelude location. This has to be generic text. I wasn’t able to add commands like =head1 successfully. We’ll look at another section that can handle this shortly.\n
Leftovers come before the postlude region. \n
Just like the prelude, the postlude will move generic/text after the leftovers.\n
Automatic. podweaver gets it from META.json or META.yml. Under dzil, it depends which plugins are loaded in dist.ini.\n
Automatic. podweaver gets it from META.json or META.yml. Under dzil, it depends which plugins are loaded in dist.ini.\n
\n
\n
\n
\n
\n
\n
\n
The numbers start at one and are auto-incremented.\n
\n
Add one line to run Pod::weaver during `dzil build`.\n