Nexus One – Android 2 – Eclipse

Decided to revisit Android development due to the release of Google’s Nexus One Phone

Here are my steps so far:

Transferring logins and passwords between SQL Server 2005 and SQL Server 2008

This link is very useful and details how to transfer the logins and the passwords between instances of Microsoft SQL Server 2005, and Microsoft SQL Server 2008, on different servers. – Microsoft Knowledge Base: #246133

Microsoft SQL Server, Error: 15401

Got this error a lot when trying to add NT user accounts on a SQL Server 2008 installation that was connected to a Windows 2008R2 server running Active Directory 2008 at Windows 2000 functional level.  Same error message appeared when troubleshooting this from a SQL Server 2005 instance in the same server environment.

You’ll keep getting “Windows NT User or group ‘MyDomain\MyUser’ not found. Check the name again. Microsoft SQL Server, Error: 15401″

Here is a link to the solution that worked.

Removing previous Fedora kernels…

i currently run Fedora 12 with the latest stable kernel update.
Heres the command steps l took to erase the 2 kernels l dont need.
Its always a good idea to have a fall back previous kernel available if needed.

[steve@pegasus Documents]$ su -
Password:
[root@pegasus ~]# uname
Linux
[root@pegasus ~]# uname -a
Linux pegasus 2.6.31.9-174.fc12.x86_64 #1 SMP Mon Dec 21 05:33:33 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
[root@pegasus ~]# yum clean all
Loaded plugins: presto, refresh-packagekit
Cleaning up Everything
0 delta-package files removed, by presto
[root@pegasus ~]# uname -r
2.6.31.9-174.fc12.x86_64
[root@pegasus ~]# rpm -q kernel
kernel-2.6.31.5-127.fc12.x86_64
kernel-2.6.31.6-166.fc12.x86_64
kernel-2.6.31.9-174.fc12.x86_64
[root@pegasus ~]# clear

[root@pegasus ~]# uname -r
2.6.31.9-174.fc12.x86_64
[root@pegasus ~]# rpm -q kernel
kernel-2.6.31.5-127.fc12.x86_64
kernel-2.6.31.6-166.fc12.x86_64
kernel-2.6.31.9-174.fc12.x86_64
[root@pegasus ~]# yum remove kernel-2.6.31.5-127.fc12.x86_64
Loaded plugins: presto, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package kernel.x86_64 0:2.6.31.5-127.fc12 set to be erased
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
kernel x86_64 2.6.31.5-127.fc12 installed 98 M

Transaction Summary
================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : kernel-2.6.31.5-127.fc12.x86_64 1/1

Removed:
kernel.x86_64 0:2.6.31.5-127.fc12

Complete!
[root@pegasus ~]# rpm -q kernel
kernel-2.6.31.6-166.fc12.x86_64
kernel-2.6.31.9-174.fc12.x86_64
[root@pegasus ~]# yum remove kernel-2.6.31.9-174.fc12.x86_64
Loaded plugins: presto, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
–> Running transaction check
—> Package kernel.x86_64 0:2.6.31.9-174.fc12 set to be erased
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
kernel x86_64 2.6.31.9-174.fc12 installed 98 M

Transaction Summary
================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : kernel-2.6.31.9-174.fc12.x86_64 1/1

Removed:
kernel.x86_64 0:2.6.31.9-174.fc12

Complete!
[root@pegasus ~]# rpm -q kernel
kernel-2.6.31.6-166.fc12.x86_64
[root@pegasus ~]#

Nexus One…

Check out the recently announced cool new Google phone – Nexus one. This might be the iPhone killer phone, especially with its apps, 800×480 wvga amoled touch display, gsm support, android os and Qualcomm QSD 8250 1 GHz processor.

Unlocked or with a contract, your best bet for getting it is from t-Mobile, since this phone does not woork on at&t, verizon or sprint frequency band but it supports most common world-wide gsm bands.

Click here for the Nexus One homepage, and here for the technical specifications.

2010

Wishing you all peace and prosperity this new year!

Check out this New year celebrations video.

Here are a couple of quotes to start the year…

