Better HN
topnewbestaskshowjobs
Log inSign up

T-R

1,407 karma · joined Jun 14, 2010 (16y ago) · 438 submissions

Submissions

comment 15y ago · link · parent

I have a lot of respect for him, but it's pretty disappointing to see him so opposed to doing things that would bring more clarity to those trying to understand his work. This is at least the third quote I've seen of him blowing off the idea of giving examples or more documentation. It's further disappointing to see "that document is my dissertation" juxtaposed with "I sometimes need to expand on the terse explanations provided in the dissertation, because I was in a hurry when I wrote it".

comment 15y ago · link · parent

One (additional?) constraint that perhaps doesn't fall nicely into one of those categories is "Hypermedia as the Engine of Application State" (HATEOAS), which was emphasized (though not with those exact words) by Roy Fielding on his blog:

http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte...

comment 15y ago · link · parent

> Align everything you can in code

Yes. Makes code easier to read and makes it easier to refactor if you use an editor with column select/multi-line caret.

comment 15y ago · link · parent

Also discussed here: http://news.ycombinator.com/item?id=2335555

comment 15y ago · link · parent

I didn't get the impression that the article was implying that DNA damage and other stochastic effects are prevented, but that maybe the initial effects of radiation poisoning are avoided, and that (maybe because of this) cells are more able to repair themselves.

That said, I can't disagree with your last point - it's probably at least a little embellished.

comment 15y ago · link · parent

Tsunami warning for California: http://forecast.weather.gov/wwamap/wwatxtget.php?cwa=usa&...

comment 15y ago · link · parent

Is the cell network still down/overloaded?

comment 15y ago · link · parent

The kindle edition isn't too bad, either, though you have to read it in Landscape mode to minimize the number of odd line-breaks in the code.

comment 15y ago · link · parent

It definitely gets a little tough around the Parser example, but it does lighten up again once you get through the monad transformer section, though.

For someone who's done some functional programming before, Real World Haskell is probably a good starting point; otherwise something like YAHT would probably be better.

comment 15y ago · link · parent

I've gotten the impression that there are, in a sense - in python, list comprehensions are usually preferred over for-loops in places where you would use map and filter, and the most common use cases for fold/reduce are covered by functions like sum and join. List Comprehensions also tend to be preferred over higher order functions, perhaps for readability, but also, in python 3, the higher order functions return generators, which don't always play nicely with mutable data.

For-loops are still suitable for actions (which mutate state or for some other reason need to be evaluated in order) - you see this in Haskell, too, though, with Control.Monad's forM_ and the like.

comment 15y ago · link · parent

tptacek has made some good comments on this: http://news.ycombinator.com/item?id=2010226 http://news.ycombinator.com/item?id=1946307

In short, Customs covers counterfeit, which extends to IP rights. Not saying I agree with it, but that seems to be the justification.

comment 15y ago · link · parent

I'd argue it's still true, but to a lesser degree. In addition to 1seg, I think FeliCa's a big one.

http://en.wikipedia.org/wiki/FeliCa

comment 15y ago · link · parent

My impression has been exactly the opposite - aside from full-internet on smartphones (not to say it isn't a big deal), new features in the US lag by something like 5 to 10 years. QR code reading and easy contact transfer(like 赤外線) still aren't out-of-the-box features (hacked in by third party software like Bump), and most Americans don't know what a QR code is. We still can't pay for things at the grocery store or buy train tickets with a cell phone, whereas Japan has had FeliCa Mobile for 7 years now. Live TV on a cell phone is also non-existent in the US. In Japan, these are all so common that they're available on the free-with-plan phones.

Also, according to the Japanese Wikipedia article, the first camera phone was DDI(Wilcom)'s VP-210 in 1999, and they exploded in popularity with Sharp's J-SH04 on J-Phone(Softbank) in 2000.[1] The US, by contrast, got their first camera phone in 2002.

[1] http://ja.wikipedia.org/wiki/カメラ付き携帯電話

comment 15y ago · link · parent

They're gaining a little popularity, but most phones are still flip phones. The main reasons I've seen are that the pre-paid and free-with-plan ones are flip phones, and mobile internet is more popular, so a full built-in web browser doesn't give much advantage. Smart phones also usually don't have infra-red contact-info transfer, which frustrates a lot of people, though I don't really think it's hurt sales. They're also usually only in black and white, and lack a good place to put cell phone charms or purikura stickers, which probably kills some of their appeal.

Edit: Also, lack of Live TV is a big one for businessmen who are sports fans. Lack of a FeliCa reader might be an issue for some people, but probably not a deal breaker, since most people probably also have SuiCa, PasMo, IcoCa, or Edy cards.

comment 15y ago · link · parent

I think his points are valid, but I think you're right, the cultural aspect is huge, as is the marketing, for that matter.

They successfully marketed cameras, infra-red transfer, mobile internet, and QR code scanners to high school and college girls (the most profitable demographic in Japan to sell to). Without that, the other issues likely wouldn't have mattered.

comment 15y ago · link · parent

Tragically locked - I'd add "Real World Haskell" to the list. Completely changed the way I write code, in a way that books that more directly advocate readability and testability failed to.

comment 15y ago · link · parent

I feel like I might enjoy a shared or open office, but my only experience with it involved trying to concentrate on coding while listening to the CEO reduce the new hire to tears on a more-than-weekly basis.

comment 15y ago · link · parent

> ...solving “How do you tell if a number is even or odd” with clumsy solutions such as (x % 2). They don’t [...] come to the conclusion that (most) computers are digital machines, all you have to do is check the first bit (x & 1).

Not to be nitpicky, since your overall point still stands, but I'd argue that it's better to use a mathematical abstraction (modulo) than an optimization that's dependent on the way the data is stored (bitwise operations), particularly when the compiler will probably optimize it away anyway.

comment 15y ago · link · parent

I have a little trouble conceiving of a completely classless society - at some point you have to acknowledge that, for example, some programmers are better than others, and that that's a positive thing. That acknowledgement alone creates a class. The important thing is upward mobility - we shouldn't define "better" as "knows the other people who are 'better'".

comment 15y ago · link · parent

> And I also don't propose that this was all cooked in a room full of cackling conspirators rubbing their hands together. It's just the way a power structure works.

His point is that the system of individuals acting to maximize their own benefit, because of the way that "benefit" is defined, favors entrenched players, even if it wasn't supposed to - no conspiracy necessary.

comment 15y ago · link · parent

I don't think he means to focus so much on the historical anecdote about Ivy Leagues. His point is that the existing power structure (whether it's business, gov't, or education) is based on networking, not merit, and that by inviting some people who have merit to network, it only creates the illusion of meritocracy, because success is still founded on networking - which benefits the existing aristocracy, even if the intention was to move toward meritocracy.

comment 15y ago · link · parent

There's a lot of duplication (Colors, Tools>Color Tools; Brush in Toolbox & as Dockable window), things that are out of place (View>Show Grid, Image>Configure Grid), common workflows that require more clicks than in other editors (Select-Copy-DeSelect-Paste), odd choice of defaults (When resizing canvas, choose "resize all layers" instead of "None"), and other odd design choices (Toolbox can't be a dockable window, Toolbox needs scrollbar if vertical Resolution<1024) that make GIMP occasionally frustrating to use, despite being an otherwise awesome tool.

