Implement NFA -> DFA translation

At the moment our state machines are non-deterministic, meaning they can transition to multiple states for a given [state,character] pair. In practice this means we have to implement recursive backtracking when we convert into bytecode.
An optimization that will make this a lot better is to first convert to a DFA by walking the NFA and simulating all possible inputs. We'll need to maintain this as a separate implementation, as some things like backreferences won't work/won't be easily implementable. But if we scan the pattern first, we should be able to tell if we can use this implementation.

Kevin pushed up some work-in-progress on the dfa branch; I’m taking a look at it now to see if I can get it fully working.

Debugging this: next if result.key?(states) is not right, because the whole idea is that we’re adding new sets of NFA states to result before we push them onto the worklist.
I’ve pushed some commits which change the logic: rather than trying to skip worklist entries, we only add new sets of NFA states to the worklist if they aren’t already in results. This way we’re relying entirely on the worklist to tell us what work remains, and allowing results to accumulate the mappings between NFA states and DFA states as we go.
Example output for `./bin/parse 'ab?c*de':

I haven’t convinced myself that this is entirely correct yet, but it’s progress of a sort!

Rebased the dfa branch to include the label changes from #44.

I experimented with converting the problematic a?a?a?aaa regular expression from #47 to see what happened — ideally we should be able to match this expression successfully after DFA conversion because no backtracking will be needed.
Here’s the NFA:

Here’s the resulting DFA:

So there are a few obvious problems to fix:

The start state isn’t a start state
The finish states aren’t finish states
There are duplicate transitions

I’ll address these now.

TBF it's a problematic regexp. I was testing it because the NFA-to-DFA paper specifically use it as an example of a regexp that most normal implementations screw up badly on :-)

Okay, having fixed those problems, the DFA now looks like this:

And, as expected, that matches the correct strings:
>> require 'regular_expression'
=> true
>> ast = RegularExpression::Parser.new.parse('a?a?a?aaa')
=> #<RegularExpression::AST::Root:0x00007fc65d147eb0 @expressions=[#<Regula...
>> nfa = ast.to_nfa
=> #<RegularExpression::NFA::StartState:0x00007fc65d8ddb48 @label="Start", ...
>> dfa = RegularExpression::DFA.build(nfa)
=> #<RegularExpression::NFA::StartState:0x00007fc65992c170 @label="Start,1,...
>> bytecode = RegularExpression::Bytecode.compile(dfa)
=> #<RegularExpression::Bytecode::Compiled:0x00007fc659a507e0 @insns=[#<str...
>> 0.upto(10).map { |n| 'a' * n }.select { |string| RegularExpression::Interpreter.new(bytecode).match?(string) }
=> ["aaa", "aaaa", "aaaaa", "aaaaaa", "aaaaaaa", "aaaaaaaa", "aaaaaaaaa", "aaaaaaaaaa"]

The problem now is that I’ve completely hacked the notion of “deduplicating” the transitions, by relying on comparing two transitions with Transition#matches?. This works here but won’t work in general because e.g. a Transition::Value and Transition::Any will “match” but they’re not actually duplicates — if we throw the wrong one away then we’ll end up with an incorrect DFA. So it needs more thought to figure out what deduplication of transitions should look like in general. (In a theoretical setting we only have value & epsilon transitions so this problem doesn’t exist, but we have all kinds of other transitions to make our NFA representation more compact.)

I found myself getting lost, so I did some renaming to clarify what’s going on.

Cleanup aside, I’m currently working on making the DFA conversion work correctly for this NFA of the regular expression [a-d]g|[c-f]h:

This is tricky because the two ranges [a-d] and [c-f] overlap, so the resulting DFA should look like this:

Namely: for the automaton to be deterministic, reading c or d must put us into a distinct state where we can read either g or h to reach the finish state, whereas reading a or b forces us to read g (and likewise for e or f forcing h).
To make this work we need to be able to a) spot that the [a-d] and [c-f] ranges overlap, and b) split them into disjoint pieces ([a-b], [c-d] and [e-f]) to use when constructing the DFA transitions. (I have a bad feeling about POSIX bracket expressions ([[:alnum:]] and friends) but I’m focusing on this simpler case for now.)

Kevin suggested just merging what currently works (i.e. Transition::Value and Transition::Epsilon only), which is a good idea, so I’m putting together a PR for that now.

#101 is the PR for the work so far.


Use templates for creating MD logs

Gives each test a .md file which it uses as a template for creating its MD log file. As far as output, this PR should only be a refactor.
Doing this allows us to insert whatever text we want into each test's log, In the short term we should use this change to explain weird situations (Like models that look the same), and longer term we should be able to easily leverage this to insert extra images (e.g. to show UV mapping).
Note that a test determines its template by converting its testType into a string, so the name of a template must match that.
~~HeaderTable~~ is the tag which is replaced when inserting the 'In all models' table.
~~Table~~ is the tag which is replaced when inserting the main table.
Fixes issue #206

Switched them to .md

Moved the images into the Tests folder and started using them as embedded resources. This should prevent broken link issues during editing if we add images into the templates.


Remove identifier rule

This pr removes identifier rule and word thingy because they are already declared in go grammar, also identifier rule was /[a-zA-Z0-9_]+/ which is wrong because it also matched any integer literal like 69 or 0x45 so if a variable is declared with literal value it would be parsed as an identifier:

Also tests were updated.

Great stuff, thanks


SUBMARINE-1127. Jupyter Notebook can support initing overwrite.json

What is this PR for?
Jupyter Notebook have created a workspace volume /home/jovyan/workspace, but in some cases, we may need to do some initialization configuration when starting notebook. For example, we can configure an overrides.json in /opt/conda/share/jupyter/lab/settings/.
We can refer to the official document of jupyter about overrides.json.
https://jupyterlab.readthedocs.io/en/stable/user/directories.html#overrides-json
Assuming that the user of submarine needs to specify the language of the initialized notebook to Chinese, we can write this in overrides.json.
{
  "@jupyterlab/translation-extension:plugin": {
    "locale": "zh_CN"
  }
}

After this configuration, the new logging will be displayed in Chinese by default.
What type of PR is it?
Improvement
Todos

[x] - Add a configmap to use overwrite.json as a volume config file in pod

What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1127?filter=allissues
How should this be tested?
Try to set an env named SUBMARINE_NOTEBOOK_DEFAULT_OVERWRITE_JSON in submarine-server deployment.
Screenshots (if appropriate)
No
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? Yes

Thank you for adding this feature, some comments below, others LGTM

Hi~ I have fixed it

@pingsutw I've update codes to newest and pass git check test.


Need to port all ROSMOD samples from v0.3

All stable ROSMOD v0.3 samples need to be ported to webGME ROSMOD

I think the final sample that needs to be ported is the LED sample which displays patterns using the LEDs on the BBB.  The KSP samples will fall under a separate issue.


Error parsing text-format caffe.NetParameter:  Message type "caffe.LayerParameter" has no field named "bn_param".

Hi, @yjxiong
python tools/eval_net.py ucf101 1 rgb FRAME_PATH
models/ucf101/tsn_bn_inception_rgb_deploy.prototxt models/ucf101_split_1_tsn_rgb_reference_bn_inception.caffemodel
--num_worker 4 --save_scores SCORE_FILE
W0901 14:59:26.851496 12575 _caffe.cpp:128] Net('models/hmdb51/tsn_bn_inception_rgb_deploy.prototxt', 1, weights='models/hmdb51_split_1_tsn_rgb_reference_bn_inception.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 19:12: Message type "caffe.LayerParameter" has no field named "bn_param".
F0901 14:59:26.854511 12575 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/hmdb51/tsn_bn_inception_rgb_deploy.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)
caffe-action has been installed successfully.
Can you give me some advice about how to solve it!
Thank you so much!

Have you strictly followed the instructions in README? You are running on another version of Caffe installed.

yes,  according to the ReadMe every step, and download caffe from "https://github.com/yjxiong/caffe" and installed successfully.

I don't which README you are reading. But people usually go step by step starting from
https://github.com/yjxiong/temporal-segment-networks#get-the-code
and follow on.

but, i have only one gpu, this is different from you

The ReadMe is in the temporal-segment-networks zip file, i download it from "https://github.com/yjxiong"

Then I guess it is the same as the one in the front page of this page. Please read it carefully and follow the step by step guide.

Thank you!

I have said in the first reply you are running another version of Caffe. If you have followed the instructions on how to install, this should not have happened.

I'll reinstall caffe following the instructions.   thank you!

@yjxiong
Sorry to disturb you again!
First，git clone --recursive https://github.com/yjxiong/temporal-segment-networks
Second compile caffe, mkdir build && cd build    cmake .. -DUSE_MPI=ON    make && make install
Third， dataset has been download
Fourth, python tools/eval_net.py ucf101 1 rgb FRAME_PATH
models/ucf101/tsn_bn_inception_rgb_deploy.prototxt models/ucf101_split_1_tsn_rgb_reference_bn_inception.caffemodel
--num_worker 4 --save_scores SCORE_FILE
Still making mistakes.
I hope you can help me again, thank you!

Did you use the build_all.sh script? I am not able to help you if you keep not following the instructions.

Because, i have been installed Opencv-3-2-0-rc.
so, if i used build_all.sh, i am worry about conflict with Opencv2..4.13.

It simply won't.

Do you have any advice, thank you!

Ok, thank you, i will try.

@yjxiong
Hello,
Thanks for your reply, I am so sorry disturb you again!
First, run the "build_all.sh" script, everything is ok,
However, when execute python tools/evel_net.py ... , this error occurs again.
At the moment, I feel helpless

I have said you are running another Caffe installed on your machine. Another, less possible, reason could be that you have libboost version lower than 1.55, which will leat to the Python interface failing to compile.

@yjxiong
Yes, you are right, i have solved this problem!
Thank you for your reply!

Closing this. Please feel free to reopen it if you meet any further problem.


flutter doctor --android-licenses not working due to java.lang.UnsupportedClassVersionError

I am trying to accept flutter doctor --android-licenses but I am getting this error:
Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/prefs/AndroidLocationsProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Uncheck Android SDK command-line Tools (latest)
Check Android SDK command-line Tools 8.0
Click Apply
In Windows go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”
Run Flutter doctor again.

@mahmmd
Check above solutions and see if they help. Also, you can try by upgrading your jdk version to latest.
See this SO link for further resolution.
Closing from here.

@thurakhant Thank You 🙏

Try This (For Windows) ...

Uncheck Android SDK command-line Tools (latest)
Check Android SDK command-line Tools 8.0
Click Apply
In Windows, go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”
Run Flutter doctor again.

Thank you for the solution. I've been trying to find a solution for 2 hours. 🙏

I have macbook kindly tell me how to resolve this

Thank u for the solution. It work

Eu tenho macbook por favor me diga como resolver isso

Were you able to find the solution? I've been looking for the solution for my mac for 3 days and I can't find it

It's same for MacOS, just go to this ~/Library/Android/sdk/cmdline-tools directory and change "8.0" folder to "latest" as stated above.

Solution worked great. For some additional information for ease: if you are in Android studio, then you go to the more actions -> SDK manager -> and then if you check off "Hide Obsolete Packages" and "Show Package Details" then you should be able to find it in the command line tools, then you can just follow along with what is above. "mv" to rename.

So let me get this straight:
We're moving version 8.0 of the Android Command-line Tools to the latest folder (which SHOULD be version 9.0)?
I'm not sure that's a good idea. Other tools might expect the latest version to actually be the latest version...

You can always delete and install latest package so you do not need to worry about software stability. Also, if you update tools frequently, folders will be overridden when newer version released.

Try This (For Windows) ...

Uncheck Android SDK command-line Tools (latest)
Check Android SDK command-line Tools 8.0
Click Apply
In Windows, go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”
Run Flutter doctor again.

worked on macOS M1

I couldn't find the path to change the 8.0 folder to latest.

Try This (For Windows) ...

Uncheck Android SDK command-line Tools (latest)

Check Android SDK command-line Tools 8.0

Click Apply

In Windows, go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”

Run Flutter doctor again.

worked on macOS M1

I couldn't find the path to change the 8.0 folder to latest in macOS intel.

I've stated the target path above. Checkout the link below.
https://github.com/flutter/flutter/issues/120388#issuecomment-1439124957

Try This (For Windows) ...

Uncheck Android SDK command-line Tools (latest)

Check Android SDK command-line Tools 8.0

Click Apply

In Windows, go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”

Run Flutter doctor again.

worked on macOS M1

I couldn't find the path to change the 8.0 folder to latest in macOS intel.

I've stated the target path above. Checkout the link below.
https://github.com/flutter/flutter/issues/120388#issuecomment-1439124957

Try This (For Windows) ...

Uncheck Android SDK command-line Tools (latest)
Check Android SDK command-line Tools 8.0
Click Apply
In Windows, go to “C:\Users\USERNAME\AppData\Local\Android\Sdk\cmdline-tools” and rename the 8.0 folder to “latest”
Run Flutter doctor again.

This worked for me after so many tries to update my SDK .. etc
Thanks


client.apps.currentGameLanguage() always returns 'english'

Hi there,
I wanted to tailor my language picking to the users steam language rather than the ip language. Even though multiple game languages are configured and available in the client.apps.availableGameLanguages() call, client.apps.currentGameLanguage() always returns english, no matter what i set my steam language to. the app itself does not have a language configuration in steam so it should be pulling the steam ui language according to  https://partner.steamgames.com/doc/api/ISteamApps#GetCurrentGameLanguage.
availableGameLanguages returns (works perfectly)
[
'english',
'german',
'french',
'koreana',
'spanish',
'schinese',
'japanese'
]
currentGameLanguage returns
'english'

All games have a language configuration on the new steam client. Maybe your steam UI was in english when the game was added to the library.
Tested here it is working fine as intended.

I tested it very thoroughly to be honest. Of course I could have made a mistake somewhere, but I would love to hear how other people fare with this.

Just to add to this, I've had reports of users experiencing this issue as well.
Steamworks docs state that it will first check the game's language (set via Library > Game > Properties... > General > Language). If this isn't set, it falls back to client language. If this also fails for some reason, it falls back to English as a default.
However, users have reported that even though their client is set to another language, achievement information is returned in English. I've created a custom fork of steamworks.js that also incorporates achievement names/descriptions, which shows the same behaviour.
When testing this myself, if I change the client language to anything other than English, the returned value is always English. But changing the individual game's language (via Properties... as above) will trigger a Steam download of the translations, and will subsequently return the correct translation in the selected language for that game.
However, the new Steam UI doesn't show a language setting for every game - especially older titles - so it will never localise the result for games that can't access this setting.
I don't know for sure, but I believe it may be that because each game's language defaults to English in the new Steam client, the client language check is never actually done - due to not needing to fallback, as a default value of English is always provided. So, I think the issue is with the logic in Steamworks itself, rather than steamworks.js, so not sure what could even be done here.
Hope it helps!


Prevent people from voting for the repositories they contribute to

A user should not be able to give feedback to a repository he contributes to

This happens too late when adding feedback to our own repo.
After adding pocman/gp2,
I was redirected to No registered feedback for this repository, yet
And I was able to click on Add First Feedback...

contribution taking into account are 90 days old or less.


better logging in query. mirrors queryrange logging but adds req.URL

As we support more promql providers, we should harden some of this error code. This seems like an oversight as this was in the queryrange logic but not in query logic and we migrated a bunch of things away from queryrange.

While we're looking at this kind of thing, I've seen some very long error messages (e.g. a failure from Chronosphere) get elided so we miss important information about the error. https://github.com/kubecost/cost-model/blob/develop/pkg/costmodel/allocation.go#L261-L267 it may be a problem with the error collection idea.

@michaelmdresser curious, what do you think is happening to cause those error messages to get elided?

I'm not totally sure. It could be that context limits the stored errors or (more likely) that whatever library we're using to call Prometheus is doing it. The exact error message I saw get elided one time looked like an HTTP error page (this was while debugging Chronosphere IIRC) and I believe @AjayTripathy was there too. It looked something like Failed to query <somehtmltag>...rest_of_html; the ellipses were part of the error message that was logged and there was obviously missing content that I assumed was within them.
Also, here's a better link to the code (permalink) so we don't lose what I'm talking about: https://github.com/kubecost/cost-model/blob/b53060b0bd513e7b57fdab787e40239da014b1e8/pkg/costmodel/allocation.go#L275-L281

lets merge and revisit other elided error, think @mbolt35 is working on something there


Add fork friendly compose file

adding fork friendly compose yml
adding fork friendly compose file

Thakns for this!


@conda-forge-admin, please add user @dcdenu4

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @dcdenu4 in conda-forge/pygeoprocessing-feedstock#16.


VagrantOnly install fails while building logger

Operating System Version: Win10
Provider (VirtualBox/VMWare): Virtualbox 6.1.6
Vagrant Version: 2.2.9
Are you using stock boxes (downloaded) or were they built from scratch using Packer? Stock
Is the issue reproducible or intermittent: Reproducible

Description of the issue:
While trying to run the build.ps1 script using the virtualbox provider (and vagrant only) the logger host fails to provision. The machine is running but the build script fails with exit code 1.

PS> build.ps1 virtualbox -VagrantOnly
...
[preflight_checks] Running..
[preflight_checks] Checking if Vagrant is installed
[preflight_checks] Checking for pre-existing boxes..
[preflight_checks] Checking for vagrant instances..
[preflight_checks] Checking disk space..
[preflight_checks] Checking if vagrant-reload is installed..
[preflight_checks] Finished.
[main] Running vagrant_up_host for: logger
[vagrant_up_host] Running for logger
Attempting to bring up the logger host using Vagrant
[vagrant_up_host] Finished for logger. Got exit code: 1
[main] vagrant_up_host finished. Exitcode: 1
WARNING: Something went wrong while attempting to build the logger box.
...
WARNING: Splunk failed post-build tests and may not be functioning correctly.
WARNING: Fleet failed post-build tests and may not be functioning correctly.
WARNING: MS ATA failed post-build tests and may not be functioning correctly.

Upon inspecting the vagrant logs most of the steps seem to succeed untill installing splunk. The download seems to succeed but the machine fails to extract the archive, mentioning that the data is corrupt.
logger: [20:23:08]: Installing Splunk...
...
logger: [20:23:08]: The URL to the latest Splunk version was automatically resolved as: https://download.splunk.com/products/splunk/releases/8.0.3/linux/splunk-8.0.3-a6754d8441bf-linux-2.6-amd64.deb
...

    logger: 2020-05-08 20:23:28 (19.7 MB/s) - /opt/splunk-8.0.3-a6754d8441bf-linux-2.6-amd64.deb  saved [393213454/393213454]
    logger: dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
    logger: dpkg-deb: error: <decompress> subprocess returned error exit status 2
    logger: dpkg: error processing archive /opt/splunk-8.0.3-a6754d8441bf-linux-2.6-amd64.deb (--install):
    logger:  cannot copy extracted data for './opt/splunk/bin/mongod_cc' to '/opt/splunk/bin/mongod_cc.dpkg-new': unexpected end of file or stream
    logger: Errors were encountered while processing:
    logger:  /opt/splunk-8.0.3-a6754d8441bf-linux-2.6-amd64.deb
    logger: Something went wrong while trying to install Splunk

Note: I did modify the vagrant file to include '--clipboard-mode' since I'm using the latest version of Vbox and Vagrant :)

Can you upload the vagrant_up_logger.log file to a gist for review?

Of course :) Here is the raw dump: https://gist.github.com/d3vzer0/8ce8161e36cecbce73386db895eca16c

I downgraded Vbox to version 6.0.20 and it seems to work now. The downgrade did cause some issues, if you used to have HyperV enabled (Docker desktop), running 'bcdedit /set hypervisorlaunchtype off' and rebooting works though :)


how to play?

This is a school project that has no plan to be run publicly afterwards. A brief presentation and documentation will be available in the README file once it is completed if you wish to build upon it and to run it yourself (planned final release is in less than a month).
Thank you for your interest, however.


where to set batch size

during training, where to set batch size?

在configs文件夹下，有几个.py文件，你可以修改samples_per_gpu参数，这对应batch size

good advice, thanks.


Settings flow does not respect the return_to with a /settings path

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[ ] This issue affects my Ory Network project.
[ ] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Describe the bug
A settings flow containing a return_to with the /settings path causes return_to to be ignored in the settings submit flow. An example is when you have an application with the url https://app.example.com/settings the URL will look like so:
https://auth.example.com/sefl-service/settings/browser?return_to=https://app.example.com/settings.
The project config has the following:
Custom Domain: auth.example.com
Custom UI: ui.example.com
Settings URL: /settings
note: this only happens with Custom domains and not when developing locally through the Ory tunnel
Reproducing the bug

Create a project
Add custom domain
Add your custom UI base URL
Keep the settings UI as a relative path /settings
Initiate a settings flow with the return_to query parameter set to a route containing /settings in the path (https://app.example.com/settings)
Submit the settings flow and see it stay on the settings page.

Relevant log output
No response
Relevant configuration
No response
Version
latest
On which operating system are you observing this issue?
None
In which environment are you deploying?
None
Additional Context
No response

❓❓❓❓ That's gonna be fun :D Probably something in the rewriter. But since this is such an edge case we can probably solve this in a bug squash week or something


'Temperature Graph' Bangle 2 app

Hi,
This is a Bangle 2 app for creating graphs from readings of its temperature sensor. Hope you like it.
Carl.

This looks great - thanks!

Thanks Gordon.
I've only realised in the last week that the Bangle 1 has a temperature sensor too, (it's not mentioned among its features: https://www.espruino.com/Bangle.js), so I'll be looking into how to get this running on both watches.

I thought of adding a calibration option to the app until I realised it gave quite accurate temperature readings - after the watch had cooled down. May add it for Bangle 1 support though, if I get that working.
I've added a couple of minor fixes to the current version. I'm new to github, but I assume I need to push those to you for the app to be updated on your app loader?

Yes, the Bangle.js 2 temperature sensor is pretty accurate I think. On the Bangle.js 1 the sensor is quite accurate at temperature difference - it's just the offset that needs calibration.

I'm new to github, but I assume I need to push those to you for the app to be updated on your app loader?

Yes, just do another pull request in the same way you did for this one.
If you make changes before the PR is merged then the PR gets changed automatically, but after I've merged it your changes stay on your own copy.

Oh yes - pull request - not push!
Just done that. Thanks.


Update adding-model.rst

removing duplicate line around "Keep the default" for MoviesController name

Hi @ScaleOvenStove, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:shipit:

@ScaleOvenStove  Thanks! I actually have this one fixed in my next PR.


Updated IDE version to 1.8.5.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: photomoose sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


"The parameter is incorrect" Error creating mediaplaybackitem. FFMpegMSS.CreateMediaPlaybackItem();

Hi Chiefs,
I'm having troubles with a couple local video files.
The first one throws a ArgumentException "The parameter is incorrect" when creating the MediaPlaybackItem:
_playbackItem = FFMpegMSS.CreateMediaPlaybackItem();
And the other one can't reproduce the audio, doesn't report a video duration and stops playing after some seconds. Maybe this video file is not fully correct, not sure, but I tried with vlc and both can be reproduced.
Here are the files to test:
https://1drv.ms/u/s!Ajg8AuGl0XTgqL4-t5aRUIJOokyw9w?e=BM0CnC
I tried with both my app and the FFmpegInteropX sample app (latest bits available)
(Let me know when you download them to take them down)
Thanks.

Hi
Downloading that large 4.3GB file is giving me some troubles.
is there any way you can trim it down a little? I realize that editing it might fix the file, so it's a longshot, but let's see if that works.
I will let it download again over night, maybe this time will work.

yeah, i didn't want to modify the file and risk to fix it... let me know if you still troubles and i can try to upload it somewhere else. thanks

hmm I did manage to download it this time around.
I will check to see what's up.

So the argument exception is caused by a video chapter having the start time negative.
I guess this is a bug in our framework.
I will fix it ASAP.

Check branch origin/issue-185, it should fix the argument exception
As for the no duration, I will handle it later.

@mcosmin222 I just tried that branch and the fix works. Thanks!
And about the other file yep, it must be pretty broken, only VLC can play it correctly.


Feat: hashing

Issue(s): Close #69, #159, #160

@OkoliEvans @fontanellag I merged your two PRs and made minor modifications. Both contributions were valuable. Let me know if you agree with the result

@OkoliEvans @fontanellag I merged your the two PRs and made minor modifications. Both contributions were valuable. Let me know if you agree with the result
Great. Thanks!

I'm totally cool with it. :D

@OkoliEvans @fontanellag I merged your the two PRs and made minor modifications. Both contributions were valuable. Let me know if you agree with the result

I'm totally cool with it :D


278 5.9 download material

#278  an organizer or a coach can now download files of one event's material area

Coverage remained the same at 100.0% when pulling ec8e5b3e1ed711230fde4c5d2c427c849a330a07 on 278_5.9_downloadMaterial into 7fecfe1c5012ca487e09cedc5df6979cfaebaa41 on dev.

Cans for controller missing

Coverage remained the same at 100.0% when pulling 2532da7c19c26b79c127739cb3a55b8c236e9da6 on 278_5.9_downloadMaterial into 2b67c8886b3c678089df3ae878746dd83efdc7ec on dev.

Coverage remained the same at 100.0% when pulling 14f217a0ec65fee5b9da6b56ee38e95bfc847fff on 278_5.9_downloadMaterial into 0a972fb2a5559826417612be93818782f71ba1ad on dev.


[BIOMAGE-1183] Modify the expression embedding colours

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-1183
Link to staging deployment URL
https://ui-james-ui390.scp-staging.biomage.net/
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes

For the Vega plot in Plots and Tables, added new colour scheme option "Default" which is white-purple on light background and grey-yellow on inverted background
For the Vitessce plot in Data Exploration, changed colour scheme to white-purple. Replaced static image with CSS gradient :rocket:

Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[ ] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

Looks good to me too, I restaged it, will test.


Look Enhancement

Is your feature request related to a problem? Please describe.
It's look has to be more enhanced.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
Anyone interested can work on it further.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

hello @AyushAgnihotri2025 Can you please assign me this issue  under kwoc2022 I want to change the look of website??

Ok you can work 👍 on it @Riya14-dangra .....

Please join our discord for further discussions regarding it.
Link : https://discord.gg/Awd3y7m9
And kindly refer to this once also : https://bit.ly/3XYy1D4

Completed #5


[DOM-53893] Parse image labels

https://dominodatalab.atlassian.net/browse/DOM-53893
Changes to Hephaestus to Parse container image labels and add them to annotations on the ImageSuceeded message.
Hephaestus sends "ImageSucceeded" to Nucleus with some metadata.
Metadata before changes:
imagebuilder.dominodatalab.com/build-id -> 65de3c0c1c7378567a552ad2
imagebuilder.dominodatalab.com/compressed-image-size-bytes -><PHONE_NUMBER>
imagebuilder.dominodatalab.com/last-image -><PHONE_NUMBER>22.dkr.ecr.us-west-2.amazonaws.com/richard38490/environment:65d92a2efe46a21d14bd7899-19
imagebuilder.dominodatalab.com/version -> v3
...

Metadata after changes (net new, this includes the labels on the container image):
(same as above PLUS)
maintainer -> Domino Data Lab<EMAIL_ADDRESS>org.opencontainers.image.description -> Standard Domino environment for data science
org.opencontainers.image.ref.name -> ubuntu
org.opencontainers.image.title -> Domino Standard Environment
org.opencontainers.image.vendor -> Domino Data Lab
com.dominodatalab.environment.workspace-properties -> anVweXRlc...YWxzZQ==
...

@niole (cc @ddl-ikoulinitch) Richard's work here would unblock https://dominodatalab.atlassian.net/browse/DOM-36237, which would make users lives a lot easier


Plin 2645 "delete variable"  from cli capabilities

https://skuidify.atlassian.net/browse/PLIN-2645

abandoning this PR


Doc link fix

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/960
Description of changes:

Fix broken link for contributor docs
Use code-generator as source of truth for additional controller files

Tested locally by generating dynamodb controller
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


ROX-23316: Create ACS-style snapshot for each new operator-bundle

Description

Expose Git ref and repository from container image labels in the wait-for-image task (we set them on all our images)
Add new task to create a snapshot from a list of components, their image refs, git refs and repositories
Call the new task at the end of the operator-bundle pipeline to create a snapshot in the ACS-style

User-facing documentation

[x] CHANGELOG update is not needed
[x] documentation PR  is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[x] CI results are inspected

Automated testing

~[ ] added unit tests~
~[ ] added e2e tests~
~[ ] added regression tests~
~[ ] added compatibility tests~
~[ ] modified existing tests~

How I validated my change
On commit https://github.com/stackrox/stackrox/pull/13577/commits/9e85449a94539f4e842f39b2707a4660c8a1662f.

operator-bundle build: https://console.redhat.com/application-pipeline/workspaces/rh-acs/applications/acs/pipelineruns/operator-bundle-on-push-ckcw9
snapshot: https://console.redhat.com/application-pipeline/workspaces/rh-acs/applications/acs/snapshots/tm-acs-1734443588 (snapshot name can be taken from RESULTS)
EC for special snapshot: https://console.redhat.com/application-pipeline/workspaces/rh-acs/applications/acs/pipelineruns/acs-enterprise-contract-lm6cj

Latest commit might not build successfully due to ongoing s390x situation on Konflux.

/retest  main-on-push

/test main-on-push

/test operator-bundle-on-push

/test main-on-push

/test main-on-push

/test operator-bundle-on-push

/test main-on-push

/test scanner-v4-db-on-push

@msugakov I have addressed all comments except the ones regarding moving the script to the task definition.
Here is a proof run of the operator-bundle: https://console.redhat.com/application-pipeline/workspaces/rh-acs/applications/acs/pipelineruns/operator-bundle-on-push-vmkqw.
(The remaining components need to be re-added of course)
Remaining tasks:

move the script into the task definition

Some of the env vars we pass cannot be provided as args (APPLICATION, NAMESPACE, PIPELINE_RUN_NAME) as we read them from the PipelineRun object in the cluster with fieldRefs. I would put the other three into args to the script.
Ensure that all required vars are set (ie no empty strings)

Re-enable full operator-bundle pipeline
Add all components to IMAGE_REFS.

/retest operator-bundle-on-push


could not install

Hello, I' m trying to install groove-node, here's what I got.
`frederic@postefred:~$ npm install --save groove
|

