News for hackers. Stuff that matters.

spalas

Show HN: Deputies (open-source background agent control plane)

https://deputies.dev/

Deputies is a background agent platform like Ramp's Inspect or Stripe's minions, but open source and deployable anywhere.I launched it a few weeks ago, and have since added a public demo instance at https://demo.deputies.dev/ that people can use to try it out!Any GitHub account can sign in via oauth.NOTE: This is a public instance, so others will be able to see the sessions you create.

( Read More... | no comments | on HN )

Show HN: Deputies, an open source background agent

https://deputies.dev/

Inspired by Ramp's inspect, Stripe's Minions, and open source versions like open-inspect & open-swe, I decided to build my version of a background agent!It is built on https://flueframework.com/ with deployability as a core feature (aka it can deploy on a server in your closet or to an EKS cluster in AWS). These types of systems are most valuable when you can deploy them into your existing...

( Read More... | no comments | on HN )
Re:Hire Part-Time Roles on Tuesday October 04, 2022 @04:31PM (#33086359)
More opportunistic.

The companies had similar full time roles posted they were trying to hire for and but were willing to adapt hire me part time after discussing what I felt I could bring to the table.

Re:Hire Part-Time Roles on Tuesday October 04, 2022 @02:02PM (#33084266)
I left my full time role right at the beginning of the pandemic due to burnout.

I was planning to take time off before applying to full time roles, but then ended up doing part time contract work at a few startups instead and it was the best thing for my mental health. I was able to more concretely separate work from life since when I was on the clock I was billing for it and when I was not I never felt bad as if if I wasn't "doing enough".

My contracts all came through my personal and professional network though, so it's interesting to see a job board focused on part time and contract roles.

Hi! Author here!

My (somewhat silly) use case for the tiny container was trying to cram 10,000 pods onto a k8s cluster without breaking the bank: https://www.youtube.com/watch?v=1y2nRNexRVk

Hi, author here!

Thanks for the kind words. I didn't know about UPX.

I should add an update to the end with this trick!

Hi, author of the article here!

I figured there were a bunch of ways to shrink that one, and I had a C based image that was in between my GO and ASM images, but decided to cut them for the sake of brevity!

Re:Show HN: Play Battleships on PostgreSQL on Tuesday September 22, 2020 @09:17AM (#24554041)
Yeah -- Using the second session for grabbing inputs is clever!
Re:Show HN: Play Battleships on PostgreSQL on Tuesday September 22, 2020 @07:48AM (#24553379)
K1GSFJF0 is a random password generated here:

https://github.com/Firemoon777/sql-battleships/blob/87770216...

It then queries every second looking for a session in the postgres_log for a query that matches that password and stores the session id into a table named ks_id.

Once it knows the session_id it can then listen for any input associated to that session.

Re:Show HN: Play Battleships on PostgreSQL on Tuesday September 22, 2020 @07:41AM (#24553344)
Ha! I attempted this a while back but never came up with a good solution for handling user inputs so it was just the computer playing itself...

https://github.com/sidpalas/battleship-sql

This is next level!

Thanks for the response -- that is what I assumed by wanted to see if I was missing something.

Ask HN: Why does Cloudflare show 3.5x more unique users than Google Analytics?

When looking at my site's analytics, the nubmer of unique visitors tracked in Cloudflare is approximately 3.5 times the number tracked in Google Analytics.Is this mostly due to:- Adblockers preventing the GA javascript from executing?- Bots making requests that get picked up by Cloudflare?- User error on my part? (something misconfigured)

( Read More... | 5 comments | 10 points | on HN )
Re:Doing stupid stuff with GitHub Actions on Sunday July 26, 2020 @02:53PM (#23959245)
Haha - We have it too easy these days and can just spin up a VM with Virtual Box (or similar) to test stuff like this.
Re:Doing stupid stuff with GitHub Actions on Sunday July 26, 2020 @12:32PM (#23958212)
I think you could build on this action https://github.com/actions/github-script/ which provides a JS client for the GitHub API.

It looks like it supports all of the API routes you would need including:

https://github.com/actions/github-script/blob/b507739f17c210...

To actually perform the release update.

Re:Doing stupid stuff with GitHub Actions on Sunday July 26, 2020 @06:50AM (#23956082)
Mostly because I knew I wanted to play around with trying out different configurations, testing performance, etc...

If I didn't have those secondary goals, I would have either:

1) Hosted on Netlify

OR

2) Hosted in an S3 / GCS bucket

Re:Doing stupid stuff with GitHub Actions on Saturday July 25, 2020 @05:26PM (#23952563)
Haha, good point... I have another 5 months to fully forget that I ever set this up.

The name of the action does get included in the email notification so hopefully I'll be able to decypher it, even after some NYE celebration champagne!

Re:Doing stupid stuff with GitHub Actions on Saturday July 25, 2020 @05:18PM (#23952515)
Oh nice, I saw that one on the front page the other day.

Didn't realize it was you -- great post!

Re:Doing stupid stuff with GitHub Actions on Saturday July 25, 2020 @05:10PM (#23952450)
...and its hosted on an f1-micro instance! (https://devopsdirective.com/posts/2020/03/load-testing-f1-mi...)

Almost all of the load is handled by CloudFlare though.

Re:Doing stupid stuff with GitHub Actions on Saturday July 25, 2020 @05:08PM (#23952438)
Love it!

I have seen people doing fun things with GitHub Actions for the new GitHub profile readme feature as well.

This community chess game is one of my favorites https://github.com/timburgan/timburgan

It uses the creation GitHub issues on the repo as the input method/trgger which is a pretty clever hack.

Re:Doing stupid stuff with GitHub Actions on Saturday July 25, 2020 @04:53PM (#23952319)
I'm glad you enjoyed it!

I figured if I was going to learn a new tool, I might as well have some fun along the way!

Re:Doing stupid stuff with GitHub Actions on Saturday July 25, 2020 @04:46PM (#23952262)
Thanks!

Most of the credit goes to Alex Shpak (https://github.com/alex-shpak/) who created the "Book" theme for hugo (https://themes.gohugo.io/hugo-book/).

Re:Analyzing HN readers' personal blogs on Saturday April 11, 2020 @01:36PM (#22842889)
Ha -- I'm one of the 4 hosted with Caddy web server!

All of my other attributes were in the majority (Hugo, Google Analytics, etc...)

Older »