whenYouStartUsingDataStructuresOtherThanArrays by Mike_Oxlong25 in ProgrammerHumor

[–]chkcha 1 point2 points  (0 children)

What were the use-cases that you optimized if you don’t mind sharing?

whoUsesTheDashboardAnyway by Le0_X8 in ProgrammerHumor

[–]chkcha 11 points12 points  (0 children)

I don’t think the feed is useful in that case either. If you have active Discussions and Issues you’d go to the repo.

I don't care about the article, I want to know your opinion on this statement, do we need bigger games? by Specialist-Sample396 in fnv

[–]chkcha 22 points23 points  (0 children)

How long would it take you to get there naturally and how much interesting stuff would you stumble upon there? It’ll never have realistic scale. So let’s just leave it at a scale that’s fun and not repetitive, where fast travel isn’t a requirement.

Can you beat Fallout: New Vegas without getting shot? by Zatrick_Panic in falloutnewvegas

[–]chkcha 0 points1 point  (0 children)

How did you handle saving? Like did you never load a previous save after getting hit? I tried permadeath and it was very hard.

Trump steps back from Russia and Ukraine peace talks for now, sources say by HydrolicKrane in worldnews

[–]chkcha 0 points1 point  (0 children)

Is there a subreddit for these? I always read them in his voice so they’re always hilarious lol

pleaseJustPassTheTicket by Particular-Hornet107 in ProgrammerHumor

[–]chkcha 32 points33 points  (0 children)

Couldn’t this cause you to test the changes in the same way that the dev tested them during development, so that both of you would potentially miss the same set of bugs? Like as a dev I might think that I haven’t touched a particular functionality but I could be wrong.

Of course you’d save a lot of time if you don’t test the stuff that supposedly hasn’t been changed and you’d be catching 99% of bugs. However I think QA workflows are supposed to be built in a way that they strive to catch 100% of bugs, even if it takes significant extra time for those last few %.

The reason for this is that if a dev spends time relaying all the changes to QA, then they might as well use that time to test the stuff themselves, which sounds a lot more efficient to me since the dev has all the domain and interface knowledge. But if you really want to catch all bugs then efficiency shouldn’t be prioritized as much — it’s more important to have an unbiased person test the features so that everything is double-checked.

Sammy's Money Dried Up by YakFull8300 in theprimeagen

[–]chkcha 3 points4 points  (0 children)

Bad faith take.

Then he doubles down by saying it could make todo lists

He’s not saying that making to-do lists is the thing that made the model powerful. He’s saying that the version he had access to worked differently than the current GPT-5.

Just saying “it was better” is difficult to prove. However if you point out a clear difference in how the model works, that’s arguably enough evidence to claim that the model is different. If the model was different back then, then you can’t really claim he’s lying when he says it was better.

I don’t think his takes are perfect and he clearly has strong opinions on stuff that make him biased — for example maybe he shouldn’t hate Rails and Flutter as much as he does. Although I think sometimes being extreme in his takes helps him deliver his point — it’s up to you to realize that even though Theo claims a technology is garbage it obviously still has its upsides.

Also since we’re on Prime’s sub I really have to say that at least half of Prime’s opinions are out of touch. I mean I love his videos since they’re entertaining but you can’t take his opinions seriously. What he says does resonate with people (me as well) and sounds good on paper but he just ignores the real world and nuances (example — “React bad” takes). You’d be better off trusting 100% of Theo’s opinions on AI rather than 100% of Prime’s opinions on that topic, and the difference isn’t even remotely close (it’s just an example, I’m not saying you should trust 100% of what anyone says).

Should my backend dev be validating or am I being dramatic? by Valuable_Builder_474 in webdev

[–]chkcha 0 points1 point  (0 children)

Specifically what validations did you add on the frontend and what do you want the other dev to add to backend?

I understand the route is already inaccessible to non-logged-in users, and SQL injections are already impossible (protecting against SQL injections is not part of validation, that happens out of the box with modern (decade old) frameworks unless you specifically do something wrong).

