Preferences

tormeh
Joined 7,993 karma

  1. Indeed. And SAP has no cooperation with any European cloud providers, afaik. It's the big three plus alibaba. SAP wants to move away from on-prem, but I guess it has a solution for critical applications. Maybe that can be shoehorned onto OVH or something.
  2. Eh, these are highly skilled individuals that just don't like learning a new thing, no matter how useful. That attitude is a problem to be managed, but these people deserve a certain amount of respect. Anyone saying "suck it" or similar should get a grip.
  3. The entire point of code names is that you can delay coming up with a marketing name. If the end user sees the code name then what is even the point? Using the code name in external communication is really really dumb. They need to decide if it should be printed on the box or if it's only for internal use, and don't do anything in between.
  4. Seems like the original puzzles were licensed for this game, in which case why not?
  5. Axum is the most popular web library out there, and sqlx the most popular sql library. Together they look something like this: https://github.com/tokio-rs/axum/blob/main/examples%2Fsqlx-p...
  6. Often each API route will have its own handler function. That function will - usually through many layers of indirection and abstraction - launch queries towards your database.
  7. Exactly. Divide the code in impure and pure functions. The pure functions can be easily unit tested. The impure ones can often be integration tested. The rest you'll just have to live with (or cover with whole-process integration tests). For tests spanning larger chunks of your code base it might be worth it to mock impure code. Never mock pure code - that's madness.
  8. I don't know much about C#, but in Rust this is very much not the norm. In fact, there are technical limitations associated with async traits. This sometimes allowed us a reprieve from the madness, but only sometimes. I guess you can write enterprise Java in any language.

    The entire idea was to make it easier to mock components and therefore easier to test code, however all the code connecting the components became untestable, so we were back to square one, struggling to meet our test coverage quota because of the massive amounts of boilerplate.

  9. > hexagonal architecture

    God help me. Was on a project where this was used to justify so much extra boilerplate. Every class had an interface, and then we used dependency injection to supply the class to something expecting that interface. Actually, it was in Rust, so there were no classes, but that didn't stop us. Absolute waste of time.

  10. The hateable part is the license. I love Rust but this is a huge step backwards.
  11. This is generally the mainstream take on it. These laws are not generally seen as good. However, if dictatorship comes back, the law is meaningless, so what a dictator would use a law for is a moot point.

    As for whether it's ingrained in German culture, quite possibly! These laws originate from the 1500s.

  12. What I'd really like is a TV with DisplayPort. How is this not a thing? IIRC you cannot buy a display with DP that's larger than 45 inches, give or take - they just don't exist. I think this is really weird. Like, I'd pay an extra $100 for that port, but I'm just not allowed to have it.
  13. Well, time is money, right? If someone files a complaint and goes through with whatever proceedings ensue you can bet that it's not a single mom working a full-time job. For police officers, on the other hand, enforcing this law on behalf of themselves is part of their job. So in practice this law is grossly unfair. It does lead to a greater level of decorum in public debate than in most other countries, which is nice, but it's not a fair law by any means.
  14. Germany does not protect free speech the way the US does. You're free to voice any opinion, but the exact wordings in which you are allowed to do it are restricted. You are allowed to say "I hate Merz" but not "Merz is a piece of garbage".

    I'm not saying this is good, but it's not recent and it does not prevent free communication of ideas.

  15. It's illegal to insult anyone in Germany, and has been for a long time. Libel, slander, and insults are all criminal (not civil) offences. I know what you're thinking: "That sounds crazy" - Yeah, it kinda is. In practice this is rarely enforced, as the offended party must file a formal complaint and most people have better things to do.
  16. GitHub has a container registry. That going down can cause pod start failure. I agree the source code probably doesn't need infinite nines, but the container registry is different.
  17. An optimal business only cares about whether the invoices get paid and the shareholders are hyped. Everything else is noise they block out. Not saying Microsoft is optimal, but this is just a business doing business.
  18. Sleep()s that increase exponentially every month seem like a good solution. When the API has a 10 second latency hopefully someone starts asking questions. If not I think brownouts are a decent idea.
  19. Software evolves over time, along with business needs. What seemed like (or even was!) a good idea at some point will almost surely cease to be a good idea at some point in the future. Breaking the API is totally fine if there's a good reason and it's carefully managed.
  20. Got to hand it to them - Fraktur is an annoying font. It looks cool, though.

This user hasn’t submitted anything.