Bump to 0.2.34

@alexcrichton: no appropriate reviewer found, use r? to override

@bors: r+

:pushpin: Commit 19b0fbe has been approved by alexcrichton

:hourglass: Testing commit 19b0fbe2101185c8df717b5405c3ecbe7c316ee7 with merge 26ef49939d78dbc9e722ff9c15b4fa5c401862b7...

:broken_heart: Test failed - status-travis


what is the difference between OpenAiKey and OpenAiApiKey in the .env file?

@Mshz2  - OpenAiKey is used when you select Azure OpenAI as the LLM model.  OpenAiApiKey is used if instead you selected OpenAI as the LLM model.  Eventually we will be adding the hugging face/OSS and other models.
Hope that helps

Ah! Got it thanks!

@Mshz2 - OpenAiKey is used when you select Azure OpenAI as the LLM model. OpenAiApiKey is used if instead you selected OpenAI as the LLM model. Eventually we will be adding the hugging face/OSS and other models.
Hope that helps


Issues on Windows

Prerequisites

[x] Not running a old version of node or node LTS?
[x] Are you running the latest version of the program?

Operating System

[x] Windows
[ ] Linux

Description
After running node . and inserting a link the program freezes and doesn't do anything
Steps to Reproduce

Install node-v12.18.3-x86.msi
Install dependencies npm install axios ffprobe-client
Run application with node .
Give the program a link

Expected behavior: Should print out information about the video and amount of times it will loop then use ffmpeg to make the video.
Actual behavior: No information, blank and frozen.
Versions
You can get this information from executing npm version and nodejs -v

Will be fixed in the next version of the program with a graphical interface


[Table] Allow displaying checkbox on specific rows

With the current implementation, you can either display checkboxes on all TableRows or not. I currently have a table that contains different sections:

Meaning that mi section header TableRow only contains the title of the section, and the following rows contain items that the user can select.
It would be nice if I could display the checkboxes only in the rows that contain items and not in the section headers (which are another TableRow).
Is there a way to achieve this?

@tonyjmnz https://github.com/callemall/material-ui/blob/master/CONTRIBUTING.md#asking-questions
This isn't possible right now, but I wonder if this might help: https://github.com/callemall/material-ui/pull/3663

Thanks, and sorry about posting my question here.
That would do the trick. Unfortunately it isn't merged yet.


Warning: a promise was created in a handler but was not returned from it

I have this warning Warning: a promise was created in a handler but was not returned from it at: request-promise/lib/rp.js:117:28

Can you provide a code snippet to reproduce the warning?

Hi, I seem to be getting the same... not sure if I've been chasing it half the day, or if I also had the same issue myself - but I've learnt more about promises! :)
This is the first promise that's called, and is generating the same error :
`    function getNewAuthToken() {
var options = {
url: AUTH_PATH.replace('{IdentityDomain}', konfig.identityDomain),
method: 'GET',
resolveWithFullResponse: true,
headers: {}
};
options.headers[X_STORAGE_USER] = X_STORAGE_USER_TEMPLATE.replace('{IdentityDomain}', konfig.identityDomain).replace('{user}', konfig.user);
options.headers[X_STORAGE_PASS] = X_STORAGE_PASS_TEMPLATE.replace('{pwd}', konfig.pwd);
    var newExpiryTime = new Date().getTime() + expirationPeriod;
    return request(options)
        .then(function(res) {
            expiryTime = newExpiryTime;
            return res.headers[X_AUTH_TOKEN];
        })
        .catch(function(err) {
            console.log('Error getting new token for oracle storage cloud');
            console.log(helpers.prettyJSON(err));
            return Promise.reject(err);
        })
}`

I'm getting the same, with the following code.
If I uncomment the "Promise.resolve(testToken)" line, then the problem goes away.
I can't for the life of me think why I'm getting it for this GET, and not the numerous others I'm doing... ( well, I do have one other instance of this error to track down ).  Sorry I can't pin it down any further... ( and also sorry if it's my defect, I'm new to promises... )
    function getNewAuthToken() {
        var options = {
            url: AUTH_PATH.replace('{IdentityDomain}', konfig.identityDomain),
            method: 'GET',
            resolveWithFullResponse: true,
            headers: {}
        };
        options.headers[X_STORAGE_USER] = X_STORAGE_USER_TEMPLATE.replace('{IdentityDomain}', konfig.identityDomain).replace('{user}', konfig.user);
        options.headers[X_STORAGE_PASS] = X_STORAGE_PASS_TEMPLATE.replace('{pwd}', konfig.pwd);

        var newExpiryTime = new Date().getTime() + expirationPeriod;
        //return Promise.resolve(testToken());
        return request(options)
            .then(function(res) {
                expiryTime = newExpiryTime;
                //authToken = res.headers[X_AUTH_TOKEN];
                //return authToken;
                return res.headers[X_AUTH_TOKEN];
            })
            .catch(function(err) {
                console.log('Error getting new token for oracle storage cloud');
                console.log(helpers.prettyJSON(err));
                return Promise.reject(err);
            })
    }

The other instances of the error were intermittant, and have now stopped...  Is posting about an issue the opposite of demo-ing to a manager...

Haha, awesome @BarrieP ! Does it mean you are all good now?
Btw, you may replace return Promise.reject(err); with just throw err; inside your catch block.

@teckays Do you still observe your reported error?
Judging from the error message it is related to how you did the request call. See: https://github.com/petkaantonov/bluebird/blob/master/docs/docs/warning-explanations.md#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it

It all seems fine today, which does mean I probably wasted most of Saturday... The code snippet above was 100% reproducible in Sat... but today, nothing...
All I can think that's changed is I've "turned it off and on again" ( both linux VM and host Win machine ).

I think it is safe to close this issue now. Feel free to ask follow up questions if you want.

Hey @teckays and @BarrieP ! The same warning was reported in #139 and we found the cause. Just fyi.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/493 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit ebbe01a:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-05-28-07-39-19 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-05-28-07-39-19

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 5059628:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-05-28-07-39-19 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-05-28-07-39-19

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Add newly-added method from logback 1.3 to support compatibility

Motivation:
Improve compatibility with logback 1.3.x.
armeria-logback has compatibility with logback 1.3.x and logstash-logback-encoder 5.3:

logback 1.3.x introduces the ILoggingEvent#getInstant() method which returns null by default.
logstash-logback-encoder 5.3 uses ILoggingEvent#getInstant() in case of using logback 1.3.x or higher
As a result, logging system is broken when uses logback 1.3.x and logstash-logback-encoder 5.3.

This change enables us to migrate Spring Boot 3 smoothly.
I also submitted the PR to logback https://github.com/qos-ch/logback/pull/652
But, I am not sure that the PR will be accepted.
Modifications:

Add method LoggingEventWrapper#getInstant() that implements ILoggingEvent#getInstatnt()

It doesn't have @Override because armeria depends on logback 1.2.x

Result:

Closes  #4855

Appendix:
I also checked that this change doesn't break the ABI.

https://github.com/wreulicke/logback-abi-test

Appreciated it again, @wreulicke! 🙇


Element Names cannot contain colons

Specifications like SAML2 use the syntax saml:Issuer</saml:Issuer>.
This use of the colon in the element name breaks the parser.

This is not 'colon in the element name', this is XML namespace. Is saml namespace is not declared - parser fails, this is XML standard.


Security Fix for Prototype Pollution

📊 Metadata *
propper is vulnerable to Prototype Pollution.
This package allowing for modification of prototype behavior, which may result in Information Disclosure/DoS/RCE.
Bounty URL: https://www.huntr.dev/bounties/1-npm-propper/
⚙ Description *
Prototype Pollution refers to the ability to inject properties into existing JavaScript language construct prototypes, such as objects.
JavaScript allows all Object attributes to be altered, including their magical attributes such as proto, constructor and prototype.
An attacker manipulates these attributes to overwrite, or pollute, a JavaScript application object prototype of the base object by injecting other values.
Properties on the Object.prototype are then inherited by all the JavaScript objects through the prototype chain.
💻 Technical Description *
Fixed by avoiding setting magical attributes.
🐛 Proof of Concept (PoC) *

Create the following PoC file:

// poc.js
var propper = require("propper")
var obj = {}
console.log("Before : " + {}.polluted);
propper(obj,"__proto__.polluted","Yes! Its Polluted");
console.log("After : " + {}.polluted);

Execute the following commands in terminal:

npm i propper # Install affected module
node poc.js #  Run the PoC

Check the Output:

Before : undefined
After : Yes! Its Polluted

🔥 Proof of Fix (PoF) *
After fix execution will block prototype pollution and polluted will be [undefined.]
👍 User Acceptance Testing (UAT)
After fix functionality is unaffected.

👋 Hello, @allain - @ready-research has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@allain & @ready-research - thank you for your efforts in securing the world’s open source code! 🎉

This is the first time I've heard of the 418sec website. I wasn't sure what the protocol is for integrating the changes were.
The pull request was not directly on propper, so I just make the changes there, added a test, and published.
That alright? What would have been the best way to deal with this?

