Hacker Newsnew | past | comments | ask | show | jobs | submit | intronic's commentslogin

Could you please explain this complexity? ELI5 even?

You never settle the trades? Dividends etc?

Hmm maybe I am 5...

Edit: ok yep so I guess what if they repeated the analysis leaving some time around open/close for chance of trades to settle, would the effect disappear or would this chance beef the key factor for the reported gain?


Settlement is when you actually own the stock you bought and the seller actually gets your money. That happens a couple of days after the trade. In the meantime it’s just “as if” but not quite and that has practical consequences. For example you can’t take your money out of the brokerage account until it’s really there.


Thanks! I was figuring this out just now as well thanks.

The analysis is flawed if it doesn't include this as the gains they describe seem essentially unrealisable.

So is the real issue that maybe someone has immediate settlement when the rest don't?


That would be an issue only a few days per year - and not at all for stocks not paying dividends.


Don't goog collect either way?

You get presented an ad:

- click and advertiser gets charged

- don't click and the ad word cost goes up so advertiser pays more to present the ad next time (because click through rate went down)

I always thought it was an amazing scheme, collect both ways.

Or did I get it wrong? Was ages ago when I looked at it.

I don't click either...


often when someone says "feel like" they mean "think that" - ie its not feelings per se.


Like print, if you have a lisp.


If you use only structs, lists, numbers and strings, print is perfect. It supports circular structure when PRINT-CIRCLE is true.

For custom classes you have to define custom printing methods, because, well, how you print a particular object readably has no general answer: for example, for some data (streams, threads), it makes no sense to serialize them. Java has the "transient" keyword to avoid serializing some fields in classes. You should also set PRINT-READABLY to T so that you have an error if an object cannot be printed readably.

Also, Common Lisp has to serialize values into FASL files when compiling them, but it can do it only for its own types. You can use LOAD-TIME-VALUE to have a form evaluated at load time, and MAKE-LOAD-FORM is a generic function that you can specialize to print a form which, when read, allocates and initializes objects at load-time. For your own classes, it is sufficient to use the helper function MAKE-LOAD-FORM-SAVING-SLOTS.

All that gives you a lot of control over what, how and when forms are evaluated and stored. The good news is that you have libraries available to do that very easily: http://www.cliki.net/serialization (see for example http://www.cliki.net/cl-marshal).

See http://clhs.lisp.se/


And Lisp even offers good ways for most structure (even circular structures!) to read data in without enabling generic code execution.


If you were to use this, would you really want to give all your detailed financial information to someone else? Who else do you give that info to? So desktop definitely good idea.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: