474 karma · joined February 18, 2015
https://twitter.com/jms_embedded
- Pink Floyd, Brain Damage followed by Eclipse
- Queen, We Will Rock You followed by We Are the Champions
- Yes, Long Distance Runaround followed by The Fish (Schindleria Praematurus)
- the different movements of Beethoven's Fifth Symphony
Bitbucket has been rotting since Atlassian bought them, and now there's really no "killer app" for Mercurial hosting. There are Mercurial hosting services out there, but nothing anywhere close to Github/Gitlab.
My tool for managing "information overload" is to be more picky about what I choose to read in the first place (HN and Reddit definitely help), and to deal with the fact that I can't read everything. I'd rather read 20 articles in full than read 200 articles in soundbite form. My brain isn't going to retain the information anyway, so I can only hold onto the coherent stuff.
I'm still waiting for a good e-reader with enough resolution and update speed to facilitate rapid scanning. Paper is amazingly fast to read; I can scan through a newspaper much much faster than the equivalent electronic form.
A "Reader's Digest" abridged version of the New Yorker misses the point.
If your attention span is in a TL;DR mood, don't read the New Yorker.
My favorite articles in past years:
- http://www.newyorker.com/magazine/1992/03/02/the-mountains-o... - http://www.newyorker.com/magazine/1987/02/23/atchafalaya
FTFY
In any non-brain-dead system, angular frequency (rad/s, degrees/s, rev/s, RPM) has to be accounted for differently than 1/time. This unfortunately won't prevent automated systems from accepting "sin ft" where f is in Hz (incorrect) rather than "sin wt" where w is in rad/s (correct), but there's really no way to handle this automatically.
Not sure how to explain the "zen" of radians; it's kind of the angular equivalent of "e" in natural logarithms. People who first learn logarithms say WTF, what is this "e" thing? why not just log10 everywhere? But when you get into calculus you find that "e" is the only log base that doesn't introduce extra baggage; if you take the derivative of a^x the result is ln a * a^x, and if you take the derivative of log_a x = ln x / ln a, you get 1/(x ln a). In both cases the "ln a" term is 1 only when a = e.
For radians, the functions sin wt and cos wt (w = "omega") have derivatives of w * cos wt and -w * sin wt when wt is measured in radians. Otherwise there is an additional constant of proportionality that depends on the angular "unit". (the term "unit" in quotes because it's still dimensionless but just related to radians by a dimensionless scaling factor, like 180/pi for radians <-> degrees or 1/(2*pi) for radians <-> revolutions.
um.... how about a good command-line UI that doesn't require remembering all sorts of crazy command line switches?
Other major competitors are NXP/Freescale, ST, TI, and Infineon.
>People in this thread keep talking like this is the "death" of Atmel. I don't see it changing much other than being guided by Microchip management to meet higher profit margins. If you think that Atmel's compilers and IDE's are going to be dropped overnight in favor of MPLAB X and Microchip compilers, you are almost surely mistaken; there's a big gap between architectures so it would be a lot of work to get Microchip tools to support Atmel parts.
nope, just optimization.
>Now that they won't be around
People in this thread keep talking like this is the "death" of Atmel. I don't see it changing much other than being guided by Microchip management to meet higher profit margins. If you think that Atmel's compilers and IDE's are going to be dropped overnight in favor of MPLAB X and Microchip compilers, you are almost surely mistaken; there's a big gap between architectures so it would be a lot of work to get Microchip tools to support Atmel parts.
I'm barely up to speed with C++11 and recognize the && move syntax but I've never seen "using" and don't understand the author's intent.
My father once got stock options from Nortel Networks right before the dot-com bubble bust (sometime between 2000 and 2002). He exercised them, sold some to buy a car, but held onto the rest, had to pay a hefty tax bill, and then when the price nose-dived, they were worth less than what it had cost him in taxes.
Why not just use continued fractions directly? https://en.wikipedia.org/wiki/Continued_fraction#Calculating...
e.g.
p = 3.141592653589793
= 3 + 1 / 7.062513305931052
= 3 + 1 / (7 + 1 / 15.996594406684103)
= 3 + 1 / (7 + 1 / (15 + 1 / 1.0034172310150002))
= 3 + 1 / (7 + 1 / (15 + 1 / (1 + 1/292.63459087501246)))
so the continued fraction coefficients are 3;7;15;1;292 (see http://mathworld.wolfram.com/PiContinuedFraction.html or https://en.wikipedia.org/wiki/Continued_fraction#Continued_f...) and can be converted to rationals at each step using the semiconvergent recursion formula https://en.wikipedia.org/wiki/Continued_fraction#Semiconverg... to get approximants 3/1, 22/7,(3 + 15 * 22) / (1 + 15 * 7) = 333/106,
(22 + 1 * 333) / (7 + 1 * 106) = 355/113,
(333 + 292 * 355) / (106 + 292 * 113) = 103993/33102,
etc.