Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 01 22:19
    pretentious7 starred saros-project/saros
  • May 01 02:51
    singpolyma commented #1108
  • May 01 02:50
    singpolyma starred saros-project/saros
  • Apr 08 12:44
    niklasbuehler starred saros-project/saros
  • Feb 16 14:36
    srossbach closed #1152
  • Feb 16 14:36
    srossbach commented #1152
  • Jan 28 02:00
    anematode opened #1153
  • Jan 27 23:51
    bsutton commented #1152
  • Jan 18 02:35
    XintongMa commented #1152
  • Jan 14 06:43
    lele92007 labeled #1152
  • Jan 14 06:43
    lele92007 labeled #1152
  • Jan 14 06:43
    lele92007 opened #1152
  • Jan 08 12:33
    dzmitry-lahoda starred saros-project/saros
  • Jan 06 21:04
    srossbach commented #1142
  • Jan 06 18:14
    srossbach pinned #1142
  • Dec 27 2021 16:32
    srossbach closed #1151
  • Dec 27 2021 16:32
    srossbach commented #1151
  • Dec 23 2021 12:10
    munzzz5 labeled #1151
  • Dec 23 2021 12:10
    munzzz5 labeled #1151
  • Dec 23 2021 12:10
    munzzz5 opened #1151
WayZen☣
@14hdumat_twitter
Help svp

Help me please!!!

I cant connect to Saros, this is the Error message : "Could not connect to XMPP server"

