jacobmartin
And testing just now, I can't even trigger SIGFPE with division by zero (integer or float). I guess all of these exceptions are "caught" now.
(edit), for instance this gives me output of "1":
#include <math.h>
#include <fenv.h>
#include <stdio.h>
int main(void)
{
double a = sin(INFINITY);
printf("%d\n", fetestexcept(FE_INVALID));
return 0;
}Just thinking about this makes my spine straighten and my fingers "get ready" to go to the home row :p
We must have used the same application at my school. Though I think I eventually got to 75wpm with no mistakes (or whatever was allowed by the program--three mistakes a minute sticks in my mind but who can remember). It served me well. I live-LaTeXed my lecture notes and homework in college.
I unlearned the habit of backspacing to my mistake, correcting, and retyping. That has served me well.
I wish we had spent more time on accurately typing \ | ( ) , [ ] { } etc.† It would help me now as I still make simple mistakes with that. On the other hand, it only would've been useful to a handful of us.
† In fact, thinking about this brought up the very nostalgic memory of buying C++ for Dummies and the first program listing in it having a vertical pipe character. I had never seen it, and thought it was an ell at first. Well, that didn't compile, so maybe it was a 1? I didn't know! And the listing in the book had an unbroken pipe but my keyboard had a split one, so I couldn't tell these were the same character.
Eventually, I hit every key on the keyboard and then went back through them pressing shift until I found the right character! That was a feeling of enlightenment!
Not the point of the article but this is great news that I learned just now. I can finally upgrade to aarch64 chrome on my Raspberry Pis.
(Former Catholic but not a theologian or anything. See discussion here on how canonization is not a declaration of virtue: https://www.newadvent.org/cathen/02364b.htm)
> A story, with different versions, recounts how Thales achieved riches from an olive harvest by prediction of the weather. In one version, he bought all the olive presses in Miletus after predicting the weather and a good harvest for a particular year. Another version of the story has Aristotle explain that Thales had reserved presses in advance, at a discount, and could rent them out at a high price when demand peaked, following his prediction of a particularly good harvest. This first version of the story would constitute the first historically known creation and use of futures, whereas the second version would be the first historically known creation and use of options.
https://en.m.wikipedia.org/wiki/Thales_of_Miletus
Aristotle clarifies that Thales supposedly predicted the weather by using astrology:
> Thales, so the story goes, because of his poverty was taunted with the uselessness of philosophy; but from his knowledge of astronomy he had observed while it was still winter that there was going to be a large crop of olives....
https://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:1...
But I think it's fairly clear that the point wasn't to be attractive.
Plus, I doubt most people would really agree with de brevitate vitae. It's the equivalent of "grind culture" but from the first century. Amusing and interesting but probably not congruent with now most people want to spend their lives. (No shame from me if you do want to live your life that way, but it should just be known that this is far from a neutral perspective.) For a more balanced view of otium (pleasure, relaxation, opposite of negotium, business), I'd recommend the letters of Pliny the Younger.
There's also a Haskell version if you'd prefer: https://www.stephendiehl.com/llvm/
Idk how to do this in python as I'm not really good with it, but in C, to make your compiler a JIT, you would `mmap` a region as writeable, write the machine code to it that you already know how to generate, `mprotect` it as PROT_EXEC instead of PROC_WRITE, cast the pointer to the region to a function pointer, and then call it. These functions may be available in the python sys package but I don't really know.
I've implemented a "JIT" that takes machine code as hex and does this. Warning: it's complete garbage with no error checking but is a good proof of concept. https://gist.github.com/martinjacobd/3ee56f3c7b7ce621034ec3e...
gcc fp.c -o fpThere was a post on /r/softwaregore recently where someone showed a progress bar on Steam that said "57/100 achievements! Game 56% complete" or something like that. I snarkily commented something about naively using floor() on floating point and then moved on.
But then I thought that that may not have been the problem, fired up emacs and wrote a C program basically just saying
printf("%f\n", 57.0 / 100.0 * 100.0);
To my surprise this correctly gave 57.000000, but in python, 57 / 100 * 100
Gave 56.999... anybody know what was up here? Different algorithms for printing fp?The virtue ethicist believes it is bad to be in a habit to lie because being predisposed to lying is opposed to the virtue of the truth. We've all known people who lie by habit and they are unpleasant and vicious to be around. I don't know if most virtue ethicists (who don't also fall into the natural lawyer camp, below) would say it is per se bad to lie, but most would say it is vicious.
The natural lawyer believes that speech has as its natural end telling the truth and therefore it is contra naturam to lie. See the almost-impossibly-extended discussion here, for that: https://www.newadvent.org/cathen/09469a.htm
For all of these groups, there has variously been admitted something like an "equivocal statement"---a statement which has some interpretation that is technically true, but not the interpretation that the speaker knows will be taken by the listener as a falsehood. For example, my friend invites me out on Friday and rather than saying I'd rather be at home, I say, "I have something going on that night." He takes it to mean that I have other plans, but I don't. But technically, breathing is "something going on" so I haven't lied. (Whether your social relationships will stand your doing this is another matter ;))
I'm personally fall in something like the virtue ethicist camp, but I do believe sometimes, in justice, a lie must be said, and not all of those situations can be covered by an equivocation.
It have noticed it usually sounds clunky in English, though it was a favorite of Latin and Greek authors. For instance, "Et lux perpetua luceat eis," is usually translated, "And may perpetual light shine upon them." But in Latin, the same root is in the subject and the verb. "And may perpetual light light them," is grammatical and (mostly) semantically equivalent in English. But it sounds clunky and looks like a typo :P
My uninformed supposition would be that it sounds clunky in English because English has less variation in word morphology, so the words are too similar when they have the same root.
As for the integer example, the integers are all easily (finitely) constructed (successors to 0 and their additive opposites), so it isn't a consistent concept to say "This is an unconstructable integer." Sets, on the other hand, are not necessarily always constructable, unless you only take the constructivist axioms.
But it isn't, in any case, an integer.
Because the integers are defined as the finite successors to the number 0 and their additive opposites. See, for instance, the construction section of: https://en.m.wikipedia.org/wiki/Integer
You can start talking about numbers that can't be constructed in this way, but then you've ceased to be talking about the integers.
There is about 10x more unesterified (absorbable) cholesterol secreted into bile than one typically eats in a normal day.
> Eating cholesterol has very little impact on the cholesterol levels in your body. This is a fact, not my opinion. Anyone who tells you different is, at best, ignorant of this topic. At worst, they are a deliberate charlatan. Years ago the Canadian Guidelines removed the limitation of dietary cholesterol. The rest of the world, especially the United States, needs to catch up.
https://peterattiamd.com/the-straight-dope-on-cholesterol-pa...
The only caveat I would is that there is weak evidence for a "dietary cholesterol hyperresponder" phenotype that is more sensitive to dietary cholesterol than the general population.
I probably have (heterozygous) familial hypercholesterolemia, so my diet (even saturated fat) unfortunately doesn't influence the (very high) levels I have anyways. I'm envious of people like you, for sure.
But I will say that personally in years of playing the organ and asking random churches (including conservative ones) if I could borrow their organs on a quiet weekday, my bisexuality has never come up. And I didn't have to be friends with the choir director either. Once, I attended one Mass and just went up to him afterwards to thank him for playing (it was beautiful) and ask if I could ever practice with it.
I know it's different from many places as I'm in a big city, but at least four organists whom I've known personally are gay. Many churches don't even require you to be religious even to be employed to play the organ there. Randomly on an airplane, I spoke with an atheist music professor who was choir director/organist at a congregationalist church. They didn't seem to care. So I doubt it'd be a big deal if you just want to practice. The choir director at my current (liberal) parish never takes Communion--I don't know if he is personally religious one way or the other, but it seems to be little more than a job to him.
Also, you should try to find some churches where there is more than just "drab church hymns." 20th and even 21st century voluntaries, anthems, and choral preludes are alive and well in certain segments of Christendom. See for instance the churches that Bálint Karosi plays in. I doubt you'd describe his music as "drab." My parish runs the gamut from Palestrina to something from the 20th century at least every Sunday. Just my 2 cents.