@rule .... (m_out :: PointMass,) and @rule .... (q_out :: PointMass,) are identical but should both be defined

When defining rules around a node where a PointMass distribution comes in, we default to @rule .... (q_out :: PointMass,) even if the prior is conjugate. Therefore when defining a new node, even when we use message passing, as user will probably first define @rule .... (q_out :: PointMass,) and then get an error message saying that @rule .... (q_out :: PointMass,) is not defined, even though these rules are identical.

We might have had already opened an issue about that before. It is true that the implementation is suboptimal and requires both rule to be defined, even though they are indeed identical. The idea was that the rules where all arguments are of type PointMass could be pre-regenerated in the @node macro. But we decided not to approach it and perhaps instead rework the @rule macro and message update rules such that it is no longer needed. For now the workaround is to define both rules.


Make go-flutter window toolkit agnostic

For a project I want to use go-flutter as an embedder (think about all the juicy plugins), but I don't want to use glfw as window toolkit. Instead I want to use wayland directly, as the project will only use wayland and customize the surface roles (using wlr-layer-shell to be exact) which is not possible when using glfw.
This will need abstract away a lot of logic to make go-flutter modular. I'm currently relatively unsure on how this should be tackled, but I hope it is possible.

Some references to start work:
https://github.com/jwinarske/flutter_wayland
https://github.com/dkolbly/wl
https://github.com/dkolbly/wl-scanner

An example of an rendered abstraction layer can be found in: https://github.com/fyne-io/fyne/blob/2de50ef4d133ca5e1e8b22dc49e4033e4119ce88/internal/driver/glfw/window.go

I think I left some comments in the source mentioning possible abstraction of the window toolkit. I didn't do it because there was a lot of work already and adding abstraction would add a lot of complexity without there being a use-case.


Merge pull request #1 from sysgears/master

Merge pull request #32 from josephdburdick/master

Whoops, please disregard.

Sure :) No problems!


spdlog: propagate fmt

Motivation for this change
fmt is needed by the headers and CMake config script, so it must always be available at build time for dependent packages. To prevent fmt.dev from needlessly becoming part of the runtime closure, a dev output was added to spdlog.
cc @obadz @drewrisinger @Mic92
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110730 run on x86_64-darwin 1

4 packages marked as broken and skipped:

mtxclient
nheko
pdal
waybar

1 package failed to build and already failed to build on hydra master:

bear: log https://termbin.com/r2ur

8 packages failed to build and are new build failures:

python37Packages.qiskit: log was empty
python37Packages.qiskit-aer: log was empty
python37Packages.qiskit-aqua: log was empty
python37Packages.qiskit-ignis: log was empty
python38Packages.qiskit: log was empty
python38Packages.qiskit-aer: log was empty
python38Packages.qiskit-aqua: log was empty
python38Packages.qiskit-ignis: log was empty

6 packages built:

hal-hardware-analyzer
python37Packages.tiledb
python38Packages.tiledb
spdlog (spdlog_1)
spdlog_0
tiledb

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110730 run on x86_64-darwin 1

4 packages marked as broken and skipped:

mtxclient
nheko
pdal
waybar

1 package failed to build and already failed to build on hydra master:

bear: log https://termbin.com/r2ur

8 packages failed to build and are new build failures:

python37Packages.qiskit: log was empty
python37Packages.qiskit-aer: log was empty
python37Packages.qiskit-aqua: log was empty
python37Packages.qiskit-ignis: log was empty
python38Packages.qiskit: log was empty
python38Packages.qiskit-aer: log was empty
python38Packages.qiskit-aqua: log was empty
python38Packages.qiskit-ignis: log was empty

6 packages built:

hal-hardware-analyzer
python37Packages.tiledb
python38Packages.tiledb
spdlog (spdlog_1)
spdlog_0
tiledb

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110730 run on x86_64-linux 1

1 package failed to build and already failed to build on hydra master:

lizardfs: log https://termbin.com/omup

21 packages built:

bear
cloudcompare
gerbera
hal-hardware-analyzer
mtxclient
nheko
pdal
python37Packages.qiskit
python37Packages.qiskit-aer
python37Packages.qiskit-aqua
python37Packages.qiskit-ignis
python37Packages.tiledb
python38Packages.qiskit
python38Packages.qiskit-aer
python38Packages.qiskit-aqua
python38Packages.qiskit-ignis
python38Packages.tiledb
spdlog (spdlog_1)
spdlog_0
tiledb
waybar

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110730 run on x86_64-linux 1

1 package failed to build and already failed to build on hydra master:

lizardfs: log https://termbin.com/omup

21 packages built:

bear
cloudcompare
gerbera
hal-hardware-analyzer
mtxclient
nheko
pdal
python37Packages.qiskit
python37Packages.qiskit-aer
python37Packages.qiskit-aqua
python37Packages.qiskit-ignis
python37Packages.tiledb
python38Packages.qiskit
python38Packages.qiskit-aer
python38Packages.qiskit-aqua
python38Packages.qiskit-ignis
python38Packages.tiledb
spdlog (spdlog_1)
spdlog_0
tiledb
waybar


Remove incorrect comment from base64 functions

These functions have been changed to use user-supplied string buffers instead of allocating.  The comment is incorrect and confusing.
This fixes #7108.

[approve ci autest]

Cherry-picked to v9.2.x


Enable sending arbitrary RDF in GUI

For testing agreements, the quickest and most versatile GUI solution is allowing the user to post arbitrary RDF in TTL format via an additional, but normally hidden text field.

Implemented a while ago.


Mapping oddity

I've got something funny going on and can't see what it might be. I'm getting some deals like this:
$deals = Deal::where('dealstage', '=', 'closedwon')
    ->orderBy('amount', 'desc')
    ->take(10)
    ->get();

and I want to pick out just the dealname and amount properties into a new collection. This code works fine:
  $dealData = new Collection();
  foreach ($deals as $deal) {
    $dealData->add(
      (object) [
        'name' => $deal->dealname,
        'amount' => $deal->amount,
      ]
    );
  }

but this does not, producing a collection of nulls instead:
$dealData = $deals->map(function ($deal) {
    return $deal->only(['dealname', 'amount']);
});

//or the same thing using higher-order messages:

$dealData = $deals->map->only(['dealname', 'amount']);

The properties are clearly there, as otherwise the for loop code wouldn't work. The only thing I can think of is that the Deal objects are somehow incompatible with only(). Any idea why that might be?

