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
Speaker: 嘉駿 戴
VIM 是個功能強大的文字編輯器,不論在系統管理或是程式開發均有大量的使用者。在 VIM 內部有提供 Python Interface 可以直接執行 Python script,同時也有提供 vim module 讓 Python 可以操作 vim buffer。
此次演講將介紹 vim module 以及 vim module 的實際應用範例
About the speaker
- 熱愛 Python 及資訊技術的大學生。
- 常用 Python 寫小工具自娛。
- VIM 重度使用者,即使在 Windows 上也要使用 VIM。
Tagline
vim
...
https://www.youtube.com/watch?v=uX9Fb2yrqcQ
PyCon APAC 2022|一般演講 Talks|國泰金控 Cathay Financial Holdings / 美光科技 Micron 冠名贊助
✏️ 共筆 Note:https://hackmd.io/@pycontw/rJdGvpX1j
?? Slido:https://app.sli.do/event/kS1oHFhANeSMmXLNnHfbmM
? 語言 Language:英文 English
? 層級 Level:中階 Intermediate
? 分類 Category:Python 核心 Python Core
? 摘要 Abstract ?
What happens when you call a function? For that matter, what happens when you define a function? In this talk, we'll look at function objects, how they are built, and how they behave, with a particular emphasis on the different types of parameters we can define.
? 說明 Description ?
When you invoke a function, how does it know how many arguments to expect? How does it distinguish between local and global (and enclosing) variables? How does it know that you defined the function with args and/or *kwargs? And where does it store such things as docstrings, annotations, and defaults?
The short answer is that Python functions are objects – no different from integers, strings, and dicts. And like all other objects, functions have attributes. It turns out that those attributes are the source of functions’ power.
In this talk, we’ll peek into function attributes, gaining an understanding of (and appreciation for) the way in which functions are built. We’ll also see the relationship between attributes, functions, and Python bytecodes. And while we’ll be dissecting many functions, I can assure you that none of them will be harmed in our quest for deeper understanding.
Even if you've been using Python for years, there's a good chance that you've never thought about how Python keeps track of this information. And you might never have thought about how many types of parameters Python allows for, and why they all exist. Even if you do know, this talk will put all of that in context.
? 講者介紹 About Speaker - Reuven M. Lerner ?
Teaching Python and data science around the world since 1995. Author of the books "Python Workout" and "Pandas Workout". Publisher of the "Better developers" newsletter. I spend each day trying to help people improve their Python skills.
#pycontw #pyconapac2022 #python #functiondissectionlab
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=b8kYh1hJPR0
As startup game makers, many people might be able to build a workable mobile game service, but have no experience in building a stable, reliable, high performance commercial mobile game service.
Sometimes we feel that our code seems to be logical correct and should work, but in reality it failed because we didn't avoid race condition very well, or we didn't apply caching mechanism appropriately.
In this talk, we will introduce how we built a game server, which is fully implemented in Python and Flask.
We are going to share some experiences with backend or online mobile game developers by showing the essence of Python code and Flask usage from game server.
Hope these guides will lead you to build a stable, reliable service in Python, and don't repeat the same mistakes we did before.
Slide: https://hackmd.io/p/SkuoAv2lZ#/
PyCon Taiwan 2017 official: https://tw.pycon.org/2017/
PyCon Taiwan 2017 Facebook Fan Page: https://www.facebook.com/pycontw/
...
https://www.youtube.com/watch?v=EdoGINR5By8
Day 3, R0 14:35–15:20
PDF 的存在是為了跨平台文件呈現以及列印的方便,利用一個統一的 PDF 檔案規範,藉此使文件不論在哪裡看起來都一模一樣。由於 PDF 的這般特性以及它的格式設計,一般來說我們不會寫程式從 PDF 中抓取資料,但有時候不得已必須從中抓取一些資訊,這時就必須使用一些工具來剖析 PDF。這個演講中將會介紹 poppler 以及 PDFMiner 等工具,用千百種方法來面對 PDF。
註:本演講和圖像辨識無關,而是注重於直接被儲存在 PDF 裡的內容,如文字、圖片、向量圖形等等
The speaker did not upload his slides.
...
https://www.youtube.com/watch?v=gIpkDIYNkpg
PyCon APAC 2022|一般演講 Talks|國泰金控 Cathay Financial Holdings / 美光科技 Micron 冠名贊助
✏️ 共筆 Note:https://hackmd.io/@pycontw/Hyvj8pmJs
?? Slido:https://app.sli.do/event/8YJfRpFFZpeVsK6NVgX24o
? 投影片 Slides:https://speakerdeck.com/arvslat/pycon-apac-2022-hacking-and-securing-machine-learning-environments-and-systems
? 語言 Language:英文 English
? 層級 Level:進階 Experienced
? 分類 Category:資訊安全 Secruity
? 摘要 Abstract ?
It is not an easy task to design and build machine learning systems. ML practitioners deploy ML models by converting some of their Jupyter Notebook Python code into production-ready application code. Once these ML systems have been set up, they need to be secured properly to manage vulnerabilities and exploits. There are different ways to attack ML systems and most data science teams are not equipped with the skills required to secure these systems. We will discuss in detail several strategies and solutions on how to secure these systems. In this session, we will review several attacks customized to take advantage of vulnerabilities present in Python libraries such as Joblib, urllib, and PyYAML. In addition to these, we'll check possible attacks on ML inference endpoints built using frameworks such as Flask, Pyramid, or Django. Finally, we will talk about several examples on how ML environments using ML frameworks (such as TensorFlow and PyTorch) can be attacked and compromised.
? 說明 Description ?
Designing and building machine learning systems require a lot of skill, time, and experience. Data scientists, developers, and ML engineers work together in building ML systems and pipelines that automate different stages of the machine learning process. Once the ML systems have been set up, these systems need to be secured properly to prevent these systems from being hacked and compromised.
ML systems are generally built using Python and some attacks have been customized to take advantage of vulnerabilities present in certain Python libraries such as Joblib, urllib, and PyYAML. Other attacks may take advantage of vulnerabilities present in the custom code of ML engineers as well. In addition to these, we'll take a look at certain attack vectors available for certain cloud SDKs (e.g., SageMaker Python SDK) available in Python. There are different ways to attack machine learning systems and most data science teams are not equipped with the skills required to secure the systems they built. In this talk, we will discuss in detail the cybersecurity attack chain and how this affects a company's strategy when setting up different layers of security. We will discuss the different ways ML systems can be attacked and compromised and along the way, we will share the relevant strategies to mitigate these attacks. This includes attacks performed in deployed custom APIs (ML inference endpoints) built using known Python frameworks (e.g., Flask, Pyramid, Django) along with serverless applications and architectures written in Python (e.g., Chalice).
Finally, we will show how to review and assess new discovered vulnerabilities in Python libraries and packages. We will share some tips and techniques on how to check if any of your ML systems and environments are vulnerable to certain types of attacks. We'll do these by sharing some examples using ML frameworks such as PyTorch and TensorFlow.
? 講者介紹 About Speaker - Joshua Arvin Lat ?
Joshua Arvin Lat is the Chief Technology Officer (CTO) of NuWorks Interactive Labs, Inc. He previously served as the CTO of 3 Australian-owned companies and also served as the Director for Software Development and Engineering for multiple e-commerce startups in the past which allowed him to be more effective as a leader. Years ago, he and his team won 1st place in a global cybersecurity competition with their published research paper. He is also an AWS Machine Learning Hero and he has been sharing his knowledge in several international conferences to discuss practical strategies on machine learning, engineering, security, and management. He is the author of the book "Machine Learning with Amazon SageMaker Cookbook"
#pycontw #pyconapac2022 #python #tensorflow #pytorch #machinelearning #datasecurity
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=WUKYsEJeSyw
Speaker: Melvin Foo, Hannie Ching, Tan Le Xuan
With the advent of low cost 3D printers, there is an increasing demand for 3D technology in many diverse fields. However, 3D printing requires a 3D model as input, usually modeled in a computer. But why should we tediously create a model from scratch, when we can simply scan the objects and modify them? In this project, we present RPyScan, an effective and low cost DIY 3D scanner which makes use of photogrammetry to infer depth information from photos. With enough points, this will create a 3D model of the scanned object. This is in contrast to most 3D scanners on the market, which makes use of RGBD (Depth) and lasers.
About the speaker
About Melvin, Le Xuan and Hannie
We are students from Dunman High School, Singapore. We have learnt Python for the past few months to one plus year since we studied Computing as an A-level subject. We learnt about the theoretical and algorithmic aspects of computer science (e.g. data structures and searching) and applied this knowledge to practical (Google App Engine) Python projects.
Melvin is really enthusiastic and passionate about everything related to technology. He loves software and hardware equally. He is currently the chairperson of his school's Infocomm Club and has attained many national and international accolades such as Singapore Management University's InnovateIT and Information Technology Standards Committee's CodeXtremeApps hackathon school category, where he dabbled in home automation and created Internet-connected chairs and cookers prototypes. He also represented Singapore in the APICTA (Asia Pacific ICT Alliance) Awards and was pivotal in encouraging his school mates to contribute towards open source projects where Dunman High was recognized as the top participating school in Google Code-in 2014. He was also the youngest high school presenter at PyCon SG 2014. When he is not studying, you can find him in his home 'lab' working on his IoT projects. In his free time, he plays video games and fantasizes about owning an Occulus Rift, and also coaches badminton to young kids. You can learn more about him on his website www.melvinfoo.com.
Le Xuan is a budding Computing student who is ever excited to learn more about technology. Though he is relatively new in this area, his huge fascination with gadgets and devices motivates him to consistently find out more about how they work. He frequently creates various kinds of programs as part of this hobby, and can sometimes be found tinkering with pieces of machinery, thinking about how they might be improved. As part of his school curriculum, he has created a web application in celebration of Singapore’s 50th birthday (SG50) using Google App Engine and Python, took part in Google Code-in 2014 and the 2015
...
https://www.youtube.com/watch?v=bJ8OIIP4x4k
PyCon Taiwan 2016|一般演講 Talks
? 摘要 Abstract ?
資料庫要維持資料的一致性和持久性,資料層的高可用和擴展性一向是應用系統架構設計的一個重要課題。MySQL 為使用者們提供自最容易實施的複製技術到能達,到5個9可用度的MySQL Cluster等各種高可用方案。同時您的Python應用使用MySQL的Python驅動程式-Connector/Python時也能配合各種資料庫高可用架構,只要在連結資料庫的參數上做一些簡單的設定,輕易的就能在不更改程式的狀況下使能的Python應用使用這些高可用解決方案,而成為真正的高可應用系統。
? 關於講者 About Speaker - 杜修文 Ivan Tu ?
Mr. Tu is an IT veteran with 30 years experience, since 2010 he work at Oracle MySQL Japan&APAC Sales Consultant team, he helps Greater China MySQL users implement MySQL, and promoting MySQL techniques , he also organize MySQL Community in Taiwan, please refer to https://www.facebook.com/groups/taiwanmysqlusergroup/ for MySQL Community details.
#python #pycontw #pycontw2016
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=68T3n2Yrv7w