laported's comments

laported | 9 years ago | on: Contextual Identities on the Web

This is a complex feature to implement and they "don't have all the answers...yet, but hope to start uncovering some of them with user research and feedback." If customization is important to you, you can let them know: "We hope to gather feedback on this basic experience to see how we can iterate on the design to make it more convenient, elegant, and usable for our users. Try it out and share your feedback by filling out this quick form or writing to [email protected]."

laported | 9 years ago | on: A language that compiles to Bash and Windows Batch

From the README:

Why not Python/Ruby/Node.js/Lua

Yes you can use any of them as platform-independent glue code. But there are several disadvantages:

    None of them is preinstalled on all platforms (including Windows).
    Functionalities like process piping are not convenient to use.
    Hard to integrate with existing code written in Bash or Batch.
Those reasons are why I developed Batsh.

laported | 10 years ago | on: I owe Etrade $106k, ouch

The basic rule of thumb in investing is "buy low, sell high". The twist here is that you don't need to do it in that order (i.e. he was hoping to "sell high" first, then later "buy low" - referred to as "shorting"). So, since he thought the stock was overvalued (and that the price would eventually drop) he decided to sell some shares, even though he didn't yet own any. The way he did this is by borrowing the shares from ETrade, then selling them. So he then owes ETrade the amount of shares that he just borrowed. Later (hopefully for him, when the price dropped) he could purchase shares of the stock, and repay ETrade. So, what he's hoping for: Borrow X shares from ETrade, and immediately sell them at $2. Sometime in the future, buy P shares at ($2-y$) and return them to E*Trade. He makes a profit of P($2-$y) (excluding fees). Note here that the absolute maximum he can profit is P($2), if the stock goes to $0. What actually happened was that the stock had a dramatic price increase (something like +$14). At that point, ETrade wants its shares back that he borrowed at $2 a piece, so he buys them at $16 and loses P($14), which is much more than he had in his account.

laported | 10 years ago | on: MS is open-sourcing PDB format

This brings back some fond memories. One of the first interesting projects I worked on professionally was a post-mortem debugger that ran under OS/2. We used Microsoft's compilers and it was a bit of a challenge to reverse engineer enough of the debugging symbols to make something useful. Definitely could have used this back then :)

laported | 11 years ago | on: C99 tricks

I have also. DSP code in an embedded environment.

laported | 12 years ago | on: Publish events from your Spark Core

From the homepage (https://www.spark.io/):

What if I don't want to connect through the Cloud?

That's okay! The Cloud is there to make the Core easier to work with, but if you'd rather do it yourself, that's no problem. The Core lets you do your own socket programming over TCP and UDP.

If you want the simplicity of the Cloud but you want it on your own server, we'll be releasing an open source version of the Cloud designed for quick and easy deployment.

page 1