<EMAIL_ADDRESS>install /home/frederic/node_modules/groove
node-gyp rebuild
Usage: gyp_main.py [options ...] [build_file ...]
gyp_main.py: error: no such option: --no-parallel
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 2
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1075:12)
gyp ERR! System Linux 3.19.0-41-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/frederic/node_modules/groove
gyp ERR! node -v v0.12.9
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 3.19.0-41-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--save" "groove"
npm ERR! node v0.12.9
npm ERR! npm  v2.14.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the groove package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls groove
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /home/frederic/npm-debug.log
frederic@postefred:~$`

I have installed the 3 libs. with sudo apt-get install .....
They show up in synaptic
I'm running ubuntu 15
Any idea ?

gyp_main.py: error: no such option: --no-parallel

I'm not sure what would cause this. Something to do with the nodejs or gyp or node-gyp installation being out of sync.

Yes, it' on Ubuntu.
I'll try to fix it by reinstalling everything.
Thanks for your reply
Merry christmas


Adding testcases for verifying bug#39655

bug#39655 : Required handling in conversion module
@grechaw @bsrikan  Charles please merge these testcases to develop so that Srikanth can pickmy changes and then add more test cases for other APIs like required handling in extraction-template-generate

OK Will do

Thank you Charles.


cannot upload files larger than few MB

https://discourse.osc.edu/t/is-it-possible-to-limit-file-upload-size/550

opening all outbound ports from ondemand to the netapp subnet is a workaround to fix this issue

new message "upload stalled for 30 seconds aborting"

https://github.com/OSC/ondemand/issues/1378

it works for one user and not for the other one, and in the home directory. moving a file from /tmp to the destination was fast.

Set the timeout option here: https://github.com/OSC/ondemand/blob/16253c2b5aa207f812f2dd92eb8e52f4ede84749/apps/dashboard/app/views/files/index.html.erb#L558
It is milliseconds and the default is 30000.


Update service-gateway-sso-kerberos-sap-bw-gx64krb.md

Per discussion with the product group, configuring both libraries on the same gateway service is an unsupported scenario. It’s not recommended to configure both libraries on the same gateway server as it’ll lead to a mix of libraries. If users want to use both libraries, they should fully separate the gateway server. For example, configure gx64krb for server A then sapcrypto for server B. Any failure for gx64krb is not supported.
So I think it's better to clarify this on official doc. For more information, please refer to this ICM.

@KrisGao-CSS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Updated the file with the changes suggested by @KrisGao-CSS under a different PR. Should be online on March 29 afternoon Redmond time. Closing this PR in the meantime.


Matrix parameters don't work

Fixes #68
NOTE: The issue was actually fixed in PR #67. This PR simply adds an explicit test.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.27%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master      #69       +/-   ##
===========================================
- Coverage   95.57%   27.27%   -68.31%
===========================================
  Files          14       14
  Lines        2192     2079      -113
===========================================
- Hits         2095      567     -1528
- Misses         97     1512     +1415

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


xcode 9.4.1 UIViewController has no member 'AnimationOptions' error

hi, I'm using xcode 9.4.1 and swift 4 version.
My pod like this : pod 'DKImagePickerController', :git => 'https://github.com/zhangao0086/DKImagePickerController.git', :branch => 'master'
but some error is occurred : Type 'UIView' has no member 'AnimationOptions'

Try this:
pod 'DKImagePickerController', '4.0.0'

Any versions higher than 4.0.0 are Swift 4.2 :)

@zhangao0086 And at some point, Xcode 10 is needed as well! Forgot what version though.

now I update my pod like pod 'DKImagePickerController', '4.0.0'
but now I'm getting DKCamera framework error

@sorianog You're right! There are no branches/tags available for Xcode9/Swift4 now.
Maybe I should create a branch for that.

@ismailtosun Please try this:
pod 'DKImagePickerController', :git => 'https://github.com/zhangao0086/DKImagePickerController.git', :branch => 'Swift4'

@zhangao0086 thanks 👍

@zhangao0086 now I'm getting DynamicBlurView and DKCamera error bro.

@zhangao0086  now I'm getting DynamicBlurView error.

@zhangao0086  help please ?

@ismailtosun Please try again :)


Bug: Background not going to edge of viewport.

Background colors and images should go to edge of viewport.

Fixed by making each section a row. May need further tweaks.


[RFE] Parallel Filestore deploy and destroy

Currently, when deploying a blueprint with two Filestore, the deployment happens one after the other.
This process is suboptimal because there is no technical reason to wait for the first Filestore to be ready before performing the next deployment.
Likewise, when destroying a cluster, Filestore resource deletion happens sequentially.
I'd like to propose improving this process and considerably shirking both deployment and deletion timelines.
WDYT?

Hi Federico,
As far as we know, that is a filestore issue. I will investigate that and come back to you shortly.

Hi Federico,
I created a simple blueprint to try to reproduce the error and, here, the instances seem to be created in parallel.
I also had the impression of seeing this sequential creation before, could it have been circumstantial (based on the number of things being already created)? Could you try again with -parallelism=20 during the terraform apply?
FYI, the yaml I used for test now was:
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---

blueprint_name: filestore-test

vars:
  project_id:  ## Set GCP Project ID Here ##
  deployment_name: filestore-test
  region: us-central1
  zone: us-central1-c

deployment_groups:
- group: primary
  modules:
  - id: network1
    source: modules/network/vpc

  - id: homefs
    source: modules/file-system/filestore
    use: [network1]
    settings:
      local_mount: /home

  - id: homefs2
    source: modules/file-system/filestore
    use: [network1]
    settings:
      local_mount: /home2

  - id: homefs3
    source: modules/file-system/filestore
    use: [network1]
    settings:
      local_mount: /home3

  - id: homefs4
    source: modules/file-system/filestore
    use: [network1]
    settings:
      local_mount: /home4

  - id: compute
    source: modules/compute/vm-instance
    kind: terraform
    use: [network1]
    settings:
      name_prefix: vm
      instance_count: 1

And the output seems to be parallel.
What do you think?

Hey Carlos,
The output is definitely in parallel but on GCP the Filestores go up one at the time.

The following test has just been done on 1.4.1

We are still working to track down if the observed behavior is a result of the terraform provider implementation or google cloud implementation.

I found the root cause of this serialization to be described here: https://github.com/hashicorp/terraform-provider-google/issues/9007
I am pursuing both the terraform and the internal Filestore team to see if we can change back the implementation in the provider and fix the underlying issue. This will take time.

https://github.com/GoogleCloudPlatform/magic-modules/pull/6672 should address the issue.

v4.41.0
 of the Terraform provider for Google Cloud removes the constraint for serial creation of Filestore instances. Any new blueprint deployment should automatically get this release of the provider. You can upgrade an existing environment by running terraform init -upgrade in an existing Terraform folder.


[gateway] Add new gateway event

The reconnect event is dispatched when a client should reconnect to the gateway (and resume their existing session, if they have one). This event usually occurs during deploys to migrate sessions gracefully off old hosts.

relevant commit

I looked into it, this already exists, so the issue should be closed.


Pcm 2238 bumping client logger to help with media helper issue

Will you squash and merge this when it's time please?


REQUEST: New membership for @pravinpushkar

GitHub Username
pravinpushkar
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/dapr/community/blob/master/community-membership.md)
[x] I have enabled 2FA on my GitHub account. See https://github.com/settings/security
[x] I have subscribed to the Dapr community Discord server
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more Dapr repositories

List of contributions to the Dapr project
PRs reviewed / authored

https://github.com/dapr/java-sdk/pull/676
https://github.com/dapr/java-sdk/pull/673
https://github.com/dapr/java-sdk/pull/670
https://github.com/dapr/docs/pull/2161
https://github.com/dapr/cli/pull/888
https://github.com/dapr/dapr/pull/4211

Issues responded to

https://github.com/dapr/cli/issues/869
https://github.com/dapr/docs/issues/2138
https://github.com/dapr/components-contrib/issues/1458
https://github.com/dapr/java-sdk/issues/659
https://github.com/dapr/java-sdk/issues/671

Approved. Invite sent. Thanks.


Bump Scala version to 1.6

Fix API deprecation versions that were changed in #15072
@roywei @lanking520

@mxnet-label-bot add [Scala]


I lost my blc in my android wallet

I just receive my blc..
The next time i see if disappear..
This is my address
B6BjpjhnHnGBAPCsSCcvkqKrHiHUedUbYZ
What am i suppose to do?

My wallet is same too and always'no connection 'on the blc panel i cant solve it I e mailed the support but no one answer


Look into creating our own Anaconda channel - what about licensing?

opshome - dist - htdocs
AI can setup apache config file.

Done


Cleanup unnecessary mailbox id ser/de

Remove the unnecessary ser/de for json mailbox id.
This PR also fixes the following bugs:

Do not use json string as the key because there is no guarantee the fields are serialized in the same order
Remove the virtual id from the hostname in ChannelManager. Currently the hostname can be 0@localhost

Codecov Report

Merging #10629 (4103c08) into master (178aa20) will decrease coverage by 13.86%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #10629       +/-   ##
=============================================
- Coverage     27.74%   13.88%   -13.86%
- Complexity       58      439      +381
=============================================
  Files          2090     2051       -39
  Lines        112642   110564     -2078
  Branches      16987    16743      -244
=============================================
- Hits          31247    15349    -15898
- Misses        78272    93960    +15688
+ Partials       3123     1255     -1868

Flag
Coverage Δ

integration1
?

integration2
?

unittests2
13.88% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...apache/pinot/query/mailbox/GrpcMailboxService.java
0.00% <0.00%> (ø)

...ache/pinot/query/mailbox/GrpcReceivingMailbox.java
0.00% <0.00%> (ø)

...apache/pinot/query/mailbox/GrpcSendingMailbox.java
0.00% <0.00%> (ø)

...he/pinot/query/mailbox/InMemoryMailboxService.java
0.00% <0.00%> (ø)

.../pinot/query/mailbox/InMemoryReceivingMailbox.java
0.00% <0.00%> (ø)

...he/pinot/query/mailbox/InMemorySendingMailbox.java
0.00% <0.00%> (ø)

...he/pinot/query/mailbox/channel/ChannelManager.java
0.00% <0.00%> (ø)

...pinot/query/mailbox/channel/GrpcMailboxServer.java
0.00% <0.00%> (ø)

... and 974 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Configure Kanban

In this project, we have:

Set up the correct template (React-Redux project).
We have assigned all the tasks equally.

Hi @SaveryIV and @iankiema,
While you made a great effort in this project, I cannot proceed to review your code.
Invalid Code Review Request
Your issue should mention the number of people attending to this project and the link to the kanban board.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hi @SaveryIV and @iankiema,
Highlights!

Descriptive issue ✔

Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Status: Approved ✔
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


@ExplicitNull Working Not As Optional

Description
@ExplicitNull should work like an optional type for decoding.
Reproducing the issue
I have objects in firestore, some objects with prev scheme of fields, if I don't have key-value for one column, the Firebase object can't be parsed, even I have ExplicitNull there
Actual result

if the value is null, convert to nil
if we don't have the key, don't decode the object

Expected result:

if the value is null, convert to nil
if we don't have the key, convert to nil (if type is optional, of course)

Firebase SDK Version
10.22.1
Xcode Version
15.3
Installation Method
Swift Package Manager
Firebase Product(s)
Firestore
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @nikitaskobelkin
What you described should be the default behavior. Have you tried not using ExplicitNull? This should get you what you want, let me know if it does not.
Thanks.

Could you please explain in a bit more details, ideally giving a concrete example? Thanks!


feat: add new link functionality

Related Issue

Resolve #5

📝 Changed routes:

/new

(view full size)

And 1 other route:

/api/new

Commit ad871d0f92ac4801ed1aa262f83ff1a16c647eed (https://notiolink-8kwb0e07x-theodorusclarence.vercel.app).


Default export not working for plugins

import auth from 'graphql-genie-authentication'; // undefined
import subs from 'graphql-genie-subscriptions'; // undefined

import * as auth from 'graphql-genie-authentication';  // [Function: authentication]
import * as subs from 'graphql-genie-subscriptions'; // [Function: subscriptions]

I think this has something to do with the rollup configuration (from what I can tell)

And I get the following TS error when I use the import * as syntax.
[ts] Cannot invoke an expression whose type lacks a call signature. Type 'typeof import("graphql-genie-subscriptions")' has no compatible call signatures.

I started looking into https://github.com/apollographql/apollo-client/blob/master/packages/apollo-client/package.json as a template to see how they set things up to work both with node/ts and browser

Hmm not sure what would be causing the undefined, do you know what you might be doing differently from the indexeddb example or the memory example as it works there.
Maybe something in your compiler options could fix it? Let me know what you find or more details to reproduce because it's definitely possible something is being exported incorrectly.

It looks like all of the examples are using either webpack/rollup with awesome-typescript-loader while I'm using tsc directly?
Looks like the examples are using module: 'es2015' in tsconfig.json and then using webpack/rollup to take care of the es2015 imports/exports.
If I switch to module: 'commonjs' I get TypeError: graphql_genie_subscriptions_1.default is not a function

Yea, it does seem to be something with how typescript creating a commonjs module handles imports but I'm not sure why. Rollup does seem to ditch the default of the export when it creates the bundles, not sure if that's something intentional or not.
A workaround for now would be getting typescript to compile with the * import so it doesn't add the .default in the result.

import * as auth from 'graphql-genie-authentication';  // [Function: authentication]
import * as subs from 'graphql-genie-subscriptions'; // [Function: subscriptions]

const subplugin = <any>subs;
genie.use(subplugin(new PubSub()));

That's a better workaround than the one I'd been using.
genie.use(
    require('graphql-genie-authentication')('USER', 'USER', 'OWNER', 'ADMIN'),
);

This should be fixed in the latest versions of the plugins.
For subscriptions I took out the rollout step and just use the typescript compile as there are no internal dependencies.
For auth I finally figured out setting the exports to named in rollup allowed it to keep the default export.


Bot not receiving messages

Webex Bot version: latest
Python version: 3.8
Operating System: Ubuntu 20 in Windows WSL

Description
Hi there! I am trying to get a bot up and running with a non-cisco webex account - but it seems the bot is never receiving messages.
I have previously used this module to create a bot, but it was all using my cisco.com webex account - and I never hit any issues. However, I am trying to create a bot using a personal email/webex account & it doesn't seem to be working.
What I Did

Created new webex bot API token on the Webex Developer site, using my personal email/webex account
pip install webex_bot
Use basic code snippet below to test
Send message from @cisco.com account - Bot receives message & responds with help card
Send message from non-cisco.com account - Bot never receives message

I also tried enabling debug logging on the bot, but I am never seeing a message come in.
Additionally, if I create a group room with my personal & cisco.com accounts in it - The bot will respond then to a direct @ message from my personal email. However, in a direct 1:1 space it seems the message never makes it to the bot.
from webex_bot.webex_bot import WebexBot
bot = WebexBot(api_token)
bot.run()

This seems to be a stange backend issue... If I use the Webex websocket test/demo page - I also never see the messages from my personal email/domain.
I signed up for another free developer account with a different personal email, and everything works fine.

This is weird, I've got the same issue, I have also tried to use the test/demo page where I can login, but nothing else happens.
I tried to create a new account, and I've got the same result... Not sure if anyone else has had this problem, any idea what to do to fix this?

I also have this issue, however, even though I created several accounts I still have the problem, if there is another possible solution, I would be grateful if you could tell me about it.


Search hangs whole application on first try sometimes

I've heard this from some other users too but without more information we can neither reproduce consistently (I don't think I've ever seen it) or fix it.
There are changes going into the web UI, especially with regards to our rewrite in AngularJS, which might fix this without us even knowing about it. Anyway, I'm closing this for now. Feel free to reopen if we have any more specific leads.


Propagate network info for containers sharing network namespaces

Fixes #1394

I'm curious why the difference from containerWithHostIPsRenderer? It would be nice to do both the same way (either way is fine).

Yeah I was thinking of pull the --net:host stuff into here as well.  Will do.

Have also realized this will not handle --net=container:containerName

Have also realized this will not handle --net=container:containerName

As discuss, this is a misfeature that we've decided not to support.

Quibble about naming, but otherwise, LGTM.


Model class hierarchy + configuration

Model class hierarchy
Configuration format, parsing, java representation

Initial dispatch implementation complete, including class hierarchy and configuration.


Engines support

Curious what the thinking is on this?
thanks for any info
edit: currently I don't think it works

Is engines support coming out soon?

Would love this too, currently, I get the following error:
Assertion failed: Error: Could not find module `dashboard/templates/head` imported from `dashboard/components/head-content`

I'm using this module indirectly via ember-page-title.

To get this working with ember-page-title I had to share 'headData' service with the engine. Also I have ember-page-titleas a dependency in the enginespackage.json. Without using ember-page-titleI believe you will need to addember-cli-head` as a dependency in there.
This might just all work on latest simply with the package as a dependency. I haven't tested as I only need this for ember-page-title at this stage.


