Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

Thursday, November 29, 2012

How to backup your drive, online + off

I'm always on the search for good apps that streamline my day-to-day tasks and make things more efficient and convenient. I present to you, Cubby, a service that extends beyond an online storage solution.

I work with a lot of data (and thus, large files) on my laptop, which I bring to work everyday. There are times where I bring the work home, but instead of working on my laptop, I would much rather work on my desktop which not only is fast, but sports 30"of pixel real estate (if you're a programmer, this is really heaven! Highly recommend). While I can backup / transfer files on said laptop to my desktop via a USB drive, I dislike the inconvenience of having to physically plug in a drive in order to do so. The USB ports on my desktop tower are difficult to reach, sitting way underneath the desk, and I only have 2 USB ports on my laptop, one of which is always consumed by my Razer.

So, I was looking for a syncing solution, PC to PC. Dropbox works great if you have small files, usually the online back up storage of choice. Right-clicked my folder... BAM 77 GB. I considered paying for Dropbox, but if I already have 77 GB now, I didn't think the 100 GB solution would last me that long. While I'm willing to pay 100 bux, 200 seems just a little much. Cloud solutions are very convenient, but so pricey!

Bumped into a program called Onesync, which uses Dropbox as an intermediary solution. Hey, not bad, methinks this might be doable. As I read more about it, my hopes were crushed. No cross platform compatibility. Only works on Windows (bah!). I work on a Macbook Pro, whilst my desktop at home is rocking Windows 7. This is not going to work... still sounds like a great program though.

Somehow, someway, I found Cubby. Cross platform, check, sync to computer, check, pricing, free - god damn this is it! I quickly installed it to check it out. I think I might like it better than Dropbox, and here is why.

First, instead of dropping folders into a specific folder (like Dropbox) - you select what folders on your computer you want to be synced. This is nice if you want to keep files organized the way you want. All I did was add my work folder to Cubby and I was good to go.

Second, PC-to-PC syncing, which they call DirectSync. This is exactly what I was looking for, because this allows me to not be encumbered by the cloud space limitations that most services impose. Install the client on the two computers you wish the folder to be synced, and everything happens automatically. Requires that both computers be on at the same time, which makes sense - but really not that big an issue since if you were to transfer / backup files yourself, that is an absolute necessity.

Granted, this is only my second day using it - I guess I shouldn't rave about it so much. If the above applies to you, give it a shot - it's free anyways =oD

--> Read More...

Monday, June 15, 2009

Getting LaTeX on Mac OS X

When space is important, here is a way to get LaTeX on OS X with a small footprint (~50MB).
Credit: MacTeX

1) Download BasicTeX.
This will install a small subset of TeX Live on your system, but the small subset is remarkably capable, with TeX, LaTeX, pdfTeX, AMS-LaTeX, ConTeXt, XeTeX, etc.

2) Download TeXShop.

I also highly recommend LaTeXit, a program that quickly typesets LaTeX equations into PDFs. It does require Ghostscript and a few other dependencies, which is a 1-click install with a dmg file found here.

3) Download TeX Live Utility. Since you're working with a basic distribution, this streamlines installing necessary packages as needed.

That should get you started. Here is a nice page on getting LaTeX on OS X if you refer the full distribution.

--> Read More...

Monday, May 4, 2009

Installing Apache, PHP and MySQL on OS X Leopard for the lazy


Here's a simple tutorial to get a running server and database on OS X Leopard. You'll need to download MySQL and Sequel Pro (a nice alternative to phpMyAdmin).

1. Open terminal to turn on PHP.
> Open server configuration file.
   [sudo pico /etc/apache2/httpd.conf]

> Find #LoadModule php5_module.
   [Ctrl + W, LoadModule php5]

> Uncomment by deleting #.
   [Backspace]

> Save changes.
   [Ctrl + O]


2. Install MySQL and change php.ini file.
> Install all packages in the *.dmg file.
> Copy over the default php.ini to actual file.
   [sudo cp /etc/php.ini.default /etc/php.ini]

> Open php.ini file.
   [sudo pico /etc/php.ini]

> Find mysql.default_socket.
   [Ctrl + W, mysql.default_socket]

> Change value to /tmp/mysql.sock
> Save changes. [Ctrl + O]

3. Install Sequel Pro. This will let you manage your MySQL database with ease. The default values to connect to your database are...host:localhost, user:root, password: [blank].

All right, you're set! Now let's turn on Apache and MySQL.
> Go to System Preferences -> Sharing -> check Web Sharing. (This turns on Apache)
> Go to System Preferences -> MySQL -> click Start MySQL Server button.

The default directory for your server lies in /Library/WebServer/Documents. If you want to change this, you'll need to edit the DocumentRoot variable in your server configuration file.

Just to be thorough, to view your site, just type localhost into your address bar, and voila!

--> Read More...

Saturday, April 25, 2009

Wireless networking - N router technology


You already have a G router (rated at 54MBps), all your computers connect wirelessly to the internet without a problem. You don't really know what the G or 54 means, just that the router works fine. Why the fuss about the new Wireless N routers and the 300MBps transfer rate? I've also heard this question multiple times:
Our internet only connects at 6MBps. Why do I need 54MBps (G), or even 300MBps (N)?
Let's parse through the jargon, why it is important, and pick out some good N router hardware.

What data transfer rate really means

First, let's understand the transfer rate number. Let's take the G router for an example. What 54MBps indicates is that in the best case scenario, you can transfer at 54 Megabits per second. Do not confuse this with Megabytes (MBs), which is what we usually use in gauging the size of a file. There are 8 bits to a byte, so if you're thinking 54MBps means being able to transfer 54MBs in a second, think again -- you need to convert back to MBs.

Now, you get 54MBps transfer rate in a lab setting, but in a practical setting (when you plug in your router at home and have signals go through walls and such), you may only get 20-25MBps. This converts to a data transfer rate of only about 3MB/s. This is the bandwidth that you have. Still not too bad right?

Actually, if you have multiple computers connected, you have to share that bandwidth. So in reality, if you have two computers connected wirelessly, you would get a transfer rate of only 1.5MB/s for each computer. The more computers you have, the lousier your transfer rate becomes. This will start becoming a problem when you want to transfer large files such as videos between computers, hook up multiple systems including gaming systems like the Xbox 360 or PS3, or have a centralized media server that streams video and data to other computers on the network.

Looking for a good wireless N router

You've read the above and feel like wireless N is worth the upgrade for your network. The next logical question would be: which router should you get? Oh the choices! There are a few noteworthy ones I would recommend. The best rated N router is the D-Link DIR-655. It excels hands down in speed and features.

Close behind is its long lost twin, the TrendNet TEW-633GR.It has the same exact hardware with different loaded firmware, and is usually cheaper (a plus!). The DIR-655 is slightly faster, but not by much. If you think about it though, you'll probably use both the D-Link and TrendNet side by side, so the slight difference in speed won't matter much.

Here are some speed comparison reviews that show the difference:Optimizing your network

When you connect to these routers, you can use wireless B/G/N cards. Keep in mind, if you truly want the best speed performance, you'll want to set the N router to use N mode only and connect with N cards. To get the computers with B/G cards on the network, you can link your G router to the N router and have the B/G cards connect to the G router instead. I'll cover this tutorial in another post!


--> Read More...