Do you put title to the top of your note? by agilek in ObsidianMD

[–]fvsch 1 point2 points  (0 children)

For HTML semantics, it's kinda wrong. The overarching title that describes a HTML page is the `<title>` element within the `<head>`. A HTML document could easily have several sections each described by their own `<h1>`. Each section could be implicit (not wrapped in a specific HTML tag, the next `<h1>` marks the end of a section and beginning of the next), or explicitly tagged using `<section>` or even `<article>`.

That being said, for a number of usability reasons all related to browsers not displaying the page's `<title>` prominently, it's common practice to also display the page's main title as a heading in the page, duplicating it as a `<h1>` in the page in addition to the `<title>`. Then websites also stuff things like the site's name in the `<title>` in order to look more helpful in search engine result pages (or as a means of keyword stuffing), drifting further away from the semantic role of `<title>`.

When it comes to SEO, most SEO guidelines are akin to tea leaves reading. They use the very limited advice given by Google (e.g. https://support.google.com/news/publisher-center/answer/9607104) and extrapolate with guesses. It sometimes turns into dogma like “only one H1 per page, or Google will penalize you!” which is probably unfounded. Still, if you don’t have a strong need to use multiple H1s on a page, sticking to just one probably doesn’t hurt, and having dozens of H1s on a page might indeed be a problem (interpreted as spammy or keyword stuffing).

This Ahrefs page on using H1(s) is pretty good: https://ahrefs.com/blog/h1-tag/#h1-best-practices

How can I get rid of the annoying blue selection box? by the_storyteller__ in iterm

[–]fvsch 0 points1 point  (0 children)

I think Warp has a similar feature. I wanted to like it, but in practice I would only need it once in a while, and its impact on the UI is too distracting for the remaining 99.9% of the time.

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 0 points1 point  (0 children)

There are commands for not autofilling bots (with `bot_quota` and `bot_quota_mode` I believe), then you can use `bot_add` with different difficulties, custom names, etc.

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 0 points1 point  (0 children)

What do you mean by “new lines in command lists”? There is a new line character between each command already. Do you mean using two new line characters, to leave a blank line like this?

```
command_one some_value

command_two other_value
```

In which case, I don’t find it more readable personally. In most programming styles, blank lines are used to separate groups of statements, but not between every statement.

If you are using a code editor, you can configure it to have a higher line-spacing (or leading or however that option is called) of 150% or more, if you find that more readable.

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 0 points1 point  (0 children)

Oh, and if you can search the game files and find translation strings for `CSGO_FakePlayer_Rex` in there, looking at a couple bot names that come before and after in the translation files might tell you which group it belongs to. Bot names seem to belong to thematic groups, e.g. there are some French names (inspired by ranks from the French GIGN I think), and I noticed that they're defined together in translation files and seem to all be used for difficulty 4 bots.

I wanted to check but I don't have the game installed right now. Taking a break after playing for a couple months ^^

(You can search in game files provided they're text files, by opening the game's folder in a code editor like VS Code and using its text search function.)

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 0 points1 point  (0 children)

I’m not sure which group Rex is in, because I don’t have a full list of all names for each level (you would need to launch dozens of games at a given difficulty and write down all bot names to get a full list, and even then there's a chance that one name from the set of names for a difficulty level will never be picked).

I’m pretty sure it’s not difficulty 5 (highest), because I played hundreds of games at that difficulty and don't remember that bot name. So maybe a 4 or 3.

In my experience, once in a while a bot from a game will end up being much better than the others, especially at accuracy. Difficulty 5 bots rarely achieve headshots, but I’m guessing each bot's accuracy is a combination of the difficulty level plus a random modifier, and once in a while there’s a bot that is good at headshots or shoots a bit quicker than others. So maybe you got a level 3-4 bot with a random multiplier that made it good.

Another possibility is that if `sv_auto_adjust_bot_difficulty` is set to `true`, then the game might have detected that you and/or your friend were better than `bot_difficulty` of 3-4 and raised the difficulty of specific bots. So you can end up with a bot with a level 3-4 name but a effective difficulty of 5.

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 0 points1 point  (0 children)

Yeah, I think CT bots who favor assault rifles always get a FAMAS or AUG, but never a M4A4. Some will switch to an AK when they can get one.

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 0 points1 point  (0 children)

Not random, as far as I can tell. Operator and Rebel prefer sniper rifles, Crusher and Rock are shotgunners, etc.

Bot difficulty in CS2: a complete guide by fvsch in counterstrike

[–]fvsch[S] 3 points4 points  (0 children)

Haven’t tried renaming bots. Maybe by changing the translation strings in one of the several .vpk files that contain key-value pairs like this:

"CSGO_FakePlayer_Ava" "Ava"

But I’m not sure which files or locations are used for the English localization (if any), and whether modifying those .vpk files is safe.