Profile

Cover photo
Pierre-Yves Ricau
Works at Square
Attended INSA Rouen - ASI
Lives in Paris
752 followers|216,490 views
AboutPostsPhotosYouTubeReviews

Stream

Pierre-Yves Ricau

Shared publicly  - 
 
 
LeakCanary is an awesome tool.... but also a very depressing one...

Time to plug those memory leaks!!!
leakcanary - A memory leak detection library for Android and Java.
View original post
2
2
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
Ray Ryan originally shared to Geeks Out:
 
Our OOM rate has plummeted. Here's why. h/t +Pierre-Yves Ricau 

https://corner.squareup.com/2015/05/leak-canary.html
Nobody likes OutOfMemoryError crashes. In Square Register, we draw the customer's signature on a bitmap cache. This bitmap is the size of the device's screen, and we had a significant number of out of memory (OOM) crashes when creating it. We tried a few approaches, none of which solved the ...
View original post
6
2
Mathieu De Brito's profile photo
 
Just awesome, thx @Piwaï !
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
Droid Horizon did a review of the Jagger Watch Face. Cool!

http://droidhorizon.com/jagger-review/
5
Modo's profile photoSte Boyd's profile photoMathieu De Brito's profile photo
3 comments
 
GG :)
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
Once upon a time, Google employed a team of engineers who came up with a really excellent Java API for managing the back stack and views composed of multiple panes. The best of those now work for Square, where they continue improving Google's Java APIs for managing the back stack and views composed of multiple panes, albeit on a different platform.

Huge thanks to +Ray Ryan, +Pierre-Yves Ricau & co. for sharing your work and ideas with the #androiddev community.

Just a note of explanation for those who need more context. I was privileged to work with Ray on the GWT team and gave a talk at I/O in 2012  (High Performance GWT) in which I briefly showed his design for using multiple ActivityManagers in a multi-paned GWT app, which is an elegant way to handle multi-pane layouts and browser history. That architecture had a lot in common with the architecture described in this article, albeit for the browser vs. phone. This article isn't so much about Fragments, but about a really elegant way to manage multiple views.
2 comments on original post
3
1
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
A fantastic piece of work by our +Pierre-Yves Ricau!  And I think this is a very reasonable solution.  I remember wondering about living with a single activity early in Square's app development.
View original post
1
1
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
Super feedback par notre +Pierre-Yves Ricau national sur la remontée d'information utilisateur chez Square.

Quelques idées a récupérer pour pas mal de monde je pense.
 ·  Translate
View original post
4
1
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
This is Commit Strip issue is what finding memory leaks has been like without and then with Leak Canary: https://corner.squareup.com/2015/05/leak-canary.html

This library is flipping fantastic!  Our QA team reported an OOM error last week, so I dumped the heap and opened it in MAT to try to figure it out.  And I failed.  So instead, I tried to find ways to reduce memory usage.  And I'm glad I did. I found lots of ways to improve performance. 

But they were still able to reproduce the OOM error. It just took a little longer.  So I set up Leak Canary (pushed me over the dex limit, so I had to enable multidex too...), and ran the app.  I found 4 cases where we were leaking the Activity.  Fixed all of them in about 6 hours, and the app runs smooth as butter now.

Good job on that, +Pierre-Yves Ricau, and team!


http://www.commitstrip.com/en/2015/05/04/when-there-was-a-library-for-it/
3 comments on original post
4
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
:)
 
This is pretty interesting tech talk from Airbnb by +Pierre-Yves Ricau!

The idea of activity leak tracking is particularly brilliant!
1 comment on original post
4
3
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
What time is it? It's Jagger o'clock!

I just released a new fun Watch Face https://play.google.com/store/apps/details?id=com.jaggerface

Time is #Color
What time is it? It's Jagger o'clock! Time is #Color Jagger interprets the ...
6
1
Frank Harper's profile photoPierre-Yves Ricau's profile photoMarc Poppleton's profile photoOscar Caballero Pozas's profile photo
5 comments
 
I love this watchface
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
Excellent article from +Pierre-Yves Ricau

Relative to this talk (in french): http://goo.gl/VMCyYn
The article give less detail about Dagger & Mortar than into the talk, which is perfect because I'm not a big fan of Annotation for views.
#android   #androiddev  
Recently I gave a tech talk (fr) at Droidcon Paris, where I explained the problems Square had with Android fragments and how others could avoid using any fragments. In 2011, we decided to use fragments for the following reasons: At this time, we did not yet support tablets — but knew we wanted ...
View original post
3
2
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
interview vidéo Pierre-Yves Ricau (Square) @ Droidcon Paris #droidconfr http://ow.ly/BO7zf @droidconfr
 ·  Translate
View original post
3
Add a comment...

Pierre-Yves Ricau

Shared publicly  - 
 
 
Whenever you're working on the (SQLite) persistence layer of your #Android app, especially when debugging a problem, it can be invaluable to see the executed SQL statements in plain text in logcat.

So for verbose logging simply set the appropriate properties with "adb shell" like this:

adb shell setprop log.tag.SQLiteLog V
adb shell setprop log.tag.SQLiteStatements V
adb shell stop
adb shell start

That's it. Whenever any of the installed apps now accesses the database you should see the executed statement in the log output.

These simple lines saved me some gray hair today :)
12 comments on original post
4
Add a comment...
Story
Tagline
I write code.
Introduction
If you wanna know more about myself, feel free to contact me, I will be glad to answer your questions ;-) .
Bragging rights
Can Slalom ski on one feet (but not with much grace)
Education
  • INSA Rouen - ASI
  • KTH - ICT
Basic Information
Gender
Male
Other names
Piwaï
Work
Occupation
Android Software Engineer
Employment
  • Square
    Android Software Engineer, 2013 - present
  • Siine
    Lead Software Developer, 2011 - 2013
  • Excilys - eBusiness Information
    IT Engineer, 2009 - 2011
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Paris
Previously
Paris - Stockholm - Rouen
Links
Cheap, not a lot of choice. Gave me boots with old dirty heaters stuck inside. I bought expansive gloves that started breaking after two days, and they didn't take them back 4 days after buying.
Public - a year ago
reviewed a year ago
Great food & great service! Salmon Ravioli with Champagne sauce was really good. Olive oil based bread, yummy and ad lib.
Public - 2 years ago
reviewed 2 years ago
2 reviews
Map
Map
Map