I'm a software engineer eager to make this world a better place to live in.
It's easy to give too much importance to them, and it feels that all the progress is gone when we break them
Tracking the total days since I started keeps a healthier perspective on my habits.
#buildinpublic
It's easy to give too much importance to them, and it feels that all the progress is gone when we break them
Tracking the total days since I started keeps a healthier perspective on my habits.
#buildinpublic
#buildinpublic #selfimprovement #mindset #selflove
#buildinpublic #selfimprovement #mindset #selflove
- Built a whole admin dashboard to make it easier for me to maintain courses and feedback
- Built new scrapers get course bibliography, assessment and description
But it was finally time to make UI improvements.
Roast my design!
- Built a whole admin dashboard to make it easier for me to maintain courses and feedback
- Built new scrapers get course bibliography, assessment and description
But it was finally time to make UI improvements.
Roast my design!
Today we made something similar in Lisbon and it was awesome! We had a productive day, got good feedback and made new connections!
#coworking #lisbon #indie
Today we made something similar in Lisbon and it was awesome! We had a productive day, got good feedback and made new connections!
#coworking #lisbon #indie
Add real-time shared cursors to your React app with just ONE line of code! Want full control? The useCursors is here for you!
StackBlitz Demo: stackblitz.com/edit/react-t...
#ReactJS #WebDev
Add real-time shared cursors to your React app with just ONE line of code! Want full control? The useCursors is here for you!
StackBlitz Demo: stackblitz.com/edit/react-t...
#ReactJS #WebDev
Full guide at github.com/afonsocrg/multi-pong
#workshop #croquet
Full guide at github.com/afonsocrg/multi-pong
#workshop #croquet
Try it → reacttogether.dev/chat
#react #reactjs
Try it → reacttogether.dev/chat
#react #reactjs
A few years ago I had to create some python CLI menus. Didn't like what was out there at the time, so decided to build my own :)
Hope it helps someone!
github.com/afonsocrg/ya...
#python
A few years ago I had to create some python CLI menus. Didn't like what was out there at the time, so decided to build my own :)
Hope it helps someone!
github.com/afonsocrg/ya...
#python
Yey, it's done! To reduce search, I stored the locks in a tree of HashMaps, indexed by pin size.
Thanks @was.tl and team for these challenges, it's been a fun journey!! Merry Christmas to everyone
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Yey, it's done! To reduce search, I stored the locks in a tree of HashMaps, indexed by pin size.
Thanks @was.tl and team for these challenges, it's been a fun journey!! Merry Christmas to everyone
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Got a fast solution by checking for complete subgraphs (TIL they're also known as cliques) while processing each edge.
Used HashMaps and HashSets for faster lookup and intersections.
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Got a fast solution by checking for complete subgraphs (TIL they're also known as cliques) while processing each edge.
Used HashMaps and HashSets for faster lookup and intersections.
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Used bit-wise operators to make the next number generation faster. For Part 2, stored diff sequences as 20 bit integers for faster lookup.
Times:
Part 1: 11.6ms
Part 2: 147.8ms
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Used bit-wise operators to make the next number generation faster. For Part 2, stored diff sequences as 20 bit integers for faster lookup.
Times:
Part 1: 11.6ms
Part 2: 147.8ms
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Defined the problem recursively and used caching to avoid re-computation of intermediate results. This one was a real conundrum.
Happy with my execution times:
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Defined the problem recursively and used caching to avoid re-computation of intermediate results. This one was a real conundrum.
Happy with my execution times:
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Got a O(n) solution by storing the distance from each position to the end, and by checking for shortcuts in each position vicinity. Did a "diamond" for-loop for the first time, it was fun.
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Got a O(n) solution by storing the distance from each position to the end, and by checking for shortcuts in each position vicinity. Did a "diamond" for-loop for the first time, it was fun.
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Memoization did the trick for this problem!!
Also, instead of checking one pattern at a time, I checked if prefixes with different lengths existed in the pattern set, which sped up my solution by 4x.
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Memoization did the trick for this problem!!
Also, instead of checking one pattern at a time, I checked if prefixes with different lengths existed in the pattern set, which sped up my solution by 4x.
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Loved using recursion in this one. And feeling super stoked to get it working right in the first try!! Also, made some fancy looking match expressions for the first time. Loving Rust so far 🦀
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Loved using recursion in this one. And feeling super stoked to get it working right in the first try!! Also, made some fancy looking match expressions for the first time. Loving Rust so far 🦀
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Felt good to finally put diophantine equations to use (studied them 7y ago). Also derived an equation system to determine the intersection of solutions in 2d. Fav challenge so far!
Code: github.com/afonsocrg/AoC #AdventOfCode #rust
Felt good to finally put diophantine equations to use (studied them 7y ago). Also derived an equation system to determine the intersection of solutions in 2d. Fav challenge so far!
Code: github.com/afonsocrg/AoC #AdventOfCode #rust
Challenges starting to heat up! Managed to find a closed-form expression to get the checksum of a memory segment, which sped up things a lot!
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
Challenges starting to heat up! Managed to find a closed-form expression to get the checksum of a memory segment, which sped up things a lot!
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
This one made me sweat... In part 2, got a fast solve by only testing obstruction placements along the exact path the guard would actually traverse, instead of testing every position =]
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust
This one made me sweat... In part 2, got a fast solve by only testing obstruction placements along the exact path the guard would actually traverse, instead of testing every position =]
Code: github.com/afonsocrg/AoC
#AdventOfCode #rust