[Collection] All Finxter Articles and Tutorials

Python Integer to Hex — The Ultimate Guide

Working with different number systems and their representations is a common practice in the world of programming. One such conversion involves changing integer values into their corresponding hexadecimal representations. In Python, this transformation can be achieved with ease by utilizing built-in functions and string formatting techniques. Hexadecimal, also known as base-16, is a number system … Read more

​Read More
Python Integer to Hex — The Ultimate Guide

50% Growth Rate Plus Time 📈 A Formula to Harness Exponential Growth

In today’s rapidly evolving world, embracing exponential growth can be the key to success. To harness this growth, two crucial elements must be considered: In this article, I’ll delve into exponential growth, 🚀 discuss how to identify promising opportunities and explore the role of time in achieving success. The Power of Exponential Growth Exponential growth … Read more

​Read More
50% Growth Rate Plus Time 📈 A Formula to Harness Exponential Growth

How I Scattered My Fat with Python – Scraping and Analyzing My Nutrition Data From Cronometer.com

From April 1st through August 14th, I tracked everything I ate on cronometer.com as part of a weight loss challenge. Overall I lost almost 25 pounds at a rate of 1.2 pounds per week. I always wondered what I could learn if I could scrape that data and get it into a Jupyter Notebook. In … Read more

​Read More
How I Scattered My Fat with Python – Scraping and Analyzing My Nutrition Data From Cronometer.com

The Battle Between Centralization and Decentralization in Tech

Once upon a time, I was a distributed systems researcher specializing in graph partitioning algorithms. Those were thrilling days, though I must admit I didn’t enjoy the daily commute and the time away from my family. During that period, I delved deep into classic distributed systems conundrums like the Byzantine Generals Problem. When I discovered … Read more

​Read More
The Battle Between Centralization and Decentralization in Tech

Python Strings Made Easy

Python is a versatile programming language with a wide range of applications. One of the essential aspects of Python is its ability to manipulate strings. 💡 Strings in Python are sequences of characters, such as text or numbers, enclosed in single or double quotes. As Python does not have a dedicated character data type, a … Read more

​Read More
Python Strings Made Easy

Coinbase API: Getting Historical Price for Multiple Days Made Easy

Coinbase API v2 is a powerful tool for developers to access real-time and historical cryptocurrency data. One of the most common use cases for the API is to retrieve historical price data for multiple days, which can be used for analysis, modeling, and forecasting. However, getting historical price data for multiple days using Coinbase API … Read more

​Read More
Coinbase API: Getting Historical Price for Multiple Days Made Easy

Break Things and Be on the Right Side of Change in the Exponential World

Here’s the drumbeat they’ve been pounding in your ears 24/7: 🥁 AIs will take your job, your income, your livelihood, your purpose, and eventually your life. I assume you belong to either Group A or Group B: And I have to say, worrying about your future is understandable because you will either become irrelevant without … Read more

​Read More
Break Things and Be on the Right Side of Change in the Exponential World

How to Access the First, Second, or N-th Child Div Element in BeautifulSoup?

To access the first, second, or N-th child div element in BeautifulSoup, use the .contents or .find_all() methods on a parent div element. The .contents method returns a list of children, including tags and strings, while .find_all() returns a list of matching tags only. Simply select the desired index to obtain the child div element … Read more

​Read More
How to Access the First, Second, or N-th Child Div Element in BeautifulSoup?

[TryHackMe] Marketplace Walkthrough – How I Pulled Off a Cookie Heist to Become an Admin of the Target Website

CHALLENGE OVERVIEW BACKGROUND In this box, we are tasked with pen-testing an internal server to check for bugs before releasing it to the public. Judging by the tags on this box, we will execute some cross-site scripting and pull off a bit of SQL command injection. Let’s get started! ENUMERATION/RECON export myIP=10.10.129.195 export targetIP=10.10.163.156 💡 … Read more

​Read More
[TryHackMe] Marketplace Walkthrough – How I Pulled Off a Cookie Heist to Become an Admin of the Target Website

How I Designed an AI Blog Writing Tool with Streamlit

Barely four months since OpenAI unleashed ChatGPT, a human-behavior-mimicking chatbot that took the community by storm, they recently announced its successor, GPT-4. This development will continue to disrupt the global market and, unfortunately, take the jobs of millions of people. While it’s a welcome development for ChatGPT users looking to explore the capabilities of AI … Read more

​Read More
How I Designed an AI Blog Writing Tool with Streamlit

1 Billion Coders – Prompting Is The New Programming

