Finally got around to making some changes to the blog so it should look a little more like my actual site, and also I decieded to add the sitemap for my blog to Google Webmaster tools found a nice how to on this site
Adding Google sitemap to blogger.com blog account
Sunday, December 02, 2007
Quick Notes
Posted by Emergence at 12:23 AM 0 comments
Sunday, November 25, 2007
Valid Google Calender
Valid Google Calender that works isn't that hard, just I never really bothered before. Well the code for this is still using conditional statements
<!--[if !IE]> -->
<object type="text/html" data="http://www.google.com/calendar/embed?src=[your account]&title=[Your Title]&chrome=NAVIGATION&height=565" style=" border-width:0 " width="560" height="565">
<!-- <![endif]-->
<!--[if IE]>
<iframe src="http://www.google.com/calendar/embed?src=[your account]" style="border: 0" width="560" height="565" frameborder="0" scrolling="no"></iframe>
<!--><!--dgx-->
</object>
<!-- <![endif]-->
Posted by Emergence at 10:48 PM 1 comments
Labels: browser support , calender , code , google , ie , website
valid flash
Something that has been bothering me for a while is creating a site that is valid but still viewable in IE, well at the site of http://knowhow.dgx.cz/eolas-workaround/
I found a workaround that goes like
<!--[if !IE]> -->
<object type="application/x-shockwave-flash" data="http://card.mygamercard.net/Emergence.swf" width="198" height="135">
<!-- <![endif]-->
<!--[if IE]>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="198" height="135"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="movie" value="http://card.mygamercard.net/Emergence.swf" />
<!--><!--dgx-->
<param name="loop" value="true" />
<param name="menu" value="false" />
<p>This demo requires Flash Player.</p>
</object>
<!-- <![endif]-->
Such nice code, I hate using conditional attributes but works nicely though and for going around the active x thing well then I include the javascript file that I include with
<!--[if IE]><script type="text/javascript" src="http://joshknutson.net/global/fix_eolas.js" defer="defer"></script><![endif]-->
You can view the site that would see on the code for the website. Don't think I forgot anything, well have fun.
Posted by Emergence at 10:42 PM 0 comments
Labels: browser support , code , flash , ie , website
Saturday, October 27, 2007
excuses, excuses, excuses
Yes I realize that I am really behind on blogging lately, I could say a lot of reason of why but they are all excuses. Maybe my computer is just too far away from me sometimes. In any case I have been busy at work, busy at home it seems. Deer hunting is almost upon me which I am excited about. I keep meaning to throw up some code examples especially some xlst things which I have been working on but sometimes they don't work the best for me...especially when I am trying to run away from tables.
Oh at work I had to use stylevision and I want to know who makes a product to work with code where you can't actually edit the source. There were so many times where it was faster just to open the sps file in Textpad or Notepad++ and edit the elements in there. Since sometimes I think stylevision has its own mind and you have to bend to its will, which really isn't a good thing as creativity can be restricted.
On My website I removed the Other page but it still kinda exists but not its usual form. Since I wanted the more important links to be seen at first glance thats why you can now view my places on the web on the sidebar. I am still debating if I should do an update to the site. I am uncertain as what I should do, maybe I'll just grab a template from some other site.
Till next time
Posted by Emergence at 12:01 PM 0 comments
Sunday, September 16, 2007
Blog Hijacked?!?
No, it hasn't been, I am just helping a friend out with the layout of a different blog for a customers site, he is asleep so now I am changing my blog around so that way I can at least see the results faster. Everything should return to normal after a day or so.
Posted by Emergence at 6:34 AM 0 comments
Saturday, August 11, 2007
trouble with favicons
Opera and FF typically will work when this issue arises but will not work within IE a lot of the times. Now lets for example start with something simple to which I will be using my site as an example as I normally do :o) we have a favicon that is somewhere in the head <link rel="icon" href="http://joshknutson.net/images/icons/ favicon.ico" type="image/x-icon" />'
This will not show up in IE but will show up in other browsers, so I then check Microsoft sites to see how they do it. My results: <link rel="icon" href="/s/wlflag.ico" /> from live.com <link rel="SHORTCUT ICON" href="http://hp.msn.com/global/c/hpv10/ favicon.ico" type="image/x-icon" /> from msn.com Now what could be the difference between what didn't work for me, but will work somehow for Microsoft. After fooling around this is what I tried
<link rel="shortcut icon" href="http://joshknutson.net/images/icons/ favicon.ico" type="image/x-icon" /> which works for some unexplainable reason unless I am just caching the results of playing around with it a few different times, this was tested within IE7 and seemed to have worked for me. If need be check out http://joshknutson.net/index.cfm to let me know if this doesn't work with ie6 and such
Posted by Emergence at 10:04 AM 1 comments
Labels: browser support , firefox , ie , website
Thursday, June 28, 2007
More Updates
Alright so I tried moving the blogger stuff to my own server, but a lot of the widgets stop working then, and I really like them, but I have learned a heck of a lot about the blogger code and how little of it is actually important. Technically I would have kept it on my server except that I am too lazy to always update the template as the search functions would generate html files instead of cfm pages so my cfinclude statements wouldn't work, and that just ain't cool with me. Anyways Its probably better if the server doesn't get that much activity anyways, but I know plan to throw up some coldfusion examples, maybe just for me for future reference.
On a side note one of my favorite blog sites, Ajaxcold, is no longer there, looks like it has been deleted, so before the Google cache disappears I'll repost some of them on here, hopefully the Antonio Lupetti won't get mad as I think he is now working a new projects.
Posted by Emergence at 7:39 PM 2 comments
Labels: ajax , Antonio Lupetti , blog , coldfusion , website
Monday, June 25, 2007
More Updates
Yes I realize that the site now looks really bad, but this is more of just a test, hopefully I will be able to do some cool things since I have transfered the blog over to my server, means I get to free up some space on the side and make the whole site cleaner and easier to navigate. I will be doing this tomorrow. This is more of just a test at this point.
Posted by Emergence at 11:20 PM 0 comments
Sunday, May 06, 2007
Comment Delete
Just a quick fun story from Trevor Johnson that he wanted me to post. Enjoy :)
As Computer Science majors at North Dakota State University, our initial drive was to create a program utilizing Microsoft’s Visual C++.NET which neither of us were familiar with. We had limited experience using Visual Studio 2003; so we also took this opportunity to expand our knowledge base to encompass Visual Studio 2005. This then allowed us to build the application using the standalone features of Visual Studio .NET which allowed us to create the program, taking advantage of the .NET architecture but without using the common libraries; so that a user’s machine would not require the .NET 2005 Framework to be installed.
In searching for a program to create we noticed that in many code files available on the internet and distributed by various professors and other sources it is not unusual to find the number of comments outnumber the actual lines of code. This can reduce the readability of code and sometimes as much as double the file size making it tricky to store larger programs on flash drives.
We began project development by creating a command line C++ program implementing our initial algorithm for Java/C++ single line comments (//Comment) only. Using the C++ standard classes; FileWriter and FileReader, we originally made a simplistic version of a typical Find and Replace function which replaced comments with null characters. Because of the limitations of the FileReader class to navigate a text file one line at a time, we determined it lacked the dynamic abilities to remove multi-line comments (/*Comment*/) which would require a start symbol and an end symbol which could occur after any number of lines.
To resolve reliance on a starting and ending symbol we would need to navigate through the text file character by character. To accomplish this task we inevitably downgrade our technology to use fscanf to read in the text document a single character at a time. We modeled the algorithm after a Turing Machine which we had been introduced to us by John C. Martin III in Theoretical Computer Science II. The algorithm was as follows; after starting in an initial position in the text document we would progress character by character leaving each character intact until we encounter the specified start symbol at which point it would be replace by a null character or blank, this progression would then continue until closing with the end symbol.
Figure 1.
Turing Machine representation of algorithm
The Turing machine can be defined via the 7-Tuple structure; { Q, Γ, Δ, Σ, δ, q0, F } where Q = { q0, 1, 2, ha }, Γ = { Σ ∪ Δ }, δ: Q x Γ → Q x Γ x {L.R.S}, F = { ha }.
In our Turing machine “x” represents an arbitrary character from the ASCII character encoding standard, and the symbols α and β are defined as our staring and ending symbols as determined by the user’s comment selection. Since “x’ is an element of Σ and “x” is already known to be a member of the ASCII character encoding standard it is obvious that Σ is as well . Finally the Δ symbol will represent any form of null character such as λ or a blank, not to be confused with a space but rather an empty character.
After we had defined our second algorithm we began working on a user interface to best optimize the recursive nature of our created methods, which we have placed in a C++ header file that they could easily be extended to any GUI. Our user interface would allow a user to select the files and then choose the comment type to be deleted from a list of; Java/C++ Comments single and multi-line, Assembly comments (;Comment), Perl comments (#Comment) and HTML comments (). This selection would define our start and end symbols. A log was added to the GUI to show how long the process took, how many comments had been deleted, and how many lines the new document contains.
It was at this point that we encountered a problem when using the C++ FILE data type which required the passing of a constant char. The use of a constant char would not allow us to dynamically select the files to be parsed. To resolve this quagmire we used pointers to create two constant chars, one for the in File and one for the out File, and then proceeded to manually add it to the system memory reserved for the constant char.
<----------------------------------->
Hope You all enjoyed that as much as me, anyways the program in case you don't already have it.
Posted by Emergence at 11:44 PM 1 comments
Labels: comment delete , programming , website
Monday, April 30, 2007
Added yet another element
Finally got around to making a tag cloud on the side where it doesn't take up nearly as much space as the last label showing widget. Well if you want the code then hear it ya go for your pleasure. Cheers y'all till next time.
Posted by Emergence at 11:37 AM 0 comments
Wednesday, April 18, 2007
News and happenings
I figured it has been a while since I said anything on my blog so here is some of the news lately.
- Finished the Capstone for school, everything should basically work unless we didn't get time to implement all the functionality we wanted. This year was odd in making the Capstone site as normally there would be some kind of real business that we would be making it for but our teacher had taken a sabbatical so instead we created a fake company, so in some aspects I like to think we were on a tighter deadline as we had to create everything from scratch.
- I have accepted a job down in Lakeville, I just recently think I found someplace to live down there, chances are I'll be renting a town home
- I still plan to drive down to Texas and New Mexico after my trip to New York, if you don't know why I am going to New York, well I am going to NY for the BPA competition. Hmm...maybe those two should have been in separately listed.
Sorry again for not updating for such a long time, things are really quite hectic at the moment, hopefully things will calm down and I'll be able to post again more frequently.
Posted by Emergence at 11:56 AM 0 comments
Sunday, February 25, 2007
programming
I figured I would type about programming for this post.
Yes I am a lazy programmer but that is not always a bad thing. I will normally make it so that I make code more dynamic that will generate things for me. I like to make the code that loads quickly. Now I have been trying to make it for my main site that will load by http requests when you click on the tabs at the top, also known as Ajax but so far when I do this parts of the website don't work correctly for some reason. But I will keep trying I guess. If you know how I can do this then please drop me a line.
Thanks
Posted by Emergence at 2:51 PM 0 comments
Labels: ajax , programming , website
tsk tsk google ranking system
Alright so a friends program that I threw a link and better description up on part of my site. Then a few days before I put up the link my homepage was number one when I would search for myself on Google. Then the link it would throw up for people searching for me would be the comment delete program. Now I think its back to normal though.
Posted by Emergence at 2:43 AM 0 comments
Labels: comment delete , website
Tuesday, February 20, 2007
Networking
Now I know that I am a Jack of all trades but a master at none but my home network is expanding more and more it seems. So now I plan to go find a nice 8 port switch ideally that is able to handle everything that I can throw at it.
Ah yes I made some changes on my actual website so you can view whats going on in my calender of events for some of you people that keep bothering me about some of those things out there. Main Site
Let me know if there is anything else that I should add onto it or that really needs to be changed.
Posted by Emergence at 2:33 PM 0 comments
Labels: calender , networking , switches , website