Syzygy


Wednesday, November 11, 2009

Physics do not apply in the Star Wars universe.

I'm not just referencing Solo's "Kessel Run in less than 12 parsecs" claim, which can be explained away as a boast about navigational and piloting ability rather than ship speed. (Though there may be relativistic reasons for why speed would affect the ability to accomplish the Kessel Run in a shorter distance.)

In the latest BrickMaster (LEGO's magazine), there's a fake ad from Koensayr for the Y-Wing that claims "Goes from 0 to 2,700G in less than a parsec!" I was going to try and figure out what that meant, and then realized that 2,700G is acceleration and parsec is distance! When car manufacturers boast that a car goes from 0 to 60 in 4 seconds, what they are bragging about is acceleration, that within 4 seconds, the power is such that the car can be accelerated to 60 mph from rest. What the hell does 2,700G mean? (Besides the fact that G is meaningless in Star Wars unless it references a specific planet.) If we take G to be 10 m/s^2, then 2,700G = 27,000 m/s^2. At that acceleration, it would take about 7 seconds to accelerate to lightspeed. I'm fairly certain that's not possible in the X-Wing flightsim games. Hyperspeed, yes, STL acceleration, no way.

Labels: , , ,

Why I hate MS more and more...

I used to be fairly positive towards Microsoft in the past: sure, OS X is a much nicer experience, indie applications for the Mac are polished to a much higher degree than on Windows, and the free (!) IDE in XCode is quite good, but Windows has to deal with backwards-compatibility, it is *the* platform for PC gaming, and sometimes Microsoft Research churns out some cool stuff.

Still, I find myself more and more annoyed by Microsoft's UI design sense (or lack thereof). Perhaps I have merely become spoiled by living on a Mac or become more observant due to reading Siracusa's rants (exhibit A, exhibit B). Yes, Apple doesn't listen to its own UI guidelines - everyone (well, anyone in the "know") admits that - but sometimes this gives us good things. (And sometimes, horrible abominations), but at least it has the good sense to make sure at least one engineer brings key interfaces up to new UI standards. (Yes, I'm talking about the control panel UI crap shown here.)

I feel like Microsoft has become a company with no guiding vision - some people work on cool things, some people work on the behemoths known as Windows and Office, but there's no one there with the bullwhip making sure things are consistent. Just look at the Office UI - for something that is the de facto office productivity suite, you'd think they wouldn't just up and change the interface on us. (but that's what Office 2007 did). And then when they released the next update for OS X, you'd think they'd fix things or add functionality, but instead they removed VBA scripting. And if the Ribbon is such a GREAT UI idea, why isn't it in Office 2008? Yes, I hate the Ribbon, but it's super-annoying when I'll work on something at school, transfer the file to home, and suddenly wonder why everything behaves differently. Formatting titles in Excel charts used to be so easy! I do like the fact that Office 2008 UI behaves more traditionally, but what I don't like is the formatting palette that is clearly an Inspector Tool wannabe. Do the people at the Mac BU not know how to make OS X native apps, do they just don't care, or are they hideously understaffed? (maybe all 3?)

One would think that Office 2008 would run faster than Office 2004 on an Intel Mac (because 2008 is a Universal Binary and 2004 is PPC-only and requires Rosetta). Nevertheless, I find that Office 2007 running on emulated Windows XP using half the memory and one core still runs rings around both "native" Office versions. (at least as far as computation in Excel is concerned.) Any version of Excel still seems to be faster than the Numbers app in iWork, though...

I already use Keynote for presentations, and Pages / LaTeX for word processing - can someone please make me a good/fast spreadsheet app so that I can put Office out of its misery?

Labels: , ,

Tuesday, October 20, 2009

The quest for resolution independence

I sent this in an e-mail to a friend who was complaining about the lack of high DPI (dots per inch) consumer-grade LCD desktop displays. (Some models do exist, but are intended for the medical community and are pricey.)

A comparison of DPI for previous/current Apple computers and display products

Laptops:
13.3" (1280 x 800) = 113.49 DPI
15.4" (1440 x 900) = 110.27 DPI
17" (1920 x 1200) = 133.19 DPI

Cinema displays and old iMacs:
23" (1920 x 1200) = 98.44 DPI
24" (1920 x 1200) = 94.34 DPI
30" (2560 x 1600) = 100.63 DPI

New iMacs: (note that these are now 16x9, suitable for watching "widescreen" video without black bars instead of the 16x10, which is much more common for widescreen computer displays)

21.5" (1920 x 1080) = 102.46 DPI
27" (2560 x 1440) = 108.79 DPI

