Sunday, February 24, 2008

JavaScript: Changes to the Simple Twitter Feed

Recently, I had resumed working on the href="http://tech.gtaero.net/2008/02/javascript-simple-twitter-feed.html">Simple Twitter Feed,
and decided to make some improvements after reading href="http://www.scripting.com/stories/2008/02/24/whatAmIUpTo.html">Dave Winer's "What am I up
to?" post.

So, the Simple Twitter Feed has one fix, and four
additional optional parameters.





start STR - Symbol or Text to look for at the beginning of a post
time BOOL - Whether or not to display the "about x minutes ago"
client BOOL - Whether or not to display the "from x"
br BOOL - Whether or not to place a break between the
tweet and the extra data

The simple fix is that
the count parameter would check the last (x) amount of tweets, whereas now it
displays up to (x) amount of tweets.

Friday, February 22, 2008

Air-Powered Cars to come to America

Over a week ago, I talked about the new href="http://tech.gtaero.net/2008/02/future-of-automobiles-now.html">Air Powered Cars coming to Europe
and India.  Now, a similar vehicle being developed by Zero Pollution Motors
has confirmed that it expects to produce the world's first air-powered car for the United States as soon as
late 2009 or early 2010, with plans to begin producing up to 10,000 Air Cars per year.

ZPM
is not only licensed to make the same vehicle I talked to you about, but another higher-powered model: a
$17,800 75-hp equivalent, six-seated
version that is said to be able to travel as far as 1,000 miles at up to 96mph
with each fill up.

I'm not going to elaborate too much on it, but just letting you fans
of the car know.  You may wish to read the href="http://www.popularmechanics.com/automotive/new_cars/4251491.html?series=19" target="_blank">full
article.

Thursday, February 21, 2008

Fedora Issues Cease & Desist against DataPortability

Red Hat, Inc. ("Red Hat") recently became
aware that on your website, located at http://www.dataportability.org,
you are using art work that is identical to the Fedora Infinity design logo owned by Red Hat.

Specifically,
I am referring to two images on your site: the green and white logo, as well as the blue and white logo.


Personally, I think this is ridiculous.  Thoughts and comments are
welcome here.  I'm not going to write any more, so that I keep myself from
ranting.

Wednesday, February 20, 2008

Using XFN with FOAF

So, before I just start splattering your screen with Acronyms, lets define a
few, eh?

Generally,
you wouldn't combine an XHTML standard with a different XML Schema.  But, I've personally decided
the best way to use the two together.

First, declare the XHTML namespace in your FOAF
file.  This is with all the others, and generally looks like xmlns:xhtml="http://www.w3.org/1999/xhtml".


Next, go to where you have included your contacts.  For each <foaf:knows>
tag, add inside of it xhtml:rel="contact" or similar,
following the XFN standards.

And voila!  You now have XFN and FOAF working
together.  Of course, the only problem is that nobody quite supports this standard yet,
but it will hopefully come in the future.

My Guidelines for using XFN in FOAF is that it
should be used when referencing another <foaf:Person>
In fact, if you want, you should probably even add xhtml:rel="me"
to your own <foaf:Person>.

Tuesday, February 19, 2008

Tuesday, February 12, 2008

JavaScript: Simple Twitter Feed

This is code that I will kindly let anyone use.  It only works with
public twitter accounts, however, but it is perfect for placing on any web page.

First we
have the Inclusion of the File (can only be included once per page). Then the HTML for where the Twitter
Feed is going to go, and then the JavaScript to include the file.



[codesyntax
lang="xml"]<script type="text/javascript"
src="http://www.gtaero.net/twitter/twitter.php?user=USERNAME"></script>
<div
id="twitFeed">Optional Placeholder Text</div>
<script
type="text/javascript">twitter2id("twitFeed");</script>[/codesyntax]


Feel
free to use this code anywhere you want to.  It is my gift to you!



UPDATE:
Some additional (optional) variables href="http://tech.gtaero.net/2008/02/javascript-changes-to-simple-twitter.html">have been added to the
script for further tweaking.


February 24, 2008.



UPDATE:
Support for twitter lists and
turled profiles has been added
to the script.  Your script might break with these
changes, please view the post for more information.


October 30, 2009.

Sunday, February 10, 2008

The Future of Automobiles... Now!

style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; display:
inline" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:d4308fb8-dd6e-40e5-a6ee-c1696242c286"
class="wlWriterSmartContent">
value="http://www.youtube.com/v/Ov4t1P9bdGw&hl=en"> value="transparent"> type="application/x-shockwave-flash" wmode="transparent" width="425" height="355">

