HNHacker News
TopNewBestAskShowJobs

shuzchen

1,391 karma · joined October 24, 2009

Entreprenurial minded developer, heavily invested in social good projects and current working in open source.
submissionscomments
shuzchen··on What the hell these game developers did with your kickstarter money
I'm an armchair theorist on this topic, but I suspect you get more benefit with an event booth, especially if the people that attend the event have already been self-selected into your target demographic. There's just so much more room for engagement in person, as you can answer questions, provide clarification on the spot, and even obtain advice (perhaps some passerby has a cool idea they want to see in your game). This is drastically harder to do with a website.

This is even more important for smaller indie teams where the developers are the ones manning the booths. I'd be way more interested in discussing the product if I knew I were talking to one of the developers. I found this reflected in my behavior at the vendor booths at pycon this year. When a booth was manned by salespeople, I'd just go take their free shirt and if I was interested in the product I'd only ask a few brief questions and leave with a brochure. When the booth was manned by the founders and three-quarters of the dev team, I was more apt to discuss further, asking about their software stack, or their thoughts on competing products, or the future roadmap of the product. This type of perspective a salesperson doesn't have and usually can't officially speak about.

shuzchen··on What the hell these game developers did with your kickstarter money
I don't entirely disagree with your position, but considering the publicity and press coverage they've received (both before and after the kickstarter funding), it's harder from their position to feel like they can safely slip under the radar. Also, from the IRS pov it's not a $6k salary, it's $30k+ income. It's only after you deduct all the business expenses does it come down to $6k profit. I'm not entirely certain how kickstarter works, but I would be surprised if they didn't file paperwork with the IRS when they transfer the $32k-fee to the developers. Vegas casinos report winnings to the IRS at a cut-off point way below that.
shuzchen··on I can style a whole app with only four hex values and SASS.
Perhaps it's the type of design projects that are undertaken and the work style of the designer.

In the situations where a designer provided .psds for me to transform into html/css, no I haven't had to modify anything. But then, the iteration on the design happens with the other guy, and he does it in photoshop. If a change happens, he just sends me the new asset images, and I just replace them in the repo.

The times where I'm the one doing the design work, I end up switching things up a lot. This is because I don't do my design work in photoshop, but rather in the browser with actual html/css. So even while I'm iterating on something by myself (before having even shown the client anything), I'll switch colors up constantly trying to get something I'm okay with.

shuzchen··on I can style a whole app with only four hex values and SASS.
If you've ever had to go back to your CSS and redo the colors (client wanted red instead of blue) then you'll find yourself thinking "I wish I could just store these redundant values in one place". At that point you'll start looking at css preprocessors. A simple find/replace doesn't always cut it (I want these things red, keep these other things blue), especially if your design also has derivative values (used in gradients, shadows).

Personally, while I do try to take advantage of all the features of LESS, I think the biggest thing is the ability to define macros (utilizing mixins or functions). Never again do I need to write multiple rules for one style (-moz-foo, -webkit-foo, and foo) or need to remember the complicated argument order (defining gradients is vastly different between all of them).

The cost is in introducing a compile step, but the benefit is that your stylesheet becomes easy to write, easy to read, easy to modify.

shuzchen··on Inbox.py: SMTP for Humans
I've always wanted to make something with http://lamsonproject.org/, another python based SMTP server. This appears to be more bare bones.
shuzchen··on Gabe Newell Talks Linux Steam Client, Source Engine
That's assuming that just because they're working on wearable computer hardware that they aren't also working on a console. Actually, reading between the lines, I see this linux support news as more proof that they're working on a console.

Here are some possible reasons why Valve might be working on linux:

1) They think win8 is so bad users will leave in droves to OSX and Linux. I doubt this, Windows has made a ton of mistakes before (ME, Vista?) but it's still king of PC. A lot of people were happy with 7. If win9 totally bombs as well, then I'd say the gig is up.

2) The monetization story has changed. The humble indie bundle has shown that linux users will pay for games and play them on their linux boxes. Is this enough for Valve to change their stance since for the longest time they've said it didn't make economic sense?

