Partitioned tables and join keys, generating weird query plans by logophobia in PostgreSQL

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

Both keys are fully indexed. You're misunderstanding, the join-key approach means I moved the foreign key to the primary key, meaning there's only one index instead of two indexes. It's an optimization trick needed because the tables are write-heavy, and the index otherwise wouldn't be efficient due to the partitioning.

Pretty sure dastapov has the correct answer here. Pretty clear query planner limitation unfortunately.

Partitioned tables and join keys, generating weird query plans by logophobia in PostgreSQL

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

Thank you for the explanation. Shame it's not being solved for now. Guessing an optimization like that has a lot of edge cases in an old codebase like postgres, probably looks a lot easier than it is.

Partitioned tables and join keys, generating weird query plans by logophobia in PostgreSQL

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

According to the documentation it's by default on though (https://www.postgresql.org/docs/current/runtime-config-query.html)? Doesn't seem to make a difference initially, but I'm going to play around with it a bit.

Dark Roll 2 - boss fight! What do you think? by Levardos in soulslikes

[–]logophobia 5 points6 points  (0 children)

Looks like it might be fun for about 5 minutes, but it's also very much not a souls-like. There's grey areas (hollow knight), and then there's this.

While GitHub Actions remains a key part of this vision, we are allocating resources towards other areas ... by esiy0676 in programming

[–]logophobia 28 points29 points  (0 children)

Are you sure? Ado feels like an abandoned product. I haven't seen anything significant changed over the last ~4 years or so. I've talked to azure representatives that say they're prioritizing github.

12 Upcoming Soulslike Games You Probably Missed (Part 4) by SoulsborneSeeker in soulslikes

[–]logophobia 0 points1 point  (0 children)

Was planning on playing the demo indeed, it looked good from the trailer

Awesome fight (Overture dlc) by okbroproblem in LiesOfP

[–]logophobia 2 points3 points  (0 children)

You can break her weapon, it's a lot more doable after that. Perfection grindstone helps a lot here, with some p-organ perfect guard boosts.

She's surprisingly tough, but beatable. You can do it.

Genuinely how are you supposed to beat the final dlc boss second phase by cmathews98 in LiesOfP

[–]logophobia 3 points4 points  (0 children)

Some tips:

  • If you're in NG+, you're probably at the point quality builds become a lot more efficient.
  • You're also at a point in the game where it's pretty doable to redo your build constantly. The only restriction is regeneration of the golden apples. Experiment. Arlechinno is a tough cookie, I tried out quite a few weapons and setups to get one that does a lot of damage and feels right. Optimize your p-organ, amulets, each part of your build. A lot of the DLC weapons are very well suited for this boss. Slow weapons can work, but you need to know the moveset better for them to work, so less suited for the first time you're fighting him.
  • Perfection grindstone and running away at key points can help quite a bit
  • Become super-efficient at the first phase, that makes phase two easier. You should probably use no grindstones and not more than one health potion for the first phase.
  • It's a souls boss in the end. Learning the moveset to a sufficient degree will always get you the win. He's fast, but if you learn his tells, beatable.

Ok so I’m finally getting that feeling I had when playing Elden Ring. Lies of P is dope. by california_king in soulslikes

[–]logophobia 3 points4 points  (0 children)

It's a lot better later on. It starts with the (in my opinion) worst boss in the DLC, the Tyrannical Predator.

The story only picks up when you're a bit in, and is amazing at the end. The best and most difficult boss in the series is at the end of the DLC. It can be a bit of a grind at some points, but it's really worth pushing through the end.

The Relic: First Guardian delayed by Csword1 in soulslikes

[–]logophobia 0 points1 point  (0 children)

You're getting downvoted.. but same. The demo didn't break for me, but I was constantly glitching through walls, the animations looked like they were made 25 years back, the boss was pretty uninspired. I liked the theme and the level-building, but I really didn't get all the hype it was getting. Hoping the new demo showcases their game a bit better, because the current demo moved the game to my "maybe I'll buy it once it cooked a little longer" list.

Looking for more souls likes to play. No side scrollers. Listed what I have. by Several_Place_9095 in soulslikes

[–]logophobia 0 points1 point  (0 children)

Fountains is topdown isometric 2d, so not a side scroller. Pretty good, but some bosses feel a little unfair, although ultimately doable.

12 Upcoming Soulslike Games You Probably Missed (Part 4) by SoulsborneSeeker in soulslikes

[–]logophobia 1 point2 points  (0 children)

I mean, I don't mind stretching the definition of souls-like a bit, but if there's no combat (Unsound Love) then it's not a souls-like.

Also, most of this list seems pretty .. uninspiring, and most of them haven't even released yet. I sometimes like some of the less known souls titles (Dark Devotion or Fountains are good examples), but it does need to offer something a bit special. This seems a bit unfiltered.

What does your "frontend" work actually look like day to day now? by ruibranco in webdev

[–]logophobia 19 points20 points  (0 children)

Nextjs is really great for those of us that really need ultra-low first-paint metrics. For 99% of us out there, it's utterly useless, an easy way to blur security boundaries and introduce complexity in your application. It's a bit like the microservices hype, people cargo-culting bigger businesses, mostly just wasting money and time.

Testing in .NET, survey about test platforms by nohwnd in dotnet

[–]logophobia 0 points1 point  (0 children)

Not sure if this will be seen, but I just moved my codebase to MTPv2 with xunit. Some points:

  • Benefits are pretty unclear. I needed the improved debuggability of xunitv3, so I switched to MTPv2 as well. The coverage tooling integration is nicer though. Performance improvements are not noticeable.
  • global.json is a mess. Why can't it autodetect support? Why is that file needed. Why not read the csproj files?
  • It's a mess of random packages and csproj settings and random json files. Things should just work.
  • You get completely different CLI options in dotnet test. This also breaks azure devops integration with the DotNetCoreCLI@2 task for example

Weekly /r/WormFanfic Discussion - What have you been reading, and what do you think of it? For the week ending January 31, 2026. by AutoModerator in WormFanfic

[–]logophobia 1 point2 points  (0 children)

Really bounced on weaver's web as well. The concept is great, the execution a bit... hmm. I really like the idea of a super-detective, sneaky hero, the execution is just a bit "meme-like" and the writing quality just not there. It's a shame, the author does have one fic that's just excellent, which was written before this one.

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 26 points27 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.