Hi friends!
Another week has come to a close. How fun. I hope your first full week of December was swell. Let's scoot!
Â
Web links of the week
Evolution of <img>: Gif without the GIF
A React Christmas
BxJS - In-depth introduction to React-Native
JavaScript Physics with Matter.js
Â
Something that interested me this week
I started playing Stardew Valley. I'm both so happy and also struggling not to play CONSTANTLY. If you don't know what it is,
Stardew Valley is a top-down pixel art role-playing-game (oh my) with farming, mining, social interactions, magic, and moooore. I think of it as a combination of Minecraft, the Sims, Pokémon, and Harvest Moon. Which is a lot. But it's so good.
My favorite part of the game is definitely the pixel art. It was very well-thought out and the details of every single free and building is so intricately done. I looked into the game, and it turns out it was built by one person over a 4.5 year period! He did an
AMA on Reddit a couple months ago which was a really fun read to hear a little "behind the scenes" of the game. If you're looking for something to play, I definitely recommend this one. It's on pretty much every modern platform you can think of, so don't be limited by console or OS!
Â
Interview question of the week
Last week, I asked if you were given an array of numbers, how you'd a list of all pairs that add up to zero.
Here's my solution to the problem:
function zeroPairs(arr) {
var pairs = [];
for (var i=0; i<arr.length; i++)
for (var j=i+1; j<arr.length; j++)
if (arr[i]+arr[j] == 0) pairs.push([arr[i], arr[j]]);
return pairs;
}
Here's this week's question!
Given a stack of integers, sort it from least to greatest using another stack.
Â
Cool things from around the internet
Customized Tina board with SA Dasher
Coloring inside a circle
The 2017 Christmas List of Best STEM Toys for kids
Space Photos of the Week: Juno Swoops In to Give Jupiter Its Close Up
Joke
I tell dad jokes but I have no kids.
I’m a faux pa.
Â
Thanks for reading friends, until next time! Be safe, make good choices, and get enough potassium.
cassidoo