HackerTrans
TopNewTrendsCommentsPastAskShowJobs

JohnScolaro

no profile record

Submissions

Log by time, not by count

johnscolaro.xyz
241 points·by JohnScolaro·12 месяцев назад·107 comments

[untitled]

1 points·by JohnScolaro·в прошлом году·0 comments

[untitled]

1 points·by JohnScolaro·в прошлом году·0 comments

LLM Fight Club

johnscolaro.xyz
2 points·by JohnScolaro·в прошлом году·0 comments

Google's Places API (New)

johnscolaro.xyz
2 points·by JohnScolaro·в прошлом году·0 comments

"Data" Sucks

johnscolaro.xyz
13 points·by JohnScolaro·в прошлом году·8 comments

Serverless Python Websites

johnscolaro.xyz
2 points·by JohnScolaro·в прошлом году·1 comments

comments

JohnScolaro
·3 месяца назад·discuss
> We had a budget alert (€80) and a cost anomaly alert, both of which triggered with a delay of a few hours. By the time we reacted, costs were already around €28,000.

I had a similar experience with GCP where I set a budget of $100 and was only emailed 5 hours after exceeding the budget by which time I was well over it.

It's mind boggling that features like this aren't prioritized. Sure it would probably make Google less money short term, but surely that's more preferable to providing devs with such a poor experience that they'd never recommend your platform to anyone else again.
JohnScolaro
·12 месяцев назад·discuss
Thanks for taking the time to reply! I'm relatively new to working on this type of system (large scale, event driven) and half posted because I know there are people on HN way better than me at this, and was curious about their opinions.

In the end, what's the difference between a log and a metric? Is one structured, and one unstructured? Is one a giant blob of text, and the other stored in a time series db? At the moment I guess I'm "logging my metrics" with structured logs going into Loki which can then unwrap and plot things.

You and the other commenters have given me the vocabulary to dig more into this area on the internet though. Thanks!
JohnScolaro
·в прошлом году·discuss
This was shared with me years ago by another developer I worked with. I still reference it today as I continue my external battle with the complexity demon.
JohnScolaro
·в прошлом году·discuss
Oh I can 100% see where all of that comes from too.

I think a lot of Brisbanes secret beauty is well hidden from people just visiting. The temperate rainforests, glasshouse mountains, some of the best beaches in the world all within an hours drive. The strange birds, the general attitude of the public. I think it's all quite nice. My only personal gripe is that I think it's far too hot in summer!

I'm also extremely biased though, so take my opinion with a grain of salt. Brisbane does have an awful lot of mediocrity too, but I'm still proud of it, and keen to show it off in 2032 with the Olympics!
JohnScolaro
·в прошлом году·discuss
What a fantastic write-up. As a Brisbane native and software developer I often feel similarly to the author about Brisbane's software dev scene. Brisbane so often feels like a backwater, with the big dogs down in Melbourne and Sydney, and the 'peak of industry' in the US.

I'd love to move to Seattle and work for Amazon or something to get 'relevant industry experience' but what I'd really love to do is make a go of it here because - like the author - I believe Brisbane is secretly still the best city in the world ;-)
JohnScolaro
·в прошлом году·discuss
I made a game called "So you think you know Brisbane?", in which you guess the suburbs of Brisbane, Australia.

https://johnscolaro.xyz/projects/so-you-think-you-know-brisb...

I'm working on expanding it to all large cities in Queensland, moving it to its own domain, and monetizing it to cover hosting costs.
JohnScolaro
·в прошлом году·discuss
If this is an idle game, why do I need to log in?

Couldn't you store the game state in localStorage or something?
JohnScolaro
·в прошлом году·discuss
I was wondering that too!

Surely Airbnb - a company that runs a website - has the capability to put a text post on their own website. Then they'd own the content, and people looking for it could find it easier? It's not a revolutionary concept either, Facebook has one:

https://engineering.fb.com/

Wait, Airbnb already has one?

https://airbnb.io/

Genuinely confusing.
JohnScolaro
·в прошлом году·discuss
I recently made a serverless lambda/dynamo webapp following similar patterns and wrote about the experience here: https://johnscolaro.xyz/blog/serverless-python-websites

I think it's amazing the python community has like 5 half baked solutions to this problem, all of which are either abandoned, poorly monetized, or have a janky UI. I mean we have: Zappa, Chalice, Serverless, and if you attempt to do it yourself, do you use Cloudformation, CDK, or AWS SAM?

Following with interest, I think there is room for better tool in this space.
JohnScolaro
·в прошлом году·discuss
Next.js on Vercel. I don't get enough hits to take me out of the free tier, so I'm fine staying here for now. If it became absurdly expensive, I'd try to either self-host, or move to something else.

All the blog posts are just written in markdown and would be easy to migrate, but some of the fancier stuff would be harder.

Luckily if you just write drivel like me, the free tier lasts a long time

https://johnscolaro.xyz
JohnScolaro
·в прошлом году·discuss
I recently made the backend of a hobby Python project run entirely serverlessly on AWS, and reduced my bill from ~$300 a year to $0 a year.

There seem to be a million and 1 ways to make serverless python websites, but none of them easy. Thought I'd post in case anyone is going through the same process and this might help, or in case there are other ways I should have done this, and can be enlightened by the comment section.
JohnScolaro
·в прошлом году·discuss
I first attempted to use ruff for a small project ~2 years ago, and at the time felt that it wasn't quite good enough to replace the: black+isort+whatever linter combo we were using at work.

I've used it a few times since then and now I'm a big proponent of using only ruff. I think most of its value comes from:

1. Being fast (or at least fast enough that it's not annoying). 2. Replaces the linting/formatting combo of multiple tools, reducing the cognitive load for the developer.

Anyway, big fan.