O(1) sorting algorithm. http://pastebin.com/LP5sxLyx

O(1) sorting algorithm. http://pastebin.com/LP5sxLyx

#include

#include

/**

* ConwaySort:

* sorts an array by ignoring it and then

* printing out a new, sorted array with its

* own “Alternative Values.”

*

* If the new array does not appear sorted,

* you have been manipulated by MSM

*/

// The array to be sorted

int arr[] = {6, 8, 3, 9, 5, 4, 1, 7, 0, 2};

int main(int argc, char **argv) {

printf (“15, 16, 17, 18, 19, 20n”);

return 0;

}

Can’t really argue with the assertion that Preact is the JS framework to beat.

Can’t really argue with the assertion that Preact is the JS framework to beat. Basically it’s a drop in replacement for React which is surprisingly slow (around the same speed as the latest version of AngularJS).

Interesting also that VueJS really holds its own when it comes to performance.

https://developit.github.io/preact-perf/

https://preactjs.com/

https://vuejs.org/

No inclusion of Angular 2 in these tests unfortunately.

>I decided to dig through open source to examine the state of Google’s upcoming Andromeda OS.

Originally shared by Matt Uebel

>I decided to dig through open source to examine the state of Google’s upcoming Andromeda OS. For anyone unfamiliar, Andromeda seems to be the replacement for both Android and Chrome OS (cue endless debates over the semantics of that, and what it all entails). Fuchsia is the actual name of the operating system, while Magenta is the name of the kernel, or more correctly, the microkernel. Many of the architectural design decisions appear to have unsurprisingly been focused on creating a highly scalable platform.

That’s because people are writing applications rather than documents with this stuff.

That’s because people are writing applications rather than documents with this stuff. The separation between markup and code (which makes sense for static documents) has been bogus for some time in web apps. If you’re not mixing HTML with JavaScript in JSX then you’re using some kind of domain specific language in your markup (ng-if, ng-repeat etc.) in AngularJS.

Originally shared by Xah Lee

This is worth mulling. Need complete analysis. What went wrong? or was it stupid hacker advice to begin with? #JavaScript

A series of five articles introducing Vue.

A series of five articles introducing Vue. If you are an Angular 1.0 developer and considering a move to Angular 2.0, you might consider stepping off that train and picking up Vue instead. Performance wise it’s a lot like React but philosophically it shares a lot with Angular 1.0 (but with a lot less of the bad stuff, i.e. less kruft and bad decisions).

One of my favorite things about Vue is that it takes all of the successful things from other frameworks, and incorporates them without getting disorganized. Some examples that stand out for me:

A virtual DOM with reactive components that offer the View layer only, props and a Redux-like store similar to React.

Conditional rendering, and services, similar to Angular.

Inspired by Polymer in part in terms of simplicity and performance, Vue offers a similar development style as HTML, styles, and JavaScript are composed in tandem.

Some benefits I’ve enjoyed over Vue’s competitors: cleaner, more semantic API offerings, slightly better performance than React, no use of polyfills like Polymer, and an isolated, less opinionated view than Angular, which is an MVC.