HNHacker News
TopNewBestAskShowJobs

podperson

2,247 karma · joined October 12, 2010

submissionscomments
podperson··on Quick tip for developers who use OS X
You can't program away edge cases, but the current standard behavior fails in the bog standard common case.
podperson··on Quick tip for developers who use OS X
OK I didn't know Apple had made that a standard -- so I agree with the GP that it's dumb. If I can't easily type a shortcut with one hand, it shouldn't be a standard shortcut.

I'm suggesting the standard paste should behave as expected, not adhere to some literal definition the user doesn't care about. If I copy a passage of text from one document and paste it into another, I generally want it to look like it belongs in the destination document but I don't want to lose obvious intentional styling such as italicization.

The common case should be the easy case. Instead we have the common case and the four-fingered shortcut both doing the wrong thing. Awesome.

podperson··on Quick tip for developers who use OS X
"Paste and match formatting" shouldn't be necessary for most programs, and isn't a platform standard. Paste is command-V. A sensible application should do the most likely thing the user wants with paste and overload the shortcut for weird stuff. The fact that Microsoft consistently does the weird thing by default isn't a platform problem with the Mac, just with Word.

Now you could point out Pages has the same shortcut and same stupid behavior. I agree, but that's what happens when there's a clear market leader.

(Oddly enough, I've been implementing a web-based word processor, and we make paste-and-match (paragraph) style while retaining (character) styles the default. You can't actually do this in Word or Pages — default or not — despite the fact it's what users want 99% of the time. So if I paste some text with an italicized passage, the font changes to match the ambient styling, but the italics remain. When we implemented it, the UX people were flabbergasted -- they assumed it must be impossible because no word-processor does it.)

podperson··on NSA Coworker Remembers Edward Snowden: "A Genius Among Geniuses"
He could configure sharepoint AND backup systems. May not seem like much but in a federal government department that's like being Jesus and, I don't know, Buddha at the same time.
podperson··on NSA Coworker Remembers Edward Snowden: "A Genius Among Geniuses"
Probably why he has been compared pretty frequently to Daniel Ellsberg -- http://en.wikipedia.org/wiki/Daniel_Ellsberg
podperson··on New Android and iOS "fragmentation" charts are just as flawed as the term
Let's make a reasonably fair comparison:

Android runs on all kinds of devices from different manufacturers.

Windows runs on all kinds of devices from different manufacturers.

I can write a program that runs nicely on pretty much any Windows box pretty easily. To do the same on Android is more painful (but that's mostly because desktop applications deal with varying screen resolutions more gracefully than mobile platforms).

I can upgrade pretty much any Windows box to the latest version of Windows.

I cannot upgrade most Android devices to the latest version of Android.

Swap "Linux" for "Windows" if my use of a commercial analogy offends your sensibilities.

Now, part of this is a problem with the phone market. But is Android fragmentation on tablets any better?

podperson··on Don't Distract New Programmers with OOP
I recently encountered this cultural difference (I grew up in Australia) with my wife (we live and she grew up in the US). My daughters vastly prefer my sandwiches to hers because I butter the bread (on the inside, the way God intended), usually using as little butter, or margarine, as possible. When asked why, I say it's mainly because it prevents the moist stuff in the sandwich from turning the bread to mush, but also because it tastes good.

I think a lot of it comes down to the fact that most sandwiches these days are prepared and then eaten right away, whereas I was brought up in a world where sandwiches tended to be prepared long in advance of being consumed.

That said, Americans will cheerfully slather "mayonnaise" on bread.

podperson··on Why Emacs is a better editor – case study for JavaScript developer
The key thing is that javascript is built into emacs, which is a good argument for javascript to be built into any serious programmer's editor (since (a) chances are good the programmer knows javascript, (b) you can get a good javascript engine for cheap, (c) many programmers will actually be using your editor to write javascript as a bonus).

I was playing around with another interesting editor (Chocolat) which actually uses a Javascript engine to identify symbols in Javascript source files; but it does this far worse that can be done easily with regex (and in fact makes terrible errors doing so).

Indeed, better results than that shown in the article are achieved by fancy new editors (like Espresso) and crufty old editors (like BBEdit) using regex and brute force. Fundamentally you've got an anonymous function or a function with a common name, and you want some outer context to further identify it -- regex can do that.

podperson··on Single-Sex vs. Coed: The Evidence
We're not actually measuring educational attainment (whatever that is) but admission into a 4 year college program. This is like measuring the effectiveness of the speed of your network by how many feet of cable you bought. Measuring graduation from a 4-year college program would at least be a measure of attainment of credentials, but this can be gamed simply by lowering bars. (The campaign against high school drop-out rates has largely consisted of making it easier to stay and harder to drop out (rather than actually improve any useful outcomes); the campaign to improve girls' science scores in Australian schools has largely comprised removing science from the science curriculum. Educational research is always plagued by these issues.)

Single sex schools clearly helped improve the lot of women in the US (and other countries). But it's not clear that it was because single sex schools are better than co-ed (which is at issue) or that they are better than no schools at all (which appears blindingly obvious).

podperson··on Single-Sex vs. Coed: The Evidence
"This is a dangerous idea."

Ideas are dangerous. I think you mean "this is a flawed article because it starts out to buttress a preconception rather than examine the data and then find a conclusion."

"we don't REALLY know how random this is"

Seriously? It's probably at least as random as any random assignment to condition in US college labs (I speak from a great deal of experience here). We're talking huge n values and a system that presumably at least has some level of public scrutiny (again, unlike US college labs). Why compare to US college labs? Because that's where most accepted social science research labs comes from.

In any event, I see two major flaws in the initially cited study that are far more obvious and problematic than this.

1. Not everyone is Korean. Culture does matter. (Not everyone is a US college freshman either, of course.)

And worse:

2. The outcome is measured entirely in terms of going to a 4-year college (good) vs. not going (bad). Not, for example, being "happy" 20 years later. Or graduating from college even.

Anyway, what would we expect from a rambling rant hosted on the domain singlesexschools.org.

podperson··on Tydlig – Calculator Reimagined for iPad and iPhone
When I was in college in the 80s there was an explosion of creativity in the calculator market (kind of like the TV and camera markets today -- they're all going broke and trying to come up with new killer products). One of the things that became very popular was calculators with 32kB or 64kB of RAM, a QWERTY keyboard, that ran BASIC.

Anyway, I was pure math major and we could bring pretty much anything short of an actual desktop computer into exams -- it was pretty much useless. (Now, a few years later, and Mathematica running on a maxed out Mac would have been pretty darn useful.)

podperson··on Plain English explanation of Big O
If the definition uses "complexity" in this way then it's not using it in the "plain English" sense, but in a specialized sense. Quantity isn't complexity.
podperson··on Plain English explanation of Big O
Sure, but again not complexity.
podperson··on Spy agencies in covert push to infiltrate virtual world of online gaming
shrug if you want to communicate one-on-one covertly there are simply too many options to cover.
podperson··on Plain English explanation of Big O
This is a fine example of Stack* giving huge rankings to very bad answers. Big O is about execution time not complexity. (And describing execution time as "time complexity" as some comments do is ridiculous. A lot of something is not more complicated than a little of something. 4 isn't more complex than π -- and no, I'm not saying the reverse is true either.)

A plain English explanation of Big O notation shouldn't take more than a few sentences. It's not that complicated, especially if you don't get into nitty gritty.

podperson··on Spy agencies in covert push to infiltrate virtual world of online gaming
It's plausible if they simply subvert the servers. If you take World of Warcraft, say, the options are basically text chat and voice chat. (Sure, you can send morse code or whatever, but that kind of sophistication generally assumes a more detailed communication has already taken place and applies everywhere -- "let the phone ring three times and then hang up", steganography, etc.)

A better option for covert communication would be a more open platform such as Second Life, where you can upload custom content. But, frankly, there are so many options if you have any imagination... If what they're really worried about is recruiting and outreach then they at least only need to worry about reasonably popular alternatives.

podperson··on Vermeer’s Secret Tool: Testing Whether The Artist Used Mirrors and Lenses
No. But when journalism, art, and science intersect, expect casualties.
podperson··on Vermeer’s Secret Tool: Testing Whether The Artist Used Mirrors and Lenses
Hockney does not argue that every painter of realistic paintings used the techniques he describes. He in fact goes through a series of painters and discusses who probably did and didn't.

Basic clue: if the painter seems more interested in showing off his command of perspective details (e.g. the lettering on someone's desktop globe, or intricate floor patterns) than, say, people, then he's quite probably using the technique.

podperson··on Vermeer’s Secret Tool: Testing Whether The Artist Used Mirrors and Lenses
The book is great and I'd say the case he makes is pretty water tight (and I say that as someone who wasn't much of a Hockney fan going in, and was very resistant to the idea that some of my favorite artists "cheated" ... but of course artists always "cheat" -- their goal is produce their artwork, not follow some arbitrary set of rules on how to get there).
podperson··on Vermeer’s Secret Tool: Testing Whether The Artist Used Mirrors and Lenses
I've read Hockney's book, and it is completely convincing to anyone who (to paraphrase P. G. Wodehouse) isn't being paid to be unconvinced by it. In his book he finds geometric errors (mismatches in the textures and folds of tablecloths and floors, for example) and depth of field artifacts exactly where you'd expect to find them if the painter were using optics to focus images onto a drawing canvas, and had to change focus as he moved out of focus planes.

He also points out that Caravaggio's greatest paintings (among many examples) are a combination of astonishingly deft lighting and detail combined with gross errors that you'd get if (essentially) copying and pasting bits of photographs onto a canvas. (And, hey, I love Caravaggio...) The critics would have you believe that Caravaggio was a godlike draftsman who cold realistically paint the veins on people's eyelids but couldn't put their arms in the right position with respect to their bodies.

These guys invented (analog) Photoshop in the 17th century and it was one of their trade secrets. Apparently art critics find this insufficiently awesome, or the wrong kind of awesome. (Think: science awesome vs. romantic artiste awesome.)

Hockney also traces the passing of the secret technique by putting the works of various artists on an up-down (geographic) and left-right (time) chart and can show how two artists (one of whom had godlike drafting abilities and the other of whom was merely competent) crossed paths and then suddenly the lesser artist became godlike.

The argument that Hockney is just jealous of the talent of the old masters is equally ridiculous when he shows his own work with and without the techniques. One could level the charges that the art "authorities" that disbelieve him are simply jealous of their own utter lack of talent.

tl;dr -- most "art experts" are self-deluded idiots. News at 11.

podperson··on TV Is Dying, And Here Are The Stats That Prove It
OK so let's assume we need to pay $200 per person and a typical household is a family of 4. Currently the difference between a broadband internet connection and a typical monthly cable TV with internet bundle is in the $50/month range. This means that the current typical household is paying $600 per year to get content in a ridiculously stupid way, versus the estimate of $800 per family of four just buying their content direct from the producers.

This doesn't seem like an unbridgeable gap to me. And in fact it's in the process of being bridged slowly -- the problem is that existing contractual relationships and infrastructure won't just reform themselves overnight.

podperson··on 16 years after a mass suicide, the webpage is still up
Actually in the US we have freedom of speech, which includes the right to make ridiculous claims about what other people think.
podperson··on Xbox One: The Review
They also thoroughly reviewed the PS4, and the review was also pretty mixed. Overall, I'm not tempted to buy either device (10+s to wake from sleep seems infuriating; my AppleTV takes about that long and it drives me bonkers).

My take on the next gen consoles is that it's not clear there will be any winners. The current generation hasn't actually been profitable for either Microsoft or Sony, and the economics of the industry have, if anything, gotten worse. (Sure, the market is bigger, but if you're selling the platform at a loss hoping to profit on licensing then you need the cost per game to remain steady or go up.)

And there's the other shoe: iOS / Android / Steam / Linux. E.g. if Apple were to release an iOS console (i.e. AppleTV on steroids) sometime in the next two years they could leave Microsoft and Sony to eat their loss leaders and take a huge chunk of the market away. (In general, Apple's 30% cut of games is smaller than what the games companies pay to retailers and platform licensees, and Apple could always lower it if necessary.)

Overall I think it's kind of a nightmare scenario:

1) Long wait since previous generation, so expectations are sky-high.

2) Each platform has been hit by at least one scandal -- PS4's bricking, Xbox One pricing model backdown followed by 720p launch titles (WTF?!)