Update to 0.1.1 and it should work. There was no only() method in the Model class.

Thank you very much, that works fine. It was my mistake in assuming that the Model you were using was a subclass/implementation of the Illuminate Model, rather than your own thing.


Support for a wider range of Operating Systems/versions/distributions.

We're looking to increase support for Operating Systems that the Molly Wallet runs on. Currently the only officially supported Operating Systems are listed below.
Windows

10

MacOS

Catalina

Linux

Ubuntu 18.04
Arch

The wallet may run perfectly on more systems than that, but currently untested. Below is a list of Operating Systems we're looking to support. If you have tested the wallet on any, please comment on the ticket and I'll update accordingly.

[ ] MacOS - Sierra
[ ] Debian 10 - Buster
[ ] Fedora
....

I have compiled a build on High Sierra

Compiled on Ubuntu 18.04, no issues with latest build

mollywallet.zip
Ubuntu 18.04 build

Ubuntu build 12.0
Molly+Update.zip
mollywallet.zip

Ubuntu build 12.0
Wallet+Update:
Molly+Update.zip
Wallet only:
mollywallet.zip
Installer:
install.zip

Beautiful. These have been published under releases. Thanks a bunch, @zaemliss .


8jobs

Fix a unit test broken by @amaltaro 's rounding in #5899

Beginning pylint and unit tests.
See https://cmssdt.cern.ch/jenkins/job/DMWM-PR-test/629/ for details

No pylint warnings for pull request 6276:

Unit test changes for pull request 6276:

WMCore_t.WMBS_t.JobSplitting_t.EventAwareLumiBased_t.EventAwareLumiBasedTest:testB_NoFileSplitNoHardLimit changed from failure to success
WMCore_t.WorkQueue_t.Policy_t.Start_t.Block_t.BlockTestCase:testWhiteBlackLists changed from failure to success

Please merge.
Sent from a mobile device. Please excuse my brevity or transcription errors.
On Sep 22, 2015, at 16:44, DMWM Autobot <notifications<EMAIL_ADDRESS>wrote:
Unit test changes for pull request 6276:

WMCore_t.WMBS_t.JobSplitting_t.EventAwareLumiBased_t.EventAwareLumiBasedTest:testB_NoFileSplitNoHardLimit changed from failure to success
WMCore_t.WorkQueue_t.Policy_t.Start_t.Block_t.BlockTestCase:testWhiteBlackLists changed from failure to success

—
Reply to this email directly or view it on GitHubhttps://github.com/dmwm/WMCore/pull/6276#issuecomment-142431236.

Thanks Eric!


feat(cla): contributor

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


Update: solution for [Day 1] in [Python] to run with python v3.

Update: solution for [Day 1] in [Python] lanuage to run with python v3.

@alexandersperling , you need to update your commit message as per contributing guidelines. please refer to it and update Pr accordingly.

@sagarchoudhary96 I updated the commit message accordingly. However from your contributing guideline it says to add a proper commit message and list examples, if you want exactly those commit messages that guideline should say this.

@alexandersperling , it's already in contributing guideline.

@alexandersperling as per your commit changes, you changed in print from i+j to j+j and similarly for other. those are not required to be changed. i, d, s are predefined in this hacker rank problem in stubbed code. please change them accordingly. and test out your solution on hackerrank here: https://www.hackerrank.com/challenges/30-data-types/problem


FFmpeg Failed to Download Error

Hello! since the ffmpeg.zeranoe.com has shutdown as of 18th September. And the latest version of FB360 Workstation V 3.3.3 i think still redirects to the ffmpeg.zeranoe.com
( Shoutout to my man Zeranoe for maintaining it for so long! )
Which FFmpeg build should i manually download?

Please see the pinned post in the support group: https://www.facebook.com/groups/audio360support/permalink/2929004330663756/


Installation deleted all icon names and resized icons

Windows build number: [run "ver" at a command prompt] Windows 10 v1909 os build 18363.815
PowerToys version: v0.12
PowerToy module for which you are reporting the bug (if applicable): General installation

Steps to reproduce
Standard install.
Expected behavior

Actual behavior
After install all icons names were deleted. Icons were resized larger. All File Explorer list of files have no text entries needed to restart pc several times. Finally attempted uninstall of Power Toys. After restart icon names/sizes normal. However, Power Toys was still installed. Cannot uninstall with control panel "programs and features". Advanced Uninstaller program does not even list Power Toys as an installed program
Screenshots

Hi @Lewiskauffman
what is "Advanced Uninstaller program"?
Have you tried the Windows 10 Settings -> Apps -> Apps & features?

Thanks for the reply.
Advanced Uninstaller is a third party uninstall program that also removes left over registry entries.
I will try your suggestion and let you know.

Uninstalling from Apps & Features did the trick. Thank you!


Update addon via ember init

Additionally, remove extraneous dependencies, such as all bower and most npm packages.

LGTM! Thanks @elwayman02! Just out of curiosity, should I be removing these extraneous dependencies from all of my addons?

LGTM! Thanks @elwayman02! Just out of curiosity, should I be removing these extraneous dependencies from all of my addons?

@jasonkriss it depends on what the addon is doing.  In this case, the addon doesn't actually do anything with Ember whatsoever; it merely runs an ember-cli blueprint. So you don't really need most of the other dependencies, which are for addons that will actually run within an Ember application (ie components, mixins, services, etc).

gotcha. makes sense. Thanks @elwayman02!


[Q] read correct service bitrate from sat

HI,
I was able to read a satellite multistream with windows. I'll switch to Linux as soon as I can, but in the meantime I'd like to read the bitrate of the service.
With this string (tsp -v -I dvb -a 1 -f<PHONE_NUMBER>0 --polarity vertical --pilots off --roll-off 0.2 --delivery-system DVB-S2 -m 16-APSK -s 41950 --fec- inner 2/3 --pls-mode GOLD --pls-code 262140 --isi 12 -P until --seconds 1 -P analyze --json -O drop) I get the report I need, but the bitrate value it is expressed in packets (I assume) and returns me about 6283
I multiplied the value by 188 (6283x188=1181204), but it doesn't coincide with what I find by analyzing the TS recorded with the command tsbitrate -v "C:\TSDuck\Record\test.ts" where the value is 1,435,137.25.
Is it otherwise possible to concatenate the two commands without having to record the TS and then analyze it?
Or how can I calculate the bitrate from the report that comes out of the tsp command?
I need to automate it.
Thank you very much and thank you

