Programming

611 Articles 12 Followers


PHP PDO insert boilerplate code

25 Nov 2020 1 minute read 0 comments Erik Thiart

If you are like me you often grab some old code and copy it and then just change the values a bit. I find myself more often than not googling the code on StackOverflow in order to get some examples because I am too lazy to type it out. Here is the co...

Python - upload photos to microstock platforms over FTP

19 Nov 2020 1 minute read 0 comments krx

Hello, Few days ago I needed to upload a bunch of files (mostly pictures) to a different sites. Now I am usually doing this manually, but if you have two, four, or even more places where the files should be uploaded, it can be pretty boring process t...

How I fixed an issue with discord bot not caching all users?

9 Nov 2020 2 minute read 0 comments Bala

For the past few days, I was working on fixing an issue on one of my discord bots. Prior to this issue, HF 24 issues were keeping me busy but this issue was quite strange and it drained my energy to make things right. I wouldn't blame discord so much...

On web design and development

26 Oct 2020 5 minute read 29 comments ProngsDark

Recently I entered a Harvest Finance contest which consisted of creating a new design for their website. Since I'm not a web designer, but a software engineer, I decided to take on this job the way I knew best: by writing some code. I never used too...

Tech&Art Curiosities - The art of Shaders

23 Oct 2020 2 minute read 2 comments DawCrash

Graphics cards aren't only used to mine cryptocurrencies, they're also used to create art! In this article, I'll explain what shaders are and how they can be used to create art. Please note that to create shaders you need programming skills, but you...

It's a new day in Hell. (Part one)

12 Oct 2020 3 minute read 0 comments Mac Andrews

It is mind blowing to think that the American public operates in a mild dissociative state. I wrote about this previously in one of my posts. It is almost as if people are afflicted with a kind of PTSD - only one where the trauma is generalized, rela...

Ever wonder how to view the progress of cp, mv, dd, tar and other coreutils commands? 'progress' is there for you.

10 Oct 2020 1 minute read 0 comments norep

What is 'progress'? Have you ever needed to move or copy a large file with the command line and had to sit there, staring at a blinking cursor while you have no idea how much longer it will take? Well 'progress' is the program you have been looking f...

TEAL programming language makes Algorand perfect for DeFi usage

7 Oct 2020 3 minute read 2 comments shadowofsatoshi

Bitcoin is written in C++ but has no smart contracts, Ethereum smart contracts are written in Solidity while Cardano and its SC in Plutus. Algorand went a bit different way of using the programming language TEAL. But what does that mean? Let’s start...

Updated: Stateful smart contract example using Python/Pyteal: simple role-based application

1 Oct 2020 8 minute read 0 comments Ddev

Algorand python SDKs provides for developers easy and convenient way of expressing smart contract codes in a more natural form. Recently, the protocol was upgraded with room to use both on-chain (stateful) and local storages in tandem with the exist...

learn Java through e-books

29 Sep 2020 1 minute read 0 comments ryosuke

If you are a beginner in the IT field, and you want to learn Java programming language ,the first question that comes to your mind is: From where should i start?, what materials should i use ? well some people prefer the use of tutorials and some use...