Bluetooth: build fails with CONFIG_BT_LOG=n

Describe the bug
Build of Bluetooth subsystem fails when CONFIG_BT_LOG=n is selected by user, in order to reduce footprint size. Everything is fine when this option is left enabled (default when CONFIG_LOG=y && CONFIG_BT=y).
To Reproduce
Steps to reproduce the behavior:

west build -b nrf52840dk_nrf52840 samples/bluetooth/peripheral -- -DCONFIG_BT_LOG=n
Build error zephyr/subsys/bluetooth/host/l2cap.c:30:31: error: 'CONFIG_BT_L2CAP_LOG_LEVEL' undeclared here (not in a function) occurs.

Expected behavior
Build should be successful after disabling logs for Bluetooth subsystem.
Impact
Annoyance, as Bluetooth logging can use lots of flash size. Bluetooth logs cannot be easily disabled without this option.
Logs and console output
Build error:
In file included from zephyr/include/zephyr/sys/util_macro.h:34,
                 from zephyr/include/zephyr/sys/atomic.h:16,
                 from zephyr/include/zephyr/kernel_includes.h:21,
                 from zephyr/include/zephyr/kernel.h:17,
                 from zephyr/subsys/bluetooth/host/l2cap.c:9:
zephyr/subsys/bluetooth/host/l2cap.c:30:31: error: 'CONFIG_BT_L2CAP_LOG_LEVEL' undeclared here (not in a function); did you mean 'CONFIG_USBC_LOG_LEVEL'?
   30 | LOG_MODULE_REGISTER(bt_l2cap, CONFIG_BT_L2CAP_LOG_LEVEL);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~
zephyr/include/zephyr/sys/util_internal.h:72:26: note: in definition of macro '__DEBRACKET'
   72 | #define __DEBRACKET(...) __VA_ARGS__
      |                          ^~~~~~~~~~~
zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro '__COND_CODE'
   59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~
zephyr/include/zephyr/sys/util_macro.h:180:9: note: in expansion of macro 'Z_COND_CODE_1'
  180 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~~~
zephyr/include/zephyr/logging/log.h:364:9: note: in expansion of macro 'COND_CODE_1'
  364 |         COND_CODE_1(                                                    \
      |         ^~~~~~~~~~~
zephyr/include/zephyr/logging/log.h:320:9: note: in expansion of macro '_LOG_MODULE_CONST_DATA_CREATE'
  320 |         _LOG_MODULE_CONST_DATA_CREATE(_name, _level);           \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
zephyr/include/zephyr/logging/log.h:366:18: note: in expansion of macro '_LOG_MODULE_DATA_CREATE'
  366 |                 (_LOG_MODULE_DATA_CREATE(GET_ARG_N(1, __VA_ARGS__),     \
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
zephyr/include/zephyr/sys/util_internal.h:69:53: note: in expansion of macro '__DEBRACKET'
   69 | #define __GET_ARG2_DEBRACKET(ignore_this, val, ...) __DEBRACKET val
      |                                                     ^~~~~~~~~~~
zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro '__GET_ARG2_DEBRACKET'
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
zephyr/include/zephyr/logging/log_core.h:85:9: note: in expansion of macro '__COND_CODE'
   85 |         __COND_CODE(_LOG_ZZZZ##_eval_level, _iftrue, _iffalse)
      |         ^~~~~~~~~~~
zephyr/include/zephyr/logging/log_core.h:82:9: note: in expansion of macro 'Z_LOG_EVAL1'
   82 |         Z_LOG_EVAL1(_eval_level, _iftrue, _iffalse)
      |         ^~~~~~~~~~~
zephyr/include/zephyr/logging/log.h:291:9: note: in expansion of macro 'Z_LOG_EVAL'
  291 |         Z_LOG_EVAL(LOG_LEVEL, \
      |         ^~~~~~~~~~
zephyr/include/zephyr/sys/util_macro.h:331:27: note: in expansion of macro 'Z_GET_ARG_2'
  331 | #define GET_ARG_N(N, ...) Z_GET_ARG_##N(__VA_ARGS__)
      |                           ^~~~~~~~~~
zephyr/include/zephyr/logging/log.h:293:20: note: in expansion of macro 'GET_ARG_N'
  293 |                   (GET_ARG_N(2, __VA_ARGS__, CONFIG_LOG_DEFAULT_LEVEL)))
      |                    ^~~~~~~~~
zephyr/include/zephyr/logging/log.h:367:39: note: in expansion of macro '_LOG_LEVEL_RESOLVE'
  367 |                                       _LOG_LEVEL_RESOLVE(__VA_ARGS__))),\
      |                                       ^~~~~~~~~~~~~~~~~~
zephyr/subsys/bluetooth/host/l2cap.c:30:1: note: in expansion of macro 'LOG_MODULE_REGISTER'
   30 | LOG_MODULE_REGISTER(bt_l2cap, CONFIG_BT_L2CAP_LOG_LEVEL);
      | ^~~~~~~~~~~~~~~~~~~
[202/282] Building C object zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /bin/cmake --build build

Environment (please complete the following information):

Toolchain: Zephyr SDK 0.16.0
Commit SHA: 4bb8b2523fa4cc6b51b7d568404b988e2391e0de

Additional context
This was introduced as part of commit af01a0f31398.

FYI @theob-pro.

My idea with the recent update was to use the logging symbols instead custom subsystem one. Can you try disabling BT logging using BT_LOG_LEVEL_OFF=y instead of CONFIG_BT_LOG=n?

My idea with the recent update was to use the logging symbols instead custom subsystem one. Can you try disabling BT logging using BT_LOG_LEVEL_OFF=y instead of CONFIG_BT_LOG=n?

There are no build issues with BT_LOG_LEVEL_OFF=y. It seems like a workaround for now. If that should always be the only way to disable BT logs, then BT_LOG should be made a "hidden" Kconfig option.

My idea with the recent update was to use the logging symbols instead custom subsystem one. Can you try disabling BT logging using BT_LOG_LEVEL_OFF=y instead of CONFIG_BT_LOG=n?

There are no build issues with BT_LOG_LEVEL_OFF=y. It seems like a workaround for now. If that should always be the only way to disable BT logs, then BT_LOG should be made a "hidden" Kconfig option.

Using BT_LOG_LEVEL_OFF=y is actually not a workaround but the right way to disable Bluetooth logging. But you're right, BT_LOG and BT_LOG_LEGACY should be hidden to the user. I created a PR to fix that.


Fixing command to prepare tpc-c benchmark

Proposing a fix for issue https://github.com/cockroachdb/docs/issues/9774.
According to the docs for the workload tool, there is no workload fixtures import command, so I am proposing to use workload init  instead.
This is also used in the docs for local testing.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a21f73ab0a4b0849bdf3e116c29c3f1af3bea92b/
Edited pages:

v20.2/performance-benchmarking-with-tpcc-large.md
v20.2/performance-benchmarking-with-tpcc-medium.md
v20.2/performance-benchmarking-with-tpcc-small.md
v21.1/performance-benchmarking-with-tpcc-large.md
v21.1/performance-benchmarking-with-tpcc-medium.md
v21.1/performance-benchmarking-with-tpcc-small.md

fixed with https://github.com/cockroachdb/docs/pull/9935


Create an adaption of the path_following_node to be used for pipeline following.

Trying to run some test code that uses different functions from the cv repo with docker, but i am not able to plot the image in order to visualize the image processing. This would make the testing more intuitive. Should be able to perform some plots during the beginning of next sunday. If not another approach should be considered.

Finally!! im able to use pyplot in docker. Solution: in docker compose enviorment: - DISPLAY=$DISPLAY  and  install tk


New ebuild: gui-apps/river-tag-overlay.

Also rename the ebuild to -9999 as this is a live only ebuild.

I see. I have now rewritten to use an archive rather than the GIT repository directly.

Added metadata.xml :)


sync2: add config validation

Motivation
Need to make sure syncv2 user-provided config is valid.
Description
This adds checks to make sure syncv2 config contains reasonable values.

Re errors.Join, my pet peeve with usual config validation is that if I make a few mistakes in the config I have to restart the app as many times as many mistakes I made to see all of them, and this indeed does happen sometimes. Imagine if Go compiler was printing just one error at a time ;)

We do not set SilenceErrors for the main cobra.Command and that's why fatal error messages are printed using plaintext upon exit, so this \n escaping problem does not apply. This is useful for displaying e.g. SQL schema drift errors which are multiline even though no errors.Join is used.

Fixed "continuing in broken state" part. Now the app exits upon failed validation:
2024-12-18T01:37:21.568+0400    ERROR   node    failed to start App     {"errmsg": "init services: create syncer: creating multi-epoch ATX syncer: new config:\nmax-send-range must be positive\nbatch-size must be at least 1", "name": ""}
2024-12-18T01:37:21.568+0400    INFO    node    app cleanup starting...
2024-12-18T01:37:51.569+0400    ERROR   node    app failed to clean up in time
Error: init services: create syncer: creating multi-epoch ATX syncer: new epoch config:
max-send-range must be positive
batch-size must be at least 1

There are 2 minor issues:

we still have fatal errors logged twice before the node exits. It adds some clutter to the output, but maybe we should keep this behavior for now, as structured logging is more useful for log processing, while plaintext errors are more useful for the user who runs go-spacemesh from the command line e.g. to test a new config
the validation happens after some of the initialization procedures which take some time. Ideally, the whole node config should be validated right at the startup without any delay. We already have an issue related to this problem: #3515 It should probably be addressed separately from this PR

bors merge


AWS CodeArtifact rejects requests with current Accept header

Hello! 👋
As you're probably aware, when you specify a Maven coordinate depedency in sbt that's not a specific version (like say, latest.integration), sbt/Ivy will go out and query for the maven-metadata.xml file in the repository. However, because of the Accept header currently being set (by the JDK, I think), CodeArtifact will 4xx these requests.
Problem
When the repository is CodeArtifact, the request looks something like this (in cURL-equivalent form):
curl -H 'User-Agent: Apache Ivy/2.3.0-sbt-fbc4f586aeeb1591710b14eb4f41b94880dcd745' -H 'Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2' -H 'Authorization: *redacted*' -X HEAD https://{redacted}.d.codeartifact.us-east-1.amazonaws.com/maven/{redacted}/maven-metadata.xml

