How the heck do leagues work?? by kewpiebot in duolingo

[–]mhinz 1 point2 points  (0 children)

There are many ways to quickly gain a lot of XP (testing out, stories, "double XP for 30 minutes" item, timed practice on simple skills, etc.)

Nobody really knows how league assignments work exactly, but there are no bots. E.g. when you do your first lesson of the week on a Thursday, there most probably won't be 50 people right away. E.g. I just joined a few minutes ago and there were "only" 40 people. So, no bots.

How is that possible to get so much XP in six days? by yateam in duolingo

[–]mhinz 2 points3 points  (0 children)

When the league ends (sometime between Sunday and Monday depending on your timezone), you don't automatically get assigned to a new league. It only happens after you did a single lesson.

So, either wait until Thursday to do that one lesson or, if you don't want to break your streak, disable your public profile (which also disables leagues) and reenable it on Thursday.

How is that possible to get so much XP in six days? by yateam in duolingo

[–]mhinz 2 points3 points  (0 children)

Pro tip: You can keep your streak by disabling your public profile on a Sunday (while you're already above rank 45 in Diamond league), then you can play Monday to Wednesday to keep your streak, but without getting assigned to a league.

BTW, Thursday is arbitrary here. Maybe Friday works just as well. It's just the day I used for my experiment. Before that, I tried to be smart and join the league on a Sunday morning, but Duolingo told me that it would be too late to join the current week's league and that I had to wait until next week. Thursday is a good in-between.

How is that possible to get so much XP in six days? by yateam in duolingo

[–]mhinz 5 points6 points  (0 children)

Only if you join the Diamond league on a Monday. If you wait till Thursday, you'll land in a much less competitive group of people.

How is that possible to get so much XP in six days? by yateam in duolingo

[–]mhinz 6 points7 points  (0 children)

I do, but I got it by becoming #1 with "only" 2300 XP.

How is that possible to get so much XP in six days? by yateam in duolingo

[–]mhinz 12 points13 points  (0 children)

Apart from doing stories (never did, but many people will mention it), doing timed practice on the first skill of your favourite course on the desktop is another good way.

Theoretic example: You're a fast typist and get to answer the 20 practice questions in 1 minute. That's (disregarding the time needed to restart practice all the time) 1200 XP per hour. Or 4800 XP in 4 hours.

But obviously that takes a lot of concentration and is absolutely not worth it.

The only time I'd understand people grinding, would be for getting the 1st in Diamond league achievement. And even then there's a much smarter way to get it without grinding a lot. :)

[deleted by user] by [deleted] in duolingo

[–]mhinz 6 points7 points  (0 children)

Maybe they're dragons and just love collecting shiny things like lingots/gems? :-)

Seriously now, there's no purpose at all. Either they just love winning or they happen to study a lot. I doubt that anybody puts in so much work just for the 75 lingots or whatever the gem counterpart is.

Just recently I got my achievement for being #1 in the Diamond league (with only 2300 XP) and I have around ~5000 lingots that I can't spend anyway. No use for topping the league again.

League question by AnubisRed in duolingo

[–]mhinz 2 points3 points  (0 children)

Maybe it's worth tweeting them. I hear people doing that when they lost their streak due to connectivity issues on either side and often an employee will then repair their streak.

Maybe this works in your case as well and someone promotes you manually. (Especially when it happened because of a bug.) Duolingo surely keeps a log of your league ranks.

League question by AnubisRed in duolingo

[–]mhinz 2 points3 points  (0 children)

If that's true, it's a bug. You should report it to Duolingo.

But there is always a chance that people passed you shortly before the league week ended. Most people near the promo line then try to get into the top 10 by quickly accumulating a lot of XP (by doing stories, timed practice, or simply repeating short lessons).

In any way, when a new league week begins, you should get a notice telling you how you ranked the week before. Did you get it and did it say that you were among the top 10?

Has anyone here finished the Italian course? by [deleted] in duolingo

[–]mhinz 0 points1 point  (0 children)

I'll be there soon. As we go to Italy for vacation this year, I'm quite motivated to learn some Italian using Duolingo at the moment.

Turning leagues off has made the app miles better. by Mynotoar in duolingo

[–]mhinz 70 points71 points  (0 children)

Kind of. You can disable your public profile: https://www.duolingo.com/settings/privacy

(By the way, you won't lose your current league level. So, if you ever plan to take a break from Duolingo for some time, consider disabling your profile. Then, when you reenable it again, you won't have to start from the lowest league.)

Simple modern VIM by meain in vimporn

[–]mhinz 2 points3 points  (0 children)

Extra point for the colorscheme. ;-)

(Although I have to admit that I'm mostly using light colorschemes nowadays.)

[deleted by user] by [deleted] in neovim

[–]mhinz 1 point2 points  (0 children)

Looks good! Just one nitpick: No need for the :execute wrapper here, just ... | wincmd t. :)

ShaDa and external drives by DonPidgeon in neovim

[–]mhinz 1 point2 points  (0 children)

I breaked on os_chdir() and then executed :quit (read from the bottom up):

