Timestamps are in GMT/BST.
| 00:01:02 | | IAmBeard Quit (Read error: Connection reset by peer) |
| 00:12:29 | | zoomber_ has joined |
| 00:12:35 | zoomber_ | hi |
| 00:12:40 | zoomber_ | hey raptor |
| 00:12:51 | zoomber_ | i bet you know a lot about VMs |
| 00:12:53 | raptor | hi |
| 00:13:05 | raptor | too much - i wish i didn't have to spend my time in them... |
| 00:13:09 | zoomber_ | do you know how to port forward them? like say i wanted to run bitifghter off one |
| 00:13:20 | raptor | yes |
| 00:13:24 | raptor | but it depends on the system |
| 00:13:34 | zoomber_ | centos 6 for me |
| 00:13:41 | raptor | what is the host system, and what is the VM framework (e.g. vmware, etc..) |
| 00:14:11 | zoomber_ | my computer is an iMac lion, running virtual box, and the virtual machine is cents 6 x86_64 |
| 00:16:57 | raptor | ok, you have to have 3 things set up: |
| 00:17:02 | raptor | 1. the port open on the host |
| 00:17:20 | raptor | 2. the open port on the host forwarded to the guest (Centos) |
| 00:17:28 | raptor | 3. the port open on the guest |
| 00:17:49 | zoomber_ | i think the second one is the one Ill be having trouble with |
| 00:17:52 | raptor | probably centos has all ports open |
| 00:18:03 | zoomber_ | i'm sure cents has port 22 open.. |
| 00:19:08 | zoomber_ | not sure how to port forward to it's port though |
| 00:20:35 | raptor | what is the host port going to be? |
| 00:22:44 | raptor | from here: http://www.virtualbox.org/manual/ch06.html#natforward |
| 00:23:08 | raptor | you use the command-line tool 'VBoxManage' |
| 00:23:12 | raptor | example: VBoxManage modifyvm "VM name" --natpf1 "guestssh,tcp,,2222,,22" |
| 00:23:46 | raptor | you would change "VM name" to your VM name, and change 2222 to be whatever port you want open on the host |
| 00:24:56 | zoomber_ | right |
| 00:24:58 | zoomber_ | i tried that |
| 00:25:25 | zoomber_ | ok |
| 00:25:31 | zoomber_ | so not sure if it worked |
| 00:25:50 | zoomber_ | i can't seem to sftp to it, and i can't specify ports without a complicated argument on mac |
| 00:26:08 | zoomber_ | rator, does ssh root@home.maxhushahn.com:2222 prompt you at all? |
| 00:26:30 | zoomber_ | i feel like it would work, as the web page shows up blank for me when i type it in |
| 00:27:16 | raptor | ok, port 2222 is open on home.maxhushahn.com |
| 00:27:57 | zoomber_ | oh good, so it is connectable then |
| 00:28:35 | zoomber_ | i believe my iMac is in DMZ right now, which i keep forgetting to take off, but i made a port 2222 opening for it too |
| 00:29:22 | raptor | so, now you need to make sure ssh is running on your guest at port 22 |
| 00:29:33 | raptor | you may need to restart the machine after adding the forward rule |
| 00:29:39 | raptor | the guest machine |
| 00:30:58 | sam686 | when i try to telnet home.maxhushahn.com [75.83.122.144] port 2222 looks like it connects, but when i press any buttons it disconnects... |
| 00:31:14 | zoomber_ | oh |
| 00:31:30 | zoomber_ | what should i do, maybe i can try some ssh install package to make sure its up to date |
| 00:31:53 | raptor | have you restart the guest centos? |
| 00:32:28 | zoomber_ | ill do that right after this yum finishes |
| 00:32:53 | sam686 | port 22 is also open saying "SSH-2.0-OpenSSH_5.6" then "protocol mismatch" when using telnet (i should use SSH instead for port 22) |
| 00:33:07 | zoomber_ | ok |
| 00:33:08 | zoomber_ | try now |
| 00:33:41 | sam686 | port 2222 now says SSH-2.0-OpenSSH_5.3 |
| 00:33:44 | raptor | works |
| 00:33:49 | zoomber_ | super |
| 00:33:55 | zoomber_ | i needed to start the service too |
| 00:34:09 | raptor | ha! |
| 00:43:03 | zoomber_ | hey sam, how did you get mono working on that VPS? |
| 00:43:29 | zoomber_ | I added a repo that would let me yum download it, and am getting bad signature errors wherever i go |
| 00:43:45 | zoomber_ | rpmReadSignature: failed: bad load |
| 00:43:54 | zoomber_ | wait no |
| 00:43:59 | zoomber_ | failed: sign load: bad |
| 00:47:10 | sam686 | not sure, i don't exaclty remember which web page i used for instruction of manual compiling (instead of packages) |
| 00:47:29 | zoomber_ | oh you manually compiled |
| 00:47:30 | zoomber_ | hmm |
| 00:47:47 | zoomber_ | idea: could I transfer the built version of mono from that VPS to mine do you think? |
| 00:47:58 | zoomber_ | oh wait no, different os number, different bit |
| 00:48:13 | | zoomber_ Quit (Quit: Page closed) |
| 00:48:56 | sam686 | i don't know, it may depends on many things, i think, also that means having to have all the required binary packages, that may be needed by mono binary itself |
| 00:50:30 | sam686 | found it, i remembered seeing almost the same as this: http://wiki.phonicuk.com/Installing-Mono-in-CentOS-5-x.ashx |
| 00:50:33 | sam686 | for compiling |
| 00:51:39 | sam686 | for the most part, all i did is copy and paste the commands (the last command is make && make install, be sure to be root, or sudo make install) |
| 00:58:17 | sam686 | as for virtual machines, you can give the linux (or any guest system) more or less memory, and with more then one CPU (if your computer CPU have some hardware virtualization, mine doesn't) with some comfiguration (though need to shutdown first to make changes) |
| 01:02:24 | | zoomber_mbp has joined |
| 01:02:53 | zoomber_mbp | hi |
| 01:02:55 | zoomber_mbp | again |
| 01:03:16 | sam686 | doube-z-zoomber? |
| 01:03:36 | sam686 | you might have not read this, zoomber: http://bitfighter.org/irclogs/index.php?date=2012-05-07 |
| 01:03:41 | sam686 | at the bottom |
| 01:04:41 | zoomber_mbp | yeah i see it |
| 01:04:56 | zoomber_mbp | ok |
| 01:05:01 | zoomber_mbp | actually |
| 01:05:03 | zoomber_mbp | wait wtf |
| 01:05:13 | zoomber_mbp | i could have just download THIS repository and compiled it on the mac |
| 01:05:24 | zoomber_mbp | eeeaeeahahrrrraaaaaagggggghhhhhh |
| 01:05:47 | sam686 | i don't know about that.... there is some operating-system-spesific code that might not compile for 64-bit mac? |
| 01:06:27 | sam686 | such as, there is some operating-system spesific code on Bitfighter for some parts, such as bf updater.. |
| 01:07:39 | zoomber_mbp | its downloading the mono tar ball from source directly |
| 01:07:50 | zoomber_mbp | i could have compiled that source instead of whatever i compiled |
| 01:08:16 | sam686 | you could try, but i don't know is it might or might not work on mac... |
| 01:10:09 | sam686 | besides, i think virtual machine only uses about 100 MB ram with basic server.. |
| 01:10:36 | zoomber_mbp | right. about that too |
| 01:10:54 | zoomber_mbp | it i use a VM instead, and allow it to use two processors, does it preallocate all that processor? |
| 01:11:16 | sam686 | it can automatically use 2 CPU at the same time |
| 01:11:24 | sam686 | CPU don't have such pre-allocating |
| 01:11:40 | sam686 | the CPU is shared with host then the virtual is not using that CPU |
| 01:12:38 | sam686 | just like any programs, it is free to use all the CPU cores, and the host operating system can multi tack to other programs needing CPU |
| 01:13:46 | sam686 | as in, virtual CPU settings can adjust the MAX cpu cores. |
| 01:14:17 | zoomber_mbp | ah kk |
| 01:21:10 | | sam686|2 has joined |
| 01:21:11 | | sam686 Quit (Disconnected by services) |
| 01:21:12 | sam686|2 | sam686 |
| 01:21:16 | | sam686|2 is now known as sam686 |
| 01:21:16 | | ChanServ sets mode +v sam686 |
| 01:25:48 | sam686 | i will be back in about 29 minutes.. |
| 01:43:28 | sam686 | im back (i meant 20 minutes, not 29, just noticed that now) |
| 01:46:02 | raptor | hi again |
| 01:51:11 | | zoomber_ has joined |
| 01:51:18 | zoomber_ | bah raptor, again its doing it |
| 01:51:34 | zoomber_ | i try binding a simple port 8080 to port 8080 and it doesn't fall through |
| 01:52:40 | raptor | make sure those 3 things are working that i listed |
| 01:53:34 | zoomber_ | ok, tested the port using lynx locally |
| 01:53:47 | zoomber_ | airport reports that port (as well as all ports) going through |
| 01:53:53 | raptor | well, i see no open 8080 from my end |
| 01:54:12 | zoomber_ | yeah, well i can't see it either |
| 01:54:15 | zoomber_ | so i know it can't be #1 |
| 01:54:24 | zoomber_ | else wouldn't i be able to see it on my iMac? |
| 01:54:30 | zoomber_ | since that's before the router |
| 01:55:39 | raptor | well, is your firewall on or off? |
| 01:55:41 | raptor | for the host? |
| 01:56:32 | zoomber_ | no, firewall is off |
| 01:56:41 | raptor | ok, then the service isn't set up |
| 01:56:42 | zoomber_ | but the panel doesn't show up for me either |
| 01:56:59 | zoomber_ | well, i know the service is up, i type in "lynx http://localhost:8080/ and it connects |
| 01:57:09 | zoomber_ | that's on the cents server ^ |
| 01:57:15 | raptor | VBoxManage modifyvm "VM name" --natpf1 "guest8080,tcp,,8080,,8080" |
| 01:57:38 | raptor | sorry, i mean, now #2, the vm forwarding service isn't up |
| 01:58:56 | zoomber_ | ok i tried it |
| 01:58:58 | zoomber_ | lets see how it works |
| 01:59:03 | raptor | ok, it's up |
| 01:59:38 | raptor | or at least 8080 is open |
| 02:00:14 | raptor | you may need to restart the vm after the forward was set up |
| 02:00:15 | zoomber_ | ok lets see |
| 02:00:20 | zoomber_ | i did |
| 02:00:21 | zoomber_ | well |
| 02:00:28 | zoomber_ | you have to keep the VM off when you change that setting |
| 02:00:33 | raptor | well, i can hit 8080 on home.maxhushahn.com |
| 02:00:35 | zoomber_ | or at least they advise |
| 02:00:36 | zoomber_ | it |
| 02:00:40 | raptor | oh ok |
| 02:00:46 | zoomber_ | still not loading, but it's doing something.. |
| 02:01:02 | raptor | ok, good, so #1 aned #2 are done |
| 02:01:06 | raptor | now #3... |
| 02:01:12 | zoomber_ | wait though |
| 02:01:15 | raptor | service may be up but not working? |
| 02:01:18 | zoomber_ | #3 should be working |
| 02:01:25 | zoomber_ | it's using a web service, and that should be ok |
| 02:01:43 | raptor | well it isn't... maybe a firewall on the centos server is preventing it? |
| 02:02:03 | zoomber_ | would they just put up a firewall that blocks random ports after clean install? |
| 02:02:11 | zoomber_ | not sure who to disable one |
| 02:02:47 | zoomber_ | Psssssssh |
| 02:02:59 | zoomber_ | httpd wasn't even on in the first place! |
| 02:03:13 | zoomber_ | dammit, still doesn't work |
| 02:04:30 | zoomber_ | what does port 800 show for you? |
| 02:05:31 | raptor | still waiting at 800 |
| 02:05:41 | raptor | but at 80, i see a directory index |
| 02:05:46 | raptor | Index of / |
| 02:06:05 | zoomber_ | thats my imac |
| 02:06:39 | zoomber_ | port 800 should go to port 80 of the server, and port 8080 should go to port 8080 (web server uses httpd too) |
| 02:08:45 | raptor | the only one that responds with http is 80 |
| 02:09:00 | zoomber_ | unfortonatley |
| 02:09:06 | raptor | mayeb you should check the logs on the centos machine |
| 02:09:34 | zoomber_ | I'm more curious as to how i got the ssh port through |
| 02:09:41 | zoomber_ | and if there's an easier way to do this |
| 02:09:47 | zoomber_ | like, bridging |
| 02:10:19 | raptor | if you bridge the vm's ethernet, then you don't need to do #2 |
| 02:10:43 | zoomber_ | what does that do, give my VM it's own private ip? |
| 02:11:10 | raptor | yes, if 'private ip' means from your router |
| 02:11:18 | zoomber_ | yes |
| 02:11:22 | raptor | then yes |
| 02:11:43 | zoomber_ | then it shall be |
| 02:13:51 | zoomber_ | oh common this is so much easier.. |
| 02:15:29 | zoomber_ | brb |
| 02:17:17 | zoomber_ | ok well this should help |
| 02:17:22 | zoomber_ | i get the ip 192.168.2.73 bound to it |
| 02:17:35 | zoomber_ | but when i type that in a browser, on my local network, no response |
| 02:17:47 | zoomber_ | ssh works |
| 02:18:12 | raptor | yeah, so there may be a firewall on the centos server |
| 02:18:17 | raptor | blocking everything but ssh |
| 02:18:20 | raptor | which is common |
| 02:18:31 | zoomber_ | promiscous mode: ? |
| 02:18:39 | raptor | uh.. |
| 02:18:52 | zoomber_ | thats an option, and it's set on "deny" right now |
| 02:18:55 | raptor | i don't think that has anything to do with what we are doing... unless it is network packet sniffing |
| 02:19:10 | zoomber_ | so leave it on deny then? |
| 02:19:12 | raptor | where is that set? |
| 02:19:15 | raptor | what system? |
| 02:19:25 | zoomber_ | under adapter type, above mac address / port forwarding |
| 02:19:31 | zoomber_ | it's on the settings tab for the VM |
| 02:19:32 | raptor | what system |
| 02:19:47 | raptor | on the mac system for the VM? |
| 02:19:54 | zoomber_ | Vm = centos 6 |
| 02:20:44 | raptor | but is that set inside the vm/ |
| 02:20:45 | raptor | ? |
| 02:21:25 | zoomber_ | Inside Oracle Vm VirtualBox Manager |
| 02:21:30 | raptor | ah so on the mac |
| 02:21:35 | zoomber_ | oh yes |
| 02:21:50 | zoomber_ | i tried /sbin/iptables and tried unblocking port 8080 but that did nothing |
| 02:22:15 | zoomber_ | what's that command, you can do that command | grep 8 to scan for open ports with 8s in them |
| 02:22:26 | raptor | nmap? |
| 02:22:33 | raptor | netstat? |
| 02:23:00 | zoomber_ | hmm |
| 02:23:11 | raptor | i'd just turn off iptables completely to see if it is the problem |
| 02:24:07 | zoomber_ | FINALLY |
| 02:24:16 | zoomber_ | port 80 works on it now |
| 02:24:32 | raptor | was iptables the problem? |
| 02:25:16 | zoomber_ | yes |
| 02:25:17 | zoomber_ | there we go |
| 02:42:57 | zoomber_ | closing this window but am on MBP right now (using vnc) |
| 02:43:00 | | zoomber_ Quit (Quit: Page closed) |
| 02:54:21 | zoomber_mbp | im out |
| 02:54:25 | zoomber_mbp | join to other comp (zoomber) |
| 02:54:27 | | zoomber_mbp Quit (Quit: zoomber_mbp) |
| 04:53:52 | | raptor Quit () |
| 05:05:06 | | Zoomber Quit (Quit: Zoomber) |
| 06:08:04 | | sam686 Quit (Ping timeout: 245 seconds) |
| 06:08:34 | | sam686 has joined |
| 06:08:35 | | ChanServ sets mode +v sam686 |
| 06:50:37 | | sam686 has left |
| 07:33:38 | | watusimoto has joined |
| 07:33:39 | | ChanServ sets mode +o watusimoto |
| 07:59:44 | | kodax has joined |
| 13:13:00 | | kodax Quit (Remote host closed the connection) |
| 13:59:17 | | kodax has joined |
| 14:10:54 | | IAmBeard has joined |
| 15:03:28 | | raptor has joined |
| 15:03:28 | | ChanServ sets mode +o raptor |
| 15:06:08 | raptor | good morning! |
| 15:06:20 | raptor | watusimoto: linux compiles again with my latest check-in |
| 15:12:53 | raptor | also very good e-mail to the LuaW dev |
| 15:14:29 | watusimoto | hi |
| 15:14:30 | watusimoto | thanks |
| 15:14:34 | raptor | good day |
| 15:14:49 | watusimoto | Maybe that will be the basis of some documentation |
| 15:15:14 | watusimoto | I had a few minutes this morning (due to an extra-early conference with kids' teacher :-( ) |
| 15:15:30 | watusimoto | and I think I was able to move all the code we've been working on into the header |
| 15:16:10 | watusimoto | Renderwahn's idea about how to initialize the static vectors was just the ticket |
| 15:16:29 | raptor | oh yay |
| 15:17:29 | raptor | what was the idea again? |
| 15:18:13 | watusimoto | wrap a static delaration inside a getter method |
| 15:18:20 | raptor | oh yeah |
| 15:18:22 | watusimoto | so the first get forces initialization |
| 15:18:33 | watusimoto | and the member is kept completely private |
| 15:18:45 | raptor | it's the simple things... |
| 15:18:51 | watusimoto | much nicer than the typical lazy initialization we did in java land |
| 15:18:55 | raptor | that are always hardest to figure out |
| 15:19:12 | watusimoto | there are a few other places we could use that in the code, though we don;t rely on lazy init too much |
| 15:19:35 | watusimoto | anyway, a little more cleaning tonight, and we'll do a final test compile |
| 15:19:43 | raptor | ok |
| 15:19:51 | watusimoto | mostly renaming and clearing out unneeded classes and other consolidations |
| 15:31:29 | IAmBeard | watusimoto, so for my cleanup, I'm adding exceptions, which will ONLY be used for constructors (since they can't always return a value, but may need validation) |
| 15:32:37 | IAmBeard | which i think is how exceptions should be handled considering our other validations in place |
| 15:34:01 | watusimoto | ok, sounds good. I told you before that I don't mind exceptions for purposes like what you are proposing; i.e. things going wrong that are hard to handle otherwise. |
| 15:38:32 | IAmBeard | yup, i just wanted to make a note of it |
| 15:51:38 | watusimoto | good |
| 15:55:56 | | kodax Quit (Remote host closed the connection) |
| 16:57:41 | | watusimoto Quit (Ping timeout: 276 seconds) |
| 17:28:18 | | Watusimoto has joined |
| 17:39:48 | Watusimoto | ok, things look like they're working, just committed my changes |
| 17:40:37 | | BFLogBot - Commit 4eea12db96ce | Author: watusim...@bitfighter.org | Log: Lua class registration system basically complete. |
| 17:40:39 | | BFLogBot - Commit 1f1c4284c634 | Author: watusim...@bitfighter.org | Log: Merge |
| 17:41:21 | raptor | ok, i test |
| 17:41:46 | Watusimoto | I was able to get things to be pretty clean in the end |
| 17:44:12 | Renderwahn | pffft, testing! you should write perfect code from the start *trollface* |
| 17:44:32 | raptor | compiled - no extra warnings... |
| 17:46:19 | raptor | and it runs! |
| 17:47:31 | Watusimoto | excellent |
| 17:47:50 | Watusimoto | to test it you'll need a bot that interacts with a test item or resource item or asteroid |
| 17:48:29 | raptor | oh, i used sentinel.bot |
| 17:48:33 | raptor | i use orbit now |
| 17:50:08 | raptor | works |
| 17:50:23 | raptor | he is orbiting my moving testitem |
| 17:56:25 | | Watusimoto Quit (Ping timeout: 256 seconds) |
| 18:02:27 | raptor | and your new class looks much nicer 'LuaW_Registrar' |
| 20:12:31 | | sam686 has joined |
| 20:12:31 | | ChanServ sets mode +v sam686 |
| 21:49:16 | | raptor Quit () |
| 22:55:14 | | Watusimoto has joined |
| 23:22:59 | | raptor has joined |
| 23:22:59 | | ChanServ sets mode +o raptor |
| 23:30:12 | | Ninjaman has joined |
| 23:30:17 | Ninjaman | hi |
| 23:30:18 | Ninjaman | YAY |
| 23:30:22 | IAmBeard | hello |
| 23:30:23 | Ninjaman | poop |
| 23:30:30 | IAmBeard | i enjoy your excitement |
| 23:30:31 | Ninjaman | let's play bitfigher |
| 23:30:52 | IAmBeard | I'm actually in the middle of something, but I'm sure you could coax some people on here |
| 23:30:58 | raptor | little_apple? |
| 23:31:41 | IAmBeard | Ninjaman ^ |
| 23:34:37 | | Ninjaman Quit (Ping timeout: 245 seconds) |