The movie explains more than I could ever really write into text.  The cost
of the vehicle, 3.500€ is about the equivalent of $5,100,
with a tank that you fill up every 125 miles (200km) for only $2
(1.5€)
, with a top speed of 70mph.  Is that,
or is that not impressive?

Would this vehicle ever sell in America, considering our harsh
patent process and oil industry?  That, I'm not sure of.  So far, it is only being planned
for release in Europe and India.

The
only thing I find more impressive then this; dealing with automobiles, is the DARPA Urban Challenge. 
I think I might choose to post about that next.

Source: href="http://www.autobloggreen.com/2008/01/05/bbc-news-video-air-car-out-by-end-of-year-in-europe-for-3-5/"
target="_blank">AutoblogGreen

JavaScript: Falling Objects (Images)

This code allows for one to enable a picture to "fall". 
It works by using the image as a background (so make sure to have plenty of padding in the image itself). 
It can use any image, and can make it fall as the background for any tag specified.  This code is
free for all to use.

NOTE, this script requires the href="http://www.prototypejs.org/" target="_blank">Prototype Framework.



valign="top">

/**
* @author Navarr
*
* Requires ProtoType

*/
     // Don't Touch This!
       
window.snowflake = new Array;
    // Active?
       
window.snowflake["active"]    = true;
   
// Image to use?
       
window.snowflake["image"]    = "/temp/img/hearts.png";

    // Div to put it in?
       
window.snowflake["div"]       
= "htmlBody";
    // Speed (Higher the Number, the
Slower it is)
       
window.snowflake["speed"]    = 7;

if
(window.snowflake["active"])
{
   
Event.observe(window,'load',function()
    {
       
window.setInterval('startFalling()',window.snowflake["speed"]*10);
   
});
}
function startFalling()
{
   
if (!window.y) { window.y = 0; }
    window.y = window.y+10;
   
if (window.y > window.innerHeight)
    {
       
window.y = 10 + (window.innerHeight%10);
    }
   
ele = $(window.snowflake["div"]);
   
ele.style.backgroundImage = "url('" + window.snowflake["image"] + "')";

    ele.style.backgroundRepeat = "repeat";
   
ele.style.backgroundPosition = "0px " + window.y + "px";
   
ele.style.backgroundAttachment = "fixed";
}


Wednesday, February 6, 2008

a single thought about HEROES happen {here}

They are throwing a fuss about computer viruses and a rootkit when the bug is
on the lady's website.  Umm.. What?

Since
when does a bug on a personal, ancient computer affect what your website is doing?


How does this comic make any sense whatsoever?

Somebody, tell
me.

href="http://xkcd.com/380/">:) src="http://lh5.google.com/navarr/R6pmbep1vBI/AAAAAAAAAOQ/Ci4ZXJN73sw/bslsk05%5B4%5D?imgmax=800" width="100"
border="0" />

Monday, February 4, 2008

Resume of Navarr T. Barnier

Before I post the actual thing, I'm going to go ahead and state that the idea
came from @Mobasoft.

Navarr 
T. Barnier
Spring, Texas 77388 USA
href="mailto:[email protected]">[email protected]

Summary />Insightful developer who loves making creative thoughts a reality.  Interested
in the social web with a passion for interactivity.

You should know this
about me

When it comes to the job place, I am entirely
honest.  Speaking of which, I currently have little to no professional work
experience.  In my spare time, I enjoy coding and reading the thoughts of professionals and experts
about the ever expanding internet and the projects that are going on to help make it a better place.


In Development, I can work well under Windows, and from the small experience I have, can work under
Linux and Macintosh.  I am proficient to the amount required for DOS and the *Nix Terminal.


I've proven to be able to use:

  • Notepad
  • Nano/edit

  • Dreamweaver (on a basic level)
  • Frontpage (on a basic level)
  • Programmer's
    Notepad
  • and Aptana

I prefer to
write code from scratch (its my specialty) but can edit the code of others.

I am
proficient in:

  • PHP
  • HTML 4
  • (X)HTML
    Trans/Strict/1.1
  • CSS

I am learning and am decent with:


  • JavaScript
  • AJAX
  • MySQL

I've been told that I write and speak PHP like its a second language.

Education

Current Student
Klein Collins High School US-TX-Spring
Current


Certifications
Brainbench, Certified Master Typist, May
2005
Brainbench, Certified HTML 4.0, August 2007
Brainbench, Certified PHP 5
Programmer, July 2006
Brainbench, Certified XHTML 1.1, May 2006