Search
762 results for “taywee”
-
CW: Advent of Code Day 12 Spoilers
#AdventOfCode 2023 Day 12
Oh my god, I had too much trouble with this. Haven't done #DynamicProgramming in years, so I completely spaced it until my solution was taking forever.
Memoization gave at a considerable speed boost. It's not the best solution, and it's far from readable, but it gets the job done and still takes under a second on my machine.
https://codeberg.org/Taywee/AdventOfCode-2023/src/branch/main/src/bin/day12.rs
-
CW: Advent of Code Day 6 Spoilers
Day 6
Very easy day. Used my whiteboard to suss out that this was a #QuadraticEquation (yes, I had to use my whiteboard to do this, and I'm not ashamed of being an embarrassment). Naturally, my solution uses the #QuadraticFormula to find the answers.
https://codeberg.org/Taywee/AdventOfCode-2023/src/branch/main/src/bin/day06.rs
-
#day25 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day25.rs
Parsing SNAFU was pretty simple, but building it was harder. It's been a long time since I worked in number bases, and the negative digits really threw me for a loop. I ended up needing to get some help to figure out the proper way of building my SNAFU numbers, and I think it'll probably still be broken for negatives.
First AoC completion! :partyparrot:
-
#day24 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day24.rs
Done just in time. I went with a pretty straightforward A*, but because the accessible tiles change with time, I had each node be the tile's position as well as the entire field state at that point in time. The pathfinding crate is very powerful: https://docs.rs/pathfinding/latest/pathfinding/directed/astar/fn.astar.html
Still took about 10 seconds. I could probably optimize it a lot, but it's done.
Part 2 was just doing it 3 times.
-
#day23 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day23.rs
Not a hard one. Part 2 takes over a full second to run, which could be improved a lot, but this was way nicer than day 22.
-
#day22 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day22.rs
Part 1 was super easy.
Part 2 was so hard I gave up and hardcoded the cube shape. 14 match cases, and it works on multiple input sizes but not on different shapes. I wanted to actually walk and find the next position, or to fold the cube and link them in a mesh of Rc<RefCell<_>>, but I already put too many hours into this and the idea of keeping track of orientation sounded like a pain.
-
#day21 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day21.rs
Part 1 was straightforward: just build a tree and execute it.
I had a solution in mind for part 2 of solving the side of the root tree that I knew, then recursively running down the other side until I get to humn with a solution, but I decided to cheat and just used an equation solver library instead.
-
#day20 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day20.rs
This one was shockingly easy, even part 2. The toughest part was trying to figure out a way to keep track of what order to move the numbers in, particularly when there are duplicates. I gave up and just attached the original index to them and scanned each time. Far from perfect, but it got the job done without too much trouble.
-
#day19 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day19.rs
Really similar to the elephants and valves one. Just a DFS for the maximum with some optimizations to reduce the search space. Interestingly enough, it runs in 0.33 seconds on my actual input, but takes 15 seconds on the example, which is different from a lot of problems that take way longer on the real input. I think it's because the smaller costs on the example balloon the search space.
-
#day18 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day18.rs
Quick and easy one. For part one, just ran from the min to max for all axes in turn, incrementing each time a pair had one droplet and one air voxel. Part 2 was the same, but also with a pathfinding check between the air voxel and a known outside voxel.
Got sick of implementing my own coordinate types and just pulled in nalgebra.
-
#day17 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day17.rs
Another very difficult one. Once it occurred to me that there would be probable cycles in the tower, I came upon a solution. It's not the nicest, but it's not too bad either. Some pessimistic input could probably still get the wrong answer, too.
-
#day16 of #AdventOfCode2022 done in #Rust: https://gitlab.com/Taywee/adventofcode/-/blob/master/2022/src/bin/day16.rs
Oh my god. This problem was challenging and my code is hideous and full of redundancies. I'm not cleaning it up. I'm lucky I finished it at all.
I built my graph by calculating the shortest path between all non-zero valves and then discarding zeros. Then I just traversed with an inexact heuristic.
Part 2 was harder, having to track two routes at the same time. It was an absolute headache.
-
CW: Eye contact
Made an Akko from Little Witch Academia in Blender. Followed along with a video tutorial a bit ( https://www.youtube.com/watch?v=AWocxbVD3CE ), but spent a fair bit of time just trying to achieve a similar result without following too closely. Took probably about 10 hours of work to get to this point.
Might finish making the boots and rigging it eventually, as well as cleaning up the hair.
Will make a turntable animation soon.
-
A pretty fast and rough Judge Dredd sculpt. The helmet is pretty rough, but I'm happy with a lot of it.
#Blender #Blender3D #JudgeDredd #DigitalSculpting #DigitalSculpt #blender3dart #3DArt
-
I was able to massively improve on yesterday's rendering of one #Kepler's representation of the #PlatonicSolid of Earth. Done in #Blender using hair curves for the grass.
I redid the grass with fewer control points (down from 8 to 3), then reduced the spline resolution from 12 to 3, and reduced the resolution of the profile curve from 12 to 2. Using some napkin math, each blade of grass was about 4608 verts before, and is now 72 now, so I could add 64 times as many blades as before.
-
A rendering of one #Kepler's representation of the #PlatonicSolid of Earth. Done in #Blender using hair curves for the grass.
Really feeling the limits of my hardware on this one. Blender crashed 4 times due to me running out of memory, and I had to make my grass way bigger than I wanted. There's probably a more optimal way I missed.
A transparent version will be posted in the replies when it's finished rendering.
-
Started reading "Gödel, Escher, Bach", and couldn't resist a quick and easy reproduction of the cover. Boolean modifiers made this cake.
-
Nearly finished all the sculpting and retopo for my #Kumatora from #Mother3. Not really finished with her, but I'm going to take a break for a while before doing more hair and cloth work or rigging and posing.
I'm pretty happy with what is there, though. It's far from perfect, but it's about the best I've done so far, and most of her face looks downright OK. The hands aren't as good as I'd like, but the topology is a mess, so there's only so much I can do without redoing them.
-
Was supposed to be a week-long project but this is taking forever. According to my time tracking, this is about 14 hours of work so far, and I probably have at least another 10 hours before I'll be happy with it. Just used #GeometryNodes to whip up a zipper, and I really need to dip into them more. Procedural generation is a powerful time-saver, and as a programmer, I really should have cracked into them much earlier.
No idea how rigging is going to go.
-
Been working on making #WebAssembly work with #async #JavaScript import functions. I was stuck for a while before I realized that I need to do it entirely through callbacks. Now I can run async #Rust code using JavaScript's event loop. It's wonky, but it gets the job done alright.
I know I could have leaned on #WasmBindgen, but I need a really defined interface that can be supported from multiple languages, including C and C++, so I did it by hand.
-
Eva Nathena & Dionyssis Samiotis On Crafting Their Surprising Greek Box Office Hit ‘Murderess’ – Contenders International
#News #ContendersInternational #DionyssisSamiotis #EvaNathena #Greece #Murderess #TanweerProductionshttps://deadline.com/2024/12/murderess-director-interview-1236193807/
-
Eva Nathena & Dionyssis Samiotis On Crafting Their Surprising Greek Box Office Hit ‘Murderess’ – Contenders International
#News #ContendersInternational #DionyssisSamiotis #EvaNathena #Greece #Murderess #TanweerProductionshttps://deadline.com/2024/12/murderess-director-interview-1236193807/
-
Eva Nathena & Dionyssis Samiotis On Crafting Their Surprising Greek Box Office Hit ‘Murderess’ – Contenders International
#News #ContendersInternational #DionyssisSamiotis #EvaNathena #Greece #Murderess #TanweerProductionshttps://deadline.com/2024/12/murderess-director-interview-1236193807/
-
Eva Nathena & Dionyssis Samiotis On Crafting Their Surprising Greek Box Office Hit ‘Murderess’ – Contenders International
#News #ContendersInternational #DionyssisSamiotis #EvaNathena #Greece #Murderess #TanweerProductionshttps://deadline.com/2024/12/murderess-director-interview-1236193807/
-
Confined living
Inside, hiding from climate
Change, communicate! -
"Well. I shall have to go into exile, never to be seen again."
"Fear not, my love. I shall accompany you."
"There's no need—"
"You have my #unwavering devotion. I shall remain by your side until the end."
"Damn."
"Could you grace my ears with that statement again, dearest? I didn't quite comprehend."
"Nothing..."
-
"Well. I shall have to go into exile, never to be seen again."
"Fear not, my love. I shall accompany you."
"There's no need—"
"You have my #unwavering devotion. I shall remain by your side until the end."
"Damn."
"Could you grace my ears with that statement again, dearest? I didn't quite comprehend."
"Nothing..."
-
"Well. I shall have to go into exile, never to be seen again."
"Fear not, my love. I shall accompany you."
"There's no need—"
"You have my #unwavering devotion. I shall remain by your side until the end."
"Damn."
"Could you grace my ears with that statement again, dearest? I didn't quite comprehend."
"Nothing..."
-
The English have an #unwavering faith
In their exceptionalism, at a time
When their empire crumbles away
& only its blood dust remains. The
Old guard remains staunchly racist
With that ingrained
Hatred of all people who are the wrong
Colour. They fall over each
Other & onto their knees at the
Prospect of a new coronation. Such
Inflated importance, when all they are,
The royals included, little limited
People with no skills, no languages,
& no compassion.
#MastoPrompt #Poetry -
The English have an #unwavering faith
In their exceptionalism, at a time
When their empire crumbles away
& only its blood dust remains. The
Old guard remains staunchly racist
With that ingrained
Hatred of all people who are the wrong
Colour. They fall over each
Other & onto their knees at the
Prospect of a new coronation. Such
Inflated importance, when all they are,
The royals included, little limited
People with no skills, no languages,
& no compassion.
#MastoPrompt #Poetry