And while Apple has touted a push for resolution independence (along with 64-bit) for a while now, some things still appear to be broken (at least in the first Snow Leopard release. I haven't installed Snow Leopard yet, so I can't say if it's been fixed since then.):

http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/21
(scroll down to the Resolution Independence section)

On a further note, I do have minor gripes about the 16x10 computer displays, since my current HP display scales up widescreen input (via component) to the full size, so video games are stretched vertically ever so much (+11.1%). I believe this is simply because component is analog, and is being decoded by an onboard chip that then gets sent into the analog to digital converter (probably the same one that would decode a VGA signal). Not sure if this is still an issue on the newer LCD displays from HP and Dell that take consumer digital inputs like HDMI. (not that I have a PS3 or 360 to test anyway) I imagine it's still an issue with component video in. On the other hand having 16x10 IS useful for watching 16x9 video, because the black bars allow for UI popup that does not obscure the video at all.

Labels: , , ,

Tuesday, September 1, 2009

The Snow Leopard Cometh

Well, Snow Leopard is out, and I've read the review. Here's my brief rundown:

Pros:
- performance improvements (resolving that dreaded kernel_task/CPU/overheating issue somewhat, I hope)
- decreased size (freeing up a few GBs for my paltry 80GB hard drive)
- gamma 2.2 (so I don't have to worry about color differences when my website is viewed on Mac vs. PC)

Cons:
- 64-bit apps (breaking the widescreen hack to Mail and the SIMBL-based color hack to Terminal) [these are not insignificant UI fixes that would not be particularly difficult for Apple to implement natively...]

Things I'm excited about that don't affect me at all:
- XCode 3.2 & Clang (cuz who doesn't like a compiler with a metallic silver dragon logo that doesn't support the programming language you use)
- QuickTime X (cuz hardware-based H.264 acceleration is nice IF your graphics card/chipset is supported)

Labels: , ,

Wednesday, July 1, 2009

wonderful security lesson from UCSD

From UCSD (summarized by me):

How to use the UCSD encrypted wireless network:

1. download this file from our website
[note: safari wouldn't let me save it as it was, forcing me to change the extension when saving, and then changing the extension back after it was downloaded]

2. double-click the icon

3. if it asks you for your password, enter it in and click ok

[...]

Yes, I was told to download a file, open it, and enter in my computer's password. Hmmm, if I didn't know what was actually going on, this would set off all kinds of warning bells. It is so nice that UCSD neglects to explain what it is I am doing and why I should click the "always trust" button when "this root certificate is not trusted", because any potential scammer/botnet creator/hacker/identity theft is sure to explain the mechanics behind why a root certificate is not verified and why entering in my password is ok.

Labels: , ,

Thursday, June 25, 2009

Histograms in Excel for Mac 2008

While I do have a whole 'nother post coming up about the failings of Excel 2008, one major issue that was resolved is the analysis toolpak causing Excel 2004 to crash. "Luckily", this problem is fixed by removing VBA from Excel 2008, which means there is NO analysis toolpak. Not that it was ever great to begin with, but I guess histograms are nice. Anyway, I figured people might actually want to do histograms of their own. To that end, I created an excel file that does histograms.

Some of the stuff is a bit of kludge, but I'm sure it's fairly self-explanatory: put your data in column A, and the number of points in the appropriate cell. If you need more bins, change the number of bins and adjust the chart accordingly.

Link Here

Obviously, this is intended for Excel 2008 (and 2007), but it should be backwards compatible with earlier versions, as long as you have the necessary updates to read the new file format.

Labels: ,

Monday, June 22, 2009

You keep using that word [logic]: I do not think it means what you think it means.

From Francis Collins, who argues the following as scientific evidence for God:
An additional set of observations I found quite breathtaking and do to this day is the fact that the physical constants that determine the nature of interactions between matter and the way in which energy behaves have precisely the values they would need to have for any kind of complexity or life to occur.


I interpret the argument to be thus:
(1) the physical constants necessary to support life are extremely rare
(2) because the life exists, then God must exist.

I am skeptical that (1) is true, since we don't know ANYTHING about extraterrestrial life to say what could or could not be supported by different physical constants. It is outside our realm of knowledge to say that lifeform X could not exist under conditions Y because we don't know about all the different types of X or even all the different types of Y.

But for argument's sake, let's suppose you accept (1). Then you hit the BIG logical fallacy:

Because life exists (and the conditions to support life are astronomically rare), God must exist.

Which is completely ass-backwards, because the logical sequence of events is:

God exists => the physical constants of the universe are tuned perfectly => life exists.

Since we are alive, this statement CANNOT be disproven. It can only be disproven if we find (a) perfect tuning of physical constants of the universe and (b) the LACK of life. By definition, it would seem difficult to both determine the physical constants of the universe while not being alive and also proving that no life existed elsewhere in the universe.

This is an extremely basic logical fallacy that I learned about in 8th grade in the math unit on logic, but I'm sure I had an intuitive sense of why this was incorrect earlier than that. Claiming that this is "scientific evidence" for God is just plain BS, cuz last I checked *real* scientists (and scientists-to-be) use logic.

Labels: , ,

Friday, June 5, 2009

11-year old genius, my ass

From the 11-year old graduating from East LA Community College:
"I feel it's a waste of time playing video games because it's not helping humanity in any way"

Yes, but so too is martial arts. (unless perhaps, you go into special forces. Let's not even mention his goal of being a movie actor...) For mental well-being, people do all sorts of activities to relax. Sure, some of them help humanity (volunteering at a homeless shelter, for instance), and some of them don't (yoga, television, video games). To take a stance on video games when you yourself are engaged in activities that don't help humanity is simply hypocritical.

Of course, calling an 11-year old a hypocrite is just plain silly, but when you're being put on a pedestal for graduating from college early, I feel justified in attacking your narrow view of the world.

And just to be clear, graduating from a community college when you are 11 is NOT a big achievement. I have no doubts that this kid is gifted, but to claim that he has thoroughly mastered any academic subject is a bit of a joke. The 14 year-olds making groundbreaking achievements in mathematics are geniuses; all this kid has shown is that he can read and recite from textbooks. His description of wormholes clearly demonstrates a lack of deep understanding of the topic.

Labels: , ,

Wednesday, May 20, 2009

this is NOT fiscal responsibility

Apparently, the governator intends to take the unconstitutional law on selling violent video games to minors all the way to SCOTUS after having been rejected by the 9th Circuit court of appeals. (via ars technica)

Still, I guess it's chump change compared to the massive amount of bond-based borrowing that was authorized by last year's Prop. 1 to build a high speed rail.

Labels: , ,

Wednesday, May 13, 2009

Fisheries, Finance, and Physics

[edited for clarity]

See what I did there with the phonetic alliteration? :)

Q. What is the difference between the LHC (Large Hadron Collider) and Banks?

A. Black holes created by the LHC are more transparent about where stuff goes...



One theory about the potential dangers associated with the LHC puts the risk of it destroying the Earth at 50-50 (watch the clip!). Of course, this must be qualified by examining the probability that this theory of assessing the risk of the LHC is correct (0%). Other estimates of the risk posed by the LHC suggest that the probability of destroying the Earth is at 10^-9. As Ord, HIllerbrand, & Sandberg rightly point out, this should be qualified by the possibility that the model is incorrect or that calculation errors have been made.

In most cases, it is impossible to gauge the failure probability for something like a single bolt on the space shuttle. In these cases, mathematical models are often used. Clearly, estimates of the probability of "rare" events need to take into account the possibilities that the models used to generate such probabilities are accurate.

Andy Haldane describes a similar problem with how the financial industry assessed risk: some of the initial events that sparked the issue were "unlikely"* Well, either we are extremely "lucky" or the model is incorrect. Unless you can demonstrate to me that the probability of the latter is less likely than seeing that kind of impossible event, I'm going to bet that someone somewhere screwed up. In fact, it's plain to see from Chart 1 of the notes for Haldane's speech how this could happen. In the chart, data collected over the last 10 years (1998-2007) suggested that the probability of negative GDP growth was, effectively, zero. Looking over the whole sample of time (1857-2007) in which this data has been collected, however, suggests that negative GDP growth occurs maybe 15% of the time. That doesn't seem like a big difference, but when you bet billions of dollars on what you think is a sure thing (non-negative GDP growth), but actually occurs maybe 1 in 7 times, that's an f-ing big risk.

What does this have to do with Fisheries, you ask. Well, according to the Magnuson-Stevens Act (yep, THAT Ted Stevens), "Conservation and management measures shall be based upon the best scientific information available.". I suppose this means that fishing should not be a level where there is a significant risk of collapse. (whatever significant means...) Of course, the estimation of collapse risk is done using a model, which is fallible, possibly with high probability. If your best available science is not very good, is that sufficient to go plowing (or trawling, I guess) ahead? Your "best" model may suggest that you can fish 100,000 tons per year with < 1% chance of collapse, but if your model is only ~80% accurate (which is really good for fisheries models!), the upper bound on the probability of actual collapse is closer to 21% (0.8 * 1% + 0.2 * x, where x is unknown, but up to 1, potentially).

Logic and stats are nice when they're applied correctly, but more often than not, their use is exaggerated. And part of the blame does rest on the shoulder of scientists, who necessarily play up their results to get funding/acclaim/jobs. Still, that *is* why we have scientists advising the government, right? So that government officials will be able to take the best information available to make decisions? (and then we cross our fingers that our elected officials (or their appointees) know enough to weigh information properly...)

* shifts on the order of 25 standard deviations, which Andy calculates to occur roughly once every 10^135 years or
1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 years.

1) Ord, T., Hillerbrand, R., & A. Sandberg. Probing the improbable: methodological challenges for risks with low probabilities and high stakes. [preprint] (2009).

2) Haldane, A.G. Why banks failed the stress test. [speech] (http://www.bankofengland.co.uk/publications/speeches/2009/speech374.pdf) (2009).

Labels: , ,

Tuesday, April 7, 2009

Is this what you call change?

This is exactly what I was worried about when Obama turned around and supported telecom immunity after he said he wouldn't...

From Salon:
But the Obama DOJ demanded dismissal of the entire lawsuit based on (1) its Bush-mimicking claim that the "state secrets" privilege bars any lawsuits against the Bush administration for illegal spying, and (2) a brand new "sovereign immunity" claim of breathtaking scope -- never before advanced even by the Bush administration -- that the Patriot Act bars any lawsuits of any kind for illegal government surveillance unless there is "willful disclosure" of the illegally intercepted communications.

One step forward, one step back...

Labels: ,

Tuesday, February 17, 2009

Why Carbon Sequestration is Probably a Bad Thing

The US Department of Energy is planning to start this week on a large-scale project for carbon sequestration in Illinois. So why is this a bad thing?

Well, let's suppose, in hypothetical candyland where government projects do what they are supposed to, without negative side effects, on-time and on-budget, that this project succeeds. Ok, good for us, we've removed CO2 from the atmosphere. I applaud your efforts DOE.

This does NOT solve the problem of rising energy needs. Rather, I believe the effect may even be in the opposite direction. Psychologically, the idea that CO2 emissions can be reduced "magically" will diminish efforts to change behavior to reduce CO2 emissions in the first place. And that IS a major problem. Fossil fuels WILL run out (or be hideously expensive) within a few decades at current rates of consumption (and growth in consumption). Running out of fossil fuels without the energy infrastructure to replace them is going to cause a major global crisis that will not be resolved easily. Not to mention, petroleum by-products (plastic) have vital uses and are even more important for a lot of products we commonly use.

Climate change is only one of the major global problems that needs to be addressed in the near future (i.e. this century). And CO2 emissions are only one facet of that problem. As reported by Arstechnica from the AAAS meeting, the numbers for replacing fossil-fuel energy production with "renewable" sources is already extremely daunting. The most economical/efficient way to address that problem is to tackle it from multiple directions: improved efficiency (less usage, less waste), increased production from "renewable" sources (e.g. solar, tidal, wind, etc.), and finally carbon-scrubbing to reduce CO2 concentrations back to pre-industrial levels (i.e. 280 ppm atmosphere, and slowly equilibrate the oceans to that level). Introducing a carbon sequestration project is putting the cart before the horse: we should be focusing on the SOURCE of the problem (energy consumption) rather than simply mitigating the aftereffects because it is the most publicly recognized facet of the problem.

But, in the end, I guess Congress is a lot better at punting the problem and buying time, than in spending preemptively to alleviate future problems. Unfortunately, I happen to be one of those young'uns who is going to end up paying for the mistakes of the past. (*cough* war on terror, social security, etc.)

Labels: , , ,

Saturday, February 14, 2009

DRM comments

Here is the comment I sent to the FTC for their upcoming workshop on DRM:

I share the opinion of several others that there are aspects of the Digital Millenium Copyright Act (DMCA) that are particularly disruptive for consumers such as myself. Specifically, making the bypassing of Digital Rights Management (DRM) illegal is restrictive towards the needs of certain users. I built my desktop computer with a high-end monitor, and surround-sound speakers. In the interest of playing blu-ray high-definition (HD) movies, I began considering the purchase of a blu-ray drive to install in my computer. However, upon further research, I realized that playing back blu-ray movies would not be so simple. Because of High-bandwidth Digital Content Protection (HDCP), a form of DRM on blu-ray discs, I would need to purchase a new video card that supports HDCP, a new monitor that supports HDCP, a new sound card that supports HDCP, a new receiver, in addition to software and "upgrading" to Windows Vista. Similarly, if I were to purchase a consumer blu-ray player (such as a PS3 or other device) I would need to purchase a new monitor and receiver to view/hear HD content. Needless to say, I was disheartened. Alternatively, if I downloaded blu-ray movies from the internet, there would be no such restrictions and I would be able to play HD content without

I fully support the entertainment industry by purchasing content legally. My personal feeling is that artists, writers, producers, etc. should be rightfully rewarded for their efforts. However, I do not like being forced to purchase hardware because of these restrictions. In effect, I am being punished for trying to play HD content the ONLY legal way. In addition to downloading content (a copyright violation) I could also use software to “rip” HD content to my computer for playback without needing a new video card / monitor / sound card / etc. However, under the DMCA, this manner of bypassing DRM is illegal.

As many have pointed out and will continue to point out, DRM is ineffective: it restricts users such as myself from enjoying the full freedoms of legally purchased content that are enjoyed by those who obtain such content illegally. As noted by security experts, DRM will always be imperfect: there will always be people who will be able to hack/crack/break the encryption and make the content freely available on the internet to download. DRM only creates shackles for legitimate users.

Furthermore, I would like to point out that this issue has been present for some time. DVD's which have CSS, a form of DRM, require a player that is capable of decrypting the content. However, such players, to my knowledge, were never legally available for users who run Linux operating systems. As such, a program, DeCSS was created in 1999 that bypasses this form of DRM and is illegal under the DMCA. The Motion Picture Association of America (spec. its former president, Jack Valenti) had promised to create legal DVD player software for Linux that would enable users to view DVD's with CSS encryption. However, to my knowledge, they have failed to follow through on this: thus, users who wish to play CSS-encrypted DVD's on a Linux computer can only use illegal tools to bypass the DRM

Industry CANNOT be trusted to follow through on their "promises" to facilitate use of legally purchased content for consumers and end-users. The only option for individuals, then, is to bypass DRM illegally, download content illegally (copyright violation), or forgo such content. The primary purpose of government is to protect the rights of individuals. Thus, the FTC should regulate the ability of industry to abuse DRM: creating additional exceptions to the DMCA for individuals to bypass DRM to enjoy content legally is a vital action to protect individual rights and freedoms.

Labels: , ,

Tuesday, January 13, 2009

Why I hate programming

There are generally two approaches to programming: The first approach (which is highly recommended) involves having a mental model of what the code will do, for which the only bugs that appear will be mistakes in typing, or algorithmic errors. These two types of errors are fairly easily distinguished, especially since typing mistakes usually pop up as errors during compiling.

The second approach involves writing code in very short sections at a time, and then fixing any bugs that may appear during compiling or running. One of the main problems is simply that bugs may be due either because a bit of code didn't do what you wanted it to do OR your algorithm was incorrect, in which case major pieces of code need to be rewritten. Another problem is simply that this method is extremely tedious. It is analogous to solving algebraic equations through trial-and-error. Sure it works, even if you don't know algebra, but ultimately we end up teaching everyone algebra.

This analogy also gets at the heart of the difficulty with the first approach: in addition to requiring would-be programmers to learn a language's syntax, they must also have a good (i.e. accurate!) mental model of how the language works. Once this model has been internalized, developing code becomes simpler and straightforward.

The problem I have with certain programming languages is that sometimes they do some things that are non-intuitive to me. Consider the following bit of code in Matlab:

A = ones(3, 5);

which creates a matrix of 1's with 3 rows and 5 columns (yes, it's silly, but bear with me.) Now, consider a slight variation on the code:

B = ones(3);

My initial mental conversation for what this code does might go something like this: "well, in the first example, we gave two arguments and got a two-dimensional matrix, so it makes sense that in this example, with only one argument, we should probably get a one-dimensional matrix. Since the first argument in the first example dictated the number of rows, B should have 3 rows, and be a column vector."

"Hah," Matlab says, "you expected a column vector, but instead, I'm going to give you a square matrix, with 3 rows and 3 columns."

To which I respond, WTF. If I wanted a 3x3 matrix, I could have just as easily called ones(3, 3); BUT, for some reason, probably historical, "people" expect ones(3) to return a square matrix rather than a vector, so that's what Matlab is going to give you. If you actually DID want a vector, you would use ones(3, 1) or ones(1, 3) depending upon your preference for rows vs. columns.

I should note that Matlab does indeed support 3-dimensional matrices:

C = ones(3, 5, 4)

which is equivalent to 4 3x5 matrices stacked on top of each other. When you need two dimensions, you don't need to specify 1 as a third argument, but when you only need one dimension, you DO need to specify 1 as a second argument. Not only is nonintuitive (to me), but it now becomes inconsistent as well.

Now let's take a look at a beautiful R example I just saw today:

x <- 1:10
length(x) # returns 10
length(x) <- 20 # now extends the length of vector x to be 20 elements

First of all, I should mention that R traditionally uses <- as an assignment operator. The introduction mentions that "In most contexts the '=' operator can be used as [an] alternative." It does NOT say that they are equivalent (or why would it say "most contexts"), but it also fails to mention cases where <- and = might work differently. To this, I am left puzzled.

The problem I have with this example is the third line. In the second line, length(x) returned 10, which we can guess intuitively returns the length of the vector x. However, the notation length(x) indicates that length() is a function, NOT a parameter for an object. The usage of a function is fundamentally different from simple value assignment, such as:

y <- 20

In the latter example, y is a variable, and thus is the target of assignment rather than something to be evaluated. A function, on the other hand, is different, because it is, well, a function. Users can write their own functions, with appropriately specified return values. Note that the user-defined functions operate in ONE direction only: arguments are specified, some stuff is done, and sometimes, a value is returned. To have that value then be the target of an assignment completely boggles the mind. In addition, it cannot be done with all functions. For instance, the following code gives an error:

x <- 1:10
sum(x) # returns 55
sum(x) <- 20 # error:
Error in sum(x) <- 20 : could not find function "sum<-"

In fact, the error does tell us something about the internal model for R: the message about "sum<-" not existing suggests that what is actually going on in the first example is that there are two DIFFERENT functions called length, and that "length(x) =" is actually syntactic sugar for some other function called "length<-".

The very nature of syntactic sugar should be to make a language easier to learn/type. However, in this case, it has only made me more confused...

Labels: , ,

Saturday, September 6, 2008

the SACD side of the equation, and why Sony sucks

After investing in a decent audio setup, I then discovered the world of SACD, where thousands of classical albums were available with better audio and multi-channel output. That's great, I thought, how do I get started?

Well, besides the hardware requirements, one should be aware that SACD discs usually have multiple audio formats on them, a regular layer that plays fine on a normal cd player, and a new layer that contains HD content that can only be played back on an SACD player. Oh, but the fun doesn't stop there, the SACD layer is encoded in DSD, which outputs only through HDMI (or some obscure thing predating HDMI). (I'm not clear yet whether this is because of bandwidth limitations, DRM, or both). Regardless, this means that you can't use optical (either due to bandwidth limitations, or processing power to convert a DSD signal into DTS). However, most SACD players will output in analog, but this requires conversion into linear PCM format, which is not quite as nice as DSD.

