KeyError: <class 'bfloat16'> after using lax._convert_element_type

from jax._src.lax import lax
from jax import numpy as np

a = lax._convert_element_type(np.ones((), np.float32), new_dtype=np.bfloat16, weak_type=True)
np.where(np.ones((), a.dtype), a, np.ones((), a.dtype))

gives
---------------------------------------------------------------------------
UnfilteredStackTrace                      Traceback (most recent call last)
<ipython-input-33-cebcbf9d106e> in <module>()
      4 a = lax._convert_element_type(np.ones((), np.float32), new_dtype=np.bfloat16, weak_type=True)
----> 5 np.where(np.ones((), a.dtype), a, np.ones((), a.dtype))

23 frames
UnfilteredStackTrace: KeyError: <class 'bfloat16'>

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

KeyError                                  Traceback (most recent call last)
google3/third_party/py/jax/_src/numpy/util.py in _promote_dtypes(*args)
    251     return args
    252   else:
--> 253     to_dtype, weak_type = dtypes._lattice_result_type(*args)
    254     to_dtype = dtypes.canonicalize_dtype(to_dtype)
    255     return [lax_internal._convert_element_type(x, to_dtype, weak_type) for x in args]

KeyError: <class 'bfloat16'>

As suggested offline by @jakevdp and @hawkinsp I tried replacing np.bfloat16 with np.dtype(np.bfloat16) and np.dtype('bfloat16'), but getting the same error.

Thanks for the report – I think this is related to misuse of non-public APIs. Although weak_type is an annotation on any dtype, in the normal course of things it's only generated as an attribute on float64, int64, and complex128 (or their X64-demoted equivalents). JAX type promotion doesn't recognize "weak bfloat16" and errors. If you can find a way to cause this error (i.e. generate a weakly-typed bfloat16 value) without using a private API, it would be a bug.
In any case, we could fix this by adding another check to the _jax_type utility function here: https://github.com/google/jax/blob/7008b3213291e672015ba3c2caad7583033c04df/jax/_src/dtypes.py#L245-L248
The problem is that jnp.dtype('bfloat16').type(0).item() does not return float as it does for other floating point dtypes.

I think this should be fixed by the bfloat16 item() change that @pschuh is working on.

Looks like this is fixed as of jaxlib version 0.3.14


feat: v3 update webhook python sdk

PR Acceptance Criteria
Fixes #54
Guidelines

[x] PR follows the Contributing guidelines?
[x] PR Adheres to our Code of Conduct?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code complete

[x] A README.md available describing how to setup and test the code?
[x] The code sample in the correct location (i.e. email/node/read-email)?
[x] Link added to the repository readme (view # Code Snippets created by the Nylas Community with examples) describing what the code sample does for others to try out
[x] The code can be run using Github Codespaces, so the maintainer can try out the code sample remotely to ensure everything is working before we accept the PR.

For PR Reviewer use

[x] Purpose of code sample is clear
[x] The code sample is readable
[x] Steps try out the code are provided
[x] Code sample runs on codespaces environment
[x] Code works as expected
[x] PR labels added

Congratulations @Onwuagba Another PR getting merged 😉

Thank you @atejada Glad to have contributed.


Add Code Samples to Documentation

Some explained/explaining code samples would help to understand how to use BlackRed.
Examples:

Actual login sequence with Django
Using global and per-new-instance settings

Documentation has now some basic code samples.


[CNDIT-232] Deduplication algorithm to check HL7 duplicate

Notes
This PR is the first baby step for the deduplication algorithm which we planned to implement in the Data Ingestion pipeline. With this change, after validating the incoming HL7 document, 32 byte hash for the document is generated and validated against the database for any existing duplicate records. If none present, then validation check passes and the document is converted to FHIR. If the validation fails, then an exception is thrown and the record is moved to the elr_validated-dlt kafka topic.
JIRA

https://cdc-nbs.atlassian.net/browse/CNDIT-232

Testing

Unit tests created and see the coverage results below.

I was able to test the changes in the local database and hit the endpoint using the test payload. Successful payloads were inserted into raw, validated and fhir tables. Unsuccessful ones are inserted into raw and then moved to dlt topic. Also, captured the exceptions to make sure the incorrect payload fails.

Success
2023-04-11 15:09:53,291 INFO  org.apache.kafka.clients.producer.internals.TransactionManager : TransactionManager.java-440 : [Producer clientId=producer-1] ProducerId set to 55 with epoch 0
2023-04-11 15:09:53,350 INFO  gov.cdc.dataingestion.kafka.integration.service.KafkaConsumerService : KafkaConsumerService.java-96 : Received message ID: 6D3424B8-847A-44E1-A0F6-28A47E77AD59 from topic: elr_raw
2023-04-11 15:09:53,437 INFO  gov.cdc.dataingestion.validation.integration.validator.HL7DuplicateValidator : HL7DuplicateValidator.java-56 : Generated HashString is being checked for duplicate if already present in the database
2023-04-11 15:09:53,549 INFO  gov.cdc.dataingestion.validation.integration.validator.HL7DuplicateValidator : HL7DuplicateValidator.java-64 : HashString doesn't exists in the database. Moving forward to FHIR conversion.
2023-04-11 15:09:53,567 WARN  org.hibernate.id.GUIDGenerator : GUIDGenerator.java-55 : HHH000113: GUID identifier generated: 5B264B0E-C5A6-4EF6-A88D-00F6D6AD950F

Failure
Caused by: java.lang.RuntimeException: HL7 document already exists in the database. Please check elr_validated-dlt kafka topic to check for the failed document.
	at gov.cdc.dataingestion.kafka.integration.service.KafkaConsumerService.handleMessage(KafkaConsumerService.java:108)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
	at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:169)
	at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:119)
	at org.springframework.kafka.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:56)
	at org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:366)
	... 18 common frames omitted

Added small comment


Galleria.io loading slow >100 photos

Can anyone help me improving galleria loading fast? I have 105 photos 2000px and it's loading kind of slow. I have the folio theme. I've tried the lazy load option, but no difference. I've seen something here, with json, but i don't know to to implement it https://galleriajs.github.io/docs/references/optimize.html Thank you!

You should use separate (downsized) thumbnails.

how to do that?

It is here: https://galleriajs.github.io/docs/getting_started/quick_start.html

and there  is no other way?
It's gonna take a long time for each gallery to make small photos, and large ones...

Other possibility could be to load only a few pictures and push others
later. (I am not sure, if it will work fith folio, I think, it can).
But I thin it is simple think to resize a set of images (for example with
imagemagick, or some other tool).
ut 3. 3. 2020 o 14:55 florin1z<EMAIL_ADDRESS>napísal(a):

and there is no other way?
It's gonna take a long time for each gallery to make small photos, and
large ones...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GalleriaJS/galleria/issues/416?email_source=notifications&email_token=AAMR3UXVJIUYRMOL3FZTJMTRFUD3TA5CNFSM4LAETZ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENTSH4I#issuecomment-593961969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMR3UU2DFSGN2CUGJPD4K3RFUD3TANCNFSM4LAETZ6A
.

--
Samuel Mikláš

how? :D
Other possibility could be to load only a few pictures and push others
later. (I am not sure, if it will work fith folio, I think, it can)

It is documented. But it requires some knowledge.
https://galleriajs.github.io/docs/api/methods.html#manipulation
But I still think, best, and most simple solution is using separate
thumbnails.
ut 3. 3. 2020 o 15:06 florin1z<EMAIL_ADDRESS>napísal(a):

how? :D
Other possibility could be to load only a few pictures and push others
later. (I am not sure, if it will work fith folio, I think, it can)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GalleriaJS/galleria/issues/416?email_source=notifications&email_token=AAMR3UUS7BZLMVWNQD5M6Y3RFUFHNA5CNFSM4LAETZ6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENTTV2Q#issuecomment-593967850,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMR3UVPAQ263SKC6AQQJI3RFUFHNANCNFSM4LAETZ6A
.

--
Samuel Mikláš

Thank you for your help. One more thing:
Could you give an examample of a galleria - site that has implemented this JSON method?
I don't understand how to do it from the link above. Thank you!

please? :)

https://galleriajs.github.io/docs/options/dataSource.html
Sorry, I have no enough time to make you a full support with examples. I just tried to point you to right direction.

not even a website that has this already implemented?
or here.. when you have time... :)
https://jsbin.com/?html,output

I made some exapmle for you.
https://jsbin.com/xeburuviqi/edit?html,console,output

Thank you! How can i make it without a button? When in scroll down or after a period of time, to load the roest of the photos?

Just put all images into array and set dataSource:data
https://jsbin.com/tisocaqula/edit?html,console,output

Thank you!!!
With this second version, without the button, it should load them faster than with the classic html load?

It still loads the same way, slow...

Hm.
So it probably needs to load thumbnails before start gallery.
You have two options:

better one - use separate thumnails. It is quite simple to resize batch of images. There are plenty of aps, which can do this

load only few images and push other after some time
Second one is not specific "Galleria" task, so may be try to google a bit, or ask at stackoverflow, ...

I made last example for You - after loading last image of first set, gallery loads second set. I am not sure, if it will work fine for you, I hope, it will.
https://jsbin.com/polukimoza/1/edit?html,console,output
Good luck.
I think, You should close issue (as it is not in fact an issue).

Ok, I will try . Thank you!


Open source TODO

TODOs for me:

[ ] Add proposal for ZACS stage 2
[ ] Document troubleshooting

TODOs for the community:

[ ] Set up CI and code coverage
[x] Create an example app

@mobily great! ❤ I think it will be easiest if I push Flow types so you know what sort of shapes the methods have :)

awesome @radex, I'm looking forward to it!

@mobily Flow types are in: https://github.com/Nozbe/zacs/blob/master/src/index.js.flow
go for it!

@radex I'm generating an example project using it, but I could see that Image is not implemented for React Native, it's for any particular reason? I read the source code and check to add it, but how do you build the source code I could not found some webpack configuration or anything else?


Error importing from maven

To reproduce:

Add implementation 'io.gitlab.rxp90:jsymspell:1.0' to grade and "build".

