Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts

2014-06-27

Level Up - Dev: Codestyle Quote

    "Any fool can write code that a computer can understand.
    Good programmers write code that humans can understand."
    
      --- Martin Fowler, Refactoring: Improving the Design of Existing Code

~ Danial Goodwin ~



2014-01-29

Level Up - Android: How To Connected a Full-Sized Keyboard to Android Device?

In this post, I will walk you through connecting a computer keyboard to an Android phone or tablet, via WiFi (or USB cable).

Estimated time of completion: About five to ten minutes the first time, and less than minute after your first run through.

Why is this useful?
There are many great apps on smartphones, but some people find it much more comfortable to use a full-sized keyboard for typing, especially for long periods of time. After going through this post, you will be able to use your computer keyboard like an advanced user:
1. For text messages (SMS), WhatsApp, and any other app with an input field.
2. You will be able to copy&paste text.
3. Speeddial. You can set the function keys on keyboard to open any app on the phone.
and more..


You will need:
- A Telnet program, like PuTTY
- A app on your device, called "Remote Keyboard" created by Onyxbits.
- A WiFi connection


Step 1: Download app to your Android device
1.1. Link: https://play.google.com/store/apps/details?id=de.onyxbits.remotekeyboard
1.2. When you open the app, it should look something like the following. Note the host address on there, it will be different for you.
1.3. Click the "Select Keyboard" button on the Action Bar, at the top of the screen and choose "Remote Keyboard"
Remote Keyboard, Android app


Step 2: Download PuTTY to your computer
2.1. Link: http://www.putty.org/
2.2. When you open PuTTY, change your configurations in three different places: Host, Port, and Connection type. You will get the port number and host address from the Remote Keyboard app. The connection type should be set to Telnet.
2.3. Click Open.
How to set up a Telnet connection


Step 3: Connect to device via Telnet on the computer
3.1. You should now see a window that looks like the following. And, you when you type into this window, key presses will go straight to your device rather than showing up on this window. Just click on any input field on Android to have the key presses sent there.

A Telnet connection to an Android smartphone.


Notes:
- For step 3, if you only see a blank screen, then wait a little longer for the connection. Then, possibly try sending a few keystrokes into the window and the Enter key.
- Windows does have a Telnet client, but I didn't get it to work. Using PuTTY was much simpler.
- Telnet connections are not secure. Each input is sent unencrypted.
- To connect more securely over USB, here are some instructions.

~ Danial Goodwin ~



2014-01-02

A Million Monkeys vs Government

If a million monkeys on a million keyboards+computers could eventually type out all of Shakespeare's works, then it they could probably type out all of government's secrets also.

What are they going to do about that?

~ Danial Goodwin ~



2013-11-09

Danial Versus Games

Whenever I get the sudden thought to play a game, I think how much more satisfying it will be to just create a game instead. Or at least create another app.

--
Random story that I remember:

I first got into computer programming in high school by editing the source code of a popular MMORPG (Runescape) in order to make it better. The language was Java, but at that time I just knew it as code. And, with no prior coding experience I could understand and walk through much of source code without looking up what different words meant. I just thought that was cool, it felt great how everything just clicked together. But, it actually wasn't until a few years later as a sophomore in college that I actually decided to get into computer engineering and take my first real logic and programming class (basically, the school said I choose a specific degree to work towards. I just wanted to learn everything).
--

Coding has the elements that playing games offer:

  • There are highs and lows
  • There are easy parts and hard parts
  • You can save and resume at any time. Or even start over

And coding has even more great elements only available in some games:

  • Levels are always evolving
  • They can be single player/coder or multiplayer/coder
  • As you work on more parts, you "level up"
  • Instead of spending money, you make money ;)


~ Simply Advanced ~

ps - I like how originally this was just going to be a 1-2 sentence post.. ;]



2013-09-27

Share: What is so great about Computer Science?

"I don't know of any other discipline that makes you feel so much like a wizard. Even engineering doesn't really feel that way, because you actually have to do real work fitting things together and what not.

