HNHacker News
TopNewBestAskShowJobs

adiM

315 karma · joined May 16, 2011

submissionscomments
adiM··on The Kelly criterion: How to size bets (2019)
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)
adiM··on The Kelly criterion: How to size bets (2019)
We can consider the limit T -> infinity to recover the setting with infinite number of bets (but need to look at the rate of growth, otherwise multiple strategies can give infinite returns).
adiM··on The Kelly criterion: How to size bets (2019)
In the result for multi-round bets, if we take the betting horizon T=1, we recover the result for a single bit. But the other way round is not obvious.
adiM··on The Kelly criterion: How to size bets (2019)
An alternative derivation using dynamic programming for multi-round bets: https://adityam.github.io/stochastic-control/mdp/optimal-gam...
adiM··on Adobe tricks users into a 12 month contract
Which often means that there was some dark pattern in the offer which violated Quebec's law (or possibly they did not want to bother dealing with Quebec's language law...all content must also be available in French...which can be a deterrent as well)
adiM··on _Application.Run(Object, Object, Object, Object, Object, Object, Object, Object
And, for paternal uncles, different words to indicate if they are older or younger than your father.
adiM··on Grok {Shan, Shui}*: Advent of understanding the generative art
Is your C code available? I could not find it in the linked twitter thread.
adiM··on Show HN: SlikSafe – A decentralized, end-to-end encrypted alternative to Dropbox
Any plans for a Linux version? That’s a bit selling point of Dropbox for me as it is one of the few syncing services that have a Linux client.
adiM··on E-Ink Magic Calendar that runs off a battery powered Raspberry Pi
This is very interesting. Do you have a write up on the procedurally generated landscape part?
adiM··on Dropbox Capture
> To get started, visit dropbox.com/capture on your Windows or macOS computer to download the app.

So, no Linux client. Dropbox is one of the few companies which had a proper linux client for syncing files. It is a pity that they are now releasing products which do not have linux support.

adiM··on Fortran Web Framework
I teach an undergraduate control course that uses Matlab. I'd love to use Julia (I use Julia for all my research) but last time I checked, it was not straight forward to interface to hardware using Julia (our labs use Matlab to control motors). There is a control systems package for Julia but it is no where as complete or polished as the Matlab control systems tookbox (or even the control systems package in octave).
adiM··on Writing Programs with Ncurses
I installed via AUR (which uses the right github link) and didn't notice that I was bookmarking the old version of the project. Thanks!
adiM··on Writing Programs with Ncurses
I recently came across YAD (https://sourceforge.net/projects/yad-dialog/), which is a improved version of dialog. Allows you to create a simple GUI, where all the entries are written to STDOUT. So, you can interface with your favorite language. For examples, see this page: http://smokey01.com/yad/
adiM··on Blackjack Probabilities, Card Counting – Calculation and Simulation
Thanks for the reply. I may still use it for simple examples (as it does fit all other things that I was looking for)
adiM··on Blackjack Probabilities, Card Counting – Calculation and Simulation
Really interesting programming language. I have been looking for a easy language to include simulation examples in my course notes, and EasyLang looks almost perfect. Only missing feature for me is support for matrix algebra (multiplication, inverse, A\b, eigenvalues, etc). I don't know much about web assembly and I don't know if there is anything equivalent to blas for web assembly which you could interface to.
adiM··on The LaTeX Font Catalogue
Aesthetics of a fonts is such a personal feeling. And fonts feel different on screen vs print.
adiM··on The LaTeX Font Catalogue
In the true nerd spirit, shouldn't you check the pdf metadata to see if the resume was created by tex. I use TeX (well ConTeXt but not LaTeX, but that is a minor difference) for my resume, but without using CM or LM fonts. With Luatex, you can use any opentype font.
adiM··on The LaTeX Font Catalogue
Motion Mountain book: https://www.motionmountain.eu/index.html (their certificate seems to have expired).

PDF copies also available on scribd: https://www.scribd.com/lists/2705622/Motion-Mountain-Collect...

adiM··on The rise of E Ink Tablets and Note Takers: reMarkable 2 vs Onyx Boox Note Air
Supernote does not do too much.

It has an excellent note taking app, a quirky way to create word docs, a calendar, ability to read and annotate pdf/epub, an email app (which I found impossible to set up), and kindle. That's it. You cannot install/side-load apps.

So, it is a perfect device for no distraction note taking.

adiM··on NumWorks – An open source Graphing Calculator
Intriguingly, log is computed by first doing a prime factorization. Perhaps that gives slightly more precision, but I always thought that prime factorization is way harder than computing log (say via an approximation of the infinite series).
adiM··on Google AI leader has defected to Apple
This is a different Bengio: Samy, who is Yoshua's brother.
adiM··on Soviet children’s books became collectors’ items in India
Thanks to the comment by yantrams:

https://mirtitles.org/2012/09/05/little-mathematics-library-...

adiM··on Soviet children’s books became collectors’ items in India
Thanks!!!!

I didn't remember the name of the series and this is it. Found my favorite logarithm book:

https://mirtitles.org/2012/09/05/little-mathematics-library-...

And my memory was hazy. These are 70-80 pages rather than 20-30. They seemed like short books when I was reading them :-)

adiM··on Soviet children’s books became collectors’ items in India
I remember these short 20-30 page math books written for 6th-8th grade students by prominent Soviet mathematicians. Extremely clear exposition. About 30 years later, I still remember the contents of the book on logarithms, which gave geometric interpretation of log as the area under the curve of 1/x, and used that to show why log must satisfy properties such as log(ab) = log(a) + log(b). As a 12 year old, my mind was blown away and I read all such books that I could find, which lead to a lifelong passion for mathematics.
adiM··on Improving Shell Workflows with Fzf
For something similar to your xrandr example in i3m, I prefer to use rofi, which gives you an interactive menu in the center of the screen:

Link to Rofi: https://github.com/davatorium/rofi

Examples of how I use rofi:https://adityam.github.io/linux-blog/post/rofi-selectors/

adiM··on My Life in E-Ink
With an android tablet like Boox, you can install any android HN client.
adiM··on My Life in E-Ink
One of the next few updates of SuperNote is supposed to have a working markdown editor ... not sure how pen input would work.
adiM··on My Life in E-Ink
The OP mentioned Syncthing .. I have a similar workflow where I use dropbox to sync(with dropsync installed on boox)
adiM··on Dropbox to cut 11% of its global workforce
The only trouble is that the last time I checked there was no sync client for Linux.
adiM··on Ask HN: What are your best purchases in 2020?
Depends on your needs. I am an academic and spend a large part of my day reading math heavy papers and taking notes as I read. A large screen eink tablet is more useful to me than a good graphics card :-)
← PreviousPage 2 of 6Next →