IRS: you owe us taxes
Me: how much do I owe?
IRS: you get to figure that out
Me: can I just pay what I want?
IRS: no we know exactly how much you owe but you have to guess the number too
Me: what if I guess wrong?
IRS: jail
Happy tax day!
I still don’t understand why no one is taking the social security buyout idea seriously. Offer every new retiree and anyone under the age of 75 $250K lump sum tax free.
If 10M people take it, it’ll reduce the deficit by $5T over a decade.
Regarding US activity in Yemen: I recently said to watch for a new military engagement to compensate for the pull back in Ukraine. The Military Industrial Complex demands about $50 billion a year from our government, above and beyond what’s necessary to defend our own country.
IRS: you owe us taxes
Me: how much do I owe?
IRS: you get to figure that out
Me: can I just pay what I want?
IRS: no we know exactly how much you owe but you have to guess the number too
Me: what if I guess wrong?
IRS: jail
Happy tax season!
Looking to adopt the OpenTelemetry standard for GKE?
Learn about our new curated OpenTelemetry Protocol pipeline for GKE & documentation to simplify the process of collecting OTLP data from your instrumented apps & exporting it to Cloud Observability → https://t.co/8WnVVDGFhP
We have a big new release that has our second ever integration with...Prometheus! That's not all... We also now support interactive mode so you can talk to AI 🤖.
https://t.co/J7z3fkv6G5
The Go team has published official guidelines for organizing / structuring a Go project:
https://t.co/ZLiWsuBicz
This includes recommended project layouts for different kinds of projects: a simple package, a command-line tool, a mix of the two, etc.
New Blog Post From the @golang team: Fixing For Loops in Go 1.22
You can read the original blog post here: https://t.co/Z46akYL1Cf, summary below.
The problem
The below should print a,b,c right?
It will actually print c,c,c. This is due to https://t.co/ELHfLEq4oq
Its also possible to face this issue without concurrency:
In Go 1.22, the Go team are changing for loops to have per iteration scope instead of per loop scope.
This is kind of a big change, so this will only apply to go programs that declare go 1.22 in their go.mod file, or use the GOEXPERIMENT=loopvar environment variable.
Google have been running this change in production since May 2023 and have yet to see any issues with it.
Another great milestone and another great blog post by the Go team!
Profile-guided optimization in Go 1.21
The @golang team really are doing amazing work with blogging lately. Yesterday they released a blog titled "profile-guided optimization in Go 1.21"(https://t.co/YobqvlOvm1). Here's a TLDR and why you should care:
- PGO works by leveraging profiling data to make informed decisions during the compilation process.
- By understanding how code is used in a production environment, the Go compiler can optimize the most frequently used functions and make better choices for common cases. This approach is known as Profile-Guided Optimization (PGO)
- The evaluation demonstrated in the blog shows that enabling PGO in Go 1.21 resulted in approximately a 3.8% improvement in CPU usage compared to a build without PGO.
- PGO can provide between 2% and 7% CPU usage improvements in typical workloads, and future Go releases are expected to further enhance performance through PGO.
Sounds amazing right? So what are the downsides?
- It can increase build time.
- You need to start collecting and managing profiling information if you're not already.
- You ideally want to use production profiles. Running profiles in production does add some overhead and it may not always be appropriate, or appropriate to run for a long period of time.
- PGO can handle minor changes in source code without issues, making it suitable for ongoing development. However, it's important to periodically update the profile to match changes in the codebase.
If you end up giving this a go, share your outcomes, I'd love to hear about them.