ankur-anand / blog Goto Github PK
View Code? Open in Web Editor NEWtechnical opinion!
Home Page: https://blog.ankuranand.com/
technical opinion!
Home Page: https://blog.ankuranand.com/
https://blog.ankuranand.com/2016/04/19/EFFICIENT-FACTORIALS-ALGORITHMS/
Factorial -In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integersless than or equal to n. For example, $$ 5! = 5 \ast 4 \ast 3 \ast 2 \ast 1
https://blog.ankuranand.com/2018/06/29/es6s-function-destructuring-assignment-is-not-free-lunch/
I completely agree with the fact that “premature optimization is the root of all evil (or at least most of it) in programming”. But it makes no harm sometimes to know the bits of your code that you wr
https://blog.ankuranand.com/2016/04/24/Dont-use-mutable-as-defualt-parameter/
Introduction Examples use python3 for python2 use func_defaults We frequently use [] as default parameter.123456>>> def foo(a=[]):... pass... >>> foo.defaults([],)>>>
https://ankuranand.com/blog/2016/04/23/Object-Mechanism-in-Python-part1/
Introduction
This is first part in the series of object mechanism in python and assumes that people reading this are familiar with the basic python and is comfortable in reading some C code
When we s
https://blog.ankuranand.com/2017/12/28/Learning-Notes-JavaScript-Prototype/
PrototypePrototype is a regular object from which other objects inherit properties. Each Objects contains an internal prototype property which points to a prototype object from which it inherits all m
https://blog.ankuranand.com/2016/04/23/Object-Mechanism-in-Python-part1/
Introduction This is first part in the series of object mechanism in python and assumes that people reading this are familiar with the basic python and is comfortable in reading some C code When we s
http://blog.ankuranand.com/2016/04/24/Dont-use-mutable-as-defualt-parameter/
Introduction
Examples use python3 for python2 use func_defaults
We frequently use [] as default parameter.123456>>> def foo(a=[]):... pass... >>> foo.defaults([],)>>>
https://ankuranand.com/blog/2016/06/18/The-Basic-Mathematics-of-SQL/
IntroductionFormally, we know a relation is a subset of a Cartesian Products of sets. i.e $ R \in ( A X B )
http://blog.ankuranand.com/2017/12/28/Learning-Notes-JavaScript-Prototype/
PrototypePrototype is a regular object from which other objects inherit properties. Each Objects contains an internal prototype property which points to a prototype object from which it inherits all m
http://blog.ankuranand.com/2016/04/23/Object-Mechanism-in-Python-part1/
Introduction
This is first part in the series of object mechanism in python and assumes that people reading this are familiar with the basic python and is comfortable in reading some C code
When we s
https://ankuranand.com/blog/2016/04/21/eulerian-path/
IntroductionEulerian Path are paths that
Start at some node
Visit every node exactly once
And ends
For the above Diagram We can start at some node for example sayWe starts at node DThe next criteri
https://ankuranand.com/blog/2017/08/31/Learning-Notes-Node-js-Buffer/
IntroductionIn Node.js Buffer class is the core library. It brings a way for Node.js to store raw data, allowing Node.js to handle binary data. The raw data is stored in the instance of the buffer cla
https://ankuranand.com/blog/2016/05/10/Understanding-Call-By-Sharing/
IntroductionWe all are familiar with the pass by value or call by value and pass by reference or call by reference and how does one programming language evaluates this depends upon the Evaluation Str
http://blog.ankuranand.com/2016/04/21/eulerian-path/
IntroductionEulerian Path are paths that
Start at some node
Visit every node exactly once
And ends
For the above Diagram We can start at some node for example sayWe starts at node DThe next criteri
https://blog.ankuranand.com/2016/06/18/The-Basic-Mathematics-of-SQL/
IntroductionFormally, we know a relation is a subset of a Cartesian Products of sets. i.e $ R \in ( A X B )
http://blog.ankuranand.com/2016/05/10/Understanding-Call-By-Sharing/
IntroductionWe all are familiar with the pass by value or call by value and pass by reference or call by reference and how does one programming language evaluates this depends upon the Evaluation Str
https://blog.ankuranand.com/2016/04/23/private-access-in-java/
IntroductionWe all know to access the private member variable of a class we need an public helper function in Java. The UnforeseenBut seems One Object can access a private variable of another object o
http://blog.ankuranand.com/2016/04/24/FIRST-CLASS-FUNCTION-IN-PYTHON/
IntroductionFunction in Python are First- Class Objects. This means that they can be passed around and used just like any other data types. In Shorthand it’s also known as “First-class function”
Some
https://ankuranand.com/blog/2016/04/24/FIRST-CLASS-FUNCTION-IN-PYTHON/
IntroductionFunction in Python are First- Class Objects. This means that they can be passed around and used just like any other data types. In Shorthand it’s also known as “First-class function”
Some
http://blog.ankuranand.com/2016/06/18/The-Basic-Mathematics-of-SQL/
IntroductionFormally, we know a relation is a subset of a Cartesian Products of sets. i.e $ R \in ( A X B )
http://blog.ankuranand.com/2016/04/19/EFFICIENT-FACTORIALS-ALGORITHMS/
Factorial -In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integersless than or equal to n. For example,
$$ 5! = 5 \ast 4 \ast 3 \ast 2 \ast 1
http://blog.ankuranand.com/2018/03/28/The-missing-introduction-of-React-js/
Why React?Recently I’ve started learning React.js with my limited knowledge of the front-end, I stumbled upon React.js official site, and it presented me like this.
Followed the instruction and I was
http://blog.ankuranand.com/2017/08/31/Learning-Notes-Node-js-Buffer/
IntroductionIn Node.js Buffer class is the core library. It brings a way for Node.js to store raw data, allowing Node.js to handle binary data. The raw data is stored in the instance of the buffer cla
http://blog.ankuranand.com/2016/04/23/private-access-in-java/
IntroductionWe all know to access the private member variable of a class we need an public helper function in Java.
The UnforeseenBut seems One Object can access a private variable of another object o
IntroductionThe Nodejs docs on The Node.js Event Loop, Timers, and process.nextTick explains the concept well on theevent loop. But at the end of the doc while explaning setImmediate() vs setTimeout(
https://ankuranand.com/blog/2016/04/19/EFFICIENT-FACTORIALS-ALGORITHMS/
Factorial -In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integersless than or equal to n. For example,
$$ 5! = 5 \ast 4 \ast 3 \ast 2 \ast 1
https://blog.ankuranand.com/2017/08/31/Learning-Notes-Node-js-Buffer/
IntroductionIn Node.js Buffer class is the core library. It brings a way for Node.js to store raw data, allowing Node.js to handle binary data. The raw data is stored in the instance of the buffer cla
https://blog.ankuranand.com/2019/02/20/a-visual-guide-to-golang-memory-allocator-from-ground-up/
When I first started trying to understand the memory allocator of Go, it was maddening. Everything seemed like a mystical black box. As almost every technical wizardry is hidden beneath abstractions,
https://blog.ankuranand.com/2018/11/29/a-closer-look-at-go-golang-type-system/
A detailed look of the Go type system, with examplesLet’s begin by asking a fundamental question.Why we need a type?Before answering that, we need to look at some of the primitive abstracted layers of
https://ankuranand.com/blog/2016/04/23/private-access-in-java/
IntroductionWe all know to access the private member variable of a class we need an public helper function in Java.
The UnforeseenBut seems One Object can access a private variable of another object o
IntroductionThe title may lead you to think that this post is another ranting post about the downside of a “Single Page Application”. It is more about shedding some light on the performance perspectiv
A simple and brief introduction to CSP, it’s terminology, and it’s similarities to Go.Communicating Sequential Processes (CSP) for short, is what we hear whenever a Go concurrency is discussed and how
https://blog.ankuranand.com/2018/06/15/Implement-your-own-call-apply-and-bind-method-in-JavaScript/
It completely makes sense to not reinvent the wheel at your work, but it’s also of great significance sometime to build some smaller wheels yourself for the purpose of learning. Simulating these small
https://blog.ankuranand.com/2018/03/28/The-missing-introduction-of-React-js/
Why React?Recently I’ve started learning React.js with my limited knowledge of the front-end, I stumbled upon React.js official site, and it presented me like this. Followed the instruction and I was
IntroductionThe web application uses the browser/server architecture, HTTP as the communication protocol. HTTP is a stateless protocol. Each time the browser requests, the server processes it independ
https://blog.ankuranand.com/2018/09/29/diving-deep-into-the-golang-channels/
An “ins and out” of the internal implementation of the Golang channels and its related operations.Concurrency in Golang is much more than just syntax.It a design pattern.A pattern that is a repeatable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.