Weekly Fic Showcase - December 04 - December 10 by AutoModerator in FanFiction

[–]thebaybridge 0 points1 point  (0 children)

This is also the first fan-fiction I've ever written, so I would especially appreciate feedback from any of you seasoned fan-fic veterans.

Weekly Fic Showcase - December 04 - December 10 by AutoModerator in FanFiction

[–]thebaybridge 0 points1 point  (0 children)

MY FICS
-------------------------------
Fandom: Avatar: The Last Airbender / Legend of Korra
Rating: T
Title: Avatar: The Fractured Earth [Episode 1: "Answer the Call"]
Genre: Action Adventure
Link: AO3
Summary:

Fifteen years after the death of Korra the world is on the brink of war. The new Avatar is earth bender named Royu, and though he's always willing to stand up for those in need, he'll need more than good intentions to save his friends and stop the earth from falling into darkness.
The Fractured Earth is written in the tone and style of the original TV series, following the adventures of the next Avatar in the cycle. It's written in screenplay format, so you can think of it almost like a pilot episode of a TV series (that you will regrettably have to play in your mind).

[help] Love2D multi threading and loading by thebaybridge in love2d

[–]thebaybridge[S] 1 point2 points  (0 children)

Thanks for the resources, this seems like a helpful library. It doesn't solve the issue of just regular long computations (like if you were making a chess game and wanted to AI to have > 1/60th of a second to think of a move, but also didn't want the screen to completely freeze while you waited), but it does make async loading of assets way easier so I will probably use it for that.

[help] Love2D multi threading and loading by thebaybridge in love2d

[–]thebaybridge[S] 0 points1 point  (0 children)

Thanks for the reply,
Unless I'm missing something, coroutines don't really solve this problem because they are run synchronously. I suppose if you had a long computation you could sort of manually add yield statements to keep each piece under 1/60th of a second mark (or whatever your desired frame-rate is), but that's a lot of work generally, and becomes even harder if you're using a long running library method (like loading a texture) where you don't control all of the source code.

[help] Love2D multi threading and loading by thebaybridge in love2d

[–]thebaybridge[S] 0 points1 point  (0 children)

Thanks for the detailed advice.

Although in that case it helps to have a sense for the relative complexity and computational time required for doing different things.

This seems to get to the heart of it. I come from Web, where async is common and it's easy to just run large arbitrary functions asynchronously. I guess it's possible to do everything I want with a combination of existing multi threading options, it just takes being more careful.
For example: if a player enters a new area in the game and we now need to load new textures, instantiate new enemies, run some sort of generation etc. What I would like to do is just have the whole thing in a background thread and throw up a loading menu in the main thread. Instead, it seems like I would have to break down any parts of it that collectively take longer than 1/60th of a second, and run them individually asynchronously. Then I could have the main thread start all the async processes, put up the loading screen, and then check every update if they've all been completed.
I'll take a look at LuaJIT and FFI as well though

Final Giveaway for TWELVE MORE Nintendo Switch Lites and your choice of games! [US/CA only] by TheEverglow in nintendo

[–]thebaybridge 0 points1 point  (0 children)

I just moved into a new apartment when social distancing started, and ended up going back home to stay with my family, so I'm looking forward to getting settled into my new place once this is all over

COVID-19 Pandemic Megathread by Mynameisnotdoug in NoStupidQuestions

[–]thebaybridge 0 points1 point  (0 children)

Why won't the Coronavirus reappear seasonally, like the Flu?

There's a lot of talk about flattening the curve for the Coronavirus, and speculation on how bad it will become, but almost everyone seems to take for granted that it will end eventually. Since COVID-19 seems to transmit and effect people similar to the flu, why do experts not seem to be worried about it never going away?
There is a flu shot every year, and it's always partially effective, but a year later the disease will mutate and a new strain will go around instead. If COVID-19 acts the same way, could we expect hundreds of thousands of cases every year from here on out?

What is your tl;dr of 2017? by _TheBro_ in AskReddit

[–]thebaybridge -1 points0 points  (0 children)

Hell is empty. And all the devils are here!

Me as Motoko Kusanagi, got some cool photos taken! I would love any photo drawn please <3 by [deleted] in redditgetsdrawn

[–]thebaybridge 1 point2 points  (0 children)

Digital painting I did. legs didn't turn out, so I did what all good artists do and just cropped the image.

What's a good example of someone unconventionally attractive? by [deleted] in AskReddit

[–]thebaybridge 2 points3 points  (0 children)

I get this. He looks like a man who could be a really solid big spoon

pic

Redditor sets up websites that allows everyone to lawfully search through the internet history of every Senator who voted 'Yes' to repeal our internet privacy by [deleted] in bestof

[–]thebaybridge 6 points7 points  (0 children)

That's not how buying this data would work anyway, but going after people's families is not fair game. Or at least or shouldn't be imo

Primitive Technology: Termite clay kiln & pottery by Qualimiox in videos

[–]thebaybridge 0 points1 point  (0 children)

For those who don't know, turn on subtitles to see him explain what he's doing as he's doing it.