Hi
user
Admin Login:
Username:
Password:
Name:
Encapsulation with descriptors
--client
psf
--show
pycon2013
--room GrandBallroomEF 2131 --force
Next: 11 Music Theory and Performance Analysis with Sebastian and Czerny
show more...
Marks
Author(s):
Luciano Ramalho
Location
Grand Ballroom EF
Date
mar Fri 15
Days Raw Files
Start
14:35
First Raw Start
14:34
Duration
00:30:00
Offset
0:00:44
End
15:05
Last Raw End
15:45
Chapters
00:00
Total cuts_time
26 min.
https://us.pycon.org/2013/schedule/presentation/145/
raw-playlist
raw-mp4-playlist
encoded-files-playlist
host
archive
public
tweet
mp4
svg
png
assets
release.pdf
Encapsulation_with_descriptors.json
logs
Admin:
episode
episode list
cut list
raw files day
marks day
marks day
image_files
State:
---------
borked
edit
encode
push to queue
post
richard
review 1
email
review 2
make public
tweet
to-miror
conf
done
Locked:
clear this to unlock
Locked by:
user/process that locked.
Start:
initially scheduled time from master, adjusted to match reality
Duration:
length in hh:mm:ss
Name:
Video Title (shows in video search results)
Emails:
email(s) of the presenter(s)
Released:
has someone authorised pubication
Unknown
Yes
No
Normalise:
Channelcopy:
m=mono, 01=copy left to right, 10=right to left, 00=ignore.
Thumbnail:
filename.png
Description:
markdown
Python has no private fields, but the property decorator lets you replace public attributes with getters and setters without breaking client code. And the descriptor mechanism, used in Django for model field declarations, enables wide reuse of getter/setter logic via composition instead of inheritance. This talk explains how properties and descriptors work by refactoring a practical example.
Comment:
production notes
<?xml version='1.0' encoding='UTF-8'?> <ns0:entry xmlns:ns0="http://www.w3.org/2005/Atom" xmlns:ns1="http://schemas.google.com/g/2005" xmlns:ns2="http://search.yahoo.com/mrss/" xmlns:ns3="http://gdata.youtube.com/schemas/2007" xmlns:ns4="http://purl.org/atom/app#"><ns0:category scheme="http://schemas.google.com/g/2005#kind" term="http://gdata.youtube.com/schemas/2007#video" /><ns0:category label="Education" scheme="http://gdata.youtube.com/schemas/2007/categories.cat" term="Education" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="psf" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="pycon2013" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="talk" /><ns0:category scheme="http://gdata.youtube.com/schemas/2007/keywords.cat" term="LucianoRamalho" /><ns0:id>http://gdata.youtube.com/feeds/api/videos/5GG4jBxj4Ys</ns0:id><ns0:author><ns0:name>NextDayVideo</ns0:name><ns0:uri>https://gdata.youtube.com/feeds/api/users/NextDayVideo</ns0:uri></ns0:author><ns0:content type="text">Luciano Ramalho Python has no private fields, but the property decorator lets you replace public attributes with getters and setters without breaking client code. And the descriptor mechanism, used in Django for model field declarations, enables wide</ns0:content><ns0:updated>2013-03-19T03:27:09.000Z</ns0:updated><ns0:published>2013-03-19T03:27:09.000Z</ns0:published><ns1:comments><ns1:feedLink countHint="0" href="https://gdata.youtube.com/feeds/api/videos/5GG4jBxj4Ys/comments?client=NextDayVideo" rel="http://gdata.youtube.com/schemas/2007#comments" /></ns1:comments><ns2:group><ns2:keywords>psf, pycon2013, talk, LucianoRamalho</ns2:keywords><ns2:description type="plain">Luciano Ramalho Python has no private fields, but the property decorator lets you replace public attributes with getters and setters without breaking client code. And the descriptor mechanism, used in Django for model field declarations, enables wide</ns2:description><ns2:title type="plain">Encapsulation with descriptors</ns2:title><ns3:duration seconds="0" /><ns2:content duration="0" expression="full" isDefault="true" medium="video" type="application/x-shockwave-flash" url="https://www.youtube.com/v/5GG4jBxj4Ys?version=3&f=user_uploads&c=NextDayVideo&d=Aarb2r5skm2_yNTuKEinXdAO88HsQjpE1a8d1GxQnGDm&app=youtube_gdata" ns3:format="5" /><ns2:thumbnail height="360" time="00:00:00" url="http://i.ytimg.com/vi/5GG4jBxj4Ys/0.jpg" width="480" /><ns2:thumbnail height="90" time="00:00:00" url="http://i.ytimg.com/vi/5GG4jBxj4Ys/1.jpg" width="120" /><ns2:thumbnail height="90" time="00:00:00" url="http://i.ytimg.com/vi/5GG4jBxj4Ys/2.jpg" width="120" /><ns2:thumbnail height="90" time="00:00:00" url="http://i.ytimg.com/vi/5GG4jBxj4Ys/3.jpg" width="120" /><ns2:category label="Education" scheme="http://gdata.youtube.com/schemas/2007/categories.cat">Education</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">psf</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">pycon2013</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">talk</ns2:category><ns2:category scheme="http://gdata.youtube.com/schemas/2007/developertags.cat">LucianoRamalho</ns2:category><ns2:player url="https://www.youtube.com/watch?v=5GG4jBxj4Ys&feature=youtube_gdata_player" /></ns2:group><ns0:title type="text">Encapsulation with descriptors</ns0:title><ns4:control><ns4:draft>yes</ns4:draft><ns3:state name="processing" /></ns4:control><ns0:link href="https://www.youtube.com/watch?v=5GG4jBxj4Ys&feature=youtube_gdata" rel="alternate" type="text/html" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/5GG4jBxj4Ys/responses?client=NextDayVideo" rel="http://gdata.youtube.com/schemas/2007#video.responses" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/5GG4jBxj4Ys/ratings?client=NextDayVideo" rel="http://gdata.youtube.com/schemas/2007#video.ratings" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/5GG4jBxj4Ys/complaints?client=NextDayVideo" rel="http://gdata.youtube.com/schemas/2007#video.complaints" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/videos/5GG4jBxj4Ys/related?client=NextDayVideo" rel="http://gdata.youtube.com/schemas/2007#video.related" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/users/nextdayvideo/uploads/5GG4jBxj4Ys?client=NextDayVideo" rel="self" type="application/atom+xml" /><ns0:link href="https://gdata.youtube.com/feeds/api/users/nextdayvideo/uploads/5GG4jBxj4Ys?client=NextDayVideo" rel="edit" type="application/atom+xml" /></ns0:entry>
2013-03-15/14:34:16.dv
Apply:
14:34:16 - 15:00:48 ( 00:26:32 )
S:
14:34:16 -
E:
15:00:48
D:
00:26:32
show more...
vlc ~/Videos/veyepar/psf/pycon2013/dv/GrandBallroomEF/2013-03-15/14:34:16.dv :start-time=00.0 --audio-desync=0
Raw File
Cut List
14:34:16
seconds: 0.0
Wall: 14:34:16
Duration
00:26:32
15:00:48
seconds: 0.0
Wall: 14:34:16
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2013-03-15/15:00:49.dv
Apply:
15:00:49 - 15:13:36 ( 00:12:47 )
S:
15:00:49 -
E:
15:13:36
D:
00:12:47
show more...
vlc ~/Videos/veyepar/psf/pycon2013/dv/GrandBallroomEF/2013-03-15/15:00:49.dv :start-time=00.0 --audio-desync=0
Raw File
Cut List
15:00:49
seconds: 0.0
Wall: 15:00:49
Duration
00:12:47
15:13:36
seconds: 0.0
Wall: 15:00:49
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
2013-03-15/15:13:36.dv
Apply:
15:13:36 - 15:45:18 ( 00:31:42 )
S:
15:13:36 -
E:
15:45:18
D:
00:31:42
show more...
vlc ~/Videos/veyepar/psf/pycon2013/dv/GrandBallroomEF/2013-03-15/15:13:36.dv :start-time=00.0 --audio-desync=0
Raw File
Cut List
15:13:36
seconds: 0.0
Wall: 15:13:36
Duration
00:31:42
15:45:18
seconds: 0.0
Wall: 15:13:36
Comments:
mp4
mp4.m3u
dv.m3u
Split:
Sequence:
:
delete
Rf filename:
root is .../show/dv/location/, example: 2013-03-13/13:13:30.dv
Sequence:
get this:
check and save to add this
2013-03-15/14:34:16.dv
2013-03-15/15:00:49.dv
2013-03-15/15:13:36.dv
Veyepar
Video Eyeball Processor and Review