purplemonkeymad

joined 2 years ago
[–] purplemonkeymad 1 points 7 hours ago

Winamp dumping a bunch or proprietary information on GitHub is a good example of this.

[–] purplemonkeymad 5 points 21 hours ago

* Something breaks *

Why do we have all these IT people? Nothing works!

[–] purplemonkeymad 2 points 1 day ago

It's probably more of a scale thing, going a conversation server side need CPU time, if it can be done prior to upload then server time is reduced. I think a lot of websites do client side processing so they can do more requests per server instance.

[–] purplemonkeymad 9 points 1 day ago

How is this new? Reddit gold gave you access to the subreddit that only gold members could access. It didn't have anything good in it as everyone would rather have a larger reach.

If he intends to convert an existing sub to it, he will quickly find how much people are happy to more to a new sub.

[–] purplemonkeymad 3 points 4 days ago

Is it me or does the boxes holding the phaser look like a printer?

[–] purplemonkeymad 18 points 6 days ago (2 children)

S mode!

If you buy one in s mode, then you can't run 3rd party programs or particular built-in ones. That includes command prompt, which is why shift-f10 didn't work. It's ok as you can get out of it by, going to the ms store after logging in as an admin!

We now see the problem with s mode in the out of box experience.

[–] purplemonkeymad 4 points 6 days ago (1 children)

This was much later. At the time unicode was not supported throughout the internet, so we were limited to ansi/ASCII.

[–] purplemonkeymad 143 points 1 week ago (5 children)

Am I being cynical if I wonder if Ticketmaster just cancelled a number of tickets randomly, just so they can resell those at its new "market price." Normally I would just assume incompetence or a mistake, but this is Ticketmaster.

[–] purplemonkeymad 2 points 1 week ago (1 children)

I like those 6, but was not the mnemonic that was advertised around me. In general the order follows the life cycle of the minerals, so reduce is first as it means you dig up less. Reuse/repair is after it has been dug up, so less goes to disposal.

[–] purplemonkeymad 9 points 1 week ago (4 children)

I would argue that repair is part of re-use, since you are allowing it to be used again. So would be part of the second r. The first r is reduce, which would boil down to: if you already have one, don't buy another. It's more effective to not need the resources in the first place.

[–] purplemonkeymad 1 points 2 weeks ago

I agree, specialized subs are really the only reason to use it. There are enough people on it that niche subjects have sufficient people to keep the communities going. Lemmy does not have that for all subjects (yet.)

[–] purplemonkeymad 23 points 2 weeks ago

It was sick near me, the pubs now clean up properly.

 

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 ›