1,407 karma · joined Jun 14, 2010 (16y ago) · 438 submissions
comment 15y ago · link · parent
I really don't see the controller as gimmicky, though, at least in the sense that touch screens in general aren't really seen as a gimmick anymore, and other aspects of the controller have been done before. Moreover, someone upgrading this time would actually have to buy fewer peripherals than for previous systems.
Harsher things were said of the Wii, and it was ultimately pretty successful. I'd wager Nintendo will stay relevant precisely long as it continues to produce quality first party titles, but not a moment longer.
comment 15y ago · link · parent
The concepts aren't new - the same is essentially true of the 3DS (aside from the occasional game that uses Augmented Reality, which hasn't, as far as I've seen, been heavily advertised). The bottom line is - are customers ready to shell out for a hardware upgrade, and does the ratio of price to quality/number of good games convince them to do so? So far with the 3DS the answer has been "no", but whether or not the same will be true for the WiiU is anyone's guess.
comment 15y ago · link · parent
When I started out, I mostly focused on the UI, and then hacked together whatever was behind it. Because my focus was on non-portable code, I spent inordinate amounts of time digging through library documentation, so progress felt really slow.
Design Patterns solidified my understanding of OOP, but more importantly, it helped me focus on the parts of my programs that were device/OS/Framework independent. This was helpful because it meant digging through documentation was the last step, instead of the first. My code was more readable and more testable, so I had an easier time planning, making changes, and finding bugs, which meant I was more productive.
You'd get similar mileage out of learning Test Driven Development or Functional Programming - they all emphasize similar concepts that will boost both your understanding and your productivity. Aside from that, they're all very practical (more so than algorithms), and more or less language agnostic, so if you're programming, they'll help you no matter where you go from here.
comment 15y ago · link · parent
myObj = new Object() :{ cleanup() }
or require dummy objects in case of failure: myObj = new Object() ?? new DummyObject()
Admittedly less than optimal. The more I think about it, the more I think it's a bad idea... The first still means that you need a separate catch block for each statement. The second is essentially swallowing the exception.Aside from that, using Either in the return kills your ability to do method chaining, unless you build method chaining into an operator and have it propagate the Either (similar to bind).
comment 15y ago · link · parent
I think you're taking the article too literally. It seemed to me that he was taking the (decidedly silly) polar opposite position to emphasize the extremity of Jason's suggestion, and that there are perfectly legitimate reasons not to follow it, to the extent that the exact opposite could be argued. I don't think he actually expects anyone to fire someone for working overtime, just recognize that expecting overtime has negative effects.
comment 15y ago · link · parent
comment 15y ago · link · parent
'Which' wouldn't be used here because 'are studying language pedagogy' is restricting/filtering 'students', and so it's essential to the meaning of the sentence. 'Which' is used for clauses that add non-essential information.
My shirt that is red is upstairs.
My shirt, which is red, is upstairs.
The first sentence is contrasting the subject with other shirts (..., but my blue shirt is not). In the second sentence, there's only one shirt being discussed - it happens to be red, but even if that information was left out, it wouldn't change what shirt you were discussing.comment 15y ago · link · parent
The issue is 'a' vs 'the' vs nothing:
he went to the school
he went to a school
he went to school
All have very different meanings - "the" is effectively an adjective describing the specificity of the noun. The first describes a specific school, the second describes some not-yet-defined school, the third describes an abstract concept.'Chocolate' is another example of this, where the issue extends to the use of words like 'some', 'how many', and 'how much' (countable vs. uncountable quantities). Even if a person understands these concepts, it's still difficult to propagate it through a sentence so that everything type-checks (subject-verb agreement, etc), especially if you're coming from a language that doesn't have this kind of redundancy. It gets even harder with hypotheticals, where sometimes one might switch between both singular/plural and non-specific/specific mid sentence, all while English lacks gender-neutral singular third-person pronouns.
On top of this there are cases where the use of one over the other really just comes down to philosophy (whether native speakers of a language consider something distinct, concrete, or countable, or not). Similar issues come up with prepositions - which preposition goes with which verb differs even when describing the same concept in two very similar languages. (Best example I can think of at the moment is that in Japanese, people say "I bought it to her" instead of "I bought it for her"; I know English<->Spanish has similar issues, but my Spanish is rusty)
comment 15y ago · link · parent
Of course, part of that could also be a result of my tendency to think about grammatical correctness in terms of type systems.
comment 15y ago · link · parent
It's entirely possible that there was concern for contamination or the like in the methods used, which would be a fair concern. On the other hand, the current manufacturing methods don't strike me as sufficient reasoning to pass on the concept as a whole, if that's indeed what the final recommendation means, as the article seems to imply.
comment 15y ago · link · parent
Still, I'd have happily given up my nice commute for a shorter one any day. Particularly since catching it at the wrong time meant not only that I had to worry about being late, but that I'd be crammed like a sardine against the door.
comment 15y ago · link · parent
http://news.ycombinator.com/item?id=2591367 ("The problem is that we don't understand the problem")
Perhaps we need to iterate over potential solutions faster.
comment 15y ago · link · parent
I'd wager this was related to either ROM distribution or violating the license on the emulator code.
comment 15y ago · link · parent
comment 15y ago · link · parent
I mostly see this in the form of low quality or offensive comments that get lots of up-votes from people who agree with the poster's opinion - usually if a good comment gets down-voted because the majority disagrees, someone says "why the down-votes? its' a legitimate point", and it gets boosted back to positive.
comment 15y ago · link · parent
This seems to imply that 20th Century Fox feels entitled to making the kind of profits that would support such exorbitant investments. I liked Avatar as much as the next guy, but the concept of making that much money off of something like music or film is a relatively recent phenomenon, dependent upon the combination of wide distribution with artificial scarcity. Even if Avatar couldn't be made without the kinds of conditions that allow for those kinds of profits, I'm pretty sure I'd trade it for all of the direct and indirect casualties of the recording and film industries; but really, I'm just thoroughly unconvinced that high quality work can't be motivated by more reasonable profits and other less tangible benefits.
comment 15y ago · link · parent
comment 15y ago · link · parent
- Keep at it with the programming, it'll click eventually. Start simple and give yourself lots of little goals. I'm a Python fan, but I'd suggest sticking with Ruby+Rails: Ruby's a good choice for your task, and learning both won't help you accomplish it as much as learning one well.
- Help people help you - People are less likely to read walls of text, especially if most of the information is extraneous: try to be concise.
- Don't dissuade people from helping you - You're more likely to be taken seriously, especially on HN, if you use proper capitalization, punctuation, etc., and avoid non-standard abbreviations.
comment 15y ago · link · parent
Moreover, I have a hard time swallowing that "the bully at the table was Google", given that the article's only support for this is the recording industry's claim that "The discussions were confused by Google ... adjusting how Music would actually work in ways that fundamentally changed how the labels thought about their IP, and thus how to license it", particularly in light of BMI's insistence that one person streaming their own music constitutes public performance [1]. This sounds to me like the music industry insisted on fundamentally crippling the service, and given the choice to cut one key feature or another, Google found it in their best interest to cut the one that makes the music industry the most money. I don't see any evidence yet that that was the right or the wrong choice from a user's perspective.
comment 15y ago · link · parent
PostScript 1 1.0 1.0 1.0
Brainfuck 2 1.0 1.0 1.0
Golfscript 2 1.0 1.0 1.0
COBOL 1 1.0 1.0 1.0
Octave 3 1.0 1.0 0.6666666667
Shell 5 1.0 1.0 0.6
dc 2 1.0 1.0 0.5
sed 2 1.0 1.0 0.5
R 2 1.0 1.0 0.5
OCaml 21 1.0 1.0 0.380952381
F# 17 1.0 0.8235294118 0.3529411765
D 6 1.0 0.5 0.3333333333
Prolog 3 1.0 1.0 0.3333333333
J 3 1.0 0.6666666667 0.3333333333
Clojure 17 1.0 0.9411764706 0.2941176471
Haskell 118 1.0 0.906779661 0.2457627119
C++ 5700 1.0 0.9080701754 0.2022807018
ActionScript 5 1.0 0.8 0.2
Lua 12 1.0 0.75 0.1666666667
Pascal 111 1.0 0.8738738739 0.1621621622
Python 1658 1.0 0.8805790109 0.1447527141
Ruby 259 1.0 0.8918918919 0.1351351351
Lisp 26 1.0 0.8076923077 0.1153846154
C 671 1.0 0.8032786885 0.1117734724
Java 2652 1.0 0.8465309201 0.1052036199
C# 710 1.0 0.8309859155 0.0985915493
Perl 155 1.0 0.8258064516 0.09677419355
MATLAB 11 1.0 0.8181818182 0.09090909091
Scala 35 1.0 0.8 0.08571428571
Groovy 13 1.0 1.0 0.07692307692
Javascript 30 1.0 0.6666666667 0.06666666667
GO 16 1.0 0.8125 0.0625
PHP 166 1.0 0.765060241 0.05421686747
Visual Basic 32 1.0 0.78125 0.03125
Assembly 1 1.0 1.0
AWK 3 1.0 1.0
WRAPL 1 1.0 1.0
Standard ML 2 1.0 1.0
Objective-C 6 1.0 1.0
TCL 3 1.0 1.0
Mercury 1 1.0 1.0
Befunge 1 1.0 1.0
Fortran 2 1.0 1.0
Factor 2 1.0 1.0
CMake 1 1.0 1.0
LOLCODE 1 1.0 1.0
LOGO 1 1.0 1.0
Boo 1 1.0 1.0
Erlang 5 1.0 0.8
Scheme 7 1.0 0.5714285714comment 15y ago · link · parent
You mentioned that a decompiler would have been only slightly useful for older games written in C/C++; is flow analysis not helpful in practice for simplifying code that was originally hand-coded in assembly?
Edit1: Thanks for the link to the paper[1], by the way. Do you know of any other good resources?
Edit2: Nevermind, I see you have them in github[2]. Thanks again.
[1] http://www.ci.tuwien.ac.at/~grill/decompilation_thesis.pdf [2] https://github.com/drx/ocd
comment 15y ago · link · parent
comment 15y ago · link · parent
It's also good to keep in mind that the best deal someone else got doesn't necessarily relate to the best deal you can get - just because someone negotiated a higher salary doesn't mean you can; it's not your BATNA unless someone makes you the offer. Also, if nothing else, distributive approaches tend to leave one or both parties feeling like they lost, which will likely sour future negotiations. Taking the integrative route means that the only losers are the companies that don't get you - assuming that's in their best interest (which it might not be, if they have a better BATNA than matching your BATNA).
Also, if the amount of effort and time that the negotiation takes is amongst your interests, then that's really on the negotiation table too (regardless of approach), it just means that you'll be negotiating away other things, like your salary, in order to satisfy that interest.