failed to find documentation either on github or on the documentation website regarding client library taking care of long running streams "chunking"

A while ago, I received an email update about that the user of the client API library does not need to worry anymore about splitting audio to chunks to workaround the streaming audio duration limit and when there's silence.
I think it was in one of the APIs newsletters or off a github issue and I cannot remember.
As such this is not a a bug report per se, but rather a bug report about having those feature improvement of the client libraries documented well somewhere (I couldn't find any mention of this in the changelog).
Thanks!

Hi @sivang — It would be helpful if you can provide at least one source for the newly launched  Speech client API so that we can a little more context. I will investigate internally in the meantime. Let's get this sorted out!

Hi @sivang — It would be helpful if you can provide at least one source for the newly launched Speech client API so that we can a little more context. I will investigate internally in the meantime. Let's get this sorted out!

So I wish I was able to recall where I got this information, I vividly remember it was via an email update either from github or off the mailing list or some such - but that's exactly why I created this issue, as I tried tracking it back (it was ~6 months already).
Also I may have not been fully accurate in the original note, I believe this was an improvement to the client library resulting from an improvement to the API, relieving the calling code from worrying about all sorts of house keeping, so AFAIR things like ie like Longtime elapsed without audio and Resource exhausted error.
I now badly wish I had put that email update note  aside somewhere for when I will have returned to work on my code :)

Hi @sivang I tried to find specific information about this documentation but I could not find any. If you can provide more details so I can further direct my research that'd be great.

I found these two resources:
https://googleapis.dev/nodejs/speech/latest/
https://github.com/googleapis/nodejs-speech

I am going to close this issue due to inactivity. Please feel free to reopen it if you need to.


Sort Extension: simple format for GET

added a slightly different, non-JSON format for the GET parameter case.  @joshfix
changed the description so that field from the root of Item rather than properties.  This is so that a user can provide a stable sort over properties.created ascending, id (ascending or descending).  Without the id as the secondary sort, items with the same created timestamp would result in a non-stable sort, which may give users incorrect results with trying to page through an entire result set.

PR Checklist:

[x] This PR has no breaking changes.
[x] I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.
[x] API only: I have run npm run generate-all. to update the generated OpenAPI files.

I like the GET support!  :)
I have no idea if this is a good idea or bad idea, but what about making the GET values use a similar syntax as the proposed fields values, where a + denotes ascending and a - denotes descending:
GET /stac/search?sort=+properties.created,-id&fields=+properties.created,+xxx

As I wrote up Fields, it's only nothing or -, which I think is fine for sort also ==> ascending is the default, with - prefix meaning descending.

Moving to 0.9.0 - as there's more thinking to do on this. Sean will sound in with some more thoughts on doing things in headers, and we want to try to align with WFS.

Note relevant conversation in https://github.com/opengeospatial/ogcapi-features/issues/157

@philvarner   Looks like this might need some updates, thought colon was going to be avoided in favor of semi-colon?

I think I have all the necessary changes in now @joshfix @tomkralidis @matthewhanson

I'm just wondering whether we should use an approach that can be modeled in OpenAPI. We can't properly describe the current behavior except for textual descriptions. I went through the OpenAPI specification and found we could model it properly this way:
{
  "name": "sortby",
  "in": "query",
  "schema": {
    "type": "object",
    "additionalProperties": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ]
    }
  },
  "style": "deepObject"
}

sortby[properties.datetime]=desc&sortby[id]=asc
This translates to the following object, which could also be used in POST:
{
  "properties.datetime": "desc",
  "id": "asc"
}


conformance.yaml not being updated

It appears that the expected ./kodata/conformance-testdata isn't being populating.
https://github.com/cncf-infra/verify-conformance/actions/runs/5873165680/job/15926008062#step:4:2

this condition
https://github.com/cncf-infra/verify-conformance/actions/runs/5873165680/workflow#L28
must be removed

this should be tested again with removal of the kodata/conformance-testdata/v1.28/conformance.yaml file and retriggering the job.

@BobyMCbobs I created a revert PR to undo the work of the bot, then we should allow the bot to recreate it through it's automated trigger.

@BobyMCbobs I think that is good to close? WDYT?

Yeah, it's working good enough now!


Static App: Not clear how to set the region using VS code

With CLI or portal you can setup the region. But VS code plugin do not seem to offer this option.

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

ID: 59b3b161-b559-f90b-1566-f18776a5f7da
Version Independent ID: 3e536234-16ad-2ed3-fb58-c128ba2faab2
Content: Quickstart: Building your first static site with the Azure Static Web Apps
Content Source: articles/static-web-apps/getting-started.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks for the heads-up, @gagarine!
I added the following note to the doc:

The Azure Static Web Apps Visual Studio Code extension streamlines the creating process by using a series of default values. If you want to have fine-grained control of the creation process, open the command palate and select Azure Static Web Apps: Create Static Web App... (Advanced).

The changes will go live in a few hours.
#please-close


Port appears twice for localhost

Minor fix for bug that shows https://localhost:21174:21174 during start,
which may confuse student developers.

Codecov Report

Merging #2746 into dev will increase coverage by 4.65%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev    #2746      +/-   ##
==========================================
+ Coverage   89.62%   94.28%   +4.65%
==========================================
  Files          93      166      +73
  Lines        6459    19900   +13441
==========================================
+ Hits         5789    18763   +12974
- Misses        670     1137     +467

Impacted Files
Coverage Δ

qiita_db/test/test_artifact.py
99.85% <0%> (ø)

qiita_db/metadata_template/__init__.py
100% <0%> (ø)

qiita_db/handlers/tests/test_prep_template.py
98.5% <0%> (ø)

qiita_db/test/test_logger.py
97.22% <0%> (ø)

qiita_db/handlers/tests/test_user.py
96.66% <0%> (ø)

qiita_db/test/test_software.py
99.82% <0%> (ø)

qiita_db/test/test_study.py
99.77% <0%> (ø)

qiita_db/handlers/tests/oauthbase.py
100% <0%> (ø)

qiita_db/test/test_reference.py
96.29% <0%> (ø)

qiita_db/metadata_template/test/test_util.py
99.54% <0%> (ø)

... and 63 more

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 f1c2cb5...23d1f7d. Read the comment docs.


Lens create space forebidden resource

Hello,
Im not sure why I get ,,forbidden resorce'' after I want create space when connecting to a specific cluster

Same here !
Lens: 6.0.1-latest.20220810.2
Electron: 15.5.7
Chrome: 94.0.4606.81
Node: 16.5.0

+1


[DO_NOT_MERGE]Try to fix kafka

What changes were proposed in this pull request?
When KafkaSource fails on Kafka errors, we should create a new consumer to retry rather than using the existing broken one because it's possible that the broken one will fail again.
This PR also assigns a new group id to the new created consumer for a possible race condition:  the broken consumer cannot talk with the Kafka cluster in close but the new consumer can talk to Kafka cluster. I'm not sure if this will happen or not. Just for safety to avoid that the Kafka cluster thinks there are two consumers with the same group id in a short time window. (Note: CachedKafkaConsumer doesn't need this fix since assign never uses the group id.)
How was this patch tested?

Test build #70146 has started for PR 16282 at commit 4a690b6.

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/70146/
Test FAILed.

Test build #70148 has started for PR 16282 at commit c4e6962.

Test build #70148 has finished for PR 16282 at commit c4e6962.

This patch fails executing the dev/run-tests script.
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/70148/
Test FAILed.

retest this please

Test build #70153 has started for PR 16282 at commit c4e6962.

Test build #70153 has finished for PR 16282 at commit c4e6962.

This patch fails from timeout after a configured wait of `250m`.
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/70153/
Test FAILed.

Test build #3501 has started for PR 16282 at commit c4e6962.

retest this please

Test build #70210 has started for PR 16282 at commit c4e6962.

Test build #70219 has started for PR 16282 at commit 2143462.

Test build #70210 has finished for PR 16282 at commit c4e6962.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #70229 has started for PR 16282 at commit 5afb13d.

Test build #70219 has finished for PR 16282 at commit 2143462.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds the following public classes (experimental):
 case class AssignStrategy(partitions: Array[TopicPartition]) extends ConsumerStrategy
 case class SubscribeStrategy(topics: Seq[String]) extends ConsumerStrategy
  case class SubscribePatternStrategy(topicPattern: String)
class KafkaConsumerGroupIdGenerator(groupIdPrefix: String)

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/70219/
Test FAILed.

Test build #70229 has finished for PR 16282 at commit 5afb13d.

This patch fails from timeout after a configured wait of `250m`.
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/70229/
Test FAILed.

Test build #70240 has started for PR 16282 at commit 7b75dd6.

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/70240/
Test FAILed.

retest this please

Test build #70262 has started for PR 16282 at commit 7b75dd6.

Test build #70264 has started for PR 16282 at commit f10ee87.

Test build #70266 has started for PR 16282 at commit 0f3a7f9.

Test build #70268 has started for PR 16282 at commit fd53ee1.

Test build #70264 has finished for PR 16282 at commit f10ee87.

This patch fails executing the dev/run-tests script.
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/70264/
Test FAILed.

Test build #70268 has finished for PR 16282 at commit fd53ee1.

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/70268/
Test FAILed.

Test build #70281 has started for PR 16282 at commit fd63513.

Test build #70262 has finished for PR 16282 at commit 7b75dd6.

This patch fails from timeout after a configured wait of `250m`.
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/70262/
Test FAILed.

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/70266/
Test FAILed.

Test build #70281 has finished for PR 16282 at commit fd63513.

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/70281/
Test PASSed.

retest this please

Test build #70297 has started for PR 16282 at commit fd63513.

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/70297/
Test FAILed.

retest this please

SPARK-18907

retest this please

Test build #70343 has started for PR 16282 at commit fd63513.

Merged build finished. Test FAILed.

