Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

Does The test server work for you? Are you willing to sped time helping me test it?

It works for me.
- 6 (31.6%)
It does not work for me.
- 1 (5.3%)
I'd be willing to help test it.
- 6 (31.6%)
I'm not interested in testing it.
- 1 (5.3%)
I might be willing to help test it.
- 5 (26.3%)

Total Members Voted: 14


Pages: 1 ... 21 22 [23] 24 25 ... 42

Author Topic: Agora, A better forum (Open Source Project): Now with Github and test site.  (Read 81826 times)

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #330 on: September 11, 2014, 02:21:34 pm »

I honestly have no clue... but I know that those things can be really finicky given the experience signing jars that some people have had in my research lab. I wonder if it's possible to have it accept unsigned jars somehow?

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #331 on: September 11, 2014, 02:35:15 pm »

Well, alright, I solved the probelm, which was that it was looking for the jar in a lib folder that wasn't there. I solved that by having nested lib folders, which is dumb but whatever. NOW it doesn't want to work cause the mongo db library is unsigned, and firefox won't let it work when the projects are all unsigned.
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #332 on: September 11, 2014, 02:36:37 pm »

I think there's something I don't understand. The java stuff should basically be running on its own. All it's down is it has a socket that's awaiting connections. How is javascript become aware that it's even a java program running? All that the javascript client-side application should be doing is opening a socket?

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #333 on: September 11, 2014, 02:45:12 pm »

Well no, I'm using Java for the sockets and javascript for the display. The java needs to go and pass the information it gets from the socket to the javascript which displays it, and then passes back requests for new information.
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #334 on: September 11, 2014, 02:48:04 pm »

Ooooh, I see. I guess this would allow you to not really have to reimplement AgoraLib in JS?

Do people actually have to run Java on their computer then?

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #335 on: September 11, 2014, 02:56:21 pm »

Yup. On the other hand, programming the networking part of AgoraLib in JS such that i works with JAgoraServer looks like a gigantic pain, so this lets me skip that. and if at some point in the future someone programs that, it'll be easy to switch over to using it instead.

For the moment, I'm working on seeing if I can compile the BSON library myself and sign it. I found the source, and even loaded it into netbeans but it's not loaded as a java project. SO I need to figure out how that works now.
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #336 on: September 11, 2014, 03:01:05 pm »

Yeah, I still can't figure out how JS became a thing...

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #337 on: October 05, 2014, 07:04:21 pm »

Alright, so I have the basic interface working over the web. you can view threads, and while clumsy, it's sufficient for the moment. Now I'm thinking we should consider changing from having separate threads, to having the whole thing be one big graph, which one can pull individual arguments from one at a time. SO you view the top level, Agora, and it has replies to it for different categories, like Politics, Religion, etc, and they in turn have sub topics, and then eventually individual threads, and you follow the links all the way down in the same manner.
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #338 on: October 06, 2014, 10:25:17 am »

Things are already that way! :)

Querying for one argument at a time is incredibly inefficient, which is why right now we are querying thread by thread. But nothing is stopping an attack from connecting two arguments from different threads. The threads are simply an aid to navigating Agora like you do in a forum!

We do still need to know how to handle "merging" graphs. What's happening right now is that attacks that connect the thread you asked for to another thread will have a "bogus" argument on one end, with just its ID and threadID. Using that threadID though, you can grab the thread. We just then need to merge the old thread we asked for first with the new thread.

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #339 on: October 06, 2014, 10:38:21 am »

I was suggesting that we abolish the thread/graph dichotomy, and just have everything be a single huge graph, including  categories. This'd mean we'd only need one method of navigating the thing, instead of several.

The main problem there is that threads can easily become huge - well over a hundred thousand posts huge. And in this system, they'll likely get even bigger. So grabbing an entire thread at once is also rather inefficient. Perhaps if we grab a post and all the posts in response to it?
 I'll look into merging graphs. It doesn't sound too hard...
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #340 on: October 06, 2014, 07:21:40 pm »

Welp, this is what I came up with. It seems like it might be horrifically inefficient when working with large graphs, but it should do the purposes of the client, where you shouldn't have more than a couple dozen nodes to work with, and will only be adding one at a time. I haven't tested it yet, though.

Spoiler (click to show/hide)
« Last Edit: October 06, 2014, 08:23:41 pm by Angle »
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #341 on: October 07, 2014, 09:27:08 am »

Sorry, I guess I didn't explain myself very well :)

Right now, we have basically a huge interconnected graph. It's just annotated with threads so that it can be navigated like a forum. I think it's a good idea for us to have more query types, but it's also important that we not go overboard with it so that we have to implement a bajillion functions in every AgoraLib implementation :)

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #342 on: October 07, 2014, 11:14:42 am »

This'd only take one extra query, getArgument(). returns a graph containing the argument and the posts immediately connected to it.
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler

Anvilfolk

  • Bay Watcher
  • Love! <3
    • View Profile
    • Portuguese blacksmithing forum!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #343 on: October 07, 2014, 01:17:19 pm »

Usually you'd also like to get the attacks that lead away/to all of those arguments, so that you can keep asking for more stuff at the fringes!

Angle

  • Bay Watcher
  • 39 Indigo Spear Questions the Poor
    • View Profile
    • Agora Forum Demo!
Re: Agora, A better forum (Open Source Project): Now with Github
« Reply #344 on: October 07, 2014, 04:24:15 pm »

Well, the idea was that the peripheral posts are the things leading away, and you're only adding one post at a time. But yeah, that sounds like a good idea.
Logged

Agora: open-source platform to facilitate complicated discussions between large numbers of people. Now with test site!

The Temple of the Elements: Quirky Dungeon Crawler
Pages: 1 ... 21 22 [23] 24 25 ... 42