How to play sudoku online

Posted: 28th January 2012 by Andrew Brown in Tutorials

The first time any of us look at number orientated games, we wonder how on earth we are supposed to play them. Sudoku is one of the most popular games on the web at the moment, because of its simple genius. So how do you play?

In contrast to the card games you find on Party Poker, Sudoku is less about strategy and more a process of elimination. The objective of the game is to fill all of the blank squares with the correct numbers. Each grid has 9 sub-sections filled with 9 squares each. You have to make sure that all of the numbers line up in correlation with those outside of their box.

- Every row of numbers must include the digits 1 to 9. They can be in any order.

- Every column of 9 numbers must have the digits 1 to 9 in them. Again, it can be in any order.

- Every 3, by 3 subsection of 9 squares must have these digits too.

You can’t have two numbers the same in any row. For example the row 1 2 7 4 6 8 3 5 3, is the wrong combination because it is missing the number 9 and repeats the digit 3.

How to work out the pattern:

- Every game of Sudoku will begin with squares already filled in for you. This will allow you to work out the pattern from there. The more squares initially filled out, the easier the puzzle.

- Scan the rows and columns to see where certain numbers might go. A lot of it is a process of elimination, working out which numbers are missing in the first place. Remember to check up the column, across the rows and each sub-section for discrepancies.

It takes a while to get used to, but once you know the formula, you progress easily to to the difficult puzzles. Before you know it you are a pro.

How to Play Pokemon on your Android Phone

Posted: 23rd October 2011 by Andrew Brown in Tutorials
Tags: , , ,

Today I got Pokemon Emerald running on my Samsung Mesmerize running Android 2.2. It wasn’t as straightforward as the market authors would like you to believe, so here’s a quick tutorial on how to get it running, fast.

1. Install GBA Player Lite
This is the free version of GBA Player, and is available in the market.

2. Download a Gameboy Advance BIOS file
For the non-tech-savvy, this file is what controls the Gameboy Advance: the loading screen, booting up games, etc. You’ll find this file by searching Google for gba_bios.bin and downloading from one of the many download sources available. When you’ve downloaded it, you’ll want to put it on your SD card in /roms/gba/ (create folders if they don’t exist). The full path if you mount USB storage will be /sdcard/roms/gba/.

3. Download the GBA games (ROMs) you want to play
These are going to be .gba files that you can easily find by searching Google for things like pokemon emerald rom or pokemon fire red rom and downloading from the many sources available. When the game(s) you want to play are downloaded, you must put them in the same folder as the BIOS file you downloaded earlier: /roms/gba.

4. Run GBA Player Lite
I think the whole process would be a lot easier if the steps were clearly explained in the application, but I don’t think the author’s first language is English. As such, when you load the application, you’ll need to press Yes on the dialog to get to the Download ROMs screen, and then press Back to get to the main screen. When you’re there, press the Menu button and select Find ROMs.

5. Play games!
From here on out, you should be taken directly to a list of your games whenever you load GBA Player Lite. You can select a game and play. While in-game, you can press Back to Save & Exit any game and resume to the exact moment you left off.

Enjoy!

How to invite your friends to Google Plus

Posted: 30th June 2011 by Andrew Brown in Tutorials
Tags: , , ,

When you first sign up to Google+, you can create circles and put all your friends in them. For now, they’re supposed to just be notified of content by email, until the field test is over. However, right now you can use this content-by-email approach to invite entire groups of people all at once! Here’s how:

 

Because you can, and it's awesome
1. Create your circles. There’s no reason to do this any differently than you would normally. Put your family in the Family circle, geeks in a custom Geek circle, and so on.

 

 

And via email!
2. Head to the Stream view. Make a post talking about how awesome Google+ is. It will be emailed out to everyone you’re inviting.

 

 

Streamlined, really!
3. You’re done! People will receive an email with the content of your post as well as a link that will allow them to sign up.

 

And yes, I have invites for my readers. Just ask in the comments! :)

Facebook: How to Undo a Friend Request

Posted: 23rd June 2011 by Andrew Brown in Tutorials
Tags: ,

In the past, Facebook made it difficult to undo friend requests that you’ve sent. You had to navigate your settings to block the person in question, and then unblock them; and that’s what most Google results for “how to undo a friend request” will tell you to do.

However, there’s a much easier way. At the bottom-left of their profile, below their list of friends, there’s now a “Cancel friend request” link that, when clicked, does just that! :)

Cancel friend request

