Profile

Cover photo
Tianyu Zhu
Works at Tamr
Attends University of Waterloo
Lives in Boston, MA
204 followers|122,162 views
AboutPostsCollectionsPhotosYouTube+1'sReviews

Stream

Tianyu Zhu

Libraries & Frameworks  - 
 
An HTTP networking library implemented in modern C++. Check it out as an alternative to Proxygen.
The project aims to build upon the latest C++ standard (currently C++11) to provide easy to use libraries for network programming. We use the latest compiler versions and features with an eye on pushing the boundaries on leveraging what's available in C++. Currently the library contains an HTTP ...
13
Christof Donat's profile photoTianyu Zhu's profile photoChristopher Hanks (cjhanks)'s profile photo
5 comments
 
+Tianyu Zhu my apologies, I thought I knew what this library was without looking at it. I have confused it with another.
Add a comment...

Tianyu Zhu

Shared publicly  - 
1
Bonface Ndayara's profile photo
 
Hw is you?
Add a comment...

Tianyu Zhu

Shared publicly  - 
1
Add a comment...

Tianyu Zhu

Support  - 
 
I've been looking through the Arch Beginner's Guide and I have a few questions. I have both an intel and an nvidia graphics card on my laptop.

1. Which driver should I install? The intel driver or the nvidia driver?
2. Do I need to install mesa before I install the driver?
3. Is it possible to "dynamically switch" between the two graphics cards?
2
Sam Stuewe's profile photoClaire Farron's profile photoJuan C.'s profile photo
3 comments
Juan C.
 
1. Install "Bumblebee";

2. If it's required pacman will handle that and install;

3. Not like in Windows, see Claire's link, and you'll understand.
Add a comment...

Tianyu Zhu

Support  - 
 
If I want to use KDE on archlinux, is it possible to not install certain things like Akonadi and Kontact?
1
Josh Sabboth's profile photoJerome Leclanche (Adys)'s profile photoTianyu Zhu's profile photoCole Mickens's profile photo
7 comments
 
Seems like LXDE+Razor could fill the role KLyDE is trying to fill.
Add a comment...

Tianyu Zhu

Shared publicly  - 
 
I think what you want is a mathematician. Mathematicians are constantly searching for the simplest rules that govern the most complex systems. They then use their understanding to solve non-trivial problems elegantly.

And mathematicians used to be called philosophers. :)
“This, what is it in itself, and by itself, according to its proper constitution? What is the substance of it? What is the matter, or proper use? What is the form, or efficient cause? What is it for in this world, and how lon...
1
Matt Osbun's profile photo
 
Nice, +Tianyu Zhu. Especially since proofs are such an integral part of mathematics.
Add a comment...
In his circles
195 people
Have him in circles
204 people
Dan Byrne's profile photo
Alex Pagan's profile photo
Jimmy Ibrahim's profile photo
D. Fa's profile photo
Donna Thomas's profile photo
Trevor Linder's profile photo
Gregory Lui's profile photo
Austin Becker's profile photo
Uri Lukach's profile photo

Communities

21 communities

Tianyu Zhu

Shared publicly  - 
 
 
If there's no predeterminism in quantum mechanics, can it output numbers that have no pattern?

How can you know whether a sequence of numbers is random? Suppose, for example, that you buy an alleged random-number generator for use in creating cryptographic keys, and suppose the generator spits out something like:

84, 67, 33, 68, 81, 29, 83, 90, 26, . . .

The numbers look pretty random, but can you be confident that there’s no hidden pattern—perhaps because of a backdoor secretly inserted by the manufacturer or some other privacy interloper?

Certifying randomness is both a philosophical problem and an urgently practical one. Electrical engineer and computer scientist Scott Aaronson of the Massachusetts Institute of Technology discusses this in his two-part series of verifying randomness. Read more: bit.ly/1J55X6u

#QuantumMechanics #Randomness #ComputerScience #Mathematics #Physics #Philosophical #Numbers #Science

Further readings:
• Part 1 of this series in American Scientist magazine: The Quest for Randomness: bit.ly/Prx8z5
• Shtetl-Optimized, Scott Aaronson's blog: http://scottaaronson.com/blog/
View original post
1
Add a comment...

Tianyu Zhu

Knowledge Sharing  - 
8
1
Add a comment...

Tianyu Zhu

Compilers & Tools  - 
 
What kind of vim plugins do you use for programming with C++?
4
1
Manuel Bellersen's profile photoJose Luis Ojosnegros's profile photoPhilip Allison's profile photoTomasz Wiszkowski's profile photo
4 comments
 