Oh, and then you need the hardware to playback DSD. If you're just using analog, then any standard hardware will do, but as of now, it seems as though most A/V receivers that play DSD are rather expensive. Although, the Yamaha RX-V661 is pretty inexpensive at < $400, but it doesn't seem to have HDMI 1.3 spec, so it may not do SACD over digital (HDMI). (I'm still a little confused about this issue.)

So where does Sony fit in with this picture? Besides the fact that Sony dropped backwards compatibility on the newer PS3's (even after moving from hardware to software emulation), they dropped a bunch of other features as well: flash card readers, and SACD support. "Fine Hao, so buy an older PS3, or trade a newer one for an older one." First, the only real advantage to a newer PS3 is that it is produced on 65nm instead of 90nm, reducing power usage and probably fan noise. (Well, I guess you could also have an aversion to chrome trim.) Another issue is the fact that the PS3 has never supported DSD playback for SACD, but converted to PCM. There were hopes that Sony would release a firmware update to enable DSD for SACD over HDMI, but that seems unlikely now that the new PS3's no longer play SACD's at all.

That being said, I am optimistic about future prospects. Right now, if I had to buy an SACD player, I would go with the Oppo 980. Yes, the 981 and 983 do a slightly better job of upconverting video, but the 980 does a much better job of SACD. (There are issues with enabling DSD over HDMI in the 983.) Plus, it converts to analog for my current needs, but also supports DSD over HDMI for any future receiver purchase.

Labels: , ,

Thursday, September 4, 2008

the problem with education

is that it is not a single-fold issue, but ridiculously complex, kinda like climate change. The "problem" cannot be solved by any single solution.

As I sit here, grading stats hw late into the night, it really really really bugs me that for some of these homeworks, the quality is just abysmal. I will admit that my motivation to grade is affected dramatically when I see sloppy organizing, sloppy handwriting, unfinished answers that are just put on paper so students can make a half-hearted grab for partial credit. There really is a bimodal (or trimodal) distribution here between those that "get it", those that "don't get it", and those that "don't get it" and "don't give a damn".

I don't understand how you can be at a school like UCSD, paying money to take a course over the summer, and not try and do better. Why do we have financial aid that is independent of merit? Wouldn't it be better to put those millions into better schools for the motivated, but underprivileged grade school kids? $10k+ per year goes much longer in an elementary school than it does for an unmotivated college student.

The issue of motivation gets discussed a lot, and again, a lot of the proposed solutions are narrow-minded. Yes, consistent punishments and rewards are good as external motivations, but ultimately internal motivations are more important. I'm sure it does work for many students, and may even result in change of hearts, but I think there are definitely some that just stop trying in the absence of the appropriate reward/punishment framework. Again, I think a lot of people blame things like our culture and society (let's free tibet, and save Darfur! Screw Bill Nye and Reading Rainbow!) But that's still only one facet of a complex problem. My friend K thinks that motivation issues can be solved by making high school voluntary, which is a not entirely novel idea that is wrought with implementation issues. Trying to apply motivation psychology research to teenagers just doesn't sound like a brilliant way to fix education...

