Documentation for PFPool seem incorrect

Nothing big, but the docs for PFPool have the PFAddr object under the attribute PFPool.pool, but it seems to be under PFPool.addr in rule.py

Thanks for pointing this out! Docs corrected.


Update requirements.txt

@bradcornford We have dependabot already bumping versions when applicable. Can you please provide reasoning as to what these version bumps provide?

Sure, apprise is bumped to fix an issue I saw with slack notification tokens not being recognised. Docker was dumped as it wasn't parsing my tags properly from dockerhub. They were all bumped to the latest patch for the current minor version.

For continuity can you please add to the description:
Apprise/Docker - The link to the release with the fix, output of the prior observed state of logs for you, and output of the current observed state of logs for you after the version bump
If influxdb has not observed an issue, please revert that version bump as the influxdb library has a history of bugs and unintentionally introducing new conditions would be unforunate

I could be wrong, but maybe changing >= to == in requirements.txt would make dependabot PR the latest for all of those as they become available.


(Beta) Experience Cloud Audiences connection - conflicting/unclear statement in the pre-requisite section

Issue in ./help/destinations/catalog/adobe/experience-cloud-audiences.md
Good day team.
I appreciate a confusing statement in the pre-requisite section of the document.

The 2nd bullet states "You need an Audience Manager license to enable the Data Management Platform use cases mentioned in the section above".
The section above is actually listing Adobe Campaign, Adobe Target, Advertising Cloud, Analytics, Marketo.

Hence the conclusion would be that I need and Audience Manager license to share audiences to those solutions.
But then the 3rd bullet in the pre-requisites states:

"You do not need an Audience Manager license to share Experience Platform segments with Adobe Advertising Cloud, Adobe Target, Marketo, and other Experience Cloud solutions, via the Experience Cloud Audiences integration"

At this point it is not clear if the Audience Manager license is required or not to share audiences to those destinations.
Could you please review the pre-requisites?
Thanks!!
Alberto

Thank you for submitting this issue. We will review the documentation and make the necessary updates as quickly as possible. Tracking internally in PLAT-149338.

We've reviewed the docs and made the required updates. Closing this issue. Thanks!


Missing Newtonsoft.Json 9.0.1 dependency while calling the WriteToken method

Hi,
I get a FileLoadException while trying to use the WriteToken exception:
FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
Here's is the stack trace:
System.TypeInitializationException: The type initializer for 'System.IdentityModel.Tokens.Jwt.JsonExtensions' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at System.IdentityModel.Tokens.Jwt.JsonExtensions..cctor()
--- End of inner exception stack trace ---
at System.IdentityModel.Tokens.Jwt.JsonExtensions.SerializeToJson(Object value)
at System.IdentityModel.Tokens.Jwt.JwtPayload.SerializeToJson()
at System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlEncode()
at System.IdentityModel.Tokens.Jwt.JwtSecurityToken.get_EncodedPayload()
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(SecurityToken token)

@aibars it may be that there is a newer version of JSON.NET.  Have you tried adding a .Net binding redirect ?
https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/runtime/bindingredirect-element

@brentschmaltz  yes, i tried adding:
 AND

in the app.config file in the class library where I'm trying to use the library

#765

Hi ,
I am getting same kind of exception when I try to refer System.IdentityModel from openspan project  it throws me below error. As openspan itself uses Newtonsoft 5.X it does not allow 10.X. We dont have any option to provide binding redirect as there is no straight way to add config file in openspan. Please suggest
Source: "System.IdentityModel.Tokens.Jwt"
HResult: -2146233036
StackTrace Information

at System.IdentityModel.Tokens.Jwt.JsonExtensions.SerializeToJson(Object value)
at System.IdentityModel.Tokens.Jwt.JwtPayload.SerializeToJson()
at System.IdentityModel.Tokens.Jwt.JwtPayload.Base64UrlEncode()
at System.IdentityModel.Tokens.Jwt.JwtSecurityToken.get_EncodedPayload()
at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.WriteToken(SecurityToken token)
at TokenGenerator.TokenGen.CreateToken()

Exception Information

Exception Type: System.IO.FileLoadException
Message: "Could not load file or assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"
Regards,
Ritun


Link not working in the page

Hi Team,
In the page at

For more information about actions, see Use actions

The link is not working. It is referring to https://docs.microsoft.com/en-us/flow/actions which is no longer available. Also it would be helpful if a sample is provided on the page.
Thanks in advance
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2a261db5-f03e-8100-f9b9-592ba9a34cea
Version Independent ID: 281480d2-01b3-1488-9f00-9e82fd6d93ef
Content: invokeProcessAction (Client API reference) in model-driven apps - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Utility/invokeProcessAction.md
Service: powerapps
GitHub Login: @Nkrb
Microsoft Alias: nabuthuk

@pavansarma93  Thanks for the feedback. We have updated the docs and pushed to live. Closing the issue.  If you need further help, please reopen the issue or open a new issue.

@Nkrb : Though the link is available an example on implementation would be helpful similar to https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/retrieverecord , because when tried as per documentation I am still getting errors

@Nkrb : Though the link is available an example on implementation would be helpful similar to https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/retrieverecord , because when tried as per documentation I am still getting errors


Original 'input' event doesn't trigger by plugin when user cleared the input

Normal behavior of input is: when input was cleared the 'input' event is triggered. Using plugin we can't see this behavior: when input was cleared then the 'input' event is not triggered.

@StraDIVar ,
How exactly do you clear the input?  I tried several ways and the input event gets triggered.
In which browser did you test?

@StraDIVar ,
Ignore my previous comment.  I see the problem.

http://codepen.io/stratsevsky/pen/bpoWeq for fast tests. Just type 1 and then delete it. You won't see event in "log".

Hi, I just hit this problem too, but in more generic way. The input event is not fired when the value equals the input original value.
As example a created this fiddle: https://jsfiddle.net/#&togetherjs=3kAyz3yCCa
The input is preset to value 80. When you add few zeroes (800, 8000, ...), input events are fired. When you start removing them back (8000, 800), input events are still getting fired. But when you get back to the value 80, no input event appears.
I have tracked the problem to writeBuffer call in keydownEvent handler where the input event is fired only when undoValue !== getBuffer().join("").


Test reading old encrypted databases

Related to #955

Hello @praeclarum are there any updatest on this PR? :)


Speed up the replace non-lifecycled classification queries

https://github.com/zooniverse/Panoptes/blob/00cd74003b99458447feb0442b87e1b5e5e32c79/app/workers/requeue_classifications_worker.rb#L24
This query is timing out and needs optimization work. According to the planner the query is using the partial index on lifecycled_at IS NULL and when run without analyze the query planner stats look good. Running with analyze is very slow.
We could limit the scope of the table to look for using a known end point in the table (classification.id) that we've lifecycled all the records up to. We could compute a last known lifecycled id offset without forcing a full scan of the table, perhaps every hour (or as part of this worker job) and store this in a db record for future use.

Another option is to run this query on the db replica and ensure the worker returns quickly if the classification is already lifecycled (replica is behind primary).


Update zio-schema, zio-schema-derivation to 1.2.1

About this PR
📦 Updates

dev.zio:zio-schema
dev.zio:zio-schema-derivation

from 0.4.17 to 1.2.1 ⚠
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

superseded by https://github.com/zio/zio-dynamodb/pull/437


Use Java 20 language features

bors r+
Written under the supervision of @imkiva and @HoshinoTented

bors r+


Updated image spec docs to clarify image JSON

The title Image JSON Schema was used as a header in the section
which describes the layout and fields of the image metadata JSON
file. It was pointed out that JSON Schema is its own term for
describing JSON in a machine-and-human-readable format, while the
word "Schema" in this context was used more generically to say that
the section is meant to be an example and outline of the Image JSON.
http://spacetelescope.github.io/understanding-json-schema/
This section now has the title Image JSON Description in order
to not cause this confusion.

works for me LGTM - @fredlf @jamtur01


Text following list

I seem to get a parser error if I have a standard text block following a list such as
| list
    - This is definitely the first thing.
    - Another thing.

And one more thing not in the list.

I managed to work this out. As per the documentation for Mark.Custom.section

Parsing ends when there are three consecutive newlines.

My example above only has two newlines after the list!


logo contribution

Hi @AnandChowdhary I am a logo designer.
I contribute to open source projects that do not have logo.  I have designed a logo for staart. The logo idea also represents the function of the software. What do you think?

