This morning i managed to install run Photoshop under Ubuntu Gutsy. Wine
never stops to amaze me.
At the bare minimum, i was impressed at how the installation was flawless.
well….almost
….it looked like it had crashed towards the end, so i
killed the process, but by that stage, everything had already been installed
and registered, it seems.
Once installed, I had to add the Photoshop.exe to run under Windows 2000
emulation, otherwise things like keyboard accelerators aren’t recognised.
and how did it run? Brilliantly. it was clean and fast…..lightning fast.
Working on hi-res images, rotating layers, applying layer masks – all of it
worked at full speed…you’d never guess there was an emulation layer
sitting in the middle.
the only gotcha i seem to be coming across is the error message: “Unable to
continue because of a hardware or system error. Sorry but this error is
unrecoverable.”. It seems that this happens when the user profile becomes
“corrupt” and the only way to fix it is to blow away the photoshop settings
profile on boot. To do this, hold down immediately after
running photoshop, and answer yes when it asks you to delete the preferences
file.
appears tat you have to do this everytime you run the program though. O_o
…..i’m not convinced and i’m sure more digging around will disprove that.
Rex IT & Software
Remember that when you’re converting from an ASP.NET 1.1 web site
project to an ASP.NET 2.0 web application, you need to configure IIS to
run as an application, and run in a .NET 2.0 app pool.
Without doing this, you’ll end up with a broken error like this:
Server Error in ‘/’ Application.
Parser Error=20
Description: An error occurred during the parsing of a resource required
to service this request. Please review the following specific parse
error details and modify your source file appropriately.=20
Parser Error Message: Could not load type ‘Project1._Default’.
Source Error:=20
Line 1: < %@ Page Language=3D"C#" AutoEventWireup=3D"true"
CodeBehind=3D"Default.aspx.cs" Inherits=3D"Project1._Default"%>
Line 2: =20
Line 3:
Source File: /project1/default.aspx Line: 1=20
Version Information: Microsoft .NET Framework Version:2.0.50727.1433;
ASP.NET Version:2.0.50727.1433
Rex IT & Software
http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html
Rex IT & Software
http://www.toshiba.co.jp/about/press/2008_02/pr1903.htm
Okay so i got this one wrong.
hopefully now we see the market flood with cheap BluRay players as
manufacturers don’t need to gamble on which technology will win out. I bet
Sony are feeling relieved at the moment
Rex IT & Software
http://wellstyled.com/css-nopreload-rollovers.html
this technique changes the background-image offset, and the background image
contains the states for normal and hover. one single image needs to be
loaded – not several.
Rex IT & Software
I’m trying these out – lets see how they go….
http://www.socialretard.co.za/index.php/2008/01/19/optimizing-ubuntu/
Rex IT & Software
Comp Name: Rex’s NRL Tipping Comp 2008
Comp #: 121315
Comp Password: ThePasswordIsWhat
To join:
1) Go to http://www.oztips.com/
2) Click the ‘REGISTER’ button on the homepage and set-up a Login (if you
don’t already have one with OzTips).
3) Once you have successfully registered a Username and Password, click the
‘JOIN A COMP’ button.
4) Enter the Comp # and Comp Password details above.
5) That’s it! Full instructions on how to Tip can be found on the website by
clicking on the ‘Help’ link in the top header.
For more information, visit http://tipping.xerxesb.no-ip.org
-xerx
Rex IT & Software
Installed 3rdRail (from CodeGear) a few days ago, and whenever i try to run gem, i get the following error:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: libcrypto.so.4 : cannot open shared object file: No such file or directory
The only google article i could find about it was in japanese (google translate rocks – http://rihi.cocolog-nifty.com/blog/2007/09/3rdrail_ubuntu__7fd4.html) and (i think) he suggested running the following command:
# Ln – sf / usr/lib/libcrypto.so.0.9.8 / usr/lib/libcrypto.so.4
which indicates to me that there is a difference between Fedora Core 7 (which 3rdRail is approved and tested against) and Ubuntu Gutsy (which i’m running).
EIther way running the command above resolved all the problems and gem continued to function as expected….Too bad the 3rdRail documentation is also quite poor – not a great start
Rex IT & Software
Heres one just for the nerds…
You heard right….this “beast” runs at
76KHz and draws its power from 5 potatoes, running at roughly 1 millionth of
the power of a 386 motherboard.
http://d116.com/spud/
fun fun
style='font-size:10.0pt;font-family:Wingdings'>J
Rex IT & Software
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"
downloadurl="http://www.5iantlavalamp.com/"/>
Sounds weird, right? Not quite :)
Imagine if you will, Xerxes sitting at his work desk on a
Saturday LATE afternoon
really pushing to get his work done to meet a looming deadline. At this point
in the story, my current task is to create an SQL query to load the same
information from three separate tables, but return the data as one column in
the result set. (See picture below…
face=Arial>
Okay so we have three tables like in the diagram
above….Tables B and C have a foreign key back to Table A. What I needed
to do was grab a list of ALL *_Name fields in each table and have them returned
in one column (because this “Name” field became one of the columns
in an outer query – ie: this also had to be a subquery.
At first it looks like a simple INNER JOIN on A_FK –
A_PK but if you do that then you’ll still end up getting 3 columns in the
SELECT clause…
Funnily enough the answer is so simple, but eluded me at the
start….Simple set theory dictates that the result of a UNION operation on
any two sets is the conglomeration of those two sets excluding
duplicates….That means I just had to UNION 3 select statements together,
and viola, all values for that “name” across each table came into
one field…(with a bit of field aliasing and inline table’ing :P)
For those interested – here is what the SQL looked
like (for obvious purposes, I cant post the real code, but hopefully this
conveys the point)
SELECT
A.PK,
NAMES.Name
D.Field,
E.Field,
F.Field,
G.Field,
FROM
A JOIN
(
SELECT
face=Arial>A2.A_PK
color=blue>AS PK,
face=Arial>A2.A_NAME
color=blue>AS Name
FROM A A2
UNION
color=blue>
SELECT
face=Arial>B.B_PK
color=blue>AS PK,
face=Arial>B.B_NAME
color=blue>AS Name
FROM B
UNION
color=blue>
SELECT
face=Arial>C.C_PK
color=blue>AS PK,
face=Arial>C.C_NAME
color=blue>AS Name
FROM C
) AS NAMES
color=blue>ON NAMES.PK = A.PK
JOIN D
color=blue>ON D.D_PK = A.A_PK
face=Arial>JOIN
size=2 face=Arial>
w:st="on">E ON
E.E_PK = A.A_PK
face=Arial>JOIN
size=2 face=Arial> F
color=blue>ON F.F_PK = A.A_PK
face=Arial>JOIN
size=2 face=Arial> G
color=blue>ON G.G_PK = A.A_PK
WHERE
Blah….


Rex IT & Software