Refresher on negative indexing in python
Friendly reminder regarding python slice notation for negative indexing. It's covered really well here.
Basically, the last value has an index of -1... second last has an index of -2... and so on.
+---+---+---+---+---+---+
| P | y | t | h | o | n |
+---+---+---+---+---+---+
0 1 2 3 4 5
-6 -5 -4 -3 -2 -1 . . .
Favorite quote on listening
I recently came across an email newsletter blurb that resonated:
Listening is a bit of a lost art.
It goes beyond just hearing words—it’s about creating a space where respect and understanding can grow, which is key for building supportive and meaningful relationships.
Becoming a better listener means giving . . .
Original game developer notes for Deus Ex
Whoa. This is awesome.
I was feeling a bit nostalgic this weekend and re-watched Warren Spector's awesome GDC 17 presentation describing the development of Deus Ex. If you haven't seen it and have some spare time, check it out here. It has a truly fascinating lifecycle.
During the presentation, Warren alluded to a lot of pre-game development and . . .
ECMP Load Balancing Algorithms on Fortigates
Just a quick refresher on the various ECMP algorithms that Fortigates support (as of FortiOS 7.4):
- Source IP - All traffic from a specific source IP is sent to the same interface.
- Weighted - Interfaces with higher weights get more traffic.
- Source-destination IP - All traffic sent from a specific source IP to a specific . . .
Inspection mode feature comparison on Fortigates
I came across this nifty doc describing the capabilities of flow-based vs proxy-based inspection modes for Fortigates. Very cool stuff.
Obvious (but notable) takeaway: certain features only work with proxy-based inspection mode.
- Video Filter
- Inline CASB
- ICAP
- Web Application Firewall
- Data . . .
Helpful Fortigate CLI Commands
Here's my list of helpful CLI commands for Fortinet stuff (all published in the Fortinet Doc Library. I'll keep adding to this over time.
FortiGuard
-
diagnose autoupdate versions
- Lists the status of FortiGuard DBs and engines installed.
Routing
get router info routing-table all
- . . .