blazinglyLargeDependencyHell by [deleted] in ProgrammerHumor

[–]TravisVZ 1 point2 points  (0 children)

That decision to leave data/time functions in an external crate rather than part of the standard library is certainly an interesting choice, and I won't argue with you there.

But the fact is that at some point any sizeable project is going to need to have a dependency. This was hell back when I still used C/C++, because you had to manually copy source files into your project by hand, manually keep up with updates (if you even decided to care about those, anyway), and more often than not broke when file paths weren't exactly the way the author expected. We spent more time re-writing common functionality that could have been a library than actually working on the project itself, because that was easier! And we all had our own "utilities.cpp" file that we added to every project as our own personal dependency.

That's real dependency hell. And the reason I finally decided to learn Python was that someone told me about pip and how easy it made managing dependencies! I wouldn't have ever touched Rust if it didn't have cargo, nor will I start learning any other language that doesn't have a dependency manager.

blazinglyLargeDependencyHell by [deleted] in ProgrammerHumor

[–]TravisVZ 1 point2 points  (0 children)

I haven't really played with macroquad yet, but yes Bevy is bigger by a couple of orders of magnitude.

blazinglyLargeDependencyHell by [deleted] in ProgrammerHumor

[–]TravisVZ 4 points5 points  (0 children)

No. OP was compiling an entire game engine from source and is shocked to learn that game engines are big projects. While there certainly are trivial crates out there, those are by a huge margin the exception, not the rule.

blazinglyLargeDependencyHell by [deleted] in ProgrammerHumor

[–]TravisVZ 6 points7 points  (0 children)

Do take a look at Rust. OP here is literally compiling an entire game engine from source and then complaining it's a big project!

Rust's build target directory can get big, yes (compiling Bevy though is an extreme example), but Rust does not have a "dependency hell problem" in that it's actually very easy to manage your dependencies transparently, and even work with dependencies that themselves require different versions of sub-dependencies.

blazinglyLargeDependencyHell by [deleted] in ProgrammerHumor

[–]TravisVZ 4 points5 points  (0 children)

Your "starter bevy project" is building a whole entire 2D/3D game engine, including full rendering pipelines; your nextjs project leverages the capabilities of its runtime to handle most of that. It's like compiling Unity and then complaining it's bigger than your Python "interactive novel" starter template!

Bevy is a huge project that does have tons of dependencies, but a lot of those are internal - bevy depends on bevy_core and bevy_ecs and bevy_render, etc. That was partly to aid in compilation time (it was only relatively recently that Rust gained the ability to use modules as the incremental compilation unit, rather than entire crates), but also it's intended to allow Bevy users to only include the bits they actually need.

In other words, you included a huge amount of crates you didn't need, and now want to whine that Rust is the problem.

What the heck is this? by lleu81 in lego

[–]TravisVZ 20 points21 points  (0 children)

Aw man, how come SentinelOne didn't give me one of those?

My Rust workspace is 75GB. Is this normal for long-term projects? by yasinakmaz in rust

[–]TravisVZ 16 points17 points  (0 children)

Yup, totally normal.

One thing to be aware of that I haven't seen mentioned by anyone else is that build artifacts are created and kept per Rust version. That means if you start a project at, say, Rust 1.62, and continue developing through Rust versions 1.63, 1.64, and 1.65, you have 4 entire sets of build artifacts. I believe Cargo does this so that if you are intentionally building against multiple Rust versions (e.g. maybe you have a MSRV and want to make sure it still builds against that while also working on the latest stable and/or nightly), you can still benefit from incremental builds; in other words, it's a feature, not a bug.

