Categories
From The Archives Random

The Alphabet According to Google

I accidentally typed ‘s’ in my firefox location bar and found myself at mcdonalds.com, thanks to the built in google search redirect. This promoted me to see what the reset of alphabet looks like according to google. Some of these make more sense than others.

a Apple.com
b B’Tselem – The Israeli Information Center for Human Rights in Occupied Territories – Kinda Random.
c C-Span
d D-link
e E! Online
f F-Secure
g Gmail
h H-Net: Humanities and Social Sciences Online – “H-Net is an international interdisciplinary organization of scholars and teachers dedicated to developing the enormous educational potential of the Internet and the World Wide Web.” I guess they’re doing a good job if they’re the number one result for H. Next I search for hydrogen I might be unpleasantly suprised.
i iTools.com – Some sort of search portal. Their logo is an orange in the process of being squeezed. I don’t understand.
j Jennifer Lopez
k K Desktop Environment
l Europa – The European Union On-Line – there isn’t even an l in their URL.
m Texas A&M; University – check out the aggiecam.
n The N – This is one makes 100% sense.
o orielly.com
p PFLAG.org:Pflag – (not to be confused with pee flag), Parents, Families & Friends of Lesbians & Gays
q Q4music.com – The World’s Greatest Music Magazine Online – 2 observations here: a) i didn’t understand the site until i read the title, b) i guess “world’s greatest” doesn’t mean “worlds most well known” cuz i’d not heard of them before; and i used to work for an online music magazine.
r The R Project for Statistical Computing – “R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language…” good to know.
s McDonald’s
t AT&T;
u The University of Arizona, Tucson Arizona – why isn’t it pronounced “TUC-SON,” crazy americans
v VCOM – They appear to be a competitor of Symantec.
w The White House
x The X.Org Foundation – think x windows
y Yahoo! Messenger – “Now with voice” good to know
z A to Z Teacher Stuff For Teachers – FREE online lesson plans, lesson plan ideas and activities, thematic units, printables, themes, teaching tips, articles, and educational resources. It’s all there in the title.


Here are the numbers (these don’t actually work from the location bar in FF).
These make a lot less sense.
I suppose the software downloads could be in reference to specific versions.

0 Business 2.0 – they were 2.0 before it was hip. It’s actually a fairly decent magazine. I have a hard time believe this is the magazine’s site, it’s hideous.
1 Mozilla – A lot of references to firefox version 1
2 Shrek 2 – huh.
3 3Com
4 Channel4.com – A public service broadcaster in the UK
5 Macromedia(adobe?) Flash Player Download
6 Apple Quicktime Download
7 Netscape Download
8 Super 8 Motels, Inc.
9 Micheal Moore – I guess this has something to do with fahrenheit 9/11

Categories
From The Archives

Grey Thursday??

Guess I missed the boat by a couple of days, flying too high in the blogosphere or something.

In response to Grey Tuesday, I’m posting Danger Mouse’s American Edit.

It’ll be up until a) my bandwidth exceeds 1GB/day, b) I get a C&D; from EMI, c) the server craps out. I don’t really expect any of those to happen. So feel free to pass the link around.

http://ohryan.ca/Dean_Gray-American_Edit-2005.zip

Categories
From The Archives

Huh

[20:00] ohryan ca: bye
[20:00] ShoppingBuddy: Thanks for stopping by. Have I helped you with your holiday shopping?

[20:00] ohryan ca: no
[20:00] ShoppingBuddy: OK. Sorry I’ve not been helpful. Would you like to see some gift ideas from Gap?

[20:00] ohryan ca: no
[20:00] ShoppingBuddy: OK. Well have a happy holiday in any case.

[20:00] ohryan ca: thanks
[20:00] ShoppingBuddy: My pleasure, anytime.

Categories
From The Archives

Active Shitter Pages

As I probably mentioned, about 3 months ago I landed a kick ass job at a well established local web firm [names concealed to protect the innocent]. Before starting that job I had very minimal experience with ASP – in school, it left a bad taste in my mouth but i couldn’t remember any specifics. I wrote it off as one of those pathetic microsoft things. In spite of my aversion to and inexperience with ASP, I still managed to land a job with a company who – up until then – had relied heavily on ASP. I had no choice but to dive headfirst into uncharted waters. All tolled, in the past few month’s I’ve become about 50% as comfortable with ASP as I am with PHP – and I’m decided that all future projects will be written in PHP.

