Hi, I'm kind of new so I don't know much but I was wondering what PIC's are compatible with the arduino uno. Also if anyone knows any good smaller PICs that can hold up to around 5000 bytes of code for the smallest size chip, I want to save some codes on chips to make permanent projects.
do you think I can program this chip through the uno board?
ON the board, yes. But you can use your Arduino Uno as an "in-circuit serial programmer" to program almost any AVR processor including some 8 pin ones.
I'm guessing from your question that you don't know what an "AVR processor" is.
The Arduino is based on Atmel AVR 8 bit processors. As far as I know, there is very very little Arduino support for Microchip PIC processors. The bad news is that you will have a difficult time using Arduino software or hardware with a PIC processor.
The good news is that whatever you are trying to accomplish with a PIC processor you will very likely be able to do with an AVR processor.
In other words, I suggest that you focus less on the processor vendor (Microchip versus Atmel) and more on what you want to accomplish (and resign yourself to using Atmel :D).
There is an Arduino like board called Pinguino which uses Microchip Pic (18f2550, 18f4550 and recently a PIC32). Here is the link for you to take a look at it http://jpmandon.blogspot.com/
In the other hand if you need an smaller chip(less legs) you can go with the ATtiny45 (4Kb) or the ATtiny85(8Kb). This chips are compatible with Arduino and are great for small projects.