comment 15y ago · link · parent

I'd like to see this paired with an e-ink screen on the next Kindle. Turn on only the e-ink for reading, only the LCD for UI, or both to show highlighting and notes overlaid onto the text. They could use the touch screen to get rid of all those buttons, too.

comment 15y ago · link · parent

Owning something like 5 copies of A Link to the Past, I agree with this sentiment (the format-shift argument), but I don't think it's proper justification for distributing them. As much as I'd argue it's fair for those who have paid, we can't ignore the fact that most people haven't.

comment 15y ago · link · parent

That's true, and that investment's on the customers, so idle clients aren't really a problem, unless you sell the hardware too far below cost, and they don't buy enough media. If you're Steam, this doesn't even cross your mind. When the required hardware's expensive, centralizing is a gamble - you want to run close to 100% capacity, but you don't ever want to go above it.

comment 15y ago · link · parent

That would definitely mitigate some of the risk, but I'd imagine they'd have to steer clear of new games that push hardware too much - even if every system running the same game runs it from shared memory, it's still optimistically one processor per connection. They're also likely to run into the same problems that Netflix is having with ISPs, but even harder, without caching as an option. It's like they tried to conjure up the least scalable application imaginable... well, props to them if they pull it off.

comment 15y ago · link · parent

True, but the hardware still needs to scale linearly with the number of concurrent connections, and it leaves them pretty susceptible to high traffic related problems, like at peak times when games are first released. What if someone decides to launch a DDoS? Virtualization also limits the type of games they can run - you can't run a dozen PS3 games without a dozen PS3s.

On top of that, they shoulder the cost of upgrading the hardware, along with the risk - another Dreamcast (high initial sales followed by a severe dropoff) would be disastrous. I'm not sure how they can pass those costs on to their customers at a price point that's attractive to anyone who doesn't play lots of games per month (also making it possibly a net loss), or that's competitive with the more scalable, more performant, and lower risk model of running the games on the client, whether it's a console or a PC.

comment 15y ago · link · parent

That sounds very very expensive.

comment 15y ago · link · parent

Is my understanding of this correct - that they're maintaining state and performing rendering on the server for every connection to the service, and then sending each frame over the network?

I am so very confused as to how this is scaling. Isn't the rule of thumb for scalability and performance to move client state and UI processing onto the client? Are they going to run an XBox VM for every simultaneously connected customer? How does it perform for games that require low controller lag, like FPS - or Megaman for that matter.

comment 15y ago · link · parent

It's been brought up a few times on HN recently, but I think it's worth bringing up again - Imposter Syndrome is rampant in our field. It's the reason a lot of people drop out or don't even get into it. You're far from the only person who feels this way.

Interviews and conversations online may lead you to feel like you need to beat yourself into reading books on operating systems or some other specific sub-field, but a sincere interest in things like garbage collection isn't the only path to success. Algorithms comes up a lot because it's easier to filter for people who know the topic well, but those people have gaps in their abilities, too. Those topics aren't more important than things like domain knowledge or writing maintainable code, they just aren't always as easy to recognize, test for, or brag about.

Sure it's good to learn them, but learn them when you have some motivation to - start writing a game and then read about path-finding. Learn RegEx out of an interest in shortening some code at work. Turning learning into hard work by forcing yourself to learn about things that don't interest you is just going to make learning more difficult. What's important is just that you learn something - so relax and do something fun.

1
1112131415