Showing posts with label make. Show all posts
Showing posts with label make. Show all posts

2014-02-20

Experience Publishing to Different App Platforms

Q: How do you gain experience in publishing apps to a certain platform?
A: You create 100 apps and publish them.

Q: How do you lose experience in publishing apps to a certain platform?
A: You create 100 apps and publish them. (Details below)

I don't think anybody actually asks the second question (but I just did!). Anyways, after the first few publishes, programmers/hackers get tired of the same routines. Our jobs are basically to automate things and makes things easier!

So, that's what I did and am doing. I'm starting to automate the entire process of publishing an app. There is this great tool that is a high-level scripting language called AutoHotkey. With it, I can easily open any program programatically, and send any keyboard and mouse commands that I want to the program. Basically, a macro builder for the entire end-user operating system.

About half of the process is automated now. I'm about halfway to my personal goal of 100 apps. My goal would be to make the entire process from app file to publish a one-click process. I know it's possible, and it'll be fun to build.

Once the process is all automated, I can be free to forget the process and start thinking of other abstractions to make.

;)
~ Danial Goodwin ~



2014-02-02

Level Up - Windows 8: How to Create a Batch File

Batch (*.bat) files are useful because they allow you to save and reuse commands for the command prompt (or CLI, command-line interface). Also, it is easier to send multiple commands at once, fix typos, and edit the commands.

Batch files are available for Windows 7, 8, and 8.1. Any command that you can put in the CLI, you should be able to put into the BAT file.


Method 1:
- Right-click on your desktop (or in File Explorer), and select New->Text Document. Now, rename the file to something ending with .bat.


Method 2:
- Open Notepad, then when you save the file, make sure to end it with ".bat".

Saving a Batch file requires a .bat ending.
Test the Batch file:
Now that you have the BAT file, you can easily test that it works by putting in the following code, then double-click to run the file.
echo Hello, World!


Here's some more things you can try out: Windows Command Prompt Cheat Sheet


Note: If method 1 didn't work for you, then try method 2.

~ Danial Goodwin ~



2013-02-19

An Easier Way to Cook Rice

You may be thinking, rice is already easy enough to cook... just put in some rice and water and press the big button.

Don't be limited by your present notions of ease.

Don't be deceived by your preconceived notions of simplicity.

What if we didn't have to put in the water? What if we didn't have to put in the rice?

That sounds like a good future for me. And I'm sure a significantly advanced rice cooker could put whatever additional ingredients you wanted in there AND stir it!

Here's one way that this idea would work:
 - A separate silo for both the rice and water (either bag or hose to the main line).
 - An input for rice to water ratio, number of servings to make, and at what time to make it.
 - And, of course, have the ability for a smartphone app to control the device.

This reminds me.. automated pizza makers already exist.. and here's how this pizza vending machine is made.

More ideas that I didn't think too much about:
 - Ability to easily tilt rice container to make scraping out all of the grains to a plate easier.
 - Building it into a counter or wall.

~ Simply Advanced ~