A small memory of my Gameboy and TLOZ Link’s awakening

I was listening to this:

and the gameplay showed link swimming, and I started thinking to myself, link swims? Then black and white gameplay started showing up in my head and the connections in my brain put together something I forgotten and lost so long ago. One of the first Gameboy games I owned as a six year old child was “The Legend of Zelda Link’s awakening”! This is amazing to me. As I sit writing this on my bed, I remember something really cool about this game. I used to play it non-stop, and to the point that the battery save feature stopped working (or this could have been because I washed plenty of gameboy games in my jeans). In any case, I remember telling my mom that this happened and we contacted nintendo (Based off the number that was on the easy to lose battery cover) and they let us send it in and they returned a new one one to me. (Now the more I think about this though, I remember sending off Zelda, but I remember receiving Pokemon Blue. My mind is remember a small folder with blue inside for some reason, regardless I remember Zelda wasn’t saving correctly and we sent it off).

One thing I would regret as an old man, is forgetting the amazing memories I had with my gameboy and my childhood. And since this is my blog, I am going to continue and explain how I bought a purple (see through) gameboy color at the age of six with my own money. When I was a kid, I was in the cub scouts. For whatever reason, my family (my mother especially) pushed me really hard one year to sell a lot of pop-corn as cub scouts do. Well it turned out I sold a record amount of pop-corn which in return I received a scholarship (that I have no clue how to get now that I’m in college) and personal spending money. Around the same time, Pokemon and the new Gameboy Color just came out and I remember going to this mall in pittsburgh pennsylvania to buy Pokemon Blue and the really cool looking purple see-through gameboy (thus Pokemon Blue was my first game, even though the same moment I bought Gex 3 – Deep Pocket Gecko). I remember the details of the stores outside and the location in the right back corner where Pokemon Blue was located and exactly where I grabbed it off the shelf. I was so excited to get own gameboy! At the time I didn’t understand money but I did pay for it with that money I earned, which looking back is pretty cool. Unfortunately, I have no clue where my Pokemon blue went to but I still have my beautiful original gameboy color. I play it everyone once in a while but mainly keep it for the memories.

As a quick side note, I used play so many hours of Pokemon with my friend Brian. Brian was really awesome to play with because he has a gameshark and spawned Mews for us. A few years after getting the Gameboy Color, I moved to North Carolina and lost touch with him. It’s been over 10 years since we’ve talked. If somehow you run into me on the internet, please hit me up! I would love to see how you are doing and catch up. I still have a photo of us I’ve kept 🙂 along side my original Gameboy Color

How NASA could handle ETI (Alien) discovery

I am currently part of the space stack exchange beta forum that doesn’t have public access. A member on that forum asked an interesting question about how countries would handle Extraterrestrial intelligence (ETI) discovery. Well, I wrote a pretty awesome answer that I wanted to publish on my website here for the enjoyment of my non-existing fans. 😀 Also since I don’t want to write the biggest answer on an stack exchange site, i’ll be posting updates in find interesting on here. Anyway enjoy my comment below!

 


Great question Undo, I was interested so I did some digging myself. Apparent in August 21, 2011, NASA put together a report titled “Would Contact with Extraterrestrials Benefit or Harm Humanity? A Scenario Analysis.” that answers just that. Also found on Amazon for 1.99. This doesn’t cover how a country would respond but how NASA would handle several scenarios to the idea. I’m guessing since NASA is heavily funded by the United States and this document was published, the United States would obviously have regulations with NASA in mind if this were to occur.

In the first contact scenario NASA specifies that we should train our minds in the case that we become in contact with ETI (Extraterrestrial intelligence) so that "our minds grow accustomed to thinking about, identifying and analyzing specific scenarios and variations of them". They believe that by training our minds we will have a better capacity to analyze and respond to ETI contact. They break these scenarios into two parts intentionally or unintentionally harmful, which personally seems very science-fiction.

Being that this is a scientific paper i found it very inspiring that they talked about handling communication. Since our common form of communication is through specific wavelengths it’s impossible to know if we could ever be able to communicate with them. If an ETI is transmitting on an uncommon communication method it’s unknown how we could communicate.

The possibility also remains that ETI do not use electromagnetic radiation for communication but instead have discovered some other method (possibly something more efficient or effective) for exchanging information across astronomical distances.

Also it is noted that communication over vast distances might limit the ability for ETI to engage in warfare. Thus even if we do discover ETI the time it takes to communicate could be over 100s of years due to shear distance.

