Sekoia

joined 2 years ago
[โ€“] Sekoia@lemmy.blahaj.zone 3 points 1 week ago (1 children)

Yes! The way those physics models are created is so cool. The article somewhat explains it, but it's mostly a fluff-piece for things unrelated to genAI. More in-depth:

The physically accurate simulation is great but slow. So we can create a neural network (there's a huge variety in shapes), and give it an example of physics, and tell it to make a guess as to what it'll look like in, say, 1ms. We make it improve at this billions of times, and eventually it becomes "good enough" in most cases. By doing those 1ms steps in a loop, we get a full simulation. Because we chose the shape of it, we can pick a shape that's quite fast to compute, and now we have a less-accurate but faster simulation.

The really cool thing is that sometimes, these models are better than the more expensive physics simulation, probably because real physics is logical and logical things are easier to learn.

We've done things like this for ages. One way we can improve them is by giving them multiple time steps. Unfortunately they kinda suck at seeing connections over time, so this is expensive. Luckily, transformers were invented! This is a neural network shape that is really good at seeing connections over one dimension, like time, while still being pretty cheap and really easy to do run in parallel (which is how you can go fast nowadays).

With a bunch of extra wiring, transformers also become GPT, i.e. text-based AIs. That's why they suddenly got way better; they went from being able to see connections with words maybe 3-4 steps back, to recently a literal million. This is basically the only relationship with "AI" this has.

[โ€“] Sekoia@lemmy.blahaj.zone 25 points 1 week ago (7 children)

They started building the machine in 2055 and didn't have time to invent anything else. Turns out focus is pretty important for fast R&D...

[โ€“] Sekoia@lemmy.blahaj.zone 17 points 1 week ago* (last edited 1 week ago) (2 children)

This looks like Wafrn, which has a feature to replace the word "AI" with whatever you want. Probably what was done here!

If you're lucky estrogen gives you that too! I got a little bit + a bit of boobs (not nearly done yet, luckily tho)

[โ€“] Sekoia@lemmy.blahaj.zone 23 points 1 week ago (6 children)

I wasn't jacked (at all), but estrogen completely melted my muscle mass, it's great

[โ€“] Sekoia@lemmy.blahaj.zone 12 points 2 weeks ago

As someone who wore men's jeans and now wears women's... even women's jeans with pockets have ridiculously small pockets compared to men's. It's really not just a matter of choice, because a majority of the choices just don't exist.

[โ€“] Sekoia@lemmy.blahaj.zone 22 points 2 months ago (2 children)

I can't tell what this is trying to say. Cus they had a fuckton of those videos already?

[โ€“] Sekoia@lemmy.blahaj.zone 5 points 3 months ago

I would agree, but it's been less than a year since he was shot, so the jury's still up on which way his legacy will go.

[โ€“] Sekoia@lemmy.blahaj.zone 28 points 5 months ago

They automatically get your approximate location from your IP, and some websites do need your precise location.

They don't need it, but google chrome sure gets it!

[โ€“] Sekoia@lemmy.blahaj.zone 5 points 5 months ago

What the others said is true, but:

  • Exercise is just good in general, but also burning fat will burn fat from the "non-fem" areas, which won't get replenished
  • I heard salmon is good? Because of the fat? Not 100% sure
  • I've got 70A/B (EU sizing) in 10 months, so you've got more than me there :P but anyway breast growth is just genetics + nutrition + time, don't focus too much on it
  • I found painted nails help and are fun? I lile black because it's the default "alt" color so ppl can see me as a guy and still not be weirded out too much
[โ€“] Sekoia@lemmy.blahaj.zone 21 points 5 months ago (6 children)

To Cheney? That's wild, thanks

[โ€“] Sekoia@lemmy.blahaj.zone 15 points 5 months ago (9 children)

I understand the waterboarding, but what's with the shotgun?

 

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 โ€บ