How to Prepare for a Phone Interview

Posted: 3rd February 2011 by Andrew Brown in Tutorials
Tags: ,

After posting Andrew Brown, looking for summer ’11 internship on Quora almost two weeks ago, I’ve been approached by many extremely interesting and knowledgable people from a wide range of companies.

Fortunately for me (living in Missouri—not in California, where most of the companies were located), everyone suggested phone interviews. I’d only ever done in-person interviews before, so I set out to ask friends and the Internet for suggestions. Hours of preparation and a couple handfuls of interviews later, I’ve come up with some generic tips for those of you out there that are preparing for phone interviews just as I did.

So here they are, in no particular order.

  • Smile. You can tell it in someone’s voice when they’re smiling, and it’ll show you’re a nice, friendly person.
  • Gather up anything you might need in the interview beforehand. This includes your resume, paper for jotting down notes, emails you might refer to, any questions you’ve already written, etc.
  • Pace yourself. If you’re nervous and you’re like me, you probably talk fast. Make a conscious decision to slow down, and you’ll have time to collect your thoughts and will bumble around less often.
  • Charge your phone beforehand. This is kind of a no-brainer, but can easily be overlooked. If you can’t charge your phone fully or expect areally long interview, be sure to have a charger on hand so you can plug in while talking if need be.
  • Quiet your environment. Turn off Pandora, tell the people you live with that you’re about to have an important interview, lock your door–whatever needs done. You want your room quiet so you can give your interviewer your full attention.
  • Sleep well beforehand. You want to be well rested and chipper when they call. You’ll perform better, I promise.
  • Re-read any correspondence you’ve had with your interviewer previously. Re-read emails and messages to make sure they didn’t say something you’ve missed. You might be able to refer back to something they said, which impresses most people.
  • Research the company. This is another no-brainer. Read up on the company. Visit their website, join their forums, read their About Us, install their product, look for reviews online, search them on CrunchBase–whatever. The more information you have about them, the better.
  • Come up with questions beforehand. Determine what’s important to you in where you want to work. For me, a big thing is the atmosphere, so asking how many people work there, whether they planned on hiring more soon, how many interns are expected, how often they pump out new updates, etc., all gave me more information.
  • Talk to people. Luckily for me, Quora has allowed me to interact with some exceptionally smart people, whose experience and opinions are invaluable. Reach out to people you know beforehand and tell them, “Hey, I’m doing this interview; how do you think I should prepare?” If nothing else (and even if they know nothing about the company), another brain for storming is a great resource to have.
  • Anticipate questions and practice beforehandFriends come in handy again here, too. Especially if you’re a quieter person, you should have a friend call you up and test your interview skills.
  • Don’t jump on board the first company to make you an offer. Companies want the best intern for themselves; but you want the best company for your internship. At least wait until you’ve heard back from all your interviews before committing to one.

I’m fairly certain today’s interview was my last one, but it’s possible someone else might show up unexpectedly. As of right now, I’m waiting to hear back from everyone before making my decision.

To everyone I subtly name-dropped in this Post, thank you very much for your support. To everyone who has extended an offer or interviewed with me, thank you very much for your interest. To everyone else, thank you for reading!

If anyone has any other tips for interviews, I’d love to hear them (and I’m sure anyone who stumbles upon this in the future would love to hear them) in the comments! :)

Facebook Trick: Invite All of Your Friends at Once

Posted: 1st December 2010 by Andrew Brown in Tutorials
Tags:

It’s a common question on the Internet: how do I suggest an event to all of my friends? How do I suggest a fan page to all of my friends? How do I suggest an application to all of my friends?

It’s easy — just click all their pictures, one by one. Just kidding, it’s easier than that. Watch this.

I (obviously) manage the Being Better Than Everyone Else Facebook page. Now, say I want to suggest the page to all of my friends. I click Suggest to friends and get a display something like this:

Now, here’s the trick. Right click some greyspace and click Open frame in new tab (depending on your browser, this option may be worded slightly different – this is how it is worded in Chrome.)

You’ll get the prompt from above, except on a new page. Now, enter the following line into your browser’s URL bar…
javascript:fs.select_all();

…and press enter!

Bam! Lastly, click Send invitations and you’re done!

Note that Facebook staggers invitations. That is, if you send thousands at once, it’ll send some now, some after a little while, more after another little while, and so on until all of your invitations are sent.

Implicit Memory

Posted: 26th October 2010 by Andrew Brown in Nonfiction, Rambling
Tags:

Prelude

First and foremost: please excuse the rambling nature of this post. If implicit (subconscious) memory is something that tickles your fancy, then I promise you’ll learn something if you sit through it. You’d probably learn something even if the subject matter didn’t tickle your fancy, but I’m just not sure I’d be willing to read through mad ramblings in something I’m not interested in. You know, unless it was written by me.

Outline

  1. Basic information regarding explicit memory
  2. Basic information regarding implicit memory
  3. Methods of testing memory
  4. More in-depth information on implicit memory
  5. Implicit memory illusions and biases

Basic information regarding explicit memory

Explicit memory is the word used to describe a person’s conscious memory. Every memory that you are aware of is an explicit memory; eating dinner last night, showering this morning, your first birthday party, the last day of school—all of it.

The above examples are all episodic memory, which is a form of explicit memory. Additionally, semantic memory fits the bill here: words and facts and the things you’ve consciously learned are also a form of explicit memory.

Basic information regarding implicit memory

Implicit memory is commonly referred to as unconscious memory or indirect memory. It’s automatic memory; you’re not even aware that you know the things you do, a lot of the time. The most common type of implicit memory you have is procedural memory—the knowledge of how to do things. If you know how to swim, that’s procedural memory. If you know how to walk, or to run, or to jump, or to ride a bike, drive a car, draw a circle—the memories in your head that tell you (automatically, in most cases) how to do these things are part of your implicit memory.

Methods of testing memory

Implicit and explicit memory are tested in very different ways.

Explicit memory, due to the inherent nature of having conscious knowledge of the memories you’re storing, is fairly straight-forward to test. The easiest method is simply standard recognition: Have you seen this face before? Have you seen this house before? Have you ever been to this park? The other major method of measuring explicit memory is to have study participants recall the information they’ve stored: What color shirt was the clerk wearing? How old are you? When did you graduate from high school?

Implicit memory, on the other hand, is harder to measure. And for good reason, too—you don’t know what you know. Many different methods are exercised to invoke tangible measurements.

  1. One of which is tachistoscopic recognition, where someone is shown an image for a fraction of a second and tested on what can be remembered.
  2. Priming is another process where people will demonstrate improved performance on tasks where they have been previously prepared for subconsciously.
  3. A third common method for testing implicit memory is with word-stem completion. Assume I’ve been secretly flashing images of breakfast foods for fractions of a second on your screen while you’ve been reading this. You didn’t see it; you don’t even know that I did it until I just told you. But then if I introduce you to a word you need to guess and fill in a few letters at the beginning (C e _ _ _ _, or E _ _ _), you’re going to be more likely to answer with something breakfast-related because it’s fresh on your mind—whether you know it or not.

In both of these types of memory, one fact remains true: the memory’s connection strength can be measured by response time. Things that you’ve recently seen, thought about, or heard come to mind faster than others.

More in-depth information on implicit memory

I’m sure you’ve all experienced the phenomenon known as “Deja vu,” where you have a distinct feeling of familiarity but you don’t know why. The effect stems from your implicit memory. Remember that for a minute while you read on—it’ll all make sense soon enough.

There is so much visual stimuli in the world that your brain couldn’t handle it all if it tried. Instead, your eyes act as a funnel to focus on the most important things. The things that you are consciously focusing on are processed in your working memory (WM) and then stored into long-term memory if needed. Implicit memories, on the other hand, bypass your WM and do not require conscious processing to store or retrieve. In other words, you’re subconsciously processing and storing a lot of what you’re seeing, but not focusing on.

So, when you get deja vu when you see that guy at the supermarket that you know you’ve seen before, it’s very possible that you have seen him before—just that you don’t know you did.

On a somewhat unrelated subject, explicit memory relies on the hippocampus (where WM is processed) for consolidating and encoding memories; implicit memory doesn’t. We know this because of a famous case of a guy named H.M., who suffered from anterograde amnesia, preventing him from forming any new memories. During his course of amnesia, his mother died. Afterwards, he would ask about her daily, and every day would be told about her death, causing him to cry and grieve. He never learned that his mother had passed away, but instead began to associate asking about her with the pain he felt when told she had died. Eventually he stopped asking.

Another example, dealing with amnesia patients, is in procedural memory. Those who cannot create new explicit memories have a slight difficulty learning new skills, such as how to ride a bike or paint, but can learn them. Once learned, these people can easily repeat the performance at a later time as if they knew how to do them already.

