www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Heady House Hunting with D

reply "Philpax" <me philpax.me> writes:
Hey everyone,

I recently wrote a blog post about how I used D/vibe.d to help 
find a new house. I haven't publicized it anywhere else yet, so 
I'm looking forward to what the D community has to say! You can 
check it out here: 
http://philpax.me/blog/heady-house-hunting-with-d

D made it easy to model the problem and quickly crunch through 
it; I'm pretty happy with how quickly I was able to get decent 
results. It's not the most idiomatic of code, but D's flexibility 
meant that I could concentrate on the concept instead of the 
implementation details.

Thanks,
Philpax
Jan 13 2015
next sibling parent reply Rikki Cattermole <alphaglosined gmail.com> writes:
On 14/01/2015 4:46 p.m., Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help find a
 new house. I haven't publicized it anywhere else yet, so I'm looking
 forward to what the D community has to say! You can check it out here:
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through it; I'm
 pretty happy with how quickly I was able to get decent results. It's not
 the most idiomatic of code, but D's flexibility meant that I could
 concentrate on the concept instead of the implementation details.

 Thanks,
 Philpax
When I first saw this thread I thought it was spam. Nope! Definitely would be interesting to see this as a full blown comparison site, like there is for flight.
Jan 13 2015
parent reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On 01/13/2015 10:56 PM, Rikki Cattermole wrote:
 On 14/01/2015 4:46 p.m., Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help find a
 new house. I haven't publicized it anywhere else yet, so I'm looking
 forward to what the D community has to say! You can check it out here:
 http://philpax.me/blog/heady-house-hunting-with-d
Definitely would be interesting to see this as a full blown comparison site, like there is for flight.
Yea, definitely. The listing sites from the realty companies are truly horrible (and a very solid case IMO for why the web should be plain-old-data, not "dynamic"/"rich"-content). A sane front-end for all their goofy bloated half-broken crap would be great for anyone facing the royal pain of house hunting.
Jan 13 2015
parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Wednesday, 14 January 2015 at 04:23:18 UTC, Nick Sabalausky 
wrote:
 On 01/13/2015 10:56 PM, Rikki Cattermole wrote:
 On 14/01/2015 4:46 p.m., Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to 
 help find a
 new house. I haven't publicized it anywhere else yet, so I'm 
 looking
 forward to what the D community has to say! You can check it 
 out here:
 http://philpax.me/blog/heady-house-hunting-with-d
