I'd suggest some kind of "press this key to view debug information" text (or make it documented but not visible, to avoid people just pressing whatever button is written on the screen)
Last one is the only one I actually got (and MHA actually). It's animal crossing. Edit: Oh! Second to last is Artemis Fowl
Hosted on poast, though, which is defederated from literally everyone decent for a good reason
I relatively often have an inner dialogue, but it's just me twice
I don't mind it tho, it's fine enough
I'll stick with AP for now but I'll keep an eye on it, then.
Nostr is culturally vaguely american, and it's hard to distinguish the libertarians from the Trumpists there (I've seen several posts saying "Trump will be better for Bitcoin", for example). Libertarians and republicans both sell themselves as "small government".
"Leftist libertarians" generally call themselves anarchists, in my experience.
I checked out Nostr relatively recently and it seemed to me it was full of cryptobros and extremely right-wing people (libertarians, Trump fanatics. A ton of racism and queerphobia, also a bunch of conspiracy thinking). Has anything changed?
Onion
Out of curiosity, I looked up the numbers. This is correct, they make 9.2 billion per quarter from ads and 10.7 billion from subscriptions. I can't find expenses per-segment, but in 2023 their total "Cost of revenues" was 37 billion. I doubt everything other than youtube costs less than 17 billion, so they're definitely making a profit.
Source: https://abc.xyz/assets/95/eb/9cef90184e09bac553796896c633/2023q4-alphabet-earnings-release.pdf
It completely breaks them, currently: https://github.com/TeamNewPipe/NewPipe/issues/11139
This applies to at least NewPipe and yt-dlp, probably basically every such tool. Also, if you use logged-in cookies and download, they sometimes ban your account! Fun!
... which is why youtube has recently started blocking non-logged in users
It's actually several seminars. For historical reasons presentations from gay frogs, lesbian frogs, bisexual frogs, etc. Are all grouped under "gay frog seminar"
Just to offer some support, you're right and those are good questions
Only 1D spectrums. In 2D spectrums there's only a maximum relative to a specific 1D projection
That totally explains it actually, neat.
(Just to be clear because I got a bunch of replies, my original comment wasn't negative at all)
I... 100% thought she was a drag queen until the last slide lol
Oh, that is a surprisingly logical explanation. Neat.
![](https://lemmy.blahaj.zone/pictrs/image/da4a7ba8-97ac-4536-95be-29e1264ef220.png?thumbnail=1024&format=webp)
Spoilers and explanation of solution:
Each vertex here is one intersection in our hike. We don't actually care about the parts in-between, because there's only one way to go. The above is a visualisation of the final path, the red edges are the edges taken. Our graph looks "like that" because it's a hiking trail, not a maze, so there's no dead ends. This took about 2 seconds to generate, due to all the cloning needed to keep track of paths. The two veeery long edges on the ends are pretty obvious choices, but one might notice that pretty much every vertex takes the two maximum paths it has, given the restrictions of the path. There's still some mildly surprising paths, such as (99, 29) -> (89, 37) with a weight of 38. I'm wondering if there's a way to dismiss more paths... This graph is actually pretty free in terms of movement.
My actual solution takes ~150 ms to run (and 8 microseconds for part one with barely any optimization, damnn)
Anybody got some ideas to optimize today? I've got it down to 65ms (total) on my desktop, using A* with a visitation map. Each cell in the visitation map contains (in part 2) 16 entries; 4 per direction of movement, 1 for each level of straightaway. In part 2, I use a map with 11 entries per direction.
Optimizations I've implemented:
- use a 2D array instead of a hashset/map. No idea how much this saves, I did it in the first place.
- the minimum distance for a specific cell's direction + combo applies for higher combo levels as well for part 1. For part 2, if the current combo is greater than 4, we do the same*. Gains about 70(!!) ms
- A* heuristic weighting optimization, a weight of about 1% with a manhattan distance heuristic seems to gain about 15 ms (might be my input only tho)
*Correctness-wise: the reason we're splitting by direction is because there's a difference between being at a cell going up with a 3 combo but a really short path, and going right with a 0 combo but a long path. However, this is fine because a 3 combo in the same direction as a 0 combo is identical, just more restrictive.
Optimizations that could be done but I need to ensure correctness:
the same optimization for the combo, but for directions. If I'm on a specific combo+direction, does that imply something about the distance for another direction? Simply doing the same for every non-opposite direction isn't correct
Code: https://codeberg.org/Sekoia/adventofcode/src/branch/main/src/y2023/day17.rs
Warning: quite ugly, there's like 8 copy-pastes for adding to the queue
Is there a way to measure performance without depending on the hardware, i.e. two entirely different computers get the same score for the same code?
I could probably run the program on a server or something, but something local feels more reliable.
My Intel NUC server just died (whenever it's plugged in, it makes a buzzing noise, and the external power LED is off (the internal one is on tho)), so I need a new server box. Any recommendations?
I can salvage the RAM (16 GB DDR4) and hard drive (1TB HDD) off of this one, I believe.
I have a few selfhosted services, but I'm slowly adding more. Currently, they're all in subdomains like linkding.sekoia.example etc. However, that adds DNS records to fetch and means more setup. Is there some reason I shouldn't put all my services under a single subdomain with paths (using a reverse proxy), like selfhosted.sekoia.example/linkding?
According to https://lemmy.blahaj.zone/post/72658 I shouldn't be able to post but if you can see this...
I just want to say that the admins here are great and deserve appreciation, especially during this whole kerfuffle with Reddit :)
Have a good one, mods and admins!