AH2mdte8kPnJS's comments

AH2mdte8kPnJS | 6 years ago | on: Fuzzy Logic

Consider the likelihood of a dice that can land on both its ”1” side and its ”6” side at the same time?

Assuming that the die is fair, this is not possible in the real world.

Bayesian probability [1] states that this is not possible as expected.

``` P(land1 ^ land6) = P(land1) x P(land6 | land1) = 1/6 x 0 = 0 ```

However, fuzzy logic [1] results in an unintuitive result.

``` T(land1 ^ land6) = min(land1, land6) = min(1/6, 1/6) = 0 ```

[1] https://www.mathsisfun.com/data/bayes-theorem.html [2] http://www.sfu.ca/~jeffpell/papers/FuzzyLogic77.pdf

AH2mdte8kPnJS | 6 years ago | on: 100% winrate trading strategy open sourced?

TL;DR Title is misleading clickbait but the semi-interesting part is:

> Backtesting results [of the backtesting strategy referenced] look absurd: 100% profitable. But if you change any of the many parameters in the Settings popup, they will turn into disaster. It means, the rules of this strategy are very fragile. Don't trade this! Remember about backtesting rule #1: past results do not guarantee success in the future.

AH2mdte8kPnJS | 6 years ago | on: Handy Keymaps in Vim

I loved this but wanted to generalize it a bit to clean it up and make it portable across different computers.

By no means am I a vimscript expert so any improvements welcome. (I've defined g:settings.kanban_board_path above).

    function! g:Kanban_file(stage)
        return g:settings.kanban_board_path . a:stage
    endfunction

    let $KBsoon=g:Kanban_file('soon.md')
    let $KBdoing=g:Kanban_file('doing.md')
    let $KBtoday=g:Kanban_file('today.md')
    let $KBdone=g:Kanban_file('done.md')
    let $KBarchive=g:Kanban_file('archive.md')
    " Close board tab

    map <leader>bc :tabclose<CR>

    " Main board: soon, doing, today, done

    map <leader>bb :tabnew $KBsoon<CR>:vnew $KBdoing<CR>:vnew $KBtoday<CR>:vnew $KBdone<CR>

    ...

AH2mdte8kPnJS | 7 years ago | on: Losing 100 pounds in 276 days

What about going the other way - gaining weight? Does anyone have tips or reccomendations on how I can gain weight. I'm 6'3" and 160lbs and have always wanted to gain weight but I struggle with consistently eating 5 meals a day.
page 1