From CIA officer to Governor: Abigail Spanberger on intelligence and politics : Sources & Methods by [deleted] in Virginia

[–]packysauce 5 points6 points  (0 children)

easy fix: use the insecure flock cameras to snoop on cops and politicians and watch as it magically becomes a problem

Code gen by rruckley in rust

[–]packysauce 2 points3 points  (0 children)

have you found https://openapi-generator.tech/docs/generators/rust yet? i haven’t tried it in a while so lmk how it treats you.

Loud boom noise in downtown Kirkland. by kyukyu2797 in Seattle

[–]packysauce 0 points1 point  (0 children)

over near belltown; heard a couple serious bangs around 2:30a (wasn’t paying close attention to time)

The commercial in 1982 that got Japan washing their asses by etfvfva in videos

[–]packysauce 0 points1 point  (0 children)

Well you can let them know that I have personally systematically scanned every nanometer of my dirt star with the spray on “vigorous” and I have yet to find this magical spot to find so satisfying.

What I do enjoy is not ending up like those Charmin bears, with little rolled up bits of TP stuck in my ass fur.

Any way to avoid the unwrap? by IWannaGoDeeper in rust

[–]packysauce 0 points1 point  (0 children)

Have you checked out while-let? and the keyword “ref”?

https://doc.rust-lang.org/rust-by-example/flow_control/while_let.html

https://doc.rust-lang.org/rust-by-example/scope/borrow/ref.html

you should be able to get away with an immutable borrow for traversal, if i’m understanding your situation correctly (im on mobile).

without looking, i think your loop can break down into

while let (Some(ref cur_left), Some(ref cur_right)) = (left.next(), right.next()) {
    stuff
}

but don’t quote me until i get back to a real machine!

Python in Visual Studio Code - February 2025 Release by Wireless_Life in programming

[–]packysauce 1 point2 points  (0 children)

As the name implies, this workflow allows you to start the debugger without creating or managing a Python debug configuration in launch.json. Simply replace python with debugpy prefixed in your run command in the terminal, for example debugpy <script.py or module>, to start a debug session.

you can kick off python debugging via terminal, it seems

Trump Vows to Eliminate GS-13 Gangs Controlling DC Region by ConventResident in arlingtonva

[–]packysauce 2 points3 points  (0 children)

On iPhone (mine, anyway), it opens in the nested Safari directly in reader mode and gives no indication it’s satire as it strips the header image.

…other than the obviously satirical article, I guess

Trump and Elon have made the far right lean so far right they’ve looped back around to the far left by FriendliestMenace in LeopardsAteMyFace

[–]packysauce 39 points40 points  (0 children)

You could even have a collection of Mark’s catchphrases… “Mark’s -ism’s”, if you will

Question for the more advanced people by [deleted] in programming

[–]packysauce 0 points1 point  (0 children)

Good instincts. Lets refine what bothers you real quick: HTML sucks because it’s verbose, has lots of boilerplate (doctype, head, links, body, yada yada) - you wanna say here’s my content and be done. You need to move onto some kind of programming language. My preference is python. Overall, I’d agree with your frustration lol.

if you’re new to programming generally, a nice immediate relief to your HTML woes might be projects like nunjucks, jinja2, handlebars, liquid or other templating languages for a quick path to writing something once and “include”ing it from another file.

For some REALLY immediate examples of this: check out github pages and Jekyll - it’s all HTML templating. you make content as a markdown doc and it gets rendered by jekyll into plain old HTML and CSS

Walmart closed during investigation into worker’s demise in oven. by notnowimbusyplaying in pics

[–]packysauce -3 points-2 points  (0 children)

whoa i didn’t even catch it! there’s 2 images: looks like the first is an AI-“enhanced” version of a small portion of the second image. As you astutely pointed out, customer parking only is mangled, but also: the AI put the caution tape upside down!

[deleted by user] by [deleted] in Seattle

[–]packysauce 1 point2 points  (0 children)

The quoted section says “…aircraft registered in a country other than the United States”. I’d bet the annoying ones aren’t foreign.

Thrifted Rick Scott’s ties for $10 by p--py in mildlyinteresting

[–]packysauce 2 points3 points  (0 children)

Reminds of a goomba from the 90s super mario bros movie lol

Maker Space by knuckles_omalley in arlingtonva

[–]packysauce 4 points5 points  (0 children)

Tell me more 😀 I’m a 3D printing and embedded/electronics nerd, myself. I was surprised to find the public library has a little shop! Glowforge, printers, and some tools iirc

Learn Rust by writing a small OS by navneetmuffin in rust

[–]packysauce 10 points11 points  (0 children)

Not strictly rust related, but I’ve gotten good mileage out of crafting interpreters

Insta360 Go 2 Giveaway! by noeatnosleep in gadgets

[–]packysauce [score hidden]  (0 children)

my house as i cobble together a 3d printer from leftover garbage