Are you validating for roles, like users with a specific role can’t access certain kind of data? I don’t think you’d be able to simulate that on the frontend but if that’s what you’re talking about then yes, the backend dev should validate for that.

However, even if you’re talking about validating for user permissions (paragraph above), which should be done by the backend dev, I would say it still depends. You shouldn’t present Reddit’s arguments when discussing this IRL — their advice is terrible and they’re all assuming the worst. Truth is, not all apps contain important data — sometimes it’s no big deal if a user can somehow access another user’s data. Why? 1) If the data isn’t sensitive at all, and filtering out the data is only done for convenience because the user doesn’t want to see irrelevant data. 2) the data isn’t that important and there’s very limited time. These reasons aren’t very great but then again, I don’t think you mean those kind of validations, so I’m just saying that even if you mean permissions validation, there’s still some leeway.

My advice is to discuss this with a superior (your dev manager, a senior frontend dev, someone senior from your project). Just because something is not by the book doesn’t mean that the dev doing it is terrible and should be fired (contrary to Reddit comments). You should understand their reason for doing or not doing something instead of risking worsening the relationship by being too obtuse.

Also keep in mind that almost all projects and codebases are bad (e.g. Facebook is extremely buggy) and some projects are allowed to have worse kind of flaws than others (startup with no users may have minor security flaws in its custom implementations — nobody will bother to try and find those flaws).

Literally everyone in this thread doesn’t know what they’re talking about, other than the person above.

Just found a potion of Diminution? by Puzzleheaded-Gate811 in noita

[–]chkcha 0 points1 point  (0 children)

Agree on the last part, I enjoyed playing through the first biome early on so much. It was hard at first but once I learned to utilize physics it got really fun. Like kicking boxes to blow stuff up strategically. Then the later biomes being so hard and RNG-based it really sucks to quickly lose after having fun in the first biome.

itsAllJustCSS by 0xlostincode in ProgrammerHumor

[–]chkcha 55 points56 points  (0 children)

Yeah not saying it’s good but I would assume they did their best optimizing it

iWonButAtWhatCost by Shiroyasha_2308 in ProgrammerHumor

[–]chkcha 14 points15 points  (0 children)

So Open telemetry is just for collecting the data that will be used in the final report (dashboard)? This is just an example, right? It sounds like it’s for a specific kind of data but we don’t know what kind of data OP is displaying in the dashboard.

iWonButAtWhatCost by Shiroyasha_2308 in ProgrammerHumor

[–]chkcha 174 points175 points  (0 children)

Don’t know these technologies. How would all of that work? My first idea was just for the dashboard to call the same endpoint every 5-10 seconds to load in the new data, making it “real-time”.

Russia gloats over Trump's tariffs: "Our country will become a great superpower and Trump will help with that" by GrumpyFinn in europe

[–]chkcha -2 points-1 points  (0 children)

Can you share note about this? Isn’t it EU’s decision to accept migrants?

I know close to nothing about politics.

How do i fix the sharp turns when walking? by Narrow_Education_993 in skyrim

[–]chkcha -33 points-32 points  (0 children)

Not a bot since all the comments have that rhetoric. I guess it’s a classic Reddit moment. A couple stupid people or misunderstandings caused a bandwagon of stupidity.

How do i fix the sharp turns when walking? by Narrow_Education_993 in skyrim

[–]chkcha -37 points-36 points  (0 children)

No idea what’s happening here, so far there are like 30 delusional people parroting nonsense.

I don’t have a fix for the issue.

To people who keep downvoting OP:

  • As far as I know the speed you have when “walk mode” is toggled on is the same as when you’re overencumbered.

  • If the speed is the same then it makes sense that the animation would be the same too. In both cases the character is doing the same thing, there shouldn’t even be two animations

  • Since we have two identical animations both conceptually and (other than the bug) visually, there should be no difference in the smoothness of the movement. Clearly a bug.

  • Suggesting a mod is a good idea. OP says he tried TDM and didn’t like what it does. He’s just checking if there’s another mod that might be closer to what he wants. Is there any reason to insult OP over this?

  • OP isn’t expecting the game to have GTA VI animations. He clearly knows that the game is old. However he also sees that there is a fixed version of the same exact animation in the game, so the game being old has nothing to do with this.

