Sign in

2x Top 1K & Top Bitcoin Writer. A Dev writing about Programming, Cryptos, Trading, and Appsec. Built https://heytdep.github.io/MediumLytics/ for Medium Creators
Sun peeking through forest
Sun peeking through forest
Photo by Carl Newton on Unsplash.

Today, I want to share a quick but useful tip that I never see mentioned in articles about Python dictionaries. I use it frequently.

If you are already familiar with Python dictionaries, you can skip ahead to the second section (even though a review is never bad).

1. Python Dictionaries

Dictionaries are an unordered set of terms and definitions. In Python, we define them using curly braces. An example of a dictionary is the following:

me_dict = {
"name": "Tommaso",
"medium_handle": "tdep",
"github_handle": "heytdep"
}

As you can see, there is an identifier or key (e.g. "name” ) and a definition or value…


Made With Canva by The Author

I’m really happy with my Bitcoin Predictions. When our friend reached $28.7K “sell your bitcoin” articles were flooding all over Medium and other media. I kept my January-bought BTC in my portfolio, but not keeping my fingers crossed and expecting Elong Musk to go public with something like “Tesla likes Bitcoin again”.

I had my strategy, which I worked on quite hard. I had gotten into price action and technical analysis not long ago, and that one was my first “Masterpiece Analysis”: a long/medium-term analysis full of patterns, indicators, and levels.

On 26th July, I published about parabolic curve pattern…


Neon sign on a wallpapered wall reads “# tweet tweet”
Neon sign on a wallpapered wall reads “# tweet tweet”
Photo by Chris J. Davis on Unsplash

A couple of days ago, I stumbled upon a nice tweet from Sam Chapagain, in which he asked the Twitter dev community what were the best habits they have as developers:

What is your best habit as a developer?

Sam

Immediately comments started growing, so I figured I’d come back another day and see if there was some great advice. Today is that day. And I was flooded by the many great tips. So, I decided to write this quick yet useful piece with some of the best habits I read about.

The Dunning-Kruger Effect

Admitting when I don’t know something with…


Let me start this article(in the hope it get’s “trending” too) by saying that what Medium gives you in the traffic section of your stories’ stats is probably only half of what can actually be seen.

For those of you who didn’t already know it, I’m kind of a tech guy, I do programming stuff, sometimes hacking(responsible disclosure), and some other times you’ll find me on tradingview drawing fancy shapes on my chart so I can make sure my next trade on the stock market goes well.

Besides all that, I am also a young guy who enjoys writing on…


Photo by Jp Valery on Unsplash

I remember my first months on Medium, back in April 2020 I wrote solely about programming, and for one big publication, Better Programming. My stories also went quite well, one of my first pieces, How To Work With JSON Files in Python has now over 30K views(even though it has a very low read ratio):


Two interconnected bubbles
Two interconnected bubbles
Photo by Marc Sendra Martorell on Unsplash

It’s now been a while since I’ve been trying to level up my CSS skills, about a week ago I wrote this piece on how to start creating CSS Art. While I’m amazed by what a simple few CSS lines alone can do, we generally don’t do much CSS art when creating our frontends.

But CSS doesn’t stop to fancy shapes and gradient colors, it goes much further. More intermediate uses of CSS surely include animations.

I want to raise awareness that you can create incredibly beautiful animations with CSS, especially when you don’t want complex ones.

Let’s take a…


With the latest incredible growth of Bitcoin and all major Cryptocurrencies, many developers have started wondering how they can fit into the Crypto Picture (I guess that also includes you).

In fact, most cryptocurrencies are “gold” for developers (and companies): from efficient and fast payments to having your backend running on a decentralized network, Cryptocurrencies offer more than often the best (or only) alternatives.

I’m not here to talk about investments, rather share Stellar’s network advantages for you as a Developer, from someone that has used it.

What Is Stellar

Claiming itself as an “open network for storing and moving money” the Stellar…


Photo by Markus Winkler on Unsplash

The Typewriter Write/Rewrite Effect is a simple JS animation that has become popular among the front-end of many websites. It gives your page a touch of dynamicity with a great design.

In this piece, I’ll show you how to implement this animation in an extremely simple way using a lightweight JS plugin in a matter of minutes.

Set-Up

Before starting with the JS code, we need an HTML page to work with. Also, we are going to import TypewriterJS from the HTML via the <script> tag.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Typewriter write/rewrite Animation</title>
</head>
<body>
<div id="awesomeAnimation"></div><script…


Reddit

First of all, look at my image editing skills, awesome right(look at the number on the cake)?

Now we can start.

In my latest Crypto-related piece, I talked about the strategy I would have been using while trading ADA(Cardano). My expected target price was $1.6+, now it’s at $1.98.

Yet there’s something really cool about my latest “prediction”, which is that the price indeed “stopped” its growth at about $1.6.

Today with Bitcoin, I’ll talk you through a pattern that has already been highly profitable a few weeks ago, plus other few indicators.

Before getting hands-on with the analysis, this…


Rotten apple
Rotten apple
Photo by Maria Teneva on Unsplash

I’m sure you’ve at least once looked at your code and thought: “it’s bad.” Or worse, you’ve looked at other people’s code and reacted the same way.

There is no such thing as bad code, but there is a bad habit: thinking a code fragment is just bad. This is not a good habit of a developer, and if you have it you are missing out, and I’m telling you why.

It’s Meaningless

A few weeks ago, I read an article by Iris Winter on why we should abandon Bootstrap. Seeing some comments surprised me in a negative way:

One of them…

Tommaso De Ponti

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store