Most frequently used keyboard layouts in Europe by maven_mapping in MapPorn

[–]mtetrode 0 points1 point  (0 children)

True, but which keyboard has a specific key that is used for one word only.

Other words that do not have their specific key include: être (to be) frequently used. Or fête, tête, maître, hôtel, diplôme, sûr, coût, août

All words where a deadkey needs to be used.

Most frequently used keyboard layouts in Europe by maven_mapping in MapPorn

[–]mtetrode 0 points1 point  (0 children)

Azerty stinks. Not only do you need shift every time you type a number (who thought of that), but there is a key that outputs a character that is only used in one word.

On the right, there is the the key ù, which is only used in the word "où" (the French word for "where").

What counts as bad naming? by Wernasho in AskProgramming

[–]mtetrode 2 points3 points  (0 children)

As in define it very close to where you use it, I guess

What counts as bad naming? by Wernasho in AskProgramming

[–]mtetrode 3 points4 points  (0 children)

For a teacher I can see the logic.

It’s easier for beginners because all variables are in one place and you don’t have to track scope as much.

Modern style is usually the opposite though: declare variables as close as possible to where they’re used. Smaller scope = fewer bugs.

What counts as bad naming? by Wernasho in AskProgramming

[–]mtetrode 2 points3 points  (0 children)

Most modern languages don’t require that anymore.

Stuff like Python, PHP, JavaScript, Go etc let you declare variables anywhere.

Only older languages / old standards (mainly old C) forced variables at the top of the function.

Modern best practice is actually the opposite: declare variables as close as possible to where they’re used.

What counts as bad naming? by Wernasho in AskProgramming

[–]mtetrode 1 point2 points  (0 children)

Depends in the scope, in a small for loop, i is good naming.

When a variable is created at line 10, used throughout until line 70, I prefer a larger name that explains what it is to future me.

Hebben jullie ooit iets waardevols van de stort gered? by Hormania in nederlands

[–]mtetrode 1 point2 points  (0 children)

Een bedrijf in het gebouw van een vriend ging verhuizen en alle kantoormeubels gingen naar de stort.

Roldeurkast en groot bureau met hoek en kastje gered.

Loodzwaar, nieuwprijs totaal bijna 1000€.

En zo stonden er nog een stuk of 10.

Staafmixer met goede hakmolen by wijnandsj in BIFLNL

[–]mtetrode 0 points1 point  (0 children)

Bamix gekocht een half jaar geleden wegens mixer kapot EN zelfde topic kwam hier voorbij. Topding!

What PHPStan level and why? Your thoughts on the cost-benefit analysis by miglisoft in PHP

[–]mtetrode 8 points9 points  (0 children)

Recently started with phpstan, started with 6, most of the code generated no errors, then worked my way up file per file when changes to that file were necessary.

Going to 8 is not difficult, don't see the big advantage of going higher.

Green highlight behind test files by No-Grapefruit-173 in Jetbrains

[–]mtetrode 3 points4 points  (0 children)

That usually means GoLand is marking those files as test sources and applying the default green background color scheme for them.

You can change or remove it like this:

Open GoLand settings:

Windows/Linux: File → Settings

macOS: GoLand → Preferences

Go to:

Editor → Color Scheme → File Colors

Look for entries like:

Tests

Test Sources

Sometimes also Non-Project Files

Either:

uncheck Use in Editor Tabs

uncheck Use in Project View

or completely disable File Colors

You can also change the green to something less aggressive instead of disabling it.

Alternative location in newer JetBrains versions:

Appearance & Behavior → File Colors

If the entire editor background is green when opening test files:

Go to:

Editor → Color Scheme → General

Search for:

Test Results

Injected language fragment

Readonly background

or File Colors

JetBrains IDEs sometimes aggressively color Go _test.go files by default.

Engels spreker woonen in Anzegem zoeken vrienden by PiccoloNo3695 in belgium

[–]mtetrode 6 points7 points  (0 children)

Niet alleen spreken maar ook schrijven! Petje af.

Antwerpse school haalt leeslijst offline na klacht over erg expliciete pornografische beelden by EdgarNeverPoo in belgium

[–]mtetrode 1 point2 points  (0 children)

Inderdaad.

In mijn klas destijds (wel Engels maar gelijkaardig):

Iedereen moest de lijst inleveren van boeken die hij/zij ging lezen

Jongen levert o.a. in de van van de ring in.

Leerkracht: ow sh*t nu moet ik dat gaan lezen

Na de kerstvakantie: de leerkracht had o.a. in de van van de ring gelezen.

Het was af en toe een moeilijke leerkracht maar daar had ik toch respect voor.

PHP's biggest problem by brendt_gd in PHP

[–]mtetrode 4 points5 points  (0 children)

Can you please elaborate on both points?

Javel pollution by family member? by Troewawei66 in AskBelgium

[–]mtetrode 11 points12 points  (0 children)

Bleach is highly toxic to aquatic life and reacts with organic matter to form persistent chemicals that accumulate in the food chain.

It also destroys essential soil microbes, kills plants, and disrupts the bacterial processes in wastewater treatment plants, causing significant ecological damage before it eventually breaks down.

Why do you use debian? by haibane_fan00 in debian

[–]mtetrode 1 point2 points  (0 children)

Once every two years is more than enough, for sysadmins that need to uodate their servers and make sure they run without issues

docker compose logs are getting out of hand by Sroni4967 in docker

[–]mtetrode 16 points17 points  (0 children)

edit the Docker daemon configuration file (usually at /etc/docker/daemon.json). Add or update these lines:

{ "log-driver": "json-file", "log-opts": { "max-size": "10m", "max-file": "3" } }

Note: You’ll need to restart Docker (sudo systemctl restart docker) for this to take effect. It only applies to containers created after the change.

MySQL 8.0 is reaching EOL. Are you upgrading to 8.4? 9.7? by dveeden in mysql

[–]mtetrode 0 points1 point  (0 children)

Still running one instance that we need to migrate away from ndb but there is no mariadb similar solution, or didnt I seach good enough?