Player FM - Internet Radio Done Right
94 subscribers
Checked 12M ago
اضافه شده در seven سال پیش
محتوای ارائه شده توسط Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones. تمام محتوای پادکست شامل قسمتها، گرافیکها و توضیحات پادکست مستقیماً توسط Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones یا شریک پلتفرم پادکست آنها آپلود و ارائه میشوند. اگر فکر میکنید شخصی بدون اجازه شما از اثر دارای حق نسخهبرداری شما استفاده میکند، میتوانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
Player FM - برنامه پادکست
با برنامه Player FM !
با برنامه Player FM !
Ep 021: Mutate the Internet
Manage episode 229809679 series 2463849
محتوای ارائه شده توسط Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones. تمام محتوای پادکست شامل قسمتها، گرافیکها و توضیحات پادکست مستقیماً توسط Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones یا شریک پلتفرم پادکست آنها آپلود و ارائه میشوند. اگر فکر میکنید شخصی بدون اجازه شما از اثر دارای حق نسخهبرداری شما استفاده میکند، میتوانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
Nate wants to tweet regularly, so he asks Clojure for some help.
- Problem: pre-author tweets so they can get posted automatically.
- Want to make a "full stack" application this time.
- Sounds complicated, what do we need?
- Database of tweets: text to tweet and timestamp when it should be tweeted.
- Frontend is a single-page application (SPA) that makes XHR ("AJAX") requests to the backend.
- Needs to be able to wake up and post.
- Persistent process backend.
- We will not cover all these parts.
- "You have a problem, so you make a UI to solve your problem. Now you have 2 problems." "More like 18 problems!"
- We will focus on logic interacting with Twitter.
- When should it post?
- How does it know if a tweet has been posted?
- What to do when Twitter returns an error?
- Overarching theme: how do you deal with side-effects in a functional way?
- Remember Ep 020: push side-effects and I/O to the edges.
- Easy to fetch "current" time, but that's a side effect!
- "Just because it's easy doesn't mean it's pure."
- If you make time a parameter, all of a sudden you can mess with it!
- "If only real time was a parameter we could manipulate."
- Lots of fun to be had in the upcoming episodes.
- "'Start with the data' is something we've come to again and again. If you can model the data, that's a very good place to start."
Related episodes:
Related projects:
Clojure in this episode:
nil
118 قسمت
Manage episode 229809679 series 2463849
محتوای ارائه شده توسط Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones. تمام محتوای پادکست شامل قسمتها، گرافیکها و توضیحات پادکست مستقیماً توسط Christoph Neumann and Nate Jones, Christoph Neumann, and Nate Jones یا شریک پلتفرم پادکست آنها آپلود و ارائه میشوند. اگر فکر میکنید شخصی بدون اجازه شما از اثر دارای حق نسخهبرداری شما استفاده میکند، میتوانید روندی که در اینجا شرح داده شده است را دنبال کنید.https://fa.player.fm/legal
Nate wants to tweet regularly, so he asks Clojure for some help.
- Problem: pre-author tweets so they can get posted automatically.
- Want to make a "full stack" application this time.
- Sounds complicated, what do we need?
- Database of tweets: text to tweet and timestamp when it should be tweeted.
- Frontend is a single-page application (SPA) that makes XHR ("AJAX") requests to the backend.
- Needs to be able to wake up and post.
- Persistent process backend.
- We will not cover all these parts.
- "You have a problem, so you make a UI to solve your problem. Now you have 2 problems." "More like 18 problems!"
- We will focus on logic interacting with Twitter.
- When should it post?
- How does it know if a tweet has been posted?
- What to do when Twitter returns an error?
- Overarching theme: how do you deal with side-effects in a functional way?
- Remember Ep 020: push side-effects and I/O to the edges.
- Easy to fetch "current" time, but that's a side effect!
- "Just because it's easy doesn't mean it's pure."
- If you make time a parameter, all of a sudden you can mess with it!
- "If only real time was a parameter we could manipulate."
- Lots of fun to be had in the upcoming episodes.
- "'Start with the data' is something we've come to again and again. If you can model the data, that's a very good place to start."
Related episodes:
Related projects:
Clojure in this episode:
nil
118 قسمت
همه قسمت ها
×به Player FM خوش آمدید!
Player FM در سراسر وب را برای یافتن پادکست های با کیفیت اسکن می کند تا همین الان لذت ببرید. این بهترین برنامه ی پادکست است که در اندروید، آیفون و وب کار می کند. ثبت نام کنید تا اشتراک های شما در بین دستگاه های مختلف همگام سازی شود.