webspaces, pages and snippets are ignored in .gitignore, is there a rule for them?

Q
A

Bug?
no

New Feature?
no

Sulu Version
1.2

Browser Version
Not Related

Actual Behavior
How does Sulu behave at the moment?
webspaces, pages and snippets are ignored in .gitignore
Question
If I want to add it to my git repo should they be situated somewhere specifically rather than app/Resources, or they should be named .dist and then copied everytime a pull and push is done?

Hi @piratadelfuturo,
when we create a new sulu project we remove the lines (https://github.com/sulu/sulu-standard/blob/develop/.gitignore#L31-44) from the .gitignore files.

@sulu/core-team maybe this should be added to the docs?

we currently working on a cleaner installation example which should replace sulu-standard. then we recommend not to pull from the installation repository. therefor this issue should be obsolet soon.


Author landing page (with all his datasets / stories)

Create author page so that people can easily find other datasets/stories from this author.

For now we're just going to add a link to author's GH account: https://github.com/datopian/datahub/issues/1274


Automatically creating a server called github can cause surprising errors

I was setting up a Maven workflow. Everything worked fine locally and I was able to publish using mvn deploy -D token=TOKEN. When I added the actions/setup-java@v1 action, things mysteriously started to fail.
It turned out it would work as long as my repository wasn't called github. You can see the workflow fails when I rename the repository/server from foobarbaz to github:
https://github.com/actions-packages-examples/maven-example/commit/b529abbd86131a0da8feb1a3404be5d93d4a63f3
If I user needs to consume any packages, they will need to create a server configuration for every repository they're consuming packages from. Having a server called github implicitly defined is likely to get in the way and cause confusion.
Could we make it so that that server-id needs to be explicitly set and isn't automatically created?

You can already override the Maven server ID with the action's server-id input and the ID github will be used by default:
https://github.com/actions/setup-java/blob/b74d5a6a962763ad3655696a314a4b34df4896c2/src/setup-java.ts#L21
https://github.com/actions/setup-java/blob/b74d5a6a962763ad3655696a314a4b34df4896c2/src/auth.ts#L10
My unscientific guess is, that this is the behavior helping the majority of all users and shouldn't be changed in order to avoid friction for the majority's use case.
https://github.com/actions/setup-java#publishing-using-apache-maven

@joschi,

My unscientific guess is, that this is the behavior helping the majority of all users and shouldn't be changed in order to avoid friction for the majority's use case.

What I don't understand it how a user would know that the following action will create a server called github with blank credentials?
- uses: actions/setup-java@v1
    with:
        java-version: 1.8

I assumed this action would simply setup Java 1.8.
Using a default server name if credentials are specified would be one thing, but creating a default server with blank credentials when no server or credentials are specified seems surprising! 😕
To put it another way, I don't understand how creating a creating a default server with blank credentials would help anyone. They won't be able to publish or consume packages using this server.

@jcansdale As far as I understand the code, the github server in the Maven configuration wouldn't be empty, but use GITHUB_ACTOR and GITHUB_TOKEN as credentials:
https://github.com/actions/setup-java/blob/b74d5a6a962763ad3655696a314a4b34df4896c2/src/auth.ts#L44-L60
The setup-java action also mentions that it's setting this up:

creating settings.xml with server-id: github; environment variables: username=$GITHUB_ACTOR, password=$GITHUB_TOKEN, and gpg-passphrase=null

https://github.com/actions/setup-java/runs/701460926?check_suite_focus=true#step:5:15

To put it another way, I don't understand how creating a creating a default server with blank credentials would help anyone.

Since it's using credentials for the GitHub repository the setup-java action is running in, you could use to it deploy artifacts in the local GitHub package repository:
https://help.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-apache-maven-for-use-with-github-packages#authenticating-with-the-github_token

@joschi ,

As far as I understand the code, the github server in the Maven configuration wouldn't be empty, but use GITHUB_ACTOR and GITHUB_TOKEN as credentials:

I wonder if this is working as intended?
Here I change my server id to github, in the hope of using the automatic configuration:
https://github.com/actions-packages-examples/maven-example/pull/7
You can see this fails with:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project my-app: Failed to retrieve remote metadata com.mycompany.app:my-app:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata com.mycompany.app:my-app:1.0-SNAPSHOT/maven-metadata.xml from/to github (https://maven.pkg.github.com/actions-packages-examples/maven-example): Authentication failed for https://maven.pkg.github.com/actions-packages-examples/maven-example/com/mycompany/app/my-app/1.0-SNAPSHOT/maven-metadata.xml 401 Unauthorized -> [Help 1]

https://github.com/actions-packages-examples/maven-example/pull/7/checks?check_run_id=707268001#step:5:487
Any idea what I'm doing wrong? 🤔

Related to #60

Automatic creation of settings.xml with github server is intentional and intended for GitHub Package Registry. The necessity of enabling this functionality by default was discussed in https://github.com/actions/setup-java/issues/79
Also this issue contains way to disable it if needs.
I will close this issue as duplicate


add a way to expand all subtree items in a Search View

Hello, I would like to have a feature that can expand all items of a subtree in Search View.
In some projects while LSP works not so well, I often use Find (with Match-Whole-Word) to help jump between defintion, implementation and references.
The search result list could be very long. Usually I View-As-Tree, and collapse all to quick narrow the scope. When navigate to some subtree, expand the subitems under the tree, this could be faster to see all results.
I noticed that there is an option "Restrict Search in Folder", but it is not viable if multiple folders in a same hierarchy.
The suggested option could make the goal within just a few clicks.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Verification steps

search for something and view as tree using this button:

collapse all of the results and try using expand recursively to expand the node.

All nested nodes should get expanded.


How can I re execute the failed jobs?

For example, I have some jobs, and they are failed after being retried for several times. But I want to schedule a timer (another bg process) to collect all the failed jobs (eg: once per hour) and re-execute them. Is it possible?

As README.md says you can do
kue.Job.rangeByState( 'failed', 0, n, 'asc', function( err, jobs ) {
  // you have an array of maximum n Job objects here
  jobs.map(function(job){ job.inactive() });
});


Provide an option to prevent terminal from scrolling to the bottom on click

Currently the terminal will scroll down to the bottom on click, even though it currently holds focus.
As was discussed in Gitter, having an option that prevents such behaviour would be really nice.

Thanks for adding an issue, I think that it would be better for you case to just don't scroll it terminal is already in focus. But adding option to disable that completely is also nice idea.

Is there currently a way to prevent scrolling when terminal is in focus?

No, I need to add this feature.

The jumping was actually never intentional, the code just focus into textarea when you clik anywere on the page, and when terminal was scrolled up it jumped to bottom because textarea was inside command line.
Right now the textarea scroll with the page so focus into textarea never jump to bottom, and there is explicit scroll_to_bottom() call in case of clicking on terminal when it's not enabled.


Fix architect.Construct to avoid throwing incorrect RangeErrors

Fix issue #78

@AkashSamlal Going to close for now my man.
If you can pull again when you made the changes we just talked about, that would be 👌


Requests skipped and bloc events not firing after reopening app

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. flutter / ios / android
Flutter

Platform Version
e.g.  1.5.0 / 12.0 / 9.0
1.20.4

Dio Version
e.g.  2.1.0 / 1.0.17
3.0.10

Android Studio / Xcode Version
e.g. Android Studio 3.3.2 / Xcode 10.2.1
VS Code

Repro rate
e.g. all the time (100%) / sometimes x% / only once
100%

Repro with our demo prj
e.g. does it happen with our demo project?
N/A

Demo project link
e.g. link to a demo project that highlights the issue
N/A

Issue Description and Steps
All requests runs flawlesly on app first run.
But if I close the app and then reopen it (or even if I rerun it through flutter run), the first request is always skipped. It even hits the point where it is called but I don't get any response at all. Actually, the request is never made (checked it using an inspector on my backend) and it acts like the function reached its end, not hitting any of lines after the request and not having a response nor exception. But the following requests work fine.
Another strange behavior that happens after reopening the app: after a given request is completed, if I add a new event to a bloc, it is never triggered.
None of these behaviors happen during the first run or using the default HTTP library.

I'm having the same issue, but it's only with certain Android devices.  The difference is that it won't work at first.  I have to close and reopen the app about 6 times before it will complete the call.

I'm having the same issue, but it's only with certain Android devices.  The difference is that it won't work at first.  I have to close and reopen the app about 6 times before it will complete the call.

An update on my case: My problem wasn't related to Dio library at all. I was using an outdated version of Geolocator library. My http requests were awaiting for fetching the location, which never completed.
@jrc2139 you should check on the libraries you've been using

An update on my case: My problem wasn't related to Dio library at all. I was using an outdated version of Geolocator library. My http requests were awaiting for fetching the location, which never completed.
@jrc2139 you should check on the libraries you've been using

@TedRibeiro thanks for the advice!  the issue ended up being device os specific.  there were other apps constantly crashing in its background that would cause my app to restart and lose its state upon returning from recents.  oh well!

@TedRibeiro thanks for the advice!  the issue ended up being device os specific.  there were other apps constantly crashing in its background that would cause my app to restart and lose its state upon returning from recents.  oh well!


improve Korean translations

Translations are done through the POEditor https://github.com/BetterDiscord/BetterDiscord/blob/main/CONTRIBUTING.md#translations

Welp, I see. So no longer able to suggest corrections atm?

You can make them through POEditor, please reach out in discord


Adding icons to data rows

I want to add 2 icons on each data row  on a specific column . Anyone has any idea how to do that ?


code blocks not redenring correctly in grip

Actual output:

Expected output:

Enviroment:
$ python --version
Python 3.8.10
requirements.txt:
certifi==2021.10.8
charset-normalizer==2.0.9
click==8.0.3
docopt==0.6.2
Flask==2.0.2
grip==4.5.2
idna==3.3
importlib-metadata==4.10.0
itsdangerous==2.0.1
Jinja2==3.0.3
Markdown==3.3.6
MarkupSafe==2.0.1
path-and-address==2.0.1
Pygments==2.10.0
requests==2.26.0
urllib3==1.26.7
Werkzeug==2.0.2
zipp==3.6.0

I'm getting the same problem on a clean python venv.
Also, the entire file seems to be in black and white, without any coloring, in and outside the code blocks.
Here's the output in Github:

And here's the output when using grip:

However links work correctly, despise not being highlighted.

I'm seeing the same issue, Python 3.8.3

This was fixed for me when I upgraded from my distro's grip-4.5.2-r2 to its current 4.6.0 version.

There was another error in the 4.6.0 version that wouldn't let me start grip itself. I just upgraded the latest version (at moment of this comment, 4.6.1) that was released today and seemed to be working


CAMEL-14137 Thread leak in camel-jetty component if maxThreads or min…

…Threads property is set

Thanks just need the license header in the unit test source code

Is this also a problem on master branch? And if so can you create a new PR for that too ?

It's already merged on master.

Is this also a problem on master branch? And if so can you create a new PR for that too ?

already done, this is a backport  of 3315


GEODE-6891: Maintain local copy of SerialQueueBytes

DistributionStats.getSerialQueueBytes(). If stats are disabled then the
throttling would be disabled. Someone needs to maintain this value in a
local atomic.
Co-authored-by: Murtuza Boxwala<EMAIL_ADDRESS>Co-authored-by: Kamilla Aslami<EMAIL_ADDRESS>Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@pivotal-jbarrett @dschneider-pivotal Could you please review this PR?


Linkis1.0 Report to perform tasks： select list is not in group by clause

Search before asking

[X] I searched the issues and found no similar issues.

Linkis Component
linkis-commons
What happened + What you expected to happen
Linkis1.0 Report to perform tasks： select list is not in group by clause
Relevent platform
.
Reproduction script
.
Anything else
This question comes from the QA documentation of the Linkis community
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

A: The problem is that in MySQL version 5.8, due to the mode default value set globally, the following line needs to be executed in MySQL cli: set global SQL_ mode=

(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));


Qstash POST request to GET-only endpoint results in 405 error

Hi @chronark , I have a question about Qstash. Does it support GET requests in addition to POST requests? Our team is developing an uptime monitoring app for our SaaS product, and we have encountered an issue where some pages only support GET requests. Qstash is currently sending POST requests to these pages, which is causing a 405 error to be thrown. Is there a way to fix this issue, such as using a proxy method or configuring an option within Qstash?
Thank you for your help with this matter.

Hey @Spikeysanju ,
Currently QStash is only capable of sending post requests.
However multiple people requested this and I'll talk to the team about adding this.
In the meantime you could Instead use a serverless function to proxy the request.
Qstash sends a post to the serverless function, which then does the GET request.
It's not ideal but should allow you to run this until we add native support

Available in v2 using Upstash-Method: GET headers


Swift support, revisited.

The version in repo/swift is obsolete and doesn't work. So I tried to upgrade to another one, but it doesn't work.
https://github.com/alex-pinkus/tree-sitter-swift
I tried to add this one to the repos. The tests fails for emojis, but otherwise it reports that it works. But it doenst load. But the tree-sitter-debug-mode seems to be correct.
I tried to make this work with Emacs but I got errors everytime:
tree-sitter-after-on-hook: (tsc-query-invalid-structure "(for_statement item: (simple_identifier) @variable)
               ^" (76 . 15) 1922)

I also got a different error that 'actor' isnt known.
The one that works (but its still a bit buggy) is: https://gitlab.com/woolsweater/tree-sitter-swifter.git
But for some reason I cant make it work again for M1 Silicon macs. Only x86.

It works now. I think we should update repo/swift to this one. No problems using Silicon nor x86 versions.


hello

Hi there, libsoundio developer here. I'm just curious about your project. It looks cool. What are some of the goals?
I'm looking forward to collaborating and cross-referencing each other's code in order to solve bugs.

This repo contains the audio input and output code for the Firefox web browser. It's a separate library so it's easier to work on.
It's supposed to support all the platforms that Firefox supports (Windows XP and up, OSX 10.6 and up, Linux Pulse/Alsa/Jack, sndio, Android 2.3 and up, and even OS/2), and have all the features needed to implement what is needed for a web browser (Web Audio API, <audio> and <video>, WebRTC), in particular, synchronized audio input/output, low latency channels, device enumeration, etc.

Thanks for the info. Sounds like it's going to be a high quality project.


No files shown in folders mounted from NAS

Hi
I've been using a previous docker image on my NAS but saw you had updated yours to the new application and have tried it.
Downloading & setting up are fine, same as logging in and transfering ownership.  When I go to select the right directories however, the docker can see them but doesn't show any files from the shares meaning nothing gets backed up.
Is this intended behaviour in that the docker image cannot actually see the file as the older ones could.  Any help is appreciated!
Cheers
Chris

So you mapped the /storage folder and see nothing inside it?  Then it’s most likely a permission/ownership issue.  Make sure to run the container with the same user/group as your files on the host.  You can look at the README, there is a section about that under « Troubleshooting ».

I am having the same issue. I tried following your guide and changed the advanced environment settings from the pre-made container to 500 for userid and 0 for group. This had no effect to the files displaying properly. I can see the root folders that I want to back up but any content inside those folders do not show up. I have tried installing this with the SSH command line also with the same results. I did not see in the readme how to set it up with the CLI command to set up the container.
Do I need to create a new container every time I want to change one of these variables? I did not see a way to modify the variables even with the container stopped.

@Nappa231, what is the docker command you used to create the container?

I used this command on my QNAP NAS via SSH.
docker run -d --name=crashplan-pro-gui-1 -p 5800:5800 -v /share/CACHEDEV1_DATA/Container/config/crashplan-pro:/config:rw -v /share/CACHEDEV1_DATA:/storage:ro jlesage/crashplan-pro

And inside /share/CACHEDEV1_DATA/, are all the files and sub-folders have the same ownership (same user, group)?

I have the admin account that has RW access and 1 other account that has RW access to everything.

What we need to know is which user/group owns your files.
For example, you can execute:
ls -l /share/CACHEDEV1_DATA/* && ls -l /share/CACHEDEV1_DATA/*/*
You can provide a snippet of the output to give an idea of how permissions are set.
If everything seems to be owned by the same user, then you can run id <user> to determine its ID and the one of its group.

Here is a snippet of one of the primary folders I am backing up.

So your files are owned by at least two different users.
What about the output of:
cat /etc/passwd
cat /etc/group

Here you go

Depending on what you want to backup, the following command should work:
docker run -d --name=crashplan-pro-gui-1 -p 5800:5800 -e USER_ID=500 -e GROUP_ID=100 -v /share/CACHEDEV1_DATA/Container/config/crashplan-pro:/config:rw -v /share/CACHEDEV1_DATA:/storage:ro jlesage/crashplan-pro

This should give the container access to all files owned by user "Scott".
If you want to backup files for other users as well (e.g. the "VM" folder), then I guess you have to use the "admin" user (USER_ID=0 and GROUP_ID=0).

I set both User_ID and Group_ID to 0 and this is what I see after sync is done in docker.

Inside the container, you should access your files under /storage, not /share.

Well ... I feel dumb now LOL

From what I can tell it is trying to back up the folders from /share not /storage. I discovered I can manually change the backup folders on the Crashplan website but I would have to back my data up all over again because it considers it all to be in a new location.

Did you initially backup your data with another CrashPlan instance?

If yes, the you would typically have files marked as « missings ».  Just select the files again under /storage.  Because of deduplication, your files won’t be re-uploaded again.

I was using the Dynek Qnap package for CP Home. As far as the <> I do not see that as the file path is completely different. See below:

And then after I change to where my files are in storage

It is not defaulting to the /storage locations to look for my existing files. Instead it created the folder in /share after I downloaded one of my backed up items from my current backup and put it there automatically. I put a large file in one of my backup locations and it does not back it up because it is looking at /share for file changes.

Not sure to follow you, but instead of mapping /storage, you can map /share when creating the container.

When I tried the following code it is unable to connect to the service and times out.
docker run -d --name=crashplan-pro-gui-1 -p 5800:5800 -e USER_ID=0 -e GROUP_ID=0 -v /share/CACHEDEV1_DATA/Container/config/crashplan-pro:/config:rw -v /share/CACHEDEV1_DATA:/share:ro jlesage/crashplan-pro

I think you hit another separate issue.  If you go back and map /storage instead, it works again?

You're right. It does not. I have rebooted the QNAP and it still can not connect to the background service. It is as if the Crashplan service is not running anymore. I do not know how to start the service. I guess I am kinda stuck now lol.

In the appdata, open the conf/my_service.xml file and check if the serviceHost is set to:
<IP_ADDRESS>
If not, try to modify it and start/restart the container.

I think I found the root cause for this connectivity issue.  Looks like localhost resolves to your NAS IP address instead of <IP_ADDRESS>.  You can confirm with this command:
docker run --rm jlesage/crashplan-pro nslookup localhost
I'm working on a fix for this :)

I set up the container using these instructions https://github.com/jlesage/docker-crashplan-pro/issues/8 and it found my files and everything is up to date on the crash plan side. I stopped the container and updated the my_service.xml file  and then re-started the service and am back to it being unable to connect to the background service. I also ran the command you stated above and got this result.
Name:      localhost
Address 1: ::1 localhost
Address 2: <IP_ADDRESS> localhost
nslookup: can't resolve '(null)': Name does not resolve

Can you try these commands (the container should run):
docker exec crashplan-pro-gui-1 nslookup localhost

docker exec crashplan-pro-gui-1 cat /etc/hosts

And also:
docker inspect crashplan-pro-gui-1

Do I need to have the container stopped before running these commands?

No, the container need to run.

1st Command:
docker exec crashplan-pro-for-QNAP nslookup localhost
nslookup: can't resolve '(null)': Name does not resolve
Name:      localhost
Address 1: ::1 localhost
Address 2: <IP_ADDRESS> localhost
2nd Command:
docker exec crashplan-pro-for-QNAP cat /etc/hosts
<IP_ADDRESS>       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
<IP_ADDRESS>        06a0fa3391ac
3rd Command:

[~] # docker inspect crashplan-pro-for-QNAP
[
{
"Id": "06a0fa3391acdd2faa7e0455f3f4a23bd1ffb00e03160b7d57fc77a1df78f077",
"Created": "2017-12-14T02:09:36.044880957Z",
"Path": "/init",
"Args": [],
"State": {
"Status": "running",
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 18401,
"ExitCode": 0,
"Error": "",
"StartedAt": "2017-12-14T03:32:56.830923328Z",
"FinishedAt": "2017-12-14T03:32:05.416717059Z"
},
"Image": "sha256:bfa751ed46644df4ce3a0af650867ca95571a55f50123bf82992ddd4f9141e1a",
"ResolvConfPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/06a0fa3391acdd2faa7e0455f3f4a23bd1ffb00e03160b7d57fc77a1df78f077/resolv.conf",
"HostnamePath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/06a0fa3391acdd2faa7e0455f3f4a23bd1ffb00e03160b7d57fc77a1df78f077/hostname",
"HostsPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/06a0fa3391acdd2faa7e0455f3f4a23bd1ffb00e03160b7d57fc77a1df78f077/hosts",
"LogPath": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/containers/06a0fa3391acdd2faa7e0455f3f4a23bd1ffb00e03160b7d57fc77a1df78f077/06a0fa3391acdd2faa7e0455f3f4a23bd1ffb00e03160b7d57fc77a1df78f077-json.log",
"Name": "/crashplan-pro-for-QNAP",
"RestartCount": 0,
"Driver": "overlay",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/share/Container/appdata/crashplan-pro:/config:rw",
"/share:/share:rw"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {
"5800/tcp": [
{
"HostIp": "",
"HostPort": "5800"
}
]
},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"StorageOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DiskQuota": 0,
"KernelMemory": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": -1,
"OomKillDisable": false,
"PidsLimit": 0,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"BlkioIOps": 0,
"BlkioBps": 0,
"SandboxSize": 0
},
"GraphDriver": {
"Name": "overlay",
"Data": {
"LowerDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay/81917bc9b873dd2a505fa2753c710941d81d6af8c08c37a641b08b09810e580a/root",
"MergedDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay/0098c28c213c6111c004bbbf104944f8951b10febaf558dabf766921bb6e92d0/merged",
"UpperDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay/0098c28c213c6111c004bbbf104944f8951b10febaf558dabf766921bb6e92d0/upper",
"WorkDir": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/overlay/0098c28c213c6111c004bbbf104944f8951b10febaf558dabf766921bb6e92d0/work"
}
},
"Mounts": [
{
"Source": "/share/Container/appdata/crashplan-pro",
"Destination": "/config",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Source": "/share",
"Destination": "/share",
"Mode": "rw",
"RW": true,
"Propagation": "rprivate"
},
{
"Name": "584a6f4bbc326d6911cf994d327ec93e46cf071ed07ac84079e4627ffee73807",
"Source": "/share/CACHEDEV1_DATA/Container/container-station-data/lib/docker/volumes/584a6f4bbc326d6911cf994d327ec93e46cf071ed07ac84079e4627ffee73807/_data",
"Destination": "/storage",
"Driver": "local",
"Mode": "",
"RW": true,
"Propagation": ""
}
],
"Config": {
"Hostname": "06a0fa3391ac",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5800/tcp": {},
"5900/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"USER_ID=0",
"GROUP_ID=0",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=en_US.UTF-8",
"S6_BEHAVIOUR_IF_STAGE2_FAILS=3",
"S6_SERVICE_DEPS=1",
"APP_NAME=CrashPlan for Small Business",
"APP_USER=app",
"XDG_DATA_HOME=/config/xdg/data",
"XDG_CONFIG_HOME=/config/xdg/config",
"XDG_CACHE_HOME=/config/xdg/cache",
"DISPLAY=:0",
"DISPLAY_WIDTH=1280",
"DISPLAY_HEIGHT=768",
"S6_WAIT_FOR_SERVICE_MAXTIME=10000",
"KEEP_GUIAPP_RUNNING=1",
"CRASHPLAN_DIR=/usr/local/crashplan",
"JAVACOMMON=/usr/local/crashplan/jre/bin/java"
],
"Cmd": [
"/init"
],
"Image": "jlesage/crashplan-pro",
"Volumes": {
"/config": {},
"/storage": {}
},
"WorkingDir": "/tmp",
"Entrypoint": null,
"OnBuild": null,
"Labels": {
"org.label-schema.description": "Docker container for CrashPlan PRO",
"org.label-schema.name": "crashplan-pro",
"org.label-schema.schema-version": "1.0",
"org.label-schema.vcs-url": "https://github.com/jlesage/docker-crashplan-pro",
"org.label-schema.version": "2.0.1"
}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "d43e29d86b94b52dc361cf08be3411820b21abca07b9937645e23a7002835da3",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"5800/tcp": [
{
"HostIp": "<IP_ADDRESS>",
"HostPort": "5800"
}
],
"5900/tcp": null
},
"SandboxKey": "/var/run/docker/netns/d43e29d86b94",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "f1baf69afb2632ba12d35bb44ddb626ee6600afe875530adcbdd461f02a81e5c",
"Gateway": "<IP_ADDRESS>",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 24,
"IPv6Gateway": "",
"MacAddress": "02:42:0a:00:03:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "e21a4126f02960528e038ff47e4f7bb4b476a178f87235896180a2ed5febed2e",
"EndpointID": "f1baf69afb2632ba12d35bb44ddb626ee6600afe875530adcbdd461f02a81e5c",
"Gateway": "<IP_ADDRESS>",
"IPAddress": "<IP_ADDRESS>",
"IPPrefixLen": 24,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:0a:00:03:02"
}
}
}
}
]