Definitely would be interesting to see this as a full blown comparison site, like there is for flight.
Yea, definitely. The listing sites from the realty companies are truly horrible (and a very solid case IMO for why the web should be plain-old-data, not "dynamic"/"rich"-content). A sane front-end for all their goofy bloated half-broken crap would be great for anyone facing the royal pain of house hunting.
I have had good results in the UK with rightmove, which does exactly that (although it's still a pain). They do list US (and other) properties too, but I don't think a high percentage.
Jan 14 2015
prev sibling next sibling parent "Israel" <tl12000 live.com> writes:
On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help 
 find a new house. I haven't publicized it anywhere else yet, so 
 I'm looking forward to what the D community has to say! You can 
 check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through 
 it; I'm pretty happy with how quickly I was able to get decent 
 results. It's not the most idiomatic of code, but D's 
 flexibility meant that I could concentrate on the concept 
 instead of the implementation details.

 Thanks,
 Philpax
This is really cool, thanks alot for the code. I see it almost as a tutorial for new programmers like me.
Jan 15 2015
prev sibling next sibling parent "Mike" <none none.com> writes:
On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help 
 find a new house. I haven't publicized it anywhere else yet, so 
 I'm looking forward to what the D community has to say! You can 
 check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d
I love this kind of creative programming to automate an individual and personal need. It's possibilities like this that makes programming so attractive to me. Nice work! and thanks for making it available for everyone to benefit from. Mike
Jan 15 2015
prev sibling next sibling parent reply =?iso-8859-1?Q?Robert_M._M=FCnch?= <robert.muench saphirion.com> writes:
On 2015-01-14 03:46:38 +0000, Philpax said:

 I recently wrote a blog post about how I used D/vibe.d to help find a 
 new house. I haven't publicized it anywhere else yet, so I'm looking 
 forward to what the D community has to say! You can check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d
Cool stuff! I saw this: "With real data, this produced a list of ~40 houses with all relevant information included" Well, my company is doing a mathematics based pricing analysis based on properties (an enhanced multi dimensional regression analysis approach). See: http://www.nlpp.ch So, if you want to see how the prices shouldbe and which criteria drives the costs, let me know. Houseprices would be a nice showcase I wanted to do for some time. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Jan 16 2015
parent reply "Philpax" <me philpax.me> writes:
On Friday, 16 January 2015 at 18:44:47 UTC, Robert M. Münch wrote:
 On 2015-01-14 03:46:38 +0000, Philpax said:

 I recently wrote a blog post about how I used D/vibe.d to help 
 find a new house. I haven't publicized it anywhere else yet, 
 so I'm looking forward to what the D community has to say! You 
 can check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d
Cool stuff! I saw this: "With real data, this produced a list of ~40 houses with all relevant information included" Well, my company is doing a mathematics based pricing analysis based on properties (an enhanced multi dimensional regression analysis approach). See: http://www.nlpp.ch So, if you want to see how the prices shouldbe and which criteria drives the costs, let me know. Houseprices would be a nice showcase I wanted to do for some time.
I'd definitely like to see this. I wanted to try out something similar, but working with unsold houses meant that all the data was in flux (especially price). A more detailed analysis based upon already-sold houses would be quite interesting!
Jan 18 2015
parent =?iso-8859-1?Q?Robert_M._M=FCnch?= <robert.muench saphirion.com> writes:
On 2015-01-18 13:49:56 +0000, Philpax said:

 On Friday, 16 January 2015 at 18:44:47 UTC, Robert M. Münch wrote:
 On 2015-01-14 03:46:38 +0000, Philpax said:
 
 I recently wrote a blog post about how I used D/vibe.d to help find a 
 new house. I haven't publicized it anywhere else yet, so I'm looking 
 forward to what the D community has to say! You can check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d
Cool stuff! I saw this: "With real data, this produced a list of ~40 houses with all relevant information included" Well, my company is doing a mathematics based pricing analysis based on properties (an enhanced multi dimensional regression analysis approach). See: http://www.nlpp.ch So, if you want to see how the prices shouldbe and which criteria drives the costs, let me know. Houseprices would be a nice showcase I wanted to do for some time.
I'd definitely like to see this. I wanted to try out something similar, but working with unsold houses meant that all the data was in flux (especially price). A more detailed analysis based upon already-sold houses would be quite interesting!
Ok, just drop me a not via the contact form / email address. The nice thing is that all the "market knowledge" is taken into account. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Jan 19 2015
prev sibling next sibling parent reply "Vladimir Panteleev" <vladimir thecybershadow.net> writes:
On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help 
 find a new house. I haven't publicized it anywhere else yet, so 
 I'm looking forward to what the D community has to say! You can 
 check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through 
 it; I'm pretty happy with how quickly I was able to get decent 
 results. It's not the most idiomatic of code, but D's 
 flexibility meant that I could concentrate on the concept 
 instead of the implementation details.
Heh, I wrote something similar (much much simpler) to find the best hotel for DConf 2013. The program extracted the hotel's geographical coordinates, and then queried the Google Maps API to find the one that had the shortest public transit time assuming we wanted to arrive at 8:30 AM. Since then, I started doing it for all important purchases - TV, AC unit, laptop... The laptop program used a score model like yours. The biggest issue is that it's hard to find accurate information on household hardware, especially since there are a myriad models for each tiny European market. Here's the hotel program (list.txt is a list of booking.com URLs): http://dump.thecybershadow.net/2ebca3f47b801aed0104585f60b9587e/scan.d By the way, does your blog have a RSS feed for D posts? Then I could add it to Planet D.
Jan 16 2015
parent "Philpax" <me philpax.me> writes:
On Friday, 16 January 2015 at 20:20:56 UTC, Vladimir Panteleev 
wrote:
 On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help 
 find a new house. I haven't publicized it anywhere else yet, 
 so I'm looking forward to what the D community has to say! You 
 can check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through 
 it; I'm pretty happy with how quickly I was able to get decent 
 results. It's not the most idiomatic of code, but D's 
 flexibility meant that I could concentrate on the concept 
 instead of the implementation details.
Heh, I wrote something similar (much much simpler) to find the best hotel for DConf 2013. The program extracted the hotel's geographical coordinates, and then queried the Google Maps API to find the one that had the shortest public transit time assuming we wanted to arrive at 8:30 AM. Since then, I started doing it for all important purchases - TV, AC unit, laptop... The laptop program used a score model like yours. The biggest issue is that it's hard to find accurate information on household hardware, especially since there are a myriad models for each tiny European market. Here's the hotel program (list.txt is a list of booking.com URLs): http://dump.thecybershadow.net/2ebca3f47b801aed0104585f60b9587e/scan.d By the way, does your blog have a RSS feed for D posts? Then I could add it to Planet D.
Heh, good to know that other people have taken similarly clever approaches to decision making :) I don't have a D-specific RSS feed (my blog's fairly simple, since I haven't written many posts) but I have one for all posts: http://philpax.me/news.rss. In the future, I'll consider adding categories and category-specific RSS feeds.
Jan 18 2015
prev sibling parent reply "Meta" <jared771 gmail.com> writes:
On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help 
 find a new house. I haven't publicized it anywhere else yet, so 
 I'm looking forward to what the D community has to say! You can 
 check it out here: 
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through 
 it; I'm pretty happy with how quickly I was able to get decent 
 results. It's not the most idiomatic of code, but D's 
 flexibility meant that I could concentrate on the concept 
 instead of the implementation details.

 Thanks,
 Philpax
