Thursday, 9 March 2017

hello world

A small bubbleSort program to check if Highlight.js is working properly. (Code by the good folks at San Foundry)

//This is a C++ Program to Sort an Array using Bubble Sort
#include <iostream>
using namespace std;

void swap (int &a, int &b) {
    int temp = a;
    a = b;
    b = temp;
}

//Bubble Sort 
void bubbleSort (int arr[], int n) {
    for (int i = 0; i < n; ++i)
        for (int j = 0; j < n - i - 1; ++j)
            if (arr[j] > arr[j + 1])
                swap(arr[j], arr[j+1];
}  
 
//Driver Function
int main() {
    int inputArray[] = {10, 50, 21, 2, 6, 66, 802, 75, 24, 170};
    int n = sizeof (inputArray) / sizeof (inputArray[0]);
    bubbleSort (inputArray, n);
    cout << "Sorted Array : " << endl; 
    for (int i = 0; i < n; ++i)
        cout << inputArray[i] << " ";
    return 0;
}

Tuesday, 7 March 2017

Unordered list

Monday, 6 March 2017

Elite Desktop Concept

Just another wierd thing I made, way back in '16.
This is supposed to be a OS wide concept, but I never really finished this version. However, a newer version is in the works and, all being well, you'll get to see it soon enough! 

Some though on flat design and skeumorphism

Ah, flat interfaces. Perhaps one of the more ubiquitous trend that has been growing recently. Almost all major players are going flat (or at least flattening down some things), not to say the plethora of internet sites suddenly becoming more flat and ‘modern’. Microsoft, Apple, Google– most of them have recently gone through some major design changes, of which Microsoft’s can be said to be the most radicle. But, I’m not going to compare them here. Maybe in a later post. I’ll try to ask a different question, why flat? And is it better?

Another One

this will be deleted

Hello there!

This blog is currently under hiatus, and should start sometime in June!