(I'm french)

Johannes L.
@JackboyPlay
Yeah I'll get the same message :[
Franz Zieris
@fzieris

Thanks for bringing this to our attention.
We're currently looking into it.

(But remember: saros-con.imp.fu-berlin.de is a server to try-out Saros,
and we provide no quality-of-service.
If you're doing serious stuff, you might want to setup your own server.)

@JackboyPlay "like the project is on a server or something else": We call it Saros Server, see http://www.saros-project.org/ongoing-work (under "dormant work"). Feel free to get in touch if you're interested in furthering that development.
Franz Zieris
@fzieris
OK, the XMPP problem has to do with our build-server migration a while back. Changed the secondary host-name of the machine running the XMPP server, which said server did not take too well. This problem did not surface before probably because this was the first system reboot after the hostname change.
Kelvin Glaß
@m273d15
Hi, I would like to introduce a code of conduct in the saros project. The "Contributor Covenant" is very common, simple and contains all necessary information. What do you think?
Stefan Moll
@stefaus
@m273d15 :thumbsup: I think that's a good idea and a good choice.
Christian Zygmunt Jeschke
@chrismotian
:thumbsup:
Tobias Bouschen
@tobous
@m273d15 Could you provide a way of setting the base path for the IntelliJ sandboxes through an environmental variable? The default option to use the build directory if no path is set is fine, but it really annoys me to always have to set up the settings for sandboxes again after cleaning the project.
Kelvin Glaß
@m273d15
@tobous sure. This should be a small adjustment. I will try to create a corresponding PR today.
Christian Zygmunt Jeschke
@chrismotian
If I want to create a PR thats based on another PR should I pull in the PR first or in master ?
Kelvin Glaß
@m273d15
Our current handling is: merge the PR that is based on the master branch, change the target of the other PR, rebase the PR (if required) and merge the PR into master.
Christian Zygmunt Jeschke
@chrismotian
I want to use the apache log4j Logger in new classes. Which steps are necessary besides add "private static final Logger log = Logger.getLogger(NewClass.class);" ?
Kelvin Glaß
@m273d15
I think that's all you need.
Christian Zygmunt Jeschke
@chrismotian
Christian Zygmunt Jeschke
@chrismotian
Is the default stream for activities IBB or Socks5 ?
Kelvin Glaß
@m273d15

http://saros-build.imp.fu-berlin.de/sarosDoc/interfacede_1_1fu__berlin_1_1inf_1_1dpp_1_1filesystem_1_1_i_folder.html Do we have an updated version of this ?

I don't think so. You can try to create the current javadoc with ./gradlew javadoc, but my first try was not successful. Probably the configuration is not correct or we have errors in our documentation. We should fix it.

Tobias Bouschen
@tobous
@m273d15 Would it be possible to cache a version of the google java formatter? Some format builds run more than 6 minutes: https://travis-ci.com/saros-project/saros/jobs/177809507
As others finish in about a minute, I would guess that the actual formatting should not take more than about 45 seconds. My guess would be that the download is inconsistent, which sometimes slows down the build unnecessary.
Kelvin Glaß
@m273d15
@tobous Yes, travis provides a caching mechanism for arbitrary directories. This should lead to a consistent download time.
It would be also possible to cache the gradle dependencies, but I never enabled this feature, because I was not sure how the invalidation mechanism works ... and we know There are only two hard things in Computer Science: cache invalidation and naming things.
Tobias Bouschen
@tobous
We recently merged a large scale refactoring of the directory/package structure of the saros repository. This mail on our developer mailing list gives some information about needed steps for your local development environment after the refactoring and on how to resolve the merge conflicts when rebasing.
Christian Zygmunt Jeschke
@chrismotian
Is somebody available for a debug-session? I having problems while working on the requested changes in #444.
Stefan Moll
@stefaus
@chrismotian If remote is ok, I'm available
Christian Zygmunt Jeschke
@chrismotian
I can't running (and writing) stf tests like https://github.com/saros-project/saros/blob/master/eclipse/test/stf/saros/stf/test/session/DerivedResourcesTest.java by simple click on "run Junit-Test" in Eclipse. Which set up is necessary? Is there available any help/manual ?
Stefan Moll
@stefaus
Kelvin Glaß
@m273d15
If the new guide is not sufficient, please add the missing information from the old documentation :wink: .
David Schreiber-Ranner
@davidschreiber
Hey there 👋So I submitted my first PR to the Saros project and also addressed feedback of the initial review round. (Thanks for providing the feedback that quick!) Now I wondered about the expected commit message style for those commits where I address review remarks. Since the PR is probably squashed upon merging (is this the case?) the commit message tags (INTERNAL, DOCS, etc.) are probably not all that relevant. What's common here? Sticking to the format just for aiding during review, or is this not defined that exact?
Here's the PR as reference: saros-project/saros#482
Stefan Moll
@stefaus
Hello David, welcome and thanks for your first PR!
Since the transition to github is more or less in progress, the new guidelines page is not yet actively published, but contains information about the tags used for commit messages and the review process description is here.
So the guidelines state that every commit message should be formatted accordingly, but this is a child of the Gerrit Review era when squash was not used. As you suspected, your commits are candidates for squashing and since your messages are meaningful enough for review, it looks good for me.
David Schreiber-Ranner
@davidschreiber
Alright! Thanks for confirming, and for pointing me to the guidelines 👌
Christian Zygmunt Jeschke
@chrismotian
Hey, is somebody available to take a look at #212. For unknown reason the build is queued forever. I need a review, too.
Christian Zygmunt Jeschke
@chrismotian
I stop work on project Saros. The concept of the Git Support is written in my thesis. From now on I don't have more time to invest and because of that I closed all my Issues and PR's.
Tobias Bouschen
@tobous
Is there any consensus on whether we want to be able to handle dropped network activities? (e.g. an activity is correctly send by one participant but never received by the others). @stefaus do you know which kind of network protocols we are using and whether they have any protection against package loss? I am asking because package loss is still a case that is not correctly handled by the new vector time reset logic
Tobias Bouschen
@tobous
From my current point of view, it is the only issue (handling the loss of deletion activities or ACKs) holding back the PR saros-project/saros#714 from my side (besides a minor outstanding adjustment filtering out certain checksum activities)
Stefan Moll
@stefaus

From skimming the code: ActivitySequencer is adding sequence numbers and checks them executeActivities(...).

As for the direct connection, TCP is used, so package loss is handled low level and retransmissions are tried.
For IBB Connections depends on the error type, if network drops, than again its TCP Handled and again retransmissions are tried.
If the Server drops single messages, than ActivitySequencer should handle this and simply drops the user.

Stefan Rossbach
@srossbach
There is a Ping Component, you will receive a user left at some point. The shutdown of a connection is still abrupt i.e you might miss the last package which is normally the leave package.
Tobias Bouschen
@tobous
@stefaus @m273d15 Time to test saros-project/saros#714 in a multi-user session? I created the branch https://github.com/saros-project/saros/tree/test_branch_714 for this purpose. It just add some logging and artificially increases the log level to make the important ones easier to spot.
Michael Schäfer
@mschaefer88
@tobous I should be able to join. Checked out your branch and ran runIde command with gradle.
Tobias Bouschen
@tobous
Ok, nice. Saros/I currently only supports 2 participants, so we are going to test on Saros/E
Stefan Moll
@stefaus
@tobous yes, did the same, so lets start a skype session in some minutes
Michael Schäfer
@mschaefer88
Can you help me out how I compile and start it in Eclipse? Or will the installed one be sufficient?
Stefan Rossbach
@srossbach
There is documentation on how to compile for Eclipse. Just make sure you run the gradle script with prepareEclipse option. Afterwards you can compile the project through the Eclipse IDE. Starting Tobias modification it simple. Checkout the patch, compile, and select a run configuration on simply launch it. A second Eclipse instance will open in which the plugin is already running.
@tobous I can join the session if you like. Please send me an email with the specific time.
Kelvin Glaß
@m273d15
We had a session with tobias and found some issues. Tobias will analyse the logs and create GH issues.
Tobias Bouschen
@tobous
@srossbach Yeah, you just missed it :wink: But we didn't really get far testing the patch as we found other issues regarding deleting files in Saros/E. When other users are actively typing in an editor while its file is deleted, it can happen that the editor stays open after the file was deleted on disk/from the workspace (even for the user that deleted the file in the first place). The issue seems to be that the editor is in a modified state when the file is deleted. But I haven't had time to investigate this further.
Tobias Bouschen
@tobous
And, for 3 person sessions, we had a weird issue that the old content or re-created files was sometimes still present for other participants (non-hosts that didn't cause the deletion). But this might be caused by my patch (which enables file re-creation in the first place)
Tobias Bouschen
@tobous
Actually, now that I think about it, the first issue should theoretically also be fixed by the activity filter introduced with the vector time fix if the issue is really edit activities received after the deletion. If, however, the issue is the modified state of the editor on deletion, this would not be the case. We moved away from testing the vector time patch relatively quickly as we wanted to make sure that the issues couldn't be reproduced on the master. I am not sure whether the editor issue was present with the vector time patch. Either way, I will have a closer look at the logs. @srossbach if you are interested, I can also create an issue for it later this evening and upload the logs so that you can have a look at it as well.
Stefan Rossbach
@srossbach
@tobous when you delete a file, does the editor sometime stay open or all the time ? As far as I know we do not close any editor stuff in Eclipse when we receive a file activity. So the editor should always stay open.
Tobias Bouschen
@tobous
Well, normally, the editor also gets closed automatically. This seems to be dependent on the editor state as far as I can tell. My guess would be that the editor doesn't get closed automatically when the local editor is in an unsaved state (maybe to avoid information loss?).
This is important for the consistency check, as it is based on open editors. During our tests, the editor did not stay open for all participants (maybe only for the host?), leading to inconsistency state triggers for other participants whose editor was correctly closed. This inconsistency was triggered even though the content on disk should have been consistent (as the file was also no longer present on disk on the host's side as well).
Maybe an explicit handling of the editor would fix the issue. In Saros/I, the logic closes the editor, disables the save listener (to ensure that no unnecessary activities are created), saves the file to disk and then deletes the file (and re-enables the listeners). This ensures that there aren't any inconsistent states between the representation of the file on disk and as a "document" (loaded content modifiable in the editor).