What is the NAS IP address that was written in my_service.xml?
Other commands to try:
docker exec crashplan-pro-gui-1 cat /etc/resolv.conf

docker exec crashplan-pro-gui-1 cat /etc/nsswitch.conf

It was <IP_ADDRESS> which is my NAS IP. I don't know where the 10.0.x.x IP scope is coming from.
[~] # docker exec crashplan-pro-for-QNAP cat /etc/resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
[~] # docker exec crashplan-pro-for-QNAP cat /etc/nsswitch.conf
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
[~] #

If this is a NAS box, check to see that /etc is really /etc.  For example, the Synology boxes actually have their /etc data in a different fold.  In their case /etc.defaults .  It is that folder that the Synology operating system is reading.  They have a /etc folder but as far as I can tell nobody actually reads it.
Perhaps you configuration changes are not taking for a similar reason.
From: Nappa231<EMAIL_ADDRESS>Sent: Thursday, December 14, 2017 9:20 AM
To: jlesage/docker-crashplan-pro<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [jlesage/docker-crashplan-pro] No files shown in folders mounted from NAS (#12)
It was <IP_ADDRESS> which is my NAS IP. I don't know where the 10.0.x.x IP scope is coming from.
[] # docker exec crashplan-pro-for-QNAP cat /etc/resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
[] # docker exec crashplan-pro-for-QNAP cat /etc/nsswitch.conf
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
[~] #
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/jlesage/docker-crashplan-pro/issues/12#issuecomment-351759438, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHjxRpdyrpDcmpxjFshXV5OiuhNTeW_jks5tAUrJgaJpZM4Q72nc.

The 10.0.x.x IP scope is for the internal Docker network.
I really don't know why the IP get changed in my_service.xml.  I thought it was related to an incorrect DNS resolution of localhost, but it doesn't seem to be the case.
Can you try to start another instance (no need to map any folder), see that the UI can connect to the engine (no need to sign in), wait a little bit and then restart the container and see if it's still working?  I would like to see if you have the issue if you don't connect to your account.

Also, I read a comment from another user telling that the connection issue may occur only when replacing a device.  Is it your case?

This may be a naive suggestion, but I had a similar problem, and it turned out that while I had remote disks mounted on my NAS, I had not made them accessible inside the docker container.  For each of those remote disks, I needed to add a "-v" option to the command starting the container.  Once I did that, the files within the directories mounted were visible.  On my NAS, I am also able to mount a disk from the docker UI without restarting.

I am sorry I have not responded to this thread. I got busy due to the Holidays. I have not had the error return with the my_service.xml. I have rebooted the nas and updated the firmware and the Docker Container is still working and linking back up to Crash Plan. Thanks for all the assistance.


fix ci

simple :)
image job ran successfully in my fork https://github.com/cpanato/peribolos/actions/runs/1962207697

forgot the tests, fixing 🤦

i will merge to continue the work, hope that is ok Stephen :)


Use PostCSS 5 API

PostCSS Plugin Guidelines are mandatory right now. Because all of rules are about ecosystem health.

Any updates?

Welp, I want to use this module but I can't, because it's too inefficient right now :/ I'm already using other stuff with postcss, and I don't want to parse it, run some things on it, turn it back into CSS, and then parse it again to use this!
Is that what this issue is about? Would be good to have it as an actual postcss plugin.

+1 for actual postcss plugin

Is there any way I can help with this? We've been waiting a couple months to use this library, but the performance impact right now would be too much, because we're already using autoprefixer.

/cc @iamvdo

Fixed in<EMAIL_ADDRESS>