About DeanLogic

Dean has been playing around with programming ever since his family got an IBM PC back in the early 80's. Things have changed since BASICA and Dean has dabbled in HTML, JavaScript, Action Script, Flex, Flash, PHP, C#, C++, J2ME and SQL. On this site Dean likes to share his adventures in coding. And since programming isn't enough of a time killer, Dean has also picked up the hobby of short film creation.

Cryptocurrency : Proof of Stake

Claiming Your Stake For Rewards and Mining In the late 1800’s, citizens of the U.S.A. were given the opportunity to stake a land claim in the expanding territory of the west. One of these seven land run events was the Land Run of 1893, where an estimated 115,000 participants road horses, wagons, bikes or just ran to stake a claim on 6 million acres and 42,000 homesteads in what was previously grazing land for the Cherokee. The participants would have to run to a plotted out homestead, which was about 160 acres in size, and plant their flag. If you Continue reading Cryptocurrency : Proof of Stake

Creating A ‘To The Moon’ Image

Working with PHP GD Image to Dynamically Create an Image Now that I have the correct max date query pulling the “To The Moon” coins list, it is time to work on creating an output image to let people share it with the world. From previous experience working with my website, before WordPress was WordPress, I knew that PHP had tools for manipulating images. I figured, I could take several images and text and combine them together to create a shareable image for each coin. While there is a great PHP image manipulation tool called ImageMagick, I am limited to Continue reading Creating A ‘To The Moon’ Image

SteemNova : Building My Galaxy

Colonizing Planets to Increase Resources   It has been two weeks since I started playing SteemNova, an oGame based space strategy game using the 2Moon system. Welcome Back to Text Base Gaming Last week, in my Slow Times on SteemNova article, I mentioned that I had reached the point where each new level of building or research took a lot more Metal, Crystal and Deuterium. One of the ways to increase your resources is to colonize planets. You do this by researching Expedition Technology, building a Colony Ship and then sending it to a blank spot in your galaxy. While the price of the Continue reading SteemNova : Building My Galaxy

The Slow Times on SteemNova

When the strategy game drags you on. It has been a week since I started playing SteemNova, a space strategy game using the OGame based Two Moons. Welcome Back to Text Base Gaming Since I started, I have created an Alliance with @gniksivart and @potplucker. Because I created it and the other guys didn’t care, I named it Logic Force. Which seems more like a policing group than a universe conquest team. Since all three of us have just started last week, we are still at the bottom half of the leader board. In fact, the only battles we’ve been in is that @gniksivart has been attacked Continue reading The Slow Times on SteemNova

Getting the Correct Max Date

After I added the dynamic search feature to my “To The Moon” 🚀 Coin Calculator, I noticed that the price of BitCoin (BTC) was not increasing. I knew that it was over USD$9,000 all day, but it was still showing a price just about USD$8,000. When I ran the query in the MySQL database, I noticed that it was pulling back the correct date, but not the correct price. QUERY FAIL!! So, it was off to figure out why my query wasn’t working. To start, I was using the MAX() function to retrieve the latest date added to the table. Continue reading Getting the Correct Max Date

Dynamic Search with PHP, jQuery and AutoComplete

After I created a Cron job using EasyCron to populate my cryptocurrency coin history tables, my next step was to create the capability to search through the 500 coins I had in the database.  The To The Moon! Coin Calculator displays the Top 50 coins by market capitalization rank by default. The search would narrow it down to one coin. I am hoping, that in the next phase, that when the user selects one coin they will get more information than the list of 50. Since I want to prevent errors in retrieving the one coin, the best method is Continue reading Dynamic Search with PHP, jQuery and AutoComplete