Can select duplicated skills in person form

The skills list in person form should not allows adding multiple skills with the same name.

resolved in #27


JSON parsing of empty strings as uuid.Nil

Would it be possible/desirable to support parsing empty strings in JSON as uuid.Nil?
Currently it generates "invalid UUID length: 0": https://play.golang.org/p/K4y-DFj44Z6

I would also be interested in any general suggestions on how this can be worked around. In our case we are trying to support JSON from an other UUID library which decodes nil as "".

I would also be interested in any general suggestions on how this can be worked around. In our case we are trying to support JSON from an other UUID library which decodes nil as "".

Probably not ideal, but you could do something like https://play.golang.org/p/om22wkP5OAj
You could use github.com/pborman/uuid instead:  https://play.golang.org/p/aZVmu5z0_31.
My concern here is that the uuid.Nil is actually a UUID while "" or JSON's nil implies there is no UUID at all.  The UUID type has no way to express that, unless you use a pointer to UUID.  This type of change may also break existing code as it would now treat "" and "00000000-0000-0000-0000-000000000000" as the same where before it did not.  It is unfortunate that the standard JSON encoder/decoder does not enable the registration of customers encoding/decoding for existing types.  (Apparently bson in mongodb does.)
The github.com/pborman/uuid does have the notion of a nonexistent UUID as a UUID is []byte instead of [16]byte.  The google package originally was a fork of the pborman package to make uuid.UUID comparable and hence the ability to directly use as a key.  The pborman package now is basically a wrapper around this package.  (Both packages are by the same author.)

Probably not ideal, but you could do something like https://play.golang.org/p/om22wkP5OAj
You could use github.com/pborman/uuid instead:  https://play.golang.org/p/aZVmu5z0_31.
My concern here is that the uuid.Nil is actually a UUID while "" or JSON's nil implies there is no UUID at all.  The UUID type has no way to express that, unless you use a pointer to UUID.  This type of change may also break existing code as it would now treat "" and "00000000-0000-0000-0000-000000000000" as the same where before it did not.  It is unfortunate that the standard JSON encoder/decoder does not enable the registration of customers encoding/decoding for existing types.  (Apparently bson in mongodb does.)
The github.com/pborman/uuid does have the notion of a nonexistent UUID as a UUID is []byte instead of [16]byte.  The google package originally was a fork of the pborman package to make uuid.UUID comparable and hence the ability to directly use as a key.  The pborman package now is basically a wrapper around this package.  (Both packages are by the same author.)

Thanks for the explanation!
The library I'm authoring (https://github.com/looplab/eventhorizon) just switched away from using our own UUID type, so I would rather not go back to that if possible to avoid.
Could it be an alternative (or even possible) to support parsing of "" as nil when the a UUID struct member is a pointer?
type S struct {
    ID *uuid.UUID
}

Thanks for the explanation!
The library I'm authoring (https://github.com/looplab/eventhorizon) just switched away from using our own UUID type, so I would rather not go back to that if possible to avoid.
Could it be an alternative (or even possible) to support parsing of "" as nil when the a UUID struct member is a pointer?
type S struct {
    ID *uuid.UUID
}

Did you look at using github.com/pborman/uuid (as I mentioned, it is a wrapper around the google UUID package)?  It appears your example works just fine when using the pborman version.  https://play.golang.org/p/aZVmu5z0_31
I have no idea how prevalent this issue is in your code base.  Is there a limited number of places this impacts you or is it external code that gets impacted?

Did you look at using github.com/pborman/uuid (as I mentioned, it is a wrapper around the google UUID package)?  It appears your example works just fine when using the pborman version.  https://play.golang.org/p/aZVmu5z0_31
I have no idea how prevalent this issue is in your code base.  Is there a limited number of places this impacts you or is it external code that gets impacted?

Yes, I looked at github.com/pborman/uuid and it looks like it could work. However I would prefer to use github.com/google/uuid for now.
My main reason for supporting parsing "" is to be backward compatible with a relatively large MongoDB database in an external project. I could migrate all empty IDs to uuid.Nil and not be backward compatible in that regard, but due to the nature of the document store with some deeply nested documents it's very hard to guarantee that all IDs are properly migrated. I have to think some more on the trade offs here.
Thanks for the advice so far!
Also, feel free to close the issue if you wish.

Yes, I looked at github.com/pborman/uuid and it looks like it could work. However I would prefer to use github.com/google/uuid for now.
My main reason for supporting parsing "" is to be backward compatible with a relatively large MongoDB database in an external project. I could migrate all empty IDs to uuid.Nil and not be backward compatible in that regard, but due to the nature of the document store with some deeply nested documents it's very hard to guarantee that all IDs are properly migrated. I have to think some more on the trade offs here.
Thanks for the advice so far!
Also, feel free to close the issue if you wish.

Best of luck.  If you have more questions, feel free to re-open or open a new issue.

Best of luck.  If you have more questions, feel free to re-open or open a new issue.

I have a similar problem, I like this UUID library (due to UUIDs being comparable) but need to work with a misbehaving JSON based API. As a workaround I created a small wrapper to allow for unmarshaling of empty and malformed UUIDs:
https://github.com/skagget77/uuidnil
Maybe this can help you out as well.


Add player-played-yuumi notification

When a player locks in yuumi (just-in-game-notificaiton), notify the server of the disgrace. Bonus points if the Yuumi accidentally picked smite.

Maybe move this to a game start notification?


Add support for an optional local consul agent

In some environments, it's useful to have a consul agent for vault.
This patch adds an optional agent to vault's pod.  It is can be turned
on by defining consulAgent.join to point to a consul server.

/assign @foxish

/ok-to-test

/lgtm


feat: add ecAdd precompile

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

There is no ecAdd implementation.
Resolves #362
What is the new behavior?

Implements ecAdd precompile and a unit test.

Other information

Time spent on this PR:  1 day

I included some bigint utils for next elliptic curve operations and tests

resources check is ok,

go for merge


Making the boot time of the validator slightly faster…

By combining the process of reading and flipping into one. This eliminates the need for an additional O(n) operation.

Nice, I see what you did here! Have you benchmarked this? It will be interesting to see the results of the two operations side by side?. I know yours reduces the amount of information loaded into the  PHP memory  @blaise-zaga

@blaise-zaga For starters, you can use PHP microtime function to just measure how long it takes, For better profiling you can use XDebug.
$start = microtime(true);

for ($i=0 ; $i<100000 ; $i++) {
    serialize($list);
}

$end = microtime(true);
echo ($start-$end)/$i . " sec";

Something like this ⬆

Any progress on this? @blaise-zaga


Reduce amount of data required by tests

Running the test cases produces about 15MB of data in the cache (i.e downloaded from TheTVDB)

Closing in favour of #185


Seconds

Hey, This is really helpful, but I need seconds as well as minute. Can that be added?

No, I don't think so. The purpose of this library is to mimic the behavior of cron, and that doesn't include seconds.


Check for NUL in access_token request form

https://www.pivotaltracker.com/story/show/148694671
https://www.pivotaltracker.com/story/show/148455555