go for YouCompleteMe. It will blow your mind: that's the C++ completion mechanism that bases on actual C++ compiler libraries. Can deduce auto types, work with template instances, and do virtually anything else you may need. I'm not sure how many other IDEs have addons THAT powerful.
Add a comment...

Tianyu Zhu

Support  - 
 
If my CPU supports 64-bits, is there any downside to using the 64-bit arch packages?
2
Sam Stuewe's profile photoOtto von Metzger's profile photoJosh Sabboth's profile photoStephan Seemöwe's profile photo
15 comments
 
You really should use the 64bit system or you may run into the Y2K38. Which may port you back in time.  Once there you will have to wait for another 70 years to be able to boot without faking system time. Only positive side-effect is that you will have extra time to use  your time-limited-shareware.
Add a comment...

Tianyu Zhu

Shared publicly  - 
 
You must become like the tiger and the ant, young grasshopper.

:P
1
Add a comment...

Tianyu Zhu

General  - 
 
Here's a question in the style of GOTW. Hopefully, it'll generate some nice discussions.

Suppose we have some class Widget. C++ gives us several options to  access instances of a Widget. Of all the options below, what are the pros and cons of each? When should you use one over the others?

1. Widget value;
2. Widget *raw;
3. Widget &ref;
4. Widget &&refref;
5. std::unique_ptr<Widget> unique;
6. std::shared_ptr<Widget> shared;
7. std::optional<Widget> opt; // Available in C++14
1
Tianyu Zhu's profile photoFlorian Philipp's profile photo
3 comments
 
Let's tackle this one context at a time. Let's start with return values

Widget: when copy is cheap (e.g. std::string, primitives)

• Widget&: when read-write access to private object attributes is to be granted, e.g. operator[]

• const Widget&: when read access to private object attributes is to be granted (e.g. getter of complex objects) and the coding style allows it (e.g. Qt does not use it as changes to the internal class structure might break ABI)

• Widget&&: only in functions ref-qualified as rvalue references when returning object attributes

• unique_pointer<Widget>: for new-allocated objects, passes ownership to caller

• shared_pointer<Widget>: like unique_pointer but shared ownership. Might be preferred over unique_pointer for ABI compatibility when sharing might be an option in the future but is not now.

• shared_pointer<const Widget>: similar to const Widget& but avoids dangling pointers and makes maintaining ABI compatibility easier

• Widget*: obsolete
Add a comment...
Tianyu's Collections
People
In his circles
195 people
Have him in circles
204 people
Dan Byrne's profile photo
Alex Pagan's profile photo
Jimmy Ibrahim's profile photo
D. Fa's profile photo
Donna Thomas's profile photo
Trevor Linder's profile photo
Gregory Lui's profile photo
Austin Becker's profile photo
Uri Lukach's profile photo
Communities
21 communities
Education
  • University of Waterloo
    Combinatorics & Optimization/Computer Science, 2008 - present
  • Nepean High School
    2004 - 2008
  • Notre Dame High School
    2002 - 2004
  • St. Elizabeth's Public School
    1998 - 2002
  • W.E. Gowling Public School
    1996 - 1998
Basic Information
Gender
Male
Other names
Sky
Apps with Google+ Sign-in
  • Transmission
  • Shattered Pixel Dungeon
  • Board Defenders
  • Event Horizon
  • Godus
  • The Room Three
  • Daddy Long Legs
Work
Occupation
Software Developer
Employment
  • Tamr
    Software Developer, 2013 - present
  • Endeca Technologies Inc.
    Software Developer, 2011 - 2011
  • Unitron Ltd
    Automated and Manual Tester, 2009 - 2010
  • Sybase
    Internal Tools Developer, 2010 - 2010
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Boston, MA
Previously
Dorchester, MA - Kitchener, Ontario, Canada - Ottawa, Ontario, Canada - Beijing, China - Missouri, US
Links
YouTube
Contributor to
Links
Tianyu Zhu's +1's are the things they like, agree with, or want to recommend.
cpp-netlib: The C++ Network Library
cpp-netlib.org

The project aims to build upon the latest C++ standard (currently C++11) to provide easy to use libraries for network programming. We use th

2048 Infinity
market.android.com

Simple, yet addictive puzzle game based on the famous 2048, 1024, Threes! and other similar games, with unique gameplay, graphics and featur

Maps
market.android.com

Explore new places, discover local favorites, and navigate your world with Google Maps. Available on Android phones and tablets with a simpl

910 - 10 Saratoga St # 10 Boston, MA 02128 Three levels of living
www.realtor.com

Home for Sale | $309,900 | 3 Bed , 2 Full Bath | 1,373 Sq Ft

