HN user

slicedbrandy

199 karma

github.com/tomarrell

Posts16
Comments15
View on HN

It appears Microsoft Azure's content filtering policy prevents the prompt from being processed due to detecting the jailbreak, however, removing the tags and just leaving the text got me through with a successful response from GPT 4o.

Go 1.18 4 years ago

Now time to update interface{} usage and shift to any.

  $ gofmt -r 'interface{} -> any' -l **/*.go
Replace -l with -w to write.

Hey HN!

Out of frustration at the operational complexity of some brokers, I decided to strip back on features and focus on simplicity. A by-product of this simplicity is that it's damn fast*.

MiniQueue is not distributed by design, instead, it's backed by embedded LevelDB for persistence.

It can also be easily used as a simple companion job queue, supporting delaying messages for arbitrary periods.

Would be great to hear some feedback should you try it out. Cheers!

*Benchmarks can be found in the README

SumUp | Golang Engineers | Berlin, Germany | ONSITE | VISA | https://sumup.com

SumUp is a leading card payment hardware company, born in Europe, serving millions of merchants globally. We provide small and medium-sized merchants with the ability to easily accept card using our in-house-built readers and their smartphones. We're a hardware and software company, building financial tools for merchants, allowing them to focus on what they're best at.

We have a modern tech stack, running microservices on Kubernetes. Teams are fully autonomous and cross-functional. We're looking for all levels of engineers interested in writing Golang day-to-day, and helping shape the engineering landscape here at SumUp.

Stack: Go / Postgres / K8s / AWS / Jenkins / Docker

Apply: https://sumup.com/careers/positions/4301814002/

Feel free to ping me: thomas.arrell(at)sumup.com if you want to chat further about the positions!

SumUp | Golang Engineers | Berlin, Germany | ONSITE | VISA | https://sumup.com

SumUp is a leading card payment hardware company, born in Europe, serving millions of merchants globally. We provide small and medium sized merchants with the ability to easily accept card using our in-house-built readers and their smartphones. We're a hardware and software company, building financial tools for merchants, allowing them to focus on what they're best at.

We have a modern tech stack, running microservices on Kubernetes. Teams are fully autonomous and cross-functional. We're looking for all levels of engineers interested in writing Golang day-to-day, and helping shape the engineering landscape here at SumUp.

Stack: Go / Postgres / K8s / AWS / Jenkins / Docker

Apply: https://sumup.com/careers/positions/4301814002/

Feel free to ping me: thomas.arrell(at)sumup.com if you want to chat further about the positions!

Hey HN,

Work is coming along on this project to build a distributed SQL database from scratch, mostly as a reference for newcomers to get an idea about the inner workings.

Looking for contributors who are interested in anything from parsers, disk paging, building out a REPL, defining an IR grammar, implementing consensus and more!

Anyone interested in contributing in these areas is more than welcome!

Thanks!

Sounds like a good idea. I’m planning to put together a series of posts on my blog going through it step by step once it’s at a good stage.

I’ll also be using it as the basis for a few learning sessions at my work, so will have some more condensed slides for that which will also go up on Github.

Hey HN!

Not too long ago I began working on a distributed database, using Go. The goal of this project is to ultimately be for people to have an approachable way to learn more about the inner workings of a database.

Any contributions are massively appreciated!

G'day folks!

I built a zero client-perceived latency snake game that runs remotely, supporting concurrent players.

Specifically this is implemented using the "validator" adapter. The idea is that the server delivers a signed token to the client including the positions of the fruits, and the starting position of the snake. The client must then record its tick movements (x, y) until it reaches one of the fruit. These are then sent back to the server, which instantaneously runs the given simulation to check that all moves are legal. This process then repeats with a newly generated fruit and token.

You can see a demo of this functionality on my site: https://tomarell.com

That would certainly work as well, and ultimately it does get converted into a Vec<u8>. I did consider just having the buffer as it from the start, but by using a String it was just a little more intuitive when it came to pushing more bits onto the buffer, as well as doing the padding operation at the end. More just to reduce complexity during development than anything I guess.