retest this please

Test build #70370 has started for PR 16282 at commit fd63513.

Test build #70370 has finished for PR 16282 at commit fd63513.

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

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

Merged build finished. Test PASSed.

cc @tdas

Test build #70386 has started for PR 16282 at commit 410c223.

Test build #70386 has finished for PR 16282 at commit 410c223.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KafkaSourceStressForDontFailOnDataLossSuite extends StreamTest with SharedSQLContext

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/70386/
Test PASSed.

Test build #70439 has started for PR 16282 at commit 7c789e8.

Test build #70443 has started for PR 16282 at commit 13b7d43.

Test build #70444 has started for PR 16282 at commit 9080acd.

Test build #70443 has finished for PR 16282 at commit 13b7d43.

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/70443/
Test PASSed.

Test build #70439 has finished for PR 16282 at commit 7c789e8.

This patch fails from timeout after a configured wait of `250m`.
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/70439/
Test FAILed.

Test build #70444 has finished for PR 16282 at commit 9080acd.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #70439 has finished for PR 16282 at commit 7c789e8.

This is DStream failure: DirectKafkaStreamSuite

Test build #70444 has finished for PR 16282 at commit 9080acd.

Looks like Python tests were hung. But that's not related to this PR.

retest this please

Test build #70486 has started for PR 16282 at commit 9080acd.

Test build #70486 has finished for PR 16282 at commit 9080acd.

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/70486/
Test PASSed.

Merging to master and 2.1


Feat: HTTP Breadcrumbs with request/response size

:scroll: Description
Added request and response size to HTTP breadcrumbs according to https://develop.sentry.dev/sdk/features/#http-client-integrations
:bulb: Motivation and Context
See https://develop.sentry.dev/sdk/features/#http-client-integrations
:green_heart: How did you test it?
I've added tests.
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[x] I updated the docs if needed
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #552 (31e3ccd) into main (0ca7e45) will increase coverage by 0.44%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #552      +/-   ##
==========================================
+ Coverage   91.55%   92.00%   +0.44%
==========================================
  Files          74        7      -67
  Lines        2428      250    -2178
==========================================
- Hits         2223      230    -1993
+ Misses        205       20     -185

Impacted Files
Coverage Δ

dart/lib/src/protocol/sentry_device.dart

dart/lib/src/transport/rate_limit_parser.dart

dart/lib/src/protocol/debug_image.dart

dart/lib/src/scope.dart

dart/lib/src/protocol/dsn.dart

dart/lib/src/sentry_envelope_header.dart

dart/lib/src/protocol/sentry_runtime.dart

dart/lib/src/sentry_stack_trace_factory.dart

dart/lib/src/protocol/sentry_stack_frame.dart

dart/lib/src/sentry_client.dart

... and 55 more

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 0ca7e45...31e3ccd. Read the comment docs.


Livereload not working

Hi,
I read some similar issues but not quite the same as what I'm experiencing with Livereload not reloading and getting stuck. After I made modifications to any of my files this is what gets execute and where it stops:

[BS] Serving files from: dist/dev
[21:49:44] Starting 'build.dev'...
[21:49:44] Starting 'clean.dev'...
[21:49:44] Deleted dist/dev
[21:49:44] Finished 'clean.dev' after 9.2 ms
[21:49:44] Starting 'tslint'...
[21:49:46] Finished 'tslint' after 1.98 s
[21:49:46] Starting 'scss-lint'...
[21:49:46] Finished 'scss-lint' after 33 ms
[21:49:46] Starting 'build.assets.dev'...
[21:49:46] Finished 'build.assets.dev' after 28 ms
[21:49:46] Starting 'build.html_scss'...
[21:49:46] Finished 'build.html_scss' after 191 ms
[21:49:46] Starting 'build.js.dev'...
[21:49:47] Finished 'build.js.dev' after 556 ms
[21:49:47] Starting 'build.index.dev'...
[21:49:47] gulp-inject 4 files into index.html.
[21:49:47] gulp-inject 2 files into index.html.
[21:49:47] gulp-inject 1 files into index.html.
[21:49:47] Finished 'build.index.dev' after 16 ms
[21:49:47] Finished 'build.dev' after 2.82 s
[BS] Reloading Browsers...

On the browser side it goes back to the loading... state and in the dev console I get this:

Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:87 Error: Error: XHR error (404 Not Found) loading http://localhost:5555/app/main.js(…) "Report this error at ..."(anonymous function) @ localhost/:87

Any help will be appreciated.

Have you looked at what's inside your dist/dev folder ? This happens only on reload, works fine when you start the app ?

Hi @omargon,
i don't know if this is of relevance, but what is your Node and NPM version?

@ludohenin: just compared dist/dev before and after reload and it is missing all js files after reload.
@TheDonDope: node v4.4.2 npm 3.8.6

I'm experiencing the same issue with npm 3.8.5 node 5.0.0.

@calvdee, I resolved the issue by commenting out the following line of code: https://github.com/mgechev/angular2-seed/blob/master/gulpfile.ts#L15 I didn't know why it was commented on the first place so I had uncommented it. But it seems that it is needed for reload to work at least that did it for me. But it will be good if we can get a confirmation of it or an explanation on why does lines are there in the first place if they should stay commented.

@omargon

I didn't know why it was commented out on the first place

-> https://github.com/mgechev/angular2-seed/commit/9a41f2369079c275ef59b5c7444cc51a351a5fae

+1

Getting this error when files change, but not when I do npm start:
GET http://localhost:5555/main.web.js 404 (Not Found)

dist/dev has all files, except main.desktop.js and main.web.js when reloading.


what():  OpenCV(4.5.4) ./modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem'

Issue Description
Encountered the following error in terminal when attempting to run bash scripts/show_image.bash
what():  OpenCV(4.5.4) ./modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem'

This causes displaying the image/video via Docker to fail.

Reference
https://marcosnietoblog.wordpress.com/2017/04/30/docker-image-with-opencv-with-x11-forwarding-for-gui/

Solution :partying_face:
Remember to provide permission for the GUI from docker container to be given permission to forward to local xhost.
xhost local:docker

:warning: Note that this is considered a dangerous practice if done in a production environment.


fix(simple-rest): fix generated url with query string

[WIP]
Closing issues
closes #5359

I've added. Could you check @BatuhanW

I've also updated the fn implementation here

@BatuhanW I've also updated the fn implementation here

Thanks @amanzrx4! Looks great! We'll review it soon! Assigned it to January release.
There are 2 minor updates:

Add a test for the new utility file
Add new file to refine.config.js. https://github.com/refinedev/refine/blob/7c8827b43d9e378818be6ee23032925c97ce02d5/packages/simple-rest/refine.config.js#L18

We need to add this file to refine.config.js, because if someone swizzles this data provider, it won't copy this file to users' directory.


Re-enable tito

Maintainers will complete the following section:

[ ] Commit messages are descriptive enough
[ ] "Signed-off-by:" line is present in each commit
[ ] Code coverage from testing does not decrease and new code is covered

no release notes, change to release process only


Improved navigation quality across application

Removed some dead ends in the project by adding buttons and renamed some buttons to be more meaningful. Closes #76

Everything functioning properly but the branch should be merged into the release 1.0 branch rather than the main.

Good spotting! I have fixed that now!


first run through pytests took an hour

My first run through this repo's pytests took almost an hour because (I think) of an extremely slow download of https://neurophyla.mrc-lmb.cam.ac.uk/share/fibsem_example/FIBdeSEMAna_21-12-26_005024_0-0-0.dat.
Once the file is cached locally, things are better.
I don't know if there was an intermittent problem with the neurophyla.mrc-lmb.cam.ac.uk server when I first ran, but if it is possible to host the example files in a faster location that would be a welcome change.  Alternatively, maybe we could purposely image something very small to use for tests and just keep the tiny dat files in the repo directly.

Yes, downloading those files is slow, although it shouldn't be that slow. You can add the --skip-full argument to pytest, which will skip tests requiring the full .dat file, but still do the tests on the truncated headers vendorised with jeiss-specs.
But as you say, ensuring that the public exemplar of a particular version is a small one would be convenient; that v8 .dat was from the only stack I had easily available.

You're right, it's coming down at 1.5MB/s, that's no good.


Events API v2 Support

@cugini-dbx any thing blocking this PR from getting merged?

The rest of the Travis issues appear to be not associated with this PR... not sure how best to resolve them

looks at watch
... Well I totally dropped the ball, apologies for the very late return. The tests have all been fixed, so once you rebase, I'll be happy to merge this in.

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

Hello,
I'm interested in this feature.
It seems all is OK to merge it AFAIU.
Regards,
Sébastien


CAMEL-10577 replace BufferingResponseListener with InputStreamRespons…

…eListener to avoid hardcoded 2MB limit

However if the old code has a hardcoded 2mb limit anyway then this change is still better because it wont have that limit. Then we can log another JIRA ticket to look into a way to stream the data without an in memory byte[] buffer.
@kevinearls can you log a JIRA and then polish this PR.

I've removed the unused contentType parameter from onResponseComplete as @oscerd suggested, and removed the warning as @davsclaus suggested.  I made an initial attempt to replace the ByteArrayOutputStream with an OutputStreamBuilder, but that resulted in the JettyStreamCacheIssueTest hanging.
I'll open a new JIRA to cover that.

@oscerd looks good to me now. Feel free to merge to master and 2.18.x branch (if possible)

Thanks, the PR has been merged. Can you close the PR?

Merged on master and 2.18.x

Thanks for the PR it has been merged. Do you mind closing this?


md5sum check failed

When i use this lib to pusblish costom msgs to another CPP node, The CPP node tell me the datatype/md5sum check failed, the log as bellow:
[ERROR] [1602764150.921571564]: Client [/avatar] wants topic /topic/response/signal/message to have datatype/md5sum [atris_msgs/SignalMessage/21bf35dedac23c2dd7049256f5f2f971], but our version has [atris_msgs/SignalMessage/47da1d8e018fea14775e1f7b4683149a]. Dropping connection.

