This is a project I’ve been working on for the past quarter for my EE47 class. I didn’t want to make just a personal music player, but instead a personal music performance - and this is the more-or-less first prototype of that. It could be described as a “virtual turntable”: you load songs into it, and then you can play them back as if they were on a record. You can slow down or speed up the record, or grab it and scratch it.
Filed under: Uncategorized fyhuang @ March 24, 2009 4:31 pm
While shopping on Amazon and Newegg, I’ve come across a most frustrating problem. Both websites offer a sorting feature where you can view items in a particular category usually by price or name or release date or things like that. Both also allow buyers to rate items after they’ve used them, and allow potential buyers to sort the items based on other customers’ reviews. There is a fairly frustrating problem with this system, however.
Both Amazon and Newegg (and presumably thousands of other online stores) sort by average customer rating when told to sort by rating. If I were shopping for, say, computer monitors on Newegg, and I was looking for one that was reliable and rated highly by a lot of people, the average rating system might be misleading. Say there is an HP monitor for sale, which 500 people bought and liked. One person, however, bought it and found a few dead pixels (manufacturing defect - it happens), and so rated it low. The monitor’s average rating would be 4.98 out of 5.00 or something like that.
Now consider a no-name monitor that one person bought and liked. He or she is the only person to have ever rated this monitor, and rated it a 5, making the monitor’s average rating 5.00. 5.00 for this no-name monitor is higher than 4.98 for the HP monitor - this would put the no-name monitor higher up on the list if I asked Newegg to sort by “Best rating”.
For a selection of two products this seems like a minor problem, but if I were looking for, perhaps, a new DVD burner, the hundreds of products which received two or three 5.00 reviews would fill up many pages of my search with irrelevant products - I would not consider one or two people rating a product a 5.00 to be an accurate indication that the product is, on the whole, reliably constructed. I would have to wade through all those pages before I found the first product rated by more than about five people.
There must be a better way to sort products by customer rating than simply by average rating, which produces misleading results. Newegg’s sort by number of ratings is better but still not exactly it. What if five hundred people bought a product and rated it badly? I think a better solution might be some sort of weighted average - 4.98s can be pulled higher than 5.00s if they have more ratings. Something along the lines of (score * number-of-reviews), so that the 500 5.00s that the better product received counts more than the two 5.00s that the inferior product received.
Here is an original composition I wrote, called Grace, for flute, clarinet (in Bb) and piano, based somewhat on the hymn “Amazing Grace”. I’m providing it for free, under copyright, but if you decide to perform it, I would appreciate it if you would let me know!
(Update: in retrospect, I have realized that this article is perhaps not so well written. Expect something more useful and coherent soon!)
Linux seems like the perfect solution for the new brand of portable PCs, netbooks. It’s efficient, requires few resources, and can run most if not all of the programs one usually runs on such small computers - word processing, email, web browsing, and so on. Large, complex software packages that require Windows to run perform abysmally on low-power computers like netbooks, so effectively the need to run Windows is nullified.
Why, then, do consumers (and reviewers!) choose Windows over Linux for netbooks?
Read more…
Filed under: Reviews fyhuang @ December 29, 2008 6:24 pm
It doesn’t work.
Okay, that’s a little bit unfair; it’s probably more accurate to say that it doesn’t work as expected. The Tuniq Sanctum hard drive enclosure is a 5.25” bay device that holds a 3.5” (or smaller, I suppose) hard drive, and purportedly not only reduces the noise output of the drive but also helps to keep it cool. This device, unfortunately, excels at one aspect of its claimed purpose and fails at the other. While it does indeed keep noise levels down very acceptably, the Tuniq Sanctum enclosure, due to the lack of airflow inside the device, fails to cool the hard drive adequately. In fact, leaving the hard drive inside the enclosure will probably decrease the hard drive’s lifetime due to the 60+ degrees Celsius temperatures sometimes experienced inside the device.
Read more…
There’s been a lot of talk recently about why PC gaming is “doomed”, mainly because of the ever-growing amount of PC game piracy. I don’t necessarily think that PC gaming is doomed at all, although I do think there will be a significant shift in the way the PC game market works - towards a more controlled distribution model, perhaps, like Steam.
This is what I think about piracy, however. It’s a self-sustaining cycle, in a way: high video game prices encourage gamers to pirate games instead of buying them, “forcing” video game manufacturers to raise prices or keep prices high in order to not lose revenue. Those high prices in turn continue to encourage piracy. This loop is not necessarily unbreakable, though there are several factors that, in my opinion, contribute to its sustenance:
Read more…
Filed under: Articles fyhuang @ December 9, 2008 10:49 pm
This is a neat trick I found in Firefox. This works at least in Firefox 3 and may also work in Firefox 2; I do, however, encourage you to upgrade if you’re still using Firefox 2, as the third release brings about many needed enhancements in performance and memory usage. Using a bookmark, one can turn the location bar into a sort-of command parser, thereby creating a sort of “keyboard shortcut” for that bookmark. This in effect allows you to create your own custom “keyboard shortcuts” or “location bar commands”. Here’s an example of how it works. Say I want to create a shortcut for Google Image Search. I can go to the Image Search page, and right click the box, and select “Add a keyword for this search”:
Enter some name for your search; the name doesn’t matter. (Alternatively, you could simply create a new bookmark; its target (“location”) should be something like http://www.google.com/search?q=%s, where %s represents what will be searched on. Right-click the bookmark you just created and click “properties”.) This dialog box will pop up:
In “keyword”, type the “command” that you wish to use to access this shortcut. In this case, I would use something like “imgs” or “is”. One-letter keywords do not seem to work very well. Once you have entered the keyword and closed the dialog, you can type in the location bar (press CTRL+L to get there quickly):
imgs cute puppies
Press enter, and behold your search unfolding before your eyes.
Here is the updated version of my previous authenticating/forwarding Squid 3 config. It adds some things and fixes some things. In particular, the peer exclusion rules from the previous config were not working - this one should correctly not use the parent proxies when querying “local addresses”. As before, the configuration file contains two proxy servers for load balancing; it can be extended easily to include more. Read more…
Last time I wrote about trying to find casual games for medium/large-group social events. We can split multiplayer video gaming into a couple of vaguely-defined categories; I’m going to use the term “casual” or “social gaming” to refer to medium-scale social gatherings that involve video gaming; hardcore gaming, of course, is all about the game; and we might perhaps call the last group “LAN party gaming” to indicate a middle ground between casual gaming and super-intense gaming.
Filed under: Uncategorized fyhuang @ October 31, 2008 8:29 pm
This is a mouse that was once broken but is now healed. (A mechanical switch on the circuit board was broken; upon fixing that, the mouse works almost like-new.) I was actually quite surprised at the extreme simplicity of the actual mouse hardware - a couple of resistors, capacitors, an LED for the sensor, and the sensor chip itself. It seems to me that the costs for building such a mouse must be rather cheap indeed. In fact, I wonder now about the optical trackballs out on the market today - mine (the Kensington Expert Mouse) is to all appearances just an upside-down optical mouse with a ball and a couple of extra buttons; would it be perhaps possible to construct my own perfectly-functioning trackball with only cheap optical mouse parts?
Problems with the Linux desktop
(Update: in retrospect, I have realized that this article is perhaps not so well written. Expect something more useful and...
Causes of video game piracy
There’s been a lot of talk recently about why PC gaming is “doomed”, mainly because of the ever-growing amount of PC game...
Firefox bookmark shortcuts
This is a neat trick I found in Firefox. This works at least in Firefox 3 and may also work in Firefox 2; I do, however, encourage you to...
Updated Squid 3 configuration
Here is the updated version of my previous authenticating/forwarding Squid 3 config. It adds some things and fixes some...
Social gaming? Try HoMM 3!
Last time I wrote about trying to find casual games for medium/large-group social events. We can split multiplayer video gaming into a...
Reviews
Tuniq Sanctum HDD cooler/silencer
It doesn’t work.
Okay, that’s a little bit unfair; it’s probably more accurate to say that it doesn’t work as expected....
Kensington Expert Mouse 7.0
Superior tracking, excellent usability, and a polished design make this trackball worth the price.