Migration should not produce illegal overrides

https://dart-review.googlesource.com/c/sdk/+/125084 allows the migration engine to understand that even though dynamic is nullable, some instances of dynamic in the user's source code may wind up never taking on null values.  This creates a problem when one of these "never null dynamic" types appears in an inheritance relation, e.g.:
class _A {
  void _m(p) {
    f(p);
  }
}
class _B extends _A {
  void _m(Object q) {
    g(q);
  }
}
void f(Object r) {}
void g(Object s) {}

Currently the migration tool reasons that since there are no call sites that pass in nullable values, the value of p is never going to be null.  Therefore there's no need to mark f's parameter r as nullable.  This is a good thing, because it prevents unnecessary propagation of nulls.  But the migration engine is applying the same logic to the type of q, failing to mark it as non-nullable, and that's a compile-time error.
Note that it is tempting to fix this bug by having the nullability graph propagate nullability to q, but I believe that would be a bad solution, because it would then in turn get propagated unnecessarily to s.  I believe what we should do instead is to keep the existing nullability graph computations (so that nullability is not propagated to s), however before final output, we should determine if any additional ?s need to be added in order to satisfy inheritance constraints, and if so we should add them without performing additional propagation.

This sounds like we might want to help developers who are using the migration engine to avoid some of these trade-offs. If we establish some channels of communication (say, a comment in the migrated code, or a diagnostic message) then it could allow developers to modify their code to express their intent more clearly, and re-run the migration, with a more useful result.
For instance, if parameter Object q gets migrated into Object? q, and the reason for this is one of these known dilemma situations then it could instead be
class _B extends _A {
  /* NNBD migration of `q`: `?` forced by parameter type `dynamic` in _A */
  void _m(Object? q) {
    g(q);
  }
}

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


Introduce internal _isinstance_no_warn

Fix https://github.com/numba/numba/issues/8936. Replaces internal uses of isinstance by _isinstance_no_warn and should be reverted once Numba 0.58 lands with patch from #8911

I am picking up the review on this one now.

I had a look at this, I am not sure what's going on here, in terms of strategy to move forward. I asked for clarification in the original issue at: https://github.com/numba/numba/issues/8936#issuecomment-1562309138 ..

@gmarkall has clarified https://github.com/numba/numba/issues/8936#issuecomment-1562644085 -- so this PR will be reviewed and merged for 0.57.1

@guilhermeleobas can you add a test using https://github.com/numba/numba/blob/main/numba/tests/support.py#L1049 -- to make sure that np.where really doesn't raise any warnings?

@guilhermeleobas why does this not use check_warnings was it not possible?

check_warnings assumes a warning was raised. In our case, we want to ensure no NumbaExperimentalFeatureWarning was raised.

@apmasell thank you for the review, marking as ready-to -merge


Smoother Animation

Hi !
Thanks for your work
Can you make this use transform and will-change property instead for smoother animation ?
It will help with the lag on low end mobile devices

Happy to serve. I will try will-change.

Feature added, see https://github.com/hyjiacan/vue-slideout/releases/tag/2.3.1

Hi
Thanks for the effort but It's not working
I think you must open and close hte slideout with transform (using translateX) and set will change for transform property for it to work ;)

I did not use translateX, just position applied.  It seems that I need more time. :smile:

Hi @jd1378 , thanks for your feedbask, here are good news and bad news:

Bad one, that I got no mobile dev skills.
Good one, I have push the newest code onto branch dev, could you pls take a test.

Hi,
I just checked it out and it works nicely smooth , Thanks a lot for the hard work ! 👍
Also I just figured out that also my own page was lagging because of something else as well (only a handful of css 'filter' property was killing the page ...), so my bad, really sorry 😅😅😅
I'm sure the transform will help older browsers as well

Great.

This feature now is available after tag 2.3.3


Fix default tag not working in embedded schema (#3451)

[] Do only one thing
[] Non breaking API changes
[] Tested

What did this pull request do?

User Case Description

Fixed in commit https://github.com/go-gorm/gorm/commit/b8a74a80d732963df95580eae3316db140a882a4 , thank you for your PR.


Converted Store implementation to use Interior Mutability and added Field Updates

Before building better middleware we needed to change the store implementation up to use interior mutability for the state of the Store to allow passing of multiple store references. This PR implements those changes. Look over it and let me know if you think it could be improved.

Due to the change in Store implementation the State struct that the user adds needs to implement a trait I made called Update_Fields. This requires a single function implementation which is update_fields() and it is responsible for updating the fields of a mutable State reference given another State struct. This is used to replace the line inside of the dispatch method that updates the Store's state.

I also added my name to the authors list inside of the .toml if that is ok with you.

The middleware isn't in working condition yet, but these changes needed to be made before continuing work on that.

How about we merge this (and future PRs) to a develop branch and make iterations on it based on smaller issues (like you have already started creating) and try to find ways to divide the work up without getting in each others way, and then we merge it to master and release a crate when we're happy with how it works? 🙂
The only thing here I would question before merging is if everything needs to be wrapped in a RefCell? I've played around some with wrapping just the state and then passing immutable store references to middleware and that worked fine for my simple example.

I would prefer to avoid using RefCell as much as possible, but how were you able to add new middlewares to an immutable reference of the store?

Middleware doesn't have to be able to add more middleware, or add more subscribers. If they try to do that they get an error.
But when setting up the store I used a mutable store, yes.

Ok the way I was setting it up was to avoid any mutable reference of the Store, but I understand that this isn't necessary. I'll push some updates in a bit.

Alright I added those changes. It turned out much cleaner than what I had done. No more returning Ref I was just able to return direct references. Thanks for the help! I'm still getting used to the 'Rust' way of doing things.

This looks really good! I think it's merge time. 👍
I've been writing Rust code on the side for while now, but Rust is not my day job so I'm no way an expert on the Rust way of doing things either.
Which makes it all the more interesting to try to port a library that does things the javascript way, trying to make it do things the Rust way in the process.


fix: fixed problems with executor resolution in yarn workspaces

Description
After the introduction of Lerna, we had to use yarn workspaces and since we have a custom plugin for certain things, executors would not resolve properly(they needed .js extension), this small fix does the trick.
More info can be found here
https://github.com/nrwl/nx/issues/9823

@N1XUS This is the fix you need now


InfiniteStreamRecognize - io.grpc.StatusRuntimeException: CANCELLED: Failed to read message when EnableVoiceActivityEvents is true

In which file did you encounter the issue?
https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/speech/src/main/java/com/example/speech/InfiniteStreamRecognize.java
Did you change the file? If so, how?
Added enable voice activity event option and set audio channel count to 1
RecognitionConfig recognitionConfig =
RecognitionConfig.newBuilder()
.setEncoding(RecognitionConfig.AudioEncoding.LINEAR16)
.setLanguageCode(languageCode)
.setSampleRateHertz(16000)
.setAudioChannelCount(1)
.build();
StreamingRecognitionConfig streamingRecognitionConfig =
StreamingRecognitionConfig.newBuilder()
.setConfig(recognitionConfig)
.setInterimResults(true)
.setEnableVoiceActivityEvents(true)
.setVoiceActivityTimeout(VoiceActivityTimeout.newBuilder()
.setSpeechStartTimeout(Duration.newBuilder().setSeconds(15L))
)
.build();
Describe the issue
After I receive the event SPEECH_ACTIVITY_BEGIN I get the CancelledException:  Failed to read message.

@stefalbi it will help us to triage the problem if you are able to answer to a few questions below:

Can you please confirm that the original example (without your changes) works as expected?
I assume that you added the links to this code block. Can you run your code without setting VoiceActivityTimeout and report whether you get this exception?
I assume that the CancelledException is catched by the catch exception block at the end of the sample. Can you please post the full content of the exception printed by the catch block?

Thank you

yes, it works
without setting VoiceActivityTimeout it works
I made a new test and printed the error wirh the stack trace on this method, the exception causing the CANCELLED message was an IndexOutOfBoundsException , the sample does not handle StreamingRecognizeResponse on the ResponseObserver onResponse method with empty ResultList, causing IndexOutOfBoundsException here

@minherz Shabir does not work on samples anymore, can you reroute? Thanks!

@gericdong you are listed as one of the owners of the /speech code samples. Can you please look into the info about and provide feedback about use of the modified code and a possible problem for the observed behavior?
thank you


Npm install broken

Describe the bug
Using NPM INSTALL with any dependency breaks the WebContainer, constantly and repeatedly sending "Loading ideal dependency tree" in the terminal.
Link to the blitz that caused the error
https://stackblitz.com/edit/node-hpbcxf?file=README.md
Steps to reproduce
Go to terminal
Use npm install (any dependency)
Booom
Expected behavior
I EXPECTED to be able to install my dependency.
Screenshots

Platform
Browser name  = Chrome
Full version  = 91.0.4472.167
Major version = 91
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; CrOS x86_64 13904.97.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.167 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 162010869,
  "usedJSHeapSize": 151242001,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 6a754de1dca8799163c05b54a4efbad0569024b8

Additional context
No response

Hi @rithcam I think the link you provided might not be correct? It just contains an empty project.

I had same issue. I ran yarn and Loading ideal dependency tree is displayed.

:wave: It seems this issue has been sitting for a while without new info. I'm closing this, but please feel free to open a new one if you still encounter this problem.


cabana: supports multiple dbc files, either globally or for a specified bus.

Currently, Cabana only supports one global DBC file and can only specify one DBC file for a bus.
This PR adds support for multiple DBC files, and updates Messages and Signals in different files upon saving.

open multiple dbc files globally:

open multiple dbc files for a bus:

@pd0wm any thoughts? Are there any other issues that I have overlooked?

How are you handling the case where a message/id is present in multiple DBC files? You have to consider the use case where you're trying to combine multiple DBC files for related cars into a single DBC file for the route you're looking at.
My thought was to add a tab to the message editor for each DBC. Then it's explicit which DBC file you're editing. This should als have some options to move/copy a message definition from one DBC file to the other.

How are you handling the case where a message/id is present in multiple DBC files?

If there are multiple files with the same messge id, the first one of them will be used for now

Unrelated to this PR, but related to this use case. We should show all messages that are present in the DBC file, even if they are not in the route. Just show with count = 0, and no data.

I'll implement this feature after https://github.com/commaai/openpilot/pull/28034 is merged

How are you handling the case where a message/id is present in multiple DBC files?

If there are multiple files with the same messge id, the first one of them will be used for now

If you don't know which DBC file a message is coming from this could be very confusing I think.


Dependencies update as a patch update

Hi,
In v1.0.9, ext-readline, ext-pcntl and ext-posix were moved from suggested to required, thus preventing any libraries that requires boris from installing if any of the extensions are not installed.
Considering the history of the composer.json file, and that the previous commit message (from v1.0.5 to v1.0.8) is Move PHP-ext from require to suggest section in composer.json, I'm curious as to what lead to this change. I'm assuming that require was the proper way to do it and not suggest.

yes, this is causing quite an inconvineince for any laravel based applications.

To work around it (at least as far as wildcard dependents are concerned) just require an earlier version in your root composer.json.
    "d11wtq/boris": "v1.0.8"

Ok, thanks guys, I think this should be reverted.

Here's the commit. Granted, the original wording in the file wasn't ideal.
4be0ba9e1d2244725035ec22a722fb804dae1410

Boris was absolutely right to list their dependencies as actual dependencies. It's more a limitation of composer that's creating a bad user experience here.
It seems like composer should be extended to allow optional or conditional dependencies. In Laravel's case, they want to install Boris unless the system can't support it, in which case they fall back. But "suggest" is toothless; it won't do anything other than spit out some text on the command line.

Having thought about it and investigated a little more, the laravel\framework (v4.2 as 5.0 has moved to a different repl provider) is probably the correct place for them to be making the requirement change.

yes, this is causing quite an inconvineince for any laravel based applications.

That's exactly the reason why I moved Laravel off boris.

I tried the workaround but I get this:

Installing d11wtq/boris (v1.0.8)
Downloading: connection...    Failed to download d11wtq/boris from dist: The "https://api.github.com/repos/d11wtq/boris/zipball/0d099ed25ec882f52c230108f45872c30c2b02f3" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source

Yeah I get that too, but the source download work subsequently.

Installing d11wtq/boris (v1.0.8)
Downloading: connection...    Failed to download d11wtq/boris from dist: The "https://api.github.com/repos/d11wtq/boris/zipball/0d099ed25ec882f52c230108f45872c30c2b02f3" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
Installing d11wtq/boris (v1.0.8)
Cloning 0d099ed25ec882f52c230108f45872c30c2b02f3

This is what I get:

Installing d11wtq/boris (v1.0.8)
Cloning 0d099ed25ec882f52c230108f45872c30c2b02f3
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos

However the machine I'm running this on is not mine so I'm reluctant to enter my credentials.

try adding this to your composer.json
"repositories":[
    {
        "type": "vcs",
        "url": "https://github.com/borisrepl/boris"
    }
],

I did a quick test with it and it seemed to pull the package via https rather than ssh. (your results may vary)

Heroku installs of laravel apps dont work for us, it seems due to the name change on the repo. Many github calls with /d11wtq/ in the path get redirected, but the api.github.com does not seem to do the redirect? Not a composer expert here.

Alas, then I get this:
Could not fetch https://api.github.com/repos/borisrepl/boris, enter your GitHub credentials to go over the API rate limit

Don't know what to suggest then, sorry man. :(

@tomandersen @paulrblakey
Here is the temporary fix which worked for me and builds on heroku, hopefully the packagist page can be updated or aliased something!
"repositories":[
	{
		"type": "vcs",
		"url": "https://github.com/borisrepl/boris",
		"vendor-alias": "d11wtq"
	}
],
"require": {
	"d11wtq/boris": "1.0.10",
}

@grrava @paulrblakey @tomandersen @Lidbetter This is the issue as #98. I'll have to wait on @d11wtq to address it.

@Lidbetter That is not working for me on Heroku as of 5 minutes ago.  Do you know if they manage an internal cache of packagist repos, that perhaps might not be correctly purging?

@codeslaw I tweeted to them to see, they generally respond to support requests like this, but that is possible. Other than, that I personally am not sure what to do since it is working locally.
@dhotson @d11wtq any thoughts?

@codeslaw Any luck now? https://twitter.com/jmccartie/status/574019112214663168

@tejasmanohar everything's working now, it seems that there's an issue with composer installing a package from source when deploying to Heroku via SSH, as opposed to git push.   Pushing once via git works, and also populates the local composer cache with all your packages, so subsequent deploys via SSH will work as long as the versions don't bump.  I take it at some point some proxy cache will cycle, and it won't be a problem either way.

alrighty :)

