Don't create an non-existent blend shape.

If a plug does not exist at the given Index, Maya will create a plug at that index. Do not do this.
Is there a reason why this uses logical indexes?
@Ziriax

Forgot to state the problem:
A few blank blend shape will be created during time of export and actual blend shape will get replaced by them.
A few blank blend shapes are create during the time of the export and then the real blend shapes are replaced by these blank ones.

const auto numWeights = m_weightArrayPlug.evaluateNumElements(&status);
In my sample, numWeights is two more than the expected shapes. So the code will iterate and throw for the last two plugs.
The elementByPhysicalIndex will return an error status and then the code skips the plug.
Will you have a successor? What happens to this repository? Will WonderMedia allow there to be an Github organization that has the assets of maya2glTF transferred to it?
I was hoping to have someone review the code for gltf2 importing, updating collada2gltf and making binary releases.

Can we connect off github?

@Ziriax I wasn't able to get my plan for further contributions to be approved. However, feel free to take this branch and improve the code.
We're switching to using Godot Engine's custom developed FBX importer.

@fire Thanks for letting me know, and good luck!


beszel: 0.6.2 -> 0.9.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4986

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360715

x86_64-linux

:white_check_mark: 1 package built:

beszel

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360715

x86_64-darwin

:white_check_mark: 1 package built:

beszel

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 360715

aarch64-darwin

:white_check_mark: 1 package built:

beszel


Requires the Microsoft ODBC Driver 11 - not supported by Win Srv 2012 R2

Last week I started installation php with mssql support on Win Server 2012 R2.
All versions of Microsoft Driver for PHP for SQL Server need Microsoft ODBC Driver 11 for SQL Server, but this one can't install on WinServ2012, only Microsoft ODBC Driver 13.
https://msdn.microsoft.com/en-us/library/cc296170.aspx
Here we can read:
Versions 3.2 and 3.1 require Microsoft ODBC Driver 11 (or higher) for SQL Server.
Its not true, allways is this error
SQLSTATE: IMSSP
code: -49
message: This extension requires the Microsoft ODBC Driver 11 for SQL Server.
Can You chceck this problem, and recompile all php-mssql drivers (3.xx and 4.xx) for correct works with Microsoft ODBC Driver 13?

@seepu Our latest release works with Microsoft ODBC Driver 13. What error do you get when you use the ODBC Driver 11 on Win Server 2012?