Result:
error: cannot access Bigram
import io.gitlab.rxp90.jsymspell.api.Bigram;
^
bad class file: /Users/home/.gradle/caches/modules-2/files-2.1/io.gitlab.rxp90/jsymspell/1.0/8367b65ce9301a734bb6368a7d7149299ccb964d/jsymspell-1.0.jar(io/gitlab/rxp90/jsymspell/api/Bigram.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

This error is because the library has been compiled to Java 11. Try bumping your Java version to 11.

Would you accept a pull request to set this to be Java 8 compatible (as advertised in your tagline: "JSymSpell is a zero-dependency Java 8+ port of SymSpell"). It'd be a handful of small changes. Here's the Java 11 features you use:

List.of
Map.of
Set.of
String.stripTailing
Objects.requireNonNullElseGet

And those were pretty easy for me to replace locally.
If not, I'll go ahead and submit a pull request to update the java compatibility in the tagline / readme / maven information.

You're absolutely right. Feel free to submit a PR with the changes to migrate to Java 8

Awesome! I've submitted #5 to add java 8 compatibility.

Fixed


fix: correct the HR element display, update demo

Why
This PR fixes the HR element display issue seen on the Docusaurus website, and other sites based on Infima.

This horizontal rule only display wrongly on some browsers and system (for sure on Chrome/Edge in Windows with scaling on or on high DPI displays), so this might be the reason why it has not been caught earlier.
How
The PR changes the HR styling from border based to the height based which is a common practice to avoid border related issues. It also means that user now have full control of the thickness, when earlier, border set to, for example, 2px means that the element will be 4px high.
I have also updated the demo app and added HR element in there.

looks fine 👍


Remove redundant GC.addRange/removeRange from std.container.array

The RefCounted wrapper will register Array._data for scanning by the GC so we don't need to separately register/deregister the payload.

Closed: incorrect.


ActivationCard: Add component

Example of Activation Cards

In Darkmode

Test Plan
Wrote tests for component, matching pattern of testing for other components.
Updated docs and verify that docs looked as expected.

There's also an issue with responsiveness

Design nits

the small icons should be 24px instead of 16px
for the complete card, the icon should float to the vertical center of the card, not the top

the icon should have 16px margin right

the container has an outline but I thought we were using a drop shadow? If Gestalt design decided on outline you can ignore this comment

Made requested design updates!

the container has an outline but I thought we were using a drop shadow? If Gestalt design decided on outline you can ignore this comment

My understanding is that drop shadow isn't currently supported by gestalt and we were just going to do a simple border until it was added


NearInteraction not working with MRKeyboardInputField prefabs

Describe the bug
Entering the HandInteractionExamples Demo, there is a MRKeyboardInputField_UGUI which calls the Keyboard when entering into it with the index finger (near interaction).
Using either the MRKeyboardInputField_TMP or MRKeyboardInputField_UGUI prefab from the MRTK it won't call the Keyboard when near interacting with it.
To reproduce
Steps to reproduce the behavior:

Create a Scene
Drag both MRKeyboardInputField_TMP and MRKeyboardInputField_UGUI prefabs into the scene
Build scene onto Hololens
using far interaction the keyboard will be called, using near interaction it won't.

Expected behavior
I would expect the Prefabs to behave the same as in the Demo Scene.
(Or have I missed to add some scripts, did check though?
Sadly it didn't work either, using Far Interaction the Keyboard popped up, using Near Interaction for both InputFields the Keyboard didn't show.

@MaxWang-MS Hey Max, thanks for Triaging the bug.
Can you already say by when it will be fixed or in which next MRTK release it will come?
We're going to need this feature for our clients.
Thanks

After looking into the issue I realized that this is not a bug in code - it's just the MixedRealityKeyboardExample scene is not configured for near interaction. In that scene select the Canvas GameObject, then in the inspector click on the "Add NearInteractionTouchableUnityUI" button under the Canvas section, and then go to the newly added near interaction section select pointer in the events to receive dropdown. Please let me know if this works for you.

Fixed via #9816


Setup Clarification/Documentation

Some better documentation on how to set this up would be extremely helpful.  The readme implies some settings but it needs to be more clear.
For a given osTicket installation (https://myOSTicket.mydomain.com), what should the ACS URL be?
What should the entity ID be?
Should we expect the physical path on the web server to actually contain /api/auth/saml ? Or is that a virtual path created by the plugin?  In troubleshooting I am looking for that physical path but do not see it there.
What exactly is debug mode and how do we use it for troubleshooting?

I would like something as well. Is this plugin capable with Okta?
I need help setting this up

Hello, the plugin is based on onelogin saml2. Please check your issue at the address below.
https://github.com/onelogin/php-saml/issues


Ruff

Description
Run ruff over the codebase and fix up any errors
Checklist
Please confirm that this pull request has done the following:

[ ] Tests added
[ ] Documentation added (where applicable)

Notes

@crdanielbusch Can I have a review please


Add Twinkly Adapter into latest

I've created an Adapter to control the Twinkly Lights.
Repo: https://github.com/patrickbs96/ioBroker.twinkly
Forum: https://forum.iobroker.net/topic/39632/new-adapter-twinkly

RE-CHECK!

Automated adapter checker
ioBroker.device-reminder

:thumbsup: No errors found
ioBroker.twinkly

:thumbsup: No errors found

[ ] :eyes: [W400] Cannot find "twinkly" in latest repository

Add comment "RE-CHECK!" to start check anew

Hello, sorry for the late review. I have some comments:

please adjust js-controller dep in io-package to >=2.0.0 because you use adapter.core 2.4.0 as dep
why https://github.com/patrickbs96/ioBroker.twinkly/blob/master/io-package.json#L197-L211 is in? You do not use an admin tab
please change https://github.com/patrickbs96/ioBroker.twinkly/blob/master/main.js#L849 to work sequencial ... right now you have one while loop and so fire all your tasks directly. On smaller systems this can mean a huge load. Please process next entry after the callback was called (or switch to async/await here) - please also run adapter with js.controller 3.2 and delete all objects to verify that all objects were created before states are set
why you have a hard wait of 5s before first poll? maybe because the async objects creation above? ;-)
you only test nodejs 12+ ... is this required? If yes please add as engine requirement to package.json

Thank you for looking int these comments and adjust accordingly

@Apollon77 thanks for the review.

Updated
Removed it. Must have been added automatically when I created the adapter from the template.
Changed. I'm used to everything always being sequential at work, therefore I didn't see that...
Removed the wait, don't think there was a reason for that.
Added 10 again, I had it removed as I thought it wasn't needed anymore.

RE-CHECK!

Automated adapter checker
ioBroker.device-reminder

[ ] :heavy_exclamation_mark: [E503] "iob_npm.done" found in repo! Please add it to .gitignore
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2021 xenon-s<EMAIL_ADDRESS>at the end of README.md
[ ] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 xenon-s<EMAIL_ADDRESS>at the start of LICENSE
[ ] :heavy_exclamation_mark: [E818] file iob_npm.done found in repository, but not found in .npmignore
[ ] :heavy_exclamation_mark: [E914] file iob_npm.done found in repository, but not found in .gitignore

ioBroker.twinkly

[ ] :heavy_exclamation_mark: [E144] common.installedFrom field found in io-package.json. Must be removed.
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2021 patrickbs96<EMAIL_ADDRESS>at the end of README.md
[ ] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 patrickbs96<EMAIL_ADDRESS>at the start of LICENSE
[ ] :eyes: [W400] Cannot find "twinkly" in latest repository

Add comment "RE-CHECK!" to start check anew

RE-CHECK!

Automated adapter checker
ioBroker.device-reminder

[ ] :heavy_exclamation_mark: [E503] "iob_npm.done" found in repo! Please add it to .gitignore
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2021 xenon-s<EMAIL_ADDRESS>at the end of README.md
[ ] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 xenon-s<EMAIL_ADDRESS>at the start of LICENSE
[ ] :heavy_exclamation_mark: [E818] file iob_npm.done found in repository, but not found in .npmignore
[ ] :heavy_exclamation_mark: [E914] file iob_npm.done found in repository, but not found in .gitignore

ioBroker.twinkly

[ ] :heavy_exclamation_mark: [E144] common.installedFrom field found in io-package.json. Must be removed.
[ ] :heavy_exclamation_mark: [E605] No actual year found in copyright. Please add "Copyright (c) 2021 patrickbs96<EMAIL_ADDRESS>at the end of README.md
[ ] :heavy_exclamation_mark: [E701] No actual year found in LICENSE. Please add "Copyright (c) 2021 patrickbs96<EMAIL_ADDRESS>at the start of LICENSE
[ ] :eyes: [W400] Cannot find "twinkly" in latest repository

Add comment "RE-CHECK!" to start check anew

The errors from Re-Check have been corrected but it seems it's still referencing the version with those errors

... also the PR hiere shows a merge conflict that should be resolved ...
And: https://github.com/patrickbs96/ioBroker.twinkly/blob/master/main.js#L927-L932
Ithink you can just repace that by a "if (resultError) throw new Error(...); return true" ... and done
And https://github.com/patrickbs96/ioBroker.twinkly/blob/329e4a05e83a82dc4544b5c39ef97665fbf59a21/main.js#L538-L539 ... awaith ... .then() is an anto pattern which should also not be needed :-)
normally to catch errors from async you simply make a try/catch around it

Thanks for the info :-) I've updated the code.


Breaking: Instruction variants are top-level structs

This enables stuff like
fn compile_gate(gate: Gate) -> Option<Vec<Gate>> { ... }

where before you would've needed
fn compile_gate(gate: Instruction) -> Option<Vec<Instruction>> {
    match gate {
        Gate { .. } => {
            // ...
        }
        _ => // not a gate :(
    }
}

It does make some stuff more verbose, but generally I think that's constrained to library code, and not consumer code.
Closes #21

Rebased on and updated for the changes on main with permission from Mark 🙂


Clicking the Bluetooth button multiple times opens multiple instances of the dropdown menu

Thank you for gBar, it looks and works great!
Describe the bug
When the Bluetooth button is clicked it does not check for the existence of the dropdown before opening a new one.
Steps to Reproduce

Click the Bluetooth button X number of times
Click the red X button to close the dropdown

Expected behavior
The dropdown should no longer be visible
Observed behavior
The dropdown menu continues to be visible until the red X button is clicked as many times as the Bluetooth button
Screenshots/Error logs
Irrelevant
Information about your system and gBar

OS: NixOS
Desktop environment: Hyprland
Commit hash: 18f3e123ed8e323b821fcbe8c44ca63011f8fd0c

Thanks for the issue report. Should be fixed now with the above mentioned commit

Thank you!


Load extension dynamically

As done in #14 with opcache.so, I tried to load more extensions dynamically.
I was able to compile Redis and MongoDB extensions with a bit tweaked version of bin/php/Dockerfile and bin/php/build.sh.
Then I created a tar archive containing those two extensions in the ext directory.
And finally I used the following hook to make php binary load those extensions:
hooks:
    build:
        # Add custom extensions to php.ini
        - 'echo "extension=mongodb.so" >> .bref/php.ini'
        - 'echo "extension=redis.so" >> .bref/php.ini'

A phpinfo() confirms that those two extensions are correctly loaded.
I think this could be done in a better way, especially the php.ini update.
What do you think?

I had idea: each php archive could provide its own php.ini file, allowing it to load all provided extensions, included opcache.

This is a nice solution. However we could also go with a solution similar to, for example, platform.sh: https://docs.platform.sh/languages/php/ini.html
We could allow to set php.ini values in .bref.yml, for example:
php:
    configuration:
        memory_limit: 256M

For enabling extensions:
php:
    extensions:
        - mongodb
        - redis

I am 100% for building and including standard extensions into Bref, I just don't want to enable all of them by default to avoid slowing down PHP's start time (since we start a PHP process on every request).
So if we are talking about redis and mongodb I think it would be way better to build them in build.sh and the Dockerfile by default, and enable them with .bref.yml as shown above.
Later, if someone wants to build its own custom extension, then we can find a solution. But I think it's a rare use case, it's fine if we don't address it right now.
What do you think?

Ok I though the idea was to provide the simplest package possible and let users to create their own. If you're ok to provide all standard extensions, then you're right, we should enabled them in .bref.yml..
I'll close #28 and make a new one.


Full Python Tutorial in Hindi by "Great Learning"

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Full Python Tutorial in Hindi
Why is this valuable (or not)?
It teaches people how to code in python
How do we know it's really free?
It is on Youtube, therefore it is easily accessible.
For book lists, is it a book? For course lists, is it a course? etc.
It is a video.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Unexpected behavior of sensu-client in a redundant scenario

Hi,
I am seeing some possibly unexpected behavior with the sensu client which may or may not be a bug and wanted to see if somebody here may be able to answer my query. If this is not the right place, I apologize in advance; please let me know what would be the right forum for posting this query and I will post it there.
I am trying to design and validate a redundant Sensu solution that will across multiple data centers. I have already gone through the document on the Sensu website that talks about the different approaches:
https://sensuapp.org/docs/0.16/scaling_strategies
Given the project requirements and resources available, among other things, the approach I have settled on is to have two different sets of Sensu server/Rabbit/Redis instances, one in each data center (let's call them sensu-1, rabbit-1, redis-1 and sensu-2, rabbit-2, redis-2 respectively) and have the clients point to a sensu/rabbit/redis hostname that resolves to sensu-1, rabbit-1 and redis-1 when everything is working in data center #1, and to sensu-2, rabbit-2 and redis-2 if anything goes wrong in data center #1. This is essentially an ACTIVE-PASSIVE solution, with the Sensu setup in data center #2 taking over whenever there is a problem in data center #1.
In order to test this, I am modifying the DNS entries of sensu/rabbit/redis hostnames that the clients are using to point to the IP addresses of sensu-2, rabbit-2 and redis-2 (from those of sensu-1, rabbit-1 and redis-1, which is what they are pointing to initially). I would expect that once this change has been made, the clients would start using sensu-2, rabbit-2 and redis-2, and I should be able to see these clients as belonging to datacenter #2, instead of datacenter #1.
However, in my testing I have noticed that unless I restart the sensu-client on all the nodes being monitored, this change does not take effect. In other words, I can verify on the client system that the sensu/rabbit/redis hostnames are now resolving to sensu-2, rabbit-2 and redis-2 after making the changes to DNS, but the sensu client is still

Is this behavior expected or is it a bug? Do I need any additional configuration to make this work?
If this is expected behavior, how do I design a redundant solution that works across data centers that does not require restarting the clients in case of an outage?

Thanks in advance!

@manupathak sounds like the Sensu process is caching the DNS lookup result. We need to research manually flushing cached DNS lookup before reconnect.

This may require sensu-transport improvements, to handle or flush dns lookups.

https://github.com/sensu/sensu-transport

Hi,
Thanks for getting back to me! Yes, I can confirm that this is due to DNS caching. For now, I was able to get around this issue by having a script check the IPs to which the sensu/rabbit/redis servers are resolving, and if they change, restarting the Sensu client. This works, but it is less than ideal, because it requires modifying all the Sensu clients, and still does not solve the problem of the Sensu clients showing up in the dashboard for the datacenter with the problem -- the client entries stay there until they are manually deleted from the dashboard.
What would be ideal is the following could be implemented:

A config option which specifies if the DNS lookup results should be cached by the client. If this is set to no, the clients will always attempt to resolve the hostname before establishing a connection.

A way for the clients to deregister and have Uchiwa take that into account, so that stale entries don't show up on the dashboard.

I would say either of these should not be hard to implement, and they would make Sensu a lot more attractive for anybody considering deploying it, since having to make modifications on every client may not be always be an option.
I don't know what your priorities are, but I would be interested in hearing your thoughts on this.
Thanks!
-Manu

Interesting issue. I wondered if perhaps Sensu's ability to accept an array of RabbitMQ endpoints would satisfy this issue, but according to the Sensu documentation on RabbitMQ configuration, Sensu will randomly sort those RabbitMQ endpoints, so you wouldn't have control over the priority.
I wonder if we could add support for a transport "fallback" with a configurable threshold for when the Sensu client should give up on trying to reconnect to the primary (active) transport, and fallback to connecting to the fallback (passive) transport.
Some questions this raises for me are:

Would it make sense to implement said fallback support for the transport only, and not also for the data store and API (i.e. only useful for the Sensu client)? Or would an active/passive fallback configuration need to provide passive configuration for the entire Sensu stack?
Could the current behavior be related to underlying Ruby DNS behavior? Does it make more sense to think of this as a feature request for "active/passive transport support for Sensu" rather than a bug?

Hi,
Thanks for getting back on this. As I mentioned earlier, I ended up implementing a script that runs on each client host, and that restarts the Sensu client whenever it detects a change in the DNS entry, and this addresses the issue I had raised. However, the fact that this has to be run on every single client is not so great.

The fallback option you are suggesting would work, but I don't know how many deployments of Sensu would want a fallback option to support the solution I describe. If the Sensu client were instead modified to just flush the DNS cache with a new option, I think it might be more useful. Of course, I would be happy to see either of those integrated into the current codebase.

I think the current behavior is really part of the transport component of Sensu, as Sean pointed out. Whatever the change might be that's implemented to support the behavior I would like to see is probably a small enhancement, so this is probably not a bug. However, I do  think it is a shortcoming of the Sensu client that supporting redundancy in this scenario requires running something on each host to restart the client explicitly, rather than have that happen automatically.

-Manu

Closing in favor of https://github.com/sensu/sensu-transport/issues/39


Run locally using Docker Compose

What I did:

Added files and documentation needed to run website locally using Docker.

How I did it:

Added a Gemfile with required dependencies to use Jekyll,
Added a Docker and Docker Compose files based on the official Ruby image,
Added a section in README.md to show the steps needed to use Docker Compose to run the website locally.

How to verify it:

Use the steps described in the new section of the README.md file to verify.

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

This PR was overlooked because it was opened when the repo was dormant.  The site had not been launched yet.  I'm closing this PR since we're not currently using Docker.  If we want to reconsider this, please open a GitHub issue to discuss.  Thanks!


Test Kitchen PR tests failing due to Berkshelf not depsolving all cookbooks

resolving cookbooks for run list: ["end_to_end"]

================================================================================
Error Resolving Cookbooks for Run List:
================================================================================

Missing Cookbooks:
------------------
No such cookbook: logrotate

Expanded Run List:
------------------
* end_to_end

System Info:
------------
chef_version=17.0.200
platform=mac_os_x
platform_version=10.15.7
ruby=ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin18]
program_name=/opt/chef/bin/chef-client
executable=/opt/chef/bin/chef-client

Running handlers:
[2021-04-21T13:59:17+00:00] ERROR: Running exception handlers
Running handlers complete
[2021-04-21T13:59:17+00:00] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 16 seconds
[2021-04-21T13:59:17+00:00] FATAL: Stacktrace dumped to /Users/runner/.chef/local-mode-cache/cache/chef-stacktrace.out
[2021-04-21T13:59:17+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-04-21T13:59:17+00:00] FATAL: Net::HTTPServerException: 412 "Precondition Failed"

This has been resolved. Not sure how, but it fixed itself.


WSA does not work on Snapdragon X Windows PCs

Steps to reproduce
WSA does not work on Snapdragon X Windows PCs like surface pro 11, surface laptop 7, etc.
Someone pointed out that Snapdragon X does not support armv7, but WSA contains armv7 applications.
When will it be fixed?
✔ Expected Behavior
WSA works
❌ Actual Behavior
WSA does not work
Other Software
No response
Please specify the version of Windows Subsystem for Android
2407.40000.0.0

bro the thing is you probably downloaded the x64 file instead of arm64

The WSA will no longer be supported bro....


Mongodb Docker

Create a docker that can persist DB files in a volume outside the container and be connected to by outside workers.

This is probably multiple Dockerfiles in different modes:

Config server(s) 1-3
Replica set containers 2-n
Some mongos config to pull to workers and queue containers


Set default values for account & user upon creation

Hi,
I was trying to implement #85 and while updating the tests, I thought it might also good idea to create fixture helper for the tests. While running the tests, i noticed it can take quite some time (20-40s). I change some of the tests file to enable  async test execution for faster mix test.
What's changed:

Set default values for user_settings, user_profile & widget_settings
upon account signup & user creation. Change from create_or_update to
update for controllers & contexts. (#85)

Add test fixture helpers to DRY up test files. (#60)

Async ExUnit test execution for faster mix test, except channel related tests, some of it fails when I enabled it. :(

thanks @adipurnama, this looks amazing! 🎉
looks like a pretty big diff, so i'll review this by the end of the day :)

On the second thought @reichert621 , would it be better if the  widget_settings, user_profile & user_setting creation logic moved to the respective get_<object>_by method ? E.g. get_settings_by_account/1 should create new widget_settings entry for the account if it doesn't exists yet. That way, we can takeout the Repo.transaction block & avoid creating migration for user who doesn't have user_profile yet.
What do you think?

great idea @adipurnama! i think that would simplify things for now 😄

done, kindly check the updated code @reichert621

@adipurnama just a couple nitpicky comments, but looks great! going to merge and handle the nitpicks myself :)


quo bug with regexes

No clue what triggers it!
Doing a quote of nick /regex/ nick2 /regex2/ in some situation produces instead the most recent comment by nick rather than the most recent fulfilling that regex.
Still needs proper triaging

Fixed in b32a802b058700e79c02c77405be4dc204e8555d!


Support for storing & retrieving big files

The agenda of this issue is to come up with a rough specification of the store explaining what methods/features we need in the custom store & how will the store work.
The basic idea here is to create a custom store for managing big files in IpfsDB.
A few things that are desirable in such a custom store:

It should support methods to add, read, list, remove the files.
Should store metadata for each file.
Add more...

How will this work?
We can add the files to the connected IPFS instance, get the hash and other metadata and store the details in the custom store.
This is an open discussion, feel free to comment your suggestions.

I think this should be implemented at a later date, and be worked on in a separate independent project.


⬆ build(deps): update pyproject.toml and talky_settings.toml

This is a benchmark review for experiment review_of_100_reviews_20240409.
Run ID: review_of_100_reviews_20240409/benchmark_2024-04-09T11-52-13_v1-16-0-95-g65fefaeef-dirty.
This pull request was cloned from https://github.com/mraniki/tt/pull/1435. (Note: the URL is not a link to avoid triggering a notification on the original pull request.)


KYLIN-1856 Clean up old error in step output immediately after resume…

Clean up old errors in step output immediately after resume job.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ed20926). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #779   +/-   ##
=========================================
  Coverage          ?   25.76%
  Complexity        ?     6048
=========================================
  Files             ?     1393
  Lines             ?    82969
  Branches          ?    11605
=========================================
  Hits              ?    21381
  Misses            ?    59536
  Partials          ?     2052

Impacted Files
Coverage Δ
Complexity Δ

.../apache/kylin/job/execution/ExecutableManager.java
32.52% <0%> (ø)
35 <0> (?)

Continue to review full report at Codecov.

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


remove jumanji

Motivation for this change
jumanji isn't activly developed since the end of 2015
and uses an insecure and old version of webkit.

cc @k0ral


[WIP] blaze support read iceberg tables

Which issue does this PR close?
Closes #335
support read iceberg tables using blaze native.

@richox I'm encountering a lot of issues on TPC-DS regression using this implementation design.
I'm just blindly translate v2Exec into parquet scan.

sorry but i have limited knowledge on iceerg. i suggest you first compare the physical plan metrics with a same query that do es not enable blaze and find where is the bottleneck.
there is a possible issue related to the parquet row group pruning. if iceberg does not generate the correct pruning predicate filter. parquet scan will read much more data and cause performance regression.

@richox I'm encountering a lot of issues on TPC-DS regression using this implementation design.
I'm just blindly translate v2Exec into parquet scan.

sorry but i have limited knowledge on iceerg. i suggest you first compare the physical plan metrics with a same query that do es not enable blaze and find where is the bottleneck. there is a possible issue related to the parquet row group pruning. if iceberg does not generate the correct pruning predicate filter. parquet scan will read much more data and cause performance regression.

@richox actually I'm not talking about performance yet. there are many plan issues. like DPP filters not translated some sepcific join not supported etc. I thought these could be automatically supported once I rewrite the V2 scan plan.


DBZ-7446 Reduce string creation during SQL_REDO column read

Oracle Connector can create a new string when reading SQL_REDO column only if CSF column value is 1.
https://issues.redhat.com/browse/DBZ-7446

/packit test --labels oracle

/packit test --labels oracle

Test failure is unrelated.


Timed out waiting for PeerConnection to connect, please check your network for ice connectivity

Every time i try to connect from Chrome Web and Androd Timed out waiting for PeerConnection to connect, please check your network for ice connectivity,
even when already connected from Android, and tried to connect with other device got the error in both side,

Can you try using Chrome desktop to connect to your Android Chrome and capture some console logs?
Open chrome://inspect/#devices in Chrome desktop and open your web app by clicking inspect.
Also please provide flutter doctor information and the livekit sdk version you are using


only set additional metadata if chef version supports it

fixes chef < 12

:+1: LGTM (and Ruby 1.9/Chef 11 test is already past that point at time of comment)


Echo-planar imaging

Hi @UlrikeS91, @MaaikevS and @lzehl,
I have the question if echo-planar imaging (EPI) should be listed as a separate technique?
Actually EPI is an MRI pulse sequence and therefore a parameter of MRI. In this form I also found only echo planar pulse sequence via Interlex: https://scicrunch.org/scicrunch/interlex/view/ilx_0103659?searchTerm=echo-planar imaging
But how else could EPI be registered? Should it simply be specified as a keyword?
Thanks for your opinions in advance!

@tgbugs we should discuss this one

@AnnaHilverling: based on the discussion with @tgbugs we will register "echo planar pulse sequence" into techniques.
For curation: register magnetic resonance imaging + the pulse sequence
Other pulse sequences to register:

T1 pulse sequence (T
T2 pulse sequence (T2 prepared)
etc

[look at: https://pubs.rsna.org/doi/10.1148/rg.262055063 and wikipedia MRI sequence page]

What's the status here?

was not done yet. The decision requires a potential clean up of other pulse sequences that were mixed with the acquisition technique (e.g., T1magneticResonanceImaging).
TODO:

registration of "echo planar pulse sequence"
registration of "T1 pulse sequence"
registration of "T2 pulse sequence"
removal of "T1-weighted magnetic resonance imaging", cleanup in EBRAINS (MRI + T1 pulse sequence technique)
removal of "T2-weighted magnetic resonance imaging", cleanup in EBRAINS (MRI + T1 pulse sequence technique)
screening the existing techniques for other cleanups (and correcting them)

Summary of what to define in #262
term name: "T1 pulse sequence"
definition: "In magnetic resonance imaging, a 'T1 pulse sequence' is a contrasting technique that allows the magnetization of the specimen or object to recover (spin-lattice relaxation) before measuring the magnetic resonance signal by changing the repetition time. [adapted from wikipedia]"
synonyms: "T1 weighted imaging", "T1 weighted magnetic resonance imaging", "T1 weighted MRI", "T1w imaging", "T1w magnetic resonance imaging", "T1w MRI"
term name: "T2 pulse sequence"
definition: "In magnetic resonance imaging, a 'T2 pulse sequence'  is a contrasting technique allows the magnetization of the specimen or object to decay (spin-spin relaxation) before measuring the magnetic resonance signal by changing the echo time. [adapted from wikipedia]"
synonyms: "T2 weighted imaging", "T2 weighted magnetic resonance imaging", "T2 weighted MRI", "T2w imaging", "T2w magnetic resonance imaging", "T2w MRI"
term name: "echo-planar pulse sequence"
definition: "In magnetic resonance imaging, a 'echo-planar pulse sequence' is a contrasting technique where each radio frequency field (RF) excitation is followed by a train of gradient echoes with different spatial encoding allowing for very rapid scanning. [adapted from wikipedia]
synonym: "echo-planar imaging"

Summary of what to define in #262 (@UlrikeS91 for you as support)
term name: "T1 pulse sequence" definition: "In magnetic resonance imaging, a 'T1 pulse sequence' is a contrasting technique that allows the magnetization of the specimen or object to recover (spin-lattice relaxation) before measuring the magnetic resonance signal by changing the repetition time. [adapted from wikipedia]" synonyms: "T1 weighted imaging", "T1 weighted magnetic resonance imaging", "T1 weighted MRI", "T1w imaging", "T1w magnetic resonance imaging", "T1w MRI"
term name: "T2 pulse sequence" definition: "In magnetic resonance imaging, a 'T2 pulse sequence' is a contrasting technique allows the magnetization of the specimen or object to decay (spin-spin relaxation) before measuring the magnetic resonance signal by changing the echo time. [adapted from wikipedia]" synonyms: "T2 weighted imaging", "T2 weighted magnetic resonance imaging", "T2 weighted MRI", "T2w imaging", "T2w magnetic resonance imaging", "T2w MRI"
term name: "echo-planar pulse sequence" definition: "In magnetic resonance imaging, a 'echo-planar pulse sequence' is a contrasting technique where each radio frequency field (RF) excitation is followed by a train of gradient echoes with different spatial encoding allowing for very rapid scanning. [adapted from wikipedia] synonym: "echo-planar imaging"

removing "technique" is fine.
definitions sound good but your hyperlink for T1 and T2 point to the Wikipedia entry for "receptive field"; I couldn't find one specifically for those sequences just the overarching one for MRI sequences (https://en.wikipedia.org/wiki/MRI_sequence) which has some descriptions but your definition does not seem to be adapted from that entry, so remove it?
I'm unsure about the synonyms, but probably only because I'm not an expert in the fields; to me, these seem like related synonyms not exact synonyms...

@UlrikeS91 its the overarching one you found... sorry for the copy/paste error
the synonyms are a collection of what is typically used in the community (across different source); the decision to establish T1 and T2 really as pulse sequences is often shortened in the community to "imaging" variant

Ok, thanks for the clarifications! I'll update my draft and make it a proper PR 🙂


[BUG] When connected to a repeater, the morse code beep enables the messenger read reciept tx.

Whenever the nearest repeater transmits the id morse code the uvk5 misread the signal as message and tx read reciept.
To replicate:
Find yourself a local repeater that the most nearest to you that has morse id.
Press ptt
Listen to the sound, the messenger will activate
Supposed actions:
The messenger should have ignored this signal
Suggestions:
I suppose is it possible to disable messenger in some channel?

Confirmed. Possible improvement is on the roadmap.

Oh btw I noticed when you send messages, there will be a short period of time where the mic is activated
Is it possible to make it muted?  Or maybe insert a universal code (for every k5 with this mod), so that the messenger will not be activated too easily?

The mic activation has been reported here: #68 and should be fixed in v.20. Can you re-check?

Yes, I noticed this problem in v.20 too

Confirmed as well. I have re-opened the #68.

From my s meter it shows +10, -98 db


"No job functions found" when migrating from folder structure to fast API

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Start a project where the code is generated from VSCode
Try to add the FastAPI feature as suggested in this documentation

Any log messages given by the failure

No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
Here is my files:

Contents of WrapperFunction/__init__.py
import azure.functions as func

import fastapi

app = fastapi.FastAPI()

@app.get("/sample")
async def index():
    return {
        "info": "Try /hello/Shivani for parameterized route.",
    }

@app.get("/hello/{name}")
async def get_name(name: str):
    return {
        "name": name,
    }

Contents of function_app.py
import azure.functions as func

from WrapperFunction import app as fastapi_app

app = func.AsgiFunctionApp(app=fastapi_app, http_auth_level=func.AuthLevel.ANONYMOUS)

Contents of host.json
{
  "version": "2.0",
  "extensionBundle": {
    "id": "Microsoft.Azure.Functions.ExtensionBundle",
    "version": "[2.*, 3.0.0)"
  },
  "extensions": {
    "http": {
      "routePrefix": ""
    }
  }
}

Expected/desired behavior
Should just work like when I clone your repo
OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Windows 11 Pro - 22621.2134
Versions
> pip freeze
annotated-types==0.5.0
anyio==3.7.1
azure-common==1.1.28
azure-core==1.26.4
azure-functions==1.14.0
azure-identity==1.11.0
azure-keyvault-secrets==4.6.0
certifi==2023.5.7
cffi==1.15.1
charset-normalizer==3.1.0
colorama==0.4.6
cryptography==40.0.2
et-xmlfile==1.1.0
exceptiongroup==1.1.1
fastapi==0.103.1
idna==3.4
iniconfig==2.0.0
isodate==0.6.1
msal==1.22.0
msal-extensions==1.0.0
msrest==0.7.1
numpy==1.24.3
oauthlib==3.2.2
openpyxl==3.0.10
packaging==23.1
pandas==2.0.1
pluggy==1.0.0
portalocker==2.7.0
pycparser==2.21
pydantic==2.3.0
pydantic_core==2.6.3
PyJWT==2.7.0
pyodbc==4.0.32
pytest==7.3.1
python-dateutil==2.8.2
pytz==2023.3
pywin32==306
requests==2.30.0
requests-oauthlib==1.3.1
six==1.16.0
sniffio==1.3.0
starlette==0.27.0
tomli==2.0.1
typing_extensions==4.7.1
tzdata==2023.3
urllib3==2.0.2

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Question: How does the app know to look at function_app.py for the registration of the endpoints?
Is there any debugging I can do on my end regarding typos etc? Or is there some magic that happens behind the scenes?
I do see this in my code, but not sure why the registrations aren't working
import azure.functions as func

from WrapperFunction import app as fastapi_app

app = func.AsgiFunctionApp(app=fastapi_app, http_auth_level=func.AuthLevel.ANONYMOUS)

Here are some logs from func host start --verbose
[2023-09-12T17:42:52.491Z] Host configuration file read:
[2023-09-12T17:42:52.492Z] {
[2023-09-12T17:42:52.493Z]   "version": "2.0",
[2023-09-12T17:42:52.493Z]   "extensionBundle": {
[2023-09-12T17:42:52.494Z]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[2023-09-12T17:42:52.495Z]     "version": "[2.*, 3.0.0)"
[2023-09-12T17:42:52.496Z]   },
[2023-09-12T17:42:52.497Z]   "extensions": {
[2023-09-12T17:42:52.498Z]     "http": {
[2023-09-12T17:42:52.499Z]       "routePrefix": ""
[2023-09-12T17:42:52.500Z]     }
[2023-09-12T17:42:52.500Z]   }
[2023-09-12T17:42:52.501Z] }
[2023-09-12T17:42:52.761Z] FUNCTIONS_WORKER_RUNTIME set to python. Skipping WorkerConfig for language: java
[2023-09-12T17:42:52.763Z] FUNCTIONS_WORKER_RUNTIME set to python. Skipping WorkerConfig for language: node
[2023-09-12T17:42:52.764Z] FUNCTIONS_WORKER_RUNTIME set to python. Skipping WorkerConfig for language: powershell
[2023-09-12T17:42:52.847Z] Initializing Warmup Extension.
[2023-09-12T17:42:52.889Z] Initializing Host. OperationId: 'f3e2dd66-d337-4936-a2d6-5eb4c30f61d2'.
[2023-09-12T17:42:52.898Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=f3e2dd66-d337-4936-a2d6-5eb4c30f61d2
[2023-09-12T17:42:52.937Z] LoggerFilterOptions
[2023-09-12T17:42:52.938Z] {
[2023-09-12T17:42:52.939Z]   "MinLevel": "None",
[2023-09-12T17:42:52.939Z]   "Rules": [
[2023-09-12T17:42:52.940Z]     {
[2023-09-12T17:42:52.941Z]       "ProviderName": null,
[2023-09-12T17:42:52.941Z]       "CategoryName": null,
[2023-09-12T17:42:52.942Z]       "LogLevel": null,
[2023-09-12T17:42:52.943Z]       "Filter": "<AddFilter>b__0"
[2023-09-12T17:42:52.944Z]     },
[2023-09-12T17:42:52.944Z]     {
[2023-09-12T17:42:52.945Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2023-09-12T17:42:52.945Z]       "CategoryName": null,
[2023-09-12T17:42:52.946Z]       "LogLevel": "None",
[2023-09-12T17:42:52.947Z]       "Filter": null
[2023-09-12T17:42:52.948Z]     },
[2023-09-12T17:42:52.948Z]     {
[2023-09-12T17:42:52.949Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2023-09-12T17:42:52.950Z]       "CategoryName": null,
[2023-09-12T17:42:52.951Z]       "LogLevel": null,
[2023-09-12T17:42:52.951Z]       "Filter": "<AddFilter>b__0"
[2023-09-12T17:42:52.952Z]     },
[2023-09-12T17:42:52.953Z]     {
[2023-09-12T17:42:52.954Z]       "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2023-09-12T17:42:52.954Z]       "CategoryName": null,
[2023-09-12T17:42:52.955Z]       "LogLevel": null,
[2023-09-12T17:42:52.955Z]       "Filter": "<AddFilter>b__0"
[2023-09-12T17:42:52.956Z]     }
[2023-09-12T17:42:52.957Z]   ]
[2023-09-12T17:42:52.958Z] }
[2023-09-12T17:42:52.959Z] LoggerFilterOptions
[2023-09-12T17:42:52.959Z] {
[2023-09-12T17:42:52.960Z]   "MinLevel": "None",
[2023-09-12T17:42:52.961Z]   "Rules": [
[2023-09-12T17:42:52.962Z]     {
[2023-09-12T17:42:52.962Z]       "ProviderName": null,
[2023-09-12T17:42:52.963Z]       "CategoryName": null,
[2023-09-12T17:42:52.964Z]       "LogLevel": null,
[2023-09-12T17:42:52.965Z]       "Filter": "<AddFilter>b__0"
[2023-09-12T17:42:52.965Z]     },
[2023-09-12T17:42:52.966Z]     {
[2023-09-12T17:42:52.966Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2023-09-12T17:42:52.967Z]       "CategoryName": null,
[2023-09-12T17:42:52.968Z]       "LogLevel": "None",
[2023-09-12T17:42:52.969Z]       "Filter": null
[2023-09-12T17:42:52.970Z]     },
[2023-09-12T17:42:52.970Z]     {
[2023-09-12T17:42:52.971Z]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2023-09-12T17:42:52.972Z]       "CategoryName": null,
[2023-09-12T17:42:52.972Z]       "LogLevel": null,
[2023-09-12T17:42:52.973Z]       "Filter": "<AddFilter>b__0"
[2023-09-12T17:42:52.974Z]     },
[2023-09-12T17:42:52.974Z]     {
[2023-09-12T17:42:52.975Z]       "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2023-09-12T17:42:52.976Z]       "CategoryName": null,
[2023-09-12T17:42:52.977Z]       "LogLevel": null,
[2023-09-12T17:42:52.978Z]       "Filter": "<AddFilter>b__0"
[2023-09-12T17:42:52.978Z]     }
[2023-09-12T17:42:52.979Z]   ]
[2023-09-12T17:42:52.979Z] }
[2023-09-12T17:42:52.980Z] ConcurrencyOptions
[2023-09-12T17:42:52.981Z] {
[2023-09-12T17:42:52.982Z]   "DynamicConcurrencyEnabled": false,
[2023-09-12T17:42:52.982Z]   "MaximumFunctionConcurrency": 500,
[2023-09-12T17:42:52.983Z]   "CPUThreshold": 0.8,
[2023-09-12T17:42:52.984Z]   "SnapshotPersistenceEnabled": true
[2023-09-12T17:42:52.985Z] }
[2023-09-12T17:42:52.985Z] FunctionResultAggregatorOptions
[2023-09-12T17:42:52.986Z] {
[2023-09-12T17:42:52.987Z]   "BatchSize": 1000,
[2023-09-12T17:42:52.988Z]   "FlushTimeout": "00:00:30",
[2023-09-12T17:42:52.988Z]   "IsEnabled": true
[2023-09-12T17:42:52.989Z] }
[2023-09-12T17:42:52.990Z] SingletonOptions
[2023-09-12T17:42:52.990Z] {
[2023-09-12T17:42:52.991Z]   "LockPeriod": "00:00:15",
[2023-09-12T17:42:52.992Z]   "ListenerLockPeriod": "00:00:15",
[2023-09-12T17:42:52.993Z]   "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[2023-09-12T17:42:52.994Z]   "LockAcquisitionPollingInterval": "00:00:05",
[2023-09-12T17:42:52.994Z]   "ListenerLockRecoveryPollingInterval": "00:01:00"
[2023-09-12T17:42:52.995Z] }
[2023-09-12T17:42:52.996Z] ScaleOptions
[2023-09-12T17:42:52.996Z] {
[2023-09-12T17:42:52.997Z]   "ScaleMetricsMaxAge": "00:02:00",
[2023-09-12T17:42:52.998Z]   "ScaleMetricsSampleInterval": "00:00:10",
[2023-09-12T17:42:52.999Z]   "MetricsPurgeEnabled": true,
[2023-09-12T17:42:53.000Z]   "IsTargetScalingEnabled": true,
[2023-09-12T17:42:53.000Z]   "IsRuntimeScalingEnabled": false
[2023-09-12T17:42:53.001Z] }
[2023-09-12T17:42:53.003Z] Starting JobHost
[2023-09-12T17:42:53.006Z] Starting Host (HostId=pbhome-108974405, InstanceId=b5965fdb-7ae4-41ed-85ef-bf902ab88576, Version=<IP_ADDRESS>62, ProcessId=46356, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[2023-09-12T17:42:53.020Z] Loading functions metadata
[2023-09-12T17:42:53.021Z] Reading functions metadata
[2023-09-12T17:42:53.022Z] 0 functions found
[2023-09-12T17:42:53.029Z] Reading functions metadata
[2023-09-12T17:42:53.041Z] 1 functions found
[2023-09-12T17:42:53.042Z] 0 functions loaded
[2023-09-12T17:42:53.058Z] Generating 0 job function(s)
[2023-09-12T17:42:53.084Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
[2023-09-12T17:42:53.093Z] HttpOptions
[2023-09-12T17:42:53.094Z] {
[2023-09-12T17:42:53.094Z] Initializing function HTTP routes
[2023-09-12T17:42:53.095Z]   "DynamicThrottlesEnabled": false,
[2023-09-12T17:42:53.095Z] No HTTP routes mapped
[2023-09-12T17:42:53.096Z]   "EnableChunkedRequestBinding": false,
[2023-09-12T17:42:53.097Z]
[2023-09-12T17:42:53.097Z]   "MaxConcurrentRequests": -1,
[2023-09-12T17:42:53.098Z]   "MaxOutstandingRequests": -1,
[2023-09-12T17:42:53.099Z]   "RoutePrefix": ""
[2023-09-12T17:42:53.100Z] }
[2023-09-12T17:42:53.105Z] Host initialized (89ms)
[2023-09-12T17:42:53.109Z] Host started (100ms)
[2023-09-12T17:42:53.110Z] Job host started
[2023-09-12T17:42:57.952Z] Host lock lease acquired by instance ID '000000000000000000000000506973E3'.

AH figured it out
@pamelafox - could you please update this to a doc bug?
Essentially you have to have this value present in your local.settings.json for this to work:
{
  "IsEncrypted": false,
  "Values": {
    "FUNCTIONS_WORKER_RUNTIME": "python",
    "AzureWebJobsFeatureFlags": "EnableWorkerIndexing" <<< IMPORTANT - will not detect functions otherwise
  },
  "Host": {
    "CORS": "*"
  }
}

Yes, that seems to still be required. I made the change in the repo, did you have an older version?
https://github.com/Azure-Samples/fastapi-on-azure-functions/blob/f00faf65b34caee539388c65729ed8cbf8dfa6c9/local.settings.json#L5

This repo works great - the issue is that  neither these docs have any references to this variable, or why its required

https://learn.microsoft.com/en-us/samples/azure-samples/fastapi-on-azure-functions/azure-functions-python-create-fastapi-app/
https://github.com/Azure-Samples/fastapi-on-azure-functions/blob/main/README.md

Okay yep, makes sense. I think the hope was that the flag wouldn't be needed for very long, but it looks like it's still needed, so I've pinged the Functions team about it.

Awesome thanks! Feel free to resolve/close once docs have been updated
Would be great to add something in the README short term


GROOVY-9902: STC: allow method checking with partial generic information

https://issues.apache.org/jira/browse/GROOVY-9902

Merged. Thanks!

Merged. Thanks!


Add TSan to test runners on 5.1

This particular PR adds TSan check to test runners on swift 5.1

yay, that's fantastic!


Changing % chances on items.

Hello. This is more a question on "how to" I want to change the DC or % to pull certain ingredients. Namely White Ghost Orchird seed. At 6.9% It is a bit too high to basically have a ressurection ability at hand, which could create breaking issues of non death. Is there a way to make this much MUCH rare? Thank you.
I think i have figured it out, by changing the weight in the compendia.

Glad to hear that you solved it yourself.
Sorry but I was busy with something else unfortunately and saw the issue late.


Replace Guava Enum.getIfPresent with builtin version.

This is useful for running in Hadoop environments that use Guava 11. Some
code is also simplified.

Added a checkstyle rule as well.


Compile error and illegal instruction fix

Hi. There is a problem with compilation Simd in vs2019:
Element <EnableEnhancedInstructionSet> has an invalid value of "AdvancedVectorExtensions512".
I don't know what the problem with instruction set, so I set for AVX512 files enhanced instruction set and add additional option /arch:AVX512.
Also, there is a problem with illegal insruction due to whole program optimization, so I disabled it.

Hi! I see you changed option WholeProgramOptimization to false in all project files. I have assumption that better way is modify corresponding option in file Prop.props one time. Could you modify your changes so way?

I agree with it: so, it removed from project files and add to props. Please, check it.


Remove outdated protobuf versions

The following security advisory affects releases before 3.16.1, 3.17.3 and prior while fixes are only provided for 3.18.x and later.
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf

A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.

We should therefore consider versions before 3.18.x end of life.
cc @jonringer
This affects:

[ ] protobuf3_17

[ ] ghidra @roblabla
[ ] python2Packages.protobuf @knedlsepp

[x] protobuf3_11

Removed in #193365

[x] protobuf3_8

[x] ibus-engines.mozc

#193416

[ ] fcitx-engines.mozc @ericsagnes  @gebner
[x] python3.pkgs.tensorboardx @lebastr @akamaus

#193416

[x] rippled @offlinehacker @RaghavSood

#193416

[x] protobuf3_7

[x] hadoop @illustris

https://github.com/NixOS/nixpkgs/pull/193665

[x] mysql57@LeSuisse

Ghidra upstream is still using 3.17.3: https://github.com/NationalSecurityAgency/ghidra/blob/c51183f1a262c80d45aac48d4f3343c67b6bd41a/Ghidra/Debug/Debugger-gadp/build.gradle#L36
They've been planning to update for a good while now... https://github.com/NationalSecurityAgency/ghidra/pull/4415#issuecomment-1198321500
I'm not sure what's the hold up on their end. We may be able to update on our end without waiting for upstream.

Feel free to give this a try and ideally remove protobuf3_17 at the same time, since ghidra is its last consumer.

Their master is on 3.21.8 right now
https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Debug/Debugger-gadp/build.gradle#L36
but the tagged versions are still on the old one.

I see that protobuf3_8 is not used anymore, I don't know which PR fixed that.

@roblabla @knedlsepp It seems like Ghidra can upgrade and get the latest Protobuf at the moment, could you look into it for the 23.05 release? Thank you!

Latest Ghidra release is still stuck on protobuf 3.17. I can look into cherry-picking the commits that update protobuf to our build.

Ghidra 10.3 (released last week) seems to update protobuf:

Debugger. Upgraded protobuf to 3.21.8. (GP-2302, Issue #4415, #4540)

Should we update Ghidra for 23.05 (and there are some new cool features)?


PROMPT for git repository is low on big repo

On macOS with latest Git and latest oh-my-zsh
On https://github.com/JetBrains/intellij-community repository checkout. It took about a second for the shell to write prompt after I press enter.

quote from ~/.zshrc:
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

Further elaborating on @nonchip response..
The repository is very large and your prompt will only be as fast as your computer can process checking all the files for changes.

what @Jahhein said. there's simply no way your repository can be auto-checked faster without disabling some of the functionality (so it just asks git instead of actively scanning) because some repos are just too big. happens for me with the epicgames/unrealengine repo, where it can take up to a minute with untracked files checking.

And some more information to help inform anyone reading.. Those git prompts have to check all the files in the git repository directory after every set of commands your run to unsure they prompt is correct.

Solution is to go to your theme file in ~/.oh-my-zsh/themes/, find there prompt_git() function and replace there:
zstyle ':vcs_info:*' check-for-changes true

with
zstyle ':vcs_info:*' check-for-changes false

Also, you should add the following line to git config so that dirtyness wont be checked:
git config --add oh-my-zsh.hide-dirty '"1"'

Duplicate of #3009. See solutions there.


[JS] Topic : Labels and 'continue'

Description 📜
Created documentation for JS Labels and 'continue'.
Fixes #2629

Type of change 📝

[x] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] JavaScript

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@paramsiddharth @dakshsethi @Creatoon @s4-2 Supervisor & Mentors! Please review this pull request.

@Creatoon @s4-2 Mentors! Please review


feat(async): Add control transfer

Add Transfer::control to create and submit control transfers.
In addition to the other method's parameters, it takes control setup
parameters to build the setup packet (first 8 bytes of the data buffer).
Therefore instead of buffer: &mut [u8] it takes vec: &mut Vec<u8>,
as we need to be able to prepend 8 bytes to it.

Thanks for starting this. I'll pick up my async branch again soon.
There's no point in taking a Vec here -- as implemented with insert, this will copy the entire data buffer 8 times, because it must shift over the transfer for each byte inserted.
I'm considering making the Transfer struct own its data buffer instead of borrowing it. That would simplify this case, because it would reserve space for the setup packet and hand out a reference to &mut buffer[8..] to be filled by the user.

Actually there is no need to not own the buffer, as there is Transfer::actual() and Transfer::buffer(). So taking over the ownership over a Vec<u8> wouldn't be a problem and actually solves a lot of lifetime issues which I'm currently running into. This is that I have a struct, in which i hold the async_group, but if I want to add a transfer to it, I must make sure, that the Vec lives longer than the transfer, which is a pain in the ass :) As I need this anyways, I'm going to do that and open a new PR, which should be merged before this one, so that I can already take the Vec for this.
I'm going to optimize the 8x insert into some sort of header.chain(vec).collect(), which will be best case 1 copy, worst case 2-3 copies.
I also just realized, that I need to update the actual()-method as for control packets an offset of 8 is needed. Trying to test it atm.

[x] I did the buffer refactor in #2 (please merge it before this one).
[x] The header-prepender should now work with only one copy
[x] actual() is updated and tested

Control packets with an out-direction can have a data blob. The buffer then has 8 bytes of control-setup-header following the data blob. actual_length as returned by libusb's async methods seems to be the same as wLength specified in the control setup header.
Therefore if the packet is a control packet with it's direction being OUT, Transfer::actual() returned the data blob, which has been sent to the device. Instead an empty data blob should be returned, as the device's response didn't have a buffer. That is why I added an assertion that both lengths are the same and return an empty slice pointing to the end of the sent data blob.
I don't really know, if (*self.transfer).actual_length is always the same as wLength for control-OUT-Packets, but at least that is what I encountered with SET_REPORTpackets. Thus I added a TODO to the assert! statement.

Why did I create the 3 PRs (#1, #2, #3) in your fork 4.5 years ago instead of in the upstream? Are they still relevant? Should I move the PRs to upstream (dcuddeback/libusb-rs)?

dcuddeback/libusb-rs is unmaintained; you should look at https://github.com/a1ien/rusb/ instead.
My async branch on which this is based was never merged to either of those upstreams. It suffers from the "leakpocalypse" issue where safe code can mem::forget the AsyncGroup while the transfer is still running and violate mutable aliasing rules on the buffer. In 2020, an async abstraction should also probably be using Future instead of doing its own thing.

Thanks for the quick response. In that case I don't think that it makes sense to keep this PR open.


[App]: Line plots not rendered correctly

Current Behavior
Sometimes the line plots in the web gui are not displayed correctly, the line of the line plot is not displayed, but hovering with the mouse still shows the data points. Usually refreshing the page, or clearing the browser data solves the issue. But this time it does not, I already tried clearing cache and cookies, or using private mode. I saw it happening on Firefox, Chrome, and Safari.
Expected Behavior
Line plots are displayed correctly
Steps To Reproduce
No response
Screenshots
https://github.com/wandb/wandb/assets/5949904/2aec66c1-075d-4b6c-9d15-21d85f2e54e4
Environment
OS: Linux, macOS
Browsers: Firefox, Chrome, Safari
Version:
Additional Context
No response

Just the private url? Do I need to somehow share make it visible? https://wandb.ai/crzz/ant.py?nw=nwusercrzz
Right now it's working correctly from chromium but not from firefox

Hi @c-rizz , thank you for sending the URL to the workspace.
Are you experiencing this issue with this project only or with other projects as well?
I have also tried to reproduce this on my end and the charts load as expected so wanted to check if you were still experiencing it.
If so, could you please collect network and console logs from your browser and send them over to us to investigate?

Hi @c-rizz , I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi @fmamberti-wandb, yes, the issue is still present, actually it comes and goes. Next time I see it happening I will collect some logs (probably after the end of the month). Are there some specific logs you will need me to collect from the browser?

Hi @c-rizz I wanted to follow up here in case you had the chance to collect the logs if you are still experiencing this issue.

I'm not sure this is all you need but I tried taking some logs. I'm also sending a video of when I recorded the logs.
https://github.com/wandb/wandb/assets/5949904/89331d50-2ca0-4758-8ada-d299b848a9bc
wandb.txt

@fmamberti-wandb I am having the same issue as @c-rizz, where sometimes the lines of my plot are not displayed, while hovering with the mouse on the plot shows them

I collected some new logs, both console and network logs are in the zip.
wandb_logs.zip

Yes, it happen both with and without night mode

Thank you for confirming this. We will keep you posted with any updates from our engineering team.

Hi @c-rizz - thank you for your patience while we investigate this.
Do you have any browser extension enabled across your browsers while experiencing this? If so, would you mind letting us know which ones so we can try reproduce the issue on our end with a environment as similar as possible as yours.
Something else that would be helpful for you to try is to disable any browser extensions, in particular ad blockers and let us know if you still have the same issue.

Hi @c-rizz, I wanted to check if you had the chance to test disabling any extensions and adblockers and see if the line plot shows as expected?
Could you also please confirm the browser versions of the browsers still affected by this issue on your end?

Hey @c-rizz wanted to check in here to see if this issue is persisting and if you had a chance to follow @fmamberti-wandb recommendations above?

Hey @c-rizz -- unless you object going to go ahead and close this off for you -- please reach out if you'd like us to help on this or anything else WandB related in the future.

@fdsig I am still experiencing this issue, and it's quite annoying since it prevents me to visualize my data. Furthermore, wandb in now crashing every time I try to open a specific run. I tried to delete most of the runs in project, setting it back to the defaults, but nothing. And this is not some sporadic issue, it's happening all the time. Sometimes I can solve briefly by changing repeatedly the x axis and resetting the workspace settings, but then if I move to other plots in the same workspace the issue comes back right away.
this is my workspace URL.
Are you able to reproduce on your side?

Hi @AndrePatri,
Thank you for reaching out to us and apologies for the delay in getting back to you! If you continue to experience either of the issues that you have reported, I wonder if you'd mind if separate these as distinct instances, if that works for you and ask for some clarifying details.

Line plots not rendering

I’ve reviewed your issue again and noticed that we experienced a related problem around the time you reported this, which has since been resolved. Should you continue to experience this, to help us further troubleshoot would you object to sharing:

Your current browser and operating system
Network and console logs (accessible via More Tools > Web Developer Tools). (I’ve attached a recording for your convenience: GitHub Link)
URL to specific affected runs/project

Page crashing when opening a specific run

I was able to access this project url you shared, and the data appears to be showing correctly on our side. Similar to the above it would also be really helpful (but for the crashing run)  to have

Network and console logs (as above)
A recording of the behaviour
A URL to the specific run in question within your project

Thank you for your patience in advance and  if you prefer to share any of the above privately rather than in a public forum, then you're very welcome to email<EMAIL_ADDRESS>

Hi @fdsig ,
As of now it's been a while since I've experience issues 1 and 2. Could be just a coincidence, though.
I am using mozilla firefox on ubuntu 20.
In case I experienced those issues again, I'll share the associated logs.
Thanks

Hey @AndrePatri thanks so much for the swift update and providing details of your OS and browser. Interesting in re-investigating this we did try reporting this Ubuntu Firefox as this was also the browser or combination of the initial report. Please do keep us posted and reach out here or to<EMAIL_ADDRESS>at your discretion as we are very much here to help get things back on track when this is needed.


v1.11: Update Go to 1.17.10

/test-backport-1.11

/test-backport-1.11

/test-backport-1.11

/test-1.23-4.9

Only AKS workflow is failing, which is a known issue (#19788). Both Chris and Joe approved, so marking as ready to merge.


Need to enable CORS?

I'm trying to integrate this on a Ruby on Rails app using the approach described here.
When I click on the Paypal payment button and right after the payment is submitted and a Payment ID returned, the browser (Chrome v56.0.2924.87) returns the following errors in the console and the next step in the modal is never shown.
Refused to display 'https://www.paypal.com/webapps/hermes/fallback?product=ec&fallback=1&token=PAY-XXXXXXXXXXX www.paypal.com/webapps/hermes/fallback?product=ec&fallback=1&token=PAY-XXXXXXXXXXX' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Unrecognized Content-Security-Policy directive 'reflected-xss'.

Any hint what's going on? Not sure how I could fix that on my end.
Thanks!

Could you please provide:
a) An example of a PAY-XXXXXX id
b) The approximate time it was created
That way I can look up some of the logs on our side. It looks like the transaction hit an error, but need to narrow that down.
Thanks!

Hey @bluepnume, sure:
A) PAY-30N35375RE545225KLCU7ABA
B) 2017-02-19T19:20:36Z
Let me know if you need anything else.
Thank you!

OK, so looks like you're creating a payment id (PAY-XXXX) against sandbox.paypal.com, but then loading checkout on production paypal.com.
Do you have env: 'sandbox' set in your button?
Hope that helps!

https://github.com/paypal/paypal-checkout/issues/202

Excelent! That made the trick.
Thanks for your help!

Glad it worked!


CLA check fails after renaming the account

I recently renamed the account and then removed the second one but previously used both of them to make the PRs to the project. Now after renaming I am having CLA check failed. I presume it might be because of two users colliding according to the log that I attached bellow.
Required:
https://github.com/folio-org/ui-data-export/pull/123
What is the expected result?
CLA check is fullfilled
What happens instead?
 It looks strange and seems like a bug on our side... I hope well be able to fix it soon

Thank you.

If I can be helpful, I run the @folio-org-cla account on behalf of the github.com/folio-org organization.

``#

https://github.com/cla-assistant/cla-assistant/issues/608#issue-674941456

https://github.com/cla-assistant/cla-assistant/blob/master/CONTRIBUTING.md

https://cla-assistant.io/cla-assistant/cla-assistant?pullRequest=617


Support for List of items and negate the XmlRoot name

When serializing a list, it currently cannot handle ignoring the root of the list.
Sample would be having a List
After serialization, the output would be something like this.

test
test

test
test

test
test

But what It should be is

test
test

test
test

test
test

This simulates the XmlElement and XmlArray comparison in the native XmlSerializer

@RonaldEstacion I am not sure if it is my browser but your example is pretty much broken as all XML tags appear to be stripped out

@kongo2002 yeah, but when i edit the post, it shows back the xml tags. prolly a github feature?

@kongo2002 here's a pastebin of my post. http://pastebin.com/TuqbG7pr

Ah alright. Usually it works if you indend the code snippet by 4 spaces like:
<xml>
   <tag />
</xml>

@kongo2002 post modified again, thanks


Could you tell me your model like Table 2 15.8M in your paper?

Thanks for sharing your great work!
Now, I am reproducing your paper result but I'm not finding your model like Table 2 15.8M in your paper

Could you tell me the model idx in mega_lm in fairseq?
Now I'am guessing.. mega_pa_valle_09?

Best regards
Seung Woo

Hello @yuseungwoo were you able to find the model? I am trying to reproduce the paper result as well but not finding the model.


Version number in Design Studio Platform Extensions window

Hi all,
I would very much like to have a version number displayed in the Platform Extensions window of Design Studio.
It is very uncomfortable/impossible at the moment to keep track of the versions of the SDK components in Design Studio Client and the BO platform. Only 1.0, 2.0 and 3.0 is shown in the window (in DS go to Tools -> platform extensions) and it is not possible to identify the release date of the installed extensions on DS Client and platform.
My suggestions: could you please implement an automatism so that the version number of the package contains the date of the last github update? E.g. 3.0.20160510? In this way you have your version numbers as before and additionally the users know what is installed where.
Thank you very much!
Mathias

Mathias,
I agree this would be nice to have.  Currently the .20160510 only shows up when looking at feature plugin details in your client tool.
I'll have to see if there's an automated way to inject the fully qualified version number into the Version field of the feature bundle when we create a release.  It may not be possible depending on how much effort it takes, it already is a somewhat tedious process.
One way to manage this would be to restrict who is a Design Studio Administrator in your organization and only allow a few to update the platform extensions and then communicate out the specific version.  This is more of a manual workaround though, admittedly.

just a thought - would it help to make a component which would display the version when used in an application?
Then you could create an application which will always inform you (executed on the BIP as well) which version is deployed.
actually, the versioning is prepared to update on every release from 3.0 to 3.1 to 3.2 etc. But this is manual work which we save us...

Hi Mike and Karol,
thank you for your quick and helpful answers!
If it is not possible or if it is too much effort to put the version number automated within the version field in the platform extensions window in design studio, I think also a component would be a solution.
It should basically just write a list with installed extensions in client and BO platform with their respective version number+upload date into a table for easier comparison. I would then build a small dashboard, which I just look at through an open doc link.
Best,
Mathias

Hi Matthias, actually the version string is already there.
on all platforms you can execute this URL (this is from local mode, on BIP you need to adjust the prefix)
http://localhost:8888/aad/zen/mimes/sdk_include/org.scn.community.utils/META-INF/MANIFEST.MF
the output is (should be):
Manifest-Version: 1.0
Bundle-SymbolicName: org.scn.community.utils;singleton:=true
Bundle-Version: <IP_ADDRESS>606081933
Bundle-Name: Design Studio SCN Community Utils
Require-Bundle: com.sap.ip.bi.zen.rt.components.sdk;bundle-version="16
.0.0"
Bundle-ManifestVersion: 2
Bundle-Vendor: SCN Design Studio Community
Bundle Version is the "production" time.
Is this perhaps helping w/o any code ;-)?
Karol

btw. also the other bundles have manifests
http://localhost:8888/aad/zen/mimes/sdk_include/org.scn.community.basics/META-INF/MANIFEST.MF
http://localhost:8888/aad/zen/mimes/sdk_include/org.scn.community.databound/META-INF/MANIFEST.MF
http://localhost:8888/aad/zen/mimes/sdk_include/org.scn.community.shared/META-INF/MANIFEST.MF

Hi Karol,
thank you for the suggestion.
Indeed this could be a suitable workaround..
I tested the solution for the localhost and it worked fine. But I was not able to find the correct link for the BI platform, nore the MANIFEST.MF files of the components on the server.
Could you give me a hint about the correct link for the BI platform?
Thanks.
Mathias

Mathias
I have looked and cannot find these files on the server. It looks like a Jar file is pushed up and that must be decompiled each time.

Hi Alex,
thank you for your suggestion:
I was searching the server for the jar files by looking for the filename containing "community" in the Windows explorer on the BO Server.
The result lead me to folders within the input file store, containing files like
org.scn.community.datasource_<IP_ADDRESS>609070923-guid[8a042501-8c31-42f2-8902-2f726d4001e71fe].jar
. The filename contains the creation date, as well.
Although there were also files found with the version number of the last extension upgrade<PHONE_NUMBER>50), I think this is a viable solution to find out the version of the extensions installed on the server.
Let me know what you think.
Thank you,
Mathias


es6 refactor and other updates for 2.0.0-beta.1 release

similar to Esri/esri-leaflet-heatmap-feature-layer#2

depending on new Leaflet.markercluster tag
rewritten in ES6
L.esri.Cluster.clusteredFeatureLayer() (breaking change)
moved to semistandard/ linted
ditched grunt
made a few small tweaks to get things working with Leaflet 1.0.0 b2
bumped version numbers
updated tests
manually tested a few marker and cluster events to make sure they were firing

@jgravois can you update the changelog? Then this is good to go and we can do a release.

changelog created.  and updated.


adding asset pack runner

makes sure the js asset bundler/packager is working in dev mode.


Release 0.2.0

@JuliaRegistrator register
Release notes:
This is an alpha release of a statistical toolbox that does inference for diffusion processes based on path imputation with guided proposals. Since the last version it has seen a major redesign of functionality - making it more accessible as we hope. For more details see the README.md and the documentation. The full release of the package will be announced at a later time.

Registration pull request created: JuliaRegistries/General/4923
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 5b9b8f4d2b0f606859ca249099a9a445b35141c8
git push origin v0.2.0

@JuliaRegistrator register
Release notes:
This is an alpha release of a statistical toolbox that does inference for diffusion processes based on path imputation with guided proposals. Since the last version it has seen a major redesign of functionality - making it more accessible as we hope. For more details see the README.md and the documentation. The full release of the package will be announced at a later time.

Registration pull request updated: JuliaRegistries/General/4923
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 00c75134c68b1a415d76435975a06dfa0fd845eb
git push origin v0.2.0

@JuliaRegistrator register
Release notes:
This is an alpha release of a statistical toolbox that does inference for diffusion processes based on path imputation with guided proposals. Since the last version it has seen a major redesign of functionality - making it more accessible as we hope. For more details see the README.md and the documentation. The full release of the package will be announced at a later time.

Registration pull request updated: JuliaRegistries/General/4923
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if Julia TagBot is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" d4f4545ede4f6f53644e752fec6938d1aac6be7f
git push origin v0.2.0


Close NetCDF Files in destructor

There's a small modification I want to include, but for some reason I can't push to this branch. Hence I started a new pull request #21.
Thanks for fixing this!


[MINOR][SQL] Fix error message for UNEXPECTED_INPUT_TYPE

What changes were proposed in this pull request?
This PR proposes to correct the minor syntax on error message for UNEXPECTED_INPUT_TYPE,
Why are the changes needed?
Error message should be started with upper-case character, and clear to read.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
./build/sbt “sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*”

I made it into a separate PR from my other tasks although it's very small change, to avoid in case this error message affecting the tests on the original PR.

+1, LGTM. Merged to master.
Thank you, @itholic.


Do not attach deleted tenants

Rather temporary solution before proper:
https://github.com/neondatabase/neon/issues/5006
It requires more plumbing so lets not attach deleted tenants first and then implement resume.
Additionally update assert_prefix_empty to match introduced pageserver suffix.

assert_prefix_empty had a buggy prefix calculation, and since we always asserted for absence of stuff it worked. Here I started to assert for presence of stuff too and it failed. Added more "presence" asserts to other places to be confident that it works.


feedback for feedback delegate

Could you explain how or what you can do with the feedback delegate because currently, it's just sitting in the swift file empty and the description doesn't really explain anything?

The ReactionFeedbackDelegate allows the receiver to know in which state is the ReactionSelector. This delegate is not mandatory, you should implement it if you want to give more feedback to your user.
If you check out the example project you will notice that it updates the feedback label:

I see thank you


ENH: add rejection direction for wilcoxon

This PR is aiming to fix this issue #9046: introduce a rejection direction which is helpful for the one-sided test.

To me it is not clear why this feature is needed.  The null is that the differences of distributions are symmetric about zero, this is precisely what is tested and i am not aware that implementations of similar tests return a statement saying which 'direction' determined the p-value (e.g. t-test, KS test).
The R implementation has a keyword alternative which can be 'two.sided', 'greater' or 'less'. https://stat.ethz.ch/R-manual/R-devel/library/stats/html/wilcox.test.html
So i don't understand why this additional value ist needed. Can you give more background what test you want to perform?
(terminology 'rejection_direction' is vague: the test only returns a p-value, whether this leads to a rejection of the null is not clear.)

test statistics in t-test can either be positive or negative. According to this once can perform one-sided test and understand the direction of rejection. I will happy to close this pull request if we could keep on discussing this issue here.
I want to perform one-sided wilcoxon test in an automated way, meaning that from wilcoxon(A,B) I want to know if A is really greater than B. Right now it can give me a very small p-value if B is greater than A, so there is no rejection direction specified.

I added the keyword alternative in #9807, closing this PR since it would break backwards compatability


Add Light Level history/graphing support

With this PR now merged to fakegato Added lux to accessoryType 'custom' , this plugin should be able to support Light Level history in the Eve app.

I have made this work with two changes:

Add the logging to index.js:277
lux: accessory.LightLevelService ? accessory.LightLevelService.getCharacteristic(Characteristic.CurrentAmbientLightLevel).value : accessory.CurrentConditionsService.getCharacteristic(Characteristic.CurrentAmbientLightLevel).value

Switch from 'weather' to 'custom', in currentConditions.js:151  but also do this:

	this.services = [this.CurrentConditionsService];
	this.historyService = new FakeGatoHistoryService("custom", this, this.config.fakegatoParameters);
	this.services = this.getServices();

The 2nd part doesn't seem right. When examining the code in FakeGato, it looks at all the Services that are part of the Accessory. And then for each Characteristic of each Services it checks to see if it can create a history entry for it. If so, it does.
The challenge is the historyService is part of the Accessory and if I don't override the value of this.service it crashes. It crashes because when it walks the list of Services, it reaches the historyService which is undefined at that moment.
I'm wondering if there is different way Services should be registered with the Accessory.

This is what it currently looks like:

Worked out an elegant fix. Following the pattern in index.js that has an array of Accessories:
this.accessoriesList = [];
In currentConditions.js, create an array of services, aka this.services = [];
Then add each Service as they are created, aka:
this.services.push(this.CurrentConditionsService);
later
this.services.concat(compatibility.getServices(this));
and later:
this.services.push(this.informationService);
and lastly do this:
	this.historyService = new FakeGatoHistoryService("custom", this, this.config.fakegatoParameters);
	this.services.push(this.historyService);

Change getServices() function to just return the services object:
	getServices: function ()
	{
		return this.services;
	}

This way, only fully defined Service objects exist in the services array. FakeGatoHistoryService is now happy.

Very interesting!


Update C-sharp README

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
I have updated links in Readme of C-sharp.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#945

@iamrajiv Please review.

Done @iamrajiv


Feature request

Hello, I love the work you have done. I am not a go coder but i would really like to add the feature to send spoofed messages to the server or the client. Similar to Burp but instead of intercepting just send spoofed message through the bridge. Please let me know if this makes sense and how to attempt to do it.

The simplest to implement solution is for the proxy to create two pipes, and to behave as if messages written to one pipe originate from the client (logging and relaying them to the actual server), and to another from the server. Is that enough? Note that:

in this scheme the actual client will receive server responses to spoofed messages
this breaks stream management because the server and the client will disagree about the number of sent and received messages


Make ensouled heads usable in prayer since they show in +/=b --prayer anyway.

🚀 Feature Proposal
Since ensouled heads already show in +/=b --prayer along side with the bones, i suggest that they should be usable in training prayer. Which would also give them actually use beside sit in bank and be usable in ic in bso.

This is now a feature under /k


Folder Structure || Routing || Logo || Favicon

Changed a bunch of stuff , Check it out

Arranged the folder
Routing was missing on some links
Added logo and Favicon
fixed the github-corner link

@mohitjaisal
Thanks, I will keep working on it.🤘🏻


move up model/provider props

Current dependencies on/for this PR:

main

PR #68   👈

This stack of pull requests is managed by Graphite.

Merge activity

Feb 8, 9:39 PM EST: @mountaindu started a stack merge that includes this pull request via Graphite.


FEA : button component

Isn't completed yet. Require the i18n component.
When i18n is ready, we must refactor this component.

Coverage remained the same at 100.0% when pulling 358b376f6843d88d64558ab396239bb72b9c110d on fea-button-component into d04631d4947a7bd07eae301ed865492fe956d27e on develop-1.0.0.

Coverage remained the same at 100.0% when pulling 51b22234e36bde30a5796d6d3902a573a784d425 on fea-button-component into f30d7f261eaaa723d27468919606645405dd53f2 on develop-1.0.0.