Procedural memory is interesting: it starts out as a conscious effort to learn—explicit memory—but eventually becomes automatic: implicit memory. Once it’s switched to implicit memory, you no longer have to think about doing it—you can just do it. This is the case with driving: anyone who has been driving a while doesn’t have to concern themselves with what gear they’re in or when to turn on their blinkers—they can instead focus on driving safely.

Implicit memory illusions and biases

  • Illusion of Fame (Jacoby et al., 1989)

    In an experiment, a group of participants were presented three groups of names:

    1. Famous names
    2. Somewhat famous names (famous people that weren’t that popular)
    3. Made-up names

    Later, they were asked to recall the names and how famous they are.

    The results found that subjects forgot where they had seen the names before, and consistently rated most of the made-up names as famous as others. They’d forgotten the source of the information, and the psychologists concluded that familiarity lasts longer than the source memory.

  • Mere Exposure Effect

    Being exposed to something multiple times makes you like that thing more, even if you aren’t able to recall the memory of seeing that thing later. In other words, if you want to get a job somewhere, pop in once or twice a week for a couple weeks prior and make sure the person in charge of hiring sees you.

  • Illusion of Truth (Begg et al., 1992)

    Repeated messages are more likely to be accepted as true, even if you say it is false as you say the message.

  • Source Confusion (Brown et al., 1977)

    Familiar faces or faces that someone has seen before (been primed with) are more likely to be picked out in a line-up.

  • Stereotype Susceptibility (Shih et al., 1999)

    A large group of Asian women were split up into three salients focusing on different traits. When preparing for the experiment, they were given three different questionaires to gather information about them:

    1. The female salient was asked questions regarding their gender, their habits, and whether they live in co-ed/single-sex dorms. This questionaire got them primed on their “female-ness”.
    2. The Asian salient was asked questions about their culture, the languages they speak, and their family. This questionaire got them priced on their “Asian-ness”.
    3. And then there was the control salient that was asked general questions regarding their name, age, location, and so on.

    And then the participants were given a math test. Group 2 (the Asian-primed salient) performed the best. Group 1 (the female-primed salient) performed the worst. Stereotypes, for the win!

  • Other studies

    • Study of the Elderly (Levy, 1996)
    • Study of African Americans (Steele & Aronson, 1995)

Fighting Plagiarism with Google

Posted: 25th October 2010 by Andrew Brown in Tutorials
Tags: , ,

I posed a question to Quora the other day asking how to ensure that none of my blog posts have been plagiarized.

Antone Johnson, former vice president and head of worldwide legal affairs at eHarmony gave me an interesting solution: use Google Alerts.

For those of you unfamiliar with Google Alerts, it is a service provided by Google for keeping track of new content on the web. Things like watching a particular news story, keeping current on a company, getting the latest on a celebrity, or keeping tabs on your favorite sports teams can all be easily accomplished by having links to new posts on the Internet emailed directly to you.

What Antone suggested, however, is to use the service slightly differently; instead of following a topic, watch for a specific line that appears somewhere in your content. When someone copies your work and it gets indexed by Google (containing that line), you’ll receive an email that consists of the page content and a link to where it can be found.

Now, how to handle plagiarism after the fact is another story..

StarCraft II: How to Cannon Rush

Posted: 9th August 2010 by Andrew Brown in Tutorials
Tags:

Here’s a quick lowdown of the early-game cannon rush:

  1. Build a Probe and make it gather minerals.
  2. Build another Probe as the first finishes.
  3. As the second probe finishes, build a Pylon next to your Nexus and rush out to the enemy base with the Probe. I usually hotkey the Probe 1, and the Nexus 2.
  4. Depending on the size of the map, you can either warp in another Probe while you traverse the map or save the minerals. You should probably build a Probe on the larger maps. If you do, use a Chrono Boost on the Nexus to pump it out faster.
  5. As soon as you have 150 minerals, take a Probe gathering minerals and build a Forge. It should warp in just slightly after you reach the enemy base.
  6. Build a Pylon out of sight. The best locations are below cliffs where the enemy can’t take all their workers to attack it right away, but not all maps accommodate this. You want the Pylon close enough to where the Photon Cannons built with it can attack the enemy Nexus/Command Center/Hatchery, but far enough away to not be seen at first.
  7. When the Pylon finishes building, go in and warp 1-2 Photon Cannons in its field. Micro your Probe around so it stays alive. Warp in another Pylon directly behind them if you chose to warp your initial one on the other side of a cliff (so they can’t go around and kill your Pylon without being attacked).
  8. Repeat step 7. Have your ally clean up the remaining when you’re done with Zerglings, Marines, or whatever they have while you move on to the next enemy.

