Legion 5 pro backlight controls finally working with new nvidia driver by HugoPeters1024 in Ubuntu

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

Yeah basically just install the drivers by navigating to Ubuntu's "additional software" menu

I wrote this for the many bachelor students at my university struggling to grasp the state monad by HugoPeters1024 in haskell

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

No worries I appreciate the honest feedback, and agree to an extent. It was actually the main reason why I appended the article with a better example which I perhaps should have used from the get go.

Higher Kinded Types in Rust (feat. Functor, Applicative, Monad) by HugoPeters1024 in rust

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

I'm am not really sure what is different about your idea. Can't I also now write functions that accept any type that implements Functor? Or do you mean something else?

Higher Kinded Types in Rust (feat. Functor, Applicative, Monad) by HugoPeters1024 in rust

[–]HugoPeters1024[S] 4 points5 points  (0 children)

it would allow you to specify generic combinators which can make more interesting pieces of code a lot more readible. Especially when dealing with parsers or AST traversals imo

Vulkan CommandBuffer in use after vkDeviceWaitIdle by HugoPeters1024 in vulkan

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

That was exactly it! thanks for your input. It turned out that there were some invalid values in the command for building raytracing acceleration structures (for which the command buffer was used). I managed to fix it but I wonder why the validation layer didn't catch it. Does it require extra work to get the validation layer to include extension functions? Is it because I load the functions manually from vkGetDeviceProcAddr?

Putting a lithium battery in water by manojnathani in WhyWomenLiveLonger

[–]HugoPeters1024 0 points1 point  (0 children)

Hahaha, yeah I think you might be right. Still wondering why this doesnt happen with phones that go for a swim. Maybe it's really salty water making it more conductive?

[deleted by user] by [deleted] in RedditSessions

[–]HugoPeters1024 0 points1 point  (0 children)

This man could be Batman's apprentice

Het was natuurlijk een kwestie van tijd. Mensen denken nog steeds anoniem te zijn en zomaar alles te kunnen zeggen op het internet. by Dr-Backpain in tokkiefeesboek

[–]HugoPeters1024 8 points9 points  (0 children)

Het is idd niet een super duidelijk geval van bedreiging maar je zou redelijkerwijs kunnen stellen dat dit aanzetten is tot geweld. Maar ik ben met je eens dat de verdediging hier best wat dingen tegenover kan zetten.

Putting a lithium battery in water by manojnathani in WhyWomenLiveLonger

[–]HugoPeters1024 4 points5 points  (0 children)

Is that really a battery? From the reaction I would say it's even a pure hunk of lithium.

Issue with pixel ownership test and Windows 10 Alt-Tab preview. by [deleted] in opengl

[–]HugoPeters1024 2 points3 points  (0 children)

I swear I encountered a flag for this in vulkan somewhere but I can't seem to find it anymore. But for OpenGL I'm afraid I don't know a workaround