However, this causes CodeArtifact to respond with a 404.
(in the following examples, $URL is equal to https://{redacted}.d.codeartifact.us-east-1.amazonaws.com/maven/{redacted}, for brevity)
If I change the Accept header to lead with text/xml, it works:
# sad, current headers
$ curl -v --header "Accept: text/html, *; q=.2, */*; q=.2" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/maven-metadata.xml 2>&1 | grep "< HTTP/2"
< HTTP/2 404

# sad, removing */*
$ curl -v --header "Accept: text/html, *; q=.2" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/maven-metadata.xml 2>&1 | grep "< HTTP/2"
< HTTP/2 404

# happy, removing everything after first ;
$ curl -v --header "Accept: text/html, *" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/maven-metadata.xml 2>&1 | grep "< HTTP/2"
< HTTP/2 200

# happy, replacing text/html with text/xml
$ curl -v --header "Accept: text/xml, *; q=.2, */*; q=.2" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/maven-metadata.xml 2>&1 | grep "< HTTP/2"
< HTTP/2 200

Similar results for snapshot metadata, but it returns 400s instead of 404s:
# sad, current headers
$ curl -v --header "Accept: text/html, *; q=.2, */*; q=.2" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/0.0.1-SNAPSHOT/maven-metadata.xml 2>&1 | grep "< HTTP"
< HTTP/2 400

# sad, removing */*
$ curl -v --header "Accept: text/html, *; q=.2" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/0.0.1-SNAPSHOT/maven-metadata.xml 2>&1 | grep "< HTTP"
< HTTP/2 400

# happy, replacing text/html with text/xml
$ curl -v --header "Accept: text/xml, *; q=.2, */*; q=.2" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/0.0.1-SNAPSHOT/maven-metadata.xml 2>&1 | grep "< HTTP"
< HTTP/2 200

# happy, removing everything after first ;
$ curl -v --header "Accept: text/html, *" --user "aws:$CODEARTIFACT_AUTH_TOKEN" $URL/0.0.1-SNAPSHOT/maven-metadata.xml 2>&1 | grep "< HTTP"
< HTTP/2 200

I don't know why this behavior is the way it is...kinda just looks like CodeArtifact is exceptionally bad at parsing Accept headers.
Setup
I don't think our setup is anything special, just an authenticated Maven repository.
We've added a resolver that looks like this:
"company/repository" at s"https://{redacted}.d.codeartifact.us-east-1.amazonaws.com/maven/{repository}/"

with credentials that look like
Credentials(
  "company/repository",
  "{redacted}.d.codeartifact.us-east-1.amazonaws.com",
  codeArtifactAuthUser,
  codeArtifactAuthToken,
)

Versions Affected
We're using sbt 1.4.9, but I've also repro'd this on 1.5.5. I haven't tried any other version.

Hey, this is causing a lot of anguish for us internally, would appreciate it if you could take a look at it soon, thanks 😄

Hey, this is causing a lot of anguish for us internally, would appreciate it if you could take a look at it soon, thanks 😄

I (no longer) work for Lightbend, so sbt is a side project I do on my free time. I found a workaround by using Apache Ivy as follows:
useCoursier := false

ivyConfiguration := {
  val config0 = Classpaths.mkIvyConfiguration.value
  config0
    .withUpdateOptions(UpdateOptions().withGigahorse(true))
}

For the solution with Coursier, you might want to report to upstream coursier/coursier about this issue, maybe consider contracting VirtusLab to work on the fix.

Alright, thanks @eed3si9n.


extensions: use semantic filter names

Signed-off-by: Kuat Yessenov<EMAIL_ADDRESS>/assign @mandarjog
/assign @gargnupur

This is great, now we can properly order things in envoyfilter.
@rshriram for awareness. The name is now freeform and not used to indicate the filter type.

Thank you Kuat. This is very neat!


[PHPStanRules] Remove auto-installation with phpstan/extension-installer

Closes #2654

Thank you :+1:

Btw, what is the reason for leaving type in there?
I'm affraid next PR will be someone trying to give sense back to it :D

No reason really... maybe it makes sense to revert that as well because if that's the case then PHPStan will say that it's not supported - making it more clear that one needs to configure it normally.

Could you remove it too?


odo storage list should list all volumes from devfile.yaml components

/kind user-story
User Story
As a developer, I want to list the storage defined for the component so that I can have an idea about the storage which are defined for the component.
Acceptance Criteria

[ ] It should list the storage with proper states on odo storage list.
[ ] It should have json output.

Links

Feature Request:
Related issue:

/kind user-story

The list function will be similar to ListStorageWithState and the list functions in the storage package.
But our current machine readable storage struct only accepts a single mount path but for a devfile, a storage (volume) can be mounted to different paths in different containers. We will need to come up with a design to display this to the user.
We can simply display all the mount paths without the container names. For a volume not mounted to any container, we can simply leave it blank. @girishramnani @kadel WDYT?

We can simply display all the mount paths without the container names. For a volume not mounted to any container, we can simply leave it blank. @girishramnani @kadel WDYT?

That should work

We can have two list output

one with containers mentioned for the above mentioned case
one with no containers mentioned (for the general case)

The json output will be the same in both the cases


APEXMALHAR-2023 Enricher

POJO and Map Enricher along with File and JDBC loader.
@tushargosavi Please review

@sandeepdeshmukh Can you please review this PR.

@sandeepdeshmukh All comments are addressed.. I've also rebased the code with master.
Please merge.

@sandeepdeshmukh Can this be merged?


Weighted arrays in ensemble statistics

Pull Request Checklist:

[x] This PR addresses an already opened issue (for bug fixes / features)

While not directly related to #1014 , projections by warming level will need weighted arrays when multiple RCPs/SSPs are involved.

[ ] Tests for the changes have been added (for bug fixes / features)

[ ] (If applicable) Documentation has been added / updated (for bug fixes / features)

[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added

[ ] The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?

weights argument added to ensembles.ensemble_percentiles, ensembles.ensemble_mean_std_max_min & ensembles.change_significance

Does this PR introduce a breaking change?
DataArrayWeighted.quantile() requires the latest xarray release (v.2022.06.0)
Other information:

Coverage decreased (-0.1%) to 91.315% when pulling 40cfd8204494ec14520ea1ff9c06596d0e122d44 on ens-weights into ba5f3b62c757a040d84d45941d143180cfa5bbda on master.


FEAT: Child Graphs

"Create Parent + Child Graphs" has not been implemented, as no code was found.

Support for child grab has been added from release 1.1.0. An example of its usage is in image-to-diagram project


Clean iOS8 system version code

Changes in this pull request
Just clean useless code.
Checklist

[x] All tests pass. Demo project builds and runs.
[ ] I added tests, an experiment, or detailed why my change isn't tested.
[ ] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[x] I have reviewed the contributing guide

Looks like the build failed, can you fix the build issue? thx!

When run ./scripts/setup.sh , with this error, any suggestions?

   CocoaPods : 1.8.4
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
    RubyGems : 3.0.3
        Host : Mac OS X 10.15 (19A602)
       Xcode : 11.2.1 (11B53)
         Git : git version 2.21.0 (Apple Git-122.2)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories :  master - git - https://github.com/CocoaPods/Specs.git @ 719bff08484e5144379e08fc966272084072604a
               trunk - CDN - https://cdn.cocoapods.org/

Just with #1392 merge, I will update new code.

I abandoned my PR since @koenpunt had already updated the cocoapods version to the latest


Relay output control

each output is controller via relay driven by a MCP23017. the first MCP Bank A will control outputs. v2 board will add a second MCP23017 for adding Inputs for additional IO

This is implemented in the alpha version ready for testing once you have prototype hardware


Howto, whereto install coex gps sensor

Any drawing, images, hints available?
apart from https://github.com/CopterExpress/clover/blob/master/docs/en/gps.md
thx!

Hi! Not yet, unfortunately. But we will publish it in a couple of month.

Hi! Not yet, unfortunately. But we will publish it in a couple of month.

But please tell me at least whether the usb port would be needed / connected apart from the 4pin cable.
And would be really nice to get a photo of how you installed it in your prototype.
thx so much.

But please tell me at least whether the usb port would be needed / connected apart from the 4pin cable.
And would be really nice to get a photo of how you installed it in your prototype.
thx so much.

You don't need a USB port. Just plug GPS to Pix using the 4pin cable.

You don't need a USB port. Just plug GPS to Pix using the 4pin cable.


cursor_inactive_timeout doesn't prevent cursor from getting hidden

After a few seconds my cursor gets hidden. According to the wiki it should default to 0 and not hide the cursor.
I have tried to set it to to a 500 to see if it would at least stay long than a few seconds, but it didn't change anything.
general {
layout=dwindle
sensitivity=1.0 # for mouse cursor
gaps_in=11.8
gaps_out=15.5
border_size=2
col.active_border=0xff5e81ac
col.inactive_border=0x66333333

apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
cursor_inactive_timeout = 500

}

I commented out my config file section by section and I couldn't make it go away. I should have tried running it with the default conf, which of course worked perfectly.
Turns out swayidle run in exec-once was causing my problem. When I commented that section out, auto-reload wasn't changing the fact it had already executed swayidle the first time it was run.


Core: _marshall was not counting reference when it's instantiate

Fixes #36364

Superseded by #36506.


Feature: Make write mmap benchmarks threaded

Closing this PR as its completely merged into #36

Ah nevermind this PR was not yet merged


add support of PLATFORM=raspi4-aarch64

add support of PLATFORM=raspi4-aarch64
You can run the apps which are independent of virtio-device on Raspberry 4B with features "ARCH=aarch64 PLATFORM=raspi4-aarch64".
The specific command about how to run and debug on raspi4 are written in /docs/raspi4.md

Good work!


Replace UUID as float

I have everything working as I require, only thing is, the data I am trying to generate needs the IDs to be float instead of UUID.
Can someone suggest modification so that I can achieve this?

FHIR DSTU2

Person ID
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/modules/LifecycleModule.java#L124
FHIR DSTU2
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/export/FhirDstu2.java#L1588-L1591
FHIR STU3
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/export/FhirStu3.java#L2394-L2397
FHIR R4
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/export/FhirR4.java#L2222-L2225
CSV
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/export/CSVExporter.java#L471
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/export/CSVExporter.java#L794
https://github.com/synthetichealth/synthea/blob/75bc9d2b6e8d444bdf99a591bf92fae70b00615e/src/main/java/org/mitre/synthea/export/CSVExporter.java#L471


Fix eBPF Instruction Set broken url

I was reading the documentation and found a broken url.

Thank you a lot @lucianocarvalho !


DI compilation error {module}\Model\UploaderPool does not exist

Version of UMC: 1486c843be6dfc2af14dcca44672ccd79e876894
Magento 2.1.9
This error occurs when compiling a module created with UMC with a single entity using flat tables.
I had to edit {module}/Controller/Adminhtml/Statement/Save.php and remove all references to UploaderPool as this class does not exist in this module. The function getUploader() was also removed, which seemed safe as it was not called from anywhere. After this change the module compiled correctly.

Is there a fix for this yet? I am having the same issue and I need the ability to upload images for the particular module I am building. I am using magento ce 217 and UMC 2.0.0-beta2: 2017-07-06.

Same gig on 2.2.1-dev. You can fix by also also adding the Model/Uploader.php and Model/UploaderPool.php file from a separate module and then rename anything inside these two files to point to your module name. I have no idea why it is looking for the uploader because for my module I didn't add any fields which required it. This is a bug. Please fix devs!


"python.autoComplete.addBrackets": true not respected into Notebooks

Environment data

VS Code version: 1.51.1
Jupyter Extension version (available under the Extensions sidebar): ms-python.python
Python Extension version (available under the Extensions sidebar): v2020.10.332292344
OS (Windows | Mac | Linux distro) and version: W10
Python and/or Anaconda version: 3.8.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Local

Expected behaviour
I would expect that tipying even a simple function like print will transform it into print() after pressing enter as it happens for .py files. "python.autoComplete.addBrackets" is set to true for the User (and Workspace, if used).
Actual behaviour
Bracket autocomplete is not perfomed.

@scollovati Currently our jupyter notebooks are implemented using webviews, which are basically just a webpage hosted in vscode. We tried to line them up with how vscode works, but we don't respect every setting such at the add brackets setting. However we are moving over to using the new native VSCode interface for notebooks. In this interface we'll respect all vs code editor settings.
https://devblogs.microsoft.com/python/notebooks-are-getting-revamped/
You can currently preview this new UI (see above). I'm going to close down this issue, not because the issue doesn't exist (it does) but because the new UI will address this, and we don't intend to fix it for the old UI that we are moving away from.


Adding a landing page template

I am a GSSOC'22 contributor
I want to add an awesome landing page template to your project.

I am a GSSOC'22 contributor I want to add an awesome landing page template to your project.

Go on!

I am a GSSOC'22 contributor I want to add an awesome landing page template to your project.

Go on!

Thank you for assigning me.

I want to work on this under GSSOC2022. Here is my discord profile DHANANJOY DEY | Contributor#7903

i would like to work on this issue

Is it completed? If not, reopen this issue when PR is ready


why, just why

why, just why

ImJustIsabella and Donisi asked. So I delivered. :p

but why

Why not?


select.vacuum_cleaning_mode sometimes contains only 1 item : "sweeping"

Describe the bug
select.vacuum_cleaning_mode contains only 1 item : "sweeping"
To Reproduce
no idea. it happens periodically.
Expected behavior
it should contain 3 options : "sweeping", "mopping" and "sweeping and mopping"
I can workaround it by reloading the dreame integration.
Also the dreame app shows me all 3 options.
Once I reload it then the select dropdown has all 3 expected options.
Additional Information (please complete the following information)

Model Name: dreame l10s ultra
Firmware Version: 4.3.9_3204
Home Assistant Version: 2024.4.4
Configuration Type [With or without map support]:
Errors or warnings shown in the HA logs (if applicable):

running beta 13.
nothing intesting in the logs.
what can I do in order to help ?

App does not allows to change to mopping when the water tank is not installed.

In my particular case the water tank is installed.
Also the official app allows me to select sweep and mop.


Maintain compatibility with Roo 2.5.0

This is related to the changes made in Roo with
https://github.com/roo-rb/roo/pull/329

Coverage increased (+0.6%) to 80.893% when pulling 8370eba8436b1936c0561392f5414b08ed3c399e on dangerous:roo_2_5_0 into 6449b5de121420cb8981df876acf984b547d7703 on roo-rb:master.

Coverage increased (+0.6%) to 80.893% when pulling 8370eba8436b1936c0561392f5414b08ed3c399e on dangerous:roo_2_5_0 into 6449b5de121420cb8981df876acf984b547d7703 on roo-rb:master.

Coverage increased (+0.6%) to 80.893% when pulling 8370eba8436b1936c0561392f5414b08ed3c399e on dangerous:roo_2_5_0 into 6449b5de121420cb8981df876acf984b547d7703 on roo-rb:master.

@dangerous Can you elaborate on why this change is needed? By my reading of the code, make_tmpdir does just what you subbed in, in the case where a block is given.

After updating my gems, several of my tests failed and I got the error:
[DEPRECATION] extend Roo::Tempdir and use its .make_tempdir instead
Looking at the code of Roo now, I see your point.  I just borrowed the code from their CSV implementation as a short term fix without reading too much into it, and that made my tests run again, but clearly the code should still have worked as is.  They have a bug though that they are referencing a constant which they have replaced with a class method, and in this case they are trying to access it as an instance method.  The actual bug therefore lies within roo not roo-xls.  I have submitted a PR to them at https://github.com/roo-rb/roo/pull/335 .

👍


[SwipeableDrawer] Swipe to open drawer has error

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Swipe right to open drawer.
Error keeps showing during swiping.

Current behavior 😯
Error: Unable to preventdefault inside passive event listener invocation.

Expected behavior 🤔
Swipe to open without this error.
Context 🔦
No response
Your environment 🌎
No response

Duplicate of https://github.com/mui/material-ui/issues/37814


[WIP] Removes ldap_sort while preserving sorting

This PR removes the call to the now deprecated ldap_sort-function wile
still preserving the sort-functionality.
For that the DefaultIterator is replaced with a SortableIterator (which
extends the DefaultIterator) that uses natural sorting (natcasesort).

Should this not be included in the next 2.5-release as it fixes failing tests in PHP7?

No because PHP7 is allowed_failure. Also this adds a new Iterator. In a few moments I'll give you feedback about the Iterator

I like the idea of put the sort logic in the Collection namespace.
Two things:

I think the DefaultIterator could be host the logic.
Create a unit test for the new class.

I was thinking about adding the sort-logic to the DefaultIterator as well as it would eliminate the need for a separate SortingIterator. Especially as it's a hard-coded dependency so using the SortingIterator would defacto eliminate the need for the DefaultIterator. On the other hand I wanted to leave the existing code intact as much as possible.
But I think the pros for adding the sort-functionality to the DefaultIterator outweigh the cons. Therefore I will add the logic to the DefaultIterator (and add tests accordingly)

@heiglandreas Please don't rewrite the commit while the review is in progress. I lost the progress of changes and every time I suppose the code must be full reviewed again.

Sorry @Maks3w! Will stop it and try to remember for the future!

Remember to execute php-cs-fixer before push :)

@Maks3w I've reworked the sorting.

Was merged into develop but pointed at master, closing PR as it is merged.

Any guess when this will get into master and be part of an official release? Right now I have my company's project pointed at the develop branch specifically for this issue (we're taking care of PHP 7 issues in our application so clients can start using it sometime next year), but I'd of course love to switch back to a stable release version once the work done here makes it to master.

