Technology

Entries related to technology.

Writing BLOBs from Matlab to SQL Server using ActiveX and Stored Procedures

Over the past few months, I’ve been working on a project that integrates sophisticated Matlab financial models with a Microsoft environment. Back in February, I wrote about writing from Matlab to Excel using ActiveX. Since then, I’ve been focusing on SQL Server and want to share those experiences.

(Categories: )

Turning Fifty

On July 9th, I will turn fifty years old and it is a big deal for me. My forties were rough and I’m hoping that my fifties will be better. I never really had a big birthday bash, and although my wife is struggling with physical difficulties, she is organizing a fiftieth birthday bash for me. Sometime around my fiftieth birthday, I will send my 5,000th tweet.

Perhaps a bigger thing for me is that I grew up loving the writing of Hermann Hesse. I’m told that Hesse once said you should never read anything he wrote before he was fifty and you should only read it after you turn fifty. I’ve always thought of turning fifty as a special point in literary production and I’ve wondered what turns my writing will take after July.

I was brought up in a very frugal family, and it has stayed with me throughout my life. Our financial difficulties over the past few years have further caused me to hold back on dreams of gadgets I would like and so birthday magic often seemed to elude me.

(Categories: )

#followfriday

@ltoomre @mrkwpalmer @ltabb @johnjcoulter @kw2dio The #SIFMA edition:

Since March, I’ve been posting #FollowFriday posts on my blog, highlighting people that I find interesting. Often, these posts focus on specific groups of people; friends from Connecticut, Connecticut news outlets, political activists, people doing interesting stuff in online marketing, and so on. This week, I’m highlighting a few people doing saying interesting things about financial markets.

As is my standard, I write it as a blog post, so people can get additional information on why I am following these people, and TwitterFeed sends the key part to Twitter.

@ltoomre – I have known Lars since the 1980s when we worked together at Lehman brothers. We have worked together on and off ever since then. I first started using Twitter back in October, 2006 and in March, 2007, I wrote a blog post for the Toomre Capital Markets website entitled Web 3.1: Real Time Enterprise Internet Presence. I wrote about Twitter and how “More and more, the data is becoming real-time”. I ended my post by suggesting “System which provide real time processing of events, like Streambase, Coral8, and Apama may become key components of a Web 3.1 architecture, but they may have some difficult enhancements to develop to get there and some very smart thinking to figure out how to take advantage of it.” Well, Wednesday, Streambase has announced that they have connected their stream processing engine to Twitter.

At the SIFMA show, I asked people from Streambase for details of how they are connecting and what people are doing with these connections. The details were sketchy, but I did hear that some algorithmic trading firms are using signals from Twitter to stop automated trading of specific stocks if there is a spike in buzz about the stock on Twitter. This makes a lot of sense and I’m glad to hear that Streambase is now talking about their Twitter Connector

With that, the second person that I list for FollowFriday is @mrkwpalmer. Mark is CEO of StreamBase. In the Streambase press release, they also referenced Larry Tabb of the TABB Group. He tweets as @ltabb and is probably worth following as well.

@johnjcoulter of Vhayu, a competitor of Streambase, also posts on Twitter and tweeted about the SIFMA show and complex event processing. I’m not sure that he really understands what is going on with CEP and Twitter, which seems a bit surprising. In one message, he wrote “Factoring Tweets into trading algos is so dangerous its nonsense.” It seems like ignoring non-technical market signals, such as the buzz around a stock, whether it is buzz on the floor, or buzz on Twitter is dangerous nonsense for algorithmic traders.

One final person to add to this week’s FollowFriday is @kw2dio. Lars and I have worked with Dio in the past on financial services related projects. He seems to be spending more of his time on photography these days, but he is another person that should be followed.

So, that’s it for this week’s FollowFriday.

(Cross posted at the Toomre Capital Markets website.)

Even More on #TOR, RackSpace/Slicehost and #iranelection

This is my fourth post about #TOR, RackSpace/Slicehost and #iranelection, and I continue to have interesting discussions in emails, blog posts and their comments, and on Twitter. Here are a few updates.

