HNHacker News
TopNewBestAskShowJobs

brianchu

2,341 karma · joined July 15, 2012

Looking for the next thing.

Worked on machine learning for medicine at Cardiogram. Studied CS at UC Berkeley. Former undergrad researcher and teaching assistant for Berkeley's ML class. Former intern at Twitter on Ads Analytics Infrastructure.

Email: bc@brianchu.com

github.com/bchu

twitter.com/brrrianchu

submissionscomments
brianchu··on Show HN: Practical Guide to Mobile Apps Using Phonegap and Famo.us
AFAIK Ionic isn't specifically engineered for performance. Famo.us is more low-level.
brianchu··on The Future of College?
Big fan of what they're trying to do. I've kept my eye on them for a few years.

It's remarkable that at a place like UC Berkeley (where I study CS), the pinnacle of innovation is videotaped lectures and programming assignment autograders. That, and iClickers during lectures (devices that let you answer multiple choice questions). Many universities have worse technology than many Fortune 500 companies - in areas that directly affect students. Apparently Berkeley's online course enrollment system limits the number of times you can login because it's based on a legacy telephone system originally designed for dialing in.

I've been thinking that technical/engineering education is the most ripe to be disrupted - someone with a CS education needs to rely much less on their credential/alumni network than someone with, say, a liberal arts degree. We're already seeing this with the coding schools that are all emerging.

brianchu··on Decentralization: I Want to Believe
Really interesting. About a year ago I spent some time thinking about the concept of building semi-decentralized versions of typical web apps with WebRTC and a series of trusted centralized hubs.
brianchu··on Ask HN: Best JavaScript Single Page Apps
Two salient examples of Angular include: Amazon's AWS dev console (not the best example of Angular, but the only public use by a large corp I know of), and Lift's web app (lift.do).

I also know that Apple uses Angular for a few internal (non-public) developer tools/consoles.

Angular is a framework, heavier than the other frameworks too. Twitter and Facebook are particularly good examples because they use both server and client-side rendering, so they get the best of both worlds (fast initial page render and fast subsequent client renders). I love Angular, but Angular can't do this currently.

brianchu··on Show HN: My first iPhone game – after 18 months of work
Awesome. I remember giving you a coin for my vote at the MIT demo day 1.5 years ago, and was pretty disappointed when I didn't see it released afterwards. Really happy to see it now!
brianchu··on Ask HN: Best JavaScript Single Page Apps
Facebook, Twitter, Asana. Interestingly, each developed their own JavaScript libraries/frameworks - React, Flight, and Luna (Luna is not open-source).

Others: Google Maps.

I don't find Gmail to be a particularly good example, unfortunately.

brianchu··on Ask HN: Is it worth continuing my computer science degree?
Firstly, what's you financial situation? Are you paying for college, do you have a scholarship, etc.?

I think anyone can make it without a degree given sufficient motivation. I'm doing a degree because I recognize I don't have the motivation to teach myself certain areas of "hard" math, statistics, and theoretical CS. Yet I recognize that these topics will be useful. All of these topics can be learned through MOOCs/MIT OCW today (given sufficient motivation).

An alternative you could consider is to try transferring to a top CS school like MIT/Berkeley/CMU/Stanford/UIUC, or to another all-around top school. You may find that you'll be seriously challenged and stretched at those schools (or maybe not). This depends on your financial situation, though.

brianchu··on More than half the Thiel Fellows plan on returning to school
It's important to keep in mind that it is quite likely that for most of the Thiel Fellows, there is not much "cost" associated with college. Give the high-achieving student, immigrant family skew of the fellows, it's quite likely that most of the fellows would get scholarships or would have parents who would pay for college if they attend.

If each fellow had to pay $150-250k for college, I bet not a single Fellow would entertain the idea of going to college.

Personally, I took a gap year before college but eventually decided to return to college afterwards, knowing that I would be able to get a $100+k dev salary in the Bay Area if I chose to forgo college. Part of that decision was driven by the fact that my parents would pay for college (and then some).

On a broader note, taking just one year off gave me a ton of perspective on what I wanted to do in life, my priorities, and on the value of college. Everyone should take time off.

brianchu··on Python is now the most popular introductory language at top U.S. universities
Berkeley's first intro CS course uses Python for 2/3 of the course, then uses Scheme. The final project is writing a limited Scheme interpreter in Python. To further clarify, Java is used in Berkeley's 2nd CS class (followed by C & MIPS in the 3rd intro class).
brianchu··on Year off of school vs. starting a company
I'm also a sophomore (in CS) at Berkeley. My background is a bit similar - I took a year off before college to take a software course and work at a startup. The year I took off was probably one of the periods of greatest personal growth I've ever had in my life. I learned a lot technically, but that wasn't the most important thing I gained (or even the second or third-most important thing). The most important things I gained were friendships and connections with people older than me, and greater perspective on my goals and on college. I like to think I'm a bit more street-smart than I used to be, having been exposed to the real world. It's important to note that taking income minus taxes/expenses, I earned next to nothing over the course of that year (and have a bit of stock that isn't worth much even if the startup continues to do well), so I gained nothing financially.

