mac

joined 7 months ago
MODERATOR OF
[–] mac@infosec.pub 1 points 4 months ago* (last edited 4 months ago)

Yeah I mean you're still people with emotional processes who understand social queues. Not like you're robots who can't process these things.

 

I've been using vim-lsp, it's great for the most part. Only thing I'd like to be able to do is change the default view of errors and warnings to be hidden except for a red or yellow line under the affected text that I can expand using :LspHover or something. Is this a possibility at all?

The docs only mention about turning of diagnostics completely.

[–] mac@infosec.pub 5 points 4 months ago

Worst part about McDonald's to be fair

 
2
Truth (infosec.pub)
 
[–] mac@infosec.pub 1 points 4 months ago

He assumed it was like a compile step.

[–] mac@infosec.pub 1 points 4 months ago

Looks like the GitHub android app .

[–] mac@infosec.pub 2 points 4 months ago (1 children)

I looked at the waterfall and I realised I had some design images in there at 2500+ resolution that were taking 5s to load and that was interfering with the loading of the JS.

Thanks, I'll make sure to check this tab first before posting next time.

[–] mac@infosec.pub 1 points 4 months ago (1 children)

How likely is it to use one for more standard programming e.g. something where python, JavaScript, C or something would normally be used?

 

I have a Deno Fresh app, it runs fine for the most part but there is an issue on load in a browser that hasn't cached anything, clicking the about button doesn't work on the first click but does on the second if you click another in between.

There is also an issue in my android phone where it stutters when scrolling down to the about section as the animation loads.

Any help would be amazing, the repo is here

[–] mac@infosec.pub 2 points 4 months ago (3 children)

It seems to be incredibly concise, I wonder what kind of use cases this language has.

[–] mac@infosec.pub 3 points 4 months ago (5 children)

What makes a language a "logic programming language" aren't all language logic based?

[–] mac@infosec.pub 1 points 4 months ago

Yeah I think work on some small examples for now until you're sure it's a viable option.

[–] mac@infosec.pub 1 points 4 months ago

Last I checked flutter struggled with SEO, how's that looking now?

[–] mac@infosec.pub 2 points 4 months ago (1 children)

What are some good use cases for Julia, I really like the language just haven't found a user for it yet.

8
submitted 5 months ago* (last edited 5 months ago) by mac@infosec.pub to c/vim@lemmy.sdf.org
 

Vim9Script Types Help

I'm trying to add types to a language list in my vimrc file, the variable looks like this:

var languages = {
  'c': ['c', 'h'],
  'shell': ['sh'],
  'python': ['py'],
  'json': ['json'],
  'typescript': ['tsx', 'jsx', 'js', 'ts'],
}

I've tried adding types like this:

var languages: dict<string, list<string>> {...}

Which should work I think but I'm getting this error:

E488: Trailing characters: , list<string>> = {

I can't figure out which characters are trailing and AI has no idea either.

Solution

I was being a moron and defining a type for the key in the dictionary which makes no sense because the key name would always be a string so therefore only the value type is required:

var languages: dict<list<string>> {...}
 
  • SwayFX
  • Swaybar (hidden unless I'm holding down Alt)
  • NeoVim
  • Firefox
  • Zathura
  • feh (image viewer)

NeoVim & LaTeX with Zathura for viewing NeoVim in .sh, cmatrix, fetch.sh, cpipes, cbonsa Wallpaper with Swaybar NeoVim with Sway config, & feh

1
submitted 5 months ago* (last edited 5 months ago) by mac@infosec.pub to c/unixporn@lemmy.ml
 

Everyone is posting android so here you go.

This is my super minimal setup, it's convenient quick to use and I have no issues with it.

 

Hi I've been looking at nyoom.nvim and it alters the UI of telescope (see screenshot) I was just wondering how this is possible? I looked d through the codebase but couldn't find anything other than the setting of colours?

Here is the repo: https://github.com/nyoom-engineering/nyoom.nvim

 

Hi I've been looking at nyoom.nvim and it alters the UI of telescope (see screenshot) I was just wondering how this is possible? I looked d through the codebase but couldn't find anything other than the setting of colours?

Here is the repo: https://github.com/nyoom-engineering/nyoom.nvim

view more: next ›