I find a mistake in msg/md5.go.
In the function md5Text,
name := camelToSnake(ft.Name)
we convert name to Snake, but there are no rule to force all .msg to Snake.

Hello, the situation is the following:

all ROS standard messages have field names in snake case
Go doesn't export fields with a name which begins with a letter in lower case; snake can't be used

Hence my idea was to convert field names from snake case into camel case, which is strongly recommended in Go and results in very clear structs; for example, this message
string name
geometry_msgs/Quaternion orientation
uint8 orientation_mode
uint8 interaction_mode
bool always_visible
visualization_msgs/Marker[] markers
bool independent_marker_orientation
string description

is converted into this
type InteractiveMarkerControl struct {
	msg.Package                  `ros:"visualization_msgs"`
	Name                         string
	Orientation                  geometry_msgs.Quaternion
	OrientationMode              uint8
	InteractionMode              uint8
	AlwaysVisible                bool
	Markers                      []Marker
	IndependentMarkerOrientation bool
	Description                  string
}

The problem is that some custom messages are left out. Could you post a sample .msg file that doesn't work? in this way we can figure out together a solution. Thanks

hmm, this message
string title
string ID
string msg

Maybe, this message is not fully compliant message，but ...
So I add a tag to fix this issue,
type SignalMessage struct {
    msg.Package `ros:"my_package"`
    Title string `Title:"title"`
    MsgID string `MsgID:"ID"`
    Msg string `Msg:"msg"`
}

Read the tag first, if no tag, use default.
--- a/msg/md5.go
+++ b/msg/md5.go
@@ -140,7 +140,10 @@ func md5Text(rt reflect.Type, rosTag string) (string, bool, error) {
                        }

                        //name := camelToSnake(ft.Name)
-                       name := ft.Tag.Get("typename")
+                       name := ft.Tag.Get(ft.Name)
+                       if name == "" {
+                               name = camelToSnake(ft.Name)
+                       }

Field names not in snake case are now fully supported; the name can be set with the rosname tag:
type MessageName struct {
    msg.Package `ros:"my_package"`
    Field bool  `rosname:"FIELD"`
}


fix: Fix default selected row on a page change when primary key is selected in a table and is unavailable in new data

Fixes #21108
Steps to repro are in the connected issue.

/ok-to-test sha=947a8b0

/ok-to-test sha=c82d1ec

/ok-to-test sha=57d7505

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/5123143438. Commit: 57d7505. The following are new failures, please fix them before merging the PR:

cypress/e2e/Regression/Apps/MongoDBShoppingCart_spec.js
cypress/e2e/Regression/ClientSide/Templates/Fork_Template_Existing_app_spec.js

To know the list of identified flaky tests - Refer here

This test result is for just default selected index changes

/ok-to-test sha=f36213d

/ok-to-test sha=1284e6b

/build-deploy-preview env=release

@rajatagrawal
Default selected row/s must stay intact in the following cases:

On navigating between pages
When columns are sorted
When valid searches are made containing results that include the default selected row
When valid searches are removed
When invalid searches are removed
On filtering the table data and on deleting the filters set

These scenarios should hold good in case of both single and multiple default row/s.

@rajatagrawal Default selected row/s must stay intact in the following cases:

On navigating between pages
When columns are sorted
When valid searches are made containing results that include the default selected row
When valid searches are removed
When invalid searches are removed
On filtering the table data and on deleting the filters set

These scenarios should hold good in case of both single and multiple default row/s.

Had a discussion with @dilippitchika and @sbalaji1192 for resolving these issues. We decided that these issues need product input and can tracked in a separate issue. For the purposes of unblocking CRUD PR, only the test cases where default selected row doesn't show up when a table first loads up in a CRUD flow can be the only test case that needs to be verified for this fix. The issue for that bug is https://github.com/appsmithorg/appsmith/issues/24344
Issue for tracking all other cases of default index is https://github.com/appsmithorg/appsmith/issues/24343.
cc : @laveena-en @somangshu . As per the steps to verify the fix, the only way I think that might be possible to do this would in cypress tests that @keyurparalkar has in his CRUD TableV2 PR. It won't be possible to test this manually I think. Hence I think that this PR can be merged without manual QA. The cypress test suite is passing on it.

@keyurparalkar would you be able to take a pull of this PR in the CRUD PR and check if the blocker issues is fixed ? I think it won't be possible for the QA to verify this manually.

/ok-to-test sha=fc90e5a

Had a discussion with @keyurparalkar and @sbalaji1192 regarding the callouts for pending test failures related to default selected row index. As per @sbalaji1192 , these failure are invalid and not as per expectations of the feature. Hence @keyurparalkar will be working on changing the assertion in cypress tests in the CRUD PR.

/ok-to-test sha=747d960

/ok-to-test sha=ae159e0


Remove "Infinite scroll", as it was implemented directly on Strava

Hi, first of all, thanks kudos for amazing extension 👏
I've noticed that Infinite scroll is already implemented by Strava website itself - both on Dashboard and club's latest activity.

Having infinite scrolling handled by both Strava website and this extension is causing doubled network requests.

Fortunately, it DOES NOT break the UI, as Strava website does some duplicate check and only renders unique activities.

Recorded infinite scroll, without any extensions.

Bam, absolutely A+ pull request and bug report. Releasing immediately... :+1:

@lamby thx, I'm happy to contribute


Function triggers from MQTT events

The upstream Keda project does not have support for MQTT and this PR depends on the support for MQTT in upstream Keda project


add llama perf test case

[nix] use single-float abi compilerrt
[tests] fix t1.ld DDR map
[emurt] support uart/print, export header
[cases] add perf.llama

nice!

please add documentation to run the test case.

RTL still has some bug running llama. Will be fixed in the following PRs

The llama still hang at spike side, in order to not block others commit, Let get this into master branch, and debug it later.


[20min] Unable to extract video id

[x] I've verified and I assure that I'm running youtube-dl 2016.04.24
[X] Site support request (request for adding support for a new site)

C:\Program Files\youtubedl>youtube-dl -U
youtube-dl is up-to-date (2016.04.24)

C:\Program Files\youtubedl>youtube-dl --verbose -U http://www.20min.ch/ro/sports/football/story/Il-marque-une-bicyclette-de-plus-de-30-metres--21115184
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'-U', u'http://www.20min.ch/ro/sports/football/story/Il-marque-une-bicyclette-de-plus-de-30-metres--21115184']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.04.24
[debug] Python version 2.7.10 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 2.8.4
[debug] Proxy map: {}
youtube-dl is up-to-date (2016.04.24)
[20min] Il-marque-une-bicyclette-de-plus-de-30-metres--21115184: Downloading webpage
ERROR: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "youtube_dl\YoutubeDL.pyo", line 673, in extract_info
  File "youtube_dl\extractor\common.pyo", line 341, in extract
  File "youtube_dl\extractor\twentymin.pyo", line 60, in _real_extract
  File "youtube_dl\extractor\common.pyo", line 644, in _search_regex
RegexNotFoundError: Unable to extract video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Thanks for the report. Embedded YouTube videos on 20min will be detected in the next version.


Raspberry pi instead of Arduino/Adalogger

Hey Guys
I have been interested in this project and have been wanting to build one for quite some time now. I was wondering however if anyone has tried substituting Arduino/Adafruit combo with a raspberry pi. If yes, is there any text out there that I can follow?
Please also let me know if this is not the right place to ask this question.

Hello!
Definitely the right place to ask. Steve Haan has a Pi-based OpenCTD/Camera/BRUV set up. I don't know where he keeps his code, but you can find him on twitter and ask: https://twitter.com/HaanHouse

Steve Haan has a working PiCTD.
Here is his GitHub Repo:  https://github.com/haanhouse/pictd
I've used some of his Python code to get a working version of a sensor
system using the WhiteBox Labs Tentacle HAT for the Pi and a few Atlas
Scientific Sensors.
Here is my Repo: https://github.com/IanTBlack/FlowThrough
If you are looking for a compact solution, the PiZero would be perfect.
Let me know if you run into any issues. I'd be happy to dust off a Pi and
help out.
Cheers,
Ian Black
Faculty Research Assistant | Ocean Observing Center
College of Earth, Ocean, and Atmospheric Sciences | Oregon State University
Cell:<PHONE_NUMBER>
On Sun, Nov 3, 2019 at 1:16 PM Andrew Thaler<EMAIL_ADDRESS>wrote:

Hello!
Definitely the right place to ask. Steve Haan has a Pi-based
OpenCTD/Camera/BRUV set up. I don't know where he keeps his code, but you
can find him on twitter and ask: https://twitter.com/HaanHouse
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OceanographyforEveryone/OpenCTD/issues/23?email_source=notifications&email_token=AGU4ACMK62DOWP272J7QKBDQR4WQDA5CNFSM4JIM6OAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC55AGY#issuecomment-549179419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGU4ACKGIFY6OW2TK7VVJW3QR4WQDANCNFSM4JIM6OAA
.

Hey @SouthernFriedScientist  and @IanTBlack.
Thanks for the quick replies!
I did find PiCTD on Hackaday.io. I will definitely check out the links you posted before I begin. I am planning to start building one sometime in late-January 2020 so plenty of time to plan everything before that.
@IanTBlack
I am hoping to implement this on a custom stack. Not sure how that would work out yet but I will definitely update when I have it figured out. :) Finally, I want to deploy one in a lake. Atlas Scientific seem to have most of the sensors I am interested in. Thanks for posting about it.
Appreciate the help. Considering there might be no big updates till January, should I close the issue or keep it open ?
Regards
Shubham Garg


Add documentation to the new variant created in summary component

