Profile

Cover photo
Yan-Fa Li
Lives in Northern California
270 followers|266,929 views
AboutPostsReviews

Stream

 
Very sad, a piece of mountain view drinking history is going away.
LinkedIn Corp. is buying the site of Mountain View's iconic dive bar, the Sports Page, as it assembles more land for its proposed new headquarters. The business networking giant has reached an agreement to acquire the .87-acre parcel on which the establishment sits, according to public documents ...
1
Max Kaehn's profile photoYan-Fa Li's profile photoRod Bachelor's profile photo
5 comments
 
Yeah, St James Infirmary that "burned down". ;-) I also remember many trips to Phineas Fogg's in MV on our quest to go around the world in 80 beers. 
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Boo Atari. Bought it on PS vita in support. Bullies.


Veteran Game Designer Canceling Ports After Atari Legal Challenge
http://kotaku.com/veteran-game-design-canceling-ports-after-atari-legal-c-1692421413
If you were looking forward to playing Jeff Minter's Tempest-inspired TxK on a platform besides Vita, keep waiting. For now, Minter is relenting to Atari's demands.
1
Add a comment...

Yan-Fa Li

Shared publicly  - 
 

Motorola X (2014) Quick Review
The Nexus 5 was my last phone and aside from the various bugs, I've loved it dearly. It's been a great phone. The Nexus 6 was a complete turn off once it came out. I'm really not interested in a phablet.

I took advantage of Motorola's generous 140USD coupon last month and ordered an unlocked 64G model in Red. I've been using it since last week and here are my impressions.

  * Lovely screen - which can be dimmed to use very little power
  * Reasonable battery life - certainly better than my aging N5
  * Very quick - little or no noticeable lag
  * Excellent reception of both LTE and WiFi - having the antenna be around the edge of the device is obviously very useful
  * Well constructed. I put mine in a cruzerlite TPE case as is my habit, but the thing feels very solidly put together
  * Moto extensions are actually useful instead of just annoying
  * No gratutious UI changes. I'm looking at your Samsung! Oh the horrible sammy on screen keyboard, how I hate thee.
  * Turbo charge seems to work - though warning it will heat the phone up a lot
  * mono speaker is very loud - much louder than N5
  * Just at the limit of size. 5.2" is just within my comfort range of holding 1 handed. And I don't have particularly large hands.

Overall I'm very happy with this handset. I did have to do some surgery on my old SIM card to get it to fit in the new slot - nano vs micro, but everything powered up just fine.

The biggest hassle was moving all my credentials over - think Google Auth.  Fortunately this experience has gotten better. A lot of web sites I use now have porting UIs, so you can simply request a new token and it will let you re-register a new device without disabling 2FA, cough cough Amazon...

Would I recommend it? Yes if you want a stock Android device and are close to a charging station. I get a working day's (10-16 hours with moderate usage) worth of charge with no problem, but I'm usually near a power outlet.

I hear a Moto X (2015) is in the works though, so it might be worth waiting a bit longer and seeing if you can't get one with a bigger battery. For those of us who don't want to be tied to a carrier though, this is an excellent handset.
4
Chris Wadge's profile photoYan-Fa Li's profile photo
2 comments
 
That's surprising until you see it's served out of a CDN. I guess the CDN is optimized for speed...
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Refurbished M4 drives at low prices. The m4 is an older but SSD drive. If you want some reliable but cheap SSDs for simple uses then this is a good deal.
1
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Rasbpi 2 in it's new home. The flirc case is made of lightweight aluminum and also doubles as a heatsink. Very impressed with it's construction.
4
Yan-Fa Li's profile photo
 
I just installed Kodi on it, and man does it run really well. 1080p video effortlessly. CPU according to htop is under 12% on all 4 cores. This is a really good HTPC. The only thing I had to do was increase the video GPU memory in /boot/config.txt, it defaults to 64MB and that's not enough for 1080p video.
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Pi2 arrived. Definitely feels much faster. Exciting watching 4 raspberries appear at boot up.
3
Yan-Fa Li's profile photo
3 comments
 
Does not run nodejs well at all. Very sad watching npm run. It's 5 times slower than an i3 for this specific workload.
Add a comment...
Have him in circles
270 people
lebin cheng's profile photo
Adetuyi Emmanuel's profile photo
Som Som's profile photo
Brett Coburn's profile photo
Pepe Garcia's profile photo
Farhiya Cali's profile photo
Nicole Bachelor's profile photo
Usman Sabir's profile photo
Devan Cage's profile photo
 
Holy Crap, well this explains a lot about why pepper is such a load on most systems and chrome is using so very very much CPU.

http://www.reddit.com/r/chromeos/comments/30l45q/toshiba_chromebook_2_barely_hits_4_hours_of
https://github.com/erkserkserks/h264ify
My new Chromebook barely hits the 4 hour mark when watching YouTube on 100% brightness, is that normal?
1
Add a comment...
 