I'm trying to get that merged this year.

Awesome, thanks for both your work on the library and your persistence with moving this change forward.


Platformatic DB: OpenApi schema ignore a table column not available in schema config

The Platformatic DB reference documents indicates that you are able to ignore a table, and that you can ignore a column of a table.
But when trying to configure an ignore column for a table  in the platformatic.db.json scheme. The ignore object  errors with Incorrect type. Expected "Boolean".
"db": {
  ...
    "openapi": {
      "ignore": {
        "movies": {
          "title": true
          }
       }
    }
  ...
}

It only can ignore a table.
"db": {
  ...
    "openapi": {
      "ignore": {
        "movies": true
       }
    }
  ...
}

Database: Postgres 15.2
Platformatic: 0.32.0
Nodejs: 18.16.1
@mcollina

@mcollina Hi, I've finished the db openapi schema config update to use ignore table columns. Before I create a PR , does the schema.test.js cover these types of added schema config options? There is no specific test for openapi.

I would not add a test for this change, just verify it all works.

Perfect, will PR after another test run.

@mcollina When you have time please can you check PR #1314. Also can you reopen PR #1317 as I closed it. Thanks

fixed in https://github.com/platformatic/platformatic/pull/1314


[LLVMGPU] Lower descriptor type to global address space

The hal.descriptor_type memory space indicates a global memory space but
is currently dropped. Instead convert it to global to improve the load
instructions selected by LLVM.

Thanks. I'm doing some final downstream e2e correctness/performance testing to make sure this doesn't regress/break anything and then will either land or try Uniform Buffers.


[Feature]: Protorev: Change swaps to backrun to use the Transient Store

Summary
Currently protorev swaps to backrun uses the KV store, but it gets fully reset every post handler. The cache misses for when it doesn't exist also lead to some extra I/O.
Setting this state also causes some extra gas, that we can spare ourselves. (We also want to start raising the flat amount of gas per write)
Proposed Feature
Lets use the transient store for SwapsToBackrun instead of the normal store.

@davidterpay @NotJeremyLiu ACK'd this idea


Feature Request: Enable Loaders with Dynamic Animations at Start and During Website Navigation

Feature Request:
I suggest implementing loaders with dynamic animations to be displayed at the beginning and in-between transitions on our website. These loaders would not only serve a functional purpose by indicating the loading process but also add a visually pleasing element that contributes to a more modern and interactive user interface.
Why is this important?
User Engagement: Dynamic loaders can capture user attention and provide visual feedback, reducing the perceived wait time during loading processes.
Professional Aesthetics: Incorporating dynamic animations aligns with contemporary design trends, making our website appear more polished and professional.
Enhanced User Experience: Users often appreciate a visually appealing and interactive experience. Dynamic loaders contribute to a positive overall user impression.

Pls use the proper issue template and edit it @Navya-1212


If i know python, which classes should i take..

From @weAllWeGot on December 1, 2016 21:0
bot should be able to reply to this question and others like it.
if i have 20 hours of free time a week which class should i take.
Copied from original issue: weAllWeGot/kbai_chat_bot3#15

81515b8


I get an error with gradle  android