The only way it worked for me was adding the following code to composer.json
"repositories": [
        {
            "type": "package",
            "package": {
                "name": "d11wtq/boris",
                "version": "1.0.10",
                "dist": {
                    "url": "https://github.com/borisrepl/boris/archive/v1.0.10.zip",
                    "type": "zip"
                }
            }
        }
    ],
    "require": {
        "d11wtq/boris": "1.0.10",
        "laravel/framework": "4.1.*"
    }


⚠ Cioos National CKAN has degraded performance

In 0016884, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 6845 ms

Resolved: Cioos National CKAN performance has improved in f1e7231 after 6 minutes.


Add Delete Functionality.

Need to think of a UI (how to select the annotation) and then implement corresponding deletion functionality.

Perhaps a command mode can be added, similar to Vim.


Latest version breaks ACF date field dates

I think pull request 715 https://github.com/jarednova/timber/commit/a6ba9ddb7f49a4231450912efa987058dc5d2093 exposed an issue with ACF date field values. Returned values are always numeric (even if you specify a string or date format in field settings) but they aren't unix timestamps, rather Ymd (20140917). As such date_i18n() doesn't play nice with them.

Yep same here. problem is dates are saved numeric in the 20151028 format in acf . so with that patch the else if statement matches and intval is run instead of strtotime. so with intval the value remains the same instead of getting converted into the necessary unix timeformat. :/

@t-wright @rpkoller thanks for the heads-up on this. I'll take a look at it first-thing tomorrow

Found a possible fix. I'll commit the change in a pull request

Didn't realize @rpkoller fixed it earlier on #727. Just closed #728.

Closed by #727 I also added a test in dd1c09738f072a0bfe17d6d822d59ce34b5e1b3c to catch the condition in the future


Clean up usages of the already removed shoot.gardener.cloud/infrastructure-cleanup-wait-period-seconds annotation

How to categorize this PR?

/kind cleanup
What this PR does / why we need it:
The annotation was removed in Gardener v1.94.0 with https://github.com/gardener/gardener/pull/9632.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
N/A
Release note:

NONE

I added one more commit that modifies the example Shoot specs.
/hold cancel

  [FAILED] Context was cancelled (cause: context deadline exceeded) after 120.001s.
  Expected to successfully find the europe-docker.pkg.dev/gardener-project/releases/3rd/nginx:1.17.6 image in the registry's volume
  Expected success, but got an error:
      <*fmt.wrapError | 0xc000d0c080>:
      failed to get the europe-docker.pkg.dev/gardener-project/releases/3rd/nginx:1.17.6 image index digest: command terminated with exit code 1

/retest


Pin/Unpin from Quick Access missing

I have made registry edits to add some custom menu options for myself, but nothing affecting Quick Access, and it works properly in the default Windows menu, but not in the Nilesoft Shell menu.
Original Windows menu

Nilesoft Shell menu

(It is also not in any of the sub-menus)

Open "imports/modify.nss" file, replace "Pin//Unpin" with "Pin/Unpin".
Save changes, Restart explorer.

Open "imports/modify.nss" file, replace "Pin//Unpin" with "Pin/Unpin".
Save changes, Restart explorer.

Ty! Fixed it immediately. Is there a place this is documented so I can avoid posting a bug in the future? I looked a bit, on the nilesoft.org/docs for example, but didn't find anything. I'm happy to dig and fix stuff myself without bothering dev's, I just need a place to dig.

Also this worked in the past without any modification required. Did something change in an update?

Yes, there were some changes, and we forgot to modify some items to be compatible with the latest updates.

Can you please push the update to fix this problem because I have clients using the app because the love it and they freaked out when they saw they have no way to unpin something while they use it. (you can still drag to pin)


Added CodeKaro Website

Codekaro is a website where you can see the list of all the future competitive coding contest helding in future. Basically its is you consistency partner
here is the live link to the website: https://codeekaro.netlify.app/
Fixes:  #463

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

The size of all boxes can't be the same because I created dynamic cards. if
i make a fixed size by any way, it will surely distor others.
On Sat, Apr 2, 2022 at 12:04 PM VIDHI BHATT @.***>
wrote:

Assigned #467
https://github.com/arpit456jain/Amazing-Js-Projects/pull/467 to
@Abh1shekSingh https://github.com/Abh1shekSingh.
—
Reply to this email directly, view it on GitHub
https://github.com/arpit456jain/Amazing-Js-Projects/pull/467#event-6356486106,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARFFTFYYZ5EIUFKN3NDSZK3VC7S7LANCNFSM5SKMMTCA
.
You are receiving this because you were assigned.Message ID:
@.***
com>

Done all the changes

@Abh1shekSingh is this a react app ?

@Abh1shekSingh sorry but we are not accepting react projects if u could made this type of thing on a simple one page with vanilla js it would be great

Haa mein vaise bhi yeh issue close krne wala tha, reason aapko btaya Hi tha
mene kal. So koi baat nhi.
On Sun, Apr 3, 2022, 3:11 PM Arpit Jain @.***> wrote:

@Abh1shekSingh https://github.com/Abh1shekSingh sorry but we are not
accepting react projects if u could made this type of thing on a simple one
page with vanilla js it would be great
—
Reply to this email directly, view it on GitHub
https://github.com/arpit456jain/Amazing-Js-Projects/pull/467#issuecomment-1086823952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARFFTFZZIBLVR3J6N2XVTKDVDFRUVANCNFSM5SKMMTCA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[SPARK-24909][core] Always unregister pending partition on task completion.