Hi @reallinfo, thanks for the contribution!
I love the icon, but I'd like to change the type to go with some of my other projects' logos (https://github.com/AnandChowdhary/hello-bar and https://github.com/AnandChowdhary/hovercard).

Would love to hear what you think!

Yeah, the font is fine. how about making such a change? My opinion, The fact that the marked places are discrete provides the icon and typeface integrity. I still respect your opinion. Just suggestion. Btw, would you please tell me the name of the font? I can send you a pr for source files.

Sure, sounds great! It’s an edited version of Proxima Nova but I think you can use Proxima Nova Rounded Medium and it should be exactly what you want.

Oh okay, by the way, what is proxima nova's license? Are you sure we can use it?

This is Proxima Nova Soft Medium. If you own a desktop use license, you can use it for logos:

Wow, looks great. honestly, I'm afraid to violate the licensing rules. Also, I think this font is paid font. but don't worry. I found a very similar font. Can we use this font if you don't mind?  FREE FONT:quicksand bold

I have purchased a license. I think it's worth it to get Proxima Soft 😉

Oh okay, If I had a license, I was going to handle all the arrangements. I added the ai file to the google drive. is there anything else you want from me? https://drive.google.com/open?id=1Yh6_Lh54WptJcQXZCxss_XQmnmfuUoaX

Nope, I'll just add the text, change the colors a bit (I don't like the Node.js dark green, but a similar shade) and add it to README.md with credit to you.

Thanks! if you need help with other projects, don't hesitate to contact me. Have a nice day!

@all-contributors please add @reallinfo for design

@all-contributors please add @reallinfo for design


ENH Add check for inferred compression before get_filepath_or_buffer

When reading CSVs, if compression='infer', check the input before calling get_filepath_or_buffer in the _read function. This way we can catch compresion extensions on S3 files. Partially resolves issue #11070 .
Checking for the file extension in the _read function should make the checks inside the parsers redundant. When I tried to remove them, however, I discovered that there's tests which assume the parsers can take an "infer" compression, so I left their checks.
I also discovered that the URL-reading code has a test which reads a URL ending in "gz" but which appears not to be gzip encoded, so this PR attempts to preserve its verdict in that case.

pls change tests which are incorrect as well
iow this should cause them to fail

I made this PR so that it didn't break any tests. Are the parsers ever accessed outside of the _read function? Do they need to be able to infer the compression type on their own? If not, I can remove that code from the parsers and change the tests.

the infer param can be moved higher up in the stack (eg in the get_filepath_or_buffer) - makes the readers simpler in that respect

Found it. I actually didn't need to change any tests. Now the only check for file extensions happens in the _read function, instead of separately inside each of the two parsers. By the time the parsers get called, any compression inference has already taken place.

gr8

Added a test using the new files in s3://pandas-test/.

Should I do anything else for this PR?

can you add a whatsnew note for this

pls rebase. ping when green.

@jreback , green! I found had to tweak get_filepath_or_buffer with an extra check for 'infer' compression.

thanks!


Failed to install node version '12.18.0'

Describe the bug
I've git thie error when i try to deploy.
2:01:40 PM: Build ready to start
2:03:27 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6
2:03:27 PM: build-image tag: v3.4.1
2:03:27 PM: buildbot version: fcbc7a79f7372e5995cf02954ef19fc48d20c871
2:03:27 PM: Building without cache
2:03:27 PM: Starting to prepare the repo for build
2:03:27 PM: No cached dependencies found. Cloning fresh repo
2:03:27 PM: git clone https://github.com/VachetVirginie/thinkerVoice
2:03:36 PM: Preparing Git Reference refs/heads/master
2:03:38 PM: Starting build script
2:03:38 PM: Installing dependencies
2:03:38 PM: Python version set to 2.7
2:03:54 PM: Version '12.18.0' not found - try nvm ls-remote to browse available versions.
2:03:54 PM: Failed to install node version '12.18.0'
2:03:54 PM: Error running command: Build script returned non-zero exit code: 1
2:03:54 PM: Failing build: Failed to build site
2:03:55 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1
2:03:55 PM: Finished processing build request in 27.804018647s

Duplicate of https://github.com/netlify/cli/issues/1163


[Sqllab] Error: no such column When there are same fields in two tables with a join

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
master
Actual results

but in Explore, can't get the field id__1

Steps to reproduce
Select * [choose two tables with same fields]
Run query
Explore

Which db engine is this? Looks like databases and drivers do different things to manage duplicated column names.

Above db engine is SQLite. I have just tested MySQL.

What can i do to avoid this error?

The workaround is to alias your fields uniquely as in:
SELECT a.id as foo_id, b.id as bar_id

Thanks.
But there may be many fields. For instance:(tables and table_columns  are original tables of superset)
SELECT * FROM tables a LEFT JOIN table_columns b ON a.id=b.table_id
I still want to find a way to use SELECT *

@Narcissus7 As Superset wraps the SQL Lab query into a subquery, I don't think there is any way for Superset to select the deduplicated column without explicit aliases as @mistercrunch suggested. One approach would be to somehow reconstruct the the SELECT *... into explicit SELECT a.col as col, b.col as col__1..., but I don't think that's really feasible. I think it might be better to raise an Exception in SQL Lab if there are duplicates.

@villebro I see. Thanks a lot

We could try to detect the double underscore __ when users click the Explore button and tell people to alias their columns properly.

https://github.com/apache/incubator-superset/pull/5778


Create Horizontal Bar chart using both axis as type 'Value'.

Version
5.2.2-rc.1
Steps to reproduce

take any horizontal bar chart example from E-chart examples
make y axis as type 'value'
bars will be verticle.

What is expected?
should get the horizontal bar chart with y axis as type 'value'.
What is actually happening?
getting vertical bar chart if we use y axis as type 'value'

Custom series is required. See examples and doc.

I habe the same requirement/request, as the 2 users above.


Fetching i18n resources not handled properly when there is a timeout within an organization

Describe the issue:
Please refer to the screenshot
https://user-images.githubusercontent.com/13362482/180884956-a6b23440-9915-4098-a737-34e7deb736e4.mov
How to reproduce:

Login to console - https://localhost:9443/console
Create a sub-organization under the root (super) organization
Switch to the newly created organization and be inactive for some time
Then go back to the console and you will see the below error message when fetching the applications inside the organizations.

Expected behavior:

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: wso2is-6.0.0-alpha4-SNAPSHOT
OS: MAC
Database: H2
JAVA Version: JDK 11

Optional Fields
Related issues:

Suggested labels:

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Error only for datastore

I can't use datastore, but the same environment vars work normally for others api (storage or logging).
$ export GOOGLE_CLOUD_PROJECT=my-project-id
$ export GOOGLE_CLOUD_KEYFILE='/root/my-project-id-key-file.json'
$ gem install gcloud
[...]
Successfully installed gcloud-0.7.2
27 gems installed

$ ruby --version
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]

