111 karma · joined June 15, 2016
.where(p -> p.getCategory == 2 || p.getCategory == 5 && isProductUnderDiscount(p))
is equivalent to: if (product.getCategory() == 2 || ( product.getCategory() == 5 && isProductUnderDiscount(product) );
The extra set of parentheses are not needed due to precedence, but have been included for clarification.I've already corrected my very mistaken understanding of how QC works, as in the tagline of your blog. Are there any other concepts that we need to shake off that would make explaining these concepts easier for the layman? Do you have any words of wisdom for the masses?
It was quite an experience.
I will say that this is quite a large collection of papers. Do you have any pointers as to which of these papers I should start with as a foundation?
I guess this is the next best thing.
When they didn't, I found it enormously satisfying to find out how to work around the problem being expressed in print; there were enough variations in BASICs for different machines that the listing for a TI 99/4A program wouldn't work in straight AppleSoft BASIC, for example.
But the time between typing all the code and finding out if it worked was grueling. I'm not sure if the students of today would be satisfied with that large a report-back loop.
- opening a terminal
- `python`
- `print "mikestew"`
The friction to get over is the Terminal ("You mean I have to type to get the computer to do something? Why can't I use my mouse?", and the situation if the above fails because you were using Python 2 or 3.
"The problem with defending the purity of the English language is that English is about as pure as a cribhouse whore. We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary."
Picture of the cover, with text in Spanish: https://es.wikipedia.org/wiki/%C3%81lgebra_de_Baldor
I've never been good at reading music notation, so those sections of the book (which I need to re-read sometime soon) are glossed over, and I feel I'm missing out.
I'd recommend https://www.readthesequences.com/ as something to test the waters; if this is your style, then you'll enjoy lesswrong.com .
For example, if the outcome of the election has Candidate X ahead of Y by D votes (D = X - Y) and there are less than D provisional ballots to count, is there a reason to count them?
(This being for a simple one-post election; if there are multiple posts where proportion of votes allows for a seat being won/lost by a party, the formula would have to be different.)
To me, this said more about how casual users think about drugs than about what they believe regarding Army regulations; a disparity between these outlooks that the Army (represented imperfectly by this drill sergeant) was unwilling to budge on.
My apologies for the late reply.
However, we've seen how well that has handled the improper behavior of priests.
What tends to happen in the US is that issues tend to get ignored at the local level, and they basically go up the chain of authority until it falls in the hands of the federal government, not because they want to handle the issue, and not because they're the most capable, but because they can't pass the buck any further. And when the issue isn't handled, it's easier to blame the federal government than to identify the inability/unwillingness of local authorities to do it themselves.