Starting instance(s) bot...
.done.
Updated [https://www.googleapis.com/compute/v1/projects/studioso-node-server/zones/us-central1-f/instances/bot].
:: mainframer v2.1.0

Sync local → remote machine...
Sync done: took 0 seconds.

Executing command on remote machine…

sudo chmod 777 ./gradlew && sudo ./gradlew build

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Checking the license for package Android SDK Build-Tools 27.0.3 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 27.0.3 accepted.
Preparing "Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)".
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" ready.
Installing Android SDK Build-Tools 27.0.3 in /opt/android-sdk/build-tools/27.0.3
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" complete.
"Install Android SDK Build-Tools 27.0.3 (revision: 27.0.3)" finished.
Checking the license for package Android SDK Platform 27 in /opt/android-sdk/licenses
License for package Android SDK Platform 27 accepted.
Preparing "Install Android SDK Platform 27 (revision: 1)".
"Install Android SDK Platform 27 (revision: 1)" ready.
Installing Android SDK Platform 27 in /opt/android-sdk/platforms/android-27
"Install Android SDK Platform 27 (revision: 1)" complete.
"Install Android SDK Platform 27 (revision: 1)" finished.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to find target with hash string 'android-27' in: /opt/android-sdk

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s

Execution failed: took 11 seconds.

Sync remote → local machine…
Sync done: took 0 seconds.

Failure: took 11 seconds.

Process finished with exit code 1```

This is not Mainframer error, but rather something wrong in your Android SDK setup on remote machine.
Also:

You shouldn't need sudo chmod 777 ./gradlew, Mainframer preserves file modes
Never run Gradle builds as sudo, that's a recipe for disaster


Use case?

Hello!
I am an active user of WGLMakie and JSServe, I wrote a small package, ParamViz.jl, unregistered as well for now, that I use to deploy web apps on a package docs.
An issue I am running into, is that WGLMakie figures are set in pixels, and therefore vary with the resolution of the monitor. On some monitors, my figures appear very big, and others, very small. I wish I could have my figures be a proportion of the monitor or web page...
It is an issue Simon Danish (author of Makie and JSServe) is aware of, but fixing it is not a priority.
I imagine css would help, and it seems your package can do just that?
I am not sure though, but I hope your package helps, I will experiment and let you know how it goes!

Yes, I ran into this problem to and I am to fix it soon in a future version of the library. The problem has to do with the feature of pixel doubling of retina screens, meaning the figures appear 2 times smaller than the intended resolution.
In retina screens each pixels is comprised of a 2x2 grid of smaller "virtual" pixels. The figure resolution is measured in the terms of the small pixels and that's why they appear half the size of what they are supposed to be on a normal screen.
I have come up with something to bypass it:

I plan on adding a config parameter for retina screens to double the resolution, since the simple scaling with css would mess up the click / selection events inside the canvas.

Let me know if you find a cleaner way to do this. Any contributions are greatly appreciated!

Thanks a lot!
I'm sure Simon would be interested in a solution too.

This will be fixed in the next breaking release, which will hopefully happen soon:
https://github.com/MakieOrg/Makie.jl/pull/3113


Unable to close select with Angular 7

Hi, I can working fine with Angular 7.
But after trigger the select dropdown, it keep showing, unable to close it.
Only found below warning in inspect element.

this is caused by select2, the latest version of which fixes this

I had upgrade select2 version to 4.0.7-rc.0
But the problem still the same, the select dropdown close and open automatically after I click on the select dropdown.

verify timezone selector actually IS using newest select2:
check select2 version uses ng2-timezone-selector by looking at
node_modules/ng2-timezone-selector/node_modules/select2/package.json
for me, the ^ prefix didnt work to use 4.0.7-rc.0 so I had to call following manually (in a makefile)
cd node_modules/ng2-timezone-selector;
npm install select2@latest --save
after everything was already updated. to force the latest version
also the official 4.0.7 is already available, but not may yet not be reflected in all the repos. So expect everything to just work soon :)


Adapt k8s configs for AltSchool

We're not on Helm yet, so organize all the k8s configs we need to kubectl apply -f . to a cluster in a directory (raw/service) to make it easy to deploy.
You will see some configs (ServiceAccount, ClusterRoleBinding, ClusterRole) which seem like new files, but they are actually taken from the Helm configs because the raw configs were out-of-sync with the Helm charts in the upstream repo.

oops. Opened this PR against upstream instead of against the fork. Closing. Some of the changes may be useful for the upstream repo too though.


OpenID auth fix

After the upgrade to the Glitchtip version 3.4.4, I noticed an error during the login with OpenId:
...
web   File "/code/glitchtip/api/api.py", line 102, in get_settings
web     social_app.authorize_url = adapter.authorize_url
web                                ^^^^^^^^^^^^^^^^^^^^^
web   File "/usr/local/lib/python3.11/site-packages/allauth/socialaccount/providers/openid_connect/views.py", line 44, in authorize_url
web     return self.openid_config["authorization_endpoint"]
web            ^^^^^^^^^^^^^^^^^^
web   File "/usr/local/lib/python3.11/site-packages/allauth/socialaccount/providers/openid_connect/views.py", line 23, in openid_config
web     server_url = self.get_provider().server_url
web                  ^^^^^^^^^^^^^^^^^^^
...
web   File "/usr/local/lib/python3.11/site-packages/django/utils/asyncio.py", line 24, in inner
web     raise SynchronousOnlyOperation(message)
web django.core.exceptions.SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async.

Async support was introduced to the Django login view, but the OpenID code queries the DB synchronously :(
See upstream MR for more details.
Meanwhile, we apply the bugfix via the existing patching mechanism in the Dockerfile


_geoloc object can't be submitted via update method

When you attempt to update via the update() method, you can't send _geoloc.  You can set it as an array, an object, whatever; it won't work.  You get an error saying that _geoloc can't contain a string, and if you look at the body of the request in the logs, you can see it's sending _geoloc as blank.

Hi @stoicbuddha, sorry for the late reply. Could you give us the piece of code you are using so we can try it ou?

		$update = array(
			'name' => $_POST['name'],
			'website' => $_POST['website'],
			'description' => $_POST['description'],
			...
			'_geoloc' => array( 'lat' => $lat, 'long' => $long),

			);

		$alg_update = $business->find($id);

		$alg_update->update($update);

I also tried passing the array in _geoloc as an object, tried typecasting the values as floats/ints/etc, to no avail.  I've noticed pretty much everything gets typecast to a string unless you explicitly typecast it as whatever type of number it should be.

Hey @stoicbuddha,
I can see the problem. We accept only lat and lng attributes in _geoloc. And you have a typo as you are trying to send long instead of lng.
Can you confirm if it sorted out your problem? Otherwise, could you send me the version of the plugin you are using? Thanks!

No, that was actually a typo when I was typing out that section of code.  I had to create a workaround by editing the core Algolia files in my project, so I tried pulling it from memory.

Hello @stoicbuddha,
ok. But unfotunatelly I'm not able to reproduce the issue. I just tried to update _geoloc in my models and everything works correctly and location is updated in DB and in Algolia index as well.
Can you tell me what change did you ve to make to make it work on your side? Concerete files and lines will be the best!
And do you store _geoloc in the same model or do you have there some relation with another model?
Thanks for your help!

Client.php around the 780 mark.  I have it doing a search for before the data is formatted for the request to set things properly.  I now send lat/long as their own sets of data, and set up the array on the tail end before the jSON bit.
As a side note, I'd also like to mention that mandatory typecasting for PHP should be noted in your docs.  I got to find out the hard way that everything had to be typecast or else it'd pull it as a string.

Can you show me exactly how you have your request set up for the _geoloc object?

I do it the same way as you according yours messages above.
Model:
class Task extends Model
{
    use AlgoliaEloquentTrait;

    protected $fillable = ['title', '_geoloc'];

    protected $casts = [
        '_geoloc' => 'array',
    ];
}

Updating:
$task = Task::find(5);
$task->update([
    'title' => 'Foo',
    '_geoloc' => ['lat' => 12, 'lng' => 16]
]);

Formatted data in doRequest method in Client.php:
array (size=6)
  'id' => int 5
  'title' => string 'Foo' (length=3)
  'created_at' => string '2016-05-23 10:55:57' (length=19)
  'updated_at' => string '2016-05-23 13:37:51' (length=19)
  '_geoloc' =>
    array (size=2)
      'lat' => int 12
      'lng' => int 16
  'objectID' => int 5

Everything is indexed as expected.
Do you have any difference there?

I am closing this, feel free to re-open if needed ?

I am having the same issue, even if I am not using Laravel but CakePHP.
Maybe is it an issue with PHP v7.1?


DRfC intermittently hangs and instance is totally unresponsive on AWS G6 instances

Using a fresh install of DRfC (or using DOTS) on g series instances in AWS results in intermittent hanging of the servers and they become totally unresponsive, the only was to access them again is to reboot the server, even systems manager cannot connect to the instance.  This can happen at any time and has happened to me multiple times, usually around 8 - 24 hours.  Problem seems to have only occurred in May, with the new 5.2.2 release, prior to 5.2.2 instances wouldn't hang at all and could train for weeks in the March and April races
there is little in syslog to indicate the problem, but it shows an unresponsive network: -

same with journalctl: -

Final error in robomaker: -
One of the workers: -

Another of the workers: -

another of the workers: -

another of the workers: -

another of the workers: -

another of the workers: -

No errors in sagemaker or rlcoach
System.env settings: -

Issue has occurred with this set of config too

@MarkRoss-Eviden - any update here? Still an issue?

Not had any further issues recently.  AWS ticket suggested it was EBS bursting related, and since I removed any additional logging in my reward function I'm not seeing any instances of it, so perhaps that was the case.  If anything else comes up I'll open another ticket.


Debug print of a cursor

After performing a query, the result is a MongoCursor fitting the QueryCursor-protocol. To get the data, you need to perform sth. like firstResult() to get an EventLoopFuture. With this, you can decode it to a Codable-struct. This way is perfect and works fine. But it's really horrible for debugging, if the database doesn't match the defined struct (because you don't know where is the mistake). Is there an easy way to print out the JSON-data of the result without draining the cursor? It doesn't seem so, so may I suggest to add this feature, so that you could type sth. like this?
let pipeline = collection.aggregate( ....)
print(pipeline.resultAsJSON)    // this contains a string with the JSON-result

Of course the same for the other queries like
let result = collection.findOne( ...)
print(result.resultAsJSON)

Sorry, but this is not possible. The moment the results are printed, the cursor is already drained. The only alternative could be to do the query again, but then printing the cursor's contents


CASSANDRA-15679 Use str instead of bytearray for blobs in copyutil.py 2.1

https://issues.apache.org/jira/browse/CASSANDRA-15679

Here is what I had to do to get it to work locally (manual test): https://github.com/stef1927/cassandra/commit/41a29e5bdb4d2efc8b80425cd16dcc3d0111e7d3
I noticed it was hitting the exception at line 1733 because of the typo and so I got rid of the exceptional case.


fix(npm): Allow npm install from forked github repo

Issue being fixed or feature implemented
Fixes #100 by adding a prepare script to package.json running npm run build upon installing from a forked github repo.

Really sorry for closing your PR. It happened automatically when I remove 0.13-dev branch that is part of our release flow. Could you please recreate it to 0.15-dev please?


docs: add kubernetes guide

Description
Adding documentation about helpful kubernetes commands to troubleshoot issues with sc4snmp.
Type of change
Please delete options that are not relevant.

[x] Documentation update

Checklist

[x] My commit message is conventional
[x] I have made corresponding changes to the documentation
[x] I have checked my code and corrected any misspellings

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


Address GitHub CVE Warnings.

Update frozen_requirements.txt to resolve CVE warnings.

update cryptography to 2.3.1
update requests to 2.20.0
replace pycrypto with pycryptodome as pycrypto is no longer maintained.

We should probably also run something like the above as a verification step to make sure the freeze file does not miss any dependency after introducing changes.

That is a great idea. We could add this to the docker build step or as an additional code check?

That is a great idea. We could add this to the docker build step or as an additional code check?

I think adding it to the docker build will be best (tightest feedback loop).

I'll take a stab at it today.

Created PR https://github.com/mesosphere/dcos-commons/pull/2745

I'll close this PR.
I was trying to figure out where pycrypto came from, looking at the first level of packages in frozen_requirements.txt didn't seem to point at pycrypto as a dependency. Next step was to do a full recursive dependency scan till we find who's referencing pycrypto.

@kaiwalyajoshi : from build log
Requirement already up-to-date: pycrypto==2.6.1 in /usr/lib/python3/dist-packages (from -r frozen_requirements.txt (line 88))

This means it's installed as part of Ubuntu as a deb package. It's due to the following dependency chain:
porridge@beczulka:~$ docker run -ti mesosphere/dcos-commons dpkg -S pycrypto
python3-crypto: /usr/lib/python3/dist-packages/pycrypto-2.6.1.egg-info
python-crypto: /usr/lib/python2.7/dist-packages/pycrypto-2.6.1.egg-info
porridge@beczulka:~$ docker run -ti mesosphere/dcos-commons apt-cache rdepends python3-crypto
python3-crypto
Reverse Depends:
  python3-keyrings.alt
porridge@beczulka:~$ docker run -ti mesosphere/dcos-commons apt-cache rdepends python3-keyrings.alt
python3-keyrings.alt
Reverse Depends:
  python3-keyring
  python3-wheel
  python3-keyring
porridge@beczulka:~$ docker run -ti mesosphere/dcos-commons apt-cache rdepends python3-keyring
python3-keyring
Reverse Depends:
  python3-wheel
porridge@beczulka:~$ docker run -ti mesosphere/dcos-commons apt-cache rdepends python3-wheel
python3-wheel
Reverse Depends:
  python3-keyring
  python3-pip
porridge@beczulka:~$ docker run -ti mesosphere/dcos-commons apt-cache rdepends python3-pip
python3-pip
Reverse Depends:
porridge@beczulka:~$

FWIW, Ubuntu has applied some security patches on top of plan pycyrpto 2.6.1. Might be worth checking if these are the ones about which github's checker is complaining. Excerpt from /usr/share/doc/python3-crypto/changelog.Debian.gz:
python-crypto (2.6.1-8ubuntu1) bionic; urgency=medium

  * SECURITY UPDATE: weak ElGamal key parameters
    - debian/patches/CVE-2018-6594.patch: use backported fix from
      pycryptodome in lib/Crypto/PublicKey/ElGamal.py.
    - CVE-2018-6594

 -- Marc Deslauriers<EMAIL_ADDRESS>Fri, 30 Mar 2018 11:15:11 -0400

python-crypto (2.6.1-7) unstable; urgency=high

  [ Salvatore Bonaccorso ]
  * Throw exception when IV is used with ECB or CTR (CVE-2013-7459)
    (Closes: #849495)

 -- Sebastian Ramacher<EMAIL_ADDRESS>Wed, 28 Dec 2016 11:45:21 +0100

python-crypto (2.6.1-5) unstable; urgency=medium

  * debian/patches/asn1-decoding.patch: Fix TypeError in ASN1 implementation.
    Thanks to Stefanos Harhalakis for the patch. (Closes: #746180)

 -- Sebastian Ramacher<EMAIL_ADDRESS>Sat, 10 May 2014 19:27:03 +0200

python-crypto (2.6.1-1) unstable; urgency=high

  [ Sebastian Ramacher ]
  * New upstream release.
    - Fixes CVE-2013-1445: PRNG not correctly reseeded in some situations.
  * Set urgency to high since this upload fixes a security issue.
  * debian/python3-crypto.install: Fix lintian warning
    brace-expansion-in-debhelper-config-file.

 -- Sebastian Ramacher<EMAIL_ADDRESS>Thu, 17 Oct 2013 18:24:51 +0200


Support for AWS Aurora MySQL

[x] I have checked the FAQ, and issues and found no answer.

Hello,
Do you have the plan of supporting AWS Aurora MySQL(software.aws.rds:aws-mysql-jdbc)?

Is the mysql jdbc driver compatible with AWS Aurora MySQL?
If compatible, tracing is possible with pinpoint-mysql-plugin.

@emeroad
Thank you for your reply.
Although AWS Aurora MySQL is compatible with the mysql jdbc driver,
We are currently using the software.aws.rds:aws-mysql-jdbc driver for AWS Aurora MySQL.
Is there a way to use software.aws.rds:aws-mysql-jdbc driver without changing the jdbc driver?
As shown below, the Connection is captured, but the sub-contents below it are not displayed.

AWS Aurora MySQL is not currently supported, and a plugin is required to trace for AWS Aurora MySQL.
https://pinpoint-apm.gitbook.io/pinpoint/documents/plugin-dev-guide
The development guide is as above.
Plugin contributions are always welcome.

@emeroad
I used aws aurora mysql, too.
My pinpoint version is 2.5.3. But this plugin is support "1.7.x,1.8.x,1.9.x".
Do you have any plans to officially support?


Directory as input

the input option for a directory to compress to a single file seems to compress each file individually instead of all merged into one. is whole directory not supported?

This is a design choice since it is possible to tar either the source directory before or the destination directory after compression.
EG: tar cf dir.tar dir && kanzi -c -i dir.tar -f -l
EG: kanzi -c -i dir -o out -f -l  && tar cf out.tar out

it appears an error:
Warning: ignoring unknown option [tar]
Warning: ignoring unknown option [cf]

Are you on Windows ? Otherwise tar is a commonly available tool.

oh yes i am on the Windows operating system perhaps this is why

ah i nearly have it, i get a small error come back saying dir.tar cannot access input

Try line by line
tar cf <dir_name>.tar <dir_name>
kanzi -c -i <dir_name>.tar -f -l

im still receiving the error "Cannot access input file 'dir.tar'. Error code: 10"

It means the compressor cannot find the file 'dir.tar'. Did you call it differently ? Did you change directories ? Did the first command succeed ? What does "dir dir.tar" return ?

the first command making the dir.tar file with the files in it works fine, i can see the files with 7z. but the command with kanzi kicks back that it cant access the input file when it is sitting next to it

What does "dir dir.tar" return ? What are your exact command lines ?

tar cf dir.tar "D:\Hearthstone" && Kanzi64.exe -c -i dir.tar -f -b 1g -l 9

OK. Then if you type simply "Kanzi64.exe -c -i dir.tar -f -b 1g -l 9", you get the error ?
What is the size of dir.tar ?

yes typing in just that kanzi command has the error. the tar file is fine its 5GB as the source size is originally

There may be a problem with files over 4GB on Windows. I do not have such a file to test. I will look into this.

I uploaded a mingw based Windows executable in a zip asset attached to the release. Can you try it ?

i have tested with another folder of 3.5GB issue still persists. But less than 2GB input works.

I uploaded a new Kanzi64.exe. Give a try and let me know.

error still occurs

sorry i meant there is a different error that says "The input and output files must be different"

oh i downloaded the wrong one, the new one uploaded seems to work now


srsRAN MATALB Assertion Failed while testing

Hi Team,
I wanted check this matlab based srsRAN test and following the doc below, https://docs.srsran.com/projects/project/en/latest/tutorials/source/matlab/source/index.html#installation
Using the MATLAB 2023b version. While running and test the scripts, One test getting failed and its error message is shown in below,
I was getting this issue from the ans variable in (1,1) location. I am not sure which file to change can anyone help to resolve this issue.
assertEqual failed.--> Classes do not match.
Thanks,
Srikanth

Hi @golisrikanth1989,
thanks for pointing this out. We haven't tested our software with R2023b, only with R2023a (and some previous versions). However, we've encountered a similar error before when going from R2022b to R2023a. The reason is that MATLAB has probably changed the default type of one of the fields inside an NR object.
Can you rerun the failed test and paste the entire output? I can't see exactly which assertion is failing - my guess is
            obj.assertEqual(pusch.TransformPrecoding, 0, 'Wrong transform precoding.');

on line 133 of unitTests/CheckAnalyzers.m. If so, just change it to
            obj.assertEqual(double(pusch.TransformPrecoding), 0, 'Wrong transform precoding.');

and it should work. We'll fix this in the next release.

Hi @dvdgrgrtt,
Thanks for the response,
Now its getting passed with all test, here is the output,
.
Done CheckAnalyzers

Running CheckSimulators
Simulating transmission scheme 1 (1x1) and SCS=15kHz with AWGN channel at -5.6dB SNR for 100 10ms frame(s)
Throughput(Mbps) after 10 frame(s) = 0.0000 (max 1.8000)
Throughput(%) after 10 frame(s) = 0.0000
BLER after 10 frame(s) = 1.0000
Simulating transmission scheme 1 (1x1) and SCS=15kHz with AWGN channel at -5.4dB SNR for 100 10ms frame(s)
Throughput(Mbps) after 10 frame(s) = 0.0000 (max 1.8000)
Throughput(%) after 10 frame(s) = 0.0000
BLER after 10 frame(s) = 1.0000
Simulating transmission scheme 1 (1x1) and SCS=15kHz with AWGN channel at -5.2dB SNR for 100 10ms frame(s)
Throughput(Mbps) after 10 frame(s) = 0.0178 (max 1.8000)
Throughput(%) after 10 frame(s) = 0.9901
BLER after 10 frame(s) = 0.9901
Simulating transmission scheme 1 (1x1) and SCS=15kHz with AWGN channel at -5dB SNR for 100 10ms frame(s)
Throughput(Mbps) after 11 frame(s) = 0.1636 (max 1.8000)
Throughput(%) after 11 frame(s) = 9.0909
BLER after 11 frame(s) = 0.9091
Simulating transmission scheme 1 (1x1) and SCS=15kHz with AWGN channel at -4.8dB SNR for 100 10ms frame(s)
Throughput(Mbps) after 15 frame(s) = 0.5755 (max 1.8000)
Throughput(%) after 15 frame(s) = 31.9728
BLER after 15 frame(s) = 0.6803
.11:38:25: Simulating SNR = -14.2 dB... Detection probability (ignoring time error):        100.00%
Detection probability (time error below tolerance): 100.00%
Time error:                                         0.21 +/- 0.25
11:38:26: Simulating SNR = -14.2 dB... False-alarm probability: 0.00%
.
Done CheckSimulators

Running CheckTests
.......... .......... .......... .......... ....Running srsChEqualizerUnittest
.
Done srsChEqualizerUnittest

.Running srsChEstimatorUnittest
.
Done srsChEstimatorUnittest

.Running srsDFTProcessorUnittest
.
Done srsDFTProcessorUnittest

.Running srsDemodulationMapperUnittest
.
Done srsDemodulationMapperUnittest

.Running srsLDPCEncoderUnittest
.
Done srsLDPCEncoderUnittest

.Running srsLDPCRateMatcherUnittest
.
Done srsLDPCRateMatcherUnittest

.
Running srsLDPCSegmenterUnittest
.
Done srsLDPCSegmenterUnittest

.Running srsModulationMapperUnittest
.
Done srsModulationMapperUnittest

.Running srsNZPCSIRSGeneratorUnittest
.
Done srsNZPCSIRSGeneratorUnittest

.Running srsOFDMDemodulatorUnittest
.
Done srsOFDMDemodulatorUnittest

.Running srsOFDMModulatorUnittest
.
Done srsOFDMModulatorUnittest

.Running srsOFHCompressionUnittest
.
Done srsOFHCompressionUnittest

.Running srsPBCHEncoderUnittest
.
Done srsPBCHEncoderUnittest

.Running srsPBCHModulatorUnittest
.
Done srsPBCHModulatorUnittest

.Running srsPBCHdmrsUnittest
.
Done srsPBCHdmrsUnittest

.Running srsPDCCHCandidatesCommonUnittest
.
Done srsPDCCHCandidatesCommonUnittest

. Running srsPDCCHCandidatesUeUnittest
.
Done srsPDCCHCandidatesUeUnittest

.Running srsPDCCHEncoderUnittest
.
Done srsPDCCHEncoderUnittest

.Running srsPDCCHModulatorUnittest
.
Done srsPDCCHModulatorUnittest

.Running srsPDCCHProcessorUnittest
.
Done srsPDCCHProcessorUnittest

.Running srsPDCCHdmrsUnittest
.
Done srsPDCCHdmrsUnittest

.Running srsPDSCHEncoderUnittest
.
Done srsPDSCHEncoderUnittest

.Running srsPDSCHModulatorUnittest
.
Done srsPDSCHModulatorUnittest

.Running srsPDSCHProcessorUnittest
.
Done srsPDSCHProcessorUnittest

.Running srsPDSCHdmrsUnittest
.
Done srsPDSCHdmrsUnittest

.Running srsPRACHDemodulatorUnittest
.
Done srsPRACHDemodulatorUnittest

. Running srsPRACHDetectorUnittest
.
Done srsPRACHDetectorUnittest

.Running srsPRACHGeneratorUnittest
.
Done srsPRACHGeneratorUnittest

.Running srsPUCCHDemodulatorFormat2Unittest
.
Done srsPUCCHDemodulatorFormat2Unittest

.Running srsPUCCHDetectorFormat1Unittest
.
Done srsPUCCHDetectorFormat1Unittest

.Running srsPUCCHProcessorFormat1Unittest
.
Done srsPUCCHProcessorFormat1Unittest

.Running srsPUCCHProcessorFormat2Unittest
.
Done srsPUCCHProcessorFormat2Unittest

.Running srsPUCCHdmrsUnittest
.
Done srsPUCCHdmrsUnittest

.Running srsPUSCHDecoderUnittest
.
Done srsPUSCHDecoderUnittest

.Running srsPUSCHDemodulatorUnittest
.
Done srsPUSCHDemodulatorUnittest

.Running srsPUSCHProcessorUnittest
.
Done srsPUSCHProcessorUnittest

. Running srsPUSCHdmrsUnittest
.
Done srsPUSCHdmrsUnittest

.Running srsSSBProcessorUnittest
.
Done srsSSBProcessorUnittest

.Running srsShortBlockDetectorUnittest
.
Done srsShortBlockDetectorUnittest

.Running srsShortBlockEncoderUnittest
.
Done srsShortBlockEncoderUnittest

.Running srsTBSCalculatorUnittest
.
Done srsTBSCalculatorUnittest

.Running srsUCIDecoderUnittest
.
Done srsUCIDecoderUnittest

.Running srsULSCHDemultiplexUnittest
.
Done srsULSCHDemultiplexUnittest

.Running srsULSCHInfoUnittest
.
Done srsULSCHInfoUnittest

..
Done CheckTests

ans =
1×94 TestResult array with properties:
Name
Passed
Failed
Incomplete
Duration
Details

Totals:
94 Passed, 0 Failed, 0 Incomplete.
25.0424 seconds testing time.
I will check the analyzers and simulators let you know, If found any issues.
Thanks
Srikanth Goli

Closing this issue - feel free to reopen if needed.


Merge from master to Dev_Unity_2017.2.0

I'd recommend looking through this commit by commit. My merge commits (and the master commits they contain) should be obvious.

I am very nervous about this merge haha

@StephenHodgson As am I haha...we've waited so long to do this, I'm not sure a better way to go about it.

I'd like to do smaller chunks if possible.  Like do one feature area at a time.

@StephenHodgson The problem with that is that I'm bringing in all the history. Can't really pick and choose feature areas on a merge, at least without ruining history for any future merges...

Did you do a rebase of the 2017.2 branch onto the master branch?

@StephenHodgson I did not. Hrm, that's probably a better way to go about this...I only did straight merges.

I'll hold off until this:
https://help.github.com/articles/about-git-rebase

The rebase (and my original merges) is a little more difficult due to the inclusion of commit history without content in #714 (the commits are coming up as removal of the files/changes when merged back into the Dev2017.2 branch).
In progress though!

Sorry, that's my fault you're having a difficult time with that.

Maybe I'm setting up my scene wrong, but I keep getting issues with the pointer assignment on start with this PR.

@StephenHodgson Ahh, that's a result of my migration of 92384c50a693a192fb5a6de9f0331ce930c8d541. Since OnEnable() gets called before Start(), Pointer is null when this gets called on app startup. Adding a null check, then the errors above disappear.

I've got one last revert to make from StageManager.cs

Forgot I accidentally removed that bool updateStageBounds.

What is our plan for testing this?

I tried building today but have ran into multiple issues.
I wasn't able to run this from the editor with the Acer Headset & controllers, but it ran fine without them.
Didn't get a chance to test builds again the HoloLens yet.

@jessemcculloch At this point, it might be best to wait until our merge into master of this branch. That'll make the diff much simpler, as we'll only be looking at the changes made in this branch, instead of re-reviewing all new additions to master, like this PR is showing.

Either way, does not matter to me.  I am using the 2017.2 branch for my development as is right now, since I want the Immersive Headset stuff, so I don't mind testing, I just don't want to duplicate work.  This is such a large job, It's only going to get worse trying to test it the longer it hangs out there and other stuff gets pushed to master.
Let me know if there is anything you guys need me to do.

I too don't mind testing. We're really pushing to have the headsets working with our projects here too.

If we are not merging master into this, should this PR be closed?

I'm still interested in a piece meal approach and doing a PR for each version.
We can also create patches for recent PRs just on this branch, and just start over with master.  The initial changes were from build last year and don't really have history attached to them, correct?

I would also probably recommend closing and redoing this PR once the other breaking change merges have been done on master

I agree with @NeerajW this should be closed now in favour of your progressive approach @StephenHodgson

@keveleigh I'd just go ahead and merge this.

@keveleigh, let's make a tag for 2017.2 dev and then merge this.

@StephenHodgson Make a tag pre-merge?

Yeah, I think that'll help out anyone who's not ready to update yet.

@keveleigh I made the tag already.

@StephenHodgson I think we should wait for #1007 to go in, then merge this.

I disagree. We need to move this.

@StephenHodgson I'll merge the latest master changes in here, then merge. We'll likely break the other PR though.

We just need to take the steps to get there.  This branch is already really far behind, and the U2017.2 release is quickly approaching, and a lot of us have demos we need to complete before Oct 3rd.

On the bright side, the Headsets haven't really made it out to many Devs yet, but the longer we wait the harder it'll be to make changes without breaking other people's projects.

Here, here.
I'd rather this gets up to date sooner and then stabilise before we are too long into Oct, before Mr is fully released.
Need to be able to have something devs can pick up and run with asap

@keveleigh, I don't mind doing the latest master changes, because it involves the Xbox input.  I'd like to work on that if possible.

Did you squash this PR? The point of this was to bring in all the actual commits from master, but now source control still thinks there are merges to be done. I'm going to redo this without squashing.

Did you squash this PR? The point of a merge is to bring in all the actual commits, but now source control still thinks there are merges to be done. I'm going to redo this without squashing.

@keveleigh, sorry it must have been set by default from the last time I merged. (I guess it remembers your last action?)

@StephenHodgson All good! It'll be easy to re-do

Looks like my data may have just taken a bit to catch up. I see the commit history now, hmm. Not sure what happened before.


Why are urls containing -- disabled by design?

E.g. https://deploy-preview-110--deltachat.netlify.com/en/2018-11-17-deltaxi , which is a perfectly valid url

Dupe of #63


Added RANDOM, RANDOM_HEX snippet variables

This PR fixes #80297
I've take the issue since there was no activity. I will be happy to write tests, when I'll get approve for this functionality.
Ping @jrieken.

 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: Krystofee sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Why is this specifically 6 random characters? This is very arbitrary and the use cases for exactly 6-digit random decimal or hex numbers other than a hex color are non-existent.
This should be removed.

So, what is your suggestion then? Just remove? 5 numbers? 3?

Wow, thanks for the work
the origin request is from me
I agree with NotWearingPants
the approach is not flexible
but it's enough for my original proposal already
I thought that maybe the 'snippet system' could support inbuilt function rather than const only
or as what I imaged before: parse any custom valid JS statement
the first case is like `color: #${RANDOM(6, hex)}` or  `console.warn('tag-${RANDOM(8, 36)}')`
the customable way is like `console.warn(${Math.random().blahblah()})`
Anyway, thanks for the work~


update: Table engines supported by ClickHouse

Also add a note for using integration engines and dictionaries with managed crentials integrations.
Describe your changes
Checklist

[x] The first paragraph of the page is on one line.
[x] The other lines have a line break at 90 characters.
[x] I checked the output.
[x] I applied the style guide.
[x] My links start with /docs/.

I'll leave for a technical writer to review as well but good from DDB standpoint


Added context manager & updated README with usage.

Description:
Added a context manager for the bar so that it can be used in a with statement. The context manager will automatically start the bar at 0% and clear the bar afterwards:
with lowbar.LowBar() as bar:
    bar.update(10)
    time.sleep(2)  # Run a task
    bar.update_smooth(100)
print("Tasks complete!")

Why:
Makes the bar even easier to use, and handles the setup and clean-up automatically - useful for big scripts that may use multiple bars.
Please let me know what you think. This is my first open-source pull request so would love to hear feedback.

Looks good, made a slight modifications to the docstrings and bumped the version. Will merge now, thanks for the contribution :D

It seems you aren't appearing on the contributors page for some reason. Did you use the command line git client? You may have to update you email:
git config --global user.email<EMAIL_ADDRESS>

Update: I have created a CONTRIBUTORS.md file which displays all contributors, even if they aren't in the contributors page

Sorry about that. My configured email is different to the email this account uses. Will update for the future. Thanks.

no worries, have a great day :)


