HNHacker News
TopNewBestAskShowJobs

jamesponddotco

1,449 karma · joined May 12, 2019

Hi! I am James Pond, a Sysadmin and Software Engineer from Brazil working at Datadog while building privacy-focused open source projects in my spare time.

You can get in touch with me by sending an email to james AT cipher DOT host.

submissionscomments
jamesponddotco··on Show HN: Allalt – Generate alt tags for visually impaired users using GPT-4V
That was the first thing that came to mind when I found out about GPT-4V. Now that ollama[1] supports these models as well, I'll probably add a second engine to it at some point.

[1] https://ollama.ai/

jamesponddotco··on Freetar – an alternative front end for ultimate-guitar.com
Among other things, it implements a whole new interface[1] that removes the "nagging" from Wikipedia. It also removes all tracking. The interface was a lot cleaner and was completely JavaScript-free until a few months ago, which is why I added it to the list.

While I personally don't mind the default Wikipedia website and actually prefer it, I can see why some people would want something more "modern".

[1] Which I dislike, but I digress.

jamesponddotco··on Freetar – an alternative front end for ultimate-guitar.com
This is awesome! So much cleaner and easier to navigate compared to to UG, it isn't even funny. So much easier to navigate and focus on what's important. Thanks for sharing!

I added it to my Awesome Privacy Front-ends[1] list, hope that's okay!

[1] https://git.sr.ht/~jamesponddotco/awesome-privacy-front-ends

jamesponddotco··on Moss, a custom GPT that's an expert in Go
I use ChatGPT a lot to write tests and it works pretty well for me, so I figured I would package my prompt as a custom GPT, feed it with several megabytes of Go knowledge (articles, style guides, open source books, recent documentation), and share with people who want to use it.

It does require ChatGPT Plus. Hope you folks enjoy it[1] :)

[1] The reddit crowd definitely didn't.

jamesponddotco··on Ask HN: What are your most used Chat GPT prompts
I mostly use it to write tests for my Go code with the prompt below:

"Acting as an expert Go developer, write a full coverage black-box table-driven test with sub-tests for the code below. Please use 'tests' for the table of test cases and 'tt' for each test case in the range clause. Be concise."

It works pretty well and have been tweaked a bunch to get to that point.

I also use the following custom instructions, which influence the tests as well.

"You're the user's senior, inquisitive, and clever pair programmer.

Coding process:

1. Show concise step-by-step reasoning.

2. Prioritize tasks/steps you'll address in each response.

3. Finish one file before the next.

4. If needed, interrupt yourself and ask to continue.

When providing advice, reviewing, or writing code, adhere to the following guidelines:

- Follow the Uber Go style guide.

- Use the latest version of Go.

- Follow Go best practices for writing idiomatic code.

- Follow DRY principles.

- Do not use deprecated modules and functions.

- Properly handle errors.

- Include logging where appropriate.

- Include all the code, do not skip details or methods for brevity.

- Don't apologize for errors, fix them.

- Include comments in the code.

- Do not include TODO comments; write the code instead.

- Comments MUST describe purpose, not effect.

Bias towards the most efficient solution, with security and performance as a priority.

When writing tests adhere to the guidelines above, but add the guidelines below:

- Make the test a black-box test, unless asked otherwise.

- Name the test package with a _test suffix.

- Do not use third-party packages such as stretchr/testify.

- Always use methods like t.Parallel, t.Cleanup, and t.TempDir.

- Use tt := tt to capture range variable.

- Use errors.Is() instead of comparing error values directly.

Write concise answers and speak in a casual, unapologetic, and assertive tone. Minimize any other prose. Respond in Markdown."

I also use GPT-4 with ChatGPT Plus, which matters a lot.

jamesponddotco··on BitTorrent pirates won't receive ISP warnings in NL, but details can be revealed
Or a seedbox.
jamesponddotco··on Major outages across ChatGPT and API
Same. I can't remember the last time I wrote a test, I just use a default prompt to have it write them for me now.
jamesponddotco··on Show HN: awesome-privacy-front-ends – private front-ends to popular sites
I found one or two lists around but they seemed unmaintained, so I decided to start my own list and try to follow the guidelines from the "awesome" line of repositories.

Hopefully, this will help someone :)

jamesponddotco··on Show HN: Tell YouTube Ads to Fuck Off
Sure, if they also stop harvesting my data after I pay.
jamesponddotco··on Ask HN: Show me your half baked project
A privacy and caching reverse proxy for Gravatar written in Go:

https://git.sr.ht/~jamesponddotco/privytar

Still need to write tests and deploy an official instance, but the code itself should be working already. I'll consider it ready when those tasks are done and I can have a senior Go developer review the code.

I was inspired by projects like Nitter and Bibliogram. No real reason for it to exist aside from that and "because I wanted to." I guess I also don't trust Automattic all that much either.

There's also acopw, a small cryptographically secure password generator module for Go:

https://git.sr.ht/~jamesponddotco/acopw-go