GotW #6b Solution: Const-Correctness, Part 2
herbsutter.com

const and mutable are powerful tools for writing safer code. Use them consistently. Problem Guru Question In the following code, add or remo

Google+
market.android.com

Real-life sharing rethought for the web, wherever you are. Google+ for mobile makes sharing the right things with the right people a lot sim

The Lance | Arcade Games | Play Free Games Online at Armor Games
armorgames.com

Providing the internet with the very best in casual gaming.

Incursion | Strategy Games | Play Free Games Online at Armor Games
armorgames.com

Providing the internet with the very best in casual gaming.

Bible
market.android.com

#1 Android Bible app. The Bible from YouVersion.com - 100% FREE. Get the #1 rated and ranked Bible App for FREE. We want to make it easy for

Gmail - Chrome Web Store
chrome.google.com

Fast, searchable email with less spam.

xkcd: The General Problem
xkcd.com

Permanent link to this comic: http://xkcd.com/974/. Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/the_general_problem.pn

Ugly Meter Pro
market.android.com

Do you know how ugly you are ? Is anyone had told you how ugly you are ? And are you eager to know that , if yes , this app can tell you the

Minimalistic Text
market.android.com

Minimalistic Text is a widget app that displays information in a minimalistic way. It can be configured to display time, date, battery and w

Protocol Buffers - Google Code
code.google.com

What Are Protocol Buffers? Protocol buffers are Google&#39;s language-neutral, platform-neutral, extensible mechanism for serializing struct

Kubuntu Updates : “Package Archives for Kubuntu” team
launchpad.net

Adding this PPA to your system. You can update your system with unsupported packages from this untrusted PPA by adding ppa:kubuntu-ppa/ppa t

Unity Linux
plus.google.com

A Small (~120MB) Brick-&amp;-Mortar Distribution based on Mandriva Linux.

xkcd: Empirical
xkcd.com

Permanent link to this comic: http://xkcd.com/943/. Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/empirical.png. [[Two p

xkcd: Delta-P
xkcd.com

Permanent link to this comic: http://xkcd.com/969/. Image URL (for hotlinking/embedding): http://imgs.xkcd.com/comics/delta_p.png. [[A wardr

Really nice location if you're looking for a place to stay in Montreal. Friendly staff and clean rooms. The bar is pretty good and they have a warmed pool as well! My only complaint is that when I ordered pizza, it came with a soggy crust. Apparently they only had one cook working at that time.
Public - 2 months ago
reviewed 2 months ago
My room wasn't fully cleaned out. There were some towels used by the previous person still left out. Other than that, it was okay.
Public - 5 months ago
reviewed 5 months ago
My first impression is that the staff isn't very professional. Walking through the door, I could see three or four servers sitting in a booth socialising. One of them was chugging red bull. Sitting down, we were served some traditional Korean side dishes. They were all pretty good except for their mayonnaise-covered veggies. Calamari: Really good batter and seasonings. Very crispy! The squid itself was a little overcooked though. For $10, it was worth it. Yakitori: Horrible. Incredibly overcooked pieces of chicken breast with a few pieces of veggies on a skewer. The sauce is good but it's too thin to stick to the meat. Comes with a small veggie salad that tasted bitter. Two for $10 is definitely not worth it. Spicy pork bulgoki: Pretty good. Kind of like am Asian twist on BBQ pulled pork. Comes with a small portion of white rice. Is it worth it for $16? Well given that extra rice costs $2.50, not really. Also, aside from some onion, there are no veggies. Salmon teriyaki: Dry and overcooked. Comes with simple steamed veggies. Not worth $18. Overall: not a good first impression. Maybe we didn't order the right dishes or maybe it's just too new, but it wasn't very impressive for the cost. Maybe it'll be better next year.
• • •
Public - a year ago
reviewed a year ago
26 reviews
Map
Map
Map
The room was clean and comfortable and the people were very nice! My only complaint was that a medical marijuana trade show was taking place so it didn't smell great. Thankfully, it didn't make it into our room.
Public - 2 months ago
reviewed 2 months ago
Room was nice and clean. Staff was friendly. The only complaint was the wired internet which didn't work. But someone came by and helped me fix it.
Public - 6 months ago
reviewed 6 months ago
Last time I went, they served us: - Incredibly salty French onion soup - Bok choy with our salmon. - Incredibly salty crab cake for what was supposed to be "Crab encrusted salmon" - Greasy (dripping) pasta - Overdone crepes
Food: Poor - FairDecor: Very GoodService: Good
Public - 3 years ago
reviewed 3 years ago