Profile

Cover photo
Daniel Lew
2,066 followers|747,218 views
AboutPostsPhotosYouTube

Stream

Daniel Lew

Shared publicly  - 
 
New post on deferring Observable code until subscription inRxJava.
I've grown fond of RxJava's defer() as a tool for ensuring Observable code runs when subscribed (rather than when created). I've written about defer() before but I'd like to go into more detail here. Suppose you've got this data class:...
34
17
Oleg Semen's profile photoAndrés Santibáñez's profile photoStephen Anthony's profile photoCristian Garcia's profile photo
Add a comment...

Daniel Lew

Shared publicly  - 
 
My career has come full circle: the first company I ever applied to work at is now sending me recruiter spam.
29
Russell Collins's profile photoDaniel Lew's profile photoJon F Hancock's profile photoEder Bastos's profile photo
5 comments
 
I recently got recruiter spam trying to recruit me for the position I vacated 3 months ago.

The message started off something along the lines of "after reviewing your resume"... it took everything I had not to reply, "you might want to review it again."
Add a comment...

Daniel Lew

Shared publicly  - 
 
False alarm, I'm a big idiot. joda-time-android 2.8.0 is fine. I'm just a bad consumer of my own lib. <_<
10
Mike Wolfson's profile photoDerek Brameyer's profile photoDaniel Lew's profile photo
3 comments
 
+Derek Brameyer Finally figured out a way to get rid of WillowTree once and for all! Muahahaha. Twiddles moustache
Add a comment...

Daniel Lew

Shared publicly  - 
 
Google IO (non-scientific) survey results: 73 applied. 32 got in. 3 of those were from the lottery.
8
Karl Heimann's profile photoAli Muzaffar's profile photo
2 comments
 
Yes, I've been not randomly selected 3 years now, this year I was so upset that I actually considered a career change! 
Add a comment...

Daniel Lew

Shared publicly  - 
 
I'm curious as to the ways people get into Google IO. Help me out by filling out this survey: http://goo.gl/forms/19TuzePDRv
10
1
Chet Haase's profile photoKarl Heimann's profile photoAli Muzaffar's profile photoDave Smith's profile photo
5 comments
 
I wish I could fill it out, however, 3 years in a row I'm not been "randomly" selected.
Add a comment...

Daniel Lew

Shared publicly  - 
 
My wife surprised me with paintball today as a 30th birthday gift. It was awesome, plus as an added bonus now I have 44 welts on my body.
17
Dor Kleiman (configurator)'s profile photo
 
Not as painful as what she has planned for your 31st.
Add a comment...
Have him in circles
2,066 people
Radu Prescura's profile photo
Miguel Aragues's profile photo
raul gallart's profile photo
NFC Forum's profile photo
窦明明's profile photo
Gaurav Mehta's profile photo
Romin Irani's profile photo
Ronald Ammann (ramdroid)'s profile photo
Bartosz Kita's profile photo

Daniel Lew

Shared publicly  - 
 
Android Gradle plugin PSA: variant.javaCompile is deprecated. Use variant.javaCompiler instead.

(For more, see https://gist.github.com/dlew/9fd280bbc057af800213)
9
Dave Smith's profile photo
 
Groan
Add a comment...

Daniel Lew

Shared publicly  - 
 
Here's a post about a common problem: loading data from multiple sources with RxJava.
Suppose I have some Data that I query from the network. I could simply hit the network each time I need the data, but caching the data on disk and in memory would be much more efficient. More specifically, I...
35
24
J. Cesar L. Morales's profile photoDaniele Segato's profile photoStephen Anthony's profile photoAnton Golovin's profile photo
6 comments
 
+Daniele Segato You're right that Rx itself doesn't provide a solution like ContentProviders do. But that's not really the point of it, either. It's a low-level framework you build on top of.

I think the library that comes closest to reproducing what you want is SqlBrite: https://github.com/square/sqlbrite
Add a comment...

Daniel Lew

Shared publicly  - 
 
Look, +Google Photos, I know that Minneapolis can get rather cold, but come on. 
20
Tom Motzel's profile photo
 
That's awesome.
Add a comment...

Daniel Lew

Shared publicly  - 
 
Shaky cam action scenes are completely indecipherable. The actors could be sitting and having a nice cup of tea. No one would ever know.
6
Add a comment...

Daniel Lew

Shared publicly  - 
 
Game of Thrones is a fantasy show because it's freezing cold and no one is wearing a hat.
9
Add a comment...

Daniel Lew

Shared publicly  - 
 
I started going to the library again 6 months ago. I ran the numbers: I've saved $1,300 so far.

Comics are expensive! Libraries are free.
11
J.J. Valenzuela's profile photoAli Muzaffar's profile photoDaniel Lew's profile photo
4 comments
 
+Ali Muzaffar I honestly don't know what's mainstream and what's not these days.
Add a comment...
People
Have him in circles
2,066 people
Radu Prescura's profile photo
Miguel Aragues's profile photo
raul gallart's profile photo
NFC Forum's profile photo
窦明明's profile photo
Gaurav Mehta's profile photo
Romin Irani's profile photo
Ronald Ammann (ramdroid)'s profile photo
Bartosz Kita's profile photo
Links
YouTube
Links
Basic Information
Gender
Male
Apps with Google+ Sign-in
  • Monument Valley
  • Hoplite
  • Easter Egg Hunt
  • Super QuickHook
  • You Must Build A Boat