Hello,
My last attempt was with the version 4.0.4, tommorow I will try new 4.0.5
I could not install Odbc 11 on Win2012svr R2, and then sqlsrv didn’t work on my server.
From: Meet Bhagdev
Sent: Tuesday, June 14, 2016 7:20 PM
To: Azure/msphpsql
Cc: seepu ; Mention
Subject: Re: [Azure/msphpsql] Requires the Microsoft ODBC Driver 11 - not supported by Win Srv 2012 R2 (#96)
@seepu Our latest release works with Microsoft ODBC Driver 13. What error do you get when you use the ODBC Driver 11 on Win Server 2012?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

hello again
now it works, today i checked only simple queries
From: Meet Bhagdev
Sent: Tuesday, June 14, 2016 7:20 PM
To: Azure/msphpsql
Cc: seepu ; Mention
Subject: Re: [Azure/msphpsql] Requires the Microsoft ODBC Driver 11 - not supported by Win Srv 2012 R2 (#96)
@seepu Our latest release works with Microsoft ODBC Driver 13. What error do you get when you use the ODBC Driver 11 on Win Server 2012?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Is any chance to recompile driver 3.2 for work with ODBC Driver 13?

@seepu We do not have plans for this as of now. We are focusing heavily on Linux. Any reason why you can not update to 4.0.x version for this driver?

Any reason why you can not update to 4.0.x version for this driver?

I might be able to answer this. Lack of extensions such as couchbase, memcache, XHPROF and others + the fact that less people run PHP on windows means more bugs (more headaches and cost) for early adopters.

I have a lot of old modules, which need php 5.xx.
Can I recompile it myself? Whether it requires a lot of changes in code?
From: Davvid
Sent: Thursday, June 16, 2016 10:54 PM
To: Azure/msphpsql
Cc: seepu ; Mention
Subject: Re: [Azure/msphpsql] Requires the Microsoft ODBC Driver 11 - not supported by Win Srv 2012 R2 (#96)
Any reason why you can not update to 4.0.x version for this driver?
I might be able to answer this. Lack of extensions such as couchbase, memcache, XHPROF and others + the fact that less people run PHP on windows means more bugs (more headaches and cost) for early adopters.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@seepu what odbc issue are you running into? I've successfully run php5.4 and php7 with their respective PDO sql drivers on server 2012 r2.  The only problem we had updating to php7 was a security policy that prevented certain installation locations from being used.  Php 5.4-5.6 have pdo drivers still available for download as well, even though php5.4 is no longer considered secure.

in recent months I changed the program code so that it works on php7. Now I test everything on a Windows 2016 Server
From: Kyle
Sent: Tuesday, December 13, 2016 3:17 AM
To: Microsoft/msphpsql
Cc: seepu ; Mention
Subject: Re: [Microsoft/msphpsql] Requires the Microsoft ODBC Driver 11 - not supported by Win Srv 2012 R2 (#96)
@seepu what odbc issue are you running into? I've successfully run php5.4 and php7 with their respective PDO sql drivers on server 2012 r2. The only problem we had updating to php7 was a security policy that prevented certain installation locations from being used. Php 5.4-5.6 have pdo drivers still available for download as well, even though php5.4 is no longer considered secure.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Data Module Cleanup

Code styling for data module
Ability to create and init LDF with dataset_name only
Remove unnecessary requirements
Remove deprecated files

Also added export to JSON method

Support for JSON loader has also been added


Add pre-commit test to CI

I must have disabled my pre-commit on the repo at some point and this was not caught by CI (because it was not set up).

FYI I don't have write access in this repo so I can't merge PRs

FYI I don't have write access in this repo so I can't merge PRs

@fregante re-added you as maintainer


[DOC] FS Trim for RWX is supported, but docs are out of date.

What's the document you plan to update? Why? Please describe
https://longhorn.io/docs/1.5.1/volumes-and-nodes/trim-filesystem/#rwx-volumes

The section states that trimming RWX volumes via the UI is not supported, and documents a workaround that involves exec'ing into the share-manager pod to execute commands.  It also references https://github.com/longhorn/longhorn/issues/5143, which was actually implemented and closed before 1.5.0 was released.
Additional context

This came up in Slack thread https://suse.slack.com/archives/C02BW9KEJHG/p1695131173272519
I will update this ticket with a Longhorn issue number when it is filed.

@chriscchien noticed you mentioned you verified this and mentioned RWX volume was able to trim via UI? Can u help confirm this?
https://github.com/longhorn/longhorn/issues/5143#issuecomment-1535796677

Oh it is supported but the doc is outdated. Thanks @james-munson .
@longhorn/qa generally when we verify any new features, should check if doc is updated as well. Sometimes, the doc was missing from the issues, but please still check if doc is required, since you are the gatekeeper before closing issues. Thanks.
@khushboo-rancher please see how to improve this in the future.


Stop replacing single_header & single_query_argument with an int

what

Some parts of statements get replaced by the number 1, resulting in an error when trying to access its name attribute

why

single_header and single_query_argument are unusable without a name attribute

references

closes #2

/test all


Decide on how to structure the historical imagery storage

User Story
In order to store historic imagery nicely as a LDA I want to have a discussion to decide on how to structure the historical imagery storage on AWS S3.
Acceptance Criteria

[ ] had a discussion / book in time
[ ] decided on the structure of how we store historical imagery.
[ ] documented result on confluence
[ ] made issues to alter code to use the new structure

Notes
Talk to Shannon and datalake people (e.g. Victor and Jack), total = 6 people
what are the grouping levels / how many grouping levels, etc

This is the doc on this topic: https://confluence.linz.govt.nz/display/TOP/Historical+imagery+storage+structure


Need an API for detecting WiFi NVS configuration existence/validness (IDFGH-2934)

Is your feature request related to a problem? Please describe.
Yes, it's related to a problem. See here for more details: https://www.esp32.com/viewtopic.php?f=13&t=14720
Describe the solution you'd like
I would like to know is there an API for detecting the validness or existence of WiFi configuration stored in NVS. I might have misread the documentation, please point it out if I am wrong. But if there is no such API, I would like to suggest we should add one for that.
For example, the API can be something like:
bool esp_wifi_has_config(wifi_interface_t interface);

It returns true if a valid configuration is set in NVS for the related WiFi interface, or false if it is not valid or doesn't exist.
Or alternatively, esp_wifi_get_config() should return ESP_ERR_NVS_NOT_FOUND instead of ESP_OK if the configuration is invalid.
Describe alternatives you've considered
My current workaround is either detecting the return config struct from esp_wifi_get_config() (as I've mentioned in the forum thread), or alternatively add a flag in a separated NVS namespace to achieve that. But the first option may have flaws (mentioned in the forum thread) and the second option causes storage overheads in NVS.
Additional context
N/A

@huming2207 Thanks for your detailed explanation on the feature request, we will look into and evaluate.

@Alvin1Zhang Yep thanks. This could be very helpful in my opinion. It won't be too hard to implement, just a magic NVS value/flag is fine.

Hi @huming2207, the current implementation of WiFi NVS is: always initialize WiFi NVS to a valid and default value if the customer doesn't configure the WiFi NVS.
From WiFi internal perspective, it's not as easy as you thought for us to support the API esp_wifi_get_config(). Anyway, we are now considering to implement it, we hope we can support it on late April or early May. Hope it's OK for you.

@liuzfesp Ah ok thanks for pointing that out. I thought the NVS is just for WiFi configurations.
But yea I'm really looking forward to seeing a standalone API for detecting the validness. This would save a bit of storage overhead and code size. Also, it would help to make the code looks a bit neater.

Hi @huming2207,
We are sorry to say that we have fully discussed this issue internally, and WiFi will not add a similar API. Because this API will introduce some OTA issue, it will bring many challenges to the subsequent maintenance of WiFi.

@esp-HarveyRong Okay but I'm not quite understood why adding such a detection API will cause OTA issue... But anyway I will do it externally instead. Thanks.


Standalone compilation of project using tsfresh fails due to inclusion of Numba

Hei,
I'm trying to compile a project containing tsfresh/numba, but compilation fails (as detailed below). Is there a way to actually compile such a project using nuitka, or is that (currently) not possible?
Thanks!

Please check whether the bug was already reported or fixed.

Not as far as I can see

Nuitka version, full Python version, flavor, OS, etc. as output by this
command.

python -m nuitka --version

1.7rc1
Commercial: None
Python: 3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]
Flavor: Anaconda Python
Executable: ~\env\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Version C compiler: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\Hostx64\x64\cl.exe (cl 14.3).

How did you install Nuitka and Python

Installed python via conda, then created a separate venv. Afterwards, I installed nuitka using pip within the environment

The specific PyPI names and versions

python -m pip freeze

absl-py==1.4.0
aiofiles==22.1.0
aiosqlite==0.19.0
anyio==3.6.2
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
arrow==1.2.3
astroid==2.15.5
asttokens==2.2.1
attrs==23.1.0
Babel==2.12.1
backcall==0.2.0
beautifulsoup4==4.12.2
black==23.3.0
bleach==6.0.0
cachetools==5.3.0
certifi==2023.5.7
cffi==1.15.1
charset-normalizer==3.1.0
click==8.1.3
cloudpickle==2.2.1
colorama==0.4.6
coloredlogs==15.0.1
comm==0.1.3
contourpy==1.0.7
cycler==0.11.0
dask==2023.5.0
debugpy==1.6.7
decorator==5.1.1
defusedxml==0.7.1
dill==0.3.6
distributed==2023.5.0
docutils==0.20.1
exceptiongroup==1.1.1
executing==1.2.0
fastjsonschema==2.17.1
flatbuffers==23.5.9
fonttools==4.39.4
fqdn==1.5.1
fsspec==2023.5.0
gitdb==4.0.10
GitPython==3.1.31
google-auth==2.19.0
google-auth-oauthlib==1.0.0
grpcio==1.54.2
h5py==3.8.0
humanfriendly==10.0
idna==3.4
importchecker==2.0
importlib-metadata==6.6.0
iniconfig==2.0.0
interchange==2021.0.4
ipykernel==6.23.1
ipython==8.13.2
ipython-genutils==0.2.0
ipywidgets==8.0.6
isoduration==20.11.0
isort==5.12.0
jedi==0.18.2
Jinja2==3.1.2
joblib==1.2.0
json5==0.9.14
jsonpointer==2.3
jsonschema==4.17.3
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.6.3
jupyter-ydoc==0.2.4
jupyter_client==8.2.0
jupyter_core==5.3.0
jupyter_server==2.6.0
jupyter_server_fileid==0.9.0
jupyter_server_terminals==0.4.4
jupyter_server_ydoc==0.8.0
jupyterlab==3.6.3
jupyterlab-pygments==0.2.2
jupyterlab-widgets==3.0.7
jupyterlab_server==2.22.1
kiwisolver==1.4.4
lazy-object-proxy==1.9.0
llvmlite==0.39.1
locket==1.0.0
Markdown==3.4.3
MarkupSafe==2.1.2
matplotlib==3.6.0
matplotlib-inline==0.1.6
mccabe==0.7.0
mistune==2.0.5
monotonic==1.6
mpmath==1.3.0
msgpack==1.0.5
mypy==1.3.0
mypy-extensions==1.0.0
nbclassic==1.0.0
nbclient==0.8.0
nbconvert==7.4.0
nbformat==5.8.0
nest-asyncio==1.5.6
nodejs==0.1.1
notebook==6.5.4
notebook_shim==0.2.3
npTDMS==1.6.2
Nuitka @ https://github.com/Nuitka/Nuitka/archive/factory.zip
numba==0.56.4
numpy==1.23.5
oauthlib==3.2.2
onnx==1.14.0
onnxconverter-common==1.13.0
onnxmltools==1.11.2
onnxruntime==1.15.0
optional-django==0.1.0
ordered-set==4.1.0
orderedset==2.0.3
overrides==7.3.1
packaging==23.1
pandarallel==1.6.5
pandas==1.5.3
pandocfilters==1.5.0
pansi==2020.7.3
parso==0.8.3
partd==1.4.0
pathspec==0.11.1
patsy==0.5.3
pickleshare==0.7.5
Pillow==9.5.0
platformdirs==3.5.1
pluggy==1.0.0
prometheus-client==0.17.0
prompt-toolkit==3.0.38
protobuf==3.20.3
psutil==5.9.5
pure-eval==0.2.2
py2neo==2021.2.3
pyarrow==9.0.0
pyasn1==0.5.0
pyasn1-modules==0.3.0
pycparser==2.21
pyflakes==2.5.0
Pygments==2.15.1
pylint==2.17.4
pyoxidizer==0.22.0
pyparsing==3.0.9
pyreadline3==3.4.1
pyrsistent==0.19.3
PySide6==6.3.2
PySide6-Addons==6.3.2
PySide6-Essentials==6.3.2
PySimpleGUI==4.60.5
pytest==7.3.1
python-dateutil==2.8.2
python-json-logger==2.0.7
pytz==2023.3
PyWavelets==1.4.1
pywin32==306
pywinpty==2.0.10
PyYAML==6.0
pyzmq==25.0.2
qtconsole==5.4.3
QtPy==2.3.1
requests==2.31.0
requests-oauthlib==1.3.1
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rsa==4.9
scikit-learn==1.2.2
scipy==1.10.1
seaborn==0.12.2
Send2Trash==1.8.2
shap==0.41.0
shiboken6==6.3.2
six==1.16.0
skl2onnx==1.14.1
slicer==0.0.7
smmap==5.0.0
snakeviz==2.2.0
sniffio==1.3.0
sortedcontainers==2.4.0
soupsieve==2.4.1
stack-data==0.6.2
statistics==<IP_ADDRESS>
statsmodels==0.14.0
stumpy==1.11.1
sympy==1.12
tblib==1.7.0
tensorboard==2.13.0
tensorboard-data-server==0.7.0
terminado==0.17.1
threadpoolctl==3.1.0
tikzplotlib==0.10.1
tinycss2==1.2.1
tomli==2.0.1
tomlkit==0.11.8
toolz==0.12.0
torch==1.12.1+cu116
torchaudio==0.12.1+cu116
torcheck==1.0.1
torchvision==0.13.1+cu116
tornado==6.3.2
tqdm==4.65.0
traitlets==5.9.0
tsfresh==0.20.0
typing_extensions==4.6.2
uri-template==1.2.0
urllib3==1.26.16
wcwidth==0.2.6
webcolors==1.13
webencodings==0.5.1
websocket-client==1.5.2
Werkzeug==2.3.4
widgetsnbextension==4.0.7
wrapt==1.15.0
xgboost==1.7.5
y-py==0.5.9
ypy-websocket==0.8.2
zict==3.0.0
zipp==3.15.0
zstandard==0.21.0

Also supply a Short, Self Contained, Correct, Example

MWE:
"""_summary_
"""
import sys
import os

from PySide6 import QtGui
from PySide6.QtWidgets import QApplication
import tsfresh

if __name__ == "__main__":
    print("Hello World!")

Provide in your issue the Nuitka options used

This problem was tested using two different commands:
nuitka --standalone --enable-plugin=pyside6 --report=compilation-report.xml main.py
Compilation worked, execution failed with
with_integrated_numba_output.log
When compiling instead using
nuitka --standalone --enable-plugin=pyside6 --noinclude-numba-mode=nofollow --report=compilation-report.xml main.py
execution fails with
no_integrated_numba_output.log

Note if this is a regression

Not sure if it has worked before.

Ah, the report would have been valuable. But JIT compilation of numba is not going to fly yet, because we have no good way of making source code available for it, yet, and still compile code, and we do not have support for including some modules as python files, for it to see.
However, on develop I recently made a new trick, for PyQt5 actually, which has a @pyqtslot decorator, such that the functions with that, do get compiled to bytecode. I also forsaw that the source code would be available in the future for these. So one day, maybe things like numba JIT may become usable, but of course, we want to make it obsolete really, but that's not happening in its entirety ever, if at all.
But I cannot tell how long it is to have that.
That being said, we also remove useless numba uses from packages, here stumpy seems to be to blame. I can give it a quick shot, but as an example, the import is not really telling me much, if the result would be very usable.

Minor correct, in accelerated mode, it's probably just fine maybe.

So, it's using distributed and by proxy dask, which is usually not what you want, doing some anti-bloat work to reduce the compilation of tsfresh, but I have a suspect, that it's really stumpy. I am getting numpy usage from pandas there, so that's probably the reason, but we shall see.

This is really drawing circles, statsmodel.sandbox as a namespace for otherwise useful things, pulls in pytest, removing that like we do for a bunch of numpy/scipy already, and pandas.core.groupby.groupby pulls in numba which we apparently didn't see so far, but easily removable as well. Not sure if we end up in a usable place, but at least it seems some things are getting more robust against numba usage, not even needing the nofollow approach, which would work for pandas most likely.

So, I have done quite a bit of anti-bloat, for patsy, statsmodels, etc. but it seems stumpy is using a distribution location from pkg_resources and we may not yet support that, or I don't get why it would be None preventing it from doing something stupid with files. I might want to first add that I guess.

So, that pkg_resources fix is coming to the hotfix, but so far only stumpy needs it, but for avoiding the numba package it's a lost cause, no way that is going to happen.
On the upside for this issue, tsfresh uses it in one function only, and then only with some condition. Can you try current factory branch and confirm it helps some.
There is plenty of anti-bloat work in there, I believe for tsfresh it may have been complete, I forgot, this is not a priority issue at all. Need some interactivity here. But statsmodels and patsy, even numpy and pandas got more work against using pytest, numba, and unittest which should be generally a good idea.

Hei,
I recompiled both my py-file above and my full code using 1.7rc4, thanks! However, now I encountered the following two issues:

Running the small py-file listed above works, but I do not get any console output (even though I print "Hello World")
Running my full program results in an error, hinting to a wrong pointer (Command on address 0xxxxxx pointed to memory in 0xFFFFFFFFFFFFFxxx. Could not read from this address")

What are the next steps I could to to assist with debugging?

Actually I think I also saw some kind of crash on Windows at least, but sporadically, and it went away with --debug so I turned to the known corruption bug, that is fixed now too, but it doesn't appear to be that. I might try compiling on Linux, where debugging will be potentially more revealing.

Part of the 1.7 release I just made.


Upgrade to py-evm v0.2.0-alpha.42

What was wrong?
Need the py-evm which includes the latest Constantinople version info.
How was it fixed?

Upgrade to alpha 42
update genesis files for mainnet & ropsten
update chain proxy class for new method get_receipt_by_index

Cute Animal Picture

Cool, I want to rebase on top of #236 and make sure all tests pass, then it's release time!


How to rebase to forked origin

(Add to README)
Step 1 (Add the original repo as a git remote):
git remote add upstream https://github.com/charlottejuniordevs/client

Step 2 (update git with latest in original repo):
git fetch upstream

Step 3 (update your branch to what's latest in original repo):
git rebase upstream/master

Done.


OauthScope null when using DL Speech

Version
v4.9.1
Describe the bug
This problem was already reported in here:
[(https://github.com/microsoft/botbuilder-dotnet/issues/3844)]
Additional context
On ProcessActivityAsync, BotFrameworkAdapter, you are setting the OAuthScope on TurnState.
But on ProcessStreamingActivityAsync, BotFrameworkHttpAdaptarBase, used by DirectLineSpeech that is missing, i believe.
Can that be the problem?
Thanks
ProcessActitivyAsync

CosmosDB

@gabog What is the status of this?

Hi @pedrocunha87, DL speech requires websockets that doesn't use the connector client to respond, it uses the WS connection so the OAuthScope is not required to authenticate the response.
Makes sense?

I'm not having problems connecting to the bot.
The problem happens when handling a response from a Skill.
The SkillHandler, doing the ProcessActivityAsync will get the ConversationReference and there the skillConversationReference.OAuthScope is null.
Then on ContinueConversationAsync, BotFrameworkAdapter, the parameter audience is null.

@gabog can you help take a look and comment?

@gabog Could you take a look at this ticket?

Hi, the workaround for DL speech is to use clone the incoming activity, set ExpectReplies and then send it to the skill, something like:
var activityClone = ObjectPath.Clone(turnContext.Activity);
activityClone.DeliveryMode = DeliveryModes.ExpectReplies;

We do have a bug around not setting OAuthScope but this is low priority. DL speech uses affinity because of the WebSockets connection so you need to ensure the skill replies back to the calling server (that is achieved using ExpectReplies).
If you post a snipped on how are you trying to use the skill I can provide additional details.

Ok.
I'll try that approach for now.
Thanks.


Kubectl commands

I would like to write something about kubectl. This is for Hacktoberfest.

Can you elaborate what you want to write on kubectl apart from what that is already avaialble ??

Keeping the issue open for you to work on

@WojciechLesniewski are you still working on this ?


Question about shell command support over appium

Hello, I was wondering if this incarnation will consider the ability to send shell command through appium. I understand that this is considered a "security risk" but as mentioned before for the first version of this driver, one can automate the shell program to do the same sort of thing.
I'm just wondering to plan for eventual incorporation of this driver in our code base.

There is a possibility to run Apple Scripts: https://github.com/appium/appium-mac2-driver#applescript-commands-execution. The driver also exposes prerun and postrun capabilities to run Apple script on session startup and on termination.
We don't plan to add more on top of that.


Request to add link to templates on InfluxDB templates doc

Describe your proposal here.
It would be great to have a link to our community templates on this doc.
Relevant URLs
https://docs.influxdata.com/influxdb/v2.0/influxdb-templates/#template-resources

Absolutely, thank you, @bckeene!


API return no results

Dear Team,
Hope you are all doing well, I tried to use API to automatically conduct enrichment analysis for my gene lists. However after I posted my data, I didn't get any result.
Commands I used:
curl -X POST
-d "format=text"
-d "result=www"
-d "genome=hg38"
-d "antigenClass=TFs and others"
-d "cellClass=All cell types"
-d "threshold=50"
-d "typeA=gene"
--data-urlencode<EMAIL_ADDRESS>-d "typeB=refseq"
-d "bedBFile=empty"
-d "permTime=1"
-d "title=test_api"
-d "descriptionA=test_set"
-d "descriptionB=control"
-d "distanceUp=50"
-d "distanceDown=50"
https://ddbj.nig.ac.jp/wabi/chipatlas/
Response I got:
requestId: wabi_chipatlas_2023-0206-0324-26-709-800611
parameters: null
current-time: 2023-02-06 03:28:54
start-time:
current-state:
Status page:
request-ID: wabi_chipatlas_2023-0206-0324-26-709-800611
status: not-found
current-time: 2023-02-06 03:47:36
system-info:
I tried to check the status by using the returned requestId, the status page always shows "not-found", so I'm not sure which part I did wrong. Any advice for how to fix this would be very appreciate.
Many thanks,
Zeyu

Hi Zeyu,
We apologize for any inconvenience caused. Recently we had to temporarily suspend the API service due to a user submitting too many jobs. It is now back to normal and we would appreciate it if you could try again.
Best,
Shinya

Hi Dr. Oki,
I just tried and it is working fine now, really thank you for the help. Besides, may I ask if there is a capacity limitation for ChIP.Atlas? Because I also have quite a lot gene lists to run, if that's a problem I may add a pause between two tasks.
Thanks,
Zeyu

Due to this incident, we have set a limit of up to 100 jobs. We can temporarily waive this limit on request. How many gene lists do you have?

I have ~1700 gene lists, each with 200-1000 genes. If that's possible I'd be very thankful, otherwise I can add a 30mins pause between every 50 jobs, since I'm also running my scripts on HPC cluster, 2-3 days should be enough to finish all of them.

I would be grateful if you could submit 50 jobs at 30 minute intervals.

Sure, really thank you for the help!


Make URLs in .ejs files completely dynamic

URLs in .ejs files get constructed as follows:
"<%= details.pathPrefix %>/idp/interaction/<%= details.uid %>/confirm"

If we could make it work so the class relevant for rendering that file sends the full URL so we can write <%= details.url %>, we could potentially configure it so this URL construction is only stored in 1 place. The corresponding config strings are regexes though: "^/idp/interaction/[-_A-Za-z0-9]+/confirm/?$", so we would need a way to handle the dynamic token string in there.

Definitely.
Let's add URI templates to the config, in addition to the regexes.

Done in #932


Move slack to chunker v2 structure

New rendering will look like:
Thread in #product [20231130 22:54]: It would be fairly simple to add AI-generated charts...
>> @henry [20231130 22:54]:
It would be fairly simple to add AI-generated charts

>> @henry [20231130 22:59]:
maybe for these kind of purely visualisation code use-case, a smaller model fine-tuned on code would allow to save a ton of time ?

>> @henry [20231201 10:28]:
is that something that would be worth building at some point @spolu @gabriel ? I think we could inline the charts easily inside of the message with a sandboxed iframe. It would be better than what chatgpt has because they are interactive (and matplotlib is ugly)

The initial Thread in ... part will be repeated in all chunks. The author of the message is repeated as well in chunks if the message is rendered to multiple chunks

@spolu can we have the function formatMessagesForUpsert() directly get the channel information?
I had reverted from passing too much data around recently because then these functions become really hard to use. Passing primary key around is generally the rule.


multiple jurisdiction issue with chemical treatment forms

Deal with the reporting end to split the amount of chemical use, and area treated etc. by the percentages in the jurisdictions (eg. moti 40% and FLNRORD 60%).

Brennan will attempt to test on Feb 22 after grisha fixes the chemical treatment form. (@micheal-w-wells FYI)


bug: Error installing via Lazy

Did you check docs and existing issues?

[X] I have read all the plugin docs
[X] I have searched the existing issues
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.10.2
Operating system/version
MacOS 15.1.1
Describe the bug
When installing the plugin with Lazy, It keeps erroring "Build failed: Could not find library file for GIT2".
The plugin setup seems to ignore the libgit2_path. Among the list of searched path, the custom configuration I set up does not show up.
I can't figure out what I am missing.
Current location of libgit2.dylib file is at /opt/homebrew/lib/libgit2.dylib
Current location of git2 is at /opt/homebrew/bin/git2
.zshrc variable exports I unsuccessfully tried are:
export LIBGIT2="/opt/homebrew/lib/libgit2.dylib"
export GIT2_LIBDIR="/opt/homebrew/lib/libgit2.dylib"
export GIT2_DIR="/opt/homebrew"
export GIT2="/opt/homebrew/bin"

Configurations I unsuccessfully tried are:
-- At init.lua
require('fugit2').setup({
  libgit2_path = "/opt/homebrew/lib/libgit2.dylib",
})

-- Via plugin
return     {
        "SuperBo/fugit2.nvim",
        lazy = false,
        opts = {
            width = 100,
            external_diffview = true,
            libgit2_path = "/opt/homebrew/lib/libgit2.dylib",
        },
        dependencies = {
            "MunifTanjim/nui.nvim",
            "lewis6991/gitsigns.nvim",
            "nvim-tree/nvim-web-devicons",
            "nvim-lua/plenary.nvim",
            "sindrets/diffview.nvim",
            {
                "chrisgrieser/nvim-tinygit",
                dependencies = { "stevearc/dressing.nvim" },
            },
        },
        cmd = { "Fugit2", "Fugit2Diff", "Fugit2Graph" },
    },

Steps To Reproduce
I don't really know how to reproduce it.
Expected Behavior
Plugin can be successfully installed

This error may related to lua installing of lazy. I have just disabled git2 requirement while installing this plugin via https://github.com/SuperBo/fugit2.nvim/commit/ca57c680e262eb55dc5abcaacaa020c32201765b#diff-921709b0ce82e630640db870319bad0c6c83b9d082d76f3aa7e89bb24173cfc1L33.
Can you test again?


cached connections with closed state are not being detected in the sql driver and keeps being reused.

We have ran into a situation where we see this error ORA-06413: Connection not open repeating on every query, the error stays until the process is restarted and a new connection is created and opened.
This is our code https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/oracledbreceiver/db_client.go#L50
Looking at the sql implementation, the cached connections get invalidated and new connection is opened only when the driver receives error of type ErrBadConn https://github.com/golang/go/blob/master/src/database/sql/sql.go#L1540 and  https://github.com/golang/go/blob/master/src/database/sql/sql.go#L1313
Looking at the go-ora code, the error ORA-06413: Connection not open is not wrapped by ErrBadConn https://github.com/sijms/go-ora/blob/master/v2/command.go#L1983  is there a reason for not using ErrBadConn? is my interpretation of the code wrong?
If yes, please advice on how to avoid the error and establish new connection?

you are correct I should use ErrBadConn
Ok this I need to review failover again and test using ErrBadConn

Thanks @sijms
Please let me know if you have a timeline for this so I can notify the OpenTelemetry project on when the fix will be ready.
Thanks!

ok I am working now on struct output parameters. I will finish it soon and start fixing this issue


Entware not working

I followed the description but after Entware-installation and even after a reboot the "opkg" command is not recognized.
opkg install vim -sh: opkg: command not found

Note: Entware can take some time to start. Give it a few minutes before logging-in via SSH. ;)

Also, the Entware host site is down at the moment: https://github.com/Entware/Entware/issues/486

Thanks for your reply.. Entware is still not working. I tried a reboot, a new installation and gave it a night. What might be the problem?

does /share/CACHEDEV1_DATA/.qpkg/Entware-3x/bin/opkg exist? just run that instead of opkg or do an alias. I don't know why the symbolic link to that file was removed on my qnap


Support IOS

It can't be done, because in iOS we can get either a full screen overlay or nothing.
This issue can be closed @X-SLAYER

@X-SLAYER @manoj1749 Hold on, the original request didn't specify that the overlay shouldn't be full-screen. The library name flutter_overlay_window also doesn't necessarily imply that the overlay must be limited to non-full-screen windows. Full-screen overlays could still be a valuable feature for certain use cases on iOS.
Would it make sense to create a new issue requesting support for a full-screen overlay window on iOS? This functionality could align well with the library's goals and expand its usefulness across platforms.


Syncplay Version check

I still have Syncplay v.1.3.1 and although there already is v.1.3.3 Syncplay always tells me it's up to date.
Not true
(Probably just forgot to update server info?)

We decided to leave it a bit before updating for those who were not already on the beta track to see if anyone reported any major bugs. They haven't so I have now set it to update everyone. :+1:

Good idea, like with notepad++, etc...
Just maybe add it on the website, sth. like
"automatic updates will be triggered 1 week after if no bugs are reported"

For the website:
You might want to advertise the language support in the sidebar ;)

Good ideas. I have now updated the website to reflect the languages supported and the delay policy. I may also make it so that if you do a manual update check it tells you about the very latest version, even a beta.

It now reports a new version is available (Syncplay 1.3.4 RC1) if someone on an earlier version does a manual update check.


DTAAgentExecutionService: Test Agent deployment failed with error code -1.

TestAgent deployment is unsuccessful with exit code 1. Following are the excerpts from the logs:
2017-07-27T00:02:14.8126748Z  V, 2017/07/27, 01:28:49.953, ACL Configuration:
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z  V, 2017/07/27, 01:28:49.953, AddAccessToDirectory: started: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE, rights: Write, Read
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z  V, 2017/07/27, 01:28:50.656, AddAccessToDirectory: completed
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z  I, 2017/07/27, 01:28:50.656, Granting permission on file C:\Windows\VSTFS\testagent.config to account Domain\Username
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z  E, 2017/07/27, 01:28:50.671, System.InvalidOperationException: Method failed with unexpected error code 3.
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z     at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z     at System.Security.AccessControl.FileSystemSecurity..ctor(Boolean isContainer, String name, AccessControlSections includeSections, Boolean isDirectory)
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z     at System.Security.AccessControl.FileSecurity..ctor(String fileName, AccessControlSections includeSections)
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z     at Microsoft.VisualStudio.TestTools.ConfigCore.ACLHandler.AddAccessToFile(String fileName, String account, FileSystemRights rights)
2017-07-27T00:02:14.8126748Z
2017-07-27T00:02:14.8126748Z  E, 2017/07/27, 01:28:50.671, System.InvalidOperationException: Method failed with unexpected error code 3.
2017-07-27T00:02:14.8439269Z   2017/07/27, 02:01:43.167, UnInstallService: Service DTAAgentExecutionService uninstall failed. Error: 0
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z   2017/07/27, 02:01:43.167, Microsoft.VisualStudio.TestTools.ConfigCore.ConfigToolException: Failed to delete windows service DTAAgentExecutionService. (Error Code: 0)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.ConfigCore.Services.UnInstallService(String serviceName)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.ConfigCore.BaseConfiguration.RemoveService(String serviceName, DelegateStatusUpdate statusListener)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.ConfigCore.DTAAgentConfiguration.SetupDTAAgentExecutionService(AgentConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.ConfigCore.DTAAgentConfiguration.Configure(AgentConfigurationUpdatePack updatePack, DelegateStatusUpdate statusListener)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.AgentConfigCLI.ConfigurationCommon.Run(AgentConfigurationUpdatePack updatePack, DelegateStatusUpdate commandStatusListener)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.AgentConfigCLI.CommandConfigureAsProcess.Run()
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z     at Microsoft.VisualStudio.TestTools.AgentConfigCLI.AppEntry.RunCommand(String commandName, String[] args)
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z   2017/07/27, 02:01:43.167,
2017-07-27T00:02:14.8439269Z
2017-07-27T00:02:14.8439269Z  Exception : Failed to delete windows service DTAAgentExecutionService. (Error Code: 0)
2017-07-27T00:02:14.8439269Z Return code received : -1
Unable to find the solution in order to resolve the issue which contains multiple error codes.
logs.txt

@Santhosh It seems that Test Agent configuration is failing as admin credentials that you are using is not able to delete existing DTAAgentExecutionService in your test machine. Can you check on your test machine that presently who is the owner of service "DTAAgentExecutionService". Also can you try deleting it manually ( you can use:  sc delete DTAAgentExecutionService) and then try again.

@vimegh Thank you, the issue was resolved in the next deployment. This might be an intermittent issue as the deployment user has administrator access on the test machine.

Thanks for confirming Santhosh.  I am closing the issue for now. In case you face the issue again, please feel free to reach us.


Add Operator 🐹_Quokka_Stake

Relayer Operator Onboarding
Thank you for your IBC relaying efforts for the Cosmos Hub. This pull request template is for onboarding new operators.
Instructions
Add your account addresses and contact information in the correct format to the specified JSON file(s) in the _IBC folder. Ensure that your submission follows the provided format. If you have opened this pull request through a related issue, please link the issue number below:
Closes #33
Checklist

[ ] I have read the onboarding documentation and contribution guidelines.
[ ] I have added my Account Addresses and Operator Information to the correct path file in the _IBC folder.
[ ] I have ensured my changes follow the required format.
[ ] I have linked the related onboarding issue (if one was created).

Thank you for your contribution! Your feegrant allowance will be added at the next scheduled review meeting. Please frequently check the Operators table in the README to stay informed about your allowance status and spend limit.


How to improve the transition performance on 4K display?

I have enabled crossfade = true, but the screen transition is choppy on 4K display.
Is there any tip to improve the performance?

crossfade: false will be more performant, because it doesn't have an opacity transition animation.


A new approach for "parameter tables"

Context
Parameter Tables provide a mechanism for repeating parts of or all of a computation with different values for one or more parameters. This allows for a variety of use cases, similar to map, reduce, and groupby operations in other systems.
Parameter tables are a significant complication in the implementation of Pipeline. It also makes it conceptually hard to define what a Pipeline "is". We have recently seen a number of places where parameter tables get in the way when thinking about or implementing changes or new features.
Idea

Remove parameter-table support from Pipeline (in practice this can be done after the suggested approach is implemented, both can coexists for a while to ease transition).
Implement param-table features as map-reduce and map-groupby operations on TaskGraph
This will give an array-like structure (possibly multi-dimensional) with coordinates to parts (or all) of a task graph.
Conceptually nothing new is introduced (even though the new approach offers more flexibility in some cases), but it factors the complications out of Pipeline, into TaskGraph or helper functions.

Examples
Start
For simplicity, I will be drawing graphs using only the data nodes, without compute nodes.
Consider a simple graph named graph:
graph TD;
  A-->B-->C;

We assume this was creating using Pipeline.get(C).
Map
graph.map((A, [1,2,3])

would result in
graph TD;
  A1-->B1-->C1;
  A2-->B2-->C2;
  A3-->B3-->C3;

Map-reduce
graph.map((A, [1,2,3]), at=B).sum()  # sum all dims (here A) at B

would result in
graph TD;
  A1-->B1-->B-->C;
  A2-->B2-->B;
  A3-->B3-->B;

Map-groupby-reduce
Modulo some syntax subtleties that I need to think about (overall it may make more sense to move the "at" arguments to the reduction step, I think):
graph.map((A, [1,2,3]), at=B) \  # adds dimension coord
     .label(L, (A, ['a', 'b', 'a'])) \   # adds non-dim coord
     .groupby(L) \
     .sum()

results in
graph TD;
  A1-->B1-->Ba-->Ca;
  A2-->B2-->Bb-->Cb;
  A3-->B3-->Ba;

More examples
I will provide more, if the overall idea sees positive feedback. Brief summary:

Multiple map operations, resulting in multi-dim node structure
Small syntax complications if we need to map-reduce at multiple points, i.e., when cutting a diamond graph
map.reduce with custom functions (instead of built-ins like sum)
Using coordinate/labels to slice graphs that were created using map.

How do you use custom function for map.reduce?
In this example,
graph.map((A, [1,2,3]), at=B).sum()  # sum all dims (here A) at B

graph TD;
  A1-->B1-->B-->C;
  A2-->B2-->B;
  A3-->B3-->B;

Going from A1 to B1 should already be in the graph
but a function for going from B1 to B will not be in the graph.

This is definitely something we should discuss offline!
I need to go through more examples to develop an understanding. But here are my first impressions:

Composing operations is good!
If we can make the relationship with dimensions more explicit / apparent, we can maybe reuse some intuition that users built up when using Scipp. (This is a niche type of intuition that most scientists don't share.)
I agree that the at argument should be part of the reduction / grouping. I don't understand what it even does in map.
How do the A* nodes get their values? Does it create n new types that need to be filled with parameters? Or do you still envision something like a table to fill the replicated parameters?
'map' is normally used for applying the same function to multiple pieces of data. Here, it is applied to data. This may just be a naming issue. Or is there a deeper reason for the name?
The labelling approach might not work well with 'multi-dim' graphs. It requires passing labels for each 'coord' value of A. But A may be parametrised in multiple dims.

I agree that the at argument should be part of the reduction / grouping. I don't understand what it even does in map.

Yes, I would have expected something like graph.map((A, [1,2,3])).sum(at=B) ?

I think this is an interesting approach and seems like it could be very useful to describe complex data processing workflows succinctly.
However, there are still some questions

memory usage / how to make things efficient without us having to do too much work,
what the api should look like,
what the capabilities / features this system actually has,

One option that I think could partially answer those questions, is to stay close to and perhaps also implement this in terms of the dask.Bag api.
We're probably only going to need a subset of it.

I also think we should be prepared that not all workflows will be possible to represent as DAGs. For example, Aaron said in his presentation yesterday that they sometimes had to go back and retry earlier parts of the workflow based on a result later in the workflow, that kind of workflow is not easily represented by a DAG. Don't know if that part was very NMX specific.

I also think we should be prepared that not all workflows will be possible to represent as DAGs. For example, Aaron said in his presentation yesterday that they sometimes had to go back and retry earlier parts of the workflow based on a result later in the workflow, that kind of workflow is not easily represented by a DAG. Don't know if that part was very NMX specific.

We were aware of this from the beginning but decided against supporting it in order to not overcomplicate our graphs. Basically, we decided to not support explicit branching and looping on the graph level.
See the SANS direct beam iteration for another case where a workflow needs to be looped. If we ever were to build a full SXD workflow, we'd have to do something similar.

Yeah I don't suggest we should make the graphs support branching or looping. I think that kind of logic fits best in a simple python script.

I think this is an interesting approach and seems like it could be very useful to describe complex data processing workflows succinctly. However, there are still some questions
* memory usage / how to make things efficient without us having to do too much work,

Certainly worth thinking about, but note that there is no difference in this respect to the currently solution via Parameter Tables part of Pipeline. The new system might provide an extra advantage here, since it would be easy to support, e.g., hierarchical reduction operations that reduce memory consumption by reducing pairwise.

One option that I think could partially answer those questions, is to stay close to and perhaps also implement this in terms of (a thin wrapper around) the dask.Bag api. We're probably only going to need a subset of it.

The API I have in mind certainly has some similarities with dask.Bag. But note that bag is not ordered, whereas at least our current implementation does define an order. Also, we cannot use Dask for this, as bag is a Dask collection that creates a task graph, whereas we already have one, that we want to transform.
My current idea is to implement a stand-alone library (not in Sciline) that implements the graph transformations in a generic manner, with no link to Sciline. It should, e.g., be able to map over (ideally) all the widespread types such as Numpy arrays, Pandas Series/DataFrame, Xarray and Scipp variables, and maybe even the new ragged.


v1.1.0

Dart 2.0 support. Fixes #12.

Pull Request Test Coverage Report for Build 27

8 of 8 (100.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 87.5%

Totals

Change from base Build 22:
0.2%

Covered Lines:
56

Relevant Lines:
64

💛  - Coveralls


ERROR: dependency 'config' is not available for package 'sparklyr'

Hi
I am facing in trouble in installing sparklyr package. I've followed installation steps as guided on tutorial page. I have installed devtools package successfully, but the next step throws error. Don't know where am I missing. Any help?
The downloaded binary packages are in

devtools::install_github("rstudio/sparklyr")
Downloading GitHub repo rstudio/sparklyr@master
from URL https://api.github.com/repos/rstudio/sparklyr/zipball/master
Installing sparklyr
Skipping 1 unavailable package: config
"C:/PROGRA~1/MICROS~1/MRO/R-33~1.0/bin/x64/R" --no-site-file --no-environ --no-save
--no-restore --quiet CMD INSTALL

--library="C:/Users/manish/Documents/R/win-library/3.3" --install-tests
ERROR: dependency 'config' is not available for package 'sparklyr'

removing 'C:/Users/manish/Documents/R/win-library/3.3/sparklyr'
Error: Command failed (1)

It looks like you're using MRO, which I'm guessing is also checkpointed to a CRAN release that does not have the config package available.
You'll have to manually install config yourself from https://cran.r-project.org/package=config. Or switch yourself to using the RStudio CRAN mirror, with e.g.
options(repos = c(CRAN = "https://cran.rstudio.com"))

Hi Kevin
It worked. Thanks you so much!
To install config package I had to explicitly mention the repository address: install.packages("config",repos="http://cran.us.r-project.org")

Great to hear, thanks!


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 7beac8d:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch ee765593-5db1-4b2f-86c0-3099cfb03f37 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Use current instead of current_weather query parameter

Currently, forecast objects have a current_weather field that only includes condition, temperature and wind, whereas hourly and daily include much more.
The MeteoAPI has a current parameter with a subset of the hourly attributes, which allows more granular queries. (Like temperature, precipitation, humidity, pressure, cloud cover, ...)
Why this is relevant
At the moment, the Open-Meteo Home Assistant integration provides precipitation only in the forecasts and wind information only in the entity state. This is a nuisance.
Going forward
Open Meteo has their own python SDK / implementation, unfortunately without an async implementation (yet).
https://github.com/open-meteo/sdk/tree/main/python
https://github.com/open-meteo/python-requests
So maybe this project can only provide the async interface in the future or even be archived in favour of the official implementation. (I'll just innocently mention @patrick-zippenfenig here 😉)
Note on backwards compatibility
It seems that current_weather overwrites the current parameter, so you can't just query for more and be backwards compatible. This should be solved by always querying with current=temperature_2m,is_day,weather_code,wind_speed_10m,wind_direction_10m and then mapping the variables to the old CurrentWeather model.
Compare:
current_weather=true
{
  // ...
  "current_weather_units": {
    "time": "iso8601",
    "interval": "seconds",
    "temperature": "°C",
    "windspeed": "km/h",
    "winddirection": "°",
    "is_day": "",
    "weathercode": "wmo code"
  },
  "current_weather": {
    "time": "2024-06-26T13:15",
    "interval": 900,
    "temperature": 24.9,
    "windspeed": 14.5,
    "winddirection": 199,
    "is_day": 1,
    "weathercode": 2
  }
}

current=temperature_2m,is_day,weather_code,wind_speed_10m,wind_direction_10m
{
  // ...
  "current_units": {
    "time": "iso8601",
    "interval": "seconds",
    "temperature_2m": "°C",
    "is_day": "",
    "weather_code": "wmo code",
    "wind_speed_10m": "km/h",
    "wind_direction_10m": "°"
  },
  "current": {
    "time": "2024-06-26T13:15",
    "interval": 900,
    "temperature_2m": 24.9,
    "is_day": 1,
    "weather_code": 2,
    "wind_speed_10m": 14.5,
    "wind_direction_10m": 199
  }
}

Hi,
yes, there are now more options for current weather, but the old format is still supported for backwards compatibility.
I can also provide an async implementation based on aiohttp or httpx. The requests implementation in combination with FlatBuffers as a binary data transport format has been primarily developed for data science use cases. I am not sure how well it interfaces with HA. @MrEbbinghaus Would a simple aiohttp or httpx implementation provide any benefit in this direction?

I guess @frenck should decide on that. He is the expert. :-)


Recursion issue when bucket contains a "/" directory

Fix for our annoying recursion issue when syncing s3 buckets with / directories.
There was a strange != "directory" test in the sync that prevented the sync to skip "self-replicating syncs". Added a test to make sure.

Not good enough


Bug on editing x velocity value

InputField was updated only on submit - should be updated only on value changed.


[BugFix] fix crash in iceberg query

Why I'm doing:
After adding columns to the iceberg table, if the previous data is queried and the newly added columns are used, BE will crash because the newly added metadata does not exist in the parquet.
What I'm doing:
Check for null pointer in IcebergMetaHelper::build_column_name_2_pos_in_meta, skip if nullptr, then the column will be set to NULL in FileReader::_read_min_max_chunk.
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.3
[x] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

could you put be.out crash log here?

could you put be.out crash log here?

be.out has been overwritten, but I still have the stack information printed in it at that time.

tracker:process consumption:<PHONE_NUMBER>
tracker:query_pool consumption: 61853576
tracker:load consumption: 0
tracker:metadata consumption: 12847
tracker:tablet_metadata consumption: 9314
tracker:rowset_metadata consumption: 3533
tracker:segment_metadata consumption: 0
tracker:column_metadata consumption: 0
tracker:tablet_schema consumption: 3906
tracker:segment_zonemap consumption: 0
tracker:short_key_index consumption: 0
tracker:column_zonemap_index consumption: 0
tracker:ordinal_index consumption: 0
tracker:bitmap_index consumption: 0
tracker:bloom_filter_index consumption: 0
tracker:compaction consumption: 0
tracker:schema_change consumption: 0
tracker:column_pool consumption: 0
tracker:page_cache consumption: 0
tracker:update consumption: 0
tracker:chunk_allocator consumption:<PHONE_NUMBER>
tracker:clone consumption: 0
tracker:consistency consumption: 0
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1711100564" if you are using GNU date ***
PC: @          0x56ba9a9 std::_Hashtable<>::_M_emplace<>()
*** SIGSEGV (@0x1b4) received by PID 27760 (TID 0x7fcc966dd640) from PID 436; stack trace: ***
@          0x5e8e302 google::(anonymous namespace)::FailureSignalHandler()
@     0x7fcd6016b7fb os::Linux::chained_handler()
@     0x7fcd6017035c JVM_handle_linux_signal
@     0x7fcd60162e78 signalHandler()
@     0x7fcd5f454df0 (unknown)
@          0x56ba9a9 std::_Hashtable<>::_M_emplace<>()
@          0x56b9a1c starrocks::parquet::IcebergMetaHelper::build_column_name_2_pos_in_meta()
@          0x569c2a9 starrocks::parquet::FileReader::_read_min_max_chunk()
@          0x569d39c starrocks::parquet::FileReader::_filter_group()
@          0x569db6e starrocks::parquet::FileReader::_init_group_readers()
@          0x569e182 starrocks::parquet::FileReader::init()
@          0x552f75d starrocks::HdfsParquetScanner::do_open()
@          0x5523af2 starrocks::HdfsScanner::open()
@          0x54c4e26 starrocks::connector::HiveDataSource::_init_scanner()
@          0x54c71f6 starrocks::connector::HiveDataSource::open()
@          0x3329b61 starrocks::pipeline::ConnectorChunkSource::_open_data_source()
@          0x332abc1 starrocks::pipeline::ConnectorChunkSource::_read_chunk()
@          0x363d567 starrocks::pipeline::ChunkSource::buffer_next_batch_chunks_blocking()
@          0x331dae7 _ZZN9starrocks8pipeline12ScanOperator18_trigger_next_scanEPNS_12RuntimeStateEiENKUlvE_clEv
@          0x3427e61 starrocks::workgroup::ScanExecutor::worker_thread()
@          0x29f6b6a starrocks::ThreadPool::dispatch_thread()
@          0x29f15da starrocks::Thread::supervise_thread()
@     0x7fcd5f49f802 start_thread
@     0x7fcd5f43f450 __clone3
@                0x0 (unknown)

Are you adding a new column's name that already exists?

Are you adding a new column's name that already exists?

yes，and the day of the query coincides with the day when column is added, so some parquet files have new column and some do not.

Add a ut better, you can refer to iceberg_schema_evolution_file_reader_test.cpp

yeah，i will do it later

@stephen-shelby PTAL

plz auto backport to branch 3.0 ~ 3.3

plz auto backport to branch 3.0 ~ 3.3

done


GSLUX-537: Display internal metadata

JIRA issue
https://jira.camptocamp.com/browse/GSLUX-537
Description
PR displays layer metadata, when clicking on the info button within the

catalog
layer manager
remote layers

The goal of this PR is to handle internal layers. A WMS helper has already been added and will be finished along with WMTS handling in a separate PR.
To-dos for this PR remain:

[x] UI refinement
[x] error handling
[ ] accessibility
[x] add more tests
[x] potentially refactoring composables

To-dos for separate PRs:

finish querying metadata from external services (WMS, WMTS)
allow URL configuration (using config provided by https://map.geoportail.lu/dynamic.json?interface=main&path=%2F)
implement a generic modal to display information

Thanks for all the feedback @fgravin ! I've refactored the code as discussed, first into a composable and finally into a smarter displaying component that gets updated via a store and queries metadata via a service.


[5.7] Add toArray() to Paginator contract

Laravel Version: 5.7.13
PHP Version: 7.2

Description:
It's possible to paginate eloquent results and use them in a JSON response:
Route::get('users', function () {
    return App\User::paginate();
});

I wanted to send some additional data with the response. I Paginator converted it toArray() and then added my data:
Route::get('users', function () {
    $result = App\User::paginate()->toArray();
    $result['additional_data'] = // ...
    return $result;
});

As ::paginate() returns a Paginator-contract/-interface, I wondered whether toArray() could be added to it? That would ease code-completion and analysis.

if you put the paginate results into a json response it displays as json and it does return as a object in php
$result = App\User::paginate();
$result->additional_data;

That might work for passing around data in the app, however when it's transformed into a request, the toJson() -> jsonSerialize() -> toArray() methods are called... discarding any props on the Paginator object.

not really when done like this.
$db = DB::table('sometable')->paginate(25); return response()->json($db, 200) ->header('Content-Type', 'application/json') ->header('charset', 'utf-8');

Are you sure? A simple test in Tinker didn't show so.
Op wo 19 dec. 2018 om 20:56 schreef Ven the Meerkat <
<EMAIL_ADDRESS>
not really when done like this.
$db = DB::table('sometable')->paginate(25); return response()->json($db,
200) ->header('Content-Type', 'application/json') ->header('charset',
'utf-8');
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/laravel/framework/pull/26912#issuecomment-448723833,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AApOaGfrKsahrCe5WdlkKzKVphlRc5EMks5u6pnjgaJpZM4Zat6f
.

ya i know so cuz i do it to all my http requests that doesn't require a html reply. makes things easier for me to parse in the linden scripting language.

yup ok it does work
$db = DB::table('sims')->select('name')->orderBy('name')->simplePaginate(1); 				return response()->json($db, 200) ->header('Content-Type', 'application/json') ->header('charset', 'utf-8');
which returns
{"current_page":1,"data":[{"name":"Achemon"}],"first_page_url":"https:\/\/rtcsl.info\/admin\/jtest?page=1","from":1,"next_page_url":"https:\/\/rtcsl.info\/admin\/jtest?page=2","path":"https:\/\/rtcsl.info\/admin\/jtest","per_page":1,"prev_page_url":null,"to":1}

Adding a method to an interface is a breaking change and as such this PR should target the master branch (Laravel 5.8).
And instead of manually adding the toArray method to the interface why didn't you make the Paginator extend the Arrayable interface?

Adding a method to an interface is a breaking change and as such this PR should target the master branch (Laravel 5.8).
And instead of manually adding the toArray method to the interface why didn't you make the Paginator extend the Arrayable interface?

Paginator does not look like an 'extended Arrayable' to me and single inheritance then limits future additions to the interface imho.

The concrete Paginator implementation has that method exactly because it implements Arrayable. So I don't see any reason why the Paginator interface couldn't extend the Arrayable interface.

The concrete Paginator implementation has that method exactly because it implements Arrayable. So I don't see any reason why the Paginator interface couldn't extend the Arrayable interface.

That's an interesting observation ;). Seems right. Will update.

Now you can also remove "implements Arrayable" from the concrete Paginator implementation since that is covered now already by the Paginator contract :)

I see... however I've reverted back to adding the 'toArray' because it's arbitrary which Illuminate/Contracts/Support/ extends as it implements both Jsonable and Arrayable.

I don't understand what you are saying as only the Arrayable interface has the toArray method :)

Yes, and Jsonable has the toJson()  method. So why would we extend the Paginator-interface from Arrayable and not from Jsonable? It seems a bit arbitrary to me.

And let's not forget that \Illuminate\Pagination\Paginator already implements Arrayable,…,Jsonable.
When looking at all the related classes in the namespace Illuminate\Pagination I get the impression that the interface \Illuminate\Contracts\Pagination\Paginator is not meant to decide about the representation of the paginator. I think that's why it has to no toArray, toJson, jsonSerializeable.
Only the specific Paginators (not even the AbstractPaginator) implement this.
IMHO this is a deliberate design decision and to me makes sense.
How you represent the paginator is specific to a paginator but not the interface. The interface is concerned about the paginators intrinsics, not how it talks to arbitrary transformation boundaries.
TL;DR: I'm 👎 for this PR.

Like other people have said the Paginator instances already have Arrayable implemented. You're here adding methods on a contract which have nothing to do with the contract itself. Contracts should be single purpose which allow you to make sure that concretes implement certain functionality. I fail to see what a Paginator has to do with converting data to an array.

Sorry but we're going to close this one. Thanks for contributing but this one won't happen I'm afraid.

@driesvints EloquentModel::paginate(..) returns a Paginator-interface that can be used as a request and therefore should be Jsonable/Arrayable. Maybe change the PhpDoc?
--- src/Illuminate/Database/Eloquent/Builder.php	(date<PHONE_NUMBER>000)
+++ src/Illuminate/Database/Eloquent/Builder.php	(date<PHONE_NUMBER>000)
@@ -7,6 +7,7 @@
 use Illuminate\Support\Arr;
 use Illuminate\Support\Str;
 use Illuminate\Pagination\Paginator;
+use Illuminate\Contracts\Support\Jsonable;
 use Illuminate\Contracts\Support\Arrayable;
 use Illuminate\Support\Traits\ForwardsCalls;
 use Illuminate\Database\Concerns\BuildsQueries;
@@ -732,7 +733,7 @@
      * @param  array  $columns
      * @param  string  $pageName
      * @param  int|null  $page
-     * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
+     * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator|Jsonable|Arrayable
      *
      * @throws \InvalidArgumentException
      */

@tomlankhorst actually, I see that the inner paginator method returns a LengthAwarePaginator concrete so it might be best to change the return type to the concrete class. Same for the simplePaginate method.


openapi_spec_validator fails with jsonschema 4.0

jsonschema python package released version 4.0.0 less than a day ago; openapi_spec_validator does not work with this version :
File "/home/jenkins/.local/lib/python3.5/site-packages/openapi_spec_validator/init.py", line 7, in
from openapi_spec_validator.factories import JSONSpecValidatorFactory
File "/home/jenkins/.local/lib/python3.5/site-packages/openapi_spec_validator/factories.py", line 2, in
from jsonschema import validators
File "/home/jenkins/.local/lib/python3.5/site-packages/jsonschema/init.py", line 56
raise AttributeError(f"module {name} has no attribute {name}")
I do not know if the problem is located in openapi_spec_validator or jsonschema.

Are you using Python 2 or Python 3.5 by any chance?

Yes, python 3.5 in a Debian Stretch.

Created a ticket to track the issue in jsonschema https://github.com/Julian/jsonschema/issues/845


agent exited with code -1

For example https://buildkite.com/llvm-project/premerge-checks/builds/4503#9ada5e5e-8b24-4e7b-b961-f27896c5d35d

I have configured buildkite to retry jobs. But that does not solves the issue.
Looking on logs it appears that agent sometimes crashes with OOM

Look like OOM was the issue as now I don't see any failures on win machines. Peak memory usage I saw was around 55GB (which is greater then prev. limit)


laravel voyager image upload issue on share hosting

laravel voyager image not working after upload to share hosting
Version information

Laravel: v5.8.
Voyager:  v1.3.1
PHP: 7.3
Database: [type] [version] (e.g. MySQL 8.0)

Description:
please i  need help !!!!
after i complete my laravel voyager project,i host the website on share hosting 'whogohost.com'
everything works fine the image i isset before uploading to share hosting is working fine but when i try to update the photo on share hosting the image broke,i have tried all i can it not working ,
please help guys
Additional context

As the issue template says questions should be asked on Voyager Slack chat.
Also you are not providing any useful information to help you.
Say what you tried, prepare screenshots, logs and ask on Voyager Slack chat.


Patch un-imported Accessors in MCMCChainsExt

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 74.44%

Totals

Change from base Build<PHONE_NUMBER>5:
0.3%

Covered Lines:
1395

Relevant Lines:
1874

💛  - Coveralls


Add fixer for Django 3.1 NullBooleanField deprecation

Codecov Report

Merging #19 (818b736) into main (be37387) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #19   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        14    +1
  Lines          462       491   +29
  Branches        80        86    +6
=========================================
+ Hits           462       491   +29

Impacted Files
Coverage Δ

src/django_upgrade/fixers/null_boolean_field.py
100.00% <100.00%> (ø)

src/django_upgrade/tokens.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


[JS] Simplify Genkit libraries and imports

Is your feature request related to a problem? Please describe.
Currently, imports for our default sample look intimidating due to Genkit capabilities being spread across multiple libraries. The below code is from the default sample generated by 'genkit init' when selecting the Firebase and Google AI option.
import {generate} from "@genkit-ai/ai";
import {configureGenkit} from "@genkit-ai/core";
import {firebaseAuth} from "@genkit-ai/firebase/auth";
import {onFlow} from "@genkit-ai/firebase/functions";
import * as z from "zod";
import {firebase} from "@genkit-ai/firebase";
import {googleAI, gemini15Flash} from "@genkit-ai/googleai";

Describe the solution you'd like
I would like to consolidate these imports to reduce the number of lines and make the experience feel simpler and cleaner. I suggest:

Combining @genkit-ai/ai and @genkit-ai/core packages
Simplifying imports from @genkit-ai/firebase - do firebaseAuth, onFlow, and firebase need to be imported separately?

If the changes are made, the import should look something like this:
import {configureGenkit, generate} from "@genkit-ai/core";
import {firebase, firebaseAuth, onFlow} from "@genkit-ai/firebase";
import * as z from "zod";
import {googleAI, gemini15Flash} from "@genkit-ai/googleai";

Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

@i2amsam @MichaelDoyle docs have been updated to remove definePrompt in favor of defineDotprompt. Any additional work needed here?


Support default position setting

I think this should suffice, I haven't yet tested it though.
Closes #8

Tested and it behaves as expected.


ImportError: cannot import name '_mask' from 'pycocotools'

Can you help me solve the following error when I run the trainval_net_fpn.py? Thank you very much！

I referred to other tutorials on the installation method of the Coco dataset and successfully solved this problem


Error Unit_Translator.pas(124): E2003 Undeclared identifier: 'GC_UTF8_LF'

Hi guys, I'm getting an error when compiling the project (Delphi 12 and Windows 10):
Line 124 and 174 in Unit "Unit_translator"
[dcc64 Error] Unit_Translator.pas(124): E2003 Undeclared identifier: 'GC_UTF8_LF'
Hope you can help!

Thanks so much for your feedback and other good suggestion.
First about compile error,
plaese substitute GC_UTF8_LF with GC_UTF8_LFA

that means Global Const Utf8 LineFeed Ascii in Unit_Common.pas

Sorry for the late reply,
I'm currently busy with other projects, so it's hard for me to make time.
I'll try my best as much as possible.
Please understand that English is not my native language..
Best regards.


PUBLISH

These are typically directed to the google group.
I have following code to publish.
var pidf = this.createPidfXml();
var extrahdr = [
'Event: presence',
'Content-Type: application/pidf+xml'
];
var pubReq = this.ua.request('PUBLISH', 'xxxx@xxxx', {
extraHeaders: extrahdr,
body: pidf
});
pubReq.request.setHeader('Expires', '10');
pubReq.on('accepted', function (response, cause) {
console.log('accepted Res -> ', response);
console.log('accepted cause -> ', cause);
if(fnAccepted){
fnAccepted(response, cause);
}
});
pubReq.on('rejected', function (response, cause) {
console.log('rejected Res -> ', response);
console.log('rejected cause -> ', cause);
if(fnAccepted){
fnRejected(response, cause);
}
});
pubReq.send();
following is PIDF generated by createPidfXml()
<?xml version="1.0" encoding="UTF-8"?> <presence xmlns="urn:ietf:params:xml:ns:pidf"entity="sip:XXXXXXXXX@XXXXXX"> 	<tuple id="32"> 		<status> 			<basic>open</basic> 		<status> 		<note> 			Available 		</note> 	</tuple> </presence>
Sending following as request to freeSwitch
PUBLISH sip:XXXX@XXXXX SIP/2.0
Via: SIP/2.0/WSS xxx.xxx.xxx.xxx;branch=z9hG4bK3399700
Max-Forwards: 70
To: sip:XXXX@XXXX
From: "XXXXX XXXXX" sip:XXXX@XXXXX;tag=iilifd36kb
Call-ID: 406819cgm8b3rcvqul25
CSeq: 3073 PUBLISH
Expires: 10
Event: presence
Content-Type: application/pidf+xml
Supported: outbound
User-Agent: SIP.js/0.7.0 BB
Content-Length: 0
I found Content-Length as 0
I am getting following response from FreeSwitch
SIP/2.0 200 OK
Via: SIP/2.0/WSS ip;branch=z9hG4bK8782019;received=xxx.xxx.xxx.xxx;rport=
From: "xxxx xxxxx" sip:xxxx.xxxx@xxxx;tag=b85dnvgsb3
To: sip:xxxx.xxxx@xxxx;tag=HSmyyZc1rve0g
Call-ID: 40681bvu5qedu7lirtdc
CSeq: 1687 PUBLISH
Contact: sip:ip:port
Expires: 3600
User-Agent: FreeSWITCH-mod_sofia/1.8.1+git~20180724T160524Z~b33bc925c5~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
SIP-ETag: 9BhaaxGJ
Content-Length: 0
After all happened I am not able to publish presence status.  I found Content-Length as 0 and pidf message is not found.
Can anyone guide me what I am missing?

These are typically directed to the google group.


Accessing current request route info (basically RouteModel) from policy handler (HandleRequirementAsync)

Because, authorization middleware is configured before endpoints.MapReverseProxy(), {http context}.GetReverseProxyFeature() is null inside the authorization policy handler. But the handler is getting properly routed based on "AuthorizationPolicy" in the config. Would like to know how I could access the current route info (ex. routeId, match path etc )from within policy handler.
Thank you!

You can get RouteModel from the Endpoint Metadata:
https://github.com/microsoft/reverse-proxy/blob/0229054f36a30396c4d58e6ecdc8188b5c7d9fb4/src/ReverseProxy/Model/ProxyPipelineInitializerMiddleware.cs#L30-L33
GetReverseProxyFeature only works within the proxy middleware pipeline.

Perfect! That's exactly what I was looking for. Thanks much @Tratcher!

Triage: Answered above, closing.


chore: Use pyclean to reduce custom developer tooling

Reduces the code in the devtasks module replacing cleanup activity code by integrating pyclean in the development toolchain. PyClean is a tool focused on cleaning up Python bytecode and build artifacts.

`poetry install --with dev` (click to show output)
$ poetry install --with dev
Installing dependencies from lock file

Package operations: 33 installs, 0 updates, 0 removals

  - Installing distlib (0.3.7)
  - Installing exceptiongroup (1.1.0)
  - Installing filelock (3.13.0)
  - Installing iniconfig (2.0.0)
  - Installing platformdirs (3.11.0)
  - Installing pluggy (1.5.0)
  - Installing setuptools (68.1.2)
  - Installing tomli (2.0.1)
  - Installing cfgv (3.3.1)
  - Installing coverage (7.0.5)
  - Installing execnet (2.1.1)
  - Installing identify (2.5.13)
  - Installing mypy-extensions (1.0.0)
  - Installing nodeenv (1.7.0)
  - Installing pastel (0.2.1)
  - Installing ptyprocess (0.7.0)
  - Installing pytest (8.2.2)
  - Installing types-docutils (<IP_ADDRESS>40317)
  - Installing types-setuptools (<IP_ADDRESS>40317)
  - Installing virtualenv (20.24.6)
  - Installing mypy (1.10.0)
  - Installing pexpect (4.9.0)
  - Installing poethepoet (0.26.1)
  - Installing pre-commit (3.5.0)
  - Installing pyclean (3.0.0)
  - Installing pytest-cov (5.0.0)
  - Installing pytest-gitconfig (0.6.0)
  - Installing pytest-xdist (3.6.1)
  - Installing types-backports (0.1.3)
  - Installing types-colorama (<IP_ADDRESS>40311)
  - Installing types-psutil (<IP_ADDRESS>40621)
  - Installing types-pygments (<IP_ADDRESS>40506)
  - Installing types-pyyaml (<IP_ADDRESS>40311)

Installing the current project: copier (0.0.0)

`poe clean` (click to show output)
$ poe clean
Poe => pyclean . --debris --verbose
Debris topics to scan for: cache coverage package pytest ruff
Ignored directories: .git .hg .svn .tox .venv node_modules venv
Cleaning directory .
Skipping .git
Scanning for debris of Cache ...
Scanning for debris of Coverage ...
Scanning for debris of Package ...
Scanning for debris of Pytest ...
Scanning for debris of Ruff ...
Total 0 files, 0 directories removed.

Closes: #1669

Nix is a beast!—How can I add setuptools to the Python setup, so that PyClean installs successfully? Pytest also relies on setuptools and it installs fine. Why is this so hard to get it right?
Do I have to add a dedicated package definition to the development/python-modules pkgs of the nixpkgs repository?

Personally i never used this task. Could you just remove it?

Depending on what your personal relationship is to debris polluting your project workspace, it certainly makes sense to have a cleanup job at hand. Most people love a cleaned-up kitchen.—Maybe give it a try?

I think it is better to remove it. Anybody that wants to use it can simply install and run pyclean AFAICS. You can mention it in the contributing guide if you want!

Anybody that wants to use it can simply install and run pyclean AFAICS

pipx run pyclean . --debris --verbose

:+1:

I incorporated the changes as requested. I also rebased the PR. Checks are green, ready for merging. :rocket:


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit cd4c65b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update config

Major updates:

Can register both python tasks and yaml config into a task registry or a group registry.
Load from the list of registered tasks, groups, or a custom yaml file.
Inject a function to doc_to_text and/or doc_to_target incase using f-string or jinja doesn't cut it.
Load prompts from either a prompt registry or promptsource template.
Added a few datasets to showcase different usage.
Updated the filter mechanism.

@haileyschoelkopf

@haileyschoelkopf @StellaAthena I think we can merge this to big-refactor. I will prepare documentation on these new features in a separate PR. Just to keep it tractable.


Notification page : The time should show month (not months) when it is single

This should be 1 month

Would like to work on this.


Segmentation fault encountered in worker

I've successfully prepared the masks and the meta data. However when I run the training (as neptune run -x data --config configs/neptune.yaml main.py train --pipeline_name unet) I get the following error:
2018-08-27 14-54-31 ships-detection >>> training
/anaconda3/envs/neptune/lib/python3.5/site-packages/click/core.py:535: DtypeWarning: Columns (1) have mixed types. Specify dtype option on import or set low_memory=False.
  return callback(*args, **kwargs)
2018-08-27 14:54:31 steppy >>> initializing Step xy_train...
2018-08-27 14:54:31 steppy >>> initializing experiment directories under /Users/jonathan/devwork/open-solution-ship-detection/experiments
2018-08-27 14:54:31 steppy >>> done: initializing experiment directories
2018-08-27 14:54:31 steppy >>> Step xy_train initialized
2018-08-27 14:54:31 steppy >>> initializing Step xy_inference...
2018-08-27 14:54:31 steppy >>> initializing experiment directories under /Users/jonathan/devwork/open-solution-ship-detection/experiments
2018-08-27 14:54:31 steppy >>> done: initializing experiment directories
2018-08-27 14:54:31 steppy >>> Step xy_inference initialized
2018-08-27 14:54:31 steppy >>> initializing Step loader...
2018-08-27 14:54:31 steppy >>> initializing experiment directories under /Users/jonathan/devwork/open-solution-ship-detection/experiments
2018-08-27 14:54:31 steppy >>> done: initializing experiment directories
2018-08-27 14:54:31 steppy >>> Step loader initialized
/anaconda3/envs/neptune/lib/python3.5/site-packages/toolkit/pytorch_transformers/architectures/unet.py:22: UserWarning: Please make sure, that your input tensor's dimensions are divisible by (pool_stride ** repeat_blocks)
  warnings.warn("Please make sure, that your input tensor's dimensions are divisible by "
2018-08-27 14:54:32 steppy >>> initializing Step unet...
2018-08-27 14:54:32 steppy >>> initializing experiment directories under /Users/jonathan/devwork/open-solution-ship-detection/experiments
2018-08-27 14:54:32 steppy >>> done: initializing experiment directories
2018-08-27 14:54:32 steppy >>> Step unet initialized
2018-08-27 14:54:32 steppy >>> cleaning cache...
2018-08-27 14:54:32 steppy >>> cleaning cache done
2018-08-27 14:54:32 steppy >>> Step xy_train, adapting inputs...
2018-08-27 14:54:32 steppy >>> Step xy_train, transforming...
2018-08-27 14:54:32 steppy >>> Step xy_inference, adapting inputs...
2018-08-27 14:54:32 steppy >>> Step xy_inference, transforming...
2018-08-27 14:54:32 steppy >>> Step loader, adapting inputs...
2018-08-27 14:54:32 steppy >>> Step loader, transforming...
2018-08-27 14:54:32 steppy >>> Step unet, adapting inputs...
2018-08-27 14:54:32 steppy >>> Step unet, fitting and transforming...
2018-08-27 14:54:32 steppy >>> initializing model weights...
2018-08-27 14-54-32 ships-detection >>> starting training...
2018-08-27 14-54-32 ships-detection >>> initial lr: 0.0001
2018-08-27 14-54-32 ships-detection >>> epoch 0 ...
ERROR: Unexpected segmentation fault encountered in worker.
Traceback (most recent call last):
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/deepsense/neptune/job_wrapper.py", line 107, in <module>
    execute()
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/deepsense/neptune/job_wrapper.py", line 103, in execute
    execfile(job_filepath, job_globals)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/past/builtins/misc.py", line 82, in execfile
    exec_(code, myglobals, mylocals)
  File "main.py", line 89, in <module>
    main()
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "main.py", line 27, in train
    pipeline_manager.train(pipeline_name, dev_mode)
  File "/Users/jonathan/devwork/open-solution-ship-detection/src/pipeline_manager.py", line 28, in train
    train(pipeline_name, dev_mode)
  File "/Users/jonathan/devwork/open-solution-ship-detection/src/pipeline_manager.py", line 77, in train
    pipeline.fit_transform(data)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/steppy/base.py", line 323, in fit_transform
    step_output_data = self._cached_fit_transform(step_inputs)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/steppy/base.py", line 443, in _cached_fit_transform
    step_output_data = self.transformer.fit_transform(**step_inputs)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/steppy/base.py", line 605, in fit_transform
    self.fit(*args, **kwargs)
  File "/Users/jonathan/devwork/open-solution-ship-detection/src/models.py", line 68, in fit
    for batch_id, data in enumerate(batch_gen):
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 275, in __next__
    idx, batch = self._get_batch()
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 254, in _get_batch
    return self.data_queue.get()
  File "/anaconda3/envs/neptune/lib/python3.5/multiprocessing/queues.py", line 335, in get
    res = self._reader.recv_bytes()
  File "/anaconda3/envs/neptune/lib/python3.5/multiprocessing/connection.py", line 216, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/anaconda3/envs/neptune/lib/python3.5/multiprocessing/connection.py", line 407, in _recv_bytes
    buf = self._recv(4)
  File "/anaconda3/envs/neptune/lib/python3.5/multiprocessing/connection.py", line 379, in _recv
    chunk = read(handle, remaining)
  File "/anaconda3/envs/neptune/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 175, in handler
    _error_if_any_worker_fails()
RuntimeError: DataLoader worker (pid 33362) is killed by signal: Unknown signal: 0.
ERROR: Unexpected segmentation fault encountered in worker.
ERROR: Unexpected segmentation fault encountered in worker.

Do you have any ideas on this? Thank you very much.

@marketneutral I've encountered similar error from PyTorch DataLoader before and it was caused by exceeding RAM, could it be the same case for you? I'm not sure, but maybe looking at htop while running pipeline would give some clues about that.


tags in question model and sorted answers (backend)

'tags' field in question model and sorted answers

Currently, the 'getAnswers' route fetches answers and returns them in a random order
'tags' field in 'question' model is a string field

Describe the solution you'd like

sort the answers fetched by 'getAnswers' route (for a particular question) based on the number of upvotes
make the 'tags' field to an 'array of strings' field so that all tags are distinctly stored
after changing the 'tags' field, make the corresponding changes to 'searchQuestions' route

Do you want to work on this issue - [Yes/No] - Yes

@mitalirs go ahead