purplemonkeymad

joined 1 year ago

And then they just push a new commit without the files, completely unaware that git keeps all versions of the code? I feel like this repo is going to disappear.

[–] purplemonkeymad@programming.dev 7 points 1 week ago (1 children)

I stay away from any big subs now. The smaller stuff that tends to have 2 to 15 posts a day (like game specific subs) feel like they did before. Although I really feel a lot of those are going to discord as well.

Which is fine when people do not reject the answers that are different from what they were expecting. Learning that the problem you have is a reason that noone does this, is a valid thing to learn.

It's usually when I see people moving the goal posts on replies, or complaining that they didn't answer the exact question that i see as frustrating. Or "I don't want to do that" with no more info.

But if you are aware of other solutions, you should state that in the question and give your reasons. It's a waste of time if you know someone might suggest what you have dismissed already.

The html question is a classic for this, they want to find non self closed tags. Why? Why can't they use a parser? What are they doing with this info? All questions that would give you a good idea on how the problem can be solved. Playing with regex would be a valid answer to that, but is not stated. Unfortunately I find so's format discourages extra interrogation.

The answer is not an attack on the person, but a frustration at the people before that ignored previous answers to use a parser.

[–] purplemonkeymad@programming.dev 12 points 1 week ago (4 children)

Except in 99% of cases the person is asking an xy problem, and if they ever explained the why, they would get a proper answer.

Often the reason no one does the hyper-specific thing, is that there are better non code solutions, it's massively insecure, or is just stupid micromanaging.

Seen this on the powershell subreddit before, it just downloads and runs another executable.

It was a way to get people talking about the update. If you argue for your favourite, you're talking about it. The first one was a point when I think they wanted to show that the game was getting new content.

Yea I remember this being one of the suggestions for the stalker series. if the enemies are too hard, turn the difficulty up so they die faster.

[–] purplemonkeymad@programming.dev 5 points 1 month ago (1 children)

Is mono not the .net framework version? .net core has always been multi platform, but is not compatible with .net framework apps. So any .net apps built against 3.5 or 4.x would still need to use mono.

Funny thing is I remember control panel being criticized for having things too many dialogs deep. Now you have more clicks when using settings instead of less.

[–] purplemonkeymad@programming.dev 42 points 1 month ago (1 children)

Can't they just send up extra suits with the dragon capsule? Badly fitted suits are probably better than none, it's not like they are piloting it down.

Yep, depending on the version it was under either administrative tools or system tools option in control panel. It's now also in the menu when you right click the start button.

You can now reach the network connections folder, using an option on the network status page. It's something like advanced network options. Still all the classic stuff, but avoids "control panel." I'm going to guess links like that are not going to be removed.

If they just outright remove all of that, you really will need to learn how to do everything in powershell.

 

So I managed to get part 1 of the day, but it took 2 seconds to run on the real input, which is a bad sign.

I can't see any kind of optimisation that means I can skip checks and know how many combinations are in those skipped checks (aside from 0.) I can bail out of branches of combinations if the info so far won't fit, but that still leads me to visiting every valid combination which in one of the examples is 500k. (And probably way more in the input, since if I can't complete the example near instantly the input is not happening.)

Right now I take the string, then replace the first instance of a ? with the two possible options. Check it matches the check digits so far then use recursion on those two strings.

I can try to optimise the matching, but I don't think that solves the real problem of visiting every combination.

I don't think (or hope) it's just bad code but this is my code so far (python.)

edit:

spoilera cache was the solution!

view more: next ›