If you don’t trust your ally (in 2v2+) to protect you in the event of a rush, you can warp in 1-2 Photon Cannons and another Pylon around your Nexus that will fend off most rushes.

If your cannon rush is foiled for whatever reason or you’re against Terran and they fly their buildings elsewhere, don’t follow up with more Photon Cannons. Move on and build a Gateway or two and use Chrono Boost to pump out Zealots until the job is done.

Question: Why is it that celebrities seem to overdose only in hotels, rather than in their or their friends’ houses?

Ivan Pavlov was the first to explain in the late 1800’s that classical conditioning is a powerful tool in human behavior[1]. He showed us that the environment we’re currently in can have a large effect on our actions, but also in parts of our body that we don’t know about.

Pavlov’s experiments with canine salivation[2] led him to discover the beginnings of classical conditioning[3]. The dogs in his experiment began to make associations between the sound of footsteps (a scientist bringing powdered food) and food. Soon, dogs would salivate (preemptively prepare their mouth for food) at the mere sound of footsteps. Later experiments paired the sound of a bell with food and had the same result[2]. In humans, we see this every day—for example, smelling food and beginning to salivate. The smell of food tells our body there is food nearby, and usually when there’s food nearby, we are about to eat it. And when the body knows we’re about to eat food, it prepares itself in various ways, including the increased production of saliva (which is used to break down food).

Several studies[4][5][6] have been done on this classical conditioning effect and how it relates to drug tolerance, and studies show that the body learns to prepare itself for more than just food. If a person repeatedly sneaks out to an abandoned building to do drugs, for example, the body soon begins to make an association between the abandoned building and the act of doing drugs there. Once that association is built, the body begins to try to predict what is going to happen when it comes into contact with the abandoned building. From experience, the body has associated environmental cues from this particular building with the use of drugs. And so when the body comes into contact with that building (you step through the front door, or maybe even just thinking about going), your body starts to physically brace itself against the harmful effects of drugs[5].

One study injected rats with heroin several times and looked at the results: “Of the rats that had never been previously injected with heroin, there was a 96% mortality rate. There was a 64% mortality rate with rats that were administered heroin in an alternative room to where they had previously been injected with the drug. Of the group of rats that received heroin injections in the same environment, there was only a 30% mortality rate.”[5]

The preconditioning prepares your body for the same attack on its system that it received the last time you were in this particular place doing this particular activity, and therefore you begin to build up a tolerance based entirely on the environment and preconditioning. With repeated offenses, the association will grow stronger and your preparation and tolerance levels will rise[7].

This preconditioning is designed to keep you safe. The body attempts to predict what is about to happen so it can best protect you against it. However, it also presents a huge danger.

A person (or, as the question asks, celebrity) may be used to doing drugs in a certain place—their home, their friend’s home, or somewhere else private—and “know” their tolerance level. They know how much of a drug they usually take.

However, when that same person finds a new location (either with new friends or, in the case of celebrities, traveling) this environmental-cued preconditioning no longer exists[8]. A person might check into a hotel (a private place, just like at home, but without giving the brain its environmental cues to prepare the body) and take the same amount of drugs they “normally” take. The body hasn’t prepared itself, and although the body might have built up a slight non-environmentally-based tolerance over time, there is still a significant difference in the tolerance level posed in a new place[8].

A new environment catches the body off-guard where it hasn’t steeled itself for heavy drug use. This unfortunate phenomenon is one explanation used to explain why celebrities seem to overdose only in hotels, rather than in their or their friends’ houses.

[1] http://nobelprize.org/educational/medicine/pavlov/readmore.html
[2] http://www.learning-theories.com/classical-conditioning-pavlov.html
[3] http://en.wikipedia.org/wiki/Classical_conditioning
[4] http://en.wikipedia.org/wiki/Little_Albert_experiment
[5] http://serendip.brynmawr.edu/bb/neuro/neuro03/web1/crichards.html
[6] http://home.cc.umanitoba.ca/~mdlee/Teaching/siegel.html
[7] http://www.psywww.com/intropsych/ch05_conditioning/conditioning_and_drug…
[8] http://www.druglibrary.org/schaffer/heroin/heroin2.htm