ActiveRecord is an object-relational mapping (ORM) pattern that allows developers to interact with a database using objects. It establishes a one-to-one relationship between classes and database tables, with each class representing a database table and objects representing table rows. ActiveRecord provides methods for easily creating, reading, updating, and deleting records in the database. It also handles associations between models and allows chaining conditions to build queries before executing them against the database.
Quill provides a Quoted Domain Specific Language (QDSL) to express queries in Scala and execute them in a target language. The library's core is designed to support multiple target languages, currently featuring specializations for Structured Query Language (SQL) and Cassandra Query Language (CQL).
AngularJS 1.x - your first application (problems and solutions)Igor Talevski
We will talk about all aspects of building a single page application with AngularJS, and we will discuss real examples from day-to-day work. We will also cover a large amount of theory about general web development, best practices, and today's client demands. We will focus on three (3) main points: architecture, security, and real time notification.
ASIT is best training institute for "AJAX" Course,having the leading providers of Career Based training programs along with professional certifications. We associate with industry experts to deliver the training requirements of Job seeks and working professionals.for more details please visit our website.
Quill provides a Quoted Domain Specific Language (QDSL) to express queries in Scala and execute them in a target language. The library's core is designed to support multiple target languages, currently featuring specializations for Structured Query Language (SQL) and Cassandra Query Language (CQL).
AngularJS 1.x - your first application (problems and solutions)Igor Talevski
We will talk about all aspects of building a single page application with AngularJS, and we will discuss real examples from day-to-day work. We will also cover a large amount of theory about general web development, best practices, and today's client demands. We will focus on three (3) main points: architecture, security, and real time notification.
ASIT is best training institute for "AJAX" Course,having the leading providers of Career Based training programs along with professional certifications. We associate with industry experts to deliver the training requirements of Job seeks and working professionals.for more details please visit our website.
This session is about building client-side web parts, list-based and page-based applications on SharePoint. I'll show the workbench, the web part and a list based application, React and how to apply simple CSS styles for typography, color, icons, animations, and responsive grid layouts with Office UI Fabric.
This presentation introduces AJAX (Asynchronous JavaScript and XML) explaining the details of implementation and constraints in design and also present a sample example for coding a simple ajax powered web page.
At some point your code gets big. You can no longer do everything within a single web request. Increasing the timeout is not the answer. The answer is likely workers, queues, and cache. In this talk we'll look at using background job processes, messaging queues, and cache to help your application scale.
[2015/2016] Local data storage for web-based mobile appsIvano Malavolta
This presentation has been developed in the context of the Mobile Applications Development course, DISIM, University of L'Aquila (Italy), Spring 2016.
http://www.ivanomalavolta.com
This session is about building client-side web parts, list-based and page-based applications on SharePoint. I'll show the workbench, the web part and a list based application, React and how to apply simple CSS styles for typography, color, icons, animations, and responsive grid layouts with Office UI Fabric.
This presentation introduces AJAX (Asynchronous JavaScript and XML) explaining the details of implementation and constraints in design and also present a sample example for coding a simple ajax powered web page.
At some point your code gets big. You can no longer do everything within a single web request. Increasing the timeout is not the answer. The answer is likely workers, queues, and cache. In this talk we'll look at using background job processes, messaging queues, and cache to help your application scale.
[2015/2016] Local data storage for web-based mobile appsIvano Malavolta
This presentation has been developed in the context of the Mobile Applications Development course, DISIM, University of L'Aquila (Italy), Spring 2016.
http://www.ivanomalavolta.com
Con motivo de la visita del Presidente de Guatemalla, Otto Pérez Molina, la Biblioteca de la AECID expone una selección del fondo antiguo sobre Guatemala en la entrada del edificio principal.
Изкуството на Удовлетворението. Кариера и Мисия в Свобода.Виржиния Тинчева
Първа и основна задача на всички нас е Свободата.
Реализация без свобода е робство.
Едва след това дългът престава да бъде тягостно задължение.
Когато слееш предназначението си с работата си, възходът ти е стремглав.
Как се прави това? Ще разберем и ще тренираме месец януари с Ясен Николов.
Сила за Успех!
Вход:
ВИП: 20лв.
ДИАМАНТ: 50лв.
Заповядайте с приятели! Очаквани сте.
Адрес: София, Будапеща 2, х-л Арена Ди Сердика.
Как да станем най-търсените и добри приятели! Сила за Успех с Ясен Николов.Yasen Nikolov
Ресурси на качественото и дълготрайното приятелство.
Как да ги създадем, свържем и ангажираме?
Автор и водещ: Ясен Николов.
Логика на приятелството - ежедневно и ултимативно.
Изключително важни практики и техники днес.
Втора част.
Achieving Mega-Scale Business Intelligence Through Speed of Thought Analytics...VMware Tanzu
SpringOne Platform 2016
Speaker: Ian Fyfe; Director, Product Marketing, Hortonworks
Apache Hadoop is the most powerful and popular platform for ingesting, storing and processing enormous amounts of “big data”. However, due to its original roots as a batch processing system, doing interactive business analytics with Hadoop has historically suffered from slow response times, or forced business analysts to extract data summaries out of Hadoop into separate data marts. This talk will discuss the different options for implementing speed-of-thought business analytics and machine learning tools directly on top of Hadoop including Apache Hive on Tez, Apache Hive on LLAP, Apache HAWQ and Apache MADlib.
Lambda calculus (also written as λ-calculus) is a formal system in mathematical logic for expressing computation based on function abstraction and application using variable binding and substitution. It is a universal model of computation that can be used to simulate any Turing machine and was first introduced by mathematician Alonzo Church in the 1930s as part of his research of the foundations of mathematics.
Lambda calculus consists of constructing lambda terms and performing reduction operations on them
Mobile applications Development - Lecture 13
Local/Session Storage
WebSQL
IndexedDB
File System Access
This presentation has been developed in the context of the Mobile Applications Development course at the Computer Science Department of the University of L’Aquila (Italy).
http://www.di.univaq.it/malavolta
SQLite is available on every Android device. Using an SQLite database in Android does not require any database setup or administration. You only have to define the SQL statements for creating and updating the database. Afterwards the database is automatically managed for you by the Android platform. In this chapter we will discuss about developing application with SQLite.
This is a talk about Guacamole, an ODM for ArangoDB to be used in Rack-based framework and especially Rails. Dirk gave the talk in London at Skills Matter
Algunas notas y lecciones aprendidas sobre nuestra experiencia trabajando en código abierto. 8 proyectos interesantes que abrimos en los últimos meses.
A short presentation about two of the most popular design patterns in object oriented software: Strategy and NullObject.
Check out these examples to understand when it's a good time to apply them to your own code.
This is a presentation about the values that guide our activities. When in doubt, look at these slides and think about the values that represent the work that we do.
Are you building something that you can be proud of? Are you applying that principles that guide our company? Are you striving to achieve a simple but powerful solution?
Always deliver on time and always strive for simplicity. These values will guide us through hard times.
Rspec Tweaks, enhancing specs (Controller, Model, etc.), let vs instance variables, refactoring, use more “let”, just build, don’t create!
flexible use of “let”, more than 65% faster, test without ActiveRecord
What etagwerker worked on for the open source days that we had in Ombu Labs on December 2015.
EmailSpec, DatabaseCleaner, Bitpagos, Oca Epak library news and an update on the latest articles in the Ombu Labs blog.
This talked is inspired by Martin Fowler's "Mocks aren't stubs" http://martinfowler.com/articles/mocksArentStubs.html
We talked about Cassical TDD vs. Mockist TDD and the libraries that help Ruby developers with their tests.
Webmock, FactoryGirl, VCR, Rspec mocks, stubs and spies.
What do you prefer? To mock everything, or to mock as less as possible?
A brief introduction to relational databases, SQL and ActiveRecord.
What's a SELECT, UPDATE, INSERT or DELETE query? What's an Index, a Foreign Key, a Primary Key?
Here is the 7 days open source challenge. Contribute to an open source project for 7 days straight and then share it with the world!
Tag your friend and challenge him or her to contribute to an open source project for 7 days straight!
I gave this talk at the Buenos Aires Ruby Meetup (July, 2015)
The flow is what makes a programmer thrive or fail. How many interruptions did you have today? Can you stop them?
Interruptions turn each day into chunks of productivity. Each interruption costs a programmer at least 10 minutes, plus the time spent during the interruption.
Here are some tips to avoid interruptions and get to a flow state of mind. Kill interruptions before they kill your productivity.
When was the last time that you programmed without any interruptions?
Some of the tips:
1. Keep your email clients closed
2. Keep Twitter closed
3. Keep Facebook closed
4. Start tracking time spent on every project
5. Unplug your phone
6. Silence your cell phone
7. Use Slack
Manage your interruptions before they manage your productivity.
In this presentation we talk about three rules that we follow every week to deliver high quality code. We prefer to write tests in this order: Integration tests first, unit tests later.
We don't do TDD religiously but it is a good idea when you're facing a very complex problem.
Think about your code as a black box and think about all the possible inputs and outputs, all the possible paths that a user might take, all the possible ranges that the user may enter.
Don't test only the happy path, keep in mind the odd cases.
A few guidelines for peer reviews at Ombu Labs. Be nice, be constructive, suggest alternatives, start discussions, use Git branches, Github pull requests and keep it lean.
Make sure that the pull requests solve a concrete problem today. You can always refactor your solution later. Do not design for the future.
Keep it simple stupid and learn from the comments in your pull requests.
At Ombu Labs we decided to start recycling to improve the environment and as a contribution to our community.
This presentation has some basic tips on what needs to be recycle.
At Ombu Labs, The Lean Software Boutique, we like to use these services. They help us build lean software, that is easy to maintain and scale.
We like to use: Github, Code Climate, Heroku, Rails, Ruby, Sinatra, Cuba, Solano CI, Intercom, Google Ad Words, Google Analytics, Twitter, Facebook, Freckle and Slack!
More from Ombu Labs, The Lean Software Boutique (19)
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.
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.
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
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
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.
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.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
2. Active Record is a design pattern
“An object that wraps a row in a database
table, encapsulates the database access, and
adds domain logic on that data.”
http://www.martinfowler.com/eaaCatalog/activeRecord.html
3. One class per table (usually)
Rails Model
class User < ActiveRecord::Base
end
Database
CREATE TABLE `users` (
`id` int(11) NOT NULL auto_increment,
`login` varchar(255),
`email` varchar(255),
`updated_at` datetime default NULL,
`created_at` datetime default NULL,
PRIMARY KEY (`id`)
)
6. The ActiveRecord we know
app/models/user.rb
class User < ActiveRecord::Base
end
Creating a user
> user = User.new(email: “example@example.com”)
# the user doesn’t exist in our database yet. ALL Ruby
classes have the `new` method.
> user.save!
SQL (14.1ms) INSERT INTO `users` (`email`) VALUES
(‘example@example.com’)
# user is now saved to the database.
> User.create(email: “example@example.com”)
SQL (14.1ms) INSERT INTO `users` (`email`) VALUES
(‘example@example.com’)
7. The ActiveRecord we know
app/models/user.rb
class User < ActiveRecord::Base
end
Loading a user
> user = User.find(1)
User load (0.00514) SELECT * FROM users WHERE
(users.id = 1) LIMIT 1
=> #<User id: 1, email: “example@example.com”>
8. Associations
1 to 1
has_one & belongs_to
1 to n
has_many & belongs_to
n to n
has_and_belongs_to_many
has_many :through
9. What can AR return?
ActiveRecord can return a single object, an array
of objects, or an Active Relation, among others.
User.find(1) => # Single object
User.first => # Single object
User.last => # Single object
User.all => # Array of objects
User.count => # Integer
User.where(id: 1) => # Active Relation
10. Active Relations & Scopes
You can chain conditions before hitting the database by using
`joins`, `where`, `order` and scopes.
class User < ActiveRecord::Base
scope :not_real, -> { where(“email like ?”, “%example.com%”) }
end
> User.not_real
=> #<User id: 1, email: “example@example.com”>
> User.not_real.where(id: 2)
=> []