$ irb
> require 'gcloud'
> gcloud = Gcloud.new
> dataset = gcloud.datastore
> dataset.find 'MyKind', '1'
Gcloud::Datastore::ApiError: API call to lookup was not successful
  from /usr/local/bundle/gems/gcloud-0.7.2/lib/gcloud/datastore/connection.rb:170:in `rpc'
  from /usr/local/bundle/gems/gcloud-0.7.2/lib/gcloud/datastore/connection.rb:70:in `lookup'
  from /usr/local/bundle/gems/gcloud-0.7.2/lib/gcloud/datastore/dataset.rb:173:in `find_all'
  from /usr/local/bundle/gems/gcloud-0.7.2/lib/gcloud/datastore/dataset.rb:154:in `find'
  from (irb):4
  from /usr/local/bin/irb:11:in `<main>'

> storage = gcloud.storage
> storage.buckets.first.name
=> "artifacts.my-project-id.appspot.com"

Hi @vyper,
Have you enabled the Cloud Datastore API in the Google Developers Console?

Yehp @quartzmo, using python works...
>> from gcloud import datastore
>> client = datastore.Client(project = 'my-project-id')
>> key = datastore.key.Key('MyKind', '1', project = 'my-project-id')
>> print client.get(key)
<Entity[{'kind': u'MyKind', 'id': 1}, ...]

Thanks for checking that, @vyper. I'm looking into it now.

I have not been able to reproduce the issue on my own project, everything appears OK (using v0.7.2).

@vyper Can you catch the error and print the .response object on the error? That might tell us more information about why the service returned an error.
begin
  dataset.find 'MyKind', '1'
rescue Gcloud::Datastore::ApiError => e
  puts e.response.inspect
end

@blowmage below...
response.status => 403
response.body => Unauthorized.

response.inspect
#<Faraday::Response:0x00558338142d08 @on_complete_callbacks=[], @env=#<Faraday::Env @method=:post @body="Unauthorized." @url=#<URI::HTTPS https://www.googleapis.com/datastore/v1beta2/datasets/my-project-id/lookup> @request=#<Faraday::RequestOptions (empty)> @request_headers={"User-Agent"=>"gcloud-node/0.7.2", "Content-Type"=>"application/x-protobuf", "Authorization"=>"Bearer ya29..0ALgaJ55352Di8NfpRKJmBnGl1eW93YFz4L5ogMgr4yn2W2sbf4CJTZx-lpaEIC7qqE", "Cache-Control"=>"no-store"} @ssl=#<Faraday::SSLOptions verify=true> @response=#<Faraday::Response:0x00558338142d08 ...> @response_headers={"vary"=>"Origin, X-Origin", "content-type"=>"text/html; charset=UTF-8", "date"=>"Tue, 26 Apr 2016 21:04:38 GMT", "expires"=>"Tue, 26 Apr 2016 21:04:38 GMT", "cache-control"=>"private, max-age=0", "x-content-type-options"=>"nosniff", "x-frame-options"=>"SAMEORIGIN", "x-xss-protection"=>"1; mode=block", "server"=>"GSE", "alternate-protocol"=>"443:quic", "alt-svc"=>"quic=\":443\"; ma=2592000; v=\"33,32,31,30,29,28,27,26,25\"", "connection"=>"close", "transfer-encoding"=>"chunked"} @status=403>>

@vyper Thanks! I have no idea why Datastore is unable to authenticate where the other services are. When did you generate your JSON keyfile?

Do you have any other environment variables set? Like DATASTORE_PROJECT or DATASTORE_KEYFILE?

I generated the json keyfile using:

Open:  Web Console > Permissions > Services accounts
Create a service account
Create a key file (json)

I tried others env vars and I tried also using gcloud = Gcloud.new 'my-project-id', '/app/my-project-id-key-file.json', but does not worked.

One way to check that both datastore and storage are using the same credentials is to run the following. This code should return true.
Gcloud.datastore.connection.credentials.client.issuer ==
  Gcloud.storage.connection.credentials.client.issuer

Fair warning, this code is using private objects that are not part of the public API, and will change as gcloud moves to GRPC.

require 'gcloud/datastore'
require 'gcloud/storage'

Gcloud.datastore.connection.credentials.client.issuer == Gcloud.storage.connection.credentials.client.issuer
# => true

Running acceptance tests I received the same errors...
https://gist.github.com/vyper/ee91c776083401399750549bf2396720

@blowmage In my personal account worked fine... Now, I don't know what is occurred. ):

@vyper Yeah, this is very strange. AFAICT datastore isn't doing anything different than the other services.
Can you tell us which versions of the gems signet, googleauth, and faraday you are using?
$ gem list signet googleauth faraday
Also, are you configuring Faraday to use any particular middleware?

I hate to ask, but can you try creating a new service account and downloading a new JSON file and see if the new JSON file also has problems?

Make sure you enable "Google Cloud Datastore API (v1beta2)" (which is hidden, and you need to search for it) not only "Google Cloud Datastore API". I think I have the same problem, not sure if it was 403 though.

@blowmage I am using a empty container of docker (ruby:2.3.0-alpine).
gem list signet googleauth faraday

*** LOCAL GEMS ***

signet (0.7.2)

*** LOCAL GEMS ***

googleauth (0.5.1)

*** LOCAL GEMS ***

faraday (0.9.2)

@timanovsky Service is enabled!

I tried create another service account, but I received the same error.

Another reason I had was VM clock were out of sync which made tokens not to
pass validation
Best regards,
Alexey Timanovsky.
On 27 April 2016 at 15:32, Leonardo Saraiva<EMAIL_ADDRESS>wrote:

@blowmage https://github.com/blowmage I am using a empty container of
docker (ruby:2.3.0-alpine).
gem list signet googleauth faraday
*** LOCAL GEMS ***
signet (0.7.2)
*** LOCAL GEMS ***
googleauth (0.5.1)
*** LOCAL GEMS ***
faraday (0.9.2)
@timanovsky https://github.com/timanovsky Service is enabled!
[image: screen shot 2016-04-27 at 09 27 43]
https://cloud.githubusercontent.com/assets/22549/14852035/52171a10-0c5a-11e6-91fc-e56d104d77e7.png
I tried create another service account, but I received the same error.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/gcloud-ruby/issues/635#issuecomment-215067677

@timanovsky for this error the message is:
400 Bad Request
Invalid JWT: Token must be a short-lived token and in a reasonable timeframe

@blowmage I tried using gcloud from this branch https://github.com/GoogleCloudPlatform/gcloud-ruby/pull/620 and work! Any idea?

@vyper That is good information. Thank you for trying the branch, and for continuing to work on this. Just so you know, there is an issue with the datastore topic branch: You will get an error if you send false property values, as discussed here.

Any default value, really. Like 0 or "" as well. A upstream fix is coming, and we'll release support for v1beta3 as soon as it arrives.

@blowmage same in 0.8.2 error continues... and I don't have your branch for use now. ):

@blowmage same in 0.8.2 error continues...

@vyper Some people complained they can not use API unless they setup a budget for the project on Billing page. (Just bringing more crazy idea on the table)

@vyper The branch you were using (blowmage/datastore-changes) was merged into the datastore branch on this repo. Have you tried that?

Yeh, I tried @quartzmo and it is broken for me. ):
@timanovsky haha, I've setted up a budget for project. But does not work only datastore, others services is fine. ):

@vyper Hmmm, I'm confused. In this comment you indicated that the branch blowmage/datastore-changes branch did work. But now you are saying the branch gcloud-ruby/datastore does not work? Can you confirm?

I am too @blowmage
using blowmage/datastore-changes (commit: 678e428)
$ bundle install
[...]
Using gcloud 0.7.2 from git://github.com/blowmage/gcloud-ruby.git (at datastore-changes@678e428)
Bundle complete! 8 Gemfile dependencies, 57 gems now installed.
Bundled gems are installed into /usr/local/bundle.

$ bundle exec irb
> require 'gcloud/datastore' # => true
> Gcloud.datastore.find 'Subscription', '8565' # => #<Gcloud::Datastore::Entity:0x00562ee77069f0 @properties=#<Gcloud::Datastore::Properties:0x00562ee9267ed8>

using 0.8.2
$ bundle install
[...]
Installing beefcake 1.1.0
Installing gcloud 0.8.2 (was 0.7.2)
Bundle complete! 8 Gemfile dependencies, 58 gems now installed.
Bundled gems are installed into /usr/local/bundle.
$ bundle exec irb
> require 'gcloud/datastore' # => true
> Gcloud.datastore.find 'Subscription', '8565'
Gcloud::Datastore::ApiError: API call to lookup was not successful
  from /usr/local/bundle/gems/gcloud-0.8.2/lib/gcloud/datastore/connection.rb:184:in `rpc'
  from /usr/local/bundle/gems/gcloud-0.8.2/lib/gcloud/datastore/connection.rb:77:in `lookup'
  from /usr/local/bundle/gems/gcloud-0.8.2/lib/gcloud/datastore/dataset.rb:232:in `find_all'
  from /usr/local/bundle/gems/gcloud-0.8.2/lib/gcloud/datastore/dataset.rb:204:in `find'
  from (irb):2
  from /usr/local/bin/irb:11:in `<top (required)>'

> begin
  Gcloud.datastore.find 'Subscription', '8565'
rescue Gcloud::Datastore::ApiError => e
  puts e.response.status, e.response.body
end

403
Unauthorized.

Ahh, 0.8.2 is the branch gcloud-ruby/master. I'm asking for you to try the branchgcloud-ruby/datastore.

@vyper Can you also try changing the scope of the authentication to use the global scope?
$ export GOOGLE_CLOUD_PROJECT=my-project-id
$ export GOOGLE_CLOUD_KEYFILE='/root/my-project-id-key-file.json'
$ irb
> require 'gcloud'
> gcloud = Gcloud.new
> global_scopes = ["https://www.googleapis.com/auth/userinfo.email",
*                  "https://www.googleapis.com/auth/cloud-platform"]
> dataset = gcloud.datastore scope: global_scopes
> dataset.find 'MyKind', '1'

@vyper If that doesn't work, let's step away from gcloud-ruby and see if you can authenticate to v1beta2 using the JSON/REST API and Google API Client:
$ export GOOGLE_CLOUD_PROJECT=my-project-id
$ export GOOGLE_CLOUD_KEYFILE='/root/my-project-id-key-file.json'
$ irb
> require "googleauth"
>
> auth = Google::Auth::ServiceAccountCredentials.make_creds(
*   json_key_io: File.open(ENV["GOOGLE_CLOUD_KEYFILE"]))
> auth.scope = ["https://www.googleapis.com/auth/userinfo.email",
*               "https://www.googleapis.com/auth/datastore"]
> auth.fetch_access_token!
>
> require "google/api_client"
>
> client = Google::APIClient.new
> client.authorization = auth
>
> datastore = client.discovered_api "datastore", "v1beta2"
>
> response = client.execute(
*   api_method: datastore.datasets.lookup,
*   parameters: { datasetId: ENV["GOOGLE_CLOUD_PROJECT"] },
*   body_object: { keys: [{ path: [{ kind: "MyKind", name: "1" }] }] }
> )
> response.success? #=> ???

@blowmage using version 0.8.2:

testing with global_scopes I received same error.
testing with json api I received same error.

[...]
{"error"=>{"errors"=>[{"domain"=>"global", "reason"=>"PERMISSION_DENIED", "message"=>"Unauthorized."}], "code"=>403, "message"=>"Unauthorized."}}>>
> response.success?
=> false

