You can also read this story at: https://hershalb.com/book-review-misbehaving/
When I think of “economic theory” I recall high school lectures in Econ class that included discussions of Supply and Demand lines along with faint memories of marginal utility curves. The history of economic theory led to an abundance of optimization problems that solved for the ideal methods rational humans used to make decisions. However, until the 1970s, economic theory focused increasingly on the equations and not the beings behind them: Humans. In Misbehaving: The Making of Behavioral Economics, Richard H. Thaler describes the journey to make economic theory more human.
I interviewed with YC for the W21 batch during the Coronavirus pandemic. I was rejected. The experience was unique and helped me think about our product in a different light. I would highly recommend applying to anyone who is hoping to pursue their goal of entrepreneurship further. If not for the YC brand, apply to see what people, who look at thousands of companies every quarter, think about your product and (if you get the chance) have them dump on you and your product for 10 minutes.
You can also take a look at this article at: https://hershalb.com/my-yc-interview-experience-w21/
Tackle a common coding interview question: the LRU Cache.
You can also take a look at this and more stories at: https://hershalb.com/the-sunday-solver-lru-cache/
Interview questions can be hard to think of on the spot, but the best way to tackle interview questions is understanding the best way to approach them. Here, we will tackle a common interview question: creating an LRU Cache. An LRU Cache is a common type of is a type of scheme used to retrieve data from a database. Often, a database has much more memory than the memory on any given user’s computer. So how does the…
Create a platform such as Medium using tools such as ReactJS and Firebase.
This is part 1 of the series where we dive into the structure of ReactJS applications, reusability of code, ReactRouter, and integrating a backend into the project to create a full-stack application. By the end of part 1, we will be rendering out a list of dummy courses, and by the end of the series we’re going to have a mini-Medium, so let’s get started!
Check out Part 1 if you haven’t yet.
Now that we have the basic set-up for the application, we will allow users to navigate between the “All Posts” page and a specific post. In addition, we want users to be able to comment and like other posts.
To add navigation, we will first create a new file within our “MinYikYak” folder, call it PostPage.js, and cut all the code from index.ios.js into the new file. Index.ios.js should not be empty, and we will need to delete the last line of the PostPage.js …
First, you need to install react and all required dependencies which you can do here. The most important items to install are node and the react-native-cli. To get started open your Terminal application and type in the following commands:
react-native init MinYikYak
You should see the “Welcome to React Native” page in the simulator. Go to the MinYikYak folder on your computer and open the index.ios.js file. We are creating this project for ios devices, but most of the project should be compatible with android, just use the android specific commands.
The most important properties of…
Creating an application from scratch for React may seem overwhelming at first, especially if you don’t know what that entails. We are going to be running your personal React application using node.js and starting a local server that will run your code. This may sound complicated (or not), but it’s really just a simple matter of downloading a few things and we should be good to go.
First, we start building the necessary moving parts — the two paddles on either side of the screen and the ball in the middle. Create a new file “pong.html” …