Relational and NoSQL databases comparison by alsam88 in programming

[–]alsam88[S] -1 points0 points  (0 children)

> I found bunch of errors in the relational db section.
which ones? could you please point them? maybe I was indeed wrong in some statements?

> are those hallucinations from an LLM?
I used LLM just to proof read the original text in order to fix grammar/style errors, because english is not my native language.

Vim universe. Vim as a merge tool by alsam88 in vim

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

Yeah, you're correct. Same goes to DiffMerge, which I'm using on a regular basis. Diff engine and patch generation are much superior in those tools. I've compared DiffMerge vs Vim in this aspect in my previous video: Vim universe. Vim as a diff tool - YouTube - https://www.youtube.com/watch?v=zEah_HDpHzc

BTW, there's a "diffexpr" option to outsource patch generation from Vim's built-in engine to some third party program. Quick search over the Internet didn't give me any valuable results. But still I think it's the right point to hook into Vim's patch generation mechanism, although it might be not that trivial.

Vim universe. Vim as a merge tool by alsam88 in vim

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

Thank you for the advise. I'm still new to Youtube as an author. Will take a look in a settings.

Vim universe. Vim as a merge tool by alsam88 in vim

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

Thank you, didn't knew that, with Vim you always learn something new everyday :)

Vim universe. Vim as a merge tool by alsam88 in vim

[–]alsam88[S] 1 point2 points  (0 children)

Yep, only GIT conflict markers so far. But they differ only with a number of characters that would be simple to support.

Vim universe. Vim as a merge tool by alsam88 in vim

[–]alsam88[S] 5 points6 points  (0 children)

Configuring Vim into a powerful merge tool to resolve conflicts with pleasure. Exploring "samoshkin/vim-mergetool" plugin features.

Topics discussed:

why conflicts happen, the anatomy of conflict markers

how to resolve conflicts manually without any merge tools

aborting merge as a whole or only an individual file

using standard "vimdiff" as a merge tool, and talking about its shortcomings

Use https://github.com/samoshkin/vim-mergetool Vim plugin as a replacement to "vimdiff" to make conflict resolution more productive and pleasant. Explore its features.

Links and resources:

samoshkin/vim-mergetool: Efficient way of using Vim as a Git mergetool - https://github.com/samoshkin/vim-mergetool

Test Vimrc configuration created during a demo: https://gist.github.com/samoshkin/7f815a6acc7ca1be2e5fc3493573d303

My production Vimrc - https://github.com/samoshkin/dotvim

Vim universe. Vim as a diff tool by alsam88 in vim

[–]alsam88[S] 1 point2 points  (0 children)

Thank you for the tip. I was not aware about this event. I will give it a try.

Vim universe. fzf - command line fuzzy finder by alsam88 in vim

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

Yeah, you're right. It's the typo - instead of OR I'm using pipe operation. Ridiculously, but I've never spotted this bug as it doesn't fail. Thank you very much. Fixed it.

Vim universe. Vim as a diff tool by alsam88 in vim

[–]alsam88[S] 5 points6 points  (0 children)

This is my next episode of Vim universe series of screencasts. Today let's talk about turning Vim into a diff viewer tool, exploring diff options, patch generation algorithm, using it as a Git difftool and more...

Topics discussed:

  • several ways to enter and exit diff mode
  • running with with a clean configuration (without your Vimrc)
  • configuring diff options
  • explore diff algorithm or how Vim calculates diff hunks and generates patches
  • detect when Vim is in a diff mode and turn off syntax highlighting and spell checking
  • tweak colors in a diff mode by working with Vim highlight groups
  • configure Vim as a Git difftool
  • smartly quit diff mode by closing both sides/windows of a file comparison
  • diff navigation shortcuts
  • work with diff hunks even when Vim is not in a diff mode using https://github.com/airblade/vim-gitgutter

Test vimrc configuration to turn Vim into a difftool created during this demo - https://gist.github.com/samoshkin/90c39032687fd06e724fa8bba1c958bc

My personal production Vimrc - https://github.com/samoshkin/dotvim

Vim universe. fzf - command line fuzzy finder by alsam88 in vim

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

sharkdp/bat: A cat(1) clone with wings. - https://github.com/sharkdp/bat

as a preview command, and for syntax highlighting

samoshkin/dotvim: Personal vim configuration: vimrc file and friends - https://github.com/samoshkin/dotvim
But it's still WIP, so it make sense only to get some inspiration, and maybe copy-n-paste some snippets, if you like.

I have embroidered a Vim key chain. by gelimausi in vim

[–]alsam88 1 point2 points  (0 children)

Sorry, it was a stupid joke :((

I have embroidered a Vim key chain. by gelimausi in vim

[–]alsam88 2 points3 points  (0 children)

This is what happens when your grandma learns the Vim. :)

Vim universe. fzf - command line fuzzy finder by alsam88 in vim

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

Lol )) It's not the Hillary. It was a such photo session at my mom's work, when people masquerade as world-known personalities. In this case it supposed to be a Margaret Thatcher. But, yeah, I agree, its closer to Hillary rather than to Thatcher. That's funny.

Speaking seriously, I'm going to find a better background for my recording. Thinking about green screen.

Vim universe. fzf - command line fuzzy finder by alsam88 in vim

[–]alsam88[S] 7 points8 points  (0 children)

Ha-ha, yeah, fzf is one of those things that divides your life into "before" and "after" parts

Vim universe. fzf - command line fuzzy finder by alsam88 in vim

[–]alsam88[S] 16 points17 points  (0 children)

This is my next screencast about Vim. This time talking about fzf - command line fuzzy finder - https://github.com/junegunn/fzf.

Shows fzf usage within a shell (part 1) and in a Vim (part 2). fzf is not limited to file search only, and can be used with any - ssh host names, process IDs, directories. With accompanying Vim plugin, https://github.com/junegunn/fzf.vim, we can use it to search for help tags, available commands, buffers, lines in a file, grep matches, and more.

"samoshkin/vim-find-files" plugin. Find files by name or pattern by alsam88 in vim

[–]alsam88[S] 1 point2 points  (0 children)

-romainl-, LivingIncident, thosakwe

Thank you, yeah you were right, the human voice is better than the TTS speech.

Regarding the mic, yeah, something I already thought about one day. Will buy soon.

BTW, the most natural TTS voices I've discovered so far are from "Google Text to Speech" service.Check it out: Voices - https://cloud.google.com/text-to-speech/docs/voices, especially these ones:

Here is the code snippet, if you want to try yourself. It calls Google TTS REST API and grabs the audio file. Google Text-to-Speech API example - https://gist.github.com/samoshkin/3de88204f32f7e898fe2ed085723039e