Showing posts with label internet. Show all posts
Showing posts with label internet. Show all posts

Tuesday, March 9, 2010

An overall sketch of Drupal 7

-get drupal root
-drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL)
 define constants
 define('REQUEST_TIME', $_SERVER['REQUEST_TIME']);
 _drupal_bootstrap_configuration()
  error reporting set
  drupal_environment_initialize()
   server vars read
   ini settings set
   error reporting set
  timer_start('page')
   start timers
  drupal_settings_initialize()
   load settings
   set up path
   session cookies
 _drupal_bootstrap_page_cache();
  init user
  load cache
  check if no-db opt else - get db and variables
  block_denied
  cookie init
  _drupal_bootstrap_page_header()
   bootstrap_invoke_all
   drupal_page_get_cache
   check cachable - get cache
    -maybe still run boot hooks
    serve page from cache
    -maybe still run exit hooks
    _drupal_bootstrap_database();
  -set up db
  -register autoload
    _drupal_bootstrap_variables();
  -init variables (either via cache or db)
  -load modules
    require_once DRUPAL_ROOT . '/' . variable_get('session_inc', 'includes/session.inc');
    drupal_session_initialize();
  -conditionally start session
    _drupal_bootstrap_page_header();
  -boot all
  check cache
  get lock and init
  if !cli - ob start and page_header
   -init static + send headers   
    drupal_language_initialize();
  -get languages
  -invoke modules
    require_once DRUPAL_ROOT . '/includes/common.inc';
  define more constants
    _drupal_bootstrap_full();
  -load files
  -set up settings
  -varify
  -init path
  -init custom theme
  -run init hooks
-menu_execute_active_handler()

Wednesday, January 27, 2010

Because if you weren't supposed to abuse the api it wouldn't start with a

Of course, I mean really!