Any plans to post this to Reddit/Hackernews?
Jan 17 2015
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 1/17/15 12:18 PM, Meta wrote:
 On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help find a
 new house. I haven't publicized it anywhere else yet, so I'm looking
 forward to what the D community has to say! You can check it out here:
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through it; I'm
 pretty happy with how quickly I was able to get decent results. It's
 not the most idiomatic of code, but D's flexibility meant that I could
 concentrate on the concept instead of the implementation details.

 Thanks,
 Philpax
Any plans to post this to Reddit/Hackernews?
http://www.reddit.com/r/programming/comments/2sf48d/heady_house_hunting_with_d_xposted_rd_language/ Andrei
Jan 17 2015
parent reply "Mengu" <mengukagan gmail.com> writes:
On Saturday, 17 January 2015 at 21:41:15 UTC, Andrei Alexandrescu 
wrote:
 On 1/17/15 12:18 PM, Meta wrote:
 On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to 
 help find a
 new house. I haven't publicized it anywhere else yet, so I'm 
 looking
 forward to what the D community has to say! You can check it 
 out here:
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch 
 through it; I'm
 pretty happy with how quickly I was able to get decent 
 results. It's
 not the most idiomatic of code, but D's flexibility meant 
 that I could
 concentrate on the concept instead of the implementation 
 details.

 Thanks,
 Philpax
Any plans to post this to Reddit/Hackernews?
http://www.reddit.com/r/programming/comments/2sf48d/heady_house_hunting_with_d_xposted_rd_language/ Andrei
maybe we should just link the main websites when creating reddit links instead of the forum?
Jan 18 2015
next sibling parent "Philpax" <me philpax.me> writes:
On Sunday, 18 January 2015 at 13:06:06 UTC, Mengu wrote:
 On Saturday, 17 January 2015 at 21:41:15 UTC, Andrei 
 Alexandrescu wrote:
 On 1/17/15 12:18 PM, Meta wrote:
 On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to 
 help find a
 new house. I haven't publicized it anywhere else yet, so I'm 
 looking
 forward to what the D community has to say! You can check it 
 out here:
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch 
 through it; I'm
 pretty happy with how quickly I was able to get decent 
 results. It's
 not the most idiomatic of code, but D's flexibility meant 
 that I could
 concentrate on the concept instead of the implementation 
 details.

 Thanks,
 Philpax
Any plans to post this to Reddit/Hackernews?
http://www.reddit.com/r/programming/comments/2sf48d/heady_house_hunting_with_d_xposted_rd_language/ Andrei
maybe we should just link the main websites when creating reddit links instead of the forum?
I would've preferred that, as I wanted to screen it by the D community before having it linked to elsewhere. Not a huge deal, though.
Jan 18 2015
prev sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 1/18/15 5:06 AM, Mengu wrote:
 On Saturday, 17 January 2015 at 21:41:15 UTC, Andrei Alexandrescu wrote:
 On 1/17/15 12:18 PM, Meta wrote:
 On Wednesday, 14 January 2015 at 03:46:39 UTC, Philpax wrote:
 Hey everyone,

 I recently wrote a blog post about how I used D/vibe.d to help find a
 new house. I haven't publicized it anywhere else yet, so I'm looking
 forward to what the D community has to say! You can check it out here:
 http://philpax.me/blog/heady-house-hunting-with-d

 D made it easy to model the problem and quickly crunch through it; I'm
 pretty happy with how quickly I was able to get decent results. It's
 not the most idiomatic of code, but D's flexibility meant that I could
 concentrate on the concept instead of the implementation details.

 Thanks,
 Philpax
Any plans to post this to Reddit/Hackernews?
http://www.reddit.com/r/programming/comments/2sf48d/heady_house_hunting_with_d_xposted_rd_language/ Andrei
maybe we should just link the main websites when creating reddit links instead of the forum?
Makes sense, but the one way to ensure that is to just do it. -- Andrei
Jan 18 2015