Hello @allain 👋  - thanks for getting in touch.
We invite maintainers to these PRs to discuss fixes for vulnerabilities in their package, before submitting it to the original repo.
When the maintainer is happy, they can LGTM 👍 the PR and it will open a PR to the upstream repository.
If you are interested in future fixes like this, you can copy this small code snippet into your README.md:
[![huntr](https://cdn.huntr.dev/huntr_security_badge_mono.svg)](https://huntr.dev)
👇 👇 👇

For the record, the bounty has been awarded here for the disclosure. This has been updated and reflected in our database.
Closing this PR!
Cheers! 🍰

Sorry, @ready-research - it looks like the maintainer has not selected your fix this time...
We appreciate your effort and look forward to seeing more of your fixes in the future! 🛠
If you have any questions, feel free to join our community Discord and a member of our team will be happy to help! 🤗

@JamieSlome Maintainer used my fix changes in his repository https://github.com/allain/propper/commit/b6c4131939e4339f500cb9b5ab450fb39913c85f#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346R35 and also commented our pull in fix comment incorporating guard against prototype chain pollution from: 418sec#1
Based on this I think I am eligible for both fix and disclosure of this vulnerability. Can you please add the bounties manually as the huntr-helper closed this without providing any bounty for this. Thanks.

@ready-research - updated and reflected that the fix was approved by the maintainer 👍


chore(deps): downgrade sanitize.css

sanitize.css adds background: transparent to inputs thus making them loose their native styling (as was pointed out by @vicbell) for no good reason, the fix was merged but not yet released so for the time being I propose to downgrade sanitize.css to 4.1.0.

Coverage remained the same at 100.0% when pulling f4c4b60b26bab1b42c3ff3129083b2d285d69fba on Dattaya:downgrade-sanitize into a578ef050f38f9e80384d8e333e5df19177afe5d on react-boilerplate:dev.

Coverage remained the same at 100.0% when pulling f1af7977d7508e2b189dc4ba048ff7494fe0fa4e on Dattaya:downgrade-sanitize into d54858f1dcb3cb61b719c7521c3151fcf0ec9cc1 on react-boilerplate:dev.

Coverage remained the same at 100.0% when pulling 3d99d3d747bee6ac059a98aa7e3b066ceb6b6aa9 on Dattaya:downgrade-sanitize into 3602426d335c598e77655de854976c686f9e8cec on react-boilerplate:dev.


Missing /sys/power/state

Hi,
/sys/power/state is still missing on 15063, would be possible to  fix it?
It is not a serious problem and the software I use generates simple warning, but if you could fix it ...

Please don't forget this bug.

@iz0eyj - Thanks for your post. Marking it as a bug naturally puts it in our backlog. Between, is this an open-source software that we can also try at our end when the file gets implemented?

Hi @sunilmut,
Just launch any software that references the directory /sys/power/state (missing on WSL). I've been aware of the IDE xfce4 launch.
I understand that the use of graphical environments is not a priority for your team, but it must be said that their use causes problems that are hard to find with the terminal because they use the machine far more thoroughly.


Affects javascript on card styling

This isn't a serious issue, but if you know a solution I'd definitely appreciate it.  I have a "Cloze one-by-one" card type that allows you to have a card with all c1 and then open the clozes one at a time.  I've shared this online and I believe it gets used by quite a few people.   I've noticed it doesn't work with this add-on and I can't figure out why.
It doesn't work in normal mode if I have enabled "cursor hide" and it doesn't work in the no distractions mode no matter what I try. I'm guessing your add-on overrides the script or something?   If there is a way to make them both compatible I'd really appreciate it (and it would save me a headache from everyone emailing me saying the card type isn't working since I just told everyone to use this add-on in my video about the Custom Background add-on I just released :)
Here's the script I put on the back template of the note:

Happy to help - and thanks for the plug! The stuff you're doing with Anking v6 is fire - I wish I had stuff like that when I took step
Unfortunately that script doesn't work for me even with the addon disabled - it gives me a syntax error. Seems like there's an extra

I might have copied it wrong.  I'll copy it again here and attach the note type if you want to try it in a new profile (the key is currently set to "n" to reveal them one at a time but you should also be able to click on the boxes:
`
`
Cloze1by1.apkg.zip

It seems to work for me:

I think I figured it out.  When I go to the next card, it auto selects the "good" button instead of anki's default which auto selects the card itself.   I can tell because when no distractions is enabled, there is a blue outline around the show answer and good button.  If I click the card itself, then I can use the shortcut.  Any idea why that is?

Oh it does that for me even with all addons disabled. If I recall correctly from the source code, Anki defaults to the bottom and only focuses the main screen when it's a fill in the blank card

Now that I think about it, it's probably because I have the Refocus card when reviewing add-on, so that must be where the conflict is

hmm okay I'll see if I can make it compatible

Alright I think I fixed the issue - let me know if it works for you

Works great now! Thanks!

np - thanks for the bug report!


Widget and button

Purpose
This submission adds a "Create RMap DiSCO" button to the title bar of the RMap widget
that was introduced to the OSF web site in the prevous submission.  Clicking the button
raises a modal dialog warning the users of the consequences of this action and asking
them to confirm the decision.  Confirmation causes a server request to be made that
will create the DiSCO and displays the resulting graph in the widget.
Changes
The profile.mako and project.mako files now pass arguments to the widget template
that indicate whether the current node is for a user, a registration, or a private
project/component.  The node's unique ID is also determined during the Mako
pre-processing and is passed to the widget.
When a DiSCO is to be created, the JavaScript code calls a new local server, run on
port 7000.  This server provides the necessary credentials when calling the RMap
server to request the DiSCO creation.  That call returns the new DiSCO's ID, which in
turn is returned to JavaScript for use when displaying the graph.  The new server
must be started along with all the other servers and processes required by the OSF
site.  On Linux, it is started simply with:
cd osf.io/rmap
./rmap_cgi_server.py &

In order for the RMap server to call back to the OSF API server, it was changed to
listen to requests from all IP addresses.  The OSF web server was changed to listen
to the local IP address <IP_ADDRESS>.  It is likely that these values could be modified
to provide a more secure site.
The modal confirmation dialog was derived from similar Bootstrap code found elsewhere
in the OSF site.  To overcome a zooming problem in the widget when it was collapsed
and expanded again, event handlers were added to hide the widget during the animated
collapse/expand operations.
Side effects
Additional development would be needed to make this functionality robust enough
for deployment.  In particular, only minimal effort is made to ensure that the call to
the RMap server succeeds, and no error messages are reported.  Numerous issues
could arise in this area, from the server being down to the OSF server credentials or
authorization being incorrect, to the OSF server being unreachable from the RMap
server.
Ticket
JIRA Ticket DC-2363

Looks good. I wonder if it makes sense to put this into a branch rmap-integration given that other development like the fedora work is going into a branch?

That makes sense to me.  I don't imagine that would be too hard - would I need to create a new pull request, or can I modify this one?

I believe you would have to create a branch with your code and create a new pr.

@Trumbore @markpatton @htpvu  I'm closing this PR in favor of #3 which is against the 'feature/rmap-widget' branch.


Object.assign is not a function in old/unsupported browser

@noru
Thanks for your plugin.
I use vue-easy-toast in wechat development, but I got the error "Object.assign is not a function" when I open my page in wechat windows pc client.
Thought you miss the babel-plugin-transform-runtime in you webpack config, so the Object.assign is not polyfilled in your dist file

@raychenfj Thanks for reporting this issue and sent a PR along with it. I'll verify it asap.

Fixed in v0.2.6. Tested with IE11.


Project Section of the website is not clickable

Description
The "Project" section of the website is currently not clickable. Users are unable to interact with this section, which is affecting usability.
Steps to Reproduce

Navigate to the website’s main page.
Locate the "Project" section.
Attempt to click on the "Project" section link.

Expected Behavior
Clicking on the "Project" section should redirect the user to the corresponding page or perform the intended action.
Actual Behavior
Clicking on the "Project" section does not result in any action or redirect.
Suggested Fix

Review and update the file located at src/pages/projects.jsx to ensure that the "Project" section is properly linked and clickable.

Comment:

Please check the implementation in projects.jsx to resolve the issue.

Thank you!

@ceilican  I would like to work on this issue . Please assign this issue to me

@ceilican   I would like to work on this issue

I would like to work on this issue. Can You please assign this issue to me.

@ceilican   I would like to work on this  issue , Please assign  it to me .


Work through TODOs

More of a temporary issue more than anything. As I work through the code, I'm adding TODOs, but not translating them to issues on here just yet (they might be one-line fixes or multi-hour fixes, not sure yet.) This issue will be resolved once I get a better grasp on the project and add necessary issues to the issue tracker.

Forgot to close this!


docs: adding document for dynamic channel

Description
Added Dynamic channel name page.
It is a part of GSoD'23 project.
Related issue(s): fixes ##1511
** Previously worked PR:** #1959

/rtm


Updated moment.js to resolve https://snyk.io/vuln/SNYK-JS-MOMENT-2440688

Purpose
Resolves https://snyk.io/vuln/SNYK-JS-MOMENT-2440688
Approach
moment.js' latest updates resolve this issue
References
Provide a link to the existing issue(s), if any.
Pre-Merge TODO

[ ] Write tests for your proposed changes
[x] Make sure that existing tests do not fail

Unable to fully verify that tests are still passing. I run TestCafe in a arm64 Linux VM under a M1 macbook and chrome:headless is not available for it.
Other tests that run are still passing. Hoping a CI would pick up anything wrong.


Copy to clipboard button

via @tomkraljevic

This should probably be a new component that displays a readonly textbox/textarea with a copy button. Properties: label, value, multiline?.


help with starting chatActivityForID

I was able to get Mainactivity to startup but for my use case, I only need to have the chat screen (I'll be communicating with just one bot). Trying to start  ChatSDK.ui().startChatActivityForID(context, threadEntityId) fails and returns this error
Process: com.iemobile, PID: 17814
  java.lang.RuntimeException: Unable to start activity ComponentInfo{com.iemobile/co.chatsdk.ui.chat.ChatActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void co.chatsdk.ui.chat.TextInputView.setDelegate(co.chatsdk.ui.chat.TextInputDelegate)' on a null object reference
      at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3447)
      at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3594)
      at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
      at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
      at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2146)
      at android.os.Handler.dispatchMessage(Handler.java:107)
      at android.os.Looper.loop(Looper.java:237)
      at android.app.ActivityThread.main(ActivityThread.java:7762)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)
   Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void co.chatsdk.ui.chat.TextInputView.setDelegate(co.chatsdk.ui.chat.TextInputDelegate)' on a null object reference
      at co.chatsdk.ui.chat.ChatActivity.initViews(ChatActivity.java:300)

@rikongha, can you show me the code you are using to set up the Chat SDK? In your main application method?

@bensmiley thanks for reaching out
here's what I have on there
try {
val config = Configuration.Builder()
config.facebookLoginEnabled(false)
config.twitterLoginEnabled(false)
config.anonymousLoginEnabled(true)
ChatSDK.initialize(
context,
config.build(),
FirebaseNetworkAdapter::class.java,
BaseInterfaceAdapter::class.java
)
} catch (e: ChatSDKException) {
Log.e("ChatSDK", e.localizedMessage)
}

is this resolved? I have the same issue.

have you solved this error @rikongha ? I have the same error

@RahatSaqib no, unfortunately, I just had to go with a custom implementation of my own

These issues seem to be related to Gradle. The way to fix it is:

Make sure that your library versions match Chat SDK library versions. You can do this by adding the library versions to the ext block in your project level build.gradle file. This ensures that you are always using a consistent version of libraries across the whole project. i.e.

Project level:
ext {
    greenDaoVersion = "3.2.2"
}

App level:
implementation "org.greenrobot:greendao:$greenDaoVersion"

Make a copy of your project and in that copy, delete all the custom source code you have. Then comment out half of your Gradle dependencies. Check to see if the project works. If it does, uncomment half of the remaining dependencies etc... to isolate which dependency is causing the trouble.

If you post the problem dependency I can help to figure out why it's causing the issue.


Favicon Added and Title Changed

The Project didn't had Favicon and the title wasn't changed.
The respective changes has been made.
The photo below would be good for you to familiar with my work.

@AmeyaJain-25 Good work

I had added a new favicon to it and changed the title too.

@AmeyaJain-25 yes I have updated that, had some more updates so toom your changes locally instead of merging.
Don't worry your PR will be counted.

@AmeyaJain-25 yes I have updated that, had some more updates so toom your changes locally instead of merging.
Don't worry your PR will be counted.

Okay, No Problem.
Thanks


npm install issue

at the npm install step,it seems no action at all.how could i do? the message below:
/ fetchMetadata: WARN deprecated<EMAIL_ADDRESS>This npm package 'angular-ui-router' has been renamed to '@uirouter/angularjs'. Please update your package.json. See

wait for a long long time then it worked...


dereferencing a null pointer

The latest code has this bug and a bot cannot run.
[discord-websockets.cpp:359] ws_on_text_cb()
        ON_TEXT:
                {"t":null,"s":null,"op":10,"d":{"heartbeat_interval":41250,"_trace":["[\"gateway-prd-main-tq77\",{\"micros\":0.0}]"]}}
        OP:             opcodes::HELLO
        EVENT_NAME:     NULL
        SEQ_NUMBER:     0
        EVENT_DATA:     {"heartbeat_interval":41250,"_trace":["[\"gateway-prd-main-tq77\",{\"micros\":0.0}]"]}
[discord-websockets.cpp:109] ws_send_identify()
        ERROR:  Reach identify requests threshold (1 every 5 seconds)

  Memory access error: dereferencing a null pointer; abort!
  # Writing 1 bytes to address 0x0.
  #
  # Stack trace (most recent call first) of the write.
  # [0]  file:/workspace/orca/discord-websockets.cpp::108, 7
  # [1]  file:/workspace/orca/discord-websockets.cpp::135, 5
  # [2]  file:/workspace/orca/discord-websockets.cpp::388, 7
  # [3]  file:/workspace/orca/curl-websocket.c::587, 17
  # [4]  file:/workspace/orca/curl-websocket.c::795, 5
  # [5]  file:/workspace/orca/curl-websocket.c::814, 23
  # [6]  file:/workspace/packages/curl-7.72.0/lib/sendf.c::582, 15
  # [7]  file:/workspace/packages/curl-7.72.0/lib/sendf.c::666, 10
  # [8]  file:/workspace/packages/curl-7.72.0/lib/transfer.c::894, 26
  # [9]  file:/workspace/packages/curl-7.72.0/lib/transfer.c::1254, 14
  # [10]  file:/workspace/packages/curl-7.72.0/lib/multi.c::2150, 16
  # [11]  file:/workspace/packages/curl-7.72.0/lib/multi.c::2420, 14
  # [12]  file:/workspace/orca/discord-websockets.cpp::605, 13
  # [13]  file:/workspace/orca/discord-websockets.cpp::647, 5
  # [14]  file:/workspace/orca/discord-public.cpp::154, 3
  # [15]  file:/workspace/orca/bots/bot-ping-pong.cpp::57, 3
  # [16]  [libc-start-main]
  https://cee.studio/explanation

I'm trying to understand what went wrong here. Can you describe what happened? Does the bot runs for a while, or this happens immediately?

It would be great if you could share the curl.dump too

It stops immediately

On Feb 9, 2021, at 6:08 AM, Lucas Müller<EMAIL_ADDRESS>wrote:

I'm trying to understand what went wrong here. Can you describe what happened? Does the bot runs for a while, or this happens immediately?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I will upload it

On Feb 9, 2021, at 6:09 AM, Lucas Müller<EMAIL_ADDRESS>wrote:

It would be great if you could share the curl.dump too
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@mlite I can replicate the bug. I'm working on fixing it


linux tor rotating config

how to use a rotating tor configuration in linux ???

Same config, just find the directory on linux


Fix build error when adding ppa:ondrej/php due to wrong locale

Builds are broken because add-apt-repository is not currently working properly for non-UTF-8 locales. As stated here (at the bottom): https://hub.docker.com/r/byrnedo/nginx-php7-fpm/builds/bzje4ek6czubarxtk8qw3aq/
This should fix it. (it worked for me locally)

Thanks!


How do I find Release Notes for Microsoft's NuGet packages, such as this one?

The NuGet package has a completely useless "Project URL" of https://dot.net which doesn't have any direct information on System.Threading.Tasks.Dataflow, nor what changed between 4.8.0 and 4.9.0-rc1. This is a problem with all of Microsoft's NuGet packages; they all point to the same super-general URL, that then has no clear way to find out anything about the package of interest.

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

ID: 7d88b09c-ae2f-e362-fd66-751a944def85
Version Independent ID: 5066b7a6-cc2a-3507-9dcb-4eb7d2a355b9
Content: System.Threading.Tasks.Dataflow Namespace
Content Source: xml/ns-System.Threading.Tasks.Dataflow.xml
Service: .net
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for your feedback @JeremyMorton. We have plans to start adding some docs for selected NuGet packages in the future, but right now our docs are only focused on what ships on the platform (.NET Core, .NET Framework, etc.) and not on the NuGet packages.
@terrajobst @stephentoub do you know who owns that NuGet package? Are there any release notes for those? The release notes link on that package is https://go.microsoft.com/fwlink/?LinkID=799421, which doesn't seem appropriate.

Is there an easy way to find the source for this package in GitHub? (Assuming that it is in GitHub.)

@JeremyMorton The source code for that package is at https://github.com/dotnet/corefx/tree/master/src/System.Threading.Tasks.Dataflow.

Also see https://github.com/dotnet/corefx/issues/23570 for another issue about adding Release Notes to .Net NuGet packages.

Closing as it appears resolved. If this isn't the case, please reopen. Thanks!


Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encountered

Hello, while I train my models, this error sometimes occurred. It is very weird that by training the same samples,  the error sometimes occurred, but sometimes didn't. I wanna know why this error occur and how to avoid this error to train my models successfully. Here is the log:
I1104 11:18:44.281013 87409 TrainerInternal.cpp:165]  Batch=3000 samples=192000 AvgCost=0.136428 CurrentCost=0.100355 Eval: classification_error_evaluator=0.0541406  CurrentEval: classification_error_evaluator=0.0395312
I1104 11:18:45.290464 87409 Tester.cpp:127]  Test samples=1000 cost=0.347865 Eval: classification_error_evaluator=0.148
...................................................................................................
I1104 11:19:09.124543 87409 TrainerInternal.cpp:165]  Batch=3100 samples=198400 AvgCost=0.135145 CurrentCost=0.0966748 Eval: classification_error_evaluator=0.0535938  CurrentEval: classification_error_evaluator=0.0371875
..........F1104 11:19:11.596421 87418 hl_cuda_cublas.cc:220] Check failed: stat == CUBLAS_STATUS_SUCCESS (13 vs. 0) [cublas status]: execution failed
*** Check failure stack trace: ***
F1104 11:19:11.596427 87426 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596457 87427 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596423 87430 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596422 87422 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encountered
*** Check failure stack trace: ***
F1104 11:19:11.596427 87426 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596457 87427 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596423 87430 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596422 87422 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encountered
*** Check failure stack trace: ***
F1104 11:19:11.596427 87426 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596457 87427 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596423 87430 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encounteredF1104 11:19:11.596422 87422 hl_cuda_device.cc:661] Check failed: cudaSuccess == cudaStat (0 vs. 77) Cuda Error: an illegal memory access was encountered
*** Check failure stack trace: ***
/usr/local/paddle/bin//paddle: line 81: 87409 Aborted                 (core dumped) ${DEBUGGER} $MYDIR/../opt/paddle/bin/paddle_trainer ${@:2}

