Better HN
topnewbestaskshowjobs
Log inSign up

wfunction

3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions

Submissions

comment 9y ago · link · parent

I just installed Brave. Then I realized it doesn't allow Chrome extensions? I have so many ranging from email notifiers to cookie opt-outs to my own custom extensions for security and usability (like one that colors usernames on HN, for example)... how should I give all those up just to use a different browser?

comment 9y ago · link · parent

eBay is only in the buyer's favor in terms of refunds. It doesn't actually go after fraudsters who refund you immediately to make you shut up after you call out their counterfeits and whatnot.

comment 9y ago · link · parent

What?

comment 9y ago · link · parent

> I took function pointers as an example of why "supporting dynamic dispatch" is irrelevant for categorizing programming languages as OOP / not OOP.

Again, like everywhere else in your comments, you're conflating and confusing the language with the model/paradigm and keep trying to shove a language into a programming paradigm. Firstly, you can do OOP in assembly and yet it's not an "OOP language". The language is quite independent of the paradigm. Secondly, who was even trying to categorize languages here? You keep thinking the argument is about categorizing languages and then refute a nonexistent discussion...

> I must admit my ignorance : which languages except prolog don't work like this ?

Again: the discussion is not about trying to shove languages into categories; it's about programming paradigms. You can use the same language to code in multiple paradigms.

Look up "actor-oriented programming". It's a different model meant for concurrent processes, i.e. it's not a subroutine model since you don't need to wait for the procedure to finish and produce a result before continuing.

There are lot of "models of computation" out there (probably a better search term than "programming paradigm", btw) and people go so far as to do PhDs on these. I suggest looking around and not assuming everything is some trivial variation of OOP or FP or DP (declarative programming) or whatever you saw in undergrad.

comment 9y ago · link · parent

A lot of misunderstanding in what you wrote, but to comment on two parts:

> Every languages that have some kind of function pointer allow this.

It doesn't seem like you're reading the discussion. The claim the parent made was that "every time you do {X}, it is OOP". My reply was "yes, you can do OOP in C, but OOP implies far more than just {X} (it implies {Y}, etc.); merely {X} does not imply OOP".

You reply with "languages that have function pointers allow {Y}". Well yes, they do allow {Y}. Most/all of them in fact probably allow OOP in full. Nobody suggested such languages don't allow OOP (in fact I said the opposite about C). What does that have to do with the entire discussion and argument? Your argument isn't even wrong... it doesn't even compile.

> message-passing is only relevant if you adhere to Alan Kay's vision of objects. I personally don't (even if the guy coined the term).

This 100% completely misses the point of what I said. Replace it with "procedural call" if you're allergic to "message passing". The point I was making was we're talking about subroutine calls: you call a procedure and wait for it to produce a single value as the resulting output before proceeding. Again: if you're not used to other paradigms then that might be why you're missing my point here and adversely reacting to superficial things like the nomenclature. Whether you dress it as message passing or anything else has nothing to do with the issue.

comment 9y ago · link · parent

No, it absolutely is not. OOP has lots of well-known unique characteristics such as inheritance, dynamic dispatch, polymorphism, encapsulation, etc... as well other less-frequently-noticed semantic differences like the fact that the message-passing follows a subroutine model (which may be more difficult to appreciate if that's the only thing you're used to). Yes, you can do OOP in C, but just making a struct and defining procedures to operate on it doesn't imply any OOP.

comment 9y ago · link · parent

> Seriously guys, if you think OO has failed you are obnoxious to the amount of successful OO software that everyone uses every day.

Not sure what you mean. Do you mean oblivious?

comment 9y ago · link · parent

Is not saying hello when you see someone that you would normally be expected to say hello to not considered "rude"? It is to me, but it's not obnoxious...

comment 9y ago · link · parent

> I mean, you could just never leave your house if you were concerned about safety.

I'd take a 1/1000000 chance. I wouldn't take a 1/1000 chance. Get the point?

comment 9y ago · link · parent

What I would be afraid of is if these folks work in groups and they hear about the one guy who dared to go after them. Then you might get one of them arrested but your life might be under threat from a dozen others. Is it really worth it?

