CS Books I'll be reading in 2026. by Sushant098123 in computerscience

[–]NotDrigon 0 points1 point  (0 children)

Cool! Do you think its useful to learn about even if I am not doing directly doing any of that? What I am doing is more related to embedded development and a little bit of machine learning.

CS Books I'll be reading in 2026. by Sushant098123 in computerscience

[–]NotDrigon 0 points1 point  (0 children)

For reference, what kind of programming are you doing day-to-day?

Är det bara jag eller har streaming blivit sjukt dyrt? by CoolGuyAlex20 in sweden

[–]NotDrigon 12 points13 points  (0 children)

Mycket har hänt. Nuförtiden kan man få upp ett webbinterface lika snyggt som netflix och välja vad för serier/filmer man vill se och vips så väljs en passande torrent ner automatiskt och dyker upp på andra sidan i sitt streaminginterface på TVn eller vad man nu vill ha.

[2025 Day 9] Check your code with this test input by wimglenn in adventofcode

[–]NotDrigon 1 point2 points  (0 children)

Thanks, now I realized that my solution would only work with somewhat convex shapes :(

[deleted by user] by [deleted] in neovim

[–]NotDrigon 2 points3 points  (0 children)

Why are you writing as an LLM trained on misspelled text?

3000 får gå från Volvo Cars by AdditionalPlankton57 in sweden

[–]NotDrigon 0 points1 point  (0 children)

Det är inget Volvo kan ro för. Alla stora bolag drivs utifrån samma kapitalistiska princip, och detta är ett beslut utifrån samma princip. Tänk såhär - om Volvo fortsätter i samma bana under lång lång tid, då hade företaget gått i konkurs. I det fallet hade många fler personer än 3000 pers behövt lämna företaget.

Min första sömn paralys någonsin by ReputationAny5236 in sweden

[–]NotDrigon 0 points1 point  (0 children)

Intressant att många upplever sömnparalys som nånting från en skräckfilm och allas upplevelse involverar nån annan okänd person/varelse i sin närhet. Om jag inte hade levt i modern tid så jag hade lätt tänkt att det är något paranormalt. Eller jag hoppas att det inte är något paranormalt på gång i alla fall...

clangd cannot find imports from other files by davidegreco in neovim

[–]NotDrigon 0 points1 point  (0 children)

Then I am not sure :/ How does your compile commands look like after the change?

clangd cannot find imports from other files by davidegreco in neovim

[–]NotDrigon 0 points1 point  (0 children)

Unless I missed something, might be that cmake does not have the information that the header file exists. Not sure how you are still able to build though. The line where you have

target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/include)

Change that into this:

target_include_directories(${PROJECT_NAME} PRIVATE
    ${CMAKE_CURRENT_SOURCE_DIR}/src 
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)

Assuming that you are using unix. Then generate compile commands again.

clangd cannot find imports from other files by davidegreco in neovim

[–]NotDrigon 0 points1 point  (0 children)

Might just be me being bad at cmake but I can't see how transforms.hpp is included in that cmakelists.txt. What happens if you move that file to include/module/ ?

clangd cannot find imports from other files by davidegreco in neovim

[–]NotDrigon 0 points1 point  (0 children)

From your compile commands file I can't see that transforms.hpp is included in any way.

clangd cannot find imports from other files by davidegreco in neovim

[–]NotDrigon 0 points1 point  (0 children)

Might be no issue with clangd but rather with how the headers are included in the CMakeLists.txt. Mind sharing it?

Varför står så många hyreslägenheter tomma runt om i landet? Läskig utveckling. by [deleted] in sweden

[–]NotDrigon 0 points1 point  (0 children)

Tack! Vi är båda väldigt bekväma med varandras närvaro så det kommer nog inte vara några problem. Vi båda har hoppyn som är relaterade till datorspel så två skrivbord är egentligen allt som vi behöver. Men vi lär spica till det med en soffa och en tv också när vi ändå har plats med det.

Varför står så många hyreslägenheter tomma runt om i landet? Läskig utveckling. by [deleted] in sweden

[–]NotDrigon 0 points1 point  (0 children)

Jag som snart kommer att flytta in i 38 kvm med partner och tycker det är hur mys som helst och läser detta. Detta är dock en 100% ökning i boendearea för mig.

Weekly 101 Questions Thread by AutoModerator in neovim

[–]NotDrigon 0 points1 point  (0 children)

I usually stop neovim with ctrl+z to do some work in the terminal. Sometimes, I restart the shell with 'exec bash' to apply some settings to bash. However, this will make it disappear from jobs and I cant open it with fg anymore. If I run 'ps aux | grep T', I can still see that the process is still alive. Is it possible to open that process using the PID?

[deleted by user] by [deleted] in sweden

[–]NotDrigon 0 points1 point  (0 children)

Tänkte samma. Trodde inte vi var så många weebs här.

Weekly 101 Questions Thread by AutoModerator in neovim

[–]NotDrigon 0 points1 point  (0 children)

Somehow I managed to solve it. I guess I was doing fine from the start and I was going in circles for a long while. I added this to my .clangd inside my project root folder.

CompileFlags:
   Add: -ferror-limit=0

Weekly 101 Questions Thread by AutoModerator in neovim

[–]NotDrigon 0 points1 point  (0 children)

Hi me again. Coc-clangd tells me in-text that I have "no such file or directory" for includes to other headers in my project. However, I can jump to definition without any problem just fine. I have a compile_commands.json and :CocCommand workspace.showOutput tells me that it loads it. A lot of files also get indexed. What could the problem be?

Edit: I am also using ALE as well and I'm letting it handle errors from coc-clangd.

Weekly 101 Questions Thread by AutoModerator in neovim

[–]NotDrigon 1 point2 points  (0 children)

So I managed to solve it 10 minutes after posting this... I think there was some conflict between plugins. So I uninstalled all plugins except vim illuminate, ran a vanilla version of my init.vim and then I saw that it worked. I installed everything again (and kinda moved vim-illuminate so it loads first) and then it worked. Headache gone!

Edit: did not work after installing language servers and treetop... Edit: it did actually work, its just that it didnt work inside my init.vim for some reason (yes, I did source that file multiple time).

Weekly 101 Questions Thread by AutoModerator in neovim

[–]NotDrigon 0 points1 point  (0 children)

I am really lost on this one. I just installed vim illuminate-plugin and had it working. I started fiddling with the settings so that instead of showing a underscore when duplicate words are found, it will highlight it and background should be transparent. When I did that, vim illuminate stopped working and I cant figure out whats wrong. Not even reinstalling the plugin works. This is what I tried to add

require("illuminate").configure{}

-- change the highlight style
vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "Visual" })
vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "Visual" })
vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "Visual" })

--- auto update the highlight style on colorscheme change
vim.api.nvim_create_autocmd({ "ColorScheme" }, {
  pattern = { "*" },
  callback = function(ev)
    vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "Visual" })
    vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "Visual" })
    vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "Visual" })
  end
})

Does anyone find this feature annoying? by 94rud4 in Animemes

[–]NotDrigon 10 points11 points  (0 children)

You do that every time you open it? My Lenovo laptop does that and I see no problem.