wish your reply, thank you.

@jamestang0219
Could you do more professional-quality typesetting on error information? Because it's quite illegible and unreadable. Thanks.

@jamestang0219 You can look at your error information, I have already do the format. Please use three ```

@jamestang0219

Use git log to check if there are some BUGFIXs for GPU training, and try to upgrade Paddle if necessary.
Show us more details

model config if necessary
command options

@gangliao @luotao1 @backyes
Sorry for the bad log format. My paddle version is 0.8.0b3.
Which kind of information do you need ?

@jamestang0219
Is this issue the same as #182 ?

@hedaoyuan
yes, and it sometimes appeared
I'm wondering if there are some problems with the input value, the error must appear every time that I use the same data to train, but it didn't appear for each time. Only for a large data set, for example more that 500,000 sentences data, this error may occur. If I split the large data set into 2 or more pieces, and only train one split, this error never occur.

Ok, close this issue. We discuss this issue in #182


Define Gaussian()

Gaussian(\mu,\sigma; type)

type 1 for Real
type 2 for Complex

This will not be in conflict with Normal in Distributions

Gaussian(beta=1,μ=0,σ=1)

beta 1 for Real Gaussian, 2 for Complex Gaussian


set mouse_filter for screen covering UI elements correctly

This closes #2 by setting the mouse filter of "GUI", "GUI/VSplit" and "GUI/VSplit/Empty" to "Ignore" instead of "Stop".

Thanks for this I have always been fixing this every time I use it in a project. I've just forgotten to fix it here. 😅

You're welcome, I really like the console and the syntax to add custom commands.
Haven't used it much yet, but am really looking forward to using it more.
Most Godot console just aren't as clean or feel really bad to use/clunky. This nails it for me :)
Are there any plans for auto completing commands (and maybe simple arguments like bools) or just the command list?

I've been working on that for a bit on and off. None of the solutions I have found are as reliable as I would like. I'm still going to keep trying to get this feature to work because it would be super useful.


Investigation: Support custom SCM views

Done!

@eamodio I wanted to ping you on the test plan item, which I'm about to write. I'll let you know there.


Docs: clarify deploy layout mandatory/optional paths

Describe the bug
Documentation states basic layout for deployment. Some paths can be however chosen freely (e.g. inventories) while others are to be strictly followed (group_data, config.py)
To add confusion, while there is directory inventories, rest of the examples code uses it without specifying path (i.e. pyinfra inventory.py debug-inventory) which suggests that pyinfra will always search for the inventory file within the folder, which is not the case. It will lead to fine error message Could not resolve hostname (inventory.py)
Expected behavior

use full path to inventory at least in the "Writing Deploys" section
specify which paths are hardcoded and which are optional/best-practice (without testing I am not sure how templates/files dirs behave)

Great point @Tezar, this is v.confusing! I've updated the docs to make this more explicit (https://docs.pyinfra.com/en/latest/deploys.html#layout) - I think that explains it properly?


Add "list_of(type)" and "dict_of(key_type, val_type)" validators

x = attr.ib(validator=instance_of(list)) is IMO not a very useful check, but x = attr.ib(validator=list_of(type)) would be.
In a similar fashion we could also add a dict_of(key_type, val_type) validator.
I can create a pull request if you like this idea.

We’re getting this request regularly.  You may want to look into the discussion around #158 to what I’m envisioning if you’d like to supply a solution.


Question: Displaying ANSI colored text in TextArea/Widgets

Is there a way to display ANSI colored text in TextArea or any other output widget? All the examples I am able to see are for displaying colored text in Prompt, but not in TextArea or in any other widget.
All the colored-text related example uses print_formatted_text, but not shows how to display ANSI escaped strings in any of the widgets.
I have been trying to create something like fzf but very minimal. It would be great, if someone chime in and help. Thanks.

Hi @rajaravivarma-r,
I'm not entirely sure whether this question is about prompt_toolkit 1.0 (the version on Pypi) or 2.0 (master branch). For what you're building I think in any case, 2.0 works better.
Colored text can be displayed in any widget that uses a FormattedTextControl underneath.
TextArea on the other hand, derives from BufferControl, which displays an input text. In order to highlight this, you have to use a Lexer, which transforms the input text into a list of (style,text) tuples.
So, f you want the user to be able to navigate through ANSI colored text, then indeed you can use a TextArea, store the plain text in the text area, and return the ANSI colored text from within the lexer (this is line by line). Probably, you'll have to dive a bit through the code, to make this work.
pypager (https://github.com/jonathanslenders/pypager) is an application that uses this technique to display the colored output of commands like "man" in a BufferControl.

@jonathanslenders Thanks. I was talking about version 2.0 indeed.
I will check the pypager implementation and see if I can work it out from there.
Also, is there any place in the documentation which tells you what widgets use FormattedTextControl and what widgets use BufferControl? Or should I look for Widget classes inheriting from FormattedTextControl.
Thanks again.

Anything that requires text input (with all editing functionality) uses a BufferControl. It can also be used for read-only text that still requires navigation key bindings like cursor movement and page up/down.
Any text that is static, not focusable, uses typically FormattedTextControl.
The highlighting works different. In the first case, this is done by a lexer. In the second case, you can pass formatted text directly.

Great, it will make more sense now when reading the source. Thank you.


Ingestion UI | Updating an existing Snowflake Usage Ingestion pipeline via UI is not working

Affected module
Does it impact the UI, backend or Ingestion Framework?
UI & Ingestion
Describe the bug
A clear and concise description of what the bug is.
Currently, when an existing ingestion pipeline on the UI is updated, the changes aren't reflected on the equivalent .json under /airflow/dag_generated_configs/*.json.
To Reproduce

Create a Snowflake Usage pipeline via UI
Update the existing pipeline and check for changes on the /airflow/dag_generated_configs/*.json.

Screenshots or steps to reproduce
NA
Expected behavior
A clear and concise description of what you expected to happen.
Reflect any changes on the Ingestion pipelines on the UI
Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8]
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ]
metadata, version metadata <IP_ADDRESS>.dev1 from /usr/local/lib/python3.9 (python 3.9)

Additional context
Add any other context about the problem here.
NA

after decoupling the IngestionPipeline create/update & deploy, I think we missed adding the deploy after editing a pipeline. We only update the IngestionPipeline entity without passing the request to the Airflow REST.
@vivekratnavel @darth-coder00


[New server]: Odin Language Server

Server name
ols
Server homepage
https://github.com/DanielGavin/ols
Languages
odin
Is this server added in lspconfig?

[X] Yes
[ ] No

How is this server distributed?
No response

Hello! Cool! Pull requests are always very welcomed to add new servers. If the distribution of the
server is simple, the installation will most likely be so as well (existing server installers may be
used for reference!). Otherwise, @williamboman will get around to looking into this ASAP!


Pressing "include rewards" in DFI wallet leads to app error

Every time I try to activate the checkbox "include rewards" in my DFI-Wallet the app somehow seems to be overloaded. The task "defid" is working hard in my activity monitor but the wallet won't update anymore (also on other pages like "liquidity" …) and will eventually crash after some minutes after I already closed it. If it doesn't I have to force quit the task "defid" and restart the app.

System: MacBook Pro (2019), MacOSX Version 10.15.7
defi-app: Version 2.1.4
Logfiles.zip
Logfiles can't be attached without zipping, therefore the help page should be updated.

I have same problem. Now it's just loading Liquidity tab and nothing happens..
MacOSX: 10.15.7
defi-app: 2.1.4

Hi @oh-johnny , thank you for the feedback, please give us time to investigate this issue. Yes, the help page has been updated.
@zipidude , thanks for your feedback, could you send your app logs please?

Hi @oh-johnny @zipidude , update v2.1.6 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, you may reopen this issue with new information (include screenshots) and your app logs. Thank you.

Hi @oh-johnny @zipidude , update v2.1.6 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, otherwise, you may reopen this issue with new information (include screenshots) and your app logs. Thank you.


Unbind/destroy

When destroying a Scribe instance, it should clean-up all references and DOM event bindings, including in any plugins being used.

+1 — currently working around this by cloning elements with DOM listeners (like the toolbar) but would be great if "destroy" was baked into the plugin architecture somehow

+1

Any news about this? I'm also putting this in a react app and would like to clean up.

I think we're looking for a suitable community contribution.

@rrees is there something simple to start with, like adding it to the api and set this = null and then step by step clean up plugins, event listeners et al?

@triptec I love changes that are simple so this sounds like a good place to start.

I'll look into it this weekend.

Thanks feel free to just implement the basic stub and then add the event listeners and plugins in a follow up.


Assertion throws when using windows+v for inserting something from the clipboard history

Steps to reproduce

Enable windows clipboard history Clipboard in Windows
Copy some text (any method will do it)
Click in the TextFormField
Press windows+v
Select any entry from the history

An assertion is triggered. This happens in a Flutter Web App in Chrome.
Note: The Key 'Control Left' was never pressed despite the fact that it is displayed in the logs.
Launch Config (VS Code)
{
            "name": "WebApp",
            "type": "dart",
            "request": "launch",
            "program": "lib/main.dart",
            "flutterMode": "debug",
            "args": [
                "-d",
                "chrome",
                "--web-port=1234"
            ]
        }

Expected results
No failed assertion
Actual results
Assertion fails
Code sample
Code sample
import 'package:flutter/material.dart';

void main() => runApp(const App());

class App extends StatelessWidget {
  const App({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Sample')),
        body: Center(
          child: Column(
            children: [
              TextFormField(),
            ],
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
Assertion failed:
hardware_keyboard.dart:437
_pressedKeys[event.physicalKey] == event.logicalKey
"A KeyUpEvent is dispatched, but the state shows that the physical key is pressed on a different logical key. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyUpEvent#4c67e(physicalKey: PhysicalKeyboardKey#8ed21(usbHidUsage: \"0x1700000000\", debugName: \"Key with ID 0x1700000000\"), logicalKey: LogicalKeyboardKey#00076(keyId: \"0x00000076\", keyLabel: \"V\", debugName: \"Key V\"), character: null, timeStamp: 0:02:26.026200, synthesized) and the recorded logical key LogicalKeyboardKey#b7bd2(keyId: \"0x200000100\", keyLabel: \"Control Left\", debugName: \"Control Left\")";dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49      throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3        assertFailed
packages/flutter/src/services/hardware_keyboard.dart 437:56                       <fn>
packages/flutter/src/services/hardware_keyboard.dart 444:14                       [_assertEventIsRegular]
packages/flutter/src/services/hardware_keyboard.dart 537:5                        handleKeyEvent
packages/flutter/src/services/hardware_keyboard.dart 883:29                       handleKeyData
lib/_engine/engine/platform_dispatcher.dart 298:33                                <fn>
dart-sdk/lib/async/zone.dart 1399:13                                              _rootRun
dart-sdk/lib/async/zone.dart 1301:19                                              run
dart-sdk/lib/async/zone.dart 1209:7                                               runGuarded
lib/_engine/engine/platform_dispatcher.dart 1238:9                                invoke
lib/_engine/engine/platform_dispatcher.dart 297:7                                 invokeOnKeyData
lib/_engine/engine/keyboard_binding.dart 161:39                                   [_onKeyData]
lib/_engine/engine/keyboard_binding.dart 579:36                                   <fn>
lib/_engine/engine/keyboard_binding.dart 457:11                                   [_handleEvent]
lib/_engine/engine/keyboard_binding.dart 582:7                                    handleEvent
lib/_engine/engine/keyboard_binding.dart 98:18                                    <fn>
lib/_engine/engine/keyboard_binding.dart 140:16                                   loggedHandler
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 367:37  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 372:39  dcall

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.19043.2075], locale de-DE)
    • Flutter version 3.10.0 on channel stable at D:\Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (8 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc3)
    • Android SDK at D:\AndroidSDK
    • Platform android-33, build-tools 33.0.0-rc3
    • ANDROID_HOME = D:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.5.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.5.33530.505
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.78.2)
    • VS Code at C:\Users\Yes\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.64.0

[√] Connected device (4 available)
    • Pixel 7 Pro (mobile) • android • android-arm64  • Android 13 (API 33)
    • Windows (desktop)    • windows        • windows-x64    • Microsoft Windows [Version 10.0.19043.2075]
    • Chrome (web)         • chrome         • web-javascript • Google Chrome 113.0.5672.126
    • Edge (web)           • edge           • web-javascript • Microsoft Edge 113.0.1774.42

[√] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for your report. I also can reproduce this issue on master channel as well.
The issue only occurs on Web (Windows) whilst it doesn't appear on Windows desktop app. Labeling the issue for further insights.

Chrome (Windows): ❌
Windows app: ✅

✅: No Issue ❌: Issue reproduced

flutter doctor -v (stable & master)
[√] Flutter (Channel stable, 3.10.0, on Microsoft Windows [Version 10.0.19045.2846], locale en-US)
    • Flutter version 3.10.0 on channel stable at C:\WIP\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (3 days ago), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio Electric Eel 2022.1.1\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.4)
    • Visual Studio at D:\DOWNLOADWORK\VS2022
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.78.1)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.62.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2846]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 112.0.5615.140
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 113.0.1774.35

[√] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.11.0-6.0.pre.86, on Microsoft Windows [Version 10.0.19045.2965], locale en-US)
    • Flutter version 3.11.0-6.0.pre.86 on channel master at C:\WIP\flutter_master
    ! Warning: `flutter` on your path resolves to C:\WIP\flutter\bin\flutter, which is not inside your current
      Flutter SDK checkout at C:\WIP\flutter_master. Consider adding C:\WIP\flutter_master\bin to the front of your
      path.
    ! Warning: `dart` on your path resolves to C:\WIP\flutter\bin\dart, which is not inside your current Flutter SDK
      checkout at C:\WIP\flutter_master. Consider adding C:\WIP\flutter_master\bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ea5eddb5a9 (3 hours ago), 2023-05-15 21:39:26 -0700
    • Engine revision c4d4b40c65
    • Dart version 3.1.0 (build 3.1.0-113.0.dev)
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git"
      directly to perform update checks and upgrades.

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio Electric Eel 2022.1.1\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.4)
    • Visual Studio at D:\DOWNLOADWORK\VS2022
    • Visual Studio Community 2022 version 17.4.33213.308
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code (version 1.78.2)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.64.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.2965]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 113.0.5672.93
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 113.0.1774.42

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

This appears to be the same issue as https://github.com/flutter/flutter/issues/100455 where hardware_keyboard fails assertions on keyup events for keyboard shortcuts as well as IME

cc @dkwingsmt

Deduplicating into https://github.com/flutter/flutter/issues/100455


Fix startup journey link

Hello @Nutlope
I liked your journey. It's nice. I found this invalid link (I think it's pointing to your old domain - which's not working). Updated it for you.
Thanks for sharing

Thanks so much @Shivam010! Merged :)


(Maint) fix rubocop and update report schema

Schema was incremented because new value was added for the cached_catalog_status report field:
on_pluginsync_failure to be used when a cached catalog was used because the usecacheonfailure setting was set and the pluginsync failed while having ignore_plugin_errors set to false

CLA signed by all contributors.


⚠ MineVN Maven & Resource Pack has degraded performance

In b5cfe5a, MineVN Maven & Resource Pack (http://app.minevn.net/pack) experienced degraded performance:

HTTP code: 404
Response time: 15204 ms

Resolved: MineVN Maven & Resource Pack performance has improved in 5498a38.


⚠ Turnos 24x7 has degraded performance

In 78a30d6, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 993 ms

Resolved: Turnos 24x7 performance has improved in 990c091.


Weird APP_SUSPEND value in configurationsettings table of app db

[Verson] 16.1 fix6+ 2017/03/06
[How to reproduce]

install APP/AWS
with db tool look at configurationsettings table of app db

[Expected result]
APP_SUSPEND has true or false as value
[Observed result]
APP_SUSPEND has value changeIt
[Details]
Have you checked if APP_SUSPEND functionality still works? Please check

Please also check MASTER branch fix 6

Changed APP_SUSPEND to default to false instead of changeIt. This issue is also on master branch, will fix after code freeze.

Hi @grubskim

This issue is also on master branch, will fix after code freeze.
Please create a pull request for the fix in master today.

@GoebelL
As i said in my email from 17.03, i have tested this functionality:

I have tested restarting the domain with different values in APP_SUSPEND.
In general, the domain can be started no matter what value is in there – true/false/any string.
When its set to true, on domain start it gets changed to false, that is the only thing I noticed.
Please let me know if I should merge to master.

@grubskim Please merge to master.

Change is in master.

verified 17.1


Browsers support coverage for Intl.Segmenter

Hi guys!
Lets discuss a problem that was come from VScode last update here
That's because VSCode need to work better with chinese locales, emojis and other text stuff... described https://github.com/microsoft/vscode/issues/50045
This compatibility list is looks really bad for Segmenter https://caniuse.com/?search=Intl.Segmenter. Its turned off many FF versions except latest.
Here is an example how to a bit more friendly use that new functionality in JS.
This isn't looks like a problem for VSCode, because basically it is working inside Electron and mostly chromium based environments. But other projects who based on Monaco stack they don't want to get broken clients in FF browser. Include vscode.dev
What u think so? Do we need some fallbacks or support check for Intl.Segmenter

@BusinessDuck I'm not 100% sure what you would like us to do here? What is the problem, what is going wrong and what would you expect?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


investigate connection issues

as load tests showed (run npm test), peers have issues managing more than ~30 connections and will stop accepting new ones afterwards. this shouldn't happen.

fixed by https://github.com/falafeljan/from-me-to-you/commit/1ca1effebe21f49f9e16d7823a49eb999c7b00e7. increasing maxPeers for hyperswarms solved it.


Textures: When loading from System.Drawing.Bitmap pixelData is null.

When Textures are involved for some reason the pixelData member on it is null.

Seems even with that thing being null the data is assigned to an OpenGL object anyway.


Special characters in commit messages causes issue with CI_COMMIT_MESSAGE environment variable

Versions

drone/agent:0.8
drone/drone:0.8

Description
The following build error is seen when a '™' character is used in a commit message:

Could not set the value of environment variable 'CI_COMMIT_MESSAGE': could not convert string to current locale

I suspect that this is also present for other such characters.

I was unable to reproduce the issue in either of my environments. Maybe it is an issue with one of your build containers?

I pushed another commit after that, and got the following:

Could not set the value of environment variable 'CI_PREV_COMMIT_MESSAGE': could not convert string to current locale.

So it does appear not to be transient and tied to that particular commit. I'm now investigating with another repository.

I can reproduce this across more than one repository. This is simply a commit pushed called Test commit™

do you need to configure your host machine locale? there was a similar issue in one of the gitlab forums and this was the described fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38698#note_43992619
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=

I am going to close the tracker as I was unable to reproduce and because this appears to be a host configuration issue. Note that (per our issue template) we prefer discourse.drone.io for support and triage, and the github issue tracker for verified bugs. If we can verify this as a drone issue, we can always re-open

Thanks @bradrydzewski I'll give that a try


[jvm-packages] add doc for xgboost4j-spark-gpu

This PR adds the tutorial for how to use the XGBoost4j-Spark-GPU.

@trivialfis could you help merging this PR


💡 [REQUEST] - Does Qwen-75B-chat have a plan to support TensorRT LLM

起始日期 | Start Date
12/2/2023
实现PR | Implementation PR
No response
相关Issues | Reference Issues
No response
摘要 | Summary
Does Qwen-75B-chat have a plan to support TensorRT LM
基本示例 | Basic Example
Does Qwen-75B-chat have a plan to support TensorRT LM
缺陷 | Drawbacks
Does Qwen-75B-chat have a plan to support TensorRT LM
未解决问题 | Unresolved questions
No response

Please refer to the following for now:

https://github.com/NVIDIA/TensorRT-LLM/tree/main/examples/qwen
https://github.com/Tlntin/Qwen-TensorRT-LLM


Use mamba to update independent cluster environment

Should fix the independent cluster failures spotted in https://github.com/dask-contrib/dask-sql/pull/436 and https://github.com/dask-contrib/dask-sql/pull/433; for some reason the Conda installation of latest pandas in the Docker cluster is no longer updating Pandas, while Mamba still works.
This solution is somewhat cumbersome, but hoping it shouldn't need to exist for too long if https://github.com/dask/dask-docker/pull/209 is merged in soon, which should make it so we're always pulling the latest Pandas (as long as Dask doesn't introduce a version ceiling).
cc @ayushdg

Codecov Report

Merging #437 (1ce4975) into main (c3ad6a9) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #437      +/-   ##
==========================================
- Coverage   89.02%   88.92%   -0.10%
==========================================
  Files          69       69
  Lines        3326     3324       -2
  Branches      653      647       -6
==========================================
- Hits         2961     2956       -5
  Misses        296      296
- Partials       69       72       +3

Impacted Files
Coverage Δ

dask_sql/server/app.py
96.96% <0.00%> (-3.04%)
:arrow_down:

dask_sql/_version.py
32.27% <0.00%> (-0.29%)
:arrow_down:

dask_sql/physical/rel/custom/predict.py
95.34% <0.00%> (-0.11%)
:arrow_down:

dask_sql/utils.py
100.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Op batching work for 1.0

(needs more description)

[x] #5761
[x] #4048
[x] #3788
[x] #7545
[ ] https://github.com/microsoft/FluidFramework/issues/7599
[x] https://github.com/microsoft/FluidFramework/issues/7365
[x] https://github.com/microsoft/FluidFramework/issues/8179

https://dev.azure.com/fluidframework/internal/_workitems/edit/465


Upgrade or replace BLAKE3 package which is returning nonstandard BlockSize()

Issue To Be Solved
IMPORTANT:  Atree doesn't use blake3.BlockSize() or use BLAKE3 with HMAC or PBKDF2, etc., but we should evaluate replacing zeebo/blake3 with  lukechampine/blake3.
zeebo/blake3 v0.2.1 (and all earlier versions) returns 8192 from BlockSize() (in api.go).   However, BLAKE3 specification uses 64 (not 8192) bytes as the block size.
In api.go in zeebo/blake3 (all versions 0.2.1 and earlier).
// BlockSize implements part of the hash.Hash interface. It returns the most
// natural size to write to the Hasher.
func (h *Hasher) BlockSize() int {
	// TODO: is there a downside to picking this large size?
	return 8192
}

In zeebo/blake3 (api.go) v0.2.2 (Jan 27, 2022), BlockSize() correctly returns 64, BlockSize() isn't called by zeebo/blake3 itself, and none of the other hardcoded occurrences of 8192 in the code were changed to 64.
// BlockSize implements part of the hash.Hash interface. It returns the most
// natural size to write to the Hasher.
func (h *Hasher) BlockSize() int {
	return 64
}

BLAKE3 Package Selection

One of the 3 maintainers of multi-party-sig is the co-inventor of BLAKE2 and BLAKE3.  And that project uses zeebo/blake3 v0.2.0.  https://github.com/taurusgroup/multi-party-sig/blob/main/go.mod

GitHub search filters out a viable alternative to zeebo/blake3 when Go is selected as the language.

Suggested Solution
Two possible solutions:

upgrade from zeebo/blake3 v0.2.1 to v0.2.2 (released 19 days ago), or
replace zeebo/blake3 with lukechampine/blake3 v1.1.7

Some reasons make me lean toward replacing zeebo/blake3 with lukechampine/blake3:

Compatibility and testing effort would be the same (in this case) whether we upgrade zeebo/blake3 or replace it.
In zeebo/blake3 v0.2.2, only `BlockSize() was changed to use 64 instead of 8192, and there's a lot of hardcoded 8192 in other places that may or may not be relevant.
Even if Atree is not affected by the block size issue (because it doesn't use blake3.BlockSize() or constructs like PBKDF2 or HMAC), this comment in zeebo/blake3 makes me lean toward replacing it:

// TODO: is there a downside to picking this large size?

The default answer should be "Yes, there are probably unanticipated downsides" deviating from a cryptographic standard.

Unfortunately, the alternative to zeebo/blake3 is much slower for short inputs and is hosted on a personal domain.


Using dict as component fields can break checksums

Repo: have a component with a field that is a dict with keys that are str of ints. Ie {'34':'bar','4':'foo'}. Next, update that dict by adding a new key that would result in a different dict key order if they were sorted. In python, it won't sort them, they stay in insertion order. On the client side, at least in chrome, when response.json() is called, that reorder's the dict keys. This results in an invalid checksum the next time an update happens. See SO post for example on javascript reordering dict keys automatically when parsing json.
Result: Dictionaries are dangerous to use in component data.
Possible fix, don't use response.json in the unicorn response parsing? Maybe use a different json parser?
Workaround I'm using for now: Don't use dicts, maybe use lists of k, v tuples if required.

Another fix would be to make the checksum logic not care about order somehow.... that keeps it in python instead of js, but would require more complicated scanning of the data for dicts.

If we always sorted the dictionary in Python by key before serializing, would that mitigate this problem?

If we always sorted the dictionary in Python by key before serializing, would that mitigate this problem?

Maybe? I'm not sure what sort order the js json de-serializer is using. We'd have to match that. Since the dict would be reordered by that no matter what order python used. It appears people say that it doesn't sort them unless the key is a str of an int.... but I don't know if that's reliable.
Another more complicated way would be to automatically turn dicts to lists of k, v tuples, then undo that after json deserialization in unicorn's js.

Because this crosses both Python + JavaScript, writing an automated test for this is tricky, but that seems like maybe a good first step? It'd be nice to have a test to replicate this issue first, then we can try a few approaches and see what works best?

Sounds reasonable. I can't do it ATM but I can try to get to it this week. It's also possible like the SO post says that it's dependent on the browser, which may suck for automation as well, but worth trying and seeing.

I think I have a way forward for this in PR #572.

This should be fixed when 0.54.0 is released., so closing this. Please re-open if 0.54.0 doesn't work for some reason.


page:transition:start hook not being called?

Environment

Operating System: Linux
Node Version:     v18.17.1
Nuxt Version:     3.7.3
CLI Version:      3.9.0
Nitro Version:    2.6.4-28243740.058bacf
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      app, site, typescript, devtools, modules, nitro, devServer, runtimeConfig, build, imports, css, pinia, piniaPersistedstate, i18n, device
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-vxr1cj?file=app.vue,plugins%2Fhook.ts
Describe the bug
page:transition:start hook not working
page:transition:finish working
export default defineNuxtPlugin(({ vueApp, hook, hooks }) => {
  hook('page:transition:start', () => {
    alert('start');
  });

  hook('page:transition:finish', () => {
    alert('end');
  });
});

Additional context
I think it was working days before
Logs
No response

I see RuntimeNuxtHooks in nuxt.d.ts has 'page:transition:start' but not in docs,
is it gone now?

I don't believe this has ever been included in Nuxt 3, so we should either implement it or remove it from the docs.
For layouts (and pages for that matter), you can pass onBeforeEnter /onAfterLeave as options, e.g. <NuxtLayout :transition="{ onBeforeEnter() {} }">.

I don't believe this has ever been included in Nuxt 3, so we should either implement it or remove it from the docs.
For layouts (and pages for that matter), you can pass onBeforeEnter /onAfterLeave as options, e.g. <NuxtLayout :transition="{ onBeforeEnter() {} }">.

yeop, types should be updated.
why not add to docs  and  transition props usage.
I think below has more explicit control over page transition
than setting inside app.pageTransition of nuxt.config
NuxtPage has transition props, NuxtLayout doesn't have one.
<NuxtPage
    :transition="{
        name: 'page',
        mode: 'out-in',
        onAfterLeave(){},
        onAfterEnter() {},
        ...
      }"
  />