Most importantly for me, Slicehost has said that they believe my current configuration should be sufficient and that they are notifying the complainants of my compliance and resolving the issue. I’m glad about this. All in all, I’ve been very pleased about Slicehost and I hope that I can work with them to make it more straight forward to get TOR up and running on a Slicehost slice. My slice is running Ubuntu, and I wrote about the initial set up in #iranelection and #TOR on #ubuntu.

In my discussion about the legal issues I ran into in More #TOR and #iranelection, J from Tequilafish wrote that he ran into a similar problem with Slicehost and has added the same Exit Policies. He also noted that he is running Fedora and has a blog post Slicehost: Setting up a Tor relay on Fedora to help keep Iran connected #IranElection. It is good to be communicating with him and I hope that many of us can work together to help establish best practices for installing TOR on Slicehost and Rackspace servers.

On Twitter, @fanclerks, who describes himself as a “Network Security Admin for Rackspace Hosting”wrote “I don't believe our AUP says anything about not allowing #Tor? I know a few Rackers run #Tor on their personal servers.” I believe that it all ends up being in how you read the AUP. As I read it, TOR should be okay. However, since you can’t control what people using TOR use your exit polices for, they could do things that are prohibited by the AUP which could put you in violation of the AUP. As a lawyer from EFF, who is also on the TOR Board of Directors said, the Terms of Service probably give Slicehost the right to terminate your account at any time for any reason. He offered to help me explain to Slicehost and why they have no legal responsibility for what comes out of a TOR node. As it stands right now, I don’t believe that is necessary, but it is great to have made contact with him.

Another friend on Twitter expressed reservations about running TOR since it can be misused. As I noted, all technology can be misused, so that argument doesn’t sway me much. He acknowledged this and talked about the benefits of use versus the costs of misuse. To me the benefit of making the Internet a little more open for people in Iran and other countries is great. To the extent that I can mitigate the costs of misuse to something like spending time trying to get people to understand a little better how TOR works and why it does not add a legal liability to a hosting service, then that is an acceptable cost. However, if the cost rises to the point of having to move to a different hosting service, then I would have to re-evaluate the cost.

One final note: I use hashmarks in my titles. This is because my titles end up getting sent to Twitter via Twitterfeed. I believe quite a few people have found my writings about this because of my use of hashmarks. However, my titles also show up on the webpage of a local newspaper. Some at the newspaper have been confused by the hashmarks. I’ve responded to them about the use of hashmarks as part of hashtags and encouraged them to learn more about twitter and hashtags. This is yet another cost benefit calculation. Right now, the benefit of using hashtags and the traffic I get from Twitter and related sites appears to significantly outweigh removing the hashtags for the benefit of the local paper. However, that too is a calculation constantly needing to be re-evaluated.

As a final comment, to those of you who are not particularly geeky or political, I apologize for the amount of technological and political posts I’ve put up recently. I do have other posts that will be coming up soon on some of the other topics I like to follow. However, I do believe this is very important and to the extent that I can communicate on this blog and elsewhere to make it easier to set up TOR Relays on Slicehost accounts, then I think I have done something very important.

(Categories: )

More #TOR and #iranelection

Well, it was bound to happen. It appears as if someone was using Bittorrent over TOR to copy copyrighted material through my gateway. Yesterday afternoon, I received two emails from Slicehost. They both started:

We have received a notice pursuant to the Digital Millennium Copyright Act (“DMCA”) from Bay TSP regarding certain content appearing at the above-referenced website (the “Website”). This company alleges that material posted on your company’s website infringes on their copyright. Please remove the content claimed to be infringing from the Website and confirm to me in writing that you have done so by 8:00 A.M. Central Time, Thursday, June 25, 2009. If the allegedly infringing content is not removed and/or I have not received your written confirmation by that time, Rackspace will suspend network access to the server(s) hosting the Website.

