Compressing embedded files in Go

Go’s embed feature lets you bundle static assets into an executable, but it stores them uncompressed. This wastes space: a web interface with documentation can bloat your binary by dozens of megabytes. A proposition to optionally enable compression was declined because it is difficult to handle all use cases. One solution? Put all the assets into a ZIP archive! 🗜️

Code

The Go standard library includes a module to read and write ZIP archives. It contains a function that turns a ZIP archive into an io/fs.FS structure that can replace embed.FS in most contexts.1

package embed

import (
  "archive/zip"
  "bytes"
  _ "embed"
  "fmt"
  "io/fs"
  "sync"
)

//go:embed data/embed.zip
var embeddedZip []byte

var dataOnce = sync.OnceValue(func() *zip.Reader {
  r, err := zip.NewReader(bytes.NewReader(embeddedZip), int64(len(embeddedZip)))
  if err != nil {
    panic(fmt.Sprintf("cannot read embedded archive: %s", err))
  }
  return r
})

func Data() fs.FS {
  return dataOnce()
}

We can build the embed.zip archive with a rule in a Makefile. We specify the files Continue reading

9 Pantai Terbaik di Indonesia Versi Traveler: Surga Tersembunyi di Nusantara

Indonesia adalah gugusan pulau yang memesona. Negara ini menyimpan ribuan potensi wisata pantai yang luar biasa. Setiap sudut menawarkan keindahan yang berbeda. Dari Sabang hingga Merauke, surga bahari tersimpan. Seorang traveler sejati pasti ingin menjelajahinya. Berikut daftar 9 pantai terbaik pilihan traveler. Pantai-pantai ini menawarkan pengalaman liburan tak terlupakan.

Nama Pantai
Lokasi
Spesial
Pantai Kuta Bali Ombak ideal untuk peselancar pemula
Pink Beach Komodo, NTB Pasir berwarna merah muda langka
Tanah Lot Bali Pura di atas batu karang
Kepulauan Derawan Kalimantan Timur Penangkaran penyu dan danau ubur-ubur
Pantai Parai Tenggiri Bangka Belitung Bebatuan granit raksasa
Pantai Kelingking Nusa Penida, Bali Formasi tebing karst mirip T-Rex
Wakatobi Sulawesi Tenggara Surga menyelam kelas dunia
Pantai Senggigi Lombok, NTB Matahari terbenam yang romantis
Teluk Tomini Sulawesi Tengah Teluk terluar Continue reading

Kontroversi Hak Kewarganegaraan di Amerika Serikat

Latar Belakang Perdebatan Besar di Amerika

Selama hampir 160 tahun, Amandemen ke-14 menetapkan bahwa setiap orang yang lahir di wilayah Amerika Serikat berhak menjadi warga negara Amerika. Aturan itu hanya membuat sedikit pengecualian. Misalnya untuk anak diplomat atau anggota militer asing. Karena itu, banyak orang menganggap aturan tersebut sebagai fondasi utama identitas Amerika.

Namun, pemerintahan Donald Trump memicu perdebatan panas sejak awal masa jabatannya. Ia menandatangani perintah eksekutif untuk mengakhiri hak kewarganegaraan otomatis bagi anak yang lahir dari orang tua tanpa izin tinggal atau berstatus visa sementara. Trump melihat hal tersebut sebagai bagian dari reformasi imigrasi besar. Dia menilai bahwa keamanan nasional selalu menjadi prioritas utama.

Sementara itu, aktivis hak sipil dengan tegas menolak langkah keras tersebut. Mereka menyebut hak kewarganegaraan berdasarkan kelahiran sudah dijamin konstitusi, bukan sekadar kebijakan politik yang bisa diubah secara sepihak. Bahkan Cecillia Wang, Direktur ACLU, menegaskan bahwa tidak ada presiden yang bisa menghapus janji fundamental Amandemen ke-14.


Pertarungan Hukum Menuju Mahkamah Agung

Selanjutnya, banyak pengadilan federal langsung menghentikan perintah eksekutif Trump. Mereka menyatakan tindakan itu melanggar Konstitusi. Continue reading

TNO051: Networks That Do: From Automated to Autonomous Networks with Meter (Sponsored)

