Tag: Programing

Reddit URL Harvester

Reddit URL Harvester

I was browsing Reddit and I stumbled  upon a small sub-reddit at /r/Earthporn this small conner of Reddit had higres pictures of earth scenery.  From there i was directed to  /r/CityPorn, /r/SpacePorn , /r/MachinePorn, /r/AnimalPorn and /r/BotanicalPorn all HD pic. This got me thinking since i am lazy as fuck i did not want to spend every day going…

Read More Read More

Printing 1 to 1000 without loop or conditionals

Printing 1 to 1000 without loop or conditionals

Print numbers from 1 to 1000 without using any loop or conditional statements. #include <iostream> template<int N> struct NumberGeneration{   static void out(std::ostream& os)   {     NumberGeneration<N-1>::out(os);     os << N << std::endl;   } }; template<> struct NumberGeneration<1>{   static void out(std::ostream& os)   {     os << 1 <<…

Read More Read More

PHP variable variables; “variable variable takes the value of a variable and treats that as the name of a variable”. Also, variable.

PHP variable variables; “variable variable takes the value of a variable and treats that as the name of a variable”. Also, variable.

this is only the entrance of the rabbit hole. If you understand what this expression really does, you realize that you’re gazing upon the entrance to R’lyeh.Do you think you don’t need your soul anymore? If you do, follow me into the lair of the Elder Gods. But be warned, you will die a lot inside.The first…

Read More Read More

Strategies to mitigate web application database scalability issues via the use of NOSQL

Strategies to mitigate web application database scalability issues via the use of NOSQL

Introduction The rise of web applications — websites that replace the functions of a software program that was traditionally installed on a personal computer – was one of the hottest topics in the tech industry, of course people needed to know the basics, they had to know what is lead nuturing. Huge numbers of “Web…

Read More Read More