In contrast, when you program something, you're basically just muttering incantations and casting spells. Do it right, and incredible stuff just springs to life.

And the stuff you're manipulating is almost dreamlike. Take a simple bug fix, for example. The concept doesn't quite exist in other forms of engineering, because if you're building something physical, even a small design flaw is difficult to fix. You have to take it apart, whack stuff into position, and usually you just wind up realizing that it would be easier to rebuild everything from scratch.

Whereas for a computer scientist, that's normal. Change a few things here and there, and bam - your updated program bursts into existence. You can do this because manufacturing software is easy (compile and run, or some equivalent) - almost all the work and difficulty is in thinking of it and designing it. It's basically an abstract mental construct.

Also, if you're a lazy bum like me, you'll fit right in. All computer scientists worth their salt have a massive hatred of tedium. That's why we always want to automate and generalize everything! Repetitive boring work is for machines.

Case in point: I recently had to enter a bunch of data on a website. There was no nice bulk upload facility, so I was reduced to painstakingly copying and pasting stuff from my file into their forms. After doing this for about a minute, I came to my senses and remembered that I wasn't a Muggle.
 
Less than an hour later, I had a program that just mimicked all my copy/paste actions hundreds of times faster than me. Hours of tedious error-prone work turned into a few minutes. As a bonus, it impressed the hell out of people who passed by and saw me reading a book while a bunch of text fields magically filled themselves on the screen. (I may have put in a slight time delay just for fun...)

Like I said, CS makes you a wizard."

Source: Quora's Nadeem Mohsin


2013-02-17

Stereotypical Social Computer Programmer

It is typically portrayed that computer programmers are always at their computer writing code and are less social than average.

But, I'm going to present another perspective. Perhaps computer programmers are the most social in regards that they write many programs for others and society. In order to be a great programmer, one must know how the market thinks.

~ Simply Advanced ~



2013-01-28

Lease Renewal

Feels like I'm signing my life away to the apartment I'm staying at. One year is a very long time to have a housing lease, especially since I'm graduating in with my Computer Engineering Bachelors in May. There have been multiple job offers, but I'm still thinking of starting my own mobile app development business  Simply Advanced, LLC, which I have already purchased. So, I guess a little structure in my life as I work on the business 120 hours a week might be a little good.

~ Simply Advanced ~



Food is Memory

Computer literate people will know that there are many different levels of computer memory -- more than just RAM and hard drives. As I was preparing my after-dinner snack (delicious Churros cereal), I thought that the food that I eat and have in my apartment is highly analogous to memory in a computer. I will succinctly explain the analogy from fastest to slowest memory.

Registers - Chewed food, ready for consumption
L1 Cache - Food in mouth
L2 Cache - Food in spoon
GPU - Food in bowl (Either eaten one spoonful at a time or gulping it down(parallel processing))
RAM - Food in box
Flash - Food in my room
Solid-state drive (SSD) - Food in the pantry
Hard drive - Food at the grocery store
Tape - Wherever food is before the stores
Cloud - Food that is still on the farm


~ Simply Advanced ~



2013-01-24

Electronics-Free Zone

I just read an interesting article on Lifehacker about having an electronics-free zone in a home. Even though I am one for having technology and electronics everywhere, I really like the idea of having absolutely no electronic devices or outlets in at least one room at home.

http://lifehacker.com/5977939

And to expand on the idea, perhaps this mentality can added to restaurants, airplanes, workplaces, and Tuesdays 11-2pm. Just throwing ideas out there. That way people have clear their minds by not having to worry about a phone going off or having an email to answer. By clearing your mind, you could potentially achieve a higher level of thinking and creativity.


~ Simply Advanced ~



2013-01-23

App to Clipboard Multiple Items

I may have mentioned this before, but just now I thought of a good way to do this on a desktop computer. If there is anybody else who would like to save multiple items to their clipboard, then please email me or contact me via Google Plus.

I believe this can help me while programming, and I'm sure there are other uses for it too.

The first version would just have the ability to copy different text to multiple clipboards, then future versions would have the ability to save anything.

~ Simply Advanced ~