NodeOps shares scene across multipleTresCanvass

Bug
NodeOps accidentally shares scene across multiple TresCanvass.
See the StackBlitz reproduction for details.
Problem
NodeOps's let scene is set whenever a new Scene is added to any TresCanvas – i.e., the variable points to the last Scene added to a TresCanvas. If elements from another TresCanvas read scene in nodeOps, the code expects that they will find their Scene, but they do not.
Solution?
Solution A
We could refactor nodeOps as (context: TresContext) => NodeOps.
Every new instance of TresCanvas could create a new nodeOps instance which contains a unique TresContext (i.e., with the appropriate Scene) within its scope.
Solution B
Otherwise, we could simply recurse up the parent chain until we reach a Scene or run out of parents.
Reproduction
https://stackblitz.com/edit/tresjs-basic-e6uzmm?file=src%2FApp.vue
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.14.0 - /usr/local/bin/pnpm
  npmPackages:
    @tresjs/cientos: ^3.5.1 => 3.5.1
    @tresjs/core: ^3.4.1 => 3.4.1
    @tresjs/eslint-config-vue: ^0.2.1 => 0.2.1
    vite: ^4.5.0 => 4.5.0

Used Package Manager
npm
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Brilliant catch @andretchen0 thanks for the detailed reproduction!