I don't put much faith in the arguments that "you'll never go back" if you take a year off - I did, and when I made the decision to go back, it was precisely that - a conscious decision, rather than how most students go to college (which is by following the default path). At any time, the decision is yours to return to college - if you decide not to return to school it will only be because you judge your current opportunity (the startup or wherever your career takes you) to be better than going to school.

Obviously the details of this opportunity are pretty important - how much equity are you getting? How much control? Who do you get to work with (the people you meet and/or work with is probably the single greatest factor in your early career)? How much funding do you get? How flexible is the parent company in letting you make decisions (remembering that if you don't have >50% of the equity, they have final say in all decisions)?

If you want to take this offline, my email is in my profile. I wouldn't be so quick to dismiss an opportunity like this. If you think your skills are up to it, it's worth considering. At the very least, I would take the trip to Japan, and come prepared with tough questions for the executives (questions about control, autonomy, flexibility, the conditions of funding, how they make decisions, their philosophy around product management, etc.)

brianchu··on Webkit.js
This is http://famo.us 's approach. A JS framework built on the idea of positioning everything only using CSS 3D transforms.
brianchu··on Ask HN: What does modern front-end web development look like?
A modern front-end stack looks like:

For structure/content: raw HTML, or less commonly a language that compiles to HTML (Haml, Jade, etc.).

If the HTML is being rendered and served from the backend, you might use a templating language like Django's templating or Jinja (Haml and Jade also have these features).

If you are creating an application that does a lot of AJAX, you will also often use a JavaScript templating system like Handlebars.

For styling: raw CSS, or fairly commonly a CSS pre-processor like SASS, Less, or Stylus. Very often you will use a CSS framework like Bootstrap or Foundation to give you pre-made forms, buttons, grids, and other essentials.

For logic/interaction: JavaScript. Many people will also use compile-to-JS languages like CoffeeScript, TypeScript, or ClojureScript (in decreasing order of frequency). There are a lot of libraries/frameworks that can be used here. Most commonly you'll use jQuery and jQuery UI widgets. For more complex applications, single page app frameworks like Backbone, Angular, or React come into play.

Build process: For more complex projects, build tools like Grunt or Gulp to watch for changes to the filesystem and re-compile files (typically when you're using CoffeeScript or a CSS preprocessor), to package everything for deployment (minifying JavaScript, etc), and to run tests.

Packaging: Often you'll use a tool to keep track of modules/packages. These tools are quite different. Bower, RequireJS, Browserify, Component, and other tools occupy this space.

Often you'll use Node's npm to keep track of build process and testing packages!

Testing: For testing you'll often see frameworks like Jasmine or Mocha/Chai for unit tests/integration tests. For end-to-end tests you might see things like Selenium (run tests in a browser window). There are also test-runner frameworks like Karma.

Debugging: Chrome's developer tools (or Firebug/Firefox/Safari).

For someone starting out this is probably overwhelming. The important things to realize are that:

1) No one uses all these tools

2) Most of these tools are only useful for large complex codebases with large teams.

2) The most common stack is raw HTML, raw CSS, raw JS, jQuery, jQuery UI, Bootstrap, no build process, no packaging, no testing.

brianchu··on Choosing a Web Framework/Language Combo for the Next Decade
The "cutting-edge" web frameworks that already exist today are the fat client frameworks you describe (client-side rendering). The web frameworks of the future will have robust server-side and client-side rendering, in my opinion. We're already seeing a little bit of this with Airbnb and Rendr for Backbone, React, and Twitter's web app, but it's not quite there.
brianchu··on Ask HN: Should I continue to developt my QR code product?
There is pretty much no market for QR code services here in the States (I would guess it's the same in Europe), which is reflected in the opinions here.

In Asia (I think China specifically, not sure), QR codes are ubiquitous and widely used.

brianchu··on Quora in the next YC batch
Most normal people don't care about having to sign up. Or how Quora is allegedly gaming Google.
brianchu··on Advice for ambitious 19 year olds (2013)
Yeah, it's definitely a Silicon Valley thing. I grew up in SV and go to school at Berkeley, and dropping out is definitely considered a valid choice. People I know in SF encourage me to drop out all the time, and I know of several college students that dropped out.

Edit (reply to below): I took a year off to work before I went to college, so I think I have a good perspective when I say this. You assume that: 1) college is going to educate someone about the world, get them a good job (not a measly startup job), give them discipline, and introduce them to cofounders; and 2) college will do this so much better than you could by working in industry that it justifies the cost (anywhere between $150-200k tuition for a good school, and possibly $200k in lost savings). Suffice to say, not all of those things are necessarily true.