Spark scheduler can hang when fetch failures, executor lost, task running on lost executor, and multiple stage attempts. To fix this we change to always unregister the pending partition on task completion.
What changes were proposed in this pull request?
this PR is actually reverting the change in SPARK-19263, so that it always does shuffleStage.pendingPartitions -= task.partitionId.   The change in SPARK-23433, should fix the issue originally from SPARK-19263.
How was this patch tested?
Unit tests.  The condition happens on a race which I haven't reproduced on a real customer, just see it sometimes on customers jobs in a real cluster.
I am also working on adding spark scheduler integration tests.

@squito   Note this is just to get people looking at this.  I am working on adding some scheduler integration tests but I have to extend those to support multiple executors and allow for tasks out of order.
The 3 jiras involved here I believe are covered but need to think about all other cases as well.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1686/
Test PASSed.

Test build #94039 has started for PR 21976 at commit 5464614.

Test build #94039 has finished for PR 21976 at commit 5464614.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/94039/
Test PASSed.

there is a lot of context here I need to page back in, sorry won't get to this for a few days at least.  But at least on testing, have you looked at SchedulerIntegrationSuite?  I was hoping we could use it cover cases like this.  Perhaps its not exposing the right handles we need, but then maybe we could fix it.

Yep, the SchedulerIntegrationSuite is what I'm working on modifying. It might be next week by the time I finish anyway.

Hey @tgravescs, after reading through the discussion on the original PR, I think I agree with you. I tried to hit the original problem described in SPARK-19263 after undoing the fix for SPARK-23433, but wasn't able to... but reading the code what you're saying makes sense, and there was a unit test added as part of SPARK-19263, so I guess we're good?
This needs to be merged with master though; and I have a preference for PR titles that explain the fix, not the problem.

Yeah we can merge it as is (once I upmerge) and I can add more tests under a separate jira.   I have been working on it in the background but keep getting distracted by other things.
Can you be more specific on what you are looking for in the PR title?  how would you phrase this?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2384/
Test PASSed.

Test build #95034 has started for PR 21976 at commit e384245.

Something like "[SPARK-24909][core] Always unregister pending partition on task completion." which is what the code is now doing. You can have the explanation of what this is fixing in the description, which can be longer than the title.

Please hold off on merging this am investigating a weirdness I want to make sure isn't caused by this.

Test build #95034 has finished for PR 21976 at commit e384245.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95034/
Test FAILed.

@tgravescs did you have a chance to figure out what you mention above?
(Test failure above seems unrelated to the change, too.)

still working on it, getting close, takes a bit to reproduce the case so taking a bit of time.

Ok the issue is not related to this patch will be filing a separate jira for it.

test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2574/
Test PASSed.

Test build #95290 has started for PR 21976 at commit e384245.

just an fyi, the other jira is https://issues.apache.org/jira/browse/SPARK-25250, its related to a race with SPARK-23433

Test build #95290 has finished for PR 21976 at commit e384245.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95290/
Test FAILed.

test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2585/
Test PASSed.

Test build #95307 has started for PR 21976 at commit e384245.

Test build #95307 has finished for PR 21976 at commit e384245.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95307/
Test FAILed.

test this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/2620/
Test PASSed.

Test build #95353 has started for PR 21976 at commit e384245.

Test build #95353 has finished for PR 21976 at commit e384245.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/95353/
Test PASSed.

Looks like we're good. Merging to master.

@tgravescs I did not merge to 2.3 even though it says it affects 2.3.1; feel free to do it if you think it should be there.

thanks @vanzin cherry-picked into 2.3


Updated to Swift 3 (4-12 snapshot)

Fixes #15

Looks good. @LoganWright, what do you think of it?

Looks good to me as well @gfx
LGTM

Thanks.


Constant "unavailable device"after last update of Midea Smart Aircon(25.08.2021)

After last update from today,25.08.2021,my two devices appears frequent and constantly unavailable.Until today works like a charm with previous updates.
Configuration - Home Assistant.pdf
Versions (版本信息)

Home Assistant version: 3.7.1
Midea msmart version: ca5b583

Hi I dont know if it is related but it seems to be an issue with midea-discover as well (with or without -a -p)

midea-discover
Traceback (most recent call last):
File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Python39\Scripts\midea-discover.exe_main.py", line 4, in
File "c:\python39\lib\site-packages\msmart\cli.py", line 13, in
from msmart.cloud import cloud
File "c:\python39\lib\site-packages\msmart\cloud.py", line 3, in
import requests
ModuleNotFoundError: No module named 'requests'

pip3 install requests

What does pip3 mean?

What does pip3 mean?

command to install requests module
pip3 install requests

or
pip install requests

After last update from today,25.08.2021,my two devices appears frequent and constantly unavailable.Until today works like a charm with previous updates.
Configuration - Home Assistant.pdf
Versions (版本信息)

Home Assistant version: 3.7.1
Midea msmart version: ca5b583

You can ignore warning message.
If there are a lot of errors, I may need you to provide more logs.
actually， old version also has this information, but the new version outputs these logs.

Update msmart==0.1.3 from 5days ago works fine,whitout any bug.

Hello,it seems to be fine after update. Congratulations, you managed to solve the problem. Thank you for your work.


Ensure that 'Must create key with POST before reading' error appears

GET requests to a hyperdrive alias which hasn't been created by a POST like the following:
fetch(`hyper://localhost/?key=NOT-CREATED-YET`, { method: 'get' })

should return
{ status: 400, body: 'Must create key with POST before reading' }

but instead I get a TypeError.
I think getDBCoreForName is throwing an error before the if-block can run.

Thank you! I can confirm this is no longer an issue.


add proper id's for all editingComponents

At least FieldWithTableSelections still use weird id's that make testing them much harder.

Added id's for the table selection components in #524
Only component type that doesn't have an explicit id is now the radioSelection, but that isn't critical since it has properties like aria-labelledby and name that can be used to single it out in tests. For example, options of the dating method radio selector are singled out in tests with '[name=dating-method][value=absolute]'


Enable shared library

I've created a pull request to enable creating shared library to save some ram, when running multiple servers on the same machine.
I've also changed CMakeLists to use option(...) instead of set(...) for stuff like
BUILD_ORM, BUILD_EXAMPLES and such to improve readability a bit.
The pull request is #315

Thank you very much!
Please keep the drogon default behavior (build a static library), see the feedback of #315 for more details.


ci(.github): generalize sca scan for non docker artifacts

Description

Split the docker-scan-image action into a separate SCA action (https://github.com/kong/public-shared-actions/tree/refactor/sca-scan-dir/security-actions/sca/action.yml)

Support non-docker directories and files without breaking on CIS step
Better naming convention to be more explicit.
Users must leverage the SCA action for scanning directories/repositories

docker-scan-image action is modified with changes to only support docker images

Deprecates input dir/file
leverages the base SCA action
adds CIS scanning only for docker images.
Users must leverage this for scanning docker images

Changes
This will be a breaking change only for the users referencing docker-scan-image action to scan directories/files

All users scanning non docker images (dir/files) MUST leverage / update the workflow files to leverage the SCA action

All users scanning docker images can safely upgrade docker-scan-image without breaking the change

cc: @vs-kong for approval and new release


When used with "public_network" default gateway is missing on boot.

Example Vagrantfile:
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "boxcutter/ubuntu1404-desktop"
  config.vm.network "public_network"
end

Routing table with route -n after vagrant up:
vagrant@vagrant:~$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
<IP_ADDRESS>        <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth0
<IP_ADDRESS>    <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 eth1
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>     U     1000   0        0 eth0

The box is missing <IP_ADDRESS> destination.
vagrant reload or reboot fixes this issue. If provisioning is required, default gateway should be fixed with explicit provisioning script. Here is my workaround:
$ grep vagrant_fix_default_gw.sh Vagrantfile
config.vm.provision :shell, path: "scripts/vagrant_fix_default_gw.sh"

Script contents:
$ cat scripts/vagrant_fix_default_gw.sh
route del default || true
route -n | grep -qe '^<IP_ADDRESS>' || sudo route add default gw `grep routers /var/lib/dhcp/dhclient.eth1.leases | sort -u | awk '{print $3}' | awk -F";" '{print $1}'`

This behaviour exists only with boxcutter/ubuntu1404-desktop. ubuntu/trusty64 box works as expected. Probably related to NetworkManager.
It would be nice to fix it in box itself.

@GR360RY I have a suspicion this is the same issue we are seeing. The desktop version installs NetworkManager which by default won't manage interfaces listed in /etc/network/interfaces which includes eth0 since this installs from the server ISO which assumes ifupdown will be used.
This breaks NetworkManager functionality because it defaults in Ubuntu to not manage any interfaces controlled by ifupdown. You can run a provision script before the final shutdown to set the below, or to remove any interfaces that aren't localhost from /etc/network/interfaces.
You could also set the below in /etc/NetworkManager/NetworkManager.conf to ignore that fact that ifupdown also knows about this interface.
[ifupdown]
managed=true

I came up with a "nicer" sed that can be run to "hide"/comment the primary interface and any additional ones from /etc/network/interfaces so NetworkManager will manage them. I run this via one of the script/ files to allow NetworkManager to take over.
sed -i "/^# The primary network interface/,$ s/^\([^#]\)/# \1/g"

Closing for now, due to the age of the issue. Reopen if still seeing the behaviour.


Tractus-X Release Guidelines  Check for Product IRS

Is your support request related to a problem? Please describe.

Checks if Tractus-X Release Guidelines are fulfilled for product IRS and release 4.5.0

Due Date

16.02.2024

Link

Please approve the TRGs here https://github.com/eclipse-tractusx/sig-release/issues/494

Describe the solution you'd like

TRG Check is done for product IRS and release 4.5.0

Additional context

Hey @mkanal! I'm closing this issue and we'll create the QG check issue and link it to the Release Checks issue soon.


[Bug] DocSum failed on ROCm CI test

Priority
P1-Stopper
OS type
Ubuntu
Hardware type
GPU-AMD
Installation method

[ ] Pull docker images from hub.docker.com
[X] Build docker images from source

Deploy method

[X] Docker compose
[ ] Docker
[ ] Kubernetes
[ ] Helm

Running nodes
Single Node
What's the version?
https://github.com/opea-project/GenAIExamples/pull/1248
Description
DocSum failed on ROCm CI test, since the code change in this PR won't impact the functionality on ROCm. Need AMD developer help to root cause the regression.
https://github.com/opea-project/GenAIExamples/actions/runs/12379517563/job/34569417693?pr=1248
Reproduce steps
Run CI test scripts.
Raw log
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1109, in _wrap_create_connection
    sock = await aiohappyeyeballs.start_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohappyeyeballs/impl.py", line 104, in start_connection
    raise first_exception
  File "/usr/local/lib/python3.11/site-packages/aiohappyeyeballs/impl.py", line 82, in start_connection
    sock = await _connect_sock(
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohappyeyeballs/impl.py", line 174, in _connect_sock
    await loop.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 638, in sock_connect
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 678, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 7079)

https://github.com/opea-project/GenAIExamples/pull/1268


Add CreatedDate and LastChangedDate in secretsmanager responses

Currently, these dates are missing, but should be present.
As an example, here is a request for list-secrets against AWS:
$ aws secretsmanager list-secrets
{
    "SecretList": [
        {
            "ARN": "arn:aws:secretsmanager:...",
            "Name": "testsecret",
            "Description": "some desc",
            "LastChangedDate": "2022-01-17T10:41:35.163000+01:00",
            "SecretVersionsToStages": {
                "e75a49b6-e07a-4bd9-acd7-510557dfc9b1": [
                    "AWSCURRENT"
                ]
            },
            "CreatedDate": "2022-01-14T19:43:03.127000+01:00"
        }
    ]
}

This PR introduces this behavior in moto. As their names say, CreatedDate will only be set on creation of the secret, LastChangedDate also on update operation.
The PR also includes the corresponding tests, both in existing test cases (where fitting, for additional attributes this seemed appropriate) and adds a new test specifically testing the CreatedDate / LastChangedDate behavior on object updates.

Codecov Report

Merging #4770 (05894cb) into master (ba09d77) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4770   +/-   ##
=======================================
  Coverage   95.38%   95.38%
=======================================
  Files         575      575
  Lines       61466    61471    +5
=======================================
+ Hits        58630    58635    +5
  Misses       2836     2836

Flag
Coverage Δ

servertests
47.37% <100.00%> (+<0.01%)
:arrow_up:

test_responses
33.01% <25.00%> (-0.01%)
:arrow_down:

unittests
95.27% <100.00%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

moto/__init__.py
98.72% <100.00%> (ø)

moto/secretsmanager/models.py
98.81% <100.00%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Statistical Test and Experiments

Statistical Tests and Experiments

Apply the t-test to real data

Load and clean the data (or determine the best method to drop observations when running tests)

✅
Do your imports at the beginning.
Don't do stuff like df = votes. Just rewrite it to be what you want it be when you loaded it.
Definitely don't do df = votes and then use both. Very confusing and just bad practice.
What other options are there for filling in NaN's other than dropping them?

Using hypothesis testing, find an issue that democrats support more than republicans with p < 0.01

✅  Nailed it.

Using hypothesis testing, find an issue that republicans support more than democrats with p < 0.01

✅ Good work.

Using hypothesis testing, find an issue where the difference between republicans and democrats has p > 0.1 (i.e. there may not be much of a difference)

✅

Great job printing out all the results with your function!! Crazy formatting going on there too, cool!
Now, try putting that into a function! See if you can format the numbers to be more readable too :)
Nice work, Dennis!

