Profile cover photo
Profile photo
Dvid Silva
382 followers -
Using code to write a love story.
Using code to write a love story.

382 followers
About
Communities and Collections
View all
Posts

Post has attachment

Post has attachment

Post has attachment
Add a comment...

Post has shared content
Alan Rickman is undoubtedly one of the greatest actors I will ever work with. He is also, one of the loyalest and most supportive people I've ever met in the film industry. He was so encouraging of me both on set and in the years post-Potter. I'm pretty sure he came and saw everything I ever did on stage both in London and New York. He didn't have to do that. I know other people who've been friends with him for much much longer than I have and they all say "if you call Alan, it doesn't matter where in the world he is or how busy he is with what he's doing, he'll get back to you within a day".

People create perceptions of actors based on the parts they played so it might surprise some people to learn that contrary to some of the sterner(or downright scary) characters he played, Alan was extremely kind, generous, self-deprecating and funny. And certain things obviously became even funnier when delivered in his unmistakable double-bass.

As an actor he was one of the first of the adults on Potter to treat me like a peer rather than a child. Working with him at such a formative age was incredibly important and I will carry the lessons he taught me for the rest of my life and career. Film sets and theatre stages are all far poorer for the loss of this great actor and man.
Add a comment...

Post has attachment
Add a comment...

Post has attachment
PhotoPhotoPhotoPhotoPhoto
Venice Beach Nov 2015
30 Photos - View album
Add a comment...

Post has shared content
▢ Not Rekt 
☑ Rekt 
Hey all. A quick follow up to my previous post about USB Type-C cables.

+Vincent Palatin and I have some fairly simple instructions on how to test to see if a USB Type-A to Type-C cable, or a USB Type-B receptacle to Type-C adapter is spec compliant.

The both of us are on the Pixel team, so these instructions are only for people who have Chromebook Pixel 2015 laptops.

Put it into dev mode. Plug in the suspect USB cable and plug the other end into a DCP charging wall wart (preferably one you don't have any sort of sentimental attachment to)

From a root shell run this : 

ectool --name=cros_pd usbpdpower 0


Here's a good cable : 
localhost ~ # ectool --name=cros_pd usbpdpower  
Port 0: SNK Charger DCP 4920mV / 2000mA, max 5000mV / 2000mA / 10000mW
Port 1: Disconnected


Here's a bad cable :
localhost ~ # ectool --name=cros_pd usbpdpower
Port 0: SNK Charger Type-C 5147mV / 3000mA, max 5000mV / 3000mA / 15000mW
Port 1: Disconnected

In the bad case, it shows up as Type-C with a 3000mA max, which means the resistor setting is wrong. You'll know when it's using a "Default USB Power" setting because after SNK Charger, you'll see something in this set of possibilities : 

[SDP, CDP, DCP, Proprietary]

If you see Type-C, but the other end of the cable is Type-A, it's a bad cable with 3A pullup.

There are other bad cases too where the CC lines are floating.

Pixel will NOT charge in that case, and you'll see something like this : 
localhost ~ # ectool --name=cros_pd usbpdpower
Port 0: SNK (not charging) Charger DCP 5000mV / 500mA, max 5000mV / 500mA / 2500mW
Port 1: Disconnected

Vincent adds:
To decide whether the CC lines are floating, you can also do this :
ectool --name=cros_pd usbpd 0
("usbpd 0" for the left port, "usbpd 1" for the right port)
it will answer something like this :
Port C1: enabled, connected State:SNK_DISCOVERY
Role:SNK UFP, Polarity: CC1

if your State is "SNK_DISCOVERY" you are good (if you get State:SNK_HARD_RESET_RECOVER you did it too early)
if you get "State:SNK_DISCONNECTED" even with the cable connected, it has no termination on the CC lines.

By the way, if you don't want to put your Pixel 2015 in developer mode to get all those commands,
you can do the following in normal mode :
- plug your cable
- wait for at least 60 seconds
- go to chrome://system
- in the "dmesg" section, the kernel log will show traces like these ones :
[  121.172637] PDLOG 2015/11/04 19:58:18.074 P1 SNK Charger Type-C 5000mV max 5000mV / 3000mA 


#USB   #TypeC   #ChromebookPixel  
Add a comment...

Post has attachment
PhotoPhotoPhotoPhotoPhoto
TechStars Summit in Colorado
133 Photos - View album
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded