HNHacker News
TopNewBestAskShowJobs

gorena

293 karma · joined July 21, 2015

submissionscomments
gorena··on Frontback Shutting Down
What was the business model for this? Get a lot of users and get bought like Instagram? $40m for $4m seems like a great return for something that doesn't have revenue.
gorena··on Dynamic Languages Are Static Languages (2011)
> "The parseInt() function parses a string argument and returns an integer"

This seems... factually incorrect? Shouldn't it say "a double"? (or a "number", which just means "double" in JS)

It might ignore any characters after a ".", but it's impossible to return an integer in JS...

gorena··on Dynamic Languages Are Static Languages (2011)
In the first case, any sane static language will use type inference, so you won't have to write out "int foo", just "let foo" or equivalent. (I'd also argue that any sane static language would disallow or at least heavily discourage mutable variables, but that's neither here nor here).

The second case is easily handled by static languages, for example, in Swift:

    var mydata = ["foo": Dictionary<String, MyObject>()]
    mydata["foo"]["bar"] = MyObject()
This is only longer than it needs to be because of using two lines, you wouldn't need the explicit declaration to do it in one:

    let mydata = ["foo": ["bar": MyObject()]]
This also gets rid of mutable state!
gorena··on Why I give my students a ‘tragedy of the commons’ extra credit challenge
Depends on the relative value to the rest of the course, I suppose. If you've been acing every test and homework you can be relatively confident you'll do well - at least, this was my experience in college. I didn't have many classes that had grades entirely based on one assignment though.
gorena··on Why I give my students a ‘tragedy of the commons’ extra credit challenge
Well, rich students don't need good grades since they'll just live off their trust fund, I suppose? (or get a job at daddy's hedge fund)
gorena··on Why I give my students a ‘tragedy of the commons’ extra credit challenge
This assumes you haven't already maxed out the GPA value for the course. If you already have a 92 (I went to a school that didn't have "A+", YMMV), there's no reason to increase your grades, and anyone else increasing their grade has the potential to devalue yours.

Note that this is fixed by just averaging your actual grades out of 100 to form your GPA, instead of mapping from a 0-100 range to an enumeration to a 0-4 scale then averaging the results.

gorena··on Why I give my students a ‘tragedy of the commons’ extra credit challenge
This is not necessarily true. If you're already a good student, this devalues your GPA, mostly due to the generally awful GPA system. Assuming your school considers everything above a 92 to be a "4.0", if you're already in that range, you definitely don't want to help anyone else into that range.

Note that, of course, this would be fixed by just making GPAs decimal numbers out of 100, the average of all of your actual, numeric grades from each course (multiplied by credit hours?). You can divide it by 25 if you really want the weird 4.0 scale for some reason.

gorena··on Lufthansa flight has near-miss with drone near Warsaw
It's all sort of irrelevant anyways, since if you wanted to kill a bunch of people, you could just suicide bomb the giant line of people that now forms due to all of these "security" procedures.
← PreviousPage 4 of 4