Displayed bitrate values should be in bits/second.
I believe 1 second is too small to yield usable values. In my experiments on a captured file (of DVB-T service though), bitrate value stabilized after 5s (1s: 5073073, 2s: 5506208, 5s: 5503173). For comparison, tsbitrate -v says 4,275,846.52, tsbitrate -v -a 5,503,172.61.
As for the value 6283, I would double-check whether that is indeed the bitrate of the service/ts, not of a single PID (e.g. the first encountered bitrate in the json).

hi,
I tried to increase the time to 2 minutes, but the bitrate is still very different from the one detected by tsreader or by analyzing the file with the tsbitrate command.
tsp -v -I dvb -a 1 -f<PHONE_NUMBER>0 --polarity vertical --pilots off --roll-off 0.35 --delivery-system DVB-S2 -m 16-APSK -s 41950 --fec-inner 2/3 --pls-mode GOLD --pls-code 262140 --isi 12  -P until --seconds 120 -P analyze -O drop
Here is the first part of the report of this command:
===============================================================================
|  TRANSPORT STREAM ANALYSIS REPORT                                           |
|=============================================================================|
|  Transport Stream Id: ....... 6369 (0x18E1)  |  Services: ............. 10  |
|  Bytes: ....................... 381,504,828  |  PID's: Total: ......... 35  |
|  TS packets: .................... 2,029,281  |         Clear: ......... 35  |
|     With invalid sync: .................. 0  |         Scrambled: ...... 0  |
|     With transport error: ............... 0  |         With PCR's: ..... 8  |
|     Suspect and ignored: ................ 0  |         Unreferenced: ... 0  |
|-----------------------------------------------------------------------------|
|  Transport stream bitrate, based on ....... 188 bytes/pkt    204 bytes/pkt  |
|  User-specified: ............................ 110,631 b/s      120,046 b/s  |
|  Estimated based on PCR's: ............... 24,882,384 b/s   27,000,034 b/s  |
|  Selected reference bitrate: ................ 110,631 b/s      120,046 b/s  |
|-----------------------------------------------------------------------------|
|  Broadcast time: .............................. 27587 sec (459 min 47 sec)  |
|  First TDT UTC time stamp: ........................... 2023/07/14 17:13:12  |
|  Last TDT UTC time stamp: ............................ 2023/07/14 17:15:13  |
|  First TOT local time stamp: ......................... 2023/07/14 19:13:11  |
|  Last TOT local time stamp: .......................... 2023/07/14 19:15:13  |
|  TOT country code: ................................................... ITA  |
|-----------------------------------------------------------------------------|
|  Srv Id  Service Name                              Access          Bitrate  |
|  0x0709  RETE 7 HD .................................... C        6,259 b/s  |
|  0x070B  CANALE ITALIA ................................ C        6,684 b/s  |
|  0x070C  (unknown) .................................... C          Unknown  |
|  0x070E  TELECITY ..................................... C        6,573 b/s  |
|  0x070F  TV d'A ....................................... C        6,682 b/s  |
|  0x0712  TELECOLORVDA ................................. C        6,282 b/s  |
|  0x0713  France 24 HD ................................. C       13,365 b/s  |
|  0x0714  RTS Un HD .................................... C       13,365 b/s  |
|  0x0715  TV5 MONDE EUROPE ............................. C       13,365 b/s  |
|  0x071F  CANALE ITALIA ................................ C        6,684 b/s  |
|                                                                             |
|  Note 1: C=Clear, S=Scrambled                                               |
|  Note 2: Unless specified otherwise, bitrates are based on 188 bytes/pkt    |
===============================================================================

where you can see the values of all the channels and also the screenshot of the sat channel viewing program where you can see the real bitrate

and 1,21Mbps is very different from "TELECOLORVDA ................................. C        6,282 b/s  "

It looks like services' bitrates are calculated using broadcast time of 459 min 47 sec, not 2min as I would expect. I'll leave explanation/further investigation on lelegard.
In the interim as a workaround, tsbitrate does accept standard input, so piping the commands could work: tsp -v -I dvb ... -P until --seconds 15 -P zap TELECOLORVDA | tsbitrate -v --all.
I would also try tsp -v -I dvb ... -P until --seconds 15 | tsanalyze --json to test whether separating the analysis from the capture helps.

Hi,
The bitrate based on PCR's is around 24 Mb/s and is probably correct.
The "user specified" bitrate is an external value. This can be an explicit --bitrate in the tsp command or some physical evaluation from the input plugin. Some input plugins have no idea about the bitrate, such as file and never report a bitrate. Some other plugins have a supposedly valid value of the bitrate. This is the case of the dvb  plugin which computes the bitrate from the modulation parameters. The "selected" bitrate is the value which is considered the most reliable one between the value from the PCR's and the value from the input plugin, if there is one. In the case of the dvb input plugin, its value is considered more reliable because there is only one possible bitrate for a set of modulation parameters.
However, in the case of DVB-S2 and a multistream carrier, the bitrate computation is wrong. I will fix this later, meaning that the input plugin should say "no idea" when requested to evaluate the input bitrate.

It looks like services' bitrates are calculated using broadcast time of 459 min 47 sec, not 2min as I would expect. I'll leave explanation/further investigation on lelegard.
In the interim as a workaround, tsbitrate does accept standard input, so piping the commands could work: tsp -v -I dvb ... -P until --seconds 15 -P zap TELECOLORVDA | tsbitrate -v --all. I would also try tsp -v -I dvb ... -P until --seconds 15 | tsanalyze --json to test whether separating the analysis from the capture helps.

Hi, sorry for the delay, I was out of office. I tried with command pipe and it works like a charm!!! I can read correct bitrate! Thankyou


RLMNotificationToken in swift bridging header

Hey,
I tried to implement Realm based on the Example "TableView". Unfortunately I get always the following error.

"Declaration of 'RLMNotificationToken' must be imported from module 'Realm.RLMRealm' before it is required"
I tried it with the pods "Realm" und with "RealmSwift" but I get for both version the same error.
Any idea??

Ok I had to set the property to private to avid xcode to bridge this property for Objective C

You saved me :)


Xgboost==0.90 Issue with docker

