A blogspot journal showcasing computer programming, personal development, and other hobbies. Featuring Raspberry Pi, Petit Computer, and miscellaneous How-To.
Showing posts with label how to. Show all posts
Showing posts with label how to. Show all posts
Thursday, March 13, 2014
Book Review #27
Home Buying for Dummies
Eric Tyson and Ray Brown
This book puts a clear vision for first time home buyer. Starting with, "which one is more expensive, rent or buy?" the authors give clear examples of advantages of renting vs. buying. Both views are fairly presented so that you can make a good decision. Of course, the book then proceeds on the assumption that you're buying your house.
A workbook is provided to tell you exactly what you can afford. Followed by mortages, insurance, and other headaches. In chapter 9, the book advises hiring an agent, even if you find the home yourself. Luckily for me, I did find a good agent. And so, I can recommend that you do so, as well. You still need to do your homework, and find out what the price range, neighborhood, and type of home you're looking for.
The last part of the book deals with forms. I can tell you that going through the process, there's quite a bit more paperwork than that. In the end, my agent got me a special loan processor, who is worth her fee, because the amount of work is equivalent to building up a big, thick, dictionary. I lost count of the number of signatures I had to sign.
If you ever wonder whether or not you should stop renting and buy a house for yourself, reading this book will get you ahead in your decision. Recommended.
Thursday, March 6, 2014
Book Review #26
Sushi with Style
Ellen Brown
I think I have too many sushi book when I start buying them even though they're written by non-Japanese. Then again, the as long as the information presented is good, that's good enough for me. I think there must be something alluring for what is essentially a piece of raw meat stacked on top of rice.
The simpleton in me rebelled at the list of ingredients. Rice, vinegar, soy sauce, hot sauce, and maybe pickled ginger, is what I use for my sushi. Actually, soy sauce and hot sauce are optional, since I just use Sriracha. Of course, mine is not "authentic" Japanese sushi. No sushi that does not use authentic Japanese ingredients can be called authentic. Still, that just means that sushi recipes are pretty easy to do. It's hard to make a mistake when there's only a few ingredients, most of them uncooked.
I got the book in a kit, with bamboo mat and chopstick. Since I mostly make scattered sushi (in a bowl), as opposed to rolled sushi, the bamboo mat is mostly unused. Still, the recipe here are well done. Even if the illustrations are sometimes lacking, there's enough recipes there to try, and experiment. Some of the recipes employ easily found ingredients, and that's a plus.
If you ever wanted to know about sushi, but don't know where to start. This book and a sushi kit should get you going just fine.
Thursday, February 27, 2014
Book Review #25
Damn! Why Didn't I write that?
Marc McCutcheon
This is mostly an inspirational books. There are tips and tricks along the way, but mostly it's the case of "this is how I did it, and how you can do it, too."
That, in itself, is not bad, depending on the execution. How is the execution? Very good, apparently. There's enough outlines in there to list the steps necessary for writing, researching, editing, dealing with publisher and so on. There's not a single checklist, or forms to the steps, but all the steps are there. I suggest that you take a piece of paper and write down the steps to publication yourself. Then hang that paper on the wall, where you can look at it, and do it.
The author does not hold back any secret, save for actual writing samples. However, he does reference enough published books, that you can go to the bookstore and read them for yourself. And the amazing thing is, most of the writings are rather normal. Certainly, there's nothing wrong with them. But there's nothing so brilliant about them either. Mostly, they flow. Like a good presenter would. Nothing earth-shattering. Just gentle words that flow.
And that is why I think I can do it, and so can you. If you are able to explain something clearly, and effortlessly, then you just may have a career as a writer. This book certainly inspired me to try. Highly recommended.
Sunday, August 4, 2013
Petit Computer Journal #1
Petit Computer Journal#1
What is Petit Computer?
If you have been following Nintendo DSi development, then you'd know that SmileBoom has developed a downloadable computer program called Petit Computer. This is a development environment to create your own games on Nintendo DSi using BASIC. The idea is that you will write your own programs, and instead of buying other people software, you just write your own program. It's that easy! No more useless junk!
Why would you want to do that? In the beginning of computer history, there was simply no computer program available. You can either hire expensive professionals, or write your own program. Most people who grew up with early Personal Computer would write their own program. There are old magazines that tells people how to program their computer.
Later in the development of personal computer, softwares have become very complicated. Programming a computer is no longer within the realm of hobbyist computer. I still remember the disbelief that a C development system is 4 Gigabytes. Just how complicated can writing a computer program be? Very, very complicated!
And yet, most people do not need complicated programs. It does not take a rocket scientist to write a simple Blackjack program. Or create a maze. Or word search program. I did Sudoku program in one afternoon.
You don't need ridiculous amount of education in other to write useful program. You don't even need to write one. You can simply read what other people have done, and run their program on your Nintendo DS.
In short, Petit Computer is what Nintendo DSi homebrew, had it officially be done by Nintendo. Notice I said Nintendo DSi. That's because even though it's billed to be compatible with Nintendo 3DS, it doesn't take advantage of that platform. You can of course use Nintendo 3DS to run the program, but it's not necessary. If you don't have the device yet, I suggest the XL version. You won't have to squint at the small screen, and you can actually tap the keys with your fingernails, instead of stylus.
What's the difference between this and other BASIC?
SmileBasic, the BASIC language of Petit Computer, is very different from other BASIC languages. Most people are probably familiar with MS QBasic. Well, the difference between the two is that if you put this command "A=10:A=A/10:PRINT A" into Petit Computer, you'd get a "1". With QBasic, you'd get a "10".
Haha, joking aside, there is quite a big difference with the other BASIC. For one thing, this version of BASIC is very primitive when it comes to program structures. There is only FOR-NEXT loop. There is no such thing as WHILE-WEND, REPEAT-UNTIL, SWITCH-CASE. Rumor has it, you can't even GOTO out of the FOR-NEXT loop because you will corrupt the stack. That is strange. I will need to check for that. I think what happens is that the stack will run out because you cannot nest loops too deep.
Another difference is that SmileBasic is heavily tied into the Nintendo DSi hardware. This means sprites, background pictures, music synthesizers. Very powerful capabilities that is available for your use. You can easily make a Mario level game. Really.
The flip side to it is that if you aspire to make "modern" program such as the ones made by Visual Basic, then you are out of luck. This style of BASIC is old-style. Looking at the keywords of the language, I can't help to think that maybe this version isn't too friendly for beginners. Too much closely resembling Assembly Language/Machine Language. And you know what they say about Machine Language. If you cannot think in terms of Hexadecimal, then you may as well give up.
How hard is it to program a computer?
Paraphrasing an old joke:
Typing the program: $10.
Knowing what to type: $9990.
Computer programming is one of the easiest, if not the easiest job around. The qualification of that is IF YOU KNOW WHAT YOU'RE DOING. Do people know what they're doing? Surprisingly enough, no.
That's actually normal. Unless you're doing routine database programming, you probably will have to dissect the problem enough to come up with a solution. The problem you're solving is unique because if it's a common problem, then other people would have solved it already. Therefore, your problem solving skill must be top-notch.
The good news is, as a beginner, you don't have to be an expert solver. You're just starting out! By definition, other people have trodden the path before you, and you are going through familiar territory. If you get stuck anywhere, a simple question to the appropriate forum will suffice to get you going. There are plenty of tutorials on the Net. I plan to make some myself.
Do you need to be good at Math? No, you don't. I know I'm bucking the convention here, but we're talking about hobbyist computer programming. If you can balance your checkbook, then you can write computer program. If you know how to use spreadsheet program. You definitely have all the skills required. Higher level math is only necessary if you aspire to be a software ENGINEER. For hobbyist level, the most important skill needed is "Show and Tell". Really.
Should I really do this?
Why would you spend your time writing computer program on a very primitive system when you can have the world given to you by the latest and greatest in computer programming technology? How about Python? Ruby? Aren't they so great? Yes, they are, if you want to be productive.
If, however, you want to have fun and make games on Nintendo DSi, then this is the system to use! Not despite it being primitive, but because of it. Remember that old style 8 bit Apple, Atari, Commodore computer are rather primitive, and those computers were very useful. It doesn't take much to write useful programs.
I regularly write programs in Small Basic because it's fun. I will write programs in Smile Basic because it's fun. Remember: computer programming is easy, IF you know what you're doing. So the trick is, to first learn what you need to know in order to write the program, then write the program. By then, it'd be easy.
This is especially true with drag and drop programming. Let's take, for example, Macromedia Director. It's a very powerful platform, to be sure. But do you really learn how to program? Or do you learn to do use the package? Take away Director, and given Basic, can you replicate what you did with Director? Doubt it. Take away Basic, can you replicate what you did with Director? In my case, it took only 2 days, including learning the Director!
I hope I have convinced you to do this. If not, well, there's always Small Basic. :)
What is Petit Computer?
If you have been following Nintendo DSi development, then you'd know that SmileBoom has developed a downloadable computer program called Petit Computer. This is a development environment to create your own games on Nintendo DSi using BASIC. The idea is that you will write your own programs, and instead of buying other people software, you just write your own program. It's that easy! No more useless junk!
Why would you want to do that? In the beginning of computer history, there was simply no computer program available. You can either hire expensive professionals, or write your own program. Most people who grew up with early Personal Computer would write their own program. There are old magazines that tells people how to program their computer.
Later in the development of personal computer, softwares have become very complicated. Programming a computer is no longer within the realm of hobbyist computer. I still remember the disbelief that a C development system is 4 Gigabytes. Just how complicated can writing a computer program be? Very, very complicated!
And yet, most people do not need complicated programs. It does not take a rocket scientist to write a simple Blackjack program. Or create a maze. Or word search program. I did Sudoku program in one afternoon.
You don't need ridiculous amount of education in other to write useful program. You don't even need to write one. You can simply read what other people have done, and run their program on your Nintendo DS.
In short, Petit Computer is what Nintendo DSi homebrew, had it officially be done by Nintendo. Notice I said Nintendo DSi. That's because even though it's billed to be compatible with Nintendo 3DS, it doesn't take advantage of that platform. You can of course use Nintendo 3DS to run the program, but it's not necessary. If you don't have the device yet, I suggest the XL version. You won't have to squint at the small screen, and you can actually tap the keys with your fingernails, instead of stylus.
What's the difference between this and other BASIC?
SmileBasic, the BASIC language of Petit Computer, is very different from other BASIC languages. Most people are probably familiar with MS QBasic. Well, the difference between the two is that if you put this command "A=10:A=A/10:PRINT A" into Petit Computer, you'd get a "1". With QBasic, you'd get a "10".
Haha, joking aside, there is quite a big difference with the other BASIC. For one thing, this version of BASIC is very primitive when it comes to program structures. There is only FOR-NEXT loop. There is no such thing as WHILE-WEND, REPEAT-UNTIL, SWITCH-CASE. Rumor has it, you can't even GOTO out of the FOR-NEXT loop because you will corrupt the stack. That is strange. I will need to check for that. I think what happens is that the stack will run out because you cannot nest loops too deep.
Another difference is that SmileBasic is heavily tied into the Nintendo DSi hardware. This means sprites, background pictures, music synthesizers. Very powerful capabilities that is available for your use. You can easily make a Mario level game. Really.
The flip side to it is that if you aspire to make "modern" program such as the ones made by Visual Basic, then you are out of luck. This style of BASIC is old-style. Looking at the keywords of the language, I can't help to think that maybe this version isn't too friendly for beginners. Too much closely resembling Assembly Language/Machine Language. And you know what they say about Machine Language. If you cannot think in terms of Hexadecimal, then you may as well give up.
How hard is it to program a computer?
Paraphrasing an old joke:
Typing the program: $10.
Knowing what to type: $9990.
Computer programming is one of the easiest, if not the easiest job around. The qualification of that is IF YOU KNOW WHAT YOU'RE DOING. Do people know what they're doing? Surprisingly enough, no.
That's actually normal. Unless you're doing routine database programming, you probably will have to dissect the problem enough to come up with a solution. The problem you're solving is unique because if it's a common problem, then other people would have solved it already. Therefore, your problem solving skill must be top-notch.
The good news is, as a beginner, you don't have to be an expert solver. You're just starting out! By definition, other people have trodden the path before you, and you are going through familiar territory. If you get stuck anywhere, a simple question to the appropriate forum will suffice to get you going. There are plenty of tutorials on the Net. I plan to make some myself.
Do you need to be good at Math? No, you don't. I know I'm bucking the convention here, but we're talking about hobbyist computer programming. If you can balance your checkbook, then you can write computer program. If you know how to use spreadsheet program. You definitely have all the skills required. Higher level math is only necessary if you aspire to be a software ENGINEER. For hobbyist level, the most important skill needed is "Show and Tell". Really.
Should I really do this?
Why would you spend your time writing computer program on a very primitive system when you can have the world given to you by the latest and greatest in computer programming technology? How about Python? Ruby? Aren't they so great? Yes, they are, if you want to be productive.
If, however, you want to have fun and make games on Nintendo DSi, then this is the system to use! Not despite it being primitive, but because of it. Remember that old style 8 bit Apple, Atari, Commodore computer are rather primitive, and those computers were very useful. It doesn't take much to write useful programs.
I regularly write programs in Small Basic because it's fun. I will write programs in Smile Basic because it's fun. Remember: computer programming is easy, IF you know what you're doing. So the trick is, to first learn what you need to know in order to write the program, then write the program. By then, it'd be easy.
This is especially true with drag and drop programming. Let's take, for example, Macromedia Director. It's a very powerful platform, to be sure. But do you really learn how to program? Or do you learn to do use the package? Take away Director, and given Basic, can you replicate what you did with Director? Doubt it. Take away Basic, can you replicate what you did with Director? In my case, it took only 2 days, including learning the Director!
I hope I have convinced you to do this. If not, well, there's always Small Basic. :)
Subscribe to:
Posts (Atom)