A new card variant is added to the summary component #3009 . Documentation is required for the new example created in this component.
The new example is stored in this path which can be used in the service manual example block :
design-system/components/summary/example-summary-card-grouped.njk
We have added a new parameter called variant which accepts hub or card.
By setting the parameter to card the user will have access to the new card layout displayed in the example.

The new variant doc has been added to the service manual. It will go live with the next release. https://service-manual-en-preview-prod.gcp.onsdigital.uk/design-system/components/summary#card-grouped


KAFKA-9088: Consolidate InternalMockProcessorContext and MockInternalProcessorContext

Mock InternalProcessorContext with a wrapper around EasyMock.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review: @cadonna @mjsax

Thanks for the review @cadonna.
Here some thoughts:

For example, a builder that builds a fully setup EasyMock with reasonable default values that then can be refined by means of the EasyMock API for each test if needed. The approach with the builder pattern to setup the mock as you did seems reasonable to me. However, returning a simple EasyMock mock should suffice. At least, let us try to start with a simple solution and then we see if we need something more complicated.

Just a note:
I added another layer on top of the EasyMock API because if we set expected answers first we won't be able to change it later.

Also to set the behaviour with functions instead of values seems too complicated to me. Maybe there are reasons for it that I do not see.

"with values" I guess you mean with EasyMock IAnswer<? extends T> because if you mean with value of type T we cannot use EasyMock Capture<P>s, hence it means that we cannot access to method parameters.
I understand that functions seem too complicated and I've tried to avoid them.
Using values directly has these:

advantages:

Easy

disadvantages:

EasyMock Capture<T>s  have to be shared between the Builder and the client.
When a client needs to override the default behavior in some cases it should build multiple objects and set multiple answers. (an example below)

Using functions has these

advantages:

A client has captured parameters as parameters of the function and we can just use it.

disadvantages:

Complicated

Below some examples:
Changing the behaviour of the method getCache():

with functions will be:

// ...
.setGetCache(new MockInternalProcessorContext.IPCFunction<ThreadCache>() {

   private ThreadCache threadCache;

   @Override
   public IAnswer<? extends ThreadCache> apply(final InternalProcessorContext internalProcessorContext) {
       return () -> {
           if (threadCache == null) {
               threadCache = new ThreadCache(new LogContext("testCache "), 1024 * 1024L, internalProcessorContext.metrics());
           }
           return threadCache;
       };
   }
})
// ...

with values will be:

// ...
final StreamsMetricsImpl streamsMetrics = createMetrics();
final ThreadCache threadCache = new ThreadCache(new LogContext("testCache "), 1024 * 1024L, streamsMetrics);
// ...
.setMetrics(() -> metrics)
.setGetCache(() -> threadCache)
// ...

If one of setMetrics(metrics) and setGetCache(threadCache) won't be called the mock will be in an inconsistent state since it uses different metrics objects.
To force clients to pass both we can have methods that accepts both: setMetrics(metrics, threadCache) and setGetCache(threadCache, metrics).
Changing the behaviour of the method forward(K key, V value, To to):

with functions will be:

// ...
.setForwardKeyValueTo((internalProcessorContext, keyCapture, valueCapture, toCapture) -> () -> {
        toInternal.update(toCapture.getValue());
        results.add(new KeyValueTimestamp<>(
                keyCapture.getValue(),
                valueCapture.getValue(),
                toInternal.timestamp()));
        return null;
})
// ...

with values will be:

// ...
// get captures
K keyCapture = builder.getKeyCapture();
V valueCapture = builder.getValueCapture();
To toCapture = builder.getToCapture();
builder.setForwardKeyValueTo(() -> {
        toInternal.update(toCapture.getValue());
        results.add(new KeyValueTimestamp<>(
                keyCapture.getValue(),
                valueCapture.getValue(),
                toInternal.timestamp()));
        return null;
})
// ...

Just a note: the second solution with values forces us to have all captures to the scope of the class.
Which is the best solution?

Unit tests to test the mock are needed.

I didn't test it because there are no tests for InternalMockProcessorContext and MockInternalProcessorContext classes, but I understand that they are needed.

The PR is quite huge. Please split the PR in multiple PRs. For example, one PR could contain the mock and its unit tests, multiple other PRs can refactor the unit tests to use the new mock, and the last PR deletes the old mocks that are not used anymore.

When we decide if the Builder class has to work with values or functions  I'll work on this.

Small PRs are easier to review and thus reviews are better, which leads to better code.

Agree.

I hope my review does not discourage you. That was not my intention.

Don't worry.

@ableegoldman @vvcephei could you please also take a look at this PR?

Hey all, I've left a comment on the Jira, since my feedback is almost more about the ticket itself than this specific PR: https://issues.apache.org/jira/browse/KAFKA-9088?focusedCommentId=16987478&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16987478


VulkanRT-Installer.exe missing ASLR

I downloaded latest Vulkan runtime installer
and tested it with Microsoft binskim tool:
BinSkim.exe analyze VulkanRT-<IP_ADDRESS>-Installer.exe -verbose > out_SDK_1_1_82_1.txt
It shows following security issue:

VulkanRT-<IP_ADDRESS>-Installer.exe: error BA2009: 'VulkanRT-<IP_ADDRESS>-Installer.exe' is marked as DYNAMICBASE but relocation data has been stripped from the image, preventing address space layout randomization.

I do not see this message in locally built installer using Vulkan-Tools winrt sources.
Is this installer executable additionally stripped before being uploaded to LunarXchange?

Does the runtime installer you built yourself run if you enable system wide ASLR (address speace layout randomization) on your OS? As I recall, we had a problem where systems that mandated ASLR couldn't run the installer. I don't remember what our solution had been, but it is possible that you're right. If your build does run fine with system-wide ASLR, then we might need to see what we're doing differently and change it. If it doesn't run with system-wide ASLR, then we'd need to solve that problem in order to make other changes.

Sorry for delay, I was offline.
Your correct, my locally compiled installer is not launching when system wide ASLR is enabled.
This is strange for me, I would expect opposite (since "relocation data has been stripped from the image").

It looks like ASLR is not working at all.
Both publicly available installer:

And compiled by me (with relocation not stripped)

All load exe image to 0x400000.
It is the same if I globally enable ASLR and disable it. (But my exe is crashing when mandatory ASLR is enabled).
Public installer have stripped ".reloc" section so it will not be rebased in my understanding.
I don't know why locally compiled is not rebased.

I think that reason for crash (and ASLR not working in any case) is that .rsrc section overlaps .reloc section (See Raw Data pointers and sizes).

I think that something in NSIS_Security.patch should be added, so sections will not overlap.

Is there a remaining use of VulkanRT-Installer.exe such that this issue remains relevant?
Modern IHV display drivers have stopped using VulkanRT-Installer.exe.  At least this is true of one of the three Windows IHVs shipping Vulkan. I assume it is true of the other IHVs too.
If the only remaining use of VulkanRT-Installer.exe is the Vulkan SDK, then is that sufficient concern to keep the issue open for only the Vulkan SDK?

With the next windows SDK release, the VulkanRT-installer is removed from the windows SDK. The windows SDK will still install vulkaninfo but not the Vulkan loader.
The VulkanRT installer will still be available for a separate download, but it is commented that most people do not need to install it but rather get their Vulkan Loader from IHV driver updates.

Should I close this issue since it has such a small use case then?

Modern IHV display drivers have stopped using VulkanRT-Installer.exe. At least this is true of one of the three Windows IHVs shipping Vulkan. I assume it is true of the other IHVs too.

It is true for the other IHVs as well. So the remaining use case for the VulkanRT-Installer is really small. I think it is OK to close it.


[SAC-269][CORE] Upgrade Atlas version to 2.0.0

What changes were proposed in this pull request?
This patch proposes upgrading Atlas version to 2.0.0 which is new major version of Atlas.
This patch also excludes unnecessary dependencies which unintentionally pull commons-configuration 1.6 - maven somewhat works unwanted and assembly jar unintentionally contains commons-configuration 1.6. This patch fixes the case.
How was this patch tested?
Existing UTs, manually tested with Apache Spark 2.4.3 & Apache Atlas 2.0. Model initialized with official spark model in Atlas (not included in any official release yet)
https://github.com/apache/atlas/blob/master/addons/models/1000-Hadoop/1100-spark_model.json

query

val sourceTopics = Seq("sparksource1batch", "sparksource2batch")
val sourceTopics2 = Seq("sparksource2batch", "sparksource3batch")

val customClusterName = "custom_cluster"

val df = spark.read.format("kafka")
  .option("kafka.bootstrap.servers","localhost:9027")
  .option("subscribe", sourceTopics.mkString(","))
  .option("kafka.atlas.cluster.name", customClusterName)
  .option("startingOffsets", "earliest")
  .load()

val assignForDf2 = """{"sparksource2batch": [0, 1, 2, 3, 4], "sparksource3batch": [0, 1, 2, 3, 4]}"""

val df2 = spark.read.format("kafka")
  .option("kafka.bootstrap.servers", "localhost:9027")
  .option("assign", assignForDf2)
  .option("startingOffsets", "earliest")
  .load()

df.union(df2).write.format("kafka")
  .option("kafka.bootstrap.servers", "localhost:9027")
  .option("topic", "sparksinkbatch")
  .save()

snapshots

I'll merge first given Travis build passes, as I found SAC failed to work with Atlas 2.0.0. We can do post-review as a follow-up patch.


Add collection FractalCube

Add collection FractalCube

Please let your dev to check if the json file comply with json fomat. and fix the error in screenshot 2. @FractalCubes


Understanding Unit, Integrated, and End-to-End Testing by Building React Components and Testing them with Cypress and React Testing Library.