Every new instance of TresCanvas could create a new nodeOps instance that contains a unique TresContext (i.e., with the appropriate Scene) within its scope.

This was the original purpose, but it seems we didn't implement it correctly, I think your idea about refactoring nodeOps to a function will potentially solve this, but I will need to test it

I spent more time reproducing it and the only reason why was working on the playground it was because it was wrapped with Suspense wtf 😂

This was the original purpose, but it seems we didn't implement it correctly

No worries. Bugs happen.
In the hope that it's helpful to mention: looking at the code, I have a hunch that some of the Vue SFC model has rubbed off on the way some plain ES modules were written. (It happens to me, so I'm assuming others, too.) Like the code in src/core/renderer.ts:
import * as THREE from 'three'

import { createRenderer } from 'vue'
import { extend } from './catalogue'
import { nodeOps } from './nodeOps'

export const { render } = createRenderer(nodeOps)

If one has the Vue <script setup> mental model, it might look like render will be unique every time the script is imported. Because every time you create <MyVueComponent>, its <script setup> is run again.
But ES modules are something like singletons. They're only evaluated the first time they're loaded. In this case, it means all render are the same.
Mostly that wasn't a problem because mostly the renderer functions just work on their arguments ... just not in the case of let scene. Lol.


Missing npm package for the project

