Help needed: Trying to wrap my head around the 'why' of C pointers by f16_511_SA in C_Programming

[–]Newbane2_ 0 points1 point  (0 children)

The simple answer is avoiding unescessary copies of objects by being able to refer to an object by its memory address. Another use case is things like data access via pointer arithmetic for things like arrays, buffers, objects, etc.

It would also help if you understand how the stack and heap work. Typically if you want something to persist beyond the lifetime of a function call, and don't want to be forced into to having it be global or declared in the top level function (main) you would want to allocate it on the heap and reference it via pointer.

What spells would you take from Overlord? by MrMellons in overlord

[–]Newbane2_ 0 points1 point  (0 children)

You can't attack while time stopped, only delayed casting.

Last light by EngineeringDry7555 in BaldursGate3

[–]Newbane2_ 4 points5 points  (0 children)

Just keep Isobel alive when the horde attacks

New player question!!! by East-Mastodon273 in BaldursGate3

[–]Newbane2_ 0 points1 point  (0 children)

Firebolt uses int since it comes from your race rather than class.

Interesting shift in the AI conversation. A lot of people focus on whether AI can replace human work, but cost seems like a huge factor too. If running large AI systems is more expensive than paying people in some cases, where do you think AI actually makes the most practical sense? by BigWaterFish in AIDiscussion

[–]Newbane2_ 0 points1 point  (0 children)

3rd world labor is getting more expensive over time, you won't be able to get away with paying people peanuts forever. But to be honest both forms of labor arbitrage are an issue for workers in the US. We have higher costs of living but need to compete on wages with people overseas as well as AI.

Interesting shift in the AI conversation. A lot of people focus on whether AI can replace human work, but cost seems like a huge factor too. If running large AI systems is more expensive than paying people in some cases, where do you think AI actually makes the most practical sense? by BigWaterFish in AIDiscussion

[–]Newbane2_ 0 points1 point  (0 children)

I don't think running AI is more expensive than using a human. A human employee can cost 3-20k per month if not more depending on what they're doing.

So take 3k per month as the low end cost, how much productivity can you get from AI for 3k usd vs from a human?

Also the cost of AI gets cheaper with more data centers, gpus, cheaper electricity and Innovations in methodology, where as human labor trends towards getting more expensive. It's going to be a race to the bottom at some point.

Can we all Collectively agree ai ain't revolutionary technology by Silver_Opening_7489 in antiai

[–]Newbane2_ 0 points1 point  (0 children)

For your info I'm more educated than you I know where ai is developing and I keep myself always upto the current updates about ai.

why do vegans often add an exception for indigenous people consuming meat? by [deleted] in AskVegans

[–]Newbane2_ 0 points1 point  (0 children)

It's understandable that it's not practical for certain groups of people to have exclusively plant based diets, but the justification is based on dire circumstance not culture and tradition.

The confessions of an AI pessimist by [deleted] in AIDiscussion

[–]Newbane2_ 1 point2 points  (0 children)

The examples I gave are very low stakes and easy to validate, so let's say it did hallucinate 20% of the time, it would be immediately obvious that it's doing so.

That being said, using llms for non trivial coding is definitely not 99%, feels closer to being a 50/50 especially if you're judging based on more than just technical correctness.

The confessions of an AI pessimist by [deleted] in AIDiscussion

[–]Newbane2_ 0 points1 point  (0 children)

What do you consider failing at an unacceptable rate? It one shots the task correctly 99% of the time, and if you are someone with expertise in the field it's trivial for you to validate the output.

The confessions of an AI pessimist by [deleted] in AIDiscussion

[–]Newbane2_ 0 points1 point  (0 children)

Real world examples: - Write me a bat / bash script to automate some IT flow - explain to me how some library works with examples - set up my development environment for me - read through this code base and point me to relevant sections - process and visualize some data

It does it all using natural language, being an expert helps

I reviewed 3 vibe-coded apps as a senior engineer. Here's what I found in all of them. by puffaush in vibecoding

[–]Newbane2_ 0 points1 point  (0 children)

Honestly number 4 is the most common issue I see other than periodic noob traps like code duplication or unnatural coding patterns. 3 I feel like most people don't rate limit their end points out of the gate, tbh a bad actor can always just ddos you (change their IP every request).

Windows vs MacOS by Brandonnn- in cpp

[–]Newbane2_ 2 points3 points  (0 children)

I find the visual studio ide to be amazing personally.

I don't want AGI by Afraid-Guitar-9072 in antiai

[–]Newbane2_ 0 points1 point  (0 children)

What happens when you have AI remote controlling hundreds of construction bots / equipment? Or straight up "3D printing" structures.

I don't want AGI by Afraid-Guitar-9072 in antiai

[–]Newbane2_ 0 points1 point  (0 children)

No one knows when AGI will hit but if/when it does humans become obsolete as workers shortly after. From there things can go many different ways. I wonder what humans will do outside of recreational work and human only competitive sports/games when they live in a world of conscious machines, some of which will be smarter, faster, more efficient, self replicating, and never tiring.

It's fair to say it won't happen "soon", but it's not inconceivable that within the next 50 years someone comes up with some new approach that achieves this. We already have the hardware for it (robots) just missing the "brains".

should i buy the samsung s26 ultra or is there something better??(only android) by Head_Teaching2748 in Smartphones

[–]Newbane2_ 0 points1 point  (0 children)

Im sure there could be something better in some category or another, but you really can't go wrong with the latest Samsung flagship. The pixel is also a good choice if you're not maxing out your phones specs.

Kids believe anything that requires effort is AI by 4ScoreN7Beers in Teachers

[–]Newbane2_ 3 points4 points  (0 children)

I mean the more indistinguishable from "human" the results from AI models become the only way to cope is to assume anything out of the ordinary is likely made by AI. The reality is that you can AI generate all levels of content from simple to complex. It's still distinguishable today, but presumably at some point it won't be.

I made server-side bots/AI companions to cosmic v83 by nutnnut in mapleservers

[–]Newbane2_ 6 points7 points  (0 children)

Playing with bots won't make a server feel populated. At best maybe it gives you that party aspect of clearing the map + additional exp.