@blowmage using GoogleCloudPlatform/gcloud-ruby.git (at datastore@bf78930) its work!
Using gcloud 0.7.2 (was 0.8.2) from git://github.com/GoogleCloudPlatform/gcloud-ruby.git (at datastore@bf78930)
Bundle complete! 8 Gemfile dependencies, 57 gems now installed.
Bundled gems are installed into /usr/local/bundle.

$ bundle exec rib
> require 'gcloud/datastore'
> Gcloud.datastore.find 'Subscription', '8565'
=> #<Gcloud::Datastore::Entity:0x007fb2100061e8 @properties=#<Gcloud::Datastore::Properties ...

Okay, so the problem here is that gcloud-ruby 0.8.2, the Google API Client calling the JSON/REST API, and gcloud-ruby's datastore branch all use the same exact authentication mechanism. You are only getting the Unauthorized error when calling Datastore v1beta2. The gcloud-ruby's datastore branch is calling v1beta3, as is gcloud-python. That's the commonality.
So when I combine that information along with the fact that I cannot replicate the behavior, it leaves me with the conclusion that there is something in your account that is not allowing you to connect to Datastore v1beta2. This looks to be an account issue and not a code issue. And because of that there isn't much we can do to fix it...
Other than releasing a new version of gcloud-ruby that switches to v1beta3, which we plan on doing early next week.

@blowmage for now I will continue using "unstable" branch and I will open the issue in google for this point.
Thank you! (:

Closing for now. Please reopen if you can provide a reproduction for this on another account.


Filter and sort

[x] Filter by location (dropdown)

[x] Sort by freshest

[x] Sort most commented

[x] Sort posts by most likes

[x] Sort events by most attendees

[ ] Sort events by soonest => need some fixing (disabled)

[x] Add filter and sort to events list

[x] Add filter and sort to posts list

[x] Filter by latest

[x] Search location on homeList, eventsList, postsList

https://stackoverflow.com/questions/48227286/filter-array-in-array-by-date-between-2-dates
https://flaviocopes.com/how-to-sort-array-by-date-javascript/


Abort when running tensorflow.python.ops.array_ops.quantize_and_dequantize_v2

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.11.0
Custom code
Yes
OS platform and distribution
22.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Probably due to the feeding zero or empty input argument.
Standalone code to reproduce the issue
import tensorflow as tf
import os
import numpy as np
from tensorflow.python.ops import array_ops
try:
  arg_0_tensor = tf.random.uniform([2, 3, 4, 5], dtype=tf.float32)
  arg_0 = tf.identity(arg_0_tensor)
  arg_1 = 0
  arg_2 = [()]
  range_given = True
  round_mode = "HALF_UP"
  axis = None
  out = array_ops.quantize_and_dequantize_v2(arg_0,arg_1,arg_2,range_given=range_given,round_mode=round_mode,axis=axis,)
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
2023-08-12 12:56:52.291182: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-08-12 12:56:53.170157: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.190481: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.190660: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.190982: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-12 12:56:53.191527: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.191651: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.191767: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.240721: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.240904: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.241022: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-12 12:56:53.241116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1613] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 172 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5
2023-08-12 12:56:53.255445: I tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:735] failed to allocate 172.69M (181075968 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
2023-08-12 12:56:53.255723: I tensorflow/compiler/xla/stream_executor/cuda/cuda_driver.cc:735] failed to allocate 155.42M (162968576 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory
2023-08-12 12:56:53.263318: F tensorflow/core/framework/tensor.cc:734] Check failed: 1 == NumElements() (1 vs. 0)Must have a one element tensor
Aborted

@SuryanarayanaY I was able to replicate the issue reported here in this gist. Thank you!

@dmc1778 ,
Reported behaviour is replicated with tf-nightly.
(tf2.13) suryanarayanay@surya-ubuntu20:~$ python 61530_nightly_gpu.py
2023-08-14 13:10:04.426433: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9498] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-08-14 13:10:04.426603: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-08-14 13:10:04.426695: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-08-14 13:10:04.435483: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-14 13:10:05.457204: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
WARNING:tensorflow:From /home/suryanarayanay/miniconda3/envs/tf2.13/lib/python3.11/site-packages/tensorflow/python/ops/distributions/distribution.py:259: ReparameterizationType.__init__ (from tensorflow.python.ops.distributions.distribution) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
WARNING:tensorflow:From /home/suryanarayanay/miniconda3/envs/tf2.13/lib/python3.11/site-packages/tensorflow/python/ops/distributions/bernoulli.py:165: RegisterKL.__init__ (from tensorflow.python.ops.distributions.kullback_leibler) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
2.15.0-dev20230813
2023-08-14 13:10:14.923089: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:14.925285: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:14.927493: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:14.929514: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.013437: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.015470: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.017432: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.019435: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.021710: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.023581: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.025587: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:15.027413: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.293444: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.295481: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.297415: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.299343: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.301327: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.303011: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.304768: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.306565: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.308453: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.310164: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.311861: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:16.313625: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.779116: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.781443: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.783849: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.785923: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.787990: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.789881: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.791925: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.793745: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.795609: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.797549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 13621 MB memory:  -> device: 0, name: Tesla T4, pci bus id: 0000:00:04.0, compute capability: 7.5
2023-08-14 13:10:18.797966: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.800003: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 13621 MB memory:  -> device: 1, name: Tesla T4, pci bus id: 0000:00:05.0, compute capability: 7.5
2023-08-14 13:10:18.800400: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.802178: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:2 with 13621 MB memory:  -> device: 2, name: Tesla T4, pci bus id: 0000:00:06.0, compute capability: 7.5
2023-08-14 13:10:18.802512: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:894] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355
2023-08-14 13:10:18.804347: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1898] Created device /job:localhost/replica:0/task:0/device:GPU:3 with 13621 MB memory:  -> device: 3, name: Tesla T4, pci bus id: 0000:00:07.0, compute capability: 7.5
2023-08-14 13:10:19.172628: F tensorflow/core/framework/tensor.cc:780] Check failed: 1 == NumElements() (1 vs. 0)Must have a one element tensor
Aborted (core dumped)
(tf2.13) suryanarayanay@surya-ubuntu20:~$

You can still report this issue through proper channel as mentioned in SECURITY.md.

The issue resolved already.Tested with tf-nightly and attaching gist for reference. Thanks!


ERROR: Parser error: syntax error in file ub.scad, line 331 when running the DEMO.scad project

reproduction steps:

install latest version of openSCAD (2021.01). windows x64 exe installer version.
clone UB.scad github repo (version 9c519ba)
copy ub.scad to Documents/openscad/libraries
open DEMO.scad

expected results:
DEMO.scad should open with no errors.
observed results:

ERROR: Parser error: syntax error in file ub.scad, line 331
what I've tried:
the error on line 331 is highlighting this section:
if (!help&&!anima) if(version()[0]<2021)echo    ("<h4 style=background-color:lightgrey>••••• Help off       use: helpsw=1;  •••••");     else echo    ("❌••••• Help off       use: helpsw=1;  •••••"); and is specifically highlighting the 3rd dot in the echo statement in the else.  i.e. "X . . [.] . . Help off..."   it's the [.] that is highlighted.
I tried to change the string that's being echoed, but that did not affect it. it still complained.
I tried removing the  conditional and it just errors out in a different conditional upstream.
because I'm not familiar with UB.scad yet, I didn't try anything else and decided to submit an issue to see if this is a known issue or if perhaps I need to use a specific build of openSCAD rather than the latest 2021.01 that I found on the website.

thx -a colon was redundant, which was ignored by snapshot 21.10.19


[Bugfix] Include onResize/onResizeStart/onResizeEnd in the list of useEffect dependencies

Fixes https://github.com/wbkd/react-flow/issues/3119

good catch! Thanks for the fix.


Description of snippet

In section "Add vertices and edges":

the following snippet creates a "Thomas Andersen" vertex of type "Person", with properties for first name, last name, and age.

But the demonstration snippet only sets firstName property. (Overall, the tutorial keeps referring to the "Person" type but uses "person" in snippets, and there are some inconsistencies with type names being shown sometimes in code highlights and sometimes in quotes.)
Also, sentence before it seems to be missing "add": "First we some vertices using Gremlin's addV method."

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

ID: c5192394-5028-f577-e382-14c126b39ab1
Version Independent ID: 6e908eec-b16a-b09e-bf4a-4b982c804337
Content: Azure Cosmos DB: Develop with the Graph API in .NET
Content Source: articles/cosmos-db/tutorial-develop-graph-dotnet.md
Service: cosmos-db
GitHub Login: @LuisBosquez
Microsoft Alias: lbosq

@Mike-Ubezzi-MSFT can you assign this issue to me

@shoorik thanks for your pointing the issues, I made changes to fix them, changes should be live soon.

#please-close

@shoorik
We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


address non linear parsing cve by upgrading golang net