First of all, many thanks for releasing the webpack edition of PL as OSS! very much appreciated.
I was expecting to find the project in the npm registry as well, so instead of having to clone the project I can add it as a dependency of a project.
This is one of the installation alternatives suggested by the Gulp Edition of Patternlab.
Thanks

Thanks for suggestion, this is a great thing to do, I will certainly follow along with the other editions

@ThePeach NPM - Edition Node Webpack I'll update the documentation in a following release.


chore: add missing decidability instance

Needed in https://github.com/leanprover-community/mathlib4/pull/3234


en-bcl model download link broken

en-bcl download link for latest language model opus+bt-2020-05-23.zip is broken.
Please fix it.

Done. The link should work now.

Thanks @jorgtied


add multivariate test sample

All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

@scbedd is looking into the pipeline failure in Link verification check step because these links work fine.

@luxiong-ms - While @scbedd is looking into the broken links issue. I added the links in eng/ignore-links.txt file to unblock this PR.
Added few comments. Please take a look.

@luxiong-ms

@luxiong-ms
[error]Generated code is not up to date.
You may need to rebase on the latest master,

run eng\scripts\Update-Snippets.ps1 if you modified sample snippets or other *.md files (https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md#updating-sample-snippets),
run eng\scripts\Export-API.ps1 if you changed public APIs (https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md#public-api-additions).
run dotnet build /t:GenerateCode to update the generated code.


Add bonus for Rails 5.1 Encrypted Secrets

There's a new security-related feature that a lot of devs won't be familiar with:
http://weblog.rubyonrails.org/2017/4/27/Rails-5-1-final/#encrypted-secrets
Right now initializers/key.rb has a not-entirely-insecure approach of just completely omitting a production key, but the current state of the art is usually ENV based and I'd like to expand on that in the tutorial.

Reference I just found: http://www.rubyflow.com/p/1o0pv1-screencast-encrypted-credentials-in-rails-52


Hello, im getting this error...  WARNING: Files from a previous installation of Chocolatey were found at 'C:\ProgramData\chocolatey'. WARNING: An existing Chocolatey installation was detected. Installation will not continue. For security reasons, this script will not overwrite existing installations.  Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself. If the existing installation is not functional or a prior installation did not complete, follow these steps:  - Backup the files at the path listed above so you can restore your previous installation if needed  - Remove the existing installation manually  - Rerun this installation script  - Reinstall any packages previously installed, if needed (refer to the lib folder in the backup)  Once installation is completed, the backup folder is no longer needed and can be deleted. choco : The term 'choco' is not recognized as the name of a cmdlet, function, script file, ....  After trying to use you tool after going back to a restore point

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Hi @trooper86 ,
First of all your title should be Chocolatey not be recognized error, and the title actually is the description of the bug you're facing.
What I suggest you, is to reinstall chocolatey using winutil and them try again to use it. If the error persists, provide more information like:
Your Operating system
Version and Build of OS
And if possible check the "Paths" in environment variables to see if chocolatey is configured to be used in cmd or powershell.

It was the path thank you.

thank you again. im enjoying using the ctt tool but also choco..

I am getting the same error please help me in resolving it. I get the below error.
WARNING: Files from a previous installation of Chocolatey were found at 'C:\ProgramData\chocolatey'. WARNING: An existing Chocolatey installation was detected. Installation will not continue. This script will not overwrite existing installations. If there is no Chocolatey installation at '', delete the folder and attempt the installation again. Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself. If the existing installation is not functional or a prior installation did not complete, follow these steps: - Backup the files at the path listed above so you can restore your previous installation if needed. - Remove the existing installation manually. - Rerun this installation script. - Reinstall any packages previously installed, if needed (refer to the lib folder in the backup). Once installation is completed, the backup folder is no longer needed and can be deleted. choco : The term 'choco' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:176 + ... .DownloadString('https://chocolatey.org/install.ps1')); choco upgrade ... + ~~~~~ + CategoryInfo : ObjectNotFound: (choco:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException


[ENG-2375] [Hotfix] Tweaks and additional question for RWE Registration Schema

Purpose
Make some changes to the RWE Registration Schema after it's been further reviewed
Changes

Change the template name/title to "Real World Evidence Recommended Minimum Study Registration Template", old name was 'Real World Evidence in Health Outcomes Minumum Recommended Form'
Change q4 (Extraction date) help text to "This refers to either the version number for the database that will be used to implement the study protocol or the date that the database was created."
Change the q18 Question-label to "Follow-up definition"
Add another question after q19 for Data handling details in sheet.

(Note: qid incrementation on the schema blocks sheet is off by 1 after q6)
QA Notes

Verify title is "Real World Evidence Recommended Minimum Study Registration Template"
Verify help text for q4 is in line with the schema specified in sheet
Verify q18 question label is in line with the schema specified in sheet
Verify q20 is in line with 'Data handling' question as specified in sheet

Documentation
N/A
Side Effects
N/A
Ticket
JIRA Ticket

No, one more change: this should be targeting Master rather than Develop, as it is a hotfix.

Actually, one more thing. Could you roll in https://openscience.atlassian.net/browse/ENG-2377 to this?

Will do - I'm going to make changes in this PR (https://github.com/CenterForOpenScience/osf.io/pull/9520) so I can start fresh with a branch based off of master


Reproducing the results

Hi! Thanks for the code!
I have a question, why I can't reproduce the results listed in README.md, some are poorer while some are better, it seems that random seed has already been set during training, so where might the difference be from?

Hi, @linsole
I refactor my code. Can you run the code again?


fix: Allow Multiselect DefaultValue to accept numbers

Description
Allow number to be passed as default Value in Multiselect
Fixes #11714
Type of change

Bugfix (non-breaking change which fixes an issue)

How Has This Been Tested?

Unit Test

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/multiselect-prepopulate-value-with-number

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
55.6 (0.01)
36.81 (0.03)
34.91 (0)
55.91 (0.01)

:green_circle:
app/client/src/utils/WorkerUtil.ts
89.76 (0)
72.55 (1.96)
100 (0)
93.33 (0)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

:green_circle:
app/client/src/widgets/MultiSelectWidgetV2/widget/index.tsx
80.23 (0.23)
56.67 (6.67)
70.59 (0)
80.25 (0.25)

/ok-to-test sha=90fa00

@Tooluloope Can we make the title more descriptive? Would help with the release notes
Also, could you also make sure the checklist in the PR description is also marked correctly?

/ok-to-test sha=aa806de

/ok-to-test sha=c82fa8f

/ok-to-test sha=bed6834

@Tooluloope Tested this PR and it is working as expected


Update readme.md

I think the text is fine where it is but I went ahead and made it bold.

Thanks


Unknown constant

Hello.
I readed sources and I understand
const float cos_width = cos(PI / 6);
const float cos_faloff = cos(25 * PI / 180);
And PI / 6 is 30 * PI / 180 and 30 and 25 is hardcoded angles of light. Is this correct?
But I dont understand what is
https://github.com/yuphin/Lumen/blob/051b10f15dc0c2e2561a8eb8d1b7d5febe252197/src/shaders/bsdf_commons.glsl#L102
?

The constants are from the paper An Anisotropic Phong Light Reflection Model by Ashikhmin and Shirley. It's quite an outdated model by today's standards but it's also the same model that is used to implement the FresnelBlend BSDF in PBRT-v3.
Related PBRT-v3 link: https://www.pbr-book.org/3ed-2018/Reflection_Models/Fresnel_Incidence_Effects


Do not expect that history is available immediately

High-level description
When metronome job is finished we immediately try to pull the history endpoint and look for finished successful or failed runs. However that is not correct. History is updated asynchronously and it might not be available right ahead. By this change, we retry until run id appears in the history section.
Corresponding DC/OS tickets (obligatory)
These JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-4294 Flaky Test for Metronome on Looking at Job Run History

Related dcos-launch and dcos PRs
Is this change going to be propagated up into another repo? Test the change by bumping the dcos-test-utils SHA to point to these changes to test it. Link the corresponding PRs here:
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Include a test in dcos-integration-tests in https://github.com/dcos/dcos or explain why this is not applicable:
[x] Include a test in https://github.com/dcos/dcos-launch or explain why this is not applicable:

Integration tests were run and

[ ] Integration Test - Enterprise (link to job: )
[ ] Integration Test - Open (link to job: )

@kensipe yeah I considered that approach too but then everyone using history would know that it has to retry. Also if that retry fails, it's giving kind of mixed message - so did the job finish or not? I think this should work fine...
I will add comments, good point! Thanks

oh actually now I see that I filed that comment already under the _is_history_available method. I think that should be enough...

please whoever is merging this, SQUASH and merge :) thanks


Update theme parent reference to keycloak.v2 due to removal

Update Theme Parent Reference to keycloak.v2
This pull request updates the parent theme reference within the theme.properties file from keycloak to keycloak.v2. This change is necessary due to the removal of the keycloak theme for accounts, ensuring our theme properly inherits from the current keycloak.v2 theme.
Background
The keycloak theme for accounts is no longer available (keycloak version 23), necessitating this update to maintain compatibility and leverage the latest theme improvements provided by Keycloak. The keycloak.v2 theme offers updated styles and components that are essential for a coherent user experience across our Keycloak-based authentication flows.
Changes

Modified the theme parent reference in the theme generation logic (generateTheme.ts) to use keycloak.v2 instead of keycloak.

Implications
This update ensures that our custom theme remains compatible with the latest Keycloak theme standards and benefits from the enhancements and bug fixes in keycloak.v2.
For more information on Keycloak base themes, please refer to the Keycloak themes source code.
Request for Review
I invite the team to review the proposed changes to ensure they meet our requirements for theme compatibility and style coherence. Your insights and feedback are highly valued.

Hello @nikolaigut,
Thank you for taking the time to submit a PR. With the release of Keycloakify v9, we now fully support Keycloak 23.
We are fully aware of the removal of the account theme v1 in Keycloak 22. Bringing back account theme support has been a tough battle, and a PR to Keycloak had to be merged to make this possible. See the discussion here: https://github.com/keycloakify/keycloakify/issues/389#issuecomment-1829708161
Anyway, everything is now working with Keycloak v23. Here is the upgrade guide to Keycloakify v9: https://docs.keycloakify.dev/migration-guides/v8-to-v9


Auto-sized Dropdown and TextField controls

Control's width must change depending on text entered/selected.
Example Flutter widget: https://github.com/lzhuor/auto_size_text_field#auto-size-textfield
Implementation ideas:
https://github.com/lzhuor/auto_size_text_field/blob/master/lib/src/auto_size_text_field.dart#L737-L751
https://stackoverflow.com/a/62536187/1435891

Also: https://api.flutter.dev/flutter/widgets/FittedBox-class.html


Fixing bug where incorrect function name is used

See https://github.com/wakirin/Litepicker/issues/95

This fix will be included in the next release.
Thanks!


Unable to install pyautogui

I have installed pillow, python3-xlib, python3-tk, python3-dev, scrot. Still not able to install pytautogui.
System details
→ uname -a
Linux pavilion 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

chillaranand@pavilion:~/projects |
→ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:        16.04
Codename:       xenial

chillaranand@pavilion:~/projects |
→ pip install pillow
Requirement already satisfied (use --upgrade to upgrade): pillow in /home/chillaranand/.virtualenvs/exp/lib/python3.5/site-packages

chillaranand@pavilion:~/projects |
→ sudo apt-get install python3-xlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-xlib is already the newest version (0.14+20091101-5).
0 upgraded, 0 newly installed, 0 to remove and 252 not upgraded.

chillaranand@pavilion:~/projects |
→ pip install pyautogui
Collecting pyautogui
  Using cached PyAutoGUI-0.9.33.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-rrn7mnyl/pyautogui/setup.py", line 6, in <module>
        version=__import__('pyautogui').__version__,
      File "/tmp/pip-build-rrn7mnyl/pyautogui/pyautogui/__init__.py", line 114, in <module>
        from . import _pyautogui_x11 as platformModule
      File "/tmp/pip-build-rrn7mnyl/pyautogui/pyautogui/_pyautogui_x11.py", line 6, in <module>
        from Xlib.display import Display
    ImportError: No module named 'Xlib'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rrn7mnyl/pyautogui/

You need pay attention about the Python you are installing and run: Python 2.x or Python 3.x. I guess your Ubuntu have Python 2.X and Python 3.X. If you want use pyautogui on Python 3.X install pillow and pyautogui using pip3.

$ pip3 install pillow
$ pip3 install pyautogui

@hugoesb   I am able to install it system wide in both py2 & py3 with sudo. However I want to install them in virtualenv and it is failing with same error on py2 & py3.

I was able to get it to install in a virtualenv on xenial after some effort.
$ python --version
Python 2.7.12

$ virtualenv -p `which python` venv
Running virtualenv with interpreter /usr/bin/python
New python executable in /home/artburkart/Code/venv/bin/python
Installing setuptools, pip, wheel...done.

$ . venv/bin/activate

(venv) $ sudo apt install python-xlib python-tk
(venv) $ pip install Image
(venv) $ pip install python-xlib
(venv) $ pip install Image

Only after installing these extra dependencies, could I get it to work.

Weird. Without any changes, it is working now.
Thanks @hugoesb @artburkart  for the help.

pyautogui depends on xlib
Run
sudo apt-get install python3-xlib
sudo pip3 install pyautogui

If you're still stuck, go here:

https://medium.com/@tracy_blog/pyautogui-installing-on-mac-os-x-86e397428b3


[iOS physical device] TimeoutException after 0:00:10.000000: Future not completed<…>

I called an API and getting an error.
TimeoutException after 0:00:10.000000: Future not completed<…>
It is worth mentioning that it's only happens on physical device (iOS). It's works on simulator, emulator, real device (Android).
How do fix it?
Thank you so much.

Doctor:
[✓] Flutter (Channel unknown, 2.10.5, on macOS 12.4 21F79 darwin-arm, locale en-VN)
    • Flutter version 2.10.5 at /Users/nta-trongpq/flutter/flutter
    • Upstream repository unknown
    • Framework revision 5464c5bac7 (3 months ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/nta-trongpq/Library/Android/sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 12 (API 32) (emulator)
    • Shinya’s iPhone (mobile)    • 00008101-00044C220AC2001E • ios            • iOS 15.5 19F77
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 103.0.5060.53

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!


General Update

Changes:

Changed Links on top right

Changed Wiki to github
Removed forums

Changed some Meowys

307 Changed
308 Changed
400 Changed
404 Changed
508 Added

Favicon changed? (I don't know if it was actually changed because the GitHub preview doesn't show it)

and uh make sure these changes go over to the website because https://github.com/meower-community/http-meower/commit/ef846ee158441ce26626897f478181ba8aac49be is not showing on the website


⚠ Bofrost.com has degraded performance

In 4a20f2b, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1672 ms

Resolved: Bofrost.com performance has improved in 3b18972.


Add support for Praat scripts to MUSCLE

To achieve audio processing, we may integrate Praat scripts into MUSCLE. The advantage would be that many users, especially from the Linguistics domains, are used to working with Praat for audio processing. The Parselmouth library already integrates much Praat functionality into Python.

What does integrating Praat scripts into MUSCLE mean exactly? In what scenario would it be used?

It would allow for server-side audio processing, basically. It's a nice-to-have, but probably toward the end of the project

I thought this was a follow-up in case we got more funding, really. I'll put this on hold for now.


CM-1038: Passing by Value vs Passing by Reference in C#

Hi @mahmoudmahm00d,
Please review the author's documentation #3 Implementation Code regarding how to create a PR. The PR for your current Jira should be made from a separate branch and should only contain the code related to the article. Thanks!


VIPM Install Issues

It seems there's an issue with the Post Install step in the VIPM package.  End up with an error 1003 during the install, for the inability to Run the "PostInstall.vi".  During the actual install process it seems to be looking for a VI named "Install LVClassLibrary Tools.vi"
Not sure if there's a dependency issue, or something else going on.

@jyoung8711 Let me take a look!

Seeing the issue in my 2021 VM, learnin me some lessons about VIPM packaging, have a fix for you posted here in a jiffy

@jyoung8711 For now you can download the .vip from the <IP_ADDRESS> release at https://github.com/illuminated-g/lv-ide-snippets/releases/tag/<IP_ADDRESS>
Update has been submitted to vipm.io

It's now available directly from VIPM as well.

Thanks! Looking forward to trying it out.
On Sat, Jan 8, 2022 at 5:18 PM Derrick @.***> wrote:

It's now available directly from VIPM as well.
—
Reply to this email directly, view it on GitHub
https://github.com/illuminated-g/lv-ide-snippets/issues/2#issuecomment-1008177736,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABH523VXAS7FF7G5AWIZYDTUVDA5DANCNFSM5LIBACHQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>