Blog

My blog for long form content and my opinions. My snippets is for little things I want to share.

Scraping API keys from Repl.it

21 Nov, 2020. | By: AceLewis

In 2017 I scraped all publicly available code from repl.it and shared some graphs about the metadata, I was going to share my script to scrape but doing some analysis I found API keys. Since then repl.it changed how code is shared, it can no longer be scraped via enumeration and the old repls susceptible were removed.

The code used to find the API keys is on GitHub: https://github.com/AceLewis/finding-api-keys-on-repl-it

[Read More]

set-solving-bot: How I automated a simple mobile game.

19 Nov, 2020. | By: AceLewis

set-solving-bot

This project was to automate an Android app version of the card game Set, the code is available on GitHub. I chose to automate “Find a set!” because it is a good copy of the real game and it has an offline high score. I don’t want to cheat on an online leaderboard, this project is just for fun.

[Read More]

What is the longest word that can be spelt with flags?

23 Jul, 2020. | By: AceLewis

Flags in emoji are made from special characters called Regional Indicator Symbols (RIS), two of these encode the flags for every country. Each RIS is a reserved character that corresponds to a Latin letter A-Z. If you treat these like normal letters what is the longest word that can be spelt only using flags?, what is the longest word that contains no flags?, and what else interesting can you find?

[Read More]

The Emoji that exists but is not real

6 May, 2017. | By: AceLewis

Everyone knows what emoji are, small pictures that are shared in text often faces or objects. Emoji work cross platform and are very common on phones and sites like Twitter. In this blog post I will tell you about this emoji that exists but is not actually real.

[Read More]

Statistics of code shared on repl.it

7 Apr, 2017. | By: AceLewis

Repl.it is a code sharing website that also allows you to run the code in the browser, it is very useful for testing languages quickly and easily and sharing code with someone where they can see the output. I have also had fun making the graphs look nicer than Matplotlib’s default graphs.

[Read More]

When will the Bitcoin blockchain reach 1TB?

1 Dec, 2016. | By: AceLewis

Bitcoin’s blockchain is the centre of the cryptocurrency and contains every transaction that as ever happened in Bitcoins history. The file size of the blockchain is increasing, it is currently over 80 GB however when will it be over 1TB.

[Read More]

The Secret Santa problem

8 Nov, 2016. | By: AceLewis

This is a blog post that discusses the probability of a successful Secret Santa draw and how the probability changes with the number of people in the group.

The Secret Santa draw is a simple pick names from a hat that contains everyone’s name, success is defined by everyone having a name that is not themselves.

[Read More]

Zookos triangle

31 Oct, 2016. | By: AceLewis

Zookos triangle states that for a domain name in a DNS (Domain Name System) can not be human readable, secure AND decentralized. It can be up to two of the three but not all three, how true is the statement?

[Read More]

What is ZeroNet?

8 Mar, 2016. | By: AceLewis

ZeroNet is a project that allows people to create decentalised peer to peer websites, as all websites are decentalised it is free to host, can’t be geoblocked, it very resilient to censorship and is difficult to attack via DDOS. Although websites on ZeroNet are distributed across the network it is much more secure than the normal web as it uses “Bitcoin cryptography” aka websites are signed by the same public private key cryptography that is used in Bitcoin.

[Read More]

Alternatives to Ads and Why They Wouldn't Work

9 Jan, 2016. | By: AceLewis

I wrote a blog post on “The Ethics of Adblock” stating that online Advertisements are a necessity to have free content however in this post I will explore the alternatives and explain my thoughts on why they will not work to monetize content on many websites.

[Read More]

Image Formats and When to Use Them

6 Jan, 2016. | By: AceLewis

There are a few image formats used on the web, this blog post is aims the explain what each one is in simple terms and also explain the situations where each format is appropriate. Some people argue over what image format people should use (all the time) however it is much better to understand the situations where specific image formats should and shouldn’t be used and the situations where people abuse formats.

[Read More]

The Ethics of Adblock

12 Dec, 2015. | By: AceLewis

Adblock is software used on computers and mobile devices whose main purpose is to block web advertisements. Adblock is growing in it’s use and an estimated 20.3% of people in the UK use it. Mobile phones have for a long time been a safe haven for online advertisements as installing Adblock meant either changing to a specialised browser or by Jailbreaking/Rooting the device.

[Read More]

Subscribe

Subscribe to this blog via RSS.

Recent Blog Posts

Recent Snippets

All Blog Posts and Snippets

Click here to view all blog and snippets.

Popular Tags

Adblock (2) Ethics (1) Adverts (2) Images (1) Formats (1) Zeronet (2) P2p (3) Dns (1) Zookos triangle (1) Data (2) Maths (1) Bitcoin (1) Blockchain (1) Svg (1) Python (2) Regex (2) Coding (2) Coding challenge (2) Repl.it (1) Emoji (2) Automation (2)

About me

I am interested in Physics, Maths, Programming and also play a few games in my spare time. I have an interest in data and have made webscrapers to gather and process information, I am currently looking into nice ways to display information easily in infographics using Python. I can code in Matlab, Python and have also made a Steam trading bot in Node.JS.

Social Links