Build a confidence interval
Confidence Intervals:

Generate and numerically represent a confidence interval

✅ Well done. Add some explanation to your number!!
Work on implementing report_confidence_interval, it's a great idea!

Graphically (with a plot) represent the confidence interval

❌

Interpret the confidence interval - what does it tell you about the data and its distribution?

❌

Chi-squared tests:

Take a dataset that we have used in the past in class that has categorical variables. Pick two of those categorical variables and run a chi-squared tests on that data

By hand using Numpy

❌

In a single line using Scipy

❌
Where is code?

Add some commenting to the functions you borrow so you know you know what's going down.
Good job, Cai

Introduction to Bayes

Write a function def prob_drunk_given_positive(prob_drunk_prior, prob_positive, prob_positive_drunk) that reproduces the example from lecture, and use it to calculate and visualize a range of situations

⬜
What you've done here is super cool! But give this a try as well.
Be sure to use the version of the equation with the full denominator!

Explore scipy.stats.bayes_mvs - read its documentation, and experiment with it on data you've tested in other ways earlier this week

✅

Create a visualization comparing the results of a Bayesian approach to a traditional/frequentist approach

✅
I can't stress this enough, what you've done here is rad!!!
Play around with different values to go into your bern_post function to get a better feel for what's going on.

In your own words, summarize the difference between Bayesian and Frequentist statistics

✅
Not bad. Not so much long term frequencies as averages over many iterations.

Awesome job, Dennis!!


Replacing UIWebView with WKWebView as per ITMS-90809: Deprecated API

This needs to get merged ASAP..

I doubt it will, though. Last update in this repo was in 2017. You're better off forking my repo and including it as a dependency in your Podfile. Mine looks like:
pod 'SVWebViewController', :git => 'https://github.com/bazingatechnologies/SVWebViewController', :branch => 'master', :commit => 'e5e85d2df62c3baed76a2dec343cdb1c239aa719'
Just fork it (so you have a copy of it), change the repo name and you're golden.

Thanks man!
On Thu, May 14, 2020, 1:53 AM Luiz Fernando Peres<EMAIL_ADDRESS>wrote:

I doubt it will, though. Last update in this repo was in 2017. You're
better off forking my repo and including it as a dependency in your
Podfile. Mine looks like:
pod 'SVWebViewController', :git => '
https://github.com/bazingatechnologies/SVWebViewController', :branch =>
'master', :commit => 'e5e85d2df62c3baed76a2dec343cdb1c239aa719'
Just fork it (so you have a copy of it), change the repo name and you're
golden.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TransitApp/SVWebViewController/pull/170#issuecomment-628149198,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKNRJJZL7VOF7FD2DQ6NHPLRRLNA3ANCNFSM4MVD725Q
.


2 Universe example

Hi
Please can add also the example 2 Universe because I'm not sure if I'm doing what I'm doing right thanks.

Hi
Trying to neopixel code and the code does not work Can you tell me what's wrong or how I could change to make it work properly ?.
void loop() {
uint8_t i;
uint16_t packetSize = eUDP.parsePacket();
if ( packetSize ) {
packetSize = eUDP.read(packetBuffer, SACN_BUFFER_MAX);
uint8_t read_result = Universe0->readDMXPacketContents(eUDP, packetSize);
uint8_t read_result2 = 0;
if ( read_result == RESULT_DMX_RECEIVED ) {
   // edge case test universe 1, slot 1
   for (int p=0; p<8; p++) {
  // for each NeoPixel find the slot number (each takes 3 slots for RGB)
  i = 3*p;
  // write to NeoPixel Driver
  leds.setPixelColor(p, Universe0->getSlot(i+1), Universe0->getSlot(i+2), Universe0->getSlot(i+3));
}
// send to NeoPixel Ring
leds.show();
}
  else if ( read_result == RESULT_NONE ) {        // if not good dmx first universe (or art poll), try 2nd
   read_result2 = Universe1->readDMXPacketContents(eUDP, packetSize);
   if ( read_result2 == RESULT_DMX_RECEIVED ) {
      // edge case test 2nd universe, slot 512
      for (int p=8; p<16; p++) {
  // for each NeoPixel find the slot number (each takes 3 slots for RGB)
  i = 3*p;
  // write to NeoPixel Driver
  leds.setPixelColor(p, Universe1->getSlot(i+1), Universe1->getSlot(i+2), Universe1->getSlot(i+3));
}
// send to NeoPixel Ring
leds.show();
}

}
}
}

As noted in the commit for the 2 Universe example, it is untested.  Try the example with leds connected to pins 9 and 10 to see if the problem is with your NeoPixel code.

Yes with for example LED code works properly, not works only for neopixel code.

It is possible you have a pin conflict with one of the select lines for the ethernet shield.  The two universe example is updated with a working NeoPixel test.


HSEARCH-4865 Update build dependencies

https://hibernate.atlassian.net/browse/HSEARCH-4865
follows up on https://github.com/hibernate/hibernate-search/pull/3543, https://github.com/hibernate/hibernate-search/pull/3532, https://github.com/hibernate/hibernate-search/pull/3524
Not sure if we are going to include this one or not. If not -- I'll move it to another JIRA 😃.

Not sure if we are going to include this one or not. If not -- I'll move it to another JIRA smiley.

Please do, I've already closed this JIRA issue and I am releasing.
In the future, I'm thinking maybe we should stop using JIRAs for simple build dependency updates... I started that, and in retrospect it's not bringing much. Maybe for build dependencies only, we should just approve and merge dependabot's PR directly once CI is green?

stop using JIRAs for simple build dependency updates

+1. It makes sense to have a dedicated JIRA for something like ES client upgrade as that may somewhat affect users, but for build dependencies ...
How would we let CI not complain about message format ? 😃🙈

How would we let CI not complain about message format?

The bot, you mean? For now I'd say we just ignore it when we know the PR is only about build dependencies.
If you want something better, we'll have to find some way of distinguishing between PRs that just update build dependencies and PRs that update code or other dependencies... I don't see an obvious way to do that...
Maybe we could add support for excluding PRs matching a specific regexps in https://github.com/hibernate/hibernate-github-bot , i.e. tell it to ignore PRs from dependabot whose title contains '.\bmaven\b.\bplugin\b.*'? We wouldn't catch everything, but already a lot, and we could always add more regexps in the future. Feel free to have a look if you're interested in adding stuff to the bot :)


Not working

And tried in every possible way to configure this project correctly but it has been impossible, if someone can help me with this project I would be very grateful, I think it needs some kind of update

Hi @Marcoslaurenz What issues do you experience while trying to set up

Hi @othreecodes I am also trying to configure it, I successfully ran the app. The home page is loading fine without images. Logging in after registering the user, throws 500 error.


Building Azure Kinect Samples via cmake fails

Trying to build Azure Kinect Samples on Ubuntu 18.04 but unable to follow build instructions
Steps:

cloned repo https://github.com/microsoft/Azure-Kinect-Samples
followed instructions on this link: https://docs.microsoft.com/en-us/windows-server/administration/linux-package-repository-for-microsoft-software
apt install libk4abt0.9-dev
apt install libxi-dev
installed vcpckg
installed libigl[glfw] (and glfw3)
Changed to git project root
mkdir build
cd build
cmake .. -GNinja