Proposed title of article
Learn Unit Testing, Integrated Testing, and End-to-End Testing by Building React Components and Testing them with Cypress and React Testing Library.
Proposed article introduction
There are different testing techniques and frameworks in the JavaScript Ecosystem. However, each of them is use for different purposes and satisfy different needs. In this article, I will be creating different live scenarios and building different React components to demonstrate how Unit, Integrated, and End-to-End testing work with Practical approach using React Testing Library and Cypress as the testing technologies.
Key takeaways
By the end of this tutorial, a reader will be able to understand:
-What testing is and why it is important.
-Where to use each of the testing techniques and the appropriate framework.
-How to write test and structure the testing folders and files.
Article quality
This article will cover a broad range of concepts on application testing with an engaging and practical approach. It will begin with the generic techniques before delving into more specific ways of testing a JavaScript applications using react app as a case study.
References
-https://www.cypress.io/
-https://testing-library.com/docs/react-testing-library/intro/
-https://reactjs.org/docs/testing.html
Conclusion
Templates to use as guides

Hi @Moscode
Could you please expand upon how your content will differ from what is already available through the FreeCodecamp website and documentation? We lean towards content that offers an original viewpoint/approach around programming-centric topics.

Hello @LinusMuema, thanks for the question.
On FreeCodecamp website and documentation, testing topics were covered with more emphasis on the theoretical concepts and the practical aspect were done using disjointed react components. However, in this article I will be focusing on building a project - Information management app, and showing a more practical approach to testing it using the different Testing Techniques with these two technologies: Cypress and React Testing Library.
Thank you.

Hi @Moscode
Make sure to capture your originality well as the article may be also be closed in the plagiarism check stage. Otherwise, topic approved :rocket:

I will. Thank you.

Just wanted to follow up on this topic, as we will be clearing up the queue where possible.
Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍


Add support for pinecone vector DB

@hwchase17 Hey, not sure this is usable now with Pinecone?
Hesitated to create an issue for this
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'text/plain; charset=UTF-8', 'date': 'Wed, 11 Jan 2023 16:36:26 GMT', 'content-length': '131', 'x-envoy-upstream-service-time': '2133', 'server': 'envoy'})
HTTP response body: The index exceeds the project quota of 1 pods by 1 pods. Upgrade your account or change the project settings to increase the quota.

However I have given an existing Pinecone index
from langchain.docstore.document import Document
from langchain.vectorstores.pinecone import Pinecone
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores.faiss import FAISS
from langchain.text_splitter import CharacterTextSplitter
from langchain import OpenAI, VectorDBQA

o = OpenAIEmbeddings()
p = Pinecone(index, o.embed_query, "content")
p.from_documents(
    documents=[
        Document(
            page_content=e.metadata["content"],
            metadata=e.metadata,
        )
        for e in response.matches
    ],
    embedding=o
)

hmm looks like an issue in your pinecone account?

langchain is trying to create a new index while I passed an existing one (and of course it fails because free plan is limited to one index)


Add state delta and transaction index to TransactionReceipt

Per Tal on today's design review call. This is also useful to be able to see in a block explorer: one wants to know not just that one's tx was executed, but also what state changes it caused.
Transaction index is either the index of a tx within a layer (in order of execution, based on output of consensus), or else a global "serial number" of a tx (same thing but across all layers since genesis).
State delta will require some thought. For simple coin tx, it's a list of {accountId: balance change}, as well as the counter (nonce) change for the sender's account. For a smart contract tx, it can additionally include updates to state for one or more smart contracts. For a "create contract" tx, it will also include an update to the newly-created contract address's code.

@avive you also added something like, a stream of the inputs to the STF in order - do you think that should be added too, or is the above enough?

Aren't we talking here about 2 distinct things?

The index of the tx in the mesh - not sure how is this useful, as blocks are sorted in a determinsitic way in a layer, and transactions are sorted determinetlcay in a block, the should return this implicit order when it returns a layer contents for exploers.
The filtered list of transactions which is input to an STF in a layer. I think we should def add it. This should be the same list of transactions that an STF in layer n gets as input. Useful for exploers as well.

If you are okay with this then I can go ahead and 2 as a new global state method. A node can compute this same way it needs to compute the list to execute an STF from the mesh and apply the same filters (if any).

I think @tal-m was referring to the latter, the STF input, rather than to mesh data. It may not be immediately clear from the set of transactions in the mesh which order they were applied (especially when the same tx appears multiple times). (Tal please correct me if I misunderstood you.)
So yes I think we are all on the same page here.
The state delta is definitely separate. I think both of these belong in global state.

I think we are on the same page here. I can work on this feature.


slim.conv2d_transpose()

System information

OS Platform and Distribution: arm aarch64 cortex A A54:
TensorFlow installed from (source or binary):  1.12.0 cross-compiled from source
TensorFlow version (or github SHA if from source): tensorflow-lite/benchmark_model

Provide the text output from tflite_convert
using command 'TOCO' converted model sucessfully, but occur segment fault when run benchmark_model --graph=.tflite( is my model name)
# Copy and paste here

Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

sorry, type error, my plantform is cortex A53

@SophieChang66 ,
Can you please provide a standalone code to reproduce the issue ?Thanks!

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

@SophieChang66 ,
Any update on the issue?Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


 Fixes #3544.

Thanks


Property not updating as expected in Modal

I am a React user, and am having trouble understanding how and when values get updated in svelte. I'm just trying to pass a value into a component updated via a user action. Here are the basics of my code:
<script>
import {Modal, ModalBody} from 'sveltestrap';

let currentPollType = null;

const myPoll = {
    type: 1,
    // ...
};

const onClickBroadcast = function(e, poll) {
    console.log(poll.type);
    currentPollType = poll.type;
    console.log('currentPollType', currentPollType);  // set correctly here
};
</script>

<button
    type="button"
    class="btn btn-primary btn-sm"
    on:click={(e) => onClickBroadcast(e, myPoll)}>
    Broadcast
</button>

<Modal isOpen={true} size="lg">
    <ModalBody>
        {currentPollType}
    </ModalBody>
</Modal>

So, what am I doing wrong here? The currentPollType prop is always null in the child component. If I put <PollResponses>
outside the Modal, it updates as expected.
StackOverflow issue: https://stackoverflow.com/q/74868657/173630

Had a similar issue, it was throwing this warning during build.

Was able to fix it; it seems to be working and behaving fine after adding this line to /node_modules/sveltestrap/src/Modal.Svelte but I'm not confident enough to file a PR for it and could use a second opinion or two before doing so.


wise.js plugin not checking for wiseURL setting

Describe the bug
Setup is dedicated hosts for viewer+wise each. In the wise.js plugin (line 23, running on viewer node, repo location: arkime/capture/plugins/wise.js), it never checks for a wiseURL setting in the config, only wisePort+wiseHost.

The wise docs ( https://arkime.com/wise#wiseso-settings ) state that wiseURL is the recommended setting since 1.5.0 and that it will fall back on wisePort+wiseHost only if that is not set.
This leads to the (minor) issue of our logs being filled with redundant errors:

Beyond that, I'm unsure if the lack of connection to the actual remote wiseService server is affecting the performance and usefulness of the wiseService as a whole.
Elasticsearch version: 7.10.2
Arkime/Moloch version: 3.0.0
OS name and version:  CentOS 7, kernel 3.10.0-1160.11.1.el7.x86_64
How was Arkime/Moloch built/installed: RPM
Provide logs, stack traces and steps to reproduce: See above

thanks


ChangeSet fails to create when CloudFormation requires CAPABILITY_NAMED_IAM

https://github.com/badsyntax/github-action-aws-cloudformation/blob/4b5155352c1aed34b796766792ff5d4b4199a4ab/src/cloudformation.ts#L207

Thanks for the report. Here's some docs on this: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-cloudformation/interfaces/createchangesetcommandinput.html#capabilities
I think capabilities should be user defined as an action input. Does that align with your understanding?
I will introduce a new action input to configure this behaviour.

Yeah if we can pass this as a parameter input that would be better I think

This change is released with v1.0.2
You can now configure the required capabilities, like so:
https://github.com/badsyntax/github-action-aws-cloudformation/blob/43a944a4f7c3ee74e526f6616d95abcccbef3367/.github/workflows/test-build-deploy.yml#L69
Docs here: https://github.com/badsyntax/github-action-aws-cloudformation/blob/master/README.md#action-inputs
Let me know if this solves things for you.

Works great, thank you!

Thanks for verifying.


Disabling objects

The note on the page says to not run the disable-csuser command and clear the msRTCSIP attributes for the on-premises users. How are you supposed to completely decomission the Skype for Business environment if you are not supposed to disabled the users? The topology builder will not allow you to remove a pool if users and other objects are still associated to a pool.

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

ID: 3ce37c7f-6f13-8442-bfdb-47065a7339b3
Version Independent ID: 9a2b5082-369d-7c04-4fa8-81c1440ea119
Content: Disable hybrid to complete migration to the cloud - Skype for Business Hybrid
Content Source: Skype/SfbHybrid/hybrid/cloud-consolidation-disabling-hybrid.md
Product: skype-for-business-itpro
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@dewaltk @Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Fix a flaky preview2 test

Found in CI for #7099 this commit updates the durations used in the resolves_immediately and never_resolves tests. For immediately resolving it should be ok to wait for a generous amount of time since the timeout is only a protection against tests hanging. For never_resolves it should be ok to wait a short amount of time and any failure there will show up as a spurious failure.

This was not successful as this failure indicates. That failure is a commit based on the merge of this PR, and the same test failed. I will keep investigating.

Ok I think I found the real cause in https://github.com/bytecodealliance/wasmtime/pull/7144


Don't bother writing projects file if not 200 response

Quick hack to prevent  the projects.json getting overwritten if the server responds other than 200

Thanks a lot!


hi man i need help to this problme plis

What is your question?

I am very dizzy with this error plis help

Probably you need to use old version of openfl or something
I don't know

can you send me the opengl link of the old version ?

Alright
So, just install a old version:
haxelib install openfl 9.1.0

put this as a help wanted tag.


Release a new version and bump Bower version in coordination

All of the changes after commit https://github.com/kurko/ember-localstorage-adapter/commit/d64cf02c764cc7d7fb9cb91e63d7ca05160f9db3 are not gotten when running bower install ember-localstorage-adapter because a new version has not been released.  So while the README.md says that this adapter is "Compatible with Ember Data 1.0.beta.16" the code required to be so is not actually installed.

Will do it tonight cc https://github.com/kurko/ember-localstorage-adapter/pull/107#issuecomment-88502439

ping

:+1:

Release 0.5.3 is out :)
Sorry for the delay.