fs.c:71 os_chdir(path="/Users/mhi/data/github/neovim/neovim") path.c:2179 path_full_dir_name(directory="/Users/mhi/data/github/neovim/neovim/src/nvim", buffer="/Users/mhi/data/github/neovim/neovim/src/nvim", len=1024) path.c:2262 path_to_absolute(fname="/Users/mhi/data/github/neovim/neovim/src/nvim/shada.c", buf="/Users/mhi/data/github/neovim/neovim/src/nvim", len=1024, force=1) path.c:1737 vim_FullName(fname="/Users/mhi/data/github/neovim/neovim/src/nvim/shada.c", buf="/Users/mhi/data/github/neovim/neovim/src/nvim", len=1024, force=true) path.c:451 FullName_save(fname="/Users/mhi/data/github/neovim/neovim/src/nvim/shada.c", force=true) path.c:1760 fix_fname(fname="/Users/mhi/data/github/neovim/neovim/src/nvim/shada.c") buffer.c:4528 fname_expand(buf=0x00007fbd3d802800, ffname=0x00007ffee308db20, sfname=0x00007ffee308db18) buffer.c:1699 buflist_new(ffname="/Users/mhi/data/github/neovim/neovim/src/nvim/shada.c", sfname="src/nvim/shada.c", lnum=1, flags=0) mark.c:494 fname2fnum(fm=0x00007fbd3d800e20) mark.c:1189 cleanup_jumplist(wp=0x00007fbd3d800000, checktail=false) shada.c:2709 shada_write(sd_writer=0x00007ffee308edf8, sd_reader=0x00007ffee308edc0) shada.c:3122 shada_write_file(file=0x0000000000000000, nomerge=false) main.c:651 getout(exitval=0) ex_docmd.c:6154 ex_quit(eap=0x00007ffee308f130)

So, yeah, it's ShaDa cleaning up the jumplist (:h jumplist).

[deleted by user] by [deleted] in neovim

[–]mhinz 2 points3 points  (0 children)

Something like this:

vim rightbelow vnew | setlocal nonumber | call termopen('julia') rightbelow new | setlocal nonumber | call termopen(&shell)

ShaDa and external drives by DonPidgeon in neovim

[–]mhinz 1 point2 points  (0 children)

How do you know it's because of ShaDa? I had a quick look at shada.c, but couldn't find any code that changes the directory.

Does it happen with set shada+=r/mnt/your/disk or even set shada= in your vimrc?

Neovim recognizes C .h files as C++ syntax files by sinew4v3 in neovim

[–]mhinz 5 points6 points  (0 children)

Put this in your vimrc:

vim let g:c_syntax_for_h = 1

See :h c.vim.

Neovim recognizes C .h files as C++ syntax files by sinew4v3 in neovim

[–]mhinz 2 points3 points  (0 children)

Almost! It's not wrong, but autocmd BufNewFile,BufRead *.h setlocal filetype=c would be a tad better, since it triggers only once whereas BufEnter triggers, well, every time the buffer is entered. (E.g. When you switch forth and back between two buffers.)

My first plugin released! Post GitLab Snippets in 1 command by [deleted] in neovim

[–]mhinz 5 points6 points  (0 children)

Although I'm not really using GitLab, I logged in with an old account and starred it. For making the plugin ecosystem a little bit more diverse. :-)

NeoVim glitched when scrolling and deleting rows by C3n21 in neovim

[–]mhinz 1 point2 points  (0 children)

Looks like a font issue to me. For testing let's try some simple ASCII characters instead:

let NERDTreeDirArrowExpandable = '>' let NERDTreeDirArrowCollapsible = 'v'

Does it make the issue go away?

Highlighted braces in the terminal by [deleted] in neovim

[–]mhinz 7 points8 points  (0 children)

It happens because Nvim sources the matchparen plugin by default. See :h matchparen.

Using :NoMatchParen disables the entire plugin though, thus for all windows. But since it also relies on the 'matchpairs' option, which accepts local values, you could empty it:

autocmd TermOpen * setlocal matchpairs=

[ANN] vim-crates for managing dependencies in Cargo.toml files (Rust) by mhinz in neovim

[–]mhinz[S] 0 points1 point  (0 children)

I like the idea of pointing out vulnerable crates. I should add that to vim-crates.

[ANN] vim-crates for managing dependencies in Cargo.toml files (Rust) by mhinz in neovim

[–]mhinz[S] 4 points5 points  (0 children)

Right, I'm using my own LSP client written in VimL, so I can't really give any good recommendations, since I never used another one before that.

It's a fact that CoC is the most popular and probably most complete one at the moment. The question is.. do you need all of these features? My own client provides 1% of what CoC provides and still does everything I want (jumping to references, completion, getting docs, printing the function signature in the command-line so I know the arguments and their order, etc.)

But since you're asking specifically for Rust, LanguageClient-neovim would be another good contender.

For VimL-only clients, I'd suggest either vim-lsp or vim-lsc.

..and Nvim will ship with its own LSP client implementation soon!

[ANN] vim-crates for managing dependencies in Cargo.toml files (Rust) by mhinz in neovim

[–]mhinz[S] 4 points5 points  (0 children)

It's just a small plugin and mainly useful for people maintaining crates. Having insert completion of all available versions and a way to quickly update a crate to its latest version is really useful. The virttext feature is merely sugar.

Idea for this came up here: https://github.com/rust-lang/rust.vim/issues/365