[-] petersr@lemmy.world 23 points 1 week ago

Let me take a stab at it:

Problem: Given two list of length n, find what elements the two list have in common. (we assume that there are not duplicates within a single list)

Naive solution: For each element in the first list, check if it appears in the second.

Bogo solution: For each permutation of the first list and for each permutation of the second list, check if the first item in each list is the same. If so, report in the output (and make sure to only report it once).

[-] petersr@lemmy.world 27 points 1 week ago

Well, I guess PDF has one thing going for it (which might not be relevant for scientific papers): The same file will render the same on any platform (assuming the reader implements all the PDF spec to the tee).

[-] petersr@lemmy.world 50 points 1 month ago* (last edited 1 month ago)

Let me tell you something. I cannot tell you what company, but I have been tasked with putting Excel files in git "because they are just zip archives with xml" and it is just a disaster. Everytime you save the document it will save certain parts of the xml code in arbitrary ways (like each image is in a list and the order of that list is random everytime), some metadata is re-written everytime like time of last modified and finally all the xml files are one single line. The git diffs are complete useless and noisy and just looking at the Excel file will cause git to consider it updated. So sure, you can use git to snapshot you Office documents... But just don't.

[-] petersr@lemmy.world 31 points 2 months ago

To be fair, this is a classical strategi in startups called "wizard of Oz prototyping" - it is used to test if there is a market for something before the tech is ready. But the tech is supposed to be created soon after and actually work...

[-] petersr@lemmy.world 28 points 3 months ago* (last edited 3 months ago)

You knew it was fake/going to be a joke when anon got a girlfriend so easily.

[-] petersr@lemmy.world 63 points 5 months ago* (last edited 5 months ago)

Always has been

[-] petersr@lemmy.world 68 points 5 months ago

Almost as if this was made up.

[-] petersr@lemmy.world 27 points 7 months ago

No, it is because it is not a gun.

[-] petersr@lemmy.world 22 points 8 months ago

Let me guess, instead of asking out another girl on 11/11/11 he played Skyrim?

[-] petersr@lemmy.world 34 points 9 months ago

In that aspect I see the US as a developing country.

[-] petersr@lemmy.world 21 points 9 months ago

What if I am not sleepy?

[-] petersr@lemmy.world 28 points 9 months ago

AI will probably benefit big corporations the most.

view more: next ›

petersr

joined 11 months ago