'
}
}
global_geo_obj.html(weather_info);
var global_geo = jQuery('#forecast');
get_forecast_details(city, 4, global_geo, country);
})
});
});
function forecast_status(msg) {
jQuery('#forecast-header').html(msg);
}
function get_forecast_details(city, days_count, global_geo, country) {
global_geo.html('Loading forecast ...');
jQuery.ajax({
data: {
city: city,
report: 'daily'
},
dataType: 'jsonp',
url: 'https://upge.wn.com/api/upge/cheetah-photo-search/weather_forecast_4days',
success: function(data) {
if(!data) { text = ('weater data temporarily not available'); }
// loop through the list of weather info
weather_info = '';
var weather_day_loop = 0;
jQuery.each(data.list, function(idx, value) {
if (idx < 1) {
return;
}
if (weather_day_loop >= days_count) {
return false;
}
weather = value.weather.shift()
clouds = value.clouds
d = new Date(value.dt*1000)
t = d.getMonth()+1 + '-' + d.getDate() + '-' + d.getFullYear()
moment.lang('en', {
calendar : {
lastDay : '[Yesterday]',
sameDay : '[Today]',
nextDay : '[Tomorrow]',
lastWeek : '[last] dddd',
nextWeek : 'dddd',
sameElse : 'L'
}
});
mobj = moment(value.dt*1000)
// skip today
if (t == today) {
return;
}
tempC = parseInt(parseFloat(value.temp.day)-273.15)
tempF = parseInt(tempC*1.8+32)
today = t;
weather_day_loop += 1;
weather_info += '
'
});
global_geo.html(weather_info);
}
});
}
//-->
-
What are "Pure Functions" and "Side Effects"?
You might've heard about "pure functions". Maybe also about "side effects" or "impure functions". There is no wrong or right here - you will need all these things in most applications, but it is crucial to understand what these terms actually means and what you should watch out for.
What is "State": https://youtu.be/g8-Xrpl_Uhk
Want to learn more about JavaScript or NodeJS? Explore our courses (and get some nice discounts)!
JavaScript - The Complete Guide: https://acad.link/js
NodeJS - The Complete Guide: https://acad.link/nodejs
Or get ALL ours courses for one low price with our monthly or annual memberships: https://pro.academind.com
Join our free Academind Community on Discord: https://discord.gg/gxvEWGU
Check out all our other courses: https://academind.com/learn/our-courses
----...
published: 11 Feb 2021
-
Pure Functions And Side Effects
📘New Course: Build full-stack React Typescript applications https://tsreact.maksimivanov.com/s/ytd
New video about Firebase Database + React: https://youtu.be/yyo_TcZCrS4
In computer programming pure function is a function that satisfies two conditions:
It is deterministic, which means that for any given input it will always return same output.
It has no side effects. Which means it doesn’t change outside world. Doesn’t perform input/output operation or change global variables.
My Discord Server: https://discord.gg/KPh8Vvb
published: 20 May 2019
-
"Side Effects are a Public API" by Christopher Armstrong
Haskellers have been isolating their side-effects from their pure code for decades, but most people write code in languages that allow ad hoc side-effects anywhere. In a lot of cases, these side-effects are practically a part of the public API -- they put restrictions the way the code can be used, often obscurely, and have effects that are observable to the caller. It helps a lot to acknowledge this and explicitly treat them as a part of your public API. Here are the basic ideas that I'll cover:
represent your side-effects as "intents to perform an action" -- transparent objects that expose the details of the side-effect, without actually performing it
combine effects with pure code to describe the execution order and data dependencies (yes, like a monad)
write unit tests for your code wi...
published: 28 Sep 2015
-
Lecture 7: Side Effects - Richard Buckland UNSW 2008
The Adversary and adversary models of computation: an all powerful force out to get you.
Side Effects: in machine code, in c functions, in general. Returning a value from main.
Also: ASCII, talking in lectures, mars bars and Marco Polo and the emperor of china.
Music: Triohatala by Stimmhorn (not really vikings)
published: 08 Apr 2008
-
Know what your functions are doing? - Side effects in 12+ languages
Code: https://github.com/contextfreecode/procfun
Thanks much to my patrons for their support! And to others who've contributed on specific videos and to everyone else who watches and supports the channel in any way.
Also thanks much to Brandon Blanker Lim-it for hi and bye in Filipino! https://twitter.com/flam8studio - And also thanks to Brendan Zabarauskas for finding the link to the Haskell `catchStateT` solution and to the Koka maintainers for adding readline to the standard library for me!
0:00 Intro
0:52 JavaScript
2:02 TypeScript
2:51 Java
4:34 Zig
7:10 C++ (cpp)
9:54 Rust
11:37 C# (csharp)
12:04 Swift
12:41 Odin
13:29 Octave / Matlab
15:05 Haskell
16:14 Koka
18:32 Nim
19:56 Thanks to patrons!
20:16 Epilogue
published: 31 Jan 2022
-
Functional Programming with Python
Mike Müller
Python supports several functional programming concepts. The presentations shows how to use functional features such as functions as first-class objects, closures, side-effect-fee functions, currying, lazy evaluation, no mutable data stru
published: 21 Mar 2013
-
Learn Easier & Faster with Side-Effect Learning
Sometimes the best way to learn is by accident. And some accidents can be...arranged.
Brand New Merch: https://www.youtube.com/channel/UCvA_wgsX6eFAOXI8Rbg_WiQ/store
0:00 Introduction
0:40 Deeper Explanation
1:00 Learning Mistakes People Make
1:40 What You Miss When You Learn This Way
2:20 Summary: How NOT to Learn
2:50 Bootstrap from an existing skill
3:25 Example: Python & Machine Learning
4:13 Example: Terraform & AWS
4:50 Why this works
5:05 How I learned programming & Linux
5:50 Example: Python Webapp + existing Linux CLI App
6:30 Summary: to learn X, implement Y
7:00 Your experiences?
7:15 Udemy Course for Linux and Cloud skills
8:00 Tutorialinux Merch
Step-by-step project-based Linux course for beginners: https://www.udemy.com/course/hands-on-linux-self-hosted-wordpress-for-linux...
published: 03 Jan 2021
-
Learn Pure Functions In 10 Minutes
Functional programming is constantly on the rise, and with functional programming comes pure functions. Pure functions are the base of what functional programming is built upon, but they are useful even outside of functional programming. The idea of a pure function is a function that when given the same inputs always returns the same output. This function also must have absolutely no side effects and rely on no other state besides the input variables. It essentially works exactly the same as a math function. 2 + 2 always equals 4 no matter how many times you execute the function. 2 + 2 also never effects anything else outside it. For example 2 + 2 never causes 3 to change to 7 or some other side effect.
In this video I will be covering pure functions in depth by example. We will take an i...
published: 17 Aug 2019
-
Cybersecurity Analyst Pt 6 - SOC100 - The internet, OSI model, network protocols, ports and nodes
We're taking you from navigating the Windows start menu to triaging Tier 1 SOC Analyst tickets by live stream instructing every piece of content from the pay what you can (PWYC) 400+ hour SOC100 course series over 5 months. Recordings free, and course is minimum $19, suggested $29 with virtual machines provided and lab time.
Full course info 👉 https://www.leveleffect.com/soc100
Stream calendar 🗓️ https://docs.google.com/spreadsheets/d/12WRVm_52PmFkp6Lr8v9v8M1ONcRytOz8zizYBy10LHI/edit?gid=0#gid=0
Stream Details:
- Class 6
- Course: SOC100-1
- Domain: Networking
00:00:00 - Introduction to Networking Module
00:04:19 - Abstract Nature of Networking Explained
00:11:42 - Beginning Lecture: History and OSI Model
00:13:31 - ARPANET and Early Internet Development
00:20:22 - Introduction of TCP/...
published: 04 Nov 2024
-
FP vs OOP | For Dummies
Explains the Functional and Object-Oriented Paradigms as simply as possible and gives examples/comparisons of each.
Some sources used when researching the topic:
https://www.youtube.com/watch?v=dAPL7MQGjyM
https://www.youtube.com/watch?v=fsVL_xrYO0w
https://www.youtube.com/watch?v=K_g_xUtydpg
https://stackoverflow.com/questions/2078978/functional-programming-vs-object-oriented-programming
published: 24 Apr 2021
4:49
What are "Pure Functions" and "Side Effects"?
You might've heard about "pure functions". Maybe also about "side effects" or "impure functions". There is no wrong or right here - you will need all these thin...
You might've heard about "pure functions". Maybe also about "side effects" or "impure functions". There is no wrong or right here - you will need all these things in most applications, but it is crucial to understand what these terms actually means and what you should watch out for.
What is "State": https://youtu.be/g8-Xrpl_Uhk
Want to learn more about JavaScript or NodeJS? Explore our courses (and get some nice discounts)!
JavaScript - The Complete Guide: https://acad.link/js
NodeJS - The Complete Guide: https://acad.link/nodejs
Or get ALL ours courses for one low price with our monthly or annual memberships: https://pro.academind.com
Join our free Academind Community on Discord: https://discord.gg/gxvEWGU
Check out all our other courses: https://academind.com/learn/our-courses
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts
• Follow @maxedapps and @academind_real on Twitter
• Follow @academind_real on Instagram: https://www.instagram.com/academind_real
• Join our Facebook community on https://www.facebook.com/academindchannel/
See you in the videos!
----------
Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
https://wn.com/What_Are_Pure_Functions_And_Side_Effects
You might've heard about "pure functions". Maybe also about "side effects" or "impure functions". There is no wrong or right here - you will need all these things in most applications, but it is crucial to understand what these terms actually means and what you should watch out for.
What is "State": https://youtu.be/g8-Xrpl_Uhk
Want to learn more about JavaScript or NodeJS? Explore our courses (and get some nice discounts)!
JavaScript - The Complete Guide: https://acad.link/js
NodeJS - The Complete Guide: https://acad.link/nodejs
Or get ALL ours courses for one low price with our monthly or annual memberships: https://pro.academind.com
Join our free Academind Community on Discord: https://discord.gg/gxvEWGU
Check out all our other courses: https://academind.com/learn/our-courses
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content & discounts
• Follow @maxedapps and @academind_real on Twitter
• Follow @academind_real on Instagram: https://www.instagram.com/academind_real
• Join our Facebook community on https://www.facebook.com/academindchannel/
See you in the videos!
----------
Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!
- published: 11 Feb 2021
- views: 54928
3:51
Pure Functions And Side Effects
📘New Course: Build full-stack React Typescript applications https://tsreact.maksimivanov.com/s/ytd
New video about Firebase Database + React: https://youtu.be/...
📘New Course: Build full-stack React Typescript applications https://tsreact.maksimivanov.com/s/ytd
New video about Firebase Database + React: https://youtu.be/yyo_TcZCrS4
In computer programming pure function is a function that satisfies two conditions:
It is deterministic, which means that for any given input it will always return same output.
It has no side effects. Which means it doesn’t change outside world. Doesn’t perform input/output operation or change global variables.
My Discord Server: https://discord.gg/KPh8Vvb
https://wn.com/Pure_Functions_And_Side_Effects
📘New Course: Build full-stack React Typescript applications https://tsreact.maksimivanov.com/s/ytd
New video about Firebase Database + React: https://youtu.be/yyo_TcZCrS4
In computer programming pure function is a function that satisfies two conditions:
It is deterministic, which means that for any given input it will always return same output.
It has no side effects. Which means it doesn’t change outside world. Doesn’t perform input/output operation or change global variables.
My Discord Server: https://discord.gg/KPh8Vvb
- published: 20 May 2019
- views: 9786
38:27
"Side Effects are a Public API" by Christopher Armstrong
Haskellers have been isolating their side-effects from their pure code for decades, but most people write code in languages that allow ad hoc side-effects anywh...
Haskellers have been isolating their side-effects from their pure code for decades, but most people write code in languages that allow ad hoc side-effects anywhere. In a lot of cases, these side-effects are practically a part of the public API -- they put restrictions the way the code can be used, often obscurely, and have effects that are observable to the caller. It helps a lot to acknowledge this and explicitly treat them as a part of your public API. Here are the basic ideas that I'll cover:
represent your side-effects as "intents to perform an action" -- transparent objects that expose the details of the side-effect, without actually performing it
combine effects with pure code to describe the execution order and data dependencies (yes, like a monad)
write unit tests for your code without mocking, by specifying the expected content, results, and order of side-effects performed by a function
I'll show a library implemented for Python, called Effect, that provides tools for doing this.
A lot of these ideas are similar to the Extensible Effects system described for Haskell, and I'll describe some ideas and techniques that even most Haskellers could use to make their code more easily testable.
Christopher Armstrong
RACKSPACE
@radix
Christopher Armstrong is a long-time writer of Python code, who recently immersed himself in the world of purely functional programming. He is a long-time contributor to the Twisted networking framework, and more recently has been working on the Effect library. He is also a budding Haskell enthusiast.
https://wn.com/Side_Effects_Are_A_Public_Api_By_Christopher_Armstrong
Haskellers have been isolating their side-effects from their pure code for decades, but most people write code in languages that allow ad hoc side-effects anywhere. In a lot of cases, these side-effects are practically a part of the public API -- they put restrictions the way the code can be used, often obscurely, and have effects that are observable to the caller. It helps a lot to acknowledge this and explicitly treat them as a part of your public API. Here are the basic ideas that I'll cover:
represent your side-effects as "intents to perform an action" -- transparent objects that expose the details of the side-effect, without actually performing it
combine effects with pure code to describe the execution order and data dependencies (yes, like a monad)
write unit tests for your code without mocking, by specifying the expected content, results, and order of side-effects performed by a function
I'll show a library implemented for Python, called Effect, that provides tools for doing this.
A lot of these ideas are similar to the Extensible Effects system described for Haskell, and I'll describe some ideas and techniques that even most Haskellers could use to make their code more easily testable.
Christopher Armstrong
RACKSPACE
@radix
Christopher Armstrong is a long-time writer of Python code, who recently immersed himself in the world of purely functional programming. He is a long-time contributor to the Twisted networking framework, and more recently has been working on the Effect library. He is also a budding Haskell enthusiast.
- published: 28 Sep 2015
- views: 5058
38:57
Lecture 7: Side Effects - Richard Buckland UNSW 2008
The Adversary and adversary models of computation: an all powerful force out to get you.
Side Effects: in machine code, in c functions, in general. Returnin...
The Adversary and adversary models of computation: an all powerful force out to get you.
Side Effects: in machine code, in c functions, in general. Returning a value from main.
Also:
ASCII, talking in lectures, mars bars and Marco Polo and the emperor of china.
Music: Triohatala by Stimmhorn (not really vikings)
https://wn.com/Lecture_7_Side_Effects_Richard_Buckland_Unsw_2008
The Adversary and adversary models of computation: an all powerful force out to get you.
Side Effects: in machine code, in c functions, in general. Returning a value from main.
Also:
ASCII, talking in lectures, mars bars and Marco Polo and the emperor of china.
Music: Triohatala by Stimmhorn (not really vikings)
- published: 08 Apr 2008
- views: 26738
20:32
Know what your functions are doing? - Side effects in 12+ languages
Code: https://github.com/contextfreecode/procfun
Thanks much to my patrons for their support! And to others who've contributed on specific videos and to everyo...
Code: https://github.com/contextfreecode/procfun
Thanks much to my patrons for their support! And to others who've contributed on specific videos and to everyone else who watches and supports the channel in any way.
Also thanks much to Brandon Blanker Lim-it for hi and bye in Filipino! https://twitter.com/flam8studio - And also thanks to Brendan Zabarauskas for finding the link to the Haskell `catchStateT` solution and to the Koka maintainers for adding readline to the standard library for me!
0:00 Intro
0:52 JavaScript
2:02 TypeScript
2:51 Java
4:34 Zig
7:10 C++ (cpp)
9:54 Rust
11:37 C# (csharp)
12:04 Swift
12:41 Odin
13:29 Octave / Matlab
15:05 Haskell
16:14 Koka
18:32 Nim
19:56 Thanks to patrons!
20:16 Epilogue
https://wn.com/Know_What_Your_Functions_Are_Doing_Side_Effects_In_12_Languages
Code: https://github.com/contextfreecode/procfun
Thanks much to my patrons for their support! And to others who've contributed on specific videos and to everyone else who watches and supports the channel in any way.
Also thanks much to Brandon Blanker Lim-it for hi and bye in Filipino! https://twitter.com/flam8studio - And also thanks to Brendan Zabarauskas for finding the link to the Haskell `catchStateT` solution and to the Koka maintainers for adding readline to the standard library for me!
0:00 Intro
0:52 JavaScript
2:02 TypeScript
2:51 Java
4:34 Zig
7:10 C++ (cpp)
9:54 Rust
11:37 C# (csharp)
12:04 Swift
12:41 Odin
13:29 Octave / Matlab
15:05 Haskell
16:14 Koka
18:32 Nim
19:56 Thanks to patrons!
20:16 Epilogue
- published: 31 Jan 2022
- views: 36482
27:05
Functional Programming with Python
Mike Müller
Python supports several functional programming concepts. The presentations shows how to use functional features such as functions as first-class obj...
Mike Müller
Python supports several functional programming concepts. The presentations shows how to use functional features such as functions as first-class objects, closures, side-effect-fee functions, currying, lazy evaluation, no mutable data stru
https://wn.com/Functional_Programming_With_Python
Mike Müller
Python supports several functional programming concepts. The presentations shows how to use functional features such as functions as first-class objects, closures, side-effect-fee functions, currying, lazy evaluation, no mutable data stru
- published: 21 Mar 2013
- views: 80399
8:54
Learn Easier & Faster with Side-Effect Learning
Sometimes the best way to learn is by accident. And some accidents can be...arranged.
Brand New Merch: https://www.youtube.com/channel/UCvA_wgsX6eFAOXI8Rbg_WiQ/...
Sometimes the best way to learn is by accident. And some accidents can be...arranged.
Brand New Merch: https://www.youtube.com/channel/UCvA_wgsX6eFAOXI8Rbg_WiQ/store
0:00 Introduction
0:40 Deeper Explanation
1:00 Learning Mistakes People Make
1:40 What You Miss When You Learn This Way
2:20 Summary: How NOT to Learn
2:50 Bootstrap from an existing skill
3:25 Example: Python & Machine Learning
4:13 Example: Terraform & AWS
4:50 Why this works
5:05 How I learned programming & Linux
5:50 Example: Python Webapp + existing Linux CLI App
6:30 Summary: to learn X, implement Y
7:00 Your experiences?
7:15 Udemy Course for Linux and Cloud skills
8:00 Tutorialinux Merch
Step-by-step project-based Linux course for beginners: https://www.udemy.com/course/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?referralCode=19C0A7DEE2FD53C9C09D
Free Linux Sysadmin Course Playlist: https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK
DigitalOcean referral link: https://m.do.co/c/0380a1db56a6
Patreon: https://www.patreon.com/tutorialinux
Official Site & e-mail list: https://tutorialinux.com/
Twitter: https://twitter.com/tutorialinux
Facebook: https://www.facebook.com/tutorialinux
Podcast: http://kernelpanicpodcast.com
https://wn.com/Learn_Easier_Faster_With_Side_Effect_Learning
Sometimes the best way to learn is by accident. And some accidents can be...arranged.
Brand New Merch: https://www.youtube.com/channel/UCvA_wgsX6eFAOXI8Rbg_WiQ/store
0:00 Introduction
0:40 Deeper Explanation
1:00 Learning Mistakes People Make
1:40 What You Miss When You Learn This Way
2:20 Summary: How NOT to Learn
2:50 Bootstrap from an existing skill
3:25 Example: Python & Machine Learning
4:13 Example: Terraform & AWS
4:50 Why this works
5:05 How I learned programming & Linux
5:50 Example: Python Webapp + existing Linux CLI App
6:30 Summary: to learn X, implement Y
7:00 Your experiences?
7:15 Udemy Course for Linux and Cloud skills
8:00 Tutorialinux Merch
Step-by-step project-based Linux course for beginners: https://www.udemy.com/course/hands-on-linux-self-hosted-wordpress-for-linux-beginners/?referralCode=19C0A7DEE2FD53C9C09D
Free Linux Sysadmin Course Playlist: https://www.youtube.com/playlist?list=PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK
DigitalOcean referral link: https://m.do.co/c/0380a1db56a6
Patreon: https://www.patreon.com/tutorialinux
Official Site & e-mail list: https://tutorialinux.com/
Twitter: https://twitter.com/tutorialinux
Facebook: https://www.facebook.com/tutorialinux
Podcast: http://kernelpanicpodcast.com
- published: 03 Jan 2021
- views: 6706
10:11
Learn Pure Functions In 10 Minutes
Functional programming is constantly on the rise, and with functional programming comes pure functions. Pure functions are the base of what functional programmi...
Functional programming is constantly on the rise, and with functional programming comes pure functions. Pure functions are the base of what functional programming is built upon, but they are useful even outside of functional programming. The idea of a pure function is a function that when given the same inputs always returns the same output. This function also must have absolutely no side effects and rely on no other state besides the input variables. It essentially works exactly the same as a math function. 2 + 2 always equals 4 no matter how many times you execute the function. 2 + 2 also never effects anything else outside it. For example 2 + 2 never causes 3 to change to 7 or some other side effect.
In this video I will be covering pure functions in depth by example. We will take an impure function and incrementally modify it so it is a pure function by the end of the video. I will also discuss the advantages and disadvantages of pure functions.
📚 Materials/References:
Pure Functions Article: https://blog.webdevsimplified.com/2020-09/pure-functions
ES6 Rest/Spread Operator Video: https://youtu.be/NIq3qLaHCIs
🧠 Concepts Covered:
- What a pure function is
- How to avoid side effects
- Why pure functions are important
- The limitations of pure functions
- Immutability in pure functions
🌎 Find Me Here:
My Website: https://webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#PureFunction #WDS #FunctionalProgramming
https://wn.com/Learn_Pure_Functions_In_10_Minutes
Functional programming is constantly on the rise, and with functional programming comes pure functions. Pure functions are the base of what functional programming is built upon, but they are useful even outside of functional programming. The idea of a pure function is a function that when given the same inputs always returns the same output. This function also must have absolutely no side effects and rely on no other state besides the input variables. It essentially works exactly the same as a math function. 2 + 2 always equals 4 no matter how many times you execute the function. 2 + 2 also never effects anything else outside it. For example 2 + 2 never causes 3 to change to 7 or some other side effect.
In this video I will be covering pure functions in depth by example. We will take an impure function and incrementally modify it so it is a pure function by the end of the video. I will also discuss the advantages and disadvantages of pure functions.
📚 Materials/References:
Pure Functions Article: https://blog.webdevsimplified.com/2020-09/pure-functions
ES6 Rest/Spread Operator Video: https://youtu.be/NIq3qLaHCIs
🧠 Concepts Covered:
- What a pure function is
- How to avoid side effects
- Why pure functions are important
- The limitations of pure functions
- Immutability in pure functions
🌎 Find Me Here:
My Website: https://webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
#PureFunction #WDS #FunctionalProgramming
- published: 17 Aug 2019
- views: 147580
4:06:50
Cybersecurity Analyst Pt 6 - SOC100 - The internet, OSI model, network protocols, ports and nodes
We're taking you from navigating the Windows start menu to triaging Tier 1 SOC Analyst tickets by live stream instructing every piece of content from the pay wh...
We're taking you from navigating the Windows start menu to triaging Tier 1 SOC Analyst tickets by live stream instructing every piece of content from the pay what you can (PWYC) 400+ hour SOC100 course series over 5 months. Recordings free, and course is minimum $19, suggested $29 with virtual machines provided and lab time.
Full course info 👉 https://www.leveleffect.com/soc100
Stream calendar 🗓️ https://docs.google.com/spreadsheets/d/12WRVm_52PmFkp6Lr8v9v8M1ONcRytOz8zizYBy10LHI/edit?gid=0#gid=0
Stream Details:
- Class 6
- Course: SOC100-1
- Domain: Networking
00:00:00 - Introduction to Networking Module
00:04:19 - Abstract Nature of Networking Explained
00:11:42 - Beginning Lecture: History and OSI Model
00:13:31 - ARPANET and Early Internet Development
00:20:22 - Introduction of TCP/IP Protocol in 1978
00:23:53 - IPv4 and Address Limitations Discussed
00:25:04 - Development of DNS in 1983
00:27:47 - Expansion of Networking in the 1990s
00:29:40 - Early Networking Focused on Bandwidth
00:31:24 - Introduction to the OSI Model’s Seven Layers
00:35:15 - Data Transmission Through OSI Layers Explained
00:43:41 - Definitions of Nodes, Hosts, and Endpoints
00:49:24 - Encapsulation and Decapsulation Concepts
00:51:15 - Encapsulation Analogy with Letters and Envelopes
00:53:17 - Encryption Within the OSI Model
00:55:04 - Overview of LAN, WAN, VPN, PAN Networks
01:01:54 - Detailed Discussion on Network Topologies
01:04:22 - Star Network Topology Explained
01:09:07 - Network Boundaries and Demarcation Points
01:14:22 - Perimeter Security and Boundaries in Networks
01:17:45 - Summary of Key Networking Concepts
01:19:54 - Introduction to Ports and Protocols
01:22:11 - Ports and Protocols Analogy Using Conference Rooms
01:25:50 - Client-Server Model Introduction
01:31:24 - Applying OSI Model to Network Architecture
01:35:15 - Role of Ports and Protocols in Data Transmission
01:40:20 - Protocols as Communication Languages
01:43:52 - Client-Server Interactions Using Ports and Protocols
01:51:52 - Preview of Upcoming Topics: DNS and IP Addressing
02:01:02 - Applying OSI Model to Network Topology
02:03:27 - LANs, WANs, and Network Sizes
02:05:24 - Peer-to-Peer Networks Explained
02:09:07 - Ring and Bus Topologies
02:14:22 - Network Boundaries Illustrated
02:19:55 - Network Boundaries and Security
02:23:11 - Client-Server Model and Ports
02:31:24 - Ports and Protocols in Practice
02:35:15 - Ports, Protocols, and Conference Analogy
02:43:52 - Data Movement Using OSI Model
02:51:52 - Summarizing Session and Next Steps
03:03:27 - Importance of Fundamental Knowledge
03:07:02 - Need for Practical Application
03:21:27 - Importance of Applying Knowledge Practically
03:29:05 - Revisiting Ports and Protocols with New Analogies
03:35:15 - Data Movement Across Networks Explained
03:51:52 - Interactive Discussion and Challenge Questions
04:05:17 - Final Wrap-Up and Conclusion of Session
Live streams conducted on our Twitch at: https://www.twitch.tv/leveleffect
Join our Discord to stay connected: https://discord.gg/level-effect
https://wn.com/Cybersecurity_Analyst_Pt_6_Soc100_The_Internet,_Osi_Model,_Network_Protocols,_Ports_And_Nodes
We're taking you from navigating the Windows start menu to triaging Tier 1 SOC Analyst tickets by live stream instructing every piece of content from the pay what you can (PWYC) 400+ hour SOC100 course series over 5 months. Recordings free, and course is minimum $19, suggested $29 with virtual machines provided and lab time.
Full course info 👉 https://www.leveleffect.com/soc100
Stream calendar 🗓️ https://docs.google.com/spreadsheets/d/12WRVm_52PmFkp6Lr8v9v8M1ONcRytOz8zizYBy10LHI/edit?gid=0#gid=0
Stream Details:
- Class 6
- Course: SOC100-1
- Domain: Networking
00:00:00 - Introduction to Networking Module
00:04:19 - Abstract Nature of Networking Explained
00:11:42 - Beginning Lecture: History and OSI Model
00:13:31 - ARPANET and Early Internet Development
00:20:22 - Introduction of TCP/IP Protocol in 1978
00:23:53 - IPv4 and Address Limitations Discussed
00:25:04 - Development of DNS in 1983
00:27:47 - Expansion of Networking in the 1990s
00:29:40 - Early Networking Focused on Bandwidth
00:31:24 - Introduction to the OSI Model’s Seven Layers
00:35:15 - Data Transmission Through OSI Layers Explained
00:43:41 - Definitions of Nodes, Hosts, and Endpoints
00:49:24 - Encapsulation and Decapsulation Concepts
00:51:15 - Encapsulation Analogy with Letters and Envelopes
00:53:17 - Encryption Within the OSI Model
00:55:04 - Overview of LAN, WAN, VPN, PAN Networks
01:01:54 - Detailed Discussion on Network Topologies
01:04:22 - Star Network Topology Explained
01:09:07 - Network Boundaries and Demarcation Points
01:14:22 - Perimeter Security and Boundaries in Networks
01:17:45 - Summary of Key Networking Concepts
01:19:54 - Introduction to Ports and Protocols
01:22:11 - Ports and Protocols Analogy Using Conference Rooms
01:25:50 - Client-Server Model Introduction
01:31:24 - Applying OSI Model to Network Architecture
01:35:15 - Role of Ports and Protocols in Data Transmission
01:40:20 - Protocols as Communication Languages
01:43:52 - Client-Server Interactions Using Ports and Protocols
01:51:52 - Preview of Upcoming Topics: DNS and IP Addressing
02:01:02 - Applying OSI Model to Network Topology
02:03:27 - LANs, WANs, and Network Sizes
02:05:24 - Peer-to-Peer Networks Explained
02:09:07 - Ring and Bus Topologies
02:14:22 - Network Boundaries Illustrated
02:19:55 - Network Boundaries and Security
02:23:11 - Client-Server Model and Ports
02:31:24 - Ports and Protocols in Practice
02:35:15 - Ports, Protocols, and Conference Analogy
02:43:52 - Data Movement Using OSI Model
02:51:52 - Summarizing Session and Next Steps
03:03:27 - Importance of Fundamental Knowledge
03:07:02 - Need for Practical Application
03:21:27 - Importance of Applying Knowledge Practically
03:29:05 - Revisiting Ports and Protocols with New Analogies
03:35:15 - Data Movement Across Networks Explained
03:51:52 - Interactive Discussion and Challenge Questions
04:05:17 - Final Wrap-Up and Conclusion of Session
Live streams conducted on our Twitch at: https://www.twitch.tv/leveleffect
Join our Discord to stay connected: https://discord.gg/level-effect
- published: 04 Nov 2024
- views: 150
8:43
FP vs OOP | For Dummies
Explains the Functional and Object-Oriented Paradigms as simply as possible and gives examples/comparisons of each.
Some sources used when researching the top...
Explains the Functional and Object-Oriented Paradigms as simply as possible and gives examples/comparisons of each.
Some sources used when researching the topic:
https://www.youtube.com/watch?v=dAPL7MQGjyM
https://www.youtube.com/watch?v=fsVL_xrYO0w
https://www.youtube.com/watch?v=K_g_xUtydpg
https://stackoverflow.com/questions/2078978/functional-programming-vs-object-oriented-programming
https://wn.com/Fp_Vs_Oop_|_For_Dummies
Explains the Functional and Object-Oriented Paradigms as simply as possible and gives examples/comparisons of each.
Some sources used when researching the topic:
https://www.youtube.com/watch?v=dAPL7MQGjyM
https://www.youtube.com/watch?v=fsVL_xrYO0w
https://www.youtube.com/watch?v=K_g_xUtydpg
https://stackoverflow.com/questions/2078978/functional-programming-vs-object-oriented-programming
- published: 24 Apr 2021
- views: 191402
-
chess king sacrifice
Credits to: Chessbase India
published: 01 Dec 2020
-
Disambiguation: The Black Technology
Zhihoa Yuan's presentation from C++Now 2014.
Slides are available here: https://github.com/boostcon/cppnow_presentations_2014/blob/master/files/disambiguation.pdf?raw=true
---
*--*
---
published: 26 Sep 2014
-
Disambiguation
Welcome to another edition of the VT Podcast which I’ve called Ideas That Matter.
In this episode, I talk about Disambiguation.
If you want to change the world, you have to see the world for what it is. We humans are pattern-seeking animals. We love stories. Our minds are hard-wired to organize the world using patterns, which saves our conscious minds a lot of mental effort. But it's also become a limitation for us - it's easy to get stuck in patterns that don't serve us well. If you're dispelling myths about yourself, or if you're trying to change your life, start by looking at the small things - the patterns that shape your life on a daily basis.
Listen in.
Book Vusi for a Keynote: https://vusithembekwayo.com/book-vusi/
Get mentored by Vusi: https://vtclub100.com/
Make sure to sta...
published: 08 Sep 2022
-
Artificial Creativity - 02 On the Alleged "Dangers" of AGI and Disambiguation
References:
- Pessimist's Archive on Twitter: https://twitter.com/PessimistsArc
- David Deutsch, "Creative Blocks: How Close are We to Creating Artificial Intelligence?": https://aeon.co/essays/how-close-are-we-to-creating-artificial-intelligence
- David Deutsch, CBC interview from 2018 about AGI: https://www.cbc.ca/player/play/1251489859794
Further reading:
- “The Bucket and the Searchlight” by Karl Popper
- “The Beginning of Infinity” by David Deutsch, chapter 1 “The Reach of Explanations”, and chapter 6 “The Jump to Universality”
If you have any questions or comments, please leave them here or tweet at me: https://twitter.com/dchackethal
published: 15 May 2019
-
The Method Part I - Terms - Disambiguation
The Method applied To Terms.
Part 1 - Terms Concepts Disambiguation.
published: 28 Apr 2021
-
emf003: Induction Disambiguation; NE model for light
Distinti disambiguates the results of the Quad Loop Experiment to show New Induction is the best fit for the phenomenon of induction
Please support Ethereal Mechanics!
Our Patreon Site:
https://www.patreon.com/Etherealmechanics
Join our Forum:
https://www.etherealmechanics.info
published: 29 Feb 2016
-
The Brain's Challenge: Disambiguation
This is a special edit derived from elements of the "Brain's Challenge"
chapter of Children of the Code. It contains the essence of the "Brain's Challenge" YouTube Playlist except for "Paradigm Inertia".
"we can no longer assume that what we think children should learn is more important than how well they can learn"
Learning Stewards
http://www.learningstewards.org
published: 06 Apr 2012
-
[OOPSLA23] Rapid: Region-Based Pointer Disambiguation
Rapid: Region-Based Pointer Disambiguation (Video, OOPSLA2 2023)
Khushboo Chitre, Piyus Kedia, and Rahul Purandare
(IIIT Delhi, India; IIIT Delhi, India; University of Nebraska-Lincoln, USA)
Abstract: Interprocedural alias analyses often sacrifice precision for scalability. Thus, modern compilers such as GCC and LLVM implement more scalable but less precise intraprocedural alias analyses. This compromise makes the compilers miss out on potential optimization opportunities, affecting the performance of the application. Modern compilers implement loop-versioning with dynamic checks for pointer disambiguation to enable the missed optimizations. Polyhedral access range analysis and symbolic range analysis enable 𝑂 (1) range checks for non-overlapping of memory accesses inside loops. However, ...
published: 14 Feb 2024
-
The Brain's Challenge: Processing: Disambiguation
The bottleneck to reading isn't decoding, it's disambiguating the code.
This is a clip from the "Brain's Challenge" chapter of the Children of the Code Project.
(http://www.childrenofthecode.org/DVD/Essentials.htm#Volume1)
It's used to show that taking too long to recognize a word 'stutters up' the flow of reading. It's the most common trait of struggling readers. It begs the question: what is taking so long?
"we can no longer assume that what we think children should learn is more important than how well they can learn"
Learning Stewards
http://www.learningstewards.org
published: 30 Jul 2017
-
Prosodic disambiguation using chironomic stylization of intonation for native and non-native spe...
Title: Prosodic disambiguation using chironomic stylization of intonation for native and non-native speakers - (Oral presentation)
Authors: Xiao Xiao (LPP (UMR 7018), France), Nicolas Audibert (LPP (UMR 7018), France), Grégoire Locqueville (∂’Alembert (UMR 7190), France), Christophe d’Alessandro (∂’Alembert (UMR 7190), France), Barbara Kuhnert (LPP (UMR 7018), France), Claire Pillot-Loiseau (LPP (UMR 7018), France)
Category: Speech perception I
Abstract: This paper introduces an interface that enables the real-time gestural control of intonation in phrases produced by a vocal synthesizer. The melody and timing of a target phrase can be modified by tracing melodic contours on the touch-screen of a mobile tablet. Envisioning this interface as a means for non-native speakers to practice th...
published: 06 Jan 2022
1:26:45
Disambiguation: The Black Technology
Zhihoa Yuan's presentation from C++Now 2014.
Slides are available here: https://github.com/boostcon/cppnow_presentations_2014/blob/master/files/disambiguation.p...
Zhihoa Yuan's presentation from C++Now 2014.
Slides are available here: https://github.com/boostcon/cppnow_presentations_2014/blob/master/files/disambiguation.pdf?raw=true
---
*--*
---
https://wn.com/Disambiguation_The_Black_Technology
Zhihoa Yuan's presentation from C++Now 2014.
Slides are available here: https://github.com/boostcon/cppnow_presentations_2014/blob/master/files/disambiguation.pdf?raw=true
---
*--*
---
- published: 26 Sep 2014
- views: 799
25:00
Disambiguation
Welcome to another edition of the VT Podcast which I’ve called Ideas That Matter.
In this episode, I talk about Disambiguation.
If you want to change the wor...
Welcome to another edition of the VT Podcast which I’ve called Ideas That Matter.
In this episode, I talk about Disambiguation.
If you want to change the world, you have to see the world for what it is. We humans are pattern-seeking animals. We love stories. Our minds are hard-wired to organize the world using patterns, which saves our conscious minds a lot of mental effort. But it's also become a limitation for us - it's easy to get stuck in patterns that don't serve us well. If you're dispelling myths about yourself, or if you're trying to change your life, start by looking at the small things - the patterns that shape your life on a daily basis.
Listen in.
Book Vusi for a Keynote: https://vusithembekwayo.com/book-vusi/
Get mentored by Vusi: https://vtclub100.com/
Make sure to stay up to date and connect with Vusi on all social platforms:
Instagram: https://instagram.com/vusithembekwayo/
Facebook: https://www.facebook.com/VusiThembekwayoPage
Twitter : https://twitter.com/VusiThembekwayo
LinkedIn : https://www.linkedin.com/in/vusithembekwayo/
https://wn.com/Disambiguation
Welcome to another edition of the VT Podcast which I’ve called Ideas That Matter.
In this episode, I talk about Disambiguation.
If you want to change the world, you have to see the world for what it is. We humans are pattern-seeking animals. We love stories. Our minds are hard-wired to organize the world using patterns, which saves our conscious minds a lot of mental effort. But it's also become a limitation for us - it's easy to get stuck in patterns that don't serve us well. If you're dispelling myths about yourself, or if you're trying to change your life, start by looking at the small things - the patterns that shape your life on a daily basis.
Listen in.
Book Vusi for a Keynote: https://vusithembekwayo.com/book-vusi/
Get mentored by Vusi: https://vtclub100.com/
Make sure to stay up to date and connect with Vusi on all social platforms:
Instagram: https://instagram.com/vusithembekwayo/
Facebook: https://www.facebook.com/VusiThembekwayoPage
Twitter : https://twitter.com/VusiThembekwayo
LinkedIn : https://www.linkedin.com/in/vusithembekwayo/
- published: 08 Sep 2022
- views: 23099
11:21
Artificial Creativity - 02 On the Alleged "Dangers" of AGI and Disambiguation
References:
- Pessimist's Archive on Twitter: https://twitter.com/PessimistsArc
- David Deutsch, "Creative Blocks: How Close are We to Creating Artificial Inte...
References:
- Pessimist's Archive on Twitter: https://twitter.com/PessimistsArc
- David Deutsch, "Creative Blocks: How Close are We to Creating Artificial Intelligence?": https://aeon.co/essays/how-close-are-we-to-creating-artificial-intelligence
- David Deutsch, CBC interview from 2018 about AGI: https://www.cbc.ca/player/play/1251489859794
Further reading:
- “The Bucket and the Searchlight” by Karl Popper
- “The Beginning of Infinity” by David Deutsch, chapter 1 “The Reach of Explanations”, and chapter 6 “The Jump to Universality”
If you have any questions or comments, please leave them here or tweet at me: https://twitter.com/dchackethal
https://wn.com/Artificial_Creativity_02_On_The_Alleged_Dangers_Of_Agi_And_Disambiguation
References:
- Pessimist's Archive on Twitter: https://twitter.com/PessimistsArc
- David Deutsch, "Creative Blocks: How Close are We to Creating Artificial Intelligence?": https://aeon.co/essays/how-close-are-we-to-creating-artificial-intelligence
- David Deutsch, CBC interview from 2018 about AGI: https://www.cbc.ca/player/play/1251489859794
Further reading:
- “The Bucket and the Searchlight” by Karl Popper
- “The Beginning of Infinity” by David Deutsch, chapter 1 “The Reach of Explanations”, and chapter 6 “The Jump to Universality”
If you have any questions or comments, please leave them here or tweet at me: https://twitter.com/dchackethal
- published: 15 May 2019
- views: 292
46:28
The Method Part I - Terms - Disambiguation
The Method applied To Terms.
Part 1 - Terms Concepts Disambiguation.
The Method applied To Terms.
Part 1 - Terms Concepts Disambiguation.
https://wn.com/The_Method_Part_I_Terms_Disambiguation
The Method applied To Terms.
Part 1 - Terms Concepts Disambiguation.
- published: 28 Apr 2021
- views: 521
25:10
emf003: Induction Disambiguation; NE model for light
Distinti disambiguates the results of the Quad Loop Experiment to show New Induction is the best fit for the phenomenon of induction
Please support Ethereal Me...
Distinti disambiguates the results of the Quad Loop Experiment to show New Induction is the best fit for the phenomenon of induction
Please support Ethereal Mechanics!
Our Patreon Site:
https://www.patreon.com/Etherealmechanics
Join our Forum:
https://www.etherealmechanics.info
https://wn.com/Emf003_Induction_Disambiguation_Ne_Model_For_Light
Distinti disambiguates the results of the Quad Loop Experiment to show New Induction is the best fit for the phenomenon of induction
Please support Ethereal Mechanics!
Our Patreon Site:
https://www.patreon.com/Etherealmechanics
Join our Forum:
https://www.etherealmechanics.info
- published: 29 Feb 2016
- views: 1550
6:37
The Brain's Challenge: Disambiguation
This is a special edit derived from elements of the "Brain's Challenge"
chapter of Children of the Code. It contains the essence of the "Brain's Challenge" You...
This is a special edit derived from elements of the "Brain's Challenge"
chapter of Children of the Code. It contains the essence of the "Brain's Challenge" YouTube Playlist except for "Paradigm Inertia".
"we can no longer assume that what we think children should learn is more important than how well they can learn"
Learning Stewards
http://www.learningstewards.org
https://wn.com/The_Brain's_Challenge_Disambiguation
This is a special edit derived from elements of the "Brain's Challenge"
chapter of Children of the Code. It contains the essence of the "Brain's Challenge" YouTube Playlist except for "Paradigm Inertia".
"we can no longer assume that what we think children should learn is more important than how well they can learn"
Learning Stewards
http://www.learningstewards.org
- published: 06 Apr 2012
- views: 93
18:14
[OOPSLA23] Rapid: Region-Based Pointer Disambiguation
Rapid: Region-Based Pointer Disambiguation (Video, OOPSLA2 2023)
Khushboo Chitre, Piyus Kedia, and Rahul Purandare
(IIIT Delhi, India; IIIT Delhi, India; Univer...
Rapid: Region-Based Pointer Disambiguation (Video, OOPSLA2 2023)
Khushboo Chitre, Piyus Kedia, and Rahul Purandare
(IIIT Delhi, India; IIIT Delhi, India; University of Nebraska-Lincoln, USA)
Abstract: Interprocedural alias analyses often sacrifice precision for scalability. Thus, modern compilers such as GCC and LLVM implement more scalable but less precise intraprocedural alias analyses. This compromise makes the compilers miss out on potential optimization opportunities, affecting the performance of the application. Modern compilers implement loop-versioning with dynamic checks for pointer disambiguation to enable the missed optimizations. Polyhedral access range analysis and symbolic range analysis enable 𝑂 (1) range checks for non-overlapping of memory accesses inside loops. However, these approaches work only for the loops in which the loop bounds are loop invariants. To address this limitation, researchers proposed a technique that requires 𝑂 (𝑙𝑜𝑔 𝑛) memory accesses for pointer disambiguation. Others improved the performance of dynamic checks to single memory access by constraining the object size and alignment. However, the former approach incurs noticeable overhead due to its dynamic checks, whereas the latter has a noticeable allocator overhead. Thus, scalability remains a challenge.
In this work, we present a tool, Rapid, that further reduces the overheads of the allocator and dynamic checks proposed in the existing approaches. The key idea is to identify objects that need disambiguation checks using a profiler and allocate them in different regions, which are disjoint memory areas. The disambiguation checks simply compare the regions corresponding to the objects. The regions are aligned such that the top 32 bits in the addresses of any two objects allocated in different regions are always different. As a consequence, the dynamic checks do not require any memory access to ensure that the objects belong to different regions, making them efficient.
Rapid achieved a maximum performance benefit of around 52.94% for Polybench and 1.88% for CPU SPEC 2017 benchmarks. The maximum CPU overhead of our allocator is 0.57% with a geometric mean of -0.2% for CPU SPEC 2017 benchmarks. Due to the low overhead of the allocator and dynamic checks, Rapid could improve the performance of 12 out of 16 CPU SPEC 2017 benchmarks. In contrast, a state-of-the-art approach used in the comparison could improve only five CPU SPEC 2017 benchmarks.
Article: https://doi.org/10.1145/3622859
Supplementary archive: https://doi.org/10.5281/zenodo.8321488 (Badges: Artifacts Available, Artifacts Evaluated — Reusable)
ORCID: https://orcid.org/0000-0001-6950-1055, https://orcid.org/0000-0002-9569-4089, https://orcid.org/0000-0001-8677-0601
Video Tags: alias analysis, LLVM, optimizations, regions, dynamic checks, memory allocation, allocation site, oopslab23main-p475-p, doi:10.1145/3622859, doi:10.5281/zenodo.8321488, orcid:0000-0001-6950-1055, orcid:0000-0002-9569-4089, orcid:0000-0001-8677-0601, Artifacts Available, Artifacts Evaluated — Reusable
Presentation at the OOPSLA2 2023 conference, October 22–27, 2023, https://2023.splashcon.org/track/splash-2023-oopsla
Sponsored by ACM SIGPLAN,
https://wn.com/Oopsla23_Rapid_Region_Based_Pointer_Disambiguation
Rapid: Region-Based Pointer Disambiguation (Video, OOPSLA2 2023)
Khushboo Chitre, Piyus Kedia, and Rahul Purandare
(IIIT Delhi, India; IIIT Delhi, India; University of Nebraska-Lincoln, USA)
Abstract: Interprocedural alias analyses often sacrifice precision for scalability. Thus, modern compilers such as GCC and LLVM implement more scalable but less precise intraprocedural alias analyses. This compromise makes the compilers miss out on potential optimization opportunities, affecting the performance of the application. Modern compilers implement loop-versioning with dynamic checks for pointer disambiguation to enable the missed optimizations. Polyhedral access range analysis and symbolic range analysis enable 𝑂 (1) range checks for non-overlapping of memory accesses inside loops. However, these approaches work only for the loops in which the loop bounds are loop invariants. To address this limitation, researchers proposed a technique that requires 𝑂 (𝑙𝑜𝑔 𝑛) memory accesses for pointer disambiguation. Others improved the performance of dynamic checks to single memory access by constraining the object size and alignment. However, the former approach incurs noticeable overhead due to its dynamic checks, whereas the latter has a noticeable allocator overhead. Thus, scalability remains a challenge.
In this work, we present a tool, Rapid, that further reduces the overheads of the allocator and dynamic checks proposed in the existing approaches. The key idea is to identify objects that need disambiguation checks using a profiler and allocate them in different regions, which are disjoint memory areas. The disambiguation checks simply compare the regions corresponding to the objects. The regions are aligned such that the top 32 bits in the addresses of any two objects allocated in different regions are always different. As a consequence, the dynamic checks do not require any memory access to ensure that the objects belong to different regions, making them efficient.
Rapid achieved a maximum performance benefit of around 52.94% for Polybench and 1.88% for CPU SPEC 2017 benchmarks. The maximum CPU overhead of our allocator is 0.57% with a geometric mean of -0.2% for CPU SPEC 2017 benchmarks. Due to the low overhead of the allocator and dynamic checks, Rapid could improve the performance of 12 out of 16 CPU SPEC 2017 benchmarks. In contrast, a state-of-the-art approach used in the comparison could improve only five CPU SPEC 2017 benchmarks.
Article: https://doi.org/10.1145/3622859
Supplementary archive: https://doi.org/10.5281/zenodo.8321488 (Badges: Artifacts Available, Artifacts Evaluated — Reusable)
ORCID: https://orcid.org/0000-0001-6950-1055, https://orcid.org/0000-0002-9569-4089, https://orcid.org/0000-0001-8677-0601
Video Tags: alias analysis, LLVM, optimizations, regions, dynamic checks, memory allocation, allocation site, oopslab23main-p475-p, doi:10.1145/3622859, doi:10.5281/zenodo.8321488, orcid:0000-0001-6950-1055, orcid:0000-0002-9569-4089, orcid:0000-0001-8677-0601, Artifacts Available, Artifacts Evaluated — Reusable
Presentation at the OOPSLA2 2023 conference, October 22–27, 2023, https://2023.splashcon.org/track/splash-2023-oopsla
Sponsored by ACM SIGPLAN,
- published: 14 Feb 2024
- views: 27
4:28
The Brain's Challenge: Processing: Disambiguation
The bottleneck to reading isn't decoding, it's disambiguating the code.
This is a clip from the "Brain's Challenge" chapter of the Children of the Code Projec...
The bottleneck to reading isn't decoding, it's disambiguating the code.
This is a clip from the "Brain's Challenge" chapter of the Children of the Code Project.
(http://www.childrenofthecode.org/DVD/Essentials.htm#Volume1)
It's used to show that taking too long to recognize a word 'stutters up' the flow of reading. It's the most common trait of struggling readers. It begs the question: what is taking so long?
"we can no longer assume that what we think children should learn is more important than how well they can learn"
Learning Stewards
http://www.learningstewards.org
https://wn.com/The_Brain's_Challenge_Processing_Disambiguation
The bottleneck to reading isn't decoding, it's disambiguating the code.
This is a clip from the "Brain's Challenge" chapter of the Children of the Code Project.
(http://www.childrenofthecode.org/DVD/Essentials.htm#Volume1)
It's used to show that taking too long to recognize a word 'stutters up' the flow of reading. It's the most common trait of struggling readers. It begs the question: what is taking so long?
"we can no longer assume that what we think children should learn is more important than how well they can learn"
Learning Stewards
http://www.learningstewards.org
- published: 30 Jul 2017
- views: 1556
21:23
Prosodic disambiguation using chironomic stylization of intonation for native and non-native spe...
Title: Prosodic disambiguation using chironomic stylization of intonation for native and non-native speakers - (Oral presentation)
Authors: Xiao Xiao (LPP (UMR...
Title: Prosodic disambiguation using chironomic stylization of intonation for native and non-native speakers - (Oral presentation)
Authors: Xiao Xiao (LPP (UMR 7018), France), Nicolas Audibert (LPP (UMR 7018), France), Grégoire Locqueville (∂’Alembert (UMR 7190), France), Christophe d’Alessandro (∂’Alembert (UMR 7190), France), Barbara Kuhnert (LPP (UMR 7018), France), Claire Pillot-Loiseau (LPP (UMR 7018), France)
Category: Speech perception I
Abstract: This paper introduces an interface that enables the real-time gestural control of intonation in phrases produced by a vocal synthesizer. The melody and timing of a target phrase can be modified by tracing melodic contours on the touch-screen of a mobile tablet. Envisioning this interface as a means for non-native speakers to practice the intonation of a foreign language, we present a pilot study where native and non-native speakers imitated the pronunciation of French phrases using their voice and the interface, with a visual guide and without. Comparison of resulting F0 curves against the reference contour and a preliminary perceptual assessment of synthesized utterances suggest that for both non-native and native speakers, imitation with the help of a visual guide is comparable in accuracy to vocal imitation, and that timing control was a source of difficulty.
For more details and PDF version of the paper visit: https://www.isca-speech.org/archive/interspeech_2021/xiao21_interspeech.html
d01s13t01tlk
https://wn.com/Prosodic_Disambiguation_Using_Chironomic_Stylization_Of_Intonation_For_Native_And_Non_Native_Spe...
Title: Prosodic disambiguation using chironomic stylization of intonation for native and non-native speakers - (Oral presentation)
Authors: Xiao Xiao (LPP (UMR 7018), France), Nicolas Audibert (LPP (UMR 7018), France), Grégoire Locqueville (∂’Alembert (UMR 7190), France), Christophe d’Alessandro (∂’Alembert (UMR 7190), France), Barbara Kuhnert (LPP (UMR 7018), France), Claire Pillot-Loiseau (LPP (UMR 7018), France)
Category: Speech perception I
Abstract: This paper introduces an interface that enables the real-time gestural control of intonation in phrases produced by a vocal synthesizer. The melody and timing of a target phrase can be modified by tracing melodic contours on the touch-screen of a mobile tablet. Envisioning this interface as a means for non-native speakers to practice the intonation of a foreign language, we present a pilot study where native and non-native speakers imitated the pronunciation of French phrases using their voice and the interface, with a visual guide and without. Comparison of resulting F0 curves against the reference contour and a preliminary perceptual assessment of synthesized utterances suggest that for both non-native and native speakers, imitation with the help of a visual guide is comparable in accuracy to vocal imitation, and that timing control was a source of difficulty.
For more details and PDF version of the paper visit: https://www.isca-speech.org/archive/interspeech_2021/xiao21_interspeech.html
d01s13t01tlk
- published: 06 Jan 2022
- views: 16