News for hackers. Stuff that matters.

cameronpm

Re:Creating an advanced search engine with PostgreSQL on Wednesday July 12, 2023 @06:30PM (#36702557)
Normally best practice is to return primary keys in ES and then do a lookup query in the db. Did you attempt this?
Re:Pretty maps in Python on Wednesday July 20, 2022 @07:07PM (#32173597)
I wanted an excuse to make my first replit so I added it here: https://replit.com/@cameron-p-m/PrettyMap

Let me know what it's like running it!

Re:Shopify to Acquire Delivrr for $2.1B on Thursday May 05, 2022 @05:32PM (#31278648)
Shop app has a bunch of curated search areas in it, I would check it out!
Re:Shopify to Acquire Delivrr for $2.1B on Thursday May 05, 2022 @11:22AM (#31274510)
Shop app (made by shopify) has had cross shopify search for a few months in beta. I recommend trying it out! I worked on the infrastructure for this.
Re:Vancouver Zoning Map on Monday April 11, 2022 @12:49PM (#30991485)
Great response, I agree 100%.
Re:Vancouver Zoning Map on Friday April 08, 2022 @07:27PM (#30963728)
I agree. Montreal is better than Vancouver. They have a really good mix of height limited multi family zoning and commercial streets.
Re:Vancouver Zoning Map on Friday April 08, 2022 @04:18PM (#30962047)
Another great map. Yea, in comparison to Amsterdam we suck. I hope we keep making them. I find the sidestreets on pretty safe, due to low car traffic.
Re:Vancouver Zoning Map on Friday April 08, 2022 @04:15PM (#30962009)
Main problem is its a requirement to live around people who like mansions and being hoity-toity.
Re:Vancouver Zoning Map on Friday April 08, 2022 @04:07PM (#30961913)
what cities do you consider well designed and why?
Re:Vancouver Zoning Map on Friday April 08, 2022 @03:58PM (#30961809)
This is a great point about trying to fix Demand side problems with a Supply solution. This is a recent paper talking about this todo with nutrition (Does access to healthy food actually make people healthier?): https://academic.oup.com/qje/article-abstract/134/4/1793/549...

Here is another example with calorie labels (Do calorie labels actually reduce calorie intake?): https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4209007/

Re:Vancouver Zoning Map on Friday April 08, 2022 @03:55PM (#30961778)
Going to Toronto and seeing their highway along the water makes me sick. I can't believe they are cool with that. Boston at least realized their mistake and reversed it.
Re:Vancouver Zoning Map on Friday April 08, 2022 @03:49PM (#30961691)
In Vancouver, you'll usually have a few grocery stores in <10min walk because of the zoning. Commercial is usually every 4-6 blocks. It takes 10 mins to walk 4 blocks, as they are small in comparison to other cities I've lived in.

Most American cities were designed to do everything by car.

Re:Vancouver Zoning Map on Friday April 08, 2022 @03:44PM (#30961620)
Incredible map, I've never seen this before and I grew up here.

Zoning decides so much of the vibe of a city/neighbourhood. Changing zoning is pretty short sited if you have the goal of having an area that people love to love in.

Having lived in 6 other cities, other things Vancouver does well that aren't obvious on this map:

- Narrow streets (avoids traffic in side streets)

- No highways in the city (loud, dangerous, take up lots of space)

- Grass on both sides of sidewalk and trees on every street.

- Extremely high park density.

- Protected bike lanes everywhere.

- Side streets with random dead ends.

- Commercial streets every ~4-6 blocks that allow more traffic + bus routes.

- Rectangle structured blocks with numbers 1 direction and names the other.