Hacker News new | past | comments | ask | show | jobs | submit login
Order pizza from Vim (github.com/arithran)
61 points by tbodt on Dec 2, 2017 | hide | past | favorite | 18 comments



I hope that after a long day of coding one considers detaching from the screen to try cooking a healthy meal or enjoying food with friends, but FWIW there's a domino's api: https://www.npmjs.com/package/dominos


I looked at the code and all it's doing is opening a browser.

I was expecting a little more, like, actually following through an order.

I am currently adding a feature in my bot to do this. Handling payment and different addresses is awkward though. It'll almost never be as good as actually opening the site either.. but a good default pizza to a default address is fine for 99% of cases. :>


From the source looks like it just opens the browser to pizzahut.com. Would be nice if it could order too - maybe in a future release!


25 sloc which simply launches your web browser and navigates to dominos.com. This is incredibly unworthy of fp hackernews.


This reminds me that at one point, Everquest 2 had a /pizza command: https://web.archive.org/web/20050219035023/http://everquest2...


Well back in our day we had to FAX our orders in!

http://www.donhopkins.com/home/catalog/images/pizzatool.gif


Can you order pizza from emacs?


Not necessary, Emacs has a mode that makes pizza.


Maybe "pizza-ordering complete" is the new Turing complete.


Not pizza, but we can actually order salad from Emacs. The example is here https://tinyurl.com/ops67s3


You could probably make pizza from Emacs :P

https://www.xkcd.com/378/


Oh, the good old `Escape-Meta-Escape-Control-Space Pizza`.


but why should i install an os with a bad editor to order pizza?


Full featured command line tool: https://www.youtube.com/watch?v=J691aLfkWP0


This is just opening a website in a browser from vim, meh.

Let me know when vim can do this without a browser and when it pays with Bitcoin.


Well, title is misleading because you can’t order pizza from vim. It just opens a website.


9@:

opps


Here's my key bindings: Ctrl+Z = undo :Z = Changes mode to enable the following F = Make food D = Make dishes C = Clean S = Shower T = Brush teeth W = Wash clothes T, followed by 1 or 2 = Go to the toilet M, followed by W=mute wife B=mute boss

Makes life easy as a clicker game. Dot files are on Github.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: