Some health updates, and a plea for help.

March 26, 2018

Regular readers of this blog, and people who know me through my Stack Exchange activities, may be quite aware of my frequent hiatuses from the Internet, due to my poor health.

About a few days ago, I was able to scrape enough money for a routine checkup. The doctor who was looking at me, based on my past records, is aware of problems with my liver and nervous system.

Due to me being in slightly less good shape than my last checkup, he has wanted me to get additional tests, and to take on a new medicine regimen.

The catch is that these cost way more than the (already thinly stretched) budget I had for health stuff. Not having insurance of any sort definitely did not help matters.

So, I am going to need to ask for help from kind people again.

Currently, I reckon that I need at least $250.00 for both the additional lab tests, and two weeks’ supply of the medicine. (I was able to bring down that initially higher cost estimate by asking around for labs with cheaper rates, and looking around for generic equivalents of some of the drugs I was prescribed to.)

Still, $250.00 is a bit beyond my reach with the money I have. This is why I am asking if people can chip in some spare change. (Please, contribute only if you are comfortable with doing so.)

People who still have my GMail address can contact me for additional details; people who don’t have my address, but wish to help, can leave a comment on this blog post with your e-mail address, and I’ll drop you a line.

Any contribution, no matter how little, would be very much appreciated.

~ Jan

Addendum, 03/28/2018

I am both overwhelmed and overjoyed by the many e-mails I have received regarding this matter. It is also because of this that I apologize if I am unable to respond promptly; rest assured that I will write a response to everyone.

Additionally, I have already received word that some donors have already sent money my way; please send me the amount you sent so I can track my receipt of the amount, and can thank you properly. I estimate based on the usual delays in processing wire transfers that the first few donations will arrive in a few hours.

Thank you very much for the show of support!

Addendum, 03/31/2018

I am amazed that I am still getting a lot of e-mails about this; I hadn’t realized that that many people care. Now, as it always has been since my first time on the Internet, I am deeply in debt to the “kindness of strangers”. I only hope I can compensate for this someday.

In the interim, prominent user halirutan of Mathematica Stack Exchange has set up a funding page on my behalf:

Help Jan (J.M.) to receive his medical treatment

where you can direct your contributions, if you prefer that method. Otherwise, please leave a comment on this entry so I can e-mail you with the necessary details.


A health status update

April 12, 2018

I will try to do less of these non-math related posts, since this really isn’t what I intended this blog for. Nevertheless, I am very thankful for the outpouring of help I had gotten when I mentioned my condition in a previous entry.

Now, I was able to fetch my lab results to take to my doc today (all while in the middle of preparing to move to the province). I was supposed to have my check-up yesterday, but it got postponed.

Good news first: the problems with my liver (basically, decreased functioning, as shown by an abnormally high level of liver enzymes), and the problems with my nervous system (the migraines, tremors, etc.) are unrelated. More luckily, the problem with my liver was caught just in time before it could get worse; my doctor is still a bit peeved that I took so long to get tested (I couldn’t exactly tell him I was financially short).

The bad news, however, is that my doc decided to add two new drugs to my regimen. My doctor was reluctant to prescribe the medicine for my tremors until he was sure about the results for my liver tests; now that things have been cleared up, he has given me this new drug. The other new pill is to help treat my liver problem, in addition to the medicines I was already taking previously. I need to take these for three months, up to July.

I am glad that the fundraising effort by halirutan, as well as the assistance given by other donors, has managed to offset my medical costs, but these new prescriptions are now a bit of a problem. (I managed to find generic versions of these new prescriptions, but they still are a bit costly.)

So, I am asking again for some help. As always, please give only what you are comfortable with. Also, a common sentiment I’ve seen in some donors is that they felt 20 dollars or euros was a small contribution, even though these correspond to sizable amounts here. Therefore, please do not feel bad about these amounts; they still help in getting me treated, hopefully so that I can go back to being healthy enough to help even more people.

Thanks for reading.

~ Jan


April 12, 2018

As some of you might know, I am moving out of Manila in a few days. This is to help defray medical costs (the meds I am taking are rather pricey), since my rent in Manila comes to around $180.00 (utilities not included), while renting in the province is comparatively cheaper at $40.00. That is, instead of money going to rent, it can go to doctor’s visits and needed pills instead.

Read the rest of this entry »

Yet another little personal update

March 5, 2018

Some of y’all may have noticed my increased activity on this blog and in Stack Exchange. This is going to remain a pretty rare occurrence; I will say that I have been ill since October of last year, and have yet to fully recuperate.

In fact, the last two posts were drafts that had been sitting around for a while, and were edited only slightly before posting. Vertigo attacks have compelled me to only sit in front of the computer for no more than 10-15 minutes at a time, before I need to lie down. Because of this, I have not been able to write that much new content this year. (This is not to mention other maladies that all conspire to keep me bedridden for hours at a time.)

Even though I am still in poor health, I remain cautiously optimistic, that one of these days, my condition might improve, and I can go back to being slightly less sporadic in updating this blog.

Here’s hoping.

~ Jan

On emulating the “parula” colormap in Mathematica

March 5, 2018

MATLAB’s current default colormap, after years of (ab)using jet, is called parula. This colormap was named after a gaudy tropical bird.

Read the rest of this entry »

A short note on the general Dixon elliptic functions

March 5, 2018

In an 1890 paper, A. C. Dixon discussed a pair of elliptic functions based on the Hessian cubic

\displaystyle c^3+s^3-3\alpha c s=1

Read the rest of this entry »

A short note on the generalized “smoothstep” function.

August 29, 2017

The Wikipedia page on Renderman’s “smoothstep” function,


features an entry on higher-order generalizations of this function, where each succeeding member has more of its higher order derivatives being set to zero at the endpoints 0 and 1.

Among other things, a formula for these generalized functions is presented, which I find rather unwieldy. I have thus written this short entry to present a much conceptually simpler formula.

One can use e.g. confluent divided differences to derive the following (IMNSHO cleaner) formula for n-th order smoothstep \mathrm{S}_n(x):

\displaystyle \mathrm{S}_n(x)=x^{n+1}\sum\limits_{k=0}^n\binom{n+k}{k}(1-x)^k

Here is a Mathematica demonstration of this identity for the first 21 members:

And @@ Table[InterpolatingPolynomial[{PadRight[{{0}, 0}, n + 2],
                                      PadRight[{{1}, 1}, n + 2]}, x] ==
             x^(n + 1) Sum[Binomial[n + k, k] (1 - x)^k, {k, 0, n}]
             // Simplify, {n, 0, 20}]

which should yield True.

In implementations for other languages (e.g. C++, JavaScript), one would want to use a suitable modification of Horner’s rule to evaluate the polynomial factor expressed in terms of 1-x, as well as exploiting the recurrence


for generating the coefficients.