This is the error:
  The source directory
    /home/user/Documents/Azure-Kinect-Samples/body-tracking-samples/extern/glfw/src
  does not contain a CMakeLists.txt file.
CMake Error at body-tracking-samples/extern/glfw/CMakeLists.txt:18 (add_library):
  add_library cannot create ALIAS target "glfw::glfw" because target "glfw"
  does not already exist.
-- Configuring incomplete, errors occurred!

Not sure if I missed a step somewhere or if this is a build issue. Would appreciate any assistance!

Whoops - missed downloading the submodule. Building now, thanks!

Hi, Quick question, I had the same issue but it got fixed after installing the submodule. But I not able to execute the file after CMake.
[33/33] Linking CXX executable bin/simple_3d_viewer
Therefore, now I am not able to execute the file for body tracking. I am using Ubuntu 18.04.
Can someone provide a solution if possible?

Have you tried running it with sudo?

Yes, I did.
I am running into another problem now.
Shader Error: 0:1(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, 3.00 ES, 3.10 ES, and 3.20 ES

From: Kanksha Zaveri<EMAIL_ADDRESS>Sent: Monday, March 2, 2020 9:15 AM
To: microsoft/Azure-Kinect-Sensor-SDK<EMAIL_ADDRESS>Cc: AswinkarthikeyenAK<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [microsoft/Azure-Kinect-Sensor-SDK] Building Azure Kinect Samples via cmake fails (#896)
Have you tried running it with sudo?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/896?email_source=notifications&email_token=AH7IOZCMFHT7PWWFGOLIG7DRFO5RLA5CNFSM4JKZAQB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENPOUNY#issuecomment-593422903, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AH7IOZB3XXSPDFTPZU3F6WTRFO5RLANCNFSM4JKZAQBQ.

Hi, Quick question, I had the same issue but it got fixed after installing the submodule. But I not able to execute the file after CMake.
[33/33] Linking CXX executable bin/simple_3d_viewer
Therefore, now I am not able to execute the file for body tracking. I am using Ubuntu 18.04.
Can someone provide a solution if possible?

How did you resolve this? Having the same cmake issue on Ubuntu 18.04

Running the ninja command gives me the following error:
1/1] Linking CXX executable bin/simple_3d_viewer
FAILED: bin/simple_3d_viewer
: && /usr/bin/c++    -Wl,--as-needed,-rpath-link=/home/romil/Azure-Kinect-Samples/build/bin body-tracking-samples/simple_3d_viewer/CMakeFiles/simple_3d_viewer.dir/main.cpp.o  -o bin/simple_3d_viewer  -Wl,-rpath,"\$ORIGIN"  -lk4a  -lk4abt  body-tracking-samples/sample_helper_libs/window_controller_3d/libwindow_controller_3d.a  body-tracking-samples/extern/glfw/src/src/libglfw3.a  /usr/lib/x86_64-linux-gnu/librt.so  -lm  -ldl  /usr/lib/x86_64-linux-gnu/libX11.so  -lpthread  /usr/lib/x86_64-linux-gnu/libXrandr.so  /usr/lib/x86_64-linux-gnu/libXinerama.so  /usr/lib/x86_64-linux-gnu/libXcursor.so && :
/usr/bin/ld: body-tracking-samples/simple_3d_viewer/CMakeFiles/simple_3d_viewer.dir/main.cpp.o: in function `PlayFile(InputSettings)':
main.cpp:(.text+0xd42): undefined reference to `k4a_playback_open'
/usr/bin/ld: main.cpp:(.text+0xd89): undefined reference to `k4a_playback_get_calibration'
/usr/bin/ld: main.cpp:(.text+0xefd): undefined reference to `k4a_playback_get_next_capture'
/usr/bin/ld: main.cpp:(.text+0x10df): undefined reference to `k4a_playback_close'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

This could be resolved by adding k4arecord in target_link_libraries in CMakeLists.txt of simple_3d_viewer.
Thanx to haeginh

I have a issue while running simple_3d_viewer in ubuntu
libk4a.so.1.4: cannot open shared object file: No such file or directory
Can someone please let me know what needs to be done to fix this?
Thanks

Here is a good instruction how to run it on ubuntu 18.4https://vinesmsuic.github.io/2020/10/31/azure-kinect-setup/#invoke-k4aviewer-without-rootThx 2 Vine


About bf16

I found that although you set bf16=True in TrainingArguments, it seems the entire model is still being trained in fp32. Have you checked this? Then when I forcibly put the entire model in bf16, the loss decreases much more slowly. By the way, I use RTX4090.
Here is my code, I made some modifications.
def compute_loss(self,):
.....
    dtype = torch.bfloat16 if self.args.bf16 else torch.float32
    if model.get_projector_weight_dtype() != dtype:
         model = model.to(dtype=dtype)
         x = x.to(dtype=dtype)

bf16: bz=128x8 lr=4e-4
fp32: bz=64x8 lr=2e-4

When setting bf16, the model weights are stored in bf16, while gradients (computed in half-precision and then converted to full precision for updates) and optimizer states are still processed in full 32-bit precision.


Music/Looping Notes

Add a "music" system.
I created it for playing music that loops the already existing notes and can include intros notes and tail notes, but it can be used to loop any notes.
Example of just loop:
Music.of(Note.of(Key.key("music.loop"), 0.2f, 1f), 2400).send(audience);
Example with intro:
Music.of(Note.of(Key.key("music.loop"), 0.2f, 1f), 2400).intro(Note.of(Key.key("music.intro"), 0.2f, 1f), 1000).tail(Note.of("music.tail", 0.2f, 1f)).send(audience);
Include:

Send function like notes.
stop function which will stop the looping note and play the tail
stopAll function which will force stop any playing notes (Without playing the tail)

I have tested it, although while I was building with it I noticed that once you change the music volume, it doesn't come back on until the next loop and can mess up some of the timings, so i will try to resolve.

Just a note: I haven't tested any of the recent changes - They could cause errors.

I have introduced Sessions. These contain the tasks and audience info. They are stored in a map in the Music class, to stop music you use a music object and .stop(audience) - It will automatically play when you send the music


APP_NAME doesn't support accents/diacritics, and may stop gitea

Gitea version (or commit ref): 1.5.0
Git version: 2.18.0
Operating system: Win 2008 (server), Win7 (client)
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
I added a word with an accent to APP_NAME ("Repositório"), and it was not shown correctly in the web interface, as in the screenshot below. Then I changed the "app.ini" coding from ANSI to Unicode, and the gitea service would not start. Finally, I changed the coding to UTF-8, and the name was shown as expected. "app.ini" was edited with Windows' Notepad.
Screenshots

Only UTF-8 is supported and I don't see need to change that.
ASCII is charset dependant and can not be guessed automatically.

I understand, although I wouldn't have expected it to fail with such a simple input.
Is this or should this be documented somewhere? I couldn't find anything related in issues or docs.
Thanks anyway for the feedback!


Corrected the wrong language name under Transliteration

ISO 639-1 code 'ml' has 'Malayalam' as the ISO Language name(https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), but in this document it was mentioned as Malasian, which is wrong and making alot of confusions. Corrected it.

@IshamMohamed : Thanks for your contribution! The author, @Jann-Skotdal, has been notified to review your proposed change.

@IshamMohamed : Thank you for pointing this out. The correction is approved. #sign-off


Intersecting multipolygon ways is not detected as an error

This rendering error is not identified as an error in iD (I tried both the live version hosted on openstreetmap.org [2.17.3] and the preview of iD 3):
https://wiki.openstreetmap.org/wiki/Relation:multipolygon/validity#2_-_Overlapping.2C_unclosed_member_ways_belonging_to_the_same_role

Upon uploading the data, it won't be rendered by OSM Carto.
My system is:
Opera Browser
Version:68.0.3618.173
Update stream:Stable
System:Windows 10 64-bit

@fqdb Could you link to a location where this pattern occurs? It's unclear to me what's going on in the screenshot. It doesn't look like the example you linked to on the wiki since none of the ways appear to be unclosed, but I'm not sure.

@fqdb Could you link to a location where this pattern occurs? It's unclear to me what's going on in the screenshot. It doesn't look like the example you linked to on the wiki since none of the ways appear to be unclosed, but I'm not sure.

The place where I originally found wrong data like this was already fixed, but if you draw a new object such as shown in the picture it won't be detected as an error.
To clarify what the error is: multipolygon ways may not share a set of consecutive points. If it would be uploaded like that, the renderer will not show the multipolygon.

I agree with @fqdb, creating invalid multipolygons like this should give at least a warning in iD.

It's unclear to me what's going on in the screenshot.

The problem in that screenshot should be the "8"-shaped part in the middle. It consists of two rectangles which share the line in the middle. This line segment being part of the multipolygon twice makes it invalid from my understanding.
A common source of this specific type of invalid multipolygons is merging ("right click"->"+" in iD) multiple adjacent buildings that each share a wall. To inexperienced mappers this may often seem like a very good idea. The resulting relation is however an invalid multipolygon. A lot of these cases might be prevented if iD would show a warning/error in such cases instead of silently uploading it.

Could you link to a location where this pattern occurs?

https://www.openstreetmap.org/relation/966423

https://www.openstreetmap.org/relation/7027423

https://www.openstreetmap.org/relation/13400263

Countless (better?) examples can be found marked by error detection tools:
https://tools.geofabrik.de/osmi/?view=areas&lon=0.00000&lat=0.00000&zoom=3&baselayer=Geofabrik Standard&overlays=duplicate_segment%2Cways

I think some of the comments in #435 allude to the idea that merging two areas that touch or overlap should actually union them into a single area instead of a multipolygon. This would automatically address some of the cases where you see this issue, though it would exacerbate the problem of creating conflicting tags, which the UI should warn about: #908.


[Bicep] Fix for issue #19420 az bicep install SSL: CERTIFICATE_VERIFY_FAILED error

Description
This pull request fixes issue #19420.
The old code did not pass the path to the certificate file to request.get() and urlopen(), reulting in a SSL: CERTIFICATE_VERIFY_FAILED error.
Testing Guide
On a clean developer pc behind a corporate proxy with a certificate signed by a private root CA, type on a pwsh prompt:
az bicep install
Result:
bicep will be installed
(without the fix, there would be a certificate error)
On a clean regular developer pc, do the same, type
az bicep install
bicep will be installed, just as before the fix.
History Notes
[Bicep] az bicep install: works now behind a corporate proxy

Bicep


Not able to write to request.write

For some reason I am unable to write information back within one of my functions. If I log the request before writing the data back I see the following which I suspect is my reason writable: false
Here is the function:
function GetAppMasterItems(request) {
  request.on('data', async function (bundle) {
    console.log(1);
    let tmpItems = []
    let finalItems = []
    async function getData(row) {
      return new Promise(async function (resolve, reject) {
        let masterItems = [];
        let appId = row.duals[0].strData;
        let onlyQwikMaster = row.duals[1].strData;
        let app = await global.openDoc(appId);
        let allInfos = await app.getAllInfos();
        for (var i = 0; i < allInfos.length; i++) {
          if (allInfos[i].qType == 'measure') {
            let measure = await app.getMeasure(allInfos[i].qId);
            let measureLayout = await measure.getProperties();
            if (onlyQwikMaster == 'true') {
              if (typeof measureLayout.qMetaDef.masterId != 'undefined') {
                masterItems.push(
                  [
                    measureLayout.qMetaDef.masterId,
                    "measure",
                    measureLayout.qMeasure.qDef,
                    measureLayout.qMeasure.qLabel,
                    measureLayout.qMetaDef.title,
                    measureLayout.qMetaDef.description,
                    measureLayout.qMeasure.coloring.baseColor.color,
                    appId
                  ]
                )
              }
            }
            else {
              masterItems.push(
                [
                  measureLayout.qMetaDef.masterId,
                  "measure",
                  measureLayout.qMeasure.qDef,
                  measureLayout.qMeasure.qLabel,
                  measureLayout.qMetaDef.title,
                  measureLayout.qMetaDef.description,
                  measureLayout.qMeasure.coloring.baseColor.color,
                  appId
                ]
              )
            }
          }
          if (allInfos[i].qType == 'dimension') {
            let dimension = await app.getDimension(allInfos[i].qId);
            let dimensionLayout = await dimension.getProperties();

            if (onlyQwikMaster == 'true') {
              if (typeof dimensionLayout.qMetaDef.masterId != 'undefined') {
                masterItems.push(
                  [
                    dimensionLayout.qMetaDef.masterId,
                    "dimension",
                    dimensionLayout.qDim.qFieldDefs[0],
                    dimensionLayout.qDim.qLabelExpression,
                    dimensionLayout.qDim.title,
                    dimensionLayout.qDim.descriptionExpression.qStringExpression.qExpr,
                    dimensionLayout.qDim.coloring.baseColor.color,
                    appId
                  ]
                )
              }
            }
            else {
              masterItems.push(
                [
                  dimensionLayout.qMetaDef.masterId,
                  "dimension",
                  dimensionLayout.qDim.qFieldDefs[0],
                  dimensionLayout.qDim.qLabelExpression,
                  dimensionLayout.qDim.title,
                  dimensionLayout.qDim.descriptionExpression.qStringExpression.qExpr,
                  dimensionLayout.qDim.coloring.baseColor.color,
                  appId
                ]
              )
            }
          }
        }
        resolve(masterItems)
      })
    }

    for(var r = 0; r<bundle.rows.length;r++) {
      let data = await getData(bundle.rows[r]);
      tmpItems.push(data);
      console.log(2);
    }
    var test = [];
    for(var one = 0; one< tmpItems.length; one++) {
      for(var two = 0; two < tmpItems[one].length;two++) {
        for(var three = 0; three < tmpItems[one][two].length; three++) {
          test.push({strDate: tmpItems[one][two][three]})
        }
      }
    }
    console.log(3, test);
    console.log(4);
    console.log(request);
    request.write({ "rows": [{ "duals": [{ "strData": "Sucess!" }] }] });
  })
}

hmm, you're using async/promise which I haven't tried at all. It could be a race condition where the end is called and stream closed before your promises have resolved. Try moving the line https://github.com/miralemd/qlik-sse/blob/master/lib/index.js#L29 last into your own function, or test write without any use of async await.

As @miralemd suggested, when using await the request.end() will get called too early.  I resolved the issue for myself by adding an async property to the function config that drives a conditional request.end(). https://github.com/RobWunderlich/qlik-sse/commit/be4bc04ab3ca655bed5f9a2f0c76d5ee054d87eb
@miralemd do you want to accept a PR for this? Or is this too specialized?

fixed by https://github.com/miralemd/qlik-sse/commit/233e014a7bdd755ec49a5c7d15b2a35ce2541e33

@RobWunderlich & @miralemd Thanks for the update. My code still does not seem to want to handle using async. Here is a super easy example which still has request.end() calling too early. Any ideas?
function Test(request) {
  function waitUntil(i) {
    return new Promise(function(resolve, reject){
        setTimeout(() => {
          resolve(i);
        }, 500);
    });
  }
  request.on('data', async function (bundle) {
    console.log('data');
    let list = [];
    for(let i = 0; i < 10; i++) {
       console.log(i);
       let resp = await waitUntil(i);
       list.push(resp);
    }
    console.log('writing...');
    request.write({ "rows": [{ "duals": [{ "strData": list.toString() }] }] });
  });
}

@RobWunderlich Ahh ok that worked! I had to also adjust my code at the end and write request.end() and writing request.write(...)


Add extra labels to servicemonitors

Hello!
Can you add possibility to add custom extra labels to service monitor when exporter enabled?
This feature need for target autodiscovering when prometheus operator is using.
I can write simple patch to helm chart if needed

Hi @toggetit thanks for the suggestion we will review this and get back.

Hi @toggetit thanks for the suggestion we will review this and get back.

I mean changes in citrix-ingress-controller.
There
https://github.com/citrix/citrix-helm-charts/blob/7014c386813c81ff8f1ccb8b25f445293c1e1b26/citrix-ingress-controller/templates/citrix-k8s-ingress.yaml#L226

hi @toggetit
In recent release we have added the support for extra labels to service monitor. Please try the latest charts.
https://github.com/citrix/citrix-helm-charts/releases/tag/cic-v1.34.16


[UI] Gitlab manifest are imported as GitURL

Issue
Uploading the manifest from a deployed Gitlab app in Epinio UI will select source type Git URL instead of Gitlab.
Manifest from UI;
{"name":"testapp-gitlab","configuration":{"instances":1,"configurations":[],"environment":{"EPINIO_APP_DATA":"{\"source\":{\"type\":\"git_lab\",\"builderImage\":\"paketobuildpacks/builder:full\",\"git_lab\":{\"usernameOrOrg\":\"richard-cox\",\"repo\":{\"id\":45142130,\"name\":\"epinio-sample-app\"},\"commit\":\"07d2dd794b7346b15f3677efe9a2e28ea1ec5a48\",\"branch\":{\"name\":\"main\"},\"url\":\"https://gitlab.com/richard-cox/epinio-sample-app\"}}}"},"routes":["testapp-gitlab.<IP_ADDRESS>.omg.howdoi.website"],"appchart":"standard"},"origin":{"Kind":2,"git":{"revision":"07d2dd794b7346b15f3677efe9a2e28ea1ec5a48","repository":"https://gitlab.com/richard-cox/epinio-sample-app"}}}

Steps to reproduce.

Deploy latest Epinio and epinio-dev
Deploy a Gitlab app with the following configuration:

# Username / Organization
richard-cox

# Repository
epinio-sample-app

# Branch
main

Select most recent commit
Once the app is deployed download manifest
Try to upload a new app using the manifest.

Observed behavior
The source type preselected is Git URL

Expected behavior
It should select source type GitLab

This just need confirming as fixed when merge the last PR

Checked in latest epinio-dev and fixed:
https://github.com/epinio/ui/assets/37271841/105a5dff-fc0b-4270-b8e9-cf40b8951f2a


Begin CI workflow for mysql-cdc

So I need someway to compare the contents of the leader and follower mysql instances once the SQL commands have been run on the leader. I am thinking about exporting both tables to CSV and comparing them, but I'm having trouble with the export. Here is what I've tried:
Setting up the databases:
$ fluivo cluster uninstall --local
$ docker kill mysql-consumer mysql-producer && docker rm mysql-consumer mysql-producer && docker rmi -f mysql-80
$ cd cdc-mysql/docker
$ ./install.sh -n mysql-producer -d ~/mysql-cdc/mysql-producer -p 3080
$ ./install.sh -n mysql-consumer -d ~/mysql-cdc/mysql-consumer -p 3090
$ fluvio cluster install --local

Then I use this script to run some commands on the leader database
# The following creates `flvDb` and the `pet` table and performs some inserts
$ mysql -h <IP_ADDRESS> -P 3080 -ufluvio -pfluvio4cdc! -v < cdc-mysql/test_files/producer_script.sql
mysql: [Warning] Using a password on the command line interface can be insecure.
--------------
CREATE DATABASE flvDb
--------------

--------------
CREATE TABLE pet (name VARCHAR(20), owner VARCHAR(20), species VARCHAR(20), sex CHAR(1), birth DATE)
--------------

--------------
INSERT INTO pet VALUES ('Puffball','Diane','hamster','f','1999-03-30')
--------------

--------------
INSERT INTO pet VALUES ('Jack','Peter','dog','m','1999-03-30')
--------------

--------------
UPDATE pet SET birth = '1989-08-31' WHERE name = 'Jack'
--------------

--------------
ALTER TABLE pet ADD COLUMN color VARCHAR(20)
--------------

--------------
DELETE from pet where name="Puffball"
--------------

--------------
INSERT INTO pet VALUES ("Spot", "Jane", "dog", "m", "2010-11-2", Null)
--------------

--------------
UPDATE pet SET color="White" WHERE name="Spot"
--------------

Then I use the following command to try to export that table to CSV using mysqldump
$ mysqldump -h <IP_ADDRESS> -P 3080 -ufluvio -pfluvio4cdc! -t -T./ flvDb pet --fields-terminated-by=,
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
mysqldump: Got error: 1227: Access denied; you need (at least one of) the FILE privilege(s) for this operation when executing 'SELECT INTO OUTFILE'

This happens despite the fact that the database was initialized with the following GRANT (from cdc-mysql/docker/scripts/create-fluvio-user.sql)
CREATE USER 'fluvio'@'%' IDENTIFIED WITH mysql_native_password BY 'fluvio4cdc!';
 TO 'fluvio'@'%';
FLUSH PRIVILEGES;

I've tried adding lines such as
GRANT SELECT, PROCESS ON `flvDb%`.* to 'fluvio'@'%';

with no change in behavior

I minimized this PR to just include CI checks for cargo fmt and cargo clippy. I will introduce e2e tests in CI once we have stable expected behavior


0x10 missing

I encountered blue screen 0x119 where the first parameter is 0x10. Can you add a description for it?
VIDEO_SCHEDULER_INTERNAL_ERROR (119)
The video scheduler has detected that fatal violation has occurred. This resulted
in a condition that video scheduler can no longer progress. Any other values after
parameter 1 must be individually examined according to the subtype.
Arguments:
Arg1:<PHONE_NUMBER>000010, The subtype of the bugcheck:
Arg2: ffff828e6a931000
Arg3:<PHONE_NUMBER>000000
Arg4:<PHONE_NUMBER>000000

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

ID: 7917857b-97bc-efec-67ab-5e3af061524c
Version Independent ID: 8c00d20e-9b21-7bb0-a041-220aca9d2487
Content: Bug Check 0x119 VIDEO_SCHEDULER_INTERNAL_ERROR - Windows drivers
Content Source: windows-driver-docs-pr/debugger/bug-check-0x119---video-scheduler-internal-error.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@MrPepka - Thanks for the input that on the additional parameter for the VIDEO_SCHEDULER_INTERNAL_ERROR (119) bug check topic. I have created and internal work item to track the work for this, so will close this issue. As we have limited resources, we use data like this to help guide our work. Good luck with your efforts in blue screen troubleshooting, and thanks for your interest in the bug check documentation.


Increased length of calls after upgrading Sentry

How do you use Sentry?
Self-hosted/on-premise
Version
1.33.0
Steps to Reproduce
We recently updated out Sentry SDK of our Django based product to 1.33.0 and shortly after we saw that our DB calls seem to be taking noticeably longer constantly. Everything still works fine so there's no obvious error. The same application with downgraded Sentry runs with faster calls consistently.
We are running Django 3.2.23 and the Django integration in sentry but even removing that integration has not made a difference in query time length. I have also disabled tracing with enable_tracing set to False which did not change anything.
I've looked at the changelog for 1.33.0 but can't see anything obvious that would cause this. Our application and DB are running in the same cloud services provider. Any ideas? Have only seen it for DB calls so far but not ruling out that it could be for any operation. Thanks in advance!
Expected Result
Upgraded Sentry would not effect the length of calls in the application.
Actual Result
Attached are sample performance metrics for a test set of calls we made that shows the difference between versions.

Hey @DarrenStack, thanks for reporting this!
We've had some performance issues (e.g. here and here) affecting our Django integration that have been fixed only recently (as in, after 1.33), as well as a lot of other bugfixes in the recent releases, so as the first step I'd recommend updating to the current version (1.38.0) and seeing if the DB times go down again.
Couple questions in case upgrading doesn't help:

What DB backend are you using?
Do you do anything custom with regards to how you connect to the DB? E.g., defining your own get_connection_params?

Sidenote regarding integration disabling, you mention that you've tried removing the Django integration -- the SDK will only actually remove it if you also provide auto_enabling_integrations=False to the SDK init, otherwise the integration will be auto-enabled in the background anyway. Since we don't really do a good job of documenting that anywhere (note to self: should fix that) I assume that might have been the case for you and the integration might have still been active.

Hi @sentrivana thanks so much for the quick response and all the info. The first linked ticket has a lot of overlap.
On the questions:

We are using postgres on AWS RDS similar to a user in the first ticket.
We do not overwrite get_connection_param(), we just use the DATABASES variable in our settings.py. We are not making any external calls there.
We upgraded from 1.32.0. It works fine.

The tip about auto_enabling_integrations=False worked well and we didn't see the issue so you are right that it's more thank likely the DjangoIntegration. I'll test cache_spans tomorrow to see if that makes a difference.

Hey @sentrivana, thanks again for all the support. We are not using Redis and it's just the plain Django ORM.
We have configured our cache to the database as shown here. This was initially setup for our django rate-limiting middleware.
Attached are the setup logs.
2023-11-30T17:05:48.573+00:00	[sentry] DEBUG: Setting up integrations (with default = True)
	2023-11-30T17:05:48.576+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.aiohttp.AioHttpIntegration: AIOHTTP not installed
	2023-11-30T17:05:48.577+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.bottle.BottleIntegration: Bottle not installed
	2023-11-30T17:05:48.578+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.celery.CeleryIntegration: Celery not installed
	2023-11-30T17:05:48.578+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.falcon.FalconIntegration: Falcon not installed
	2023-11-30T17:05:48.579+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.fastapi.FastApiIntegration: Starlette is not installed
	2023-11-30T17:05:48.580+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.flask.FlaskIntegration: Flask is not installed
	2023-11-30T17:05:48.580+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.httpx.HttpxIntegration: httpx is not installed
	2023-11-30T17:05:48.580+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.pyramid.PyramidIntegration: Pyramid not installed
	2023-11-30T17:05:48.581+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.rq.RqIntegration: RQ not installed
	2023-11-30T17:05:48.582+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.sanic.SanicIntegration: Sanic not installed
	2023-11-30T17:05:48.582+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.sqlalchemy.SqlalchemyIntegration: SQLAlchemy not installed.
	2023-11-30T17:05:48.583+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.starlette.StarletteIntegration: Starlette is not installed
	2023-11-30T17:05:48.583+00:00	[sentry] DEBUG: Did not import default integration sentry_sdk.integrations.tornado.TornadoIntegration: Tornado not installed
	2023-11-30T17:05:48.583+00:00	[sentry] DEBUG: Setting up previously not enabled integration django
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration argv
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration atexit
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration dedupe
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration excepthook
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration logging
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration modules
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration stdlib
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration threading
	2023-11-30T17:05:48.586+00:00	[sentry] DEBUG: Setting up previously not enabled integration boto3
	2023-11-30T17:05:48.588+00:00	[sentry] DEBUG: Setting up previously not enabled integration redis
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Did not enable default integration redis: Redis client not installed
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration django
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration argv
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration atexit
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration dedupe
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration excepthook
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration logging
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration modules
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration stdlib
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration threading
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Enabling integration boto3
	2023-11-30T17:05:48.589+00:00	[sentry] DEBUG: Setting SDK name to 'sentry.python.django'

Ok, to it is most likely the DjangoIntegration adding the overhead. Please have a look at the options middleware_spans, signals_spans, and cache_spans here: https://docs.sentry.io/platforms/python/integrations/django/#options
Try to set all of them to False and try again if you see a big decline in overhead.

Hey @sentrivana and @antonpirker, I think I found something in regards to this!
We are using psycopg2-binary to support our interactions with the postgres DB. It looks to define get_dsn_parameters as a built-in method as opposed to a function so the check here fails even though it is callable. We then fall back to get_connection_params which seems to be causing a little extra overhead.
I realise this code was added to stop calls of get_dsn_parameters where it's not really callable so I don't know how difficult it is to update this. Would inspect.isroutine work as a check?

Hey @DarrenStack, thanks for investigating and for coming back with an update! Will look into fixing this this week.

Great! thanks @sentrivana!

@DarrenStack The fix will be out shortly in 1.39.1. Thanks again for helping us debug!

Yup, tested 1.39.1 and it works! Thanks for the really quick work!


Update backend docs to include windows steps and mention opus

Summary by CodeRabbit

Documentation

Enhanced the "Backend Setup" guide with detailed installation instructions for Windows users.
Added commands for installing necessary tools via Chocolatey.
Expanded troubleshooting section for SSL errors and API key issues.
Clarified environment variables with detailed descriptions.
Improved overall readability through formatting adjustments.

lgtm 🥳


More failed builds

So much for building OpenCL.  More straight out of the box errors, never could get it built, gave up.  I can't understand how this entire build software is full of so many poorly written build files.  Half of them don't even have the first line required in EVERY build which is the minimum version required. This one is no exception. Seriously.  WTF?
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present.  A line of code such as
cmake_minimum_required(VERSION 3.27)

should be added at the top of the file.  The version specified may be lower
if you wish to support older CMake versions for this project.  For more
information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Error at /usr/share/cmake-3.27/Modules/WriteBasicConfigVersionFile.cmake:43 (message):
No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE()
Call Stack (most recent call first):
/usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:239 (write_basic_config_version_file)
CMakeLists.txt:100 (write_basic_package_version_file)
CMake Error at /usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:239 (write_basic_config_version_file):
write_basic_config_version_file Function invoked with incorrect arguments
for function named: WRITE_BASIC_CONFIG_VERSION_FILE
Call Stack (most recent call first):
CMakeLists.txt:102 (write_basic_package_version_file)
CMake Error at /usr/share/cmake-3.27/Modules/CMakePackageConfigHelpers.cmake:239 (write_basic_config_version_file):
write_basic_config_version_file Function invoked with incorrect arguments
for function named: WRITE_BASIC_CONFIG_VERSION_FILE
Call Stack (most recent call first):
CMakeLists.txt:102 (write_basic_package_version_file)
CMake Error at CMakeLists.txt:105:
Parse error.  Expected a command name, got unquoted argument with text
"${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/cmake/OpenCL${UTIL_LIB_NAME}/OpenCL${UTIL_LIB_NAME}ConfigVersion.cmake".

Nice Job on the libclc build.  I just deleted that one.  Keep in mind I've not altered or changed the path of any file in any of these.  If sucked this bad at my job I'd be unemployed.
CMake Error at cmake/CMakeTestLLAsmCompiler.cmake:40 (message):
The LLAsm compiler "/usr/local/bin/llvm-as" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: '/home/ghost/libclc/build/CMakeFiles/CMakeTmp'
Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f
Makefile cmTC_23717/fast
/usr/bin/gmake -f CMakeFiles/cmTC_23717.dir/build.make
CMakeFiles/cmTC_23717.dir/build
gmake[1]: Entering directory '/home/ghost/libclc/build/CMakeFiles/CMakeTmp'
Building LLAsm object CMakeFiles/cmTC_23717.dir/testLLAsmCompiler.bc
/usr/local/bin/clang -E -P -x cl
/home/ghost/libclc/build/CMakeFiles/CMakeTmp/testLLAsmCompiler.ll -o - |
/usr/local/bin/llvm-as -o CMakeFiles/cmTC_23717.dir/testLLAsmCompiler.bc
/usr/local/bin/llvm-as: :1:1: error: expected top-level entity
typedef unsigned char uchar;
^
gmake[1]: *** [CMakeFiles/cmTC_23717.dir/build.make:78:
CMakeFiles/cmTC_23717.dir/testLLAsmCompiler.bc] Error 1
gmake[1]: Leaving directory '/home/ghost/libclc/build/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_23717/fast] Error 2
                                                                                CMake will not be able to correctly generate this project.

Call Stack (most recent call first):
CMakeLists.txt:101 (enable_language)


Events are not received when dispatch() occurs in an asyncio.Task

I banged my head against the wall with this one for a while before I found the problem.
Steps to reproduce:

Request is made to FastAPI which dispatches a starting X process. The request immediately returns a payload letting the client know the asynchronous process has started.
The actual work is then done in an asyncio.Task which then dispatches a X process is complete afterwords.
Any dispatched events in the Task are never received

What is actually happening:
The issue is on dispatcher.py line 57. Starting in Python 3.7, asyncio.Task copies the current context from contextvars into the Task. When line 57 is reached, the code is told the event will be dispatched in the middleware as part of the request since the request was active at the time the Task was created. In actuality, these events end up in the void as they should have been dispatched via _dispatch_as_task.
For now, anywhere an event needs to be dispatch within a Task, I import fastapi_events.in_req_res_cycle into the code and run in_req_res_cycle.set(None). This forces _dispatch() to process these events via _dispatch_as_task.

Do you know if there is any good way to tell when contextvars are being copied? Would you mind sharing it or pointing me to the resource? 🙏 thanks

Below is a brief example of the route handler I was working on when I found this issue. The goal was to have the request start a long-running process but not have the client wait on the work being done. The results of the work would be published as an event.
To answer your question, the context (with contextvars) are being copied when asyncio.create_task() is run. The context is used for the duration of the coroutine being called. Because of this, fastapi-events believes it is executing within the context of a request when the request is actually done.
Cheers
Kyle
def add_data(data: DataModel):
    """
    This function may take a while to complete
    """
    dispatch("add_data_start", payload={"message": "starting"})
    try:
        await database.insert(data)
        await app.reload_data()
    except:
        dispatch("add_data_error", payload={"message": "an error occurred"})
    else:
        dispatch("add_data_done", payload={"message": "complete"})

@app.post("/addData")
async def uuid(
    data: DataModel,
):
    """
    This request will return immediately for the client and then do the work in the background.
    Events will be dispatched within the function/task once the work is complete.
    """
    asyncio.create_task(add_data(data))
    return {"detail": "add_data has been started"}

thank you for the code sample. I can't think of a good general solution so far.
I would imagine a function that wraps asyncio.create_task that would also unset is_req_res_cycle at the same time, but that's not the best solution. :thinking:

@melvinkcx Setting in_req_res_cycle to False is how I am currently getting around this and, while a bit hacky, it does work quite well.
My wrapper for dispatch() looks something like this:
@contextmanager
def _force_fastapi_events_dispatch_as_task() -> Generator:
    token: ContextVarToken = in_req_res_cycle.set(False)
    yield
    in_req_res_cycle.reset(token)

def dispatch(
    event_name: Union[str, Enum],
    payload: Optional[Any] = None,
    validate_payload: bool = True,
    payload_schema_cls_dict_args: Optional[Dict[str, Any]] = None,
    payload_schema_registry: Optional[BaseEventPayloadSchemaRegistry] = None,
    middleware_id: Optional[int] = None
    as_task: bool = False,
) -> None:
    if as_task:
        with _force_fastapi_events_dispatch_as_task():
            fastapi_events_dispatch(
                event_name=event_name,
                payload=payload,
                validate_payload=validate_payload,
                payload_schema_cls_dict_args=payload_schema_cls_dict_args,
                payload_schema_registry=payload_schema_registry,
            )
    else:
        fastapi_events_dispatch(
            event_name=event_name,
            payload=payload,
            validate_payload=validate_payload,
            payload_schema_cls_dict_args=payload_schema_cls_dict_args,
            payload_schema_registry=payload_schema_registry,
        )


travis error

Im using 0.8.0
and just today as 0.8.1s released im getting an error in travis

0.8.0 is still available: https://github.com/urish/angular-spinner/tree/0.8.0
When I run locally bower install angular-spinner#0.8.0 it installs successfully. Can you try this and see if it works for you?

it does but my travis tests kept failing i had to install 0.8.1.
Thanks.
I dont think this is an issue anymore though so im closing this issue.


[Bug] webdav in v2.9.7 will just overwrite the previous backup.json while login by another browser

Describe the bug
A clear and concise description of what the bug is.
webdav in v2.9.7 will just overwrite the previous backup.json while login by another browser
To Reproduce
Steps to reproduce the behavior:

sync your old conversation to cloud by webdav in A browser
login the same account and just sync your new conversation (or leave it blank) in B browser

Expected behavior
A clear and concise description of what you expected to happen.
old and new conversations should be merge.
Screenshots
If applicable, add screenshots to help explain your problem.
Deployment

[ * ] Docker
[ ] Vercel
[ *] Server

Desktop (please complete the following information):

OS: [e.g. iOS] win10
Browser [e.g. chrome, safari] chrome,firefox
Version [e.g. 22] v2.9.7

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional Logs
Add any logs about the problem here.

I know this problem
runtime issue
I used edge it fix for me by using this http codes ref :
[200, 207, 404]

Additional note (fixed by using runtime edge):
So basically, here's how the logic works:
When the previous browser clicks on sync, it stores all the data on the WebDAV server.
Then, in the current browser, when it clicks on sync for the first time, it loads the data from the previous browser (Which is is Already stored in WebDAV server) without overwriting the data from the current browser.
After that, if the current browser wants to sync again, it simply clicks on sync, and both sets of data are stored (which makes it a good system other than any).

Also I forgot
Additional note for a webdav using method PROFIND :
The system works by retrieving the data and performing a check on the client-side. This check involves comparing the current data with the data stored on the server. On the server-side, a similar comparison is performed to determine if there are any differences. If there are differences, the server accepts the data from the client. However, if there are no differences, there is no need for the server to accept it from client-side.


[GOBBLIN-1465] Refactor the GobblinOrcWriter to support using a diffe…

…rent OrcValueWriter
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[X] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1465

Description

[X] Here are some details about my PR, including screenshots (if applicable):
The GobblinOrcWriter uses the GenericRecordToOrcValueWriter and takes in input records as GenericRecords. There may be use cases where the input type is not an Avro GenericRecord, so refactor the code to support extending the writer to support other input types. The bulk of the code in the original GobblinOrcWriter is moved to GobblinBaseOrcWriter.

Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:
There is an existing GobblinOrcWriterTest test.

Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@autumnust, please review.


Will the Argoverse dataset work?

thx for the great work, and I found the Argoverse dataset has been implemented in vid.py. So I want to know does this dataset work? Or should I make some minor revisions on it? Many thx for your reply ~

thx for the great work, and I found the Argoverse dataset has been implemented in vid.py. So I want to know does this dataset work? Or should I make some minor revisions on it? Many thx for your reply ~

Hello, this dataset is used for additional experiments on Argoverse and OVIS which use coco-style annotation. You can find the annotation format at https://mtli.github.io/streaming/


(date=2021-02-03,pubDate=2021-02-04) data shows 0 second doses

I'm guessing the upstream spreadsheet structure changed once again. Investigating…

We can now also change the CSV structure to expose the new fields.


[Help wanted] Resolving Mac Address

Hi,
I can't seem to find any method to resolve the mac address in the 48 bit addressing scheme, could someone point me in the right direction?
Thanks

You won’t be able to do that on the mobile platforms


Data statistics

I want to be able to look at the statistics of downloads per package, weekly downloads, monthly downloads, people who download.
Like npmjs.org which I think is a very valuable feature.

Well, perhaps worth to share how hard is already achieve it with the npmjs, https://youtu.be/QtChaxbsw7U?t=670 so you can have an idea how hard would be.
Anyway, I will refer to my comment while ago https://github.com/verdaccio/verdaccio/issues/1201#issuecomment-457559066

Some logging database for time series data or similar would be needed. Not sure if we could use the current logs and parse them - probably not.

Well, perhaps worth to share how hard is already achieve it with the npmjs, https://youtu.be/QtChaxbsw7U?t=670 so you can have an idea how hard would be for us.
Anyway, I will refer to my comment while ago #1201 (comment)

Thanks for your reply.
Can I add a callback hook when the verdaccio is accessed.
So that I can customize the log output or store the log in the database for my own analysis.

Hooks will be improved in Verdaccio 5, but that is next year hopefully, depends of the available resources, but that is my wish. So things as you suggest will be more easy to address.

I will close this one since we have already other similar tickets.


MSColab Changeset view confusing/untidy

Original report by Joern Ungermann (Bitbucket: joernu76, GitHub: joernu76).

The changeset view shows the diffs of the changes, which are typically rather large. The requires a lot of scrolling. And the diffs are not particular helpful.
A list with change times/abstracted info (i.e. added point moved point/etc, but time would be fine for now) might be better, where a double-click on the item (or similar) would show the full change?
The simplest undo button simply rolls back the lastest change. One might move the current stuff to a sub menu and offer “just” an undo button on the main window.

Hello @ReimarBauer , Is this still open?

Yes it is still open, but it would be too small to be a standalone gsoc project. If you want work on this, think about a solution without removing functionality.


Fix typos

Proposed changes
Fixed several typos in the orgs document.

Deploy preview for docsdocker ready!
Built with commit 69997a31614ab31e26ed75e1b5960bb393fce254
https://deploy-preview-8164--docsdocker.netlify.com

Thanks for spotting these, @steinbeck65 !