Sekoia

joined 2 years ago
[–] Sekoia@lemmy.blahaj.zone 7 points 15 hours ago

It is really weird to suddenly have emotions and to be like, affected by the world around you suddenly X)

[–] Sekoia@lemmy.blahaj.zone 7 points 15 hours ago (4 children)

Lmfao samee, I getcha. I had nothing against my skin before, but it was never comfy. I didn't even realize it because it was just normal, and when it felt worse it felt like it just needed a shower (where I incidentally rubbed my skin raw. Which I didn't even process as probably-not-great).

[–] Sekoia@lemmy.blahaj.zone 10 points 16 hours ago (6 children)

The body is a hodge-podge of Rube Goldberg machines, and trans research is wayy underdeveloped. Method of delivery and absorbancy and a billion other things probably affect the effects.

Out of curiosity, the skin changes were a huge boon to me (one that I didn't expect to be so nice), so there's a world where it was partially psychological. Was body odor a big dysphoria source for you?

[–] Sekoia@lemmy.blahaj.zone 9 points 17 hours ago (11 children)

Yeah, in my little experience basically all of the effects of hormones are "in general" at best, both in timeline and actual effects.

Personally my libido went up a little but unlike OOP it was very much present before too.

Meanwhile the skin softening stuff took a week or so to be noticeable, when it definitely "should" take longer.

[–] Sekoia@lemmy.blahaj.zone 12 points 17 hours ago (8 children)

Not gonna lie, I love how it increasingly gets more desperate, going from showing off how well they're doing, to how "horrible the things the allies are doing", to end on just a lazy caricature of "the enemy". Also how it shifts from "we're waging a war of justice!" to "the jews organized WW2"

[–] Sekoia@lemmy.blahaj.zone 2 points 17 hours ago (1 children)

Well, in the first bit of the Hitchhiker's guide, there's:

“You’d better be prepared for the jump into hyperspace. It’s unpleasantly like being drunk.”

“What’s so unpleasant about being drunk?”

“You ask a glass of water.”

Which does fit, even if it's not necessarily a "well-known phrase"

[–] Sekoia@lemmy.blahaj.zone 128 points 1 day ago

Weird flirting would have been my guess

Or even just a bad attempt at small talk

[–] Sekoia@lemmy.blahaj.zone 14 points 2 days ago (2 children)

They can, but it's not trivial. The challenge uses a bunch of modern browser features that these scrapers don't use, regarding metadata and compression and a few other things. Things that are annoying to implement and not worth the effort. Check the recent discussion on lobste.rs if you're interested in the exact details.

[–] Sekoia@lemmy.blahaj.zone 5 points 2 days ago

Evil fake wizard from episode 2

[–] Sekoia@lemmy.blahaj.zone 106 points 2 days ago (3 children)

I don't think Dipper ever makes that face, Gumball looks nothing like the other shows (love Gumball's style tho, amazing mix of style), I haven't watched the other two much

Also the top covers like 80 years of animation and not 10

[–] Sekoia@lemmy.blahaj.zone 16 points 1 week ago

This is a random note but those stars have the typical Hubble "points". 4 large and 4 small. I wonder if we'll start seeing 6-pointed stars, now that JWST is the best telescope we've got.

[–] Sekoia@lemmy.blahaj.zone 5 points 2 weeks ago

I'm gonna clean my room up and get a (feminine! Yay!) Haircut

I also wanna go out at some point during this week, socialize with people I don't know yet

 

Hey,

I want to be able to access my projects from my laptop and my desktop, without syncing build folders (patterns are okay for this) or large data folders (manually selected is preferable for those). A bonus would be to be able to selectively keep files remote to use less storage space.

I also want to sync some regular documents and class notes, but everything is able to do that at least.

Syncthing "works" for this, but it doesn't have a web file browser or a "main" hoster, so I don't think it's quite the right tool.

I recently installed owncloud, and its desktop sync can almost do this, but it can't keep files local without uploading them (otherwise it seems pretty good!). Seafile hasn't worked at all for me, and ime nextcloud is decently painful and has way too many features I don't need at all.

Am I using the wrong tool for the job? Is there a way to accomplish what I want to accomplish?

 

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!

 
view more: next ›