Of course, any attempts to engineer a culture that admires hard work and effort on a governmental scale is also easily seen as government interfering with things they shouldn't mess with. The problem is, though, that without intervention, we end up getting stuck with reality shows, celebrity coverage, and sometimes the two combined together.

Chalk this up to my late night cynicism. I'll feel much more optimistic in the morning. At least until I see the stack of ungraded homeworks...

Labels: ,

Friday, August 29, 2008

The HD dilemma

I have a nice computer. I have a nice monitor (23" LCD hp 2335, 1920x1200). I have a nice audio setup (Sondigo Inferno w/ optical out to Onkyo 5.1 speaker system). I want to watch blu-ray movies.

Simple, I thought, I'll just buy a blu-ray drive. I wonder how much they cost. Hey look, I can get a Pioneer blu-ray drive that also burns DVD's for $160. Great!

Oh, but I guess I need software to play blu-ray disks. Hey, there's an even cheaper Asus drive that's a retail version with software. Oh wait, that software is crap and only does stereo: that's retarded.

Oh, and my setup isn't HDCP. Wait, WTF? I need a new video card, a new monitor, and it looks like the software to decode and play might not even be XP compatible? That is RIDICULOUS. THANKS A LOT, FCC. WAY TO CAVE IN TO HOLLYWOOD INTERESTS.

Here's the problem: there are three classes of people, only one of whom actually gets screwed over by this HDCP/DRM nonsense:

1: the uploaders/pirates: DRM isn't going to stop them. AnyDVD HD is available for relatively cheap and will do the job.

2: the downloaders: DRM already removed and files uploaded by pirates, so HDCP setup is not needed, just a sufficiently fast computer and software that isn't restrictive like the commercial Blu-ray playing software. XMBC apparently will do the job just fine, even on computers with anemic video cards.

3: honest consumers: willing to buy blu-ray drive, blu-ray disks, even reasonably-priced software to play back the movies. (even after using various free software to play back plain vanilla DVD discs) Not willing to upgrade to Vista, pay $100 to PLAY BACK A MOVIE, buy a new GFX card, and a new monitor.

So, you ask, what's the problem? Just use AnyDVD HD to rip a blu-ray to your hard drive and use XMBC to play it back. Sure, except for a couple of things:

1) I shouldn't have to give up 20+ gigs and ripping time to play back a movie I own when I have hardware that is capable of playing it.

