HNHacker News
TopNewBestAskShowJobs

wcarey

494 karma · joined August 26, 2010

submissionscomments
wcarey··on Math teachers should be more like football coaches
I've long suspected that K-12 math was designed as vocational training for the job "computer", which was a common job in the defense industry prior to its replacement by electromechanical and digital computers. For example, the computation of the firing tape measures for US artillery in WW2 would require enormous, precise calculations of just the sort that one practices in K-12 mathematics.
wcarey··on Mathigon – an interactive, personalized mathematics textbook
I detected a pattern in an arithmetic sequence I was working on (we were adding six each time), so I went from 28 to 28+6. Apparently that was incorrect. When I protested that it was definitely another way of writing 34, the animated tutor then linked me to a video of a man suggesting that I always bubble C on multiple choice exams or something. When I noted that that wasn't really a response to my question, it linked me a youtube video about Einstein.

Kafka would be proud. Heaven forfend actual students encounter such teachers who don't know how addition works!

Another kafkaesque move: On the traveling salesman problem, I can choose 2 for the number of cities the truck must visit, making the complete graph bipartite. When I fill in the blank that the graph is thus bipartite, I'm told that's not quite right. The fundamental (unfixable?) problem here is that the software doesn't really understand graph theory. It's just a series of syntactic prompts to guess what the software is thinking. That's no way to teach.

wcarey··on Review of Mortal Republic: How Rome Fell into Tyranny
Fabius was dictator after Trasimene, but before Cannae. Although his tactics were effective, the Romans cared more about virtus than effectiveness and replaced him with Varro and Paulus, who engaged with Hannibal directly at Cannae. The aim of ancient war was the demonstration of martial virtue, with victory as a relatively secondary concern. Because victory without the clash of arms was worth little to the Romans, Roman generals often had a hard time getting their armies to not engage when delaying would lead to circumstance more favorable to victory (c.f. Caesar at Gergovia).

The more interesting period politically is the ascent of the Gracchi, who consistently violated unwritten political norms. The response of the establishment was to murder them, as there was no institutional mechanism to reign them in.

wcarey··on The price of the Manhattan Project (2013)
Hell to Pay: Operation Downfall and the Invasion of Japan by Giangreco is a comparison of the American plans for the invasion of the Home Islands with the Japanese plans for their defense. It talks through the cost in live of such an invasion. Though it doesn't explicitly speak to the value of the Manhattan project, it argues for it indirectly by explaining the horrifying brutality that would have been that invasion.
wcarey··on Colonial violence came home in the First World War
Would the quarter million casualties of the Franco-Prussian war push it into the category of "serious, bloody" conflict?
wcarey··on A new way to make steel could cut 5% of CO2 emissions at a stroke
Some hypergolic fuels don't even contain any carbon. For example, hydrazine and nitrogen tetroxide. Mostly what you're interested in rocket fuel is an oxidizer and lots of hydrogen.
wcarey··on Falsehoods programmers believe about geography (2012)
Another fun one:

*FALSE: A coordinate that looks like 15 45 38 is Degrees, Minutes, Seconds.

