Little goblin with catears. Unfinished projects, complaining about computers, reinventing the wheel (badly), has not fully read any docs since 2015. Certified cognitohazard. Proud bot parent to many failsons: @enojifier_bot @dreizehnzwoelf_bot Infosec related: https://infosec.exchange/collections/116931760660109009 Testimonials: "not helpful" @LucasWerkmeister "silly 😌" also @LucasWerkmeister All my opinions are that of my employer but they don't know it yet & I am not telling you were I work. Apropos: If you need some idiot to kick computers for purposes of making them secure hmu, this job fucking sucks (vulnerability management, automation/engineering for your soc/isrt, ...). PFP by Jen
nyan
@nyanbinary@infosec.exchange
infosec.exchange
istg, python, what are you doing: https://docs.python.org/3/library/itertools.html#itertools.groupby
The operation of groupby() is similar to the uniq filter in Unix. It generates a break or new group every time the value of the key function changes (which is why it is usually necessary to have sorted the data using the same key function). That behavior differs from SQL’s GROUP BY which aggregates common elements regardless of their input order.
Why is this footgun in the standard library. The year is 2026. We have moved past the need for unsafe uniqs.
You've seen all posts