Adding OSS project to Open-Source/Contribute

Which field of community (DevOps/Opensource/Web/Web3/Android/Devrel) you want to add, drop the links?
I want to add Open Source Project
Link here: https://github.com/EddieHubCommunity/LinkFree
For adding Job Posting, add links here.
No response
For adding OpenSource Projects, add links here.
No response

hey @kaiwalyakoparkar,
I want to work on this issue can you assign it to me?


Typed property Butschster\Head\MetaTags\Meta::$config must not be accessed before initialization

Describe the bug
I have this error in my script.
Typed property Butschster\Head\MetaTags\Meta::$config must not be accessed before initialization
this is how the code is organized in my project:
the controller (actually the trait, but it doesn't make sense here):
        use Butschster\Head\Facades\Meta;
        use Butschster\Head\Packages\Entities\OpenGraphPackage;
        use Butschster\Head\Packages\Package;

        ...

        $meta = new Package('default');
        $og = new OpenGraphPackage('default_og');

        $meta->setTitle('JohnDoe&Co')    // <-- ERROR IS THERE
                ->prependTitle($title);
        $og->setTitle(
            $title.' '.
            config('meta_tags.title.separator').' JohnDoe&Co'
        );
        $og->setSiteName('JohnDoe&Co');

        Meta::replacePackage($meta);
        Meta::replacePackage($og);

it's clearly seen that I instantiate an instance of \Butschster\Head\Packages\Package, which is okay, and it extends the \Butschster\Head\MetaTags\Meta which has a different declaration of constructor where the $config variable is expected.
apparently the thing is Package doesn't call the parent's constructor and that's why the private promoted property $config in Meta lefts undefined.
Environment:

PHP: 8.3.6
Laravel: 11.26.0
Package: 3.1.1

Possible solution
The easiest fix is to declare the $config variable in a regular way (not promoted), so the code looks like this
class Meta implements MetaInterface, \Stringable
...

    private ?Repository $config = null;

    public function __construct(
        protected Manager $packageManager,
        ?Repository $config = null,
    ) {
        $this->config = $config;
        $this->initPlacements();
    }
...

thanks for your open-source development

there is also an option to call parent's constructor in Butschster\Head\Packages\Package:
    public function __construct(
        protected string $name,
    ) {
        parent::__construct(app(ManagerInterface::class));
        $this->placements = new PlacementsBag();
    }

something like that

does anyone faced this issue? do I use a wrong approach, probably?


Some credit cards cannot be recognized (Discover/Chase Sapphire/...)

Some cards cannot be recognized by Uber App - "Payments - Add Payment - scan your card".
According to Uber, card.io SDK is used for this card scanning service.
Could data samples below be considered, so they could be recognized in some future versions?

Citi Costco card

2. [Discover card](https://www.discover.com/credit-cards/help-center/faqs/card-designs.html)

3. [Chase Sapphire](https://www.chase.com/online/sapphire/sapphire.html)

There is open source code that integrates with card.io to recognize many of the new cards with vertical card numbers, printed digits and new character fonts. Here is a link to the directory and release notes:
https://github.com/CTBConsulting/Card.io-for-Capital-One-vertical-Cards

PR?


Add melting ice cream animation

Describe the project you want to add with tech stack

I would like to add an CSS animation which illustrates the melting of ice cream.

@MohitGupta121  @TusharKesarwani  I would like to work on this issue. Please assign me this issue under GSSoC'23


Undefined symbols for architecture arm64

working on macos  Apple M1 and run
git clone --recurse-submodules https://github.com/go-skynet/go-llama.cpp

cd go-llama.cpp
make libbinding.a

LIBRARY_PATH=$PWD C_INCLUDE_PATH=$PWD go run ./examples -m "/model/path/here" -t 1

go version:  go version go1.19 darwin/arm64
In file included from binding.cpp:1:
./llama.cpp/examples/common.h:17:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:18:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:19:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:20:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:21:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:22:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:23:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:24:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:27:19: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:28:19: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:29:19: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:30:29: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:32:24: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:33:24: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:34:30: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:39:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:40:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:41:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:42:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:44:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:45:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:47:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:48:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:49:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:50:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:51:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:52:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:53:28: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:88:20: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
./llama.cpp/examples/common.h:89:27: warning: default member initializer for non-static data member is a C++11 extension [-Wc++11-extensions]
binding.cpp:46:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
binding.cpp:56:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
binding.cpp:104:17: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
binding.cpp:136:14: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
binding.cpp:136:22: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
binding.cpp:186:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
# github.com/go-skynet/go-llama.cpp/examples
/Users/luoji/go/pkg/tool/darwin_arm64/link: running clang++ failed: exit status 1
Undefined symbols for architecture arm64:
  "_cblas_sgemm", referenced from:
      _ggml_compute_forward in libbinding.a(ggml.o)
  "_vDSP_maxv", referenced from:
      _ggml_compute_forward in libbinding.a(ggml.o)
  "_vDSP_sve", referenced from:
      _ggml_compute_forward in libbinding.a(ggml.o)
  "_vDSP_vadd", referenced from:
      _ggml_compute_forward in libbinding.a(ggml.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

any idea on this?

Should be fixed by now thanks to #6 ! Can you try again? If doesn't work please feel free to re-open


feat: add kstatus conforment status updates

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Related Issue # (issue)
Closes # (issue)
Fixes # (issue)

Remove if not applicable

Screenshots

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help
[ ] Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?

[ ] 📜 README.md
[ ] 🙅 no documentation needed

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Okay, here is an object going from Stalled to ready once the secret exists:
➜  SAP k describe componentversion -A
Name:         podinfo
Namespace:    ocm-system
Labels:       <none>
Annotations:  <none>
API Version:  delivery.ocm.software/v1alpha1
Kind:         ComponentVersion
Metadata:
  Creation Timestamp:  2023-11-08T12:31:39Z
  Generation:          1
  Resource Version:    1961
  UID:                 b6af9c07-d7a5-4c17-b7af-4e29f01930eb
Spec:
  Component:  github.com/acme/podinfo
  Interval:   1m
  Repository:
    Secret Ref:
      Name:  creds-2
    URL:     ghcr.io/Skarlso
  Version:
    Semver:  v6.0.0
Status:
  Conditions:
    Last Transition Time:  2023-11-08T12:31:40Z
    Message:               authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
    Observed Generation:   1
    Reason:                AuthenticatedContextCreationFailed
    Status:                True
    Type:                  Stalled
    Last Transition Time:  2023-11-08T12:31:40Z
    Message:               authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
    Observed Generation:   1
    Reason:                AuthenticatedContextCreationFailed
    Status:                False
    Type:                  Ready
Events:
  Type     Reason                              Age   From            Message
  ----     ------                              ----  ----            -------
  Warning  AuthenticatedContextCreationFailed  14m   ocm-controller  authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
  Warning  AuthenticatedContextCreationFailed  4m8s  ocm-controller  authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
  Warning  AuthenticatedContextCreationFailed  34s   ocm-controller  authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found

Then I created the secret:
Status:
  Component Descriptor:
    Component Descriptor Ref:
      Name:       github.com-acme-podinfo-v6.0.0-14336997076718420636
      Namespace:  ocm-system
    Name:         github.com/acme/podinfo
    Version:      v6.0.0
  Conditions:
    Last Transition Time:  2023-11-08T12:46:18Z
    Message:               Applied version: v6.0.0
    Observed Generation:   1
    Reason:                Succeeded
    Status:                True
    Type:                  Ready
  Observed Generation:     1
  Reconciled Version:      v6.0.0
Events:
  Type     Reason                              Age    From            Message
  ----     ------                              ----   ----            -------
  Warning  AuthenticatedContextCreationFailed  14m    ocm-controller  authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
  Warning  AuthenticatedContextCreationFailed  4m31s  ocm-controller  authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
  Warning  AuthenticatedContextCreationFailed  57s    ocm-controller  authentication failed for repository: ghcr.io/Skarlso with error: failed to configure credentials for source: failed to configure credentials for component: Secret "creds-2" not found
  Normal   AuthenticatedContextCreationFailed  17s    ocm-controller  Version check succeeded, found latest version: v6.0.0
  Normal   Succeeded                           12s    ocm-controller  Reconciliation finished, next run in 1m0s

The logs where just waiting, so no reconciliation was happening until the moment I created the secret. Once I removed the secret, the component version went into Stalled again. 🎉 🎉


Removing "phone" from phone number

When I add a phone number, I don't want it to say "Phone: 123456", just "123456".. I tried changing "phone" to "telephone", but nothing then showed.
How do I do this?

This is currently not a configurable option.


Random Doubles: Reduce prevalence of Leftovers

Since Protect is such a common move in Doubles but Leftovers is more situational in the format, don't put Leftovers on every Protect user that doesn't have a better item.

Travis tests have failed
Hey @ascriptmaster,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 7.7

     npm test

><EMAIL_ADDRESS>test /home/travis/build/Zarel/Pokemon-Showdown
> eslint --cache . && tsc && mocha

/home/travis/build/Zarel/Pokemon-Showdown/data/random-teams.js
  1377:45  error  A space is required after ','  comma-spacing

✖ 1 problem (1 error, 0 warnings)
  1 error, 0 warnings potentially fixable with the `--fix` option.

npm ERR! Test failed.  See above for more details.

Could just move it below those Doubles berry selections

It's possible to do that but honestly I don't think Leftovers is very good on Protect mons in Doubles regardless. I just got a Leftovers Manectric and that isn't a use case for the berry checks since those mostly check for double weakness. It would've preferred the Air Balloon at the end of the selection list. There are more examples I got but I'm drawing a blank.
Anyways Doubles is as such that simply having Protect shouldn't be the deciding criteria for determining the item, especially when it's so prevalent

Travis tests have failed
Hey @ascriptmaster,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
Node.js: 7.7

     npm test

><EMAIL_ADDRESS>test /home/travis/build/Zarel/Pokemon-Showdown
> eslint --cache . && tsc && mocha

config.js doesn't exist - creating one with default settings...
NEW GLOBAL: global
NEW CHATROOM: lobby
NEW CHATROOM: staff
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․,․․․․․․․․․․․․․․․․,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․,․․․․․․․,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․!․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․,,,,,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․,,,,,,,,,,,,,,․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․

  981 passing (57s)
  24 pending
  1 failing

  1) Factory sets
       should have valid sets in bss-factory-sets.json:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

npm ERR! Test failed.  See above for more details.


Modify UnionSchema to support multiple named types.

This pull request modifies the UnionSchema schema to add support for a union of multiple named record types. The existing unit tests all pass. Some areas I could use feedback on:

The implementation of UnionSchema.find_schema for Record schemas does a lot of work. Is there a simpler or more efficient way to implement it?
What kind of unit tests should I add to properly test the new functionality?

This would fix #61 and conflict with #76.

What kind of unit tests should I add to properly test the new functionality?

if #97 gets merged, you'll find a commented out test covering this feature if you grep for #95


Elastic 7 support

Details: https://github.com/DivanteLtd/vue-storefront/issues/1692
TODO:

[x] support @elastic/elasticsearch5.x for legacy mode based on config.elasticsearch.apiVersion
[x] seemingly only 840 products fro 2036 are being imported - to check why is that (mapping?)
[x] docs
[x] tests in the legacy mode

Hi, guys!
As I see, vue-storefront v1.11.0 & vue-storefront-api v1.11.0 have support for Elasticsearch 7.x already. Do you plan to merge this PR into the master branch and to release new version of mage2vuestorefront?
I've used feature/es7 branch in my tests with Elasticsearch v7.3.2 and found it works pretty well.
Thanks for the products, guys. It's awesome.

@andrzejewsky shouldn’t that be merged in?

@pkarw yeah, it supposed to be! I totally missed out that PR


Closure compiler removes multiple consecutive spaces from inside regex expressions when using ADVANCED_OPTIMIZATIONS

the following code gets changed from having four spaces in the regex to having one when compiled with ADVANCED_OPTIMIZATIONS:
alert("this is    borked ".replace(/    /g, " not "));

I just tried it, and I was not able to reproduce this issue. Here is the command I ran:
$ java -jar compiler.jar --version
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20141215
Built on: 2014/12/17 09:05

$ echo 'alert("this is    borked ".replace(/    /g, " not "));' | java -jar compiler.jar -O=ADVANCED_OPTIMIZATIONS
alert("this is    borked ".replace(/    /g," not "));

are there additional repro steps? what version of the compiler are you using? Are you sure you don't have a script on top of closure-compiler that mangles the spacing?

here's my version output:
java -jar /home/pmartin/DevTools/Closure/compiler.jar --version
Closure Compiler (http://github.com/google/closure-compiler)
Version: v20141215
Built on: 2014/12/17 09:05

actual code in my application that experiences this issue:
_loadScript: {
    value: function(scriptname) {
        this._ifdepth = 0;
        var request = new XMLHttpRequest();
        request.open("GET", this._rootpath + "script" + window.PATH_SEPARATOR + scriptname, false);
        request.send(null);
        if (request.status == 200) {
            this._scriptReader["init"](request.responseText.replace(/    /g, "\t").replace(/\r/g, ""));
            this._currentScript = scriptname;
        }
        else if (this._scriptZip) {
            var file = this._scriptZip.file("script" + window.PATH_SEPARATOR + scriptname);
            if (file != null) {
                this._scriptReader["init"](file["asText"]().replace(/    /g, "\t").replace(/\r/g, ""));
                this._currentScript = scriptname;
            }
        }
    },
    writable: false
},

command i'm using:
java -jar /home/username/DevTools/Closure/compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js VNJSn.js --js_output_file VNJSn.min.js

result:
M:{value:function(a){this.v=0;var c=new XMLHttpRequest;c.open("GET",this.e+"script"+window.g+a,!1);c.send(null);200==c.status?(this.j.init(c.responseText.replace(/ /g,"\t").replace(/\r/g,"")),this.J=a):this.$&&(c=this.$.file("script"+window.g+a),null!=c&&(this.j.init(c.asText().replace(/ /g, "\t").replace(/\r/g,"")),this.J=a))},writable:!1},

That code snippet does not compile by itself. When I wrapped it in something to make it compile, I was not able to reproduce the issue.
Again, can you provide exact repro steps?

nevermind, i fixed it, there was an error with another program i was using, that ended up looking like closure was causing the issue.


Waves.js works wrong when both  was disabled and  has child.

A very simple example: http://jsbin.com/gofewazula/edit?html,output.
When disabled <button> has child, and you clicked that child, ripple effect works wrong.

Seem to be waves.js only checked the event.target.disabled, when I set child.disabled to true, all things works fine.

Well, I think I just make the ripple didn't show if there is disabled property on target element.


Fix: Updated optimism links

What changed? Why?

updated links to optimism

Notes to reviewers
How has it been tested?
locally

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

Closing in favor of a new PR from a fresh clone of the repo


Explain that the assignee is not necessarily the reviewer

Also give "one week" as the timeframe within any reaction (reassignment, "will take longer to review", or a review) will happen. Happy to increase the time here.
Related discussion: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/review.20queue.20.26.20capacity
cc @rust-lang/compiler

@bors r+

One week is pretty quick? Don't we normally say 2 weeks?


Anyone wanna make $500 US quick and easy? No joke.

Help me get validation working with a Kubernetes 1.13.1 v1 PodSpec. I've pulled my hair out and burned 120 hours across 2 weeks trying every approach under the sun and countless repos all claiming they can do this.
I have a dereferenced v1 PodSpec JSON object.
I get a struct from kubernetes (core v1 PodSpec).
I need to validate the spec conforms to the JSON object.
Why is this so hard in kubernetes land? I've tried marshalling/unmarshalling using JSON and YAML. Neither approach work. To make matters worse, the kubernetes community as a whole is fragmented and there really is no central place to collaborate. Github is absolutely terrible for this. They've abandoned using slack, although their slack channel was never useful anyways for anything other than simple setup questions. Hell I even liaised with some former googlers who worked with Borg, the predecessor to Kubernetes and they weren't any help.
If someone knows how to do this, I will pay you $500 US for 1 hour of your time. Probably not even that long. I'm dead serious. Paying someone $500 is far more prudent than burning another 2 weeks on this issue. We can find a way to arrange payment so that neither of us needs to worry about getting ripped off.
Never wanted to put an issue to bed as badly as I do this. My god what a headache.

Do you have a code sample you expect to work but doesn't? From your description it's kind of hard to figure out what is going on and I have no experience with Kubernetes. It's quite possible some things get lost in translation somewhere with all the YAML/Go structs/JSON conversions. I've seen related things getting reported here before.
In case you need someone to vent to in a chatroom you can find me in the JSON schema slack

I'll post it after I'm done trying my latest approach. It's gotta be something simple I'm missing in the midst of my lack-of-sleep super. Either that or there is some deep-rooted issue with kubernetes 1.13.1.


Feature request

Can you include a page in the Tesla app that demonstrate the carouselview features discussed on your website using the latest Xamarin.Forms.CarouselView?
https://www.nuget.org/packages/Xamarin.Forms.CarouselView/2.3.0-pre1

In the last 24hrs James Montemagno just posted on the Xamarin Blog about it. This will be a better place to learn from it instead of here. https://blog.xamarin.com/flip-through-items-with-xamarin-forms-carouselview/

thanks!


[Ubuntu] crash when move the mouse

Thanks for your work.
i want to use media-kit to play a video in my ubuntu desktop program.
when i use fvm flutter run -d linux, if i didn't touch the mouse, sometimes the video played well,
but if i moved the mouse, the program would be crashed.
OS: ubuntu 20.04
fvm:3.1.5
flutter:Flutter 3.22.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision a14f74ff3a (6 weeks ago) • 2024-05-22 11:08:21 -0500
Engine • revision 55eae6864b
Tools • Dart 3.4.1 • DevTools 2.34.3
i tried:
late final controller = VideoController(player,
      configuration: const VideoControllerConfiguration(
          enableHardwareAcceleration: false));

but it was also crashed.

if i change the flutter version to 3.19.1, and use the same source code, the player worked well.
i think it is a bug.

Not happening now.


State management

I'm looking at your state management logic. Based on what I'm seeing can I assume the following is how it works:-

Create the state object
Create a tracker with Serializer
Use onSnapshot client side to update/ retrieve state?

But I have the following questions

Is it that the "patch tracker" are instantiated on game connection ?
Is the tracker listeners created on instantiation ?

Also

do I "need" to use MosX state management?
If I use my own...do I need to serialize it using the serializer?
Do I also need to follow the same patterns for my state management?

Examples would be appreciated. Thanks in advance.

The main idea that I tried to implement in Magx is automatic synchronization of state between server and clients. The principle is as follows - when client connected receives a full snapshot, and after receives all the changes in JsonPatch format. Unlike the Colyseus, mosx supports private objects in state and computed properties.
Regarding your questions:

Tracker is instantiated on room creation. Tracker must be created in createPatchTracker method
Connected clients start listen for changes

You have the freedom and flexibility to choose state management engine without limitations, but you need to implement  change tracking functionality via JsonPatch (https://github.com/udamir/magx/blob/master/packages/core/src/room/tracker.ts) for example via mobx. By the way Mosx is based on mobx v5.
Magx uses MessagePack for serialization, but you can use any implementation. You can use PatchPack library for JsonPatch serialization.
You can find examples of Magx with mosx and without in example project


Added automated infrastructure and code deployment

Added automated infrastructure and code deployment with bicep and Azure CLI
Some code clean-up
Additional documentation and examples

updated.

merged.


[Improvement]kill yarn type task optimization

Tips

Thanks very much for contributing to Apache DolphinScheduler.
Please review https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds checkstyle plugin.)
Brief change log
(for example:)

Add maven-checkstyle-plugin to root pom.xml

Verify this pull request
(Please pick either of the following options)
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added dolphinscheduler-dao tests for end-to-end.
Added CronUtilsTest to verify the change.
Manually verified the change by testing locally.

code style check fails, you can refer this docs:https://dolphinscheduler.apache.org/en-us/community/development/pull-request.html

Codecov Report

Merging #4965 (d6420f7) into dev (86ffc1f) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev    #4965   +/-   ##
=========================================
  Coverage     45.32%   45.32%
+ Complexity     3673     3672    -1
=========================================
  Files           607      607
  Lines         24788    24788
  Branches       2802     2802
=========================================
+ Hits          11234    11236    +2
+ Misses        12485    12482    -3
- Partials       1069     1070    +1

Impacted Files
Coverage Δ

...dolphinscheduler/remote/future/ResponseFuture.java
81.35% <0.00%> (-1.70%)
:arrow_down:

...er/master/processor/queue/TaskResponseService.java
68.49% <0.00%> (+4.10%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86ffc1f...d6420f7. Read the comment docs.


Hi @jarvis710, do you have an example of what series, episodes and the audio and subtitle settings you have... to be able to replicate the error

The audio and subtitle settings, I usually leave the audio in Japanese and subtitles in Spanish or put in English audio without subtitles. The series that generate this crash are of the mature or similar category. Example: High School DXD, Prison School, Ikki Tousen, Freezing

hi @jarvis710, the official application is now available in the TV store. regards

Thanks


Stopping consumers

Hello,
I'm trying to figure out how to stop consumers manually. I want to handle the onApplicationShutdown NestJS lifecycle hook and, when it is called, stop the SQS consumer and check that there are no jobs running.
This is the SqsModuleOptionsFactory
@Injectable()
export default class SqsOptionsFactory implements SqsModuleOptionsFactory {
 createOptions(): SqsOptions | Promise<SqsOptions> {
    const consumers = []

    consumers.push({
      name: "the-queue-name",
      queueUrl: "the-queue-url",
      region: "the-queue-region",
    })

    return { consumers, producers: [] }
  }
}

Looking at bbc/sqs-consumer I can see the consumer.stop method, how can I retrieve the consumer to call the stop method?

https://github.com/ssut/nestjs-sqs/blob/master/lib/sqs.service.ts#L82-L86

I was just looking for this when considering how to stop my queue when hitting rate limits from third parties that it uses to process jobs, with the idea that I can keep track of usage and stop the consumer when I know I am approaching or will exceed rate limits. If anyone knows alternative solution to my problem would be interested in ideas.


Automatically launch browser when logging in with OAuth

Other OAuth tooling will automatically launch the browser to avoid the user needing to copy the URL and paste it into their browser. This PR uses the github.com/pkg/browser library to do so. If it fails (e.g. the user is running on a server) we ignore the error code and normal (existing process) takes place.

@aeijdenberg Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@aeijdenberg Thanks for making the pull request...could you do me a favour and review / sign the CLA? Thanks!

Thanks, @jama-pivotal - I'm working on getting the CLA signed.

@aeijdenberg, I'd like to see a command line option to enable this feature. It breaks the flow for people using the token based authentication because it assumes they want a browser window opened on their behalf.

Hi @jtarchie , I can look at doing that. I'm curious though, under what circumstances would a user not want to open a browser window to navigate to the URL? (the printed instructions state: navigate to the following URL in your browser)
I could imagine that there are times this might be run on an environment with no browser present (such as when SSHed to a server), but that should happily fail by ignoring the error code.
Would it be OK perhaps to do the opposite - open a browser by default, and provide a flag for disabling? For reference, this is what gcloud auth login does, they provide a --launch-browser flag which is "Enabled by default, use --no-launch-browser to disable".
In other news - we're closer to getting the CLA issue sorted out on our end.

@aeijdenberg, take a closer look:
$ fly -t concourse login
Logging in to team 'main'

1: GitHub
2: Basic Auth
choose an auth method: 1
navigate to the following URL in your browser:

    https://my-ci.com/auth/github?team_name=main&fly_local_port=53413

or enter one of the following token types:
    - Personal access token (e.g. '1234567890')
    - Bearer token (e.g. 'Bearer<PHONE_NUMBER>')

Token:

There is a prompt for a user to enter a personal access token, which doesn't require a browser to open. I'd rather keep the current flow with the option for the browser to open.

To be honest it's pretty strange to me that we prompt at all for a personal access token. My understanding is that that flow was specifically introduced to enable scripting, which I'd expect to be non-interactive.
I do think this should probably be a flag anyway. Unless there's precedent. It does seem surprising to open a browser unprompted.
Maybe we should just get rid of the token prompt entirely? We added it a long while back to support users running older Concourse instances before we had the magic browser flow, so they could paste the token from the response.
/cc @jama-pivotal @Lindsayauchin

@aeijdenberg Thank you for signing the Contributor License Agreement!

Super sorry for the late reply @aeijdenberg and @vito I think the suggestion for the flag on fly makes sense. We can think about removing the personal access token completely in a subsequent issue? Don't want to break people's scripts if they've grown to rely on supplying it

Merged #227 instead. Thanks though!


feat: introduce no_std support for ff, curve, and crypto

Found this clippy lint that might be useful:
https://github.com/rust-lang/rust-clippy/issues/7724

Note that we should also add CI steps for building without the std feature to make sure we're not accidentally breaking no_std support.

Hmmm I just tried running this:
$ cargo build --package starknet-crypto --no-default-features

to make sure it really works for no_std, but I'm getting errors. Any ideas?

Is it possible that we make the crate work with everything turned off (not even alloc), but with reduced functionality? Anything that requires alloc gets gated by any(feature = "std", feature = "alloc"). Then at least the crate would work with a bare default-features = false.

Is it possible that we make the crate work with everything turned off (not even alloc), but with reduced functionality?

Yeah totally. alloc is only used by starknet-ff here:
impl Serialize for FieldElement {
    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where
        S: serde::Serializer,
    {
        serializer.serialize_str(&ToString::to_string(&self))
    }
}

impl<'de> Deserialize<'de> for FieldElement {
    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where
        D: serde::Deserializer<'de>,
    {
        let value = String::deserialize(deserializer)?;
        Self::from_str(&value).map_err(serde::de::Error::custom)
    }
}

So what we can do is:
[dependencies]
serde = { version = "1.0.152", default-features = false, optional = true }

[features]
serde = ["alloc", "dep:serde"]
alloc = [""serde?/alloc"]

@xJonathanLEI I pushed a new version. Where the tree crates are full #![no_std] and don't relly at all on std.
They occasionally need alloc to perform some specific actions that are behind feature flags, such as serde or display-field-element.
I also replaced thiserror by snafu in order to have non-buggy no_std.
I think you will like this version better


Nil the actualBlock using the ivar instead of setter in dealloc

The switch to ARC should remove the need for this

But.. then there won't be a little Chris face on the list of contributors...

Haha, that seems like a pretty good reason to merge this to me! :+1:
Whaddya say, @orta?

cummon @orta!

hah


[CMake][feat] Support FetchContent use

Why

related to issue : #505
Make FetchContent available without any test or example target built

What is changing

CMake version requirement is up ( 3.15 => 3.21)
Subdirectories will not add into project unless PROJECT_IS_TOP_LEVEL is false
Add some $<INSTALL_INTERFACE> and $<BUILD_INTERFACE> to avoid explicit call include_directories outside

Example
Simple testing used
cmake_minimum_required(VERSION 3.21)
project(ylt_test)

include(FetchContent)

FetchContent_Declare(
    yalantinglibs
    GIT_REPOSITORY https://github.com/JYLeeLYJ/yalantinglibs.git
    GIT_TAG feat/fetch # optional ( default master / main )
    GIT_SHALLOW 1 # optional ( --depth=1 )
)

FetchContent_MakeAvailable(yalantinglibs)
add_executable(main main.cpp)

target_link_libraries(main yalantinglibs::yalantinglibs)
target_compile_features(main PRIVATE cxx_std_20)

is there any way to support fetchContent with cmake 3.15?

we need some time to review, this afternoon .
I think 1 and 2 is good .

Subdirectories will not add into project unless [PROJECT_IS_TOP_LEVEL  is false
Add some $<INSTALL_INTERFACE> and $<BUILD_INTERFACE> to avoid explicit call include_directories outsid

maybe we can do this without upgrade cmake version

maybe we can do this without upgrade cmake version

Reading property PARENT_DIRECTORY may work .

LGTM


[SUPPORT] Flink Hudi write on S3 DataStreamSinkProvider error

Hi,
we are trying to use Hudi in aws Kinesis Data Analytics Studio along with Flink.
The following python code produces data and inserts it into kinesis stream:
def getReferrer():
    data = {}
    now = datetime.datetime.now()
    str_now = now.isoformat()
    data['uuid'] = str(uuid.uuid4())
    data['event_time'] = str_now

    data['ticker'] = random.choice(['AAPL', 'AMZN', 'MSFT', 'INTC', 'TBV'])
    price = random.random() * 100
    data['price'] = round(price, 2)
    return data

while True:
    data = json.dumps(getReferrer())
    print(data)
    res = kinesis.put_record(
        StreamName="stream-name",
        Data=data,
        PartitionKey="partitionkey")
    time.sleep(1)

In Zeppelin, we create a table as a source ingesting the above generated data:
%flink.ssql(type=update)

drop table stock_table;

CREATE TABLE stock_table (
uuid varchar(36),
ticker VARCHAR(6),
price DOUBLE,
event_time TIMESTAMP(3),
WATERMARK FOR event_time AS event_time - INTERVAL '5' SECOND
)
PARTITIONED BY (ticker)
WITH (
'connector' = 'kinesis',
'stream' = 'stream-name',
'aws.region' = 'us-west-2',
'scan.stream.initpos' = 'LATEST',
'format' = 'json',
'json.timestamp-format.standard' = 'ISO-8601');

Next, we create a table source for hudi on S3:
%flink.ssql(type=update)

drop table t1;

CREATE TABLE t1(
uuid VARCHAR(36),
ticker VARCHAR(6),
price DOUBLE,
ts TIMESTAMP(3)
)
PARTITIONED BY (ticker)
WITH (
  'connector' = 'hudi',
  'path' = 's3://bucket-name/hudi/',
  'table.type' = 'MERGE_ON_READ' -- this creates a MERGE_ON_READ table, by default is COPY_ON_WRITE
);

And finally, we want to insert data from stream into s3 using hudi:
%flink.ssql(type=update)
-- insert data using values
INSERT INTO t1 select uuid, ticker, price, event_time as ts from stock_table;

We get the following error when trying to run the above code:
java.lang.NoClassDefFoundError: org/apache/flink/table/connector/sink/DataStreamSinkProvider
	at org.apache.hudi.table.HoodieTableSink.getSinkRuntimeProvider(HoodieTableSink.java:81)
	at org.apache.flink.table.planner.plan.nodes.common.CommonPhysicalSink.createSinkTransformation(CommonPhysicalSink.scala:69)
	at org.apache.flink.table.planner.plan.nodes.physical.stream.StreamExecSink.translateToPlanInternal(StreamExecSink.scala:108)
	at org.apache.flink.table.planner.plan.nodes.physical.stream.StreamExecSink.translateToPlanInternal(StreamExecSink.scala:43)
	at org.apache.flink.table.planner.plan.nodes.exec.ExecNode.translateToPlan(ExecNode.scala:58)
	at org.apache.flink.table.planner.plan.nodes.exec.ExecNode.translateToPlan$(ExecNode.scala:56)
	at org.apache.flink.table.planner.plan.nodes.physical.stream.StreamExecSink.translateToPlan(StreamExecSink.scala:43)
	at org.apache.flink.table.planner.delegation.StreamPlanner.$anonfun$translateToPlan$1(StreamPlanner.scala:67)
	at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:233)
	at scala.collection.Iterator.foreach(Iterator.scala:937)
	at scala.collection.Iterator.foreach$(Iterator.scala:937)
	at scala.collection.AbstractIterator.foreach(Iterator.scala:1425)
	at scala.collection.IterableLike.foreach(IterableLike.scala:70)
	at scala.collection.IterableLike.foreach$(IterableLike.scala:69)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
	at scala.collection.TraversableLike.map(TraversableLike.scala:233)
	at scala.collection.TraversableLike.map$(TraversableLike.scala:226)
	at scala.collection.AbstractTraversable.map(Traversable.scala:104)
	at org.apache.flink.table.planner.delegation.StreamPlanner.translateToPlan(StreamPlanner.scala:66)
	at org.apache.flink.table.planner.delegation.PlannerBase.translate(PlannerBase.scala:166)
	at org.apache.flink.table.api.internal.TableEnvironmentImpl.translate(TableEnvironmentImpl.java:1264)
	at org.apache.flink.table.api.internal.TableEnvironmentImpl.translateAndClearBuffer(TableEnvironmentImpl.java:1256)
	at org.apache.flink.table.api.internal.TableEnvironmentImpl.execute(TableEnvironmentImpl.java:1213)
	at org.apache.zeppelin.flink.FlinkSqlInterrpeter.callInsertInto(FlinkSqlInterrpeter.java:532)
	at org.apache.zeppelin.flink.FlinkStreamSqlInterpreter.callInsertInto(FlinkStreamSqlInterpreter.java:97)
	at org.apache.zeppelin.flink.FlinkSqlInterrpeter.callCommand(FlinkSqlInterrpeter.java:273)
	at org.apache.zeppelin.flink.FlinkSqlInterrpeter.runSqlList(FlinkSqlInterrpeter.java:160)
	at org.apache.zeppelin.flink.FlinkSqlInterrpeter.internalInterpret(FlinkSqlInterrpeter.java:112)
	at org.apache.zeppelin.interpreter.AbstractInterpreter.interpret(AbstractInterpreter.java:47)
	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:110)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:852)
	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:744)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
	at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132)
	at org.apache.zeppelin.scheduler.ParallelScheduler.lambda$runJobInScheduler$0(ParallelScheduler.java:46)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: org.apache.flink.table.connector.sink.DataStreamSinkProvider
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 38 more

We tried all the jar files as custom connectors, hudi-flink-bundle_2.11-0.9.0.jar and hudi-flink-bundle_2.11-0.8.0.jar and hudi-flink-bundle_2.11-0.7.0.jar downloaded from here.
You advice/assistance in this matter is much appreciated.

@ibudanaev-crunchyroll are you able to print the classpath and have you tried putting the needed jar there?
@danny0405 Is flink bundle jar expected to have this dependency?

hudi-flink-bundle_2.11-0.9.0.jar expects to work, i guess you do not use the right flink version, for 0.9.0 hudi, flink 1.12.2 is suggested.

Thank you for you attention to this issue. It seems that AWS Kinesis Data Analytics Studio (KDA) now supports both flink versions (1.11 and 1.13).
I created two applications with either versions. I used Hudi 0.9.0 with flink 1.11 and Hudi 0.10.0-SNAPSHOT (master branch) with flink 1.13.
With Hudi 0.9.0 and flink 1.11 I get the above mentioned error.
With Hudi 0.10.0-SNAPSHOT and Flink 1.13 I get a different error when trying to read a Hudi table.
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
	at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
	at org.apache.flink.util.FlinkUserCodeClassLoader.loadClassWithoutExceptionHandling(FlinkUserCodeClassLoader.java:64)
	at org.apache.flink.util.ChildFirstClassLoader.loadClassWithoutExceptionHandling(ChildFirstClassLoader.java:65)
	at org.apache.flink.util.FlinkUserCodeClassLoader.loadClass(FlinkUserCodeClassLoader.java:48)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 36 more

Any dependency am I missing when building the flink bundle? Any help would be appreciated.

0.9.0 adapter to flink 1.12.2 only.
ClassNotFoundException: org.apache.hadoop.conf.Configuration is because flink bundle does not package in the hadoop jar, you need to set up the env variable HADOOP_CLASSPATH correctly for your local test.
Usually, the HADOOP_CLASSPATH is the root dir of the hadoop.

@xushiyan Hi, per @awsalialem comment, aws KDA does support Flink 13.2 version.
Since @danny0405 mentioned that 0.9.0 adapter to flink 1.12.2 only., where can I download the right flink hudi connector for Flink 13.2 version?

The master code already adapter to Flink 1.13.1, which is compatible with Flink 1.13.2.

@danny0405 @xushiyan : can we close out the github issue if the issue is resolved. If not, can we have some follow up please.

@ibudanaev-crunchyroll I hope your problem was resolved given flink 1.13.x was supported.
@awsalialem Hope @danny0405 's reply gave you the pointer to your dependency problem https://github.com/apache/hudi/issues/3707#issuecomment-960472407
Closing this now.

@ibudanaev-crunchyroll @awsalialem Have you resolved the problem yet? Encountered into the same issue using KDA Studio with Flink 1.13 for Hudi on S3 insert. Thanks~

@davidshtian Yes. In addition to the Hudi Flink bundle you would need to add flink-s3-fs-hadoop-1.13.2.jar to the list of custom connectors of your Studio Notebook in Amazon Kinesis Data Analytics.

@davidshtian Yes. In addition to the Hudi Flink bundle you would need to add flink-s3-fs-hadoop-1.13.2.jar to the list of custom connectors of your Studio Notebook in Amazon Kinesis Data Analytics.

Thanks for your help~ Tried hudi-flink-bundle_2.12-0.10.1.jar and flink-s3-fs-hadoop-1.13.2.jar within KDA Studio (Flink 1.13.2), and it worked! Thanks~

I followed the above steps and ran the below insert statement including the above jars to the list of custom connectors
INSERT INTO t1 select uuid, ticker, price, event_time as ts from stock_table;
But the query hangs in Studio and there is no output event after 2 hrs. Is there any additional jars or settings in Zeppelin something that I am missing. Thanks!

I followed the above steps and ran the below insert statement after including the above listed jars to the list of custom connectors
INSERT INTO t1 select uuid, ticker, price, event_time as ts from stock_table;
But the query hangs in Studio and there is no output even after 2 hrs. Is there any additional jars or settings in Zeppelin that we need to do and I am missing. Thanks!

Any messages on Flink dashboard?

I followed the above steps and ran the below insert statement after including the above listed jars to the list of custom connectors
INSERT INTO t1 select uuid, ticker, price, event_time as ts from stock_table;
But the query hangs in Studio and there is no output even after 2 hrs. Is there any additional jars or settings in Zeppelin that we need to do and I am missing. Thanks!

Any messages on Flink dashboard?

I created a new studio environment, re-ran the scripts and it worked. Thanks for the quick response

@rahulsarda @davidshtian
hi guys,
i did similar things, but met the fellow issue when i used kinesis studio the run insert statement, could you please give me some options?  thanks a lot!
ps: i add those libs
hudi-flink-bundle_2.12-0.10.1.jar
hudi-spark3.1.2-bundle_2.12-0.10.1.jar
mysql-connector-java-8.0.23.jar
flink-connector-jdbc_2.11-1.13.1.jar
flink-sql-connector-mysql-cdc-2.2.1.jar
flink-s3-fs-hadoop-1.13.2.jar
this is my step:

create cdc table

%flink.ssql(type=update)

CREATE TABLE mysql_raw_order (
  order_id BIGINT,
  user_mail STRING,
  status STRING,
  good_count BIGINT,
  city STRING,
  amount DECIMAL(10, 2),
  create_time STRING,
  update_time STRING,
  PRIMARY KEY(order_id) NOT ENFORCED
) WITH (
  'connector' = 'mysql-cdc',
  'hostname' = 'demo.xxxxxx.rds.cn-northwest-1.amazonaws.com.cn',
  'username' = 'xxxxx',
  'password' = 'xxxxx',
  'port' = '3306',
  'database-name' = 'demo',
  'table-name' = 'order'
);

then i run
select Count(*) from mysql_raw_order
it works well

create hudi table

%flink.ssql(type=update)

CREATE TABLE flink_hudi_order_ods(
order_id BIGINT,
user_mail STRING,
status STRING,
good_count BIGINT,
city STRING,
amount DECIMAL(10, 2),
create_time STRING,
update_time STRING,
ts TIMESTAMP(3),
logday VARCHAR(255),
hh VARCHAR(255)
)PARTITIONED BY (`logday`,`hh`)
WITH (
'connector' = 'hudi',
'path' = 's3://tx-workshop/demo/hudi/',
'table.type' = 'MERGE_ON_READ',
'write.precombine.field' = 'ts',
'write.operation' = 'upsert',
'hoodie.datasource.write.recordkey.field' = 'order_id',
'hive_sync.enable' = 'true',
'hive_sync.table' = 'flink_hudi_order_ods',
'hive_sync.mode' = 'HMS',
'hive_sync.use_jdbc' = 'false',
'hive_sync.partition_fields' = 'logday,hh',
'hive_sync.partition_extractor_class' = 'org.apache.hudi.hive.MultiPartKeysValueExtractor'
);

the output says 'Table has been created.'
but i did not found any files created in the s3 path  (s3://tx-workshop/demo/hudi/)

i run insert command

%flink.ssql(type=update)

insert into flink_hudi_order_ods select * ,CURRENT_TIMESTAMP as ts,
DATE_FORMAT(CURRENT_TIMESTAMP, 'yyyy-MM-dd') as logday, DATE_FORMAT(CURRENT_TIMESTAMP, 'hh') as hh from mysql_raw_order;

it takes a long time, but also failed with fellow logs:
java.io.IOException: org.apache.flink.util.FlinkException: Failed to execute job 'insert into flink_hudi_order_ods select * ,CURRENT_TIMESTAMP as ts,
DATE_FORMAT(CURRENT_TIMESTAMP, 'yyyy-MM-dd') as logday, DATE_FORMAT(CURRENT_TIMESTAMP, 'hh') as hh from mysql_raw_order'.
at org.apache.zeppelin.flink.FlinkSqlInterrpeter.callInsertInto(FlinkSqlInterrpeter.java:538)
at org.apache.zeppelin.flink.FlinkStreamSqlInterpreter.callInsertInto(FlinkStreamSqlInterpreter.java:97)
at org.apache.zeppelin.flink.FlinkSqlInterrpeter.callCommand(FlinkSqlInterrpeter.java:273)
at org.apache.zeppelin.flink.FlinkSqlInterrpeter.runSqlList(FlinkSqlInterrpeter.java:160)
at org.apache.zeppelin.flink.FlinkSqlInterrpeter.internalInterpret(FlinkSqlInterrpeter.java:112)
at org.apache.zeppelin.interpreter.AbstractInterpreter.interpret(AbstractInterpreter.java:47)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:110)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:852)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:744)
at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132)
at org.apache.zeppelin.scheduler.ParallelScheduler.lambda$runJobInScheduler$0(ParallelScheduler.java:46)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.flink.util.FlinkException: Failed to execute job 'insert into flink_hudi_order_ods select * ,CURRENT_TIMESTAMP as ts,
DATE_FORMAT(CURRENT_TIMESTAMP, 'yyyy-MM-dd') as logday, DATE_FORMAT(CURRENT_TIMESTAMP, 'hh') as hh from mysql_raw_order'.
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.executeAsync(StreamExecutionEnvironment.java:1970)
at org.apache.flink.api.java.ScalaShellStreamEnvironment.executeAsync(ScalaShellStreamEnvironment.java:73)
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1848)
at org.apache.flink.table.planner.delegation.ExecutorBase.execute(ExecutorBase.java:50)
at org.apache.flink.table.api.internal.TableEnvironmentImpl.execute(TableEnvironmentImpl.java:1461)
at org.apache.zeppelin.flink.FlinkSqlInterrpeter.callInsertInto(FlinkSqlInterrpeter.java:532)
... 14 more
Caused by: java.lang.RuntimeException: Error while waiting for job to be initialized
at org.apache.flink.client.ClientUtils.waitUntilJobInitializationFinished(ClientUtils.java:160)
at org.apache.flink.client.deployment.executors.AbstractSessionClusterExecutor.lambda$execute$2(AbstractSessionClusterExecutor.java:82)
at org.apache.flink.util.function.FunctionUtils.lambda$uncheckedFunction$2(FunctionUtils.java:73)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
... 1 more
Caused by: java.util.concurrent.ExecutionException: org.apache.flink.runtime.concurrent.FutureUtils$RetryException: Could not complete the operation. Number of retries has been exhausted.
at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
at org.apache.flink.client.deployment.executors.AbstractSessionClusterExecutor.lambda$execute$0(AbstractSessionClusterExecutor.java:83)
at org.apache.flink.client.ClientUtils.waitUntilJobInitializationFinished(ClientUtils.java:144)
... 5 more
Caused by: org.apache.flink.runtime.concurrent.FutureUtils$RetryException: Could not complete the operation. Number of retries has been exhausted.
at org.apache.flink.runtime.concurrent.FutureUtils.lambda$retryOperationWithDelay$9(FutureUtils.java:386)
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859)
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:610)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1085)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
... 1 more
Caused by: java.util.concurrent.CompletionException: org.apache.flink.runtime.rest.util.RestClientException: [Service temporarily unavailable due to an ongoing leader election. Please refresh.]
at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:367)
at java.base/java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:376)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1074)
... 4 more
Caused by: org.apache.flink.runtime.rest.util.RestClientException: [Service temporarily unavailable due to an ongoing leader election. Please refresh.]
at org.apache.flink.runtime.rest.RestClient.parseResponse(RestClient.java:486)
at org.apache.flink.runtime.rest.RestClient.lambda$submitRequest$3(RestClient.java:466)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
... 4 more