allows overriding the Node runtime for lambda, closes #56

remove "runtime" from Omit in functionProps
defaults runtime to lambda.Runtime.NODEJS_12_X

I don't know what is failing on the test, but I guess something checks for the runtime. the PR isn't complete, I need to remove the omitted 'runtime' from other places as well like executor

Fixes: https://github.com/punchcard/punchcard/issues/56

Looks like our tests use inline code to simplify which are breaking when we default to node 12. We should update the tests to use an asset.
FAIL test/lambda/test.function.js
  ● Function › should install clients in context

    Inline source not allowed for nodejs12.x

      84 |
      85 |     this.resource = scope.chain(scope => (props.functionProps || Build.of({})).map(functionProps => {
    > 86 |       const lambdaFunction = new lambda.Function(scope, id, {
         |                              ^
      87 |         runtime: lambda.Runtime.NODEJS_12_X,
      88 |         ...functionProps,
      89 |         code: Code.tryGetCode(scope) || Code.mock,

I'm reverting changing the default runtime, just leaving the possibility to override it

Closed by: https://github.com/punchcard/punchcard/commit/91df5aeaeeb66609d64f8b491dac032b0094d8c4


fix(k8s/application): validate load balancer ports inputs

Close #4369

I can't really review that one until the CI Merging issue is solved.

/azp run


Derestrict rusqlite dependency version

This commit removes depending exactly on rusqlite 0.25.3 (which has been yanked btw).
From quick testing, depending on the latest version (0.27.0) works too, so alternatively, you could change the version to be 0.27.0 rather than this commit's suggestion.
As an alternative, running cargo upgrade to update all dependencies to latest versions, it seems like everything builds fine (and the tests seem to produce some minor fixable suggestions), so maybe if making a new release, it might be good to update all dependencies. Happy to make a separate PR if you think it would be useful.
Thanks for this project btw! :)

I think I prefer having a specific version so to avoid possible breakage in the future. Thanks for making me aware of this.

Sounds good thanks, closing this PR


How do I force assign a language to render?

I am using  to make it render as tex language. However, I find the explicit class is only a FALLBACK option, it will try to detect the language first, which gets the wrong language. For example, I got  (or bash) after loading hljs. The inner content is short and contains Chinese characters. How do I force assign a language to render?

Likely you don't have the whole compiled version of hljs downloaded. It comes in multiple language packs.

Agree, I haven't seen this behavior.  Anytime I override the override sticks.

Closing because of age and non-response. [cleaning out old issues]
If this is still an issue, please let us know and we're happy to reopen.


Series Data services on the API Business Hub

On step3 when I Execute the example I get below message. IT appears that this API is no longer available. I would like to request to update the Tutorial accordingly. Thanks.
{
"code": "Service_Unavailable",
"message": "This API is no longer available and replaced by SAP Predictive service - Business Services, Outliers Service"
}
Response h

Hi @AbhijitNilegaonkar
Let me check that, as there has been some API changes recently. The endpoint might have change.
I'll get back to you soon.
@bdel

Hi @AbhijitNilegaonkar
I was recently informed that the Time Series Changepoint Detection API has been finally decommissioned. Therefore, I will decommission this tutorial as well.
I'm sorry about the inconvenience,
Best Regards
Abdel


Pagination in allPosts is working

Pagination functionality is working so that 10 posts per page under the allPosts category are displayed at a time. Button show/hide functionality is working as expected. Buttons needs to be styled.

Awesome work on the pagination. :shipit:


Undesired double indent

Issue Type: Bug
Unpredictable indent behavior - tab should normally give 4 spaces, but suddenly tab makes 8 spaces even if editing a file which has been created with 4 spaces per indent. Workaround: re-indent every single line of script to bring it to 8 spaces. Can't do this with a larger script.
Extension version: 2020.3.69010
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:38:38.248Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.85GB (3.16GB free)

Process Argv

Screen Reader
no

VM
0%

Is probably caused by the setting "text editor":"detect indentation". I unchecked this, and everything is normal. I guess if for some reason I have a double indent in the first line, the problem is triggered. So for now I'm fine. Thanks.


html2Canvas not printing chart properly in IE 11 and Doubling legend text in chrome

Hi,
I am facing two issues with html2canvas when print a fusion svg chart.
Issue 1:-
In IE 11 it doesn't print properly, screen is attached.
Issue 2:-
In Chrome the legend text are doubling itself.
These are the files which I have used so far.
html2canvas-5.0.js
html2canvas.svg.js
rgbcolor.js
StackBlur.js
canvg.js
IE 11:-

Chrome :-

Text doubling issue us fixed.
I commented out
var size = container.parent.css('fontSize');
in html2canvas.js
and the issue is fixed.
but IE 11 issue is still there, please help to fix that.

I am also experiencing a similar issue screenshoting a bar graph. I got it working in Chrome and Firefox but IE renders incorrectly.

Caused by an issue in html2canvas generating the text elements twice.
Apply this patch to fix until this pull request is incorporated in a html2canvas release:
NodeParser.prototype.getChildren = function(parentContainer) {
return flatten([].filter.call(parentContainer.node.childNodes, renderableNode).map(function(node) {
var container = [node.nodeType === Node.TEXT_NODE && !(node.parentNode instanceof SVGElement) ? new TextContainer(node, parentContainer) : new NodeContainer(node, parentContainer)].filter(nonIgnoredElement);
return node.nodeType === Node.ELEMENT_NODE && container.length && node.tagName !== "TEXTAREA" ? (container[0].isElementVisible() ? container.concat(this.getChildren(container[0])) : []) : container;
}, this));
};

@791182746 which PR do you refer to, this one?


Fix demo link

Coverage remained the same at 86.505% when pulling 99cae8ba432afdf0f14db304c66e7e29a9c659a4 on jacebrowning:patch-1 into 1f9c49800c9589fa429964420fec12fb59ac533e on zostera:master.

@jacebrowning thanks, merged


Why can't webui find the models I downloaded?

I downloaded 3 llama3.1 models through ollama, and then installed open webui through docker. Why can't webui find the models I downloaded?

Please ensure that the UI is correctly connected to ollama


Add confirmation before converting to SDK-style project

This adds a confirmation before updating a project to be SDK-style so that the user knows it won't display correctly in the SSDT solution explorer after conversion (SSDT does not yet support displaying files included by the default **/*.sql glob).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 8 (12.5%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 42.362%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/controllers/projectController.ts
0
7
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
27497

Relevant Lines:
60679

💛  - Coveralls

Merging this.


docs: use InlineNotification's in all tutorials

@lee-chase @cal-smith I cleaned up all of the tutorial notes and pro tips as InlineNotifications. Can you review your tutorials to make sure everything still looks good?

@mattrosno one thing that does look more off than before is the code snippets and images busting out of the column used for the other text content.

@lee-chase I agree, code snippet hangs into the gutter and the InlineNotification does not, giving this a jarring/jagged effect. I'll open an issue in the Gatsby theme to see if this is working as intended.


Remove suggestion of sync.Map from Parallel Letter Frequency

In instructions.append.md for parallel-letter-frequency, we have a link for the docs of sync.Map.
Some students actually read this and get the idea they should use a sync.Map. This is terrible advice for this exercise because:

Even the docs discourage the use of this map, and mention that when types for the map are known, a regular and properly typed map + mutex is better:

The Map type is specialized. Most code should use a plain Go map instead, with separate locking or coordination, for better type safety and to make it easier to maintain other invariants along with the map content.
Source: sync.Map

Using a map and protecting it with locks (either by using sync.Map or a regular map + mutexes) is not the best way to solve the exercise. It's best to avoid lock contention altogether by letting each goroutine have its own map and communicate these maps through channels.

My suggestions here are:

Remove the link to the sync.Map
Add more links about waitgroups, channels and goroutines. Some students find this article very useful and directly applicable to the exercise: Synchronizing Go Routines with Channels and WaitGroups
, maybe we can include it too.

That's true. Firstly, I was trying to use sync.Map but it wasn't obvious how to do it and I failed.
For me also several articles were helpful:

https://golangbot.com/buffered-channels-worker-pools/
https://www.digitalocean.com/community/tutorials/how-to-run-multiple-functions-concurrently-in-go
https://www.golang-book.com/books/intro/10

Sure! Thanks for taking interest in the issue. Yeah, I think those links are good, feel free to include them.


Apple silicon support

Is your feature request related to a problem? Please describe.
The build script assumes that there is a labeled tar.gz for the architecture of the machine on the releases page in the janet project. Since one doesn't exist for mac-os arm this fails to download anything.
Describe the solution you'd like
When there is no pre-built tar, download the source code and build it from there.

@TravonteD Please provide a command you use to install Janet and its output. asdf-janet shouldn't take into account host's architecture, because it downloads source code from https://github.com/janet-lang/janet/archive/* and compiles it on target machine. Releases are also downloaded as a source code archives based on repository tags. For example currently asdf install janet latest should take archive from https://github.com/janet-lang/janet/archive/v1.19.2.tar.gz.

Apologies for the the late reply, here is the raw output.
* Downloading janet v1.19.2...
~/.asdf/downloads/janet/1.19.2 ~
~/.asdf/downloads/janet/1.19.2/jpm ~/.asdf/downloads/janet/1.19.2 ~
~/.asdf/downloads/janet/1.19.2 ~
~
asdf-janet: Expected /Users/traydennis/.asdf/installs/janet/1.19.2/bin/janet to be executable.
asdf-janet: An error ocurred while installing janet 1.19.2.

The issue seems to be that the binaries don't exist in the directory.  Running make from within the directory produced the executables libraries etc. in the build directory.

Judging from output Janet isn't even compiled for some reason. make isn't involved in build process. meson generates files for ninja instead https://github.com/Jakski/asdf-janet/blob/3eefdfa010c7846c4e8d14ce827b62d158654ec0/lib/utils.bash#L68
I've added continuous integration for latest MacOS(https://github.com/Jakski/asdf-janet/commit/3eefdfa010c7846c4e8d14ce827b62d158654ec0), but I couldn't replicate this issue in GitHub Actions. You can try installing dependencies brew install gcc ninja meson curl and then repeat installation with asdf. Unfortunately I don't own Apple Silicon and can't verify installation locally.
If someone's having the same issue with Apple Silicion and have some idea what can be wrong, then please share information in this issue.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

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


UnboundLocalError: local variable 'target' referenced before assignment

Hi!
I am trying to connect to my Cisco C1000 switch but without success.
Every time I try to connect I get the following traceback:
$ python3 onyx.py -i

Target > <IP_ADDRESS>
Username > user
Password > ******
Enable # **********
Assessing device 1 out of 1

Connecting to target Cisco router <IP_ADDRESS> via SSH...
SSH connection established to <IP_ADDRESS>:22
Interactive SSH session established
Traceback (most recent call last):
  File "/home/shinji/develop/onyx/onyx.py", line 141, in <module>
    onyx()
  File "/home/shinji/develop/onyx/onyx.py", line 67, in onyx
    if arguments().type is None and 'type' not in target.get(device_key, {}):
UnboundLocalError: local variable 'target' referenced before assignment

(I added a "verbose = True," line to ssh.py to get the SSH messages)
Onyx 2024.1.0
Python 3.10.12
netmiko-4.3.0
paramiko-3.4.0
I had some warnings installing the requirements:
Discarding https://files.pythonhosted.org/packages/12/bb/f622a8a5e64d46ca83020a761877c0ead19140903c9aaf1431f3c531fdf6/evdev-1.7.1.tar.gz#sha256=0c72c370bda29d857e188d931019c32651a9c1ea977c08c8d939b1ced1637fde (from https://pypi.org/simple/evdev/) (requires-python:>=3.6): Requested unknown from https://files.pythonhosted.org/packages/12/bb/f622a8a5e64d46ca83020a761877c0ead19140903c9aaf1431f3c531fdf6/evdev-1.7.1.tar.gz#sha256=0c72c370bda29d857e188d931019c32651a9c1ea977c08c8d939b1ced1637fde (from pynput->maskpass>=0.3.7->-r requirements.txt (line 1)) has inconsistent name: filename has 'evdev', but metadata has 'unknown'
and
Discarding https://files.pythonhosted.org/packages/f3/0c/c87b141250a650ee53d4e9957e905b17c144cda6dc4187cbe89a641a1b34/evdev-1.7.0.tar.gz#sha256=95bd2a1e0c6ce2cd7a2ecc6e6cd9736ff794b3ad5cb54d81d8cbc2e414d0b870 (from https://pypi.org/simple/evdev/) (requires-python:>=3.6): Requested unknown from https://files.pythonhosted.org/packages/f3/0c/c87b141250a650ee53d4e9957e905b17c144cda6dc4187cbe89a641a1b34/evdev-1.7.0.tar.gz#sha256=95bd2a1e0c6ce2cd7a2ecc6e6cd9736ff794b3ad5cb54d81d8cbc2e414d0b870 (from pynput->maskpass>=0.3.7->-r requirements.txt (line 1)) has inconsistent name: filename has 'evdev', but metadata has 'unknown'
Any ideas?
Thorsten

onyx is starting if I leave the interactive mode and define my system inside the target.json file.
But than I encountered a new problem. Although I have given the "-o c100_rerport.html" parameter, the script states "HTML report has been successfully exported as 2024-07-03_18-15-06-t1.html" and the report has been written to the standard target file "report_modules/reports/2024-07-03_18-15-06-t1.html".:(

Hey Thorsten,
I'll look into this a bit more later, but you are right. It looks like the issue is being caused by the target.json file or the lack thereof. The script is expecting that "target" variable, which is obtained after parsing the target.json file -- in your case would not exist, throwing you that error.
As for the HTML filename, this is an expected behavior. When running the non-interactive mode, the '-o' option is basically being overwritten and it will automatically create unique HTML filenames (using the datetime.now() and the device key value, which is t1 in your case) to avoid overwrites when assessing multiple routers.
I will have to modify the script to function even without the target.json file when using interactive mode asap. For now you can either run it in non-interactive mode or try to download the script prior to yesterday's commit. For the latter, the non-interactive mode is not yet available.
Best regards,
Tyrone

Hi Tyrone,
a taget.json file exists because it is part of your yesterday's commit. ;)
It seems that there is a problem with "target" when using the interactive mode.
But I can live with it if I have to enter all the information in the targets.json file, because I will have to audit more than one Cisco switch.  :)

No worries, Thorsten. :)
Also, I'd like to note that the script was designed to audit Cisco Routers, specifically those that are running IOS 15 and IOS 17. I'm not too sure how it will do in auditing C1000 switches.

I will report ;)
But I took a quick look inside the "Cisco IOS 15 (4.1.1)" benchmark und there doesn't seem to be anything in there that wouldn't also work for switches.

The issue should now be fixed :)
There was an issue in the if-else statement when checking whether to automatically check for the device type/version.


Exception when the table is being shown

Hi
I have used TableView version 0.8.9 in my app.
When the table is starting to show rows, after some rows the below exception is arises:

java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getLeft()' on a null object reference
at com.evrencoskun.tableview.listener.scroll.HorizontalRecyclerViewListener.renewScrollPosition(HorizontalRecyclerViewListener.java:260)
at com.evrencoskun.tableview.listener.scroll.HorizontalRecyclerViewListener.onInterceptTouchEvent(HorizontalRecyclerViewListener.java:149)
at androidx.recyclerview.widget.RecyclerView.findInterceptingOnItemTouchListener(RecyclerView.java:3151)
at androidx.recyclerview.widget.RecyclerView.dispatchToOnItemTouchListeners(RecyclerView.java:3122)
at androidx.recyclerview.widget.RecyclerView.onTouchEvent(RecyclerView.java:3283)
at android.view.View.dispatchTouchEvent(View.java:9187)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2644)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2351)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2651)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2366)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2651) ....