Details:
Operating System : Mac Os
Python Version : 3.8
Problem :
in My python Virtual Conda environment, pip install xgboost ==0.90 works fine and my model gives me everything correct without any dependency issue
when i tried to create docker image, In docker file i have given pip install xgboost ==0.90, but this specific version throws me error and not allowing me to create the docker image.
 => ERROR [8/8] RUN pip install xgboost ==0.90                             0.4s
 ------
 > [8/8] RUN pip install xgboost ==0.90:
 #12 0.358 ERROR: Invalid requirement: '==0.90'
 ------
 executor failed running [/bin/sh -c pip install xgboost ==0.90]: exit code: 1

When in docker file, if i remove the specific version '==0.90', docker installation is fine but the model does not run and throws the below error
File "/usr/local/lib/python3.8/site-packages/xgboost/core.py", line 203, in _check_call
    raise XGBoostError(py_str(_LIB.XGBGetLastError()))
xgboost.core.XGBoostError: [11:42:25] /workspace/src/learner.cc:1059: Check failed: header == serialisation_header_:
  If you are loading a serialized model (like pickle in Python, RDS in R) generated by
  older XGBoost, please export the model by calling `Booster.save_model` from that version
  first, then load it back in current version. See:

https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html

Please help me to solve this issue, and to install in docker file 'xgboost==0.90'
Thanks in Advance.

Can you remove that extra space before the ==?

pip install xgboost ==0.90
ERROR: Invalid requirement: '==0.90'

I tried running pip this way and it matches your error.  Simply removing the space should fix it.

Can you remove that extra space before the ==?

Hi, First Thanks for the Response, I removed extra space but the issue when building docker is the same,
  => ERROR [8/8] RUN pip install xgboost==0.90                                                                                1.1s

[8/8] RUN pip install xgboost==0.90:
#13 0.433 Collecting xgboost==0.90
#13 0.517   Downloading xgboost-0.90.tar.gz (676 kB)
#13 0.807      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 676.7/676.7 kB 2.4 MB/s eta 0:00:00
#13 0.905   Preparing metadata (setup.py): started
#13 0.987   Preparing metadata (setup.py): finished with status 'error'
#13 0.990   error: subprocess-exited-with-error
#13 0.990
#13 0.990   × python setup.py egg_info did not run successfully.
#13 0.990   │ exit code: 1
#13 0.990   ╰─> [21 lines of output]
#13 0.990       + pwd
#13 0.990       + oldpath=/tmp/pip-install-uyxzxu8s/xgboost_f213fe1c74094083a5d4695282eab66f
#13 0.990       + cd ./xgboost/
#13 0.990       + echo
#13 0.990       + grep -q darwin
#13 0.990       + LIB_XGBOOST=libxgboost.so
#13 0.990       + make clean
#13 0.990       ./xgboost/build-python.sh: 40: make: not found
#13 0.990       Traceback (most recent call last):
#13 0.990         File "", line 2, in
#13 0.990         File "", line 34, in
#13 0.990         File "/tmp/pip-install-uyxzxu8s/xgboost_f213fe1c74094083a5d4695282eab66f/setup.py", line 42, in
#13 0.990           LIB_PATH = libpath'find_lib_path'
#13 0.990         File "/tmp/pip-install-uyxzxu8s/xgboost_f213fe1c74094083a5d4695282eab66f/xgboost/libpath.py", line 45, in find_lib_path
#13 0.990           raise XGBoostLibraryNotFound(
#13 0.990       XGBoostLibraryNotFound: Cannot find XGBoost Library in the candidate path, did you install compilers and run build.sh in root path?
#13 0.990       List of candidates:
#13 0.990       /tmp/pip-install-uyxzxu8s/xgboost_f213fe1c74094083a5d4695282eab66f/xgboost/libxgboost.so
#13 0.990       /tmp/pip-install-uyxzxu8s/xgboost_f213fe1c74094083a5d4695282eab66f/xgboost/../../lib/libxgboost.so
#13 0.990       /tmp/pip-install-uyxzxu8s/xgboost_f213fe1c74094083a5d4695282eab66f/xgboost/./lib/libxgboost.so
#13 0.990       /usr/local/xgboost/libxgboost.so
#13 0.990       [end of output]
#13 0.990
#13 0.990   note: This error originates from a subprocess, and is likely not a problem with pip.
#13 0.991 error: metadata-generation-failed
#13 0.991
#13 0.991 × Encountered error while generating package metadata.
#13 0.991 ╰─> See above for output.
#13 0.991
#13 0.991 note: This is an issue with the package mentioned above, not pip.
#13 0.991 hint: See above for details.

   executor failed running [/bin/sh -c pip install xgboost==0.90]: exit code: 1

This is the only Issue for creating Docker File and installing this specific Version, the same version i'm using in Conda Environment which works fine.
I tried builded on the specific file location of my Project.
Kindly help me back, how to overcome this issue and Build Docker file on that specific 'Xgboost==0.90' version

It seems that the binary package wasn't yet available for 0.90. That's why pip is attempting to install from the source tarball xgboost-0.90.tar.gz.
If you have a special need for 0.90 version, please use Conda.


[Feature] Option to explain the result

Optional explanation on assertion result
Sometimes we write checks based not directly in the output but in some derived result.
E.g. consider the case of checking for the nr of output lines to be 1 as assert_equal "$(wc -l <<<"$output")" 1. If this fails, we'd want to show the full output on error to understand better the root-cause for the failure.
This could be done by e.g. having an extra option --error-explanation with the custom message to show on error. This is partially inspired by the result_listener feature in GTest matchers to explain the match result.
Hence instead of
  `assert_equal "$(wc -l <<<"$output")" 1' failed

-- values do not equal --
expected : 1
actual   : 3
--

we could do
  `assert_equal "$(wc -l <<<"$output")" 1 --error-explanation="there should be 1 line instead of\n$output"' failed

-- values do not equal --
expected : 1
actual   : 3
explanation : there should be 1 line instead of
foo
bar
quz
--

Is this a feature that could be of general interest?

I would really love to have such a thing.
May be just adding one optional positional last argument to all assert or refute like functions for giving any message that you want to add  to the report in case of failure.


Use explicit string literals for id/beacon in nearobject clauses

