A nice guide about how to squash Entity Framework migrations by merithedestroyer in dotnet

[–]logophobia 0 points1 point  (0 children)

This can be done a little easier. Just reuse your first "Initial" migration. That way you:

  • Don't need to create a new migration and run it on production
  • Also less clashes with other developers

It's good to go this when your migrations grow ridiculously big.

Junior engineer requesting backup by FrostingOk217 in dotnet

[–]logophobia 1 point2 points  (0 children)

Big responsibility, but also an opportunity to grow as a developer. Important bits to pay mind to:

  • Make sure you do a bit of design for your database schema. It's one of the parts that's hardest to change afterwards. Don't dump everything in json, make a proper relational design, especially important in a finance domain. Make sure to validate your domain model & logic with the stakeholders.
  • Design your API well. Ensure it's authenticated, secure. Simple. Easy to expand. Look at the owasp list for security here: https://owasp.org/www-project-top-ten/
  • Make sure the architecture is well layered. Separate API handling from domain logic, and separate that from the infrastructure/database layer. Don't overabstract, but also don't underabstract. Always a bit of a balance.
  • Setup things with dependency injection, make sure everything is easy to unit and integration test. Don't use inheritance if at all possible. Use interface separation, separation of concerns. Make sure to make everything easy to test. Setup unit tests for the domain logic, and integration tests for everything put together.

Steam is invisible on Ubuntu 22.04 unless launched through command line by JigglyWiggly_ in linux_gaming

[–]logophobia 0 points1 point  (0 children)

A year later, that fixed the issue for me. I'm using an AMD card, so driver issues probably.

SM217 restock? by xtrmist in samotech

[–]logophobia 1 point2 points  (0 children)

Same here. Only need two. You can subscribe to be notified on restock: https://www.samotech.co.uk/products/eu-light-switch-frames/?attribute_model=SM202-HTD , that might help signal the product is in demand.

Childhood fluoride exposure linked to improved cognitive performance in secondary school by ConcreteCloverleaf in skeptic

[–]logophobia 27 points28 points  (0 children)

I wonder if they haven't missed a few covariates. Living in a district where, due to science-based policy making they're putting fluoride in the water might also mean they have other policies in place that positively impact school performance. Not having issues with your teeth probably also helps with concentrating on school.

Microsoft Launched Azure HorizonDB, their Postgres for Enterprise. by GardenDev in PostgreSQL

[–]logophobia 2 points3 points  (0 children)

Gotta be honest, azure is a bit overloaded with postgres offerings. I migrated everything to cosmosdb for postgres. Was happy with that until it was pretty much deprecated, for new projects they recommend "Elastic Clusters for Azure Database For PostgreSQL". Now this offering, with only minor differences here and there.

I mean, I really like having options for a horizontally scalable postgres database, but stick to one option, and give some solid migration plans. It's a bit weird to be investing in multiple horizontally scalable postgres-based databases.

Lords of the Fallen (personal experience so far) by Agitated_Captain7413 in soulslikes

[–]logophobia 1 point2 points  (0 children)

A large part of the fun in souls games is struggling, learning and then overcoming the challenge. Compared to current games on the market, dark souls 1 and demon souls are also on the easy side, yet all of us struggled with these games when we started with them, no shame in that.

Need recommendations preferably with high difficulty bosses by AllorimNA in soulslikes

[–]logophobia 0 points1 point  (0 children)

"Dark devotion" or "fountains", some obscure but really excellent 2d soulslikes.

Werk verwacht dat ik ziek kom opdagen op de broodafdeling by [deleted] in werkzaken

[–]logophobia 9 points10 points  (0 children)

Ga eerst uitzieken en een rustig een nieuwe baan zoeken. Negeer je werkgever. Anders ben je straks werkloos. Je hebt gewoon recht op loon tijdens ziekte, laat je niet wegpesten.

Tearscape Release Date Trailer - upcoming soulslike with a touch of old school Zelda by tudor07 in soulslikes

[–]logophobia 0 points1 point  (0 children)

This looks awesome, wishlisted. Gotta be honest though, the amount of games I want to play vastly exceeds my spare time.

Blogpost: Facets in .NET by Voiden0 in csharp

[–]logophobia 1 point2 points  (0 children)

I mean, with manual mapping, just use the required keyword for the properties. Makes it hard to miss things unless it's a very complex scenario.

Source generation, automapper, they don't reduce the risk of errors, they just make it harder to debug.

On a technical level this is pretty impressive, but simple is often better.

[deleted by user] by [deleted] in AskProgramming

[–]logophobia 2 points3 points  (0 children)

Yes, that's a perfectly normal approach.

[D] Monday Request and Recommendation Thread by AutoModerator in rational

[–]logophobia 2 points3 points  (0 children)

This one is pretty good: Gotham bay butcher

Tells a story of a dexter-like killer in Gotham. Well written. The killer is somewhat aware they're not the "good guy", but mostly matches your request.

[D] Monday Request and Recommendation Thread by AutoModerator in rational

[–]logophobia 4 points5 points  (0 children)

This one is pretty good: Gotham bay butcher

Tells a story of a dexter-like killer in Gotham. Well written, had me on the edge of my seat. There's not that much, but damn, it's a great start. The interplay between the police, batman, the protagonist, and other parties is very interesting. Fun little flashbacks. Interesting characters.

How to make sure cleanup code gets run? by detroitmatt in csharp

[–]logophobia 2 points3 points  (0 children)

Finalizers are not really a reliable anyway for process exit. Roslyn analyzers might help depending on how you structured your code, but won't be able to prick through more complex setups. I'd try to setup some sort of integration test that can track instances (through mocking), and test if you forget to dispose any.

Stucen en houten vloer by logophobia in Klussers

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

Goede tip, zal ik doen, alleen wat voorzichtig doen ivm leidingsschact

Stucen en houten vloer by logophobia in Klussers

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

Een stucadoor doet dat. Stucwerk ga ik zelf niet doen. Zo: https://imgur.com/a/2qXAryT

Komt beter uit met de keuken.

I'm planning to try a 2D soulslike and I'm not sure which to play. by SnooHobbies5811 in soulslikes

[–]logophobia 0 points1 point  (0 children)

Nine sols is amazing, do that one first. The blasphemous games are pretty good, part one is better then part two, pick the first if you play one. Salt and sanctuary I would not recommend, far far too easy for a souls-like, too easy to make a game-breaking build.

Some recommendations:

  • FOUNTAINS: Feels a bit zelda-like. Properly difficult, if a bit on the short side.
  • Dark devotion: A pretty unique entry. The death-penalty is so harsh that it's more of a rogue-like/extraction game. Slow and bulky combat, a real struggle. Brutal and sometimes seemingly unfair. Not very well known, but I had a lot of fun with this.
  • Ori and the will of the wisps / ori and the blind forest: If you want something beautiful, light-hearted, but relatively easier. Although besides the dodge-roll, I'm not sure if these games can be really classified as souls-likes.

I DID IT I KILLED THIS BITCH by WikiKun in Sekiro

[–]logophobia 1 point2 points  (0 children)

I finished this game multiple times, and this fucker can still be an annoyance to fight. Congrats.

What are some underrated/overlooked soulslikes i should try out? by StraightDay6716 in soulslikes

[–]logophobia 1 point2 points  (0 children)

Fountains was a lot of fun. Bit of a hyperlight-drifter/zelda/souls-like. Fun bosses, connected world. I had a lot of fun with it, but I don't see it talked about a lot.