2) Oh yeah, it's illegal thanks to the DMCA. Thanks a lot Congress.

PS: filed under TV as well, cuz of Blu-Ray Firefly. Mmm, naked Nathan Fillion Morena Baccarin.

Labels: , , ,

Monday, August 25, 2008

things that annoy me, part 1

The doors on the apartments in our new graduate housing complex. Which are NOT traditional locks, but fancy new card+code locks. The rationale behind installing them? Supposedly they make you more secure. I guess in the sense that if a traditional key were to be lost, the lock would be replaced, but here, a simple reprogramming can be done.

So what are the problems?

1) The card is our school ID card, which everyone generally agrees is lost more often than a key. Case in point, you take out your card much more often (such as to borrow books from the library). In addition, sometimes, your ID gets held as collateral (such as when you check out a table for a booth on Library Walk). Regardless, it would have made more sense to use a separate card whose single purpose is to open doors, rather than tack on another feature.

2) You need both a code and a card to open the door. Again, supposedly for security reasons. However, a lot of people use their apartment number as their code. In fact, that was a suggestion by the guy who set up our cards in the first place! So now, not only is the physical item (id card) to unlock the door easier to lose, but the code, which is supposed to be added security doesn't really add that much after all.

3) Apparently the doors can run out of batteries and stop working. I cannot tell you how awesome it is to be locked out because my door ran out of juice. There are at least 3 solutions to this problem that I can think of off of the top of my head:
- add an external crank for emergency charging of the lock so you can get in and replace the battery!
- add a warning for low battery power (I should note that the light is supposed to flash red after the door is unlocked when the battery is low, but I never noticed it if it did. The solution then is to flash red BEFORE the door is unlocked, adding in a noticeable delay before the door can be opened OR to have the door make audible beeps, like a fire alarm.)
- replace the batteries in ALL the apartments BEFORE the anticipated death of batteries. If they're supposed to last for 18 months, replace after one year, and recycle the batteries for something else.