When the id or beacon value is not put between quotes and a pure string is provided as value (e.g., test_id), i.e., without digits, the produced GraphQL query is fine. However, as soon as UUIDs are provided, as is relevant for nearobject clauses, these UUIDs are interpreted as numbers, and it breaks after the first dash.
Example:
client.query.get("Endpoint", [ "path" ]) \
    .with_near_object({ "id": "e5dc4a4c-ef0f-3aed-89a3-a73435c6bbcf" }) \
    .do()

Before, this would translate into the following GraphQL query:
{
  Get {
    Endpoint(nearObject: {id: e5dc4a4c-ef0f-3aed-89a3-a73435c6bbcf}) {
      path
    }
  }
}

This query features a syntax error, due to the UUID not being recognized as a String literal. This patch ensures that the produced GraphQL query looks like this:
{
  Get {
    Endpoint(nearObject: {id: "e5dc4a4c-ef0f-3aed-89a3-a73435c6bbcf"}) {
      path
    }
  }
}

To avoid any confusion in the future about your contribution to Weaviate, we work with a Contributor License Agreement. If you agree, you can simply add a comment to this PR that you agree with the CLA so that we can merge.beep boop - the SeMI bot 👋🤖

Agreed with the CLA.


TOGA-GTK Porting Widgets: A few Questions

Hello!
I am working on getting the widgets that haven't been implemented on Gtk, yet have been implemented on the Cocoa backend.
Toga-gtk
https://github.com/pybee-attic/toga-gtk/tree/master/toga_gtk/widgets
Toga-Cocoa
https://github.com/pybee-attic/toga-cocoa/tree/master/toga_cocoa/widgets
**My question is, the script icon.py is found in both of the backends, yet the script image.py is not included in the toga-gtk backend.  Is there a reason for this? Are we using the icon as an image also?
If not, may I create this file and widget also? (maybe change the name if it is for all image uses)
OR
Are we using the "icons" as images also?**
-Thanks for teaching me & thank you for your time!
-Ryan Carl

@freakboy3742
Hello Sir,
I know you are busy and I don't want to bother you.  So please whenever you have a chance I could use some help...
I feel really dumb asking this question, but how do I go about testing the widgets that i have ported from Cocoa backend to the Gtk backend?
Thanks for helping!
-Ryan Carl

Testing is an area that we're working on at the moment; there's a Google Summer of Code project underway at the moment that should hopefully result in a formal API that we can use for testing purposes.
In the meantime, the best way to test is to try and run the tutorial applications. Those tutorial applications are essentially drawn from experimentation around adding new widgets. If you can run the tutorials, your backend works.
If you wanted to formalise that into a suite of 'test applications' that can be used for acceptance testing, that would also be helpful!

@freakboy3742  amazing!
That is so cool Google is supporting the project!
A very low priority question; is there any work being done on a Toga-Gtk designer?
A Toga-Gtk Designer is a project I would LOVE to get into...
Thank you so much,
-Ryan Carl


Throwing exceptions from destructors

duplicate of https://github.com/lefticus/cpp_weekly/issues/25 ?

Closing as duplicate. thanks @geoffthemedio


BUG:  Responsiveness of the Service Section of Home Page on mobile screen is not aligned properly

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When we shift to smaller screen size the Service section card is not centrally aligned properly on the home page and there is a need to align the service cards centrally thereby maintaing consitent layout with testimonial section and hero slide for the  home page even on small screen sizes by properly adjusting media queries and css styling
Add ScreenShots

What browser are you seeing the problem on?
Firefox, Chrome
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSOC'23 contributor
[X] I want to work on this issue

Please assign me this issue , I can solve this by properly configuring the css styling and media queries

I have created a pull request please review it.
Thank You


Cannot cancel reading from incoming connection and retry later

In my application I'm doing something like this:

Try to receive data
Under certain conditions cancel() the task
Try to receive data again

This yields the following assertion error:
  File "/Users/saghul/.virtualenvs/cpython342/lib/python3.4/site-packages/aiohttp/web_ws.py", line 206, in receive
    msg = yield from self._reader.read()
  File "/Users/saghul/.virtualenvs/cpython342/lib/python3.4/site-packages/aiohttp/streams.py", line 501, in read
    result = yield from super().read()
  File "/Users/saghul/.virtualenvs/cpython342/lib/python3.4/site-packages/aiohttp/streams.py", line 362, in read
    assert not self._waiter

The problem looks quite obvious, in DataQueue.read the waiter is not reset until feed_data is called: https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/streams.py#L364 and https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/streams.py#L343
The solution, however, is not so obvious, here is a possible solution, let me know if you like the approach and I'll submit a PR with it:
diff --git a/aiohttp/streams.py b/aiohttp/streams.py
index ce0cce4..3879ee6 100644
--- a/aiohttp/streams.py
+++ b/aiohttp/streams.py
@@ -361,7 +361,11 @@ class DataQueue:

             assert not self._waiter
             self._waiter = asyncio.Future(loop=self._loop)
-            yield from self._waiter
+            try:
+                yield from self._waiter
+            except (asyncio.CancelledError, asyncio.TimeoutError):
+                self._waiter = None
+                raise

         if self._buffer:
             data, size = self._buffer.popleft()

For now I'm setting ws._reader._waiter to None after cancelling the task , which is quite ugly... :-S

For my understanding, could you describe an use case of this need? What's the interest?
Is it for a WebSockets context?

Here is my usecase in more detail, thanks for your interest @GMLudo!
My application is this one: https://github.com/saghul/CallRoulette
In a nutshell, if a user connects, it waits until a new user connects and when we have 2, we start processing messages between the 2.
Now, it's possible that while I wait for the second user to connect, the first one disconnects. In order to know about this, the only way is to use the receive() coroutine, AFAIK, together with my other coroutine, which waits for the second connection.
Once the 2nd connection comes, I want to cancel the receive() I started and start the processing.
In a nutshell, this looks like it was planned, there is even a related test about it, but it doesn't test the actual retrying. This also happens if you want to receive data with a timeout, AFAIS.

Similar issue happens when user requests some URL that served by aiohttp with browser and hits Stop button / Esc in order to cancel page load (he tired to wait for the response, he change his mind etc.) - browser successfully terminates connection, but such assertion error occurs in logs.
Things goes wild when you have users with unstable connection (mobile ones) - your logs are full of such assertions.

@saghul change looks good, but it hard to tell if it safe. Usually we treat cancelation as disconnection. We should just cearfuly test this change. I can test it on one of my production instances.