<Transition
  v-bind="{
    mode: 'out-in',
    name: 'layout',
    onAfterLeave,
    ...
  }"
>
  <div id="layout" :key="currentRoute.meta.layout || 'default'">
    <NuxtLayout />
  </div>
</Transition>

this doesn't work
<NuxtLayout
  :transition="{
    mode: 'out-in',
    name: 'layout',
    onAfterEnter() {
      alert('after enter')
    },
  }"
/>


Update II roadmap with the new Synchrotron milestone

Properly update the roadmap.json from the relevant repo

I think we can close this PR, @dietersommer already integrated these changes and approved them in the other merged PR.


Upgrade Alpine to v3

I'm branching from #763 as this includes a rebase. Should any updates be required to the initial PR, I'll rebase again.
This resolves #718 and includes @faissaloux's original PR https://github.com/laravelio/laravel.io/pull/740. I submitted as a separate PR as it includes a rebase and I wanted to keep things cleaner.
As part of this PR, I also cleaned up the modal functionality of the site and that now leverages a blade component and Alpine v3's ability to share data between components.

@joedixon this one will need to be rebased now the other PR is merged.

@joedixon seems like some things have gone amis and the commits from the livewire overview refactor are still in here. I think it's best that you rebase and cherry-pick the commits from the Alpine update.