Please note that you may provide a counter notification, stating that the posted material is not infringing the alleged copyright, in accordance with the provisions of 17 U.S.C. §512(g)(3) to Rackspace’s designated agent:

I responded using the Response template for Tor relay maintainer to ISP that was written by the Electronic Freedom Foundation. The gist of the response is that there is no infringing material posted on the website, and it just appears that way because of the way TOR works as a conduit.

Slicehost responded:

Unfortunately, as you have stated your intention to take no action over this incident we have had no choice but to suspend your account. Please do note that running a TOR is not against our ToS, however, seeding and sharing copyright material is.

Unfortunately, I never received that email until after my account had been suspended. I contacted support and they re-sent the email. I responded pointing out that I am not seeding or sharing copyright material, so there is no action, other than shutting down TOR that I can take.

Slicehost responded:

I reactivated your account for the time being. In other cases similar to yours, we have had customers block the ports being abused through the torrent service. We need some way of ensuring that copy written material is not being served from your slice. Regardless of where the content is hosted, Bay TSP and Warner Bros. were able to download their material through your IP address. You need to find a way of blocking these from happening again. Please update this ticket with your plan of action. I need to know that this issue has been resolved and we will receive no further complaints.

Based on this, I followed the advice of Chris Brunner on Why You Shouldn’t Run BitTorrent Over Tor and disabled the most common BitTorrent ports. Ideologically, I’m a little uncomfortable with this. While BitTorrent is often used for illegal copying of music or movies, it can also be used to copy important open source software which could be used in promoting democracy and free speech.

From a practical stand point, if what I have to do is shut down the most common BitTorrent ports to be able to keep TOR up, so be it. In addition, it may allow me to keep TOR active for longer periods without using up too much bandwidth. Yet there is another concern here. While this is likely to significantly limit the chances of someone illegally copying content, as long as you run TOR or any sort of proxy, people will be able to access copyrighted material.

This is why one section of the Digital Millennium Copyright Act is so important. The EFF letter puts it this way:

The "takedown notice" provisions do not apply when an ISP merely acts as a conduit. Instead, the "conduit" safe harbor of DMCA 512(a) has different and less burdensome requirements, as the D.C. Circuit Court of Appeals held in RIAA v. Verizon (see http://www.eff.org/legal/cases/RIAA_v_Verizon/opinion-20031219.pdf) and the Eighth Circuit Court of Appeals confirmed in RIAA v. Charter (see http://www.eff.org/IP/P2P/Charter/033802P.pdf).

TOR acts merely as a conduit. In light of this, I believe that Slicehost was incorrect when they suggested that the access of copyrighted material via TOR was a violation of their Terms of Service. However, one of the problems with Terms of Service and Acceptable Use Policies is that there is normally no due process or recourse available to clients of a hosting service when a dispute occurs.

In light of this, I will do whatever I can to keep TOR up and running in a manner that is acceptable to those in charge of AUP at Rackspace and Slicehost.

Yet why am I running TOR anyway? Friends have been asking me that, and I thought the best starting place to explain this is to look at recent blog post on the TOR Blog. In Measuring Tor and Iran they note that prior to the disputed election in Iran, there were normally less than 200 TOR clients in the Iranian IP space. Since the election and the ensuing turmoil, this has rapidly climbed to around 1000 TOR clients.

I believe this illustrates why TOR is so important, especially now. Related to this is NedaNet. Regular readers of my blog will already know the story of Neda Soltani, twenty-six year old Iranian woman whose death has caught the attention of the world.

NedaNet’s “mission is to help the Iranian people by setting up networks of proxy severs, anonymizers, and any other appropriate technologies that can enable them to communicate and organize — a network beyond the censorship or control of the Iranian regime.”

I would appreciate thoughts and suggestions from everyone on best ways of helping keep the Internet open in all countries. In particular, if anyone who has run into issues with the TOR and hosting services, especially if it involves BitTorrent, I would love to hear how it has been dealt with in your situations. I have also contacted counsel at the Electronic Freedom Foundation to get any guidance they can provide.

Syndicate content