No scroll on mobile devices when responsive is set to true (partial solution)

Software version:

Browser [chrome, firefox]
Vue Version: 2.5.17
vue-grid-layout Version: 2.3.4

Describe the bug
No scroll on mobile devices when responsive is set to true
What i do to solve the problem
.vue-grid-item.no-touch {
touch-action: auto;
}
this works when draggable and resizable are set to false

For me it´s not working on my Android-Samsumg-Smartphone. #280
Any ideas?

it works for me, you can see an example if you want https://console.dataproviders.io/#/report/GELe3Mb698, so i don't know what could be the problem


How to return a value from a callback

Hi Guys ;)
Pretty new to Golang and now I have a question about colly or maybe the language itself.
I have written this function
func scrapeQuickfact() quote {
	c := colly.NewCollector(
		colly.AllowedDomains("******"),
		colly.Async(false),
	)

	var links []string
	c.OnHTML(".article .content .data .article-title a[href]", func(e *colly.HTMLElement) {
		link := e.Attr("href")
		links = append(links, link)
	})

	c.OnScraped(func(r *colly.Response){
		// some scraping and parsing
		var toReturn = quote{
			title: singleResult.title,
			description: singleResult.description,
		}
		return toReturn  // Thats not possible!!!!
	})

	c.Visit("********")
        // here I would like to return the quote which gets returned by the on scraped Callback
}

As you can see the function scrapeQufickfact should return a struct called quote.
This return is missing currently because I have no Idea how to get the quote out of the on scraped Callback.
Can somebody help me to return this struct?
Thank you very much ;)

Declare the struct outside of the OnScraped function, so you can access it after visiting the site. E.g.
	toReturn := quote{}
	c.OnScraped(func(r *colly.Response){
		// some scraping and parsing
		toReturn.title = singleResult.title
		toReturn.description = singleResult.description
	})
	c.Visit("********")
	fmt.Println(toReturn)


DATAJDBC-258 - Enable Integration tests for MS-SQL-Server.

Pull request for issue DATAJDBC-258.

@THD-Thomas-Lang Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@THD-Thomas-Lang Thank you for signing the Contributor License Agreement!

That's squashed, polished and merged into master.
Thank you very much @THD-Thomas-Lang.


md-select documentation for emitted events

The documentation for select states that there is one emited event upon change that is named selected where in the code there are 2 other events :
changeValue(value) {
   this.$emit('input', value);
   this.$emit('change', value);
}

Hi @nicolas-bonnel
The input and change events are used only to update the v-model. But the selected event should be in the md-option, so will change this inside the documentation. Sorry about that.
Thanks!


Skip lighthouse dom-size audit

Pull Request
🤨 Rationale

👩💻 Implementation

🧪 Testing

✅ Checklist