Thanks @joedixon @faissaloux!


Update cme futures holidays and early closes

Description

As pointed out here (https://github.com/QuantConnect/Lean/issues/7501#issuecomment-1754846634) the general CME Future entry (Future-cme-[*]) contained dates that were not holidays and therefore needed to be removed, at least from the general entry. Some of those dates were actually early closes for futures of class Equity, FX and Interest Rate, others were in fact holidays, as defined in the officials CME Holiday Calendars (https://www.cmegroup.com/tools-information/holiday-calendar.html). For these reason, most of the CME group assets needed an update in its early closes and holidays entries in MHDB.
In order to update the MHDB, we used a Python notebook since there was a library called pandas_market_calendars (https://pypi.org/project/pandas-market-calendars/) that claimed to contain holiday and early closes dates for most of the markets. After, manually checking these dates were correct, we removed the ones that were not holidays from the general CME Future entry in MHDB and searched for which futures they were indeed holidays. We found that some of them were holidays for CME asset classes such as Energy, Metals, Grains, Livestock and Dairy, so we add those dates in their respective entries in MHDB.
On the other hand, another bug it was found that was for some CME Future assets, though the timezone was America/New York their early closes were in America/Chicago timezone (the CME Futures class of all of those found assets was Equity). Therefore, the early-closes entry of them were also updated.
In the beginning it was wanted a script that given one CME Group asset( or more), could return a new MHDB with its holidays and its early closes updated. However, due to uncertainty of the library veracity, the purpose of the script was changed so that it could be useful verifying the veracity of the holidays and early-closes dates. Still, that script realized to fix the underlying GH issue can be modified to fulfill its initial purpose (see https://colab.research.google.com/drive/1YhzVAeJnhRCujruuhu9jlOaoWldrS3tt?usp=sharing).
To sum up:

Wrong holiday dates in Futures-cme-[*] in MHDB were removed. The dates that were holidays for other CME Group Futures classes were added in the entries of the products of that class.
CME Group Futures entries in MHDB were updated in their early closes and late opens
CME Group Futures early closes, late opens and halts were extracted manually using the CME Group Market Calendars available in their webpage (since 2009).
LEAN was modified to handle HALTS, this is, to resume the market after an early close
Unit tests were added to assert the behavior of the HALTS
Regression test stats were updated

This changes were made using the following collaborative notebook: https://colab.research.google.com/drive/1YhzVAeJnhRCujruuhu9jlOaoWldrS3tt?usp=sharing
Related Issue

Closes #7501
Motivation and Context

With this change users will have more accurate data about the early closes and holidays of CME Group Futures
Requires Documentation Change

N/A
How Has This Been Tested?

The holidays and early-closes dates given by pandas_market_calendars library were manually asserted to be holidays or early closes using the files from CME Group Holiday Calendars (https://www.cmegroup.com/tools-information/holiday-calendar.html)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Included by https://github.com/QuantConnect/Lean/pull/7605


How to set other parameters for train

Hello, I'm working on this package with ROS kinetic without Anaconda.
I tested this following your directions, but I've been wondering another problem; maybe this would have little thing to do with this page.
I'm planning to modify the number of laser detectors rays from 24 to 340 or 720 for the robustness.
However, I also have a feeling that size of the neural network, whose number of hidden units is 64 on each hidden layer, is not big enough to handle with 340 or 720 of input-size, properly.
So it seems it is needed to be expanded; would it be ok if I increase the number of hidden units by 1200 with 340 or 720 input, for example?
I know this is improper, I'm not sure whether it would go well when I apply DQN into a navigation control.
Are you doing your works with only 24 rays of the laser sensor?
Anyway, I really hope this issue would not bother your works...
Thanks in advance.    :)

@AssassinCrow Feel free to change the number of hidden layers and neurons in each layer as well. These are the hyperparameters of DQN and you just have to give them a try to find out which one fits better in your case.


[manila-csi-plugin] Do not populate nodeStageCache when an error occurred previously

What this PR does / why we need it:
This change prevents the node server's nodeStageCache from being populated with invalid (nil) values, when an error occurred previously.
Which issue this PR fixes:
fixes #1587
Special notes for reviewers:
n/a
Release note:
NONE

/ok-to-test

/lgtm
@martin-helmich thank you!

Don't mind pull-cloud-provider-openstack-check, it's being fixed.

/approve
let's wait for the check job pass

Am I correct in assuming the failing build is unrelated to my change? Is there anything left to do for me at this point? 😳

@martin-helmich correct, no action needed from your side. I believe the failing CI job is being fixed here https://github.com/kubernetes/cloud-provider-openstack/pull/1589

/test pull-cloud-provider-openstack-check

/test pull-cloud-provider-openstack-check

https://github.com/kubernetes/cloud-provider-openstack/pull/1589 just merged


Release v2.0.1

Release PR
v2.0.1 (2024-01-08)
Full Changelog
Changes since v2.0.0:

9cc2736 Update version.rb
5b3acaf Release v2.0.1-rc.1
58fa048 Update rspec and rubocop to latest project standards (#21)

Reverting this release using revert-github-release


Removing unecessary decimals and repeated numbers

Removing unecessary decimals
Removing mana and cooldown showing repeated numbers

If you don't make these changes in tasks/updateconstants.js then they will get overwritten on the next update script run


Add more sorting options

[x] Alphabetically
[x] Payment supertype
[x] Nearest Location
[x] Open/Closed
[x] Campus

Closed with 861d091


Spelling

Add spellcheck to flake8
It is kinda non-intelligent spell checking (does not strip numbers/quotes), but I think having it might better than not.
I think it caught some bugs (see the deafult fixes below).
Thoughts?

Hmm... python 2.7 is dead. Do we care about it anymore?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@fb96848). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #217   +/-   ##
=========================================
  Coverage          ?   88.26%
=========================================
  Files             ?       88
  Lines             ?     4773
  Branches          ?        0
=========================================
  Hits              ?     4213
  Misses            ?      560
  Partials          ?        0

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 fb96848...15c4497. Read the comment docs.


Validate add to prevent duplicate IDs.

Description of changes
Throw errors if the user attempts to add duplicate IDs, either via separate calls to Collection.add or the same one.
Test plan
This branch is based of #355 which contains failing tests for this functionality.
Documentation Changes
https://github.com/chroma-core/docs/pull/42

Reviewed in-person with @atroyn and incorporated feedback prior to merging.


Make user profile discoverable from users panel

Is there a specific order to users? If not, perhaps "we" are always at the top?

Currently we sort by name, I've changed it to: we, sorted named users, anonymous users :)


Switch order of available resolutions

We noticed that when using multiple different types of sources the plugin stacks these types to array in reverse order.
Here's an example.
<source type="video/mp4" src="video-file-360.mp4" data-res="360">
<source type="video/mp4" src="video-file-480.mp4" data-res="480">
<source type="video/webm" src="video-file-360.webm" data-res="360">
<source type="video/webm" src="video-file-480.webm" data-res="480">

This ends up the be a following array in player.availableRes.
[
    {
        data-res: "360",
        src: "video-file-360.webm",
        type: "video/webm"
    },
    {
        data-res: "480",
        src: "video-file-480.webm",
        type: "video/webm"
    },
    {
        data-res: "360",
        src: "video-file-360.mp4",
        type: "video/mp4"
    },
    {
        data-res: "480",
        src: "video-file-480.mp4",
        type: "video/mp4"
    }
]

So the 360 and 480 orders are correct, but webm sources are placed before mp4 sources. This could be rather easily fixed by replacing available_res[current_res].push( sources[i] ); with available_res[current_res].unshift( sources[i] ); in video-quality-selector.js line 221. Do you think you could commit such a change to the project?

Wouldn't the output be the following?
{
	"360" : [
		{
			data-res: "360",
			src: "video-file-360.webm",
			type: "video/webm"
		},
		{
			data-res: "360",
			src: "video-file-360.mp4",
			type: "video/mp4"
		}
	],
	"480" : [
		{
			data-res: "480",
			src: "video-file-480.webm",
			type: "video/webm"
		},
		{
			data-res: "480",
			src: "video-file-480.mp4",
			type: "video/mp4"
		}
	]
}

Either way, you're right that we shouldn't mess with the order. I'll see about make that change.


Mesa drivers problem and GLIBC version not found (wrong version)

Describe the bug
Running some software that uses gpu drivers (mesa) throws and issue version `GLIBC_2.38' not found.
Mesa version is 23.1.9 (current unstable)
ldd --version output is ldd (GNU libc) 2.38
It appears by error messages that nix is using the older glibc, 2.37 (current stable)
There were previous issues like this and only fix they had is to unset LD_LIBRARY_PATH from env,
however running env | grep LD doesn't output anything.
part of the output when running vulkaninfo --summary:
$ vulkaninfo --summary
ERROR: [Loader Message] Code 0 : /nix/store/whypqfa83z4bsn43n4byvmw80n4mg3r8-glibc-2.37-45/lib/libc.so.6: version `GLIBC_2.38' not found (required by /nix/store/0lfnrz6nq5myv787cih78knzaqy9z9fc-mesa-23.1.9-drivers/lib/libvulkan_dzn.so)
ERROR: [Loader Message] Code 0 : loader_icd_scan: Failed loading library associated with ICD JSON /nix/store/0lfnrz6nq5myv787cih78knzaqy9z9fc-mesa-23.1.9-drivers/lib/libvulkan_dzn.so. Ignoring this JSON

In my configuration.nix file i have the following set:
boot.initrd.kernelModules = [ "amdgpu" ];
environment.variables.AMD_VULKAN_ICD = "RADV";
hardware.opengl = {
    enable = true;
    package = unstable.mesa.drivers;
    driSupport32Bit = true;
    driSupport = true;
};

Steps To Reproduce
Steps to reproduce the behavior:

run vulkaninfo

Expected behavior
No glibc errors, shows output of vulkaninfo
Screenshots

Notify maintainers
@vcunat
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.7-xanmod1, NixOS, 23.05 (Stoat), 23.05.4527.60b9db998f71`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.6`
 - channels(root): `"home-manager-23.05.tar.gz, nixos-23.05, unstable"`
 - channels(menko): `"home-manager-23.05.tar.gz, nixpkgs-23.05"`
 - nixpkgs: `/home/menko/.nix-defexpr/channels/nixpkgs`

Yes, unfortunately mesa is prone to issues when you mix versions, i.e. running packages from (very) different versions of nixpkgs that the NixOS version.

A single nixpkgs commit only has a single glibc (version).

duplicate of #216361


 I noticed that there exists different length-width ratio of mod images. Maybe you can add some conditional statements and take different scaling strategies to improve visual effect.
It's easy to find many of them looking not good, too wide, which also reduce the recognition. Below is an example.

This is what i've come up with so far. Any suggestions, @Nelson0491?

Thanks for your work! I think turning the filling space to pure black or the same as the background may be better. By the way I find that your length-width ratio strategy is similiar to 16:9, while the workshop takes 1:1 square appearance. Maybe 16:9 is indeed more suitable for the window. 1:1 is just another choice ( or offerring a UI more similiar to workshop? ) Anyway present is completely acceptable. I just offer another possibility.

Would you be looking for something like this @Nelson0491?
I'm not the main dev but the negative I see with this method, is the seemingly wasted space.

I understand. One solution I come up with is to change to self-adaption width, but that will make the interface not that tidy. Not sure how to balance the space and readability. Because the workshop style also have wasted space, but in vertical direction. However through contrast maybe the workshop one is still a little better. @MerryDreambound

Here's the blur approach with squares

the upcoming v0.4.0 patch already has a "adaptive thumbnail" setting. I can easily modify it so you can choose your preferred aspect ratio, as well has how to fill the wasted space (black, blur or nothing). Sadly it'll never look perfect due to the inconsistency, but I guess having the options is the best we can do, at least for now.

Update v0.4.0 is out with some new thumbnail settings c: some combinations look bad, but it's a start. Let me know what you think!


Manual approval required for workflow run<PHONE_NUMBER>: Deploying example/ai-agent-demo/dev

Please check the preview report at: https://github.com/KusionStack/konfig/actions/runs/9499877053/artifacts/1598016591
Workflow is pending manual review.
URL: https://api.github.com/KusionStack/konfig/actions/runs/9499877053
Required approvers: [SparkYuan]
Respond "approved", "approve", "lgtm", "yes" to continue workflow or "denied", "deny", "no" to cancel.

approved

All approvers have approved, continuing workflow and closing this issue.


TypeError: Cannot read properties of null (reading 'setupContext')

Hello,
I have been facing this issue on my project as detailed
TypeError: Cannot read properties of null (reading 'setupContext')
This happens immediately after adding the component.
Kindly help out.

@phanuelmutuma  Could you please provide a reproduction so that I can debug it？

It may be related to #139. If "setupContext" is a function you try to call from a template that it won't be accessible

@HC200ok sorry for the late reply. I was including it on a n existing project. On running the app after installation it fails. with the above error, however when I do the same on a new project it runs successfully.

@HC200ok here's an example repository.

@wozni Works well in my local:

It seems like an issue of local build setup. Could you please try to update your local dependencies or delete local node_module?

Thank you for your quick reply.
I've removed my node_modules and reinstalled them with yarn install, still have the same issue. Any ideas about what else could cause this?
My local node and yarn versions:
$ node --version
v16.18.0
$ yarn --version
1.22.19

Forbid vue-tool chrome plugin then try again?

I am not sure why but I also experienced something that looks similar to this. I solved by deleting the node_modules folder AND the yarn.lock file, maybe worth a try?

It seems for me locally to be related to Vue 3.2.42 and up.

I updated the vue dependency, please update to the latest version 1.5.17 and try again.

Seems to be resolved 🎉  (using v1.5.17 with Vue 3.2.45). Thanks @HC200ok!

我更新了 vue 依赖项，请更新到最新版本并重试。1.5.17

Thank you so much.It disturbs me two days.


Support other calenders than the gregorian

Feature
I want to implement a Bangla calender in my app. Bangla calender doesn’t match the dates on gregorian calender. So, it would be great if you could add suuport to add so.
Tech (if applicable)
I've thought of a simple approach to this problem. The steps can be:

get the firstDayOfMonth to map the day of week.
get the number of days in current month to map the inDates
get the number of days in last month to know the outDates
get the number of days in next month to know the inDates

Note: I will provide the informations (eg. firstDayOfMonth). I only need the UI to be implemented.

Hope you understand and like my concept.

Hey, thanks for the suggestion. Unfortunately, there are no plans to add/support more calendar types at the moment so I will have to close this. Sorry.

Is there any way that I could use to implement this myself with your library?

The data module is responsible for the month/date generation and published separately. You can pull the data module into your project, make the changes there and exclude the module in the calendar dependency.
Alternatively, you can just fork the library and make the required changes.