Object-oriented programming (OOP) refers to a type of computer programming (software design) in which programmers define the data type of a data structure, and also the types of operations (functions) that can be applied to the data structure.
A microprocessor is an electronic component that is used by a computer to do its work. It is a central processing unit on a single integrated circuit chip containing millions of very small components including transistors, resistors, and diodes that work together. Some microprocessors in the 20th century required several chips. Microprocessors help to do everything from controlling elevators to searching the Web. Everything a computer does is described by instructions of computer programs, and microprocessors carry out these instructions many millions of times a second. [1]
Microprocessors were invented in the 1970s for use in embedded systems. The majority are still used that way, in such things as mobile phones, cars, military weapons, and home appliances. Some microprocessors are microcontrollers, so small and inexpensive that they are used to control very simple products like flashlights and greeting cards that play music when you open them. A few especially powerful microprocessors are used in personal computers.
A microprocessor is an electronic component that is used by a computer to do its work. It is a central processing unit on a single integrated circuit chip containing millions of very small components including transistors, resistors, and diodes that work together. Some microprocessors in the 20th century required several chips. Microprocessors help to do everything from controlling elevators to searching the Web. Everything a computer does is described by instructions of computer programs, and microprocessors carry out these instructions many millions of times a second. [1]
Microprocessors were invented in the 1970s for use in embedded systems. The majority are still used that way, in such things as mobile phones, cars, military weapons, and home appliances. Some microprocessors are microcontrollers, so small and inexpensive that they are used to control very simple products like flashlights and greeting cards that play music when you open them. A few especially powerful microprocessors are used in personal computers.
This is a short history of Computer. You can get benefit from it if you want to have an idea about the developments in the story of computer technology.
HEAP SORT ILLUSTRATED WITH HEAPIFY, BUILD HEAP FOR DYNAMIC ARRAYS.
Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to the selection sort where we first find the minimum element and place the minimum element at the beginning. Repeat the same process for the remaining elements.
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsVictor Morales
K8sGPT is a tool that analyzes and diagnoses Kubernetes clusters. This presentation was used to share the requirements and dependencies to deploy K8sGPT in a local environment.
This is a short history of Computer. You can get benefit from it if you want to have an idea about the developments in the story of computer technology.
HEAP SORT ILLUSTRATED WITH HEAPIFY, BUILD HEAP FOR DYNAMIC ARRAYS.
Heap sort is a comparison-based sorting technique based on Binary Heap data structure. It is similar to the selection sort where we first find the minimum element and place the minimum element at the beginning. Repeat the same process for the remaining elements.
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsVictor Morales
K8sGPT is a tool that analyzes and diagnoses Kubernetes clusters. This presentation was used to share the requirements and dependencies to deploy K8sGPT in a local environment.
Water billing management system project report.pdfKamal Acharya
Our project entitled “Water Billing Management System” aims is to generate Water bill with all the charges and penalty. Manual system that is employed is extremely laborious and quite inadequate. It only makes the process more difficult and hard.
The aim of our project is to develop a system that is meant to partially computerize the work performed in the Water Board like generating monthly Water bill, record of consuming unit of water, store record of the customer and previous unpaid record.
We used HTML/PHP as front end and MYSQL as back end for developing our project. HTML is primarily a visual design environment. We can create a android application by designing the form and that make up the user interface. Adding android application code to the form and the objects such as buttons and text boxes on them and adding any required support code in additional modular.
MySQL is free open source database that facilitates the effective management of the databases by connecting them to the software. It is a stable ,reliable and the powerful solution with the advanced features and advantages which are as follows: Data Security.MySQL is free open source database that facilitates the effective management of the databases by connecting them to the software.
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Literature Review Basics and Understanding Reference Management.pptxDr Ramhari Poudyal
Three-day training on academic research focuses on analytical tools at United Technical College, supported by the University Grant Commission, Nepal. 24-26 May 2024
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesChristina Lin
Traditionally, dealing with real-time data pipelines has involved significant overhead, even for straightforward tasks like data transformation or masking. However, in this talk, we’ll venture into the dynamic realm of WebAssembly (WASM) and discover how it can revolutionize the creation of stateless streaming pipelines within a Kafka (Redpanda) broker. These pipelines are adept at managing low-latency, high-data-volume scenarios.
Understanding Inductive Bias in Machine LearningSUTEJAS
This presentation explores the concept of inductive bias in machine learning. It explains how algorithms come with built-in assumptions and preferences that guide the learning process. You'll learn about the different types of inductive bias and how they can impact the performance and generalizability of machine learning models.
The presentation also covers the positive and negative aspects of inductive bias, along with strategies for mitigating potential drawbacks. We'll explore examples of how bias manifests in algorithms like neural networks and decision trees.
By understanding inductive bias, you can gain valuable insights into how machine learning models work and make informed decisions when building and deploying them.
9. 1940s ~ Report
We shall need a great number of mathematicians of ability
because there will probably be a good deal of work of this
kind to be done.
10. 1940s ~ Report
One of our difficulties will be the maintenance of an
appropriate disciple, so we do not lose track of what we
are doing.
Alan Turing was probably the first person to write code that we could recognize today as code executed in an electronic computer with binary as an instruction format.
Alan Turing was probably the first person to write code that we could recognize today as code executed in an electronic computer with binary as an instruction format.
Alan Turing was probably the first person to write code that we could recognize today as code executed in an electronic computer with binary as an instruction format.
Relay is a coil of wire, which if current is passed through generated a magnetic field that attracts the amateur, pulling it in to grab the switch contact to either close or open the switch.
You can either open/close the switch to complete the circuit. These were mainly invented for telegraps, since telegrap signals could go for ~20 miles to amplify the signal, by putting a relay between the signals, which would close the switch on a new battery to relay the signal for another ~20 miles
A device like this could probably switch 10 times as reliably, the clock rate was ~10 milliseconds. The clock rate on relays was not significant by today’s standards, but was faster than anything
Vacuum tubes were unreliably slow and could fail often because they could not hold the vacuum for long, the filaments would burn out quickly, they were not standard, but were faster than relays, but they so unreliable to put them in a serial format was unreliable.
The colossus computer.
ACE = Automated Computing Engine
Alan Turing designed:
He designed the instruction set
He designed the word width
He designed the concept of the machine
The first reliable tube computer that used mercury delay lines. A mercury delay line is a tube of mercury fluid. You put a speaker on one end and a microphone at the other. The sound waves roar through the mercury coming out at the other end, picked up by the microphone transistor, and cycle it around to the beginning of the memory.
This was akin to rotating memory like a disc, only that it was memory. They figured they could get 1024 bits into the tube, then they would have 22 tubes, this was a 22 bit word size machine. This was a 1024x22 machine to write code on.
Alan Turing, in inventing computing foresaw the rigour discipline it would require to do work
He understood the problems we were going to face in the next 60 years after writing a few lines of software in Base 32.
He understood the problems we were going to face in the next 60 years after writing a few lines of software in Base 32.
Our industry has been hunting for discipline while at the same time rejecting it.
Alan Turing, in inventing computing foresaw the rigour discipline it would require to do work
Alan Kay invented Object Oriented Programming in SmallTalk, but not the way we know it now.
Brief history of C, C++ and Objective C. How many languages have we developed in the last 5 years. Why don’t we agree that we can speak the same language for a long time without inventing and adopting new languages - Had a chapter zero, that Bjarne copied and gave the impression that C++ was the next C.
These guys popularized OOP. Both wanted a better C, so they wrote preprocessors in front of C to add the imperatives that they were looking for. Objective C was known before C++.
Woman have a more structured and methodical approach to things that we seem to have lost
The colossus computer.
ACE = Automated Computing Engine
Alan Turing:
Designed the instruction set
Designed the word width
Designed the concept of the machine
The first reliable tube computer that used mercury delay lines. A mercury delay line is a tube of mercury fluid. You put a speaker on one end and a microphone at the other. The sound waves roar through the mercury coming out at the other end, picked up by the microphone transistor, and cycle it around to the beginning of the memory.
This was akin to rotating memory like a disc, only that it was memory. They figured they could get 1024 bits into the tube, then they would have 22 tubes, this was a 22 bit word size machine. This was a 1024x22 machine to write code on.
A use case does not describe the system, nor the implementation details of the data
OOP has two problems, which stem from state abstraction and management:
They hide state mutations
They share state using pointers
These do not lend very well to concurrency and parallel programming
Entities have application independent business rules
Interactors will talk to multiple entities
Entities have application independent business rules
Interactors will talk to multiple entities
These are output boundaries, that separate the output from the input.
DM => Delivery Mechanism
Output boundaries separate the output from the input.
This was designed for SmallTalk
The model object hides a small business rule
The role of the control is to gather input from some device (keyboard, mouse)
The control translates the gestures into method calls on the model. The model is not allowed to know what devices control it, the model was not allowed to know where it gets its input from
The view registered with the model and the model calls back to the view through an observer pattern, and the view is tasked with presenting the model to the user in an appropriate pattern
This is minute. There was a MVC for a button, text box or group of buttons. This is unlike the current web
What happens here is that you have controller logic leaking into the models
Url parsing logic
Http request manipulation
Etc
Business logic also leaks into views, especially if the team cannot keep discipline.
The problem is that there are no SOLID boundaries
The boundary is a hard architectural boundary that separates the business rules. The arrows point to the left of the boundary, and not to the right.
This is the gist of the plugin architecture. The UI is a plugin into the business rules, not the other way round
If something changes often, it should be a plugin, if something is not going to change often, it should be plugged into.
The presenter is a class or set of classes that takes the response model and translates it into a view model.
Response model => This is a model that has data in it created in the interactor as a result of a use case, but the data is not presentable (Date, currency)
View model => Created by presenter (takes the data and turns them into formatted strings) and contains string formatted data. The view model knows how to format data.
All significant processing of the presentation of the screen is done in the Presenter
The view has to be so stupid as not to be tested.
All arrows point in one direction to the left of the boundary point in one direction.
Frameworks and design patterns are details that should be hidden
Who calls the database? Grandma?
The programmer’s job is to separate the details from the things that are general. We separate the things that are important from the things that are not
We are ABSTRACTORS
The database is a detail for persistence!
Persistence existed before relational database.
Directory structures
Hierarchical databases
Flat data structures
Why are we preferring the table structures for the last 30 years, abstracted behind a language called SQL.
Why databases?
Because working with disks is a pain. You have to take into account:
Spin velocity
Byte marks
You had to send accelerate and decelerate velocity
100ms for seeking the byte to write sequence
Waiting for rotational latency
To write a byte, you had to read a sector (4k bytes)
We invented indexing to make dealing with disks easier. Then created tables to hold the indexes and then creates frameworks to abstract all that away.
The entity gateway has every method for every operation you want to perform on the database.
The database specific implementation (SQL) lives in the gateway implementation. The SQL stuff plugs into the business rules.
For testing, we replace the gateway implementation with stubs that return test data. If the tests take more than a couple of minutes to run, they will fail in their purpose …
If you run the tests yourself and see them execute in real time, you could make decisions based on what happened on those tests.
An architect is someone who defers design decisions until they are absolutely necessary
Good architectures allow major architectural decisions to be deferred. The job of an architect is not to make decisions, the job of a good architect is to defer decisions as long as possible to allow the program to be built in the absence of decisions so that decisions can be made later with the most possible information (or adequate information).
You need to make some decisions early, like language, but you do not need to decide what database will be used early. You may already know due to existing constraints, but you can still pretend like you don’t know the database and defer that decision as long as possible.
If the first thing you type at the beginning of the project is the web framework, you have lost the architecture. The business rules should always come first and then defer the framework decision later.
And this is achieved by using a plugin model.
Everything is a plugin to the Use Cases. The Use Cases do not know that they exist, they are indepent to everything else.
People have gotten emotional about dependency injection, however, you do not want to inject everything. The thing you want to inject is the factories (and let the rest of the business rules use those factories) and strategies.
Do not inject anything into the Use cases! You do not want the Use Case code to know about the DI framework, or any framework for that matter.
Framework authors are out to screw you!
There are not really out to screw you but they will screw you inadvertently since they have their interests in mind, not yours.
The relationship between the developer and framework author is fraught to one side: Developers make tremendous commitments to the frameworks, while the framework authors do not make any commitments.
The author will change the framework any time he feels like it. A good software developer looks at frameworks and understands that any frameworks come with benefits but also with tremendous costs. And the costs can be pretty high. Use the frameworks but keep them at arms-length.
Do not follow the examples of the framework author (that he writes in the docs), because they are comfortable coupling to his framework, but you should not.
How do break away from you framework if it becomes a liability?
There has to be loose coupling between frameworks and your business logic.
TDD
Use TDD to structure the primary interface to the code
TDD
Use copy constructors
TDD
Use TDD to structure the primary interface to the code