This document discusses Haml, a markup language that is an alternative to ERB for use in Ruby on Rails and Merb applications. Haml aims to produce beautiful, DRY, well-indented markup that clearly shows the XHTML structure. It uses indentation rather than tags to denote nesting and supports shortcuts for classes, IDs, and implicit divs. The document also briefly introduces Sass, a stylesheet language that comes with Haml, and make_resourceful, a Rails plugin for DRYing up controller code.
Haml (HTML Abstraction Markup Language) is a templating language that produces HTML/XHTML. It aims to increase the elegance and simplicity of HTML, focusing on eliminating unnecessary code. Some key points:
- Haml is used to write templates that generate XHTML, providing a cleaner syntax than ERB by removing unnecessary tags and attributes.
- It uses indentation rather than closing tags and newlines rather than semicolons to format code, reducing visual noise and complexity in HTML documents.
- Haml templates can be used directly within Ruby on Rails to generate views, laying out page content in a more readable way than traditional ERb templates.
HAML is a markup language that aims to solve problems with HTML by making markup cleaner, simpler and more beautiful. It removes redundancy in HTML by using terse syntax and indentation. Dynamic code can be embedded using "=" for evaluation and "-" for execution. Filters allow parsing of other languages like JavaScript and CSS directly in HAML. HAML is interoperable with other languages and frameworks through implementations like HamlPy, Fammel and JHaml.
CSS (Cascading Style Sheets) allows styling and formatting of HTML documents. CSS rules tell HTML how to display by separating structure from presentation. There are various CSS selectors that target elements like classes, IDs, and tags. Properties like color, font, padding, margin and background customize elements. CSS box model controls layout with properties for dimensions, borders, margins and padding. Positioning options include static, relative, fixed and absolute.
Sass is a CSS preprocessor that adds powerful features like variables, nesting, mixins and functions to regular CSS. It makes CSS more maintainable and scalable. There are two syntax options for Sass - SCSS which uses the familiar CSS syntax, and the indented Sass syntax which relies on indentation rather than brackets. Sass code can be compiled into regular CSS files using the sass command line tool. Key Sass features include variables, nesting rules, partials and imports, mixins, extends/placeholders, interpolation and control directives.
The document discusses creating static websites using Rails 3.1. It recommends generating a new Rails project using the 45north template, creating a PagesController with static views, using layouts, partials and helpers for DRY code, internationalizing text with locales, leveraging the asset pipeline for assets, using SCSS for stylesheets, and implementing views with Haml for cleaner HTML. Templates, partials, helpers and the asset pipeline allow creating DRY, well-structured static sites in Rails.
The document discusses HTML (Hypertext Markup Language), the basic building blocks used to create web pages. It defines HTML, tags, attributes, and various elements like headings, paragraphs, lists, tables, forms, frames and links. It also discusses how to add images, audio, video and styling to web pages using different HTML tags.
The document provides guidelines for best practices in naming conventions for software development. It recommends using descriptive and unambiguous names for namespaces, subroutines, methods, variables and constants. Specific guidelines are given for capitalization, punctuation, prefixes and whether to use nouns or verbs in names depending on what is being named. The goal is to make code more readable and maintainable for other developers.
XHTML is a reformulation of HTML as an XML application which requires following more strict rules than HTML. The most important rules are including a DOCTYPE declaration, adding an xmlns attribute to <html>, closing all tags, using lowercase tags, specifying empty elements with a closing slash, quoting all attribute values, and always including attribute values. Common XHTML tags are used to define document structure and elements like paragraphs, headings, lists, links, images, and tables. Forms can also be created using tags like <form>, <input>, and <select>.
Haml (HTML Abstraction Markup Language) is a templating language that produces HTML/XHTML. It aims to increase the elegance and simplicity of HTML, focusing on eliminating unnecessary code. Some key points:
- Haml is used to write templates that generate XHTML, providing a cleaner syntax than ERB by removing unnecessary tags and attributes.
- It uses indentation rather than closing tags and newlines rather than semicolons to format code, reducing visual noise and complexity in HTML documents.
- Haml templates can be used directly within Ruby on Rails to generate views, laying out page content in a more readable way than traditional ERb templates.
HAML is a markup language that aims to solve problems with HTML by making markup cleaner, simpler and more beautiful. It removes redundancy in HTML by using terse syntax and indentation. Dynamic code can be embedded using "=" for evaluation and "-" for execution. Filters allow parsing of other languages like JavaScript and CSS directly in HAML. HAML is interoperable with other languages and frameworks through implementations like HamlPy, Fammel and JHaml.
CSS (Cascading Style Sheets) allows styling and formatting of HTML documents. CSS rules tell HTML how to display by separating structure from presentation. There are various CSS selectors that target elements like classes, IDs, and tags. Properties like color, font, padding, margin and background customize elements. CSS box model controls layout with properties for dimensions, borders, margins and padding. Positioning options include static, relative, fixed and absolute.
Sass is a CSS preprocessor that adds powerful features like variables, nesting, mixins and functions to regular CSS. It makes CSS more maintainable and scalable. There are two syntax options for Sass - SCSS which uses the familiar CSS syntax, and the indented Sass syntax which relies on indentation rather than brackets. Sass code can be compiled into regular CSS files using the sass command line tool. Key Sass features include variables, nesting rules, partials and imports, mixins, extends/placeholders, interpolation and control directives.
The document discusses creating static websites using Rails 3.1. It recommends generating a new Rails project using the 45north template, creating a PagesController with static views, using layouts, partials and helpers for DRY code, internationalizing text with locales, leveraging the asset pipeline for assets, using SCSS for stylesheets, and implementing views with Haml for cleaner HTML. Templates, partials, helpers and the asset pipeline allow creating DRY, well-structured static sites in Rails.
The document discusses HTML (Hypertext Markup Language), the basic building blocks used to create web pages. It defines HTML, tags, attributes, and various elements like headings, paragraphs, lists, tables, forms, frames and links. It also discusses how to add images, audio, video and styling to web pages using different HTML tags.
The document provides guidelines for best practices in naming conventions for software development. It recommends using descriptive and unambiguous names for namespaces, subroutines, methods, variables and constants. Specific guidelines are given for capitalization, punctuation, prefixes and whether to use nouns or verbs in names depending on what is being named. The goal is to make code more readable and maintainable for other developers.
XHTML is a reformulation of HTML as an XML application which requires following more strict rules than HTML. The most important rules are including a DOCTYPE declaration, adding an xmlns attribute to <html>, closing all tags, using lowercase tags, specifying empty elements with a closing slash, quoting all attribute values, and always including attribute values. Common XHTML tags are used to define document structure and elements like paragraphs, headings, lists, links, images, and tables. Forms can also be created using tags like <form>, <input>, and <select>.
The document provides an overview of CSS (Cascading Style Sheets) concepts including syntax, selectors, properties, values and units. It covers topics such as fonts, text, colors, backgrounds, borders, box model, positioning, floats, display types, and preprocessors like LESS. The document is intended to teach best practices in CSS and provide examples for different CSS declarations and properties.
The document provides instructions for laying out a basic webpage using CSS and dividing the page into sections with <div> tags. It begins with the raw HTML structure and then incrementally adds CSS styling rules to control the visual layout and formatting. Key steps include centering the main content container, floating elements like headers and sidebars, clearing floats to prevent overlapping content, and styling text and links. The end result is a multi-column page layout with header, content area, sidebar, and footer sections formatted using CSS positioning and styling.
This document provides instructions for creating a basic template in Joomla. It discusses the file structure of a basic Joomla template which includes folders for CSS, images, and template files. It then outlines 4 steps to create a template: designing the layout, adding HTML markup, writing CSS code, and "Joomlafying" the code to integrate Joomla functions. The goal is to provide a basic understanding of what is required to build a functional Joomla template.
The document provides an introduction and overview of PHP, including:
- PHP is a server-side scripting language used for web development and can be embedded into HTML. It is commonly used to manage dynamic content, databases, sessions, and build ecommerce sites.
- Common uses of PHP include handling forms, accessing and modifying database elements, setting and accessing cookies, and restricting user access to website pages.
- The document then covers PHP syntax, variables, operators, conditional statements, loops, and arrays to provide the basic building blocks of the language.
Rails provides several tools to reduce duplication in views, including layouts, partials, content_for, and helpers. Layouts allow separating header and footer code to be shared across pages. Partial files contain reusable chunks of view code that can be rendered multiple times. content_for allows passing content between files, such as dynamic page titles. The document discusses using these tools to DRY up duplicate form fields and model display code by extracting them into partials. When conventions like naming partials based on the model are followed, Rails can intelligently render the correct partial for a model or collection.
This document discusses the benefits of using HAML over ERB for markup templating in Ruby on Rails applications. It begins by showing an example of converting ERB code to equivalent HAML code in 3 steps to demonstrate HAML's cleaner syntax. It then lists some of HAML's main ideas like being beautiful, clean and sensible. It also explains HAML's rules of indentation. The document notes that HAML code is typically smaller than equivalent ERB. Potential performance and retraining issues with HAML are also briefly mentioned. Overall, the document argues that HAML provides a more intuitive and readable approach to markup templating compared to ERB.
This document provides an introduction to HTML, CSS, and WordPress. It covers the basics of HTML including common tags for formatting text, images, and links. It then discusses using CSS to style HTML elements using classes, IDs, and other selectors. Finally, it gives an overview of how HTML and CSS are used together in WordPress templates and themes.
The document discusses using Erector as an alternative to ERB views in Rails. Erector views are classes that allow for modular decomposition, inheritance of nested layouts, and consistent semantics. Views are testable in isolation and Erector handles escaping HTML and closing tags automatically. The document provides examples of refactoring ERB views to use Erector, demonstrating improved encapsulation and organization through extracting logic into view classes and subclasses.
Haml and Sass are templating languages that allow for cleaner markup and stylesheets. Haml replaces HTML tags with a more concise syntax, indenting elements rather than using closing tags. Sass extends CSS with features like variables, nesting, and mixins for DRYer code. The document provides examples of Haml and Sass code and best practices for using them together, such as organizing Sass files and using semantic HTML with descriptive class names.
HAML is a markup language that produces HTML. It aims to have cleaner syntax than HTML and makes markup feel more like coding. Some key features of HAML include using %tags for elements, Ruby hashes for attributes, shortcuts for CSS ids and classes, and indentation to denote nesting. HAML also allows embedding Ruby code and eliminating <% %> tags through features like - for conditionals and blocks. To use HAML in Rails, add the 'haml' gem and integrate the views.
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrJens-Christian Fischer
Früher war alles besser - sowieso! Konnte man vor 20 Jahren alleine mit HTML einen Webauftritt gestalten, hat sich die Anzahl der Technologien, die eine Webentwicklerin beherrschen muss, vervielfacht. Was ist wichtig, was unwichtig? In diesem Vortrag beleuchtet Jens-Christian den aktuellen Zoo von Technologien, und zeigt auf, wie sich diese Vielfalt sinnvoll bändigen lässt.
HTML(5), CSS(3), JavaScript, CoffeeScript, JavaScript Frameworks (jQuery, Prototype, Moo, Dojo, Ext, ...), JavaScript Microframeworks (Backbone, Ember, Flatiron), Templatingsprachen, Hilfsmittel zur Gestaltung von CSS (SASS, SCSS), Responsive Design, Browsererkennung, Caching, Performancetweaks, Testing und vieles mehr wird thematisiert.
Grok Drupal (7) Theming - 2011 Feb updateLaura Scott
These are slides from my presentation at Drupal Design Camp Los Angeles, February 2011. Video with rather low resolution version of the slides (we inadvertently recorded my presentation notes screen rather than the projector screen) can be viewed on blip:
http://ladrupal.blip.tv/file/4731722/
This document provides a quick reference to commonly used HTML and XHTML tags. It lists basic document tags like <html>, <head>, and <body>. It also covers tags for formatting text, images, lists, tables, and more. The document notes that XHTML is a stricter version of HTML and outlines syntax rules for XHTML like requiring lowercase tags and closed elements. It concludes with brief information on HTML5 and its expanded set of tags.
The document provides information about HTML markup language. It begins with an overview of common HTML tags like <body>, <div>, <li>, <head>, <script>, and <html>. It then discusses void elements that do not require closing tags, such as <br>, <img>, and <input>. The document also lists and defines common HTML tags including tags for text formatting, lists, images, and page structure. It provides an example of how to use the <img> tag and attributes. Finally, it discusses site structure and previews tutorials for next week on CSS and the CSS Zen Garden website.
Act Academy provides Industrial training in PHP, .Net, graphic designing, web designing and many more. Also provides diploma courses in CAD designing, Financial accounting with 100% job assurances.
Cascading Style Sheets (CSS) allows obtaining full control over HTML elements and their default properties. CSS can be used to easily redefine properties of any HTML tag, opening new design opportunities. Styles defined in CSS can be reused throughout an HTML document or across multiple pages for consistent formatting. The document discusses different methods of implementing CSS, including inline, internal, and external stylesheets. It also covers various CSS properties for formatting text, fonts, colors, backgrounds, lists, borders, opacity, and more. Examples are provided to demonstrate different CSS declarations.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
The document discusses strategies for documenting software from the trenches. It provides examples of documentation tools, drivers of documentation like community involvement and leadership commitment, and qualities of good documentation like simple explanations, comprehensive coverage, and well-chosen examples. It also notes similarities between documenting and teaching.
This document provides an overview of typography concepts for web design, including:
- Common HTML elements for structuring text and headings
- Using CSS to style text properties like font, size, color, and spacing
- Selecting typefaces based on legibility, readability, and connotation
- Best practices for text on screens like sufficient contrast and line length
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
The document provides an overview of CSS (Cascading Style Sheets) concepts including syntax, selectors, properties, values and units. It covers topics such as fonts, text, colors, backgrounds, borders, box model, positioning, floats, display types, and preprocessors like LESS. The document is intended to teach best practices in CSS and provide examples for different CSS declarations and properties.
The document provides instructions for laying out a basic webpage using CSS and dividing the page into sections with <div> tags. It begins with the raw HTML structure and then incrementally adds CSS styling rules to control the visual layout and formatting. Key steps include centering the main content container, floating elements like headers and sidebars, clearing floats to prevent overlapping content, and styling text and links. The end result is a multi-column page layout with header, content area, sidebar, and footer sections formatted using CSS positioning and styling.
This document provides instructions for creating a basic template in Joomla. It discusses the file structure of a basic Joomla template which includes folders for CSS, images, and template files. It then outlines 4 steps to create a template: designing the layout, adding HTML markup, writing CSS code, and "Joomlafying" the code to integrate Joomla functions. The goal is to provide a basic understanding of what is required to build a functional Joomla template.
The document provides an introduction and overview of PHP, including:
- PHP is a server-side scripting language used for web development and can be embedded into HTML. It is commonly used to manage dynamic content, databases, sessions, and build ecommerce sites.
- Common uses of PHP include handling forms, accessing and modifying database elements, setting and accessing cookies, and restricting user access to website pages.
- The document then covers PHP syntax, variables, operators, conditional statements, loops, and arrays to provide the basic building blocks of the language.
Rails provides several tools to reduce duplication in views, including layouts, partials, content_for, and helpers. Layouts allow separating header and footer code to be shared across pages. Partial files contain reusable chunks of view code that can be rendered multiple times. content_for allows passing content between files, such as dynamic page titles. The document discusses using these tools to DRY up duplicate form fields and model display code by extracting them into partials. When conventions like naming partials based on the model are followed, Rails can intelligently render the correct partial for a model or collection.
This document discusses the benefits of using HAML over ERB for markup templating in Ruby on Rails applications. It begins by showing an example of converting ERB code to equivalent HAML code in 3 steps to demonstrate HAML's cleaner syntax. It then lists some of HAML's main ideas like being beautiful, clean and sensible. It also explains HAML's rules of indentation. The document notes that HAML code is typically smaller than equivalent ERB. Potential performance and retraining issues with HAML are also briefly mentioned. Overall, the document argues that HAML provides a more intuitive and readable approach to markup templating compared to ERB.
This document provides an introduction to HTML, CSS, and WordPress. It covers the basics of HTML including common tags for formatting text, images, and links. It then discusses using CSS to style HTML elements using classes, IDs, and other selectors. Finally, it gives an overview of how HTML and CSS are used together in WordPress templates and themes.
The document discusses using Erector as an alternative to ERB views in Rails. Erector views are classes that allow for modular decomposition, inheritance of nested layouts, and consistent semantics. Views are testable in isolation and Erector handles escaping HTML and closing tags automatically. The document provides examples of refactoring ERB views to use Erector, demonstrating improved encapsulation and organization through extracting logic into view classes and subclasses.
Haml and Sass are templating languages that allow for cleaner markup and stylesheets. Haml replaces HTML tags with a more concise syntax, indenting elements rather than using closing tags. Sass extends CSS with features like variables, nesting, and mixins for DRYer code. The document provides examples of Haml and Sass code and best practices for using them together, such as organizing Sass files and using semantic HTML with descriptive class names.
HAML is a markup language that produces HTML. It aims to have cleaner syntax than HTML and makes markup feel more like coding. Some key features of HAML include using %tags for elements, Ruby hashes for attributes, shortcuts for CSS ids and classes, and indentation to denote nesting. HAML also allows embedding Ruby code and eliminating <% %> tags through features like - for conditionals and blocks. To use HAML in Rails, add the 'haml' gem and integrate the views.
Beyond HTML - Scriptsprachen, Frameworks, Templatesprachen und vieles mehrJens-Christian Fischer
Früher war alles besser - sowieso! Konnte man vor 20 Jahren alleine mit HTML einen Webauftritt gestalten, hat sich die Anzahl der Technologien, die eine Webentwicklerin beherrschen muss, vervielfacht. Was ist wichtig, was unwichtig? In diesem Vortrag beleuchtet Jens-Christian den aktuellen Zoo von Technologien, und zeigt auf, wie sich diese Vielfalt sinnvoll bändigen lässt.
HTML(5), CSS(3), JavaScript, CoffeeScript, JavaScript Frameworks (jQuery, Prototype, Moo, Dojo, Ext, ...), JavaScript Microframeworks (Backbone, Ember, Flatiron), Templatingsprachen, Hilfsmittel zur Gestaltung von CSS (SASS, SCSS), Responsive Design, Browsererkennung, Caching, Performancetweaks, Testing und vieles mehr wird thematisiert.
Grok Drupal (7) Theming - 2011 Feb updateLaura Scott
These are slides from my presentation at Drupal Design Camp Los Angeles, February 2011. Video with rather low resolution version of the slides (we inadvertently recorded my presentation notes screen rather than the projector screen) can be viewed on blip:
http://ladrupal.blip.tv/file/4731722/
This document provides a quick reference to commonly used HTML and XHTML tags. It lists basic document tags like <html>, <head>, and <body>. It also covers tags for formatting text, images, lists, tables, and more. The document notes that XHTML is a stricter version of HTML and outlines syntax rules for XHTML like requiring lowercase tags and closed elements. It concludes with brief information on HTML5 and its expanded set of tags.
The document provides information about HTML markup language. It begins with an overview of common HTML tags like <body>, <div>, <li>, <head>, <script>, and <html>. It then discusses void elements that do not require closing tags, such as <br>, <img>, and <input>. The document also lists and defines common HTML tags including tags for text formatting, lists, images, and page structure. It provides an example of how to use the <img> tag and attributes. Finally, it discusses site structure and previews tutorials for next week on CSS and the CSS Zen Garden website.
Act Academy provides Industrial training in PHP, .Net, graphic designing, web designing and many more. Also provides diploma courses in CAD designing, Financial accounting with 100% job assurances.
Cascading Style Sheets (CSS) allows obtaining full control over HTML elements and their default properties. CSS can be used to easily redefine properties of any HTML tag, opening new design opportunities. Styles defined in CSS can be reused throughout an HTML document or across multiple pages for consistent formatting. The document discusses different methods of implementing CSS, including inline, internal, and external stylesheets. It also covers various CSS properties for formatting text, fonts, colors, backgrounds, lists, borders, opacity, and more. Examples are provided to demonstrate different CSS declarations.
about this presentation:
1) this presentation was a quickie for non-tech employees, who wanted a basic understanding of html/css, as it related to a white-label SAAS product;
2) the back-end/front-end definitions relate to the specific application (it's inaccurate if node.js is in the picture)
The document discusses strategies for documenting software from the trenches. It provides examples of documentation tools, drivers of documentation like community involvement and leadership commitment, and qualities of good documentation like simple explanations, comprehensive coverage, and well-chosen examples. It also notes similarities between documenting and teaching.
This document provides an overview of typography concepts for web design, including:
- Common HTML elements for structuring text and headings
- Using CSS to style text properties like font, size, color, and spacing
- Selecting typefaces based on legibility, readability, and connotation
- Best practices for text on screens like sufficient contrast and line length
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Speck&Tech
ABSTRACT: A prima vista, un mattoncino Lego e la backdoor XZ potrebbero avere in comune il fatto di essere entrambi blocchi di costruzione, o dipendenze di progetti creativi e software. La realtà è che un mattoncino Lego e il caso della backdoor XZ hanno molto di più di tutto ciò in comune.
Partecipate alla presentazione per immergervi in una storia di interoperabilità, standard e formati aperti, per poi discutere del ruolo importante che i contributori hanno in una comunità open source sostenibile.
BIO: Sostenitrice del software libero e dei formati standard e aperti. È stata un membro attivo dei progetti Fedora e openSUSE e ha co-fondato l'Associazione LibreItalia dove è stata coinvolta in diversi eventi, migrazioni e formazione relativi a LibreOffice. In precedenza ha lavorato a migrazioni e corsi di formazione su LibreOffice per diverse amministrazioni pubbliche e privati. Da gennaio 2020 lavora in SUSE come Software Release Engineer per Uyuni e SUSE Manager e quando non segue la sua passione per i computer e per Geeko coltiva la sua curiosità per l'astronomia (da cui deriva il suo nickname deneb_alpha).
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/building-and-scaling-ai-applications-with-the-nx-ai-manager-a-presentation-from-network-optix/
Robin van Emden, Senior Director of Data Science at Network Optix, presents the “Building and Scaling AI Applications with the Nx AI Manager,” tutorial at the May 2024 Embedded Vision Summit.
In this presentation, van Emden covers the basics of scaling edge AI solutions using the Nx tool kit. He emphasizes the process of developing AI models and deploying them globally. He also showcases the conversion of AI models and the creation of effective edge AI pipelines, with a focus on pre-processing, model conversion, selecting the appropriate inference engine for the target hardware and post-processing.
van Emden shows how Nx can simplify the developer’s life and facilitate a rapid transition from concept to production-ready applications.He provides valuable insights into developing scalable and efficient edge AI solutions, with a strong focus on practical implementation.
Building Production Ready Search Pipelines with Spark and MilvusZilliz
Spark is the widely used ETL tool for processing, indexing and ingesting data to serving stack for search. Milvus is the production-ready open-source vector database. In this talk we will show how to use Spark to process unstructured data to extract vector representations, and push the vectors to Milvus vector database for search serving.
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.
Skybuffer SAM4U tool for SAP license adoptionTatiana Kojar
Manage and optimize your license adoption and consumption with SAM4U, an SAP free customer software asset management tool.
SAM4U, an SAP complimentary software asset management tool for customers, delivers a detailed and well-structured overview of license inventory and usage with a user-friendly interface. We offer a hosted, cost-effective, and performance-optimized SAM4U setup in the Skybuffer Cloud environment. You retain ownership of the system and data, while we manage the ABAP 7.58 infrastructure, ensuring fixed Total Cost of Ownership (TCO) and exceptional services through the SAP Fiori interface.
Programming Foundation Models with DSPy - Meetup SlidesZilliz
Prompting language models is hard, while programming language models is easy. In this talk, I will discuss the state-of-the-art framework DSPy for programming foundation models with its powerful optimizers and runtime constraint system.
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
Project Management Semester Long Project - Acuityjpupo2018
Acuity is an innovative learning app designed to transform the way you engage with knowledge. Powered by AI technology, Acuity takes complex topics and distills them into concise, interactive summaries that are easy to read & understand. Whether you're exploring the depths of quantum mechanics or seeking insight into historical events, Acuity provides the key information you need without the burden of lengthy texts.
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
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.
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.
2. What is Haml?
• A markup language
• An alternative to erb / RHTML for Rails +
Merb
• rubygem or rails plugin
3. Haml has principles
• Markup should be beautiful
• Markup should be DRY
• Markup should be well-indented
• XHTML structure should be clear
Beautiful - READABLE!
DRY - in XHTML elements are named twice, ERB adds even more repetition. HAML relies on
indentation to determine where elements and blocks of code begin and end-> smaller templates +
cleaner code
well indented - ERB doesn’t encourage well-indented code. Haml indents properly all the time
XHTML structure should be clear - guaranteed by the first 3
4. Syntax
%tag content <tag>content</tag>
The percent character is placed at the beginning of a line. It’s followed immediately by the name of
an element, then the text to be rendered inside the element
5. Syntax
<h1>Haml should be</h1>
%h1 Haml should be
<ul>
%ul
<li>Beautiful</li>
%li Beautiful
<li>DRY</li>
%li DRY
<li>Well-indented</li>
%li Well-indented
</ul>
nesting is achieved through indentation
6. Attributes
<p class='bio'>
%p{:class => quot;bioquot;}
This paragraph has class
This paragraph has class
</p>
<p id='bio'>
%p{:id => quot;bioquot;}
This paragraph has identity
This paragraph has identity
</p>
A Ruby hash is used for specifying the attributes of an element. It is literally evaluated as a Ruby
hash, so logic will work in it and local variables may be used
A Ruby method call that returns a hash can be substituted for the hash contents
multiple hashes, separated by commas can be used
7. class and id shortcuts
<p class='bio'>
%p.bio
This paragraph has class
This paragraph has class
</p>
<p id='bio'>
%p#bio
This paragraph has identity
This paragraph has identity
</p>
borrowed from CSS
8. Implicit <div>
<div class='class'>
<div id='id'>
.class <p>
#id I'm wrapped in two divs
%p </p>
I'm wrapped in two divs </div>
</div>
If you only define a class and/or id using the . or # syntax, a div element is automatically used
9. Haml -vs- HTML
!!! <!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0
%html{ html_attrs } Transitional//ENquot; quot;http://www.w3.org/TR/
%head xhtml1/DTD/xhtml1-transitional.dtdquot;>
%title Haml syntax demo <html lang='en-US' xml:lang='en-US'
%body xmlns='http://www.w3.org/1999/xhtml'>
#content <head>
%h1 Haml should be: <title>Haml syntax demo</title>
%ul.principles </head>
%li Beautiful <body>
%li DRY <div id='content'>
%li Well-indented <h1>Haml should be:</h1>
%li Clearly XHTML <ul class='principles'>
#footer <li>Beautiful</li>
%span.author Ciaran <li>DRY</li>
<li>Well-indented</li>
<li>Clearly XHTML</li>
</ul>
</div>
<div id='footer'>
<span class='author'>Ciaran</span>
</div>
</body>
</html>
!!! generates doctype
!!! XML generates XML prolog
html_attrs is a Haml Helper, Returns a hash containing default assignments for the xmlns and
xml:lang attributes of the html HTML element
10. Ruby evaluators
- for article in @articles
.post
.date
%h3= h article.publication_date.strftime(quot;%d %m %Yquot;)
.article
%h3= link_to(h(article.title), article)
~article.body
= is followed by Ruby code, which is evaluated and the output inserted into the document as plain
text
- hyphen character makes the text following it into quot;silent scriptquot;: Ruby script that is evaluated, but
not output
for loop (+ all Ruby blocks) are automatically closed, based on indentation
~ acts like = except that it preserves the whitespace
11. Haml in rails projects
rails 2.0 uses $view.html.erb , for haml views just replace erb with haml
14. SASS syntax
#main p
#main p {
:color #00ff00
color: #00ff00;
:width 97%
width: 97%; }
#main p .redbox {
.redbox
background-color: #ff0000;
:background-color #ff0000
color: #000000; }
:color #000000
Rules can also be nested within each other. This signifies that the inner rule’s selector is a child of
the outer selector
15. SASS Constants
!main_color = #00ff00
#main {
#main color: #00ff00; }
:color = !main_color #main p {
:p background-color: #00ff00;
:background-color = !main_color color: #000000; }
:color #000000
support for setting document-wide constants. They‘re set using an exclamation mark followed by
the name, an equals sign, and the value
16. make_resourceful
• rails plugin
• DRYs up controller code
• http://railscasts.com/episodes/92
Show some code, it’s cool, but depending on how much customisation you do it might be better to
use the standard RESTful controller