Readit News logoReadit News
jpdb commented on Why Is Web Performance Undervalued?   blaines-blog.com/post-2... · Posted by u/B56c
jpdb · 19 days ago
Web performance is probably/mostly valued as efficiently as it needs to be.

The numbers mentioned in the article are...quite egregious.

> Oh, Just 2.4 Megabytes. Out of a chonky 4 MB payload. Assuming they could rebuild the site to hit Alex Russell's target of 450 KB, that's conservatively $435,000,000 per year. Not too bad. And this is likely a profound underestimation of the real gain

This is not a "profound underestimation." Not by several orders of magnitude. Kroger is not going save anywhere even remotely close to $435 million dollars by reducing their js bundle size.

Kroger had $3.6-$3.8 billion in allocated capex in the year of 2024. There is no shot javascript bundle size is ~9% of their *total* allocated capex.

I work with a number of companies of similar size and their entire cloud spend isn't $435,000,000 -- and bandwidth (or even networking all up) isn't in their time 10 line items.

A leak showed that Walmart spent $580m a year on Azure: https://www.datacenterdynamics.com/en/news/walmart-spent-580...

These numbers are so insanely inflated, I think the author needs to rethink their entire premise.

jpdb commented on WeatherStar 4000+: Weather Channel Simulator   weatherstar.netbymatt.com... · Posted by u/adam_gyroscope
disposition2 · 3 months ago
Is there anyone who could point me to a way to get this running and served up via a stream that is consumable via VLC?

I have an hdhomreun and watch my antenna via IPTV apps and would love to have a personal “weather channel” on my TV.

I’ve looked in to this in the past, using a node program to take screenshots of the page and try to splice things together with ffmpeg but it was quite awful and didn't work well.

I also wasn’t sure how to have this all ‘spin up’ when the stream is accessed, vs running all the time…but I suppose that is less important.

I'll take any advice! Thank you!

jpdb · 3 months ago
You should be able to get this done with OBS.

Set OBS up so your streaming a window of this application.

Go into OBS settings and go to "Stream" and set it to custom.

For server use "srt://127.0.0.1:7777?mode=listener&timeout=50000&transtype=live"

Then in VLC, open a network stream for srt://127.0.0.1:7777.

jpdb commented on I genuinely don't understand why some people are still bullish about LLMs   twitter.com/skdh/status/1... · Posted by u/ksec
jpdb · 5 months ago
This article seems to focus on the shortcomings of LLMs being wrong, but fails to consider the value LLMs provide and just how large of an opportunity that value presents.

If you look at any company on earth, especially large ones, they all share the same line item as their biggest expense: labor. Any technology that can reduce that cost represents an overwhelmingly huge opportunity.

jpdb commented on Trump wins presidency for second time   thehill.com/homenews/camp... · Posted by u/koolba
indy · 10 months ago
Was America under Fascist rule from 2016 to 2020?
jpdb · 10 months ago
America was under a fascist ruler, but not under a fascist system of government.

Trump tested American democracy by consolidating power and was not successful, so we avoided being under a fascist rule

The fear is that we might get to test democracy again, and most of America doesn't seem to mind that. Maybe it's due to lack of understanding, not caring, or genuinely wanting fascism, I don't know.

Deleted Comment

jpdb commented on Neon Serverless Postgres is generally available   neon.tech/blog/neon-ga... · Posted by u/refset
bittermandel · a year ago
We're self-hosting Neon with an internal Kubernetes operator (keep your eyes out for more info) and we're incredibly happy with Neon's technical solutions. I'm not sure we'd be able to build our company without it :o
jpdb · a year ago
Would love to see this!

Are you able to handle branching as well?

jpdb commented on Neon Serverless Postgres is generally available   neon.tech/blog/neon-ga... · Posted by u/refset
jpdb · a year ago
Neon seems really great to me, but I wish I could easily run it locally via Kubernetes. I know there are some projects out there[0] but they are all supported by 3rd parties and things like branching and other features don't appear to be supported.

I'd love to be able to just use a helm chart to have Neon in my homelab.

[0] https://github.com/itsbalamurali/neon-operator

jpdb commented on Infrastructure as code is not the answer (2022)   lukeshaughnessy.medium.co... · Posted by u/scapecast
pquki4 · a year ago
The questions are always: is it better than what we had before? Are the "problems" common to other tools? Are there better alternatives? This article doesn't address any of these.

> I heard a story once of an engineer running a “terraform destroy” on his laptop — in the wrong tab. He was in the Prod directory — and starting nuking production. Realizing his mistake, he Control-C’d out of it, but it was too late.

That's the stupidest argument I have seen. If you do 'rm rf /' or 'DROP TABLE' in production, nothing can save you.

jpdb · a year ago
And if you're pairing your infra-as-code with a gitops model then you can help prevent these kinds of issues with PRs.

You can also use your git history to restore the infrastructure itself. You may lose some data, but it's also possible to have destroyed resources retain their data or backup before destroy.

jpdb commented on Pitfalls of Helm – Insights from 3 years with the leading K8s package manager   glasskube.eu/en/r/knowled... · Posted by u/louis_w_gk
numbsafari · 2 years ago
Personally much prefer kustomize for the “ship an app” business.

Probably even better is to ship a controller and a CRD for the config.

Doing it that means you ship a schema for the parameters of the config, and that you have code that can handle complexities of upgrades/migrations that tools like kustomize and helm struggle or fail at altogether.

jpdb · 2 years ago
> Probably even better is to ship a controller and a CRD for the config.

But how do you package the controller + CRD? The two leading choices are `kubectl apply -f` on a url or Helm and as soon as you need any customization to the controller itself you end up needing a tool like helm.

jpdb commented on Choose your own IP   tailscale.com/blog/choose... · Posted by u/darthShadow
sgjohnson · 2 years ago
I kind of just winged it. But IPv6 is really super similar to IPv4. The key differences are:

- 128-bit addresses, expressed in hexadecimal. A single character is 4 bits (making every 4 bits a nibble boundary, making allocations really easy)

- All subnets are /64 (if you really want to have a different size subnet, you can, but it’s against the standard, and anything other than /64 will break SLAAC. There is one exception to the standard—point to point links are allowed to have a /127)

- The concept of a network address or a broadcast address within the subnet doesn’t exist. ff02::1 is the all-nodes link-local multicast address (serves the same purpose as a broadcast address in v4).

- ARP is gone. A very similar protocol, ND takes its place

- The preferred way to assign addresses to endpoint devices is SLAAC. Which is basically the router telling the endpoints to self-assign. Ridiculously small chance of a collision, and in case a collision happens, just run the rng again. It’s 64 bits after all. You can use DHCPv6 instead or in tandem with SLAAC if you need more granularity.

- You don’t need to use NAT. Which means you have to set up a firewall on the router correctly. Default-deny, while still allowing ALL ICMP traffic through, as ICMP is kinda vital for IPv6 because it’s used to communicate error conditions.

I’m sure I’ve missed something, but these are all the differences I can recall from the top of my head.

jpdb · 2 years ago
> You don’t need to use NAT. Which means you have to set up a firewall on the router correctly. Default-deny, while still allowing ALL ICMP traffic through, as ICMP is kinda vital for IPv6 because it’s used to communicate error conditions.

I do think using NAT in the form of NPTv6 is awesome for home use because it allows you to have a consistent address regardless of your ISP prefix assignment.

Think of NPTv6 as a kind of "stateless NAT" where the prefix is mapped 1:1 to your internal prefix. This means if your ISP changes your address, you only need to your external DNS versus all of your devices.

u/jpdb

KarmaCake day476October 16, 2017View Original