Hello i would want to reopen issue
https://github.com/apache/hudi/issues/7591
Query is hanging and throws error not sure if this is on AWS side


Shifted public information from INFO to libneo

Shifted information from INFO to libneo so that documentation of other codes can access the information.

I didn't repeat remarks for every occurrence, e.g. regarding capitalization of Boozer or spacing Fourier series apart. Generally, I would also recommend emphasis or strong emphasis instead of ALL CAPS. Finally: nice pictures! Is there a difference between \theta and \vartheta in the plots?

Did the rework. Concerning the plots: I used different symbols for the poloidal angle, to highlight that there is not one kind of poloidal angle. I could have written \theta instead of \vartheta instead, because the whole point of the picture and the section is that a symbol/number without a proper reference of its meaning can not be trusted.


Asterisk Pattern

I don't understand. What does this do?

"apple.com.akadns.net" would match "a.apple.com.akadns.net" , but under some circumstance , there is no easy way to put forwarding rule for "store-010-lb.blobstore-apple.com.akadns.net".
It is only my personal need.  close it if you think it not necessary.

Mmmm... yes, that looks more like a hack for a peculiar need.
If we want to extend this, it would be probably better to use the PatternMatcher struct, as done for blacklisting, whitelisting, cloaking, etc.


Any plan to support io.js?