3) Neither platform offering elegant out-of-box solutions despite numerous complaints with the previous generation (seriously, every time I launch my PS3 it needs to patch, and the same problem is in the PS4 and Xbox One).

4) Underwhelming launch titles.

Sony and Microsoft think they can ship a half-baked product and fix it over the next year or two, just like it "worked" for the previous generation (that pretty much lost them both money).

podperson··on Xbox One: The Review
Actually the review seemed kind of negative on balance. Indeed, the PS4 review they did was also kind of hot and cold.
podperson··on Tesla lost $38M in third quarter, stock tumbles over 12 percent
Stock is priced like anything else: what people are willing to pay. In theory a stock represents a share of a business, and so its price is a bet on the lifetime return of the stock at the time of purchase -- if you pay $100 for a stock today, you expect the "net present value" of that stock to pan out to at least the net present value of $100 invested in something really safe (e.g. in treasuries... oh wait, hmm... gold, er ah no... in C-notes under your bed).
podperson··on 'Cannonball' speed record broken – New York to LA in less than 29 hours
Everyone drives a little illegally ;-)
podperson··on 'Cannonball' speed record broken – New York to LA in less than 29 hours
There's quite a bit of discussion about the driving cultures of the US vs. Germany. In particular, Germans appear to think that you should pay attention when driving. The US attitude to driving is best exemplified by the fact that most family cars now have 2-3 cup holders per seat and two or more video screens.
podperson··on 'Cannonball' speed record broken – New York to LA in less than 29 hours
You ever see the first episode of Homicide: Life on the Streets (great show, and largely based on actual incidents, at least for the first two seasons) where a guy confesses he accidentally shot some guy, but it's OK because he meant to kill someone else? I think you and he want to live in the same country.
podperson··on April 5, 2007: "Show HN, Dropbox"
Actually the thing that's infuriating about Netflix and many of its competitors is the weak or no support for deep linking to content. We don't need channels to curate content if bloggers, etc. can do it themselves.
podperson··on Nov. 22, 1963: 50 years, and still no conspiracy
Interesting, I did not know that. (I guess I don't obsess enough over it!) It's still very unconvincing (it didn't just "touch" a bone).

There is far more weirdness in the case and there's plenty of collateral evidence that the FBI's modus operandi at the time was to frame suspects in high profile cases -- along with anyone J. Edgar Hoover simply didn't like -- to reinforce its reputation for infallibility.

Anyhow, the basic argument "if there was a conspiracy, someone would have talked by now" is disingenuous. All kinds of people have talked -- so many that it's impossible to sort the wheat from the chaff.

← PreviousPage 2 of 30Next →