Will it be possible to have fully autonomous networks in the near future? Anil Varanasi, CEO and Co-Founder of Meter, joins Scott Robohn in this sponsored episode to discuss the ongoing evolution from automated to autonomous networks. Anil breaks down how Meter differentiates from other networking vendors, discusses how Meter’s network products are vertically integrated... Read more »

Lab: More Complex VXLAN Deployment Scenario

In the first VXLAN lab, we covered the very basics. Now it’s time for a few essential concepts (before introducing the EVPN control plane or integrated routing and bridging):

  • Each VXLAN segment could have a different set of VTEPs (used to build the BUM flooding list)
  • While the VXLAN Network Identifier (VNI) must be unique across the participating VTEPs, you could map different VLAN IDs into a single VNI (allowing you to merge two VLAN segments over VXLAN)
  • Neither VXLAN VNI nor VLAN ID has to be globally unique (but it helps to make them unique to remain sane)

Cloudflare outage on December 5, 2025

Note: This post was updated to clarify the relationship of the internal WAF tool with the incident on Dec. 5.

On December 5, 2025, at 08:47 UTC (all times in this blog are UTC), a portion of Cloudflare’s network began experiencing significant failures. The incident was resolved at 09:12 (~25 minutes total impact), when all services were fully restored.

A subset of customers were impacted, accounting for approximately 28% of all HTTP traffic served by Cloudflare. Several factors needed to combine for an individual customer to be affected as described below.

The issue was not caused, directly or indirectly, by a cyber attack on Cloudflare’s systems or malicious activity of any kind. Instead, it was triggered by changes being made to our body parsing logic while attempting to detect and mitigate an industry-wide vulnerability disclosed this week in React Server Components.

Any outage of our systems is unacceptable, and we know we have let the Internet down again following the incident on November 18. We will be publishing details next week about the work we are doing to stop these types of incidents from occurring.

What happened

The graph below shows HTTP 500 errors served by our network during the Continue reading

IPB189: RFC 9898 – Neighbor Discovery Considerations in IPv6 Deployments

The newly published RFC 9898 is the discussion of today’s podcast. The IPv6 Buzz crew explore the complexities of neighbor discovery and review solutions for both operators and architects. They share how this RFC serves as a single, detailed resource to improve your understanding of neighbor discovery and to reduce the potential attack surface in... Read more »

Lizzo: Suara Pemberdayaan dan Cinta Diri di Dunia Musik

Dunia musik modern diwarnai oleh sosok yang berbeda. Ia adalah Lizzo, seorang penyanyi, rapper, dan flutis berbakat. Namun, ia lebih dari sekadar seorang musisi. Lizzo adalah gerakan. Ia membawa pesan cinta diri dan body positivity ke panggung global. Dengan suara yang kuat dan kepribadian yang membara, ia menginspirasi jutaan orang.

Lahir dengan nama Melissa Viviane Jefferson, ia memulai perjalanannya di Detroit. Kemudian, ia dibesarkan di Houston, Texas. Di sanalah bakat bermusiknya mulai diasah. Ia belajar bermain flute klasik. Awalnya, ia tidak membayangkan akan menjadi bintang pop. Namun, takdir membawanya ke jalan yang luar biasa. Kini, ia menjadi salah satu ikon paling berpengaruh di generasinya.

Perjalanan Menuju Panggung Besar

Karier Lizzo tidak dibangun dalam semalam. Ia melewati banyak tantangan. Setelah kuliah, ia pindah ke Minneapolis untuk mengejar mimpinya. Di sana, ia membentuk beberapa grup musik. Ia juga merilis album pertamanya secara independen pada tahun 2013. Album itu berjudul “Lizzobangers”. Meskipun belum sukses besar, karyanya mulai mendapat perhatian.

Selanjutnya, ia pindah ke Los Angeles. Perpindahan ini menjadi titik balik dalam karirnya. Ia merilis dua Continue reading

With Celestial AI Buy, Marvell Scales Up The Datacenter And Itself

It was only a matter of time before Marvell was going to make another silicon photonics acquisition, and the $2.5 billion sale of its automotive Ethernet business to Infineon for $2.5 billion has given the company this past summer netted out to about half of the $3.25 billion that the company is shelling out to get its hands on Celestial AI, one of the several upstarts that hopes to hook compute engines, memory, and switches together using on-chip optical engines and light pipes.

