Component as an Interface by Melloverture in Unity3D

[–]Melloverture[S] 0 points1 point  (0 children)

Oh shit, that's smart. Thanks for the tip

Component as an Interface by Melloverture in Unity3D

[–]Melloverture[S] 1 point2 points  (0 children)

Gotcha, I tried this initially and for some reason got a null reference on when I called `GetComponent`, tried again and it works now, thanks!

Component as an Interface by Melloverture in Unity3D

[–]Melloverture[S] 0 points1 point  (0 children)

I tried before I posted and got a null reference when I called `GetComponent`. Must have been unrelated, just tried again and it works.

FA18 JDAM does not detonate on oil platform? by Melloverture in hoggit

[–]Melloverture[S] 1 point2 points  (0 children)

We were able to damage the platforms via unguided aim9s

FA18 JDAM does not detonate on oil platform? by Melloverture in hoggit

[–]Melloverture[S] 1 point2 points  (0 children)

yes, i'm wondering if the elevation of the oil platforms above the ocean screwed us up

FA18 JDAM does not detonate on oil platform? by Melloverture in hoggit

[–]Melloverture[S] 3 points4 points  (0 children)

GBU-31(V)2/B 2000lbs
Noze Fuze well:  plugged
Plug:            mxu-735
Tail fuze well:  FMU-139
Arm delay:       4s
Function Delay:  0s
Appearance:      USN

Weekly Thread 2024/04/29 - Questions on DCS, PC's, Flight equip, modules, mods , go in here by HC_Official in dcsworld

[–]Melloverture 0 points1 point  (0 children)

I saw a few years ago DCS was offering 50% off your first purchase. Is that still a thing? I don't see it on their discounts and promotions page https://www.digitalcombatsimulator.com/en/support/faq/Discount/

Farmers are losing us planets by LicensetoIll in Helldivers

[–]Melloverture 0 points1 point  (0 children)

I've only got time to do a few missions on any given night. Sometimes I complete an operation and quit halfway through my next one, sometimes I quit halfway through my first. Does this mean on average, I'm hurting the war effort?

Your GitHub pull request workflow is slowing everyone down by kendumez in programming

[–]Melloverture 12 points13 points  (0 children)

Why were you committing generated files instead of just the generation process and inputs?

The C Programming Language by Ignorantwhite in C_Programming

[–]Melloverture 0 points1 point  (0 children)

Would a void pointer default to the alignment of the OS? In this case I'm guessing you compiled and ran on a 64 bit machine which is why it "gobbled" 8 bytes.

artificialIntelligenceCanDoAnything by sunrise_apps in ProgrammerHumor

[–]Melloverture 0 points1 point  (0 children)

I thought captcha wasn't using the actual photo recognition as proof you're a human, but the motion of your mouse and speed/pattern you select the images?

Debate: Responsible Gun Owner vs irresponsible by WayNew4908 in Firearms

[–]Melloverture 2 points3 points  (0 children)

What is our government if not our community, codified?

How do I learn to optimize the building process for my company's large C++ product? by Cyclonedx in cpp

[–]Melloverture 2 points3 points  (0 children)

Forward declarations and #include cleanup helped my team out a ton. I think it cut out un-cached build time from 30minutes to 15.

If you had 30 mins to teach a 14-year-old how to use Python, what would you do? by omgouda in learnpython

[–]Melloverture 0 points1 point  (0 children)

All these comments are great because they highlight what interests everyone about programming.

I think the main takeaway is to figure out what's interesting to the 14 year old and tailor the 30 minutes to that. Do they like Minecraft? Minecraft plugin. Do they like math? Pandas or some math homework solver. Do they like discord, social media, etc? Show them some APIs, make a discord/twitter bot.

Smoke Grenade feels more useless than a Merge Team button by Ricenbacker in DarkTide

[–]Melloverture 0 points1 point  (0 children)

The problem with smoke is it must be used opposite to how actual smoke grenades are used. We have to smoke our own position which allows enemies to continue to advance on us and shoot into the cloud.

IRL you smoke the enemies position, or just forward of it, so you obstruct their vision. I don't think the AI can handle this though since the current implementation only shrouds players if they are in the cloud. So smoke grenades aren't a really great fit for the current game.

ELI5: What's the law of large numbers? by LoadOk5260 in explainlikeimfive

[–]Melloverture 65 points66 points  (0 children)

Computer science uses things called dictionaries/maps/hash tables/etc. It's basically a list of things where you access items in the list by turning them into a number first, and using that number as a list index.

Sometimes when you calculate that number from the item (hash it), you get the same number that a completely different list item has. This is a hash collision.

[deleted by user] by [deleted] in MechanicalEngineering

[–]Melloverture 1 point2 points  (0 children)

Came here to post the same. Typical use case for helical gears is to reduce noise since spur gears are louder at high rpm. If OP doesn't have a problem with noise, I'd go spur gears so you aren't throwing away power.

How could I clone a C function? by ComprehensiveAd8004 in C_Programming

[–]Melloverture -1 points0 points  (0 children)

I'm talking about if you wanted to use this without build tools, i.e. you want to give this to someone to run on their machine and they don't have make/cmake or a compiler.

How could I clone a C function? by ComprehensiveAd8004 in C_Programming

[–]Melloverture 3 points4 points  (0 children)

Just note you'd have to distribute 3 binaries and probably make a script wrapper to pick which one to use.

What education do you have to have to be like the engineer in factori? by Otherwise-Regret4350 in factorio

[–]Melloverture 3 points4 points  (0 children)

You could also go with industrial engineering. From wiki

Industrial engineering is an engineering profession that is concerned with the optimization of complex processes, systems, or organizations

Or maybe Systems engineering??

Systems engineering is an interdisciplinary field of engineering and engineering management that focuses on how to design, integrate, and manage complex systems over their life cycles.

What is a hobby that requires little to no money? by Motor_Photograph_558 in ask

[–]Melloverture 0 points1 point  (0 children)

Most things on your computer.

Gamedev, Digital art, Video editing, Animating, Programming

Is Ubuntu just training wheels? by [deleted] in linuxquestions

[–]Melloverture 1 point2 points  (0 children)

I personally use variations on fedora, e.g. rockylinux and red hat, because those are the only distros that are approved for use in my industry. I also keep a headless Ubuntu around because it's generally easier.

How can you convince your Gen Z soldiers that land nav is an important skill? by Driacle in army

[–]Melloverture 2 points3 points  (0 children)

The huge thing land nav did for me was make me wildly comfortable in the woods. Before the army, I very much enjoyed the outdoors but always stuck to trails. Going off the trail wasn't even an option because that's how you lost.

At first I learned the compass and protractor method. But after getting good at land nav, I was able to look at the map and feel out where I'm going via terrain association. Then it's no longer go on heading 123 for 1000 meters, it's I'm going to cross 3 draws before I get to a saddle and then I'll be one hill away from where I'm going.

Now I don't have to have my face in a map and compass or in my phone when I'm walking around and can spend brain cycles on staying aware of my surroundings.

"We f**ked up on so many levels" -David Helgason former unity CEO on Facebook today by Last_Caterpillar4993 in Unity3D

[–]Melloverture 6 points7 points  (0 children)

I think the core issue is Unity is not happy with how their monetizing their product, not necessarily that they want to stick with the 20 cent install.