[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.

Doesn't seem to impact the perf score, so while less noisy, doesn't help with false positives on perf issues


IAM Query side

Implement new query side for user iam
Acceptance criteria

[ ] All iam policies read directly instead of IAM with sub dependencies
[ ] IAM Gloabl Org ID

Estimated: <0.5d


move appengine v1 sample here

@jabubake FYI
@frankyn FYI

I'm going to merge as it was just the logging samples that failed.
[INFO] Building logging-google-cloud-samples-api 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ logging-google-cloud-samples-api ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ logging-google-cloud-samples-api ---
[INFO] argLine set to -javaagent:/home/circleci/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/circleci/project/logging/cloud-client/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ logging-google-cloud-samples-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/circleci/project/logging/cloud-client/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ logging-google-cloud-samples-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/circleci/project/logging/cloud-client/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ logging-google-cloud-samples-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/circleci/project/logging/cloud-client/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ logging-google-cloud-samples-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/circleci/project/logging/cloud-client/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ logging-google-cloud-samples-api ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ logging-google-cloud-samples-api ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ logging-google-cloud-samples-api ---
[INFO] Building jar: /home/circleci/project/logging/cloud-client/target/logging-google-cloud-samples-api-1.0.0.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ logging-google-cloud-samples-api ---
[INFO] Failsafe report directory: /home/circleci/project/logging/cloud-client/target/failsafe-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.example.logging.LoggingIT
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 13.92 s <<< FAILURE! - in com.example.logging.LoggingIT
[ERROR] testWriteAndListLogs(com.example.logging.LoggingIT)  Time elapsed: 10.009 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 10000 milliseconds
	at com.example.logging.LoggingIT.deleteLog(LoggingIT.java:47)
	at com.example.logging.LoggingIT.testWriteAndListLogs(LoggingIT.java:90)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   LoggingIT.testWriteAndListLogs:90->deleteLog:47 » TestTimedOut test timed out ...
[INFO]
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0


Feature hollow object

Proposed change(s)
Firstly, added a new game object with functionality (foundational). SpawnerHollowBox lets the user spawn a reward on top of a hollow object, in this case a box with an opening. The box behaves as a regular game object adhering to common constraints and functionality, such as setting random spawning and colors.
Secondly, a simpler, none functional HollowBox is added per Lucy's request. This object does not spawn rewards.
Functionality:

Spawns any reward, such as GoodGoal or DecayGoal.
Setting a reward to spawn on top of the hollow object as a coherent property (you dont have to specify a new !Item in the yaml) - all in one contained.
Optional - adding a delay to spawning the reward (left false by default).

Currently, the object can only spawn one reward at a time or episode.
Finally, a new UI element is introduced - AAI Build Version Reference UI.
This is a simple new UI element that is manually replaced every time a new build is released, for the convenience of the user (quick reference on the build they are using).
Useful links (Github issues, ML-Agents forum threads etc.)
Types of change(s)

[ ] Bug fix
[x] New feature
[ ] Code refactor
[ ] Breaking change
[ ] Documentation update
[ ] Other (please describe)

Checklist

[x] Added tests that prove my fix is effective or that my feature works
[x] Updated the changelog (if applicable)
[x] Updated the documentation (if applicable)
[ ] Updated the migration guide (if applicable)

Other comments
Example YAML file:
!ArenaConfig
# Testing the Hollow-Obj with foundational parameters.
randomizeArenas: false
showNotification: false
canResetEpisode: true
canChangePerspective: true
arenas:
  0: !Arena
    passMark: 0
    timeLimit: 250
    items:
    - !Item
      name: Agent
      positions:
      - !Vector3 {x: 20, y: 0, z: 20}
      rotations: [0]
    - !Item
      name: SpawnerHollowBox
      positions:
      - !Vector3 {x: 20, y: 0, z: 25}
      colors: # can be randomized by removing this field
      - !RGB {r: 80, g: 0, b: 60}
      rotations: [0]
      rewardToSpawn: ["DecoyGoal"] # Can be any rewards
      rewardSpawnPosition: !Vector3 {x: 20, y: 5, z: 25} # Spawns the reward 5 units above the Hollow-Obj
      delayRewardSpawn: [false] # Spawns the reward immediately if set false, otherwise, spawns after delayTime
      delayTime: [10] # Spawns the reward after 10 seconds

Screenshots (if any)

I came away from the discussion on Tuesday feeling that SpawnerHollowBox didn't have the versatility users would need from hollow boxes (e.g. what if I want to do a test where one of the boxes is empty, or contains a bad reward or a pushable block?). Do we definitely want to include it?
Each feature we include is more maintenance overhead for us in the future, and more chance users get confused between different features (as a new user, how should I make the choice between SpawnerHollowBox and HollowBox? What happens if I write a bunch of tests with SpawnerHollowBox, then I realise I want an empty box and so now I've got to change to using HollowBox but I've still got a load using SpawnerHollowBox hanging around etc). I think I would advocate for adding HollowBox now and keeping the code for SpawnerHollowBox somewhere safe for if when we can make a case that automating this bit will be a really big benefit for users.

Yes I thought about that too but I just wanted to get Kozzy in to this as well so I pushed to keep two functional game objects.
The difference in the two objects is clear in my mind and properly documented to allow the users to choose which suits them better.
I didn’t understand your arguments regarding testing. Could you elaborate?
On 25 Apr 2024 at 12:22 +0100, benaslater @.***>, wrote:

I came away from the discussion on Tuesday feeling that SpawnerHollowBox didn't have the versatility users would need from hollow boxes (e.g. what if I want to do a test where one of the boxes is empty, or contains a bad reward or a pushable block?). Do we definitely want to include it?
Each feature we include is more maintenance overhead for us in the future, and more chance users get confused between different features (as a new user, how should I make the choice between SpawnerHollowBox and HollowBox? What happens if I write a bunch of tests with SpawnerHollowBox, then I realise I want an empty box and so now I've got to change to using HollowBox but I've still got a load using SpawnerHollowBox hanging around etc). I think I would advocate for adding HollowBox now and keeping the code for SpawnerHollowBox somewhere safe for if when we can make a case that automating this bit will be a really big benefit for users.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

PR nit: I would put AAI Build Version Reference UI in a separate PR
PR nit: I would include links to the documentation update in this PR (I think I missed this in my last PR)
PR nit: As we don't have automated testing I would include explicit explanation of the testing you've done for this in the PR description (e.g. for this PR, I can see a new test config with SpawnerHollowBox, so I can infer you have tested that, and I would guess you've also tried HollowBox but that isn't clear from the PR description. What about edge cases, tests confirm user errors give the correct response etc?)

Yes I agree links to docs updated would be useful. I also forgot to add the new test config reference on here (will be added later today!)
I don't think a separate pr for the new UI is needed as it's a simple addition (there's no code) and is explained in this PR sufficiently. It's not relevant to any other aspect of AAI (I.e teaming agents). Any suggestions and comments on the UI is suitable here.
As I've mentioned before, I have test configs that I setup for each and every new object I add or modify - these are named and placed in the test configs folder in unity accordingly. Yes thank you for bringing small details on to the table, say, what's been tested and how- these additions will help to include them.
We will discuss these aspects tomorrow in detail!

I didn’t understand your arguments regarding testing. Could you elaborate?

Assuming it's this bit:

What happens if I write a bunch of tests with SpawnerHollowBox, then I realise I want an empty box and so now I've got to change to using HollowBox but I've still got a load using SpawnerHollowBox hanging around etc

tl:dr I'm suggesting that in this case I don't think more features is necessarily better for users (sorry for the essay):
Say I'm a researcher, and I want to do some experiments where you interact with a box somehow and a reward falls out, I might find SpawnerHollowBox and (without doing much forward planning) choose to write my experiments using it.
A big benefit of a box is that it can obscure the things inside it, so maybe after my initial experiments have gone well I'd like to change it so that sometimes the box has a good goal in it, and sometimes it has a bad goal (or nothing). Now I come back to the documentation for SpawnerHollowBox and I realise that it doesn't have that feature. Luckily we also have HollowBox, so now update my generation scripts to generate that instead of the spawner ones. Then probably for consistency / laziness since I don't want to keep switching between box types I always use HollowBox from then on. Now I've got this debt of the old configs on SpawnerHollowBox which I'll either have to update of live with some issues:

Every time I make an update to some configs I have to check which kind of box I'm using
I'm not sure if there are any differences between the spawning hollow box and regular hollow box, I don't have the time/expertise to check so I just cross my fingers that they're functionally identical once the reward has landed in the box (especially if I've already got results from experiments using the first box type)

My feeling from this story is that I would've been better off using HollowBox from the start, especially given it's not much more complicated to just put a reward above the box in the config myself to replicate the spawner

Thank you for the explanation from a researchers point of view - exactly what I need. I will learn to think like that in addition to all other perspectives.
Since yourself and Lucy have highlighted that a simple addition is a much better use case, I will make the necessary changes to this PR today.
You can discard the pr for now until I let you know it's ready


WINDOWS如何安装

How to install and use? Where is the installation method?

Hi, to sideload the add-in for office using Windows you can follow this guide:
https://learn.microsoft.com/en-us/office/dev/add-ins/testing/create-a-network-shared-folder-catalog-for-task-pane-and-content-add-ins

Phakira


cannot open untitled:app.conf. Detail: file already exists

Hi
Steps to reproduce.

Import .conf file
Select an app to view
Focus the newly open app.conf window
Ctrl + s to save
Under the config explorer pane, select another app.

ERROR: unhandledRejection Error: cannot open untitled:app.conf. Detail: file already exists
    at file:///C:/Users/auser/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2290:64031

Doing the default save creates a c:\app.conf which needs to be deleted before you can view any more apps.
Cheers,
Simon

Hi @raZorTT.  Thanks for bringing this to our attention.  Interesting workflow.
These configs, at this point, typically don't need to be saved, but converted to as3, then potentially saved.  Either way, we recommend saving the configs to unique files/destinations.
we just implemented a virtual file system with the vscode-nim extension for managing config files.  This is a much better system of holding files and providing typical document life cycle for CRUD operations like this.   So, this should get better in the future.

Hi @DumpySquare
Totally agree, I hadn't managed to get ACC installed at the time and was looking to break the config file into grouped apps. and just saved assuming it would bring up the save dialog.
As you say the configs would normally be saved off to a unique destination :)

