This document provides an overview of input and output in C++. It discusses I/O streams and devices, predefined input and output functions, formatting output, and file I/O. Some key topics covered include the extraction operator >> for input, formatting output using manipulators, reading and writing files using file streams, and opening, reading from, and closing files in C++ programs.
Scanf() is a function used to read input from the keyboard in C programs. It works similarly to printf() but reads input instead of writing output. Scanf() uses format specifiers in a control string to read input into variables. Common format specifiers include %d for integers, %f for floats, and %s for strings. Loops like for, while, and do-while can be used to repeat a block of code a specified number of times to perform tasks like calculating triangle numbers or factorials.
The document discusses PHP concepts including:
- PHP is a server-side scripting language used for web development and can be used as an alternative to Microsoft ASP.
- XAMPP is an open-source cross-platform web server bundle that can be used to test PHP scripts locally.
- PHP has different data types including strings, integers, floats, booleans, and arrays.
- PHP includes various operators, conditional statements like if/else, and loops like while and foreach to control program flow.
- Functions allow code reusability and modularity in PHP programs. Built-in and user-defined functions are discussed.
- Arrays are a special variable type that can hold multiple values,
Variables, constants, I/O functions & Header Files document discusses:
1. Variables in C - Variables store data in memory locations and can change value. They are declared with a data type and name.
2. Constants in C - Constants cannot change value once declared. They include integer, floating point, character, and string literals.
3. Input/output functions in C - These allow programs to accept input and display output. Formatted functions like printf() and scanf() control formatting while unformatted functions like getch() and putch() do not.
4. Header files in C - Header files contain predefined library functions and are included using #include to access standard functions.
The document provides an introduction to PHP including its history, features, syntax, variables, data types, operators, conditional statements, loops, functions and string operations. It discusses how to install PHP, integrate it with Apache and use PHP tags to distinguish code from HTML. It also covers declaring variables, constants, arithmetic, relational and logical operators, conditional statements like if/else, loops like for and while, math and string functions.
The document discusses the basics of C language including tokens, data types, constants, and variables. It covers keywords, identifiers, operators, and other tokens in C. It describes the basic integral and floating point data types like int, char, float, and double. It also discusses numerical, character, and string constants. Finally, it explains how to declare variables and the differences between global and local variables.
This document provides an overview of C programming basics including character sets, tokens, keywords, variables, data types, and control statements in C language. Some key points include:
- The C character set includes lowercase/uppercase letters, digits, special characters, whitespace, and escape sequences.
- Tokens in C include operators, special symbols, string constants, identifiers, and keywords. There are 32 reserved keywords that should be in lowercase.
- Variables are named locations in memory that hold values. They are declared with a data type and initialized by assigning a value.
- C has primary data types like int, float, char, and double. Derived types include arrays, pointers, unions, structures,
This document provides an overview of input and output in C++. It discusses I/O streams and devices, predefined input and output functions, formatting output, and file I/O. Some key topics covered include the extraction operator >> for input, formatting output using manipulators, reading and writing files using file streams, and opening, reading from, and closing files in C++ programs.
Scanf() is a function used to read input from the keyboard in C programs. It works similarly to printf() but reads input instead of writing output. Scanf() uses format specifiers in a control string to read input into variables. Common format specifiers include %d for integers, %f for floats, and %s for strings. Loops like for, while, and do-while can be used to repeat a block of code a specified number of times to perform tasks like calculating triangle numbers or factorials.
The document discusses PHP concepts including:
- PHP is a server-side scripting language used for web development and can be used as an alternative to Microsoft ASP.
- XAMPP is an open-source cross-platform web server bundle that can be used to test PHP scripts locally.
- PHP has different data types including strings, integers, floats, booleans, and arrays.
- PHP includes various operators, conditional statements like if/else, and loops like while and foreach to control program flow.
- Functions allow code reusability and modularity in PHP programs. Built-in and user-defined functions are discussed.
- Arrays are a special variable type that can hold multiple values,
Variables, constants, I/O functions & Header Files document discusses:
1. Variables in C - Variables store data in memory locations and can change value. They are declared with a data type and name.
2. Constants in C - Constants cannot change value once declared. They include integer, floating point, character, and string literals.
3. Input/output functions in C - These allow programs to accept input and display output. Formatted functions like printf() and scanf() control formatting while unformatted functions like getch() and putch() do not.
4. Header files in C - Header files contain predefined library functions and are included using #include to access standard functions.
The document provides an introduction to PHP including its history, features, syntax, variables, data types, operators, conditional statements, loops, functions and string operations. It discusses how to install PHP, integrate it with Apache and use PHP tags to distinguish code from HTML. It also covers declaring variables, constants, arithmetic, relational and logical operators, conditional statements like if/else, loops like for and while, math and string functions.
The document discusses the basics of C language including tokens, data types, constants, and variables. It covers keywords, identifiers, operators, and other tokens in C. It describes the basic integral and floating point data types like int, char, float, and double. It also discusses numerical, character, and string constants. Finally, it explains how to declare variables and the differences between global and local variables.
This document provides an overview of C programming basics including character sets, tokens, keywords, variables, data types, and control statements in C language. Some key points include:
- The C character set includes lowercase/uppercase letters, digits, special characters, whitespace, and escape sequences.
- Tokens in C include operators, special symbols, string constants, identifiers, and keywords. There are 32 reserved keywords that should be in lowercase.
- Variables are named locations in memory that hold values. They are declared with a data type and initialized by assigning a value.
- C has primary data types like int, float, char, and double. Derived types include arrays, pointers, unions, structures,
The document discusses Lisp input and output functions. It describes how Lisp represents objects in printed form for input/output and the read function that accepts this printed input and constructs Lisp objects. It covers parsing of numbers, symbols, and macro characters. It also describes output functions like print, princ, and format for writing to streams, as well as input functions like read, read-line, and querying functions like y-or-n-p.
This document provides an introduction to C++ programming, covering key concepts like characters, tokens, keywords, identifiers, literals, operators, input/output, variables, comments, and common errors. It explains that C++ was created by Bjarne Stroustrup in the 1980s as an extension of C with object-oriented features from Simula 67.
pointer, structure ,union and intro to file handlingRai University
Pointers allow programs to store and pass around memory addresses. Pointers in C can point to primitive data types, arrays, structs, and other pointers. Declaring a pointer requires a * before the pointer name and specifying the type of data it will point to. The & operator returns the memory address of a variable, which can be stored in a pointer. The * operator dereferences a pointer to access the data being pointed to. Pointers enable functions to modify variables in the calling function and return multiple values. They also make structs more efficient to pass to functions. Care must be taken to avoid bugs from misusing pointers.
C programming is a widely used programming language. The document provides an overview of key concepts in C programming including variables, data types, operators, decision and loop control statements, functions, pointers, arrays, strings, structures, and input/output functions. It also provides examples to illustrate concepts like arrays, strings, functions, pointers, and structures. The main function is the entry point for all C programs where code execution begins.
The document provides an overview of conditional statements and loops in PHP including if/elseif/else statements, switch statements, while loops, do/while loops, for loops, and foreach loops. It explains how each statement/loop works through syntax and examples. The if statement executes code if one condition is true, elseif allows for multiple conditions to be checked, and else executes if all conditions are false. Switch selects code to execute based on a match. Loops repeat code execution while/until a condition is met or a set number of times.
Constants in PHP are like variables that cannot change value once defined. Constants are defined using the define() function, which takes a name, value, and optional case sensitivity parameter. Constants can store simple values as well as arrays. Unlike variables, constants are globally accessible across any PHP script.
The document discusses input and output functions in C programming, specifically covering the printf and scanf functions. It explains how printf works by taking a format string and values to insert, and how scanf works by reading input according to a format string and storing the values in variables. Special format specifiers, escape sequences, and handling errors are also covered.
The document provides an introduction to Python programming. It discusses that Python is a high-level, interpreted, object-oriented, and general purpose programming language. It can be used for web development, scientific computing, desktop applications, and more. The document then covers Python basics like data types, variables, literals, operators, control flow statements, functions, modules and packages. It also discusses installing Python on Windows and writing the first Python program.
This document summarizes the basic types in C including integer types, floating types, and character types. It discusses integer types like short, int, long, and their signed and unsigned variants. It also covers floating point types float, double, long double. Character types are discussed along with escape sequences and character operations. Integer constants, floating constants, and the sizeof operator are also summarized.
C Programming Language is the most popular computer language and most used programming language till now. It is very simple and elegant language. This lecture series will give you basic concepts of structured programming language with C.
This document contains questions and answers about PHP. It discusses PHP variable names, data types, functions like include(), require(), echo and print, arrays, object oriented concepts like inheritance and constants. It also covers regular expressions, error handling, strings, files and directories.
The document describes implementing a non-recursive predictive parser for a language. It discusses top-down parsing and how a non-recursive predictive parser works by maintaining a stack explicitly and looking up productions in a parsing table. An example grammar and string are parsed step-by-step using this technique to demonstrate the parser's operation.
The document discusses one-dimensional and multidimensional arrays in C. It covers declaring and initializing arrays, accessing array elements using subscripts, and built-in functions like sizeof that operate on arrays. It also introduces variable-length arrays, a C99 feature that allows arrays to have non-constant lengths specified at runtime rather than compilation. Examples are provided for common array operations like copying, initializing, and traversing arrays with for loops. Restrictions on variable-length arrays and potential issues with goto statements are also noted.
Paolo Galeone - Dissecting tf.function to discover auto graph strengths and s...MeetupDataScienceRoma
Original presentation available on GitHub: https://pgaleone.eu/tf-function-talk/
Meetup: https://www.meetup.com/it-IT/Machine-Learning-Data-Science-Meetup/events/264338606/
This document provides an overview of different PHP data types including strings, integers, floats, booleans, arrays, objects, NULL, and resources. It describes each data type, provides examples, and explains what each can store and how they are different. The document also introduces some common PHP string functions like strlen(), str_word_count(), strrev(), strpos(), and str_replace() and provides brief descriptions of what each function does.
This document provides an introduction to the C programming language. It explains that C allows programmers to write code using functions and keywords rather than billions of 1s and 0s. It then discusses some basic C concepts like #include, main(), printf(), variables, data types, if/else statements, for loops, and functions. The document is meant to explain the basic building blocks of a C program to a beginner reader.
This document provides an overview of the C programming language development process. It discusses the different phases a C program goes through from editing the source code to execution. It describes the preprocessor, compiler, linker, and loader and their roles. It also covers C program structures like comments, header files, and the main function. Finally, it discusses some C fundamentals like data types, variables, literals, and variable scope.
The document provides an overview of a C programming course, including:
1) The course will teach programming C elegantly and writing good algorithms, without fancy graphics.
2) Programming is useful for applying math concepts to the real world through simulation.
3) C was chosen as it is small, common, stable, and quick-running, forming the basis for many languages.
4) The document defines some programming terminology and covers basic C programming concepts like variables, functions, and debugging techniques.
The document discusses Python control structures including if-else statements, indentation, and loops. It provides examples of if statements, if-else statements, nested if statements, and elif statements to test conditions and execute code blocks accordingly. It also discusses for loops and the range() function to iterate through sequences and generate number sequences to repeat code. Loops simplify problems by allowing code to repeat without rewriting and help traverse data structures.
Esoft Metro Campus - Certificate in c / c++ programmingRasan Samarasinghe
Esoft Metro Campus - Certificate in java basics
(Template - Virtusa Corporate)
Contents:
Structure of a program
Variables & Data types
Constants
Operators
Basic Input/output
Control Structures
Functions
Arrays
Character Sequences
Pointers and Dynamic Memory
Unions
Other Data Types
Input/output with files
Searching
Sorting
Introduction to data structures
The document discusses Lisp input and output functions. It describes how Lisp represents objects in printed form for input/output and the read function that accepts this printed input and constructs Lisp objects. It covers parsing of numbers, symbols, and macro characters. It also describes output functions like print, princ, and format for writing to streams, as well as input functions like read, read-line, and querying functions like y-or-n-p.
This document provides an introduction to C++ programming, covering key concepts like characters, tokens, keywords, identifiers, literals, operators, input/output, variables, comments, and common errors. It explains that C++ was created by Bjarne Stroustrup in the 1980s as an extension of C with object-oriented features from Simula 67.
pointer, structure ,union and intro to file handlingRai University
Pointers allow programs to store and pass around memory addresses. Pointers in C can point to primitive data types, arrays, structs, and other pointers. Declaring a pointer requires a * before the pointer name and specifying the type of data it will point to. The & operator returns the memory address of a variable, which can be stored in a pointer. The * operator dereferences a pointer to access the data being pointed to. Pointers enable functions to modify variables in the calling function and return multiple values. They also make structs more efficient to pass to functions. Care must be taken to avoid bugs from misusing pointers.
C programming is a widely used programming language. The document provides an overview of key concepts in C programming including variables, data types, operators, decision and loop control statements, functions, pointers, arrays, strings, structures, and input/output functions. It also provides examples to illustrate concepts like arrays, strings, functions, pointers, and structures. The main function is the entry point for all C programs where code execution begins.
The document provides an overview of conditional statements and loops in PHP including if/elseif/else statements, switch statements, while loops, do/while loops, for loops, and foreach loops. It explains how each statement/loop works through syntax and examples. The if statement executes code if one condition is true, elseif allows for multiple conditions to be checked, and else executes if all conditions are false. Switch selects code to execute based on a match. Loops repeat code execution while/until a condition is met or a set number of times.
Constants in PHP are like variables that cannot change value once defined. Constants are defined using the define() function, which takes a name, value, and optional case sensitivity parameter. Constants can store simple values as well as arrays. Unlike variables, constants are globally accessible across any PHP script.
The document discusses input and output functions in C programming, specifically covering the printf and scanf functions. It explains how printf works by taking a format string and values to insert, and how scanf works by reading input according to a format string and storing the values in variables. Special format specifiers, escape sequences, and handling errors are also covered.
The document provides an introduction to Python programming. It discusses that Python is a high-level, interpreted, object-oriented, and general purpose programming language. It can be used for web development, scientific computing, desktop applications, and more. The document then covers Python basics like data types, variables, literals, operators, control flow statements, functions, modules and packages. It also discusses installing Python on Windows and writing the first Python program.
This document summarizes the basic types in C including integer types, floating types, and character types. It discusses integer types like short, int, long, and their signed and unsigned variants. It also covers floating point types float, double, long double. Character types are discussed along with escape sequences and character operations. Integer constants, floating constants, and the sizeof operator are also summarized.
C Programming Language is the most popular computer language and most used programming language till now. It is very simple and elegant language. This lecture series will give you basic concepts of structured programming language with C.
This document contains questions and answers about PHP. It discusses PHP variable names, data types, functions like include(), require(), echo and print, arrays, object oriented concepts like inheritance and constants. It also covers regular expressions, error handling, strings, files and directories.
The document describes implementing a non-recursive predictive parser for a language. It discusses top-down parsing and how a non-recursive predictive parser works by maintaining a stack explicitly and looking up productions in a parsing table. An example grammar and string are parsed step-by-step using this technique to demonstrate the parser's operation.
The document discusses one-dimensional and multidimensional arrays in C. It covers declaring and initializing arrays, accessing array elements using subscripts, and built-in functions like sizeof that operate on arrays. It also introduces variable-length arrays, a C99 feature that allows arrays to have non-constant lengths specified at runtime rather than compilation. Examples are provided for common array operations like copying, initializing, and traversing arrays with for loops. Restrictions on variable-length arrays and potential issues with goto statements are also noted.
Paolo Galeone - Dissecting tf.function to discover auto graph strengths and s...MeetupDataScienceRoma
Original presentation available on GitHub: https://pgaleone.eu/tf-function-talk/
Meetup: https://www.meetup.com/it-IT/Machine-Learning-Data-Science-Meetup/events/264338606/
This document provides an overview of different PHP data types including strings, integers, floats, booleans, arrays, objects, NULL, and resources. It describes each data type, provides examples, and explains what each can store and how they are different. The document also introduces some common PHP string functions like strlen(), str_word_count(), strrev(), strpos(), and str_replace() and provides brief descriptions of what each function does.
This document provides an introduction to the C programming language. It explains that C allows programmers to write code using functions and keywords rather than billions of 1s and 0s. It then discusses some basic C concepts like #include, main(), printf(), variables, data types, if/else statements, for loops, and functions. The document is meant to explain the basic building blocks of a C program to a beginner reader.
This document provides an overview of the C programming language development process. It discusses the different phases a C program goes through from editing the source code to execution. It describes the preprocessor, compiler, linker, and loader and their roles. It also covers C program structures like comments, header files, and the main function. Finally, it discusses some C fundamentals like data types, variables, literals, and variable scope.
The document provides an overview of a C programming course, including:
1) The course will teach programming C elegantly and writing good algorithms, without fancy graphics.
2) Programming is useful for applying math concepts to the real world through simulation.
3) C was chosen as it is small, common, stable, and quick-running, forming the basis for many languages.
4) The document defines some programming terminology and covers basic C programming concepts like variables, functions, and debugging techniques.
The document discusses Python control structures including if-else statements, indentation, and loops. It provides examples of if statements, if-else statements, nested if statements, and elif statements to test conditions and execute code blocks accordingly. It also discusses for loops and the range() function to iterate through sequences and generate number sequences to repeat code. Loops simplify problems by allowing code to repeat without rewriting and help traverse data structures.
Esoft Metro Campus - Certificate in c / c++ programmingRasan Samarasinghe
Esoft Metro Campus - Certificate in java basics
(Template - Virtusa Corporate)
Contents:
Structure of a program
Variables & Data types
Constants
Operators
Basic Input/output
Control Structures
Functions
Arrays
Character Sequences
Pointers and Dynamic Memory
Unions
Other Data Types
Input/output with files
Searching
Sorting
Introduction to data structures
This document discusses common traps and pitfalls in the C programming language. It begins by covering lexical issues like confusing = and ==, multi-character tokens like /* that can cause surprises, and differences between single and double quotes. It then discusses syntactic pitfalls like misunderstanding declarations. Overall, the document aims to show unintended consequences that can occur in C programs from subtle language features and how to avoid related "injuries" to unwary programmers.
Go is a general purpose programming language created by Google. It is statically typed, compiled, garbage collected, and memory safe. Go has good support for concurrency with goroutines and channels. It has a large standard library and integrates well with C. Some key differences compared to other languages are its performance, explicit concurrency model, and lack of classes. Common data types in Go include arrays, slices, maps, structs and interfaces.
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
This document provides an introduction to C++ programming, covering key concepts like characters, tokens, keywords, identifiers, literals, operators, I/O streams, variables, comments, and common errors. It explains that Bjarne Stroustrup extended C to create C++, adding object-oriented features from Simula. The main components discussed are the building blocks of any C++ program - characters, tokens, data types, and basic input/output operations.
This document provides an introduction to the C programming language. It discusses key concepts like functions, variables, data types, memory, scopes, expressions, operators, control flow with if/else statements and loops. It also explains how passing arguments by value means functions cannot directly modify their parameters, but passing addresses allows modifying variables in the calling scope. Overall it serves as a helpful primer on basic C syntax and programming concepts for newcomers to the language.
This document provides an introduction to the Python programming language. It describes Python as a multi-purpose, object-oriented language that is interpreted, dynamically typed and focuses on readability. It lists several major organizations that use Python. It then provides examples of basic Python programs and covers key Python concepts like variables, data types, strings, comments, functions and more in under 3 sentences each.
C programming & data structure [character strings & string functions]MomenMostafa
The document provides information about C programming language and data structures. It includes references to books and websites on the topics. The document outlines topics that will be covered, including arrays and pointers, strings and string functions, structures, algorithms, stacks, queues and trees. It then gives details on a lesson about string functions, including examples of gets(), puts(), fgets() and other standard library string functions.
The value of "a.value" will be printed to the VBA Immediate window when that line is executed. The Debug.Print statement sends its output to the Immediate window, which is useful for inspecting variable values while code is running without stopping the execution.
Primitive data types in Objective-C include int, float, double, and char. Loops like for, while, and do-while are used to repeatedly execute code. Decision making statements include if-else, if-else if-else, switch, and the conditional operator. The document discusses these programming concepts and provides examples of defining and using variables of different data types, loops, and conditional statements in Objective-C code.
This document provides an overview of the C programming language. It discusses that C was created by Dennis Ritchie in 1970 and is a structured programming language. It also describes some key features of C like it being a high-level language, being portable between computers, and having only 32 keywords. The document then explains the basic structure of a C program including header files, the main function, and function definitions. It also covers various data types in C like integers, floats, characters, as well as variables, constants, and comments.
This document provides instructions for opening a new project in Code::Blocks, writing and running a simple C program, and includes a brief explanation of some key aspects of the sample C code. The instructions guide the user to install Code::Blocks, create a new project, add a main.cpp file, write a simple "Hello World" style program using #include, int main(), and return 0, build and run the program. The document then provides a short description of aspects of the sample code like header files, main functions, and using printf to output text.
C++ Unit 1PPT which contains the Introduction and basic o C++ with OOOps conc...ANUSUYA S
C++ is an object-oriented programming language that began as an expanded version of C. It was invented by Bjarne Stroustrup in 1979 at Bell Labs. C++ supports concepts of object-oriented programming like classes, inheritance, polymorphism, abstraction and encapsulation. It is a compiled, general purpose language that allows both procedural and object-oriented programming. Key features of C++ include input/output streams, declarations, control structures like if-else and switch statements.
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
AppSec PNW: Android and iOS Application Security with MobSFAjin Abraham
Mobile Security Framework - MobSF is a free and open source automated mobile application security testing environment designed to help security engineers, researchers, developers, and penetration testers to identify security vulnerabilities, malicious behaviours and privacy concerns in mobile applications using static and dynamic analysis. It supports all the popular mobile application binaries and source code formats built for Android and iOS devices. In addition to automated security assessment, it also offers an interactive testing environment to build and execute scenario based test/fuzz cases against the application.
This talk covers:
Using MobSF for static analysis of mobile applications.
Interactive dynamic security assessment of Android and iOS applications.
Solving Mobile app CTF challenges.
Reverse engineering and runtime analysis of Mobile malware.
How to shift left and integrate MobSF/mobsfscan SAST and DAST in your build pipeline.
Have you ever been confused by the myriad of choices offered by AWS for hosting a website or an API?
Lambda, Elastic Beanstalk, Lightsail, Amplify, S3 (and more!) can each host websites + APIs. But which one should we choose?
Which one is cheapest? Which one is fastest? Which one will scale to meet our needs?
Join me in this session as we dive into each AWS hosting service to determine which one is best for your scenario and explain why!
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfChart Kalyan
A Mix Chart displays historical data of numbers in a graphical or tabular form. The Kalyan Rajdhani Mix Chart specifically shows the results of a sequence of numbers over different periods.
Main news related to the CCS TSI 2023 (2023/1695)Jakub Marek
An English 🇬🇧 translation of a presentation to the speech I gave about the main changes brought by CCS TSI 2023 at the biggest Czech conference on Communications and signalling systems on Railways, which was held in Clarion Hotel Olomouc from 7th to 9th November 2023 (konferenceszt.cz). Attended by around 500 participants and 200 on-line followers.
The original Czech 🇨🇿 version of the presentation can be found here: https://www.slideshare.net/slideshow/hlavni-novinky-souvisejici-s-ccs-tsi-2023-2023-1695/269688092 .
The videorecording (in Czech) from the presentation is available here: https://youtu.be/WzjJWm4IyPk?si=SImb06tuXGb30BEH .
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
The Microsoft 365 Migration Tutorial For Beginner.pptxoperationspcvita
This presentation will help you understand the power of Microsoft 365. However, we have mentioned every productivity app included in Office 365. Additionally, we have suggested the migration situation related to Office 365 and how we can help you.
You can also read: https://www.systoolsgroup.com/updates/office-365-tenant-to-tenant-migration-step-by-step-complete-guide/
Dandelion Hashtable: beyond billion requests per second on a commodity serverAntonios Katsarakis
This slide deck presents DLHT, a concurrent in-memory hashtable. Despite efforts to optimize hashtables, that go as far as sacrificing core functionality, state-of-the-art designs still incur multiple memory accesses per request and block request processing in three cases. First, most hashtables block while waiting for data to be retrieved from memory. Second, open-addressing designs, which represent the current state-of-the-art, either cannot free index slots on deletes or must block all requests to do so. Third, index resizes block every request until all objects are copied to the new index. Defying folklore wisdom, DLHT forgoes open-addressing and adopts a fully-featured and memory-aware closed-addressing design based on bounded cache-line-chaining. This design offers lock-free index operations and deletes that free slots instantly, (2) completes most requests with a single memory access, (3) utilizes software prefetching to hide memory latencies, and (4) employs a novel non-blocking and parallel resizing. In a commodity server and a memory-resident workload, DLHT surpasses 1.6B requests per second and provides 3.5x (12x) the throughput of the state-of-the-art closed-addressing (open-addressing) resizable hashtable on Gets (Deletes).
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...Jason Yip
The typical problem in product engineering is not bad strategy, so much as “no strategy”. This leads to confusion, lack of motivation, and incoherent action. The next time you look for a strategy and find an empty space, instead of waiting for it to be filled, I will show you how to fill it in yourself. If you’re wrong, it forces a correction. If you’re right, it helps create focus. I’ll share how I’ve approached this in the past, both what works and lessons for what didn’t work so well.
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.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/temporal-event-neural-networks-a-more-efficient-alternative-to-the-transformer-a-presentation-from-brainchip/
Chris Jones, Director of Product Management at BrainChip , presents the “Temporal Event Neural Networks: A More Efficient Alternative to the Transformer” tutorial at the May 2024 Embedded Vision Summit.
The expansion of AI services necessitates enhanced computational capabilities on edge devices. Temporal Event Neural Networks (TENNs), developed by BrainChip, represent a novel and highly efficient state-space network. TENNs demonstrate exceptional proficiency in handling multi-dimensional streaming data, facilitating advancements in object detection, action recognition, speech enhancement and language model/sequence generation. Through the utilization of polynomial-based continuous convolutions, TENNs streamline models, expedite training processes and significantly diminish memory requirements, achieving notable reductions of up to 50x in parameters and 5,000x in energy consumption compared to prevailing methodologies like transformers.
Integration with BrainChip’s Akida neuromorphic hardware IP further enhances TENNs’ capabilities, enabling the realization of highly capable, portable and passively cooled edge devices. This presentation delves into the technical innovations underlying TENNs, presents real-world benchmarks, and elucidates how this cutting-edge approach is positioned to revolutionize edge AI across diverse applications.
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving
Manufacturing custom quality metal nameplates and badges involves several standard operations. Processes include sheet prep, lithography, screening, coating, punch press and inspection. All decoration is completed in the flat sheet with adhesive and tooling operations following. The possibilities for creating unique durable nameplates are endless. How will you create your brand identity? We can help!
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...Alex Pruden
Folding is a recent technique for building efficient recursive SNARKs. Several elegant folding protocols have been proposed, such as Nova, Supernova, Hypernova, Protostar, and others. However, all of them rely on an additively homomorphic commitment scheme based on discrete log, and are therefore not post-quantum secure. In this work we present LatticeFold, the first lattice-based folding protocol based on the Module SIS problem. This folding protocol naturally leads to an efficient recursive lattice-based SNARK and an efficient PCD scheme. LatticeFold supports folding low-degree relations, such as R1CS, as well as high-degree relations, such as CCS. The key challenge is to construct a secure folding protocol that works with the Ajtai commitment scheme. The difficulty, is ensuring that extracted witnesses are low norm through many rounds of folding. We present a novel technique using the sumcheck protocol to ensure that extracted witnesses are always low norm no matter how many rounds of folding are used. Our evaluation of the final proof system suggests that it is as performant as Hypernova, while providing post-quantum security.
Paper Link: https://eprint.iacr.org/2024/257
Generating privacy-protected synthetic data using Secludy and MilvusZilliz
During this demo, the founders of Secludy will demonstrate how their system utilizes Milvus to store and manipulate embeddings for generating privacy-protected synthetic data. Their approach not only maintains the confidentiality of the original data but also enhances the utility and scalability of LLMs under privacy constraints. Attendees, including machine learning engineers, data scientists, and data managers, will witness first-hand how Secludy's integration with Milvus empowers organizations to harness the power of LLMs securely and efficiently.
How information systems are built or acquired puts information, which is what they should be about, in a secondary place. Our language adapted accordingly, and we no longer talk about information systems but applications. Applications evolved in a way to break data into diverse fragments, tightly coupled with applications and expensive to integrate. The result is technical debt, which is re-paid by taking even bigger "loans", resulting in an ever-increasing technical debt. Software engineering and procurement practices work in sync with market forces to maintain this trend. This talk demonstrates how natural this situation is. The question is: can something be done to reverse the trend?
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
2. Why Use C on an Apple //?
• Your code will run faster if you code in C versus
AppleSoft
• It is easier to code in C than assembly language
(in my opinion)
• If you are careful, you can write C code which
works on an Apple // and on modern OS’s (Mac
OS X, Windows, Linux, etc)
• There are good cross-compiling tools for C
3. C Compiler vs Applesoft
Interpreter
• Applesoft is an interpreter
• This means that the Apple // is running a program which
reads and executes your program.
• An interpreter introduces a significant performance penalty
• C is a compiled language
• This means your code is turned into machine code which
runs “on the metal” on your Apple //
• But if you make a mistake in your code, it can lead to
crashes which are hard to figure out
4. Compilation Process
This is what happens when your C code is turned into a
binary which you can run.
file1.c
file2.c
file1.oCompiler
Compiler
file2.o
BinaryLinker
Mac OS X
BinaryCopy
Real or
emulated
Apple //
5. Comments in Your Code
• You can add comments in your Applesoft code:
10
REM
THIS
IS
A
COMMENT
IN
BASIC
• There are two ways to add comments in C:
/*
This
is
a
multiline
comment
which
starts
from
a
slash
star
and
goes
to
a
star
slash
*/
//
This
is
a
single
line
comment
6. No Line Numbers?
• Unlike Applesoft, there are no line numbers in C code
• But how does this work?
• Although C does have a goto statement, it jumps to
a location with a name, not a line number.
• Instead of gosub, you create and call functions
referenced by name, not a line number.
• Loops and if statements can enclose a block of
statements. We will see examples later.
7. Where does the program
start?
• In Applesoft, execution starts from the lowest
numbered line of code (line 10 perhaps)
• But C does not have line numbers so where does
execution start?
• C defines a special function called “main” which is
where execution begins.
• When a C executable is launched, the main function is
called and the program ends when the main function
returns.
8. But What Is A Function?
• The previous slide introduced the “main function” without defining functions.
• In C, a function is similar to a subroutine in Applesoft.
• But, a function is more structured than an Applesoft subroutine:
• Every function has a name. You use the name to call the function.
• Every function has their own “local variables”. Variables in Applesoft are
“global”. C has global variables but C functions can have their own
variables which are private.
• Every function takes zero or more inputs that are special local variables.
They are set to a value which comes from the caller of the function.
• Every function can return a value back to the caller.
9. The main() Function
• Here is a pretty standard way to define the main function
int
main(void)
{
return
0;
}
• The main function here:
• Takes no input arguments. That is what “void” means.
• Returns an integer to the caller. That is what “int” means.
• The code for this function is between the curly braces.
10. Another function
• Here is another function in C:
int
square(int
x)
{
return
x
*
x;
}
• This function:
• Takes an integer from the caller and puts it into a local variable
called “x”.
• Returns that number multiplied by itself back to the caller.
11. What About The Semi-
Colons?
• In Applesoft, you can use a semi-colon at the end of a
print statement to prevent it from outputting a new line
at the end.
• In C, every statement in code must end with a semi-
colon character.
• If you forget it, the C compiler won’t understand your
code and it will give you errors.
• The C compiler needs the semi-colon to tell where
each statement ends and a new one starts.
12. Variables In Applesoft
• You can just start using a variable. The first time
you reference it, it is created.
• The variable name can be as long as you like
but only the first two characters are relevant.
• The type of the variable is encoded in the name
with special characters.
13. Variables in C
• You must “declare” your variables before you can use them. They are not just
implicitly created when first used.
• A variable can have a name that is as long as you like. All characters of the
name are used, not just the first two.
• You can use lots of kinds of characters in the name:
• They must start with a lower or upper case letter or an underscore
character.
• After the first character, you can use letters, numbers or the underscore
character.
• C is case sensitive
• The declaration tells you the type of variable.
14. Variable Types
Applesoft C
Integers X% = 5 int x = 5;
Floating point Y = 1.5 float y = 1.5;
Strings Z$ = “HELLO” char z[] = “hello”;
Note: cc65 does not support floating point!
15. Strings
• The previous slide made it seem like C has a string variable type but
that really is not true.
• C has a “char” variable type which is a variable which holds a single
character.
• You can do arrays of char’s in order to create a string.
• In C, the standard is that a string is zero or more characters followed by
a “null terminator” which is ASCII zero (ie CHR$(0) in Applesoft).
• Or a string can be a “pointer to a char” - I will not try to explain that
right now…
• Strings, arrays and pointers are all intertwined and if you understand
them, you pretty much understand C.
16. Printing Text
• To print text in C, we need to use the “standard I/O
functions”.
• But all functions (like all variables) need to be declared.
• There is a short-hand to declare all of the standard I/O
functions. You just tell the compiler to “include” them as
though you typed them:
#include
<stdio.h>
• The “stdio.h” file will be inserted as though you typed it in
your source file. That way, you can get all of the standard I/O
declarations.
17. Printing Text
• To print text, use the “printf” function. Here is a complete example:
#include
<stdio.h>
int
main
(void)
{
printf(“HELLO,
WORLD!n”);
return
0;
}
• This is the first function call you have seen. We are calling the function
printf() with a single value. That value is a string (inside quotes).
• The “n” in the string is replaced by the C compiler with new-line character.
So, you get a new line at the end of the printed text.
18. Printing Integers
• Here is an example of printing an integer variable
#include
<stdio.h>
int
main(void)
{
int
x
=
10;
printf(“x
=
%dn”,
x);
return
0;
}
• The %d character is special to printf(). When it sees a %d, it looks at the
next input argument. It expects to find an integer and it replaces the %d
with the value. In this case it prints “x = 10”.
19. Printing Characters
• Here is an example of printing a character variable
#include
<stdio.h>
int
main(void)
{
char
x
=
‘e’;
printf(“x
=
%cn”,
x);
return
0;
}
• The %c character is special to printf(). When it sees a %c, it looks at the
next input argument. It expects to find an character and it replaces the %c
with the value. In this case, it prints “x = e”.
20. Printing Strings
• Here is an example of printing a character variable
#include
<stdio.h>
int
main(void)
{
char
x[]
=
“hello”;
printf(“x
=
%sn”,
x);
return
0;
}
• The %s character is special to printf(). When it sees a %s, it looks at the
next input argument. It expects to find a string and it replaces the %s with
the value. In this case, it prints “x = hello”.
21. Getting Input
• To read a string from the user, you need to define a
string buffer to read into.
• In Applesoft, strings grow or shrink as required to hold
them.
• In C, you need to manage the size of your own strings
and make sure you don’t put more data into a string
than it will hold
• This is the well known “buffer overflow” problem that
has lead to so many security problems.
22. Getting Input
• Here is an example of reading a line of text:
#include
<stdio.h>
int
main(void)
{
char
buffer[80];
//
80
bytes
fgets(buffer,
sizeof(buffer),
stdin);
printf(“You
typed
=
%sn”,
buffer);
return
0;
}
• The fgets() function gets a string from a file (File GET String or fgets).
• The “file” it reads from is the special file “stdin” which is short for standard input which
is generally the keyboard.
23. If Statements
• Here is what an if statement looks like:
int
x
=
10;
if
(x
==
10)
{
printf(“x
is
10!n”);
}
• Note that the curly braces are optional if only one statement exists in the
body of the if.
• The indenting is not required but can help you and others read and
understand your code.
• Note the double equal signs which means “equals” where single equal
signs means “assignment”.
24. If Statements
• Your if statements can have multiple statements inside the curly braces:
int
x
=
10;
if
(x
==
10)
{
x
=
x
*
2;
printf(“x
was
10!n”);
}
• Here if x is 10, the two statements in the curly braces will be exectued. After
that, execution continues after the end of the curly braces.
• If x is not 10, then those two statements are skipped. Execution continues
after the end of the curly braces.
25. If Statements
• If statements can have “else” clauses.
int
x
=
10;
if
(x
==
10)
{
x
=
x
*
2;
printf(“x
was
10!n”);
}
else
{
printf(“x
was
not
10!n”);
}
• Here if x is 10, the two statements in the curly braces will be exectued. After that,
execution skips the printf() in the else clause and continues after the end of the else
curly braces.
• If x is not 10, then those two statements are skipped. The printf() in the else curly brace
is executed instead and execution continues after the else curly braces.
26. If Statements
• If statements can be nested:
int
x
=
10;
int
y
=
5;
if
(x
==
10)
{
if
(y
==
5)
{
printf(“x
is
10
and
y
is
5n”);
}
else
{
printf(“x
is
10
and
y
is
not
5n”);
}
}
else
{
if
(y
==
5)
{
printf(“x
is
not
10
and
y
is
5n”);
}
else
{
printf(“x
is
not
10
and
y
is
not
5n”);
}
}
27. For Loops
• Here is the classic “count from 1 to 100” in C using a for loop:
#include
<stdio.h>
int
main(void)
{
int
i;
for
(i
=
1;
i
<=
100;
i++)
{
printf(“%dn”,
i);
}
return
0;
}
• “i++” is a shortcut which is the same as saying “i = i + 1”
28. For Loops
• A for loop in C has four different components:
for
(A;
B;
C)
{
D;
}
• The “A” above is the initialization phase of the for loop. It is executed only once before the
first execution through the loop.
• The next thing which happens is that “B” is executed. If B is a statement which returns true,
then the loop executes.
• At this point “D” executes. D is one or more statements which make up the body of the loop.
• After that, “C” executes. This is generally where the loop counter is incremented. But, you
can do just about what ever you want in this statement.
• Again, “B” is executed and if it again returns true, the loop executes again. As soon as B
returns false, the for loop is done and execution continues after the curly braces.
29. While Loops
• Here is the classic “count from 1 to 100” in C using a while loop:
#include
<stdio.h>
int
main(void)
{
int
i
=
1;
while
(i
<=
100)
{
printf(“%dn”,
i);
i++;
}
return
0;
}
30. While Loops
• A while loop in C has two different components:
while
(A)
{
B;
}
• The first thing which happens is that “A” is executed. If A is a
statement which returns true, then the loop executes.
• At this point “B” executes. B is one or more statements which make
up the body of the loop.
• Again, “A” is executed and if it again returns true, the loop executes
again. As soon as A returns false, the while loop is done and
execution continues after the curly braces.
31. Putting It Together
• Here is a C program to calculate the squares from 1 to 100:
#include
<stdio.h>
int
square(int
x)
{
return
x
*
x;
}
int
main(void)
{
int
i;
for
(i
=
1;
i
<=
100;
i++)
{
printf(“%d
squared
is
%dn”,
i,
square(i));
}
return
0;
}