Birbchan

Hello

I'm your local software development Birb.

Code

I mostly program in C/C++, Java and Python, but have written code in ASM, C#, Bash, .bat, Perl, R, Ruby and smali. My favorite C++ framework is Qt. Below are previews of some interesting projects I've worked on. None are maintained.

Aiko: PDF to image renderer

Using Apache's PDFBox and depsypher's pngtastic, generates an image of a page range in a PDF file at a given DPI setting.
Download | Usage

CAS for the TI-84+ CE Python

Equipped with modern 2021 Python features, the TI-84+ CE Python can run a fully capable computer algebra system written in Python, with minimal optimization needed. Sample code:
# Print monomial and simplify
def __str__(self):
    out = ''

    # Get rid of x/x, 2x/x, etc.
    self.a = self.a.simplify()
    if (self.a.get() != 1):
        out = str(self.a)

    if (self.n != 0):
        out = out + "x"
        if (self.n != 1):
            p_q = frac(self.n)
            exp = str(p_q)
            if (p_q.den != 1 or p_q.num < 0):
                exp = "(" + exp + ")"
            out = out + "^" + exp
    return out

GPT Discord Bot

The code is divided into two parts: a Python script running on a GPU workstation sets up an SSH server and a GPT language model, then a Swing control panel connected to Discord relays input and output.

Social media webscraper

Written using the Selenium interface in Java, this webscraper, using frontend data, scoured the top three media sites for certain keywords so that the user can be alerted via a feed to discussions on topics of interest. Additionally, a version for imageboards also exists.

SQL backend for an imagebooru

Written in Python, this API was written for a developer to access SQL databases with minimal pain using psycopg2 with postgresql. Sample code:
# Get image url from id
def get_url(database, id):
    cursor = database.cursor()

    cursor.execute("SELECT version_path FROM images WHERE id = " + str(id))
    url = str(cursor.fetchone()[0])
    cursor.execute("SELECT image_format FROM images WHERE id = " + str(id))
    format = str(cursor.fetchone()[0]).lower()

    cursor.close()
    return url + "large" + "." + format
                    

Math

My main goal of study is algebraic number theory, but currently I'm working on my foundations. My favorite topics are number sieves, elliptic curves and algebraic proofs.

Number sieves

When trying to solve a problem involving large primes, trying every number starts to slow down exponentially. Sieve methods help by eliminating portions of the search space.

Art

I've mostly been drawing one of my favorite characters from the manga Sekai Oni, Lukyon.
Besties!