The layout file for my table cell is just a textview inside a linear layout. Additionally the code for binding the cell is:
@Override
public void onBindCellViewHolder(@NonNull AbstractViewHolder holder, @Nullable Cell cellItemModel, int columnPosition, int rowPosition) {
    MyCellViewHolder viewHolder = (MyCellViewHolder) holder;
    viewHolder.setData(cellItemModel);
}

Do you know where is the problem?

Hi @ehsanTC
To be able the test your case, Could you create this problem in the sample application?

Unfortunately this happens very often.
TableView sometimes does not restore cells when you navigate back from other fragment (on top of fragment with table) or swap between pages in ViewPager, when ViewPager's Page is also fragment with the table.
So you return to the fragment with the TableView, it restores RowHeaders, ColumnHeaders, Corner, but not the cells. Cells are empty list. And when you touch that empty list - your crash with
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getLeft()' on a null object reference
        at com.evrencoskun.tableview.listener.scroll.HorizontalRecyclerViewListener.renewScrollPosition(HorizontalRecyclerViewListener.java:260)

Still can scroll Headers tho.
http://prntscr.com/w0mu8p
We still investigate why exactly this happens and how to fix it

Hi @ehsanTC @KoTius The issue is related to how the viewpager2 manage with fragments, i.g. when you disable the TabLayoutMediator smoothScroll option the viewpager2 stop to recreate the fragments and the TableView doesn't restore the data, to prevent this behaviour you can call adapter.notifyDataSetChanged() in the fragment onResume() method

Hi @ehsanTC @KoTius The issue is related to how the viewpager2 manage with fragments, i.g. when you disable the TabLayoutMediator smoothScroll option the viewpager2 stop to recreate the fragments and the TableView doesn't restore the data, to prevent this behaviour you can call adapter.notifyDataSetChanged() in the fragment onResume() method


[WIP] Added /Qspectre to MSVC compiler of the native simulator

This is to enable code generation mitigations for speculative execution side-channel attack (Spectre) vulnerabilities.

Superseded by #193


feat: check for multiple C format cfgs incl clang

This commit checks to see if a user has supplied more than one C-style
language formatter configuration file in blt_add_code_checks,
including CLANGFORMAT_CFG_FILE, which was previously excluded from
this check.
Prior to this commit, BLT returned a fatal error only if
ASTYLE_CFG_FILE and UNCRUSTIFY_CFG_FILE were supplied to
blt_add_code_checks. However, invocations supplying one of these
arguments plus CLANGFORMAT_CFG_FILE also seem undesirable, and the
documentation seems to imply that a check should be done to disallow
these combinations as well. Both of these observations motivate the
change in this commit.
I haven't yet added this change to the release notes because I wanted to make sure I wasn't missing some sort of use case for projects that intend to use clang-format plus astyle or uncrustify. Assuming the CMake changes proposed are reasonable, I'm happy to add this change to the release notes.

@kennyweiss Updated RELEASE-NOTES.md. Apologies for the slight trailing whitespace changes; I think that's due to my editor configuration. I can get rid of those changes if you'd like.

The trailing white-spaces are no problem.  Thanks for the contribution! I wil hit the merge button shortly.