+U.S. Bank amazes me by not being to show electronic statements to my bill pay even though every other credit card processor I've ever had has been able to do so. It is 2015 right? I missed a bill because of this; mea culpa. As a protection against future issues I lowered the limit to it's lowest possible value. I guess I'll need to find a better credit card in the future.
1
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Wooo. ChromeOS has finally enabled TLS 1.2 and disabled SSLv3.
5
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Cloud storage is overrated.
1
Max Kaehn's profile photoYan-Fa Li's profile photo
2 comments
 
+Max Kaehn totally agree
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Time with Docker

I've been spending a lot of time with Docker lately. It's a pretty neat technology that solves a couple of hard problems. Firstly, it lets you isolate your application dependencies from your operating system. Every application has a set of programs and libraries it depends on. In a traditional Linux distribution, these are installed via a package manager.

Every package you install changes the system. This is normally a destructive change, unless you have a file system that supports snapshots, Btrfs, or a distribution that values immutability, like NixOS. Docker takes a slightly different approach.

If you have an application that runs on a particular distribution, say CentOS6, package just enough CentOS6 so that your application can run. These are essentially docker containers. It's not a new idea but it has been wrapped in a powerful and useful command line tool.

The second very neat problem Docker solves, is how to describe and build these containers. Docker has defined a DSL expressed in a format called a Dockerfile. The dockerfile is a recipe that describes how to set up your image.

By automating the process of generating images Docker solves one of the main problems of virtualization and operations. Keeping virtual machines up to date in a timely and efficient manner.

These two features alone would make it very useful, but it has one additional concept which gives it even more power. Overlays. Each command you run inside a dockerfile creates a new layer. This design makes docker images re-usable, composable and shareable.

This was driven home to me today when I needed to deploy a node js based application called hubot. The base image comes from NodeJS. You add your configuration and commands to a Dockerfile and then you deploy it to a docker container. Iteration is fast, unlike traditional OS virtualization because of the integrated automation, and this is key to what makes it so powerful.

It works equally well for Continuous Integration. Deploy a Jenkins image, officially blessed by upstream. Add some slaves for each of the OSes you want to target and you have a easily deploy-able and repeatable build system.

It's not without problems, but most of them seem solvable given time. This entire category is pretty interesting, and I'm looking forward to what CoreOS comes up with. Combining a distributed systemd with containers seems like a natural fit.
1
Add a comment...

Yan-Fa Li

Shared publicly  - 
 
Erm.... h/t Joel Webber.
 
Via +Lea Kissner, a novel encryption protocol from Stack Overflow:

function encrypt($string){
    return base64_encode(base64_encode(base64_encode($string)))

Finally, there's a 192-bit replacement for the venerable rot26 protocol. Sure, it won't run in O(0) like rot26 will, but for applications where you can sacrifice the speed, it's a perfectly viable alternative.

LGTM. Ship it.
9 comments on original post
1
Matt Brunt's profile photo
 
Ouch :(
Add a comment...
People
Have him in circles
270 people
lebin cheng's profile photo
Adetuyi Emmanuel's profile photo
Som Som's profile photo
Brett Coburn's profile photo
Pepe Garcia's profile photo
Farhiya Cali's profile photo
Nicole Bachelor's profile photo
Usman Sabir's profile photo
Devan Cage's profile photo
Work
Occupation
Front-End Developer
Skills
Swiss Army Knife
Basic Information
Gender
Male
Apps with Google+ Sign-in
Story
Tagline
Pragmatic Programmer
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Northern California
Previously
U.K. - Deutschland
Links
YouTube
Contributor to
Public - a month ago
reviewed a month ago
Very fast, in and out in half an hour, including a quick oil change, recommended because I'd already hit the maintenance indicator. 30 for the oil change, 40 for the smog. I would use him again.
Public - 2 years ago
reviewed 2 years ago
Food: Very GoodDecor: GoodService: Good
Public - 2 years ago
reviewed 2 years ago
Delicious Taiyaki
Appeal: ExcellentFacilities: ExcellentService: Excellent
Public - 2 years ago
reviewed 2 years ago
24 reviews
Map
Map
Map
Really great place. They are nice, friendly and obviously take a lot of pride in their work. Rosanna is an excellent stylist.
Public - 2 years ago
reviewed 2 years ago
Disappointing nabeyaki udon. All veggies, no egg, layered flavor or tempura. One note dish.
Food: Poor - FairDecor: Very GoodService: Good
Public - 2 years ago
reviewed 2 years ago
Delicious. I ordered the Falafel plate, Greek Salad and Hummus plate for 2 adults and a child. The food was fresh and very tasty. The Falafel are not a style I've every tried before, and are really tasty and different from other Mediterranean places. The hummus was creamy and really excellent. I will definitely eat here again.
Public - 2 years ago
reviewed 2 years ago