Let me say I have little sympathy with hackers from an ethical, sociological, or philosophical perspective (that's a gross exaggeration, I mean ewww, but to explicate the matter would be an even more gross waste of time)

But when it doesn't hurt, or waste people's time, or screw with peoples stuff, etc., why not tae things apart and then put them together in different ways so you can take it apart again, and so on, and so forth, and thus I decided to conduct a reflection upon the window object of javascript.

Since my sign off would be far too down at the bottom of the page let me sign off before the mark, because I can. So take it to your head, take it to your heart and remember Rand rocks. Goodnight Folks!

And God Bless.

Tuesday, October 20, 2009

Because the hand that feeds tastes good

Indeed!
Even when it's your own... But that's another story...
and here's Nine Inch Nails!!

And now for something completely different...

Twitter has been good to me, more or less. By providing a new platform for my largely nonsensical rants, twitter has been feeding followers and readers into the maw of my endless ambition, and on my end I have been mildly abusive to it. Not really, but pretending in that vein, I have mildly abused the twitter api to draw out and play with the vaguely relevant json data from my twitter feed and that of others.

What do I mean? Nothing really, I actually was going to write something quite meaningful today, but..

Anywho, these are some example twitter api calls:

http://twitter.com/statuses/[followers|friends|user_timeline]/[screen-name].[format (ie, xml, atom, json, etc.)]

in addition you can throw in GET arguments like page=# and count=# or callback=function for the json format in particular.

Thus to call the third page of therandshow twitter feed in json with 20 results per page and send it to a callback called karl do thus:

http://twitter.com/statuses/user_timeline/therandshow.json?count=20&page=3&callback=karl
(note: you must have already declared a function named karl to callback to, else the Karl's won't come home no matter how hard you call)

Now you might say to yourself: "Hey this seems vaguely useful, but how can I waste that usefulness while helping to strain twitter's resources until it's inevitable implosion?"

Glad you asked Jim, not so glad you asked Sally.

Here's a sample use (and let me credit jquery for making this example within the reach of my immense laziness), and by sample I mean something I did to kill time and decided to half-justify by putting onto the web - behold twitter results displayed by day!

Dun-dun-dun!!!


<html>
<head>
<title>Abusing Twitter Every Day</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript">
function twitterCallback2(twits) {
twittier = [{date:0,tweets:[]}];
j=0;

for(i=0; i < twits.length;i++) {
settable = new Date();
settable.setTime(Date.parse(twits[i].created_at));
if(twittier[j].date==0) {
twittier[j].date = settable;
twittier[j].tweets.push(twits[i]);
dte =Date(twittier[j].date);
}
else if(twittier[j].date.getDay()!=settable.getDay()) {
j++;
twittier.push({date:settable,tweets:[twits[i]]});
}
else {
twittier[j].tweets.push(twits[i]);
}
}
str="";
for(i=0; i < twittier.length;i++) {
str += "<div><h2>"+twittier[i].date+"</h2>";
for(j=0; j < twittier[i].tweets.length;j++) {
for(k in twittier[i].tweets[j]) {
if(k!='user') {
str+= "<p>"+k+" : "+twittier[i].tweets[j][k]+"</p>";
}
else {
/* if you want for some reason to also display the your own user object */
str+= "<p>"+k+" : "+twittier[i].tweets[j][k].toSource()+"</p>";

}
}
// str+= "<pre>"+twittier[i].tweets[j].toSource().replace(/,/g,",\n")+"</pre>";
}
str+= "</div>";
}
$("#holder").append(str);
}
</script>
</head>
<body>
<div id="holder">
</div>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=1&callback=twitterCallback2"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=2&callback=twitterCallback2"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=3&callback=twitterCallback2"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=4&callback=twitterCallback2"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=5&callback=twitterCallback2"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=6&callback=twitterCallback2"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/therandshow.json?count=100&page=7&callback=twitterCallback2"></script>
</body>
</html>



and so there it is. Rather random and vaguely cool, n'est pas? Just like my random evocation of my 3 years of middle school French.

So take it to your head, take it to your heart and remember Rand rocks. Goodnight Folks!

And God Bless.

Tuesday, September 1, 2009

Working like a turkey

Because if you ever saw a wild turkey run across the road, you'd know they work pretty darn hard.

Anywho, I'm building up a new site for The Rand Show + doing lots of job-like work. So I've been busy. But also, I've been looking over old posts, and am starting to compile some best of stuff. Here's a run down of a bit of a random sampling of the best of the Rand Show. Be forwarned, it is pretty awesome and it's incomplete.

Rand Reviews


At home in the lonely hearts club, or my review of Cupid
It's Mightly Cold in Juno, or my review of Juno
28 days later, 28 weeks later, 28 years later and forever, or my review of 28 Days Later
But for a nail... 28 weeks after the fact, or my review of 28 Weeks Later
Sometimes you need to go where everyone has a gun, or my review of Arsenal
We love big dreams, right? or my review of the Melancholy of Haruhi Suzyimiya
The Inevitable Gravity of Destiny, or my review of Escaflowne
The temptation of wheat, or my review of Azumanga Diaoh
My American Dream: notes on Rushmore and The Great Gatsby

Rand vs. the Music


I wanted to be all you need: Notes on Here is Gone by the Goo Goo Dolls
Creep: Notes on Creep by Radiohead
Karaoke equals Awesome: Notes on Perfect Situation by Weezer
Space Oddity: Notes On Space Oddity by David Bowie
Here's to You Michael Jackson, Salute: Notes on the King of Pop
Putting the f-ing fun back into Rand F-ing Awesome McRanderson

Rand Writes


The Insidious Logic of Transfat
And the sole survivor watches us all, he's got the eye of the tiger
Me, Eddy, and that Oriental-Loooking Fellow
And What of the Oriental in America?
Just to start some contraversy
For some reason I can't explain, once you were gone it was never the same
Christ has Risen!
I follow he who has conquered death
Rand's Advanetures in Job Land
Happy St. Thomas' Day
For James

Tuesday, July 7, 2009

Now to get a glimpse of pure-Randness witness this conversation between Rand and Dav



Rand (7:43:48 PM): Hey Dav, check out www.therandshow.com

Dav (7:51:15 PM): hey Rand

Dav (7:51:19 PM): 1sec reading

Rand (7:51:26 PM): reading like a fox

Rand (7:51:32 PM): Which would be pretty cool

Rand (7:51:45 PM): Dav, get me a READING FOX!

Rand (7:52:14 PM): I just wanted to point out the whole domain name thing, Jy actually bought me a domain name for my birthday

Dav (7:53:56 PM): sweet!

Dav (7:54:02 PM): thats cool

Rand (7:54:07 PM): yeah, I know

Dav (7:54:45 PM): and yeah, i read the post...latest 2

Rand (7:54:59 PM): oh thanks

Rand (7:55:20 PM): I'm actually preparing a post I should finish by tonight about the Simpsons

Dav (7:55:28 PM): haha awesome

Dav (7:55:35 PM): but idk what i think about seeing so far into the future

Rand (7:55:54 PM): yeah, I do worry about the future too much

Dav (7:55:55 PM): idk, i like to take things as they come i guess, and id like to think i might shift my paradigm in life one or 2 times

Dav (7:56:04 PM): yeah, idk,

Rand (7:56:41 PM): The thing is though, the current point in my life is really sort of future-focused since a big shift in my lifestyle is just about to happen

Rand (7:56:52 PM): Like just about to happen

Dav (7:57:13 PM): yeah

Dav (7:57:28 PM): but idk

Dav (7:57:37 PM): having goals like that are great for the long term

Dav (7:57:50 PM): but like, planning your immediate life wrt those goals can mess you up

Rand (7:58:15 PM): wrt?

Dav (7:58:38 PM): with respect to

Dav (7:58:40 PM): *

Rand (7:59:56 PM): True, but when it comes to job choice, location choosing, etc., these are things that are going to have to be choosen within 2 or 3 months and that are going to be important in determining my medium-term life

Dav (8:01:00 PM): yeah but

Dav (8:01:15 PM): you shouldnt necessarily look at all that with respect to your longlong term goals

Dav (8:01:16 PM): idk

Dav (8:01:22 PM): speaking of which

Dav (8:01:28 PM): have you ever considered getting a phd?

Rand (8:01:34 PM): I have

Dav (8:01:45 PM): like, i heard some of your sentiment re: free time and meaningful outsideofwork applications

Rand (8:01:55 PM): And Achacha's been pushing me in that way

Dav (8:02:02 PM): and ambar was talking about stuff like that the other day wrt his phd and leaving princeton high school

Dav (8:02:07 PM): oh yeah?

Dav (8:02:24 PM): idk, sounds like the free time and getting ta's to do all your stuff is up your alley

Rand (8:03:14 PM): yeah, and some of my professors have told me that professoring is a good day job for writing, but I'm kind of tired of college right now, and the academic world seems a bit too static and servile

Dav (8:04:06 PM): idk, in the long term it becomes pretty dynamic and...(bossy? haha)

Dav (8:04:26 PM): because if you become a professor, you can get your opinions respected in general community, etcetc

Dav (8:04:44 PM): but i mean, tbh i think anything you take relatively soon will be pretty static and servile

Dav (8:04:57 PM): like, youre just at a pt in life where you need to accept some of that shit

Rand (8:05:32 PM): perhaps, although getting respected in the general community is pretty rare due to some of the walls between acadamia and the general world

Rand (8:06:11 PM): Well many other jobs would also seem somewhat static and servile, but in college I'd have to invest a lot more of my effort and worth into the work

Rand (8:06:53 PM): And I feel like this is a time in my life, perhaps the best time in my life, to experiment with dynamic opportunities

Dav (8:07:06 PM): dynamic opportunities like?

Rand (8:08:21 PM): Well, spending a good deal of side time working on projects, et al., but also seeing if I can find a job where I feel really like part of a team and like the company and its products are a real product of my work

Dav (8:09:35 PM): yeah idk, i just feel like that's really rare

Dav (8:09:44 PM): the confluence of all that at least

Rand (8:10:05 PM): Maybe, but like I said, this might be the best time in my life to do some trying different stuff

Dav (8:10:05 PM): i think most of the work you take now that can really take you someplace is gonna be rel. lower tier

Rand (8:10:52 PM): Eh, in the end if things don't work out, I can always go back to college in 2 yr.s or so

Dav (8:11:23 PM): i guess, but idk, in the final analysis youre gonna have to make some big decisions, so idk shifting too much might hurt you

Rand (8:11:48 PM): meh, they say most people don't end up in the career that matches their major

Dav (8:11:49 PM): just in the sense of starting the progression later

Rand (8:12:18 PM): And I've got some decent job prospects and a lot of routes I can take up later if I want to

Dav (8:12:56 PM): i guess, but i think the whole free time and meaningfulness is pretty unrealistic

Rand (8:14:20 PM): I dunno, people manage it, and I'm risking very little since I'm still aiming for a job that can build more work-centric skills and some nice pay

Rand (8:14:48 PM): Sometimes you gotta take a little risk, especially when the risk is little and the potential is good

Dav (8:15:24 PM): yeah praps

Rand (8:15:47 PM): alright I need to go and get meself some eats and such

Dav (8:16:02 PM): k, gluck w jobs

Rand (8:16:07 PM): thanks

Rand (8:16:21 PM): good luck with the hw and all, and tell Jz to beat you up

Dav (8:16:56 PM): haha ok

Auto Response from Rand (8:16:56 PM): I've decided to uncharacteristically eat in at a time that is semi-appropriate and hopefully not incredibly unhealthy. My fingers are crossed that this experiment succeeds.



Leave a message if you so desire

Saturday, June 13, 2009

Prithee, have thee heard of the Prism

I'm always caught in a bit of a dilemma upon my less serious posts, because I am Rand the Great and Glorious and thus deserve the treatment as such. But on the other hand, even the great and glorious can afford more scattered thoughts upon once and a while.

So then let me make a recommendation far removed from topics more normally dwelled upon. Often I have found myself with more than one account at a social networking site or the like and have been forced to choose which one to be logged in as at a certain time. The choice would infuriate me, and burn me to my soul. Sure I could use multiple browsers, but I like Firefox, and then I need to surf over to the site again. Seconds wasted, seconds!

However, now I find myself taking advantage of Firefox's Prism project. This project at its core, isolates a single webpage in a browser instance. At its most basic use, this is only slightly more useful than a bookmark. But there are some intriguing possibilities here. Firstly, you can put the links to the prism-ed site more places than a bookmarks menu, and more relevant to the previous paragraph, you can utilize the prism-ed site independently of other prism instances and of Firefox. Thus, you can be logged into TWO! instances of say Gmail or MySpace accounts at once TWO! TWO!

And while there are some cases where one is better than two, this is not one of them.

So Prism on Prism! Prism on!

Sunday, March 15, 2009

Cause sometimes computing ain't for tooling

So far in my uneven revival of The Rand Show, I have attempted to punch out a deep, lengthy post for each sitting. While an admirable ambition, such a goal not only deceases my willingness/ability to post, but it undermines the randomness that makes the Rand Show, well, just in a category of its own. With that in mind, I step aside from my usual ruminations to ruminate different-wise upon the software that I use. Because ultimately, though my soul waxes and wanes on the matter far too seriously, software is cool, and so thus let me share what I use:

OS:
Windows generally. Not really by preference, but it is the system that has a lot of software and that generally is pretty user-friendly. I used to be a Mac-fan, but nowadays Mac's are priced out of my range, and while I do have a Linux machine (Ubunutu by variety), that particular machine is unreliable at best, yet installing Linux on this computer would leave me without a Windows machine, which overall I guess would be bad, probably. To those actually thinking of making a decision about OS's, I'd recommend Linux, despite the hypocritical ring these words may take on, it does seem to me the superior system. I suppose as for me personally, I'm too fickle to give up the flexibility having both Windows and Linux on different machines allows, and I just have the misfortunate (less you think me melodramatic, it is but a slight, slight misfortune) of having Linux on the lesser computer.

Internet browser: A little bit of everything really. My browsers have over time covered the gambit. Since I've been using the inter-web since it's explosion, I was at a time well-acquainted with the Netscape Navigator, since then I have on occasion used Internet Explorer, but stayed mostly on the alternative brands, let me tell you why:
Surfing Speed: IE, due to its embeddedness does have a starting up edge over many of the alternatives and when it comes to rendering simple pages sometimes IE can squeak out a slightly smaller time, and sometimes those two factors make IE useful, but generally when it comes to rendering resource-rich pages, IE ain't the tops.


Web Development: Defenders might claim that IE's web page rendering model is not inferior to the W3C's standards. Honestly, I've had frustrations with both so I'm not going to judge. But the thing is, even if at points IE's model might be better, it is not consistent, and it changes from edition to edition. The result is a slowing of internet innovation and annoying number of man-hours lost to cross-browser compatibility. But let me qualify that. IE8 and even IE7 do reduce those flaws to some degree, and let it be known certainly, that NO ONE SHOULD BE USING IE6 ANYMORE. It makes web developers bleed!


Security: IE8 I will also admit does step up security a good bit. However, of major browsers out there it is still the most likely to attract cookies, spyware, and other annoyances. Part of this is popularity, but Internet Explorer is BY ITS NATURE, more hack-prone, if for no other reason, than for the fact that it is integrated into the Windows system, giving it access to resources no other browser has. And let me add a completely unverified point. I do believe IE has a less elegant design that makes features and cooperation with other programs more hap-hazard. But even if we ignore these somewhat vague theoretical points, history has shown Internet Explorer to be awful at preventing security holes, and painful in managing permissions. The current IE8 system is a good example, with its mind-numbingly grandular security options, and annoyingly strict default mode. Le sigh.


Let me leave IE-bashing to others, because others will happily oblige. Let me then cite the browsers I do use:
Firefox: No longer the fastest browser on the block, and a resource devouring behemoth, it is still incredibly featureful with an unmatched add-ons repository.
Safari: Safari is amazingly fast. Even on Windows. That said, I can't say too much more of its praises, because it does strike me as a bit minimalistic. I mean in theory there are a number of interesting features, but many, like DOM Inspector, are hidden away in the wetworks.
Chrome: Like Safari very fast, not as fast though. And not nearly as stable. The Google Chrome project is still developing, and it seems like someday it might be a worthy entry. The isolation of problematic processes I actually have found useful. Still, it's raw edges come out every now and then, and it's generally a 2nd or 3rd choice for page viewing.
Opera: There were once many closed-source browsers, now there are two Opera and IE. Opera was once a little known gem, but it has since gained a particular popular niche: The mobile world. Opera Mini is now the mobile phone browser of choice, and if I had a better phone, it likely would be my phone's browser of choice. Anywho, the desktop model is also very good, with a strong rendering speed near equal to Safari. It also has a nice sampling of features like a built in mail system. Yet though it is almost as fast as Safari and almost as featureful as Firefox, the almosts don't add up to a definitive win. Still, it is nice as a back-up browser.


Word Processor: I have used many word processors in my day, and my favorite remains the ClarisWorks suite, but since that doesn't exist any more and its replacement, Apppleworks, is Apple-only (as was Clarisworks for a while I believe, but back then I was Apple-only as well), I am forced to deal with lesser systems. It's hard for me to give an edge to Microsoft Word or OpenOffice, both have +'s and -'s, WordPerfect isn't too far behind either. But with all those systems I am constantly annoyed at how long it takes to load even the simplest levels of functionality. While I want to type, I don't want to wait 10 minutes to get started! To combat that I've started working with AbiWord, a nice light-weight word processor with almost comparable functionality, but sometimes I just go back to simple WordPad. Not because I like it, mind you, but because the field is so barren of quality.
Programmer's Editor: PSPad I must recommend. Outstanding program. So many text-highlighting options, a ton of indenting and editing tools. It just gives you everything you need as a programmer. Unfortunately, it is pretty buggy at times. If you have a big document it can slow, freeze, or crash with alarming regularity. It also has ceased to output proper Unicode documents for me, so I'm forced now to find another editor. Le sigh.


Others:
Well, I'm getting a bit long here, and I have more than enough material for another post on this sometime, but let me run down some also recommends:

  • GIMP-The freeware image editor of tons of options, but painfully slow loading

  • Inkscape-A freeware image editor of truly high-end editing, but painfully obtuse user interfaces

  • GCC-If you're a programmer, I'm afraid that's just the way to be

  • Thunderbird-Very user-friendly, much less quirk-prone than Outlook, and it's the word

  • XTrans-Because XSLT is coming you see

  • Spybot-Search and Destroy-The basic security utility all computers need.

  • Songbird - A surprising capable music player/music organizer with occasional less than surprising performance issues

  • VLC-If you want to play anything without issues, you want VLC




Well, if this seemed like an excursion in pointlessness, remember that I am Rand and I am awesome. Just keep that in mind and keep the above in mind when you need some software to scratch some particular itch, or if you just like cool and shiny new thingamaggers like me.

So take it to your head, take it to your heart, and remember Rand rocks. Goodnight Folks!

And God Bless.

Sunday, August 10, 2008

Robo Bobo and the Complaint

Well, people, such as myself and Mathimoto, have been insanely busy of late. Yet, occasionally time and space conspire that posting might be made.

So let me share with you one of the reasons I've been with the busy-ness, the web and its various technologies. Now while this sounds like a simple matter, it's actually insanely complicated. But I can give you a preview:

Now the essence of the web is run on servers, most notably Apache. There are other servers with various specialties, like Jaxer's Javascript-specialized server, and Microsoft, in its fierce insistence not to be compatible with anything else has its own server, Microsoft Server. However, all of these servers in the end run on your standard compiled languages, such as Java, C++, C, or Microsoft's C# (I mean there are other possibilities like Delphi (a variant of Object-Oriented Pascal) or something along those lines, but why would you do such a thing?)).

However, not everyone actually has a server, due to expense, complexity of set-up (the #1 limiting factor on web serving in my mind), and so there are alternatives, such as serving by the domain name company that gave you the domain name, or using a web app service such as Google App Engine. The upside is usually this is less money (usually), the downside is usually this is more complex (usually), and your choice of technologies is often limited, for example Google App Engine relies on Python.

Taking a step up from the server, you got the pages. This is what comes back after a request by a user. There's a variety of technologies out there, which fall into a couple categories. Mainly, the big two are CGI, where a http request (ie, a page URL) runs a script, in theory written in anything, but usually written in a scripting language, like Javascript, VBScript, Actionscript, Perl, or Python, XML/HTML pages, with possibly embedded scripts (like the first three of the CGI languages, PHP (although that can also be run for CGI)) (in a variety of forms like ASP (Active Server Pages), ASP.Net (a variant with more Microsoft-specialty tech), JSP (Java Server Pages), or JSF (Java Server Faces)). There's also a variety of media that could come back with the page, but that's a bit more than I care to get into, although I should note that Media and such is often best caught up with Actionscript in a whole Adobe Flash mesh-up, but that tech is proprietary and may cost the money.

And once you get the pages, sometimes there's more stuff going on, like client-side scripting languages, such as Javascript and Actionscript, sometimes there's Flash Players and stuff playing the media or something, and more there's also Java applet tech, Java web start up, and the like.

I'm sure there's more and more with more combinations. I mean some people like throwing in Groovy and Common Lisp into there, because they're insane. But the web's a complicated place, with complicated people and no one understands him but his woman...

A summary of a brief overview of web tech:

Sever-program: Apache, Jaxer, Microsoft Server, etc.
Written-in: C, C++, Java, C#, etc.

Returned Page: HTML, XML, media, image, PDF, txt, etc.
Produced-by: Javascript, Actionscript, VBScript, PHP, Python, etc.

Client-side: Browser-processing, Client-side script, Media
Produced-by:
Browsers written in C, C++, Java, C#, etc., primarily with the Geko (Mozilla) engine, Internet Explorer engine, or Opera engine
Client-side scripts in Javascript, Actionscript, etc. (based on DOM events, DOM model, SAX events, ah, my mind hurts too many techs!)

And the web keeps on trucking.

Monday, July 7, 2008

Welcome now to the Robo-Bobo report

As said before, due to Mathimoto's insane busy-ness. I'm adding my two cents to things around here.

And as a robotic-kola bear, it's about time for me to get some talking time. Of course I'll make sure not to overstep on Mathimoto's property, but Robo-Bobo's in the house now and he's about to add a little razz-ma-tazz.

But first of all, as things go, since this is Mathimoto's Complaint, I'd like to add my own complaint.

How come we're using XML for everything nowadays. Now I'm not saying XML isn't great, I actually like it a lot. I'm not so crazy about XSL, but I think ideally you could use XSLT to turn XML to HTML and then pop in some CSS to cap things off (now XSL and XSLT might do things alone, but for real formatting you'd have to throw in XFO or whatever and that's just annoying and Robo-Bobo don't do annoying).

XML's a beautiful concept for data-display and manipulation, basically you mark-up everything with the category or purpose it has, and then you use different transformation and formatting technologies to set things up into a full display, but since the transformation and formatting are separate from the data you can write data down and then decide all that, or you can take data and use several different ways to display things.

However, at the core of it all, XML's a data mark-up language and all the technologies associated with it are data display tech.s. Even if you throw in scripting languages like PHP or Javascript you still have essentially a matter of data display, and currently that's all the web is set up for.

The data display could be dynamic or static, but data display is what the internet was designed for.

And that's not enough.

Because already we have word-processors, games, and all sorts of applications that are used on the web. However, since things are used to data-displays, all the applications must be bastardized into dynamic data collection and display sets. Now overall, GUI's can be pigeon-holed into data-displays (in fact, GUI's are essentially data-collection and displays, and especially if you added a few more features, basically all GUI's come easily be easily created through a XML/XSL/XSLT/HTML/CSS-like technology), but applications? Applications in the most abstract sense can be said to be data collection and display, but to really do things like that is really, really, really asinine.

It's time to say no more! I will not make applications in XML!

But of course I will, because honestly, I'm a bit of a moderate with internet-tech (despite my robotic kola-ness), and I have not the yet the skill or prestige to revolutionize the internet world by myself.

But I shouldn't have to!

Applications should be written in an application-manner, and they should exchange data in an application way. Java Server Pages and such are a little better since there we're actually using application tech, and XUL is a step in the right direction, but it is not enough!

There must be a revolution!

We must!

We must!

We must revolutionize the internet by making it application-friendly!

To me, nerds of Silicon-valley!

To me, Indian sweat-shop engineers!

To me, other people who do other stuff!

Come, let's change the internet, under the grand banner of...

ROBO-BOBO!!!

And so on...

Thursday, July 3, 2008

Secrets are me-cret, I suppose

So let me let you in on a little secret (not really a secret, more of a piece of advice), universities have a lot of free info and stuff. But you might say hey I don't go to a university. Well, okay that might limit you a little, but the trick is to go to professors' pages. You can usually get a ton of free explanations and guides and history facts from professors' pages, and usually they have little to no checking. Hey, probably professors' like to have random people check out their subject-matter. You don't want to let the professors down, do you?

Monday, April 14, 2008

Buzzing with the Comp. Sci.

I remember for one birthday a friend gave me a custom-made chocolate from Thomas Sweet (for those of you not in the know, Thomas Sweet is a Princeton-based (it has 2 stores in Princeton, 1 in New Brunswick, and 1 in Washington, DC (as a kid I thought it was a giant conglomerate, and I admit that biased me somewhat, but I've come to recognize its moderate size and in a more objective analysis say awesome, P-town-style awesome (very objective, non?) Ice Cream/Chocolate store that pretty much rocks (ROCKS THE HOUSE (As in Rock the House by Gorillaz (GORILAZZZ!!!))

Back to my anecdote, anyways a friend gave me a birthday a custom-made chocolate (actually 2 but essentially one in its united concept and singular gift-y-ness), which was shaped as a computer and a mouse. She felt it fit my character and likely it was one of the pre-made custom-made options (yeah that's an oxymoron but you get the point). In actuality, people have been assuming for a looong time that I'm super-good with computers. Now this is often done by my friends and is based on my occasional computer-jargon mentions, my sometimes-serious membership in the computer club, my number of computer classes, my moderate computer-news knowledge, and now in college my computer-minor-ness. It is also done by near strangers and while I emphasize the slightness of this and the unconsciousness of this and the speculativeness of this, but there might be a little bit of stereotype-ness (I'd hesitate to say racism because of the unavoidable strength of that charge and also because Indian as a race is a kind of iffy concept (especially when you group North (Indo-European Languages and in NW often white/Iranian looking) and South (Dravidian Languages (although C. India has mostly Indo-Eur. lang. and is a mixed and/or separate cultural zone) and dark skin (although some of the NE, like Bengal and Bangladesh has dark skin) Indians) there since I'm an Indian of decent intelligence (of course the common assumption that I'm smart also might have a little bit of stereotype-ness to it).

But now let me deal with the truth. Let me first establish in terms of nowadays I have a wide-range of moderate computer skills (such as HTML, Java, C++, and some XML and PHP) (if this seems a bit odd to mention, I'm a little aware that a persistently background-searching potential employer might stumble here and I just want to set the record straight (I'd like to point out that my awareness of this doesn't mean I'm not being honest here)), but here with this truth I'm dealing with the overview of my life. Again, let's deal with the truth of the situation. And the truth is while skilled with computers, I'm really not the mad-programmer-master that people occasionally assume I am (again, little bit of stereotyping there).

I can pretty confidently say I was exposed to computers relatively early in my life (relative that is to people in my cohort (ie people of my birth-year)). See (I'm always nervous about using see at the beginning of a sentence, but it does have an attractive activeness and energy, even if it does sound a bit underly-formal) around the beginning of the age of home computers (mid-1980's-ish), my father was given a computer to work with, and being only semi-capable with it and also wanting to expose his kids to new knowledge, he got my oldest brother to help out with his comput-inating. This started my oldest brother's love affair with the computer which made him an absolute computer master by the time I was capable of wielding a mouse. Thusly me and my siblings have had since earliest youth a decent competence of technology, however this wasn't the same as becoming as competent as my oldest brother.

In fact, because of my oldest brother's competence, computer-wise I was always in his shadow. From time-to-time I've made a sudden burst of interest into computers, partly assisted by my brother, but on the other hand whenever there was a need for important computer-ness, my brother was there, so I didn't really need to develop that and my personal interest didn't expand enough to overcome the lack of need. There were avenues which could have led me to becoming computer interested, my mild youthful interest in gaming (although not online games (although yes for free/shareware games)), my mild interest in electronic presentation and media tech, my desire to maximize my computer's performance, etc. But none of those really took off and were usually interrupted by new interests or new stuff on TV.

But one thing that did intrigue me was the possibilities given by programming, to a degree job-wise, but more importantly the possibilities of creation in programming. The powers of programming can in theory create anything, and even if the possibilities are limited by current knowledge and tech, that never stopped me from pondering (for example, despite the insane ambition of it I attempted to create a self-sufficient artificial intelligence in high school). Yet even this avenue of computer-ness was slowed by my distaste for memorization and the foreignness of the computer world and strangeness-to-foreignness of that world (this is in part the fault of computer-savy people who often fall into the category of techno-bigots (people who belittle those without tech knowledge and rank themselves based on tech knowledge) (although I admit sometimes I even act the techno-bigot every now and then). It was in college that the job-wise possibilities of programming really appealed to me, and I started Rutgers with the vision of being a computer science-major, however this failed under the stress of pretending I was more tech-savy then I actually was.

And then a funny thing happened, under the influence of new job-worries, I took on a comp. sci. minor, which was more my speed computer knowledge wise. But the occasional, more paradigm oriented computer classes + my logic-based math classes (where math and comp-sci. start to mix) + my desire for increasing my computer's performance (a different computer but one which slowed and weirded with time) + once more, the possibilities of the computer world tricked me into believing. And suddenly, having studied the basics of computer science for a good while, and having lost my fear of it, the more intermediate comp. sci. concepts no longer seemed so difficult. And now...

Well, I can't say I'm a mega-expert, but I'm pretty knowledgeable, and more over I'm enjoying computer science again. Every concept carries new possibilities, new cross-uses, new abilities for my grand ambitions, and now, comp. sci. carries a little bit of a buzz for me. Maybe I'll never get into that mega-expert slot, but I now have some good hope for learning how to do interesting and highly useful stuff with computer science and never stopping in that learning. Maybe my war with computer science is finally over, and the dividends of peace are starting to come in. Perhaps... but only God knows what the future holds...

(Quick possible news flash: Because of my growing interest in computer science, I just might start a comp. sci. blog (under my legitimate name), similar to my history blog and math blog. It's still only a possibility and contingent on me not getting buried in work, but stay tuned.)

Anywho, take it to your head, take it to your heart and remember Rand rocks. Goodnight Folks!

And God Bless.

Friday, March 28, 2008

We need a long-er burn

Yeah, fire is cool.

I'm still in (got to get on track with all my school stuff and I'm on and off side-tracked by personal stuff can't post as much) mode and so I'm not promising lots of posting soon, but here's something I've been playing around with.

Disk space and bandwidth seem to be the big obstacles to a lot of my cooler internet plans (also I don't have a satellite but I think I can make do without it, for now...), I think the former isn't as big of a problem as it might be if I can solve the latter, so...

all you out there in internet land, Deliver Your Bandwidth unto ME!!!

Or something like that.

So take it to your head, take it to your heart and remember Rand rocks!

Goodnight Folks!

God Bless!

Tuesday, October 30, 2007

TV meets IV: result: Destruction of the World!!!

Or not. I dunno. I've gotten tired of Wikipedia's politics in regards to television and tv episodes. It makes no sense to have tiny Scrubs episode pages while not having pages for Cowboy Bebop or Samurai Champloo episodes, a policy which results in gigantic lists for listing all the info related to the episode and leaves out the various references, etc. I've also found TV.com somewhat annoying to use. What I am getting excited about is The TV IV, it's an open wiki that's easy to edit, unlike TV.com (although it lacks TV.com's forums which can be kind of nice), and it is focused on tv allowing for all sorts of episode pages unlike Wikipedia. To be fair, as a whole TV IV is underdeveloped, but given its looser rules I think with some effort it can be a better, more user and editor friendly resource in regards to TV, than Wikipedia or TV.com (although again given the forums capacity, I might still visit TV.com).

Once more, check out http://tviv.org for TV IV a TV wiki that's cool and such.

Or don't check it out.

It's not that terribly important but I thought I'd tell you guys what's what.

Because I care.