A first, wonderful error.

716

This is my first error in getting a site to work.  It’s some source that I’m just fooling with for fun.

Server Error in ‘/’ Application.


Parser Error

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. 

Parser Error Message: A space or line break was encountered after the “@” character.  Only valid identifiers, keywords, comments, “(” and “{” are valid at the start of a code block and they must occur immediately following “@” with no space in between.

Source Error:

Line 1: <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
Line 2: 
Line 3: <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">


Source File: /Views/Home/Index.cshtml    Line: 1 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

Believe it or not, that error means that I’m making progress.

That For Which I am Grateful (New, With Ketchup!!)

455

It has been such an incredibly long time since I visited this site.  I wouldn’t have even known if it was working (unless Google keeps track of that and would alert me).

Presently, I am going to change some of the CSS.  Not sure if it will work.  Might have to Filezilla and…

Well, just finished Filezilla-ing, and now I’ve got the files where I want them.  All I’m going to do is update the background.  Have 5 different iterations of photo editing to try.  The photo editing was done in Gimp and Paint.NET.  All I did was take my sketch, scan it, put it in those programs, made the background transparent, did a couple other minor tweaks, and then did different sizes (the original was HUGE – awesome for zoom 100%).

Other than that, life has been reasonably satisfying.  The ups far outweigh the downs.  I am very fortunate.

Since I brought it up, and this is primarily a digression blog, I have been thinking about all the things for which I am grateful.  First, without my parents, none of this would be possible.  They pushed me and pulled me while almost always allowing mine and my brother’s choices to be part of their lives.  They pretty much gave us everything.

Second, I’ll thank what I account as self-hypnosis and …

Just did some research and it turns out, afaict, not hypnosis.  There was a definite physiological response and it was real.

Anyway, the Second most important thing ever to bring Gustavo to planet Erf (in my native language) able to achieve a relative state of enjoyment for life, the universe, and everything was God.  I would have said “spirituality,” but I certainly mean God.  Those experiences built the person I am and helped me through some really hard times.

Now, I have Zen meditation (if you want to see it, it’s great; greatly boring).  Does the same thing.

…Now I find my gratitude priorities changing…

Friends could also come in as the Second most influential factor in my life.  Without them God knows I’d be f**ked.  Come to think of it, friendship is how romance usually starts.  At least, that’s always been the case for me.

Being f**ked aside, Both the good and the bad of meeting new people and encountering new and different, sometimes even challenging, ideas has turned me into a fully human, social animal.  Case in point: the state of this Blog not having many posts.  It’s just like all those three-post beds out in the world.

As beautiful as West Virginia is, and as lovely as it is to live here, I have to be thankful for all the places I’ve lived.  Those places exponentiate both the friends, family, God, and places categories of thankfulness.  This also might make West Virginia the best place I have lived as an adult in his 30s.

Self-referencing statements and pseudo-self-referencing auto-allusions also add to my enjoyment.  Without those, I would have never thought, “Maybe this life is just neurons firing in my head, and my head is a computer, and this is all a simulation…” when I was a kid.  The thought was different back then, “What if dreams are real and wakefulness is the dream?” but the query is equivalent.

…And let’s not get me started about self-referencing philosophically-minded paragraphs.

…And self-referencing compound words.

(more…)

Recommendations

176

Briefly, I would like to recommend some software.  You can Google it yourself, of course.

A little over a year ago, one of my Hotmail accounts got hacked.  Probably, someone got the ciphertext password and/or a cookie.  It happens.

My response was to find a way to manage ALL my passwords and randomize them such that, if one person finds one of my passwords, he or she only gets access to that one account.

Now that I have told you the “why”, here is the “how” of it:

  1. (Optional) Download and install TrueCrypt and create an encrypted volume where you will store critical confidential data.  My personal volume is 128 MB and I use a 128 bit password (over 20 characters long, designed as a passphrase w/CAPs, symbols, numbers).  NOTE: You can also create scripts at the command-line level to open your TrueCrypt volumes for you (given a secure computing environment), if you wish to support single sign-on functionality.
  2. Sign up for an account with an online backup provider (e.g. Dropbox, Sugarsync, or somesuch). The important thing is that the online storage you choose supports all your devices.  I use Dropbox.
  3. Download and install KeePass.  This is what you will use to manage all your passwords.  Make sure the key database is stored by your online backup provider.  You will need it for all devices.  I use a 64 bit password for this only because it is much easier to type into a phone that way.

Writing all that, it seems like a lot of work.  It is worth it simply for the assurance that even I cannot divulge any but two of my passwords, and if someone does find out one password, he or she as only gained access to one account.  Also, keep in mind that what password you choose for Dropbox, KeePass, and especially any TrueCrypt volumes you may use matters quite a bit.  If an account involves logging in before being able to use a device (e.g. Google account in order to get Dropbox from Market – workaround is to have the *.apk for Dropbox on the SD card, browse, install), you may wish not to randomize such a password.

Also, seem my DISCLAIMER.  Should you take any of the advice in this post, you do so at your own risk (though I will do my best to help you, if I am able).

jQuery REPL

321

A while back, I created what I consider to be a very fun jQuery REPL. You can read the source for yourself (it should be mostly formatted), but essentially, if you want to fool around with the REPL, just go here (http://dotnet.zoopari.com/jQueryREPL/index.html).

The following is what you will find:

If you want the source, please feel free to download this ZIP file (jQueryREPL.zip) and do what you will.

Personally, I have this REPL in every environment upon which I develop.  It comes in handy for testing Regular Expressions, ideas on how the UI is supposed to work (as far as cross-browser compatibility goes), and fun with jQuery.

Future development of this little web “app” might include the option to save and organize your work.  Since I used WoaS (Wiki on a Stick), I haven’t seen such functionality anywhere.  Also, WoaS pretty much refused to work with permission limitations in IIS 6, if I remember correctly.

If you did read the source, you may have seen this on line 299, but here are the features you need to know to make this REPL practical:

  • al (as in “AL”, lowercase) | function | Stands for “Append line”. Accepts n parameters (newline per).  Newline is “<br />”
  • a | function | Stands for “Append”.  Accepts n parameters (concatenate per).
  • printObj | function | Taken from jQuery website example. Accepts an object obj.  Returns (object literal notation) string with properties of object.  (Example use: al(printObj({hello:”world”})); )
  • out | This is a <div> were the output goes (Example use: out.html(‘Hey, this is my HTML!’); )

So, what do you like/dislike about the jQuery REPL?  What did you try doing?

Go to Top
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.