jub0bs @jub0bs.com · 31/01/2026⚡Middleware execution during preflight is now faster and incurs fewer heap allocations. 100
jub0bs @jub0bs.com · 31/01/2026💣 This release brings a couple of simplifying but potentially breaking changes. None of them is very likely to affect you. github.com/jub0bs/cors/... 110
jub0bs @jub0bs.com · 16/06/2025💡 Did you know that you can craft URLs that bypass X/Twitter's URL shortener (t[.]co) and domain deny list? For instance, try sharing x.com/login?redire... in a tweet and clicking the link; you will ultimately be redirected to ddosecrets.com (which is banned by X) without ever traversing t[.]co! 160
jub0bs @jub0bs.com · 28/05/2025This is the kind of stuff that "optics" conjures up in my mind when I chance upon it in a news article. Nothing else. 🤷 000
jub0bs @jub0bs.com · 14/02/2025Initialising a #CORS middleware has been steadily getting faster and less memory-hungry in recent versions of github.com/jub0bs/cors, as shown by this chart (lower is better). 😇 #golang 161
jub0bs @jub0bs.com · 09/12/2024Go's logo may strike you as uninspired and unremarkable. I'm guessing that the manga-style speed lines are meant to convey that the language is intended for "programming at scale". Right? 120
jub0bs @jub0bs.com · 21/11/2024Introduce yourself with four video games. bsky.app/profile/eric... 040
jub0bs @jub0bs.com · 10/04/2024It turns out that rs/cors (Go's most popular CORS middleware library) allocates a lot of memory in response to some malicious unauthenticated requests. 😬 100
jub0bs @jub0bs.com · 08/08/2023Here is a Go challenge for you! 🤓 Without modifying my package named "puzzler", can you create, in the main function, a variable of (non-exported) type puzzler.config? Playground: go.dev/play/p/hSSRfbZbjKK I'll post a solution tomorrow. 😉 210
jub0bs @jub0bs.com · 08/08/2023NaNs and maps don't mix well, but Go 1.21's upcoming 'clear' builtin function will allow us to properly delete all keys from a map (including keys that are not reflexive for equality). This is likely to prove particularly useful in generic code. go.dev/play/p/eoiTQq3YgJ4?v=gotip 021