Having stumbled across matomo's big list of bot name regexes, I can move forward with the whole web stats thing.
The dimensions that I'm interested in are
- Endpoint
- Path
- Method
Having stumbled across matomo's big list of bot name regexes, I can move forward with the whole web stats thing.
The dimensions that I'm interested in are
(That's been a draft for two or three days)
There's this thing where I feel crap because I haven't eaten (and it's happening enough that I can recognise it), and all I need to do to feel better is to eat, but sorting food out is just too much, yeah?
I can finesse it so far off there is sufficient snack food available (up to maybe peanut/honey sandwiches, but dealing with cheese is, again, too much), but I can't will myself to cook (which would properly deal with the issue for half a day or so).
It sucks! I know what the problem is, I know how to solve it, but I just... can't. (This might be the executive disfunction that I'm hearing about)
Each direction is weighted by:
Sort by weight and pick the best
int GetWeight(MoveFlags flags, bool hungry) {
int weight = 0;
if (Match(flags, MoveFlags.Head)) {
weight -= 5;
}
if (Match(flags, MoveFlags.Food)) {
weight += hungry ? 3 : -1;
} else if (Match(flags, MoveFlags.FoodDirection) && hungry) {
weight += 3;
}
if (Match(flags, MoveFlags.Tail)) {
weight += 3
} else if (Match(flags, MoveFlags.TailArea)) {
weight += 2
}
return weight;
}