HNHacker News
TopNewBestAskShowJobs

tarpherder

103 karma · joined April 14, 2014

submissionscomments
tarpherder··on Meerkat Founder on Getting the Kill Call from Twitter
Isn't it all a gamble in the end?
tarpherder··on Game of Thrones leak and watermark: a stupid tracking system
The silly thing is that nobody seems to realize that the public has only seen 1 leaked copy, probably from 1 source. HBO could be using any number of techniques and none of us would notice any of them because we have a sample size of 1. Even the odd techniques OP describes could be present in the copy, your described technique as well, any number really. We won't see them unless they are as in-your-face as the watermark.
tarpherder··on Game of Thrones leak and watermark: a stupid tracking system
How can people so easily assume that the watermark was truly the only tracking present? HBO wouldn't immediately come out swinging even if they knew who or where the copy was leaked.
tarpherder··on Stanford study shows success of different programming styles in CS class
I share your concern that this will result in a lot of sloppy solution to lots of little problems which in turn results in one big mess of sloppy-but-it-works solutions which can be a big problem (but doesn't have to be). However, even when working out a good solution I think it's important not to get stuck. Make sure you are making some sort of progress; it's okay that it takes time but it is not okay if someone is just moving in circles instead of inching closer to the solution. Basically if something takes "too long" to get working, try a different approach or come back to it at a later time to try again. I quite like the "Don't get stuck" motto if we look at it that way.
tarpherder··on Former Nvidia Dev's Thoughts on Vulkan/Mantle

  The bigger question to me, is how would game developers
  on the PC market (OSX/Linux included) would scale their
  games? You would need different assets (level of detail?
  mip-mapped texture levels? meshes?) - but tuning this to
  work flawlessly on many different configurations is
  hard...
This isn't really any different from what it has been until now. All AAA games have different levels of detail for meshes/textures/post-processing etc. Even when not exposed to the user as options in a menu these different levels of detail exist to speed up rendering of for example distant objects or shadows where less detail is needed. DX12/Vulkan is not going to change anything in that regard.

Doing a good PC port is not as easy as it may seem at first glance. Different hardware setups and little control over the system cause lots of different concerns that simply don't exist on consoles, which means nobody bothered taking that into account when the game was originally built. These new APIs will help though; the slow draw calls on PC are a pain compared to lightning fast APIs on consoles (even Xbo360/PS3!).

tarpherder··on Disproportionately Common Names by Profession
Its interesting to see the difference in type of names between Football Coach (Dan, Bill, Mike, Jim, Rich, Steve) and Electrical Engineer (Bernard, Eugene, Edwin, Charles, Alfred, Harvey). Short (one vowel each), common, English versus longer (two vowels each) French/"Posh" English names. Correlation between the names and background/educative level seems likely?

Songwriter is interesting too: 4 out of 5 end with a variation of "y".

tarpherder··on What's New in CPUs Since the 80s and How Does It Affect Programmers?
It is done on PC as well, but we can't assume very recent instruction sets. We'll have to do with semi recent instruction sets.
tarpherder··on Microsoft hits out at Google team over bug report
Almost everyone was already enjoying 90 days of ignorance. And almost everyone could have enjoyed indefinite ignorance with the same relative safety if Google had waited for patch Tuesday.
tarpherder··on What Is Aging? Most Scientists Still Get It Wrong
Not aging implies that you won't age beyond a certain point, or do you mean something different? Also, the question you ask is relevant even today with regular aging, and it's already hotly debated looking at euthanasia. I'm guessing euthanasia will have to be legalized if we ever do find a "cure" for aging.
tarpherder··on NASA Study Proposes Airships, Cloud Cities for Venus Exploration
More like step. There is no such thing as time. The simulation could be paused for (real) years, then continued and there would be no way for entities in the simulation to notice that. This is also why we technically don't need super fast computers for such a simulation; it would be slow to us, not to those inside. Although it's not practical to have a very slow simulation of course.
tarpherder··on “You will not be arrested for using drugs”
The GGD site has information on how to tell them apart:

"Test it by placing a pinch of the powder on your tongue. If, within a few minutes, this does not have a numbing effect, it is not cocaine. It could be heroin instead."

http://www.ggd.amsterdam.nl/english/drugsalert/more-informat...

tarpherder··on Don't run 'strings' on untrusted files
No no, you are mistaken. His reply is a special one. See, it not only refers to your reply, but it refers to itself as well! It's amazingly efficient, no need to respond to it any further!
tarpherder··on JPMorgan Says Data Breach Affected 76M Households
The PIN system as used in Europe (or at least where I live) always requires you to physically enter your PIN-Number with any purchase, even online. The card alone is useless as you MUST enter the PIN-Number, and 3 wrong tries blocks the card permanently. To make purchases online your bank would send you a small device which takes: a number supplied by the online website indicating your purchase, your card and then asks you for a PIN-Number. It then does some magic and outputs a number that you would need to verify the purchase.

It seems that this is not that same type of system or am I mistaken in some way? Seems to me that it would have helped; my account number/card number/exp. date are useless on their own.

tarpherder··on XSA-108 Advisory
*0xff/255

Simple but potentially dangerous right? :P

tarpherder··on I was asked to crack a program in a job interview
You are going to think your boss is mistaken/wrong/lying in the first hour you meet her/him, during a job interview? Nah. You're not.
tarpherder··on Compiler Writers Gone Wild: ARC Madness
Just a note: "a==a is false for NaN" is only true if compiled with precise or strict floating point mode. It will return true in fast mode, which is often what is used. Do not rely on this behavior for checking NaNs, use isnan instead.
tarpherder··on Nerdsniping: A glimpse into a stubborn mind
Might not be Java but still interesting, it made me think of one of my favorite little quirks in C++:

  #include <cmath>
  
  //Floating point model: Strict:Precise:Fast
  //Will code execute
  float a = nanf("");
  if (a == a)//S:No P:No F:Yes
      (do something);

  if (a != a)//S:Yes P:Yes F:No
      (do something);

  if (a < 0.f || a > 2.f)//S:No P:No F:Yes
      (do something);

  if (isnan(a))//S:Yes P:Yes F:Yes
      (do something);

NaN's (Not A Number) can propagate a long way through your code, possibly reaching places where they cause real problems. When dealing with input, especially networking, one should always check for NaN's. Basically the rule with NaN's is: The comparison always returns false if any NaN is involved. But as you can see; specifying the fast model throws that out of the window. (Code was otherwise unoptimized.)

In the third statement an otherwise fine check is done to make sure the value in a is sane, it doesn't get changed but its certainly not what you'd want it to be.

Whole lots of fun can be had when serving this to game servers. :D

← PreviousPage 3 of 3