Tink!

Trying to not be confused.

So, I am sitting here watching some anime, and it has the usual problems that I run into with anime. Firstly, it is very childish in many ways. It is like watching a show aimed at 17 year olds that act like they want to be six year olds. it is a Japanese thing I know. Still, it can detract. Second, the whole concept that a girls breasts have to be bigger than Barbie's to be attractive. Am I the only man that thinks normal sized breasts are just fine? That they actually look better when they are properly proportioned? I mean seriously, we are talking H cups here! Who in their right mind finds that attractive? And when a character isn't super-sized, they get supersize when she activates her special powers. WTF?

Why don't we make shows with the story lines that they use in anime? American writers could easily make it less annoying, which would make the shows that much better. Then again, maybe I am just not juvenile enough, and not enough of a horn-dog pervert.

Posted via LiveJournal app for iPhone.

Tink!

(no subject)

In today's world, I tend to try and stay as far out of politics and religion as possible when in a public forum. Recently, I came across a news article that talked about a Quran burning at a US Military base in Afghanistan. I thought it was an odd thing, so read the article. What really happened is that several copies of the Quran got left in a burn pile with other garbage, and were found by local nationals helping out. No one was trying to disrespect anything. I am willing to bet there were other books there, possibly even a few bibles.

What bothers me is that they are so incensed about the unintentional burning of a book that they would kill someone. And then, we are all expected to condemn the person who accidentally burned the book. What happens if we reversed this situation. Let's say that someone burned the American flag in protest and so we went and started killing people for it?

This is why it bothers me. The religion is called Islam, which literally means "The Peace," and here you want to kill? The commandments of Allah state you aren't to kill. The world needs to learn that you cannot condemn someone for not belonging to your group and to have everyone held to the same standard. And for the sake of all the gods in existence, do not condemn a man for an accidental insult and not say a damned thing about the insulted party trying to kill someone over a book.

Posted via LiveJournal app for iPhone.

Tink!

Where is sleep?!?!

Got chess finished; the last class before this year's tournament. 9 kids registered and paid for by the school, with a good strong base of 6th graders leading the way. If Arvin, Dylan, Sage, and Jordan all play their best, I see a state championships invite in our future. Riley is showing a lot of promise as our most improved of our newcomers as well. All told, we are set for a good showing I think. I just have to remember to send a final roster to the director tonight so they have all the names and stuff right. Wish us the best of luck on Sunday! Now, sleep!

Posted via LiveJournal app for iPhone.

Tink!

Really love the LJ app

So, I haven't used LJ in ages, and I just recently downloaded the LJ app for my phone, and it rocks. I think that I need to push to get my friends from FB to switch to LJ. This app is not just the nicest social networking app I have used, it is one of the most well thought out iPhone apps I have seen. And development is very active, so they are always improving it, and they have an online community where you can post your feedback on it. Love it!

</lj-like>

Edit: I forgot to mention, you can passcode lock the app on your phone so that if you pass out at a party no one can read your private posts.

Posted via LiveJournal app for iPhone.

Tink!

Code Refactoring.

 First it was this:

def update
unless request.request_method == :post
redirect_to "/myaccount"
else
update_errors = false
pending_changes = false
@update_message = ""
if @client.first_name != params[:client][:first_name]
@client.first_name = params[:client][:first_name]
pending_changes = true
end
if @client.last_name != params[:client][:last_name]
@client.last_name = params[:client][:last_name]
pending_changes = true
end
if @client.phone != params[:client][:phone]
@client.phone = params[:client][:phone]
pending_changes = true
end
if @client.email != params[:client][:email]
if params[:client][:email] == params[:client][:email_confirmation]
@client.email = params[:client][:email]
pending_changes = true
else
update_errors = true
@update_message += "Email Address Does Not Match Confirmation.<br />"
end
end
if params[:client][:password] != ""
if params[:client][:password] == params[:client][:password_confirmation]
@client.set_password_to params[:client][:password]
unless @update_message == "Email Address Does Not Match Confirmation.<br />"
pending_changes = true
end
else
update_errors = true
@update_message += "Password Does Not Match Confirmation.<br />"
end
end
if pending_changes and !update_errors
@client.save
@update_message = "Updates Saved Successfully."
end
params[:client][:password] = nil
@client.password = nil
params[:client][:password_confirmation] = nil
@client.password_confirmation = nil
if !update_errors
render :action => "index"
else
render :action => "personal_info"
end
end
end


Now it is this:

def update
updating_user = User.find params[:id]
if @user.id == updating_user.id or @user.is_administrator?
updating_user.first_name = params[:user][:first_name]
updating_user.last_name = params[:user][:last_name]
updating_user.phone = params[:user][:phone]
updating_user.save!
if updating_user.valid?
redirect_to user_path(updating_user)
else
errmsg = ""
updating_user.errors.each do |key, msg|
errmsg += "#{msg}<br />"
end
@user_error_messages = errmsg
@editing_user = updating_user
render "edit"
end
else
redirect_to user_path(updating_user)
end
end