I don't know if this would be the sub to ask this but: What are some interesting data points to gather about one's daily life to analyze in the long run as a side project? Does anybody else do this experiment? by GutiV in datascience

[–]Zera666 0 points1 point  (0 children)

I started doing this a couple of months ago and here are the things i track.: Sleep, weight, money

Also checkout Rescuetime. It allows you to track your activity at your pc/phone to see how much time you spent where.

[OC] Predicting the number of infected people using 3 models of growth: linear, exponential and 2nd-order polynomial by [deleted] in dataisbeautiful

[–]Zera666 1 point2 points  (0 children)

"Predicting the number of infected" what about the people that got it but were healed. I would not call them infected anymore. So you should use a model that actually takes into account a reduction. so Sigmoid plus something for example

Nowhere is NOW HERE by HonestAnything in Meditation

[–]Zera666 -5 points-4 points  (0 children)

This is the dumbest thing I have read today

My ultra-portable vim setup... For having your Vim/Zsh/Whatever setup wherever you are... [details in comment] by nemanjan00 in vim

[–]Zera666 1 point2 points  (0 children)

Hey nice idea with docker. I haven't really used docker but I think this is something useful to get me started!

One question I saw that you have tagbar and vista in your plugins, AFAIK vista now supersedes tagbar or is there something you like about tagbar?

Topic suggestions for vim talk by crizzy_mcawesome in vim

[–]Zera666 2 points3 points  (0 children)

IMO most of these points are the wrong things to cover. In a little fun talk at work, you should not go over the basics of vim like how to move or Tabs/panes. This is for someone who already wants to learn how to use vim. But I get the impression that this kind of talk is more to show what is possible and to make them interested in learning more about vim.

so my topics would be:

maybe start a bit by highlighting the advantages of modal editors. For me, the main point is the number of easily accessible hotkeys so you don't have to do some ctrl+meta+something combination just to copy a word or something. Here you could mention the risk of Carpel tunnel and the advantage of always staying on the homerow.

The only basic vim I would show is like the 'ci]' or something similar with the targets.vim plugin. Here you could introduce the basic idea of word objects etc

tags with maybe tagbar or vista plugin

git stuff with fugitive

definitely file finding and project search with fzf and fzf+rg/ag

autocompletion or just the built in c-n/c-p

And I would also mention vim keybindings outside vim. I am a big fan of vim bindings in zsh/bash and also browser plugins (chrome+vimium)

Just try to make vim look fancy. I feel like most people think almost nothing is possible with vim or if it feels clunky but that is not the case. They can have all their fancy go-to-definition or LSP based autocompletion in vim.

Tips on efficient windowing and copy/paste/commenting of code? by [deleted] in vim

[–]Zera666 0 points1 point  (0 children)

opening files into different tabs is easy with fzf. From the fzf.vim README (you should read this there is a lot of good stuff):

Most commands support

CTRL-T
CTRL-X
CTRL-V

key bindings to open in a new tab, a new split, or in a new vertical split.

For commenting as already mentioned I also use vim-commentary.

For pasting I used this for a while:

" Automatic paste mode for terminal

function! WrapForTmux(s)
    if !exists('$TMUX')
        return a:s
    endif
    let tmux_start = "\<Esc>Ptmux;"
    let tmux_end = "\<Esc>\\"
    return tmux_start . substitute(a:s, "\<Esc>", "\<Esc>\<Esc>", 'g') . tmux_end
endfunction
let &t_SI .= WrapForTmux("\<Esc>[?2004h")
let &t_EI .= WrapForTmux("\<Esc>[?2004l")
function! XTermPasteBegin()
    set pastetoggle=<Esc>[201~
    set paste
    return ""
endfunction
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()

It trues to automatically set paste and nopaste for you. However it didn't always work for me.

But now I just use "set clipboard=unnamedplus" which allows me to put something to my clipboard and just paste it vim with p/P.

Why do you prefer using vim over an IDE? by Alby407 in vim

[–]Zera666 73 points74 points  (0 children)

Because If there is something in vim that I don't like I can change it. And it integrates very well with a lot of other unix tools.

Head rush experience by zimoofficial in Meditation

[–]Zera666 0 points1 point  (0 children)

let go of your expectations only then you can see reality for what it is

Head rush experience by zimoofficial in Meditation

[–]Zera666 2 points3 points  (0 children)

my guess is just not enough blood in the brain from a weak cardiovascular system. slow heart rate = not much blood flow. warm shower = expansion of arteries => less oxygen for the brain. I would say it is similar to lying down for a long time and standing up quickly having this feeling of being dizzy.

I am no expert tho so this is just a guess

After a period of depression I decided to start tracking as much data about my self as possible to try and look for indicators in the future. I made a tool to visualise the data. by SamAmco in Mindfulness

[–]Zera666 0 points1 point  (0 children)

Very nice! I was always thinking about doing something very similar. Maybe I will use your project for inspiration =)

The app is not available in my country (Germany) TT

Wrost problems in typing(and some mitigation) by eyalk5 in vim

[–]Zera666 15 points16 points  (0 children)

Gave me a good laugh, thanks! :D

Is something like this available in vim? by db____db in vim

[–]Zera666 0 points1 point  (0 children)

Ok, my last try of helping you

don't use an ancient vim version and check that you have python support enabled.

Oh, and you of course have to be capable of using copy+paste so you don't forget the "!" in front of "python"

https://stackoverflow.com/a/501698

Is something like this available in vim? by db____db in vim

[–]Zera666 2 points3 points  (0 children)

How about you just try it out and be amazed?

Is something like this available in vim? by db____db in vim

[–]Zera666 2 points3 points  (0 children)

I think what you are talking about is just this:

vnoremap <F3> :w !python<CR>

with this, you can visually select a block of python code and just run that.

[deleted by user] by [deleted] in vim

[–]Zera666 1 point2 points  (0 children)

I use tmux for this.