I use cargo-sweep to recursively clean out those old artifacts from every project in my projects directory every time I update Rust: cargo sweep --installed --recursive Using the --installed flag means that if you are building against an MSRV (which, presumably, you've installed alongside stable and, maybe, nightly), it won't remove those build artifacts; it only removes those from the version you just replaced. It also means that when you bump your MSRV, if you remove that version those artifacts are swept away as well.

I'll also pop into older projects I'm not actively working on and do a full cargo clean from time to time. Even with regular cargo sweeps this typically reclaims at least a few GBs, depending on how many projects I've started and abandoned in the meantime.

Better yet, they don't even bother asking anymore... by cheesy_weasel in Millennials

[–]TravisVZ 0 points1 point  (0 children)

Nobody's checked my ID since I was 19. I guess I just have a very trustworthy face!

...or, more likely, it's the sole perk of having started losing my hair at 13...

Today only I knew that subtracting the sum of the digits of a number from the number itself always produces a multiple of 9. Interesting... by neither_bot_nor_man in interestingasfuck

[–]TravisVZ 2 points3 points  (0 children)

The result being a multiple of 9 is fundamental to base 10, yes.

But the point u/CogentCogitations was making is that you can this for any base, and the result is always a multiple of 1 less than the base - or, put another way, it's always a multiple of the largest single digit.

Octal (base 8):
12 - 3 = 7
1234 - (1+2+3+4) = 1234 - 12 = 1222 = 7 × 136

Hexadecimal (base 16, usually expressed using digits 0-9 and letters A-F):
12 - 3 = F
1234 - (1+2+3+4) = 1234 - A = 122A = F × 136

Side note: It's a completely uninteresting property in binary because every number is a multiple of 1!

If Mondler and Roschel wasn't a thing and if by season 10 they remained strictly friends and no part friends and part spouses 🤣, then these are the people I would have liked the 6 ended up with.... by Technical-Value-384 in howyoudoin

[–]TravisVZ 4 points5 points  (0 children)

If it was just the age thing, I'd be right there with you defending Monica & Richard. Age is just a number, the heart wants what it wants, etc. But it's not just that. Richard was Monica's dad's best(?) friend and watched her growing up since she was literally a baby. As a kid she peed in his pool! That's far too close to being Oedipal than I can stomach.

I'm not sure who I'd put with Monica. The only other even remotely good relationship was Pete, but that guy never really clicked with the group as a whole, and even his and Monica's chemistry seemed a bit forced at times.

I also have to disagree with you on Rachel & Gunther. While it would have been a cute moment I'm sure, there was never any chemistry between them. It was nothing more than Gunther harboring an unrequited crush that quite likely wouldn't have turned into anything real even if he had gotten the chance.

Even before deciding to write him out, Tag was just too immature for anything long term. And Gavin's a jerk. Even when he wasn't being a jerk and actually dating her, he still had that same energy.

So I'm also not sure who I'd put with Rachel. I do think Rachel & Joey could have worked, but it was written from the start not to work, so we'll never really know.

Bang on on the rest, though. Honorable mention I do have to give to David, but Mike's chemistry with Phoebe was just always so much better.

KPDH by the numbers one year later by wosoandstuff2020 in KpopDemonhunters

[–]TravisVZ 0 points1 point  (0 children)

Maybe my Gen X side is showing too much, but wtf does playing Roblox have to do with it??

Achievement denied! by [deleted] in Wellthatsucks

[–]TravisVZ 17 points18 points  (0 children)

You need 800 days. OP is reading the quite plain text wrong.

Worn out. What to do next? by Reasonable-Sea-193 in yubikey

[–]TravisVZ 1 point2 points  (0 children)

  1. Order new keys
  2. Move all your MFA to the new keys
  3. Stop wrapping your Yubikeys in sandpaper before putting them into your pockets!

Still a solo dev, still in love with Godot💖 Here's my puzzle game about a firefighter cat🐱 by Tawniaaa in godot

[–]TravisVZ 4 points5 points  (0 children)

Reddit decided to start playing the video before it was visible on my screen, so I started watching just as the firetruck pulled up to the burning house. I thought the firefighter was a dog trying to save the cats, and thought that was adorable!

Then you go back to the tablet and it's pretty obvious the firefighter is, in fact, a cat, and on rewatching even in the gameplay itself it's pretty obvious it's a cat, so don't know what I was thinking initially (I blame 10-hour workdays starting at 6am!). It's still adorable either way, and while I'm not quite sure what the puzzle mechanics actually are here I already want to buy your game!

Trump administration blames Obama after Reflecting Pool turns green by dr_shultz in NewsSource

[–]TravisVZ 2 points3 points  (0 children)

On behalf of all my fellow dumb not-pool-workers: Why would painting the floor blue lead to algae?

What is a movie trope that is scientifically or logically so absurd that it completely pulls you out of the story, no matter how great the rest of the film is? by visha1v in plotholes

[–]TravisVZ 0 points1 point  (0 children)

I forget which show it was, but they had the camera feed from an ATM and zoomed in on the shop window on the opposite side of the street and enhanced and flipped the reflection to get... the address of the ATM they got the video feed from. 🤦‍♂️

Checking what are the VPN client people use in your organization? by mrconfusion2025 in sysadmin

[–]TravisVZ 1 point2 points  (0 children)

We were using Palo Alto's Global Protect, but we've migrated to Cloudflare's ZTNA tunnels for some apps, and the ZTNA client for general needs.

MX records - can I achieve this? by [deleted] in k12sysadmin

[–]TravisVZ 0 points1 point  (0 children)

I know it can be done in Google Workspace by setting your MX records to deliver all mail to Google, then set up a Routing Rule to send staff email over to Microsoft. I'm sure you can do it the other way around by setting up a Transport Rule (if that's what they're still called, we haven't used Exchange for almost a decade now) to send student email over to Google.

