Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Shasta

Pages: [1] 2 3 ... 14
1
Darwinbots Program Source Code / Re: Status of IM mode
« on: June 06, 2013, 06:22:09 AM »
Hey Shasta,

May I look at the PHP script(s) if you don't mind?
Just out of curiosity.
Yeah sure, I need to clean them up a touch first though. I also should probably figure out some place to put them in source control, be it in the DB2 repo or a new one.

2
Darwinbots Program Source Code / Re: Status of IM mode
« on: May 31, 2013, 03:09:23 AM »
So from what I remember I broke one of the php scripts at some point. They are definitely not being served at the moment, though I do still have them in a folder.

The C# program is a bit annoying as it does the memory inspection stuff, so you have to give it a new list of memory locations for every new version of DB released, I had some sort of update mechanism that I don't entirely remember at some point. But finding the memory addresses was manual. If someone wants to work on it, I'd recommend just removing the memory inspection and only handle the transfer of robots. A technical detail: I think it was using LZMA compression, switching that to something like LZ4 would be nice.

3
Announcements / Re: Server Maintence
« on: April 18, 2013, 02:36:25 AM »
Everything should be back up and running, including IRC and SVN, at this point. If you encounter any problems please let me know.

4
Announcements / Server Maintence
« on: April 17, 2013, 09:28:51 PM »
Hey all,

I'm doing some upgrades on the server that hosts all of the Darwinbots related stuff. So, services will be going up and down though out the day. The website (forums/wiki) should be ok from here on, barring any server reboots. SVN and IRC will take a bit longer to come back online. I should have everything finished sometime today. When everything is completed I'll post an update here.

5
Off Topic / Re: New IM idea
« on: May 26, 2012, 10:06:55 PM »
Sorry I'm currently trying to finish out my quarter over here, been really busy.

6
Off Topic / Re: New IM idea
« on: May 15, 2012, 11:40:14 PM »
Hey sorry I didn't reply sooner, I've been pretty busy this quarter.

I've actually got 90% of a working solution using a socket server for IM sitting around somewhere. I keep ending up with time to program stuff when I'm on machines that I don't have the actual code base :wacko:

7
Off Topic / Re: Need help setting up SmartSVN server
« on: April 27, 2012, 07:59:02 PM »
Sorry man, been pretty busy this week. No idea what is causing your problems though, most likely something specific to your network. That last error is really weird too.

8
Off Topic / Re: Need help setting up SmartSVN server
« on: April 17, 2012, 08:15:18 PM »
Install the subversion package for ubuntu. Should be something like:

Code: [Select]
apt-get install subversion

this will install the executables you need. They will probably end up in /usr/bin

9
Off Topic / Re: Need help setting up SmartSVN server
« on: April 04, 2012, 12:51:11 AM »
Well, you technically don't need a central server for Git or Mercurial... but that probably isn't what you are asking. SVN is pretty much set up in one of two ways, being served though mod_dav in apache or over ssh. It isn't too bad as far as setup goes, but you will need a machine that can run it, and there are other things to take into consideration like permissions for the repositories.

10
Off Topic / Re: Need help setting up SmartSVN server
« on: April 02, 2012, 07:08:45 PM »
It is honestly not worth setting up a server unless you already know how. I would recommend one of the existing hosting providers like GitHub (supports git) or BitBucket (supports git and mercurial). BitBucket allows for free private repositories which is pretty cool.

Note that both of those only support distributed version control systems, so if you are not familiar with them there will be a bit of a learning curve.

11
Darwinbots3 / Re: Multi-core support?
« on: March 29, 2012, 03:51:28 AM »
For DNA execution, I think it should be possible to have it compile in to CIL, which means it could be JITed and run as fast as native code

I've looked into doing this a fair amount. Entirely doable, and I will probably hammer it out some weekend that I'm not wiped out from the school week (this weekend maybe? we'll see).

12
Off Topic / Re: BitLife
« on: January 21, 2012, 10:06:46 PM »
Totally need a splash screen, it was loading for 3 minutes...

Hrm, that's odd, starting a simulation can certainly take a long time, but just loading the program should be very fast.

Quote
Object reference not set to an instance of an object.

   at Viewer.Board.refresh(Map m)
   at Viewer.MainWindow.background_worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
   at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Fixing bugs in this is a fairly low priority for me now (got a grade and what not already  :P), but I may give it a go at some point.

13
Suggestions / Re: plants herbivores and carnivores
« on: December 17, 2011, 10:50:11 PM »
The subversion repository for Darwinbots 2 has been restructured and the latest code is up.

14
Off Topic / Re: BitLife
« on: December 17, 2011, 03:17:46 AM »
The attachment link wasn't working in my Firefox, but it's fine in Chrome.  Not sure what that's about.
Found what this was and applied a fix. Apparently SMF had a bug with the newest version of Firefox.

15
Off Topic / Re: BitLife
« on: December 17, 2011, 02:59:40 AM »
It seems to multithread pretty well (well, at least across 2 cores).  That's cool.

I notice that you're lock-stepping the drawing with the simulation.  If you copy the simulation into a buffer and draw things from the buffer, you can decouple the simulation and the graphics display.  That way you don't have to pause the display to ramp up the sim speed.  You don't even need everything from the simulation, just whatever you need to draw stuff.
Yeah, the multithreading is a bit... interesting. I'll leave it at that. The simulation does run in another thread and should actually be fairly easy to entirely decouple it, if you turn off drawing there is a significant speed increase. WPF really just can't handle what we were trying to do to it (at least in that manner), the whole drawing section of code probably should be rewritten.

If you can make a list of snags with Sunweaver while it's fresh in your mind that would be great.  I'm not going to get it in to DB3 for a while.
  • != does not parse think it had something to do with being an unrecognized type
  • Duplication of DNA for reproduction. I implemented it as a cascading chain of copy constructors all the way from DNA down to codule, then did member-wise clones of the base-pairs
  • For saving simulations: I just used serializable all the way down to the base-pairs, so I had to go though and mark stuff to not get serialized. (VMs mostly I think)  this is another way to potentially do DNA duplication, probably should run some benchmarks
  • Wanted some way to see current state of the DNA: passed a string builder around traversing through the children and finally appending basepair.ToString() to it.
  • Way to read in a bot from a file (I did this in a quick hack sort of a way)
  • Some of the stack modification commands seem to be missing (overbool, dupbool, can't remember what else)
  • Some way of getting a list of sysvars into the simulation rather than hard coding them would be a really good idea
  • EDIT: There were some bugs with string split and empty arrays, easily solvable by using StringSplitOptions.RemoveEmptyEntries and some length checking.
Those were the only changes I made directly to Sunweaver, some of those things are specific to what I wanted at the time, not sure how they should actually be implemented. I'll go through and fix the bugs I found at some point during break here. I'm also planning on running a profiler over the initial loading of the simulation; it is really slow, not sure if that is caused by Sunweaver or myself.

We use WPF for some stuff at work.  What's it's main difference vs. winforms?  I might look in to it at some point if I have time.  I'm actually doing a bit of UI work for DB3 right now.
I would highly recommend using WPF over WinForms given the choice.

Pages: [1] 2 3 ... 14