added check for NUL (\0) char in request form fields for `oauth/token' endpoint

This is a tricky situation, because our code in auth.access_token() is wrapped by the actual built-in flask oauth token_handler functionality; prior to this in fact, our access_token() method did nothing but return None. So we can't just wrap it in a try/except and handle the ValueError, because the sqlalchemy logic is happening outside of what we can control. We also can't modify the request.form fields (and just convert the data into something acceptable), because the object's immutable.
Current approach is just to straight-up check for the invalid NUL char in all the fields before continuing on. Open to other approaches though, especially if there's a straight-up validation check for sqlalchemy string literals that I'm not aware of.

@OptimusRhine I agree, this is complicated.
The check you added looks fine, except I don't believe it'll ever get run.  Don't you think such an input would raise an error in the @oauth.token_handler decorator first?
As I recall, this issue was filed to confront noise from the penetration testing.  We may just have to live with the noise - I don't believe it generated an actual exploit?

@pbugni No, whatever code we add here gets run before the rest of the built-in token_handler code. I tested it, and this fix definitely catches NUL chars in the input fields before anything else is attempted with them. So it is effective, even if it's a little hacky.
If we don't care about that error popping up in the logs, I'm fine with not merging this. But it does work as a validation check, if we do want to avoid that noise.


Using Glide to cut external images?

There is the possibility of using Glide to cut external images?
In my case I would use in my project, YouTube videos of images (eg "http://img.youtube.com/vi/kOkQ4T5WO9E/0.jpg").
Any tips on how to do?
Thank you in advance.

Yes, this is possible. This can be done using an HTTP adapter for Flysystem. Basically you need to setup this HTTP adapter as your Glide "source". I've tested this with this library quite a while ago, and it worked great from what I remember.
Good luck!


Typescript definition file

We use this lib with a .d.ts file that looks as follows:
declare module "react-native-web-modal" {
  const Modal: typeof import("react-native").Modal
  export = Modal
}

Would be great if the lib could do something similar

plz

This issue will be on my top priority if I have time. I will rewrite to TS if if possible

A quick fix for the 'modal-enhanced-react-native-web' based on @TikiTDO post.
declare module "modal-enhanced-react-native-web" {
  const Modal: typeof import('react-native-modal').ReactNativeModal
  export = Modal
}

modal is now supported in react native web.
https://github.com/necolas/react-native-web/releases/tag/0.14.0
Thank you for using this library!


buildah bud --squash functionality missing

Description
buildah bud --squash is missing and needs to be provided.  This is functionality that Docker has.
#599 is the parent issue for this issue.
Output of buildah version:
Buildah v0.16

@rhatdan, if it is the default buildah behaviour, should buildah accept the parameter and not modify behaviour? otherwise scripts for docker using the parameter will fail with unknown parameter from buildah bud.
Good example of this behaviour in the --rm issue #598

Yes we can add the flag and make it a noop or make --squash=false == --cache=true.
Then make --cache and --squash conflict.  I am fine with that.

But if I had my druthers I would love to someone working on --cache=true.

I attempted to play around with this on Docker-ce and I can not get it to work.
# cat ~/Dockerfile
FROM alpine

CMD /bin/bash

Tried to build with squash and it complains.
# docker build --squash -f ~/Dockerfile -t squash ~/
Sending build context to Docker daemon  157.6MB
Step 1/2 : FROM alpine
 ---> 3fd9065eaf02
Step 2/2 : CMD /bin/bash
 ---> Using cache
 ---> b2aa3766f486
error squashing image: error getting tar stream to parent: layer ID 'sha256:cd7100a72410606589a54b932cabd804a17f9ae5b42a1882bd56d263e02b6215' is not a parent of the specified layer: cannot provide diff to non-parent

Built without squash and then tried to  use new image with squash and failed again.
cat ~/Dockerfile1
FROM squash1

CMD /bin/sh

# docker build --squash -f ~/Dockerfile1 -t squash2 ~/
Sending build context to Docker daemon  157.6MB
Step 1/2 : FROM squash1
 ---> b2aa3766f486
Step 2/2 : CMD /bin/sh
 ---> Using cache
 ---> 2d6236f18d96
error squashing image: error getting tar stream to parent: layer ID 'sha256:cd7100a72410606589a54b932cabd804a17f9ae5b42a1882bd56d263e02b6215' is not a parent of the specified layer: cannot provide diff to non-parent

We now have squash.


Handle endianness for non-native integers

To test in the CI, perhaps we could easily build a cross-compiler using one of these tools:

https://crosstool-ng.github.io/
https://www.embtoolkit.org/
https://gist.github.com/preshing/41d5c7248dea16238b60

cc @glaubitz You probably want to watch this issue since you're interested in m68k, which is Big Endian.

cc @glaubitz You probably want to watch this issue since you're interested in m68k, which is Big Endian.

Thanks for the heads-up! Much appreciated!

@glaubitz : A good test you might want to do would be to cross-compile the tests of libcore to m68k and see if it works. I couldn't do it when I tested on m68k because there was no support for it in libc back then.
That might show some other things that need to be fixed.

@glaubitz : A good test you might want to do would be to cross-compile the tests of libcore to m68k and see if it works.

OK, but first I need to figure out how to build a cross-compiler using the GCC backend in the first place. I haven't tried your guide yet.

I couldn't do it when I tested on m68k because there was no support for it in libc back then.

m68k support in libc is complete now, but the rustc source tree has not updated to the latest version of libc due to a Illumos-related change breaking the CI (it's being worked on).
I guess I can start adding support for alpha, hppa, ia64 and sh to libc as well.

That might show some other things that need to be fixed.

OK.

@glaubitz: I created this repo that builds a cross-compiler for m68k for the CI.
It currently requires the git version of crosstool-ng.
There's upcomming support for m68k in the CI!
I still need to write some instructions about this, but it should now be much simpler to test cross-compiling with rustc_codegen_gcc.

@glaubitz: I created this repo that builds a cross-compiler for m68k for the CI. It currently requires the git version of crosstool-ng.
There's upcomming support for m68k in the CI! I still need to write some instructions about this, but it should now be much simpler to test cross-compiling with rustc_codegen_gcc.

Thanks. Since my employer will allow me to work on whatever FOSS project I want for a week in the second week of November, I now have a project for that week. ;)

Nice. I added the instructions to build a gcc cross-compiler here.
The rustc_codegen_gcc CI for m68k is merged.
@glaubitz: Do you want that I test building a cross-compiler with crosstool-ng for other architectures?
I'm asking because it required a change to this tool in order to be able to build a cross-compiler for m68k using glibc.
So, I could see if stuff is missing for those other architectures and hopefully have that fixed before your tests.

I would like to enable this backend for as many architectures in Debian without Rust support as possible.
The next candidate for this would be hppa for which @hdeller has already started working on support for rust-libc.

Do you use the glibc as well for HPPA or do you use another c library?

Yes, glibc.

@glaubitz: I forgot to mention: GCC uses a different ABI for m68k than the one currently used in Rust, so you might need to add a new Rust target using the GCC ABI. I'm not too familiar with all this, so I'm not sure what would be needed.

@glaubitz: Do you know which programs you plan to compile for Debian? I could try to compile them and fix bugs I find.

I am currently most interested in cargo and librsvg.

So, I tried compiling those projects and I'm in the process of fixing some issues. This should be all working for x86 when this PR is merged.
When trying to compile cargo for m68k, I get the following error:
error[E0432]: unresolved import `crate::general`
   --> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linux-raw-sys-0.4.10/src/lib.rs:139:16
    |
139 |     use crate::general::__kernel_fd_set;
    |                ^^^^^^^ could not find `general` in the crate root

so it looks like at least one crate will need to be updated.
And for librsvg, I got this error:
  thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yeslogic-fontconfig-sys-4.0.1/build.rs:8:48:
  called `Result::unwrap()` on an `Err` value: "pkg-config has not been configured to support cross-compilation.\n\nInstall a sysroot for the target platform and configure it via\nPKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a\ncross-compiling wrapper for pkg-config and set it via\nPKG_CONFIG environment variable."

So, I assume you'll have to setup pkg-config properly.

@glaubitz: Have you got the chance to try compiling those projects for m68k?

@glaubitz: Have you got the chance to try compiling those projects for m68k?

Unfortunately not. I have been very busy with fixing bugs on SuperH and SPARC.
I hope to get around working on m68k again during the holidays. We're planning to switch the default alignment on m68k from 16 to 32 bits which should alleviate many portability problems.

@antoyo Do you have a guide on how to get started adding a new architecture to rustc using rustc_codegen_gcc?
I have heard from people in the Dreamcast community that they had success with sh-elf using rustc_codegen_gcc, so I would like to add sh4-unknown-linux-gnu using this backend.

@glaubitz: Let's continue the discussion here instead.


mocha.opts file not respected by mocha

I use a mocha.opts file to specify the settings to pass to mocha. Since it's in the conventional location ./test/mocha.opts in my project, mocha is able to pick it up automatically when I just run mocha on the command line.
mocha-sidebar didn't pick this up by default, and didn't seem to respect the mocha.opts settings when I added the following config setting (assuming the items in this object basically just get passed as arguments to mocha):
{
  "mocha.options": {
    "opts": "./test/mocha.opts"
  }
}

It would be nice to not have to keep my settings in sync across ./vscode/settings.json and mocha.opts. Any idea how I could get mocha-sidebar to pick up this config when running mocha?

I Will try to parse it coz there is now API to pass it directly when running mocha from code

Any update on this?

Note that mocha v6 now supports, in addition to the legacy "/test/mocha.opts" file, a "/.mocharc.js", a "/.mocharc.json", a "/.mocharc.yaml", and allows specifying settings in package.json.  Details are here.  (The .js one is especially nice, because you can put comments in it.  😃)

Note that mocha v6 now supports, in addition to the legacy "/test/mocha.opts" file, a "/.mocharc.js", a "/.mocharc.json", a "/.mocharc.yaml", and allows specifying settings in package.json. Details are here. (The .js one is especially nice, because you can put comments in it. 😃)

@jwalton I tried this, but the sidebar is still not the new config file. Did you actually get it to work?

No, I don't think it supports any of these.  :/

I'm currently working on major refactoring after this it will be much
easier to add new features
On Fri, Apr 12, 2019, 8:10 PM Jason Walton<EMAIL_ADDRESS>wrote:

No, I don't think it supports any of these. :/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/maty21/mocha-sidebar/issues/84#issuecomment-482651420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE_nubv2xihQRIMyVki6B-nDaN0m9y1Yks5vgL3qgaJpZM4S6agZ
.

If you're interested in some help, I'd be happy to submit a PR for reading mocha config after your major refactor and the unrelated major refactor I'm working on right now on my project.  ;)

Seems like it is still not working for me. Any update on this?

https://mochajs.org/api/module-lib_cli_options.html#.loadOptions <- This might be of interest?

I hope the configs can be used soon then i can use this extension too :D

It would be great to check for a .mocharc file in the sidebar directory.

I was able to get it working by changing the plugin settings to support typescript and a different UI view the mocha options settings.

Hi guys. I found the solution for .mocharc.js file support. It looks like a workaround but works for me.
Open your settings.json file and add .mocharc.js file in mocha.requires section
"mocha.requires": [
        "ts-node/register",
        "tsconfig-paths/register",
        ".mocharc.js"
    ],

@vitalics - thx for the tip but it didn't work for me :-( i have a .mocharc.js file in the root of my project and pointed mocha.requires at it but i still get the dreaded No Mocha options are configured. You can set it under File > Preferences > Workspace Settings. message ... awesome extension but support for mocha options file really should be added

More than 1 year without update. Is this problem still being tracked?

I switched to: https://github.com/hbenl/vscode-mocha-test-adapter
Install with:
$ code --install-extension hbenl.vscode-mocha-test-adapter

Then for your typescript projects, in PROJECTROOT/.vscode/settings.json:
{
  "mochaExplorer.files": "**/*.spec.ts",
  "mochaExplorer.require": "ts-node/register/transpile-only",
}

(Replace the "**/*.spect.ts" with an appropriate wildcard - these are the files that will be watched.  Replace ts-node if you're not using ts-node.)


update dependencies, and added test script

Can one of the admins verify this patch?

ok to test

do we know if there are concerns with B.C. and passing through any config options from consumers?

resolved issue #29

looks like there are no major version bumps in dependencies here, so should be ok


Add support for CUDA 11.0

Updates JavaCPP, JavaCV, and all presets to 1.5.4-SNAPSHOT, which now support CUDA 11.
Deeplearning4j itself still needs to be updated for this to work though.
@raver119 Feel free to work on this branch

@saudet I can't build nd4j. Looks like macosx leaked into pom once again
[ERROR] Failed to execute goal on project nd4j-cuda-11.0-platform: Could not resolve dependencies for project org.nd4j:nd4j-cuda-11.0-platform:jar:1.0.0-SNAPSHOT: Could not find artifact org.bytedeco:cuda:jar:macosx-x86_64:11.0-8.0-1.5.4-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]

@raver119 Fixed! Sorry about that

Cool, will try again now then.

So ye, I can can confirm: libnd4j/nd4j builds fine now in this branch, and all ND4J tests pass.
Once this branch merged, we'll add BFLOAT16/TF32 support in separate PRs.

@saudet any chance we could merge this?

@saudet any chance we could merge this?

Anytime you want, but we should probably fix deeplearning4j-cuda first:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project deeplearning4j-cuda-11.0: Compilation failure: Compilation failure:
[ERROR] /home/saudet/projects/konduit/deeplearning4j/deeplearning4j/deeplearning4j-cuda/src/main/java/org/deeplearning4j/cuda/convolution/CudnnConvolutionHelper.java:[259,53] cannot find symbol
[ERROR]   symbol:   variable CUDNN_CONVOLUTION_BWD_FILTER_NO_WORKSPACE
[ERROR]   location: class org.deeplearning4j.cuda.convolution.CudnnConvolutionHelper
[ERROR] /home/saudet/projects/konduit/deeplearning4j/deeplearning4j/deeplearning4j-cuda/src/main/java/org/deeplearning4j/cuda/convolution/CudnnConvolutionHelper.java:[260,31] cannot find symbol
[ERROR]   symbol:   variable CUDNN_CONVOLUTION_BWD_FILTER_PREFER_FASTEST
[ERROR]   location: class org.deeplearning4j.cuda.convolution.CudnnConvolutionHelper
[ERROR] /home/saudet/projects/konduit/deeplearning4j/deeplearning4j/deeplearning4j-cuda/src/main/java/org/deeplearning4j/cuda/convolution/CudnnConvolutionHelper.java:[265,53] cannot find symbol
[ERROR]   symbol:   variable CUDNN_CONVOLUTION_BWD_DATA_NO_WORKSPACE
[ERROR]   location: class org.deeplearning4j.cuda.convolution.CudnnConvolutionHelper
[ERROR] /home/saudet/projects/konduit/deeplearning4j/deeplearning4j/deeplearning4j-cuda/src/main/java/org/deeplearning4j/cuda/convolution/CudnnConvolutionHelper.java:[266,31] cannot find symbol
[ERROR]   symbol:   variable CUDNN_CONVOLUTION_BWD_DATA_PREFER_FASTEST
[ERROR]   location: class org.deeplearning4j.cuda.convolution.CudnnConvolutionHelper
[ERROR] /home/saudet/projects/konduit/deeplearning4j/deeplearning4j/deeplearning4j-cuda/src/main/java/org/deeplearning4j/cuda/convolution/CudnnConvolutionHelper.java:[467,31] cannot find symbol
[ERROR]   symbol:   variable CUDNN_CONVOLUTION_FWD_NO_WORKSPACE
[ERROR]   location: class org.deeplearning4j.cuda.convolution.CudnnConvolutionHelper
[ERROR] /home/saudet/projects/konduit/deeplearning4j/deeplearning4j/deeplearning4j-cuda/src/main/java/org/deeplearning4j/cuda/convolution/CudnnConvolutionHelper.java:[467,68] cannot find symbol
[ERROR]   symbol:   variable CUDNN_CONVOLUTION_FWD_PREFER_FASTEST
[ERROR]   location: class org.deeplearning4j.cuda.convolution.CudnnConvolutionHelper
[ERROR] -> [Help 1]

Aha, good point, I'll take a look.
@sshepel We also need to update CI for new cuDNN as well then.

I've updated API to match cuDNN 8.0, but:

It's backward incompatible. We'll keep that in mind.
I see some dl4j cudnn tests crashing. Need to check that out too.

By the looks of it, issue I'm facing here looks like cuDNN issue. It's "Invalid alignment" exception coming from device side from cuDNN filter backprop step.

So, turns out that our old workaround for Same padding mode doesn't work anymore, and causes troubles.
cc @AlexDBlack

Crash fixed. Turns out there's ninja requirement was added: eps array should be 128-bits aligned for certain cuDNN algos.
@AlexDBlack I have one cuDNN test failure here: ValidateCudnnLSTM.validateImplMultiLayerTBPTT

Last failing test issue fixed.
@sshepel basically we're ready to merge, but it would be nice to see CI results first. Just to make sure everything works as intended.

@saudet can you take a look please:
Failed to execute goal on project nd4j-tests-tensorflow: Could not resolve dependencies for project org.nd4j:nd4j-tests-tensorflow:jar:1.0.0-SNAPSHOT: Could not find artifact org.bytedeco:tensorflow:jar:macosx-x86_64-gpu:1.15.3-1.5.4-SNAPSHOT in maven-public (https://packages.konduit.ai/repository/maven-public/) -> [Help 1]

@saudet thank you very much, macos issue solved. now there's some cryptic datavec-image exception:
[2020-07-10T04:42:35.622Z] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.4 sec <<< FAILURE! - in org.datavec.image.loader.TestImageLoader

[2020-07-10T04:42:35.622Z] testNCHW_NHWC(org.datavec.image.loader.TestImageLoader)  Time elapsed: 0.125 sec  <<< ERROR!

[2020-07-10T04:42:35.622Z] java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper

[2020-07-10T04:42:35.622Z] 	at org.datavec.image.loader.TestImageLoader.testNCHW_NHWC(TestImageLoader.java:226)

[2020-07-10T04:42:35.622Z]

[2020-07-10T04:42:35.622Z] Running org.datavec.image.loader.TestNativeImageLoader

[2020-07-10T04:42:36.994Z] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.302 sec - in org.datavec.image.loader.TestNativeImageLoader

[2020-07-10T04:42:36.994Z] Running org.datavec.image.transform.TestImageTransform

[2020-07-10T04:42:37.251Z] Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.426 sec - in org.datavec.image.transform.TestImageTransform

[2020-07-10T04:42:37.251Z] Running org.datavec.image.transform.JsonYamlTest

[2020-07-10T04:42:37.508Z] 0	ColorConversionTransform(conversionCode=50)

[2020-07-10T04:42:37.766Z] 1	CropImageTransform(cropTop=10, cropLeft=10, cropBottom=10, cropRight=10, x=0, y=0)

[2020-07-10T04:42:37.766Z] 2	EqualizeHistTransform(conversionCode=6, splitChannels=[])

[2020-07-10T04:42:37.766Z] 3	FlipImageTransform(flipMode=0, h=0, w=0, mode=0)

[2020-07-10T04:42:37.766Z] 4	ResizeImageTransform(newHeight=300, newWidth=300, srch=0, srcw=0)

[2020-07-10T04:42:37.766Z] 5	RotateImageTransform(centerx=0.0, centery=0.0, angle=30.0, scale=0.0, interMode=1, borderMode=0, borderValue=(0.0, 0.0, 0.0, 0.0), M=null)

[2020-07-10T04:42:37.766Z] 6	ScaleImageTransform(dx=3.0, dy=3.0, srch=0, h=0, srcw=0, w=0)

[2020-07-10T04:42:37.766Z] 7	WarpImageTransform(deltas=[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5], interMode=1, borderMode=0, borderValue=(0.0, 0.0, 0.0, 0.0), M=null)

[2020-07-10T04:42:37.766Z] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.521 sec - in org.datavec.image.transform.JsonYamlTest

[2020-07-10T04:42:37.766Z] Running org.datavec.image.transform.ResizeImageTransformTest

[2020-07-10T04:42:37.766Z] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.datavec.image.transform.ResizeImageTransformTest

However, it's definitely not CUDA 11 related, since it's a failure from cpu backend.
So the last issue to solve will be windows-cuda tests execution issue. @sshepel any ideas what's wrong there?

@raver119 exit code 127 says that something tool or exec bit is missing on Jenkins agent... Need to check CUDA 11 env dependencies once again.


[engsys] remove namedExports option from rollup commonjs plugin argument.

We have a couple of files that still passing namedExports to cjs(). The latest version of @rollup/plugin-commonjs no longer needs this and can figure out automatically.  We should not need to pass it now.
Example in current code base:
    cjs({
      namedExports: {
        chai: ["should", "assert"],
        assert: ["equal", "deepEqual", "notEqual"],
      },
    }),

which can be updated to be just
    cjs(),

We no longer do that:
https://github.com/Azure/azure-sdk-for-js/blob/48a96a7db8de47870f2ff18904e3d042b19db9d1/common/tools/dev-tool/src/commands/run/bundle.ts#L108-L113


[FLINK-18625][runtime] Maintain redundant taskmanagers to speed up failover

What is the purpose of the change
When flink job fails because of killed taskmanagers, it will request new containers when restarting. Requesting new containers can be very slow, sometimes it takes dozens of seconds even more. The reasons can be different, for example, yarn and hdfs are slow, machine performance is poor.
To speed up the failover process, we can maintain redundant slots. Once job restarts, it can use the redundant slots at once instead of requesting new taskmanagers.
Brief change log

Add config slotmanager.redundant-slot-num in ResourceManagerOptions
Allocate redundant slots when start SlotManagerImpl
Change method taskManagerTimeoutCheck to checkValidTaskManagers
In method checkValidTaskManagers, maintain enough redundant slots. Under this premise, release timeout taskmanager

Verifying this change
This change added tests and can be verified as follows:

Add test case in SlotManagerImplTest
Change class TaskManagerReleaseInSlotManagerTest to TaskManagerValidateInSlotManagerTest and add tests

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (not documented)

Thanks, @KarmaGYZ .

@flinkbot run azure

Observed in manual tests that, Flink session cluster will not release redundant task managers when there's no job running. In such cases, I think we should release the redundant task managers because the extra resource occupation does not bring us any benefit.
Offline discussed with @Myracle and we agreed to make this optimization a follow up issue. I opened FLINK-18760 for tracking this.


Mary does not want to see past events on the Dojo details/listing page

As Mary,
I do not want to view past events
so that I do not get confused about when the next event is taking place.
User acceptance
Given that an event has ended in the users timezone
When I navigate to the Dojo details page,
I should not be able to view the past event
Notes
Current is that events remain live 12 hours after they have ended.

Closing off, the user's timezone is now used to query the event-service


Forwarded headers support for filtering sources

Hi
I added a little more security to the Forwarded and ProxyPeerAddress handlers, to allow only specific proxies by IP.
I hope this feature also will be useful for others.
Moved peer matching logic from IPAddressAccessControlHandler to PeerMatcher.
Added support for filtering Forwarded headers source peers.

Can one of the admins verify this patch?

Thanks a lot for your PR, @SlyngDK ! It will soon be reviewed

This is ok to test

I'll create a Jira for this one

This won't have time to go into the next release, but I will:

thoroughly review it after 2.2.0.Final
update the PR
create corresponding Jiras
So it is ready for the next cycle. Thanks!


MSSQL Lineage from Stored Procedures

Affected module
LineAge view
Describe the bug
When showing a linage from a table it doesn't show the full lineage, due to Stored Procedures. We use lot's of SPs to loa tables
Expected behavior
Show the SP as part of the Lineage
Version:

OpenMetadata version: <IP_ADDRESS>

#9269 duplicate

duplicate of https://github.com/open-metadata/OpenMetadata/issues/9269


DLLs are restricted to just one folder - this should not be the case

DLLs can be extracted from the root and lib, not just from one.

Probably worth just writing a new resolver instead of switching the existing code base - once the new resolver is validated, we can remove the old code path.

Should be solved with the latest checkin ( 7bdc5a5 ).


No error reported downloading non-existent blob

Which version of the AzCopy was used?
10.16.1
Which platform are you using? (ex: Windows, Mac, Linux)
Linux: Ubuntu 20.04.1 (kernel 5.15.0-1021-azure)
What command did you run?
Download a non-existent blob (login not required, same behavior is using SAS token):
azcopy login
azcopy cp https://storageacct.blob.core.windows.net/container/path/to/non/existent/blob .

What problem was encountered?
I would expect AzCopy to report an error and exit with a non-zero code since the requested blob does not exist. However, it returns with a successful (0) exit code with the following output:
INFO: Scanning...
INFO: Authenticating to source using Azure AD
INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support

Job 0f75537c-c53d-044e-6109-8357cc86191e has started
Log file is located at: /home/azureuser/.azcopy/0f75537c-c53d-044e-6109-8357cc86191e.log

100.0 %, 0 Done, 0 Failed, 0 Pending, 0 Skipped, 0 Total,

Job 0f75537c-c53d-044e-6109-8357cc86191e summary
Elapsed Time (Minutes): 0.0333
Number of File Transfers: 0
Number of Folder Property Transfers: 0
Total Number of Transfers: 0
Number of Transfers Completed: 0
Number of Transfers Failed: 0
Number of Transfers Skipped: 0
TotalBytesTransferred: 0
Final Job Status: Completed

@tasherif-msft please take a look

Hi @gabe-microsoft I am able to repro this - I will consult with the team regarding this behavior and the next steps as this would be a breaking change. I will keep you posted

I reproduced something similar in #1975. I think the "to-reproduce" github label should be removed and replaced by "bug".

@marc-hb I have changed the label to improvement. This was something initially done by design - if the file/dir does not exist assume success and show 0 transfers happened. We are now changing the approach to if single file doesn't exist report failure. There's a draft PR atm.

Do you mean pattern matching / globbing was performed even with a single file argument? I'm just curious.

There's a draft PR atm.

URL?

PR has been merged https://github.com/Azure/azure-storage-azcopy/pull/1981


add a react project

add a simple react counter app.
increase and decrease count. should be count > 0,
count !=0 or count<0

hey, can you please assign me this issue? I would love to work on this project.

Can u assign this task to me

Can u assign this task to me

done

hey can u assign  me this

Please assign me this issue

Please assign me this issue

assigned

Hi, can you please assign me for the issue!

Hi, can you please assign me for the issue!

ok


Validation: fix multiple issues on multiple files

Category

[x] Content fix
[ ] New article

Related issues

no issue numbers; changes are part of the Validation cleanup efforts

What's in this Pull Request?
This PR fixes 29 issues in 10 files.

Docs Build status updates of commit 6ee94be:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/remoteendpoints-element-appdefinition-complextypesharepoint-add-in-manifest.md
:warning:Warning
View
Details

docs/schema/remoteendpoints-element-appdefinition-complextypesharepoint-add-in-manifest.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 26, Column 2: [Suggestion: column-header-missing - See documentation] Column headers are required for tables. Add appropriate header text, or remove any extra table cells that cause an extra column.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e6b527a:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/remoteendpoints-element-appdefinition-complextypesharepoint-add-in-manifest.md
:warning:Warning
View
Details

docs/schema/remotewebapplication-element-appprincipaldefinition-complextypesharepoint-add-in.md
:warning:Warning
View
Details

docs/schema/removeduplicates-element-managedpropertyinfo-complextypesps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/removefieldref-element-contenttype.md
:warning:Warning
View
Details

docs/schema/reorderingrule-complextype-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrule-element-arrayofreorderingrule-complextypesps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrule-element-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrulematchtype-element-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrulematchtype-simpletype-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/remoteendpoints-element-appdefinition-complextypesharepoint-add-in-manifest.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/remotewebapplication-element-appprincipaldefinition-complextypesharepoint-add-in.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/removeduplicates-element-managedpropertyinfo-complextypesps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/removefieldref-element-contenttype.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrule-complextype-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrule-element-arrayofreorderingrule-complextypesps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrule-element-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrulematchtype-element-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrulematchtype-simpletype-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e3f7b54:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/remoteendpoints-element-appdefinition-complextypesharepoint-add-in-manifest.md
:warning:Warning
View
Details

docs/schema/remotewebapplication-element-appprincipaldefinition-complextypesharepoint-add-in.md
:warning:Warning
View
Details

docs/schema/removeduplicates-element-managedpropertyinfo-complextypesps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/removefieldref-element-contenttype.md
:warning:Warning
View
Details

docs/schema/reorderingrule-complextype-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrule-element-arrayofreorderingrule-complextypesps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrule-element-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrulematchtype-element-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/reorderingrulematchtype-simpletype-sps15xsdsearchset5.md
:warning:Warning
View
Details

docs/schema/representation-element-propertyruleoperator-complextypesps15xsdsearchset2.md
:warning:Warning
View
Details

docs/schema/remoteendpoints-element-appdefinition-complextypesharepoint-add-in-manifest.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/remotewebapplication-element-appprincipaldefinition-complextypesharepoint-add-in.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/removeduplicates-element-managedpropertyinfo-complextypesps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/removefieldref-element-contenttype.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrule-complextype-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrule-element-arrayofreorderingrule-complextypesps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrule-element-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrulematchtype-element-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/reorderingrulematchtype-simpletype-sps15xsdsearchset5.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/schema/representation-element-propertyruleoperator-complextypesps15xsdsearchset2.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix build validation errors
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!


ModuleNotFoundError: Module not found

I don't think this is an issue with webpack itself, but I have no better idea, where to ask.
I had zero changes in my code in past few days, also there was zero change in my dev environment, except a windows update (this is the only thing I can think, that possibly caused this)
Windows version: 1903
Build number: 18362.836
NodeJS: 10.15.1
@symfony/webpack-encore: ^0.22.0
After the update I can't execute my webpack project properly, because it's complaining about "ModuleNotFoundError: Module not found" for several files.
The files location did not change recently, neither the references to them, so I have no idea how to fix this. 2 days ago it was just fine, Webpack was able to pack all my resources as expected.

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.


Error when trying access URI with Global Function's name

I've found errors & blank pages when trying access URI with Global Function's name (testing as controller):
http://ci4.dev/[controller]
Displays an error page (Service Accessors):
http://ci4.dev/esc
http://ci4.dev/view
http://ci4.dev/helper
...
Displays a blank page (Miscellaneous Functions):
http://ci4.dev/is_cli
http://ci4.dev/redirect
...
PHP: 7.0.5 (x86)
ENVIRONMENT: development

Bugfix Checklist:

[ ] Component(s) modified
[ ] Unit testing updated
[ ] User guide updated
[ ] Securely signed commits
[ ] Conforms to style guide


end of mp3 is cut off depending on chunksize

This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:

sdl.py (sdl.py, text/x-python, 2020-02-07 00:18:56 +0000, 1312 bytes)
the mp3 file (sdl.mp3, application/octet-stream, 2020-02-07 00:19:41 +0000, 14061 bytes)

Reported in version: 2.0.4
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2020-02-07 00:18:56 +0000, Sven wrote:

Created attachment 4194
sdl.py
So find attached a very simple test program (python, PySDL2 0.9.6) that loads and plays an mp3. The mp3 is the sound of somebody saying "Please play this message". If the chunksize passed to Mix_OpenAudio is 8192, the problem is most severe.  If I change the chunksize to 4096, the problem is less severe. In both cases, I assume that the last chunk of the mp3 is not played. The larger the chunksize, the more of the mp3 is not played.
This should not happen, regardless of the chunksize.
If I change the chunksize to 4000, I can work around the problem. I assume, there might be mp3 files for which the problem will persists.
Sorry that the program is python. I'm on Arch Linux using sdl2_mixer 2.0.4-3 and python-pysdl2 0.9.6-4 from Arch's AUR. As far as I can see, python is a rather thin layer on top the C API. So I assume the bug persists if I would rewrite the program in C.

On 2020-02-07 00:19:41 +0000, Sven wrote:

Created attachment 4195
the mp3 file

@sezero As the current maintainer of PySDL2 I figured I'd try and reproduce this. Sure enough, "message" becomes "messa-" with 8192 chunksize, and Mix_Playing(-1) seems to think the audio's done even sooner, with the last playthrough of the clip being "please play this-".
The original bug reporter is correct that PySDL2 is just direct ctypes bindings around the SDL2 API, so I'm assuming this isn't a bug on my end. Also, for what it's worth, I reproduced the bug on macOS 10.14 using the official libSDL frameworks, so we can rule it out being a Linux-specific issue.

If SDL_mixer is using its mpg123 backend, the issue is reproducible with playmus -l -b 8192 sdl.mp3
The libmad backend seems fine (--disable-music-mp3-mpg123 --enable-music-mp3-mad-gpl)

The SDL-1.2 branch doesn't seem to have the issue.

Looking at the same thing for hours, I don't exactly see where the issue is.
@slouken?

These doesn't explain why things are OK if SDL_mixer is using libmad instead of mpg123 for mp3 (can you confirm that?), or am I missing something? It's late here though, and I'm tired.

These doesn't explain why things are OK if SDL_mixer is using libmad instead of mpg123 for mp3 (can you confirm that?), or am I missing something?

If I have time today I can try recompiling with libmad, but my thought is that maybe the mpg123 backend is mis-reporting the size of the chunk (or maybe libmad is over-reporting it, which fixes the issue)? Either way, the values of those variables should at least point in the right direction. Also, given that it worked with the SDL-1.2 branch (linking to SDL1.2 and not SDL2, I'm assuming?), it could be related to some subtle change in how SDL2 itself handles chunk sizes.
What I can do pretty quickly is check whether the bug is present on a really old version of SDL2 + Mixer (PySDL2 supports back to SDL2 2.0.5 and mixer 2.0.1) to see how far the bug goes. That'll also hopefully help pinpoint where to look.

@sezero Aha! The test script plays the mp3 all the way through at 8192 with SDL 2.0.5 and mixer 2.0.1, 2.0.6 + 2.0.1 fails to play the audio at all with a Warning: incorrect audio format message, and 2.0.7 + mixer 2.0.2 show the same cutoff bug we see in the latest versions. That at least tells us where to look!
My hunch from the error with 2.0.6 is that SDL2 changed something on the audio back end that broke mixer, and the fix added in 2.0.2 addressed the main issue but also introduced the bug we're seeing here.

With current git master where drmp3 is default, the issue doesn't show itself.
HOWEVER: build SDL_mixer with --enable-music-mp3-mpg123 --disable-music-mp3-drmp3
and the issue is still reproducible.


IIR filter add more noise than should be

Hi!
I have recently been trying to use IIR filter to do some feedback experiment, but found out that it adds substantial digital noise to the feedback signal.
As a comparison, when the signal is passed through the IQ bandpass filter, no added noise is observed except the ADC DAC 14 bits noise at the input output.
But for IIR, somehow a large flat background noise (likely some digitisation noise) is added (saw on spectrum analyzer, more than 20dB than the output DAC noise), with even higher noise at the position of the poles. The noise behaves as if the registers used for the IIR filters don't have enough bits, but after checking it should have 32 bits, higher than what was used in IQ bandpass filter 24 bits.
I wonder if this behaviour is expected, or am I missing something in the IIR filter settings?

Sorry the 20dB is an exaggeration, that's compared to the result when setting output = 0, which is just the output DAC noise. it's more like 10dB. when compared to the original input ADC noise.

Also, I should notice that I have done a lot of debugging of the iir in the branch python3-only:

in particular, I change the hardware implementation of the biquads from Direct form 2 to Direct form 1, see this

There was also a bug I believe in the software definition of the biquads coefficients, which essentially prevented to properly define a complex zero at all

In short, I advise to use the branch python3-only untill it is merged into master

@SamuelDeleglise thanks for info. Also on master there are some minor timing setup bugs in the XDC file. Are you interested in getting these pulled into python3-only ?

You mean that you have fixed some bugs ?

In the XDC, yes. Though I am new to PyRPL and Red Pitaya, and not sure if the rtl & Vivado setup files are maintained at all, or just stale files.

I don't know either...
Also, in what commit are the bugfix you are talking about? Are you working on a fork of this repository ?

I am working on a local branch where the fpga will contain a time-tagger, controlled by a branched version of PyRPL. Looking at python3-only it seems you have modified the rtl file there.


New discovery-swarm-webrtc

Hi everyone,
So, we were working on a web app on top of Dat and WebRTC using this module.
During this time we experiment different issues related with the transport layer:

signalhubws

Missing reconnection support in
Random crashes trying to send ACK

webrtc-swarm

Multiple connection open / connection closed

We thought that it was completely fault of WebRTC but we did an experiment using just simple-peer and simple-signal and we got establishing a connection for 3 hours without any issue. Also we try reconnection feature and it works, because the signal use socket.io so, we don't need to worry about this things.
We need to find a way to convert dicovery-swarm-webrtc in a easy way tool that helps us to connect hypercore, hyperdrive, etc
I started a new branch where I've been working with some ideas trying to use simple-peer and simple-signal. There is a lot of things to do but we can discuss everything here :smile:
Progress:

[x] Signal server that support multiple channels (topics to join it)
[x] Refactory to use simple-signal to find peers and connect it to them
[x] Support to stream option
[x] Reconnection support for simple-peer connections.
[x] Support for multiple sockets url.
[x] Close and Destroy methods.
[x] Leave method
[x] Url fallback
[ ] Better lookup using @RangerMauve idea of the https://en.wikipedia.org/wiki/Minimum_spanning_tree
[ ] Testing

Reconnection support for simple-peer connections
I don't like how a solve this. When you lost a connection it always try to connect to the same peer, I think that if you are in a swarm you can lookup new connections instead and find another peer offering the same resource than the lost one.
Support for multiple sockets url
I think that this mechanism is complicated and is going to gives us more issues than solutions.
Maybe we can find another way:

Unique url to connect to and having multiple fallbacks url. The signal server can provide us the fallbacks url automatically.
Create an adapter for socket io using hyperswarm and connect multiple process through the topics to broadcast discovering from the webrtc clients.

Looking into this now. 😀

Question, why are you using your own socket.io thing instead of simple-signal?

Regarding the minimal spanning tree method I mentioned on a call before.
When you have a network of peers exchanging data, you ideally don't want them all connecting to each other because having a huge number of connections is taxing on bandwidth and CPU. Ideally, you should have them connected in a minimum spanning tree so that data hops between peers and eventually reaches everyone.
To that end I played around with an algorithm for generating such a tree with a minimal amount of knowledge about other nodes. Here's a live demo of it in action.
Basically, when a node bootstraps into the network it does the following:

Gets a random subset of peers (made with the assumption of unreliable discovery through DHTs/MDNS)
Sorts them by logical distance by XORing peer IDs with it's own. (Based on Kademlia DHTs)
Tries to connect to it's "closest" peer that it isn't already connected to
A random subset of peers (I chose 1/3) also connect to their "farthest" peer.

This creates clusters of peers that are "logcally close" to each other, which will randomly reach out to other clusters forming a spanning tree. It's not really a minimal spanning tree, and I'm not a mathematician, but it gets close enough with a fairly simple algorithm.
As you can see in the demo, most nodes end up having two connections, with some having three or four connections. This reduces the load on individual nodes while making sure the swarm is still well connected.
When a peer loses all it's connections, it will perform the same bootstrapping process
You can play around with different percentages and node counts here.

released new alpha version<EMAIL_ADDRESS>

New visualization example for the next version using https://github.com/vasturiano/force-graph

OMG that's so fancy looking!

Yeah :smile: and we also started testing the connectivity of the swarm using ngraph another nice module.

closed since v2.0.0 was released


Allow sync to target pods based on the image name only

Is your feature request related to a problem?
When defining sync configurations using the imageName selector, DevSpace will target containers that match the image declaration defined in the images section.
Currently, this option targets containers that match the following conditions...

The image name must match
The deployed tag must match previously defined tags, or the most recently build image tag

Using the below configuration snippit as an example...
images:
  nginx:
    image: registry.example.com/nginx
    tags:
      - "dev-${DEVSPACE_GIT_COMMIT}-#####"

dev:
  sync:
    - imageName: nginx
      localSubPath: ./
      containerPath: /srv

When running "devspace dev --skip-pipeline", the command will get stuck at "Sync: Waiting for pods..."
This appears to be due to devspace awaiting for an image that matches previously defined tags, or a recently build image reference stored in .devspace/generated.yaml
Which solution do you suggest?
An option should be introduced to enable sync to target based on the image name only — that is, matching against the image name registry.example.com/nginx
Which alternative solutions exist?
Using a sync configuration combining both imageName with labelSelectors is a currently available workaround to this issue
Additional context
This would assist with a workflow were there is a preference to avoid the need to build and re-deploy an image — ie: using devspace primarily in a "sync-only" + "log streaming" capacity.
/kind feature

@matthew-muscat thanks for opening this issue! Yes, what you are saying is all correct. I actually think we could fix this without a new configuration option:

In your case the problem is that devspace tries to find a pod during runtime with the image 'registry.example.com/nginx:dev-g2341ha-#####' (The variable ${DEVSPACE_GIT_COMMIT} got resolved during config loading while the ##### didn't and devspace couldn't find a last tag in the .devspace/generated.yaml)
This will never succeed since # is not an allowed character for an image tag
However, in this case we would transform the image tag into a regex like '^registry.example.com/nginx:dev-g2341ha-[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]$' and search the images for that
Then devspace would find images that would have been deployed before with this pattern (even without a .devspace/generated.yaml and you wouldn't need an extra config option for this

Would that work for you?

@matthew-muscat thanks for opening this issue! Yes, what you are saying is all correct. I actually think we could fix this without a new configuration option:

In your case the problem is that devspace tries to find a pod during runtime with the image 'registry.example.com/nginx:dev-g2341ha-#####' (The variable ${DEVSPACE_GIT_COMMIT} got resolved during config loading while the ##### didn't and devspace couldn't find a last tag in the .devspace/generated.yaml)
This will never succeed since # is not an allowed character for an image tag
However, in this case we would transform the image tag into a regex like '^registry.example.com/nginx:dev-g2341ha-[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]$' and search the images for that
Then devspace would find images that would have been deployed before with this pattern (even without a .devspace/generated.yaml and you wouldn't need an extra config option for this

Would that work for you?

Hi @FabianKramm,
Thanks for the quick and detailed response

However, in this case we would transform the image tag into a regex like
^registry.example.com/nginx:dev-g2341ha-[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]$

What if we allowed a regex definition for the matched tag?
Our use case is that the deployed image may be managed by an external tool, so we want to match the image during sync without need to specify the a tag reference (or allow for a a dynamic pattern). Declaring regex in the configuration may be useful here and enable some flexibility while still requiring a declaration in the config.
Note: During builds, regex match tags would be ignored
This may need to be under another option such as 'tagSelector' - as understandably it changes the purpose of the tags configuration option
Some context
My initial thought was to have the image match based on any image tag
Ie:
registry.example.com/nginx:*

Hi @FabianKramm,
Thanks for the quick and detailed response

However, in this case we would transform the image tag into a regex like
^registry.example.com/nginx:dev-g2341ha-[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]$

What if we allowed a regex definition for the matched tag?
Our use case is that the deployed image may be managed by an external tool, so we want to match the image during sync without need to specify the a tag reference (or allow for a a dynamic pattern). Declaring regex in the configuration may be useful here and enable some flexibility while still requiring a declaration in the config.
Note: During builds, regex match tags would be ignored
This may need to be under another option such as 'tagSelector' - as understandably it changes the purpose of the tags configuration option
Some context
My initial thought was to have the image match based on any image tag
Ie:
registry.example.com/nginx:*

@matthew-muscat if your image is not built by devspace, why aren't you using the labelSelector instead? Wouldn't that be easier?

@matthew-muscat if your image is not built by devspace, why aren't you using the labelSelector instead? Wouldn't that be easier?

There are cases where the docker image is built via devspace, however that is only needed when a dev needs to test a change to the image.
If a dev wants to make a small change (ie: change some code in interpreted files) - it should be possible to use a workflow where an image does not need to be rebuilt and devspace could use the references to determine the targets based on the sync imageName.
This in particular keeps the development feedback loop quick, as it's only a sync operation, rather than a build and deploy.
This is also useful for situations where devspace is used for remote cloud native development, but where deployments may be managed outside of devspace (ie build disabled:true)

There are cases where the docker image is built via devspace, however that is only needed when a dev needs to test a change to the image.
If a dev wants to make a small change (ie: change some code in interpreted files) - it should be possible to use a workflow where an image does not need to be rebuilt and devspace could use the references to determine the targets based on the sync imageName.
This in particular keeps the development feedback loop quick, as it's only a sync operation, rather than a build and deploy.
This is also useful for situations where devspace is used for remote cloud native development, but where deployments may be managed outside of devspace (ie build disabled:true)

@matthew-muscat I understand the use case, but the advantage of dev.sync.labelSelector is that it works if devspace had built the image or if there is an already existing pod using any other image (could be also a complete separate registry), so I guess this would be perfect for you as long as you know the label selector or can set one for the target pod.

@matthew-muscat I understand the use case, but the advantage of dev.sync.labelSelector is that it works if devspace had built the image or if there is an already existing pod using any other image (could be also a complete separate registry), so I guess this would be perfect for you as long as you know the label selector or can set one for the target pod.

@FabianKramm — understood, label selector is how i'm doing it currently as a workaround.
My initial thoughts on the imageName matching was that it would match on the image name only (ie: without the tag). The phrase imageName can also imply this behaviour prior to reading the docs.
My opinion on this is that it would be quite useful to have the ability to target based on the "image name" only, rather than having to use label selectors.
The use case where this could apply is situations whereby you need to make a change to some code, and would prefer to use sync rather that a docker build for quick feedback.
If you had not run a docker build operation previously, the current behaviour will trigger a docker build — which can take some time — vs establishing a connection and syncing with the images.

@matthew-muscat you can actually do this, however it is maybe not really obvious and not really documented:
images:
  my-image:
    image: any-repo.com/repo/image
    build:
      disabled: true
dev:
  sync:
    - imageName: my-image
      localSubPath: ./
      containerPath: /srv

When you run devspace dev here, it will match any image that has the image name any-repo.com/repo/image, regardless of the tag.

Closing due to inactivity and the version used. If you are still facing this issue with our latest DevSpace version, please open a new issue.


Fix the HID decoding, replace Q14 with Q15, optimize

The commit Unify quaternion order with UDP protocol is optional. However, I added it because the xyzw order is already used in UDP. Furthermore, that will unify the data encoding with #1001.
UPDATE: corresponding firmware PR https://github.com/SlimeVR/SlimeNRF-Tracker/pull/3

I have added accompanying MR for firmware https://github.com/SlimeVR/SlimeNRF-Tracker/pull/3

pls update

pls update

done


Vendors: Migration issues

Duplicated entries:
Examples:

2 vendors + 1 library:
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/7t27m-h7436
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/kffq9-6cw07
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/wgt2d-ahe70

1 vendor + 1 library
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/w5qkq-rwj76
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/c39pk-8cp16

2 vendors :
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/1bzhf-t9961
https://sandbox-cds-ils.web.cern.ch/backoffice/providers/985nm-ba115

[x] Remove duplicates

[x] When a provider is originally a vendor and a library, keep only library Library type.

Updated librariesFinalised.json and ACQ_vendor_0_finalised.json in cernbox.


hevce: enable control for max slice size

enable control for max slice size

@mgonchar, while I agree with you that the approach with VA_DESTROY_BUFFER is not good, it's currently used in the HEVCe packer for all other functional like SetRoi, SetIntraRefresh etc. So introduction of another way to handle vaBuffers will look weird in current code.  So I asked Dmitry to revert to original version of PR.

Create an issue and fix on component-by-component basis?
Yes, it would be a good option


Any idea about older versions?

Title.
Since some of my favorite maps and modpacks are in some versions even older than 1.7.10 (more precisely 1.7.2), and the fxxking Intel Rendering Problem still exists, I'm wondering if it's possible to transplant this mod or some of its features to older versions,or is there a possible way to fix the rendering problem in a more general way instead of just using another graphics card.

Normally I'd say no, but since it's such a small fix, porting it shouldn't be too much trouble. I'll see what I can do later.


Fix repeated tokens in label being stripped out

fix #24

:tada: This PR is included in version 2.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add a nix flake for tkn-watch

This allow to run things tkn-watch like nix run github:chmouel/tkn-watch -- --help.
It also provides packages for other to integrate with their flake
configuration / nix derivation.
nix develop drops you in a development environment with everything
needed.
nix flake check runs all the tests (fmt, cargo test, …)
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

error: build of '/nix/store/dkafxvfqzpjv1izcg7v57f9d3bndb9k1-tkn-watch-deps-0.3.0.drv' on<EMAIL_ADDRESS>failed: error: builder for '/nix/store/dkafxvfqzpjv1izcg7v57f9d3bndb9k1-tkn-watch-deps-0.3.0.drv' failed with exit code 101;
              last 10 log lines:
              >     21:     0x55555557e661 - std::rt::lang_start::h7938b639184f4b2d
              >     22:     0x555555576663 - main
              >     23:     0x15555532f1d7 - __libc_start_call_main
              >     24:     0x15555532f297 - __libc_start_main_impl
              >     25:     0x555555572091 - _start
              >                                  at /build/glibc-2.34/csu/../sysdeps/x86_64/start.S:116
              >     26:                0x0 - <unknown>
              > warning: build failed, waiting for other jobs to finish...
              > error: build failed
              > [naersk] cargo returned with exit code 101, exiting
              For full logs, run 'nix log /nix/store/dkafxvfqzpjv1izcg7v57f9d3bndb9k1-tkn-watch-deps-0.3.0.drv'.
error: builder for '/nix/store/dkafxvfqzpjv1izcg7v57f9d3bndb9k1-tkn-watch-deps-0.3.0.drv' failed with exit code 1;
       last 10 log lines:
       >     21:     0x55555557e661 - std::rt::lang_start::h7938b639184f4b2d
       >     22:     0x555555576663 - main
       >     23:     0x15555532f1d7 - __libc_start_call_main
       >     24:     0x15555532f297 - __libc_start_main_impl
       >     25:     0x555555572091 - _start
       >                                  at /build/glibc-2.34/csu/../sysdeps/x86_64/start.S:116
       >     26:                0x0 - <unknown>
       > warning: build failed, waiting for other jobs to finish...
       > error: build failed
       > [naersk] cargo returned with exit code 101, exiting
       For full logs, run 'nix log /nix/store/dkafxvfqzpjv1izcg7v57f9d3bndb9k1-tkn-watch-deps-0.3.0.drv'.
error: 1 dependencies of derivation '/nix/store/3vpg2pksq49mbnj91zy1y5gs66nji9kj-tkn-watch-0.3.0.drv' failed to build

🤔

can you try to "patch" the cargo.toml  here :
https://github.com/chmouel/tkn-watch/blob/main/Cargo.toml#L26
removing the features = ["vendored"]
tldr; we need it for cross compile architecture between darwin arm64 and x86_64.
since we don't have a builder in github actions for arm64 we generate a universal binary from x86_64 with embedded bytecode of arm64 (that rosetta thing) and if we use the global libssl it would fail resolve on arm64, long story short we need to embed a compiled ssl version, maybe that's an issue for nix?

maybe this has the answer to our issue somewhere? https://johns.codes/blog/rust-enviorment-and-docker-build-with-nix-flakes

maybe this has the answer to our issue somewhere? https://johns.codes/blog/rust-enviorment-and-docker-build-with-nix-flakes

Ah you are right, most likely I forgot to add openssl (and maybe others) as builtinput.. let's try.


Slider not working?

I ran an example raycasting project on Phosphorus, and it will not allow me to adjust the slider for the detail of the cast. Is this an issue in all projects or just this one?

Works fine for me.

Works fine for me. Setting the resolution to 0 freezes the whole project on both Scratch and phosphorus, but Scratch interrupts hung atomic blocks every half-second and phosphorus (by design) does not.


Break the e2e tests into sub-tests and run more in parallel

Speedup: Separate tests into sub-tests which can be run in parellel.

Pre-flight check for webhooks readiness before running the remaining tests.
Make sure that each sub-test calls kubectl.* with the appropriate testing.T

Speedup: Build controller-manager and install Kind in parallel.
Speedup: Launch cert-manager and load controller-manager images in parallel.

This reduces the e2e test time by  ~45 seconds on my laptop, and even more when I add Persistence tests in a later branch, so I think it's worth it.
Also gives nice test log output, where the logs match up to the test being run and it allows me to run a subset of the e2e tests by supplying -run TestE2E/Parallel/SampleCluster
 richard   e2e-parallel-setup  ~  projects  improbable-eng  etcd-cluster-operator  2  make kind
...
PASS
ok  	github.com/improbable-eng/etcd-cluster-operator/internal/test/e2e	136.391s

VS
 richard   master  ~  projects  improbable-eng  etcd-cluster-operator  make kind
...
PASS
ok  	github.com/improbable-eng/etcd-cluster-operator/internal/test/e2e	181.400s


Update restore from backup instructions

https://trello.com/c/dlE58jkG/387-restore-from-backups-drill-monday-13-november

@dwhenry Do you want to change the review by date?


[Graph] Translate softmax and reduce to hidet script

Sorry, I did something to my fork that I could not reverse; I thought that deleting the fork would not close the PR.
In regards to the comments:

There seems to be no reason for the prologue to be disabled, but the FP16 reduce version does. I re-enabled the prologue
implemented suggestions for xdtype and x_shape
yes, warp_reduce(rv, prim.sum) works, can't find operator.sum

Everything works as expected.

Thanks @Aalanli !


Let's Encrypt certificate expiration notice

From: Let's Encrypt Expiry Bot<EMAIL_ADDRESS>Date: Sat, Mar 9, 2019 at 3:03 PM
Subject: Let's Encrypt certificate expiration notice for domain "mailserver.lokole.ca"
To<EMAIL_ADDRESS>

Hello,

Your certificate (or certificates) for the names listed below will expire in 19 days (on 29 Mar 19 23:01 +0000). Please make sure to renew your certificate before then, or visitors to your website will encounter errors.

We recommend renewing certificates automatically when they have a third of their
total lifetime left. For Let's Encrypt's current 90-day certificates, that means
renewing 30 days before expiration. See
https://letsencrypt.org/docs/integration-guide/ for details.

mailserver.lokole.ca

For any questions or support, please visit https://community.letsencrypt.org/. Unfortunately, we can't provide support by email.

If you are receiving this email in error, unsubscribe at http://mandrillapp.com/track/unsub.php?u=30850198&id=1206f5a4db934c9e8a3cae2aa0207a53.caoel0A%2FJIKNOjdtx2WNFlfmlPI%3D&r=https%3A%2F%2Fmandrillapp.com%2Funsub%3Fmd_email%3Dascoderu.opwen%2540gmail.com

You may need to update your client to the latest version in case it is still using the deprecated TLS-SNI-01 validation method. https://community.letsencrypt.org/t/february-13-2019-end-of-life-for-all-tls-sni-01-validation-support/74209

Step-by-step instructions for updating Certbot are here: https://community.letsencrypt.org/t/how-to-stop-using-tls-sni-01-with-certbot/83210

Regards,
The Let's Encrypt Team

For some reason the kube-lego pod wasn't able to reach the ingress anymore. Deleting the pod and restarting a new one fixed the issue and the certificate is now renewed:


Shipping cost and Discount properties

Hello,
is there any command to get the shipping cost, the discount and the Grand Total from an invoice?
Thank you
Francesco

Hey @FrancescoTalotta,
Yes, this information is available in the attributes of an Invoice object. You can retrieve an Invoice using an InvoiceSearch.
The specific attributes you'd be looking for are:

Shipping Cost:  shipping_amount/shipping_incl_tax
Discount: discount_amount
Grand Total: grand_total


Show message of some kind while tests are loading.

Similar to what the V2 gui does.

This is pretty straight forward to implement as in V2.
It would be nice with an interface to the loader that could give some progress-event information - in the case of a nunit project file, it could be in the form of a string "Loading assembly assembly1.dll" or something like that. That would be a great help for projects containing a lot of large assemblies.
In order to support that I would suggest that the TestPackage class implements a Loading event to which the gui can subscripe. And the runner or project loader could then "tell" the TestPackage class what it does - so the TestPackage class would be a kind of communication channel between ruuner and gui.

Let's do it the straightforward way for this issue.
For the assembly by assembly feedback you mention, we would need to modify the engine, which is a separate project, and wait for it to be released. So that would have to be a different issue and would be immediately blocked by a corresponding engine issue.
Also, if we did the feedback you suggest, it couldn't be through testpackage, which only transmits strings from the engine to the framework. In the present implementation, we could pass an interface, but that won't work when we get away from remoting. Most likely, we would do it by extending the definition of events returned by the framework to the framework driver. Also, since only the nunit framework 3 would support this feedback, each driver for a foreign framework would have to implement it.
But even so, if we implement parallel loading of assemblies, as is suggested in a separate issue, we would probably not be able to do this effectively using assembly names.
So, let's start by implementing a box that displays just as in V2 for this issue.

Yes, I thought I would have do to the simple solution first ;-)

Of course... just wanted to make sure you understood how we handle inter-project dependencies.

@iCodeIT Any progress on this?

I've been playing around with a few ways of doing this, and as far as I can tell the best winforms way of doing this is how it was done with a Form in the v2 gui. I've tried custom tool tips and the z-order on panels in the main form. The custom tool tip was the wrong tool, and the z-order wasn't showing the background very well. I read there are a few workarounds (the easiest being to take a picture of your form the way it is bring your panel to the front paste the picture then pain the message on top of the picture. When you are done you'd just push the picture back behind.
A few other options that I was thinking about would be to clear and disable the "main display area" then update the status bar with some bold yellow text saying that it is "Loading SomeAssembly.dll"
The way I was starting to implement the events for this was to create a new delegate with IList<string>  as a parameter that has the name of the files being loaded. Then in the LoadTest method in ITestModel I just called said event. So did we want to keep the v2 way or do we want to discuss a different approach?  (Funny how the GUI side of things it seems a bunch easier to do in WPF than in winforms...but i digress)

I don't see anything wrong with the approach in V2. Do you? It's not very sexy, I'll grant, but it shows a message and let's the user know something is happening.
Some unrelated, general info...
Unfortunately, I'm in the final days of preparation for vacation. I'll be two weeks in Paris and a week in London, coming back home at the start of August.
In the meantime, it would be great if the committers ( @iCodeIT @immeraufdemhund  and @mikkelbu ) could keep things going. IF you do a PR, just let some other committer review and comment. Merge when you all think it's ready.
Meanwhile, I'm going to try to get 0.5 out in the next day or two, before I leave.

I got a question about how I'm implementing this. I was thinking about adding a method in IMessageDisplay, but then I saw that there is already a Display method which returns a DialogResult. Display seems like the correct word for what I'm trying to achieve, but that has a two fold problem: 1) If the method needed to stay the same then the method I would want to make would have a similar in meaning word which might make it confusing which method to call without having to look at the implementation. 2) The method will need a matching Close or something like that to close said form when the tests are done loading. So the question is should I put a method in IMessageDisplay or should I just put 2 more methods in IMainView to show when tests are loading?

I have the basic premise of how I'm currently considering wiring this up at revision df178b2d7af0ff9cd3b40476bbc97fb5730fa808. If there are no objects I'll keep working at it like this.

I think that it looks promising (but I'm far from a WinForms/GUI expert :) ).

I'm basically going to copy what is done in V2 since it works well and seems to look good too. It's just matter of matching our code style

Sounds like a good approach. I'm going to pull it so I can see how it works.

Guys, I indicated above that I wanted to pull this and try it, so that it wouldn't get prematurely merged. We're in a preview development stage now, so there piano harm in merging, but let's get in the habit of paying attention to such things.
Right now I'm working on a publishing project for my wife so the gui is taking second place. I'll try to find time to review this morning and get back to you so leave it closed for now. I'll reopen if necessary.

Oops. Sorry.


Develop calibration tracking infrasturcture

Develop infrastructure to record and track calibration files that can be used by each instance of the DRP.
It needs to:

Record when calibration files are produced and where to find them on disk
Figure out (via header keywords) what calibration file to use for each associated task
Add/refresh record of calibration data

Part of this requires also figuring out how to match calibration data with associated science data (need to talk with Obs planning WG).
See the kpicdrp caldb for inspiration.

For darks, we may need to track the size of the data frame (sci vs eng).

First implementation done in #PR 18. Create new issue to add more features.


Help assistance needed....

Is there a possible way for me to make the bot not pause music ?
If yes can you please guide me......thanks!
what should I edit in the code to make this possible.

Hey there, the bot is designed to pause when nobody is listening so that the host can save bandwidth.
The easiest change you can make to the code to avoid the pause would be changing the updateDispatcherStatus() method in src/classes/Player.js to the following:
updateDispatcherStatus() {
    if (!this.dispatcher) {
      return null;
    }

    return this.resumeDispatcher();
  }

Then again it may have some side effects because the bot was not designed with constant playback.

Update:
I'm actually considering having this as a feature that can be selected on the bot configuration. I'm gonna work on this once I'm free, but the change that I showed you should do the trick for now.

@moonstar-x Thanks!

And also if it is not pausing so what about the bot's status?

I'm sorry, can you rephrase what you tried to say? Do you mean that the change didn't work to make the bot not pause? When you say bot status, do you mean the status of the work on this bot or the message that is displayed under the bot name on the members list of Discord?


Python 3.7 cPickle

For running the code in Anaconda Python 3.7,
##import cPickle as pickle
import pickle as cPickle

in the following file:
 (base) mona@mona:~/research/3danimals/SMALify$ vi /home/mona/research/3danimals/SMALify/smal_model/smpl_webuser/serialization.py
Otherwise, you will get this error:
(base) mona@mona:~/research/3danimals/SMALify$ python smal_fitter/optimize_to_joints.py

Bad key savefig.frameon in file /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 421 ('savefig.frameon : True')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.3.2/matplotlibrc.template
or from the matplotlib source distribution

Bad key verbose.level in file /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 472 ('verbose.level  : silent      # one of silent, helpful, debug, debug-annoying')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.3.2/matplotlibrc.template
or from the matplotlib source distribution

Bad key verbose.fileo in file /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle, line 473 ('verbose.fileo  : sys.stdout  # a log filename, sys.stdout or sys.stderr')
You probably need to get an updated matplotlibrc file from
https://github.com/matplotlib/matplotlib/blob/v3.3.2/matplotlibrc.template
or from the matplotlib source distribution
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The text.latex.preview rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The mathtext.fallback_to_cm rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle: Support for setting the 'mathtext.fallback_to_cm' rcParam is deprecated since 3.3 and will be removed two minor releases later; use 'mathtext.fallback : 'cm' instead.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The validate_bool_maybe_none function was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The savefig.jpeg_quality rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The keymap.all_axes rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The animation.avconv_path rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
In /home/mona/anaconda3/lib/python3.7/site-packages/matplotlib/mpl-data/stylelib/_classic_test.mplstyle:
The animation.avconv_args rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
Traceback (most recent call last):
  File "smal_fitter/optimize_to_joints.py", line 10, in <module>
    from smal_fitter import SMALFitter
  File "/home/mona/research/3danimals/SMALify/smal_fitter/smal_fitter.py", line 19, in <module>
    from smal_model.smal_torch import SMAL
  File "/home/mona/research/3danimals/SMALify/smal_model/smal_torch.py", line 15, in <module>
    from .smal_basics import align_smal_template_to_symmetry_axis, get_smal_template
  File "/home/mona/research/3danimals/SMALify/smal_model/smal_basics.py", line 4, in <module>
    from smal_model.smpl_webuser.serialization import load_model
  File "/home/mona/research/3danimals/SMALify/smal_model/smpl_webuser/serialization.py", line 26, in <module>
    import cPickle as pickle
ModuleNotFoundError: No module named 'cPickle'

or actually better yet, just use import pickle
https://stackoverflow.com/a/49579373/2414957

https://github.com/benjiebob/SMALify/issues/6#issuecomment-702278462


fix the issue of linking to google fonts

use https instead of http to fix the issue of linking to google fonts "fonts.googleapis.com/css?family=Vollkorn"

Thanks!


[TizenRT] Build mqtt-hybrid

Build mqtt-hybrid on TizenRT.

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #120. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://ci.nnstreamer.ai/nnstreamer-edge/ci/repo-workers/pr-checker/120-202210281422270.3503201007843-0e8312118bce66bdbc9d6e3c88aca9e4bfa420ab/report/misspelling_result.txt.

INFO: You can read if there are misspelled characters at our misspelling check report. Please read http://ci.nnstreamer.ai/nnstreamer-edge/ci/repo-workers/pr-checker/120-202211011717190.82875609397888-305b34d7eca0c495aed301c263948ad4e76274fe/report/misspelling_result.txt.


Move @typescript-eslint/utils from deps to peer deps

Closes #258
@Newbie012 what do you think about allowing projects to specify their version of @typescript-eslint/utils like this?

I don't mind. make sure that pnpm-lock.yml is updated as well.

Great, updated the lockfile and updated to pnpm 9.9.0

Thanks for the review and merge! I guess this will be in the next patch or minor?

next patch<EMAIL_ADDRESS>next minor<EMAIL_ADDRESS>

yes. write a changeset as patch.

Done, PR open:

https://github.com/ts-safeql/safeql/pull/260


[Bug]: not able to start opendevin on macos

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://docs.all-hands.dev/modules/usage/troubleshooting
[X] I have checked the existing issues.

 MacBook Pro 2018 with Intel chipset.

Can you update your docker desktop to the latest and make sure this settings is set in the Advanced settings?

That seems to have done it. Sadly I've got a new error:
Digest: sha256:ecb9f793d304e2127a99da8ce6c4418f2459fb0f0eafb25b5a4146d73e134c40
Status: Downloaded newer image for ghcr.io/opendevin/opendevin:latest
Starting OpenDevin...
Setting up enduser with id 501
Docker socket group id: 0
root:x:0:
Group with id 0 already exists
Running as enduser
/app/.venv/lib/python3.12/site-packages/llama_cloud/types/metadata_filter.py:20: SyntaxWarning: invalid escape sequence '\*'
  """
07:30:35 - opendevin:INFO: config.py:437 - Config file not found: [Errno 2] No such file or directory: 'config.toml'
INFO:     Started server process [36]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:28838 - "GET /static/splash.png HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:52239 - "GET /static/splash.png HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:23528 - "GET /static/favicon.png HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:38331 - "GET /manifest.json HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:52239 - "GET /api/config HTTP/1.1" 401 Unauthorized
INFO:     <IP_ADDRESS>:52239 - "GET /_app/immutable/nodes/26.a7066c5c.js HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:52239 - "GET /_app/version.json HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:52239 - "GET /_app/version.json HTTP/1.1" 404 Not Found
INFO:     <IP_ADDRESS>:25282 - "GET /opensearch.xml HTTP/1.1" 404 Not Found

I started it using this command (taken from Readme.md page of repo):
WORKSPACE_BASE=$(pwd)/workspace
docker run -it \
    --pull=always \
    -e SANDBOX_USER_ID=$(id -u) \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name opendevin-app-$(date +%Y%m%d%H%M%S) \
    ghcr.io/opendevin/opendevin:latest

I was able to solve this. I had Ollama started without "ollama serve" it seems to be working now.

@KMJ-007 can you try the above suggestions as well and see if it works for you?

what info i can provide more which will help in debugging this?
i tried on my friend's mac also facing the same issue their also
we both have same mac m1 air

Please provide your docker desktop version.
Then when you run the docker command to start OpenDevin, please copy the terminal output and post it here. I'll see if I can get someone to help out.

Yeah, sorry about the inconvenience @KMJ-007 , we'll try to help out with more details.


Client - The client is currently 1 file, in JS its 3 or 4 files. Subscriptions also needs to be refactored into its respective place to match xrpl.js

https://github.com/Transia-RnD/XrplCSharp/pull/64


[bug] create two container with the same name in short time may cause the second container can't be removed

Ⅰ. Issue Description
As shown in the below, create container TestNetworkBridgeWorks, forcely remove it, then create again, the state of container may not right.
#go test -check.f PouchNetworkSuite
OK: 6 passed
PASS
ok    github.com/alibaba/pouch/test  32.757s

#pouch ps -a
Name                     ID       Status   Created         Image                                            Runtime
TestNetworkBridgeWorks   a2ce85   exited   3 minutes ago   registry.hub.docker.com/library/busybox:latest   runc

#pouch rm -f TestNetworkBridgeWorks
Error: failed to remove container: {"message":"container: TestNetworkBridgeWorks: not found"}

#pouch ps -a
Name                     ID       Status   Created         Image                                            Runtime
TestNetworkBridgeWorks   a2ce85   exited   3 minutes ago   registry.hub.docker.com/library/busybox:latest   runc

Ⅱ. Describe what happened
Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

pouch version (use pouch version):
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Is this fixed already? @Letty5411

Not reappearing for a long time, so close it.


Updated node version update of Google Colab notebook example

This updates the Google Colab notebook example.  Currently, the approach downgrades the version that Google Colab makes available. This approach uses the n Node.js version manager for simplicity. You can view my test example at https://colab.research.google.com/drive/1NOzolcu5aH_bMQ6qyxX4DdY4QrRCFk45?usp=sharing.

Thanks!