Got lots of errors when I updated nan to 2.0.5 and compiled:
../src/zip_async_worker.h:14:31: error: unknown class name 'NanAsyncWorker'; did you mean 'ZipAsyncWorker'?
class ZipAsyncWorker : public NanAsyncWorker {
                              ^~~~~~~~~~~~~~
                              ZipAsyncWorker
../src/zip_async_worker.h:14:7: note: 'ZipAsyncWorker' declared here
class ZipAsyncWorker : public NanAsyncWorker {
      ^
../src/zip_async_worker.h:14:31: error: base class has incomplete type
class ZipAsyncWorker : public NanAsyncWorker {
                       ~~~~~~~^~~~~~~~~~~~~~
../src/zip_async_worker.h:14:7: note: definition of 'zip::ZipAsyncWorker' is not complete until the closing '}'
class ZipAsyncWorker : public NanAsyncWorker {

Nevemind, I get it compiled succeed now, but don't why it crashes at the latest NW.js. will send a PR if I can fix it.


issue with static in latest mima?

from https://gitter.im/akka/dev?at=5840224bc5bc35217da4520a:

Konrad Malawski @ktoso 05:14
MiMa is very weird...

   public static void shutdownActorSystem(ActorSystem actorSystem, Boolean verifySystemShutdown) {
    shutdownActorSystem(actorSystem, null, verifySystemShutdown);
  }
 [error]  * static method shutdownActorSystem(akka.actor.ActorSystem,java.lang.Boolean)Unit in class akka.testkit.JavaTestKit is non-static in current version
[error]    filter with: ProblemFilters.exclude[VirtualStaticMemberProblem]("akka.testkit.JavaTestKit.shutdownActorSystem")

looks related to https://github.com/typesafehub/migration-manager/pull/142

Thanks -- I'll keep this (likely) duplicate open until it's clear it is.

Duplicate of #275, which is resolved.


No aws support?

>>> client := aws.client("s3")
undefined variable: aws

I installed via go install<EMAIL_ADDRESS>

Ah, @k-dahl thanks for asking about this.
Try this and let me know if it works - you have to supply the aws build tag right now:
go install -tags aws<EMAIL_ADDRESS>

Thanks @myzie that did the trick!
Any chance of supporting Secrets Manager?
<EMAIL_ADDRESS>

Oh, wow, how did I miss secrets manager?? It definitely should be added.
I should be able to get to it in the next day or so, standby.

Hi @k-dahl, the v0.9.0 release includes AWS secretsmanager, as well as some others.
https://github.com/risor-io/risor/releases/tag/v0.9.0
You can get the update via brew upgrade risor or go install -tags aws<EMAIL_ADDRESS>Let me know how it goes!


JSON.parseObject does not work correctly

Hello
https://github.com/osivinyuk/FastJson2
I update this project with new JSON and parser doesnt parse Map<String,String>
The param name is "network_interfaces", but a lot of other params does not parse too.
Here it doesnt understand JSONField annotation:
@JSONField(name = "analytics")
List runningAnalytics;
Please check my project

https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.20-SNAPSHOT/
问题已修复，请用2.0.20-SNAPSHOT版本帮忙验证

Yes. I use this 2.0.20-SNAPSHOT, but I updated json and it’s not working. You could try this example with this library, but you need to update Pom file for dependancy

https://github.com/alibaba/fastjson2/releases/tag/2.0.20
问题已修复，请用新版本


Incorrect RandomnessStabilisationWindow used for nonce calculation

In the LedgerSpec document p. 74, figure 61 under Update Nonce Transition, it states that the RandomnessStabilisationWindow should be used.
The RandomnessStabilisationWindow is defined as 4k/f
https://github.com/input-output-hk/cardano-ledger-specs/blob/93d0e53516d09eb43d1822eed1a0244fd90ba9cb/shelley/chain-and-ledger/executable-spec/src/Shelley/Spec/Ledger/StabilityWindow.hs#L36
However, in the actual calculations, the node is using the stabilityWindow which is defined as 3k/f
https://github.com/input-output-hk/cardano-ledger-specs/blob/93d0e53516d09eb43d1822eed1a0244fd90ba9cb/shelley/chain-and-ledger/executable-spec/src/Shelley/Spec/Ledger/STS/Updn.hs#L63
Given that correcting the code would likely require a hard fork, we should consider updating the formal spec document to use stabilityWindow instead of randomnessStabilisationWindow.
I'm working on calculating epochNonce values in JorManager and have dumped values for nc and nh from the node which confirms that nc is coming from a block stabilityWindow distance from the epoch and not randomnessStabilisationWindow distance from the epoch.

thank you @AndrewWestberg ! there is a single use of the randomnessStabilisationWindow in both the spec and the implementation, and indeed they do not agree. The spec uses it in the UPDN transition, the implementation uses it in RUPD.
https://github.com/input-output-hk/cardano-ledger-specs/blob/93d0e53516d09eb43d1822eed1a0244fd90ba9cb/shelley/chain-and-ledger/executable-spec/src/Shelley/Spec/Ledger/STS/Rupd.hs#L68
I'm pretty confident that the spec is correct (unfortunately). I agree that we should change the spec to what was implemented, and then make a new appendix section for the mistake so that we can correct it at the next hard fork.

@JaredCorduan Was this corrected at the Allegra hardfork?  @dcoutts mentioned on the SPO call that it was corrected, but I'd like confirmation from you.

Unless I'm looking in the wrong place, the executable specs on master do not appear to be changed so I'm thinking @dcoutts 's statement in the SPO call was not correct.

No, we did not change anything with respect to the stability windows at the hard fork. I did talk with the authors of the Praos paper, and indeed there is no harm in the 3k/f stability window for freezing the nonce (in Praos). We may change it for Genesis, though, but there is no rush.
I will be putting up an errata soon to the shelley ledger spec. I was going to say something like:
The constant $RandomnessStabilisationWindow$ was intended to be used only
for freezing the candidate nonce in the $\mathsf{UPDN}$ rule
from Figure~\ref{fig:rules:update-nonce}.
This was chosen as a good value for both Ouroboros Praos and Ouroboros Genesis.
The implementation mistakenly used the constant in the $\mathsf{RUPD}$ rule
from Figure~\ref{fig:rules:reward-update}, and used $\StabilityWindow$
in for the $\mathsf{UPDN}$ transition.

The constant $\StabilityWindow$ is a good choice for the $\mathsf{UPDN}$
transition while we remain using Ouroboros Praos, but it will be changed before
adopting Ouroboros Genesis in the consensus layer.

There is no problem with using $RandomnessStabilisationWindow$ for the
$\mathsf{RUPD}$ transition, since anything after $\StabilityWindow$ would work,
but there is no reason to do so.


Sublime tests fail on go 1.6

panic: runtime error: cgo result has Go pointer in TestSublime (see e.g. https://travis-ci.org/limetext/lime-backend/jobs/118307558). The issue lies in gopy.

https://travis-ci.org/limetext/lime-backend/jobs/118525443

It thrown this error after loading Diff plugin in my platform, ubuntu 16.04, go 1.6

I think the projects still on Go 1.5x
On Sun, Apr 24, 2016 at 6:07 AM, 西风逍遥游<EMAIL_ADDRESS>wrote:

It thrown this error after loading Diff plugin in my platform, ubuntu
16.04, go 1.6

Yes. We still have some pointer issues preventing it from working with go1.6.

Moved to limetext/sublime#3.


duplicates calls to remove eds cluster

Fixes https://github.com/istio/istio/issues/19098

@howardjohn  I think this should take care of duplicate calls?

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-tests_istio
0cda7018e2dbcc3b830b4a7133338f72116696ce
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hzxuzhonghu Can you PTAL - Does this fix sound correct to you?

@ramaraochavali Actually I can not figure out how this happened.

Oh, maybe there is a data race on EdsClients
		c.mutex.Lock()
		delete(c.EdsClients, connection.ConID)
		c.mutex.Unlock()
		if len(c.EdsClients) == 0 {
			// This happens when a previously used cluster is no longer watched by any
			// sidecar. It should not happen very often - normally all clusters are sent
			// in CDS requests to all sidecars. It may happen if all connections are closed.
			adsLog.Debugf("EDS: Remove unwatched cluster node:%s cluster:%s", connection.ConID, rc)
			delete(edsClusters, rc)
		}

@hzxuzhonghu Yeah, I think the the lock should not be cleared before we delete - I think that was the mistake. Does the new change sound right to you?

Look at this, EdsClients can at most include one key-value https://github.com/istio/istio/blob/7a48624126bb9283a0182ae53e24d9cacf3d86fb/pilot/pkg/proxy/envoy/v2/eds.go#L866
This is the root cause.

can you fix this https://github.com/istio/istio/pull/19100#issuecomment-557347981

@hzxuzhonghu I missed your other comment, sorry, but I do not fully understand it though - But I found one issue, fixed it - Is that your comment too?

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
86cbe6992a5502bfebe96865e83bdca85133507c
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test unit-tests_isti

/test unit-tests_istio


Configuration File Issue

I set up this following the instructions, but for whatever reason, it will not accept my config.yml file. It keeps asking me to confirm something and I click yes and it fails. Please see the screen capture of this error. Can you direct me on how to overcome this issue? Am I missing something? Thanks!

I'm using Windows 7 and downloaded the most recent x64 version of ThemKit from the website.

Here is a screen capture of my configuration file:

We've figured out the bug. You need a development environment. Add an empty or jokes key to your YAML and it will work.
I'll have a patch that fixes this up in the next release. Sorry about that :(

Thanks!  I had figured that may have been the issue.


Honor mount options in NodeStage RPC as well

Currently it was decided[1] not to honor mount options in NodeStage RPC request, and we mount the volume with default options.
While discussing regarding the _netdev options and what ceph-csi does with mount options with @gnufied, it was brought to my attention that we should honor mount options in the NodeStage request itself.
Opening this issue to add justifications around the same, and to decide and implement honoring mount options during NodeStage request.
[1] Issue discussion:

https://github.com/ceph/ceph-csi/pull/576#issuecomment-528030567
https://github.com/ceph/ceph-csi/pull/576#issuecomment-528793122

@ShyamsundarR closing this for now, as the mount options are respected in the rpc calls.

Reopening as mount options are not honored in cephfs NodeStage RPC call

message NodeStageVolumeRequest {

 // Volume capability describing how the CO intends to use this volume.
  // SP MUST ensure the CO can use the staged volume as described.
  // Otherwise SP MUST return the appropriate gRPC error code.
  // This is a REQUIRED field.
  VolumeCapability volume_capability = 4;

The above is  not considered for cephfs.

Thanks @jsafrane for bringing this up :+1: . Considering ceph csi driver also has to respect the generic usage of mount options , this is something we could try to address in upcoming releases. We have to make sure we are not breaking backward compatibility with existing SC params such as "kernelmountoptions...etc". One thought process here is to just append generic mount options to existing array of mount options constructed from the SC. if there is an incompatible mount options the mount may fail, but thats something we could live with considering the fact that, all these registration of the options comes from cluster admin and not from user.  eventually we can start deprecating the sc mounter specific params.

This is in alpha in recent k8s release, We will need to incorporate it.
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#efficient-selinux-volume-relabeling

This in in beta https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#efficient-selinux-volume-relabeling good time to revisit this one

-Moving forward CephCSI will honour MountOptions passed during NodeStage request and will pass it during mounting regardless of the mounter(kernel or ceph fuse) used.
-The existing kernelMountOptions  and fuseMountOptions in storageclass parameters will be marked deprecated in release 3.9. In release 3.10, these options will no longer be passed while PVC creation happens.

Pre-existing PVC having kernelMountOptions  and fuseMountOptions  will still be honoured and passed together with the MountOptions at nodestage request.

Bind Mounting at nodepublish will no longer receive any additional mount options.

@nixpanic @Madhu-1 Does this sound okay to you ?

-Moving forward CephCSI will honour MountOptions passed during NodeStage request and will pass it during mounting regardless of the mounter(kernel or ceph fuse) used.
-The existing kernelMountOptions and fuseMountOptions in storageclass parameters will be marked deprecated in release 3.9. In release 3.10, these options will no longer be passed while PVC creation happens.

Pre-existing PVC having kernelMountOptions  and fuseMountOptions  will still be honoured and passed together with the MountOptions at nodestage request.
Bind Mounting at nodepublish will no longer receive any additional mount options.

Do you mean fuseMount and KernelMount options (only for older PVC). if user wants they can still recreate the PV with mount options and csidriver will use it.

@nixpanic @Madhu-1 Does this sound okay to you ?

-Moving forward CephCSI will honour MountOptions passed during NodeStage request and will pass it during mounting regardless of the mounter(kernel or ceph fuse) used.
-The existing kernelMountOptions and fuseMountOptions in storageclass parameters will be marked deprecated in release 3.9. In release 3.10, these options will no longer be passed while PVC creation happens.

Pre-existing PVC having kernelMountOptions  and fuseMountOptions  will still be honoured and passed together with the MountOptions at nodestage request.
Bind Mounting at nodepublish will no longer receive any additional mount options.

Do you mean fuseMount and KernelMount options (only for older PVC).

I want to keep it backward compatible so that the user will not have to manually edit all the existing older PVs in the cluster.

if user wants they can still recreate the PV with mount options and csidriver will use it.

If the user has Options specified, then he will have to undergo the tedious process even if he doesn't want to do it.

-Moving forward CephCSI will honour MountOptions passed during NodeStage request and will pass it during mounting regardless of the mounter(kernel or ceph fuse) used.
-The existing kernelMountOptions and fuseMountOptions in storageclass parameters will be marked deprecated in release 3.9. In release 3.10, these options will no longer be passed while PVC creation happens.

Pre-existing PVC having kernelMountOptions  and fuseMountOptions  will still be honoured and passed together with the MountOptions at nodestage request.
Bind Mounting at nodepublish will no longer receive any additional mount options.

MountOptions is expected to be passed during both NodeStage(applies for all the pods on node/all containers in pod) and NodePublish(applies for specific containers).
https://github.com/kubernetes/kubernetes/blob/master/test/e2e/storage/csi_mock/csi_selinux_mount.go#L77
Therefore we will not be able to pass cephfs kernel or ceph fuse specific mount options through pv.spec.mountOptions.
We will need to still preserve these options.
#3902 will only be adding pv.Spec.MountOptions to NodeStage request and no other changes will be made.


Upgrade animal-sniffer to version 1.20

The current version does not understand multi-release jars.
This might affect upgrading other dependencies to their current versions.
I suggest we just upgrade to the current version 1.20.

[ ] CQ 23136

CQ approved


Macro Only Please (if possible)

My IT department is not excited about opening this executable on my laptop.  If possible, is there anyway you could send me a copy of the alteryx macro?

I was able to get Graphyx installed on my PC.
Thank you


Tensorflow crashes when importing certain modules before tensorflow

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 16.04

TensorFlow installed from (source or binary):
binary both from conda-forge and from pip install using the tfBinaryURL

TensorFlow version (use command below):
1.3.0

Python version:
3.6.2 from Anaconda

CUDA/cuDNN version:
CUDA 8.0 cuDNN 6.0

GPU model and memory:
GTX 1060 6 GB RAM

Exact command to reproduce:

import psi4
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))

Describe the problem
Running the above code produces the following error
2017-10-24 22:17:35.570620: F tensorflow/core/framework/op.cc:165] Non-OK-status: RegisterAlreadyLocked(deferred_[i]) status: Invalid argument: Could not parse default value '4000' from Attr("upper_frequency_limit: float = 4000") for Op Mfcc
Could not parse default value '20' from Attr("lower_frequency_limit: float = 20") for Op Mfcc
forrtl: error (76): Abort trap signal

Strangely if tensorflow is imported before psi4 then the same error does not occur. Also, the error seems to be related to one of the Ops in tensorflow/tensorflow/core/kernels/mfcc.h which as far as I can tell is not an Op that I'm even using.
This issue occurs with at least two different python modules that I know of, psi4 as I have run into, and lycon which has their own issue open regarding this same error ethereon/lycon#3. In the linked issue it seems that this error occurs for others on python 2 and 3.5 with Ubuntu 16.04 both with and without GPU support for tensorflow, but another user states that this did not occur for him on Ubuntu 14.04 or on macOS 10.13. It seems like this may be an issue specific to at least Ubuntu 16.04 then.
Source code / logs
Full output from the error
2017-10-24 22:17:35.570620: F tensorflow/core/framework/op.cc:165] Non-OK-status: RegisterAlreadyLocked(deferred_[i]) status: Invalid argument: Could not parse default value '4000' from Attr("upper_frequency_limit: float = 4000") for Op Mfcc
Could not parse default value '20' from Attr("lower_frequency_limit: float = 20") for Op Mfcc
forrtl: error (76): Abort trap signal
Image              PC                Routine            Line        Source
libpcm.so.1        00007FCA4B14A725  Unknown               Unknown  Unknown
libpcm.so.1        00007FCA4B148347  Unknown               Unknown  Unknown
libpcm.so.1        00007FCA4B05FAA2  Unknown               Unknown  Unknown
libpcm.so.1        00007FCA4B05F8F6  Unknown               Unknown  Unknown
libpcm.so.1        00007FCA4B02DEFD  Unknown               Unknown  Unknown
libpcm.so.1        00007FCA4B031ABF  Unknown               Unknown  Unknown
libpthread.so.0    00007FCA5609F390  Unknown               Unknown  Unknown
libc.so.6          00007FCA55CF9428  Unknown               Unknown  Unknown
libc.so.6          00007FCA55CFB02A  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0DA71B94  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D94AAFE  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D94B21A  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D924199  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D946EFE  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D934760  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D68F8D7  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D62136E  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D621488  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0D621876  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0B615970  Unknown               Unknown  Unknown
_pywrap_tensorflo  00007FCA0B434177  Unknown               Unknown  Unknown
python             000055BE1E6850C6  Unknown               Unknown  Unknown
python             000055BE1E7181DC  Unknown               Unknown  Unknown
python             000055BE1E7398BA  Unknown               Unknown  Unknown
python             000055BE1E711FEB  Unknown               Unknown  Unknown
python             000055BE1E7182B5  Unknown               Unknown  Unknown
python             000055BE1E7398BA  Unknown               Unknown  Unknown
python             000055BE1E713116  Unknown               Unknown  Unknown
python             000055BE1E713B84  Unknown               Unknown  Unknown
python             000055BE1E684F8E  Unknown               Unknown  Unknown
python             000055BE1E73AF74  Unknown               Unknown  Unknown
python             000055BE1E711334  Unknown               Unknown  Unknown
python             000055BE1E712221  Unknown               Unknown  Unknown
python             000055BE1E7182B5  Unknown               Unknown  Unknown
python             000055BE1E7398BA  Unknown               Unknown  Unknown
python             000055BE1E711908  Unknown               Unknown  Unknown
python             000055BE1E712221  Unknown               Unknown  Unknown
python             000055BE1E7182B5  Unknown               Unknown  Unknown
python             000055BE1E7398BA  Unknown               Unknown  Unknown
python             000055BE1E711FEB  Unknown               Unknown  Unknown
python             000055BE1E7182B5  Unknown               Unknown  Unknown
python             000055BE1E7398BA  Unknown               Unknown  Unknown
python             000055BE1E711334  Unknown               Unknown  Unknown
python             000055BE1E712221  Unknown               Unknown  Unknown
python             000055BE1E7182B5  Unknown               Unknown  Unknown
python             000055BE1E7398BA  Unknown               Unknown  Unknown
python             000055BE1E712D58  Unknown               Unknown  Unknown
python             000055BE1E713B0C  Unknown               Unknown  Unknown
python             000055BE1E78DF04  Unknown               Unknown  Unknown
python             000055BE1E65475A  Unknown               Unknown  Unknown
python             000055BE1E6548FD  Unknown               Unknown  Unknown
python             000055BE1E65495E  Unknown               Unknown  Unknown
python             000055BE1E656B65  Unknown               Unknown  Unknown
python             000055BE1E65951E  Unknown               Unknown  Unknown
libc.so.6          00007FCA55CE4830  Unknown               Unknown  Unknown
python             000055BE1E7403D9  Unknown               Unknown  Unknown
Aborted (core dumped)

(I'm assuming this is a symbol conflict based on the symptoms you've posted; I haven't looked into it thoroughly, so feel free to correct me)
The good news is that newer versions of TensorFlow (1.4+) will not cause problems like this, since we're no longer loading our symbols into the global symbol table. The bad news is that other libraries which export symbols via RTLD_GLOBAL can still cause problems for TensorFlow.
You could theoretically work around this problem by adding RTLD_DEEPBIND to the dlopen call in pywrap_tensorflow.py. This would break workflows which depend on redefining TensorFlow symbols (LD_PRELOAD), so we don't do it by default.
So basically this is contributions welcome if you have a reasonable way for us to avoid this symbol conflict (i.e. not contorting too much). Otherwise you can file a bug with the other library (since they're the ones exporting symbols globally; but do make sure you can reproduce in TF 1.4, since TF 1.3 can definitely cause these problems).

@jeherr some relevant background on fixing this kind of crash due to PyTorch. Similar solution would be to encourage psi4 to stop exporting unnecessary symbols into global symbol namespace

I'll try to test this with the current Tensorflow 1.4 branch once I get some time. Should be able to soon.

@jeherr did you get around to trying this on TensorFlow 1.4?

Sorry I meant to get back to this sooner. So I've been working on getting tensorflow 1.4 installed. I was using python 3.6 and it's seems that I ran into issue #14182. So until that gets worked out I decided I would try to use python 3.5. So I set up a new conda environment, installed everything I needed, and now I'm hitting a "terminate called after throwing an instance of 'std::bad_cast'" error, which I am pretty sure is stemming from psi4 at this point.
Since this is just a personal project for me, I won't have the time to try to work out this error I'm getting with psi4 and python 3.5. So at this point I think I am stuck waiting until a fix comes for the tensorflow 1.4 issue with python 3.6 is resolved.

For what it's worth, the "Python versions don't match" warning from Cython is harmless. You can try it on 3.6 with TF 1.4.

Marking as "community support" for now, in accordance with issue triage.

What's the error? The QT/matplotlib one? The warning gets printed unconditionally, so it would be printed before any other failure even if that other failure isn't related.

I also meet this issue, tensorflow /keras (with tensorflow backend) abort if I import some module before. (some internal module).
so I move import tensorflow and keras to the very begining then the issue disappeared.

This isn't a TensorFlow issue. Import order can work around other libraries exporting conflicting symbols, or RTLD_DEEPBIND can let TF ignore them. Closing this to keep the tracker focused on actionable issues.


Release ndk-build-0.6.0, cargo-apk-0.9.2

Moves the NDK r23 -lgcc workaround to ndk_build::cargo::cargo_ndk(), so that cargo apk -- blanket invocations receive it too.  This should solve winit CI failures again now that GitHub Actions Virtual Enviroments are finishing up the migration to NDK r23.

@msiglreith Shall we get this out of the door now to get rid of red CI in winit? I don't have anything queued up for these crates, all my changes are targeted towards ndk and friends.


Valid Swift 3.0 code

Update Travis for Xcode 8

Good job!

I'm not sure why it fails the CI checks but seems to be something with Xcode 8 code signing.


i use react nhost hook function useChangeEmail. in some cases it returns an error THE REQUEST PAYLOAD IS INCORRECT. in which case it occurs ?

i use react nhost hook function useChangeEmail. in some cases it returns an error THE REQUEST PAYLOAD IS INCORRECT.
in which case it occurs ?
i used the code described below
const { changeEmail } = useChangeEmail();
const handleChangeEmail = async () => {
await changeEmail('yadu.mgu@gmail.com');
};

i did not get solution for the same. let me enable this query


Refactor docker and variable naming

Switches to use new base image and fixes logging formatting

Make sure to update your branch to be on sync with main.


Bump gradle wrapper version

Hi, currently the project doesn't compile with a java version greater than 17 even if https://www.instancio.org/building/ states otherwise.
This is because the gradle wrapper used in the annotation-processor-with-gradle module supports a maximum version of 17. You can see the compatibility grid here https://docs.gradle.org/current/userguide/compatibility.html
I bumped the gradle wrapper version to the latest major version. This major version should receive java 20 support soon https://github.com/gradle/gradle/issues/23488
With this simple bump the module compile without problems with my java 19 :D
Bye!

@EvaristeGalois11 Thanks very much for reporting this and submitting a fix! I don't think I've tried building with 19 yet.
I cannot run Github workflows because currently all PRs from forks fail due to not having access to the sonar token. I'll have to look into that at some point... However, I tried your branch locally and it builds successfully for me, so I will go ahead with the merge.

@EvaristeGalois11 Thanks very much for reporting this and submitting a fix! I don't think I've tried building with 19 yet.
I cannot run Github workflows because currently all PRs from forks fail due to not having access to the sonar token. I'll have to look into that at some point... However, I tried your branch locally and it builds successfully for me, so I will go ahead with the merge.

Thank you for accepting the PR!
I admit i don't know much about github workflows and such because i have always submitted PR never accepted them lol
But i'm happy to help if you need some extra hands :D

@EvaristeGalois11 I believe currently it's not supported:
https://community.sonarsource.com/t/code-analysis-on-pull-request-from-forked-repository-with-github-actions/43986/6
From what I remember when I looked into this a few months back is that there was a workaround but it had some drawbacks. Can't recall the details though. In any case, if you know of a good approach, a PR would be welcome :)


From order to position

This sums up a pairing session with @bonomat to outline the communication with the orderbook and the coordinator in the app Rust code.

Notable decisions:

The orderbook handles matching the order

When the taker (app) submits an order the orderbook checks:

can the order be filled?

yes: return success

The orderbook returns an identifier so the order can be identified in the orderbook

no: return failure (MVP: results in cancellation of the order on the app side, the user has to "try again")

note: if success it returned the app can still decide to "remove" the order of no filling event is returned within x time.

The orderbook has an event stream that the app subscribes to, Events:

Latest order(s) / price - this is only for display purposes, no decision making based on it
CompleteFillWith(TradeParams) - when the app receives this event it will trigger trade execution with the coordinator` resulting in:

success: results in a DLC and either an update or creation of a position in the database. Order is update to filled
failure: Order is updated to failed

we opted for the stream setup because it detaches the execution from the submission - which will eventually allow us to e.g. cancel an order (...). This is the more sound model, changing this later might be cumbersome, so we decided to introduce it from the getgo.

Order lifecycle:

initial: before being submitted into the orderbook; this is so we can track failed orders (we can decide to remove this at some point, it will be useful to gather this data initially)
open: the orderbook returned success upon submitting the order
failed: the orderbook returned failed upon submitting the order OR the trade execution (i.e. handing CompleteFillWith failed)
filled: the order was completely filled (no partial filling in MVP)

Position lifecycle:
tbd.

Closing this because it is outdated; the TODO comments might still be useful, but we don't need a Draft PR for that - and some decisions will likely change!
See https://github.com/get10101/10101/issues/130 for tracking


Any plan to support in UK regions?

Is there any plan to support this vnet deployment of container instances in the UK regions,
South and or West?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8c7387c7-c5ea-584a-1463-eeb562b2cf4d
Version Independent ID: 798fcb07-735e-c79f-6ede-485c671d2364
Content: Scenarios to use a virtual network - Azure Container Instances
Content Source: articles/container-instances/container-instances-virtual-network-concepts.md
Service: container-instances
GitHub Login: @dlepow
Microsoft Alias: danlep

@JordanSimba
Thanks for your Question! I am checking with internal team on this and will get back on this.

@JordanSimba I checked with internal team on your ask, there is no ETA on the this yet.
However, I would recommend to post/vote in Azure Feedback on this ask. Product team prioritizes region expansion based on the feedback.

Thank you for the response. @VikasPullagura-MSFT I will follow up.


Add a prop to control the gradient

Yes a prop would be great. In the meantime, I've achieved this by rendering a few back to back (but this can't be good for performance).
<LineChart.Path>
    <LineChart.Gradient />
    <LineChart.Gradient />
    <LineChart.Gradient />
</LineChart.Path>


How to export point cloud?

Hi,Thanks you for your great project!
Could you tell me the method of exporting point cloud? It's important for me.

I'm also interested on point cloud extraction, any guidance on how to edit the code to achieve that?


Display all sponsored projects by sponsor

[Need to groom story]
As a user, I want to be able to see all the projects that have been sponsored by the sponsor (e.g. Dev Gov DAO). I also want to know if there is a hard budget in place and how much is used/remaining.

This also becomes possible with indexer. We already have capability to query all posts sponsored by a sponsor. We need to add a frontend widget to render this and need a design for this widget


Adding UVeye

we use Angular in a variety of projects, among which is our primary product.

Thanks. :)


CDS changing infrastructure: changes to users and possibly some cmorizers

The Copernicus Data Store is changing their infrastructure, with the current "legacy" version decommissioned at September 26th, at which point the current beta will take over.
Userside there will now be an ECMWF account required instead of the previous separate CDS and ADS, as well as an update to the .cdsapirc file. You will also have to accept licences on the website again while logged in.
For more info check their website.
There's also a few datasets with cmorizer scripts this might affect. This could be either by changing the link to the data, or like it happened for me for #3749 the keys for the api request might change. Using the beta access, I also had to download the files as .zip and change some common functions to accept it because the current default to turn the downloaded files into .tar files gave me errors.
I'll recheck my new cmorizer (#3749) after the change, and can probably see if others are affected and need to change. So this is more of a heads-up to check your user side .

thanks, Tina! I expect they will fold those API changes in the cds package too, so we'd expect API breakages when they release that new package

I just had a short look through the CDS webpage, and see what the api request it spits out looks like compared to our current downloaders.

cds_xch4, cds_uerra: all options present and accounted for, should be fine
cds_satellite_soil_moisture: currently set to version v201912 which had an issue reported of only NaNs between 21/11/2021 and 20/08/2023. We currently only downloaded up to 2020, but might be good to switch to the newer version (v202212) here.
cds_satellite_fapar, cds_satellite_albedo, cds_satellite_soil_moisture: Currently our script has a format: 'tgz', which no longer exists in the new version. Will need to check if this stops it from downloading or not (and what format the data will be now).

Biggest gripe atm: You're supposed to use the CDS API for both CDS and ADS content, but they have different endpoints. Questions also in their forum about how to use both urls at once in the .cdsapirc aren't being answered. I tried with a simple list but that just gave me a syntax error. So currently would need to manually change from one to the other depending on download, unless I'm stupid and there's a simple way. Forum seems to have a whole lot of complaints about the new API currently too. Probably wise to observe for a bit longer before making any changes.

most useful @bettina-gier cheers :beer:

Update on the different endpoints in the CDS API:
In a forum post it is suggested to set the URL to an environment variable to be changed in the python script. If we want to follow this approach it would require changes to our downloader scripts for anything obtained through CDS. I would suggest adding the URLs to the CDS downloader script itself and have it take a key service (name debatable) which takes the values CDS/ADS/EWDS and internally assigns the url, this way if another change happens it will be a central fix to URLs instead of each individual downloader script.
Still unsure if we should try implementing this now or wait to see if there are any further developments.


NOPS-681 Add clean step into stop/restart

Handsome hack to make docker containers run again.
@diogokiss @tnn

💋  Good!

:+1:

@mkostrikin Should we upstream this?

@tnn this too handsome patch to upstream.
But I will think about that.


[Suggestion] Optional this context for Effect.gen

Coming from fp-ts I love the async/await-like generator syntax of Effect.gen. One thing that I found a bit awkward is that, as generators have to be full functions, there is no clean context capturing syntax and you have to fall back to (what now feels like) ancient practices of something like const that = this before using Effect.gen.
For myself and my team I have created a small wrapper that allows an optional second parameter that is handed to the function as this. I was wondering if this something useful enough to be folded into the default function:
export const gen: <Eff extends EffectGen<any, any, any>, AEff, This = never>(f: (this: This, resume: Adapter) => Generator<Eff, AEff, any>, that?: This) => Effect.Effect<[
    Eff
] extends [never] ? never : [Eff] extends [EffectGen<infer R, any, any>] ? R : never, [
    Eff
] extends [never] ? never : [Eff] extends [EffectGen<any, infer E, any>] ? E : never, AEff> = (f, that) => {
    const _f = that !== undefined ? f.bind(that) : f
    return Effect.gen(_f)
}

Example usage:
const test_this = {
    value: 2,
    double() {
        return this.value * 2
    }
}

const test_effect = BindingEffect.gen(function* (_) {
    return yield* _(Effect.succeed(this.double()))
}, test_this)

expect(Effect.runSync(test_effect)).to.be.equal(4)

Addressed in https://github.com/Effect-TS/effect/pull/1434/commits/f7c250b5918a088865492547397d2541b73b71a3