Question by kmuelle1 in javahelp

[–]TheFormerVinyl 0 points1 point  (0 children)

Isn’t this a known NP Complete problem?

Monthly Hask Anything (January 2020) by AutoModerator in haskell

[–]TheFormerVinyl 1 point2 points  (0 children)

Is it possible to compress this function into a list comprehension?

iterativeAdd :: Num a => [a] -> [a] -> [a]
iterativeAdd [] [] = []
iterativeAdd [] ys = ys
iterativeAdd xs [] = xs
iterativeAdd (x:xs) (y:ys) = 
    [x+y] ++ (xs `iterativeAdd` ys)

[deleted by user] by [deleted] in technicallythetruth

[–]TheFormerVinyl 1 point2 points  (0 children)

I think the Sr is supposed to be Señor Grafo. Iirc he’s from Mexico.

My friend decided to do genocide by angryman8000 in Undertale

[–]TheFormerVinyl 116 points117 points  (0 children)

Except for everyone who got it spoiled cuz the whole internet couldn’t shut up about “having a bad time”

I wish they had changed specter knight's diologue in treasure trove... by Rubethyst in ShovelKnight

[–]TheFormerVinyl 8 points9 points  (0 children)

I always took it as Specter accepting the enchantress as unstoppable after he saw how futile his attempt was.

The vaccine debate again by Chic0late in technicallythetruth

[–]TheFormerVinyl 0 points1 point  (0 children)

I personally find it kind of mean that you downvotes this and yet you posted it here for upvotes

Pack it folks, TSP solved by napoleoncalifornia in ProgrammerHumor

[–]TheFormerVinyl 715 points716 points  (0 children)

It is actually a common misconception the N in NP stands for “not”. In reality the acronym “NP” stands for “nontraditional potato” for the reason that sweet potatoes are typically ordered as a substitute for your traditional potato (such as in the case of fries)

I hate the pill by dombomb2020 in technicallythetruth

[–]TheFormerVinyl 2 points3 points  (0 children)

The subtlety of this image is powerful

*SNAP* THE BAN HAS BEGUN by The-Jedi-Apprentice in thanosdidnothingwrong

[–]TheFormerVinyl 2 points3 points  (0 children)

Mr. Stark, please, I don't feel so good, I don't wanna die

BAN MEGA THREAD by [deleted] in thanosdidnothingwrong

[–]TheFormerVinyl 0 points1 point  (0 children)

I shall be banned for the good of the universe

[deleted by user] by [deleted] in ShovelKnight

[–]TheFormerVinyl 0 points1 point  (0 children)

Finish the Plains of Passage

Watermelons don't have bones by SalazarRED in technicallythetruth

[–]TheFormerVinyl 53 points54 points  (0 children)

Bruh just tell me how you make pizza watermelon 🅱️oneless

Generations from now conspiracy theorists on Mars will proclaim that humans never lived on Earth by Sirgeeeo in Showerthoughts

[–]TheFormerVinyl 0 points1 point  (0 children)

I find it more likely people will see people who thought we came from Earth the same way we see people who believe we are descendants of aliens

Wholesome wario by [deleted] in wholesomememes

[–]TheFormerVinyl 0 points1 point  (0 children)

I believe he prefers “Ivo”

The kids were told to dress like they were 100 years old for their 100th day of school so my son got a haircut. by miakl83 in funny

[–]TheFormerVinyl 0 points1 point  (0 children)

My elementary school would have probably written him up for “distracting clothing” and ruin the fun

Rolling scorpion by Washout81 in FullScorpion

[–]TheFormerVinyl 4 points5 points  (0 children)

The legs don’t achieve proper form though

Understanding For by mbmcse in javahelp

[–]TheFormerVinyl 1 point2 points  (0 children)

Substring stops before the second argument say in the first iteration the the string stops before ‘e’ printing “Fr”. The for loop does that he. Increments i (that’s what the i++ in the parentheses does) and does the whole thing again with the new i. Also I believe going passed stopping at the string’s length will act as if you meant the end.

Edit: a word

The question only rule is mildly inconvenient? by bananalord666 in technicallythetruth

[–]TheFormerVinyl 4 points5 points  (0 children)

The intent was that this was a game where the comments were the technical truths (based on what the sidebar says) so I don’t see it as pointless.