HNHacker News
TopNewBestAskShowJobs

chancho

961 karma · joined March 12, 2009

submissionscomments
chancho··on Ask HN: Have you ever used Dynamic programming in your dev job?
The only thing dynamic going on there is the type system, unless myfunc is recursive. Dynamic programing uses memoization to achieve lower computational complexity, but memoization != dynamic programming.
chancho··on Zynga CEO: "Just copy what they do and do it until you get their numbers."
On a street where there are several Startbucks, it's wise to open up another Starbucks?
chancho··on Very fast HTML generation for Haskell: first GSoC release
I would name my next son Simon if one of those two would implement optional backtracking in the type checker, so that it would try all of the definitions of e.g., map, foldr, filter, and succeed if there is exactly one assignment of types to identifiers that typechecks, fails otherwise. While surely not trivial, it certainly must be possible seeing as how Prolog can be embedded in Haskell. Then the gratuitous namespacing would be optional.
chancho··on What Not To Write On Your Security Clearance Form
Early-career research positions for cleared PhDs at gov't labs pay much, much more than the equivalent positions at universities (post-doc, lecturer, etc.) and still allow you to publish.
chancho··on Man's Voice Reveals His Fighting Ability
Any excuse to post these:

http://kjkolb.tripod.com/homepage/miketysonquotes.html

chancho··on Nifty Freeway Interchange Design
To be sure, those interchanges are the most pleasant to drive through, but at a cost of land. The interchange design presented in the NPR article is much more feasible in urban centers where you might be constrained by existing structures. The accel/decel ramps can run parallel to the freeway, leading to nearly-right angle turns at street level. (It's not drawn this way in the article, but it doesn't take much imagination to picture it.)
chancho··on Nifty Freeway Interchange Design
One of the two lights is always red (I hope!) so they won't be going that fast.
chancho··on Sneakernet: 99% offline file sharing network
So then why are laptop hard drives called 2.5in?
chancho··on Glenn Reynolds: Higher education's bubble is about to burst
Start buying up student loan debt and pooling them into Student Loan Backed Securities (SLBS). Tranche and rate them based on US News & World Report school rankings, sell these CDOs to wealthy institutional investors worldwide, then have your business partner short the shit out of them.
chancho··on What kind of girl do you think I am?
You could cure a lot of cancer for $1 trillion. By turning the offer down, are you sure you're not "influencing" someone else's mortality? (That's a rhetorical question, of course. I don't have an answer.)
chancho··on How did Escher do it?
See also http://escherdroste.math.leidenuniv.nl/
chancho··on Google ditches Windows on security concerns
Herd immunity? That's a pretty bad metaphor. There is not "safety in numbers" on the Mac. Safety comes from their lack of numbers. Unless you meant to imply that Macs are like the kids at school whose dipshit parents don't vaccinate them.
chancho··on Top kill fails to plug leak
a few = 11
chancho··on PhD Student gets quadrotor helicopter moving aggressively
Robotics research in Japan is primarily aimed at defending against giant space monster invasion. Oh wait, I guess that falls under defense.
chancho··on PhD Student gets quadrotor helicopter moving aggressively
This is supposed to be a positive aspect of defense R&D spending?
chancho··on Seagate gets hybrid SSD/HDD right
Thanks for sharing your personal computing habits with us. I happen to reboot quite often, switching between Ubuntu and Windows. I tried using a VM, but there were too many issues. With an SSD, rebooting from one OS to the other is fast enough to not be annoying, so I can have my dual-boot cake and eat it too. I have paid, and will continue to pay good money for this.
chancho··on Sitting straight 'bad for backs'
Sitting in one of these (goofy, overpriced) chairs does not involve tensing any muscles other than those used for balance, which don't really get tired, so that's probably the worst analogy on the internet today. These chairs are meant to rest your legs, not your back. Your back doesn't need to be supported all day. It is the support. There are people who stand for 8 or more hours a day, you know. And they're healthier for it.
chancho··on Whatever Happened to the Hole in the Ozone Layer?
Not sure but it probably involves Christopher Lambert, Sean Connery, Virginia Madson, Michael Ironside and John C. McGinley, i.e the greatest movie cast ever assembled.
chancho··on People of class drink alcohol
We decide X is twice as big as Y when X = 2Y. This is not up for debate.

And re. net worth: That's exactly how I would plot it if I wanted to make a point about income inequality. Carlos Slim is worth US$53 billion. The per capita income in Mexico is US$13,500 and in the US it's $46,000. (Yes I know this is comparing yearly income to lifetime accumulated wealth but ignore that for a moment.) If I give the average Mexican 1 pixel and the average American 3 or 4 pixels, then Mr. Slim gets almost 4 million pixels. At 96 dpi that's roughly 3400 feet. Your monitor would have to be (much) taller than the Burj Khalifa (2717 ft) to accurately show this bar char. This is the picture I would draw if I wanted to make a point about income inequality, a person sitting next to the Burj Khalifa with a ridiculous laptop in is lap that towers over it.

