Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @matt_garnett
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @matt_garnett
-
matt garnett proslijedio/la je Tweet
┏━━┓┏━━┓┏━━┓┏━━┓ ┗━┓┃┃┏┓┃┗━┓┃┃┏┓┃ ┏━┛┃┃┃┃┃┏━┛┃┃┃┃┃ Decade of WebAssembly ┃┏━┛┃┃┃┃┃┏━┛┃┃┃┃ ┃┗━┓┃┗┛┃┃┗━┓┃┗┛┃ ┗━━┛┗━━┛┗━━┛┗━━┛
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
13: Implementing a harness for a classic arcade game was neat. For the sake of brevity, I simulated playing the game by moving the paddle towards the ball each frame. It would be really cool to add user input in later so it can *actually* be played!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
12: One thing I have particularly enjoyed about these challenges is getting to implement lots of std traits for my structs. I'm typically writing no-std crates and don't have that luxury! Here's the iterator for my system:pic.twitter.com/6k6gXp0ngZ
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
12: My first stab at it was to brute force through all the states and store hashes of each of them (too slow). I glanced at r/adventofcode and saw people mentioned taking the LCM of each axis' period length which led me to the solution (after an off-by-one error of course).
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
12: This was a cool, tricky problem. Calculating the total energy of the system was straightforward, but finding the time at which the system was at an identical state required some creativity.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
11: If you want to see what it looks like to completely rewrite the Intcode VM from scratch a second time, check out the diff:https://github.com/lightclient/aoc/commit/c7c9b4560ea8dc6c256ad79e57e8e0a4ebd57296#diff-11f399972f452095dfb2f9d3c75cf40c …
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
11: I'm happy I finally figured out the issue and solved the problem. Unfortunately, finishing by the 25th is all but impossible at this point. I'm still committed to completing all 25 problems though--just at whatever pace makes sense!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
11: You thought I gave up, but I didn't! I was i) a bit burned out though and ii) stuck on this problem for quite some time. It turns out I had an error in how I was storing coordinates in my program (it took a full rewrite of the VM and re-solving days 2,5,7,9 to realize).
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
As of Rust 1.40.0 `todo!()` == `unimplemented!()`
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
10: I feel like I'm running around with a hammer labeled "Rust iterator chains" & I'm constantly looking for nails. One of my favorite aspects of aoc is reviewing other Rust solutions afterwards & seeing how they tackle the same problem. I feel like I'm learning a lot!pic.twitter.com/kiHbnfsSZE
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
10: I had the general idea of how to solve it early on, but actually implementing it was non-trivial. It didn't help that I had several misconceptions along way of the problem, Rust mechanics, and polar coordinates.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
10: This was a good (& at times frustrating problem) that forced me to better understand Rust's handling of floating points + review some geometry.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
09: I'm definitely most unhappy with how I retrieve the operands and hydrate their corresponding instruction. Still a work-in-progress I guess!pic.twitter.com/rKUFbstwQK
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
09: I'm not in love with my solution, but I think it is on the right track. I have basically broken up the system into 4 major parts: 1. Determine operator from bytecode 2. Calculate operand modes 3. Retrieve operands 4. Apply overall instruction.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
09: This wasn't a terribly *difficult* problem, but I used it as an excuse to build out a "rusty" Intcode crate instead of hacking together solutions each day. This took quite a bit of time and thought, but it was a good learning experience.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
09: Wow, I've really fallen behind. I think doing a complete refactor of my Intcode VM while also visiting friends wasn't the best idea. Fortunately, this weekend my main priority is to catch up on aoc!
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
It’s funny how much routine maintenance people perform on their {insert expensive, replaceable asset}, yet treat their body—their only vessel of consciousness in this life—like it’s disposable.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
matt garnett proslijedio/la je Tweet
All of us writing C and C++ are living on borrowed time. The only safe future is Rust. Prepare your code to go out of scope.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
matt garnett proslijedio/la je Tweet
Twitter is funding a small independent team of up to five open source architects, engineers, and designers to develop an open and decentralized standard for social media. The goal is for Twitter to ultimately be a client of this standard.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.