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 My dad unexpectedly uses my Linux laptop to get real work done
Adobe has officially stopped supporting flash on Android. The last version you can still install flash on is 4.0, and while you can still sideload the apks in higher versions they get extremely buggy (as they do on my Galaxy Tab).
shuzchen··on My dad unexpectedly uses my Linux laptop to get real work done
You should keep an eye on Mozilla's Shumway (https://github.com/mozilla/shumway). I recently installed it as an add-on to the firefox browser on my Android Tablet (Galaxy Tab 2 7) and have had luck with a few flash sites.
shuzchen··on App Review rejection 10.6
Pokemon (and I assume all their stats re: them) are owned by Nintendo.
shuzchen··on Ask HN: What are you working on and why is it cool?
Recommendation engine as a service (http://savant-api.com/) -- absolutely nothing public yet, except a fancy d3 powered widget that has nothing to do with the service.

It's cool because I'm hoping to make collaborative filtered recommendations easy to obtain for small outfits.

shuzchen··on Fedora Linux will switch to Python 3 by default
The switch isn't making python3 available; both python2 and python3 have been available for users for a long time. The switch means having the system tools rely on python3 rather than on python2, such that you can successfully install, boot, and configure a Fedora install without python2. This involved porting all the system code that uses python.

I suspect Archlinux's job was easy, because they had fewer system tools that utilized python. For example, Pacman (Arch's package manager) is written in C, whereas Yum (Fedora's package manager) is written in Python. Fedora also has other components that use python (the firewall frontend, some build/install/setup scripts), and "switching" to python3 involves porting over all of that.

shuzchen··on Fedora Linux will switch to Python 3 by default
CentOS is just a rebranding of RHEL, which uses Fedora as upstream source. Basically when they start a new version of RHEL, they pick some Fedora version as a starting point, freeze things and make everything enterprise ready.

So, yes, this likely means some future version of RHEL (and thus derivatives like CentOS and Scientific Linux) will also make the "switch" over to python3. Considering the turnaround time for RHEL versions (and how Fedora is still slow on the uptake of python3), I wouldn't expect this to happen anytime soon though.

shuzchen··on Ask HN: Why the Microsoft hate?
I recently installed a new version of Office on my dad's machine and was shocked to see that you can start using Office pretty much right away, even while it's still installing. The more complicated features (e.g., making charts) are locked out, but will be available as those bits are streamed in. Basically it bootstraps a bare bones document reader and advanced features become available as they are downloaded.

Awesome, but really brings to light how poorly MS handles advertising.

shuzchen··on Introducing WhiteHat Aviator – A Safer Web Browser
"And yet not a single browser vendor offers ad blocking, instead relying on optional third-party plugins, because this breaks their business model and how they make money.".

I'm actually happy when browsers keep their core features as lean as possible and instead do the work that enable plugin creators to create functionality. More true for ad-blocking, where you want the plugin to be updated more often than the browser itself (e.g., for newer lists, new techniques for detecting ads).

shuzchen··on Manager.io – Free accounting software for small businesses
It appears to be a wrapper around a webservice that runs in process. So I assume the webservice is something like .NET and so they stuck with C# for the GUI bits.
shuzchen··on Why Are Hundreds of Harvard Students Studying Ancient Chinese Philosophy?
Here's another theory (not saying yours isn't possibly right): the Chinese government has an agenda involving more and more people studying Chinese language, culture, and traditions. I'm not insinuating any malicious intent here; as any sensible country would they want to promote trade with other nations, and trade goes a lot smoothly if the other party speaks your language/knows your culture/has a connection.

One manifestation of this agenda is the Confucius Institutes that have spawned hundreds of branches around the world (http://en.wikipedia.org/wiki/Confucius_Institute). They're pretty nice organizations: they run programs, give funding for projects, give scholarships (heck, my web development job during college was paid partly through the local CI). All in all promote Chinese language/culture, though all pretty much funded by the PRC.

shuzchen··on Why getting the Obamacare exchanges to work was difficult
I'd have to say some of that is likely incompetence on the people in charge of developing the exchange. In Hawaii (hawaiihealthconnector.com) the whole extent of the online marketplace is a web form where you have to give up the SSNs of your entire family just to have someone call you later with quotes. Not exactly what I think of when I think of an online marketplace.

There are many problems with the form too (e.g., can't sign up if your family has more than 4 people). To make matters worse, the form is down for maintenance. Apparently they couldn't figure out how to scale a single form.

It's hard being a supporter of Obamacare when the execution is being done so badly.

shuzchen··on Bluebird – A full-featured, fast promises library for JavaScript
Looks awesome, I've been using JS Promises recently and it's made control flow a lot easier to handle. I've been using Vow, because I like having an .always() that gets called after the promise was handled (rejected or fulfilled), but sadly that library eats tracebacks (at least, I can't figure out a way to do it). Bluebird looks promising, but IE<9 isn't supported at the moment (https://github.com/petkaantonov/bluebird/issues/3). Rules it out for most of my projects.
shuzchen··on Facebook first level interview for Linux admin position
To me, it seems the questions were pretty basic and geared towards judging if someone has had experience actually administering linux servers. How many people (who actually competently deal with linux servers) need to use google to know what the output of top is? or how to kill a process? If you don't already know what MTU is about, how would you even consider an incorrect MTU as being an issue when you're debugging an issue in production?

Likewise, I wouldn't hire a Senior Javascript developer who can't describe in her own words what a closure is and what it's useful for, or talk about execution context (what 'this' refers to) and how to control that. You just can't have seriously written any javascript and not have encountered those things enough that they've been burned into your mind (though maybe an intern or a Junior developer that'd be okay)