What type of PR is this?
/kind bug

What this PR does / why we need it
https://www.cve.org/CVERecord?id=CVE-2024-45338
Address CVE alerts by upgrading transitive dependency golang net.
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer
Does this PR introduce a user-facing change?

NONE

/lgtm
/approve


Resharper fixes

Description
Address various Resharper inspections. Address spelling errors and cleanup its dictionary.
Quality checklist

[x] Your code complies with our Coding Style.
[x] You've updated unit and/or integration tests for your change, where applicable.
[ ] You've updated documentation for your change, where applicable.
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.
[ ] There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.
[ ] You've added required license files and/or file headers (explaining where the code came from with proper attribution), where code is copied from StackOverflow, a blog, or OSS.

/azp run Steeltoe.All


provide OATs (OWASP Automated Threats) by property

Describe what problem your feature request solves
It would be good to reinstate this feature provided by version 1.x
Describe the solution you'd like
Apply OATs according to the property of the diagram element
Additional context

Hey @jgadsden, Could you please assign it to me?

Certainly! Thanks for taking this on @raghav1030 as part of the Google Summer of Code

@raghav1030 this will reimplement a feature that was present in versions 1.x, but has yet to be implemented in version 2.x of Threat Dragon
If you install version 1.6.1 and start adding threats to a diagram, you can see that there is a selection in the left hand pane for 'Threat within context'. This feature should be added to version 2.x, with a similar flow / functionality as version 1.x

Thank you, @jgadsden for your guidance. I'll look into it and get back to you.

Hey @jgadsden, I hope you are doing well. I found that this issue falls under GSoC 2024. I'm just wondering if it is still open for all or not.

Hello @professorabhay , this has been assigned to @raghav1030 for GSoC 2024

@mohamedselbohy from our discussions you would like to look at this issue, so I have assigned it to you if that is OK
it is targeted for version 2.4 in Q4 2024, but if that is too soon then get back to me

Of course! I would be happy to work on this feature, and I expect to finish it before the deadline, having enough time to discuss my implementation if needed.


Fix pytest crashes with hypothesis and pydantic

Pytest (sometimes?) crashes when it is invoked with -vv and pydantic and hypthesis are installed.
This is because _registered(typ) modifies _DEFINED_TYPES while it is being iterated:
INTERNALERROR>   File ".../lib/python3.9/site-packages/pydantic/_hypothesis_plugin.py", line 361, in <module>
INTERNALERROR>     for typ in pydantic.types._DEFINED_TYPES:
INTERNALERROR>   File ".../lib/python3.9/_weakrefset.py", line 65, in __iter__
INTERNALERROR>     for itemref in self.data:
INTERNALERROR> RuntimeError: Set changed size during iteration

Change Summary

Related issue number

Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

:pray: thanks so much.

Thanks for mergin <3


Personalised timer

A personalised timer option for users where they can set the amount of time they want to stay focused and when the timer ends the sounds stop.

can i work on this issue.. to fix it.

hey @Utkarshn10 may i work in this?

Hey @Mohit-0918 we assign issues on a first come first serve basis. Feel free to look up other issues. Thanks.

Hey @KSSaiTeja we are still working on where should we place the timer and what the flow should be. Will ping here with the details when its ready.


Performance improvements to Cake line mappings

Some performance improvements noted by @DustinCampbell while he was looking through the Cake line mapping code.

@mholo65 same here 🙂

@filipw yup, I guess I need to rebase and merge one at a time.. 😭

@filipw fixed conflicts.


Getting ready for controllers

Use arrow keys on keyboard to move between buttons on rules page.
This is a precursor to doing the same for a gamepad.

Awesome, merged. I like that this is a generic solution for navigating around. If we go with this route, we'll need a very obvious "this is selected" state. We might need a different layout on the splash page if we continue with this route.
What do you think of trying to create / simulate a cursor that i linked to the joystick?


core: functional testing strategy

Document the design and execution plan for functional testing.

Running the regression tests is described in the CONTRIBUTING document. Is this sufficient? If not, what are the expectations for this?


skip unavailable numbers

Codecov Report

Merging #17 (9e6dd93) into development (4d9abe9) will not change coverage.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##           development       #17   +/-   ##
=============================================
  Coverage       100.00%   100.00%
=============================================
  Files               15        15
  Lines              581       587    +6
  Branches            37        38    +1
=============================================
+ Hits               581       587    +6

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

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

Impacted Files
Coverage Δ

src/rki_covid_parser/__init__.py
100.00% <100.00%> (ø)

src/rki_covid_parser/parser.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Add .toStr() and .toBuf()

I made modules to convert dat keys to strings or buffers but that may be too many modules!
Should we integrate those functions here?
Happy to do it!

https://github.com/juliangruber/dat-encoding/pull/16

Sweet! Thanks.


filter (ticdc): add dml expression filter

What problem does this PR solve?

Issue Number: ref #6160
What is changed and how it works?
Add strcut dmlExprFilter to pkg/filter, it is a part of cdc row filter.
Note: This PR will not change any behavior of cdc, it only:

Add strcut dmlExprFilter.
Add a filter config struct EventFilterRule to pkg/config/filter.go.
Add a field RowChangedDatums to model.RowChangedEvent to facilitate dmlExprFilter's function.

Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note

None

Codecov Report

Merging #6215 (cc71266) into master (ef587e6) will decrease coverage by 0.3404%.
The diff coverage is 63.1546%.

Flag
Coverage Δ

cdc
63.9396% <66.7506%> (-0.7450%)
:arrow_down:

dm
51.8997% <49.6350%> (+0.0106%)
:arrow_up:

