![]() ![]() Located in one of the busy neighborhoods of Tokyo, this diminutive dwelling (an architectural style known as “kyosho jutaku” in Japanese) makes use of vertical space to get the maximum room out of the sparse 10 square meters, or 107 square feet, available. The company is taking these concepts and expanding them to the tight real-estate market of Japan by offering a tiny apartment for rent for the tiny price of 99 yen (or about 86 cents) per month. From viral videos of how to build a bed frame out of Ikea shelving units to plain furniture pieces that can be transformed into showpieces, Ikea is a cultural phenomenon. The Swedish-based retailer, and its build-it-yourself furniture line, have developed a spirited fan base over the years. I had seen blessed be put to use in the lovely webpack-dashboard, so I thought “why ever not?”.If you’ve ever been to an Ikea store, you know how this sprawling space has just about anything you can imagine for your home. So what did I do? I hooked up blessed to plot me some graphs and make things look pretty. ![]() Plotting the DataĪfter a few days, I got kind of annoyed (what’s new?) with looking at a stream of text and thought of complex ways to make it more appealing to look at for the few seconds that I looked at it every day. The internet-goers didn’t lie to me this time. I could see that fares did indeed drop, especially late at night. So I verified my number and let the texts come flowing in.Īnd since I didn’t think it through, I also chose to send the text message at a low interval so that it would keep pinging me until I stopped the script, even if I was out on a date with my lovely wife.īut it worked quite well. Twilio offers a free account as long as you verify the phone number that you’re texting to, so that’s pretty rad. So what did I do? I hooked up Twilio to send me a text message whenever a fare hit a certain threshold. ![]() It’s not like I want to sit there and watch it all night. It’s printing out fare prices, but I’m not really sure what to do with all of this data. I wrote a Node script … wait I already said that. It wasn’t fancy, but it did what I told it to do. I then let it do its thing every night while I slept. So, I built a quick and dirty command line script that scraped their website every so often. The solution was to use osmosis to literally fill out and submit the search form, and then scrape the results page. I chose Node because I figured they would have great tooling for web scraping, and I was more or less correct on that one.Īs I began experimenting with the algorithm… err, script, I realized that it was a lot harder than I thought it would be to fake a form submission on Southwest’s website so that I could get to the results page. I could write a script which would, you know, scrape their website for the data I wanted. I figured that straight up scraping their website would be an effective approach. Crawling the Southwest websiteĪ quick look at Southwest’s site revealed no API. What if I wrote a script to do these annoying tasks for me? Yeah. I started to get annoyed with the repetition (surprise, surprise!), so I set out to automate things as best I could. I started checking fare prices periodically throughout the day. I had heard from a few internet-goers that ticket prices would drop on Tuesday nights, so I set out to test that claim. I decided to look into Southwest, the de facto airline for low fares (not really). I scoured all of the fancy airlines, but all of their fares were too high for my liking. I began by scouring the web for cheap plane tickets, like normal travel folks seem to do. I had the hotel more or less picked out, but the transportation was still up in the air. About two months ago, I wanted to go on a vacation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |