Blogs

bug's picture

So it goes

It looks like the rent is due on our developers’ suits. It was fun while it lasted, right? :B

I looked into the server var problem a bit more, but no dice. It doesn’t seem to be a problem with my code, but there are a few things that I still haven’t looked at, like the values in the POST request. So, today was effectively just code cleanup, to make it presentable to the fine folks at Google.

Now, just because my primary obligation is gone, I won’t abandon my project yet. I’ve spent enough time on it to have an interest in seeing it finished, and quite frankly, I don’t want anything else to hurt my image in the eyes of the BZFlag team after my admittedly unimpressive performance.* So, I’ll probably keep posting for a week or two, and maybe more afterward but less frequently, as I fit this into my school schedule.

Ta for now!

bug's picture

Cutting it close

Today I got a few parts of the codebase that are under my control up to date with the rest of it, and I also found a few good leads as to the source of the BZDB problems: firstly, there is in fact no API method to actually grant permissions, and the one I was using was only to check if they were set. I’ve also found that a few of the server variables are being set correctly, which means that it could easily be a problem in my own code, and idea that I’ll investigate tomorrow.

I’m fully aware that my performance has not been stellar, and that webadmin will not be fully functional before final evaluation. With the deadline very close, it’s therefore imperative that I focus on making as much of it usable as possible. Also, recently I’ve been spending too much time on these problems without asking for much help, which will change immediately.

barrycarlyon's picture

You do talk about BarCamp

So today(tomorrow) in under 9 hours is BarCampLeeds, hurrah

And so I did a 20:20 on my GSoC Project, you can have a look at it :

http://files.barrycarlyon.servegame.org/gsoc/2020-barrycarlyon.ppt

Hopefully it is not rubbish!

Woo

bug's picture

Something happens! What is your response?

Amazingly, I was able to uncover a bit more of my own stupidity: I noticed that the API wasn’t even being called for allowing group permissions, which was because I was using a completely different data-passing scheme in my groupPageCallback than the one in the interface I’d designed. With that fixed, permissions still aren’t properly granted, but the error message works! Now I must poke deeper.

bug's picture

One more time

Again I was forced to abandon my work for some time today, because of a poorly scheduled dentist appointment, the excursion for which ended up taking more time than it should have. However, I was able to take a deeper look into the BZFS API and discovered that yet more of my error checks were not doing anything useful. The plan is still to find what is keeping server variables and group permissions from being saved to the BZDB.

barrycarlyon's picture

Work Rate

What? This week is the final week….

Randomly my work ethic has gone through the roof, and I’ve done a feature a day this week.

Roll on the rest of the week…..

VICTORY!

Well, some victory!

Example.h:

/** This is a block describing enum
*/

enum color { RED, BLUE, GREEN };

/*! This is describing class foo
*/

class Foo {
public:
Foo() { }
enum speed { IMPULSE=10, WARP=20, LUDICROUS=30 };
void enum_test(speed s);
};

/*! This is describing enum test
\param c the color c
\param s the speed
*/

void enum_test(color c, Foo::speed s);

The TOP of foo.java


/* This was generated from emitProxyClassDefAndCPPCasts() */
/**
* This is describing class foo
*
*/

public class Foo {

and finally-

public class example {
/* This was generated from moduleClassFunctionHandler() */
/**
* This is describing enum test
*
* @param s the speed
* @param c the color c
*/
public static void enum_test(color c, Foo.speed s) {
exampleJNI.enum_test(c.swigValue(), s.swigValue());
}

}

bug's picture

To be continued

I was out of town for most of today, but I was able to fix a compiler warning that was preventing my build (since the configure script threw in -Werror for some reason). I also took a quick peek with gdb at the parts of the BZFS API that relate to the BZDB, and it looks like something in the API itself could be the source of my problems. Not unlikely, either, as the only other thing that uses the API functions for setting server variables and the like is the python plugin, which may or may not have been tested in that area. Next week I’ll find whatever it is that has disabled my interface so badly, then move on to filling in the API where it doesn’t fit my needs.

barrycarlyon's picture

The End is nigh

So Google Summer of Code.

Its been fun, I can’t believe it is the end.
I should have really written more code, but my plan involves being involved on my project for quite a while yet.
But then it is a from scratch project, and had to rewrite the core three times.

Luckily it is now flexible enough to work properly.

I am doing the new PHP bugtracker, it currently has basic functionality, and it maybe ‘pens down’ on Monday, me I am gonna keep going and committing, as this bug tracker needs finishing.

Alas I have lost tonight to having to fill in for a friend at work, but then tomorrow its all code, assumed my 360 doesnt distract me, we shall see.

Hopefully by this time tomorrow, we shall have a lot more done, which was the plan today, but some house things got in the way and now its on to nearly time to go to work, (its work in a bar hence UK evening time).

Syndicate content