engine
62.5211% <54.3478%> (-0.0129%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6215        +/-   ##
================================================
- Coverage   58.4193%   58.0788%   -0.3405%
================================================
  Files           711        714         +3
  Lines         84205      83681       -524
================================================
- Hits          49192      48601       -591
- Misses        30540      30711       +171
+ Partials       4473       4369       -104

/merge

/run-kafka-tests

/run-verify
/run-kafka-integration-tests

/run-verify
/run-integration-yesys

/run-integration-tests


Vector or List

Avoid Seq() since it can be mutable and all.

I believe this is resolved with the coding guideline: http://www.scala-sbt.org/0.13/docs/Coding-Guideline.html#Use+specific+datatype+(%2C+%2C+or+)+rather+than+.

Default to Vector. Use List if constant prepending is needed. Use Array if Java interop is needed. Note using mutable collection is perfectly fine within the implementation.


Name= but for appending to a table

A way to add to the end of a table instead of specifying a specific number?
For people who don't want to make actorpool tables using :GetChildren, but want to copy paste actors directly instead of them all needing a different number in their name.
I'm not sure whar the syntax should be, but the options are probably these:

Name="in mytable"
Name="mytable[next]"
Name="mytable[#]"
Name="mytable[#mytable + 1]"
Other
None, but a doc page pointing to calling :GetChildren on an actorframe containing your pool

fwiw php's syntax look like this
$array[] = 'my thing';

I kind of like the PHP syntax in this case, but it makes things a little bit complicated to implement

I think it might even be possible to do like array[#array + 1], which I think would be the most natural? I'm not sure

didn't happen in version 5

We (me and Xero) have discussed and don't want to add this into the template, but issue will be left open until docs have been modified to mention :getchildren()


Enable prisma in tools

Current dependencies on/for this PR:

main

PR #328   👈

This comment was auto-generated by Graphite.


Reviewed suggestion notification shows wrong reviewer

We introduced a new type of notification in https://github.com/mozilla/pontoon/pull/2456

But the add-on shows the receiving user has the person who did them

Thank you for the report. The API for notifications on Pontoon side was designed around something else and the assumptions I made when implementing Pontoon Addon are most likely no longer valid. There is another case, when the links go somewhere else they actually should, I think when there is a comment.
I hope to give Pontoon Addon codebase some updates over the upcoming Easter holidays and resolve this as well.

Re-opening, this still affects the system notifications.


NativeApi: TryLoadLibrary() can fail for some systems

My system does not have a cuda-supported graphics card, but LLamaSharp's native API class detects cuda version 12.

The result is that the first time I try to interact with a LLM, I get an exception:
ggml_backend_cuda_init: error: invalid device 0
llama_new_context_with_model: failed to initialize CUDA0 backend
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Repeat 2 times:
--------------------------------
   at LLama.Native.NativeApi.llama_n_ctx(LLama.Native.SafeLLamaContextHandle)
--------------------------------
   at LLama.Native.SafeLLamaContextHandle.get_ContextSize()
   at LLama.LLamaContext.get_ContextSize()
   at LLama.StatefulExecutorBase..ctor(LLama.LLamaContext, Microsoft.Extensions.Logging.ILogger)
   at LLama.InteractiveExecutor..ctor(LLama.LLamaContext, Microsoft.Extensions.Logging.ILogger)
   at LLama.Examples.Examples.ChatSessionWithHistory+<Run>d__0.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
   at LLama.Examples.Examples.ChatSessionWithHistory.Run()
   at LLama.Examples.Examples.Runner+<Run>d__1.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
   at LLama.Examples.Examples.Runner.Run()
   at Program+<<Main>$>d__0.MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
   at Program.<Main>$(System.String[])
   at Program.<Main>(System.String[])

Details
Note that this file is present in my build folder (which is why cuda 12 is "detected"), but the only graphics card on my system is a GeForce GT 710 which I don't think supports cuda 11 or 12
./runtimes/win-x64/native/cuda12/llama.dll

This is the code that runs "successfully", deciding that I should be running cuda 12 because it found the DLL and loaded it
https://github.com/SciSharp/LLamaSharp/blob/3d7bf4287c120f0c2f207ce58f997b4ee6411e97/LLama/Native/NativeApi.Load.cs#L321-L331
Possible Solution: Interact with cuda before "succeeding"?
Perhaps TryLoad() shouldn't blindly return the pointer, but rather actually load the library and interact with it (e.g., getting ContextSize without crashing) before indicating that the loading was successful. I tried to figure out how to do this without loading a heavy model (maybe there's a dummy model or something used for testing?) but haven't been able to figure that out yet. I'll keep poking at this issue, but I welcome feedback in case anyone has suggestions!

Perhaps related, I wonder if this should throw if the returned value is 0
https://github.com/SciSharp/LLamaSharp/blob/3d7bf4287c120f0c2f207ce58f997b4ee6411e97/LLama/Native/NativeApi.cs#L20-L27

What is this method returning for your system?

I have a little more info.... my environment variables are signaling to use cuda 12

https://github.com/SciSharp/LLamaSharp/blob/3d7bf4287c120f0c2f207ce58f997b4ee6411e97/LLama/Native/NativeApi.Load.cs#L66-L74

What is this method returning for your system?

ha! we converged on the same thing at the same time

Success! 🚀
Uninstalling the NCIDIA CUDA toolkit automatically deleted the CUDA_PATH environment variable and the example runner works as expected.

Thanks so much for your input along the way!
I wonder if there's something we can do to detect this issue and show a more helpful error message to the user: when the cuda DLL is detected but it can't be used because the available hardware doesn't support it...


Move components into library

Currently, we're developing components in isolation as wrappers around material ui. If we get the time we might as well throw it up as a package on npm so we don't have to import ../../../components/yadayada
Long term big brain move would be to throw stuff into a storybook as well

storybook onboarding is easy - go for that instead of npm pkg


Sigh does not work on OS X El Capitan

Seems like some issue with fastlane_core gem:
> sigh
/Users/Denys/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/fastlane_core-0.18.2/lib/fastlane_core/configuration/commander_generator.rb:21:in `block in generate': -t is already used for the trace screen (key team_id) (RuntimeError)
	from /Users/Denys/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/fastlane_core-0.18.2/lib/fastlane_core/configuration/commander_generator.rb:13:in `each'
	from /Users/Denys/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/fastlane_core-0.18.2/lib/fastlane_core/configuration/commander_generator.rb:13:in `generate'
	from /Users/Denys/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sigh-1.0.0.beta6/bin/sigh:28:in `run'
	from /Users/Denys/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/sigh-1.0.0.beta6/bin/sigh:74:in `<top (required)>'
	from /Users/Denys/.rbenv/versions/2.1.3/bin/sigh:23:in `load'
	from /Users/Denys/.rbenv/versions/2.1.3/bin/sigh:23:in `<main>'

versions:
sigh (1.0.0.beta6)
fastlane (1.30.2)
fastlane_core (0.18.2)

Sorry about this, it has nothing to do with El Capitan. Please do the following
sudo gem uninstall sigh

sudo gem install sigh

You have an old beta version of sigh and I made a versioning mistake back then.

Indeed, issue fixed, thank you!

The issue currently reproduces for me if I run 'gem install fastlane'

@redsteep Please provide more information. Do you receive an error message when you install fastlane? Please provide the full stack trace and submit it in a new GitHub issue

Ok, it looks like travis-specific issue.


Add tests to helm charts

I would like to see charts for resources we add and values similar we do in https://helm.camunda.io/
See also https://medium.com/@zelldon91/advanced-test-practices-for-helm-charts-587caeeb4cb

Partly done with #26

Should be good for now. We can see whether we want to add IT tests later.


Flyout color when change color in a single MetroWindow

Describe the bug
Hello everyone!
I have a problem with changing the color to a single window. I will try to explain it with an example.
Expected behavior
I was hoping to change the color of the secondary window without affecting the main one
Actual behavior
In my Application.xaml, in ResourcesDictionary, I have this:
<ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Themes/Light.Blue.xaml" />
    <ResourceDictionary Source="/Resources/Icons.xaml" />
    <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.TabControl.xaml" />
</ResourceDictionary.MergedDictionaries>

The user can choose which color he wants to apply. In the example, the user has chosen Pink.
Starting the application, I apply the theme and color that the user has saved in the configuration, using this:
ThemeManager.Current.ChangeTheme(Application.Current, My.Settings.EstiloHUM, My.Settings.ColorHUM)

When I open the secondary window, according to a series of characteristics, that window may want to open it in Steel color.
I use this:
ThemeManager.Current.ChangeTheme(Me, "Light.Steel")
So far so good.

But if I look in the main window, everything is still Pink except for this flyout (which has Theme = "Accent" in the .xaml). This and other flyouts from main window are in design code (.xaml) and I used them as filters for different sections.

And also, when I close the second window, the main one seems to go back to Pink, but that flyout continues to show with Steel, and others flyouts, which has Theme = "Adapt", the content shows like this:

When closing the secondary window I have tried to correct it using:
ThemeManager.Current.ThemeSyncMode = ThemeSyncMode.SyncWithAccent
ThemeManager.Current.SyncTheme()

But it puts everything back to Blue, so I reassign the color Pink:
ThemeManager.Current.ChangeTheme (Application.Current, My.Settings.EstiloHUM, My.Settings.ColorHUM)
This solves it, but it entails a small delay of 3-4 seconds.
Has anyone else had this problem with the flyouts contained in the main window when changing the color in a secondary window?
Thanks for your help!
Environment
.Net Framework 4.6.2
ControlzEx version: 4.4.0
MahApps.Metro version: 2.4.5
Visual Studio 2015 version 14.0

@recetarioMDWiki In your second window you must change this call
ThemeManager.Current.ChangeTheme(Me, "Light.Steel")

to this which then changes the whole Application
ThemeManager.Current.ChangeTheme(Application.Current, "Light.Steel")

@punker76 Thanks for your help! However, I think that I'm not explain the problem well, sorry. I try again.
That I want is have "window A" in Pink color. And to open other windows in the same color. But, in some cases, I want open "window B" in Steel color (just to show a kind of "read only" style to the user). But just "window B"; the other window, "window A", the main window of the application, must be Pink (although is in second plane and blurred). And, finally, when I close "window B", "window A" (the main window) must show all its elements in Pink (in the screenshots I drew red arrows to point that those elements remains in Steel).
I know that I just can change the color to whole application when I open "window B" and, at close it, change again whole application to color Pink. But, I tried and it provoques a small delay that I would like to avoid (if is possible).
Thanks!

Hi @recetarioMDWiki
Any chance that you can provide a short sample showing your issue? Maybe we can find a solution then. I think it may be related to how you open the second window.
Happy coding
Tim

Hi @timunie
I'm sorry it took days to respond. I've been adapting a small project to simulate my problem, but it's done 🎉
How do I share it with you? Do I upload the .rar here?
It is a solution of visual studio 2015, in .NET VB.
Thanks!

Hi @recetarioMDWiki
best way would be creating a new github repro and upload it there. If you want to keep it private you will need to invite me and @punker76 otherwise just share the link here.
We can then just send you code changes.
Happy coding
Tim

Hi @timunie
I just create a new repo and invite you and @punker76 . If you need any more action from me, please let me know.
On the other hand, I'm going to explain the sequence for the tests here:
When starting the application, go to the "List" item

Then press "Search"

Double click on any of the rows in the datagrid

The second window will open in Steel. When you move it, you can see how the highlighted flyout turns Steel too, but not title or status bar when  you select the main window (althoug is blurred).

Close the second window. The tiny flyout on the right is Steel.

And when opening the left flyout - with the button on the top right (1) or the tiny flyout on the rigth -

it has also changed to Steel

I hope it helps. Thanks so much!

Ok I can confirm that there is an issue where all flyout changes theme whereas the window doesnt. I managed to reproduce this in the demo as well:
https://github.com/timunie/MahApps.Metro/tree/FlyoutThemingIssueInDemo
/cc @punker76 @batzen

The culprit for all of this is that inside of ThemeManagerOnIsThemeChanged in MetroWindow the new theme is applied to all Flyouts contained in that window.
But the ThemeChanged event from ThemeManager is fired globally and not on a per Window basis.
Instead of using e.NewTheme for changing flyout themes, unconditionally, the theme should be detected from the current window instance and that theme should then be used if the even sender is null, if the event sender is the current window take the theme from e.NewTheme.
At least that's what i think would be the right solution.
We should also investigate the delays @recetarioMDWiki mentioned.
My rough guess is that the application contains a lot of flyouts and because ThemeChanged is fired globally every flyout changes it's theme. So fixing the flyout theme change code should, in theory, also fix the delays.


Increase IntegrationTestScenario timeout to 120m

The IntegrationTestScenarios on snapshots fail due to
Image URL is not accessible: Get \"https://quay.io/v2/\": exceeded allowed execution time of 45m0s, the timeout can be adjusted using the --timeout command line argument. Error: Get \"https://quay.io/v2/\": exceeded allowed execution time of 45m0s, the timeout can be adjusted using the --timeout command line argument

According to this slack thread, we need to increase the timeout in the ITS
Slack: https://redhat-internal.slack.com/archives/CKR568L8G/p1732535816570409

/lgtm


++!@HERE’S!!** WAY TO WATCH Panthers vs. Raiders LIVE STREAMS ON TV CHANNEL

Watch the Carolina Panthers vs. Las Vegas Raiders game on Hulu + Live TV. You can watch NFL football, including CBS, with Hulu + Live TV. The bundle features ...
🔴 GO LIVE==►► CLICK HERE TO WATCH LIVE

🔴 STREAMING==►► CLICK HERE TO WATCH LIVE
How to watch the Carolina Panthers vs. Las Vegas Raiders NFL game today: Week 3 livestream options, more
The Carolina Panthers vs. Las Vegas Raiders game will be played today. Panthers quarterback Andy Dalton is scheduled to start in place of Bryce Young, who was benched following the team's rocky season start. The Raiders have momentum coming into the weekend, following a big 26-23 Week 2 victory over the Baltimore Ravens.
Keep reading to find out how and when to watch the Carolina Panthers vs. Las Vegas Raiders game today, even if you don't have cable.
Watch Panthers vs. Raiders on Paramount+
CBS, Paramount+ and CBS Essentials are all subsidiaries of Paramount Global.
How and when to watch the Carolina Panthers vs. Las Vegas Raiders game
The Carolina Panthers vs. Las Vegas Raiders game will be played on Sunday, September 22, 2024 at 4:05 p.m. ET (1:05 p.m. PT). The NFL football game will air on CBS, and stream on Paramount+ and the platforms featured below.
How and when to watch the Carolina Panthers vs. Las Vegas Raiders game without cable
While many cable packages include CBS, it's easy to watch the game if CBS isn't included in your cable TV subscription, or if you don't have cable at all. Your best options for watching are below. (Streaming options will require an internet provider.)
Paramount+: Watch CBS-aired NFL football games without cable
If you want to spend your weekend watching football but don't have a cable subscription, consider a subscription to Paramount+. Paramount+ gives viewers access to all CBS original content, movies and more. You can watch NFL football on the Paramount+ Essential tier for $7.99 per month, or watch college football live on the Paramount+ with Showtime subscription tier, starting at $12.99 per month.
The platform live streams NFL football games airing on CBS, plus more live sporting events, including NCAA college football, PGA Tour golf and professional soccer.
What you can stream with Paramount+:
All NFL football airing on CBS locally and nationally
On-demand CBS programming, including hit shows like "Survivor" and "NCIS"
Paramount+ original programming like "Lawmen Bass Reaves" and "Tulsa King"
Professional soccer, including Champions League live (with Paramount+ with Showtime)
SEC college football games live (with Paramount+ with Showtime)
Add Paramount+ to your Amazon Prime Video subscription
You can also add Paramount+ to your Prime Video subscription to access CBS-aired NFL games, plus Paramount+ originals. Add Paramount+ Essential to your Prime Video subscription for $7.99 per month and watch every CBS-aired NFL game this season. Or, college football fans should add Paramount+ with Showtime to their Prime Video subscription to get access to CBS-aired college football and more for $12.99 per month. Both subscription tiers include a seven-day free trial.
Start streaming NFL on CBS for free
Get Paramount+ as part of Walmart+ and watch the NFL this season
The Walmart+ shopping subscription service includes access to the Paramount+ Essential tier (with live NFL games such as this one), a $60 per year value. Walmart+ subscribers also get discounts on gasoline at Mobil and Exxon stations, access to special members-only deals (including Walmart's holiday deals), same-day home delivery from your local store and more.
Walmart+ costs $98 per year. Tap the button below to learn all the benefits of Walmart+, and to start your 30-day free trial.
Why we like Walmart+:
Walmart+ members get access to this game through the Paramount+ streaming service.
You can get groceries delivered to your home quickly -- sometimes same day -- without paying Instacart-like markups.
Walmart+ members get early access to Walmart's Black Friday deals.
You can make returns from home -- Walmart will pick them up for you. (Restrictions apply; must be present for pickup.)
Walmart+ members now get 25% off Burger King digital orders every day and a free Whopper with purchase every three months.
Start your Walmart+ free trial
Watch the Carolina Panthers vs. Las Vegas Raiders game free with Fubo
Live TV streaming service Fubo offers the same top-tier programming you can get from your local cable provider at a fraction of the price. The streamer is a sports fan's dream considering the sheer volume of live sporting events you can watch on it.
Fubo is offering a seven-day free trial and $30 off your first month of service, so there's never been a better time this year to sign up. You'll be able to watch all of today's best NFL games without risk. Once you subscribe, you can begin watching immediately on your TV, phone, tablet or computer.
Fubo packages include access to NFL games airing on your local CBS affiliate, Fox Sunday NFC games via "NFL on Fox," "Sunday Night Football" on NBC, "Monday Night Football" on ABC and ESPN, and all games aired on NFL Network. There are plenty of channels for NCAA college football fans too, including SEC Network, Big Ten Network and ESPNU.
Top features of Fubo:
There are no contracts with Fubo. You can cancel at any time.
The Pro ($49.99 first month after a seven-day free trial, $79.99 thereafter) tier includes over 200 channels, including channels not available on some other live TV streaming services.
Upgrade to 4K resolution with the Elite with Sports Plus tier ($69.99 first month, $99.99 thereafter). It features 299 channels, including NFL RedZone.
Fubo also offers live MLB, NBA, NHL, MLS and international soccer games.
All tiers now come with unlimited cloud-based DVR recording.
You can watch on up to 10 screens at once with any Fubo plan.
Stream on your TV, phone, tablet and other devices.
Watch the NFL on Fubo
Watch the Carolina Panthers vs. Las Vegas Raiders game on Hulu + Live TV
You can watch NFL football, including CBS, with Hulu + Live TV. The bundle features access to 90 channels, including both Fox and FS1. Unlimited DVR storage is also included. Watch every game on every network with Hulu + Live TV, plus catch live college football games, exclusive live regular season games, popular studio shows (including NFL Total Access and the Emmy-nominated show Good Morning Football) and lots more.
Hulu + Live TV comes bundled with ESPN+ and Disney+ for $77 per month after a three-day free trial.

hgjtfyt


Mediainfo crash when looking at PKL.mxf file

Hi,
I was looking at the netflix reference content sol levante and opening the IMF PKL (mxf packingList) file causes mediainfo 22.03 on Mac to close immediately and crash.
PKL_51e5f3c5-44b3-4001-9c90-9a19087982d3.xml
from:
https://opencontent.netflix.com/

The link for Sol levante assets to download shows a "Error: [object Object]" error, please provide a way to get the faulty content.

I see the same thing now on Chrome on Mac. I was advised by Netflix support chat to try netflix.com/clearcookies first. That didn't work but using Safari made the links work for me on the netflix opencontent site. Can you try with a different browser?

I understood now. Firefox or Chrome do an invisible redirect to https. If I manually enter the URL with http it is OK. Downloading.

I understood now. Firefox or Chrome do an invisible redirect to https, and https is broken (bad certificate). If I manually enter the URL with http it is OK. Downloading.

Tested on MediaInfo (both MacAppStore and standalone) 22.03 on macOS 11.6 Intel and it is fine (MacAppStore versions shows nothing, expected because it is due to the security of the Mac App Store; .mxf file is analyzed without crash too).

Hi, I updated my whole OS (was previously on Catalina) and re-checked this today. I still get a crash. I have attached the system crash info
error_dump.txt
.


reference to heatmap3d

Hi,
If you like, maybe you can mention my recent component in your README:
https://github.com/morandd/aframe-heatmap3d/
Like yours, it is built for displaying spatial data. I'm reading data from an image file instead of JSON. (Once plus for using image files is the great compression: compare the filesize of the same data as JSON vs. a low-quality JPG.)

Yeah sure sounds great! Thanks again for your work on this project. Aframe-Heatmap looks awesome as well!


Rename MessageReceivedEvent to MessageCreateEvent

Pull Request Etiquette

[X] I have checked the PRs for upcoming features/bug fixes.
[X] I have read the contributing guidelines.

Changes

[X] Internal code
[X] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
Rename MessageReceivedEvent to MessageCreateEvent.
I just found this todo while reading the source code (I hope I'm not too late):
//TODO-v5: Consider renaming this to MessageCreateEvent to match standard event naming (and to match Discord naming!)

This PR deprecate (without breaking the library interface) MessageReceivedEvent. Also, when accessing the MessageReceivedEvent, there will be a "redirected" to the new event, so that when making changes to logic, we don't need to edit same code in 2 places

This change does not seem worth it. I think we should just remove that todo comment.

I think todo should be removed in some large PR dedicated to refactoring/code cleaning (or just separate PR). Rolling back existing changes in this PR will be time consuming.
Renaming will never happen, or is it just a temporary freeze? If the latter, I think you can leave this PR for the future without deleting todo (so that others do not open duplicates). 🤔

Renaming will never happen, or is it just a temporary freeze

Very likely not going to happen.

should be removed in some large PR

I don't see why removing a comment requires a large PR. I think it's fine to have small PRs with specific scopes.

Freezing for an indefinite time.


MDIP Commands and Operations Naming Standardization

Now we we are about to create another abstraction layer to Keymaster (REST API), we should take this opportunity to look at standardizing our MDIP Keymaster function names and associated CLI / API endpoints.

The first choice to make is whether to standardize on verb-subject or subject-verb. create-poll or poll-create? The first (verb-subject) has the advantage of being closer to spoken English. The second (subject-verb) has the advantage of grouping functions by common subject when sorted alphabetically.
Any preferences @Flaxscrip @alexfornuto ?

I think I'd like to see a few examples of both before adding my opinion. But in general, I think that a sorting that's alphabetical and subject sorted at the same time would be nice to have, as long as it's not at the cost of usability.
In the end, I defer to those whose user personas more closely match those who would be users of this API. However you decide to set the naming convention, we'll find a good way to document the endpoints.


Android Java: 10.00 Bluetooth tutorial in android

Description :scroll:

Give a step-by-step tutorial in Java along with a brief and clear explanation.
Required Documentation or Video or Audio.

Domain of Contribution :bar_chart:

[x] Android Dev (java)

References :
https://www.tutorialspoint.com/android/android_bluetooth.htm

Please Read it Carefully Before Contributing

Changes should be made in Android_Development_With_Java/ directory under Android_Development_With_Java branch.
Inside Android_Development_With_Java directory/ creates a directory and names it according to the topic
Inside Topic Name directory/ add your task with subtopic number and name and make changes accordingly.
You have to push your PR to the Android_Development_With_Java branch only.
You can take help to the references but don't simply try to copy it. Just explain in your own word.
This issue is for GWOC'21 contributors only.
You need to push in a single commit. If there exists more than one commit then you need to squash your commits into one commit.
Will assign you on a first come first serve basis.
Please try to complete your assigned task within 7 days. If you need some more time then, please inform mentors and supervisors.
If you have two previously assigned issues on Android-Java pending then please first complete them.

Supervisor @VikasPandey121

/assign


Master-Slave-Logic should be explained in the README.md

But before I need a better understanding of what is going on.
I think for the documentation a graphic with Master, Slave-parallel and Slave-opposite is helpful. Maybe also a graphic of a house with multiple floors and zones?

see Branch:

Master-Slave_explained

Credits to jgraph / drawio-diagrams, who released the basis for the images from 1c74790 under Apache-2.0 license


Add Divisions - PSA

Title of ticket: Prior to Onboarding PSA - we need to add their list of divisions they track/forward requests onto
DOD

[x] Add Service Operations
[x] Add Employee Relations
[x] Add Business Performance Division
[x] Add Business Intelligence/Corporate Reporting
[x] Custom Research
[x] Financial Management Office
[x] Telus Sourcing Solutions
[x] Deputy Minister's Office
[x] People and Organizational Development
[x] Total Compensation and Benefits
[x] Policy, Innovation & Engagement
[x] Integrated HR Branch
[x] Occupational Health & Rehab
[x] Disability Plan Performance
[x] Corporate Health Program
[x] Safety Advisory Services
[x] Workplace Health Planning

Onboarding planned for February. Date TBD.

Confirmed in Test. Closing ticket.

PROD RELEASE STEPS Taken

Created DB back up of Camunda, FOI DB

patroni-master-002-ffa-camunda_2023-01-10_15-41-16.sql.gz
patroni-master-002-foidb_2023-01-10_15-41-15.sql.gz

Backed images FormsFlowWeb and Requestmanagement api -002

oc tag forms-flow-web:prod forms-flow-web:prod-bu

oc tag request-management-api:prod-002 request-management-api:prod-002-bu

Tagging FormsFlowWeb and Request Managment API - 002

oc tag  request-management-api:test request-management-api:prod-002
oc tag  forms-flow-web:test forms-flow-web:prod


1.0.0-rc.0

We should better document the update of the .eslintrc.json (the fact that it moved to .eslintrc.js).

I've added the inspiration on the essentials page https://deploy-preview-92--elastic-austin-cf9d40.netlify.com/docs/essentials/add-a-page-client-side.html


I don't think this is valid anymore after various godep updates we have done.


[file_open,modsList.txt]

Describe your problem here.
I open the game and i get this error: [file_open,modsList.txt]
I have the file modsList.txt and inside it there is the text My-Mod|1
What should I do?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
I extracted the folder in modTemplate.zip and I added "freakyMenu.ogg" in example-mods\My-Mod\music\

Nevermind, it's working now. I think it was an antivirus issue


Is brackets supposed to not apply formatting before and after php inside textarea contents?

Was told in Adobe forum that the issue I was experiencing in Dreamweaver CC2017 build 9314 was due to their use of brackets. Appreciate if someone would advise if the following is intended behavior or if not could bring this to the attention of whoever is appropriate to fix. Basically, if I enter the following code:
<textarea name="someVariable" id="someVariable" rows="10"><?php echo $someVariable; ?></textarea>

It looks and works fine but if I go to Edit > Code > Apply Source Formatting (which I want to do for the rest of the document) it adds unwanted white space inside the textarea like the following:
              <textarea name="someVariable" id="someVariable" rows="10">
                   <?php echo $someVariable; ?>
              </textarea>

Which of course can be an issue. For example in cases where the textarea is used to allow users to update a database record it adds white space within the textarea before and after their echoed data and if they don't delete it each time before submitting the form to update their database record, it gets added to the database record.

Ok, sorry about that, I was told here it was brackets that caused it which Dreamweaver apparently uses but I guess not for formatting source as you mention. Since my orignal post, I have reported the bug to Dreamweaver so hopefully they can figure it out.


scvi-tools NB parameterization for numpyro

@jjhong922 I figure we should work in only the two new files until we figure out where things should go


/api/pipelines/list 500

/api/pipelines/list 500

I tried this:

but I didnt see pipelines in the Admin panel

Going here on loncalost:

/api/pipelines/list

Gives:

{"detail":"Not authenticated"}

But I'm signed in

What method did you use to install Pipelines? if they're both on docker you should use host.docker.internal instead of localhost. Keep us updated!

Yes, both docker, I will debug, and report back, thanks!

@melvincarvalho
Wondering if this one is related: https://github.com/open-webui/open-webui/issues/2723
I'm betting that if you refresh the page, your UI breaks and doesn't load.
If that's the case, just modify the config.json of open webui, something like this:
	"openai": {
		"api_base_urls": [
			"http://<IP_ADDRESS>:4000/v1",
			"http://<IP_ADDRESS>:9099"
		],
		"api_keys": [
			"sk-xxx",
			"0p3n-w3bu!"
		],
		"enable": true
	},

In this example, the first IP would be my LiteLLM instance and second IP is the piplines instance. The first api_key is for litellm and second one is for pipelines.

My 2 commands
open-webui

run -d -p 6111:8080 --add-host=host.docker.internal:host-gateway -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:main

pipelines

docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -v pipelines:/app/pipelines --name pipelines --restart always ghcr.io/open-webui/pipelines:main

I figured out where the pipelines tab is, but it's empty:

debug
When clicking refresh in connections it did give me this, although both dockers are running

I get this when openai url is host.docker.internal:9099 and when it is localhost:9099 I get the 'openai: network problem'. I have never successfully used a pipe, filter, or anything without error.

@timmytaco45 Did you install any pipelines?

I added the urls for 'function calling python' and 'applescript'. They were visible but neither worked and broke normal chat use so I assumed the /examples folder was being sorted out. I will try again.


Issue 539 - Hide R&D job types

Added switch to Hide R&D job types to Job Types view.

I added a new REST filter parameter "is_operational" to the /job-types and /job-types/status views that can be used to get only operational, only R&D job-types, or all job types.

For the UI, I think it's more clear to invert the option to be something like "Show R&D" or "Include R&D".

What should be the default value? Show or no?

Let's go with show for right now.