Aside from any possible performance issues, benefits open source software, etc, I’ve come across a few really practical (arguably nitpicky) reasons not to use that M$ tripe:

1. Syntax:
ASP syntax is horrendous! Here a a few common things i do on day to day basis. First I’ll give you the ASP, then the PHP:


Open a database connection and run a query:


' Open connection to database
db = "d:\path\to\file.mdb"
Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.Open "DBQ=" & db & ";Driver={Microsoft Access Driver (*.mdb)};uid=;pw=;"

' Do Query and get object
sql = "SELECT * FROM table"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open sql, dbConn, 1, 3

// open connection to database
mssql_connect ( servername, username, password );
mssql_select_db(database_name);

// Do query and get object
$sql = "SELECT * FROM table";
$rs = mssql_fetch_object($sql);

Why does ASP require 6 long, hard to remember, lines for something PHP does with 4 much shorter lines? The PHP could be reduced to 3 lines, but if the ASP was reduced to any fewer lines it would lose readability. The structure of the ASP code is much more mishmash. What I mean, is from a purely visual standpoint, the ASP just has too much going on – it’s ugly.


If Statement:


If something = 1 Then
'Do Something
ElseIf somethingElse = 1 Then
'Do something else
Else
'Do something different
End If


if($something == 1){
//do something
}elseif($something_else == 1){
//do something else
}else{
//do something different
}


Granted the ASP is actually a lot more legible in this example (for an english speaker), but the added legibility adds extra keystrokes. Ok, so maybe it’s only 4 characters, but why is “ElseIf” one word, when “End If” is two. WTF?!

Print A variable:

Response.Write(foo)

echo $foo;


2. Multipart Form Data
ASP does not support ‘multipart/form-data’!
webreference.com (thanks google) said it best:

“It is a Shocking Revelation that although Microsoft browsers have supported this format from the moment that Microsoft got interested in the Web, the standard form components they supply for Web serving do not.”

That’s right, if you want to handle form uploads, you have to write your own code. Or find something you can use for free.

3. Reference
There is no good central reference for ASP, but there sure are a tonne of bad references. Whenever i do a google search for something ASP related I get a hundreds of shady pop-up-infested “reference” pages. I wouldn’t be suprised if I got similar results with PHP, but PHP has php.net so I don’t ever have to resort to googling.

The best reference I’ve found is the W3 Schools’ site. But it only contains basic information, I’m quickly outgrowing it.

My final complaint is moot, but i thought it was worth mentioning. You can install ASP on Windows ME, but not Windows XP Home.

W T F ?!

Categories
Apps From The Archives Review

Soar to new heighs with the Flock

Flock is a new open source browser project based on Firefox. Flock has the noble goal of trying to “smooth out some of the more hairy parts of living and working online” – with a browser. A bit of a longshot in my opinion. If you’re interested, you can download the developer preview here, you might also want to take a look at “13 things you can do with flock,” this entry in one of the developers’ blog, and listen to episode 5 of the web 2.0 show podcast.

I’ve use the browser about ½ a dozen times since downloading it last week.

The browser is essentially, firefox with a new skin and three gimmicks, namely: integrated “social bookmarking”, integrated RSS aggregator and integrated blogging client [ the options menu also contains a “photo sharing” tab, which doesn’t appear to do anything yet]. Online/social bookmark storage is a really good idea. The ability for me to bookmark stuff at home and then have access to it at work, is really awesome. I can’t count the number of times I’ve forgotten a bookmark that I KNOW I have bookmarked at home. The social bookmarking paradigm is fully integrated into the browser. Pages aren’t bookmarked, they’re “stared.” Stared pages can be associated with user-defined tags, so on and so forth. At this point, the browser only supports del.icio.us, but they promise to include other social bookmarking services in future releases.

The RSS reader is also quite slick. The only other browser I’ve seen this in is Opera 9 and Flock’s RSS reader is a lot cleaner than Opera’s. Integrated RSS aggregation is a great idea, I’m not sure we’ll see more browsers with this feature in the near future. It’s worth noting that RSS feeds for pages you’ve “stared” are automatically updated and cached hourly – I’m not sure if Opera does this.

The blog client looks pretty standard. It only supports WordPress, TypePad and Blogger currently. So I haven’t actually tried it out.

So that’s the positive spin on Flock.

Stay tuned for part 2, what I actually think about Flock.