3) Valve is working on a console and won't (can't) pay to license OSX/Win as the OS and is smart enough not to write one from scratch. This reason makes more sense to me. Getting steam client working on linux desktops is just a secondary benefit of their primary goal: getting the software stack for their console.

shuzchen··on Python Deployment Anti-Patterns
Not entirely, but if your reason to using a non-LTS is to get the latest versions of your stack, then you've just made a really bad choice. As I've said, you're either giving up security updates or are left to test and upgrade your entire system every ~two years in exchange for no guarantee you're on the latest of anything. That tradeoff doesn't make sense no matter what way you look at it.
shuzchen··on Google Drive
I like it. Well, I can't use it currently (my drive "isn't ready yet") but I've wanted a more feature-ful Dropbox[1]. With Google killing off tons of projects I love (latest being Picasa for linux, sad face) it's nice to see they're adding cool things in the meantime.

[1] That is, Dropbox's philosophy is to create something dead simple that an idiot can use, whereas I suspect Google's product will be laden with options and knobs. I don't knock on Dropbox - I'm constantly recommending it to people that aren't tech-savvy (and it's one of the few things they understand and start using quickly), but I personally like those knobs and levers. Am I the only one here that doesn't think they're direct competition with each other? They're in the same space and all but I think they're meant for different niches.

shuzchen··on Python Deployment Anti-Patterns
I would disagree with this. LTS (I'm referring to Ubuntu LTS as well as RHEL) is still a good fit because there are 9001 other packages your system relies on for day-to-day operations, and I'd rather mess with those as least often as possible. If you don't use a LTS then you'll have to do whole system upgrades every few years - or else you stop getting security backports. I'd much rather micromanage the dozen highly visible packages that are immediately relevant to my app.

Also, even if you're not on an LTS, doesn't mean you have the latest/greatest available. The python community moves at it's own pace, so there's still a chance that you'll be stuck with the just-before-latest-stable version.

shuzchen··on Adobe Officially Unveils CS6, $49/Month All-Inclusive Subscription Service
I think it can still be done. Corel's options for vector and photo editors still get business, and quark express competed with indesign for a long time (assuming the reason it died was because they failed to keep innovating, not because indesign's position is insurmountable). There are yet tons of video editing software options to compete with Premiere.

When I look at the free/open source solutions (gimp, scribus, inkscape), what I see are tools made by engineers. I think if you injected in a good measure of input from designers and usability experts it'd go a long way towards being solid competition.

shuzchen··on Migrating from EC2 to Rackspace
Having used a variety of cloud servers (Slicehost before the RS acquisition as well as after) I would agree that the cloud offering from RS has a long way to go, both in terms of features and performance. You get way better performance from Linode (for less money last I checked) and tons more features from EC2 (as outlined in the article).

To me, the only good reasons to go with RS's cloud offerings are if you've already got dedicated machines with them (and want simplified billing, or integration via their hybrid hosting), or are planning to integrate heavily with their other cloud services (e.g. free network to cloudfiles)

shuzchen··on I Learned to Speak Four Languages in a Few Years: Here’s How
You would have a point if the post author didn't also claim to be having the same success with Russian (also rated notoriously hard to master for english speakers). The tone of the article also implies that the same technique can be applied to any language.

That said, I still doubt actual fluency is obtainable for non-mavens even in the romance languages. In my experience, all early learners have a naive view of their own ability, no matter what the target language is.

shuzchen··on I Learned to Speak Four Languages in a Few Years: Here’s How
I agree with the parents that doubt the veracity of these claims. There is so much more to a language than just vocabulary and grammar that I can't imagine anybody picking up on their own in 4-5 months. For example, in Japanese, there are many levels of formality that affect the vocabulary you select as well as the way you say something. And it's not just a matter of using one level with a particular person, how formal you are is very dynamic, and can change back and forth in the same conversation. Also, it's pretty much impossible to reach a native level productiveness of giseigo and giongo (different types of mimetic words) without being born and raised there.

