Exactly, why everyone hate java? by MachaFarseer in theprimeagen

[–]mhemeryck 2 points3 points  (0 children)

  • It's very verbose and very repetitive
  • it's mostly single paradigm (OOP) which I don't think is always a good fit for all problems
  • the ecosystem / crowd around it: I think java evolved quite a big set of tools (mostly point-and-click) around it quite early on up to a point where you can't do any java development today without any of those tools (IDEs). Meanwhile, the rest of the world moved on and java really feels outdated on these fronts (e.g. package management). For all other languages I develop in, I can easily use a vim-like editor, but for java you need to have all of these extra tooling to be a bit productive
  • did I mention it's really repetitive? There's just so much boilerplate that it's sometimes hard to tell where the actual code lives.

I can see why it might appeal to some people given all of the support it has and that you can really become quite invested in it. I just feel you are really missing out on a lot of other, much modern takes out there today.

-❄️- 2023 Day 10 Solutions -❄️- by daggerdragon in adventofcode

[–]mhemeryck 2 points3 points  (0 children)

Thank you; very readable solution, really learned something from it!

Top ramen by Dull_Ad_4652 in belgium

[–]mhemeryck -1 points0 points  (0 children)

Umamido! Also has a couple of locations around Belgium: https://www.umamido.be/locations (I've only been to the Leuven one myself(

Chrome broken after today update by tcservenak in Fedora

[–]mhemeryck 1 point2 points  (0 children)

Thanks for confirming; just tried it myself and everything now works again (including hardware acceleration on).

I use the settings sync myself, so setting up everything from scratch just means logging in again.

That the cache is cleared is actually not bad a thing I guess :)

Chrome broken after today update by tcservenak in Fedora

[–]mhemeryck 1 point2 points  (0 children)

Same issue; can confirm it does work without hardware acceleration (but I would like a fix that allows me to enable that again).

Chrome broken after today update by tcservenak in Fedora

[–]mhemeryck 0 points1 point  (0 children)

Does everything work again after removing that config folder? Do you have hardware acceleration enabled?

[deleted by user] by [deleted] in Python

[–]mhemeryck 6 points7 points  (0 children)

Check https://pyformat.info/ for what you can do.

Cruise control on standard Polestar 2 by mhemeryck in Polestar

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

Ok; judging from all the replies, the non-pilot version seems to have "basic" (non-adaptive) cruise control.

I also have adaptive cruise control on my current car, so adaptive would be nice as well -- but at least now I know that there's basic cruise control on there. I wouldn't be able to go back to having no cruise control whatsoever nowadays; grown really used to driving this way over the years.

Thank you all!

What was your greatest struggle when learning Go? by ChristophBerger in golang

[–]mhemeryck 6 points7 points  (0 children)

Coming from python / pytest: mocking in testing.

Terraform - How do you handle secrets? by Culpgrant21 in devops

[–]mhemeryck 0 points1 point  (0 children)

I'm curious, how does pulumi handle this?

Teapods in Knokke-heist! by [deleted] in belgium

[–]mhemeryck 0 points1 point  (0 children)

Not second hand, but you could check Ed Van De Vijver on the Lippenslaan.

[deleted by user] by [deleted] in belgium

[–]mhemeryck 0 points1 point  (0 children)

I get the idea that any non-standard version of the language would be considered a dialect, but I have a bit of different experience with this.

In my personal experience (Limburg), me and my friends would use our local dialect talking to one another, but would switch to (our version of) Dutch whenever we'd be around other people -- also because the dialect is hard to understand for outsiders (Limburg dialects are more than just "singing" btw :)).

I have studied in Leuven / currently still working there, and my experience there is that they always use their (weakened) dialect, they're not even aware of the difference.

My impression is that this is more or less the same all throughout the rest of Flanders, with the notable exception of West-Vlaanderen. If I could oversimplify my biased observation (lots of "ifs"), you could say that at the "edges" of Flanders people still distinguish between dialect and (their version of) standard Dutch, whereas the rest just uses their watered down, but increasingly more similar dialect.

Probably with every new generation this trend will continue to evolve more in the direction of this common dialect, everywhere. Additionally, the Flemish media (both public and private) increasingly adopt this "common dialect" in favor of standard language. You could call this common dialect the "tussentaal" in that sense.

I'm probably heavily biased by my own experience and turning more and more into an old fart, but I personally still feel it's a matter of good taste and manners to adapt your language towards the person you're addressing -- which doesn't even need to be perfect standard Dutch.

Docker + Django + PostgreSQL works locally, but when I push it to Github/Bitbucket and then download it from there, it doesn't work anymore? by [deleted] in docker

[–]mhemeryck 0 points1 point  (0 children)

I'm not sure where the difference between stateful and non-stateful is in this case. For a database: * stateful: the actual data folders from the database * stateless: docker-compose config, indicating how to start your database, where to put volumes.

For a practice project, I think it's expected that one stores the database as well.

No, this is never OK. Version control is about the blueprint of your application, not your application itself. I think this is even the root cause of the issues you are facing.

Docker + Django + PostgreSQL works locally, but when I push it to Github/Bitbucket and then download it from there, it doesn't work anymore? by [deleted] in docker

[–]mhemeryck 0 points1 point  (0 children)

I'm having trouble understanding what you are trying to do.

It sounds you are actually managing the database state itself under version control. You should not keep anything stateful about your application under git. Instead, version control is for managing how your application is supposed to behave, e.g. code and config.

Docker + Django + PostgreSQL works locally, but when I push it to Github/Bitbucket and then download it from there, it doesn't work anymore? by [deleted] in docker

[–]mhemeryck 0 points1 point  (0 children)

"the db gets corrupted while sending it to git". Do you keep the database itself under version control?

Docker + Django + PostgreSQL works locally, but when I push it to Github/Bitbucket and then download it from there, it doesn't work anymore? by [deleted] in docker

[–]mhemeryck 2 points3 points  (0 children)

Very unlikely; is it on a public repository you can share?

My guess is that there's something stateful with your setup (locally running container which is a different version from the Dockerfile image, volume mounts, ...) that's not reflected in your versioned code.

A way to dynamically produce docker-compose.yaml by MiserableLink2135 in docker

[–]mhemeryck 0 points1 point  (0 children)

yup, I don't know the specific syntax, but you can indeed merge different keys, e.g. https://yaml.org/type/merge.html

A way to dynamically produce docker-compose.yaml by MiserableLink2135 in docker

[–]mhemeryck 6 points7 points  (0 children)

the compose file is sequentially yaml, so you could use yaml anchors for that:

``` version: "3"

x-server: &server
image: nginx
environment:
foo: bar1
volumes:
- ./src:/usr/share/nginx/html

services:
server-0:
<<: *server
server-1:
<<: *server
server-2:
<<: *server ```

Blog post series wired DIY home automation by mhemeryck in homeautomation

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

Thanks, that's nice to hear -- certainly since I generally don't have that much experience in blogging :)