I don't know very well how in Rust how to handle panics but in Rust you don't have exceptions like in Python, you use Result types, which are more explicit, but seems that this corner case was not considered.
I don't know very well how in Rust how to handle panics but in Rust you don't have exceptions like in Python, you use Result types, which are more explicit, but seems that this corner case was not considered.
This make me remember the Zen of Python. "Explicit is better than implicit."
In this case in the SQL query, the best would have been to explicitly defined from which database the entries should be fetched.
SQL Query
Rust Code
Post mortem of yesterday's outage.
TLDR: An assumption in a SQL query caused duplicated entries, which are shared in a file that is distributed and used by a Bot system. This Bot system has a limit (memory), that was exceeded causing a panic in Rust.
blog.cloudflare.com/18-november-...
Connection timed out
Another #TalesFromTheTechCrypt
That moment when you apply a new ACL to a remote device... followed by the cold panic when your SSH session vanishes and won't come back. π₯Ά
Don't worry, the 3-hour drive to the data center will give you plenty of time to remember the `reload in 5` command next time.
phising mail from hushicorp
The timing for this mail was spot on, considering that October is the #cybersecurity awareness month. My vault seems to be hacked, according to the h[u]shicorp team. Good thing I don't even have a vault. Another example is to swap rn for m very common for Microsoft.
#CiscoDevNet
Great event we are planning for #WebSummit we will talk about networking, observability, AI and more importantly have some good time
Unfortunately I've been of that group, but I guess that's how you get real world experience
Wow, this new impressive the specs of the new Cisco 8223, 51.2 Tbps. 3RU, Fixed. 64 QSFP-DD 800G! I still remember when 100G was huge. But what caught more my eye, it supports SONiC, with XR planned!
blogs.cisco.com/sp/cisco-sil...
#CiscoDevNet
And this is the repo for gNMIBuddy:
github.com/jillesca/gNM...
I want to share this video I made. I created a MCP server for Cisco Live. I wanted to practice with gNMI, so I took it as a opportunity to create gNMIBuddy, an over-engineered gNMI collector for LLM. It has a CLI and MCP interfaces. On this video I share my lessons learned.
youtu.be/ealNsG2YkEs?...
Not sure what size would be Cisco, but we can use several models and IDEs, that's very nice. When one model doesn't give me what I want, I can try another one.
Running Ansible with uv
Simple things like this that just work are what I enjoy. Just copy, paste and boom you have #Ansible working. No need to activate the virtual environment and what happens after it finishes. Just runs, does what is supposed to do and ends.
This is for a repo I will be sharing soon.
#CiscoDevNet
Great to see the A2A is now part of the Linux Foundation. For developers this makes easy to pick which protocol to use when there is a de facto standard.
#CiscoDevNet
www.linuxfoundation.org/press/linux-...
Who knew that shouting to your hard drives could be bad for them? at least that was true 17 years ago. While watching a #eBPF session, I found this funny video (2:00) from no other than Brendan Gregg youtu.be/tDacjrSCeq4?...
The tech stack of GitHub:
Ruby on Rails (still! one of the largest codebases in the world)
React
Go
Swift
Kotlin
.NET
Own infra + some use of the cloud
Via @ashtom.bsky.social
Yesterday was a good day at the DevNet Zone at Cisco Live. I delivered my first session on eBPF, which I was quite nervious, is a new technology I'm learning, but I think it went well. It was also nice to chat with folks at the Share Your Experience booth, come by if you are here.
#CiscoDevNet
Very happy to be at Cisco Live AMER. The #DevNet zone pretty nice. I also I have four sessions this time. The past weeks had been very busy building everything.
#CiscoDevNet
Network automation architecture at Autoconf3
Last week I was at #Autoconf3 it was a nice experience. I like the most to chat and exchange ideas with other folks who like network automation.
A common topic were advices for buiding solutions. This picture caught my eye since is very similar to the structure NSO offers among other things
A flow chart for how curl connects to which host when doing HTTP
How does #curl connect to which host when doing HTTP? First draft.
Now THIS is what a customer-centric app is.
Most banks keep sending out warning emails about impersonation and scams.
Any app can implement this capability with a little coding + backend work (assuming their BE sensible enough): and yet Monzo is the first one Iβve heard do it.
A Star Wars-themed parody illustration titled "Platform Wars: The Pod Menace." It features a Kubernetes logo stylized as the Death Star in space. Surrounding it are X-wing and TIE fighter-style spacecraft, with orange laser blasts streaking through the starry background. The design mimics a dramatic sci-fi battle scene.
Yellow scrolling text in a Star Wars-style crawl on a black background reads: βIn a Kubernetes cluster far, far awayβ¦ A Pod known as the Death Star orbits in deep space. Pods from across the galaxy, Rebel and Imperial alike, can land on it. But the Empire's security team has other plansβ¦β The text is angled backward into the distance, evoking the iconic opening of a Star Wars film.
A cartoon-style illustration of the Death Star with a glowing terminal-like label that reads POST /v1/request-landing. Four spacecraftβan Imperial shuttle, a TIE fighter, the Millennium Falcon, and an X-wingβare shown connecting to the Death Star via dotted green lines, symbolizing API requests for landing access. The background is a starry space scene.
Two cartoon bee-like characters dressed in dark Imperial-style uniforms stand in a hangar with an X-wing starfighter in the background. One bee gestures seriously toward the other and says, βThis needs to stop.β The scene is styled like a humorous sci-fi comic, combining Star Wars aesthetics with anthropomorphic bee characters.
π No, your k8s workloads are not safe by default.
In Kubernetes, everything can talk to everything by default, until you write Network Policies.
π‘οΈ They give you control over:
- Who can talk to whom (L3)
- On which ports (L4)
- Using what verbs and paths (L7)
π§΅
Multi-agent system
Interesting example of a multi-agent system from a Cisco colleague. github.com/cnoe-io/agen... it uses either AGNTCY or 2A2 to communicate between agents. I have to spend some time to go through the code.
debugging with copilot
On #vscode I recently discover that copilot can fill the values of the variables/objects when debugging! This is awesome!
Finding an issue on your code sometimes is really hard and debugging is your best friend in those cases.
#CiscoDevNet #DevNet
Iβm hoping people will come with their questions for @cisco.com DevNetβs new #eBPF Book Club livestream series - see you there?
Tomorrow, 3pm UK time / 10am Eastern www.youtube.com/live/Y33Uvwi...
Thanks Devvie, I know can count on you.
Still a mess, by a LLM
I never felt so criticized by an LLM as today. I confessed after reading my request I can see it was not clear, nevertheless, this is so funny to see.
I believe, when you ask for help, be clear on what you want to do, and the steps you took. I can feel I failed my own advice.
#CiscoDevNet #DevNet
installing vscode extensions on remote host
Yesterday found this handy option on vscode "remote.SSH.defaultExtensions" which installs the extensions you specify on the remote host you are connecting.
I prefer to work locally, but sometimes, I need to jump in a VM and I like to have a completed environment there.
#DevNet #CiscoDevNet