With Celestial AI Buy, Marvell Scales Up The Datacenter And Itself was written by Timothy Prickett Morgan at The Next Platform.

With Trainium4, AWS Will Crank Up Everything But The Clocks

The AI model makers of the world have been waiting for more than a year to get their hands on the Trainium3 XPUs, which have been designed explicitly for both training and inference and which present a credible alternative to Nvidia’s “Blackwell” B200 and B300 GPUs as well as Google’s “Trillium” TPU v6e and “Ironwood” TPU v7p accelerators.

With Trainium4, AWS Will Crank Up Everything But The Clocks was written by Timothy Prickett Morgan at The Next Platform.

TCG064: Governing AI Agents for Real-World Infrastructure (Sponsored)

In this sponsored episode recorded live at AutoCon 4 in Austin, we sit down with Peter Sprygada, Chief Architect at Itential, to discuss Itential’s on-stage announcement of FlowAI. Peter shares his journey from network engineering skeptic to AI advocate, explaining how Itential securely connects AI agents to infrastructure with enterprise-grade governance and traceability. We dive... Read more »

Cloudflare WAF proactively protects against React vulnerability


Cloudflare has deployed a new protection to address a vulnerability in React Server Components (RSC). All Cloudflare customers are automatically protected, including those on free and paid plans, as long as their React application traffic is proxied through the Cloudflare Web Application Firewall (WAF).

Cloudflare Workers are inherently immune to this exploit. React-based applications and frameworks deployed on Workers are not affected by this vulnerability.

We strongly recommend that customers immediately update their systems to the most recent version of React, despite our WAF being designed to detect and prevent this exploit.

What you need to know

Cloudflare has been alerted by its security partners to a Remote Code Execution (RCE) vulnerability impacting Next.js, React Router, and other React frameworks (security advisory CVE-2025-55182, rated CVSS 10.0). Specifically, React version 19.0, 19.1, and 19.2, and Next.js from version 15 through 16 were found to insecurely deserialize malicious requests, leading to RCE.

In response, Cloudflare has deployed new rules across its network, with the default action set to Block. These new protections are included in both the Cloudflare Free Managed Ruleset (available to all Free customers) and the standard Cloudflare Managed Ruleset (available to all paying Continue reading

Cloudflare’s 2025 Q3 DDoS threat report — including Aisuru, the apex of botnets

Welcome to the 23rd edition of Cloudflare’s Quarterly DDoS Threat Report. This report offers a comprehensive analysis of the evolving threat landscape of Distributed Denial of Service (DDoS) attacks based on data from the Cloudflare network. In this edition, we focus on the third quarter of 2025.

The third quarter of 2025 was overshadowed by the Aisuru botnet with a massive army of an estimated 1–4 million infected hosts globally. Aisuru unleashed hyper-volumetric DDoS attacks routinely exceeding 1 terabit per second (Tbps) and 1 billion packets per second (Bpps). The number of these attacks surged 54% quarter-over-quarter (QoQ), averaging 14 hyper-volumetric attacks daily. The scale was unprecedented, with attacks peaking at 29.7 Tbps and 14.1 Bpps.

Key insights

Other than Aisuru, additional key insights in this report include:

  1. DDoS attack traffic against AI companies surged by as much as 347% MoM in September 2025, as public concern and regulatory review of AI increases. 

  2. Escalating EU-China trade tensions over rare earth minerals and EV tariffs coincide with a significant increase in DDoS attacks against the Mining, Minerals & Metals industry as well as the Automotive industry in 2025 Q3.

  3. Overall, in the third quarter of 2025, Cloudflare’s autonomous Continue reading

Worth Watching: AI/ML Data Center Design

What could be better than watching 0x02 Jeffs discuss networking? How about having Petr Lapukhov of the RFC 7938 fame as a guest discussing AI/ML Data Center Design?

Note: Petr disappeared into the information black hole called Facebook over a decade ago, so I wondered how they allowed him to chat on a podcast for hours. It turns out he moved to NVIDIA, which might influence the podcast content a bit, but I’m pretty sure Petr is still Petr ;)