148 karma · joined May 7, 2020
Earlier today it totally hallucinated a built-in function, but when I started typing it out, the LSP kicked in and I could tell what the GPT was “thinking”. Before that I didn’t even know what the name of the function was that would do what I want, but it was close enough that it stopped me from having to parse the reference docs on my own.
https://github.blog/changelog/2021-01-29-github-pages-will-s...
Also, latency is not an implementation detail for a lot of data-intensive workloads. We're talking differences of 1-10ms latency for Network Storage and 250-500µs for a local NVME SSD.
[1]: https://www.architecting.it/blog/what-is-a-forklift-upgrade/
I went back and forth on this balance for years. I wanted that large sensor look and feel, with great full-frame lenses, but trying to use it live was a nightmare workflow. This was before Canon started making the C series that mixed the world of a camera with an EF mount that also had SDI I/O. I tested those, but still couldn't trust them in a live broadcast, mainly because of the lack of a parfocal lens I can focus remotely. I think with cameras like Blackmagic's Ursa and some more "prosumer" lenses that are parfocal we may be getting closer to having the best of both worlds, but I haven't researched that in a couple of years.
Broadcast optimized gear is like having Kubernetes. Everything built for broadcast talks SDI/NDI so it's generally possible to operate or at least monitor the device remotely. Then you have routers and mixers designed to modify those video feeds in real-time with as little latency as possible. One of my first gigs in broadcast involved learning how to remotely white balance cameras from the control room or patch the output of one video feed from a satellite truck into a monitor on set, while also recording that same feed in a completely separate room. I've also spent time doing "documentary style" and film production and was amazed at how different everything was, and how some workflows that are super straightforward in a newsroom are basically impossible with things like GoPros and DSLR setups.
I think I was just making sure it was clear (to others, since you probably are aware) that it's more than just lighting/apertures. Being good at a variety of lighting conditions, and being able to do that from 18mm-1700mm with a variable speed zoom without losing focus is where things get really big. There's a lot of features in the camera body to support this specific type of production beyond the lens, too. For live TV, an operator is making split-second decisions around composition (including adjusting for graphics on the screen), lighting, focus, and movement, while also monitoring on-air status and listening to both director and (sometimes) program audio. And then you have to add on the massive rigs that make sure everything's in perfect balance so you can whip the camera around quickly and have it stop on a dime. It's a whole system. A good high-end rig is like driving a Porsche. Sure the engine is a big part of the power and engineering, but if you don't also have a properly tuned suspension and grippy tires, you aren't going to have much fun driving it.
This report helped uncover:
- A bug in Openresty where `ngx.redirect` didn't handle unsafe characters [1]. While the fix is now in the latest version of Openresty, a quick patch was to build the URL safely before using it in the redirect.
- You should check for case sensitivity when reading `__Host` prefixed cookies, and verify the values against your expected format. It's possible for both `__HOST-Foo` and `__Host-Foo` cookies to exist, and only the `__Host` prefix requires the `Secure` and `HttpOnly` attributes [2]. In our case we strip all cookies at the edge using Varnish (VCL) to ensure no user-supplied cookies make it to our origin, and now we also ignore any "Secure" cookies that don't appear to have been set by our servers.
[1]: https://github.com/openresty/lua-nginx-module/pull/1654
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Se...
> am I missing something?
I'd want more background behind what you mean by "at least for business". What kind of business? Obviously IaaS providers like Digital Ocean and Linode are are type of business that would not use other clouds. Dropbox and Backblaze as well would probably never use something like S3. And there are legitimate use cases outside of tech that have needs in specific teams for low latency compute, or its otherwise cost and time prohibitive to shuttle terabytes of data to the cloud and back (3D rendering, TV news rooms, etc). If you're talking about general business systems that can be represented by a website or app with a CRUD API, then most of that probably doesn't require on-prem. But that's not the only reason businesses buy servers.