The makings of the mysterious Megatron juice, helping Calvin Johnson score a record 9 touchdowns in the first 5 games of the season. What is in Megatron juice??
- Pedialyte
- Sugar
- Water
- Electrolytes
- Orange Koo-laid
The makings of the mysterious Megatron juice, helping Calvin Johnson score a record 9 touchdowns in the first 5 games of the season. What is in Megatron juice??
So far I've always used Eclipse for anything Android. It's been really nice and I like it a lot. In ISYS 403 we're doing an Android app using NetBeans. The setup is simple if you have the SDK already installed, you just go here and follow the instructions to download and install the Android plugins. See http://kenai.com/projects/nbandroid/pages/Install
Needed to remove a comment from the Android Market and figured out how: Initially it wouldn't let me edit my comment to include no text. It just won't let you save it. What you have to do go to the app on the Android Market and hit the menu button. There, in the "More" option there's a "Clear my review" button. Hit that and your comment and rating are removed.
There's been a lot of talk lately about BYU football and Jake Heaps in particular. The team is solid this year, but Heaps has yet to step up. He had all of last season for his "transition year" to NCAA div 1 football and it's about time the guy starts producing. I was at the painful BYU - Utah State game in Logan last year. Man, it was the worst. Here's hoping Heapsy boy can step it up and play like a man. Granted, you could argue that BYU's o-line isn't helping, but the guy still needs to hit his receivers and throw some decent passes across the middle. It almost makes me miss Max Hall. Did I just say that?
Seriously, I can't sleep. I'm sitting here in Eclipse messing with these layouts and getting stoked for the BYU Mobile App Competition. A partner and I are developing a super awesome Android app that is going to be a blast. Too bad I can't say what it is yet. But, in about three weeks we should be ready to push it out. We're under way right now and will be working on it as much as possible to get it ready for the competition. Man, I feel like saying more but I guess I won't for now. People could be out there snatching up our idea as we speak. That sucks. But believe me once it's out there I'll be all about spreading the news. The cool thing is that this app has never been done before on Android, it's a fresh market! There's one on the iOS app store, but it's lame. Maybe we'll try xcode and iphone development if this goes well.
Here's how the BYU mobile app competition works:
I just published a new release (the first update) of Cow Tipping (http://market.android.com/details?id=
Don't know the answers to these questions. Someone out there might.
Cow Tipping has been live on the Android Market for a month and a half now! It's been pretty exciting to see it happen. Granted, it's my first app and it's extremely simple, but I'm happy with it. The app's making about a quarter a day now in admob ads and has almost 2500 downloads, 36% retention. Trying to push out an update - possibly tonight - when I get to it.
Notes on some features to add:
Any suggestions? How can I make it something worth using?
ISYS 403. Business oriented programming. Goal: Program a news aggregator. Project statement: Program a news aggregator that scrapes a news page and posts the top news stories. The assignment gives a view into how search engines and other scrapes work online.
Many sources publish the news: local radio and TV stations, the Associated Press, national and international sources, and aggregators. Aggregators like Google News don’t actually create news stories; instead, they parse the news stories created by other sources, discover like stories, and publish a combined view.
The problem is each site on the web publishes in HTML — a plain-text, free-flowing format. You’ll have to code a technique called page scraping. Page scraping is programatically going through a retrieved HTML source file and picking specific data pieces, such as news headlines and links, from the HTML.
Regular expressions are one of the best text parsing techniques available. Beyond parsing HTML, they are useful for searching through all types of free-form text.
Completed project using businessweek.com/technology:
I thought this project was awesome! I've been wanting to see how Java interfaces with the web and this was it. My first time using java to hit the web and it really wasn't too bad. Downloading the URL's HTML to a string was surprisingly simple. My code looked something like this:
String lineOfHTML = ""; String content = ""; //download home page try { URL url = new URL("http://www.businessweek.com/technology/"); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); while ((lineOfHTML = reader.readLine()) != null) { content += lineOfHTML; } reader.close(); } catch (IOException e) { e.printStackTrace(); }
As you can see the hard part really isn't that hard. I used the URL library to grab the webpage and a buffered reader to read in all the HTML, then just stored it as a string. The samples out there on bing made it really easy to. Try searching "download webpage in java" on bing. You'll get a lot of hit, trust me.
Parsing the HTML to find the new stories meant looking up businessweek's HTML source code, finding the tags surrounding news stories, and using regex to grab the information we wanted, which was the name, link, and description in our case. My regex expression ended up looking like this in order to get the top two stories: String regex = "
(.*?)
(.*?)
"; Fun eh?So that was it. Put it together and you have the news parser as pictured above!
I am officially a married man! enjoy the pics.
On my Windows 7 machine I noticed that the Alt-F4 combination does not close a command prompt window. I was wondering why this is and found this explanation: The command window uses special key combinations for various applications within the DOS emulating window. If Alt-F4 closed the window, it may be impossible to use certain utilities. If you are looking for a keyboard-only fix just type exit to quit.
I'm a web and mobile app developer and recently had a friend tell me all about MAMP. I've always used a PC and when I heard about WAMP (Windows Apache MySQL PHP) I wanted to give it a shot. I was working on setup and found out how to get WAMP running, and get a virtual environment of Wordpress going using WAMP. I'm going to show you how in a couple easy steps. I'm running Windows 7 on a 32-bit machine. 1) Start by downloading the WAMP server software on your Windows machine. 2) After downloading, install it to the preferred directory, C:/wamp. 3) Download the latest Wordpress package. The file downloaded will be a .zip file. Extract this to the folder C:/wamp/www. All of the files will come in a folder called WordPress. You can either leave the folder as is, or you can cut them from the wordpress folder and paste them directly into the www folder. I left tham in the wordpress folder (helpful if you want to add more sites to the www directory later). 4) Open up the WAMP server by left-clicking the WAMP icon in your Windows icon tray and clicking Start All Services. The icon should go green. Now, click the icon again and select phpMyAdmin. Note: If you see an error page here, you'll need to turn off IIS (Control Panel -> Programs and Features -> Turn Features on or off), since both IIS and apache use port 80 (you can also change WAMP config not to use port 80 but it can get messy). Selecting phpMyAdmin will open an new tab in your browser and there will be a field for creating a database. Put in any name you want name and hit create. 5) Now all you have to do is open a new tab in your browser and localhost/wordpress (if you didn't unzip it to the wordpress folder it will just be localhost/whatever folder you put it in). This will bring up a window that asks you for all of your information. Provide the database name you chose, your database username, which is root, and password, which you can leave blank (you can change these if you want). Now, connect, install, and you are up and running!
Let me know if you have any questions. If you haven't used WordPress before you're bound to run into a few problems.
A couple new changes for me. Things might get crazy.
First, as you can see, this blog now houses google adsense text ads. Your first response - jerk, sellout, shmuck. Right? Relax. This blog is my testing zone for wp junk so don't have a cow if I do something stupid. Just consider it as having done the web a favor- one less rookie mistake for the next time around if I screw something up. I think they look pretty good, actually.
The next new thing is that I am now running Android! Switched from iphone to Motorola Atrix and boy it is sweet. I feel empowered. Take that Jobs. This little guy is now my testing ground for my Cow Tipping app and anything else I get into this summer.
One last thing- posting this from Wordpress for Android. Android fo' lyfe.
Here's a couple quick tricks that'll tell you if your old iPhone is 3G or 3GS.
Navigation Shortcuts
Editing Shortcuts
Window Shortcuts
Code Completion Shortcuts
Other Shortcuts
Do you have to be Mormon to go to byu?
Short answer. No. Long answer. No. You do have to agree to live the honor code.
Is Jimmer? Yes.
Osama Bin Laden was killed in mansion, so the Twitter world rumors spread. Press conf tonight? The rate of information exchange on Twitter is ridiculous. All need to get on there. Now. Obama Address
Pretty cool article on REST APIs. I might come back to this later... http://www.fliquidstudios.com/2009/01/13/introduction-to-writing-a-rest-server-in-php/
My fiancée wants a sugar glider as a pet. She says either we get a chihuahua or a sugar glider... what am I getting myself into?
They are kinda cute though.
Open the Windows start menu and type "msinfo32", then run "msinfo32.exe". This gives access to all system information including 32 or 64 bit, OS information, BIOS version, RAM, processor information and more.
Got this error message after I restarted my system following an install prompt for another program (did not shut down the emulator first): "ERROR: the user data image is used by another emulator. aborting." I fixed it, but had to try a couple different things. Suggestions:
Number 3 worked for me.