comment 9y ago · link · parent

Would they pursue something like counterfeit software licenses or gift cards mailed via USPS, if the scale isn't as large (like <$100)? Asking since it's happened to me on smaller scales before, but the amount is smaller and I'm not sure how to prove I received whatever I received...

comment 9y ago · link · parent

It sounds like we're agreeing? I was also saying, just like you, that the choice is not based on the statistics. The parent one is the one that used the statistic to justify the choice of biking.

comment 9y ago · link · parent

I don't think people think in terms of life expectancy. Do you? Is a 1% chance of dying on your next ride and otherwise living 100 years equivalent to not riding your bike and living 99 years to you?

Edit regarding your comment: Oh, I see why you're confused. I didn't need to do the math because I was talking about a 1-time bike ride as an example to just get the point across -- it's already scary for 1 ride. But if you want the actual math for a lifetime, there's a ~1/5000 lifetime odds of dying in 1 year of biking. That's still pretty damn high. I don't know about you but I'd rather just give up on the 78th expected year of my life and lose the 0.1% chance of dying in the next 5 years.

comment 9y ago · link · parent

Safety concerns?

comment 9y ago · link · parent

Does it bother them enough to get other police departments involved? I imagine no one they can arrest is within their jurisdiction...

comment 9y ago · link · parent

I suspect you might also enjoy this, which was also posted a while back: https://github.com/karolmajta/git-xd-hook

comment 9y ago · link · parent

"This required techniques sensitive enough to detect variations in the movement of the star as small as 30 centimeters per second."

This kind of precision sounds insane. It sounds like far more of an achievement than having found Earth-sized planets. Is there any layman explanation of how they do such a thing?

comment 9y ago · link · parent

Sorry I meant I was looking for more like documentation on the product rather than implementation. Thanks though.

comment 9y ago · link · parent

I'm wondering if this is more like "citizens do not have this right" rather than like "citizens do not, and should not, have this right".

There is obviously nothing in the Constitution about recording public officials, and I assume there isn't a statute against it, so that means it's relying entirely on case precedent, right? Which I understand is still law, so I'm as baffled by the ruling as anybody, but I also feel that if I were taking this case on for the first time, I would find myself ruling that citizens don't have this right -- even though I would desperately hope and agree they very much should. Does anyone feel that if there was no case precedent, they would still believe they had this right due to freedom of "speech" (or something else)? What would be your legal justification?

comment 9y ago · link · parent

Any more reading on the Instart Logic tech detecting dev tools and hiding itself? I can't find much online.

comment 9y ago · link · parent

> the ones confusing technology with science, and insisting that GMOs must be perfectly safe

I don't know if I fall in that group (I don't think I confuse the two and I don't really talk about GMO much) but my prior belief would be that GMO products are probably safe, through some kind of hand-wavy mathematical argument: it's like modifying a program to do what you want; chances are if you mess up, it'll crash quickly and won't work rather than working almost-as-intended while injecting nefarious input into the next program.

Would LOVE to read evidence to the contrary though. So please share your citations.

comment 9y ago · link · parent

What about the BCL, CLS, etc.?

comment 9y ago · link · parent

Oh but how does that work? That's ~6 MB per game which sounds like just a list of actions rather than precomputed data per frame. Is it compressed somehow?

comment 9y ago · link · parent

Oh I see, thanks, I didn't know. But man, 300 GB per game sounds completely nuts!

comment 9y ago · link · parent

Is it that much computation to simulate an entire game? You obviously don't need to render the graphics or anything, it should just be a list of events that occur, which doesn't seem all that slow to process.

comment 9y ago · link · parent

Links to support this claim?

comment 9y ago · link · parent

I don't know about you but the last time I saw a class take on extra teaching load to help students "catch up" and not sacrifice on other teaching goals was... never. You seem unrealistically hopeful that things are going to work out the way they claim.

comment 9y ago · link · parent

Are children into live-action Disney films? That seems to be the vast majority of their catalog, not animations.

comment 9y ago · link · parent

First of all, he had far better references than random WordPress blog posts, and second of all, that is completely irrelevant and doesn't excuse you from providing an accurate representation of the original.
12345
52