HN user

adiM

301 karma
Posts3
Comments152
View on HN

Don't have a reference on the top of my head, but the main idea is as follows:

The definition of MGF of a random variable with PDF f(x) is

E[e^{sX}] = int_{-inf}^{inf} f(x) e^{sx} dx

The definition of Laplace Transform of a signal f(t) is

F(s) = int _{-inf}^{inf} f(t) e^{-st} dt

Hence MGF is 'flipped' Laplace transform

Now for we know that the MGF of sum independent RVs is the product of their MGFs. So if we take the inverse Laplace transform, the density of the sum is convolution of the individual densities.

Similarly, if we take derivative in frequency domain, that is same as multiplying in time domain: So M'_X(s) is the 'flipped Laplace transform' of x f(x) and its value at s=0 is the 'DC-gain' of the signal.

And so on... the properties are all immediate consequence of the definition of MGF and since the definition is essentially the same as that of a Laplace transform , there is an equivalent property in signals and systems as well.

One can also think of probability generating functions as (flipped) Z transforms, moment generating functions as (flipped Laplace transforms), and characteristic functions as Fourier transforms of the respective PMF/PDF. Lot of their properties then follow from simple properties of Signals and Systems.

I found their reviews to be a bit too rosy and not highlighting the weak points of the products properly. But I do not find them to be biased.

The most honest source is Voja's My Deep Guide Channel on YouTube. Very detailed and informative reviews.

It will be fascinating if there were a way for you to record the actual time when you do eat lunch (without the time being revealed to you; say a Rasberry Pi where you press a switch to record current time but it has no display). I am curious how much our body clock synchronizes with real time. I see that in my kids, who don't yet know how to read time. But they are hungry right at noon and 7pm, and will get cranky if they don't get something to eat within 15 min of that. Do adults retain such strong internal body clocks?

LaTeX for tabletop 3 years ago

I use ConTeXt, and it is relatively simple to get each environment to whatever you want (plus you can code everything in Lua).

LaTeX for tabletop 3 years ago

I often wonder, if one is going to add such tags anyways, why not directly use LaTeX, ConTeXt, XML, ... for example

\begin{conccurrent}{Hacker News Thread} I'm writing in an HN thread. \end{concurrent}

is not so different from the markdown source. All the benefits you mention are simply from using semantic markup.

Is it possible to generate the planner for A6X. The customization options do not seem to mention page size.

I am a long time Linux desktop user (20+ years) but am still forced to keep a copy of windows around to use Adobe Acrobat for filling and signing forms. I have tried various Linux pdf applications (including commercial ones), using Adobe Acrobat via wine/crossover but haven't found a solution that works across the board. That is the only holdout from not having to interact with windows/mac.

The difference with caste is that caste is inherited. If you wear rose-coloured glasses, you can assume that hiring at FAANG is merit based and a non-FAANG can move to FAANG if they want. That’s not possible with caste.

I had a similar setup for creating PDF files from RSS feeds (https://github.com/adityam/rss2kindle). I was simply downloading the webpage, using pandoc to convert HTML to ConTeXt, and typesetting it via ConTeXt (this gave me a lot of control over the formatting and took care of including external images as well). I had a separate script which emailed the PDF to my kindle address.

The script worked reliably for multiple years until I stopped using the kindle. I now have a SuperNote A6X and both pandoc and context have improved significantly in the last decade, so I should give this another shot.

This is precise the argument at the penultimate time-step in the dynamic programming solution of the multi-round case. The other interesting aspect is that the expected returns are logarithmic, i.e, with y = (2p -1) x

    p log(x+y) + (1-p) log(x-y) = log(x) + C
where C is the Shannon capacity of the binary symmetric channel with cross-over probability p.

By the same argument, the expected wealth after T rounds will be

    log(x) + T C
So, in addition to the optimal strategy, we have also derived the rate of growth of wealth. This is also in tune with the motivation of Kelly's paper where he was showing a relationship between Shannon capacity and optimal gambling (without using a dynamic programming argument)