Welcome to blog.chinoy.com Sign in | Join

August 2009 - Posts

All you need in this life is ignorance and confidence, and then success is sure.
- Mark Twain

Letter to Mrs Foote, Dec. 2, 1887

Feel free to apply to coworkers, consultants, management, work, politicians, etc.

0 Comments

10:09 AM Ed: How do you suggest I get this woman to shut up
me: Lol
Ed: She has interupted everyone for 2hrs straight
me: Where are you?
Ed: I'm gonna stab her in the neck with a pen
10:10 AM In meeting
me: Sounds like you need to write a meeting haiku involving a pen and her neck

[I couldn't help myself...]

10:11 AM
interrupting bitch
my pen would fit in your neck
let speech flow freely

0 Comments

I haven't announced my issues with the G1 hardware I've had, primarily because they've been due to my stupidity, but, of late, I've had to hard reset my Android phone a few times in the last year or so. It always takes me a while to figure out what I had on there and then go through the painful addition of those apps. So here's a list:
Amazon Mobile
Google Finance
CompareEverywhere
Shop savvy
Twidgit Lite
Google Sky Map
Astrid
Last.fm
Shazam
Layar
ConnectBot - ssh
Movies by Flixter
PicSay
Google Voice
Weather forecast widget v2, Francois DESLANDES
Digital Clock Widget, Maize
FBReaderJ - an epub reader


Amazon

Astrid

Compare Anywhere

Google Finance

Google Sky Map

Layar

0 Comments
I received this error on the XP and other Vista clients I have who are mounting a drive from my Vista Business x64 server:

"Not enough storage is available to process this command."

It's a patently untrue statement as there're 1.5 free Tb hanging off the Vista Business server.  Additionally, the event log shows error 2011.  Googling yields a two potential solutions:

1. Increase a default not-present IRPStackSize registry setting, something that's been there since the NT days, KB 177078
2. Disable SMB2 and use SMB1 insteadKB937082 That seems like a fail solution, tossing an included protocol.

I opted for #1 and the problem seems solved, though I have no idea why that'd work.  Not really a satisfactory solution.


0 Comments

Jack had such a hard time putting XP Pro on his Lenovo IdeaPad S10 via bootable USB that I was a bit concerned about trying to put W7 on my S10-2.

I followed the instructions on ditii.com using a 4 Gb Patriot USB removable stick that I'd been using on my Vista desktop as a readyboost helper. A few parts of the instructions were a bit odd - the referenced zip's .ini file had multiple lines for the %Microdrive_devdesc% part when only one was needed. I had to run through the diskpart bit to assign a drive letter to the newly recognized usb drive a few times.

I used Slyfox's VirtualClone drive to mount the W7 RTM iso and copied the files over to the G: drive (the usb drive's letter) with xcopy. When installing W7, the machine had the main hard drive partitioned into three parts, a primary for the os, a 2nd for drivers (xp home, the original os) and a recovery partition. I left the 2nd and 3rd partitions alone. The installation went smoothly and completed within 45 minutes.

Lenovo has a forum dedicated to W7 RTM and on it I came across this thread which states there're only a few drivers that the W7 dvd or Windows Update don't include.

I haven't added any other drivers just yet, but the machine is working fine. Of course, there're the Lenovo specific buttons that don't work - QuickStart for the IdeaPad and the Restore button, but the camera and the touchpad work fine.

Jack ended up borrowing a coworker's USB DVD player to install XP Pro.

0 Comments

Wolfram|Alpha has a preview program where you can sign up and view their latest version at a beta url before they push their build to their live site, www.wolframalpha.com. I have to admit, I'm a sucker for testing new things, early adopter syndrome and all, so I don't mind getting a sneak peek. Over the weekend I started looking into Mathematica, too, since Wolfram|Alpha's written in Mathematica.

During my Six Sigma course, the examples have been given in Matlab and I've really wanted to start using R. After watching an intro presentation on the newness in Mathematica 7, it looks like there's quite a bit more to it than just math. There're stat functions in there, too. And it looks like it's free "player" would be good to show off created workbooks to non-Mathematica havers.

Unfortunately, I don't know enough Mathematica to determine whether Wolfram|Alpha takes query inputs in the Mathematic syntax, but it bears investigation - especially since their yet-released SDK's signup page asks that very question: Describe your experience with Mathematica?

They have some preliminary dev documentation (pdf) available, but oddly their API doesn't drop json back. Curious, since I'd think that's what they'd be using in their ajax-y pods and incremental loading. Maybe prior to full reveal.

More as I play around.

0 Comments

I received my SQL Azure CTP1 code yesterday (which you can register for here) and finally got around to plugging it in. Upon entering your code and entering a admin username and password, MSFT creates a database server for you fixed to the USA_Northwest region with a randomly assigned name (such as "q57qq26s2c") and in the project "SDS-only CTP Project". The UI on sql.azure.com for managing the database server includes a method to reset your admin password, functions for creating and dropping databases and generation of ADO.NET, ODBC, and OLE DB connection strings. That last one's handy to get the full dns name of the database, in the form of servername.ctp.database.windows.net, which can be used later in sqlcmd or SQL Server Managment Studio. That's it, though, no other db management features. According to the welcome e-mail, this CTP will limit use to 1 SQL Azure server and 5 databases.

Full SQL Server Managment Studio (SSMS) support isn't all there - you can't view databases, but you can connect and execute queries. The "USE" statement doesn't work, so you can't flip your query to another existing database. Guidelines and Limitations (SQL Azure Database)

Microsoft has a workaround on the forums (just start a new query in SSMS, connect to your specific database via the Options and you're good, except for an 'ANSI_NULL' error message which can be ignored). SSMS does time out quite quickly, so don't leave that query window idle too long (A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An established connection was aborted by the software in your host machine.)) Also there's sqlcmd, which, not being a "database person," I didn't know existed.

Ok, but, really, is it just a SQL database out there, in the cloud? Yes, it totally is.

I created a DB via their UI and then opened an existing Windows desktop app I had which uses Castle ActiveRecord, modified the config.xml connection.connection_string property and ran one of my test methods (you use TestDriven, right?) that creates a schema and then F5'd to fire up the UI. Add, Update, Delete, like a charm. I'll probably do a few more tests where I have a db schema created from scratch over the next few days.

Creating a database is easy (especially if you have Subsonic or Castle ActiveRecord do schema management for you), but what about existing databases? Can I restore a backup to the cloud?

After looking around, SSIS seems the only way to go. Use an existing db to generate the create scripts for the schema, then use SSIS to push over the data. I've never used SSIS so this should be fun.

Summaries from the forum postings, etc:

First off, please note that "SQL Azure" used to be called "SDS" - SQL Data Services - so some of the postings may not look like they apply, but it's the "SQL Azure - Getting Started" forums - they apply. The name changed on 07/09.

"Cursors will be IN, XML data type will be IN (but no schema collection support), Local temp tables are IN (#employee), Global temp tables are OUT (##employee), CLR integration is OUT This is also our current plan for v1. " - Stan Kitsis, Program Manager, SQL Data Services, 07/30/2009
"TSQL Support in SQL Data Services," 07/07/2009, Stan Kitsis, SQL Azure Team Blog

Forums postings

0 Comments