However, if you're a language maven, then I can see how you can obtain high fluency in a short amount of time (although even the mavens I came across had issue with giseigo/giongo production, figure that out). But don't assume the same technique a maven uses will apply to your everyday person. I've studied Japanese for going on 14 years now (8 of those years being intense study: masters program, study abroad) and the more that I learn the more that I realize that I don't know.

shuzchen··on Sex in the Bathroom and the Problem of Offline Data
That's because if you guys just show up at the establishment, they have no idea who your "parents" are or where to contact them. If, however, your group arrived there through some arrangement (between grouper and the establishment in this case), they do have a place to complain if you do something they don't approve of.
shuzchen··on Working with Python subprocess
As someone who has used (and contributed code) to envoy, I must give warning that envoy is still very much a work in progress. Don't go in there expecting the same quality of the Requests module.
shuzchen··on Ep.io is closing down, recommending Heroku
Not to knock on your service/business-plan, but I can't imagine how focusing on a particular stack gives you any advantage. To me, the bare PaaS offering includes not only the bits that run the app (nodejs workers in your case) but a datastore (minimum one choice each from RDBMs or kv-stores), a backend cache, and a front-end cache or load-balancer. At this point, I imagine your PaaS infrastructure is already plenty 'polyglot', and it seems to me that adding additional tool support wouldn't complicate the backend more. Of course, I do grant that manpower can be a limiting factor. (I do also grant that I may be a naive armchair theorist spouting hot air)

I'm interested to hear what you feel your business advantage is. Is it branding (e.g., someone wanting to host a nodejs project is more likely to head your way), or does the focus really give you a lead in the arms race against the 'polyglot'-er services.

shuzchen··on Abrash on Valve: How I Got Here, What It's Like, and What I'm Doing
Nobody said that they're the same today. The parent claimed that Valve and Google's work environment were the same (at Google's early onset) and wondered why "Google's ended up blowing up". My answer to that question is that Valve was able to keep the culture they have because they kept the company size small, and Google was unable to sustain that culture because they exploded in size. If Valve were to start hiring like crazy (as Google did), you'll see the same thing happen. I believe strongly in the culture that Valve promotes in their company, but I don't believe it can survive a mass influx of hiring.
shuzchen··on Abrash on Valve: How I Got Here, What It's Like, and What I'm Doing
I'd garner to say the difference between Valve and Google would be their size. Valve (according to wiki) has ~260 employees. I'm sure Google has more janitors than that. As I'm assuming very few people leave a position at Valve, that must mean they're very very very*9000 particular about hiring, much more so than google is.
shuzchen··on PHP: A fractal of bad design
I have a feeling you've gotten so used to deploying PHP that you've forgotten all the headaches involved in it. I idle in about 3 irc channels that provide PHP support, and pretty much every day someone comes in with some deployment related problem. Someone will come in complaining that they can't read some file (the user apache is running as can't traverse into that directory), complain about some missing function (did you install gd? -> show how to get phpinfo -> show how to install gd -> show how to modify php.ini to enable it -> show how to restart apache), or just general errors on their server (is your error reporting on? -> figure out what error reporting is locally -> figure out what error reporting is remotely -> explain how to change the setting -> etc.)

I'd consider myself a seasoned PHP dev and it always takes me a few hours to figure out what happened when I get the white screen of death.

XAMPP isn't any sort of solution to this, because not all servers are configured in the same way that XAMPP is (and the fact that they compile in most packages doesn't help).

Developers at a local makerspace did a project last year using PHP, and even though there were tons of very smart guys, mostly everybody we brought onto the project took a whole afternoon to get set up. To me that's unacceptable.

