[-] crashfrog@lemm.ee 5 points 1 month ago

Reading the error message wins again

[-] crashfrog@lemm.ee 3 points 1 month ago

Fracking is usually for natural gas I think

[-] crashfrog@lemm.ee 3 points 1 month ago

But then why commit any ground troops at all?

If they just wanted to wipe out Gaza they’d have done it on Oct 8th. Could hardly take more than an hour.

[-] crashfrog@lemm.ee 2 points 10 months ago
[-] crashfrog@lemm.ee 2 points 10 months ago

I’m curious about these places without overdraft fees. How far in the negative do they allow you to go?

None. None negative. They'll deny the transaction or NSF the check if there's not enough in the account to cover it.

[-] crashfrog@lemm.ee 2 points 10 months ago

(however, I don’t get why more loops and ifs makes a function harder to test, I’m just going to trust you and that I’ll find out later.

Well, it's fairly easy to explain - each branching statement in your function doubles the number of discrete paths through the code. If there's one if statement, there's two paths through the code. (The one where the if predicate is True, and the one where it isn't.) If there's two if statements, there's four paths through the code. If there's three if statements, there's eight paths through the code.

In order to test a function completely, you have to test every possible path through the code. If you used three if statements, that means you have to devise and write eight tests just for the different code paths, plus testing various exceptional cases of the function's input ("what if all inputs are 0", "what if all inputs are null", "what if the integer is a string", etc.) That's a lot of tests! You might even have to write tests for exceptional cases combined with different code paths, so now you're writing eight times the number of tests you otherwise would have had to.

Whereas if your function doesn't branch at all, there's only one path through the code to have to test. That's a lot fewer tests which means you'll probably actually write them instead of saying "well, it looks like it works, I won't spend the time on tests right now." Which is how bugs make it all the way through to the end of the project.

[-] crashfrog@lemm.ee 3 points 11 months ago

Technically "burger" is short for "Hamburg-style ground beef sandwich"

[-] crashfrog@lemm.ee 3 points 11 months ago

This evidence should give you a strong prior that it's not just a job.

[-] crashfrog@lemm.ee 4 points 11 months ago

But cancers aren't generally random mutations; they're specific mutations to specific genes (oncogenes) that tend to be associated with cell replication and planned cell death.

So it actually does make sense that you can target cancer mutations, since you're looking at a fairly small set of mutations (about 300, I think.) In any case, the body destroying its own pre-cancerous cells is an important mechanism for day-to-day cancer prevention that's already working in people, so it makes sense to try to strengthen and broaden the response.

[-] crashfrog@lemm.ee 4 points 11 months ago

The terrible managers were the ones Romney put in! That's the whole way private equity works - they bought the company when the share price was depressed, then loaded the company with debt, paid themselves the proceeds of the loan, then liquidated the company in bankruptcy so they didn't have to pay it back. The whole private equity scheme is to operate a fraud against lenders.

[-] crashfrog@lemm.ee 5 points 11 months ago

None of the Palestinian prisoners released today had been imprisoned for "stone-throwing." One woman stabbed several Israelis with a knife.

view more: ‹ prev next ›

crashfrog

joined 11 months ago