Dan Kelley
Dan Kelley
  • 78
  • 17 728
lazyvim: adding rg for better searching
Lately, I've found that my lazyvim acted badly when I typed 'c' in the main screen (to configure the editor's settings). The error included a box stating `Unable to stat file /Users/kelley/.config/nvim/find` which confused me because (of course) I don't have such a file. So I did a websearch and found that the problem was that I don't have `rg` installed. This video shows how I discovered this problem, and how I fixed it on my macOS machine,. (That's a lot of words to describe a 1-minute video ...)
มุมมอง: 104

วีดีโอ

Neovim code action
มุมมอง 2614 ชั่วโมงที่ผ่านมา
I show how to use a "code action" to add a command to tell the linter to stop complaining about an overly long line of R code. Code action is mapped to ` ` ca` in my neovim (lazyvim) setup.
Testing the AI writing tools in MacOS
มุมมอง 316 ชั่วโมงที่ผ่านมา
This is my first attempt to use this on actual text, from a published paper. I'm impressed.
Usng if blocks in typst
มุมมอง 4521 วันที่ผ่านมา
I show how to use if blocks in typst, to hide/show material.
Converting a latex/beamer presentation to typst
มุมมอง 3621 วันที่ผ่านมา
This is a quick demo of how I work in converting old latex-beamer slides to typst slides
Neovim/typst checks for incorrect bib references and missing files
มุมมอง 7621 วันที่ผ่านมา
I show how neovim (lazyvim, to be precise) helpfully diagnoses errors in naming bibliographic entries and filenames for images.
Making presentation slides in typst
มุมมอง 129หลายเดือนก่อน
I have started using typst for simple memos and reports, and this video shows my initial exploration with using typst also for presentations. It is very fast, and easy to use. If you are familiar with using LaTeX (or TeX) for equations, it won't take you long to make the (slight) switch to typst notation. The bottom line? I will likely use typst to make presentations in the future.
Using typst to write simple memos
มุมมอง 1502 หลายเดือนก่อน
I am new to the typst type-setting system, and am enjoying it so far. In this video, I show a bit about how I set it up with neovim on a macOS machine. Typst is a markdown-type system that seems like a good alternative to latex.
A test of the speedyweather.jl Julia package
มุมมอง 312 หลายเดือนก่อน
I learned of this package just this morning, and I have just now got the chance to try working with it. In this video, I'll show the webpage for the package, and show how to run of the examples contained therein. Note that the documentation (at this moment) says "nlayers" for something that seems to be called "nlev" now. I point that out. Not to gush too much, but speedyweather seems very excit...
lazyvim demo: sessions & markdown checklists
มุมมอง 413 หลายเดือนก่อน
This video shows me editing in lazyvim, highlighting two features I just noticed: 1. sessions. These are very helpful; why did I not know of this before??? 2. markdown previews of checklists. This is an elegant feature that doesn't really matter much, except that its elegance can brighten your day.
Using R to overview NetCDF files
มุมมอง 193 หลายเดือนก่อน
In this video, I talk a bit about why oceanographers (and many other scientists) use NetCDF file. Then I show how to use an app from the nctools system,' to get an overview of such files. And, finally, I show how to get an overview using an R script I wrote (available at the gist quoted below). The advantage of this script is that you won't need to download the 'nctools' package. gist.github.co...
neovim finds undefined variables in R libraries
มุมมอง 203 หลายเดือนก่อน
This shows how neovim can help by highlighting functions that are neither defined in the local file, nor in any R libraries that are loaded. It's really pretty helpful.
lazyvim editing R files: font, navigation, Trouble, and lintr
มุมมอง 585 หลายเดือนก่อน
Another lazyvim demonstration with R code. I touch on 1. need to use a 'nerd' font 2. the wonderfulness of `gd` 3. using Trouble for code problems, and also for TODO and FIXME flags 4. my ~/.lintr setup
how to toggle neovim's autoformat on save
มุมมอง 1195 หลายเดือนก่อน
In neovim (at least in lazyvim, as I have it set up) when I type :w to write a file, it autoformats it. I've just learned how to turn that behaviour of for a file: type SPACE-u-f. That's what I show here, with some R code. If you want to turn off autoformatting on save as a default, put the following into your ~/.config/nvim/lua/config/autocmds.lua file: vim.api.nvim_create_autocmd({ "FileType"...
working with R source code in lunarvim
มุมมอง 1755 หลายเดือนก่อน
# Working with R source code in lunarvim 1. configuring ~/.config/lvim/config.lua for R and trouble 2. mention mason 3. important R key combinations * ,rf to start R running * ,aa to source the whole file 4. important general key combinations * gd go to definition of symbol * gr see references * _lf reformat * _; go to lunarvim control centre * _ls show local symbols (functions, global vars) * ...
Using flake8 in lunarvim, to find problems in python files.
มุมมอง 245 หลายเดือนก่อน
Using flake8 in lunarvim, to find problems in python files.
diary: a python app (early version)
มุมมอง 95 หลายเดือนก่อน
diary: a python app (early version)
using fix() in R
มุมมอง 395 หลายเดือนก่อน
using fix() in R
Code analysis in Lunarvim
มุมมอง 506 หลายเดือนก่อน
Code analysis in Lunarvim
whalestrike::app2() now has popup help
มุมมอง 147 หลายเดือนก่อน
whalestrike::app2() now has popup help
Accessing lazygit within lunarvim
มุมมอง 1847 หลายเดือนก่อน
Accessing lazygit within lunarvim
Demonstration of an R shiny app to tag features in oceanographic data
มุมมอง 267 หลายเดือนก่อน
Demonstration of an R shiny app to tag features in oceanographic data
a python script to archive file hashes
มุมมอง 178 หลายเดือนก่อน
a python script to archive file hashes
finding problems in oceanographic wave data
มุมมอง 288 หลายเดือนก่อน
finding problems in oceanographic wave data
An introduction to SQL
มุมมอง 179 หลายเดือนก่อน
An introduction to SQL
lunarvim lsp demo
มุมมอง 849 หลายเดือนก่อน
lunarvim lsp demo
Explaining fillGapMatrix(), an upcoming oce function
มุมมอง 59 หลายเดือนก่อน
Explaining fillGapMatrix(), an upcoming oce function
Latest R graphics improved for Mac Sonoma beta 4
มุมมอง 79 หลายเดือนก่อน
Latest R graphics improved for Mac Sonoma beta 4
Downloading oceanographic data from NOAA
มุมมอง 1309 หลายเดือนก่อน
Downloading oceanographic data from NOAA
Dealing with netcdf files from NOAA server
มุมมอง 239 หลายเดือนก่อน
Dealing with netcdf files from NOAA server

ความคิดเห็น

  • @benevidesh.860
    @benevidesh.860 22 วันที่ผ่านมา

    Nice video! Good to know that \pause is supported. Have you tried chomosuke/typst-preview.nvim? It seems cool, not sure if it is useful =)

  • @libbyheeren
    @libbyheeren 26 วันที่ผ่านมา

    Thank you for learning out loud, Dan! Not really on the topic of typst, but I'm curious what you use memos for!

    • @dankelleyns
      @dankelleyns 26 วันที่ผ่านมา

      Partly, it's a learning exercise so I don't have to scour the web to find templates for any given purpose. I teach, and so at the start I had a template for assignments for my classes, another for lecture plans, etc. Then I started boiling them down into one -- that's what 'memo' is. Lately, I've been using it for any document that is under a few pages in length, e.g. assignments, notes on student work, reports on exams, etc. For the other main (non-research) task, I use the preview/touying:0.5.3 template. For longer-form work, I still fall back on latex, because that's what journals want, and that's how my other long-form work (a textbook, 300+ page course notes, etc) is framed.

  • @nulleffort
    @nulleffort 6 หลายเดือนก่อน

    You’re actually looking at a digital elevation model derived from a LiDAR point cloud. LiDAR (vectors) were possibly used to produce that raster (tiff/geotiff). The individual points from the laser were processed by either creating a TIN or simply binning the vectors, to create a mesh. Either way, you’re left with a raster file that has a separate band outside RGB that has elevation data per pixel.

  • @AllenfieldinBai
    @AllenfieldinBai 7 หลายเดือนก่อน

    Can I predefine a horizontal code at the top point and solve the mooring line profile? which command or test case shall I use or refer to?

    • @dankelleyns
      @dankelleyns 7 หลายเดือนก่อน

      I don't know what you mean by 'horizontal code'. If you have a question about the mooring package, please consider making an issue on the github site www.github.com/dankelley/mooring/issues

  • @YasheshTrivedi
    @YasheshTrivedi 10 หลายเดือนก่อน

    Thanks for sharing! I found tmux walkthrough really helpful.

  • @dankelleyns
    @dankelleyns 11 หลายเดือนก่อน

    Actually, the 'data' tab of profvis is very useful! That's how I figured out the problem. See github.com/dankelley/mooring/issues/63

  • @najamurphy2498
    @najamurphy2498 ปีที่แล้ว

    Great Video! How would I approach removing outliers from the CTD profile data due to errors with the sensors. I already used the ctdTrim() and ctdDecimate() functions?

  • @donkrause
    @donkrause 2 ปีที่แล้ว

    Thank you for documenting your NB journey. I'm in the same boat, learning NB (and Obsidian) at the same time, and attempting to keep both applications data directories in the same place, so I can create quick notes in NB, but manipulate them is Obsidian. Fun!

  • @Diego_Minaya
    @Diego_Minaya 2 ปีที่แล้ว

    Great date!

  • @terrancegrant1664
    @terrancegrant1664 2 ปีที่แล้ว

    An excellent addition to this already great software!

  • @surajviswakarma254
    @surajviswakarma254 4 ปีที่แล้ว

    It's really great. May I ask you how u have download this latest version of RStudio ?

    • @dankelleyns
      @dankelleyns 4 ปีที่แล้ว

      Do a websearch on "Rstudio", go to what will almost certainly be the top site, and find the download section of that site.

    • @surajviswakarma254
      @surajviswakarma254 4 ปีที่แล้ว

      @@dankelleyns but sir it shows latest version is 1.3

    • @dankelleyns
      @dankelleyns 4 ปีที่แล้ว

      @@surajviswakarma254 try the preview, at the following. Note that this is currently in beta form. rstudio.com/products/rstudio/download/preview/

    • @surajviswakarma254
      @surajviswakarma254 4 ปีที่แล้ว

      @@dankelleyns thnak you so much

  • @shantokhandoker2122
    @shantokhandoker2122 4 ปีที่แล้ว

    I want to do my undergraduate thesis/dissertation with oce package in R with some free source data found online in the region of Northern Bay of Bengal .

  • @mdnahinalam7339
    @mdnahinalam7339 4 ปีที่แล้ว

    Thank you @Dan Kelley. Please make more video on how to analyze and visualize ocean data in R.

  • @edgarfigueroa2757
    @edgarfigueroa2757 7 ปีที่แล้ว

    Hello, a great doubt as you managed to push, since I can not do it, in the githhub preview I get these messages when trying to connect github the message is this Hello, a great doubt as you managed to push, since I can not do it, in the preview tab I get these messages when trying to connect github

  • @raghadalqwaiz6889
    @raghadalqwaiz6889 7 ปีที่แล้ว

    Hello Dan Kelley Thanks for the useful and simple video! but how did you make the pane appear ? I have the same pane "Git" but it's empty!! the Stages things doesn't appear in mine Waiting your reply .. Thanks

    • @subscriberswithnovideos-fw9xg
      @subscriberswithnovideos-fw9xg 7 ปีที่แล้ว

      go to the far right of the screen and drag it to the left. if that doesn't work go on view then toggle tree view