Initial UI Mockup - Part 3 - Transcript.pdfShaiAlmog1
The document discusses code for a dish list form and dish edit form. It summarizes:
1) The dish list form contains a grid layout to display dishes. A floating action button allows adding new dishes. Dishes are displayed with images, titles, and descriptions.
2) The dish edit form displays dish details and allows editing name, price, description, and image. It positions title/button components above the image and positions the delete button at the bottom.
3) Complex layouts are used to precisely position components like the floating action button between the title and body sections. Margin adjustments are made to align components like the button with the toolbar height.
The document provides instructions for setting up a tabbed portal in the Connect interface. It describes creating new tabs by adding JavaScript and CSS code blocks. It also details how to set up tab navigation buttons and filters to display different content for each tab. The tabs can then be styled with additional CSS as needed. The full process installs and configures the necessary components to create a functional tabbed browsing experience for portal content.
12.9 Program Online shopping cart (continued) (C++)This program e.pdffasttracksunglass
12.9 Program: Online shopping cart (continued) (C++)
This program extends the earlier \"Online shopping cart\" program. (Consider first saving your
earlier program).
(1) Extend the ItemToPurchase class per the following specifications:
Parameterized constructor to assign item name, item description, item price, and item quantity
(default values of 0). (1 pt)
Public member functions
SetDescription() mutator & GetDescription() accessor (2 pts)
PrintItemCost() - Outputs the item name followed by the quantity, price, and subtotal
PrintItemDescription() - Outputs the item name and description
Private data members
string itemDescription - Initialized in default constructor to \"none\"
Ex. of PrintItemCost() output:
Ex. of PrintItemDescription() output:
(2) Create three new files:
ShoppingCart.h - Class declaration
ShoppingCart.cpp - Class definition
main.cpp - main() function (Note: main()\'s functionality differs from the warm up)
Build the ShoppingCart class with the following specifications. Note: Some can be function
stubs (empty functions) initially, to be completed in later steps.
Default constructor
Parameterized constructor which takes the customer name and date as parameters (1 pt)
Private data members
string customerName - Initialized in default constructor to \"none\"
string currentDate - Initialized in default constructor to \"January 1, 2016\"
vector < ItemToPurchase > cartItems
Public member functions
GetCustomerName() accessor (1 pt)
GetDate() accessor (1 pt)
AddItem()
Adds an item to cartItems vector. Has parameter ItemToPurchase. Does not return anything.
RemoveItem()
Removes item from cartItems vector. Has a string (an item\'s name) parameter. Does not return
anything.
If item name cannot be found, output this message: Item not found in cart. Nothing removed.
ModifyItem()
Modifies an item\'s description, price, and/or quantity. Has parameter ItemToPurchase. Does not
return anything.
If item can be found (by name) in cart, check if parameter has default values for description,
price, and quantity. If not, modify item in cart.
If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing
modified.
GetNumItemsInCart() (2 pts)
Returns quantity of all items in cart. Has no parameters.
GetCostOfCart() (2 pts)
Determines and returns the total cost of items in cart. Has no parameters.
PrintTotal()
Outputs total of objects in cart.
If cart is empty, output this message: SHOPPING CART IS EMPTY
PrintDescriptions()
Outputs each item\'s description.
Ex. of PrintTotal() output:
Ex. of PrintDescriptions() output:
(3) In main(), prompt the user for a customer\'s name and today\'s date. Output the name and
date. Create an object of type ShoppingCart. (1 pt)
Ex.
(4) Implement the PrintMenu() function. PrintMenu() has a ShoppingCart parameter, and
outputs a menu of options to manipulate the shopping cart. Each option is represented by a single
character. Build and output the menu within the function.
If the an inval.
Initial UI Mockup - Part 3 - Transcript.pdfShaiAlmog1
The document discusses code for a dish list form and dish edit form. It summarizes:
1) The dish list form contains a grid layout to display dishes. A floating action button allows adding new dishes. Dishes are displayed with images, titles, and descriptions.
2) The dish edit form displays dish details and allows editing name, price, description, and image. It positions title/button components above the image and positions the delete button at the bottom.
3) Complex layouts are used to precisely position components like the floating action button between the title and body sections. Margin adjustments are made to align components like the button with the toolbar height.
The document provides instructions for setting up a tabbed portal in the Connect interface. It describes creating new tabs by adding JavaScript and CSS code blocks. It also details how to set up tab navigation buttons and filters to display different content for each tab. The tabs can then be styled with additional CSS as needed. The full process installs and configures the necessary components to create a functional tabbed browsing experience for portal content.
12.9 Program Online shopping cart (continued) (C++)This program e.pdffasttracksunglass
12.9 Program: Online shopping cart (continued) (C++)
This program extends the earlier \"Online shopping cart\" program. (Consider first saving your
earlier program).
(1) Extend the ItemToPurchase class per the following specifications:
Parameterized constructor to assign item name, item description, item price, and item quantity
(default values of 0). (1 pt)
Public member functions
SetDescription() mutator & GetDescription() accessor (2 pts)
PrintItemCost() - Outputs the item name followed by the quantity, price, and subtotal
PrintItemDescription() - Outputs the item name and description
Private data members
string itemDescription - Initialized in default constructor to \"none\"
Ex. of PrintItemCost() output:
Ex. of PrintItemDescription() output:
(2) Create three new files:
ShoppingCart.h - Class declaration
ShoppingCart.cpp - Class definition
main.cpp - main() function (Note: main()\'s functionality differs from the warm up)
Build the ShoppingCart class with the following specifications. Note: Some can be function
stubs (empty functions) initially, to be completed in later steps.
Default constructor
Parameterized constructor which takes the customer name and date as parameters (1 pt)
Private data members
string customerName - Initialized in default constructor to \"none\"
string currentDate - Initialized in default constructor to \"January 1, 2016\"
vector < ItemToPurchase > cartItems
Public member functions
GetCustomerName() accessor (1 pt)
GetDate() accessor (1 pt)
AddItem()
Adds an item to cartItems vector. Has parameter ItemToPurchase. Does not return anything.
RemoveItem()
Removes item from cartItems vector. Has a string (an item\'s name) parameter. Does not return
anything.
If item name cannot be found, output this message: Item not found in cart. Nothing removed.
ModifyItem()
Modifies an item\'s description, price, and/or quantity. Has parameter ItemToPurchase. Does not
return anything.
If item can be found (by name) in cart, check if parameter has default values for description,
price, and quantity. If not, modify item in cart.
If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing
modified.
GetNumItemsInCart() (2 pts)
Returns quantity of all items in cart. Has no parameters.
GetCostOfCart() (2 pts)
Determines and returns the total cost of items in cart. Has no parameters.
PrintTotal()
Outputs total of objects in cart.
If cart is empty, output this message: SHOPPING CART IS EMPTY
PrintDescriptions()
Outputs each item\'s description.
Ex. of PrintTotal() output:
Ex. of PrintDescriptions() output:
(3) In main(), prompt the user for a customer\'s name and today\'s date. Output the name and
date. Create an object of type ShoppingCart. (1 pt)
Ex.
(4) Implement the PrintMenu() function. PrintMenu() has a ShoppingCart parameter, and
outputs a menu of options to manipulate the shopping cart. Each option is represented by a single
character. Build and output the menu within the function.
If the an inval.
Extracting ui Design - part 5 - transcript.pdfShaiAlmog1
The document discusses code for creating the main user interface (UI) form in an app called MainMenuForm. It describes creating a list of menu categories using Codename One's built-in List component. It also describes creating individual dish containers that display each dish's title, description, price and image, including adding buttons and applying image masking to give images rounded corners. The dish containers are then added to the main form.
I finished most of the program, but having trouble with some key fea.pdfhardjasonoco14599
I finished most of the program, but having trouble with some key features. I bolded and italicized
the parts I can\'t figure out, and included them below. I included my code at the bottom. Thanks!
1. I can\'t get my RemoveItem() and ModifyItem() functions to work.
2. GetNumItemsInCart() is returning the wrong value. For example, my cart has 5 chocolate chip
cookies, 1 headphone, and 2 sneakers. GetNumItemsInCart() returns 3 instead of 8 when I output
my shopping cart.
3. When PrintDescriptions() is called, the first letter of my item description is missing. For
example, for the chocolate chip cookies, the description is Semi-sweet. When PrintDescriptions()
is called, it returns emi-sweet, with the S gone.
4. Shopping Cart improperly initialized with default constructor , and I don\'t know why.
12.9 Program: Online shopping cart (continued) (C++)
This program extends the earlier \"Online shopping cart\" program.
(1) Extend the ItemToPurchase class per the following specifications:
Parameterized constructor to assign item name, item description, item price, and item quantity
(default values of 0). (1 pt)
Public member functions
SetDescription() mutator & GetDescription() accessor (2 pts)
PrintItemCost() - Outputs the item name followed by the quantity, price, and subtotal
PrintItemDescription() - Outputs the item name and description
Private data members
string itemDescription - Initialized in default constructor to \"none\"
Ex. of PrintItemCost() output:
Ex. of PrintItemDescription() output:
(2) Create three new files:
ShoppingCart.h - Class declaration
ShoppingCart.cpp - Class definition
main.cpp - main() function (Note: main()\'s functionality differs from the warm up)
Build the ShoppingCart class with the following specifications. Note: Some can be function
stubs (empty functions) initially, to be completed in later steps.
Default constructor
Parameterized constructor which takes the customer name and date as parameters (1 pt)
Private data members
string customerName - Initialized in default constructor to \"none\"
string currentDate - Initialized in default constructor to \"January 1, 2016\"
vector < ItemToPurchase > cartItems
Public member functions
GetCustomerName() accessor (1 pt)
GetDate() accessor (1 pt)
AddItem()
Adds an item to cartItems vector. Has parameter ItemToPurchase. Does not return anything.
RemoveItem()
Removes item from cartItems vector. Has a string (an item\'s name) parameter. Does not return
anything.
If item name cannot be found, output this message: Item not found in cart. Nothing removed.
ModifyItem()
Modifies an item\'s description, price, and/or quantity. Has parameter ItemToPurchase. Does not
return anything.
If item can be found (by name) in cart, check if parameter has default values for description,
price, and quantity. If not, modify item in cart.
If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing
modified.
GetNumItemsInCart() (2 pts)
Returns quantity of all items .
Initial UI Mockup - Part 2 - Transcript.pdfShaiAlmog1
The main class for the top level forms is the base navigation form. Here we have the material commands in the side menu that allow us to navigate to the other top level forms.
The title of the forms is really a text field as it’s editable in place. The trick in making a text field feel like a title is to style it as such which is why we created the NavigationTitle UIID and that style has 0 margin, 1 millimeter of padding with a 5 millimeter white font that’s aligned to the left.
The logo image uses a special rounded scaled logo getter which adapts the logos look to the design of the UI. When we set the property for the logo we automatically
The document discusses changes made to integrate a model with the UI for a restaurant ordering application. Key points:
1) The code was updated to retrieve currency formatting and dish data from the restaurant model instead of hardcoded values, integrating the model with the UI.
2) A listener was added to track changes to the dishes map to automatically recalculate the order total when items are added or removed.
3) Similar code updates were made to the checkout and menu forms to populate them with data from the restaurant model.
4) The contact form retrieves location and phone data from the model instead of hardcoded values. Ordering functionality was also updated to use the model.
5) Top-down development,
Creating an Uber Clone - Part V - Transcript.pdfShaiAlmog1
The document discusses creating a social login form, country picker form, and common code for initializing forms with a black title bar in an Uber clone mobile app built with Codename One.
The social login form allows selecting Facebook or Google accounts and defines some basic styling. The country picker form lists countries and their flags, grouping them by initial letter. Common code is provided to initialize forms with a black title bar that smoothly collapses on scroll. Styles are defined for the black title bar and white title text that animates on collapse.
The document defines an open-ended problem to create a shopping application using Servlet technology. It outlines two pages: 1) A home page with item thumbnails, prices, checkboxes to add to cart, and a submit button. 2) A display page that adds selected items to a cookie and displays them with item codes and prices in a table. The implementation code provides: 1) A home page table with add to cart buttons. 2) A Cart class to add/get items. 3) A servlet to add items to a session cart. 4) Code to display and delete cart items. Screenshots are included but not shown.
How do I - Create a List of Items - Transcript.pdfShaiAlmog1
The document discusses how to create lists in Codename One using a BoxLayout rather than the built-in List class. It recommends using a BoxLayout with the Y axis and adding components, or an InfiniteContainer for larger data sets. Sample code is provided to create a basic list and an contacts list pulling from the device contacts. Key aspects covered include setting the container to scroll, checking array bounds, and loading images asynchronously.
Автоматизация тестирования – безусловный тренд! Но давайте попробуем заглянуть в будущее … Каким будет Автоматизация тестирования и тестирование в целом в 2020 году. В каком направлении развиваться специалистам, какие цели ставить, с какими вызовами бороться. Давайте все вместе попытаемся заглянуть в будущее.
The document discusses the DOM tree and DOM traversal in JavaScript. It defines different types of DOM nodes like element nodes and text nodes. It describes properties and methods for traversing the DOM tree upwards and downwards, as well as selecting groups of elements. It discusses creating, modifying, and removing DOM nodes and common issues around manipulating the DOM tree with innerHTML versus using standard DOM methods.
The Duck Teaches Learn to debug from the masters. Local to production- kill ...ShaiAlmog1
The document outlines an agenda for a workshop on debugging techniques. The workshop covers installing tools, flow and breakpoints debugging, watching variables, Kubernetes debugging, and developer observability. Key techniques discussed include tracepoints, memory debugging, exception breakpoints, object marking, and logs, snapshots, and metrics for observability. The goal is to teach practical debugging skills that can be applied at scale in production environments like Kubernetes.
Extracting ui Design - part 5 - transcript.pdfShaiAlmog1
The document discusses code for creating the main user interface (UI) form in an app called MainMenuForm. It describes creating a list of menu categories using Codename One's built-in List component. It also describes creating individual dish containers that display each dish's title, description, price and image, including adding buttons and applying image masking to give images rounded corners. The dish containers are then added to the main form.
I finished most of the program, but having trouble with some key fea.pdfhardjasonoco14599
I finished most of the program, but having trouble with some key features. I bolded and italicized
the parts I can\'t figure out, and included them below. I included my code at the bottom. Thanks!
1. I can\'t get my RemoveItem() and ModifyItem() functions to work.
2. GetNumItemsInCart() is returning the wrong value. For example, my cart has 5 chocolate chip
cookies, 1 headphone, and 2 sneakers. GetNumItemsInCart() returns 3 instead of 8 when I output
my shopping cart.
3. When PrintDescriptions() is called, the first letter of my item description is missing. For
example, for the chocolate chip cookies, the description is Semi-sweet. When PrintDescriptions()
is called, it returns emi-sweet, with the S gone.
4. Shopping Cart improperly initialized with default constructor , and I don\'t know why.
12.9 Program: Online shopping cart (continued) (C++)
This program extends the earlier \"Online shopping cart\" program.
(1) Extend the ItemToPurchase class per the following specifications:
Parameterized constructor to assign item name, item description, item price, and item quantity
(default values of 0). (1 pt)
Public member functions
SetDescription() mutator & GetDescription() accessor (2 pts)
PrintItemCost() - Outputs the item name followed by the quantity, price, and subtotal
PrintItemDescription() - Outputs the item name and description
Private data members
string itemDescription - Initialized in default constructor to \"none\"
Ex. of PrintItemCost() output:
Ex. of PrintItemDescription() output:
(2) Create three new files:
ShoppingCart.h - Class declaration
ShoppingCart.cpp - Class definition
main.cpp - main() function (Note: main()\'s functionality differs from the warm up)
Build the ShoppingCart class with the following specifications. Note: Some can be function
stubs (empty functions) initially, to be completed in later steps.
Default constructor
Parameterized constructor which takes the customer name and date as parameters (1 pt)
Private data members
string customerName - Initialized in default constructor to \"none\"
string currentDate - Initialized in default constructor to \"January 1, 2016\"
vector < ItemToPurchase > cartItems
Public member functions
GetCustomerName() accessor (1 pt)
GetDate() accessor (1 pt)
AddItem()
Adds an item to cartItems vector. Has parameter ItemToPurchase. Does not return anything.
RemoveItem()
Removes item from cartItems vector. Has a string (an item\'s name) parameter. Does not return
anything.
If item name cannot be found, output this message: Item not found in cart. Nothing removed.
ModifyItem()
Modifies an item\'s description, price, and/or quantity. Has parameter ItemToPurchase. Does not
return anything.
If item can be found (by name) in cart, check if parameter has default values for description,
price, and quantity. If not, modify item in cart.
If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing
modified.
GetNumItemsInCart() (2 pts)
Returns quantity of all items .
Initial UI Mockup - Part 2 - Transcript.pdfShaiAlmog1
The main class for the top level forms is the base navigation form. Here we have the material commands in the side menu that allow us to navigate to the other top level forms.
The title of the forms is really a text field as it’s editable in place. The trick in making a text field feel like a title is to style it as such which is why we created the NavigationTitle UIID and that style has 0 margin, 1 millimeter of padding with a 5 millimeter white font that’s aligned to the left.
The logo image uses a special rounded scaled logo getter which adapts the logos look to the design of the UI. When we set the property for the logo we automatically
The document discusses changes made to integrate a model with the UI for a restaurant ordering application. Key points:
1) The code was updated to retrieve currency formatting and dish data from the restaurant model instead of hardcoded values, integrating the model with the UI.
2) A listener was added to track changes to the dishes map to automatically recalculate the order total when items are added or removed.
3) Similar code updates were made to the checkout and menu forms to populate them with data from the restaurant model.
4) The contact form retrieves location and phone data from the model instead of hardcoded values. Ordering functionality was also updated to use the model.
5) Top-down development,
Creating an Uber Clone - Part V - Transcript.pdfShaiAlmog1
The document discusses creating a social login form, country picker form, and common code for initializing forms with a black title bar in an Uber clone mobile app built with Codename One.
The social login form allows selecting Facebook or Google accounts and defines some basic styling. The country picker form lists countries and their flags, grouping them by initial letter. Common code is provided to initialize forms with a black title bar that smoothly collapses on scroll. Styles are defined for the black title bar and white title text that animates on collapse.
The document defines an open-ended problem to create a shopping application using Servlet technology. It outlines two pages: 1) A home page with item thumbnails, prices, checkboxes to add to cart, and a submit button. 2) A display page that adds selected items to a cookie and displays them with item codes and prices in a table. The implementation code provides: 1) A home page table with add to cart buttons. 2) A Cart class to add/get items. 3) A servlet to add items to a session cart. 4) Code to display and delete cart items. Screenshots are included but not shown.
How do I - Create a List of Items - Transcript.pdfShaiAlmog1
The document discusses how to create lists in Codename One using a BoxLayout rather than the built-in List class. It recommends using a BoxLayout with the Y axis and adding components, or an InfiniteContainer for larger data sets. Sample code is provided to create a basic list and an contacts list pulling from the device contacts. Key aspects covered include setting the container to scroll, checking array bounds, and loading images asynchronously.
Автоматизация тестирования – безусловный тренд! Но давайте попробуем заглянуть в будущее … Каким будет Автоматизация тестирования и тестирование в целом в 2020 году. В каком направлении развиваться специалистам, какие цели ставить, с какими вызовами бороться. Давайте все вместе попытаемся заглянуть в будущее.
The document discusses the DOM tree and DOM traversal in JavaScript. It defines different types of DOM nodes like element nodes and text nodes. It describes properties and methods for traversing the DOM tree upwards and downwards, as well as selecting groups of elements. It discusses creating, modifying, and removing DOM nodes and common issues around manipulating the DOM tree with innerHTML versus using standard DOM methods.
Similar to Extracting ui Design - part 4 - transcript.pdf (20)
The Duck Teaches Learn to debug from the masters. Local to production- kill ...ShaiAlmog1
The document outlines an agenda for a workshop on debugging techniques. The workshop covers installing tools, flow and breakpoints debugging, watching variables, Kubernetes debugging, and developer observability. Key techniques discussed include tracepoints, memory debugging, exception breakpoints, object marking, and logs, snapshots, and metrics for observability. The goal is to teach practical debugging skills that can be applied at scale in production environments like Kubernetes.
The document describes code for implementing the server-side functionality of a WhatsApp clone. It includes classes for representing users, messages, and server connections. The Server class initializes user and message data from files, handles login/signup, and establishes a websocket connection for real-time messaging. It can send and receive messages when connected, or queue messages when offline.
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.
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.
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc
How does your privacy program stack up against your peers? What challenges are privacy teams tackling and prioritizing in 2024?
In the fifth annual Global Privacy Benchmarks Survey, we asked over 1,800 global privacy professionals and business executives to share their perspectives on the current state of privacy inside and outside of their organizations. This year’s report focused on emerging areas of importance for privacy and compliance professionals, including considerations and implications of Artificial Intelligence (AI) technologies, building brand trust, and different approaches for achieving higher privacy competence scores.
See how organizational priorities and strategic approaches to data security and privacy are evolving around the globe.
This webinar will review:
- The top 10 privacy insights from the fifth annual Global Privacy Benchmarks Survey
- The top challenges for privacy leaders, practitioners, and organizations in 2024
- Key themes to consider in developing and maintaining your privacy program
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
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
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
“An Outlook of the Ongoing and Future Relationship between Blockchain Technologies and Process-aware Information Systems.” Invited talk at the joint workshop on Blockchain for Information Systems (BC4IS) and Blockchain for Trusted Data Sharing (B4TDS), co-located with with the 36th International Conference on Advanced Information Systems Engineering (CAiSE), 3 June 2024, Limassol, Cyprus.
Full-RAG: A modern architecture for hyper-personalizationZilliz
Mike Del Balso, CEO & Co-Founder at Tecton, presents "Full RAG," a novel approach to AI recommendation systems, aiming to push beyond the limitations of traditional models through a deep integration of contextual insights and real-time data, leveraging the Retrieval-Augmented Generation architecture. This talk will outline Full RAG's potential to significantly enhance personalization, address engineering challenges such as data management and model training, and introduce data enrichment with reranking as a key solution. Attendees will gain crucial insights into the importance of hyperpersonalization in AI, the capabilities of Full RAG for advanced personalization, and strategies for managing complex data integrations for deploying cutting-edge AI solutions.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceIndexBug
Imagine a world where machines not only perform tasks but also learn, adapt, and make decisions. This is the promise of Artificial Intelligence (AI), a technology that's not just enhancing our lives but revolutionizing entire industries.
3. Toolbar tb = getToolbar();
tb.setUIID("Container");
tb.addSearchCommand(e -> onSearch((String)e.getSource()));
tb.addMaterialCommandToSideMenu("Shopping Cart",
FontImage.MATERIAL_SHOPPING_CART, e -> {});
Label filler = new Label(" ");
filler.setPreferredSize(getTitleArea().getPreferredSize());
currentOrderValue = new Label("Your Order: " +
L10NManager.getInstance().formatCurrency(0),
"YourOrder");
Button cart = new Button("", "ShoppingCart");
cart.addActionListener(e -> CheckoutForm.showCheckOut());
FontImage.setMaterialIcon(cart, FontImage.MATERIAL_SHOPPING_CART);
BaseForm
The init method of the base form initializes the common pieces including the search entry which is currently just a search command. It doesn’t do anything right now and
is there mostly for the icon
4. Toolbar tb = getToolbar();
tb.setUIID("Container");
tb.addSearchCommand(e -> onSearch((String)e.getSource()));
tb.addMaterialCommandToSideMenu("Shopping Cart",
FontImage.MATERIAL_SHOPPING_CART, e -> {});
Label filler = new Label(" ");
filler.setPreferredSize(getTitleArea().getPreferredSize());
currentOrderValue = new Label("Your Order: " +
L10NManager.getInstance().formatCurrency(0),
"YourOrder");
Button cart = new Button("", "ShoppingCart");
cart.addActionListener(e -> CheckoutForm.showCheckOut());
FontImage.setMaterialIcon(cart, FontImage.MATERIAL_SHOPPING_CART);
BaseForm
The PSD didn’t include a design for the side menu. It included only the icon indicating the side menu is there. I added a side menu entry to make the icon appear but it
doesn’t have any functionality or design.
5. Toolbar tb = getToolbar();
tb.setUIID("Container");
tb.addSearchCommand(e -> onSearch((String)e.getSource()));
tb.addMaterialCommandToSideMenu("Shopping Cart",
FontImage.MATERIAL_SHOPPING_CART, e -> {});
Label filler = new Label(" ");
filler.setPreferredSize(getTitleArea().getPreferredSize());
currentOrderValue = new Label("Your Order: " +
L10NManager.getInstance().formatCurrency(0),
"YourOrder");
Button cart = new Button("", "ShoppingCart");
cart.addActionListener(e -> CheckoutForm.showCheckOut());
FontImage.setMaterialIcon(cart, FontImage.MATERIAL_SHOPPING_CART);
BaseForm
I’ve mentioned the usage of a layered toolbar before. A layered toolbar “floats” on top which would mean the list of filters etc. would appear underneath it in normal
circumstances…
To avoid this I added a filler label that is as tall as the toolbar area and placed it in the top portion of the form, it pushes all the other elements downwards so they don’t
overlap with the title. The background image is a part of the style and will stay in place behind everything.
6. Toolbar tb = getToolbar();
tb.setUIID("Container");
tb.addSearchCommand(e -> onSearch((String)e.getSource()));
tb.addMaterialCommandToSideMenu("Shopping Cart",
FontImage.MATERIAL_SHOPPING_CART, e -> {});
Label filler = new Label(" ");
filler.setPreferredSize(getTitleArea().getPreferredSize());
currentOrderValue = new Label("Your Order: " +
L10NManager.getInstance().formatCurrency(0),
"YourOrder");
Button cart = new Button("", "ShoppingCart");
cart.addActionListener(e -> CheckoutForm.showCheckOut());
FontImage.setMaterialIcon(cart, FontImage.MATERIAL_SHOPPING_CART);
BaseForm
We discussed the YourOrder entry in the CSS but I would like to call out the fact that I used the localization manager to format the currency price here. That’s why price is
listed as ILS instead of USD. In this particular case this is probably wrong as prices should be delivered from the server with the currency type
7. Toolbar tb = getToolbar();
tb.setUIID("Container");
tb.addSearchCommand(e -> onSearch((String)e.getSource()));
tb.addMaterialCommandToSideMenu("Shopping Cart",
FontImage.MATERIAL_SHOPPING_CART, e -> {});
Label filler = new Label(" ");
filler.setPreferredSize(getTitleArea().getPreferredSize());
currentOrderValue = new Label("Your Order: " +
L10NManager.getInstance().formatCurrency(0),
"YourOrder");
Button cart = new Button("", "ShoppingCart");
cart.addActionListener(e -> CheckoutForm.showCheckOut());
FontImage.setMaterialIcon(cart, FontImage.MATERIAL_SHOPPING_CART);
BaseForm
We discussed the shopping cart style in the CSS too, notice we apply the shopping cart style before calling the material icon which effectively used the styles from the
CSS for the icon
8. Container orderBar = new Container(
new BorderLayout(BorderLayout.CENTER_BEHAVIOR_CENTER_ABSOLUTE)) {
@Override
protected Dimension calcPreferredSize() {
Dimension d= super.calcPreferredSize();
if(d.getHeight() % 2 != 0) {
d.setHeight(d.getHeight() + 1);
}
return d;
}
};
orderBar.add(BorderLayout.CENTER, currentOrderValue).
add(BorderLayout.EAST, cart);
Label opaque = new Label("", "OrderBarBackgroundOpaque");
opaque.setShowEvenIfBlank(true);
Container orderBackgroundGrid = GridLayout.encloseIn(1,
new Container(), opaque);
Container orderLayers = LayeredLayout.encloseIn(orderBackgroundGrid,
orderBar);
BaseForm
This label is placed into a grid layout with a transparent container. So the top portion shows the background image and this label abstracts it creating the effect of a line
crossing. That way it looks like the shopping cart is peeking from the bottom of the UI…
This almost works!
9. Container orderBar = new Container(
new BorderLayout(BorderLayout.CENTER_BEHAVIOR_CENTER_ABSOLUTE)) {
@Override
protected Dimension calcPreferredSize() {
Dimension d= super.calcPreferredSize();
if(d.getHeight() % 2 != 0) {
d.setHeight(d.getHeight() + 1);
}
return d;
}
};
orderBar.add(BorderLayout.CENTER, currentOrderValue).
add(BorderLayout.EAST, cart);
Label opaque = new Label("", "OrderBarBackgroundOpaque");
opaque.setShowEvenIfBlank(true);
Container orderBackgroundGrid = GridLayout.encloseIn(1,
new Container(), opaque);
Container orderLayers = LayeredLayout.encloseIn(orderBackgroundGrid,
orderBar);
BaseForm
Remember when I mentioned “going overboard” I meant this part.
The label in the grid layout trick almost worked and this is the workaround to get it to “work”. A grid layout takes two components and gives them the exact same size to
fill up available space. This works great except for cases where the size isn’t divisible by 2 in which case one pixel at the bottom remains “empty”. The workaround was
simple, make sure the size of the order bar is always even and that way the two components get exactly the same size, otherwise in some weird cases we’d have a line
of the image “peeking” in the bottom part.
10. List<String> categoryList = createCategoryList();
Container topBar;
if(categoryList != null) {
Label separator = new Label("", "WhiteSeparatorLine");
separator.setShowEvenIfBlank(true);
topBar = BoxLayout.encloseY(filler, categoryList,
FlowLayout.encloseCenter(separator),
orderLayers);
} else {
topBar = BoxLayout.encloseY(filler, orderLayers);
}
topBar.setUIID("TopBar");
add(BorderLayout.NORTH, topBar);
add(BorderLayout.CENTER, createContent());
BaseForm
The category list is just a list, it’s implemented in the actual form and not within the base form which is common to all the forms. So this method might return null as not
all forms will need that list
11. List<String> categoryList = createCategoryList();
Container topBar;
if(categoryList != null) {
Label separator = new Label("", "WhiteSeparatorLine");
separator.setShowEvenIfBlank(true);
topBar = BoxLayout.encloseY(filler, categoryList,
FlowLayout.encloseCenter(separator),
orderLayers);
} else {
topBar = BoxLayout.encloseY(filler, orderLayers);
}
topBar.setUIID("TopBar");
add(BorderLayout.NORTH, topBar);
add(BorderLayout.CENTER, createContent());
BaseForm
I mentioned the separator line in the CSS section but here I’d like to draw your attention to set show even if blank on the label. By default an empty label is completely
removed in Codename One. This helps achieve several design aesthetics. In this case we don’t want that behavior and we can disable that by using this method
12. List<String> categoryList = createCategoryList();
Container topBar;
if(categoryList != null) {
Label separator = new Label("", "WhiteSeparatorLine");
separator.setShowEvenIfBlank(true);
topBar = BoxLayout.encloseY(filler, categoryList,
FlowLayout.encloseCenter(separator),
orderLayers);
} else {
topBar = BoxLayout.encloseY(filler, orderLayers);
}
topBar.setUIID("TopBar");
add(BorderLayout.NORTH, topBar);
add(BorderLayout.CENTER, createContent());
BaseForm
You might recall the top bar from the CSS, it includes the title image fill style. Again notice that the portion that supposedly doesn’t have the title image showing still has
it… It’s just obscured. The whole title area is just placed in the north section of a border layout
13. List<String> categoryList = createCategoryList();
Container topBar;
if(categoryList != null) {
Label separator = new Label("", "WhiteSeparatorLine");
separator.setShowEvenIfBlank(true);
topBar = BoxLayout.encloseY(filler, categoryList,
FlowLayout.encloseCenter(separator),
orderLayers);
} else {
topBar = BoxLayout.encloseY(filler, orderLayers);
}
topBar.setUIID("TopBar");
add(BorderLayout.NORTH, topBar);
add(BorderLayout.CENTER, createContent());
BaseForm
The content differs from form to form so this is the content of the main form and isn’t implemented here. We are just invoking the method of the sub class