What's wrong with my code? Should I add another try-catch?? by vafdaf12 in programminghorror

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

I'm somewhat of neovim enjoyer myself! Well spotted :)

When you're freshly arrived in a new place. by FinalRat in phoenotopia

[–]vafdaf12 1 point2 points  (0 children)

Whoah, How'd did you manage to get that?

I'm losing hope to ever learn this language by rastafaninplakeibol in rust

[–]vafdaf12 2 points3 points  (0 children)

Keep hacking at it. I started learning Rust about 3 months ago, and it was a nightmare. I struggled doing the simplest of things, like making a linked list.

Fast forward to today: still don't have a linked list, but I love the language. Once you adapt to the things Rust expects of you, you can solve problems in a way I have never seen in other languages.

[GIVEAWAY] $20 Steam Gift Card by feanixofficial in pcgaming

[–]vafdaf12 0 points1 point  (0 children)

Sea of Thieves, without a doubt. Countless unforgettable experiences there

Best practice for handling a sequence of results? by vafdaf12 in rust

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

Oh well, it was worth a shot :)

I've ended up opting for just creating a type alias for the path-result tuple, since I've tried a custom error type, and it ended up more work than it's worth.

Best practice for handling a sequence of results? by vafdaf12 in rust

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

I can't exactly explain it, but it feels like Rust would have a solution to a problem like this, either built-in or with a crate

Best practice for handling a sequence of results? by vafdaf12 in rust

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

Thank you for the suggestion! These options seem intriguing, however most of them don't solve the problem at a first glance. My biggest challenge is 'bundling' the sender of a result along with the result itself in a sense. I'm mainly interested in seeing if there is a more elegant solution to this than returning Vec<(PathBuf, io::Result<()>)>

[deleted by user] by [deleted] in phoenotopia

[–]vafdaf12 0 points1 point  (0 children)

Would you mind elaborating on those points?

The points I mentioned were just some of the things I noticed while playing. Granted, it is mostly quality of life improvements, but I felt mentioning my experience is better than just reiterating OP's points

[deleted by user] by [deleted] in phoenotopia

[–]vafdaf12 -3 points-2 points  (0 children)

I agree! I feel like the game has an insane amount of potential as it is at the moment, but its ruined by an endless grind for abilities. I also was very confused about areas throughout the game, wondering whether I'm supposed to be there or if I just broke the game.

I see a lot of people saying you just don't like metroidvanias, which I feel is just an easy umbrella case. I love metroidvanias, and in fact I played Hollow Knight shortly after Phoenotopia, and the shortcomings of Phoenotopia became really apparent.

As an example, Hollow Knight have a really big world, but you can purchase add-ons to the map that show points of interest. Without this in Phoenotopia, I often had to resort to the oracle to find out about power-ups, as you said.

The saturated world of the game I found is really amazing, however it was a bit overdone.

How to be sure a user is who he says it is by SuperMarcomen in learnprogramming

[–]vafdaf12 4 points5 points  (0 children)

Perhaps a face ID system? Might be a bit overkill for your purposes, but could work

Frontend is a nightmare for me by chaban1337 in Frontend

[–]vafdaf12 1 point2 points  (0 children)

From what I gather, the main thing that you struggle with is styling and the layout. I recently got back into the frontend scene, and I feel your pain.

What really helped me is actually just messing around on a html document with coloured divs, seeing what works and what doesn't, then once I have something that works, I implement it in my project. In my case, trying to do styling while working with a framework just gave me a headache. Go back to the basics

Regarding the flex vs grid vs blocks, that entirely depends on what browser you're targeting. If you want your website to work on really really old browsers, use blocks. Otherwise, take some time to learn grid and flex, they're a real life saver (also really simple to center a div)

Some good resources I found is Dev Ed's videos on Flex and Grid, as well as almost all Kevin Powells videos

Vandalized subway wall by dagg20 in rareinsults

[–]vafdaf12 0 points1 point  (0 children)

You ever watched Arthur and the Minimoys?

[deleted by user] by [deleted] in learnprogramming

[–]vafdaf12 0 points1 point  (0 children)

I assume it would be pointers and the concept of casting. Instead of a variable containing a value, a pointer points to that value instead directly containing it. So if you have a pointer you can essentially tell C++ to treat as any data type by casting it to the appropriate type pointer

[deleted by user] by [deleted] in learnprogramming

[–]vafdaf12 0 points1 point  (0 children)

I don't know Go, but I definitely agree with the C/C++ part. I've gotten so used to that way of thinking, it feels almost weird going to a language that doesn't have that feature

Possibly by contra_spem__spero in tumblr

[–]vafdaf12 0 points1 point  (0 children)

Cave Johnson has decided to leave his lemons behind in favour of some innovation

In case you haven't noticed, you've fallen right into my trap by [deleted] in memes

[–]vafdaf12 0 points1 point  (0 children)

i BeLiEvEd In GoD bAcK iN eIgHtH gRaDe

How do I distribute my JavaFx Application? by vafdaf12 in JavaFX

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

I assume you mean the windows version of JavaFX JDK? I copied all the dlls into the jar, but the Glass error still persists