This difficulty in communicating across such vast distances also might limit the ability for ETI to engage in interstellar warfare for the simple reason that the communications problem renders such warfare too logistically difficult to coordinate

which starts the next interesting subject of

“Another implication of these long communication times across the galaxy is that ETI might become alerted to our presence without us realizing it”

Once ETI become alerted to our presence, it will take at least as many years for us to realize that they know we are here. During the intervening time, ETI can respond to our presence or prepare for contact in ways that we would have no knowledge of or influence on. Even if humanity can successfully exchange signals with ETI, there is no guarantee that the information will be successfully communicated. In order for information to be exchanged, it is also necessary that humans and ETI understand the contents of each others’ messages.

The answer to the concern with communication is that we would obviously communicate through mathematical conversation. Which is hinted to be our first few exchanges with ETI. They also talk about increasing the framework with METI to increase the probability of communication anytime a transmission is sent from earth.

In the same section of communication this paragraph stood out to me:

For example, we are almost guaranteed to lose in a fight between us and them, and there is a strong likelihood that such a loss would be so severe that we would cease to survive as a civilization. On the other hand, if ETI decide to use their superior abilities to help us, then they may be able to help solve many of our problems.

It’s obvious that depending on the situation how we handle a discovery depends on the nature of the ETI. I find it kind of sad that throughout this document that it’s a worry that ETI will be harmful to civilization. You would think that if we are searching and they are searching for life outside of their own, we would be peaceful not looking to destroy one another due to fear. In anycase, if the ETI are war-minded and more advance the odds of survival are small so we are prepared to loss but if they come with open-arms, we are ready to work hand and hand together to “solve many of our problems”. It would be pretty awesome to have ETIs come to use with cures to our diseases.

I don’t think people are interested in my analysis of the paper but I just wanted to give you a bit of an introduction of what’s inside. I haven’t read the entire thing yet and what I have covered has only been 8 pages in. NASA obviously has interest in how we should respond, they even go into the topics of Extraterrestrial ethics: Selfishness and universalism, Possible ETI heterogeneity, benefits, handling mere detection, how we would cooperate, and so much more. I am really excited to read the entire article. Great question again, I am glad I took the time to answer this. After I read it and find more interesting information i’ll post it in this answer if you are interested.

Last Minute WWDC Guesses

There is 9 minutes left until the Keynote at WWDC starts so i’ll take this time to give out my guesses.

1. As everyone is suspecting, a new interface for iOS. I am going to guess that the icons are going to be similar to that of the WWDC and the interface across all apps will be close to that app.

2. In text/email functionality. Something I haven’t seen much talk about but I believe Apple needs to add is in app texting and emailing functionality. As you have seen you can tweet from any app, via the drop down menu. Why can’t I text or email from any app? It’s annoying to be watching hulu or youtube from a device get a text and quit the app, stop listening, text and go back. Doesn’t Android do this already?

3. Obviously it wouldn’t be a keynote unless a new product is shown. I know this whole talk on iWatch has been on the horizon. Even Cook said he was interested in on body technology at D11, so I don’t want to guess iWatch as a stand alone product but maybe something that integrates with your already on you iDevice.

4. Tuned-In – this is something only I think have thought about. Apple has been on the hunt for iRadio type product. Recently, Tuned-in updated it’s interface and it’s pretty flat. It’s black and dark and the interface has been cleaned up pretty well (though I still think there is room for improvements). I’d love to see Apple teaming up with Tuned-in or even buying out Tuned-In for their future Radio product. Considering Tuned-ins’ fan base, it wouldn’t be a bad move.

That’s all I can think of and there is one minute left! LET GET GOING! WOOT!

Apple iOS 7: Apple still has it!

This morning I was plesently surprised to find out the WWDC app had a new interface! Check this out:

iOS 7 flat look picture!

Thanks to @yuize for this comparison image

 

If this new theme is any suggestion to what Apple has in store for iOS 7, I am super excited. Also apple doesn’t usually do something like this, unless it’s going to be big. And if you didn’t notice, there is a new replacement icon for photos, videos. Meaning live streaming? I have a really good feeling that Apple want’s all eyes (developers eyes) watching what they are going to do.

This is the first time in months that I actually feel good about Apple. Nice move with releasing this app today!

Will Apple impress the world again?! Let’s hope so!

iOS 7 Leaked icons

