How to work with dates and times in swift 3allanh0526
This document discusses working with dates and times in Swift 3. It covers the Date, DateComponents, DateFormatter, Calendar, Locale, and TimeZone classes. It shows how to create and format dates, extract date components, perform date calculations like adding/subtracting days/weeks, and compare dates. Key aspects covered include converting between dates and strings, building dates from components, and getting the difference between dates in seconds or days.
This document provides an overview of working with dates and times in R. It discusses recognizing date-time objects in R, getting the current date and time, and creating date-time objects using the POSIXct and POSIXlt classes. Methods for converting character and numeric data to date-time objects are presented, along with extracting parts of date-time objects and performing computations. The goal is to introduce the reader to key date and time functionality in base R.
This document discusses various perspectives on date and time, including absolute time, local time, time zones, and assumptions that can lead to problems. It notes that date and time concepts like time zones are political and can change. Time and date math work differently, and dates may not exist in all time zones. Quality libraries like Moment.js can help avoid issues with the JavaScript Date object. Overall, the document emphasizes considering multiple perspectives, distinguishing between absolute and local time, remembering time zones are not static, and avoiding assumptions regarding dates and times.
Date and time can be complicated due to different perspectives of local time versus coordinated universal time and assumptions that do not always hold true. Time zones are political and subject to change, and date and time calculations involve subtleties around daylight saving time transitions, leap years, and distinguishing between date math and time math. To properly work with dates and times, it is important to consider all perspectives, make no assumptions, use a quality library like Moment.js that handles time zone and parsing complexities, and remember that time zones are not fixed and can change rapidly.
The document discusses various perspectives and assumptions related to working with dates and times. It explains that dates and times can be viewed differently depending on location and time zone. Common assumptions around dates and times, such as the number of hours in a day or that time zone offsets never change, are problematic. The document emphasizes considering multiple perspectives, distinguishing between local and absolute time, accounting for time zone changes, using quality libraries, and avoiding assumptions when working with dates and times.
The document discusses Date objects and methods in JavaScript. It provides details on how to create Date objects using the Date() constructor with different argument types (no arguments, milliseconds, date string). It then lists and describes numerous methods for getting and setting properties of Date objects like getDate(), getDay(), setHours(), etc. It also includes an example of a digital clock created using Date methods that updates the time every second.
1. The document discusses the new Date and Time API (JSR 310) for Java, which is based on the ISO 8601 standard.
2. It provides details on date, time, duration, and period representations, conversions between different date/time objects, and examples of using the API.
3. The API includes classes like LocalDate, LocalDateTime, OffsetDateTime, ZonedDateTime, Instant, Duration, and Period to represent dates, times, durations, and periods.
The document summarizes the new Java 8 Date & Time API. It discusses problems with the old Date and Calendar classes, including inconsistent behavior and lack of thread safety. It then overviews the new API, which was influenced by Joda-Time and aims to distinguish machine and human views of time. Key aspects covered include Instant, LocalDate, Duration, and formatting/parsing utilities. The new API provides a more clear and consistent model for working with dates and times in Java.
The document discusses the JSR 310 Date and Time API, which provides a new date and time API for Java based on the ISO 8601 standard. It introduces key classes like LocalDate, LocalDateTime, and ZonedDateTime. It describes representations of dates, times, durations, and periods. It also covers conversions between different date/time objects, formatting, and support for different chronologies.
The document discusses dates and times in Java. It covers the older Date and Calendar classes, which had limitations, as well as the newer java.time package introduced in Java 8, which provides a clearer and more extensive set of date and time classes and methods. The main classes in java.time include LocalDate for dates without times, LocalTime for times without dates, and LocalDateTime for combining dates and times.
OLAP – Creating Cubes with SQL Server Analysis ServicesPeter Gfader
This document provides information about a SQL Server 2008 for Business Intelligence short course. The course aims to help developers step to the next level by learning modern engineering practices using Visual Studio 2010, Team Foundation Server, and the Scrum framework. Certifications are available upon completion of assessments. Contact and resource details are provided for the course instructor Peter Gfader, including his areas of specialization and online profiles. An overview of the course schedule and topics is also given.
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case StudyMongoDB
The document summarizes an IOT ETL performance case study where the author collected water and electric meter data and loaded it into a database. The initial load of over 90 million documents from a 10GB file into a MongoDB database took over 4 hours. The author then redesigned the data schema, splitting it into hourly documents to improve query performance. This reduced the processing time to just 3 minutes and the data size to 13MB. The key lessons were that changing the data schema and using batch writes with multiple workers can dramatically improve ETL and query performance.
#NoEstimates project planning using Monte Carlo simulationDimitar Bakardzhiev
Here is the text behind the slides http://www.infoq.com/articles/noestimates-monte-carlo
Here is a video I prepared in order to help people understand how to plan a release using the Monte Carlo simulation in MS Excel http://youtu.be/r38a25ak4co
And here is an Excel file to show how Monte Carlo is done http://modernmanagement.bg/data/NoEstimate_Project_Planning_MonteCarlo.xlsx
Here are the SIPs for the baseline project http://modernmanagement.bg/data/SIPs_MonteCarlo_FVR.xlsx
Here is the planing simulation in Excel http://modernmanagement.bg/data/High_Level_Project_Planning.xlsx
The video ( after the 3:00 minute) http://youtu.be/GE9vrJ741WY on how to use the Excel files
Designing systems to use Cassandra can be difficult for programmers used to relational databases, normalisation and entity relationship diagrams. One of the first steps in designing the tables for Cassandra is to model the CQL commands that will be run and use these to designate tables, but how to get these statements from the users requirements? Sun modelling is a technique used by designers of OLAP systems to gather requirements from users without having to explain the intricacies of Star Schema. In this talk we'll introduce Sun modelling and show how it can be simply modified to gather requirements for CQL queries and hence table design.
The document discusses working with dates and times in Java. It covers the Date class, Calendar class, formatting dates, parsing strings into dates, and performing date/time operations and comparisons. The Date class represents a specific instant in time and provides methods for getting dates, comparing dates, and formatting dates. The Calendar class provides methods for converting between dates and calendar fields like month, day, year, and manipulating calendar fields. Formatting dates can be done using SimpleDateFormat, printf, or other methods.
This presentations shows how to create a time/date dimension for PowerPivot from the date data in your fact table. I also shows the DAX functions that you can use to add columns to the fact table or a separate dimension table.
How to schedule_a_project_in_ms_project_2003bebocole
This document provides guidance on how to schedule a project in Microsoft Project 2003. It discusses setting up the project, entering tasks, estimates, dependencies, constraints, resources, and assigning resources. It also covers optimizing the schedule for time and time/cost by highlighting the critical path and making changes to longest/most expensive tasks. The overall process involves setting up the project details, entering and estimating all tasks, defining dependencies and resources, and then optimizing the schedule.
Search Analytics Component: Presented by Steven Bower, Bloomberg L.P.Lucidworks
This document describes Bloomberg's development of a search analytics component for Solr. It was created by their search team to enable complex calculations and aggregations on numerical time-series data. Key features include statistical and mathematical expressions to facet and analyze data, supporting int, long, float, date and string fields. Examples show calculating a weighted average and variance. Future plans include multi-shard support and filtering result sets based on calculated statistics.
This document discusses working with dates and times in R using the lubridate and ggplot2 packages. It covers parsing dates and times from strings, accessing date-time elements, manipulating date-times by adding or subtracting time spans, and performing arithmetic on date-times and time spans. Different types of time spans like durations, periods, and intervals are also introduced along with converting between them.
Have you ever dreamed about traveling through time? Now you can with temporal tables in SQL Server! Find out what temporal tables are and how they are completely different from tempdb, temp tables, and other temporary things you might already be familiar with. Join us on our journey from discovery to practical uses as we look at ways you can start using them to help with issues you are facing. Presented at the November 2017 Salt Lake City SQL Server User Group.
Analytics in Action: Project Analytics: Visibility that Aids Risk ManagementHannah Flynn
Product Managers face changes that put delivery at risk. Just as you use data from the customer to inform your solutions, transparency during the building of those solutions is critical for making better risk mitigation decisions. Whether your solution has fixed scope, fixed scheduling, fixed resources or fixed level of quality, the earlier you can know when these are at risk (and how) the better. The more clear the picture, the better you can understand the impacts of changes, and the more effectively you can deliver the solution the customer needs, when they need it, at a reasonable cost.
This session will focus on the use of a One-Dimensional Product Backlog from a risk management point of view. We will show how this tool can be used to monitor and evaluate how your solution is getting built, and a clear view of any cascading impacts risks have as they surface.
Project Analytics: Visibility that Aids Risk ManagementAggregage
Product Managers face changes that put delivery at risk. Just as you use data from the customer to inform your solutions, transparency during the building of those solutions is critical for making better risk mitigation decisions. Whether your solution has fixed scope, fixed scheduling, fixed resources or fixed level of quality, the earlier you can know when these are at risk (and how) the better. The more clear the picture, the better you can understand the impacts of changes, and the more effectively you can deliver the solution the customer needs, when they need it, at a reasonable cost. This session will focus on the use of a One-Dimensional Product Backlog from a risk management point of view. We will show how this tool can be used to monitor and evaluate how your solution is getting built, and a clear view of any cascading impacts risks have as they surface.
This document discusses working with dates and times in Ruby. It provides examples of getting the current date and time, extracting components of dates and times like year, month, day, and formatting dates and times in different formats. It also covers time arithmetic, timezones, and daylight savings time.
Five Data Models for Sharding | Nordic PGDay 2018 | Craig KerstiensCitus Data
Whether you’re working with a distributed system or an MPP database, a key factor in the flexibility you get with the system is how you shard or partition your data. Do you do it by customer, time, or some random uuid? Here we’ll walk through five different approaches to sharding your data and when you should consider each. If you’re thinking you need to scale beyond a single node this will give you the start of your roadmap for doing so.
Five data models for sharding and which is right | PGConf.ASIA 2018 | Craig K...Citus Data
Whether you’re working with a single node database, a distributed system, or an MPP database, a key factor in the flexibility you get with the system is how you shard or partition your data. Do you do it by customer, time, or some random uuid? Here we’ll walk through five different approaches to sharding your data and when you should consider each. If you’re thinking you need to scale beyond a single node this will give you the start of your roadmap for doing so. We’ll cover the basics of how you can do this directly in Postgres as well as principles that apply generically to any database.
These slides explores php date and time library. You will find, what is UNIX time stamp, how to use php's date functions. A beginner introduction by programmer blog
The document discusses guidelines for class design in object-oriented programming. It covers topics like encapsulation, immutability, and writing classes with clear interfaces. It provides examples of designing a Day class to represent dates and discusses different implementations, highlighting the importance of encapsulation and avoiding side effects. Programming by contract and using preconditions to define method responsibilities are also covered.
Custom Software Development: Types, Applications and Benefits.pdfDigital Aptech
Discover the different types of custom software, their real-world applications across industries, and the key benefits they offer. Learn how tailored solutions improve efficiency, scalability, and business performance in this comprehensive overview.
AI Alternative - Discover the best AI tools and their alternativesAI Alternative
AIAlternative.co is a comprehensive directory designed to help users discover, compare, and evaluate AI tools across various domains. Its primary goal is to assist individuals and businesses in finding the most suitable AI solutions tailored to their specific needs.
Key Features
- Curated AI Tool Listings: The platform offers detailed information on a wide range of AI tools, including their functionalities, use cases, and alternatives. This allows users to make informed decisions based on their requirements.
- Alternative Suggestions: For each listed AI tool, aialternative.co provides suggestions for similar or alternative tools, facilitating easier comparison and selection.
- Regular Updates: The directory is consistently updated to include the latest AI innovations, ensuring users have access to the most current tools available in the market.
Browse All Tools here: https://aialternative.co/
More Related Content
Similar to Data Wrangling: Working with Date / Time Data and Visualizing It (20)
The document discusses the JSR 310 Date and Time API, which provides a new date and time API for Java based on the ISO 8601 standard. It introduces key classes like LocalDate, LocalDateTime, and ZonedDateTime. It describes representations of dates, times, durations, and periods. It also covers conversions between different date/time objects, formatting, and support for different chronologies.
The document discusses dates and times in Java. It covers the older Date and Calendar classes, which had limitations, as well as the newer java.time package introduced in Java 8, which provides a clearer and more extensive set of date and time classes and methods. The main classes in java.time include LocalDate for dates without times, LocalTime for times without dates, and LocalDateTime for combining dates and times.
OLAP – Creating Cubes with SQL Server Analysis ServicesPeter Gfader
This document provides information about a SQL Server 2008 for Business Intelligence short course. The course aims to help developers step to the next level by learning modern engineering practices using Visual Studio 2010, Team Foundation Server, and the Scrum framework. Certifications are available upon completion of assessments. Contact and resource details are provided for the course instructor Peter Gfader, including his areas of specialization and online profiles. An overview of the course schedule and topics is also given.
MongoDB World 2018: Overnight to 60 Seconds: An IOT ETL Performance Case StudyMongoDB
The document summarizes an IOT ETL performance case study where the author collected water and electric meter data and loaded it into a database. The initial load of over 90 million documents from a 10GB file into a MongoDB database took over 4 hours. The author then redesigned the data schema, splitting it into hourly documents to improve query performance. This reduced the processing time to just 3 minutes and the data size to 13MB. The key lessons were that changing the data schema and using batch writes with multiple workers can dramatically improve ETL and query performance.
#NoEstimates project planning using Monte Carlo simulationDimitar Bakardzhiev
Here is the text behind the slides http://www.infoq.com/articles/noestimates-monte-carlo
Here is a video I prepared in order to help people understand how to plan a release using the Monte Carlo simulation in MS Excel http://youtu.be/r38a25ak4co
And here is an Excel file to show how Monte Carlo is done http://modernmanagement.bg/data/NoEstimate_Project_Planning_MonteCarlo.xlsx
Here are the SIPs for the baseline project http://modernmanagement.bg/data/SIPs_MonteCarlo_FVR.xlsx
Here is the planing simulation in Excel http://modernmanagement.bg/data/High_Level_Project_Planning.xlsx
The video ( after the 3:00 minute) http://youtu.be/GE9vrJ741WY on how to use the Excel files
Designing systems to use Cassandra can be difficult for programmers used to relational databases, normalisation and entity relationship diagrams. One of the first steps in designing the tables for Cassandra is to model the CQL commands that will be run and use these to designate tables, but how to get these statements from the users requirements? Sun modelling is a technique used by designers of OLAP systems to gather requirements from users without having to explain the intricacies of Star Schema. In this talk we'll introduce Sun modelling and show how it can be simply modified to gather requirements for CQL queries and hence table design.
The document discusses working with dates and times in Java. It covers the Date class, Calendar class, formatting dates, parsing strings into dates, and performing date/time operations and comparisons. The Date class represents a specific instant in time and provides methods for getting dates, comparing dates, and formatting dates. The Calendar class provides methods for converting between dates and calendar fields like month, day, year, and manipulating calendar fields. Formatting dates can be done using SimpleDateFormat, printf, or other methods.
This presentations shows how to create a time/date dimension for PowerPivot from the date data in your fact table. I also shows the DAX functions that you can use to add columns to the fact table or a separate dimension table.
How to schedule_a_project_in_ms_project_2003bebocole
This document provides guidance on how to schedule a project in Microsoft Project 2003. It discusses setting up the project, entering tasks, estimates, dependencies, constraints, resources, and assigning resources. It also covers optimizing the schedule for time and time/cost by highlighting the critical path and making changes to longest/most expensive tasks. The overall process involves setting up the project details, entering and estimating all tasks, defining dependencies and resources, and then optimizing the schedule.
Search Analytics Component: Presented by Steven Bower, Bloomberg L.P.Lucidworks
This document describes Bloomberg's development of a search analytics component for Solr. It was created by their search team to enable complex calculations and aggregations on numerical time-series data. Key features include statistical and mathematical expressions to facet and analyze data, supporting int, long, float, date and string fields. Examples show calculating a weighted average and variance. Future plans include multi-shard support and filtering result sets based on calculated statistics.
This document discusses working with dates and times in R using the lubridate and ggplot2 packages. It covers parsing dates and times from strings, accessing date-time elements, manipulating date-times by adding or subtracting time spans, and performing arithmetic on date-times and time spans. Different types of time spans like durations, periods, and intervals are also introduced along with converting between them.
Have you ever dreamed about traveling through time? Now you can with temporal tables in SQL Server! Find out what temporal tables are and how they are completely different from tempdb, temp tables, and other temporary things you might already be familiar with. Join us on our journey from discovery to practical uses as we look at ways you can start using them to help with issues you are facing. Presented at the November 2017 Salt Lake City SQL Server User Group.
Analytics in Action: Project Analytics: Visibility that Aids Risk ManagementHannah Flynn
Product Managers face changes that put delivery at risk. Just as you use data from the customer to inform your solutions, transparency during the building of those solutions is critical for making better risk mitigation decisions. Whether your solution has fixed scope, fixed scheduling, fixed resources or fixed level of quality, the earlier you can know when these are at risk (and how) the better. The more clear the picture, the better you can understand the impacts of changes, and the more effectively you can deliver the solution the customer needs, when they need it, at a reasonable cost.
This session will focus on the use of a One-Dimensional Product Backlog from a risk management point of view. We will show how this tool can be used to monitor and evaluate how your solution is getting built, and a clear view of any cascading impacts risks have as they surface.
Project Analytics: Visibility that Aids Risk ManagementAggregage
Product Managers face changes that put delivery at risk. Just as you use data from the customer to inform your solutions, transparency during the building of those solutions is critical for making better risk mitigation decisions. Whether your solution has fixed scope, fixed scheduling, fixed resources or fixed level of quality, the earlier you can know when these are at risk (and how) the better. The more clear the picture, the better you can understand the impacts of changes, and the more effectively you can deliver the solution the customer needs, when they need it, at a reasonable cost. This session will focus on the use of a One-Dimensional Product Backlog from a risk management point of view. We will show how this tool can be used to monitor and evaluate how your solution is getting built, and a clear view of any cascading impacts risks have as they surface.
This document discusses working with dates and times in Ruby. It provides examples of getting the current date and time, extracting components of dates and times like year, month, day, and formatting dates and times in different formats. It also covers time arithmetic, timezones, and daylight savings time.
Five Data Models for Sharding | Nordic PGDay 2018 | Craig KerstiensCitus Data
Whether you’re working with a distributed system or an MPP database, a key factor in the flexibility you get with the system is how you shard or partition your data. Do you do it by customer, time, or some random uuid? Here we’ll walk through five different approaches to sharding your data and when you should consider each. If you’re thinking you need to scale beyond a single node this will give you the start of your roadmap for doing so.
Five data models for sharding and which is right | PGConf.ASIA 2018 | Craig K...Citus Data
Whether you’re working with a single node database, a distributed system, or an MPP database, a key factor in the flexibility you get with the system is how you shard or partition your data. Do you do it by customer, time, or some random uuid? Here we’ll walk through five different approaches to sharding your data and when you should consider each. If you’re thinking you need to scale beyond a single node this will give you the start of your roadmap for doing so. We’ll cover the basics of how you can do this directly in Postgres as well as principles that apply generically to any database.
These slides explores php date and time library. You will find, what is UNIX time stamp, how to use php's date functions. A beginner introduction by programmer blog
The document discusses guidelines for class design in object-oriented programming. It covers topics like encapsulation, immutability, and writing classes with clear interfaces. It provides examples of designing a Day class to represent dates and discusses different implementations, highlighting the importance of encapsulation and avoiding side effects. Programming by contract and using preconditions to define method responsibilities are also covered.
Custom Software Development: Types, Applications and Benefits.pdfDigital Aptech
Discover the different types of custom software, their real-world applications across industries, and the key benefits they offer. Learn how tailored solutions improve efficiency, scalability, and business performance in this comprehensive overview.
AI Alternative - Discover the best AI tools and their alternativesAI Alternative
AIAlternative.co is a comprehensive directory designed to help users discover, compare, and evaluate AI tools across various domains. Its primary goal is to assist individuals and businesses in finding the most suitable AI solutions tailored to their specific needs.
Key Features
- Curated AI Tool Listings: The platform offers detailed information on a wide range of AI tools, including their functionalities, use cases, and alternatives. This allows users to make informed decisions based on their requirements.
- Alternative Suggestions: For each listed AI tool, aialternative.co provides suggestions for similar or alternative tools, facilitating easier comparison and selection.
- Regular Updates: The directory is consistently updated to include the latest AI innovations, ensuring users have access to the most current tools available in the market.
Browse All Tools here: https://aialternative.co/
Explore the professional resume of Pramod Kumar, a skilled iOS developer with extensive experience in Swift, SwiftUI, and mobile app development. This portfolio highlights key projects, technical skills, and achievements in app design and development, showcasing expertise in creating intuitive, high-performance iOS applications. Ideal for recruiters and tech managers seeking a talented iOS engineer for their team.
How a Staff Augmentation Company IN USA Powers Flutter App Breakthroughs.pdfmary rojas
With local teams and talent aligned with U.S. business hours, a staff augmentation company in the USA enables real-time communication, faster decision-making, and better project coordination. This ensures smoother workflows compared to offshore-only models, especially for companies requiring tight collaboration.
Delivering More with Less: AI Driven Resource Management with OnePlan OnePlan Solutions
Delivering more with less is an age-old problem. Smaller budgets, leaner teams, and greater uncertainty make the path to success unclear. Combat these issues with confidence by leveraging the best practices that help PMOs balance workloads, predict bottlenecks, and ensure resources are deployed effectively, using OnePlan’s AI forecasting capabilities, especially when organizations must deliver more with fewer people.
How to purchase, license and subscribe to Microsoft Azure_PDF.pdfvictordsane
Microsoft Azure is a cloud platform that empowers businesses with scalable computing, data analytics, artificial intelligence, and cybersecurity capabilities.
Arguably the biggest hurdle for most organizations is understanding how to get started.
Microsoft Azure is a consumption-based cloud service. This means you pay for what you use. Unlike traditional software, Azure resources (e.g., VMs, databases, storage) are billed based on usage time, storage size, data transfer, or resource configurations.
There are three primary Azure purchasing models:
• Pay-As-You-Go (PAYG): Ideal for flexibility. Billed monthly based on actual usage.
• Azure Reserved Instances (RI): Commit to 1- or 3-year terms for predictable workloads. This model offers up to 72% cost savings.
• Enterprise Agreements (EA): Best suited for large organizations needing comprehensive Azure solutions and custom pricing.
Licensing Azure: What You Need to Know
Azure doesn’t follow the traditional “per seat” licensing model. Instead, you pay for:
• Compute Hours (e.g., Virtual Machines)
• Storage Used (e.g., Blob, File, Disk)
• Database Transactions
• Data Transfer (Outbound)
Purchasing and subscribing to Microsoft Azure is more than a transactional step, it’s a strategic move.
Get in touch with our team of licensing experts via [email protected] to further understand the purchasing paths, licensing options, and cost management tools, to optimize your investment.
UberEats clone app Development TechBuilderTechBuilder
Our food delivery app development solutions are designed to cater to varied business models, whether you are a startup aiming to scale, an enterprise-class business, or a niche player. With scalability, easy-to-use interfaces, and powerful AI capabilities, our solutions scale with your vision.
For more Please Visit Here : https://techbuilder.ai/food-delivery-app-development/
Build enterprise-ready applications using skills you already have!PhilMeredith3
Process Tempo is a rapid application development (RAD) environment that empowers data teams to create enterprise-ready applications using skills they already have.
With Process Tempo, data teams can craft beautiful, pixel-perfect applications the business will love.
Process Tempo combines features found in business intelligence tools, graphic design tools and workflow solutions - all in a single platform.
Process Tempo works with all major databases such as Databricks, Snowflake, Postgres and MySQL. It also works with leading graph database technologies such as Neo4j, Puppy Graph and Memgraph.
It is the perfect platform to accelerate the delivery of data-driven solutions.
For more information, you can find us at www.processtempo.com
Top 10 Mobile Banking Apps in the USA.pdfLL Technolab
📱💸 Top Mobile Banking Apps in the USA!
Are you thinking to invest in mobile banking apps in USA? If yes, then explore this infographic and know the top 10 digital banking apps which creating ripples in USA. From seamless money transfers to powerful budgeting tools, these apps are redefining how America banks on the go.
How John started to like TDD (instead of hating it) (ViennaJUG, June'25)Nacho Cougil
Let me share a story about how John (a developer like any other) started to understand (and enjoy) writing Tests before the Production code.
We've all felt an inevitable "tedium" when writing tests, haven't we? If it's boring, if it's complicated or unnecessary? Isn't it? John thought so too, and, as much as he had heard about writing tests before production code, he had never managed to put it into practice, and even when he had tried, John had become even more frustrated at not understanding how to put it into practice outside of a few examples katas 🤷♂️
Listen to this story in which I will explain how John went from not understanding Test Driven Development (TDD) to being passionate about it... so much that now he doesn't want to work any other way 😅 ! He must have found some benefits in practising it, right? He says he has more advantages than working in any other way (e.g., you'll find defects earlier, you'll have a faster feedback loop or your code will be easier to refactor), but I'd better explain it to you in the session, right?
PS: Think of John as a random person, as if he was even the speaker of this talk 😉 !
---
Presentation shared at ViennaJUG, June'25
Feedback form:
https://bit.ly/john-like-tdd-feedback
How AI Can Improve Media Quality Testing Across Platforms (1).pptxkalichargn70th171
Media platforms, from video streaming to OTT and Smart TV apps, face unprecedented pressure to deliver seamless, high-quality experiences across diverse devices and networks. Ensuring top-notch Quality of Experience (QoE) is critical for user satisfaction and retention.
AI-ASSISTED METAMORPHIC TESTING FOR DOMAIN-SPECIFIC MODELLING AND SIMULATIONmiso_uam
AI-ASSISTED METAMORPHIC TESTING FOR DOMAIN-SPECIFIC MODELLING AND SIMULATION (plenary talk at ANNSIM'2025)
Testing is essential to improve the correctness of software systems. Metamorphic testing (MT) is an approach especially suited when the system under test lacks oracles, or they are expensive to compute. However, building an MT environment for a particular domain (e.g., cloud simulation, automated driving simulation, production system simulation, etc) requires substantial effort.
To alleviate this problem, we propose a model-driven engineering approach to automate the construction of MT environments, which is especially useful to test domain-specific modelling and simulation systems. Starting from a meta-model capturing the domain concepts, and a description of the domain execution environment, our approach produces an MT environment featuring comprehensive support for the MT process. This includes the definition of domain-specific metamorphic relations, their evaluation, detailed reporting of the testing results, and the automated search-based generation of follow-up test cases.
In this talk, I presented the approach, along with ongoing work and perspectives for integrating intelligence assistance based on large language models in the MT process. The work is a joint collaboration with Pablo Gómez-Abajo, Pablo C. Cañizares and Esther Guerra from the miso research group and Alberto Núñez from UCM.
2. Kan Nishida
co-founder/CEO
Exploratory
Summary
Beginning of 2016, launched Exploratory, Inc. to make
Data Science available for everyone.
Prior to Exploratory, Kan was a director of development at
Oracle leading development teams for building various
Data Science products in areas including Machine
Learning, BI, Data Visualization, Mobile Analytics, Big Data,
etc.
While at Oracle, Kan also provided training and consulting
services to help organizations transform with data.
@KanAugust
Instructor
7. Questions
What you can do with Exploratory
CommunicationData Access
Data Wrangling
Visualization
Machine Learning /
Statistics
Exploratory
Data
Analysis
10. • User Activity Data
• Each row represents an user access for a fictional online service.
• There are 6 columns, timestamp, user id, event type, IP address,
OS, and OS version.
• Download EDF
Data
12. Questions
1. What is the duration (date range) of this data?
2. What is DAU (Daily Active Users) and how it’s
been changed over time?
3. Which days of week (e.g. Monday) and hours
are more active?
18. Character vs. Date/Time
Date data is recognized as character.
Dates duration is
igonored
Sorted as
character.
e.g. 10 (Oct.)
comes after 1
(Jan)
Data: Date-unicorn.csv
19. Character vs. Date/Time
Various transformation on date data is available
Data is sorted as dates.
Duration
honors
date
interval.
22. By making it to Date & Time data type, you
can do a lot of cool things.
23. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
24. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
27. Only codes you need to know
• Year
• Month
• Day
• Hour
• Minute
• Second
33. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
46. Ordinal - Ordered Factor
• Month, Day of Week should
be sorted in the natural
order.
• R’s factor data type
supports ‘Order’ information.
• Functions like ‘wday’,
‘month’, take care of it.
47. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
56. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
57. 3 weeks
4 weeks
2 weeks
First Date Last Date
First Date Last Date
First Date Last Date
Duration
64. From Column Header Menu
1. Select “Change Data Type”
2. Select “Convert to Number”
3. Select “Days”
2. Convert the lifetime to numeric data type (in days)
67. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
81. 1. Convert Character to Date / Time
2. Extract Date / Time Attributes
3. Filter with Date / Time
4. Duration
5. Round Date / Time
6. Timezone
Common Tasks
82. • We have Temperature Data of London and Tokyo
• Each row represents a temperature for a certain date/time in year 2016.
There are 17,498 temperature data of London and 19,489 temperature
data of Tokyo
• Each temperature record has date/time, longitude, latitude, temperature,
etc
• Filename: Date-London-temp.csv and Date-Tokyo-temp.csv
Timezone - Data
88. For London, 2:00pm is the peak of
Average temperature
→ It sounds reasonable.
For Tokyo, 5:00am is the peak of
Average temperature
→ ???
When you compare hourly temperature data
between London and Tokyo
Data: Date-London-temp.csv, Date-Tokyo-temp.csv
89. • From the hourly temperature data of Tokyo, I want to know what time is
the most hot in the day, but the time indicated by the date / time data
is different from the actual time in Tokyo
• We would like to compare average hourly temperatures of two cities
with different time zones
Problem
90. 2PM JST (Japan Standard Time)
2PM GMT (Greenwich Mean Time)
Timezone
92. UTC (Coordinated Universal Time)
• It is the base point for all other time zones in the world
• POSIXct is basically based on the UTC
• UTC and GMT (Greenwich Mean Time) are almost identical. (→ That is
why the hourly temperature data for London is displayed correctly on
the previous chart.)
96. with_tz
# Append Timezone information
with_tz(ymd_hms("2015-10-01 02:20:34”))
→ "2015-09-30 19:20:34 PDT"
Default value of with_tz is local
machine’s timezone.
In this example, PDT (Pacific
Daylight Time)
97. with_tz(ymd_hms("2015-10-01 02:20:34”))
→ "2015-09-30 19:20:34 PDT"
with_tz(ymd_hms("2015-10-01 02:20:34"), tz = "Asia/Tokyo")
→ "2015-10-01 11:20:34 JST"
with_tz
By specifying timezone information,
You can convert date/time to any
timezone
101. lubridate
Do more with dates and times in R
https://lubridate.tidyverse.org
Garrett Grolemund Hadley Wickham Vitalie Spinu
103. January 15th (Tuesday), 2019
• Data Wrangling: Working with Text Data
Planned
• Analytics 101 - When to use which algorithms?
• Data Wrangling: Introduction to Regular Expression
https://exploratory.io/online-seminar