Leaking custom GPTs prompts for fun

OpenAI released the GPT Store earlier this week, allowing users to share their prompts with anyone with ChatGPT Plus. This follows the GPT Builder program's introduction, allowing users to create tailored chatbots for various tasks. The store has reviews and even a revenue-sharing feature for custom GPTs.

I am not swayed by anyone's custom [instruction] GPT, there are many posted to Reddit and around the web touting their benefits. Well, I had some time this weekend and spent some time learning about prompt injection and how to leak the initial prompt.
 


Backstory
 

For creating a custom GPT, you can include specific instructions (duh) as well as include documents and interact with web APIs.
 

Tags

Failing HTTPS proxy with Ngrok on Railway.app

I've been a fan of free code to cloud deployment services (PaaS) like Railway.app and Fly.io to launch my fly-by-night ideas. They both offer generous free tiers that will allow you to run your code (Node, Python, etc) on their platform and host it for whatever use. The downside of all these different PaaS companies is that they call come with their own CLI that you must learn, with different syntax. Regardless, deploying from Git is easy enough and in fact simpler. Anyway.

 

I've been working on a new project that I think I'll turn into a SaaS eventually. A part of the project uses Google OAuth to login to the user dashboard. Setting up a new application in Google Cloud Platform is easy enough, make your keys, set your permission scopes and voila; instant Google SSO for your custom application. A part of this is specifying your redirect and callback URLs. 

 

Tags

The New Unicomp IBM Model M

I've had my IBM Model M for over 10 years (even though it predates me) and it's been a staple in my computing. Nothing has been more of a staple and a constant in my life than that keyboard.

Unfortunately the left shift key pivot key became loose, and thus the left shift became unreliable. After looking at finding replacement parts, the one place that sells the part...also sells brand new Model M's. Killing two birds with one stone and I just ordered the Unicomp IBM Model M

Coming from the 139041 model, I gained a Window key (Tux key as you can see) and opted for the larger spacebar.

New Unicomp Model M

 

Restoring a Macintosh Plus from 1988

Lo and behold, a Macintosh Plus from 1988. Complete with all original receipts, hardware, and software. 

 

A nice introductory message I sent to a friend

 

The Macintosh Plus was way before my time, but my fondness of pure computing keeps me interested in old hardware like this. I picked this up from an older gentlemen who used this computer during his studies at UBC (Vancouver).

 

Block sponsored ads on Kijiji with a Chrome Extension

The amount of sponsored ads and injected ads on Kijiji.ca is staggering. When you search for an item and no results are found, Kijiji will "fake" results and add multiple pages....of nothing. Say you searched for a dining table, you might receive a few real results, while the rest of the pages are Wayfair.ca ads.

Taking a look at the before and after below: 

Tags

Search multiple grocery stores at once

tl;dr check out https://grocerygoose.ca

Code: https://github.com/snacsnoc/grocery-app

The price of groceries in Canada has absolutely skyrocketed over the past six months. Everytime I go to the grocery store, I am no longer shocked at the price increase. In fact, it's almost a bit of a game finding something that hasn't gone up.

A great example is Loblaw's No Name potato chips. On sale they were 97 cents, regularly priced at 99 cents. Great value for something so simple. I went to an Independant Grocer two weeks ago, expecting to be shocked but what I received was a heart attack instead. The price increased by 150%! The sale price now is $5.00 for 2 bags.

Python init system for Snacklinux

I've been thinking about this for a while. It's not really practical, but just for fun. Essentially rewriting the tools needed for a minimal Linux distro with just the kernel. I found this PyCon presentation(video on Youtube) about this very subject. Unfortunately there's no mention of it past 2006 but oh well. Another use for such a thing would like be similar to Docker but with the build process of SnackLinux. Being able to launch a customizable Python image with custom kernel is complete overkill but that's what makes programming fun I think.

arm64 port for SnackLinux

It's with great success that I can announce SnackLinux has working arm64 build instructions, along with updated x86.

I haven't updated SnackLinux since 2018 or so, with the first commit on Feb 13 2013. Almost 10 years now, crazy! My longest-standing open source project that I've maintained. Honestly, it doesn't do much but at least it runs. I never put a whole lot of work into SnackLinux over the years with moving around the province, changing careers and changing my overall life.

It's nice having a constant hobby to always be able to chip away at when you have the time. Almost comforting in a way.

Anyway, i486 ISO builds work. I'm working on x86_64 ISOs. arm64/aarch64 kernel image and root filesystem builds work.

Download here | Code

Tags

Generating images for your podcast

I listen to Legends of the Old West podcast, it's a western-themed episodic podcast centered around outlaws.The narrator is great, the character actions are descriptive but I'm left wanting more.

With the surge of Stable Diffusion projects, I was inspired to make something AI generated art themed.

What I ended up with is transcribing the podcast audio into text, and then generating images based off of that. Take a look below for an example.


The bulk of the work is done by Vosk, an offline open source speech recognition toolkit. We convert the input MP3 to wav, send it through Vosk and receive a generated JSON output file.

Tags