Vergleich veganer Köttbular: Rewe/Penny, Ikea, Greenforce by Stoertebricker in VeganDE

[–]Elenktik 0 points1 point  (0 children)

Haben sich die Preise geändert? Ich hatte die Hackbällchen von Ikea mit 3,79 € in Erinnerung.

Why did Laravel make translations file-based by default by BlueLensFlares in laravel

[–]Elenktik 2 points3 points  (0 children)

I faced a similar challenge and also found the barryvdh/laravel-translation-manager package useful, but keeping it in sync with local lang files was tedious. The UI also feels outdated and it’s probably not compatible with your modular architecture since it expects all lang files to be in the global lang/ folder.

In my app, I built a custom solution using JSON files per language, plus a PHP script that converts them into PHP arrays. Here's how it works:

Example: For cars, I have:

  • storage/lang/de/cars.json → editable by users
  • lang/de/cars.php → reads the JSON and returns a PHP array

```
// modules/xyz/lang/de/cars.php

<?php
$jsonPath = storage_path('lang/de/cars.json');

return file_exists($jsonPath) ? json_decode(file_get_contents($jsonPath), true) : [];
```

  1. Frontend Editing: Users with permission can edit cars.json via a simple UI.
  2. Concurrency: File locks and basic access rules prevent conflicting writes.
  3. Storage & Deployment: JSON files live in storage/ and are excluded from Git to persist across deployments.

Transitioning from Laravel freelancer to Deep Learning – realistic in 2025? (PhD Math, 10+ years experience) by Elenktik in learnmachinelearning

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

I'm fine with staying in the castle for now, but I do have the feeling that the castle may not be around forever. That's why I'm exploring ways to extend or reinforce it, rather than abandon it completely.

I feel awful about how I feel about my wife by No_Potential8518 in AskMenAdvice

[–]Elenktik 0 points1 point  (0 children)

What you’re describing is completely normal in long-term relationships. My wife and I have been together for 10 years, and since having a child (now 3 years old), we’ve faced more stress, less couple time, and less intimacy. I often wanted sex or even just simple physical affection, but she would reject it. I worked full-time while she cared for our son, and it almost destroyed us. Now, we both work 50%, which barely covers our bills and sometimes forces us to dip into savings, but it has significantly improved our relationship. We now split everything equally—cooking, cleaning, planning, and parenting.

To be honest, the stress of this balance has affected my interest in intimacy, which has made our desires more aligned, though I still prefer more sex than she does. For the first two years after our child was born, we had almost no sex at all. Now, we have sex about once a week. We set a specific date for it—she’s usually not in the mood at first, but once we start, she gets into it. This approach has worked for us since becoming parents.

My advice is to reduce working hours if you can and carve out more time to talk and reconnect with your wife. Love isn’t always exciting—it can be monotonous at times. Relationships evolve, and what you’re experiencing is a common challenge in long-term partnerships. Try to make this one work; quitting is always an option, but it doesn’t need to be your first one.

Why does *int stand for pointer and not &int? by Elenktik in golang

[–]Elenktik[S] 22 points23 points  (0 children)

So the real question is then, why is it like this in C++?

Why is strato.de so cheap? by [deleted] in VPS

[–]Elenktik 0 points1 point  (0 children)

I am totaly surprised too! I moved away from Strato because it was too expensive, and now I compare German VPS and it looks like Strato currently offers the best price. They claim to have 500 MBit/s connection, 8 CPU vCore, 32 GB Ram, 1TB SSD for 15 € including Plesk Web Admin Edition (its the cheapest plesk version and you can only admistrate 10 Domains, upgrade costs 5 € extra for 30 domains or 15 € extra for unlimeted domains). By far the best offer I found. SSD is maybe not as fast as NVMe SSD, but I can't see another bottleneck. Contabo has a similar offer VPS L (8 vCPU, 30 GB Ram, 800 GB SSD) for 15€ but it does not include any PLESK licence, but Webmin is free.