2
<p>Here&#39;s my 2c on the xz incident.</p><p>This is the nearest of near-misses. Anyone who suggests this was any kind of success is a fool. No system caught this, it was luck and individual heroics. That&#39;s not acceptable when unauthorised access to ~every server on the internet is on the table. We need to find a way to do better.</p><p>1/n</p>
<p><span class="h-card" translate="no"><a href="https://ngmx.com/@pathunstrom" class="u-url mention">@<span>pathunstrom</span></a></span> something like this may be.</p><p>- Get the parsed source of `spam`:</p><p>spam_ast = ast.parse(inspect.getsource(spam))</p><p>- get all annotated assignments:</p><p>assignments = [n for n in spam_ast.body[0].body if isinstance(n, ast.AnnAssign)]</p><p>- find out names and types:</p><p>for a in assignments:<br /> print(a.target.id, a.annotation.id)</p>
<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> i assure you litex is giving me more than one problem</p>
<p><span class="h-card" translate="no"><a href="https://ngmx.com/@pathunstrom" class="u-url mention">@<span>pathunstrom</span></a></span> ah, I misunderstood. Tried to look now around `inspect` and `ast` modules, but couldn&#39;t find anything off-hand.</p>
<p>I guess everyone is starting to understand &quot;we are not alone&quot;</p>
@sun@shitposter.world @nik@misskey.bubbletea.dev sunwoman
Karassiel navort fao ah vi dagg
Suzuki: Motorcycles and cars Honda: Motorcycles and cars Yamaha: Motorcycles and pianos??
<p>&quot;Where are you going with this?&quot;</p><p>*smirking* &quot;Where ever I goddamn like!&quot;</p><p>Chrisjen absolutely bodied this Martian diplomat while talking to Draper.</p>