Introduction 🧑‍💻 Prompting and GPT-4💡 Main argument: Prompting is programming for the masses The recent release of GPT-4 has taken the tech world by storm, providing powerful AI-driven solutions that transform how we work and interact with technology. 💡 Recommended: GPT-4 is Out! A New Language Model on Steroids One such groundbreaking innovation is “Prompting”, … Read more

​Read More
1 Billion Coders – Prompting Is The New Programming

Finxter Experience by Lukas Batema: Learning Futuristic Technology

I had the pleasure of finding Finxter while searching for easy Python tutorials. From the moment I stumbled upon their cheat sheet, I knew that this was a company that truly cared about its customers and community. Despite being a big corporation, Finxter is anything but normal. They have exceptional customer service and a strong … Read more

​Read More
Finxter Experience by Lukas Batema: Learning Futuristic Technology

Fix AttributeError: Module ‘OpenAI’ Has No Attribute ‘Audio’

I tried using the amazing speech recognition capabilities introduced with OpenAI’s new Whisper module yesterday. 👉 Recommended: OpenAI’s Speech-to-Text API: A Comprehensive Guide Here’s the sample code I used: But when using the simple code to test transcribing an audio file, Python gave me the AttributeError: module ‘openai’ has no attribute ‘Audio’. So, I wanted … Read more

​Read More
Fix AttributeError: Module ‘OpenAI’ Has No Attribute ‘Audio’

Cracking the Code to a Better Life: How Learning to Code Can Satisfy the 8 Life Forces

As human beings, we are driven by a number of basic needs and desires that motivate us to take action and pursue our goals. This includes things like survival, enjoyment of life, sexual companionship, comfortable living conditions, and more. I believe learning to code is a powerful way to satisfy many of these profound life … Read more

​Read More
Cracking the Code to a Better Life: How Learning to Code Can Satisfy the 8 Life Forces

TryHackMe Retro Walkthrough – How I Gained “NT Authority” on a Windows Server

CHALLENGE OVERVIEW The goal of the challenge is to gain root access (Windows Server) to two text files, user.txt and root.txt, by manually invoking privilege escalation to root via RDP. There are two methods to achieve this. The first involves hijacking a 404.php page on a WordPress site to spawn a reverse meterpreter shell. The … Read more

​Read More
TryHackMe Retro Walkthrough – How I Gained “NT Authority” on a Windows Server

Building a Q&A Bot with OpenAI: A Step-by-Step Guide to Scraping Websites and Answer Questions

Have you ever found yourself deep in the internet rabbit hole, searching for an answer to a question that just won’t quit? It can be frustrating to sift through all the online information and still come up empty-handed. But what if there was a way to get accurate and reliable answers in a snap? Enter … Read more

​Read More
Building a Q&A Bot with OpenAI: A Step-by-Step Guide to Scraping Websites and Answer Questions

A Simple Hack to Becoming the World’s Best Person in Something as an Average Guy

Millionaires are made at the top of the income distribution. For example, have a look at the following Pareto distribution exemplifying how only the top sports players make all the money: If you want to earn a million dollars quickly, you need to become one of the top people in the world at something the … Read more

​Read More
A Simple Hack to Becoming the World’s Best Person in Something as an Average Guy

TryHackMe Linux PrivEsc – Magical Linux Privilege Escalation (2/2)

CHALLENGE OVERVIEW BACKGROUND Welcome back to part II of this Linux privilege escalation series. You can find part 1 of this mini-series here: 👉 Recommended: TryHackMe Linux PrivEsc – Magical Linux Privilege Escalation (1/2) In this tutorial, we’ll try some additional “magical” methods of gaining root access in tasks 11-21. Buckle in, and let’s get … Read more

​Read More
TryHackMe Linux PrivEsc – Magical Linux Privilege Escalation (2/2)

IQ Just Got 10,000x Cheaper: Declining Cost Curves in AI Training

“I am not interested in hearing ridiculous Utopian rants.” said one reader of yesterday’s Finxter newsletter on my note on declining cost curves and the implied disruptions. I’ll include a screenshot of the email here: 💡 Info: Declining cost curves refer to the trend of production costs decreasing over time as technology and production processes … Read more

​Read More
IQ Just Got 10,000x Cheaper: Declining Cost Curves in AI Training

How to Count the Number of Words in a String in Python

Problem Formulation Given a string – sentence. How many words does the string sentence have within it? Examples: INPUT sentence = “Finxter helps you to master Python.” OUTPUT Number of words: 6 INPUT sentence = “””Lorem ipsum dolor sit amet. Consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.””” OUTPUT … Read more

​Read More
How to Count the Number of Words in a String in Python