TL;DR. golang.org/x/net/idna.Lookup.ToASCII runs UTS-46 NFKC mapping 0-9. A pre-IDNA net.ParseIP check rejects the NO_PROXY lists, TLS-SNI routers, and cookie-domain validators that TrimRight + ParseAddr golang.org/x/net/http/httpproxy, the canonical safe pattern, and two I ran into this one while writing a Go HTTP client for a private project. I idna.Lookup.ToASCII canonicalising the host The sha
Some time ago, I was building a chat application using AWS Websocket API gateway. Things were going smoothly. I created a WebSocket API Gateway, added $connect, $disconnect, and sendMessage/addGroup routes. From the frontend (React) side, everything was fire-and-forget. You send a message, and the onMessageHandler takes care of it 💪🏼 But then a new requirement of uploading files using S3 signed
How to Avoid Losses in a Bear Market: A Crypto Trader's Survival Guide Here's a number most traders don't want to hear: over the last 51 days of continuous market monitoring, 93% of the time the crypto market was classified as bearish. Not choppy. Not neutral. Bearish. That data comes from 10,000+ market snapshots taken every five minutes by the Regime API, scoring 10 weighted signals across fun