How to check your computer for the DNS Changer Malware

Posted on 2012.07.06 by nat

Come Monday July 9th, computers infected with the DNS Changer Malware will lose internet connectivity. Several of our clients have expressed concern, and have asked how to ensure that their computer has not been affected.

Firstly, the malware will only affect Windows users, so if this is not you you need not worry. For those of us with a Windows machine, the FBI has set up a page on their website to check your computer. This page can be found at https://forms.fbi.gov/check-to-see-if-your-computer-is-using-rogue-DNS. This page provides you with a place to put your DNS information, and if you are unsure how to locate this, there is also a link to a PDF file which explains how.

If it turns out that you have been affected, you should call your Internet provider to solicit their help in changing your DNS. Also, you will want to change passwords for all applications and websites, as they may have been compromised.

If you want to check your DNS now visit http://www.dns-ok.us/ – If you still have questions, visit our Contact Page and one of our specialists will contact you soon.

MAMP is Slow with Snow Leopard / Lion

Posted on 2011.12.12 by Tom

I use MAMP Pro for local development and after upgrading to Snow Leopard it seemed to slow down when it came to the initial connection to my testing domains. When I upgraded to Lion I also upgraded MAMP Pro and the problem became even worse. So much that it could take upwards of 5-7 second for a fresh WordPress install to load in the browser. After some searching around I found a dead forum post at http://forum.mamp.info/viewtopic.php?f=6&t=14081 where someone suggests using anything but .local for your domain names. Sure enough after firing up MAMP Pro and changing one of my test domains over to .devel from .local everything worked perfectly and MAMP Pro is back to being fast locally like it used to be.

The forum post offers some explanation that since Apple uses .local for Bonjour that due to something new in Lion it has started to cause real issue.

Mining of Massive Datasets

Posted on 2011.09.19 by Jose Ibarra

via Stanford University InfoLab

This book is placed on the Web for free use of all who wish it. We do, however, retain copyright on the work, and we expect that you will acknowledge our authorship if you republish parts or all of it. We are sorry to have to mention this point, but we have evidence that other items we have published on the Web have been appropriated and republished under other names. It is easy to detect such misuse, by the way, as you will learn in Chapter 3.

Download the book Stanford Data Mining – Data Sets

Download chapters of the book:

Preface and Table of Contents
Chapter 1 Data Mining
Chapter 2 Large-Scale File Systems and Map-Reduce
Chapter 3 Finding Similar Items
Chapter 4 Mining Data Streams
Chapter 5 Link Analysis
Chapter 6 Frequent Itemsets
Chapter 7 Clustering
Chapter 8 Advertising on the Web
Chapter 9 Recommendation Systems
Index

Gradiance Support

If you are an instructor interested in using the Gradiance Automated Homework System with this book, start by creating an account for yourself at www.gradiance.com/services. Then, email your chosen login and the request to become an instructor for the MMDS book to support@gradiance.com You will then be able to create a class using these materials. Manuals explaining the use of the system are at www.gradiance.com/info.html.

Students who want to use the Gradiance system for self-study can register at www.gradiance.com/services. Then, use the class token 1EDD8A1D to join the “omnibus class” for the MMDS book. See The Student Guide for more information.

Other Stuff

  • Slides and Course Material from old CS345A. Like the book, you are welcome to use these as you like, but please preserve our authorship.
  • The Errata Sheet. We shall endeavor to keep the downloads up to date. But if you bought or printed out a copy, you can check this list for known errors with the date of discovery. Please report errata to ullman a t gmail.com.

Original Post Stanford University InfoLab

Inserting Multiple Rows in Google Docs – Spreadsheet

Posted on 2011.09.15 by Jose Ibarra

Google recently upgraded their docs interface and they made big improvements within Google Docs.  I have always been comfortable with their word processor, but recently I decided to take the plunge and begin using their spreadsheet doc.

Things seemed to be a bit streamlined and I was okay with the clean, simple interface.  My biggest challenge was inserting multiple rows.

Clicking on every menu, right-clicking on single rows,  or trying the traditional ctrl + did not do the trick.  It is a little cumbersome, but here is how I got around this annoyance:

This what Google gives you by default:

insert single row above or below

After all my cutting and pasting, I decided to highlight multiple rows, this did not work. What you need to do is highlight the row numbers (headers?) and not the actual rows.  Once they are highlighted, right-click on the row numbers column and you will see the menu change, like so:

multiple row inserts google docs

Although this is a bit clunky, it did resolved my issue of adding one row at a time.  I really hope Google brings shortcut support to this little, yet important task.

Recursive Permissions in Lion – Chown (enable root required)

Posted on 2011.08.28 by Jose Ibarra

Disclaimer: I am not responsible for any damage you may cause to your system.  Make sure you understand how to copy your files before locking your self out of an account or inadvertently deleting a profile that you need

I had a situation where I had to move a home directory (in-tact) from one user to another.  Permissions became very inconsistent since the previous user never fully migrated his profile from his predecessor.  To clean up the mess I did the following (works on Snow Leopard/Lion):

Enabled Root User
Go to your System Preferences and under system click on Accounts

Then click on Login Options, and to the right you will see Network Account Server, click Join.

A window will pop-up, continue by clicking on Open Directory Utility …

This will open the Directory Utility, make sure the small lock on the bottom left is in the Unlocked position, if not, click on it and enter your admin password. Once it is unlocked, go to the top menu, click Edit > Enable Root User

Once you Enable Root User, you will be prompted to enter a password for the Root.

Backup up both profiles
Now that Root is enabled, log in under a separate Admin account – Make sure you are not logged in as one of the users you are moving.

Add the new user to your system. (System Preferences > Accounts > +)

Once you have added the new user to your system, open up Terminal and become root by typing “su – root” without the quotes.
Once you are done, make a copy of both the new user and the old user profile directory e.g. /Users/NewUser/ and /Users/OldUser. Compare the newly created backups with the old directories to make sure the structure is the same.

Move the profile to the new user
Now that you have compared the directories, you are ready to move everything over to the new user. Remove the original (not the newly created backup) /Users/NewUser.

Now move the old user to the new user e.g. mv /Users/OldUser /Users/NewUser

Recursively change permissions
I had a minor issue with syntax, but after a little trial and error I did the following:

From /Users/ I typed chown -R NewUser *

This changes the permissions(ownership) from OldUser to NewUser.

Log in and Test your new permissions
Log out of the current profile and log in under NewUser and test the permission by opening up any documents or desktop elements.

Good Luck