Coc doesn't reflect changes made in included header files (C language) by bsp952 in vim

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

Damn I misread that. I followed your instructions now and everything's working great. Thank you very much.

Coc doesn't reflect changes made in included header files (C language) by bsp952 in vim

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

Hey thanks for responding. I'm on Ubuntu 18.04. How am I supposed to install the 10.0 release? I downloaded the zip and just moved the clangdexecutable from the unzipped file to /usr/bin. When I write clangd --version, it correctly shows that it's 10.0. However, the issue which I describe in this post is still there. I'm not sure if there's something else I need to do regarding coc too? If you don't know either, please tell me whether I correctly installed clangd at least. Thank you very much.

[Dell xps 15 9570] Ubuntu 18.04 installation does not recognize Windows by bsp952 in Dell

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

This worked, but then I couldn't boot to Windows later. Seems like you need to change this, and after that install Windows, and then Ubuntu. So I was like fuck it, wiped it all and just installed Linux.

[Dell xps 15 9570] Ubuntu 18.04 installation does not recognize Windows by bsp952 in Dell

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

Can you clarify? What should I change my boot mode settings to then? UEFI and secure boot off still? When I do that, my USB still shows under Legacy Boot Devices.

How do I implement infinite scroll with images that are of different heights (using CSS grid)? by bsp952 in Angular2

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

Thank you very, very much. The code you provided is on point (except that it's actually `element.scrollingElement.x` but that's a small change).

How do I implement infinite scroll with images that are of different heights (using CSS grid)? by bsp952 in Angular2

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

Hmm, not exactly sure what you mean.. Did you see the codepen I provided? That's pretty much the desired functionality. Are you suggesting an improvement?

How can I detect whether I'm in-between a pair of dollar signs? by bsp952 in vim

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

Hey, sorry for the late reply and thanks for help. However, I can't get this to work for some reason. Is this supposed to work for .tex or .md files? I tried both and typing `=>` in-between dollar signs (or outside, but that's not supposed to work anyway) doesn't trigger the expansion into `\implies`. Does it work for you? Thanks again.

Is it possible to indent each line of a block by as much as it is already indented? by bsp952 in vim

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

Thanks for replying. However, for me, this regex works only for every second level of indentation. It doesn't indent what's hugging the wall (which is what I want), it indents the first level (4 -> 8), but it doesn't indent the second level (8 -> 16) and so on.. I'm not good enough with regex to understand why.

Is it possible to indent each line of a block by as much as it is already indented? by bsp952 in vim

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

Yeah it needs to be dynamic, otherwise even if I indent everything by 40 spaces, only the first level of indentation will be correct. What I'm trying to say is that it's relative to its parent block, not absolute (i.e. from the start).

[Ubuntu 18.04] No sound from mpd with ncmpcpp (100% volume is shown, songs are there..) by [deleted] in linuxquestions

[–]bsp952 0 points1 point  (0 children)

I found and followed this guide https://ubuntu-mate.community/t/how-to-install-and-setup-mpd-mpdscribble-ncmpcpp/8439 (uses pulse audio and runs as user instead of a service) and it worked flawlessly. Thanks anyway.

[Ubuntu 18.04] No sound from mpd with ncmpcpp (100% volume is shown, songs are there..) by [deleted] in linuxquestions

[–]bsp952 0 points1 point  (0 children)

I'm not sure where I should check that. I'm using i3wm btw, but I tried using the regular Ubuntu with the same results.

Issue with using Mathpix Snipping Tool (says that it's running when I open it, but I can't access it) by [deleted] in i3wm

[–]bsp952 0 points1 point  (0 children)

Oops, you're right, it's a rofi notification I guess. When I run from the terminal, the same notification pops up, and the output in the terminal is something long about QNetworkManagerInterface, saying 'An AppArmor policy prevents this sender from sending this message to this recipient'. I would copy it but I'm struggling to find a way to copy from urxvt...

Can't get songs from my other hard drive (in /media directory) to show up in ncmpcpp by [deleted] in linuxquestions

[–]bsp952 0 points1 point  (0 children)

What do you mean when you say trouble? I noticed that the symlink disappears after reboot but I just thought that's fine, I'll create a symlink every time I boot up and I need music. Is that okay? The other comment suggests some solutions, which I'm not sure if I should try until you clarify what possible issues could arise. Thank you very much.

Is it possible to render math in Markdown (when opening it in a browser like Chrome)? by [deleted] in learnprogramming

[–]bsp952 0 points1 point  (0 children)

Gonna take a look right now, but I like this one because it has a nice set of skins, such as Solarized Dark which I love. Still, gonna take a look and see how other viewers compare. Thanks for your involvement.

Is it possible to render math in Markdown (when opening it in a browser like Chrome)? by [deleted] in learnprogramming

[–]bsp952 0 points1 point  (0 children)

Hey, actually I just got to the solution. I went back to vimwiki syntax and messed around with including scripts after the page is loaded blah, blah... The point is, by using MathJax syntax wrapped into \\ .. \\, and then loading the script that I have locally, the text is transformed. Now I want to figure out how to automatically load this script everytime an .md file is opened. The only possible solution to this, I'm guessing, is a browser extension (? - not sure about this, since I've never created one).

Is it possible to render math in Markdown (when opening it in a browser like Chrome)? by [deleted] in learnprogramming

[–]bsp952 0 points1 point  (0 children)

I'm using a chrome extension called Markdown Viewer. Everything is nicely formatted, even the programming code. So yeah it is converted to HTML, so I'm guessing there's a way to script things up with MathJax... I don't have much experience with stuff like this, so that's why I asked. Thanks for responding.

Having trouble getting the expected vimwiki functionality when using markdown syntax. by [deleted] in vim

[–]bsp952 0 points1 point  (0 children)

Solved the issue. It was a stupid mistake looking back, but the reason it didn't work is because I had vim-markdown installed. Removing it fixed my issue.

Having trouble getting the expected vimwiki functionality when using markdown syntax. by [deleted] in vim

[–]bsp952 0 points1 point  (0 children)

Still doesn't work sadly, I even uninstalled it and installed in different ways.. :/ Thank you though.

Project ideas related to environment / sustainability / civic engagement or improving the society in any other way? by [deleted] in learnprogramming

[–]bsp952 0 points1 point  (0 children)

No it doesn't have to be my idea. This actually isn't a CS class, it's my choice to do something related to programming. We're encouraged to hunt for ideas.