shuzchen··on Rich Hickey's Greatest Hits
My favorite quote (from "Are We There Yet?") is "I'm just trying to program without going crazy".
shuzchen··on Gabe Newell: Linux is the future of gaming, new hardware coming soon
You just have to remember how bad GFWL was, and look at how bad the current Microsoft App Store is, and you'll know there is no threat to Steam coming out of Microsoft. Even if Microsoft manages to get the right people on the ball, they are still years behind.
shuzchen··on Bump (YC S09) has been acquired by Google
As someone who spent a lot of time in Japan I can also report that cellphones as payment has been in large use for years now for public transportation, vending machines, etc.
shuzchen··on Intel Says No to Ubuntu's New Display Server
Wayland packages have been in Fedora since 18 (it's at 19 now and 20 is to drop in under 3 months time). You can already start testing your apps to see how they work in Wayland, and it's on the roadmap to being integrated as the default. Gentoo and Archlinux also appear to have experimental support and plans to switch.
shuzchen··on A guide to analyzing Python performance
There is also Guppy/Heapy, which I like in particular because you can spawn a monitor that you can connect to externally. Sadly the docs aren't very complete.
shuzchen··on Google has lowered the price of the Nexus 4 by $100
Honestly I wish they changed the name. Shopping for a Nexus 7 online or in stores is not friendly to the regular population. I'm pretty sure I know what I'm doing and even I'm not 100% certain a Nexus 7 on any site (besides play.google.com) is the new refresh model or the older one.

That said, they should avoid the naming scheme of the galaxy line (e.g. Samsung Galaxy Tab 2 7.0).

shuzchen··on Google has lowered the price of the Nexus 4 by $100
The Nexus 4 (as well as pretty much all smartphones on the market) disables the screen if you're in call and it detects that your face is near the screen. You can test this by going into a call and putting the palm of your hand (or any other surface) close to the phone.

If your phone doesn't do this you should either get it fixed or go join a league of super heroes.

shuzchen··on A Look at PHP's Continuing Evolution
Out of the box php generally works so long as you have trivial php code (that doesn't take advantage of new language features, doesn't need routing, doesn't need to write to the filesystem, and doesn't common library modules). Needless to say, that generally rules out any serious project out there.

I'm not saying I chose not to invest in those 20 minutes, I'm saying there's nothing about PHP that makes it inherently easier than other things to deploy real projects. You still have to deal with version incompatibilities, you still have to deal with configuration, you still have to deal with differing resources. That applies to all stacks.

shuzchen··on A Look at PHP's Continuing Evolution
As someone that has had to mess with deploying large PHP project in a previous life, I'd have to disagree.

Using mod_php? Better fix your file permissions. Use any non-trivial language feature? - better make sure you have the right minor version installed. Use functions from the supposed standard library (e.g., anything from gd_*, xml, process control, cryptography modules)? - better pray PHP was compiled with those enabled. Use routing in your PHP app (and you're crazy if you don't)? - better pray apache is configured to accept your .htaccess, or port the mod_rewrite rules for the non-apache server you're on. And then all of this while futzing with the 3 different php.ini files scattered around the filesystem.

Between virtualenv and pip, deploying python has been loads easier, as is getting team members up and running with a dev server.

shuzchen··on We Give a F*** How the Site Loads
First thought: HTTPS sitewide would probably solve this problem. I'm pretty sure most filtering happens on the networking level, not within the browser. And if this browser on a public computer is augmented to read your https traffic, don't use it.
shuzchen··on HN is Becoming 2005 Slashdot
Perhaps your issue with the tag filtering is from an older version? When I look at lobste.rs in an incognito window, it appears I can set tag filters even without an account (they claim "Since you are not logged in, your filters will be stored in a long-lasting browser cookie."). That said, it'd be awesome if they allowed access to that feature through a url you could bookmark.
shuzchen··on HN is Becoming 2005 Slashdot
Not only is it invite only but your own membership can be revoked if the people you invited cause problems (they keep track of the user tree https://lobste.rs/u, so your actions could also reflect badly on the person you got an invite from). The true reason could be something else (or many factors), but I suspect this is one decision that has kept the pool of users extremely small (1.1k isn't much for a social graph).
shuzchen··on HN is Becoming 2005 Slashdot
I've always been hopeful that lobste.rs would take off, but sadly the steps they took to ensure good participation has kept it from growing. I mean, it still gets new articles, and there are a very few items that aren't on HN (or showed up sooner), but most posts have very little discussion. Looking at the homepage, and the majority of links have 0 comments.

That said, it's got a few features that people have pitched as the solution for HN (tags being one of them).

shuzchen··on Show HN: CoreOS, a Linux distro for containers
Is this project part of cloudkick(/rackspace) or a new venture? Website doesn't have much regarding the people/resources behind this.
shuzchen··on Show HN: Easy-to-configure Web Server in Go
Bad copy pasta (missing 3 at the end): https://gist.github.com/sirpengi/6097113
shuzchen··on Show HN: Easy-to-configure Web Server in Go
works for me: https://gist.github.com/sirpengi/609711
shuzchen··on Show HN: Easy-to-configure Web Server in Go
Nothing in the json spec requires that numbers are limited to those internally representable in a javascript runtime. With the right tooling, you can encode/decode very accurate numeric values. I'm not familiar with the go libraries, but python's simplejson has a use_decimal flag that interprets floats using python's Decimal module.

That said, I can't think of any reason a web server needs super accurate numbers. All the config options I can think of require nice round ints. Maybe specifying weights to individual backends to proxy to (so all the weights sum up to 1.0)?

← PreviousPage 5 of 13Next →