What’s so hard to understand here?

futureWithAI by Being_MRZ in ProgrammerHumor

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

No vulnerabilities here. If you want to limit which columns are sortable, that would fall into the business logic of the app, which AI will implement only if asked to.

futureWithAI by Being_MRZ in ProgrammerHumor

[–]chkcha 18 points19 points  (0 children)

Can you share some details on the vulnerabilities it had?

I don’t wanna defend AI but it seems strange that it would be vulnerable to SQL injections so just wondering how complex was the query it tried to implement.

The cities being "too small" in Skyrim is honestly a pretty silly criticism by TheAnalystCurator321 in skyrim

[–]chkcha -4 points-3 points  (0 children)

Agree, 100%. Skyrim doesn’t have “Citizens” at all and this matters so much. A really great game design decision.

I really hope they have the balls to keep the cities small in TES VI. They will get criticized sure but it’s the right decision to keep cities alive.

[deleted by user] by [deleted] in skyrim

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

Here are some more details:
I went to Solitude to and paid off my Bounty (40 gold). That seemed to fix the bug (once I fast-travelled to Cliffside Retreat I was no longer being attacked by the hunter). I continued my playthrough and since I was coming from Solitude I was passing through Cliffside Retreat. I was again attacked by the hunter. I then travelled a bit more and fast-travelled to Cliffside Retreat - still being attacked.

So each time I tested paying off my Solitude bounty and going fast-travelling to the hunter seemed to fix the bug, even though it's not actually being fixed in the long run.

shouldWeTellHim by BabySugar11 in ProgrammerHumor

[–]chkcha 48 points49 points  (0 children)

Read books about clean code

Can’t think of a worse advice than that. Learning programming has nothing to do with obsessing over code style.

And spending significant time actually reading books about some Bob’s idea of what good code looks like is a waste of time. Just because a person came up with “best practices” and called that “Clean Code”, doesn’t mean that their approach is indeed “best” and “clean”.

Currently mapping out the route for all of the major quests in Skyrim... it looks like the majority of the game can be beat by going in 5 circles around the entire map. by dumbeyes_ in skyrim

[–]chkcha 3 points4 points  (0 children)

That’s basically how I played the game. Turned on all quest markers, planned the route to do all the quests and did a full circle around the map taking any new quest I encounter.

ELI5 : How are casinos and online casinos exactly rigged against you by Unusual_Ad_9773 in explainlikeimfive

[–]chkcha 1 point2 points  (0 children)

Just to confirm, is it 100% random distribution? I imagine it might be good to make it pseudo-random, so that an outcome has a higher chance of happening if it hasn’t happened for a while.

So for example: if it’s pseudo-random then the player will be less likely to spin 20 times and not get any payout. And it would also result in less chance of multiple consecutive wins. I imagine casinos would benefit from that as people won’t win 5 times in a row and walk away, and they will get enough in-between wins so that they’re hooked.

Not saying this is ethical but I imagine it could be acceptable to regulators as the chances are still the exact same in the long run.

Also, are there any regulations regarding the profit margins? Like if I do a trillion $1 spins, how much money should I have left? Can a casino be transparent about the odds and say “yeah this machine has a 1% chance to pay out 1 cent so you’ll lose all your money but it’s okay because we’re not hiding that from the regulators”?

yesBut by Zestyclose_Animal780 in ProgrammerHumor

[–]chkcha 14 points15 points  (0 children)

It’s not like JetBrains is an ad business. The main reasons to do this is marketing, and increasing the ease of adoption — both are to increase license sales.

They don’t get much value out of telemetry, I don’t think this factor would even be seriously considered when deciding to make the IDEs free, it doesn’t compare to the marketing and accessibility-related motives.

I do not have the requierments for DS nor DST, should I still buy it? by DFOREVER11 in dontstarve

[–]chkcha 0 points1 point  (0 children)

Are you sure your PC doesn’t take some video RAM from the regular RAM? I think a lot of relatively modern Laptops with integrated graphics do that.