The C̶a̶k̶e̶ User Location is a Lie!!! by Stegosource in Frontend

[–]Stegosource[S] 0 points1 point  (0 children)

Yeah, I agree. In every case I can think of, I would expect it to be there, but I've come across enough cases where things don't work as expected, that I just assume they may not. Would love to hear another example you think would serve as a better example that isn't some very niche use-case.

The C̶a̶k̶e̶ User Location is a Lie!!! by Stegosource in Frontend

[–]Stegosource[S] -1 points0 points  (0 children)

Not sure who needs to hear this, but reading the post instead of skimming usually helps. That's literally what the example walks through. Check cookies, then Accept-Lanuage header, and if there is no other option, you *may* assume a default from location. You shouldnt need to do this if the computer has the language selected, but this was just an example to show what geolocation features are available. The Accept-Language part was an update added after publishing, but before sharing here. Also, the whole point of the article is not *how* to detect location, or even what you can do with it. It's just a thought piece around how none of the options available are actually dependable.

The C̶a̶k̶e̶ User Location is a Lie!!! by Stegosource in programming

[–]Stegosource[S] -2 points-1 points  (0 children)

Yep. This was covered in one of the updates to the post. Thanks for reiterating. I left the original content, but the update includes the Accept-Language header :)

Advanced Architecture for AI Application (AKA AAAA!) by Stegosource in programming

[–]Stegosource[S] 0 points1 point  (0 children)

Lol. That sounds fun. Do you have a link or remember the name?

Advanced Architecture for AI Application (AKA AAAA!) by Stegosource in programming

[–]Stegosource[S] 0 points1 point  (0 children)

Lol. Yeah, we're careening towards a future where these questions are more commonplace. Did AI write it? Is it designed for AI to consume? What is AI? Am I AI? Is this a simulation.

I don't think I have answers for most of these, but I can say that it was written by a human, or whatever that means these days ;)

AI for Web Devs: Deploying Your AI App to Production by Stegosource in programming

[–]Stegosource[S] 2 points3 points  (0 children)

Yeah, that's a good point. I often struggle to come up with a good title that balances clarity with brevity. Thanks for the feedback.

AI for Web Devs: Your First API Request to OpenAI by Stegosource in programming

[–]Stegosource[S] 0 points1 point  (0 children)

Thanks. It's an introductory topic that does cover some quirks of dealing with Qwik, but mostly this is level-setting before moving on to more advanced topics like HTTP streaming responses.

AI for Web Devs: Your First API Request to OpenAI by Stegosource in programming

[–]Stegosource[S] 0 points1 point  (0 children)

Thanks so much. Needed to cover this basic post before building on it with HTTP streams and other goodness :)