What is the difference between Dataflow programming and Reactive programming?

Reactive Programming is a form of Dataflow programming only. But its also a paradigm which is oriented around propagation of changes along with data flows Like a example given on Wiki Page a:=b+c would mean that a is being assigned the result of b + c, in the instant the expression is evaluated, and later, … Read more

What is a selector engine?

A selector engine is used to query a page’s DOM for particular elements, based on some sort of query (usually CSS syntax or similar). For example, this jQuery: $(‘div’) Would search for and return all of the <div> elements on the page. It uses jQuery’s selector engine to do that. Optimizing the selector engine is … Read more

Functional programming and non-functional programming

One key feature in a functional language is the concept of first-class functions. The idea is that you can pass functions as parameters to other functions and return them as values. Functional programming involves writing code that does not change state. The primary reason for doing so is so that successive calls to a function … Read more

What does the word “literal” mean?

A literal is “any notation for representing a value within source code” (wikipedia) (Contrast this with identifiers, which refer to a value in memory.) Examples: “hey” (a string) false (a boolean) 3.14 (a real number) [1,2,3] (a list of numbers) (x) => x*x (a function) /^1?$|^(11+?)\1+$/ (a regexp) Some things that are not literals: std::cout … Read more

What is a UUID?

It’s an identification number that will uniquely identify something. The idea being that id number will be universally unique. Thus, no two things should have the same uuid. In fact, if you were to generate 10 trillion uuids, there would be something along the lines of a .00000006 chance of two uuids being the same.

Java Annotations

Annotations are primarily used by code that is inspecting other code. They are often used for modifying (i.e. decorating or wrapping) existing classes at run-time to change their behavior. Frameworks such as JUnit and Hibernate use annotations to minimize the amount of code you need to write yourself to use the frameworks. Oracle has a … Read more

What is boxing and unboxing and what are the trade offs?

Boxed values are data structures that are minimal wrappers around primitive types*. Boxed values are typically stored as pointers to objects on the heap. Thus, boxed values use more memory and take at minimum two memory lookups to access: once to get the pointer, and another to follow that pointer to the primitive. Obviously this … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)