Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jason_s
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
jason_s
11y ago
PIC is not the name of the company. It's Microchip Technology, Inc. You seem to be upset about something, since I don't think you have the facts straight about the XC series of compilers; the source code for XC16 and XC32 is poste
182.
▲
by
jason_s
11y ago
Чебышёв!
183.
▲
by
jason_s
11y ago
Heh. Two immediate comments: - It's not as bad as that. Chebyshev approximation + other techniques for evaluating mathematical functions are pretty easy to learn. - You're absolutely right. Welcome to mathematics! The mountain goe
184.
▲
by
jason_s
11y ago
is there a way to have Pade approximation but with continued fractions, so you just truncate the series as necessary? I tried looking into this a few months ago, but my head just started to hurt.
185.
▲
by
jason_s
11y ago
>Well then go lobby for creating dsPIC support in LLVM! Um. Been there, done that. Well, you see, [: discussion of internal politics deleted :]
186.
▲
by
jason_s
11y ago
well, I work for Microchip, so I won't be writing code for other manufacturers' processors, at least not for my day job :-)
187.
▲
by
jason_s
11y ago
I've heard of it. Rust is probably the most promising to me. Unfortunately just because a language exists, doesn't mean it is usable on a particular embedded system architecture. The processor core and system libraries need suppor
188.
▲
by
jason_s
11y ago
I agree with Jacobolus --- even with say, 40 points and a 5th order Clenshaw/Horner rule, you have a 40x5 matrix; parallelize along the long dimension.
189.
▲
by
jason_s
11y ago
>The author of this blog post might as well have used Clenshaw’s algorithm So is that essentially sort of like Horner's Rule but for Chebyshev polynomials? e.g. instead of a0 + (a1 * x) + (a2 * x * x) + (a3 * x * x * x) + ... , use
190.
▲
by
jason_s
11y ago
>This blog post’s statement that “higher degree polynomials can have problems with numerical accuracy” turns out to be a myth (author here) I should have qualified or corrected that statement in my article. There are a few reasons I rare
191.
▲
by
jason_s
11y ago
The author (me) frankly hates C and C++. Haven't touched it for use on a PC since 2009. However I use it every day for my job working on dsPIC motor control, because I have no better options. When I am trying to teach someone about alg
192.
▲
Lessons Learned from Embedded Code Reviews
(embeddedrelated.com)
7 points
by
jason_s
11y ago
|
0 comments
193.
▲
by
jason_s
11y ago
We would be absolutely stuck w/o conda's environment manager -- I can make sure we use exactly the same versions of the packages across our whole team.
194.
▲
by
jason_s
11y ago
I hate the new @ operator for matrix multiplication, it just looks ugly. (And I use numpy matrix math all the time.) But whatever.
195.
▲
by
jason_s
11y ago
interesting -- never heard of Estrin's method; thanks!
196.
▲
by
jason_s
11y ago
DM = ?
197.
▲
by
jason_s
11y ago
No mention of Padé approximants? I'd just use a Chebyshev approximation transformed into a Padé approximation, then perturb the coefficients to optimize maximum error.
198.
▲
by
jason_s
11y ago
in [part I]( http://www.ebaytechblog.com/2015/05/01/fast-approximate-loga... ) the author argues against using [1,2) because it causes large relative error near x=1 (since log x = 0 there). I would disagree (wh
199.
▲
by
jason_s
11y ago
>if smell_k has been introduced in the commit c_1 where f_j has been added to the repository, then c_1 is the smell-introducing commit LOL! I love it, they're trying to quantify this stuff.
200.
▲
by
jason_s
12y ago
>most people, like the author of this article, spend the bulk of their time up-front: post a lot of answers, enjoy the experience, get tired of it, pull back to only answering the occasional post that piques their interest. I didn't