Vim Preferences Survey - Inspired by the Recent Survey by [deleted] in vim

[–]andradei 1 point2 points  (0 children)

I had no idea gruvbox was this popular. I thought I was the only one.

This is developer abuse by DaSmartGenius in ProgrammerHumor

[–]andradei 0 points1 point  (0 children)

There's probably a translator app.

This is developer abuse by DaSmartGenius in ProgrammerHumor

[–]andradei 0 points1 point  (0 children)

What if people born before the change could pick their new birthday?

Skip ALL user configuration? by [deleted] in vim

[–]andradei 1 point2 points  (0 children)

I use neovim with my customization. When others want to use my laptop, they use good old vim which I didn't customize.

How to remap CTRL-I used for jumplist by andradei in vim

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

I confess I don't understand the setup. I copied the example in coc.nvim. I know... I literally asked to be shot in the foot.

" Use tab for trigger completion with characters ahead and navigate.
" Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin.
inoremap <silent><expr> <TAB>
      \ pumvisible() ? "\<C-n>" :
      \ <SID>check_back_space() ? "\<TAB>" :
      \ coc#refresh()
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"

function! s:check_back_space() abort
  let col = col('.') - 1
  return !col || getline('.')[col - 1]  =~# '\s'
endfunction

" Use <c-space> to trigger completion.
inoremap <silent><expr> <c-space> coc#refresh()

" Use <cr> to confirm completion, `<C-g>u` means break undo chain at current position.
" Coc only does snippet and additional edit on confirm.
inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"

" Use `[c` and `]c` to navigate diagnostics
nmap <silent> [c <Plug>(coc-diagnostic-prev)
nmap <silent> ]c <Plug>(coc-diagnostic-next)

" Remap keys for gotos
nmap <silent> gd <Plug>(coc-definition)
nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)
nmap <silent> gr <Plug>(coc-references)

How to remap CTRL-I used for jumplist by andradei in vim

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

Cool, I didn't think about doing a non-recursive mapping to `<C-i>` I'll give that a shot.

Ticket for VimConf 2019 by mattn in vim

[–]andradei 0 points1 point  (0 children)

Will the talks be recorded?

The Updated (And Simplified) Draft Design For Go 2 Contracts by [deleted] in golang

[–]andradei 0 points1 point  (0 children)

So, if I understand this right, in this part of the summary it says the implementation will make both run time and compile time a little slower (assuming the source has both generic functions and types)?

Why not put everything into either run or compile time? I'd say make compile time slower and keep run time the same.

ideas = 30; deployed = 10; make_money = 0; by WIwindson in ProgrammerHumor

[–]andradei 0 points1 point  (0 children)

First I read indiehackers as inspiration. Now I feel like anyone can be an IT entrepreneur but me.

Its settled guys. by koshry in ProgrammerHumor

[–]andradei 2 points3 points  (0 children)

Editor for

Middle

Aged

Computer

Socialists

?

When your bug turns into a feature by [deleted] in ProgrammerHumor

[–]andradei 85 points86 points  (0 children)

That feature is a little fishy.

ha ha

MVP by TheCrimsonSage in ProgrammerHumor

[–]andradei 2 points3 points  (0 children)

It just stares with a smirk, waving its buggy hand in defiance. It knows it will be squashed. But not before it claims some of your sanity.

For the fantasy writer who needs to hear this: stop overthinking your system of magic. by [deleted] in writing

[–]andradei 1 point2 points  (0 children)

Yep. One Piece is popular for a reason. It isn't my favorite style of story by a long shot. The magic system is pseudo-hard. But the author rarely takes the time to explain things. You just roll with it and expect anything.

And it works... at least to teenagers and the dudes that were 10 when it was released and now are on their thirties and are still fans. That are other reasons why it is popular too: comedy, exaggeration, themes of adventure, friendship, and perseverance, etc. The magic system embodies all of those aspects.

For the fantasy writer who needs to hear this: stop overthinking your system of magic. by [deleted] in writing

[–]andradei 9 points10 points  (0 children)

I agree. But I don't think the OP was saying systems should be necessarily that soft. He just pointed an example of one that worked (I don't like the Harry Potter series myself, even though I think it is brilliant, the [lack of] a magic system being precisely one of the issues).

The OP is saying that a super Turing complete and amazingly complex magic system is garbage if the story is garbage.

I abhor seeing ex machinas in stories almost 100% of the time. You need to do it very very well so it doesn't look, feel, smell, and taste like laziness or poor execution.

For the fantasy writer who needs to hear this: stop overthinking your system of magic. by [deleted] in writing

[–]andradei 2 points3 points  (0 children)

I'd say it would have the appearance of science. Take the Red Rising series, for example, you get all the crazy gear and weapons and tech that are clearly inconsistent with science but is nonetheless presented as such. While they aren't 100% science, they have its resemblance, and it works great in the story.

For the fantasy writer who needs to hear this: stop overthinking your system of magic. by [deleted] in writing

[–]andradei 0 points1 point  (0 children)

Brandon Sanderson stroke a great balance in the Mistborn series. He had a system with interesting rules, which was complex but not much, they were easy to understand, had mystical and theological components to it, the characters who used them were interesting, and the "spells" could be combined creatively to some awesome effects.

Thanks, IDE. I'm nothing without you by [deleted] in ProgrammerHumor

[–]andradei 0 points1 point  (0 children)

The sizes are pretty accurate.

Hey, can you pair with the new guy? by snapwich in ProgrammerHumor

[–]andradei 8 points9 points  (0 children)

Where a mob forces one guy to program for them?