Understanding how to set up virtualenv isn't trivial for a beginner, but that doesn't stop a beginner from jumping into my python projects with no pain. All they need is to get easy_install (which is included in all distros I've seen) and do a git/hg pull (both probably also available from distro). The rest can be handled by a shell script in the repo that grabs pip+virtualenvwrapper, sets up the virtualenv and installs all the required packages. Then you tell them "if you need to work on this project, just type `workon projectname`", and with that they're ready to start hacking.

shuzchen··on PHP: A fractal of bad design
I agree. Why not run the webapp as the user account the code belongs to. With virtualenv and pip, normal users can install modules into their own site-package in their home folder, and any runserver started as them will only have permission to access anything they have access to. The only thing that is possible to exploit is what they've allowed in their code, but that's pretty much the same issue you have with php.
shuzchen··on PHP: A fractal of bad design
I find it odd how many people keep saying it's that simple to push PHP code to a box and get it working. Sure, if you've got crazy simple requirements it's generally a cinch. Once you do anything remotely non-trivial (want to read from a file? use some third party library, handle errors in a consistent manner) then you start hitting into issues with file permissions, PHP version differences, modules not compiled in by default, etc etc. I've been dealing with PHP for a long time, and getting a local dev setup to match the remote version (or getting code to work on both environments) is just a pain to do.

Also, PHP is not helpful in local development. I think there's a built-in runserver in the newest versions, but for all of history, to develop PHP you had to install (and set up) apache and all your required modules locally.

With python and Django, I use virtualenv+pip to get a consistent environment, manage.py runserver to test locally. I can pretty much start developing everywhere (my desktop, my VPS, my laptop, that same laptop after I reformat it and install some new distro to test) with 3 commands.

shuzchen··on Online JavaScript Hacking Game. How do you Rank?
Esc is what does it for me, but the whole deal is so buggy that I'm not surprised it doesn't work on your end.
shuzchen··on Why NoSQL Equals NoSecurity
Honestly, I don't think the ACL really provides much in terms of security. I mean, your db username and passwords are stored (in plain text) in your settings.py, config.php, database.yaml, etc. I've seen a few times where master passwords have shown up in a user's bash history due to carelessness. Also consider that your backup script contains read access credentials for all your data.

IMO the main benefit of having an ACL is to compartmentalizes your database so that a SQL injection against one app (maybe) won't spill over to a different app. That's not something that makes me feel good at all.

shuzchen··on The Apps are Too Damn Big
I don't know why we're not moving into vector for these type of things. Should definitely help with the resolution explosion we've been seeing occurring.
shuzchen··on Larry Page: one-year anniversary of taking over Google's CEO
Here's what I can do in Android that I can't do in iOS:

* develop an app on my own machine - you can't develop iOS on anything but AAPL hardware, android dev can be done on the big 3.

* without having to pay anything - how much does dev license in iOS cost? don't need to pay for android SDK and tools

* without having to jump through any loops to distribute it - I can just pack up the .apk and email it to you, provide a dropbox public link (when I used to use k9mail, I got my updates at http://code.google.com/p/k9mail/downloads/list rather than the android app store), or put it up in my own app store for it (look at amazon app store, or http://f-droid.org/, or that adult themed one that came out some time ago).

shuzchen··on A billion thanks to the open source community from Red Hat
To further clarify this point, if you look at the reports here, you'll find that RedHat is the largest corporate contributor to both the kernel and to gnome:

http://www.linuxfoundation.org/publications/linux-foundation http://blogs.gnome.org/bolsh/2010/07/28/gnome-census/

shuzchen··on Why Amazon Can't Win a Tablet Price War Against Google
Is it just taken as fact that Amazon is losing money on each Fire sold? Last I remember, there was a device tear-down that priced the components at slightly over the retail price, but I wouldn't have said that was definitive proof that Amazon was losing money. And even so, they're still producing and shipping Fires, which means they've had time to improve the production efficiency and bring down costs.
shuzchen··on 10 Million hits a day with Wordpress using a $15 server
If you've got your php code and static assets in the same repo, then it's generally easiest to have php and nginx run as the same user that owns the files in that repo. php needs access to those file to parse/run them, and nginx needs access to those (static) files to serve them.

Of course, you can manage this in other, more security conscious ways (move static assets elsewhere, use group permissions, etc.) but this is probably the simplest.

shuzchen··on Google to Sell Tablets on Its Own This Year
I can attest to this. My wife has a Nexus S and got the upgrade some time ago.
shuzchen··on Immortality is probably overrated
Now I'm depressed.
← PreviousPage 11 of 13Next →