“Let us rise up and be thankful, for if we didn’t learn a lot today, at least we learned a little, and if we didn’t learn a little, at least we didn’t get sick, and if we got sick, at least we didn’t die; so, let us all be thankful.”

“Meditate. Live purely. Be quiet. Do your work with mastery. Like the moon, come out from behind the clouds! Shine.”

And finally as Mark Twain said:

“New Year’s Day: Now is the accepted time to make your regular annual good resolutions. Next week you can begin paving hell with them as usual.”

Azure sample database setup….

Notes on setting up the sample database – adventureworks [click here] for Microsoft’s cloud computing sql server called Azure:

  • you need an account – get one from sql.azure.com - it takes some time for your access information to arrive by email.
  • download the sample database using link above
  • extract/unzip to a known location
  • make sure you add your home/work/workstation actual external facing ip address to the firewall settings
  • wait for 5-10 mins for your ip address to be accepted by the azure online firewall system
  • run the script commands below

See commands/reference pictures below:

Server Name:        serverx        serverx.database.windows.net
Administrator Username:     userx
Server Location:     South Central US
db name: ankh

cd dw
buildawdwaz.cmd tcp:serverx.database.windows.net userx@serverx passwordx

cd lt
buildawltaz.cmd tcp:serverx.database.windows.net userx@serverx passwordx

Business Intelligence w/SQL 2008

Currently reading “Delivering Business Intelligence with Microsoft SQL Server 2008 by Brian Larson”

Interesting quotes/definitions:

“Would you tell me please, which way I ought to go from here?” asked Alice.

“That depends a good deal on where you want to get to,” said the Cat.

“I don’t much care where,” said Alice.

“Then, it doesn’t matter which way you go,” said the Cat.

Alice’s Adventures in Wonderland

- Lewis Carroll

Planning ahead is a good idea. It wasn’t raining when Noah built the ark.

- Anonymous

He who has not first laid his foundations may be able with great ability to lay them afterwards, but they will be laid with trouble to the architect and danger to the building.

The Prince

- Niccolò Machiavelli

Business intelligence is the delivery of accurate, useful information to the appropriate decision makers within the necessary timeframe to support effective decision making.

Data mining uses a complex mathematical algorithm to sift through detail data to identify patterns, correlations, and clustering within the data.

Online analytical processing (OLAP) systems enable users to quickly and easily retrieve information from data, usually in a data mart, for analysis. OLAP systems present data using measures, dimensions, hierarchies, and cubes.


AdventureWorks…

Adventureworks is a huge sample database of a make believe bike company provider by Microsoft, and l find this particularly useful when working on/learning OLTP and SSAS – ie Online transaction processing as well as SQL Server analysis services used to make business intelligence decisions, datamarts etc.

Helpful notes:

Look for code like:

–:setvar SqlSamplesDatabasePath   “C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\”
–:setvar SqlSamplesSourceDataPath “C:\Program Files\Microsoft SQL Server\100\Tools\Samples\”

In the scripts, in the sample source path folder on your workstation, make sure you modify and set correctly at least the top line for the sql samples database path

Also, make sure if you made modifications to your model database default size, you adjust the database file size in the create database portion of the script as eg:

CREATE DATABASE [AdventureWorks2008]
ON (NAME = ‘AdventureWorks2008_Data’, FILENAME = N’$(SqlSamplesDatabasePath)AdventureWorks2008_Data.mdf’, SIZE = 170, FILEGROWTH = 8),
FILEGROUP DocumentFileStreamGroup CONTAINS FILESTREAM ( NAME = FileStreamDocuments, FILENAME = N’$(SqlSamplesDatabasePath)Documents’)
LOG ON (NAME = ‘AdventureWorks2008_Log’, FILENAME = N’$(SqlSamplesDatabasePath)AdventureWorks2008_Log.ldf’ , SIZE = 2, FILEGROWTH = 96);
GO

Terragen…

Just installed the free non-commercial version of this program which allows you to create awesome 3D generated landscapes, terrains etc. Click here to visit their website.

terrain_400



Locations of visitors to this page