I'll consider it ready once the underlying cryptographic implementations have been independently audited.

jamesponddotco··on Show HN: SquadGPT – chat interface to LLMs for teams
Just as a quick feedback, having screenshots on the front page would be nice. I also don't see a privacy policy or terms of use page anywhere.
jamesponddotco··on Show HN: brane, a tool to log and query your thoughts with the power of AI
brane is a very simple and somewhat naive tool to write down quick notes during the day and get insights about your life, with the power of GPT.

The tool made my therapy sessions more productive and richer in details, and I hope it can help others too :)

jamesponddotco··on Show HN: I just released acopw 0.3.0, a small password generator module for Go
I'm learning Go[1] and wrote this module a while back that generates random passwords, diceware passwords, PINs, and UUIDv4 using crypto/rand. I just refactored the base algorithm with the help of ChatGPT, and reduced allocations from 10 to about 2.

The API is still not stable, hence the version[2], but I would love some feedback or a review so I can remove the notice at the start of the README file, haha.

[1] Programming in general, really, as servers are my forte.

[2] Still debating if the Random.Generate() and PIN.Generate() should return an error or not.

jamesponddotco··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
Never tried, but let me know how and I can give it a shot.
jamesponddotco··on I chose the ThinkPad Z13 Gen1 as my Linux laptop
I have a ThinkPad Z13 as well[1] and, at least on openSUSE Tumbleweed, there are no suspend issues that I can find. Everything works as it should out of the box.

[1] Two, actually, since my wife has one as well.

jamesponddotco··on Most of my Instagram ads are for drugs, stolen credit cards, hacked accounts
There are, and there are also nude art photographers which seem to be doing just fine. My guess is that our account is too small to bypass certain rules—which is bs, considering the content of this article.
jamesponddotco··on Most of my Instagram ads are for drugs, stolen credit cards, hacked accounts
And yet my wife and I, as boudoir photographers, have 9 out of 10 ads rejected because our work show women in lingerie, which is "inappropriate."
jamesponddotco··on Write your passwords down (2010)
Mine are still randomly generated, but using the diceware method. Best of both worlds, really.
jamesponddotco··on EurKEY: The European Keyboard Layout – For Europeans, Coders and Translators
That's probably one of the features I loved the most when using macOS. Wish I could find something similar for Linux, so I wouldn't have to keep switching between keyboard layouts when talking to people from the US and people from Brazil.
jamesponddotco··on Write your passwords down (2010)
Or on a PS5, Nintendo Switch, and whatnot. So much easier to type and remember.
jamesponddotco··on Write your passwords down (2010)
For anyone looking for a dictionary for diceware passwords (or passphrases, or whatever you call them), I have one available over here[1] with over 23000 words with a minimum of 3 characters.

[1] https://git.sr.ht/~jamesponddotco/acopw-go/tree/trunk/item/w...

jamesponddotco··on Not Using Zoom
You can use the hosted version[1] or get a commercial offering from 8x8[2].

[1] https://meet.jit.si/

[2] https://jaas.8x8.vc/

jamesponddotco··on Icanhazip: A simple IP address tool survived a deluge of users (2021)
It's a fun project if you want to learn to code, which is why I think there're so many of them around. I built and run Accio127[1][2] for the same reason.

[1] https://api.accio127.com/v1/ip/

[2] https://git.sr.ht/~jamesponddotco/accio127

jamesponddotco··on Dino – Modern XMPP Chat Client using GTK+/Vala
My wife, a few friends, and I use both Dino and Conversations to message each other and never ran into any feature missing between both of them. I'm sure there must be a few, as mentioned by others, but for day to day usage, they seem to be on par with each other.
jamesponddotco··on Show HN: AI Powered Markdown Editor for tech writers
Loved the design of the front page! I wanted to try it out, but it seems to be missing a privacy policy--or maybe I just didn't find it?
jamesponddotco··on Imgdiet, a Go module that provides a simpler API for C's libvips
Hi, everyone,

I recently released imgdiet[1], a simple and fast image processing and compression Go module that provides a simpler API for libvips[2]. I usually only need to optimize or resize an image, so I wrote something that lets me do just that.

The module only supports PNG and JPG images for now, but I'll be adding more formats with time. Patches are welcome and I would love the community's feedback!

[1] https://sr.ht/~jamesponddotco/imgdiet/

[2] https://github.com/libvips/libvips

jamesponddotco··on Ask HN: Which distro do you use? (2023)
openSUSE Tumbleweed for my wife and I, openSUSE Leap on servers. Will probably migrate to Alpine at some point, but openSUSE treats me pretty well.
jamesponddotco··on LXD is now under Canonical
And openSUSE.
jamesponddotco··on Show HN: Open-source console for cloud operations
Can we get a screenshot of the dashboard?
jamesponddotco··on Desktop 3.8: End-to-End Encryption levels up with sharing and file-drop
I wonder how ownCloud is doing these days, especially since it looks like they changed everything to Go.
← PreviousPage 7 of 13Next →