!WTvnrBXAWIqKuxyqrR:matrix.org

Julia (lang)

314 Members
General help and discussion about the Julia language36 Servers

Load older messages


SenderMessageTime
2 Jul 2023
@qwjyh:matrix.orgqwjyh * Maybe you did require('nvim-cmp') ? 13:06:30
@headphonejack:matrix.orgheadphonejackI tried that before and it does not work. Currently it seems, that I don't fully understand the whole concept. I need to read more and especially I need to understand more...sorry....13:08:04
@headphonejack:matrix.orgheadphonejackIt seems, that nvim-cmp is known by lazy but get not loaded/started, when I visit a Julia file. I cannot convince the lazy dashboard to load it manually. The 'require'-expression normally would exactly that...but that one give me errors. This becomes a Big Bang theory...at least ;)13:15:41
@headphonejack:matrix.orgheadphonejackWhat is meant by "InsertEnter" ?13:17:32
@qwjyh:matrix.orgqwjyh`:h InsertEnter`13:27:32
@qwjyh:matrix.orgqwjyh
In reply to @headphonejack:matrix.org
What is meant by "InsertEnter" ?
https://github.com/NvChad/NvChad/blob/83aac1ecc0c84726d3aace3ed97d7001add4694b/lua/plugins/init.lua#L156
nvim-cmp is loaded by lazy.nvim when you switched to Insert mode.
13:35:31
@headphonejack:matrix.orgheadphonejack...sometime the assumptions I make hinders my common sense...I thouht "InsertEnter" would be something internal to nvim-cmp and didn't searched for it. The more I thank you for your patience with me, qwjyh! 13:56:44
3 Jul 2023
@headphonejack:matrix.orgheadphonejack

Antoineco of the NVChad channel helped me very much with his settings for NvChad:

  {
    "hrsh7th/nvim-cmp",
    dependencies= {
      {
        "kdheepak/cmp-latex-symbols",
      },
    },
    opts = {
      sources = {
        { name = "latex_symbols" },
      },      
    },
  },
17:02:27
@headphonejack:matrix.orgheadphonejackThis make latex-symbol globally available. If you want it only for JULIA, add ft=julia inside the "kdheepak/cmp-latex-symbols" dependency block.17:03:30
@headphonejack:matrix.orgheadphonejackThe whole thing goes into ~/.config/nvim/lua/custom/plugins.lua17:04:03
@headphonejack:matrix.orgheadphonejackBy the way: The whole "noise" of that channels seems to be caused by bots and spammers and has nothing to do with the NvChad-people there.17:05:39
@headphonejack:matrix.orgheadphonejack * By the way: The whole "noise" of that channel seems to be caused by bots and spammers and has nothing to do with the NvChad-people there.18:39:17
4 Jul 2023
@nagovirrlakra:matrix.orgFogmaster joined the room.01:55:42
6 Jul 2023
@osso33:matrix.org@osso33:matrix.org set a profile picture.11:45:09
@headphonejack:matrix.orgheadphonejackUsing Julia 1.9.2: I am playing around with some csv files...when reading those via CSV/Dataformat - how can I surpress all those warnings of missing fields?16:09:53
@qwjyh:matrix.orgqwjyhMaybe this option https://csv.juliadata.org/stable/reading.html#strict19:38:15
7 Jul 2023
@headphonejack:matrix.orgheadphonejackOh yeah! That's looks like it will work - I will check that in a moment! Thanks a lot...sometimes it is important to use the correct keywords (I had no luck...no native speaker here, sorry...)15:47:12
8 Jul 2023
@headphonejack:matrix.orgheadphonejackAfter some try'n'error it works like a charm! Thanks!03:18:19
@headphonejack:matrix.orgheadphonejackIs it possible to create a simple window with Julia with a given background color to which I can plot colored pixels something like plot(x,y,truecolor)? I only found examples for highly advanced things like graphs, 3D function plots, bars, statistics etc....15:16:08
@hasnep:matrix.orgHannesYou could use Images.jl (https://juliaimages.org/stable/) to create an image and then ImageView.jl (https://www.juliapackages.com/p/imageview) to display the image in a window?15:26:56
@headphonejack:matrix.orgheadphonejack...is it possible to do "life plotting" somehow instead of creating the complete image and display it then?15:28:05
@hasnep:matrix.orgHannes I believe you should be able to use the gui = imshow_gui(...) function to create a window, then use canvas = gui["canvas"] to get the canvas object, then imshow(canvas, my_image) to add or replace the image in the window 15:34:01
@hasnep:matrix.orgHannesI'm not able to check that at the moment, but that's what I'm guessing from looking at the README for ImageView.jl15:34:34
@headphonejack:matrix.orgheadphonejackthanks! 😀 will try that!15:45:50
9 Jul 2023
@headphonejack:matrix.orgheadphonejack

When 'adding' a package I got this message regarding another related package:

Info Packages marked with → are not downloaded, use `instantiate` to download
13:52:24
@headphonejack:matrix.orgheadphonejack

When trying to 'help instantiate' I got this answer:

help?> ? instantiate
search:

Couldn't find instantiate
Perhaps you meant instances
  No documentation found.

  Binding instantiate does not exist.

What is it all about?

13:53:29
@hasnep:matrix.orgHannesIt's talking about the Pkg.jl command called `Pkg.instantiate`13:56:10
@hasnep:matrix.orgHannesProbably the easiest way to do it is to type ] in the repl to enter Pkg mode, then type instantiate13:57:08
@hasnep:matrix.orgHannesOr you can do `import Pkg; Pjg.instantiate()` from the Julia REPL13:57:36
@headphonejack:matrix.orgheadphonejackExactly that is what I tried - with the results shown above...13:57:52

Show newer messages


Back to Room ListRoom Version: