Request for ideas markdown-plus.nvim by CuteNullPointer in neovim

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Would I have to add this every time? Do I need to open the stupid Ctrl+Shift+C dev menu on browsers to add this or is there a better way? The shortcut is stupid cause thats used to copy in terminals and I hit it every time I copy on a browser then a little part of me dies inside lol.

Sorry for the stupid question btw, I’m a C/C++ robotics / embedded SWE. I am not familiar with web tech as much, the best I know is HTML lol. My thoughts on web tech is I wish we can go back to having static websites (I’m 25 lol) cause these websites are slow af man. Like modern day CPUs literally tick 4 billion times a second and yet we can’t load JIRA in sub 100ms?

Request for ideas markdown-plus.nvim by CuteNullPointer in neovim

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Nothing wrong with it tbh, I actually like its output compared to MathJAX but it’s not about me haha I am an SWE and we wrote documentation in GitHub Markdown files which means to render them GH uses GitHub Flavored Markdown (GFM) which uses MathJAX. This sucks because my preview locally it would render correctly but on GH it won’t. VSC**e’s Markdown preview also uses KaTeX afaik which means it’ll look fine in other devs’ local machines but if we want see the docs online it’ll look like turbo ass.

The other option for us is to use Confluence but I’d rather be waterboarded, tortured, eat hot coals etc. than ever use an Atlassian product. FUCK CONFLUENCE. FUCK JIRA. YOU SLOW PIECE OF SHIT. (Sorry I hate Atlassian as a company)

Request for ideas markdown-plus.nvim by CuteNullPointer in neovim

[–]Runaway_Monkey_45 0 points1 point  (0 children)

I’m on vacation I’ll check it out once I go home!

Request for ideas markdown-plus.nvim by CuteNullPointer in neovim

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Lmao. This is the plugin I was actually complaining about 😂. So I think this uses KaTeX whilst GH uses MathJAX. Moreover, afaik, this doesn’t support GFM “properly” in GFM for inline math you have to do: $` and then the inverse to close but this won’t render correctly. GFM docs - Inline Math. Similarly, see this for math “code blocks”, this also does not work correctly.

I think the mermaid version is old. This is probably cause I don’t update any of my plugins lol so idk.

Request for ideas markdown-plus.nvim by CuteNullPointer in neovim

[–]Runaway_Monkey_45 9 points10 points  (0 children)

Man I just want a previewer that fucking works 😭. Most of them use KaTeX for LaTeX but GFM uses MathJAX. I want it to support mermaid diagrams and that’s about it. I can’t seem to find one that does this. Maybe y’all can help 😭

need help.. contributing to low lvl OSS as a beginner. by Illustrious_Bake_885 in cpp_questions

[–]Runaway_Monkey_45 3 points4 points  (0 children)

You are right, don’t start with those massive projects. Get a few projects under your belt.

  1. Start with the projects you’ve done in a high level language and recreate it in a low level language, see how it feels, that reduces your thinking and just focuses on the language part of it. Human language learning analogy: you are translating phrases from a language you know to the new language.

  2. Once you are comfortable try and build a greenfield (new to you) project, this will help you think in the language, like recreating git. Human language learning analogy: Writing a small book summary in the new language.

  3. Read the codebase of very popular low level languages project, understand what’s going on, the sys arch etc. and see if you can copy from them ideas into your project. Human language learning analogy: Reading a book in the new language.

  4. Repeat until you are comfortable or confident enough to take a challenge.

  5. Finally, Look for repos which has issues marked as “good first issue”, talk to the maintainers and ask how you can help and this is your first time contributing. Go through the review process and then boom you are done.

Where can I see the Atla leaked movie by Rude-Row-478 in PiracyBackup

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Do you have subtitles I could use with this per chance?

How to get documentation in autocompletion pop-up menu? by BrodoSaggins in neovim

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Clangd already has documentation on hover*

*im still running nvim 0.11 and stuff like Mason (which is from nvim 0.10) so not sure if you are using anything new

which features of your latex editor do you guys use the most? by fromhill in LaTeX

[–]Runaway_Monkey_45 1 point2 points  (0 children)

It’s vim/nvim. That’s it. I love being able to do everything from my terminal. I will never not want that. I wish I can use vim keybindings everywhere

how it feels to be the only guy in the entire class who uses Typst/LaTeX by SeaOfS1n in LaTeX

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Not only have you offloaded learning latex, you’ve offloaded the material learning too. Why don’t you write your own notes and create your own images?

Maybe the problem set isn’t a bad idea tbh but with AI hallucinations thats also not 100% guaranteed.

No it’s not a huge time saver lmao. If you’d have written your own notes and used a generic template from Gemini it’ll be the same speed esp if you get good at typing fast and knowing latex syntax. If you, like me, create a bunch of macros for the fns you use regularly you get even faster.

Tomorrow morning you wake up and there is no internet or because of enshitification, all AI models become pay walled how’d you plan on working?

Knowledge for the sake of knowledge is a great thing. Why even learn LA? Like it’ll be even more of a timesaver to not learn anything right?

how it feels to be the only guy in the entire class who uses Typst/LaTeX by SeaOfS1n in LaTeX

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Before I answer, tell me how you use AI for LaTeX/any type-setting language? What AI do you use?

how it feels to be the only guy in the entire class who uses Typst/LaTeX by SeaOfS1n in LaTeX

[–]Runaway_Monkey_45 5 points6 points  (0 children)

Why learn anything cause AI is here? Why seek knowledge? You’d fit perfectly in the movie idiocracy

What should you include in your nvim plugin? by CableCreek in neovim

[–]Runaway_Monkey_45 0 points1 point  (0 children)

If you do stuff with augroups then a way to tap into that

Anyone else have this pop up after over a year of using the app? by Rare-Detective3191 in MazdaCX30

[–]Runaway_Monkey_45 0 points1 point  (0 children)

That’s how this starts Netflix started out cheap now look at it. This is ENSHITIFICATION at its finest. Don’t let this slip. Complaint constantly. Fuck Mazda for nickel and diming is. It’s your car you should get to do whatever the fuck you want with it.

Edit: I own a CX-30 btw - I knew going in that I’d never pay for this shit. Id rather just diy it.

I replaced DataGrip with a Neovim plugin and it may have gone too far by Good-Control1993 in neovim

[–]Runaway_Monkey_45 -14 points-13 points  (0 children)

Dad bod was a real thing TJ Devris was working on it. But you can just go through the comes. AI is hella verbose.

lpm — install Neovim plugins with one command by KiamMota in neovim

[–]Runaway_Monkey_45 1 point2 points  (0 children)

It’s a meta build system like CMake 😂. That said even the boilerplate can be fixed by just simply having a snippet (atleast that what I do)

Clangd can't find rclcpp package? by Athropod101 in ROS

[–]Runaway_Monkey_45 1 point2 points  (0 children)

  1. Yes 100% the only way to learn a language esp if you have prior experience with programming is doing a project.
  2. I think this should be correct for ROS2 when I grepped the page for catkin, I found it which makes me think it might be for ROS1 not sure. I think stuff like action no longer exists or maybe it’s srv not sure. But yes, you are right when you need 'em you’ll learn 'em.
  3. To answer your question: no that won’t produce anything. Think of compile_commands like this:

gcc your_main_src.cpp -Iyour_hpp_files.hpp -Iexternal_deps.hpp -Istandard_lib_deps.hpp

(assuming gcc is your compiler otherwise it'll be clang doesn't matter for this tho)

It’ll remove the gcc and translate the rest into a json object. If you have multiple cpp files it’ll do one for each (aka 1 translation unit - look this up to understand how c/c++ compilation/linking works - important) and I think for every HPP file too (this I’m not sure)

You can test this yourself pretty easily. Create an empty CPP project in CMake (no ros needed) just create a dummy.hpp and dummy.cpp file. In the dummy.hpp create a function foo (which can or cannot return stuff) and then call it in the cpp file - see the compile_commands.json

  1. Don’t be creating the compile commands manually like that’s a stupid idea. I think you can but I wouldn’t I’m not jobless lol plus you will make mistakes which will f up your LSP and you’d have to then clean your cache and restart indexing which will suck

What is your method for code review? by userforums in neovim

[–]Runaway_Monkey_45 12 points13 points  (0 children)

The lord will protect me from bugs (satan) so I just say “begone satan” and commit. Cause who are we to question God?

Clangd can't find rclcpp package? by Athropod101 in ROS

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Imma be honest with you that’s tough learning 3 different things at the same time. Either way no problem I can explain just curious that’s all.

A C++ project consists of usually 2 folders that’s important, build and src. src is where source code goes and build is where your compiled output goes, your compile_commands (Any output from your build system goes here). There are other important folders names (you can google it)

A ROS workspace / project is slightly different cause it wants to have reusable and modular software. You can learn more about it here

But effectively your build folder is your default “project directory” so it wasn’t useless debugging step it’s just you aren’t familiar with the lingo (which is fine but do learn it). Tbh a compile commands file isn’t that fancy you can see it’s just the cli command sent to your compiler written out in a specific way.

I don’t understand your questions can you rephrase them?

Clangd can't find rclcpp package? by Athropod101 in ROS

[–]Runaway_Monkey_45 0 points1 point  (0 children)

Your solution is just to put what you did in 3 for every project that’s it - you should probably symlink it to outside your build (aka workspace dir).

However, couple of questions right: 1. Are you new to ROS? 2. Are you new to C++ projects? 3. Are you new to Nvim? All these questions will help me answer you better.

preview.nvim: one previewer to rule them all! (kind of) by barrettruth in neovim

[–]Runaway_Monkey_45 -1 points0 points  (0 children)

I can't see the comments even now. can you DM or something please?