News for hackers. Stuff that matters.

hyperknot

Re:GPT-5.6 on Thursday July 09, 2026 @02:02PM (#48850030)
> GPT‑5.6 also introduces more predictable prompt caching, including support for explicit cache breakpoints (opens in a new window) and a 30-minute minimum cache life.

Great to read they are moving away from the 5 minute cache defaults. Hopefully other providers follow soon!

Re:Zed Editor Theme-Builder on Sunday May 10, 2026 @10:12AM (#48084148)
Add this to fix the contrast in all your dark themes:

  "experimental.theme_overrides": {
    "background": "#111",
    "panel.background": "#111",
    "text": "#eee",
    "text.muted": "#ccc",
    "title_bar.background": "#111",
    "tab_bar.background": "#111",
    "toolbar.background": "#111",
    "status_bar.background": "#111",
    "element.selected": "#333",
    "editor.background": "#000",
    "editor.gutter.background": "#000"
  }
Re:Ask HN: How to stop an AWS bot sending 2B requests/month on Friday October 17, 2025 @06:13AM (#45614979)
Use a simple block rule, not a WAF rule, those are free.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @08:17PM (#44851621)
Yes, wplace could solve their whole need by a single, custom-built static pmtile. No need to serve 150 GB of OSM data for their use-case.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @06:20PM (#44850858)
You are correct. I was putting "a caching server on their side" in the context of their side being a single dev hobby project running on a VPS, exploding on the weekend. I agree that these servers do exist and some companies do pay for this bandwidth as part of their normal operations.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @05:24PM (#44850376)
I'm sure the server hardware is not a problem. The full dataset is 150 GB and the server has 64 GB RAM, most of which will be never requested. So I'm sure that the used tiles would actually get served from OS cache. If not, it's on a RAID 0 NVME SSD, connected locally.

What I've been referring to is the fact that even unlimited 1 Gbps connections can be quite expensive, now try to find a 2x40 gig connection for a reasonable money. That one user generated 200 TB in 24 hours! I have no idea about bandwidth pricing, but I bet it ain't cheap to serve that.

Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @04:12PM (#44849734)
OK, technically there might exist such server, I guess Netflix and friends are using those. But we are talking about a community supported, free service here. Hetzner servers are my only options, because of their unmetered bandwidth.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @01:27PM (#44848369)
They are actually static files. There is just too many of them, about 300 million. You cannot put that in Pages.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @01:04PM (#44848185)
Yes, that's a good idea. But we are talking about 90+% of the titles being empty (I might be wrong on that), that's a lot of hard links. I think the nginx config just need to be fixed, I hope I'll receive some help on their forum.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @12:43PM (#44847968)
I've just written my question to the nginx community forum, after a lengthy debugging session with multiple LLMs. Right now, I believe it was the combination of multi_accept + open_file_cache > worker_rlimit_nofile.

https://community.nginx.org/t/too-many-open-files-at-1000-re...

Also, the servers were doing 200 Mbps, so I couldn't have kept up _much_ longer, no matter the limits.

Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @11:55AM (#44847504)
We are talking about an insane amount of data here. It was 56 Gbit/s (or 56 x 1 Gbit servers 100% saturated!). This is not something a "caching server" could handle. We are talking on the order of CDN networks, like Cloudflare, to be able to handle this.
Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @11:23AM (#44847243)
Yes, I designed the whole path structure / location blocks with caching in mind. Here is the generated nginx.conf, if you are interested:

https://github.com/hyperknot/openfreemap/blob/main/docs/asse...

Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @11:02AM (#44847055)
What if one user really wants to browse around the world and explore the map. I remember spending half an hour in Google Earth desktop, just exploring around interesting places.

I think referer based limits are better, this way I can ask high users to please choose self-hosting instead of the public instance.

Re:OpenFreeMap survived 100k requests per second on Saturday August 09, 2025 @10:48AM (#44846929)
Feel free to migrate. If you ever worry about High Availability, self-hosting is always an option. But I'm working hard on making the public instance as reliable as possible.
Re:OpenAI dropped the price of o3 by 80% on Tuesday June 10, 2025 @03:37PM (#44240574)
I got 700+ tokens/sec on o3 after the announcement, I suspect it's very much a quantized version.

https://x.com/hyperknot/status/1932476190608036243

Update: news sites have pulled the video now, confirming parts of it were AI generated.

https://deadline.com/2025/05/nbc-viral-chinese-paraglider-vi...

Re:Evidence suggesting Quasar Alpha is OpenAI's new model on Thursday April 10, 2025 @07:53AM (#43642919)
This is actually correct, I don't know why is it downvoted. All current models have their identity "burned-in", not needing system prompt for that.
Re:Ask HN: What Are You Working On? (February 2025) on Monday February 24, 2025 @12:06PM (#43161963)
Thanks! My idea was to just render a Lorem Ipsum paragraph and compare the calculated width-height across a know list of default fonts. Of course it wouldn't work with fixed width fonts, for that I'd need a canvas bitmap comparison.
Re:Ask HN: What Are You Working On? (February 2025) on Monday February 24, 2025 @11:33AM (#43161473)
Nice project! Related question, how would you recommend detecting which font is being used for names like ui-sans-serif, system-ui on a given device/browser?
I guess the benefit would be possibly higher SEO / DR, as you'd have a lot of backlinks scattered around the interwebs. But then it can be misused and then all your domain can also be trashed.

I believe this is probably beneficial for bigger companies / VC funded projects where they have the resources for moderation.

Re:How do you deal with User Generated Content (UGC) SEO spam? on Saturday December 28, 2024 @10:09AM (#42531549)
I'm thinking of launching a new app where a single click share would be a feature worth implementing, but definitely not part of the core functionality. I'm trying to figure out if this feature is worth implementing at all, or it's just asking for trouble.
Re:How do you deal with User Generated Content (UGC) SEO spam? on Saturday December 28, 2024 @10:08AM (#42531546)
Luckily I'm still at the planning stage, no UGC problem yet. I'm thinking of launching a new app where a single click share would be a feature worth implementing, but definitely not part of the core functionality. I'm trying to figure out if this feature is worth implementing at all, or it's just asking for trouble.

How do you deal with User Generated Content (UGC) SEO spam?

I think anyone who allows UGC on a web app realizes that they will be targeted by SEO spam at some point. Nofollow definitely doesn't deter SEO spam efforts.My question is, how do big platforms handle this? I thought it would make sense to put things on a separate domain, so bad reputation won't destroy the main domain.But how can chatgpt .com/share exist then? It's on robots/allow and it's...

( Read More... | 9 comments | 2 points | on HN )
Re:Map with an LLM on Friday December 27, 2024 @07:13AM (#42521564)
Absolutely! It's actually shown by default, OP shouldn't be turning it off.

Also, if you run out of free Mapbox credits, feel free to change the basemap to openfreemap.org (I'm the creator).

Older »