Speaker: Theon Lin
當我們開發好網站之後,也順利上線了之後,隨著使用者的人數不停的上升,漸漸一台主機逐漸再也負擔不起經常性的使用者流量,本議程將會介紹各種不同層面的技巧與觀念,協助網站提高服務承載量,包含了頁面Cache的機制,善用非同步訊息佇列,調整單一伺服器的系統架構,到利用最為先進的雲端服務,建置服務叢集。
About the speaker
Theon Lin is co-organizer of Taipei.py. Major in web development technologies. He is employed by Gogolook now.
個人網頁連結 https://www.linkedin.com/profile/view?id=125104719
組織/公司 Gogolook co. ltd
頭銜 Web Director
https://tw.pycon.org/2015apac/zh/program/89
...
https://www.youtube.com/watch?v=Z8-3P1cGWdk
PyCon TW 2019 Recap
Date:2019/09/20~22
Venue:中央研究院 人文社會科學館(Academia Sinica)
(English Below)
從籌備期到大會結束,帶你一次看完 PyCon TW 2019!
看完對 PyCon TW 2020 很期待嗎?今年將移師到文化與美食之都台南喔!
立刻上官網了解更多:https://bit.ly/3eL1x8j
PyCon Taiwan 為一年一度由愛好者舉辦、討論並提倡使用 Python 程式語言的會議,聚焦在 Python 技術與其多樣的可能應用的交流。我們歡迎所有對 Python 有興趣的朋友一同加入 PyCon Taiwan 來分享所學、交換想法、並且認識更多同好。
Take a look of the best moments from day 0 to the end of the PyCon TW 2019.
Are you excited about the upcoming PyCon TW 2020?
We're going to hold the event in Tainan this year, which is a city full of history, culture and delicious food.
We welcome all of Python lovers join this annual event with PyCon Taiwan.
License: CC-BY-NC-SA-3.0
https://creativecommons.org/licenses/by-nc-sa/3.0/
...
https://www.youtube.com/watch?v=ucu8F31ctp4
Day 3, 15:10–16:10
Not everyone who learns Python is using it to become a back-end programmer. In this keynote, Tracy will cover her process on how she learned how to program and how she uses Python and programming in her current work, as well as why programming education can (and should) change considering all the ways we can use Python and programming in 2019.
Slides not uploaded by the speaker.
Speaker: Tracy Osborn
Tracy Osborn is a programmer, designer, author, and entrepreneur. In 2010, she taught herself Python to launch her first startup, which lead to writing Hello Web App, a book teaching introductory Django web app development. She’s also the Program Manager at TinySeed, an accelerator program for bootstrapped businesses.
...
https://www.youtube.com/watch?v=9e3TOuugcMQ
Day 1, 16:40–17:40
The world’s response to COVID-19 has resulted in the most rapid transformation of work styles and teaching methods. Many world-renowned companies like Google and Facebook had made announcements that WFH (Work From Home) will be extended until at least 2021.
In February 2020, National Cheng Kung University announced that courses with more than a hundred students enrolled should be moved into online courses. Many professors have to prepare online learning materials in a short time frame. Most of them made teaching videos and used moodle in the school as support for student learning.
My class, The Basics of Game-based Machine Learning, is an undergraduate elective course. I prepared to move it online for students because of the pandemic. I heard that online classes are not effective in educating students, so my graduate students and I, along with an online learning expert, think together on how to get through this semester of this class without too much effect on students’ learnings.
Besides pre-recorded teaching videos, we also use several online applications and social media, build collaborative FAQs for all questions, and establish an online competition platform that allows students to upload programming tasks for tests. The competition for all uploaded programming tasks will be significant evaluation factors and be broadcast live on the platform.
In my keynote section, I will give details on how the class is conducted, the use of the platform, and the future prospects of it. As a teacher, adapting trends and changes of students and the world in my way of teachings and thinking is a necessary step to maintain the competitive strength of Taiwan.
Slides not uploaded by the speaker.
Speaker: Wen Yu Su
Mr. Wen-Yu Su is a current Professor of Computer Science at National Cheng Kung University (NCKU), Taiwan. He holds a PhD and a Master’s degree in Electrical Engineering at New York University Tandon School of Engineering, and a Bachelor’s degree at NCKU. His prior experience includes being a postdoctoral researcher at Stanford University, an engineer in the Department of Information and Communication Technology at Industrial Technology Research Institute of Taiwan, and an Associate Professor at the Department of Computer Science and Information Engineering of Chung Hua University. Prior to 2011, Prof. Su focused on Digital Audio Signal Processing, Biomedical Signal Analysis, Image/Video Processor Design, Multi-Core Processor Design, Embedded Memory Management, and OpenESL. After 2012, he turned to focus on Audio Processing, Machine Learning, and Virtual Orchestra. Over the years, he has been working on improving students' practical ability.
Recognizing the increasing importance of information technology and computer progr
...
https://www.youtube.com/watch?v=wlKvSgOIjBA
Day 1, R0 16:05–16:50
Asyncio is one of the new killer features in Python 3. It enables concurrent IOs in single thread. Adopting asyncio in an existing large project is hard because:
1. many changes needs to be made and automation is the key.
2. identify required changes is not straight forward and static analysis with profiling tools is required
3. issues like nested loop and orphan future close loop bug make adoption risky; so bug fixes and optimizations are needed.
In this talk, we share our strategy to adopt asyncio and the tools we built: including common helper library for asyncio testing/debugging/profiling, static analysis and profiling tools for identify call stack, bug fixes and optimizations for asyncio module, design patterns for asyncio, etc. Those experiences are learn from large scale project—Instagram Django Service serves more than 500 million daily active users.
The speaker did not upload his slides.
...
https://www.youtube.com/watch?v=ACgMTqX5Ee4
Day 2, 09:25–10:25
Programming languages are places. The idea of abandoning the convenience and familiarity of your primary coding language might seem anything from tedious and inconvenient to scary and stressful. But, switching to an alternative other than your primary development language -- especially when such a challenge is not a requirement -- can be both fun and productive. You will likely grow your abilities as a developer and gain new perspective that is currently beyond your reach.
Let's push out of our comfort zone together to leave Python and voyage to a different language! We will go into details about why and how we can do that, along with some possible destinations. Upon our return, we will see -- and appreciate -- Python in a different light. Plus, we can use the justifications for our departure to entice and welcome folks from other language communities to visit us in the land of the snake.
Slides: https://pirsquared.org/talks/pycon_tw/
Speaker: Paul Ivanov
Paul Ivanov is a member of the Jupyter Steering Council and a senior software engineer at Bloomberg LP working on IPython- and Jupyter-related open source projects. Previously, Paul worked on backend and data engineering at Disqus; was a code monkey at the Brain Imaging Center at UC Berkeley, where he worked on IPython and taught at UC Berkeley’s Python bootcamps; worked in Bruno Olshausen’s lab at the Redwood Center for Theoretical Neuroscience; and was a PhD candidate in the Vision Science program at UC Berkeley. He holds a degree in computer science from UC Davis.
...
https://www.youtube.com/watch?v=iO633Om2QmU
PyCon APAC 2022|一般演講 Talks|國泰金控 Cathay Financial Holdings / 美光科技 Micron 冠名贊助
✏️ 共筆 Note:https://hackmd.io/@pycontw/B17AUTXks
?? Slido:https://app.sli.do/event/aH6RxX7bYGg8WR3GvM3Q3X
? 投影片 Slides:https://docs.google.com/presentation/d/1OEAJF6cP_m62QMiprRzWEg6jOclR-kHdLl8g9hk9iZw/edit?usp=sharing
? 語言 Language:中文演講/英文投影片 Chinese talk w. English slides
? 層級 Level:進階 Experienced
? 分類 Category:Python 核心 Python Core
? 摘要 Abstract ?
Despite their powerful features and flexibility, the low-level APIs for library and framework developers provided in Asyncio are underutilized. One reason might be the high entry barrier – prerequisites like understanding protocols knowledge and asynchronous design patterns. I am sharing my humble experience with Asyncio here. I show you how to implement a network protocol, specifically Websocket, with Protocol and Transport, two of the staple low-level APIs in the package. You will learn how to establish a consensual connection and communicate between the server and the client. While the main focus is on low-level APIs (e.g., we will use Transport to send messages to another endpoint) , we will be using some high-level APIs (e.g., StreamReader, Queue) for auxiliary purposes like message handling. It is hoped that the techniques and familiarity gained with asyncio serve as the basis for your customized network protocol and libraries, even for commercial purposes, in the future.
? 說明 Description ?
Asynchronous web services and frameworks have become ubiquitous in recent years due to their efficiency. In Python development, these very commonly translate to using packages like aiohttp, for sending async network requests, or Uvicorn for setting up web servers for other backend services like FastApi, just to name a few. Though these packages cover most common scenarios and are production ready, their one-size-fits-all approach may fail Python web developers with more flexible and specialized use in mind. As such, for more customizability and specialized feature development, we delve into lower-level APIs like Protocol, Transport provided in Asyncio, which serves as the basis on which the aforementioned packages were built. Doing so, for example, allows us to develop a self-defined inter-process communication (IPC) library or create network protocol.
In this sharing, I will implement application-layer protocol, specifically, WebSocket, as the motivating example, using the low-level API Transport and Protocol from the package asyncio to handle the connection and communication between the server and the client, which is the main focus of the proposed presentation. However, due to the constraint of time, I will still use high-level APIs to expedite the building of part of data reception from the client.
This presentation will familiarize you with
- Asyncio low-level API like Protocol and Transport: you will be able to build your async framework, Inter-process communication, Network Protocols etc.
- The patterns of async development
? 講者介紹 About Speaker - 姜韋辰 (daniel) ?
我是一名後端工程師,熟悉常用的 Python web 框架,喜歡挑戰各種業務場景的服務。專注於系統開發以及服務優化,因應業務需求,偶而也會下海寫寫前端,最近比較著迷 infra 相關建置及維護。
#pycontw #pyconapac2022 #pycontw #asyncio
Follow “PyCon Taiwan”
⭐️ Official Website: https://tw.pycon.org
⭐️ Facebook: https://www.facebook.com/pycontw
⭐️ Instagram: https://www.instagram.com/pycontw
⭐️ Twitter: https://twitter.com/PyConTW
⭐️ LinkedIn: https://www.linkedin.com/company/pycontw
⭐️ Blogger: https://pycontw.blogspot.com
...
https://www.youtube.com/watch?v=fssvxxq7mLk