Olson CloudWorks 🚀

: All Posts

Why is the STL so heavily based on templates instead of inheritance

Why is the STL so heavily based on templates instead of inheritance

I mean aside from its name the Standard Template Library which evolved into the C standard library C initially introduce OOP concepts into C That is you could

Read more →

Why prefer twos complement over sign-and-magnitude for signed numbers

Why prefer twos complement over sign-and-magnitude for signed numbers

Im just curious if theres a reason why in order to represent 1 in binary twos complement is used flipping the bits and adding 1 1 is represented by 11111111

Read more →

Window HeightAuto not working as expected

Window HeightAuto not working as expected

What I am trying to do is show a window that does not explicitly have a heightwidth both values omitted or set to Auto I was guessing that the window would

Read more →

     whats the deal

whats the deal

Ive programmed in both classic ASP and ASPNET and I see different tags inside of the markup for server side code Ive recently come across a good blog on MSDN

Read more →

Advantagesdisadvantages of using cookies to store a user ID

Advantagesdisadvantages of using cookies to store a user ID

For the sake of creating a login system for my website I read about cookies and sessions and their differences cookies are stored in the users browser and

Read more →

Angular 2 Show and Hide an element

Angular 2 Show and Hide an element

Im having a problem hiding and showing an element depending of a boolean variable in Angular 2 this is the code for the div to show and hide ltdiv

Read more →

Are there any cases where you would prefer a higher big-O time complexity algorithm over the lower one

Are there any cases where you would prefer a higher big-O time complexity algorithm over the lower one

Are there are any cases where you would prefer Olog n time complexity to O1 time complexity Or On to Olog n Do you have any

Read more →

Automatic HTTPS connectionredirect with nodejsexpress

Automatic HTTPS connectionredirect with nodejsexpress

Ive been trying to get HTTPS set up with a nodejs project Im working on Ive essentially followed the nodejs documentation for this example curl k

Read more →

Best practice for partial updates in a RESTful service

Best practice for partial updates in a RESTful service

I am writing a RESTful service for a customer management system and I am trying to find the best practice for updating records partially For example I want the

Read more →