cool.  ACC-chariot is now on the marketplace, so you can easily access it.  do you want to keep this open or are we good with knowing there are plans to make this better in the future?
https://marketplace.visualstudio.com/items?itemName=F5DevCentral.vscode-f5-chariot

Happy to close :)


JsonProperty on getter/setter is ignored

I would like to use JsonProperty on getter or setter.
My use case
@Getter
@Setter
public class Product {
    private String name;
}

@Getter
@Setter
public class PricedProduct {
    @JsonIgnore
    private Product info;
    private Double price;

    public void setName(String name) {
        info.setName(name);
    }

    @JsonProperty
    public String getName() {
        return info.getName();
    }
}

But with this configuration, name property is never marshalled or unmarshalled even when AUTO_DETECT_GETTERS and AUTO_DETECT_SETTERS are enabled on jongo mapper.
Is there a way to do that ?

I solved my problem using this configuration found in Jongo test suite:
Mapper mapper = new JacksonMapper.Builder()
            ...
            .setVisibilityChecker(new VisibilityChecker.Std(
                JsonAutoDetect.Visibility.PUBLIC_ONLY).withFieldVisibility(JsonAutoDetect.Visibility.NONE))
            .build();
        return new Jongo(db, mapper);

Hope this issue and answer will be of any help because I had to read jongo tests to find this answer and that I do not have extensive knowledge of Jackson.


Persistent topic put request doesn't return 409 error if topic exists

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

Post a put request to 'persistent/{tenant}/{namespace}/{topic}' with a request for topic
Should return an OK response
Post the same request again.
An OK response is returned.

Expected behavior
Should return 409 as per docs.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

@nitinmuteja did you run pulsar-admin to check if the issue exists in the pulsar-admin tool? I am wondering if you have sent the right command to pulsar admin RESTful service.

@sijie I did not check it with the pulsar admin. I sent the following request to the REST api
curl -X PUT -H "Content-Type: text/plain" -d ${partitions} "http://${brokerip}:${brokerport}/admin/v2/persistent/${tenant}/${namespace}/${topic}/partitions"

Closed as stale. Please open a new issue if it's still relevant to maintained versions.


[New parameter] Legal Disclaimer to Widget

It would be great if there was a parameter for a chatbot disclaimer like this example:

Hi, thanks for the suggestion. You can always submit a PR, or simply start your conversation with a disclaimer message

Thanks @znat


Fix typo in management_ip_configuration

Describe your changes
Fix management_ip_coniguration to management_ip_configuration so that zones, ip_version, and sku_tier are correctly processed.
Issue number
#78
Checklist before requesting a review

[x] The pr title can be used to describe what this pr did in CHANGELOG.md file
[ ] I have executed pre-commit on my machine
[ ] I have passed pr-check on my machine

Thanks for your cooperation!

I realize the prepr-check fails, but I didn't touch those lines of code. If required, I can try to see if I can change the use of the lookup to be compliant with the check.

Thanks for the PR!

@matt-FFFFFF When will a new version with this fix be released?

Did verify .terraform\modules\hubnetworking\locals.tf and the typo still exist:
fw_management_ip_configuration_pip = {
for k, v in var.hub_virtual_networks : k => {
location            = local.virtual_networks_modules[k].vnet_location
name                = try(v.firewall.management_ip_configuration.public_ip_config.name, "pip-afw-mgmt-${k}")
resource_group_name = v.resource_group_name
ip_version          = try(v.firewall.management_ip_coniguration.public_ip_config.ip_version, "IPv4")
sku_tier            = try(v.firewall.management_ip_coniguration.public_ip_config.sku_tier, "Regional")
zones               = try(v.firewall.management_ip_coniguration.public_ip_config.zones, null)
} if try(v.firewall.sku_tier, "FirewallNull") == "Basic" && v.firewall != null
}
Would be great if somebody could fix this typo so I can deploy an Basic FW.


Add dpss for get_window function

In the documentation of scipy.signal.get_window  there has dpss window, but not implemented in the code of get_window function. This change may add dpss window into get_window.

Reference issue

No reference issue.
What does this implement/fix?

This change may add dpss window into get_window.
Additional information

Thank you. I'll do it later.

Looks like the test is failing:
C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\site-packages\scipy\signal\tests\test_windows.py:621: in test_dpss
    win1 = windows.get_window(('dpss', 3), 64)
        self       = <scipy.signal.tests.test_windows.TestGetWindow object at 0x000001DC3A1E6B48>
C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\site-packages\scipy\signal\windows\windows.py:2154: in get_window
    return winfunc(*params)
        Nx         = 64
        args       = (3,)
        fftbins    = True
        params     = (64, 3, False)
        sym        = False
        window     = ('dpss', 3)
        winfunc    = <function dpss at 0x000001DC1F416C18>
        winstr     = 'dpss'
C:\hostedtoolcache\windows\Python\3.7.9\x64\lib\site-packages\scipy\signal\windows\windows.py:1916: in dpss
    raise ValueError('Kmax must be greater than 0 and less than M')
E   ValueError: Kmax must be greater than 0 and less than M

Thank you. I spent some time building the test environment on Windows. It seems the problem has been fixed now.
I have another concern but it may affect the API. In the documentation of scipy.signal.get_window, it says "dpss (needs normalized half-bandwidth)". However, the API of scipy.signal.windows.dpss has more parameters (scipy.signal.windows.dpss(M, NW, Kmax=None, sym=True, norm=None, return_ratios=False)), in which NW is the normalized half-bandwidth, and many parameters are not used, like Kmax, norm, and return_ratios. Should I add these parameters to get_window and its documentation?

Oh, I found it. If we specify Kmax and return_ratios, the return value is no longer just a window. So we can safely ignore them in the get_window API. About norm, it is the method of normalization. I'm not sure if I should put norm into the API, but using the default value is sufficient for most of the work.

Thank you. I have reverted the commit.

Thanks @qrqiuren !