@logicalerror
If you're still looking for a solution, this seems to do line fitting in 2D. I tested a variety points with it. I'm sure there's a way to put this into 3D by building up a normal using the Cross product of each point and the current line.
Vector2 line = new Vector2(0, 0);
foreach (var p in points)
{
Vector2 v = p - center;
if (VectorUtil.Dot(v, line) < 0)
{
v = -v;
}
line = line + v;
}
line = Vector2.Normalize(line);
Thinking about how a search engine based on recommendations would work. I guess you'd have a list of sites you recommend, and a network of people you trust who also have a list of sites they recommend. All of the sites in your trusted persons network could get boosted results. Maybe this could just hang off of mastodon and be plugged into an existing search engine to bias it towards useful results?
5.1.2025 14:28Thinking about how a search engine based on recommendations would work. I guess you'd have a list of sites you recommend, and a network...Just started my holiday, and just started Elden Ring. Wish me luck.
22.12.2024 06:36Just started my holiday, and just started Elden Ring. Wish me luck.A thunderstorm at a Heilung concert is so on-brand.
13.11.2024 08:07A thunderstorm at a Heilung concert is so on-brand.“RFK Jr is set to remove fluoride from tap water, giving all Americans the right to bare gums.” 😂 A Rational Fear Podcast is entertaining to listen to while doing some home repairs https://podcasts.apple.com/au/podcast/a-rational-fear/id522303261?i=1000676208777
10.11.2024 05:51“RFK Jr is set to remove fluoride from tap water, giving all Americans the right to bare gums.” 😂 A Rational Fear Podcast is...Like, even an automated rebooting to binary search which driver is causing the crash would be better than nothing.
20.7.2024 10:46Like, even an automated rebooting to binary search which driver is causing the crash would be better than nothing.To be honest I’m kind of shocked that boot drivers aren’t automatically quarantined if they crash.
20.7.2024 10:39To be honest I’m kind of shocked that boot drivers aren’t automatically quarantined if they crash.Working on a little C++ project and wow CMake is janky for something so ubiquitous. It happily processes this line with no error about the lack of a matching angle bracket.
add_compile_definitions($<IF:$<CONFIG:Debug>,DEBUG,RELEASE)
2.7.2024 03:01Working on a little C++ project and wow CMake is janky for something so ubiquitous. It happily processes this line with no error about the...Maybe you could even push it further so the latency is even less? Maybe there's too much variance to make it worthwhile, but for certain games I think it'd be a nice feature.
25.5.2024 09:39Maybe you could even push it further so the latency is even less? Maybe there's too much variance to make it worthwhile, but for certain...If there's too much work to fit into 16ms, but you still wanted to maintain 60fps, you'd have to add some latency, but you could do the same thing. There's no reason to delay the GPU work though, so you could start that right away.
25.5.2024 09:36If there's too much work to fit into 16ms, but you still wanted to maintain 60fps, you'd have to add some latency, but you could do...Any graphics people out there, if you have a relatively stable framerate, does it make sense to delay capturing input and doing all the other stuff until later in the frame in order to reduce latency? Maybe there's a bunch of state calculation independent of input you could start earlier, but ignoring that for now, does this seem like a sensible idea? I don't think I've seen it in games before.
25.5.2024 09:32Any graphics people out there, if you have a relatively stable framerate, does it make sense to delay capturing input and doing all the...Made some biccies for today and because I’m not a huge fan of coconut, I made half with wattle seed instead. It’s pretty nice, a bit more savoury and kind of nutty.
25.4.2024 09:37Made some biccies for today and because I’m not a huge fan of coconut, I made half with wattle seed instead. It’s pretty nice, a bit...I never played Fallout 4, but I enjoyed the TV show so I gave it a go. I almost didn't notice that the Codsworth bot voice actor referred to my character by name! I started to wonder how they did that (obviously easy with AI these days but it's a 2015 game), or whether the bot just refers to all the female player characters as "Lucy". I looked it up and there's a massive list of names that the voice actor had to record! Nice solution.
23.4.2024 07:40I never played Fallout 4, but I enjoyed the TV show so I gave it a go. I almost didn't notice that the Codsworth bot voice actor...Has anyone had success with VCPKG? It seems like packages aren't really kept up to date. Maybe it hasn't caught on well enough to be sticky with project maintainers. Is there a way around this by redirecting it to your own versions of things?
21.4.2024 06:55Has anyone had success with VCPKG? It seems like packages aren't really kept up to date. Maybe it hasn't caught on well enough to be...Just catching up on the internet this morning. Something fun, something dreadful. I think that’s enough.
17.2.2024 00:32Just catching up on the internet this morning. Something fun, something dreadful. I think that’s enough.I've always uninstalled OneDrive on Windows because it's obnoxious and I already have Dropbox, but thought I'd give it a go to try out the Personal Vault feature. Turns out that folder is limited to 3 (three) files in total unless you subscribe. I only have about 20MB worth of documents I'd consider putting in there but it's more than THREE files so that not a feature even worth even trying out.
13.2.2024 21:36I've always uninstalled OneDrive on Windows because it's obnoxious and I already have Dropbox, but thought I'd give it a go to...I like to think of ants as nature’s roombas.
11.2.2024 00:01I like to think of ants as nature’s roombas.@Cacotopos Hey about journalling... I tried Momento but didn't like having to always use it on the phone, and having to pay for export is a bit yikes. So I gave Obsidian a go and while the free sync plugin seems a little bit jank at first, it works quite well.. So I have it on Windows and iOS now, letting me add/tag/link etc. I'm not using nearly all the features but it's been interesting reading through this: https://jamierubin.net/2022/04/19/practically-paperless-with-obsidian-episode-27-use-case-journal-writing-in-obsidian/
6.2.2024 13:41@Cacotopos Hey about journalling... I tried Momento but didn't like having to always use it on the phone, and having to pay for export...Looks like 2024 WILL be different! https://mstdn.social/@SuigSays/111687772112613597
2.1.2024 23:37Looks like 2024 WILL be different! https://mstdn.social/@SuigSays/111687772112613597These holidays my children and I are having a blast running a Stardew Valley farm together. I never really played it much before so we're all discovering everything together, figuring out what we each like to do to contribute, and cursing each other when things "mysteriously" go missing from the communal chest.
1.1.2024 13:30These holidays my children and I are having a blast running a Stardew Valley farm together. I never really played it much before so...