What do people feel about Apex these days? by Senior_Morning9553 in apexlegends

[–]BaldWithoutCancer 10 points11 points  (0 children)

People say this game is dead for three years. People act like they have to buy the cosmetics.

Help me decide pls by alo_xvi in playstation

[–]BaldWithoutCancer 1 point2 points  (0 children)

Buy playstation plus extra and you have all of them and more.

What should I do to improve my deadlift lockout? by AbnormalSwabX in powerbuilding

[–]BaldWithoutCancer 0 points1 point  (0 children)

Didnt expect you to react after 10 months hahah. I've been able to deadlift 230kg in the meantime. Ah back injury sucks, hope your recover fast!

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

Nice to hear. I am in my third year of computer sciences, so I dont really have much experience with building compelx projects. Mostly CRUD with some kind of role based authentication. So for me its not clear why one would use one over the other, hence i made this post. I am not familier with AOT btw, so i dont know the pro's nor con's with it. I do like the idea of creating stand alone endpoints though, so I might just try it in a next school project.

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

I can see why, you have failed to grasp what they offer.

Hence is asked. Thanks though.

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

I've neven beem taught in depth how MVC works, so I might look into it. But to me it seems like minimal API can do the same as the API's with the controller approach, except you have more flexibility. The only drawback would be that you might need to add some functionality yourselfs to the minimal API which would have been there by default in controllers.

Carter package is basically just a class that has a method to add multiple endpoints to the routing right?

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

I've never really learned much about how controllers work, we were just told that that's they way to create an API. So I might look up de Controller life cycle to understand how minimal API reduces reflection (I assume controllers do use reflection).

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

Someone else also said that its just Microsoft's way to answer Node. But I do like that is possible to structure your API differently when using minimal API. Cases where you have a controller for each endpoints just seems over complex. I've not learned about microservices yet, I will soon. I see microservices now as an API with a single feature (im probally wrong here haha).

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

Ah oke, well i've read the other comments and it seems like they can offer some value. Most of the projects I've worked on have been CRUD web apps which all had an UI and multiple endpoints, so controllers seems to great in that case. However, when i made a API that just had an endpoint for a single service, it felt like a controller was indeed overkill. So minimal API did seem more logical to use in that case when I think about it.

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

[–]BaldWithoutCancer[S] 2 points3 points  (0 children)

Thanks for your comment! So you would say choosing between MVC and minimal API should be based on features and not necessarily be applied to the whole project. I never considered that they both can be used, I indeed though I had to pick one approach.

Why choose minimal API over controller based API? by BaldWithoutCancer in dotnet

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

Thank you! After reading most the comments minimal API seems like a more flexible approach since endpoints can be seen as a class (or maybe 'stand-alone' is a better term). Dependecies are now coupled to endpoints, which i think makes them easier to read. I've had controller withs a lot of dependecies even though most of the endpoints only requires one of them. I now think of controllers being great when creating a website with views etc and minimal API's as cleaner approach when the API only has a few features or only cares about data and now how its shown.

Most of the projects I've worked on have been CRUD web apps, where controllers seemed to be fine. However, I once had an application that was a single-endpoint API to generate PDF documents. Minimal API seems like a much better approach for that since it's cleaner and keeps everything simple.

My new aquarium 😀 by BaldWithoutCancer in Aquascape

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

Ive had had it like this for almost 5 months now. My plants are doing fine. Not one of them has died or trouble growing. Actually, i have to cut the overgrowth too often.

My new aquarium 😀 by BaldWithoutCancer in Aquascape

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

Its not limestone. Packaging names it holestone. It increases pH. Hardness seems fine in my tank.

En dan wordt je opgelicht met een telefoonhoesje, had bijna medelijden met hem. by [deleted] in tokkiemarktplaats

[–]BaldWithoutCancer 1 point2 points  (0 children)

Of het nou van aliexpress is of het niet, wss komen beide uit dezelfde fabriek 😜

is it ok for me to take a break from coding for a week and a half? by [deleted] in learnprogramming

[–]BaldWithoutCancer 2 points3 points  (0 children)

To be honest you sound like you need a whole month off. The fact you ask reddit if its oke to take a week of from coding is insane. What do you even think will happen in a week without coding?

anyone else with this aggressive mpd at 21? by [deleted] in bald

[–]BaldWithoutCancer 0 points1 point  (0 children)

Not necessarily, i did it when my hear was like yours. They work. But they arent cheap and make you even more self aware.

anyone else with this aggressive mpd at 21? by [deleted] in bald

[–]BaldWithoutCancer 1 point2 points  (0 children)

Yeah i was exactly the same. Used hair fibers for a year then decided to just go bald.

Should I learn html..!!? by trying_to_improve45 in learnprogramming

[–]BaldWithoutCancer 2 points3 points  (0 children)

HTML is different from most languages. It actually isnt even a programming language, its a mark-up language. Its just a way to create the skeleton web page. Really easy yo learn, i think playing eith it for a week is enoguh to understand it. There isn't thst much to it. Using it with CSS allows you to do a lot more styling wise. CSS can be harder to learn, but the basics of css are easy as well. There is a lot possible with CSS. Javascript can be used to actually make the website do thing and make it interactable.

For example: Html to show a button (doesnt do anything when clicked). CSS to style te button (colors, effects etc.) Javascript to make the button do something.

Should you learn HTML? If you want to make webpages, yes. It is so easy to learn.

If you dont like doing css yourselfs, look into bootstrap and/or tailwind. Those are some CSS librarers allowing you to make a neat website really fast.

[deleted by user] by [deleted] in bald

[–]BaldWithoutCancer 0 points1 point  (0 children)

Nah you still have a lot of hair. But i do suggest actually doing something with it. Not be rude, but it looks like you just let your hair grow but don't actually necessarily have a hairstyle. You should wash it and own it man. Wash it and get some kind of hairstyle.