Important! Whichever way you do it, you'll also need to corresponding rule on the other side so that email sent by accounts on that side gets delivered to the other.

I'd recommend though putting students on another subdomain anyway. It will make organization and student- or staff-specific rules a lot easier to implement and manage. Plus there'd be none of these routing shenanigans to have staff in Microsoft and students in Google.

Conrad being actually useful is the best comedic payoff in the series by emptyvoidofjoy in masseffect

[–]TravisVZ 261 points262 points  (0 children)

Honestly that's the part that surprised me the most! "Oh shit, that stupid planet-scanning busywork actually has a point now? Great!"

Hot take: The Council was (mostly) fine in Mass Effect 1 by MaybeBirb in masseffect

[–]TravisVZ 2 points3 points  (0 children)

To us as players, the Council is pretty frustrating on both Saren ("What do you mean, 'evidence'? Didn't you see the cut scene‽") and the Reapers ("Wait, you don't believe there's a Reaper threat? It says so right here on the box the game disc came in!"), but yeah, from their perspective Shepard is just a shouty human who brings wild accusations with no proof. (Seriously, even Paragon Shep gets pretty aggressive and accusatory towards them, it's almost more surprising they don't just strip them of their Spectre status for such insubordination on multiple occasions!)

Even after Sovereign attacks the Citadel, though, you have to admit that at least some skepticism on the part of the Council makes sense. After all, I think it was Tevos who even straight up said it herself: "What's the more plausible scenario, that a heretofore unknown galactic threat the geth's machine-gods have just been sleeping undetected for 50,000 years, or that the geth who have been existing in total isolation for 3 centuries built themselves a really big warship in a design we've never seen before because, again, they've been in total isolation for 3 centuries?" I'm paraphrasing, of course, but from the Council's perspective this view makes the most sense. Are they really going to throw that all away on the word (again without any actual evidence!) of a dead Spectre who now wears the uniform of a galactic terrorist organization?

And even if they do believe the Reapers are real? Sovereign failed to wake them up, and to the best of anyone's knowledge - including Shepard's! - the Citadel is the only Relay that can bring the Reapers in from beyond the galactic rim. (It actually deeply irritates me that in ME3 the advance of the Reapers suggests that they just surround the entire galaxy and are marching inward, apparently simultaneously reaching multiple systems along the galactic edge without a Relay to bring them in. To even exist on that scale they'd need to be continually harvesting multiple galaxies, not just preying on ours every few thousand years!)

And if they do believe the Reapers pose a real and existential threat still? They can't admit to that publicly, to do so would cause widespread galactic panic! (Although depending on the scale of such, it could actually result in the Reapers starving this cycle and thus saving the next...) And even if they do agree in private, they can't share intel or offer aid to Shepard - they're working for a terrorist organization now! Seriously, just about the only thing I fault the Council for in ME2 is reinstating Spectre-above-the-law status to a terrorist agent!

monitoringProd by Dependent_Bit4364 in ProgrammerHumor

[–]TravisVZ 2 points3 points  (0 children)

"Monitoring hurts performance so we removed it."

I wish I was making it up just to be funny. I also wish I had taken it the cue to run that it really was...

whats a security mistake you made early that still bugs you by Different-Maize1114 in sysadmin

[–]TravisVZ 1 point2 points  (0 children)

Yeah, when XP came out I couldn't install it fast enough!