If I just wanted to rank the top 10, I would just list them in order like they do in Forbes.

chancho··on People of class drink alcohol
> There's hardly ever such a thing as a "natural" range.

Another good point, but if bar A is twice as tall as bar B then variable A's value had better be twice that of B's. Anything else is precisely the kind of shady drug-company data manipulation that you're so concerned about. If vertical space is at an absolute premium (not the case here IMO) and you have to cut the bars then draw little cut marks on them to let the reader know that the bottoms aren't at zero.

(Of course I'm talking about cases when there is a familar concept of zero, like percentages or money or population, not temperature. And if the value goes negative then the bar grows down, cf. any recent chart of US economic indicators.)

If you don't base your bars at zero then your bar chart exaggerates differences between data because the reader looks at two bars and compares their relative sizes the same way he looks at the levels in two glasses of beer to compare their volumes.

chancho··on People of class drink alcohol
You make a good point about temperature, but I stand by my critique because temperature is a quantity and these graphs are all plotting percentages, which should always been graphed from 0% to 100%. If your percentages are all within the range of 99% to 100% then you shouldn't be plotting them as percentages, and if you did then your graph would effectively convey the point that there really isn't a lot of variation among the data.

I'll reiterate my opinion that the purpose of a bar chart is not to give relative orderings (if you want that just list them in order) but to illustrate the magnitude of the differences between data points with respect to the natural range of the data. Percentages have a natural range of values: 0-100. Temperature does not have a natural fixed range, unless we're talking about the weather which is incidentally why I like Fahrenheit.

chancho··on People of class drink alcohol
WTF is the point of a graph if you have to read the fine print to avoid misinterpreting it? Why not just use a table? A graph is supposed to convey the relative magnitudes of the data points, not just their ranking. If I just wanted to show who drank more than whom I would just list them in order.

Looking at these graphs you'd think that: Almost nobody in the south drinks; The vast majority of blacks do not drink; Catholics are twice as likely to drink as Protestants.

And so on, when in fact these are all false conclusions. The real conclusion, which you would easily get from properly scaled graphs, is that the majority of people drink across almost all demographic groups.

If you blame me for drawing false conclusions from such graphs I blame the shitty fucking graphs for being misleading. I mean, they don't all even start at 50%. One starts at %40 and one at %0. Seriously, these graphs are garbage.

chancho··on Cinder - open source library for professional-quality creative coding in C++
WTF are you on about? The page doesn't say any of that. They acknowledge that C++ is not perfect but give specific reasons why it's a good fit for this domain: performance, access to cutting edge tech (e.g. GPUs, iPhone, iPad) and access to native OS facilities. The only other language that fits that description is C, and you're damn right that "speed" and "abstraction" do not sum to zero: C++ is C with more abstractive power.
chancho··on Poll: Your income bracket in 2009?
It will also by distorted by those who are playing the lotto but have not yet won it.
chancho··on Staying the hell out of insert mode (vi)
In Windows, KDE and Gnome it almost universally closes a window. By default, anyway.
chancho··on Staying the hell out of insert mode (vi)
You never close browser tabs?
chancho··on Staying the hell out of insert mode (vi)
Very good Mac keyboard remapper: http://scripts.sil.org/ukelele
chancho··on Staying the hell out of insert mode (vi)
The happy hacking keyboard has both the esc and ctrl keys in these (proper) positions. Highly recommended for vimming.

http://www.engadget.com/2007/01/26/happy-hacking-keyboard-li...

chancho··on Launch of secret US space ship masks even more secret launch of new weapon
> Russia has satellites in high orbit that carry nukes.

What? There is a treaty outlawing this.

http://en.wikipedia.org/wiki/Space_weapon#Orbital_weaponry

chancho··on Will it rot my students' brains if they use Mathematica?
Textbooks are enough of a boondogle. Forcing entire generations of students to learn things like Matlab and Mathematica only sustains their ridiculous price tags. The student versions being so cheap does not make the situation better, it makes it worse. It's borderline rent seeking.

There are plenty of free (capital and lower case 'f') alternatives, like Python, Fortran, etc. They may not be as 'powerful' of tools but they are adequate for teaching the basics of how to translate formal mathematical reasoning into concrete code. The only things that Mathematica, Maple and Matlab add are pre-packaged library functions that do all the hard work for you. This is what makes them powerful tools and if the student, after he or she graduates, decides that power is worth the price that's fine, but getting them hooked on it while in school is detrimental to their learning for all the reasons being discussed in this thread.

← PreviousPage 3 of 11Next →