5,377 karma · joined Oct 20, 2023 (3y ago) · 2,450 submissions
comment 4mo ago · link · parent
That's not a Django limit and there's something going on with the authors setup. 100 RPS on a $16 instance would be easily doable with Django too.
> neither you are saving any time, nor money.
How do you know? I'm pretty sure I can set up the same webapp in Django much faster than in go, so I'm saving both.
> this is a myth, you'll not save anytime. Only way you can save time is if you've experience in this but same is true if you write your app from scratch in Go from your learned patterns.
Why do you think all the built in stuff in Django does not save time? Any argument for that?
comment 4mo ago · link · parent
Situation a: Someone searches for location XYZ. The geocoding API returns lat and Lon and canonical name ABC. You save that and the slugified name abc in your DB. (If the API doesn’t return a name, you can use XYZ instead of ABC). You return slug abc to the user.
Situation b: Someone requests weather for location at slug abc. You look in your DB, ask the weather API for the weather at lat/lon and return that to the user.
Situation c: Someone searches for a place that happens to already exist in the DB. You geocode the search term and get a lat/lon pair that’s already in the DB so you return the saved slug.
How is that different than using a shortcode? In which situation are you doing a geocoding API request you don’t need to do with the current system?
comment 4mo ago · link · parent
> After turning on template caching, it seems like the site can now pretty easily handle 12 requests per second or so without using all of the CPU. I have not carefully benchmarked the before and after but it seems like it’s made a pretty big difference.
That seems crazy low, I think there has to be something else going on here.
comment 4mo ago · link · parent
Im pretty sure the taste is an evolutionary indicator of nutritional value (we now know how to cheat to make food that tastes really good but isn’t really healthy). But it’s not really an accident that some food tastes good.
comment 4mo ago · link · parent
I don’t know why you’re repeating the stuff I just wrote like I didn’t. My point is that this is only relevant for the fair use defense and not copyright in general.
Here’s what I said:
> The “does it hurt the original publisher” is a test for fair use BTW, just because you hurt the sales of someone doesn’t necessarily make it copyright infringement. That is only relevant if you try to defend using fair use (and it’s only part of the test that’s used to decide fair use).
comment 4mo ago · link · parent
If that is true, you have a legal claim and can sue them. I doubt that’s true in the general case though.
The “does it hurt the original publisher” is a test for fair use BTW, just because you hurt the sales of someone doesn’t necessarily make it copyright infringement. That is only relevant if you try to defend using fair use (and it’s only part of the test that’s used to decide fair use).
comment 4mo ago · link · parent
I built 160+ micro calculator tools across finance, math, health, fitness and more. I did the keyword research after and the data genuinely surprised me. There were 3,600 keywords total across the calculator hub. The estimated traffic potential is 341 million per month. The average keyword difficulty is 33. 1,784 of all the keywords sit at an easy KD of under 30. That means that 50% of the entire set have low competition. Small boring tools with exact match domains are one of the most underrated SEO plays.
I guess congrats to the author for saving 30 seconds by leaving out half of the words that can technically be inferred.
comment 4mo ago · link · parent
https://github.com/itzg/docker-minecraft-server
There’s also a version for bedrock (the version that’s supported on mobile devices).