Slashdot Mirror


User: smellotron

smellotron's activity in the archive.

Stories
0
Comments
1,466
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,466

  1. Re:The "tax excuse" for not adapting on Bookstores May Boycott New Amazon-Published Books · · Score: 1

    What is a "popular" tax that people voluntarily pay? I wasn't aware there was such a thing.

    I suppose one could argue that residential property tax falls under this category. I've never heard anyone move to a cheaper neighborhood to reduce their property tax load.

  2. Re:Why is C++ unmanaged? on C++ 2011 and the Return of Native Code · · Score: 1

    The most outspoken critics of unpopular things are usually those most ignorant of the thing.

    FTFY. Somehow this now reminds me of grade school.

  3. Re:Then learn the language better, stupid on C++ 2011 and the Return of Native Code · · Score: 1

    Not all relations between objects have clear ownership semantics. There's nothing fundamentally wrong with cycles when they correctly model your domain.

    If the domain is modeled by cyclical references that do not express ownership, then use plain old boring pointers. But those pointers are pointing to dynamic memory, you say? Well, something else must own them (for the sake of RAII). Heck, a simple vector-of-shared-pointers solves the ownership and cleanup problem. Chances are there is some reasonable place where you could squirrel away the ownership obligation without mucking up the domain model.

  4. Re:Then learn the language better, stupid on C++ 2011 and the Return of Native Code · · Score: 1

    Ah, I see the problem: you're a Windows programmer. You must be. No other platform cares nearly so much about whether a file is closed before allowing another process to open it.

    File I/O matters on every platform. If you have a file open, you are using OS resources. If the contents of your file are buffered, you are further gambling with race conditions due to human interaction. Windows merely "enhances" these costs and risks.

  5. Re:Then learn the language better, stupid on C++ 2011 and the Return of Native Code · · Score: 1

    If you have cycles of pointers which are claiming "ownership" of each other then maybe you need to revisit your design, re-read the chapter on RAII.

    I agree; the biggest problems I have had with trying to "retrain" people used to GC is that memory management is all about ownership in C++. If you can't identify ownership as a DAG, chances are that something in the design is wrong already, regardless of the language. Once the ownership is there, the memory management just falls into place.

  6. Re:Yikes on C++ 2011 and the Return of Native Code · · Score: 1

    void testMemory() {
    std::string s();
    s.append("sample");
    }

    Ack! You've just rediscovered the most vexing parse. This code won't compile, because you've declared a local function s that takes no parameters and returns a std::string by value. I imagine this sidebar isn't going to win any more fans for C++...

  7. Re:Yikes on C++ 2011 and the Return of Native Code · · Score: 1

    RAII is a best practice not a language feature.

    RAII is an idiom based on the language feature of deterministic destruction. It relies on this language feature: .finalize() and similar don't cut the mustard. It is also the primary purpose for the language feature to exist: there is no reason to have a destructor unless it is cleaning up resources. Arguing that RAII is not a language feature is sophistry.

  8. Re:emotion vs logic on New Twitter-Based Hedge Fund Beats the Stock Market · · Score: 1

    Justin Bieber might be a 'hot trend' now but you cannot assume his popularity will remain for generations to come. Many fans like him for qualities that cannot be preserved for long (i.e. young face, young voice).

    In the future, Justin Bieber's youthful head will be preserved in a jar. Put atop a robot body, he may continue to woo stupid little girls and probably Fry.

  9. Re:Irrational Exuberance and Irrational Fears on New Twitter-Based Hedge Fund Beats the Stock Market · · Score: 1

    ...stuff about the value of speculation in a continuous market...

    Well said, sir!

  10. Re:Irrational Exuberance and Irrational Fears on New Twitter-Based Hedge Fund Beats the Stock Market · · Score: 1

    ...banking on the current "mood" means he's actually inflating the dangerous cycles of emotionally driven, short-term investment decisions...

    Well that all depends upon how he trades. Suppose he sees information that tells him this:

    • ZVZZT is currently worth $20
    • everyone thinks ZVZZT is awesome today

    He has two courses of action. First, he can push the momentum that he expects:

    1. buy ZVZZT at $20
    2. wait for ZVZZT to go up
    3. sell ZVZZT at $21 or whatever

    This fails if ZVZZT fails to move (i.e. twitter sentiment is too weak to make a difference). This type of strategy will magnify the impact of emotional sentiment, increasing volatility. OTOH, he can do the same trade on the "back side":

    1. wait for ZVZZT to go up
    2. sell ZVZZT short at $21
    3. wait for ZVZZT to go back down to fundamental value
    4. buy back ZVZZT at $20

    This fails if the stock price doesn't revert in a reasonable time frame. This type of strategy dampens the effect of emotional sentiment, reducing volatility. In effect, this strategy uses the knowledge of emotional mispricing to eliminate the mispricing. So, hopefully this demonstrates that most any information about short-term trading sentiment can for both "good" (dampening oscillations, pushing prices always towards fundamental values) and "evil" (magnifying oscillations, letting prices swing around and benefiting from the momentum).

  11. Re:One month? on New Twitter-Based Hedge Fund Beats the Stock Market · · Score: 1

    In concrete terms, you're suggesting that the distribution of stock changes is highly skewed, and claiming that it MUST be skewed in terms of a long tail of stocks going UP.

    The specific distribution of stock changes is less important than the lesson: the law of large numbers doesn't apply to the stock market, because (1) stock prices don't have a fixed mean, and (2) stock prices are not independent random variables. But to address your specific concern, let me attempt some armchair analysis: The stock market is not zero-sum: if stock prices go up, there are many beneficiaries:

    • stock holders win (paper) profits: citizens (long investors) are happy.
    • stock issuers gain (paper) value: corporations are happy
    • the president gets to brag about single-handedly turning around the economy and creating jorbs: politicians are happy

    On the other hand, if stock prices go down, the only beneficiaries are short-selling investors (note: market makers are hurt by solid moves in either direction). We can discount short-selling investors in aggregate because investors are long on average (i.e. number of shares issued is always greater than 0). Plus, short-selling is more expensive/complex and therefore short investors tend to be professionals or wealthy, garnering no empathy from the public.

    Overall, there is an incentive for Congress and the various regulatory agencies to see a stock market that always goes up, because it keeps people happy. This is visible in existing regulations: Stocks that drop in value rapidly will have extra rules placed on short sales, but no such rules are placed on buys for stocks that rise in value rapidly. You can observe this in recent news as well, with short-sale bans happening in Europe. It stands to reason that the distribution of stock changes has a positive skew and non-stationary mean.

  12. Re:Random links? on C++0x Finally Becomes a Standard · · Score: 1

    pecifically, why link to c2.com for "type inference" and intel.com for "lambda functions"? Wikipedia wasn't good enough for those?

    Have you ever browsed around c2.com? It's great. Wikipedia is good as a generic "fail-safe" resource, but I'd rather see a deep subject-matter wiki being cited where appropriate.

    I imagine the Intel article was referenced due to its examples of syntax. It's more specific than a general encyclopedia entry on lambda functions.

  13. Re:Set the exchanges to a clock. on How Linux Mastered Wall Street · · Score: 1

    0.5% transaction fee on any and all trades, payable by the seller... The only way the scam works is if transactions are effectively free.

    The transaction merely needs to be cheaper than the spread. In your example, if a 0.5% fee were applied to all sales, the "arbitrage opportunity" that HFT takes advantage of would instead require a 0.5% deviation (or is it half that, since the fee applies only to sells?), rather than a >0% deviation.

    At the same time the entire elitist concept of separate "capital gains" tax rates being distinct from "earned income" must be abolished completely.

    Short-term trading gains are taxed as ordinary income, so that whole can-o-worms doesn't really apply here.

  14. Re:Oh, Linux, how you've forsaken us on How Linux Mastered Wall Street · · Score: 1

    I'd rather see evidence of a Linux machine in Hitler's bunker than hear about Linux helping Wall Street punks get even further from real, useful activities than they used to be.

    You'd rather see technology used for mass genocide than greed? Scratch that, if we find evidence, we're actually talking about time-traveling mass genocide. This could be serious.

  15. Re:supposedly obsolete tech on PC Designer Says PC "Going the Way of the Vacuum Tube" · · Score: 1

    A tube mic preamp can be much cleaner and musical with less THD than any amplifier on a chip.

    [Citation needed]

    I'm sorry I don't have a citation to support the GP's claim, but I have heard something to the effect of even- vs. odd-ordered harmonics. Distortion due to even-order harmonics (tube) is subjectively more pleasing than distortion due to odd-order harmonics. Thus, even with worse THD, tube amplification may still sound "cleaner and [more] musical". See this general discussion on harmonics.

  16. Re:supposedly obsolete tech on PC Designer Says PC "Going the Way of the Vacuum Tube" · · Score: 1

    I am looking for a new amp, and I am on the fence. Mostly because I am having a hard time finding tube amps. Could you recommend I place where I can acquire one?

    I recommend any music store where you can bring in your own guitar and play on all of their amps. Also, don't pay too much attention to the wattage on amps. Tubes can put out a lot of sound with low wattage.

  17. Re:I need more information on Comcast Launching $9.95 Low Income Broadband Plan · · Score: 1

    Well then, lets just say that in the context of the question, they didn't do it out of the goodness of their hearts.

    How many corporations do things out of the goodness of their hearts? People may be altruistic, corporations not.

  18. Re:Which is worse? on The Most Expensive One-Byte Mistake · · Score: 1

    I guess my question would be: what if I want a string that contains NULs? (Yes, I've had this situation, before.)

    Pass around a size_t with your pointer and use the mem*() family of functions instead of str*().

  19. Re:Another advanced techiique to escape invinite l on Escaping Infinite Loops · · Score: 1

    Put a counter in all your loops. If the counter hits some arbitrarily ridiculous number throw an exception.

    Replace "throw an exception" with "kill myself with a core dump" and you have yourself a deal! I mean something like SIGABRT (a.k.a. abort()) or SIGQUIT. I can see value in preventing infinite loops, because faulty program exits tend reveal their errors more "naturally" than hung programs.

    But exceptions are baaaad in this case. Exceptions can be caught and ignored. An infinite loop like this is a logic error and the entire program state must be considered suspect/unreliable.

  20. Re:I am an HFT programmer on How and Why Wall Street Programmers Earn Top Salaries · · Score: 1

    The problem is that by then the tip-off that somebody got playing golf with the CEO of [censored] would be common knowledge.

    First of all, that sounds like insider trading, and that is illegal. Like, Martha-Stewart illegal. Second of all, if you need to "push out a fix" to your platform react to a generic "up" or "down" signal from an insider, you're doing it wrong. This is an operational control change, not a software logic change.

  21. Re:HFT borderline illegal on How and Why Wall Street Programmers Earn Top Salaries · · Score: 1

    HFT is somewhat illegal, since it could be considered insider trading, since you have time to process information before it becomes available to other people thanks to a faster network infrastructure.

    That is an incorrect definition of insider trading. Don't take my word for it, read the SEC definition of insider trading.

  22. Re:I am an HFT programmer on How and Why Wall Street Programmers Earn Top Salaries · · Score: 1

    Can you offer any suggestions as to how a retail investor might deal with the presence of HFTs and not get taken to the cleaners?

    As a retail investor, you should largely ignore HFTs. Trade infrequently, and you won't be subject to short-term volatility. As somebody else mentioned, use options to hedge instead of stop-loss orders.

  23. Re:I am an HFT programmer on How and Why Wall Street Programmers Earn Top Salaries · · Score: 1

    For an large enterprise developer who has worked about five years on .NET and Java, could you outline a path towards becoming an HFT programmer?

    Start by looking for an opening at an exchange or an ECN. Check out the job requirements of any major exchange located in your area.

  24. Re:I am an HFT programmer on How and Why Wall Street Programmers Earn Top Salaries · · Score: 1

    Are there any time when you get "a preview" of one order someone will put into the market where you can for instance pick up all that's available for that price and then sell for that order?

    If any trading firm receives customer order flow (e.g. Goldman Sachs, Interactive Brokers, and countless others), the previews are technically available in the form of direct customer orders. However, trading on that knowledge is front-running, and it is illegal. These types of companies are expected to separate their proprietary trading desks from their broker desks to avoid this sort of behavior, but I wouldn't bet my life on it.

    In a proprietary trading firm there are no customer orders, and all trading decisions are based on public knowledge. The doom and gloom you typically hear about "HFT front-running" typically refers to HFT algorithms reacting with lower latency than other algorithms or human traders. AFAIK, there's no ability to actually front-run in that situation.

  25. Re:Joe Sixpack isn't even using his 1080p right on Beyond HDTV · · Score: 1

    I wonder if the LED issues you are referring to are more typical to TVs as they have a much larger screen to light up/refresh/etc.

    Those issues are definitely a bigger deal for TVs, but that's also due to the content displayed; i.e. nobody really cares if there's clouding visible in a PuTTY session, because it doesn't distract from the "SSH experience". I have some of those issues with my Samsung LED monitor: specifically a poor viewing angle and awful hue shift (test this by viewing a solid purple image on yours, if you're curious). Looking at the specs, Samsung doesn't mention the panel type that they use, so maybe it's lower-quality panel than that of your LG.