Hacktoberfest2022

Fixes #
Changes proposed in PR:

Description:
Files changed:

PR has the following tasks completed:

[ ] Formatted using black
[ ] Successful Heroku build

@Devansh3712

There is no use of this PR, if you want to make one make sure it has significant changes in the actual codebase not just for the sake of making 4 PRs for Hacktoberfest.


Rendering issue when opening multiple times a PlatformView (UiKitView)

When I open multiple times a page that embed a UiKitView (5-10 times) it result in rendering issues. The native UiView is a 3D Map that comes from the VisioGlobe iOS SDK.
Steps to Reproduce

Open multiple times a UiKitView

Target Platform:  iOS
Target OS version/browser: iOS
Devices: Physical Device
flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G103, locale fr-FR)
    • Flutter version 1.9.1+hotfix.6 at /Users/***/Library/Frameworks/flutter
    • Framework revision 68587a0916 (3 months ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /usr/local/share/android-sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • ANDROID_HOME = /usr/local/share/android-sdk
    • ANDROID_SDK_ROOT = /usr/local/share/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.0, Build version 11A420a
    • CocoaPods version 1.7.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • iPhone X de Mattis • f9ea9cada784c4a1f03ba2d869834825405593ef • ios • iOS 13.2.3

• No issues found!

Hello @MattisBrizard !
Thank you for posting an issue.
Can you please also provide some minimal example that can help to reproduce the issue?

Hello @janmoppel !
I tried but can't reproduce it with a simple UIView.

Hi @MattisBrizard
does the issue persist with the last version of flutter?

Hi @VladyslavBondarenko
By "last version of flutter" you mean from stable branch ?

@MattisBrizard
Yes, check please with stable, if it's still the same, would be good if you check with master as well

Hi @VladyslavBondarenko
Tested 3 weeks ago, was still the same on stable and master.

Hi @MattisBrizard
I'm unable to reproduce this issue on iOS 14 using UIKIView

code sample
import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      theme: ThemeData.dark(),
      home: InitialPage(),
    );
  }
}

class InitialPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: RaisedButton(
            child: Text('Open PlatformView'),
            onPressed: () {
              Navigator.push(
                  context, MaterialPageRoute(builder: (_) => Home()));
            }),
      ),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('PlatformView WebView'),
      ),
      body: WebView(
        onWebViewCreated: (controller) {
          controller.loadUrl('https://flutter.dev/');
        },
      ),
    );
  }
}

typedef void WebViewCreatedCallback(WebViewController controller);

class WebView extends StatefulWidget {
  const WebView({
    Key key,
    this.onWebViewCreated,
  }) : super(key: key);

  final WebViewCreatedCallback onWebViewCreated;

  @override
  State<StatefulWidget> createState() => WebViewState();
}

class WebViewState extends State<WebView> {
  @override
  Widget build(BuildContext context) {
    if (defaultTargetPlatform == TargetPlatform.android) {
      return AndroidView(
        viewType: 'webview',
        onPlatformViewCreated: _onPlatformViewCreated,
      );
    } else if (defaultTargetPlatform == TargetPlatform.iOS) {
      return UiKitView(
        viewType: 'webview',
        onPlatformViewCreated: _onPlatformViewCreated,
      );
    }
    // TODO add other platforms
    return Text(
        '$defaultTargetPlatform is not yet supported by the map view plugin');
  }

  void _onPlatformViewCreated(int id) {
    if (widget.onWebViewCreated == null) {
      return;
    }
    widget.onWebViewCreated(new WebViewController(id));
  }
}

class WebViewController {
  WebViewController(int id) {
    this._channel = new MethodChannel('webview$id');
  }

  MethodChannel _channel;

  Future<void> loadUrl(String url) async {
    return _channel.invokeMethod('loadUrl', url);
  }
}

flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-10.0.pre.281, on Mac OS X 10.15.6 19G2021
    x86_64, locale en-GB)
    • Flutter version 1.22.0-10.0.pre.281 at
      /Users/tahatesser/Code/flutter_master
    • Framework revision 511367aa5a (15 hours ago), 2020-09-21 15:33:32 -0700
    • Engine revision 4b8477d115
    • Dart version 2.10.0 (build 2.10.0-142.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.14.1

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 10 (API 29)
    • macOS (desktop)  • macos            • darwin-x64     • Mac OS X 10.15.6
      19G2021 x86_64
    • Web Server (web) • web-server       • web-javascript • Flutter Tools
    • Chrome (web)     • chrome           • web-javascript • Google Chrome
      85.0.4183.102

• No issues found!

Can you please provide your flutter doctor -v with the latest stable and flutter run --verbose logs, and a minimal complete reproducible code sample in a GitHub repository
Thank you

Closed it as it works now.


ScreenShare suport(JS)

We kinda need suport for ScreenSharing in JS.
Should be as easy as adding
inline fun org.w3c.dom.mediacapture.MediaDevices.getDisplayMedia(): Promise<org.w3c.dom.mediacapture.MediaStream> =
    this.asDynamic().getDisplayMedia()
inline fun org.w3c.dom.mediacapture.MediaDevices.getDisplayMedia(constraints: org.w3c.dom.mediacapture.MediaStreamConstraints): Promise<org.w3c.dom.mediacapture.MediaStream> =
    this.asDynamic().getDisplayMedia(constraints)

And
    suspend fun getDeviceMedia(streamConstraints: MediaStreamConstraintsBuilder.() -> Unit): MediaStream {
        val constraints = MediaStreamConstraintsBuilder().let {
            streamConstraints(it)
            it.constraints
        }

        val jsStream = window.navigator.mediaDevices.getDisplayMedia(constraints.toJson()).await()
        return MediaStream(jsStream)
    }

In the JS MediaDevices. So looks very easy for JS.
Soooo:

Does this sound OK?
Can I send a PR with this?
Do we prefer this function only be exposed in JS for the moment or add it to the common interface and use a TODO("Not implemented for this platform yet")?

Sounds great.
Sure, PRs are appreciated.
Screen sharing is implementable in Android and afaik in iOS too. So I think we could add it in common interface with as you described.


Working with remote, blueprint methods should be consistent with transaction

OrientDB 2.0.12
In the documentation, there is a part about transactions and breaking out of acid when working with remote. We assumed that when we don't explicitly execute commands, for example via graph.command, we are save to go.
As it is, this isn't the case. I tried to do some work with indexes, and had to found that internally, the index is backed by a remote query. As such, local changes aren't visible, and the functionality is greatly reduced.
What i would like to have is, that the blueprint methods are consistend with the transaction.
The least would be they are documented to behave otherwise, like it is done with the graph.command. Because else i have to investigated every operation i do with blueprint/gremlin if there is some hidden usage of the remote which isn't consistent with my transaction.

OrientDB works in this way with remote. Check the docs. However this enhancement will be addressed in 3.0.

Assigned to @tglman that requires major remote storage refactoring

Already implemented in 3.0-M2


Create Red.gitignore

Reasons for making this change:
To ignore files generated during tests for Red (using quick-test framework).
https://github.com/red/red/issues/2921
Links to documentation supporting these rule changes:
https://github.com/red/red/blob/master/docs/red-system-quick-test.txt
http://static.red-lang.org/red-system-quick-test.html
If this is a new template:
Red language websites:
http://www.red-lang.org/
http://red.github.io/

@southwolf apologies for the delay in replying to this.
I had a lot of these templates requested, but I couldn't quite figure out the right place for them. I ended up settling on #2857, and you'll see the Red template can now be found at community/Red.gitignore.
Feel free to submit any future improvements to that template, and thanks again for the contribution!


Created BrowserScreen.js for website embedding

I've created a new component called BrowserScreen.js which allows for easy embedding of websites into the app. This component will be particularly useful in the future when we want to display articles in the education forum section.
I've also added this new component to the navigation tab for easy access. Additionally, I've already used the BrowserScreen.js component to embed our class website for senior design into the education section.
Overall, these changes will greatly improve the user experience by allowing easy access to external content within the app, and laying the foundation for future enhancements to the education section.
Please review and merge at your convenience.
Thank you!

Looks good, I only wonder if this works on both iOS and android.
Otherwise, good work!

Getting an issue running the app due to ScreenNames.js on line 9


Remove obsolete function y_intra_mode_to_tx_type_context()

Coverage increased (+0.5%) to 83.441% when pulling ea01a45aab37133bf782778f6d9d941f00ca0c79 on remove_obsolete1 into 3dee7a0fb8b9c601e3316654f66be1f71305519e on master.


fix Fix mysqldb upgrade

If user has database with same name mysql, will introduce problem when doing checkpoint.
Solution:

Add check for this situation, if duplicate, exit and print log info to prevent damage of metadata;
Add fe config field: mysqldb_replace_name to make things correct if user already has mysql db.


Version requirements cause conflict

The current requirement for PHP 3.7 causes conflicts with many newer packages. Please remove it or change to 3.7 - 5.0.

I assume you mean PHPUnit, not PHP?

I do.
On Sat, Dec 12, 2015, 12:26 PM Anthony Ferrara<EMAIL_ADDRESS>wrote:

I assume you mean PHPUnit, not PHP?
—
Reply to this email directly or view it on GitHub
https://github.com/ircmaxell/RandomLib/issues/41#issuecomment-164174392.

--
Woody Gilk
http://about.me/shadowhand

Fixed in master. Will roll a release soon


any plan to release text to speech demo or model?

Hi, Lumina-T2X is a fantastic work, in your paper the text to speech task performs very good, have you guys planning to release the demo or model?

Hi, @OnceJune
Thank you for your question. We have a plan to open-source our Lumina-T2X model (including Image, Video, Audio, Multi-views), but our code is still being organized. Please stay tuned.

We are supporting the generation of music, speech and audio. We will release the training code and checkpoints as soon as possible.