The document discusses Ruby testing tools including Rake for building tasks, RSpec for behavior-driven development testing, and Webrat for web application testing. It provides examples of using Rake to define tasks for compiling Flex applications, examples of RSpec tests for methods like factorial and prime?, and an example Webrat test for creating a CEO letter campaign. Links are also included for the Rake, RSpec and Webrat documentation.
Simple tricks to speed you up on the command lineJanos Gyerik
A few simple but very effective practical tips that should make you lightning fast on the command line. I use these literally every minute I spend in the shell. All the tips should work in Linux, UNIX, BSD and similar.
Simple tricks to speed you up on the command lineJanos Gyerik
A few simple but very effective practical tips that should make you lightning fast on the command line. I use these literally every minute I spend in the shell. All the tips should work in Linux, UNIX, BSD and similar.
Workshop on command line tools - day 2Leandro Lima
Slides of the I Workshop on command-line tools with the collaboration of CAG (Center for Applied Genomics - Children's Hospital of Philadelphia) bioinformatics analysts.
2nd day
During the talk, I will show a number of short Perl 6 fragments (mostly one-liners), that can express complex problems in a very concise way.
We will also solve a few problems from Project Euler, where Perl 6 can demonstrate its extreme beauty.
Workshop on command line tools - day 1Leandro Lima
Slides of the I Workshop on command-line tools with the collaboration of CAG (Center for Applied Genomics - Children's Hospital of Philadelphia) bioinformatics analysts.
1st day
Slides from session at Derbycon 8.0.
Description:
Want to get a good overview of AppLocker and the different AppLocker bypasses and at the same time learn how defenders can harden their environments to prevent them? Then this is a talk you don't want to miss. This talk will cover a vast amount of bypass techniques and how to harden AppLocker to make it even harder to bypass. Giving you help to either start or avoid an App-o-Lockalypse.
Elixir & Phoenix - fast, concurrent and explicitTobias Pfeiffer
Elixir and Phoenix are all the hype lately - what's great about them? Is there more to them than "just" fast, concurrent and reliable?
This talk will give a short intro into both Elixir and Phoenix, highlighting strengths, differences from Ruby/Rails and weaknesses.
Ruby to Elixir - what's great and what you might missTobias Pfeiffer
Elixir and Phoenix are known for their speed, but that's far from their only benefit. Elixir isn't just a fast Ruby and Phoenix isn't just Eails for Elixir. Through pattern matching, immutable data structures and new idioms your programs can not only become faster but more understandable and maintainable. While we look at the upsides we'll also have a look at what you might be missing and could be improved.
Workshop on command line tools - day 2Leandro Lima
Slides of the I Workshop on command-line tools with the collaboration of CAG (Center for Applied Genomics - Children's Hospital of Philadelphia) bioinformatics analysts.
2nd day
During the talk, I will show a number of short Perl 6 fragments (mostly one-liners), that can express complex problems in a very concise way.
We will also solve a few problems from Project Euler, where Perl 6 can demonstrate its extreme beauty.
Workshop on command line tools - day 1Leandro Lima
Slides of the I Workshop on command-line tools with the collaboration of CAG (Center for Applied Genomics - Children's Hospital of Philadelphia) bioinformatics analysts.
1st day
Slides from session at Derbycon 8.0.
Description:
Want to get a good overview of AppLocker and the different AppLocker bypasses and at the same time learn how defenders can harden their environments to prevent them? Then this is a talk you don't want to miss. This talk will cover a vast amount of bypass techniques and how to harden AppLocker to make it even harder to bypass. Giving you help to either start or avoid an App-o-Lockalypse.
Elixir & Phoenix - fast, concurrent and explicitTobias Pfeiffer
Elixir and Phoenix are all the hype lately - what's great about them? Is there more to them than "just" fast, concurrent and reliable?
This talk will give a short intro into both Elixir and Phoenix, highlighting strengths, differences from Ruby/Rails and weaknesses.
Ruby to Elixir - what's great and what you might missTobias Pfeiffer
Elixir and Phoenix are known for their speed, but that's far from their only benefit. Elixir isn't just a fast Ruby and Phoenix isn't just Eails for Elixir. Through pattern matching, immutable data structures and new idioms your programs can not only become faster but more understandable and maintainable. While we look at the upsides we'll also have a look at what you might be missing and could be improved.
This talk I gave at the 2017 madewithlove retreat (https://2017.mwl.be/) and also at the Maceió DEV Meetup #21 (https://www.meetup.com/pt-BR/maceio-dev-meetup/events/245530346/)
The idea is to compare building the same application in two web frameworks in different languages. One I know and work daily, which is Laravel, and the other one is new to me and I had no experience in Elixir, the language the framework was built in.
The idea is not to compare both languages or frameworks. My goal was mainly learn something new building the same thing twice and see how different languages and frameworks can be used to build similar things.
---
## Slides links
Slide 13:
- https://www.youtube.com/watch?v=7Zlp9rKHGD4
Slide 18:
- https://www.youtube.com/watch?v=aA-XHI-EYcM
Slide 20:
- https://github.com/tonysm/slackish-laravel
- https://github.com/tonysm/slackish-phoenix
Slide 32:
- http://phoenixframework.org/blog/the-road-to-2-million-websocket-connections
Slide 38:
- https://www.youtube.com/watch?v=H686MDn4Lo8
---
## References for this talk
Functional Programming; What? Why? When? (Robert C Martin) https://www.youtube.com/watch?v=7Zlp9rKHGD4
Real World Elixir Deployment (Pete Gamache) https://www.youtube.com/watch?v=H686MDn4Lo8
Erlang: The Movie https://www.youtube.com/watch?v=xrIjfIjssLE
Lonestar ElixirConf 2017- KEYNOTE: Phoenix 1.3 by Chris McCord https://www.youtube.com/watch?v=tMO28ar0lW8
GOTO 2016 • Phoenix a Web Framework for the New Web • José Valim https://www.youtube.com/watch?v=bk3icU8iIto
ElixirConf 2016 - Giving up the Object-Oriented Ghost by Morgan Lanco https://www.youtube.com/watch?v=_VpZ6gQsyDY
GOTO 2017 • Elixir: The only Sane Choice in an Insane World • Brian Cardarella https://www.youtube.com/watch?v=gom6nEvtl3U
Elixir, quem é esse pokemon? - Bruno Volcov https://www.youtube.com/watch?v=aA-XHI-EYcM
Ecto, você sabe o que é? - Amanda Sposito https://www.youtube.com/watch?v=hQM4VdEpz6g
Programming Phoenix (book) by Chris McCord, Bruce Tate, and José Valim https://pragprog.com/book/phoenix/programming-phoenix
This is the slide for what I shared in JS Group meetup, 2014, Taiwan. It covers what JavaScript could do for making the program more "functional", the benefits, price and the limitation.
Una mirada al proceso de desarrollo de Hashrocket y la forma de trabajo de una de las mas renombradas boutiques web, desde la perspectiva de la oficina de sudamérica basada en Santiago de Chile.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
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.
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.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Generating a custom Ruby SDK for your web service or Rails API using Smithyg2nightmarescribd
Have you ever wanted a Ruby client API to communicate with your web service? Smithy is a protocol-agnostic language for defining services and SDKs. Smithy Ruby is an implementation of Smithy that generates a Ruby SDK using a Smithy model. In this talk, we will explore Smithy and Smithy Ruby to learn how to generate custom feature-rich SDKs that can communicate with any web service, such as a Rails JSON API.
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
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...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 the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
7. task :compile do
mxmlc 'FlexApp', OUTPUT_FOLDER, ['libs/ThunderBoltAS3_Flex.swc']
end
task :test do
mxmlc 'TestRunner', '', ['libs/flexunit.swc']
run_swf 'TestRunner.swf'
end
task :copy_to_main_project => [:compile] do
sh "cp -af #{FILES_TO_COPY} #{OUTPUT_FOLDER}"
end
task :clean do
sh "rm -rf #{OUTPUT_FOLDER}/*"
end
task :default => [:compile, :copy_to_main_project]
8. task :compile do
mxmlc 'FlexApp', OUTPUT_FOLDER, ['libs/ThunderBoltAS3_Flex.swc']
end
task :test do
mxmlc 'TestRunner', '', ['libs/flexunit.swc']
run_swf 'TestRunner.swf'
end
task :copy_to_main_project => [:compile] do
sh "cp -af #{FILES_TO_COPY} #{OUTPUT_FOLDER}"
end
task :clean do
sh "rm -rf #{OUTPUT_FOLDER}/*"
end
task :default => [:compile, :copy_to_main_project]
9. def mxmlc(file, output_folder, include_libraries=nil,
warnings=false, debug=true)
# Uses fcshd <http://code.google.com/p/flex-compiler-shell-daemon/>
# if found:
if command_exists? "fcshd.py" and not ENV['IGNORE_FCSH']
# fcshd wants absolute paths
file = File.expand_path(file)
output_folder = File.expand_path(output_folder)
if include_libraries
include_libraries =
include_libraries.map { |x| File.expand_path(x) }
end
cmdline = mxmlc_cmdline(file, output_folder, include_libraries,
warnings, debug)
sh "fcshd.py "mxmlc #{cmdline}""
else
cmdline = mxmlc_cmdline(file, output_folder, include_libraries,
warnings, debug)
sh "$FLEX_HOME/bin/mxmlc #{cmdline}"
end
end
10. task :compile do
mxmlc 'FlexApp', OUTPUT_FOLDER, ['libs/ThunderBoltAS3_Flex.swc']
end
task :test do
mxmlc 'TestRunner', '', ['libs/flexunit.swc']
run_swf 'TestRunner.swf'
end
task :copy_to_main_project => [:compile] do
sh "cp -af #{FILES_TO_COPY} #{OUTPUT_FOLDER}"
end
task :clean do
sh "rm -rf #{OUTPUT_FOLDER}/*"
end
task :default => [:compile, :copy_to_main_project]
11. def run_swf(swf)
FLASH_PLAYERS.each do |cmd|
if command_exists? cmd
sh "#{cmd} #{swf}"
return
end
end
end
13. namespace :rpc do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox "rpc"
end
task :run => [:compile] do
run_sandbox "rpc"
end
end
namespace :graph do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox "graph"
end
task :run => [:compile] do
run_sandbox "graph"
end
end
namespace :lang do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox "lang"
end
task :run => [:compile] do
run_sandbox "lang"
end
end
15. namespace :rpc do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox "rpc"
end
task :run => [:compile] do
run_sandbox "rpc"
end
end
namespace :graph do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox "graph"
end
task :run => [:compile] do
run_sandbox "graph"
end
end
namespace :lang do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox "lang"
end
task :run => [:compile] do
run_sandbox "lang"
end
end
16. def flex_sandbox(*names)
names.each do |name|
namespace name do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox name
end
task :run => [:compile] do
run_sandbox name
end
end
end
namespace :sandboxes do
task :compile => names.map { |name| "#{name}:compile" }
task :run => names.map { |name| "#{name}:run"}
end
end
17. def flex_sandbox(*names)
names.each do |name|
namespace name do
task :compile => [:bigflexlib, :semanticflash] do
compile_sandbox name
end
task :run => [:compile] do
run_sandbox name
end
end
end
namespace :sandboxes do
task :compile => names.map { |name| "#{name}:compile" }
task :run => names.map { |name| "#{name}:run"}
end
end
flex_sandbox :rpc,
:graph,
:lang
22. class FactorialTestCase < TestCase
def test_factorial_method_added_to_integer_numbers
assert_true 1.respond_to?(:factorial)
end
def test_factorial_of_zero
assert_equals 0.factorial, 1
end
def test_factorial_of_positives
assert_equals 1.factorial, 1
assert_equals 2.factorial, 2
assert_equals 3.factorial, 6
assert_equals 20.factorial, 2432902008176640000
end
def test_factorial_of_negatives
assert_raises ArgumentError do
-1.factorial
end
end
end
23. describe '#factorial' do
it "adds a factorial method to integer numbers" do
1.respond_to?(:factorial).should be_true
end
it "defines the factorial of 0 as 1" do
0.factorial.should == 1
end
it "calculates the factorial of any positive integer" do
1.factorial.should == 1
2.factorial.should == 2
3.factorial.should == 6
20.factorial.should == 2432902008176640000
end
it "raises an exception when applied to negative numbers" do
-1.factorial.should raise_error(ArgumentError)
end
end
24. describe '#prime?' do
it "adds a prime method to integer numbers" do
1.respond_to?(:prime?).should be_true
end
it "returns true for prime numbers" do
2.should be_prime
3.should be_prime
11.should be_prime
97.should be_prime
727.should be_prime
end
it "returns false for non prime numbers" do
20.should_not be_prime
999.should_not be_prime
end
end
27. describe "creating a new CEO letter campaign" do
before do
click_link 'Campaigns'
click_link 'New CEO Letter Campaign'
end
it "persists delivery method, start date and end date" do
check 'Email'
click_button 'Create campaign'
response.body.should contain_text("1 Delivery method: Email")
response.body.should contain("12/12/2009")
response.body.should contain("6/12/2010")
end
it "allows an email campaign" do
check 'Email'
click_button 'Create campaign'
response.body.should contain_text("1 Delivery method: Email")
end
end