(Sometimes it's degrees, decimal minutes. Happily, the maps in question had some "seconds" values greater than 59, which tipped us off.)

wcarey··on Raped by a Cop, Then Forced to Relive It
The employer is probably liable under the doctrine of respondeat superior, whose considerations are:

- Was the act committed within the time and space limits of the agency?

- Was the offense incidental to, or of the same general nature as, the responsibilities the agent is authorized to perform?

- Was the agent motivated to any degree to benefit the principal by committing the act?

It seems like the balance of those in this case would make the employer liable, as the employee's actions were committed using the property of his employer and while engaged in his employment activities. Also, his actions were of the same general nature (detaining someone) as the responsibilities he is authorized to perform.

wcarey··on Electric car owner charged with stealing 5 cents’ worth of electricity [video]
It'll be interesting to see what the court does with this. I wonder what statute he's being charged under?

From the Georgia Code:

> A person commits the offense of theft by taking when he unlawfully takes or, being in lawful possession thereof, unlawfully appropriates any property of another with the intention of depriving him of the property, regardless of the manner in which the property is taken or appropriated.

If he's being charged with theft, it will be interesting to see whether energy is "property of another" in this case. What he took from the school was electrical potential energy. Is that property? If there's a waterfall on public property and I temporarily place a water wheel under it, is that also theft? What about holding a solar cell over top of a solar cell on public property?

> A person commits the offense of theft of services when by deception and with the intent to avoid payment he knowingly obtains services, accommodations, entertainment, or the use of personal property which is available only for compensation.

This seems to be a poor fit; it's not obvious that electrical charging at a school is a service "available only for compensation", especially if the school permits other people to charge things gratis. The mens rea bit also seems to be a bit of a stretch.

Most of the case law seems to be about people bypassing mechanisms the power company uses to bill for the provision of electricity, which fits nicely into the theft of services statute.

Either way, should make for interesting case law.

wcarey··on Microsoft's Surface 2 will replace paper manuals on all Delta aircraft
Things that get integrated into the cockpit tend to be hard to change and have long legacy lifetimes. If you ever want to gouge your eyes out for an evening, peruse the spec for CADRG, which is the file format used by military cockpit in flight displays:

http://earth-info.nga.mil/publications/specs/printed/89038/8...

It's a format designed for ultra-fast decoding, but it's not widely supported and a real mess under the hood.

There's some advantage to having things in the pilots hands if the technology is improving rapidly.

wcarey··on Apple announces iPad Mini with a 7.9-inch, 1,024 x 768 display - $329
I suspect the driver for the new full-size iPad is the lightning connector. Now all of the iOS devices (except the iPad 2?) use it.
wcarey··on Galaxy S III beats out iPhone 4S as top selling device in US
We've also run into some interesting documentation fragmentation points. Let's say you make an app for relatively technically unsophisticated users. You need them to drag some files to a folder on their SD card (the files are so large that you don't want to try and move them over a network). To do that, they need to mount their SD card on their computer's file system. How do you write the documentation that explains that?

Some mount to the file system as USB mass storage. Some devices call it "Disk Drive" mode. Some have a button called "Mount USB". Sometimes the button's in the notification bar. Sometimes it's in the settings. Some Android devices use MTP and the user doesn't have to do anything (but the names of the folders are different!).

You either get to write documentation like a choose-your-own-adventure novel or deal with confused users.

wcarey··on Understanding Algebra: Why do we factor equations?
Niels Abel of abelian group fame (http://en.wikipedia.org/wiki/Niels_Henrik_Abel) proved this for x^5.
wcarey··on Understanding Algebra: Why do we factor equations?
To be sure. But it is useful in this particular case, so why wouldn't we use it? Similarly, you can write every multiplication or natural numbers as a summation, but we don't because multiplication notation adequately handles the case where the term of summation doesn't change and is simpler to reason about. The motivation for summation is that sometimes we want to add up things where multiplication notation fails. Similarly, the motivation for factoring is that sometimes we run into an equation that we can't intuitively reason about. His explanation would be more persuasive to me with an example where simple inspection fails.

If the target audience for the article is people who understand factoring and are amused by thinking about it in different ways (the bit about systemic error was new to me and intriguing!), then I think it succeeds. If the target audience for the article is people who don't yet understand how to factor, but do understand why to factor, then I think it sort-of succeeds. There are probably people (the author is certainly one?) for whom his explanation will seem intuitive and compelling. If the target audience is people who neither know how to factor or why, then I think it's more problematic.

It's symptomatic of a rush to abstract and generalize that often leaves students wondering why the abstractions are more valuable than more intuitive reasoning. An example that requires factoring would speak to that motivation a bit better, I suspect.

wcarey··on Understanding Algebra: Why do we factor equations?
Who's the target audience for that explanation? It seems like the initial question can be solved much more easily by rewriting x^2 + x = 6 as (x)(x+1) = 6. Seeing that x can be two seems intuitive, and that x can be -3 a bit less so.

I wonder whether talking about algebra as the manipulation of statements to construct consistent sets is more productive than talking about error in systems?

Instead of x hiding a value, we want to know what statements can we make about x that are consistent with x^2 + x = 6.

wcarey··on Does mathematics have a place in higher education?
It would be interesting to understand how "school mathematics" displaced "actual mathematics" in our educational system.

I suspect that part of explanation has to do with computers. The word "computer" was originally a job title (see, for example the Harvard Computers: http://en.wikipedia.org/wiki/Harvard_Computers). It changed meaning in the middle of the twentieth century when mechanical (and later electronic) computers displaced human computers.

It seems like much of "school mathematics" is vocational training to work as a computer. Unfortunately, we don't employ people to do computation anymore because the cheapest and worst computer you can but will be thousands of times more productive at computation than a human being.

If our mathematics curriculum was designed to train people to be computers, and that profession no longer exists, it's no wonder that school mathematics seems pointless and disjointed.

wcarey··on UVA Computer Science professor resigns over incompetence of board
Beyond the politics (which the Board of Visitors appears to have handled distressingly badly), there's an interesting analogy to software design lurking in the story.

It seems like the philosophical conflict that drove Sullivan't dismissal maps cleanly to the two styles of programming that pg described in "Programming Bottom-Up":

"It's worth emphasizing that bottom-up design doesn't mean just writing the same program in a different order. When you work bottom-up, you usually end up with a different program. Instead of a single, monolithic program, you will get a larger language with more abstract operators, and a smaller program written in it. Instead of a lintel, you'll get an arch."

My reading of Dragas's and Sullivan's statements to the Board of Visitors is that Dragas wants the University designed as a lintel, and Sullivan as an arch.

Dragas argues that "the Board is the one entity that has a unique vantage point that enables us to oversee the big picture of those interactions, and how the leadership shapes the strategic trajectory of the University." [1] The changes Dragas seems to support (though it's hard to find a clear statement of them anywhere?) would be akin to a major rewrite from scratch. University design by lintel.

Sullivan conversely argues that, "[c]orporate-style, top-down leadership does not work in a great university." She seems to be arguing for incremental changes more akin to aggressive refactoring.

[1] http://cvillenews.com/2012/06/18/dragas-sullivan-statements/

wcarey··on Why We Don't Believe in Science
The idea that there are laws of nature proven beyond a doubt doesn't accord with the history of physics. Newton's conception of natural law was held to be "true" until it was upended by Einstein.

Karl Popper actually proposes a nice criterion to distinguish science from non-science. He argues (whether persuasively or no) that scientific claims are falsifiable, where non-scientific claims need not be. That allows us to distinguish between things like astrology, whose claims are generally not falsifiable, and mathematical astronomy, whose claims are falsifiable.

wcarey··on Map Simplification with Visvalingam's Algorithm
This is a surprisingly different algorithm from Douglas-Ramer-Peucker. Visvalingam's algorithm gradually removes detail, while Peucker gradually restores removed detail.

I'm really curious, too, how Visvalingam performs when the variance of the heights of the triangles is large. Intuitively, it seems like it'd be much more aggressive than Peucker about removing spikes in data, which, depending on what you were aiming at, could be good or bad. Imagine processing a polyline whose coordinates are:

[0,0],[4,2],[8,0],[9,-9],[10,0],[14,1],[18,0]

Peucker would preserve [9,-9] until very last. It seems like Visvalingam would remove that relatively early.

edit: Either way, it's a nice algorithm to add to the quiver.

wcarey··on Think GPS is cool? IPS will blow your mind
If you're in the continental United States (or Canada), and have a GPS receiver that can handle the WAAS adjustment signal (http://en.wikipedia.org/wiki/Wide_Area_Augmentation_System), you can get a much more accurate signal as quickly as a regular GPS signal.
wcarey··on Show HN: My startup: code4cheap.com, a code marketplace
From the FAQ:

Can I post homework problems? Absolutely!

That seems to encourage academic dishonesty? The stackoverflow community tends to self police homework, so it'll be interesting to see how explicit permission to pay for homework affects the site's community.

wcarey··on [dead]
I'd disagree that science is about "pushing deeper into the implementation". It turns out that Newtonian gravity doesn't adhere to the interface that Newton proposed (and Newton knew that it didn't; Mercury!). As a result, Einstein developed a mew interface, which supplanted Newton's interface. Neither of them speaks to, or even claims to speak to[1], something like implementation. To be sure, we do refine out conceptions of that interface, and I'd agree with you that that's a very valuable project.

Your example about a programmer peeking into the hash table is germane, because the hash table's "implementation" is, itself, composed of interfaces. Following your argument, how could a programmer be expected to excel if he didn't understand those interfaces? And it's turtles all the way down until you hit Feynman diagrams.

That's doesn't seem to be how people actually work. At some point, a layer of abstraction is leak-proof enough to satisfy curiosity and allow meaningful work to be built upon it. Where that point is will vary from person to person. Much as some people are content to work with a vague notion of Newtonian gravity, some Christians are content to live with a fairly abstract and vague understanding of theology. There's nothing wrong with that. We call people who wrestle with abstractions surrounding the natural world scientists, and we call people who wrestle with abstractions surrounding God and faith theologians.

[1] Well, Newton explicitly disclaims this. I haven't read Einstein recently enough to remember whether he disclaims it explicitly, but I think he certainly is no Aristotelian.

wcarey··on [dead]
Let me offer an analogy that (perhaps) paints Christian belief in a more charitable light. Indeed, there are many places where I, as a Christian, say, "I don't want to analyze this further".

There are many places too, as a programmer, where I say the same thing. I do most of my work in the application stack, and have only the vaguest understanding of what goes on in the guts of the operating system and kernel. I trust, though, that someone has spent time and energy thinking about how the operating system and its API work. I also suspect that if a fey mood ever took me, I could work my way through the kernel code of linux and understand what's going on. The reason I haven't is that I spend most of my time at a different level of abstraction.

The system of beliefs that underly Christian faith are similar. Many people work at a level of abstraction, if you will, that doesn't involve the sort of careful analysis that is, nevertheless, possible. Other Christian thinkers have explored the interplay of reason and faith with extraordinary detail. When someone says, "I'm happy to stop my analysis here", it might not mean that what underlies their belief is irrational, it might mean that they haven't had the time or the inclination to examine the layers of abstraction beneath it.

wcarey··on [dead]
While some Christians might subscribe to the sort of faith you describe, there are a great many whose picture of God is perhaps a bit more nuanced.

There's an enormous, detailed, thoughtful tradition of systems thinking in Christianity. That tradition began with Paul, whose letter to the Romans is a systematic attempt to understand the relationship of Jesus of Nazareth to the established Jewish beliefs of the time. It continues (notably; these are my favorites) with Aquinas, Augustine, Luther, Calvin, Hegel, Kierkegaard, Barth, Bonhoeffer, and von Batlhasar.

Far from uncritical belief in a threatening assertion, the theological tradition has produced several (some mutually exclusive!) systems of belief that appeal to reason as well as faith.

wcarey··on How Entire Industries Become Unethical
Rather than an ethics problem, this seems like a unit of measure and communication problem.

The comparison to higher education is apt. Prices at community colleges (and many universities) are set in dollars per credit hour. Credit hours, though, aren't the same as clock hours. I taught a three credit hour class that met three times weekly and lasted fifty minutes a session. The school, naturally, advertised this discrepancy well in advance of taking payment. (I do wonder whether there's any case law about that.)

It seems that office managers are setting prices in dollars per real-estate square foot, which is a different unit of measure from the commonly understood measure of area. Maybe they should advertise "real-estate square feet of office space" instead of "square feet of office space" to eliminate the confusion that comes from overloading that phrase?

(Whether this sort of linguistic imprecision and flux is a good idea is a separate argument, to be sure. This sort of shenanigans increases the burden-- and therefore the cost-- for people trying to purchase a good or service.)

← PreviousPage 6 of 6