I'd be happy to talk about this perspective to anyone over email.

brianchu··on Designer Duds
There's a middle ground of having leaps come from applying technology that already exists, but in novel ways (see: touch screens for the iPhone). So neither purely engineering driven nor purely aesthetically driven.
brianchu··on Ask HN: How do you explain "this" to beginners?
It's whatever is to the left of the dot.

The exceptions:

1) when used with new, it's the new instance of the object (pretend that when you use the new keyword, an Object.create() call is inserted in the beginning of the constructor function),

2) when there's nothing to the left of the dot, it's the window object.

3) .call and .apply force this to be something else.

brianchu··on Why you might not need MVC with React.js
That has less to do with React specifically, and more to do with how languages/tools/libraries generally gain adoption. React is at a point where there's still an emerging "early-adopter" community. Angular was like that a year ago (I distinctly recall the tone on HN to be similar to your impression of the current sentiment around React). Now Angular is starting to reach the mainstream (loosely defined), which means that now there is a trend of people pointing out flaws in Angular.

Give it a year or so.

brianchu··on Nike fires majority of FuelBand team, will stop making wearable hardware
I don't think we should be changing titles/urls of articles just because a company made a statement denying something. CNET is making a claim. Nike is denying it. That's not grounds for changing titles.

Companies, people, and governments deny things that turn out to be true all the time. I'm not saying Nike is lying. Just that their denial is not clear evidence of misinformation.

brianchu··on When ‘Liking’ a Brand Online Voids the Right to Sue
IANAL, but a company claiming that you give up your rights is not the same thing as you actually giving up your rights.

All these companies are essentially doing is claiming that you are giving up your rights. It remains to be seen whether these provisions will actually hold up with legal force in court (I doubt most of them will).

brianchu··on Torn and weary (on Brendan Eich and Mozilla)
Just so people are clear here, America has never had a right to free speech in the sense that a lot of people seem to be thinking. America has only ever had a legal right to free speech (and even then with many exceptions [1]); only government is bound by this. People tend to forget that the Constitution (and First Amendment) only applies to government.

I haven't made up my mind whether Mozilla should have fired Brendan.

[1] One of those is hate crimes against certain classes of people.

brianchu··on Hide this in your coworkers' JavaScript code tomorrow
I'm not too sure either. In JS, block scoping does not exist. There are only function scopes, so the var declaration gets hoisted out of the if block (but the assignment occurs in the if block - so the assignment doesn't happen).
brianchu··on Why the (CoffeeScript) arrow matters
There's a difference between assigning an anonymous function to a variable and declaring a named function. It's the difference between:

    var funcName = function(){}
    function funcName(){}
The problem is that using named functions involves nuances that can be confusing. Generally it's considered idiomatic to just avoid named functions altogether. You can read about some of the nuances here: http://kangax.github.io/nfe/
brianchu··on Famo.us Demos
I'd like to point out that famo.us recently announced a public beta release date of April 9th, with respect to the "secrecy" criticism.
brianchu··on Ask YC (YC S14) Applicants: What is the size of your team?
The first time he applied it was with an test prep idea, if I recall PG correctly, and he was rejected.

The second time he applied with Dropbox, he was accepted. After being accepted, he got Arash to join him.

It seems to me that about every batch there is a single founder. But they tend to find co-founders after acceptance.

brianchu··on Emails From Schmidt And Sergey Brin Show Agreements Not To Hire Apple Workers
TheCoelacanth is looking at the market over the short and medium term, which is the correct way to look at it if we're arguing over whether there is a shortage today.

Furthermore, it's not like quantity supplied is perfectly responsive to price. It takes time for new people to enter the industry.

Talking about the long-term is rather pointless because technically, from a theoretical standpoint, everything is supposed to equilibriate over the long term. All shortages self-correct over the long term. Again, this is theoretical.

brianchu··on Ask HN: Why big companies don't use Angular.js?
Who said big companies don't use Angular?

Google uses Angular for a few projects.

Amazon AWS uses Angular for their dashboard.

brianchu··on Ask HN: What makes Berkeley (UC) great?
Does it really matter? I go to UC Berkeley right now, and it's not the legacy that's important to me. It's the state of the university today. The legacy is only important to me insofar as the legacy affects the current state of affairs.
brianchu··on Zynga Buys NaturalMotion For $527M
Pincus was not ousted. That's a really common misconception.

Pincus still retains voting control over the company (much like Zuckerberg retains control over Facebook). Any changing of the guard that took place had to take place on his initiative.

Now, there's no doubt that he felt pressure to leave from the stock market. But that's not an ouster.

← PreviousPage 4 of 10Next →