Add CodeQL scanning to APIScan build

PR Summary
This pull request introduces several changes to the .pipelines/apiscan-gen-notice.yml and .pipelines/templates/compliance/apiscan.yml files to incorporate CodeQL scanning capabilities. The most important changes include adding parameters for enabling CodeQL, configuring CodeQL-related variables, and integrating CodeQL tasks into the pipeline.
CodeQL Integration:

.pipelines/apiscan-gen-notice.yml: Added a FORCE_CODEQL parameter to enable CodeQL scanning and set its cadence to 1 hour.
.pipelines/apiscan-gen-notice.yml: Configured variables to enable or disable CodeQL based on the branch or FORCE_CODEQL parameter.
.pipelines/apiscan-gen-notice.yml: Updated the codeql section under globalSdl to use the new CODEQL_ENABLED variable.

Pipeline Task Updates:

.pipelines/templates/compliance/apiscan.yml: Added Codeql.SourceRoot variable to the job configuration.
.pipelines/templates/compliance/apiscan.yml: Introduced CodeQL3000Init and CodeQL3000Finalize tasks to initialize and finalize CodeQL scanning around the build step. [1] [2]

PR Context

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed
- [ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

Add *nix codeQL analysis
disable analysis in other onebranch pipelines.


De-duping issue links w/ reference syntax (#165)

Approved from #165. Had to open a non-forked branch to deploy from chatops.

@tcbyrd thanks for getting this set up. did this get reviewed in a staging environment?

This is now on production! I also added some docs on it here: https://github.com/integrations/jira#link-issues-in-github


Not working on macOS-latest

Run<EMAIL_ADDRESS>[4]
Run curl -L --silent --show-error --fail "https://download.panic.com/playdate_sdk/PlaydateSDK-latest.zip" -o sdk.zip
[5]
  curl -L --silent --show-error --fail "https://download.panic.com/playdate_sdk/PlaydateSDK-latest.zip" -o sdk.zip
[6]
  unzip sdk.zip
[7]
  sudo installer -store -pkg "PlaydateSDK.pkg" -target /
[8]
  cat ~/.Playdate/config
[9]
  echo "root: $PLAYDATE_SDK_PATH"
[10]
  PLAYDATE_SDK_PATH="$(grep -E '^\s*SDKRoot' ~/.Playdate/config | head -n 1 | awk '{print $2}')"
[11]
  echo "PLAYDATE_SDK_PATH=$PLAYDATE_SDK_PATH" >> $GITHUB_ENV
[12]
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
[13]

[13]
Archive:  sdk.zip
[14]
  inflating: PlaydateSDK-1.11.1.pkg
[15]
  inflating: __MACOSX/._PlaydateSDK-1.11.1.pkg
[16]
installer: Package "PlaydateSDK.pkg" does not exist.
[17]
cat: /Users/runner/.Playdate/config: No such file or directory
[18]
Error: Process completed with exit code 1.

#7 related.

Is it steel actual issue?

I'm sure that's already fixed.
There is working "latest" for example.


Fixing path to make.sh

Proposed changes
Fixed path to make.sh on Work with a development container page

Sorry mis-interpreted what I was looking at in the docs


Configurable user fields

Since you're already adding the id from the logged in user in both the Laravel and Lumen service providers, I propose that you let us configure which user-fields to include in the Bugsnag-report. This way, we avoid having to use global functions or calling setUser() ourselves to add user data.
I already forked the repo and commited a few changes to make this happen and it seemed to work fine. Haven't issued a PR yet, because I wanted to ask you what you think first.
Thanks!

+1

Thanks. We're starting work on a new major version of this package soon. We'll take all the feedback into account.

I'm about to add a setUser function to the error class on the current version so that should be available to everyone very soon.

Keeping this open though since we're not done yet.

Keeping this open though since we're not done yet.

Done in 2.x of this package. You can set user to false in our config, and that will cancel the registration of our AddUserMiddleware.

I'll be writing full docs before we release.


abudio btn - hand cursor

any chance for adding hand cursor for audio btn?

Seems only the swf fallback is effected in current version. So the flash swf must be changed/rewritten
Probably not worth the effort with better html5 audio support by browsers in 2016.
html5 audio has the pointer cursor on :hover.

@peterdd Agreed.  I also plan on removing Flash fallback in the next version coming out in a month or so.  The only caveat of that is that no version of IE supports WAV in HTML5 audio (ironic since MS co-created WAV, but I get it, wav files are big and not mobile friendly) so I'll have to come up with another workaround for those who can't use LAME for wav to mp3 conversion.  I'll create a separate issue for that.


Can not create a new dashboard with the name which used by a deleted dashboard

Reproduce steps:

Create a new dashboard named test.
Delete the test dashboard.
Create another new dashboard named test again.
The above error occurred.

Deleting  a dashboard only changes the is_removed field to true. It does not actually delete the record from the database.
Trying to add a new dashboard with the same name (and is_preset field is also the same) will result in a unique key violation as seen in the error message.
Possible solutions:

Drop the unique key index. Not recommended because it will require code changes and makes finding a specific dashboard more difficult because there might be multiple dashboards with the same properties.
Actually delete the dashboard from the database. Recommended because it just requires a small code change (logic for deleting dashboards)
Use a unique name for each dashboard (requires no changes to the code, but might make the user experience less convenient.

I just propose another 2 solutions:

Use an unique index with where clause, only index the dashboard by name with is_removed = true. (MySQL doesn't support it)

Update the name together, append a random suffix after the name when updating the is_removed to true.

Get Outlook for iOShttps://aka.ms/o0ukef

From: miguel-lansdorf @.>
Sent: Tuesday, February 14, 2023 12:26:44 PM
To: merico-dev/table @.>
Cc: Yang @.>; Author @.>
Subject: Re: [merico-dev/table] Can not create a new dashboard with the name which used by a deleted dashboard (Issue #633)
Deleting a dashboard only changes the is_removed field to true. It does not actually delete the record from the database.
Trying to add a new dashboard with the same name (and is_preset field is also the same) will result in a unique key violation as seen in the error message.
Possible solutions:

Drop the unique key index. Not recommended because it will require code changes and makes finding a specific dashboard more difficult because there might be multiple dashboards with the same properties.
Actually delete the dashboard from the database. Recommended because it just requires a small code change (logic for deleting dashboards)
Use a unique name for each dashboard (requires no changes to the code, but might make the user experience less convenient.

—
Reply to this email directly, view it on GitHubhttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmerico-dev%2Ftable%2Fissues%2F633%23issuecomment-1429097470&data=05|01||8f4af46c8a1d45d786e108db0e43afe4|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638119456123122216|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=PsU02eIBvK6B2OgRB6s1CXk8bLrT5HwBLRlSSLTKR8Y%3D&reserved=0, or unsubscribehttps://jpn01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAPWEANI7GFF7SZHDK62N3DWXMCQJANCNFSM6AAAAAAU2JO7TI&data=05|01||8f4af46c8a1d45d786e108db0e43afe4|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638119456123122216|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=mfeRuvb5%2FX1zDMAm5MNchiYTfaGaJ3PBegu4mnNRImQ%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>


FactoryGirl singleton

Could you please provide a singleton version of FactoryGirl whose only static member is a data member called self? Since C# will never be fully-OO, this compromise would help when using XUnit Test Fixtures.

I'm not in a .net environment much anymore but i'd be happy to take a pull request and merge it in if you're willing to put it together.


minor changes in Inwebo

Corresponding PR https://github.com/wso2-extensions/identity-outbound-auth-inwebo/pull/1 is given and merged.


Test suite hangs at the end after fast fail

This is a little mysterious and I haven't tracked it down all the way, but I was hoping to get some help understanding it...
I have a test suite which uses tasty, tasty-hspec, and hspec-webdriver to run Selenium tests. When I tried to use tasty-fail-fast, it fails fast as expected (all the tests print out in the console with blank descriptions) but then the test process hangs, and you have to Ctrl+C it to exit it.
I set up an instrumented version of tasty with print statements in the launchTestTree function, and I observe that things are getting hung up on the waitForResources line. There seems to be a single resource that stays in the Created state forever.
I'm not familiar with Tasty's internals, I'm forced to conclude that the method by which tasty-fail-fast wraps an Ingredient (where it does an STM operation to modify the StatusMap and fill in Done for all the statuses) is not totally safe.
Do you have any thoughts? Any feedback from @feuerbach would be appreciated also. Thanks!

Can you try to reduce your test suite? Try removing selenium, hspec-webdriver, tasty-hspec, and see at what point the bug no longer reprduces.

Okay, I've isolated it to (my fork of) hspec-webdriver.
I have my own version of hspec-webdriver that does a few things differently. One of these things is that it uses Test.Hspec._afterAll to close the Selenium sessions when everything is done. If I remove the _afterAll, the hanging bug goes away.
I know that _afterAll internally modifies the Hspec spec, replacing a Node with a NodeWithCleanup where the NodeWithCleanup contains an extra action to be executed after the test. So it seems like something weird is happening with the cleanup action.
I see that something is going on with Tasty resources inside tasty-hspec in the NodeWithCleanup case:
specTreeToTestTree :: H.SpecTree () -> T.TestTree
specTreeToTestTree spec_tree =
  case spec_tree of
    H.Node name spec_trees -> ...
    H.NodeWithCleanup cleanup spec_trees ->
      T.WithResource (T.ResourceSpec (return ()) cleanup) (const test_tree)
     where
      test_tree :: T.TestTree
      test_tree = specTreeToTestTree (H.Node "(unnamed)" spec_trees)
    H.Leaf item -> ...

Is it possible this resource is never getting cleaned up when we fail fast?

Oh, and it only happens with --num-threads 1.
I managed to put together a simple repro: https://github.com/thomasjm/tasty-fail-fast-example

I think this may be the same bug as https://github.com/feuerbach/tasty/issues/75. Tasty is not aware of the early exit and so is not ready to release the resources, and yet it waits until all of them have been released.

@thomasjm could you try the current tasty master and see if it fixes the problem?

Yep it works on my repro example :+1:
Ctrl+C seems to work too now.

 Would it make sense for this library to set a lower bound or anything?

@MichaelXavier depends on your philosophy as a maintainer. I wouldn't bother if I were you — people should expect bugs when they are not using the latest package versions. Also note that if you do decide put those lower bounds, you'll have to put them for all released versions, otherwise the solver might just pick the old versions for both tasty and tasty-fail-fast.
@thomasjm ugh that's bad. I left a comment at https://github.com/fpco/stackage/issues/3178#issuecomment-371448088. But you know you can mix hackage and stackage packages right?

Yep I'm aware, I just try to avoid it :). Looks like this issue is done so I'll hit close, thanks for the fix!


Create your First pull request

Learn to create your first pull request

Okay

Hi I'm a beginner and am interested in learning more about open source. I read your contributor guidelines and appreciate the chance to learn more about this. I added my name as a contributor and submitted the pull request. Thanks again.


Usage instructions

Got this successfully compiled and running.  I tried the command:
cat ~/.bitcoin/blocks/blk02272.dat | ./parser -t1 | ./bestchain > chain.dat
Which is the latest blk*.dat file as of writing the issue request.
It creates a chain.dat file.  How do I read the chain.dat file, or how do I use the chain.dat file?

That is out of scope for this project.
It is merely made to order the data contained within dat files (since bitcoind doesn't order them in any way)...
Any parsing to human readable data requires knowledge of what a dat file contains and how to use certain tools to parse it.
Some other users have asked advice in previous issues. Please use the search function.

https://github.com/bitcoinjs/bitcoinjs-lib/issues/1562
Here, I found it for you.


problem with reverse() in deleteUrl

I get a NoReverseMatch error coming from the deleteUrl method on serielize.py. When I have uploaded a file and refresh the page then I get the following:
[11/May/2018 10:50:32] "GET /upload/new/ HTTP/1.1" 200 12321
[11/May/2018 10:50:32] "GET /static/css/style.css HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/css/jquery.fileupload-ui.css HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/css/blueimp-gallery.min.css HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/vendor/jquery.ui.widget.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/tmpl.min.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/load-image.min.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/canvas-to-blob.min.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.blueimp-gallery.min.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.iframe-transport.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload-process.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload-image.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload-audio.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload-video.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload-validate.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/jquery.fileupload-ui.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/main.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/locale.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/js/csrf.js HTTP/1.1" 304 0
[11/May/2018 10:50:32] "GET /static/img/loading.gif HTTP/1.1" 304 0
Internal Server Error: /upload/view/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner
    response = get_response(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
    response = self._get_response(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 88, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/list.py", line 176, in get
    return self.render_to_response(context)
  File "/home/mvidal/Downloads/django-jquery-file-upload-master/fileupload/views.py", line 58, in render_to_response
    files = [ serialize(p) for p in self.get_queryset() ]
  File "/home/mvidal/Downloads/django-jquery-file-upload-master/fileupload/serialize.py", line 34, in serialize
    'deleteUrl': reverse('upload-delete', args=[instance.pk]),
  File "/usr/local/lib/python2.7/dist-packages/django/urls/base.py", line 91, in reverse
    return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))
  File "/usr/local/lib/python2.7/dist-packages/django/urls/resolvers.py", line 497, in _reverse_with_prefix
    raise NoReverseMatch(msg)
NoReverseMatch: Reverse for 'upload-delete' with arguments '(1,)' not found. 1 pattern(s) tried: ['upload/delete/<int:pk>']
[11/May/2018 10:50:33] "GET /upload/view/ HTTP/1.1" 500 19065

I am running the app without major changes, the only modifications I did were the following:

instead of using path for the urls, I use url because I am using Django 1.11
I removed path('', lambda x: HttpResponseRedirect('/upload/new/')) from root urls because even I changed to url('', lambda x: HttpResponseRedirect('/upload/new/')) it was not working

I wonder if it's not working because I am using Django 1.11 or maybe because I changed path for url or why..?
Thanks

Well, after some search I changed how the url for 'upload-delete' is set:
instead of url('delete/<int:pk>', PictureDeleteView.as_view(), name='upload-delete'), I use
url('delete/(?P<pk>[0-9]+)$', PictureDeleteView.as_view(), name='upload-delete'), in urls.py of  fileupload app.
Now everything works.


docs: update README.md

According to the recent discussion, I renamed this repo to synapseweb3/crosschain-ckb-contracts.

According to the recent discussion, I renamed this repo to synapseweb3/crosschain-ckb-contracts.

What about forcerelay-ckb-contracts?

What about forcerelay-ckb-contracts?

changed

What about forcerelay-ckb-contracts?

Please change this readme's h1 title too?
https://github.com/synapseweb3/forcerelay-ckb-contracts/pull/28/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R1


⚠ Bofrost.at has degraded performance

In deff10e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2147 ms

Resolved: Bofrost.at performance has improved in e52bb57 after 11 minutes.


[Task]: Improve bundle strategy for direct runner

What needs to happen?
It is found in some cases, elements incoming for Java direct runner are not bundled, i.e., all in bundle size = 1. Some flakiness in our unit test is likely due to this issue. For example, it is found that BigQueryWriterTest is flaky due to intermittent time out (context #25207) the issue is traced down to fact that some batch load and file load tests concurrently write thousand of files locally.
e.g. https://ci-beam.apache.org/job/beam_PreCommit_Java_GCP_IO_Direct_Phrase/57/testReport/junit/org.apache.beam.sdk.io.gcp.bigquery/BigQueryIOWriteTest/testWriteDynamicDestinationsBatchWithSchemas_0_/
the complete log will show (tested locally) 2,000 lines of org.apache.beam.sdk.io.gcp.bigquery.BigQueryRowWriter  log. Since the largest concurrent file open is limited, test sometimes get stuck
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[ ] Component: Python SDK
[x] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Well, actually the bundle size being 1 for testWriteDynamicDestinationsBatchWithSchemas_0_/ is mostly due to the test setting .withMaxFileSize(10) which makes each row having a file. Leaving this open for further improvement (though low priority)


Upgrade to react-router 4.0 and react-router-redux v5.0?

react-router-redux v5.0 is now added to the react-router repo. That makes it the new standard for redux apps and this is the perfect boilerplate repo for it. Dependency on react-router v4.0.

I can rewrite the code in RR4 + RRR5 if the repo owners are interested.

To be honest I'm not a huge fan of React Router 4.0 yet, so I'm wary of upgrading, but will consider it if I can get some heads down time with the new version.

Any updates on this yet?

I'm loving react-router 4, so much easier to create route-specific rendering in different areas of the page.  Though I'll admit it seems at odds with the way this repo implements per-route async module loading

Hi, I used react-router-starter-kit for production. I love it so I tried implement react-router 4 with react-router-redux 5 using create-react-app. react-redux-quickstart

+1...we are upgrading to v4 on our 2nd project based off of this repo. Is there a paypal link somewhere that I can contribute some $ to get this done quickly?

Hello @bman654, sorry for asking a long time after you commented,
How do you deal with async redux reducers with react router 4?

@amangeot I don't use async module loading so I just removed all of that code as part of moving to router 4.

Oh ok, thank you for the quick reply.
Did you also remove async components? If not, how do you deal with non-blocking transition from one route to another? To replace the behaviour that came from getComponent?

yes that is what I meant by not using async module loading - I load all of my components at the start of the app.  Check out async-react-components for a way to load your components asynchronously with Router 4.

when?

News on this?


Uncaught Error: Interface 'Psr\Http\Message\ResponseFactoryInterface' not found

I know this kind of Issue was already created but I couldn't solve it.
When I try to install this package composer do this:
Using version ^3.3 for tuupola/slim-basic-auth
./composer.json has been updated
Running composer update tuupola/slim-basic-auth
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 1 removal
  - Removing psr/http-factory (1.0.1)
  - Locking tuupola/slim-basic-auth (3.3.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 1 removal
  - Downloading tuupola/slim-basic-auth (3.3.1)
  - Removing psr/http-factory (1.0.1)
  - Installing tuupola/slim-basic-auth (3.3.1): Extracting archive
Generating autoload files
1 package you are using is looking for funding.
Use the `composer fund` command to find out more!

Why is he removing the http-factory? When I try to re-add it he just tells me:
Using version ^1.0 for psr/http-factory
./composer.json has been updated
Running composer update psr/http-factory
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove

These are my composer packages I use:
"slim/slim": "4.*",
"symfony/var-dumper": "^5.0",
"vlucas/phpdotenv": "^4.1",
"slim/psr7": "^1.0",
"slim/twig-view": "3.0.0-beta",
"league/container": "^3.3",
"slim/http": "^1.0",
"illuminate/database": "^6.16",
"robmorgan/phinx": "^0.11.4",
"slim/flash": "^0.4.0",
"tuupola/slim-jwt-auth": "^3.4",
"dflydev/dot-access-data": "^2.0",
"dflydev/fig-cookies": "^2.0",
"firebase/php-jwt": "^5.0",
"zeuxisoo/slim-whoops": "^0.7.2"

You need to have latest for both tuupola/slim-jwt-auth and tuupola/slim-basic-auth to avoid the problem there was with Composer 2 and tuupola/http-factory.
https://github.com/tuupola/slim-basic-auth/blob/3.x/CHANGELOG.md
https://github.com/tuupola/slim-jwt-auth/blob/3.x/CHANGELOG.md
Or alternatively I think you can also manually update only  tuupola/http-factory to at least 1.0.2.
https://github.com/tuupola/http-factory/blob/master/CHANGELOG.md#102---2018-12-22
In short there was a problem with the provides clause here https://github.com/tuupola/http-factory/commit/4462700ad9ab90f3fb2a98e52ad1948ea9bfd07b but it did not affect Composer 1. However with Composer 2 this bug caused psr/http-factory to uninstall.

Thank you for the response, it wasn't exactly that. I basicly reinstalled my packages one after the other (starting with illuminate and force league to ^3) after that everything went fine.


Manage Broadcast Feature for Admin

Deliverable:

[ ] The manage broadcast card should take to the page of all broadcasts
[ ] All the broadcasts should have a delete icon that should allow the admin to delete(currently it would be temporary as we haven't integrated the backend)

i want to work on this

i want to work on this

Please go ahead!
Happy Learning :)

can I use this for delete icon


[CQ-4350599] added footerlibs and headerLibs in aem container v2 for sites, this will enable to load core components runtime library in iframe mode

Tested in local by creating a form and embedding in site.
The wizard component js and css files are needed in authoring mode as well.
css is loaded in head and js is loaded at the bottom of the bpdy.

This pr will be completed once https://jira.corp.adobe.com/browse/CQ-4350811 is resolved . We need to release a new version of aem-forms-sdk api to identify afv2 forms in the AEMForms sling model.

merged with a known issue: extra clientibs being included for AF1.


[AIRAVATA-2607]  Change all thrift clients to use ThriftClientPool

Changes

Moved the current ThriftClientPool into the commons library.
Implemented the changes to the profile-service-server to use the client pools instead of the existing methods.

@DImuthuUpe I have updated the suggested changes.

@karankotz Can you add some unit tests that cover this implementation so that I can have a look at the functionality


Support partitioned topic for refreshLinks.

Bug: T189738

The topic with 8 partitions should be created before deploying this.

Coverage decreased (-0.2%) to 88.941% when pulling 2a3ef49f74a67df4dca04fecbc8c6ac182a57753 on Pchelolo:refreshLinksPartition into 63236fcafa01525f3013051c672e7a6f23e8f84f on wikimedia:master.

This PR seems to contain 63236fcafa01525f3013051c672e7a6f23e8f84f as well, which is weird. Needs a rebase perhaps?


List the domains which generated a hit

Hey,
Thanks so much for your tool, it allowed me to really streamline my lists.
I was wondering if you might be able to help with another issue. I am trying to figure out a way to see which domains have triggered in each list.
I have a malware list loaded and it is really difficult to figure out which domains are being triggered on my network. Using the pihole webgui there is no way to search for blocked domains by list.
I thought with some tweaking your tool might be able to do that?
This is my output when I run the tool with -a
`[i]  Adlist coverage
id  enabled  total_domains  domains_covered  hits_covered  unique_domains_covered  address

1   1        209627         593              60232         589                     https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
5   1        167912         1                2                                     https://v.firebog.net/hosts/RPiList-Malware.txt                  `
I want to know what the domain is that is listed against the malware list so I can search for it in the webgui to find out which client triggered the hit
Many thanks

I think I can help. The script creates a temporary database in /temp/temp.db which gets deleted at the end of the run.
https://github.com/yubiuser/pihole_adlist_tool/blob/a1ed479c4aaf367ecca8afa6e0ae4d26f029170a/pihole_adlist_tool#L1079
Comment or delet this last line and run the script again. The temp database should stay and you can use a tool like https://sqlitebrowser.org/ to inspect and interact with it. I don't know the exact database structure out of my head righ now, but you should be able to find what you are looking for. I think it should be in `´gravity_strip `` table, but not exactly sure.

Wow thank you so much that is awesome.
I loaded the database and on the browse data tab, I just selected gravity_strip and then you can filter based on the adlist_id.

@yubiuser , this should be closed because the problem has been solved by your help.


Support to attach multiple sockets

For https://github.com/ruby/vscode-rdbg/issues/372

Introduce a new adapter MultiSessionDebugAdapter where it emits events with all socket paths
Add a listener that subscribes to custom events that MultiSessionDebugAdapter emits, which attach it as a child process
This is enabled via supportAttachMultiSockets config

Screenshot
When running a rails server with 4 processes

Before
After

when set tofalse, it defaults to the picker selector
when set to true, it attaches all as child processes

@ono-max sure thing. I've created the demo app here: https://github.com/ikhsan/attach-multi-socket

Sorry, I'm not familiar with multiple process debugging.

The setup for multi process is here: https://github.com/ikhsan/attach-multi-socket/commit/7e65b1d57e27fa37d2c389a213886cb5824844a4. This is copied from our original app.
Steps

Copy and run the demo app, $ bundle install then $ bin/rails s
Run the extension with this branch, open the demo app
Without multi attach

Attach the app by clicking "Attach with rdbg"

The picker is shown (e.g. we need to pick one by one, bad dev experience)

With turning multi-attach

Enable the flag https://github.com/ikhsan/attach-multi-socket/blob/7e65b1d57e27fa37d2c389a213886cb5824844a4/.vscode/launch.json#L12-L13
Attach the app again by re-clicking "Attach with rdbg"

All process are automatically attached

Turn the breakpoint on the endpoint https://github.com/ikhsan/attach-multi-socket/blob/7e65b1d57e27fa37d2c389a213886cb5824844a4/app/controllers/debug_controller.rb#L3
Visit http://localhost:3000/debug/

Stopped at the breakpoint as normal

Let me know if the demo does or doesn't work 🙏

Thank you for your work! Sorry, I'm not familiar with multiple process debugging. Can you please give me the sample project to experiment the behavior?

Hey @ono-max 👋  just want to touch point with you on this. Did you have the chance to try debugging with the demo app?


TypeError: symbol.toUpperCase is not a function at Spot.allOrders

I have a small NestJS application where I'm using binance-connector, but I have an issue when calling:
client.allOrders({ symbol: 'BTCUSDT', timestamp: Date.now() })
I'm getting the following error:
TypeError: symbol.toUpperCase is not a function at Spot.allOrders (.../node_modules/@binance/connector/src/modules/restful/trade.js:249:24).
I'm running the "@binance/connector": "^3.0.0-rc.2" with node v18.16.0 on Mac OS 13.4.

Did you solve? Same error here

Hello,
Sorry if i make a mistake on my answer.
isn't it a problem with your params ?
I'm using the v2 so maybe it's different but i use it like this:
const { data } = await this.binance.allOrders(symbol, { limit, timestamp: Date.now() });
symbol is as first param, and the option object as second param

symbol is a mandatory parameter,  should you should provide it as first parameter. please check this example file of calling the method:
https://github.com/binance/binance-connector-node/blob/master/examples/spot/trade/allOrders.js


Add DataFrame.where and mask

Related to #653. Can this close it?
import pandas as pd
import dask.dataframe as dd

df1 = pd.DataFrame([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
df2 = pd.DataFrame([[True, False, False],
                    [False, True, False],
                    [False, False, True]])
ddf1 = dd.from_pandas(df1, 2)
ddf2 = dd.from_pandas(df2, 2)

ddf1.where(ddf2).compute()
#     0   1   2
# 0   1 NaN NaN
# 1 NaN   5 NaN
# 2 NaN NaN   9

ddf1.where(ddf2, -ddf1).compute()
#    0  1  2
# 0  1 -2 -3
# 1 -4  5 -6
# 2 -7 -8  9

# mask is a inverse op of where
ddf1.mask(ddf2).compute()
#     0   1   2
# 0 NaN   2   3
# 1   4 NaN   6
# 2   7   8 NaN

ddf1.mask(ddf2, -ddf1).compute()
#    0  1  2
# 0 -1  2  3
# 1  4 -5  6
# 2  7  8 -9

This looks good to me.  Merging.
With regards to #653 I think that there is potentially a more efficient solution that affects only the necessary partitions to affect the specified rows.
For example if I say
df.loc['2000-01-01'] =  np.nan

Then ideally I only have to affect the partition that holds this data, rather than all partitions.  I'm not sure if this is something that we want to support though.  So far we haven't allowed any in-place syntax.


These should be depricated once versioning is more stable

https://github.com/thesimplekid/cashu-crab/blob/c3437beb6f06dd4ffa8d6eeec89f031885bc4a32/crates/cashu/src/nuts/nut06.rs#L55

part of #51


Would you mind sharing VGG16 model?

Would you mind sharing VGG16 model with BN since many works are based on that model?

Unfortunately, I did not train a VGG16 model as it takes months on a single GPU. In case you want to give it a shot, just remove the three layers added in VGG19 and train it. I would be happy if you could share it with us.

There seems to be a typo in ur website regarding VGG16 which brings some confusion!


Backtrack log bombs the performance

Describe the bug
in backtrack.cpp: lines 175-176
g_notify.add( true, OSHColor::FromARGB( 220, 249, 44, 69 ), "fired shot at backtrack record ( player %s, %i ticks, %i choked ).", e->get_info( ).m_player_name, cmd->m_tick_count - TIME_TO_TICKS( corrected_simtime ), ticks_choked );
After I commented those lines out, the FPS drops while using aim stopped.
To Reproduce
Just run the cheat with 0% hitchance(i know, unrealistic). once the aimbot goes ham, the log should bomb the FPS.

Additional context
I'd say adding a toggle to this should fix the issue.

I commented it out.

Can you possibly provide more information?, run the performance profiler on visual studio while debugging, should give you a clear representation of whats eating up the performance.


Revisit anonymous namespaces vs. static functions

C++ has two different ways to create compilation-unit-local functions: using an anonymous namespace (the modern C++ way), or by putting static in front of the function (the C way).
Currently in rmw_zenoh_cpp we use a mixture of these two styles.  We should be consistent here, and just choose one.  My personal preference is for static in front of the function, as it is easier to tell at a glance that a function is local-only.  But I'm open to other opinions.
This comes out of a discussion in https://github.com/ros2/rmw_zenoh/pull/123#discussion_r1512108913

@clalancette can you assign this to @Yadunund ?


Error: "have relation but no coeff"

Hi,
I am seeing the following error in the logs:
"[Warning] CostModel.ComputeAllocation: allocation cluster-one/mynamespace/mystatefulset/myapp and PVC mypvc have relation but no coeff"

Is this a concern?  myapp does use mypvc.
Thank you
Dan
gz#1678

@DanTulovsky It is just a warning. It is not critical error. You will find there are many logs and warnings that are present in the kubecost logs that are not completely comprehensible or useful.

Ok thank you.

@DanTulovsky , thanks for the question!  Apologies for the inconvenience.  If there are any other logs which you have a concern with please let us know.  Slack and/or<EMAIL_ADDRESS>are also great ways to pose these questions.  Slack is especially useful as it gives more exposure to our large community there.  Thanks for using kubecost!


Add footer with information about current version in bottom left hand corner

Following a conversation with Rob, the suggestion was made to add some footer text in this area:

This will include the current version number of the application when running the Open Source version.  It will also flip to include the license information when running the Chocolatey for Business version of Chocolatey GUI.

This will look something like this in Open Source Edition:

And like this in the Licensed editions:

👍


Malware

Figured I would let you all know that this code is being flagged as malware. The DLL file that is.

As a rule a of thumb, people should read the source code and compile tools themselves.
The tool doesn't do anything else than advertised though.


Is it possible to convert widgets to raw html?

Is it possible to convert widgets to raw html
The block widget has several fragment widgets (text, image, emoji, video). The location of the fragment widget is specified by the user.
I want to get html raw data starting with <div>.
Do you provide this feature?

I want to get html raw data starting with

@Patrick386 I meant this part to be specific.


"usb init error" when running

Hello, I have followed all the instructions and have the correct hardware (arduino uno and MAX3421E based USB host shield), I also correctly patched the usb host library files, but when I try to use this with my iPhone 4s (8940) in DFU mode and watch the serial monitor on my PC, it says "checkm8 started" and then instantly "usb init error", I have also tried this without it connected to my PC, but have no luck as the LED never lights up at the end. What could the issue be?

same here

any ideas??

Clone arduino. It happened to one of my unos

Clone arduino. It happened to one of my unos

Actually I discovered it means the USB Host Shield isn't receiving power. It can be fixed by soldering the two pads near the top of the board. Follow this article: Link

Yep, soldering those 3 pads worked great!

Yep, soldering those 3 pads worked great! (Though I still have the issue where it just spits out zeros and says "Done!")

Glad to hear it! Send a screenshot of the error and I can help you

Glad to hear it! Send a screenshot of the error and I can help you

Its exactly this, hopefully there is a solution: https://github.com/a1exdandy/checkm8-a5/issues/4

Glad to hear it! Send a screenshot of the error and I can help you

Its exactly this, hopefully there is a solution: https://github.com/a1exdandy/checkm8-a5/issues/4

Re-upload the code to the arduino, make sure the USB Host Shield is connected when you upload it. Reboot the device and then boot the device normally and let it sit for 3 minutes. Connect the device to your Mac and have iTunes open. Put it into DFU and then disconnect it from the Mac and quit iTunes. Then connect it to the arduino and then plug the arduino into the Mac. Once it's done you should be good and can now disconnect everything.
If this does not work, go into recovery mode and reinstall iOS. Then proceed to follow the above steps after the device has turned on. No need to restart the idevice.

Glad to hear it! Send a screenshot of the error and I can help you

Its exactly this, hopefully there is a solution: #4

Re-upload the code to the arduino, make sure the USB Host Shield is connected when you upload it. Reboot the device and then boot the device normally and let it sit for 3 minutes. Connect the device to your Mac and have iTunes open. Put it into DFU and then disconnect it from the Mac and quit iTunes. Then connect it to the arduino and then plug the arduino into the Mac. Once it's done you should be good and can now disconnect everything.
If this does not work, go into recovery mode and reinstall iOS. Then proceed to follow the above steps after the device has turned on. No need to restart the idevice.

Please post your arduino monitor.

Clone arduino. It happened to one of my unos

Actually I discovered it means the USB Host Shield isn't receiving power. It can be fixed by soldering the two pads near the top of the board. Follow this article: Link

Naaa that didn't work either

Glad to hear it! Send a screenshot of the error and I can help you

Its exactly this, hopefully there is a solution: #4

Re-upload the code to the arduino, make sure the USB Host Shield is connected when you upload it. Reboot the device and then boot the device normally and let it sit for 3 minutes. Connect the device to your Mac and have iTunes open. Put it into DFU and then disconnect it from the Mac and quit iTunes. Then connect it to the arduino and then plug the arduino into the Mac. Once it's done you should be good and can now disconnect everything.

If this does not work, go into recovery mode and reinstall iOS. Then proceed to follow the above steps after the device has turned on. No need to restart the idevice.

Please post your arduino monitor.

I can't as I solved the issue for myself. Look at the referenced issue for an example of what I had.

So, the issue was with Sliver, not the Arduino, I went through so many host shields and Arduino's before figuring this out, the zeroes and Done! at the end mean that it actually worked.. The issue was that I was trying to use Sliver on my new MacBook which is running Catalina, once I ran Sliver on my older Macbook running High Sierra, it worked perfectly fine and I bypassed my 4s..


Slows PC

I am having issues with v0.61v. Don't know why or how but it goes extremely laggy and makes my pc goes slow aswell.
Using it on Win 10. Anyone one having this issue?

Which skills are you searching for? What settings? Do other versions have this issue? What about the just-released v0.62b?

Closing as I cannot repro. Let me know if you have any further info.


Case narrative view: difficult to read/navigate

From Collaborators at KWI:
"The letters/the text is too big in our opinion"
"The drop-down-function to big" (this was lost in translation - Dennis actually meant there was too much scrolling involved in the narrative view)
Scott's two cents: I agree, some entries are incredibly long and the size of the font makes navigation basically impossible. The think I like about Wikipedia and other online encyclopedias (like Stanford Philosophy) is that 1) there is a table of contents and a 'return to TOC' button at the top and bottom of each section, 2) the page/text is wide enough that I don't have to scroll for days, 3) the headings stand out from the text (either because they're significantly larger or more bold and/or because there are other visual cues like lines). If we are wanting people to use this for research (again, like Stanford) then we need to make it easy for people to quickly refer to/find specific information (eg. jump to the 'Influence, Outcomes, and Effects' section, or refer back to Methods and Tools Used from the Analysis & Lessons Learned section).

See participedia/usersnaps#169


feat: Slider implementation

Closes #70

:tada: This PR is included in version 1.0.0-beta.36 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-fix-doc-release.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[BUG] There should be a seperate configuration option to enable restapi: permissions

What is the bug?
When https://github.com/opensearch-project/security/pull/2411 was added to the security codebase, it expands the way that customers can manage their OpenSearch cluster - yay!  However, for existing customers this expands the exposure on their security cluster beyond what it was in previous releases.
This functionality should be opt-in via a setting in the security configuration and default to 'disabled' to prevent this exposure.
Do you have any additional context?
The security configuration has to be modified on the disk on a bootstrapping node or using the 'super admin' certificate workflow making the configuration a safe place for this default value.

[Triage] This seems like a good call. Tagging as good first issue. @cwperks could you add a little bit of a getting started for a first time contributor.

FYI @willyborankin @reta

New Settings are generally set in ConfigConstants (See example: https://github.com/opensearch-project/security/blob/main/src/main/java/org/opensearch/security/support/ConfigConstants.java#L250).
From the plugin architecture of OpenSearch, plugins can extend OpenSearch to add additional settings to be placed in opensearch.yml and those settings are defined in getSettings() of the plugin. For the security plugin, that is here: https://github.com/opensearch-project/security/blob/main/src/main/java/org/opensearch/security/OpenSearchSecurityPlugin.java#L886-L1069
Settings defined in getSettings() typically provide a default and for this issue that would be false (meaning disabled).
The last part is to use that settings around here: https://github.com/opensearch-project/security/blob/main/src/main/java/org/opensearch/security/dlic/rest/api/RestApiAdminPrivilegesEvaluator.java#L120-L124 (and maybe other places to) to evaluate the permission if the setting is enabled. Note that Settings are not presently available in that class, but you should be able to add them in the class' constructor.

I would like to work on this bug

Hi @aruzhannurman, thank you for volunteering. I went ahead and assigned this to you. Let me know if you have any questions or need any help.

@scrawfor99 oops I did it already, sorry did add y comments my bad here is PR: https://github.com/opensearch-project/security/pull/2605

Hi @willyborankin, no worries. Thank you for following up. I will reassign this to you. I appreciate you following up so quickly so that @aruzhannurman does not end up duplicating work.


Document supported features on different run-time flavors

In particular for developers starting projects and deciding which set of technologies to use, it would be good to document what is supported on what flavor - a feature support matrix:

twisted vs asyncio (websocket and wamp level)
applicationrunner vs component (wamp level)

For example, configuring a forward secure WebSocket proxy currently only works on Twisted - not on asyncio.

oberstet@thinkpad-x1:~/scm/crossbario/autobahn-python$ grep -Hi FIXME autobahn/asyncio/*.py
autobahn/asyncio/component.py:    XXX fixme for asyncio
autobahn/asyncio/websocket.py:                # FIXME: tcp4 vs tcp6
autobahn/asyncio/websocket.py:        self.log.debug('FIXME: transport channel binding not implemented for asyncio (autobahn-python issue #729)')

ah right: TLS channel binding (a security feature of WAMP-cryptosign) also only works on AB Twisted.

ApplicationRunner on asyncio misses automatic reconnection (and stopping that via ApplicationRunner.stop).
Eg ApplicationRunner on twisted takes these ctor args:
                 max_retries=None,
                 initial_retry_delay=None,
                 max_retry_delay=None,
                 retry_delay_growth=None,
                 retry_delay_jitter=None


Add unit test for writeInWOMode

longhorn/longhorn#4354

Close this PR in favor of https://github.com/longhorn/longhorn-engine/pull/759


Create a combined Users settings panel

At present, we have three Organization settings panels for user management:

Users
Invitations
Deactivated users

We should combine all of these into a single tabbed panel (called "Users"), with the tab order above. This will make it possible to access all the functionality for managing users in one place.
Notes

The tabbed UI should probably match the tabbed UI for streams, though if it's significantly easier, maybe we could use the UI from the personal SETTINGS / BOTS panel. But in long-term, we'll probably replace the bots panel UI (moving it into organization SETTINGS / BOTS).

CZO thread
Follow-ups

#26950

Hey! @alya . I have some doubts related this.
The structure should be like this:
side panel:
Organization profile
Organization settings
Organization permissions
Custom emoji
Linkifiers
Code playgrounds
User groups
-->Users -->
Bots
Default user settings
In this Users section:

The  general personal subscribers will be replaced by
 All Users Invitations  Deactivated users
Am I on a right path?

@zulipbot claim

@aryan-bhokare  I'm not 100% sure I understand your question, but I think that's approximately right.

This is How I plan to do it.  Right Now when  we click on Users this screen appears

I made this quick mock up on what I plan to do.  @alya any feedback ?

@alya I have opened a PR for this issue. Can you please review it?

@IdaraNabuk  please note that there is already a PR for this issue.
As noted in the contributor guide:

What if there is already a pull request for the issue I want to work on? Start by reviewing the existing work. If you agree with the approach, you can use the existing pull request (PR) as a starting point for your contribution. If you think a different approach is needed, you can post a new PR, with a comment that clearly explains why you decided to start from scratch.

Alright. I'll check it out

@zulipbot claim

@zulipbot abandon

@zulipbot claim

Thanks for having a look at the issue @shubham-padia . Maybe you can look at some similar issues as I am already working on this and have a PR with significant amount of work.

@zulipbot abandon.
@shashank-23002 Maybe you can claim this issue again so it becomes a bit more clear you're actively working on this issue? Thanks :)

Ohh sure !! It's just I have been working on two issues lately and can't assign both of them.
Hope this comment makes it clear for someone who encounters this in future ;)


TF2 - apparent memory leak when running dataset ops eagerly

System information

Have I written custom code: yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): OSX
TensorFlow installed from (source or binary): 2.0.0beta
TensorFlow version (use command below): v1.12.1-3259-gf59745a381 2.0.0-beta0
Python version: 3.6.8

Describe the current behavior
When using the function tf.autograph.to_graph, I see a memory leak which I don't see if I use the annotation @tf.function
Describe the expected behavior
There should not be a memory leak.
Code to reproduce the issue
import os
import psutil
import numpy as np

import tensorflow as tf

process = psutil.Process(os.getpid())

# @tf.function
def train_epoch(model, p_data):
    for real_inputs in p_data:
        model * real_inputs

train_epoch = tf.autograph.to_graph(train_epoch)

data = np.random.normal(0., 1., [10000, 2])
p_data = tf.data.Dataset.from_tensor_slices(data).batch(32)

model = tf.Variable([1., 1.], dtype=tf.float64)

for i in range(5000):
    train_epoch(model, p_data)

    if i % 50 == 0:
        print(process.memory_info().rss)

I have tried on Colab with TF version 2.0beta and was able to reproduce the issue.

I did a few tests. In short, this seems to be related to Dataset.reduce (which is what is generated in this case).
The leak reproduces even without autograph.to_code, if we run the code that would be effectively generated:
import os
import psutil
import numpy as np

import tensorflow as tf

tf = tf.compat.v2
tf.enable_v2_behavior()

process = psutil.Process(os.getpid())

# @tf.function
def train_epoch(model, p_data):

  def reduce_func(_, real_inputs):
    model * real_inputs
    return (tf.constant(0),)  # These tf.constant(0) are dummy variables - reduce requires at least one var.

  p_data.reduce(((tf.constant(0),), ()), reduce_func)

# train_epoch = tf.autograph.to_graph(train_epoch)

data = np.random.normal(0., 1., [10000, 2])
p_data = tf.data.Dataset.from_tensor_slices(data).batch(32)

model = tf.Variable([1., 1.], dtype=tf.float64)

for i in range(5000):
    train_epoch(model, p_data)

    if i % 50 == 0:
        print(process.memory_info().rss)

The leak only seems to happen for datasets - if we replace p_data with reshaped version of data (in effect causing the for loop to run as a tf.while_loop), the leak doesn't reproduce:
import os
import psutil
import numpy as np

import tensorflow as tf

tf = tf.compat.v2
tf.enable_v2_behavior()

process = psutil.Process(os.getpid())

# @tf.function
def train_epoch(model, data):
    for real_inputs in data:
        model * real_inputs

train_epoch = tf.autograph.to_graph(train_epoch)

data = np.random.normal(0., 1., [10016, 2])  # Fit batches evenly
data = data.reshape([313, 32, 2])
# p_data = tf.data.Dataset.from_tensor_slices(data).batch(32)

model = tf.Variable([1., 1.], dtype=tf.float64)

for i in range(5000):
    train_epoch(model, data)

    if i % 50 == 0:
        print(process.memory_info().rss)

@jsimsa any insight into this?

Jiri and I spoke offline. For technical reasons, Dataset.reduce re-traces its function whenever called during Eager execution. This in effect adds a new trace to the default graph, which accounts for the increase in memory use.
For this reason, we recommend caution when iterating over Datasets repeatedly in Eager execution, even with AutoGraph. We recommend using tf.function, as in increases performance and avoids these memory build-ups. tf.function also applies AutoGraph, so you won't need to call it separately.
@tf.function
def train_epoch(model, p_data):
    for real_inputs in p_data:
        model * real_inputs

for i in range(5000):
    train_epoch(model, p_data)

@mdanatg  Is there any other way than wrapping the iteration of a dataset into a tf.function. My custom training loops need eager tensors to use the tf.summary API. Can I manually free the memory from the tf.dataset?
Furthermore, this should be noted in the documentation, since it iterates several times of the dataset while being in eager mode.

@jaingaurav I agree that it's worth noting it in the docs somewhere.
@2649 as far as I know, the tf.summary API should work inside tf.function as well - unless you're perhaps encountering a different bug? Unfortunately I don't know of a way to manually free up the memory. @jsimsa might know of a way.

@mdanatg No it is not really a bug. I have some numpy operations in my summary calls, which do not work in tf.function. But I just changed them to ´tf´ operations. It is just a comfort problem.

Ok, the memory leak has a higher impact on my custom training loops than I expected. For everyone who needs a quick fix:  You can disable trace (tf.summary.trace_off()) before you iterate over a dataset and enable it afterwards (tf.summary.trace_on() ).  This worked in my case.
@mdanatg Do you see any problems with this workaround?

It's hard to make a in the general case, but I don't see a problem with disabling trace, if it's not needed.

Thanks @2649 for proposing this quick fix. I wonder if you could provide some intuitions/explanations as to why this worked?
BTW, I strongly think this problem should at least be mentioned (if not fixed) in all of the official docs whenever iterating a dataset happens.


[Feature Request] Add option for persistent server

I have a couple of Foscam cameras that are very finicky using this integration, but work great using the RTSPtoWebRTC integration.
The difference is that the RTSPtoWebRTC maintains the RTSP stream and WebRTC sever binary persistently rather than spinning it up once viwed. I think there may be a race condition. At any rate, having the option to preload or persistently run the webRTC backend would be greatly appreciated.

There may be a problem with key frames. Ideally, their value should be no more than 2 seconds. Can you check your camera config?

Check my new project. Maybe it handle this situation
https://github.com/AlexxIT/go2rtc

Hmmm... So I'm seeing worse behavior unfortunately. The image only seems to render on the i-frames, so framerate is absolutely terrible.
My hikvision Cameras work better with go2rtc though.
Trying to figure out if it is just these cameras or if this is a more systemic issue.

Should be fixed in v3


Connect failure message

Getting this error:
Neo4j::Core::CypherSession::ConnectionFailedError: Connection failure:
    status: 404

Connecting to what? Hard to debug without more info.
Runtime information:
Neo4j database version: 3.5.14
neo4j gem version: 9.6.1
neo4j-core gem version: 9.0.0

Closing as the issue is resolved.


Comments: games/monty-hall-problem-revisited

This is the issue-thread for the Monty Hall Problem article so people can comment.

test-comment


LGTM.com - false positive /

Description of the false positive
Using next() and myBuilder.eof() will advance the cursor, and will trigger the callback setWhitespaceSkippedCallback, that will increment newLines, therefore this is a false positive.
https://lgtm.com/projects/g/asciidoctor/asciidoctor-intellij-plugin/snapshot/4f6083a0115577e6f8b12b0fbc95fe67e2263673/files/src/main/java/org/asciidoc/intellij/parser/AsciiDocParserImpl.java?sort=name&dir=ASC&mode=heatmap#xa2e95b28c87f047c:1

Thank you for your report.  When building the SSA representation for fields, we try to account for any call-chain that can end up modifying the field.  Unfortunately, callbacks that happen from library code that isn't part of the analyzed code currently aren't handled, which leads to the FP.  This is a known problem and something that we're looking into, but the correct fix involves control-flow analysis of the bytecode of the referenced libraries, so it isn't something that we'll have a quick fix for, as we don't analyze bytecode yet.


Not clear on what "default" means in context of classification banner

What is the purpose of the work?
The documentation should be improved to explain that the default variant of the classification banner results in "PROTECTIVE MARKING NOT SET" being displayed.
Why do we need it?
A feedback comment was received, stating this was not clear.

We have considered this and deemed it not needed, can look into it again if it comes up


update the readme

with proper documentation

Ok i will surely assigned you this issue but first of all tell me some details what you want to change in README.md file

with proper documentation

Ok i will surely assigned you this issue but first of all tell me some details what you want to change in README.md file

like a little bit more info about the project and elements to make it attractive, project maintainer rights are with whom basically these points.

I think this is not a required issue for now. So I close this issue. If you have any further ideas, then feel free to raise your issue.

okk sure !.


[Bug] Last updated date on the map widget is curropted

Steps to reconstruct:

go to homepage
go to map card
download as image
open image locally on your machine and see date text is messed up:

Technical problem description:
We use html2canvas  & dom-to-image packages for generating images from widgets.
dom-to-image has better support for RTL but doesn't work with our canvases as they are "tainted", for these we use html2canvas that has issues with RTL languages (especially with commas/hyphens etc.).
There are a number of possible solutions:

The one implemented on  #692  - render the text in SVG  tag. This has it's own issues as it requires positioning the text inside the SVG not with the normal HTML flow and might cause issues in future updates if the style changes.
Edit html2canvas manually to our needs. See here, and here.
Because the issue with dom-to-image is with the canvas being "tainted" there is an option to get a temporary local copy of the canvas as an image and pass that image to dom-to-image function.
There is a separate npm package html-to-image which is a fork from dom-to-image. It has the same warning about "tainted" canvases but I tested it and it worked (locally) so it might still be an option worth looking at if there is a future issue with regarding this.


ACDC dataset

Hello, your article is very well written!  Could you please send me your processed ACDC dataset?  My email is<EMAIL_ADDRESS>if you can help, I will be very grateful!  Thank you very much!

Hello, can you give me a copy of ACDC data set

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Hi, do you have the ACDC dataset?

Hello, your article is very well written! Could you tell me the detailed splits of your ACDC dataset? My email is<EMAIL_ADDRESS>I'd appreciate it if you could help me! Thank you very much!

Hello, your article is very well written! Could you tell me the detailed splits of your ACDC dataset? My email is<EMAIL_ADDRESS>appreciate it if you could help me! Thank you very much!

Hello, your article is very well written! Could you tell me the detailed splits of your ACDC dataset? My email is<EMAIL_ADDRESS>appreciate it if you could help me! Thank you very much!

Hello, your article is very well written! Could you tell me the detailed splits of your ACDC dataset? My email is<EMAIL_ADDRESS>appreciate it if you could help me! Thank you very much!

Hello, your article is very well written! Could you tell me the detailed splits of your ACDC dataset? My email is<EMAIL_ADDRESS>appreciate it if you could help me! Thank you very much!

o, your article is very well written! Could you please send me your processed ACDC dataset

Hello, can you provide me with the processed acdc data set? If you can provide me with a copy of the acdc data set, I will be very grateful.My email is<EMAIL_ADDRESS>


find is not working after insert

once I insert data and then tries to find that record with find method by providing primary key returned by insert call, It returns all the records
$model = new CommoditiesModel();          $commodity = $model->insert($input);          $commodity_data = $model->find($commodity);
find call is returning all the records without any WHERE clause.

That is strange since we have tests for this method in place: https://github.com/michalsn/codeigniter4-uuid/blob/develop/tests/UuidModelTest.php#L94
I will try to revisit the model class after changes introduced to the v4.1, but I can't promise when.

Thanks,
I found the problem. It's not in the library.
I have to typecast $commodity variable to string
$commodity_data = $model->find((string)$commodity);
It worked for me


Use service server rather than service

Could you please link to a Kira, or at least in the description justify why we need this change?

Could you please link to a Jira, or at least in the description justify why we need this change?

Sorry for the confusion. This is a draft PR and is not ready for review. I'll have a detailed description and a JIRA once it's ready for review.

Run JavaPortabilityApi PostCommit

Run Java PortabilityApi PostCommit

Run Dataflow PortabilityApi ValidatesRunner

Re: @robertwb I updated the description and also linked to a JIRA. Would you like to help review this PR?

@lukecwik All comments above have been addressed in commit https://github.com/apache/beam/pull/7168/commits/b62cf4d90ad7646ca49348ad2302b248588ff984. Could you please take another look?

Run Java PreCommit


Add ability for ComposeDescriptor to accept arbitrary kwargs to create descriptor

Description
Currently the DAQ-Core team at diamond are in need of being able to pass metadata to descriptor documents, primarily for nexus file writing.
Motivation and Context
In our case, we want descriptor documents from streams to be easily identifiable and match up with the Application definitions for the experiments they represent (e.g. for tomography, detectors require an image key DataKey field).
How Has This Been Tested?
I've written a test confirming that extra kwargs are passed to the resulting descriptor document.

I'd be for adding this functionality to the ComposeDescriptor dataclass, where EventDescriptor is initialised:
https://github.com/bluesky/event-model/blob/ef8ee4b6040e647883d8adbe6c5fa9da33ac984a/event_model/__init__.py#L2417-L2426
I'd suggest adding a metadata kwarg  to the ComposeDescriptor::__call__ then if metadata is passed in after the EventDescriptor typeddict is initialised we can .update with the metadata if it exists, all before schema validation

At the moment I'm seeing mypy errors:
event_model/__init__.py:2427: error: Unsupported type "dict[str, Any]" for ** expansion in TypedDict  [typeddict-item]
Found 1 error in 1 file (checked 4 source files)

This is because I'm trying to unpack kwargs into the EventDescriptor, which is a TypedDict. The JSON schema suggests we can have any arbitrary fields, but the python TypedDict is obviously restrictive in what it can handle. Is there any nice way to deal with this?

@RAYemelyanova After the EventDescriptorTypedDict is initialised, but before the schema validation, I'd suggest doing a
doc.update(kwargs). This is how it's currently handled in compose_run.

I deleted some previous comments on this, they also result in mypy errors down the line... Should maybe discuss solutions at the meeting

This passes mypy on event-model:
# =================== __init__.py
class ComposeDescriptor:
    start: RunStart
    streams: dict
    event_counters: Dict[str, int]

    def __call__(
        self,
        name,
        data_keys,
        hints=None,
        configuration=None,
        object_keys=None,
        time=None,
        uid=None,
        validate=True,
        metadata=None,
    ) -> ComposeDescriptorBundle:
        if time is None:
            time = ttime.time()
        if uid is None:
            uid = str(uuid.uuid4())
        if hints is None:
            hints = {}
        if configuration is None:
            configuration = {}
        if object_keys is None:
            object_keys = {}

        doc = EventDescriptor(
            configuration=configuration,
            data_keys=data_keys,
            name=name,
            object_keys=object_keys,
            run_start=self.start["uid"],
            time=time,
            uid=uid,
            hints=hints,
        )
        if metadata:
            doc.update(metadata)

        if validate:
            if name in self.streams and self.streams[name] != set(data_keys):
                raise EventModelValidationError(
                    "A descriptor with the name {} has already been composed with "
                    "data_keys {}. The requested data_keys were {}. All "
                    "descriptors in a given stream must have the same "
                    "data_keys.".format(name, self.streams[name], set(data_keys))
                )
            schema_validators[DocumentNames.descriptor].validate(doc)

        if name not in self.streams:
            self.streams[name] = set(data_keys)
            self.event_counters[name] = 1

        return ComposeDescriptorBundle(
            descriptor_doc=doc,
            compose_event=ComposeEvent(
                descriptor=doc, event_counters=self.event_counters
            ),
            compose_event_page=ComposeEventPage(
                descriptor=doc, event_counters=self.event_counters
            ),
        )

# =================== test.py
run_doc, compose_descriptor, compose_resource, compose_stop = compose_run()

descriptor_doc, compose_event, compose_event_page = compose_descriptor(
    "name", {}, metadata={"a": "b"}, validate=True
)

descriptor_doc["data_keys"]
descriptor_doc["run_start"]
descriptor_doc["a"]

def foo(descriptor_doc: EventDescriptor):
    ...

foo(descriptor_doc)


Programmatically trigger a CupertinoSliverRefreshControl refresh

In RefreshIndicator we have RefreshIndicatorState.show() which let developers programmly trigger a refresh.
It would be nice if we can see something similiar in CupertinoSliverRefreshControl

RefreshIndicator支持取消刷新的操作，
希望CupertinoSliverRefreshControl也能支持取消刷新的功能

Any news for that?

Any news for that?

You can attach a scroll controller to the scroll view and animate it to a negative number, this will trigger the refresh.
scrollController.animateTo(-70,
        duration: const Duration(milliseconds: 200), curve: Curves.ease);

CC @MitchellGoodwin
Ideally, the Material RefreshIndicator could adapt its look and feel for iOS and one API would suffice.

You can attach a scroll controller to the scroll view and animate it to a negative number, this will trigger the refresh.

RefreshIndicatorState.show() does something similar as well, manually triggering a refresh.
@edwardez thinking about this issue with @MitchellGoodwin, since the CupertinoSliverRefreshControl is in the scroll view, how is it supposed to react if the scrollable content is not scrolled to the top (i.e if it's halfway down or more)? If a refresh is triggered manually, does the scroll view scroll to the top, then show the overscroll area and the spinner? Or just show the area and spinner with no scroll?


Can not install plugin with cordova

When I run command
cordova plugin add https://github.com/mbppower/CordovaCameraPreview.git
it shows an error :
Error: EXDEV, cross-device link not permitted
How to fix that, thanks

Check this: http://stackoverflow.com/questions/30801307/upgrade-cordova-cannot-install-plugins-from-git-urls-anymore
cloning the repo and installing from local path worked for me.
git clone https://github.com/mbppower/CordovaCameraPreview.git some/path/here
cordova plugin add some/path/here


Upgrade to Cake v0.22.0

Upgrade to .Net 4.6
Remove self dependency of previous Cake.Slack package.

@mabreuortega  your changes have been merged, thanks for your contribution 👍


Subscription will send "REQ" twice

Hi @yukibtc
With the following test code, I find out the "REQ" been sent twice:
    #[wasm_bindgen_test(async)]
    async fn test_normal_handle() {
        let filter = Filter::new().limit(1).hashtag("lz");
        let db = WebDatabase::open("nostr-db").await.unwrap();
        let client_builder = ClientBuilder::new().database(db);
        let client = client_builder.build();
        // client.
        client.add_relay("wss://nos.lol").await.unwrap();
        // client.da
        client.connect().await;
        client.subscribe(vec![filter], None).await;

        client
        .handle_notifications(|notification| async move {
            console_log!("Received notification: {:?}", notification);
            Ok(false) // Set to true to exit from the loop
        }).await;
    }

There is what I saw in browser console:

    #[wasm_bindgen_test(async)]
    async fn test_normal_handle() {
        let filter = Filter::new().limit(1).hashtag("lz");
        let db = WebDatabase::open("nostr-db").await.unwrap();
        let client_builder = ClientBuilder::new().database(db);
        let client = client_builder.build();
        // client.
        client.add_relay("wss://nos.lol").await.unwrap();
        // client.da
        client.connect().await;
        client.subscribe(vec![filter], None).await;
        sleep(2000).await.unwrap();
    }

This will send "REQ" twice too.
Is it an issue in wasm?

Hi, @yukibtc ,
I have also tested this situation, and as @Ungigdu  said, the subscription is indeed sent twice, which is a bit abnormal.

Thanks again! It's because after connection, the relay automatically (re)subscribe to all added subscriptions. This to allow to keep up the subscriptions in the case of websocket disconnection and re-connection.
So, one of the REQ is sent immediately after connection (automatically) and the other one by the client.subscribe method call.
I'l try to search a solution.

I should have found a solution. Please, let me know if you notice any issues. To me seems working fine.
To test it update you Cargo.toml like this:
nostr-sdk = { git = "https://github.com/rust-nostr/nostr", rev = "96930e9f168ab5a95204e41fd8e2b12135943362" }

Yeah! This issue is fixed, thanks a million❤


sqlite: parentheses in filter change generated functions

Version
1.15.0
What happened?
I wanted to add following query:
-- name: NextTask :one
SELECT id
FROM dt_tasks
WHERE
    (execute_at IS NULL
    OR execute_at <= ?)
    AND task_status = 'scheduled'
LIMIT 1;

but  the function it generates doesn't contain the parameter:
func (q *Queries) NextTask(ctx context.Context) (int64, error)

and using it returns an error: "not enough args to execute query: want 1 got 0".
When I remove the parentheses in the filter the generated function takes the additional parameter. I could make it work when I change the query to:
-- name: NextTask :one
SELECT id
FROM tasks
WHERE
    execute_at IS NULL
    AND task_status = 'scheduled'
    OR execute_at <= ?
    AND task_status = 'scheduled'
LIMIT 1;

The generated function has following signature:
func (q *Queries) NextTask(ctx context.Context, executeAt sql.NullString) (int64, error)

Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
No response
What type of code are you generating?
Go

any update for this issue?, seems like not solved yet till now.

The latest version seems to have fixed this issue.
https://play.sqlc.dev/p/692327e703c842e9f899af1c9dbff8b83276dedc36a9d3e3777079691d1f303e


Move abstract tests

Needed for https://github.com/amphp/file/pull/43

Note: I'll also need a new release of amphp/sync after this is merged in order to continue my work in amphp/file.

I'm not a fan of making tests part of the public API, especially as PHPUnit releases many more major versions as we do in our packages.
A work around is - - prefer-source combined with an autoload-dev rule.

I really dislike that workaround to be honest. 😅

I really dislike that workaround to be honest. 😅  But if that's what you guys prefer... @trowski ?

The workaround was used instead so this is now obsolete. Closing.


INRIX network conflation: use OSM?

Investigate using OSM road IDs to do conflation process. Would it be more robust?
Potential issues:

OSM segments are longer than SFCTA segments

Part of #8

@chunhochow 's hypothesis is that OSM IDs were not available when the conflation script was first written. @joecastiglione suggests checking old INRIX shapefiles on Q:\ to verify.
@sdrewc said there's no OSM IDs in the INRIX XD shapefiles at Q:\GIS\Transportation\Roads\INRIX\XD

According to XD Shapefile Field Definitions.docx and INRIX Analytics_OSM Reference Data_Technical_Specifications_v2.pdf in INRIX's 'MapUpdate Best Practices', INRIX generated a lot of the metadata on their segments from OSM. Supposedly each segment should have a segment ID which contains the OSM way ID within it.
However, I just looked at Bacon St in Portola, and none of the INRIX XD IDs and the OSM way ID match up (the OSM way was last updated 3 years ago so it's not because it was recently updated).
I think this is probably an email-INRIX-to-ask question, because if they can provide OSM IDs (which it seems like they at least use them internally during their map generation), or if they can point us to where to find these OSM way IDs, it will probably make our lives easier.

The OSM way ID - INRIX XD Segment mappings can be found in OSMConflation under each MapRelease at https://map-data-downloader.inrix.com/

From Drew:
We have conflated champ and OSM networks before (Q:\Model Research\TNC\Data\network_conflation).  Although there are newer networks (both CHAMP and OSM) and Bhargav developed better conflation tools (see #8), so it would be better to build a new correspondence.  A challenge is that the relationship is many-to-many, so we'd have to keep a correspondence file rather than a simple champ network attribute.
Coincidentally, SFMTA just wrote to me about network issues they'd found using DPW's street centerline file (which we also use to give true-shape geometries to champ networks for display purposes) and were thinking about moving to OSM.  I'm not sure exactly what their use cases are, but could be worth following up and possibly coordinating.


Lane line detection

#919  Issue of Lane Line Detection using Open CV. GSSOC Contribution

@aviralgarg05 there are multiple files in this commit.

Also, make sure the code is in .ipynb files and attach a demo video/clip.


Makefile:10: Makedefs: No such file or directory

Error appeared when running "make" from source code in ubuntu 20.04
Makefile:10: Makedefs: No such file or directory
make: *** No rule to make target 'Makedefs'.  Stop.

You need to run ./configure to create the Makedefs file.


No Web page for only Networking

Code is not letting me generate html page for Networking components only , and even the final page should show only networking workloads on final web html page..

Can you confirm that in your euc-monitoring.json that citrix.global.workloads is empty?
            "workloads": [],

Yes..it is empty..please find the below
"Global": {
"xdbrokerprimary": "10.XXX.XXX.XXX",
"xdbrokerfailover": "xdsecondary.domain.com",
"workloads": ["server"],
"controlup": "no"

Will you try removing the workload "server" so that the value is the empty set, and retry? I hope I understand what you're trying to do, in trying to only monitor the netscalers and not see any other Citrix resource type information.

i am getting the below trying to connect , even if i have not selected any Citrix tests to be performed.
"xdbrokerprimary": "10.XXX.XXX.XXX",
"xdbrokerfailover": "xdsecondary.domain.com".
I think Line 238-468 just needs to be wrapped in check to if global citrix test is yes then run it otherwise end and check microsoft


hive url not correct

Although the suggestion here help, the actual url that you can find in Ambari / Services / Hive / Summary is not correct. The zookeeper addresses in that URL are incorrect.
What works is copy the url that is suggested there, but replace the three zookeeper addresses by the ones that you can find in each of the components of Ambari / Services / SooKeeper / Summary.
Carefully copying these across to the JDBC configuration Hive URL works

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

ID: 287c69bf-3307-fdfa-0fc8-c14d424bf658
Version Independent ID: 88f3e22a-e69a-12cf-0209-4faa1625f6a1
Content: Apache Hive Zeppelin Interpreter error - Azure HDInsight
Content Source: articles/hdinsight/interactive-query/interactive-query-troubleshoot-zookeeperhiveclientexception-hiveserver-configs.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@YutongTie-MSFT did you try the scenario? I'm not seeing any notes from what CXP did. Thanks for any help you can provide.

@JasonWHowell Hello Jason, sorry I am not able to respond earlier, I think the customer is mentioning the address in step 2 is not working when you just copy/paste.

That is correct. The documentation tells us to copy the jdbc settings from the hive2 config, but these are incorrect somehow. The zookeeper addresses are incorrect in that config profile. It works if you copy and paste the individual zookeepers server addresses into the jdbc string.


Submit validation errors in FieldArray are initialised with empty

Are you submitting a bug report or a feature request?
Bug
What is the current behavior?

Create a FieldArray with the possibility to add fields (like in the FieldArray example)
Add a field
Use Submit Validation and throw an error for the submitted fieldsubmitErrors: {
  subfields: ['invalid input']
}

Add an additional field to the beginning of the FieldArray
=> The additional field receives a submit error empty (ie. { })submitErrors: {
  subfields: [{ }, 'invalid input']
}

What is the expected behavior?
The additional field receives a submit error undefined
submitErrors: {
  subfields: [undefined, 'invalid input']
}

Fixed by #2668

Fix published in v6.6.0.


a CHANGELOG will be great...

ref https://keepachangelog.com/

Thanks for the suggestion, we'll start keeping one going forward.

Because I wanted to keep my dependencies always up to date as much as possible but that's gonna be hard to do without knowing what changed in that version that I am updating to...

changelog script is in place.


POST /api/v1/challenge/reset/38970833402/AsdvYB0cNV/ - 400 Bad Request; challenge_required

When I tried to login, an error is showing like this " POST /api/v1/challenge/reset/38970833402/AsdvYB0cNV/ - 400 Bad Request; challenge_required" and exiting the program

Check ur IG, and acc verification question will appear, and select "it was me", then re-login to the tools.


hello

Challenge Say Hello to HTML Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

fuckit

Are you having trouble with the challenge or is this a frivolous issue report?

@digiisland, that is not issue. since that code is incorrect. if you got problem. so we would like to hear from you

Closing this issue as spam.


Remove information about internal implementation from documentation

Please remove or move to separate wiki topic description of internal implementation, like: FastExecuteScript.exe, websockets, etc.
Most of users just want to start using library and not interested in how it works internally.
This uses a portable version of the engine to execute the script (FastExecuteScript). Interaction with the script is based on the same principles as the web interface (via the WebSocket connection).

On disposing client closes WebSocket connection and terminate FastExecuteScript process.

->
On disposing client closes WebSocket connection and terminate BAS process.

StartAsync() method contains two main steps:

    Starting the engine service (Download, unzip and run executable)
    Starting the socket service (Connect to WebSocket and other)

Instead, please add information about BAS and where it can be downloaded from for users who are unfamiliar with software

I deleted some of internal information. Please check if i should remove something else.


Implement hot reload

seems like some conflicts appeared, could you try to resolve them as well?

Sure, you are speeeed

chck it jetzt Bruder

i need to check it locally, will do that later on

@satk0 I tested it and it is not working properly, it reloads the prometheus server even if file is written with exactly the same content. furthermore, you should add a check that will parse the config before reloading it and compare to the current config, to see if something was changed

Allright, Thanks a lot for checking it, such a parse-before-reloading feature would solve the problem. I will fix it after I will get it to build on NixOS, cuz I've once switched my os to nix XD

@kuskoman Done.

Done, lemme know how it looks @kuskoman


Request to add an icon for Locals.

Contribution Guidelines

[X] I have read and agree to the Contribution Guidelines

Icon Name
locals.png
Icon(s)

This would be for locals.com


Year 2018 arm feedforward

Hey,
I'm Gabor from team 114 and we're looking at your arm feed forward code to try to implement it in our robot. It's in the y2018/control_loops/python/arm_trajectory.py file. Can you please explain us a few things?

What are the G1 and G2 constants? I think this is the gear ratio of the motors, but I'm not 100% sure.

The following questions are not essential to be answered, but if you have time, we'd appreciate if you do

What is the difference between the K2 and K4 matrices? I understand what the other matrices do, but K2 and K4 are both multiplied by omega - which would imply that both are used to relate torque to omega. But I don't understand why you would need two matrices for the same thing. Can you please clarify what the exact purpose of these matrices are?
Can you please clarify how exactly the constant matrices are calculated and what the values in it are?

@AustinSchuh @platipus25 I'm pinging you because it seems that you are the contributors to this file, so I assume you know the implementation details.
Thanks in advance,
Gabor and team 114

@gaborszita

G1 and G2 are gear ratios for each joint
K2 and K4 capture different physical effects. K2 has to do with the impacts of centripetal accelerations/coriolis force; K4 has to do with the backEMF of the motors.
Not sure what you are asking re: constant matrices.

I think we've lost the derivation over time, but the derivation is done using lagrangian mechanics.


Fixed test commit message and test PR title

#1052  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Make distributed tests optional again.

These await tests were added in a way that was not skipped if distributed was not available.

[x] Tests added / passed
[?] Passes black dask / flake8 dask

Thanks. The AppVeyor failure is a know failure we're fixing elsewhere.


[BUG] Incorrect response from sum aggregation of long values

Describe the bug
Running sum on a long value ignores values producing incorrect results.
To Reproduce
Set up:
Start OpenSearch on localhost:9200.
Create and load mappings file: bigint_mapping.json
{
    "mappings" : {
      "properties" : {
        "value" : {
          "type" : "long"
        }
      }
    }
}

Load mappings file:
curl -H 'Content-Type: application/x-ndjson' -XPUT \
  'http://localhost:9200/bigint_mapping.json?pretty' \
  -u admin:admin --insecure --data-binary @bigint_mapping.json

Create and load mappings file: bigint.json
{"index": {"_index": "bigint", "_id": "1"}}
{ "value" : -9223372026854775808 }
{"index": {"_index": "bigint", "_id": "2"}}
{ "value" :<PHONE_NUMBER>854775807 }
{"index": {"_index": "bigint", "_id": "3"}}
{ "value" : 1000 }
{"index": {"_index": "bigint", "_id": "4"}}
{ "value" : -500 }

Load mappings file:
curl -H 'Content-Type: application/x-ndjson' -XPOST \
  'http://localhost:9200/bigint.json/_bulk?pretty' \
  -u admin:admin --insecure --data-binary @bigint.json.json

Run query:
Bits-MacBook-Pro:resources mitchellg$ curl --location --request GET 'http://localhost:9200/bigint/_search' --header 'Content-Type: application/json' --data-raw '{
    "from":0,
    "size":0,
    "timeout":"1m",
    "aggregations": {
        "sum(value)":{
            "sum":{
                "field": "value"
                }
            }
    },
    "_source": {
        "includes": [
            "value"
        ],
        "excludes": []
    },
    "sort": [
        {
            "_doc": {
                "order": "asc"
            }
        }
    ]
}'

Observe:
{"took":2,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":4,"relation":"eq"},"max_score":null,"hits":[]},"aggregations":{"sum(value)":{"value":500.0}}}
Response should be 499 not 500 because the sum of -9223372026854775808,<PHONE_NUMBER>854775807, 1000, -500 is 499.
Expected behavior
Long values should be able to be aggregated on
Plugins
OpenSearchSQL
Host/Environment (please complete the following information):

OS: MacOS
Version 13.0.1

@MitchellGale-BitQuill want to try to turn this into a failing test?

Add the quick test to SumIT:
    private void index5537TestData() throws Exception {
         prepareCreate("longidx").setMapping("value", "type=long").get();
        List<IndexRequestBuilder> b = new ArrayList<>();
        b.add(client().prepareIndex("longidx").setSource("value", -9223372026854775808L));
        b.add(client().prepareIndex("longidx").setSource("value",<PHONE_NUMBER>854775807L));
        b.add(client().prepareIndex("longidx").setSource("value", 1000));
        b.add(client().prepareIndex("longidx").setSource("value", -500));
        indexRandom(true, b);

    }

    public void test5537() throws Exception {
        SearchResponse searchResponse = client().prepareSearch("longidx")
            .setQuery(matchAllQuery())
            .addAggregation(sum("sum").field("value"))
            .get();

        assertHitCount(searchResponse, 4);

        Sum sum = searchResponse.getAggregations().get("sum");
        assertThat(sum, notNullValue());
        assertThat(sum.getName(), equalTo("sum"));
        assertThat(sum.getValue(), equalTo(-9223372026854775808L +<PHONE_NUMBER>854775807L + 1000L - 500L));
    }

Ironically (after a very brief look) it seems it could be a numerical precision error in CompensatedSum#add which was implemented to avoid numerical issues. This kahan summation is likely overkill and could probably be disabled for these use cases.

Is anyone available to take a look at this bug?

I have create a PR onto upstream: https://github.com/opensearch-project/OpenSearch/pull/6984

This issue has been paused according to the PR. Just wanted to see if anyone is interested in picking this up or if we should close this issue and reopen if/when someone picks it up again. And thank you for your efforts @matthewryanwells!


Only allow the author that requested the help command to react

The suggested modification ensures that only the author who initiated the help command can interact with the button. This prevents anyone else from deleting or modifying the page of the embed.

Oh my god i didn’t know that it would close it


chore(desktop-build-checks): annotate commit hashes of what is compared

📝 Description
in the report will be also noted 'Comparing X against Y' to know what is compared during checks.
this is specifically important as we have tradeoff to "take the latest artifacts that was compiled" which is not always the latest commit of develop so there could always be false positive and it's good people to be aware of it. in future we could improve something.
❓ Context

JIRA or GitHub link: n/a

✅ Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.

[ ] npx changeset was attached.
[x] Covered by automatic tests.
[x] Impact of the changes:

desktop-build-checks only

🧐 Checklist for the PR Reviewers

[ ] The code aligns with the requirements described in the linked JIRA or GitHub issue.
[ ] The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
[ ] There are no undocumented trade-offs, technical debt, or maintainability issues.
[ ] The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
[ ] Any new dependencies have been justified and documented.
[ ] Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

this commit was pushed to test the PR itself. will remove it after.


Update manifest.json

Submit a new Plugin to Marketplace
Plugin Github repo URL: https://github.com/chiimagnus/logseq-AIsearch
Github releases checklist

[x] a legal package.json file.
[x] a valid CI workflow build action for Github releases. (theme plugin for this).
[x] a release which includes a release zip pkg from a successful build.
[x] a clear README file, ideally with an image or gif showcase. (For more friendly to users, it is recommended to have English version description).
[x] a license in the LICENSE file.

I found that only by turning on this function can I call the API of the locally deployed Ollama.


Send Max amount remaining

While doing Send max, some amount remains in the account sometimes.

@cakesoft-swati Can you confirm this w/ the release containing S&R changes? It might have been resolved as a part of Send max refactoring.

-I verified it on live app 1.4.6(235) and dev app v1.5.0(243) as well.
-I'm unable to reproduce this issue.


fix kubelet on etcd snapshot restore

Issue:

https://github.com/rancher/rancher/issues/41547
Problem

The kubelet container does not restart on the worker-only node of the RKE1 node-driver cluster after performing an etcd snapshot restore, which causes chaos and unexpected behaviors because of the stale cache inside the container.
Solution

The kubelet container needs to be restarted.
A new environment variable, CATTLE_ETCD_RESTORE_GENERATION=<some-value>, is added or updated in the node plan for the kubelet process (container) when a restore is performed.  This allows the node agent to detect a change in the node plan and redeploy the kubelet container with the new plan during the upgrading process after the etcd restore is finished.
The kubelet containers on the etcd and control plane node are restated by RKE during the restore process.
Testing

Engineering Testing
Manual Testing

Tests have been done in the dev environment to confirm the kubelet container gets redeployed after performing an etcd snapshot store via Rancher UI.
Automated Testing

None
Lack of the framework capable of testing this fix/change
QA Testing Considerations

The bug described in the GH issue should be gone when performing etcd snapshot restore on RKE1 node-driver clusters.
Regressions Considerations

etcd snapshot restore - Generally speaking, the fix affects only the etcd snapshot restoring; I do not think and did not see any regression during my development and dev-validation. but I still suggest QA to perform the regression validation.
regular cluster editing & upgrading - the extra env should be preserved if it was added

Hi @superseb,
Assuming "restarting the kubelet container on worker-only nodes" is the workaround you refer to here, it is the proper fix to the bug, and the bug is something Rancher did not need to handle when it was designed initially.
Rancher deploys a node agent on every node; the node agent pulls a node plan from Rancher periodically and applies it only if qualified changes are detected.  This mechanism allows Rancher to avoid unnecessary restarting of kube-component containers in the event of updating a non-kube-component-related spec on the cluster. It covers the case of restoring an etcd snapshot, which technically is the same as upgrading a cluster in the view of Rancher/RKE.
When Rancher invokes RKE to perform the etcd snapshot restore, it sends out a curated RKE cluster configuration that contains only non-worker nodes. As a result, the kubelet container on etcd and control plane nodes are restarted by RKE, worker nodes are supposed to leave to Rancher to perform a rolling upgrade to avoid service downtime.
It works well until this bug occurs on k8s 1.23.x, which, based on our investigation, is due to the staled or out-of-synced cache in the kubelet container. Therefore, restarting the kubelet container becomes the proper fix to the bug.
In the following scenario where first we make an etcd snapshot, then deploy an application, then perform an etcd restore, because the cluster's spec is unmodified, the generated new node plan is also unchanged, as a result, the node agent will not restart the kubelet containers on worker nodes. The bug is triggered.
To fix the bug, the env var CATTLE_ETCD_RESTORE_GENERATION is added to the kubelet container spec by Rancher when it performs an etcd restore. At the first time a restore is performed, the node agent on the worker nodes detects this new env var when applying the new plan for kubelet, so it redeploys the kubelet container; on any following executions of etcd restore, the node agent on the worker nodes detects a value-change on the env var, so it also redeploys the kubelet container.  In the case of a restore fails or is interrupted, when we trigger a new restore the next time, the value of CATTLE_ETCD_RESTORE_GENERATION is changed again; as a result, the node agent does its job - redeploys the kubelet container - again.  There is no deadlock situation as far as I can think of.
Moreover, Rancher is still rolling-upgrade all worker nodes as before.
Fixing another mentioned issue does not resolve this bug because, currently, Rancher does not modify any env var on the kubelet container in the above scenario.  But we can still benefit from fixing that issue: dropping the logic for preserving the env var once that bug is fixed.
I hope the above will answer your questions and clarify things a bit.

@superseb,

what happens when a non-restore upgrade happens on clusters that do not involve replacing the kubelet (so no version upgrade, or any arg that would make RKE replace the kubelet), would the environment variable "workaround" be applied and the kubelet be replaced anyway because of the new environment variable?

In this case, the kubelet container will not be restarted.
The env var CATTLE_ETCD_RESTORE_GENERATION is preserved in the new plan if and only if it is found under the node.Status.NodePlan.Plan field which is the plan that has been applied. From the node agent's view, the env var CATTLE_ETCD_RESTORE_GENERATION is unmodified between the applied plan and the new one, so it will not restart the kubelet container.

workerPlan is not specific to restore right, so when workers in an existing clusters get upgraded to add, let's say a new arg to kube-controller, would that not trigger the "workaround" logic and add the flag to kubelet?

Changes to the kube controller would not trigger the redeployment of the kubelet container, because the node agent compares the plan at the per-component level. Moreover, as mentioned, the env var CATTLE_ETCD_RESTORE_GENERATION is always preserved in the new plan for kubelet if it has been there.


Options in url

Hi,
is there option in url to hide graph and summary or just show list or best, last release?
For example, something like :
https://qii404.me/github-release-statistics/?repo=/surfzoid/QtVsPlayer/?graph=no?sumary=no

not support yet


missing code of class qkv_transform

code of class qkv_transform(nn.Conv1d) is missing from Medical-Transformer/lib/models/utils.py file.

qkv_transform is just a class that performs the same action as nn.Conv1d.


chore: replace lodash

Coverage increased (+0.4%) to 76.078% when pulling ed2fd7f7e6604802171ec452dfd198b52c0d3c2d on chore/replace-lodash into c00b95d733997cfd32be035327b43e3181cf1161 on master.


Callback EndOfSong / Desactivate auto next song

Hello,
Could you create a callback at the end of the song?
Is it possible to desactivate the auto next song at the end of a song.
My problem :
The user have a choice to make at the end of the song to choose the next song. Thereforce i need to pause the song at 95% of the song...
Thank you :)
Great work.
Cheers.

If you combine what @chromahoen recommended with the getSongPlayedPercentage and add a time_updated callback method https://521dimensions.com/open-source/amplitudejs/docs#callbacks you can wait until the percentage is 95%. Then run what you need to run. If that's a pause, then Amplitude.pause()