HN user

lawrencewu

95 karma

https://binarysearch.io/

Posts31
Comments47
View on HN
binarysearch.io 6y ago

Show HN: A site to learn algorithms with others

lawrencewu
12pts1
dailyproductprep.com 6y ago

Must-Read Essays for Product Managers

lawrencewu
1pts0
blog.karthiksthings.com 6y ago

Trust Grandmas Not Doctors

lawrencewu
8pts0
hubble.press 6y ago

Hubble.press – Turn your Notion workspace into a website

lawrencewu
16pts2
www.dailycodingproblem.com 6y ago

Finding the Smallest Interval of K Sorted Lists

lawrencewu
2pts0
www.dailycodingproblem.com 6y ago

Tips to Ace Your Coding Interview

lawrencewu
2pts0
dailyhabitmail.com 7y ago

Show HN: Start a new habit with daily accountability

lawrencewu
18pts2
www.dailycodingproblem.com 8y ago

A Neat Bitwise Trick for Swapping Even and Odd Bits

lawrencewu
1pts3
larryscheaphouses.com 8y ago

Show HN: Larry's Cheap Houses – Deep Learning Powered Real Estate Deals

lawrencewu
58pts49
www.dailycodingproblem.com 8y ago

Counting Unival Subtrees

lawrencewu
1pts0
interviewcache.com 8y ago

2018 Google Software Engineering Salaries

lawrencewu
5pts0
interviewcache.com 8y ago

Implementing a time-aware hashmap

lawrencewu
5pts0
blog.dailycodingproblem.com 8y ago

How to Formulaically Solve Tree Interview Questions

lawrencewu
7pts0
blog.dailycodingproblem.com 8y ago

An Introduction to Backtracking

lawrencewu
3pts0
news.ycombinator.com 8y ago

We'll review your resume

lawrencewu
3pts0
dailycodingproblem.com 8y ago

How to Find Arbitrage Opportunities in Python

lawrencewu
14pts0
dailycodingproblem.com 8y ago

How to not get stressed out during a programming interview

lawrencewu
3pts0
dailycodingproblem.com 8y ago

Show HN: Daily Coding Problem – Get a coding interview problem every day

lawrencewu
11pts2
dailycodingproblem.com 8y ago

How to Pick a Random Element from an Infinite Stream

lawrencewu
4pts2
dailycodingproblem.com 8y ago

The Complete Guide to Getting a Full-Time Software Engineering Job

lawrencewu
4pts0
www.juicebox.dj 9y ago

Show HN: Juicebox – A turntable.fm alternative

lawrencewu
4pts0
lawrencewu.me 9y ago

Jarvis' 100 most asked reminders

lawrencewu
2pts0
www.juicebox.dj 9y ago

Show HN: Juicebox – Listen to music with others

lawrencewu
23pts12
lawrencewu.me 10y ago

How to Be a Great Engineer

lawrencewu
4pts0
lawrencewu.me 10y ago

Scaling Jarvis from 5 to 5000 users in forty-eight hours

lawrencewu
2pts0
lawrencewu.me 10y ago

Show HN: Jarvis, a Messenger bot that reminds you to get things done

lawrencewu
9pts6
lawrencewu.me 10y ago

I measured my heartrate at Coachella

lawrencewu
1pts0
lawrencewu.me 10y ago

Dashboard

lawrencewu
3pts0
lawrencewu.me 10y ago

Wham Bam, Slam Jam

lawrencewu
1pts0
lawrencewu.me 10y ago

Finding the edit distance between two strings

lawrencewu
1pts0

You're right, I updated it to reflect that it's paid. I think email address is implied by the newsletter though.

I'm obviously biased but I think the problems are fun and the solutions are valuable. Here are some blog posts I wrote that hopefully give you an idea of our questions:

Given a table of currency exchange rates, determine whether there is a possible arbitrage: https://dailycodingproblem.com/blog/2018/01/02/find-an-arbit...

Picking a random element from an infinite stream: https://dailycodingproblem.com/blog/2017/11/30/random-elemen...

Merging k sorted lists: https://dailycodingproblem.com/blog/2017/11/29/how-to-solve-...

It also doesn't mean a decrease in unemployment, which is what this report claims. I'm also still unclear on _how_ a minimum wage would have no effect on unemployment, which is what the law of supply and demand predicts.

- Raise the minimum wage

If we raise the minimum wage, that would surely increase unemployment. Even a minimum wage job is hard to get for an uneducated, unskilled person, so how would it be easier for them to get a job at a rate employers are even less willing to pay?

Easy to say, hard to do. We don't like change. Change means possible danger, it means relinquishing opportunities, it means no safety net.

Part of the happiness that comes from a new relationship comes from not just discovering new things about each other (or NRE, or the Coolidge effect) but from the (misplaced) belief that things will go on this way forever. Embracing change means sacrificing that pleasure, which you might be able to do if you possess foresight/discipline, but it is hard and not obvious, especially when you have an of love that's foolish, us-against-the-world that reinforces that mentality.

I don't know why you are getting downvoted because you're absolutely right. The first three markets named (airlines, telecommunications, health care) are all heavily regulated and the barrier to entries are controlled by the government, not natural market forces.

Monopolies are not all bad. Sometimes a company has a monopoly because they just offer a better product (Amazon, Google) and they shouldn't be punished for that, especially when there's no government intervention that exists to protect them.

I don't think this is a good solution. Where is the incentive for anyone to maintain properties anymore?

"Owners of valuable land would be forced to make maximum use of land with higher density rentals in order to make sufficient rental income to pay the land tax."

I don't see how this follows if all income is taxed at 100%.

The correct solution is to eliminate NIMBYism by eliminating the ability for homeowners to restrict the construction of new buildings so that new housing can be built. Rent control should also be eliminated, allowing demand to match supply.

It rubs me the wrong way too. But rationally, it's just your classic price discrimination tactics (coupons and special discounts) on steroids, so if you aren't upset by those, you shouldn't be upset by this.

I guess my main issue here is the clickbaity title, since I don't think Amazon is making us suckers. The consumer ultimately has the upper hand since they can just choose not to purchase the product, or use a price search engine to find a better deal (which is akin to using a coupon - people that are price-sensitive are more willing to put in effort to save money).

This article paints a pretty good description of how price discrimination is used in online shopping and how places like Amazon try to extract consumer surplus. I don't know if I agree with the title's claim, though. If a product is shown at a higher place and you click buy, you're still choosing to buy the product at an accepted price, i.e. the value of the product is still worth more than what you're willing to spend, otherwise you wouldn't have bought it at all. How does that make you a sucker? Because someone else might be getting it for cheaper? That might seem unfair at first, but ultimately it's irrelevant. Other people have different opportunities for a lot of things. Complaining about what price someone is voluntarily willing to pay for a good is probably near the bottom of my list of injustices.