Labels:

Monday, August 4, 2008

Red Alert 3

may be worth getting. I think RA2 did a good job with the story with some strange quirks (dolphins? psychics?), even under the hands of EA (we miss you Westwood!).

Still, one wonders about the necessity of a third rotor on the Soviet Twinblade unit: http://www.ea.com/redalert/factions-soviets.jsp?id=Twinblade

In a standard helicopter, the tail rotor provides the necessary balance to the rotational counter-force generated by a single main rotor. Without a tail rotor (or an unbalanced one), when the rotor spins one way, the helicopter body should spin the other way. This is countered by the tail rotor which adds the necessary torque to counter this spinning. However, with 2 main rotors spinning in opposite directions, no tail rotor is necessary, since the rotational counter-force is canceled completely. Just look at the V-22 Osprey.

*sigh* I guess this is another instance of how when developers do research to make their games realistic, no one notices (because it's realistic), but when something goes wrong, people pick up on it.

Labels: , ,

Monday, February 18, 2008

I get comments. seriously!

I generally don't expect comments on my blog, for a number of reasons:

1. I'm too lazy to post regularly.
2. I'm too lazy to format everything to look pretty.
3. Have you seen the breadth of topics that my posts cover. Not just strange popular culture, but really really obscure references, technology discussions, rants about education, and restaurant "reviews".

Nevertheless, I was wondering why some recent posts didn't make it online, and it was because I hit "save now" instead of "publish post". So I went ahead and published some posts that had been sitting there.

and that's when I noticed that I actually had comments.

The first is from Kirk who thanked me for linking him. Not that it matters; I assume my pagerank is so anemic as to really do nothing for his. Still, one has to admire his dedication as a food blogger. I did some cursory searching for a similar-level of food blog in other major metropolitan areas (so I could find good places in LA, DC, and NYC on my visits there), but didn't have any luck. I guess that naturally raises the question of whether having a local food blogger count as an incentive to move to an area. *shrug*

The second is from my post on my USPC 2007 results:
"I love this blog. I myself have a special interest in Web Suduko"

It looks fairly normal, until you realize points 1-3 above. Also, running around the linked website reveals that it is probably some sort of phishing/scam site. The same content regurgitated across multiple posts with images and links to fishy places... My favorite part of the linked post has to be this section:

free online web sudoku

free web soduko

free web sudoko

free web sudoku

free web suduko

which is clearly designed to get more search engine hits. I guess the fact that the comment was located on that specific post should have been a dead giveaway. The only person who I could imagine having some interest in my USPC performance is J, and only because we discussed the competition afterwards.

EDIT:
And this time, I got spam about increasing your pagerank, etc., etc. To quote Strongbad, "DELETED!".

Labels: ,

Monday, December 3, 2007

chutzpah OR don't raise your kids in Texas

I've decided to add chutzpah to my vocabulary. I understand it comes from Hebrew and is not unlike that chinese phrase da(4) dan(3), meaning bold or brave. I first met chutzpah when reading about the China Airlines 737 that, well, exploded after landing in Okinawa. Surprisingly, everyone made it off ok, even the pilots that jumped out of the cockpit as the plane went up in flames. You can watch it on youtube. In a display of awesome chutzpah, China Airlines got permission from whatever transportation agency that is doing the investigation, to paint over their logo, so photos of it for future news stories wouldn't have their prominent logo. Not that China Airlines wasn't well-known for bad air safety to begin with. Besides all the major news outlets already had the story covered, with photos taken, as well as copies of that youtube video.

As far as Texas is concerned, it seems like their educational standards are going down the tubes. Not that anyone thought it was doing well before McLeroy was appointed the chairman of the state board of education, but still, one might have some hope that there were people trying to promote real science. Now that the story has traveled the blogosphere for a while, it looks like the major news outlets have picked it up: Chris Comer, the Texas Education Agency's directory of science was fired for forwarding an e-mail informing the recipients about an upcoming talk by Barbara Forrest. In particular, the NY Times article has an example of some amazing chutzpah: "Debbie Ratcliffe, a spokeswoman for the state’s education agency in Austin, said Ms. Comer 'resigned. She wasn’t fired.'" Which is technically true I guess. Although, it is more like a Hobson's Choice scenario when your alternative to resigning is to be fired.

As if you needed more reasons not to live in Texas.

Labels: ,

Friday, November 2, 2007

My plan to ditch Windows

Alright, let's be honest, in the past, an Apple computer never gave you quite the same performance/price point that the x86 computers had. However, that seems to have changed dramatically in recent years. Although Apple still suffers somewhat from not having a budget line (mac mini not withstanding), price-for-price, the mobile offerings are very competitive for their prices, especially when features are factored in. (such as hard drive size, bluetooth, integrated webcam, and overall physical size) Coupled with an ability to both boot Windows or run it virtualized, it seems silly to spend more than $800 on a Windows laptop, when you could pick up a Macbook for slightly more. Not only do you get a stylish computer, but you get a wider choice of operating systems. Even the Windows diehard can be satisfied, being able to boot directly into Windows, throwing out that Mac OS X cd and never looking back.

Sometime back, I told some of my friends that I didn't envision continuing on with Windows after XP. This was probably shortly after the freely available Vista RC1 crashed my computer hard, felt slow and bloated, and for what? a visual experience that felt like a cheezy overdone OS X? Now that Vista has been out for a while, and I've seen all the performance problems with it, I am all the more sure that my next desktop will be an Apple computer (having decided that Apple laptops were better ever since the debut of the TiBook). Obviously for computer gaming, it might still be necessary to boot to Windows, but there no longer seems to be a compelling reason to run Windows for random work or internet browsing-related computer use. To that end, however, it is necessary to find suitable replacements for all the software I use on Windows.

Programming
Matlab now fully supports Intel macs. So does Psychtoolbox. I can't say that I'm too familiar with XCode, but it seems more friendly to use than VisualStudio. Also, let's not forget all the very good free text editors that support code formatting and OS X's built in programming support with the developer tools installs. Cygwin seems like a joke by comparison.

Office Suite:
Keynote has been my presentation software of choice ever since I couldn't get movies to embed properly in powerpoint. Word is nice, but office 2007 has changed the location of too many things for me to feel used to it. At that point, I might as well use one of those nice text editors mentioned above, Pages, or textedit. Plus, with my newfound LaTeX skills, dealing with Word's horrible formatting issues is a thing of the past. As far as numerical computations, it looks like Numbers can suffice for the simpler things, while I can rely on Matlab for more extensive crunching and producing consistent-quality graphs. And there's always grapher.

Internet Tools:
It appears that with Leopard, terminal is now chock full of great modern features. Terminal's native interface also makes it superior to puTTY as a telnet/SSH tool. As far as fugu/Transmit/YummyFTP/WinSCP, it's more or less a wash. I don't expect much from an ftp tool, and both the Mac and Windows variants work fine for my taste. Browser-wise, Safari is still not as widely supported as firefox or IE. Luckily firefox on OS X works excellently, as well as the more native-looking Camino. Still, Safari has a certain amount of integration that just works more nicely in OS X for me than any other browser. I had always had problems with Mail, but with my recent transition to Gmail, I expect most of those problems to go away. Now, I should be able to grab all my mail from a single Gmail IMAP account. Much much nicer than trying to manage smtp permissions. Finally, as far as instant messaging is concerned, all hail Adium!

Operating System:
Spotlight seems to be vastly improved in OS X as far as speed is concerned. This makes quicksilver less important. However, nothing similar is available on Windows. Google Desktop probably comes the closest, but it does not have the extensive access to metadata that is supported by the OS that is available in OS X. A lot of user interface items are just better done in OS X (esp. Leopard) than in Windows. Even with issues with the new dock and semi-translucent menu bar, launching applications is still much better in OS X than trying to use the quick launch bar, desktop icons, or start menu in windows. Finally, it appears as though Time Machine provides a painless, easy-to-use back-up system to all users. It is literally as plugging in a second hard drive, clicking a dialog, and it's all set up. Moreover, the implementation is clever indeed, allowing power-users access to backup files directly through a directory structure. While both Leopard and Vista failed to deliver on promises of a new filesystem, they do seem to be in the works. As it stands, however, Leopard's fs has the more modern features and uses them to great advantage. Moreover, it's highly likely that Apple users will be able to switch to zfs (or whatever Apple plans to use) in the near future (10.6?), much sooner than whatever lurks after Vista. I am highly doubtful that Microsoft will roll in a filesystem switch with sp1 or sp2 for Vista...

Miscellaneous:
Other areas where Apple is just better:
  • device integration (e.g. syncing phones)
  • system-wide spelling (and in Leopard, grammar also!) check
  • foreign language support and fast-switching
  • not taking forever to renew ip addresses through dhcp (supposedly Leopard has also fixed a number of networking hangups that have persisted for a while)

Labels: ,