So apparently all these apple tech sites have evidence of the new iOS 7 flat icons… Even going into explaining what’s missing or changed. All from a blurry photo… Which in the world of amazing camera’s on everything, you would think blurry photos for leaks would be a thought of the past. Luckily a Designer, Surenix, took this awful photo and reproduced a mockup of what’s to come…

So.. Surenix makes a mock up of what might be a leak. What’s to say he didn’t create a mock up and then view the photo on his iPhone 5 (running iOS 6) and then guess what! Take a blurry photo.

Well I can do better… and it’s flat. And I just found that concept on dribbble.

iOS 7 interface/icons leaked

Tickets for WWDC 2013 Sell Out in Less then a minute!

WWDC 2013 Sold Out!

WWDC 2013 Sold Out!

I was fortunate enough to get the okay to go to WWDC 2013 this year. Unfortunately, it looks like I wont be going. It has been a recent trend that each year, apples WWDC sell out quicker and quicker. From my personal experience today, it would sold out in 30 seconds. Looks like now I’ll be on the look out for resell tickets, which from my understanding apple only attaches the sale to the account.

Well better luck next year eh?!

little word game in the makes! + perl code

Back when I interned at Shodor, I built a little word unscramble app that would be used to teach up coming high schoolers how easy it is to develop iOS applications. Though, they just viewed a document which had most of th code written for them, everyone seemed to enjoy learning how to develop an app.

After completing this little app, I alway wish I could publish it myself because I thought it was just entertaining enough to get a few downloads. Ever since that day, I longed for my own original word based game. Well almost 2 years later, my own idea has surfaced. I can’t give too much details at the moment but I did start it today.

First I did some research to find a good list of words. Luckily, I stumbled upon the this wiki-page. This should point you in the right direction if you are in need of a word list for your own app.

In any case, my app requires a certain character length for the word to be useful in this game. So I wrote a quick perl script. Suppose I only want words that are 10 letters long, heres code for that:

[code]
#!/usr/bin/perl

open(FILE, "mhyph.txt") or die("file does not exist");

@data = <FILE>;
close(FILE);

foreach $line (@data){
if (length $line == 10) {
print $line ."\n";
}
}
[/code]

this only prints out via terminal, so I run to put it into its own file

[code]perl script.prl > output.txt[/code]

Anyways, thought I would share what’s going on and hopefully i’ll have a new app out in the near future.

If you know a better approach to my perl script, i’d love for you to post it in the comments below. I always enjoy learning new ways of coding something.

iOS: Text input on popup dialog box


Before iOS 5 there was not an easy way to create a text input box inside a popup dialog box (UIAlertView). So on a project I was working on, I figured out a way to create one. This works with iOS 4 and up. I also have provided iOS 5’s new way of doing it without my little hack. If you are interested in supporting iOS 4, then my code is very useful, but if not, then I suggest sticking with iOS 5 version. If you have any questions ask.

iOS 4
[code]
– (void)viewDidLoad{
UIAlertView* alert = [[UIAlertView alloc] initWithTitle:@"Preset Saving…" message:@"Describe the Preset\n\n\n" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"Ok", nil];
UITextField *textField;
textField = [[UITextField alloc] init];
[textField setBackgroundColor:[UIColor whiteColor]];
textField.delegate = self;
textField.borderStyle = UITextBorderStyleLine;
textField.frame = CGRectMake(15, 75, 255, 30);
textField.font = [UIFont fontWithName:@"ArialMT" size:20];
textField.placeholder = @"Preset Name";
textField.textAlignment = UITextAlignmentCenter;
textField.keyboardAppearance = UIKeyboardAppearanceAlert;
[textField becomeFirstResponder];
[alert addSubview:textField];
}
[/code]

then I call [alert show]; when I want it.

The method that goes along

[code]
– (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
NSString* detailString = textField.text;
NSLog(@"String is: %@", detailString); //Put it on the debugger
if ([textField.text length] <= 0 || buttonIndex == 0){
return; //If cancel or 0 length string the string doesn’t matter
}
if (buttonIndex == 1) {
//code here for when ok is pressed

}
}[/code]

In addition, it’s useful to use the latest way to create one.

iOS 5:
[code]
UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"Alert" message:@"This is an example alert!" delegate:self cancelButtonTitle:@"Hide" otherButtonTitles:nil];
alert.alertViewStyle = UIAlertViewStylePlainTextInput;
[alert show];
[/code]