[C++] Potential regression on FieldRef/FieldPath non-flattening Get methods

Describe the bug, including details regarding any error messages, version, and platform.
I did not pay attention initially, but it seems https://github.com/apache/arrow/pull/35197 introduced a large regression on the wide-dataframe benchmark.
See benchmark results here:
https://conbench.ursa.dev/compare/runs/9cf73ac83f0a44179e6538b2c1c7babd...3d76cb5ffb8849bf8c3ea9b32d08b3b7/
Note the benchmark is creating a dataframe with 10000 columns.
Component(s)
C++

@benibus Would you have time to take a look at this?
It would be nice to add benchmarks for the non-flattening methods. They will also help measuring the slowdown before/after that PR.

@benibus @westonpace I was planning on waiting a couple days to create the next RC (Tuesday?) to see if this was able to make it to 13.0.0. If this sounds totally unreasonable let me know and I can create the new RC sooner as discussed on Zulip we might want to ship 13.0.0 with this known issue and apply the fix targeting 14.0.0.

@benibus any news here? I plan to create the new RC tomorrow unless there's possibility for this to be solved soon.

Should have a fix for this by the end of the week, provided my diagnosis is actually complete.
At the very least, the PR introduced substantial overhead for calling FieldPath::Get on record batches specifically. It seems this is due to a few instances where usages of RecordBatch::column_data() were replaced with columns(), which is far less trivial (it loads every column atomically on each invocation).
That being said, the two aren't exactly interchangeable in the implementation so there's some restructuring in order.


builds and installs after standalone brew

So... I'm having this super annoying time trying to build other stuff after I installed linuxbrew in standalone mode following the guide from the wiki. The build went excellent (for the most part) - had to install Xlib myself but that was fine in the end, just a bit time consuming.
Anyway. Now that I finished installing most parts with brew install I wanted to build install python packages with pip for example, numpy, which gives me:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-1h13mstr/numpy/setup.py", line 251, in <module>
        setup_package()
      File "/tmp/pip-build-1h13mstr/numpy/setup.py", line 243, in setup_package
        setup(**metadata)
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/core.py", line 169, in setup
        return old_setup(**new_attr)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/install.py", line 62, in run
        r = self.setuptools_run()
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/install.py", line 36, in setuptools_run
        return distutils_install.run(self)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/command/install.py", line 539, in run
        self.run_command('build')
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/build.py", line 39, in run
        old_build.run(self)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/command/build.py", line 126, in run
        self.run_command(cmd_name)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/ichec/home/users/razvan/.local/opt/python3/lib/python3.4/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/build_src.py", line 153, in run
        self.build_sources()
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/build_src.py", line 170, in build_sources
        self.build_extension_sources(ext)
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/build_src.py", line 329, in build_extension_sources
        sources = self.generate_sources(sources, ext)
      File "/tmp/pip-build-1h13mstr/numpy/numpy/distutils/command/build_src.py", line 386, in generate_sources
        source = func(extension, build_dir)
      File "numpy/core/setup.py", line 432, in generate_config_h
        moredefs, ignored = cocache.check_types(config_cmd, ext, build_dir)
      File "numpy/core/setup.py", line 42, in check_types
        out = check_types(*a, **kw)
      File "numpy/core/setup.py", line 293, in check_types
        "Cannot compile 'Python.h'. Perhaps you need to "\
    SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.

    ----------------------------------------
/ichec/home/users/razvan/.local/lib/python3.4/site-packages/pip-7.0.3-py3.4.egg/pip/commands/install.py:197: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
  cmdoptions.check_install_build_global(options)
Command "/ichec/home/users/razvan/.local/opt/python3/bin/python3.4 -c "import setuptools, tokenize;__file__='/tmp/pip-build-1h13mstr/numpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zev6oikk-record/install-record.txt --single-version-externally-managed --compile --prefix= --user" failed with error code 1 in /tmp/pip-build-1h13mstr/numpy

How can I instruct things that I want to build to use the linuxbrew standalone install?... because it is searching in the wrong places. Another example, I tried building atom.io, but with no luck, one module gives me this error:
Installing apm...

module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /ichec/home/users/razvan/Downloads/atom-master/apm/node_modules/atom-package-manager/node_modules/git-utils/build/Release/git.node)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/ichec/home/users/razvan/Downloads/atom-master/apm/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:8:16)
    at Object.<anonymous> (/ichec/home/users/razvan/Downloads/atom-master/apm/node_modules/atom-package-manager/node_modules/git-utils/lib/git.js:371:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

If I use patchelf I get:
razvan@fionn1:~/Downloads/atom-master> patchelf --set-rpath='$HOME/.local/lib' node script/build
stat: No such file or directory

But I do have stat:
razvan@fionn1:~/Downloads/atom-master> which stat
/ichec/home/users/razvan/.local/bin/stat

Please advise and help? (I also can't use LD_LIBRARY_PATH any more cause I get: razvan@fionn1:~/Downloads/atom-master> LD_LIBRARY_PATH=$HOME/.local/lib node script/build /bin/sh: error while loading shared libraries: __vdso_time: invalid mode for dlopen(): Invalid argument)... so I'm kind of stuck.
Thanks!

So for anyone who's interested, I made a little progress, managed to build and install numpy using pip with the following command:
C_INCLUDE_PATH=build/src.linux-x86_64-3.4/numpy/core/src/private:$HOME/.local/include/python3.4m/:$HOME/.local/include/ LAPACK=$HOME/.local/ BLAS=$HOME/.local/ pip3 install --verbose --user --install-option='--prefix=' nump

I've been looking a bit more at the gcc's envirnoment variables and I think I'll experiment next with CPATH and LDFLAGS (for building atom that is, cause this particular one wants to build against the system glibc which is why it doesn't work...)

patchelf --set-rpath='$HOME/.local/lib' node script/build

Use double-quotes around $HOME. Compare the output of
echo patchelf --set-rpath='$HOME/.local/lib' node script/build
echo patchelf --set-rpath="$HOME/.local/lib" node script/build

Re C_INCLUDE_PATH, that's a helpful tip. Thanks!


fix: some bugfix about skill

Description
some bugfix about skill
Can not delete skill folder when connecting to skill by zip

Reason
Use the default folder structure of zip. But the zip structure may dont use skill name as folder name, so the skill name is not match to the folder name, we can not find the skill name folder when deleting a skill. Like the below image show, the folder name is manifest, but the skill name is empty.

Solution
Replace the folder name with skill name.

Can not select zip second time after fill a invalid url

Reason
file input component can not trigger onChange function when the selected file is the same.
Solution
Clean up input value after unzip selected zip file.

replace real url with mock url for api test
    const url = 'https://xxx/manifests/Empty_45-2-1-manifest.json';

Task Item
#minor
Screenshots

Coverage increased (+0.008%) to 56.266% when pulling 9c8f48c89411c04317d3174a850e96afaa82c5b8 on julong/skill-bugfix into f833d8e52f6a58014b29ee0ef7203bf2c2fac44e on main.


Billy/738 electron update

Closes #738
Description: Update Electron version

none of the changes listed on https://electronjs.org/releases seem to effect us.


Farmer constantly bans remote harvester

Remote harvester (e.g. <IP_ADDRESS>) successfully connects to the farmer (<IP_ADDRESS>) and starts responding to the challenges by looking for the "eligible for farming" plots, but after a short while the farmer closes the connection:
2021-06-21T13:19:06.784 harvester harvester_server        : INFO     Connection closed: <IP_ADDRESS>, node id: d7409c0adc2e403f7639918ab19c8123504cdcd16092a8beefcf293e0be5d49e 2021-06-21T13:19:06.785 harvester spare.harvester.harvester: INFO     peer disconnected {'host': '<IP_ADDRESS>', 'port': 9447}
In the farmer log you see the following about the disconnected harvester:
2021-06-21T13:20:49.213 farmer farmer_server              : ERROR    Exception: , {'host': '<IP_ADDRESS>', 'port': 9448}. Traceback (most recent call last): 2021-06-21T13:20:49.215 farmer farmer_server              : ERROR    Exception:  <class 'AssertionError'>, closing connection {'host': '<IP_ADDRESS>', 'port': 9448}. Traceback (most recent call last): 2021-06-21T13:20:49.216 farmer farmer_server              : INFO     Connection closed: <IP_ADDRESS>, node id: 886217b34697009b6fd18ab2d9e4cfdd82ca72b824389f02317b27a66a8774b4 2021-06-21T13:20:49.217 farmer farmer_server              : WARNING  Banning <IP_ADDRESS> for 10 seconds 2021-06-21T13:20:49.217 farmer spare.farmer.farmer        : INFO     peer disconnected {'host': '<IP_ADDRESS>', 'port': 9448}
The above happens many times - harvester reconnects, works for a short while and then is disconnected from the farmer.
:(

I see that the disconnections always occur after the harvester finds a proof and sends it to the farmer - always after Found 1 proofs. - see below.
What could cause the farmer to disconnect the harvester upon found proof?
021-06-21T13:51:09.853 harvester spare.harvester.harvester: INFO     3 plots were eligible for farming aecc81e2e4... Found 0 proofs. Time: 0.34272 s. Total xxx plots
2021-06-21T13:51:21.195 harvester spare.harvester.harvester: INFO     4 plots were eligible for farming aecc81e2e4... Found 1 proofs. Time: 0.87133 s. Total xxx plots
2021-06-21T13:51:21.201 harvester harvester_server        : INFO     Connection closed: <IP_ADDRESS>, node id: d7409c0adc2e403f7639918ab19c8123504cdcd16092a8beefcf293e0be5d49e
2021-06-21T13:51:21.202 harvester spare.harvester.harvester: INFO     peer disconnected {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:21.445 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:24.469 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:27.502 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:30.572 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:33.642 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:33.663 harvester harvester_server        : INFO     Connected with farmer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:51:33.785 harvester spare.plotting.plot_tools: INFO     Searching directories [.....]
2021-06-21T13:51:34.526 harvester spare.plotting.plot_tools: INFO     Loaded a total of xxx plots ...
2021-06-21T13:51:43.832 harvester spare.harvester.harvester: INFO     8 plots were eligible for farming aecc81e2e4... Found 0 proofs. Time: 0.42082 s. Total xxx plots
2021-06-21T13:51:58.060 harvester spare.harvester.harvester: INFO     4 plots were eligible for farming aecc81e2e4... Found 1 proofs. Time: 0.85561 s. Total xxx plots
2021-06-21T13:51:58.074 harvester harvester_server        : INFO     Connection closed: <IP_ADDRESS>, node id: d7409c0adc2e403f7639918ab19c8123504cdcd16092a8beefcf293e0be5d49e
2021-06-21T13:51:58.075 harvester spare.harvester.harvester: INFO     peer disconnected {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:52:00.691 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:52:03.713 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:52:06.743 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:52:09.822 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:52:09.906 harvester harvester_server        : INFO     Connected with farmer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-06-21T13:52:10.281 harvester spare.plotting.plot_tools: INFO     Searching directories [.....]
2021-06-21T13:52:11.075 harvester spare.plotting.plot_tools: INFO     Loaded a total of xxx plots ...

@LeonidShamis ,thank you for opening this issue , we will investigate and respond with solution ASAP

Banning happens after some validation failed. I wonder if your proof of space was invalid to farmer. Maybe your proof doesn't match your private keys in your farmer?

I have identified the root cause and resolved the problem. It was due to the wrong GENESIS_CHALLENGE in harvester's config. When Spare blockchain release and update (re-launched), I only updated the farmer to save time. I didn't update the harvester configuration. After updating the harvester config with the correct GENESIS_CHALLENGE, the issue is now resolved. Thank you.


interrupt stream if trigger say() while waiting for play task

UPDATE (05/31/24): This has mitigated the issue where a say() task sneaks in while the LLMStream is waiting. However, this fix may have side effects as we (Assort) just ran into the same issue, but with 2 LLMStreams being synthesized at the same time.
Ran into an issue where we have two self._playing_tasks running at the same time, resulting in audio issues.
To Reproduce This Issue:

Add the following listener to the minimal_assistant.py script:
assistant.on("agent_stopped_speaking", lambda: asyncio.create_task(assistant.say("This is a long message that run in parallel with the following LLMStream. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec purus nec nunc ultricies ultricies.")))

Start the agent and say some things, making sure that your interrupting it a couple of times. Eventually, you should hear the agent become inaudible (it will sound like it's trying to say 2 things at once).

Please lmk if there are better ways to approach this.

Update: Updating to the most recent livekit-agents 0.7.0 seems to have fixed this issue. Closing this out


[question] [sync]Waiting enough peers to sync, current: 4 peers, min peers: 5

2022-12-23T11:56:16.090342225+08:00 INFO - [sync]Waiting enough peers to sync, current: 4 peers, min peers: 5
2022-12-23T11:56:16.612316800+08:00 INFO - network banned peer 12D3KooWB9vGtpgqyD2cG4PTEU1SHSuWV6PErMPJFbbi5vYpkj3H for 300 secs
2022-12-23T11:56:16.612492921+08:00 INFO - network banned peer 12D3KooWB9vGtpgqyD2cG4PTEU1SHSuWV6PErMPJFbbi5vYpkj3H for 300 secs
2022-12-23T11:56:16.612561775+08:00 INFO - network banned peer 12D3KooWB9vGtpgqyD2cG4PTEU1SHSuWV6PErMPJFbbi5vYpkj3H for 300 secs
2022-12-23T11:56:16.612746831+08:00 INFO - network banned peer 12D3KooWLKo5X7yntEaAhUTh62ksD8pwsSu7CyTgZ76bRcStHF7x for 300 secs
2022-12-23T11:56:16.612808853+08:00 INFO - network banned peer 12D3KooWLKo5X7yntEaAhUTh62ksD8pwsSu7CyTgZ76bRcStHF7x for 300 secs
2022-12-23T11:56:16.612876403+08:00 INFO - network banned peer 12D3KooWLKo5X7yntEaAhUTh62ksD8pwsSu7CyTgZ76bRcStHF7x for 300 secs
2022-12-23T11:56:16.613030766+08:00 INFO - network banned peer 12D3KooWH13WqMtEPQfEHHU8riaHt6L2oPLvN7GTin14AziTdukw for 300 secs
2022-12-23T11:56:16.613096197+08:00 INFO - network banned peer 12D3KooWH13WqMtEPQfEHHU8riaHt6L2oPLvN7GTin14AziTdukw for 300 secs
2022-12-23T11:56:16.613147463+08:00 INFO - network banned peer 12D3KooWH13WqMtEPQfEHHU8riaHt6L2oPLvN7GTin14AziTdukw for 300 secs
2022-12-23T11:56:17.092144845+08:00 INFO - [sync]Waiting enough peers to sync, current: 4 peers, min peers: 5
集成在代码里的几个seed，有几个总是被banned，造成peer不足，无法同步区块

重复提交关闭


some VNET peerings missing from DrawIO diagram

I am experiencing an issue where some of the VNET peerings are not included in the DrawIO diagram. The peerings are in the Excel spreadsheet. I can't find a common denominator with the missing peerings, other than that most VNETs that are missing one or more peerings seem to part of a circular peering relationship. I have run the ARI multiple times, both directly from PowerShell and using CLI, and the result is always the same missing peerings.

Hello @bendik2000
If I understood correctly your issue and I'm not mistaken that is kind of expected.
Due to how the diagram is build, adding these peerings would represent duplicate the same VNET right? Or is this a different situation?

Hi Claudio, thanks for your reply.
No they're not duplicate peerings, here is a screenshot to make it clearer, I have removed names and IPs. The black peering lines are the ones included in the diagram, the red lines are peerings that were missing that I have added manually. There are other peerings missing on other networks, and all these are active two way peerings with state "connected" in Azure. A lot of them are obvioulsy unnecessary, but that's what I am trying to use the tool for, removing unnecessary peerings and restructuring the peering. Most of the other lines going outside the screenshot are VPN connections, not peerings.

Hi @bendik2000
That is going to take a little longer to troubleshoot.
The missing peerings are present in the excel report?

.

Im experiencing the same issues. Peerings are listed in the excel but dont appear in the diagram. For example I have 44 different vnets with 36 different peerings between and only two are displayed in the diagram.


Enabling crossfiltering on analytics graphs to make it more interactive

Is your feature request related to a problem? Please describe.
We can add cross filter which can help to see the graph based on other criteria. Like If a user click on female gender on piechart then all the graph displayed should be based on that gender.
Describe the solution you'd like
We will use frame works which allows crossfiltering. For that we will be using D3.js and Dc.js.

An interactive dashboard like this example:
http://bl.ocks.org/jun9/raw/5631952/

Thanks for raising the issue.
Can you provide more details on which all graphs would come under the filters?
Also, what would be the placement, an overall UI?

except for Patient nationality, I can connect all 5. Like if a user click on the recovered graph from the total cases. It will show all the graphs related to recovered cases. Patient gender and age who recovered and also the states recovery line graph.
Similarly, thing will be observed via all the other 4 graph.
But I can see there are 3 JSON files. first 2 and below two have the same JSON file. So they can be cross filtered easily.
First three can be made to link each other by dates so cross-filtering can be done for them. the bottom two can be made to link with the above three but that's will be a bit tricky as they are different data, one is based on overall cases not considering gender, age.
The JSON for age and gender looks like this. Through this, I can capture datewise data for state cases, total active/recovered/death cases.
agebracket: "20"
backupnotes: "Student from Wuhan"
contractedfromwhichpatientsuspected: ""
currentstatus: "Recovered"
dateannounced: "30/01/2020"
detectedcity: "Thrissur"
detecteddistrict: "Thrissur"
detectedstate: "Kerala"
estimatedonsetdate: ""
gender: "F"
nationality: "India"
notes: "Travelled from Wuhan"
patientnumber: "1"
source1: "https://twitter.com/vijayanpinarayi/status/1222819465143832577"
source2: "https://weather.com/en-IN/india/news/news/2020-02-14-kerala-defeats-coronavirus-indias-three-covid-19-patients-successfully"
source3: ""
statecode: "KL"
statepatientnumber: "KL-TS-P1"
statuschangedate: "14/02/2020"
typeoftransmission: "Imported"

@jeremyphilemon @JunaidBabu thoughts?

We're currently in need of something similar to this, we're also looking forward to porting the deep dive to D3.js. @ninjakx would you like to help us with this?

@jeremyphilemon: I would like to. I have just started working on dc.js and d3.js 2-3 weeks ago. I don't know how much time it will take with this data. Also, I can't find state district historical data. Do you have api for that also? I can see the api for the current one.

@ninjakx, thanks for the PR! We've unfortunately deprecated DeepDive at the moment, but we're working on a refactored version which will be out soon.
Also we'll be posting issues about the refactored deep dive soon, so please keep an eye out for that and your PRs will be very appreciated :)


Docusign not available to other colleges

COE User:

Solution:
Use the same service account in multiple UCD accounts (like CAES &. ENGR) and we only need to get user consent once.
Afterwards, follow the normal instructions on getting an access token and then query the https://account.docusign.com/oauth/userinfo endpoint and you'll see multiple accounts under the "accounts" section. Grab the BaseURI and AccountID, you'll need those values whenever you want to act as behalf of the user in that given account.

Alright, in order to build this, we'll want to do the following:

[ ] on the docusign settings page for team admins (ex https://peaks-test.ucdavis.edu/caes-cru/DocumentSettings), remove everything that is there and just display a list of all DocuSign accounts that are available to our service account, which you can get via the API.  If the API is difficult for this step, just copy the default accountID from the secrets file and use that for now

[ ] when an account is chosen on the docusign settings page, store the accountID and associated docusign baseURL in the database, similar to how we store TeamApiCode.  This will require some database modification, and you can remove anything that is there now in the TeamDocumentSetting table since that'll no longer be needed.

[ ] Now modify the Document class to include accountID and baseURL for each entry. you'll need them to lookup envelope info.

[ ] Modify methods in the DocumentSigningService so they are account independent -- Wherever we used to pull from _documentSigningSettings.AccountId or _documentSigningSettings.ApiBasePath we now have to get that information dynamically (either from the document itself or from the team settings).

[ ] Modify so when you click on + Add Document it uses the team settings to query for the list of templates available instead of pulling from the manually created db list.

I think that should be about it -- the basic overall goal here is that we need to remove the static accountId and ApiBasePath from the config and have it be dynamic based on what a team chooses, and what a specific document was created under.
Most of the API surface shouldn't have to change much, but there are good C# samples here if you need it https://github.com/docusign/code-examples-csharp and the API reference is good too https://developers.docusign.com/docs/esign-rest-api/reference.

Not finding anything obvious in the esign-rest-api docs linked above. Perhaps getOrganizations in the admin-api (https://developers.docusign.com/docs/admin-api/reference/accounts/accounts/getorganizations/) is what I'm looking for? It includes a list of organizations along with a list of accounts per organization.

This is the endpoint you want: https://developers.docusign.com/platform/auth/reference/user-info/.  Basically we want to know all of the accounts (not organizations, there is only one ORG) that the service account has access to, and that API endpoint will return that info.


2.8beta2 deb

Hi could you please release 2.8beta2 deb for Debian 8?
And can you reopen https://github.com/arangodb/arangodb/issues/1583 I added comment there, it's not fixed yet.
Thanks
Roman

@roman1720 Beta2 is now available for download: https://www.arangodb.com/download-preview/

Thank you


Running flutter emulators --create always default to api 27

I have other system-images installed, but when running flutter emulators--create, it always asks for playstore api 27 image. I think it should find installed images instead of forcing to download another unnecessary image.

Currently, if we run flutter emulators --create, the tool shows below message:
No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example: sdkmanager "system-images;android-27;google_apis_playstore;x86.
Is this what you are referring to ?
Also, as the message says to install the api 27 as an example, but you may install api of your choice, like system-images;android-28 or so on.

I've installed both system-images;android-26;google_apis;x86_64 and system-images;android-1;google_apis;x86_64 but when running the flutter emulators --create command, it always shows No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example: sdkmanager "system-images;android-27;google_apis_playstore;x86

I've just downloaded system-images;android-31;google_apis_playstore;x86_64 and run the command again. It worked. Maybe the command only accept images with playstore API.

Having a playstore API is recommended since it gives more features to be used in the emulator.
With this, I will close this as non-issue. If you disagree, write in comments and I'll reopen it.
Thanks.


Add SvgIcon component

Im thinking now that the SvgIcon is a component not a util. However, there are too many changes to that file down the chain so I will have to move it later.

svgIcons.js:

Line 56: fill is not a valid style attribute for divs. Do you mean background-color?
Line 60: Remove blank line.

Line 56: fill is not a valid style attribute for divs. Do you mean background-color?

It is the correct attribute to change the SVG color.  I used the same style tag in Pyregence.


pythonPackages.afdko: 3.5.1 -> 3.6.0

Motivation for this change
https://github.com/adobe-type-tools/afdko/blob/3.6.0/NEWS.md#360-released-2020-12-17
Needs merge of dependency updates first:

[x] #107408
[x] #107406
[x] #106535
[x] #103818

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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 107412 run on x86_64-darwin 1

7 packages failed to build:

noto-fonts-emoji
python37Packages.afdko
python37Packages.nototools
python38Packages.afdko
python38Packages.nototools
python39Packages.afdko
python39Packages.nototools

afdko:
error: [Errno 2] No such file or directory: 'c/build_all/detype1'

Expected right now, since required changes are not yet merged (see first comment). Just wanted to open this so it's visible that there has been some work done towards an afdko update :)

@ofborg build python3Packages.afdko python3Packages.nototools


Refactor migrations commands to prevent subtle concurrency bugs

stacked on top of: https://github.com/ocurity/dracon/pull/161

6dd5f567dd8d6d1446d36c8c3d1914d62711d486 - fixes 159: modify draconctl compiling make target to always build binary
The previous version of the draconctl compiling make target would only
compile the binary if the binary didn't exist in the expected path. This
however is a problem if the code changes, because Makefile doesn't have
the ability to track that and recompile the binary. This commit changes
the target to be a phony one so that the binary is always recompiled if
necessary. Go internally is able to track changes and produce a new
binary only when needed, so this shouldn't cause anything to slow down
but it will definitely improve the development process.

1e01522bc39dea5c9662d54b7c8f78e272f66510 - fixes 153: refactor 'draconctl migrations apply' command
The previous version of the 'migrations apply' command suffered from a
couple of shortcomings:

The code tracking the logs and success of the generated pods was
fairly complex and monolithic
there were no tests for the pod tracking code
if the code polling for new pods found one that had succeeded it
would not show in the output the logs of the pod and it would exit
immediately which could cause a user to misunderstand what was
happening.
If a SIGTERM signal was sent to the process inside the pod, the
leader election loop was not terminated cleanly
there was no proper error management since the last error would be
returned which could be the signal handler having its channel closed
or the leader election failure hook being invoked because the success
of the command triggered the code to release the lock.

All the above issues are fixed with this commit that does the following:

the code tracking the progress of the pods is split away into the
pkg/k8s package
the tracking of the pod logs is split away from the pod polling
functionality and the job watching functionality to make it easier to
test.
the leader election loop has been modified to use the sync.Once
object to make sure that only the first error that triggers the exit
of the main loop is recorded, so that we can get a better idea of
what happened.
a timeout parameter is introduced and a more careful use of contexts
with timeouts is used to ensure that the code gracefully shuts down.

It looks very out of date - feel free to re-open it if relevant


Hidden stack overflow? (IDFGH-7969)

Hi,
ENVIRONMENT<EMAIL_ADDRESS>-> ESP-IDF 4.3
I am having a crash when starting my device, but it is not happening consistently, it happens only sometimes and there is no way to reproduce it.
I would like to know if this may be related to stack overflow problem. If so, how can I increase stack size for main task?
The main task is the only task running when creashing.
Core  0 register dump:
PC      : 0x40093aad  PS      : 0x00060330  A0      : 0x8012f41a  A1      : 0x3ffbacc0
A2      : 0xc000b83f  A3      : 0xffffffff  A4      : 0x00060b20  A5      : 0x08000000
A6      : 0x00000009  A7      : 0x3ffbab94  A8      : 0x3ffc3e14  A9      : 0x00000001
A10     : 0x00000000  A11     : 0x00060323  A12     : 0x3f400464  A13     : 0x3f4001f8
A14     : 0x00000400  A15     : 0x3f400bdc  SAR     : 0x00000004  EXCCAUSE: 0x0000001c
EXCVADDR: 0xc000b87f  LBEG    : 0x400014fd  LEND    : 0x4000150d  LCOUNT  : 0xfffffffc

Backtrace:0x40093aaa:0x3ffbacc0 0x4012f417:0x3ffbad00 0x400dc207:0x3ffbad40 0x400dd08d:0x3ffbad80 0x400dd09f:0x3ffbada0 0x400dd307:0x3ffbadc0 0x400dd371:0x3ffbade0 0x400d9075:0x3ffbae00 0x400d3a47:0x3ffbae20 0x400d4b01:0x3ffbae40 0x400d577e:0x3ffbae60 0x400d6cb3:0x3ffbae90 0x401c5b27:0x3ffbafd0 0x40095db9:0x3ffbaff0
  #0  0x40093aaa:0x3ffbacc0 in xQueueSemaphoreTake at C:\Users\jr.hernandez\.platformio\packages\framework-espidf\components\freertos/queue.c:1447 (discriminator 1)
  #1  0x4012f417:0x3ffbad00 in uart_flush_input at C:\Users\jr.hernandez\.platformio\packages\framework-espidf\components\driver/uart.c:1270 (discriminator 2)
  #2  0x400dc207:0x3ffbad40 in SI_execute at lib/SERIAL_INTERFACE/serial_interface.c:297
  #3  0x400dd08d:0x3ffbad80 in is_attached at lib_prj/BG95/bg95.c:535
  #4  0x400dd09f:0x3ffbada0 in detach at lib_prj/BG95/bg95.c:553
  #5  0x400dd307:0x3ffbadc0 in BG95_off_avd at lib_prj/BG95/bg95.c:758
  #6  0x400dd371:0x3ffbade0 in BG95_off at lib_prj/BG95/bg95.c:732
  #7  0x400d9075:0x3ffbae00 in SEND_get_barcodes_to_file at src/send_manager.c:2178
  #8  0x400d3a47:0x3ffbae20 in HD_rx_barcodes_to_file at src/main.c:970
  #9  0x400d4b01:0x3ffbae40 in SYSTEM_notify at src/main.c:1714
  #10 0x400d577e:0x3ffbae60 in SYSTEM_setup at src/main.c:1917
  #11 0x400d6cb3:0x3ffbae90 in app_main at src/main.c:6600
  #12 0x401c5b27:0x3ffbafd0 in main_task at C:\Users\jr.hernandez\.platformio\packages\framework-espidf\components\freertos\port/port_common.c:133 (discriminator 2)
  #13 0x40095db9:0x3ffbaff0 in vPortTaskWrapper at C:\Users\jr.hernandez\.platformio\packages\framework-espidf\components\freertos\port\xtensa/port.c:168

ELF file SHA256:<PHONE_NUMBER>373436

Rebooting...

Boot!...

I would like to know if this may be related to stack overflow problem. If so, how can I increase stack size for main task?
I have tried to check usStackHighWaterMark, but not sure how to get xHandle for main task.
Regards, Ramon.

I have decreased main stack from 3584 to 2000 and problem did not happen.

Hi,
Your panic output does seem to indicate some kind of memory corruption (See the invalid addressEXCVADDR = 0xc000b87f)
There are some hints on how to debug heap corruption here.
Try to enable Heap poisning and stackoverflow detection before running it again and see if that can help you track down the issue.

I have decreased main stack from 3584 to 2000 and problem did not reproduce. Below 2000 it crashses, but caused by other funtions.

Did you try to increase the stacksize a lot and see if that solved the issue? E.g. increase it to 8000 bytes.

I have tried to check usStackHighWaterMark, but not sure how to get xHandle for main task.
Calling uxTaskGetStackHighWaterMark(NULL) from your task should be sufficient to give you the watermark.

Thanks for the tip !
Yes, I increased stack to 4000 and enable detection. Let´s see if gets reproduced.

Closing this issue due to lack of activity, feel free to reopen it if the issue still occurs and you want to continue the investigation.


idea: Add parquet arrow async write/read support

We can implement native parquet arrow support to make our users happy:

Read: https://docs.rs/parquet/latest/parquet/arrow/async_reader/trait.AsyncFileReader.html
Write: https://docs.rs/parquet/latest/parquet/arrow/async_writer/trait.AsyncFileWriter.html

By implementing this integration, users can avoid using the low-performance AsyncRead/AsyncWrite trait or creating their own shims.
Steps:

[ ] #4958
[ ] AsynFileReader
[ ] Add Readme

Interesting, I'm going to have a try🤩

Interesting, I'm going to have a try🤩

Perfect!

Perhaps we could include a integrations/parquet.

I'm considering introducing multiple versions of parquet via
[dependencies]
parquet_51 = { package = "parquet", version = "51.0", optional: true }
parquet_52 = { package = "parquet", version = "52.0", optional: true }

Due to we are still using parquet 51.0.0 🥲. Would you like to have any ideas? cc @waynexia

Since arrow's release going to be stable, maybe we can keep track with upstream instead?

Since arrow's release going to be stable, maybe we can keep track with upstream instead?

Make sense🥹

For AsyncFileReader, I am considering introducing a feature to merge small ranges into a large chunk(e.g., https://github.com/datafuselabs/databend/blob/a98335d33e7abfd34189e7f32c06ab34d53c64d0/src/query/storages/fuse/src/io/read/block/block_reader_merge_io_async.rs#L46-L68). Would you like to have any idea?

Depends on multiple versions of parquet may bring lots of burdens on maintenance, especially when the versions increase. This is usually achieved via maintaining multiple branches and are released separately to migrate the API change of parquet, which doesn't seems to match our situation at present neither. So I prefer not to have this at least at beginning. We can reconsider this when there's a real requirement like a specific version of parquet is LTS and used widely.

For AsyncFileReader, I am considering introducing a feature to merge small ranges into a large chunk(e.g., datafuselabs/databend@a98335d/src/query/storages/fuse/src/io/read/block/block_reader_merge_io_async.rs#L46-L68). Would you like to have any ideas?

Seems we can use Reader::fetch internally.

Seems we can use Reader::fetch internally.

Cool!


Fix installation of 'license-detector'

Test name
Status

init-deploy
passed

self-healing
passed

recreate
passed

scaling
passed

big-data
passed

scaling-proxysql
passed

storage
failed

self-healing-advanced
passed

demand-backup
passed

upgrade
passed

operator-self-healing
passed

upgrade-consistency
passed

limits
passed

one-pod
passed

scheduled-backup
passed

auto-tuning
passed

monitoring
passed

monitoring-2-0
passed

affinity
passed

proxysql-sidecar-res-limits
passed


Improve Python wheel support

Description
This PR tweaks a few things to improve CoreNEURON support in NEURON's Python wheels.

Use new NRN_WHEEL_BUILD option to avoid adding a build flag that is not widely supported. This option is added in https://github.com/neuronsimulator/nrn/pull/1661.
Make nrnivmodl -coreneuron fail in GPU builds if a non-NVC++ compiler is used.

Progress towards https://github.com/BlueBrain/CoreNeuron/issues/672.
Use certain branches for the SimulationStack CI
CI_BRANCHES:NEURON_BRANCH=olupton/wheel-testing

Codecov Report

Merging #785 (6109203) into master (856cea4) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 6109203 differs from pull request most recent head e86ed6c. Consider uploading reports for the commit e86ed6c to get more accurate results

@@           Coverage Diff           @@
##           master     #785   +/-   ##
=======================================
  Coverage   56.00%   56.00%
=======================================
  Files         108      108
  Lines        9003     9003
=======================================
  Hits         5042     5042
  Misses       3961     3961

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 856cea4...e86ed6c. Read the comment docs.


integration & e2e tests for KDM

Introduce testing for KDM that runs v2prov tests on PR.

Closing in favor of https://github.com/rancher/rancher/issues/43585


Add map functions for Maybe monad

if_some_map: (X -> Y) -> (X | None -> Y | None)
if_none_map: (None -> X | Y) -> (None | X -> Y | X)

Rejected due to #11 (Merged into develop in #12). Coming in v0.0.4


BUG: optimize.nnls sometimes fails when input A is a Fortran order array

Describe your issue.
Lastest stable version of scipy.optimize.nnls (1.13.1) is sometimes sensitive to input array memory layout. For certain input arrays, nnls works fine with c-contiguous arrays, but raises RuntimeError for Fortran order arrays.
Interestingly, the reproducibility of this error is very sensitive to the values of the array (see example below).
Older version of nnls (scipy 1.11.4, written in Fortran) always work fine. As far as I know, This error appears on multiple platforms (MacOS, Ubuntu) and multiple python versions (3.8, 3.9, 3.10, 3.12)
Reproducing Code Example
import numpy as np
from scipy.optimize import nnls

A1 = np.array(
    [
        [
            5.6804456109393231e-01,
            7.7293613312687126e-01,
            5.3596749047874905e-02,
            6.6478181730523378e-01,
        ],
        [
            9.2559663829266103e-01,
            8.7034572210281691e-01,
            3.6157431133730261e-01,
            4.8690183372106080e-02,
        ],
        [
            7.1036058197886942e-02,
            9.7838908691940440e-01,
            3.3106681832243329e-01,
            7.0049535992329526e-01,
        ],
        [
            2.0000000000000000e02,
            2.0000000000000000e02,
            2.0000000000000000e02,
            2.0000000000000000e02,
        ],
    ]
)

b1 = np.array(
    [5.680445610939323e-01, 9.255966382926610e-01, 7.103605819788694e-02, 2.000000000000000e02]
)

A2 = np.asfortranarray(A1)
b2 = b1  # or b2 = np.asfortranarray(b1), both will raise Error

print(nnls(A1, b1))  # This works
print(nnls(A2, b2))  # This raises RuntimeError("Maximum number of iterations reached.")
# Won't be fixed even if ``maxiter`` is set to 1000

"""
Interestingly, when using lower precision but almost same values, There will not be any error:
A1 = np.array(
    [
        [5.68044561e-01, 7.72936133e-01, 5.35967490e-02, 6.64781817e-01],
        [9.25596638e-01, 8.70345722e-01, 3.61574311e-01, 4.86901834e-02],
        [7.10360582e-02, 9.78389087e-01, 3.31066818e-01, 7.00495360e-01],
        [2.00000000e02, 2.00000000e02, 2.00000000e02, 2.00000000e02],
    ]
)

b1 = np.array(
    [5.68044561e-01, 9.25596638e-01, 7.10360582e-02, 2.00000000e02],
)

A2 = np.asfortranarray(A1)
b2 = b1

print(nnls(A1, b1))  # This works
print(nnls(A2, b2))  # This works

"""

Error message
Traceback (most recent call last):
  File "/Users/zwang505/Code/archetypes/examples/test_nnls.py", line 41, in <module>
    print(nnls(A2, b2))  # This raises RuntimeError("Maximum number of iterations reached.")
  File "/Users/zwang505/Code/archetypes/.venv/lib/python3.9/site-packages/scipy/optimize/_nnls.py", line 93, in nnls
    raise RuntimeError("Maximum number of iterations reached.")
RuntimeError: Maximum number of iterations reached.

SciPy/NumPy/Python version and system information
1.13.1 1.26.4 sys.version_info(major=3, minor=9, micro=18, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /opt/arm64-builds/include
    lib directory: /opt/arm64-builds/lib
    name: openblas
    openblas configuration: USE_64BITINT=0 DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=64
    pc file directory: /opt/arm64-builds/lib/pkgconfig
    version: 0.3.27
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /opt/arm64-builds/include
    lib directory: /opt/arm64-builds/lib
    name: openblas
    openblas configuration: USE_64BITINT=0 DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=64
    pc file directory: /opt/arm64-builds/lib/pkgconfig
    version: 0.3.27
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.12.0
Compilers:
  c:
    commands: cc
    linker: ld64
    name: clang
    version: 15.0.0
  c++:
    commands: c++
    linker: ld64
    name: clang
    version: 15.0.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 3.0.10
  fortran:
    commands: gfortran
    linker: ld64
    name: gcc
    version: 12.1.0
  pythran:
    include directory: ../../../../../../private/var/folders/2f/8t5k6yr535sdw0s4glnpxrzm0000gn/T/pip-build-env-ddcl7dz8/overlay/lib/python3.9/site-packages/pythran
    version: 0.15.0
Machine Information:
  build:
    cpu: aarch64
    endian: little
    family: aarch64
    system: darwin
  cross-compiled: false
  host:
    cpu: aarch64
    endian: little
    family: aarch64
    system: darwin
Python Information:
  path: /private/var/folders/2f/8t5k6yr535sdw0s4glnpxrzm0000gn/T/cibw-run-_36keccq/cp39-macosx_arm64/build/venv/bin/python
  version: '3.9'

Older version of nnls (scipy 1.14.0, written in Fortran) always work fine.

Did you mean to write an older version number for SciPy there?

Older version of nnls (scipy 1.14.0, written in Fortran) always work fine.

Did you mean to write an older version number for SciPy there?

Just fixed it. It should be 1.11.4. The source code was transferred from Fortran to Python in 1.12.0. Sorry for the typo.

Cc @ilayn

Such a strange bug indeed. I'll take a look.

This is turning out to be an architectural problem, not to say that it's on us, but there is some upstream issues here.
On my machine, Win10 and Linux Mint both PyPi installed SciPy I get
(array([1., 0., 0., 0.]), np.float64(0.0))
(array([1.00000000e+00, 8.37931024e-12, 0.00000000e+00, 0.00000000e+00]), np.float64(7.808184665241417e-12))

for the given example. I'm rewriting the code to be a little bit better flowing but this has still not failed as given in the OP. Plot thickens.


Feature request: "Did you mean?" / spellchecker functionality

It would be very helpful to provide spelling and search suggestions. Such as if I search for "orientbd" (spelled incorrectly) -- the search engine will offer up a suggestion of "OrientDB".

This issue was moved to orientechnologies/orientdb#5192


Unstable Directory.delete, failing if directory is not empty and path too long...

I have a following code, the keypart is at .getTestProjectDir(name: 'forge_installer_repository_test').
        final rootPath = TestUtilities()
            .getTestProjectDir(name: 'forge_installer_repository_test');

        setUp(() async {
          await rootPath.create(recursive: true);
          fileSystem.currentDirectory = rootPath;
        });

        tearDown(() async {
          fileSystem.currentDirectory = '/';
          if (await rootPath.exists()) {
              await rootPath.delete(recursive: true);
          }
        });

If a test do nothing, and the folder is empty, delete won't fail at any case.
If a test copy something in the rootPath, the test failed.
If a test copy something in the rootPath, but I change forge_installer_repository_test to forge_install (shorter), then test passed.

The full path I used:

Test Failure: D:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\forge_installa
Test Failure: D:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\forge_installer_repository_test
Test Pass: D:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\forge_install
Test Pass: D:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\ff

I really don't know why, but the path length seems to affect the deletion.

I think I should close this unless I find more reproducible code 😕

I made a easy project for Reproducable.

Just unzip on the root of the disk
and cd to the project
change the root in the test. this

r'${THIS_IS_ROOT_YOU_USED}:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\forge_installer_repository_test'

then use dart test.

https://drive.google.com/file/d/1_hxBQc9M2bRFJxroiTpu8FTTHbDcJA9V/view?usp=sharing
Sorry, I can't upload to github as an attachment because of the limit.
Code:
import 'dart:async';
import 'dart:io' as io;
// import 'package:file/local.dart';
import 'package:test/test.dart';
import 'package:path/path.dart' as p;

void main() {
  group('ForgeInstallerRepository', () {
    late io.Directory dir;
    setUp(() async {
      dir = io.Directory(
          r'Z:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\forge_installer_repository_test');
      await dir.create(recursive: true);
    });

    tearDown(() async {
      if (await dir.exists()) {
        await dir.delete(recursive: true);
      }
    });
    test('call process.start with correct arguments', () async {});
  });
}

Logs:
PS Z:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository> dart test
00:00 +0 -1: test\forge_installer_repository_ig_test.dart: ForgeInstallerRepository call process.start with correct arguments [E]
  FileSystemException: Deletion failed, path = 'Z:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository\test_temp\forge_installer_repository_test' (OS Error: 系統找不到指定的路徑。
  , errno = 3)
  test\forge_installer_repository_ig_test.dart 18:9  main.<fn>.<fn>

00:00 +0 -1: loading test\forge_installer_repository_ig_test.dart
Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.
00:00 +0 -1: Some tests failed.
PS Z:\Project\McDedicatedServer\minecraft_cube_desktop\minecraft_cube_desktop\packages\forge_installer_repository>

I think this is the whole details, I can provide.

Ok, This issuse is absolutely related to https://github.com/dart-lang/sdk/issues/27825.
After prepending \\?\, everything is happy 😢 (but I'm kind of sad...)


[Infra] Add workflow for detecting unlinked Firestore symbols

Context

Creates a workflow job to test for regressions within the FirebaseFirestore.xcframework where an unreferenced symbol is introduced.
Tried writing in Swift but running xcodebuild via Process became a flaky headache.
Unblocks #10896

Testing Plan

As long as #10896 isn't merged, Firestore contains unlinked symbols. This workflow should pick them up and cause a failure. Once this PR is merged, I will rebase #10896 on top of master and re-run CI. #10896 should fix the failures.
There are some additional edge cases that I will introduce in a separate PR for the purpose of testing against this workflow.

#no-changelog

Thank you @andrewheard! I gave that style guide a scan– great doc that I didn't know existed! I pushed a commit to pipe the xcodebuild logs to xcpretty. CI shows that the script is expectedly failing, but the xcodebuild logs add too much noise. See the bottom of this successfully failing run: https://pipelines.actions.githubusercontent.com/serviceHosts/a4b318a7-37c3-4d67-809f-340c6f31caac/_apis/pipelines/1/runs/115852/signedlogcontent/38?urlExpires=2023-03-07T23%3A24%3A31.9554175Z&urlSigningMethod=HMACV1&urlSignature=Gg7NOvOC0jmijbMKcr1bENCjyl8Bcc7ISlfnFELrfBk%3D

When unlinked symbols are detected, you'll see output like this that lists the unlinked symbols:
Failure: Unlinked Objective-C symbols have been detected:
177a178,179
> +[FSTFirestoreComponent componentsToRegister]
> +[FSTFirestoreComponent load]
765a768,776
> -[FSTFirestoreComponent .cxx_destruct]
> -[FSTFirestoreComponent appWillBeDeleted:]
> -[FSTFirestoreComponent app]
> -[FSTFirestoreComponent firestoreForDatabase:]
> -[FSTFirestoreComponent initWithApp:]
> -[FSTFirestoreComponent instances]
> -[FSTFirestoreComponent keyForDatabase:]
> -[FSTFirestoreComponent removeInstanceWithDatabase:]
> -[FSTFirestoreComponent setInstances:]
1115a1127
> +[FSTFirestoreComponent componentsToRegister]

When no unlinked symbols are detected, the script will output:
Success: No unlinked Objective-C symbols have been detected.


Modify notification page

Figma link
Notification type
Preview

Notification Item
props

type
title
user: { network, address }
date
content?
status

[ ] Remove auto clear unread on opening notification page

[ ] Add read/unread status mark

[ ] Use the  notification type name listed in the excel table

[ ] The Funded balance should be shown in notification


Units for public methods

I have added units to all the properties for data and results. I had a problem with the LineParametersy_shunt which can be None. A None can not be in S/km... Now, I assign a zeros matrix to this field and I have created a method to know if the parameters includes shunt (or not).
I changed the maintainer in the __about__ file
I modified the JsonMixin class in order to include the json methods into it. I also dispatched the assignation of results and the results' reader methods.
I uniformised the dtype=complex for numpy arrays. When the project started the behaviour of dtype=np.complex_ and dtype=complex was not the same... It is now the case. Thanks to the Numpy team!

Thanks.

I have also looked at pint pandas to have units in the resulting data frames, but it seems less finished than pint itself. We may reconsider this in the future


Generated README header is missleading

The generated README header is missleading since it will only ask for a Node installation (and never Java). I think we can start by removing :
Before you can build this project, you must install and configure the following dependencies on your machine:

1. [Node.js](https://nodejs.org/): We use Node to run a development web server and build the project.
   Depending on your system, you can install Node either from source or as a pre-packaged bundle.

After installing Node, you should be able to run the following command to install development tools.

And we'll see later on for a better prerequisite part, @pascalgrimaud @murdos WDYT?

Yes agree!


Draft: first try at GitHub workflows

see https://ansible.readthedocs.io/projects/lint/installing/#installing-ansible-lint-as-a-github-action
testing in this repo first (before suggesting to repo this is forked from) because this is my first GitHub Actions rodeo

the linter runs now
that linting itself fails is expected,
so merging this now
after that, make a new PR for the linting fixes themselves


result grid shows columns as wrong type

Description

As you can see, metadata for column CreatedDate is Datetime2, but result grid displays as type of Second column in subselect (IsDeleted)
DBeaver Version
Community Edition 24.0.1
Operating System
Windows
Database and driver
MSSQL, driver version 12.6.1
Steps to reproduce
run query
select field_1, field_3 from (select field_1, field_2, field_3 from table_abc)
result grod will show field_3 as type of field_2 from subquery
Additional context
No response

Hello @kartas39,
Can you please provide a DDL of your table or a shorter example so we can reproduce the issue?

@ShadelessFox well, you can create any teble, it is 100% reproducable
create table dbo.test1 (
col_int int,
col_bool bit,
col_vc varchar(10),
col_dt datetime2
);
select
col_dt,
col_vc,
col_bool,
col_int
from (
select
col_int,
col_bool,
col_vc,
col_dt
from dbo.test1
) a

Now I see the issue, thanks. The columns listed are in the reverse order, but DBeaver resolves them as if they weren't reversed.

seems to be fixed

@kartas39 thanks for update. I'm glad to hear that


Keyvault support for Managing Storage keys

KeyVault recently released support for managing azure storage keys-
https://docs.microsoft.com/en-us/azure/key-vault/key-vault-ovw-storage-keys
Whats the plan to get that in fluent SDK?

This issue was moved to Azure/azure-libraries-for-java#4


if model name with dash, the list and edit page's css will be error.

I report an error, if my model name with dash, something like ths_post, the list page and edit page will display with error css, could u test it? Or tell me how to handle it with dash in model.

Would you mind to provide detailed information about this error? How it is possible to replicate it?

hi, if the model name "ranking", the pages display well, as below:

while, the model name is "ths_post", the display will be not tidy, I think its css maybe not works. as below:

I guess it be caused by the model name's underline（sorry, I make mistake with dash and underline).

Please make sure that all your registed admin models are inheriting from unfold.admin.ModelAdmin


Bucket Sort

🚀 Feature
Bucket Sort is a sorting algorithm that works by distributing the elements of an array into a number of buckets. Each bucket is then sorted individually, either using a different sorting algorithm, or by recursively applying the bucket sorting algorithm.
Have you read the Contributing Guidelines on Pull Requests?
Yes!
Motivation
Bucket sort is mainly useful when input is uniformly distributed over a range.
Pitch
Bucket Sort is useful for sorting of floating data types.

I would like to add C++ program for this issue. Please assign this to me.


add component uuid to proto

@VithikaS Build failures are fixed in main now, if you rebase your PR it should run through.


eu-west-1 runtime bucket not existing / not public

Hi there,
I tried to install pywren in eu-west-1 one but the setup fails with
  File "/home/ec2-user/anaconda3/lib/python3.6/site-packages/pywren/storage/s3_backend.py", line 35, in get_object
    r = self.s3client.get_object(Bucket=self.s3_bucket, Key=key)
  File "/home/ec2-user/anaconda3/lib/python3.6/site-packages/botocore/client.py", line 314, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/ec2-user/anaconda3/lib/python3.6/site-packages/botocore/client.py", line 612, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.NoSuchBucket: An error occurred (NoSuchBucket) when calling the GetObject operation: The specified bucket does not exist

The config file shows that the runtimes are expected in a bucket in eu-west-1:
runtime:
    s3_bucket: pywren-public-eu-west-1
    s3_key: pywren.runtimes/default_3.6.meta.json

But also an ls on this bucket would not work:
[ec2-user@ip-10-0-0-247 ~]$ aws s3 ls s3://pywren-public-eu-west-1

An error occurred (NoSuchBucket) when calling the ListObjects operation: The specified bucket does not exist

Hi so it looks like we never actually deployed the runtimes to the eu-west-1 bucket! I'm creating them now and should be deploying them today.

Ok we've run into some hiccups on runtime creation (conda changed a few annoying things), for the meantime we're testing a fix that will by default if you're running in an unsupported region use the runtimes from the us-west-2 region. All your own code and data and state will still live in your home region/bucket, just the python runtime will be downloaded from afar. It's suboptimal but a quick fix and I think you guys are on a deadline? Let me know if this would work.


4.4.0-beta.7 Can't resolve create-react-context from react-router/esm

Version
4.4.0-beta.7
Steps to reproduce
Import react-router-dom into a project using<EMAIL_ADDRESS>Expected Behavior
To compile successfully without the missing create-react-context dependency.
Actual Behavior
Attempts to import create-react-context in react-router/esm but fails as it's not a dependency or a peer dependency.
Note:
Patched in the meantime by yarn adding  create-react-context as a direct dependency in my project.

Something's up with your bundler. It's definitely a dependency of react-router: https://github.com/ReactTraining/react-router/blob/master/packages/react-router/package.json#L43


The version number will be confused when use --prerelease option

The problem
The version number will be confused when use --prerelease option:

Expected behavior
The version number is incremented in the normal way.
Additional context
When I execute this command many times, there is a problem with the version number, the log as follows:
(venv) pydemo % semantic-release version  --prerelease
Creating new version
Current version: 0.3.5
Bumping with a None version to 0.3.5-beta.3
(venv) pydemo % semantic-release version  --prerelease
Creating new version
Current version: 0.3.6
Bumping with a None version to 0.3.6-beta.4
(venv) pydemo % semantic-release version  --prerelease
Creating new version
Current version: 0.3.5
Bumping with a None version to 0.3.5-beta.5
(venv) pydemo % semantic-release version  --prerelease
Creating new version
Current version: 0.3.6
Bumping with a None version to 0.3.6-beta.6

semantic_release config in pyproject.toml:
[tool.semantic_release]
version_toml = "pyproject.toml:tool.poetry.version"

@donhui I reworked the prerelease feature in this PR: https://github.com/relekang/python-semantic-release/pull/435
My local tests gave the correct results, maybe you run your example again with the the code from this branch to make sure it works?
(also, it will only work if all version bumps are done on the same branch)

Hello,
How does it work when you use the command semantic-release version --prerelease multiple times ?
The first time I got a correct version (like 1.1.0-beta.0) but next, it tells me error: no versions found in the configured locations. It seems it comes from the parsing (the regex does not include prerelease).
My pyproject.toml :
[tool.semantic_release]
version_variable = [
    "src/dummy_package/__init__.py:__version__",
]

Do I forget something ?

Thanks @jacksbox!


Unable to know the confidence score of our generated text

currently i am working on TR-OCR
MODEL USED- VisionEncoderDecoderModel
code -
/**
from PIL import Image
from transformers import TrOCRProcessor, VisionEncoderDecoderModel
processor = TrOCRProcessor.from_pretrained("microsoft/trocr-base-printed")
model = VisionEncoderDecoderModel.from_pretrained("microsoft/trocr-base-printed")
image = Image.open("/content/drive/MyDrive/vaibhav/AADHAAR_DATA/testdata/"+ df.loc[i,"key"]).convert("RGB")
pixel_values = processor(image, return_tensors="pt").pixel_values
generated_ids = model.generate(pixel_values)
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)
print(generated_text) # it return text only
**/
I want confidence with my generated text which i am unable to get

Hey, @vaibhavkansallumiq ,I'm also facing the same issue, any findings or update? will help a lot, thanks

There's something called "output_score" but i don't know how to use it
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Akash L P @.>
Sent: Thursday, September 1, 2022 3:11:13 PM
To: microsoft/unilm @.>
Cc: Vaibhav Kansal @.>; Mention @.>
Subject: Re: [microsoft/unilm] Unable to know the confidence score of our generated text (Issue #844)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification
Hey, @vaibhavkansallumiqhttps://github.com/vaibhavkansallumiq ,I'm also facing the same issue, any findings or update? will help a lot, thanks
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/unilm/issues/844#issuecomment-1234027682, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYAUUVVQWRFU6AXDKI7OOW3V4B23TANCNFSM575IBJ6A.
You are receiving this because you were mentioned.Message ID: @.***>

Hey, thanks for replying And from which function was it from...?

did you find anything usefull

I've posted a (partial) answer to the duplicate of this question for the HuggingFace TrOCR model: https://github.com/microsoft/unilm/issues/955#issuecomment-1728546355


Add GetAllPersistentVolumeClaims to return all PVCs as unstructured objects

Checklist

[x] I have signed the CLA
[x] I have updated/added any relevant documentation

Description
What's the goal of this PR?
Add a function to fetch PVCs from in-cluster and return them as unstructured.Unstructured types.

 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.


Add option to create dodo_<project_name>_commands in dodo bootstrap

Fixed by adding --create-commands-dir to new_command.py


Add InvoiceMailer to notify users about their next invoice

What type(s) of the user does this feature affect?

contributors? -> They must receive an email every month, about the invoice for the next month

Description
Add an InvoiceMailer that has a method named notify_user (for example, feel free to propose better names), which takes a user's email and an invoice's id. To notify a user that the next invoice is available with a nice and friendly message 😄.
references: https://github.com/comarev/comarev/issues/38

I would like work in  this task


Convert .Source.SkipVerify to $cfg.SkipVerify

Source doesn't have SkipVerify, it is defined in cfg

Imho some sources do have skip verify 🤔

Codecov Report

Merging #23839 (9b1de8f) into main (f521e88) will decrease coverage by 0.25%.
The diff coverage is 28.92%.

@@            Coverage Diff             @@
##             main   #23839      +/-   ##
==========================================
- Coverage   47.14%   46.89%   -0.25%
==========================================
  Files        1149     1158       +9
  Lines      151446   153179    +1733
==========================================
+ Hits        71397    71840     +443
- Misses      71611    72850    +1239
- Partials     8438     8489      +51

Impacted Files
Coverage Δ

cmd/dump.go
0.66% <0.00%> (-0.01%)
:arrow_down:

cmd/mailer.go
0.00% <0.00%> (ø)

cmd/manager.go
0.00% <0.00%> (ø)

cmd/manager_logging.go
0.00% <0.00%> (ø)

cmd/migrate_storage.go
5.76% <0.00%> (-0.12%)
:arrow_down:

cmd/restore_repo.go
0.00% <0.00%> (ø)

cmd/web.go
0.00% <0.00%> (ø)

models/actions/run.go
1.63% <0.00%> (-0.10%)
:arrow_down:

models/actions/runner.go
1.44% <ø> (ø)

models/packages/package.go
45.45% <0.00%> (-1.13%)
:arrow_down:

... and 65 more

... and 72 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

🎺 🤖


chore(main): release 1.1.0

:robot: I have created a release beep boop
1.1.0 (2024-01-05)
Features

not record reject req (f6a4622)

This PR was generated with Release Please. See documentation.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f6a4622) 100.00% compared to head (6f40969) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           46        46
  Branches         9         9
=========================================
  Hits            46        46

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:robot: Release is at https://github.com/xyy94813/RRNL-request-limiter-middleware/releases/tag/v1.1.0 :sunflower:


Get the value of a query param

Feature request from Reddit:

Can you pull out a query string key? So if you have
do a FluentUri.From("http://example.com/somepath?foo=bar#baz").GetParam("foo") so you can get the value of it?

Source: https://www.reddit.com/message/unread/

@balazsbotond For this to work, using FluentUriBuilder.From('') should populate the private properties. At least [queryParams] (https://github.com/balazsbotond/FluentUriBuilder/blob/master/FluentUriBuilder/FluentUriBuilder.cs#L25). Then just the following can be done:
public string GetParam(string key)
{
    key.ThrowIfNullOrWhiteSpace(nameof(key));

    return this.queryParams.Find(p => p.Key == key).Value;
}

I can work on this if its ok. Let me know your thoughts.

Thank you again Ibrahim, and sorry for the late reply.
Your implementation seems correct but I'm afraid the original feature request was not very well thought out. URI's can contain multiple query parameters with the same name so the key parameter of your method does not uniquely identify a parameter.
Parsing URI's is at least as inconvenient in .NET as building them. I think this functionality deserves its own, separate, complete library - maybe you could write it :)


fix tap naming

What kind of change does this PR introduce?
fix naming

Did you add tests for your changes?
no

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
nothing

Thanks


Mention the scope required for the service account API token for the semantic layer integration

Contributions

[X] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/docs/use-dbt-semantic-layer/quickstart-semantic-layer
https://docs.getdbt.com/docs/use-dbt-semantic-layer/setup-dbt-semantic-layer#set-up-dbt-semantic-layer
What part(s) of the page would you like to see updated?
The pages suggest creating a service account API token but they don't mention what access scope the token need to be provided.
Additional information
No response

hey @b-per , thank you for opening this up! I've added some add'l clarifying language in PR #2288 based on this slack thread and also wanted to  ask if the language here in step 11 needed more clarification on the permissions needed:

Set up the Metadata API (Team and Enterprise accounts only) in the integrated partner tool to import the metric definitions. The integrated partner tool will treat the dbt Server as another data source (like a data platform). This requires:
The account ID, environment ID, and job ID (visible in the job URL)
An API service token with job admin and metadata permissions
Add the items above to the relevant fields in your integration tool

#2288


Add support for g6 and m7 family instances.

Description
Some AWS Regions have G6 and M7 instances deployed. This change adds support for those.
Changes
Add G6 and M7 instances to drop down menu.
How Has This Been Tested?
My colleagues have been using the m7i instance type for their head nodes for a few months without any issues.
References
https://aws.amazon.com/ec2/instance-types/g6/
https://aws.amazon.com/ec2/instance-types/m7a/
https://aws.amazon.com/ec2/instance-types/m7i/
PR Quality Checklist

[ ] I added tests to new or existing code
[ ] I removed hardcoded strings and used react-i18next library (useTranslation hook and/or Trans component), see an example here
[ ] I made sure no sensitive info gets logged at any time in the codebase (see here) (e.g. no user info or details, no stacktraces, etc.)
[ ] I made sure that any GitHub issue solved by this PR is correctly linked
[ ] I checked that infrastructure/update_infrastructure.sh runs without any error
[ ] I checked that npm run build builds without any error
[ ] I checked that clusters are listed correctly
[ ] I checked that a new cluster can be created (config is produced and dry run passes)
[ ] I checked that login and logout work as expected

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for this PR!


Github action to generate and upload parsed game data

Automation of the game file parsing will reduce the manual work for maintaining up to date output.
Additionally, this data should be stored in a separate repo in order to keep the PRs on the deadbot repo cleaner. We want to migrate it to the new deadlock-data repo which will store a snapshot of the current patch.
Potential issue - investigating what a PR does is not as easy when you don't have the proof of the output data changing as you'd expect, but that can still be handled locally if you have cloned the deadlock-data repo
Acceptance Criteria
Github action to run as workflow dispatch or merge to develop and master branches to do the following:

Read decompiled game data from s3 and run the parser to generate the output data
Upon merge, it will commit to the same branch on deadlock-data repo with a reference to the PR number in the commit message

Potential issue - investigating what a PR does is not as easy when you don't have the proof of the output data changing as you'd expect, but that can still be handled locally if you have cloned the deadlock-data repo
This isn't ideal, so I am going to look at potentially generating a diff as a file in the CI, letting you review changes, but without muddying the diff

I think the current data should stay in this repo, and then replicated to the other.I also like having the diff to know stuff worked correctly.  I guess it depends which repo we want to be the primary source of truth.
If all the automation for updating moves to the deadlock-data repo, then it's like you said show example output as an artifact just to confirm the bot works, and move all the "production" data handling to the other repo

For now I've setup https://github.com/deadlock-wiki/deadlock-data/blob/main/.github/workflows/scheduled-sync.yml to pull data over to that repo, we can see how it behaves over the next few updates.  It basically checks out the latest deadbot main branch and copies over the game data.
Since this repo is added as a submodule, it'll point directly to the repo commit that generated.


Explicitly call replacement_room a room ID

Fixes https://github.com/matrix-org/matrix-doc/issues/3232

@Half-Shot if you could add a changelog it would be appreciated. Otherwise I will eventually, but probably at a slower pace.

Your wish is my command :)


Allow authentication to be disabled, but still use token

During testing we found that we wanted the authentication lookup to be turned off, but still wanting to use the preset authentication.token setting that we provided to the search-client constructor.

Closing this, awaiting to see whether or not it presents itself as a valid use-case in the future.


return after 404

I think after calling send404(w), we should return

@rajatjindal could you please sign your commit?
Thanks!

I think this can be merged now.


fix: request signatures should work with unsecured tokens

Simple fix for https://github.com/hirosystems/wallet/issues/3702, what do you think about allowing users to create unsecured message signing requests? @kyranjamie

 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.

I think it's fine to remove the signature verification. Though I would recommend that we remove the code entirely: the verifySignatureRequest, and useIsSignatureRequestValid logic

@kyranjamie I can remove it entirely, however, it seems that the behavior of src/app/pages/stacks-message-signing-request/stacks-message-signing-request.tsx line 38 would be changed if I do this. What do you think is the best approach?

what I did in my last push, to remove the check for this screen?
remove all the code as you suggested and keep the warning message all the time?
remove all the code and remove the warning message too?

@kyranjamie updated pr with option 3


Update sbt, sbt-dependency-tree to 1.10.3

About this PR
📦 Updates

org.scala-sbt:sbt
org.scala-sbt:sbt-dependency-tree

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

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

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

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #171.


Enhance teams chat list command to list chats for a specific user

New specs
Based on the comments, the following specs emerged:
Enhance the teams chat list command to be able to query a list of chats for a specified user. (Using app only permissions)

Option
Description

--userId [userId]
The Id of the user for which to list chats. Specify either userName or userId but not both.

--userName [userName]
The upn of the user for which to list chats. Specify either userName or userId but not both.

Requested Specs for reference
Usage
m365 teams user chat list
Description
Get all chats of a user using apponly credentials
Options
Options would be
-query or-filter
-type oneOnOne, group, meeting
-top
Examples
m365 teams user chat list  userprincipalmail of id.
Additional Info
No response

Hi @KbWorks thank you for your suggestion.
So if I understand it correctly you want a command to list all teams chats for a current user right?
Something like this:
https://learn.microsoft.com/en-us/graph/api/chat-list

@KbWorks could you give us some more info?

We do have a command for listing chats: https://pnp.github.io/cli-microsoft365/cmd/teams/chat/chat-list/
It would be better to update that one with the possibility to call it with app only credentials.

@waldekmastykarz
The chat message list command currently uses the /chats endpoint. There is another variant of the endpoint. We would need to allow passing in a userId as an option.
GET /me/chats/{chat-id}/messages
GET /users/{user-id | user-principal-name}/chats/{chat-id}/messages
GET /chats/{chat-id}/messages

@waldekmastykarz
The chat list command currently uses the /chats endpoint. There is another variant of the endpoint. We would need to allow passing in a userId as an option.
GET /me/chats
GET /users/{user-id | user-principal-name}/chats

More info: https://learn.microsoft.com/en-us/graph/api/chat-list?view=graph-rest-1.0&tabs=http

What about:

Option
Description

--user
The upn or Id of the user for which to list chats. Defaults to the current user if not specified.

To simplify validation and be consistent with other commands, I suggest we split it into --userId and --userName.

Based on the discussion, I updated the specs @KbWorks.

Looks good. Let's open it up.

I could work on this one

Cool, all yours @MathijsVerbeeck!


Fix spot split when more than one in a row is null

This PR fixes an issue where line chart fails to render if there's more than one FlSpot with null x or y in a row.
If there are two null spots in a row, then two empty lists will be added to barList. Next non-null spot will be added to the second one leaving an empty list in barList and causing rendering error.

Great,
thanks!


Remove some more machines

Remove performance-frontend and api-postgresql machines as they have gone to a special
infrastructure in the sky.

"Special infrastructure in the sky". <3


feat: Logseq echarts plugin

Submit a new Plugin to Marketplace
Plugin Github repo URL: https://github.com/guzhongren/logseq-echarts
Github releases checklist

[x] a legal package.json file.
[x] a valid CI workflow build action for Github releases. (Optional for theme plugin only).
[x] a release which includes a release zip pkg from a successful build.
[x] a clear README file, ideally with an image or gif showcase. (For more friendly to users, it is recommended to have English version description).
[x] a license in the LICENSE file.

Hi, thanks for your contribution!
Could you please add a screenshot and perhaps some step by step getting started instructions for the end user?
Thanks!

Hey, @sawhney17
Updated
Thx


deps: relax compatibility requirement constraints

The compatibility dependency here prevents us from upgrading the poetry dependency.

It looks like this change isn't included in the current released version (1.0.7). Could a new release be made since the importlib-metadata version constraint is causing conflicts with other (minimum) version constraints in my Poetry-managed development venv.


Socket.send ?

What does it mean ?

Proxy work normal, but I get those messages in logs

This means there was some error while sending. Probably it is because some clients have unstable internet connection like grps


PuppeteerSharp.BufferException: 'Unable to get response body'

Hi,
I am getting the error: PuppeteerSharp.BufferException: 'Unable to get response body' in the following line var txt = await e.Response.TextAsync()
What may cause that?
page.Response += async (object sender, ResponseCreatedEventArgs e) => {
  if (e.Response.Url.Contains(".json"))
  {
      var txt = await e.Response.TextAsync();
  }

It is happening randomly... I can't put my finger on it...
Thanks

@avifatal can you take a look at the InnerException?

PuppeteerSharp.BufferException: Unable to get response body
 ---> PuppeteerSharp.MessageException: Protocol error (Network.getResponseBody): No data found for resource with given identifier
   at PuppeteerSharp.CDPSession.SendAsync(String method, Object args, Boolean waitForCallback)
   at PuppeteerSharp.CDPSession.SendAsync[T](String method, Object args)
   at PuppeteerSharp.Response.BufferAsync()
   --- End of inner exception stack trace ---
   at PuppeteerSharp.Response.BufferAsync()
   at PuppeteerSharp.Response.TextAsync()
   at EServices.Web.Services.Reader.PostReader.<>c__DisplayClass1_0.<<ScrapePosts>b__0>d.MoveNext() in C:\work\projects\e\e-server-new\EServices\EServices.Web\Services\Reader\PostReader.cs:line 35

It seems to be a Chromium side effect. See https://github.com/puppeteer/puppeteer/issues/2258 and https://medium.com/@jsoverson/using-chrome-devtools-protocol-with-puppeteer-737a1300bac0


Svelte: selectionKey set to null

Please describe the feature that you want to propose
I hope this message finds you well. I've been thoroughly impressed with the recent Svelte port – fantastic work!
I'm currently delving into its functionalities and have a couple of queries:

Compatibility with Svelte: #1001
I've noticed an issue tagged as #1001. Could you please provide clarity on whether the Svelte port supports the functionality outlined in this issue? I want to make sure I'm not overlooking anything.

Feature Request: selectionKey in useSvelteFlow
Additionally, I'm interested in the possibility of integrating a selectionKey parameter into the useSvelteFlow feature. This addition, if feasible, would significantly enhance its adaptability in specific use cases.

Thank you!

good call! We will allow to disable a key by using null with the next release.
Why do you want to integrate it with useSvelteFlow? What is your use case here?

Hey @moklick, I'm working on letting users choose different tools in my project. For example, they can switch to the selection tool, similar to how it works in Photoshop. I'm also exploring the possibility of implementing events like noderemove and edgeremove while using this library.
Currently, I have a code snippet that looks something like this (and it a little bit strange):
const unsubscribeNodes = nodeStore.subscribe((value, old) => {
     nodes = value;
     if (old.length > value.length) dispatch('noderemove');
     else if (value.length > old.length) dispatch('nodeadd')
})
const unsubscribeEdges = edgeStore.subscribe((value, old) => {
     edges = value;
     if (old.length > value.length) dispatch('edgeremove');
     else if (value.length > old.length) dispatch('edgeadd')
})

Does it possible to add onEdge remove and onNode remove event? Or it can be implement by another way?
Thanks, and waiting for release

we will add a ondelete({ nodes, edges }) in the next release :)

👍 thanks, waiting for the next release.

@moklick  I've got one more feature, while doing project. Does it possible to add let:connected to handle?
For example:
<Handle id="some-id" class="..." let:connected>
    {#if connected}
        // show some content
    {/if}
</Handle>

Thanks

Since 0.0.28 you can set any key to null to disable it. We also added an ondelete handler. Please open a new issue for the connected forwarding.


cancelTimeout is slow

We cancel a timeout future at the end of every successful response. Unfortunately ScheduledFuture.cancel is implemented with PriorityQueue.remove - remove has O(N) performance and is expected to be slow with many concurrent requests.
@trustin Do you think we are abusing cancel and shouldn't be calling it every request? Or if it seems like reasonable behavior, should we file an issue in Netty to replace the queue with one with fast removals?

In the case of retrying client, if the timeout futures are not cancelled properly, they would, all executed at the same time when response timeout happens.

I was thinking if frequent cancels is not really what Netty intends, then we could implement our own scheduler in armeria, otherwise it's better to fix upstream

I found that netty already has an optimized priority queue implementation available and it was trivial to use it for scheduled futures. So sent this upstream which will solve this issue - https://github.com/netty/netty/pull/7384

Change is in so will close this issue - next netty version update will have the speed-up

Thanks, @anuraaga !

@anuraaga We are still much behind gRPC even with this fix applied, right?


Equivalent of caffe iter_size in Keras

Apologies if this is not the best place to ask this, and thanks for the great work thats been done in Keras!
Can we get the equivalent of caffe's iter_size parameter in Keras? This accumulates gradient calcs over several GPU cycles before doing the weight update. It effectively allows a larger batch size. TensorFlow doesn't natively have this but some ppl seem to have implemented it themselves, e.g
https://stackoverflow.com/questions/42156957/how-to-update-model-parameters-with-accumulated-gradients
I think it'd be a useful parameter to have for model training in Keras ... or is there some easy way to implement this functionality already?
Shaun

I agree that this is a needed feature, not sure if it makes sense to introduce it into Keras before TF (maybe depends on TF plans for it). But Caffe iter_size was an API hack. It would be much better for existing batch size to remain a clear (logical) batch size, with an optimization hint for the physical batch size. Which, hopefully, eventually be determined automatically, depending on CPU/GPU, train/test, multi-GPU, distributed/non-distributed, which cuda/eigen/tf kernels are faster (depends on available ram, etc) etc, etc.

I think this can be solve by writing an optimizer by yourself, some useful code can be found in #3556 , @ozabluda, will this feature be add to Keras?  or it have already add into Keras?

I think an advice "write an optimizer by yourself" hardly counts as resolution of the issue.

@ozabluda Thank you for the suggestion.
I think this issue essentially equal to #3556,  writing an optimizer to support accumulates gradient calcs over several GPU cycles, which means updating the parameters after several steps, right?
I agree this solution -- "write an optimizer by yourself" -- hardly counts as a good idea of this issue, but it provied a 'easy' way to implement this functionality.

#5244 same issue...

I wrote this optimizer a year ago - it takes an arbitrary optimizer and make it accumulate gradients:
https://github.com/ppwwyyxx/tensorpack/blob/099975c56b7e63d41da1da57549fedf8bd68084f/tensorpack/tfutils/optimizer.py#L132-L201
Simply copying the relevant code and dependencies should be enough to make it work in keras.


GitHub#469 (#362)

added missing features from Device and Board table:
https://github.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/blob/main/schema/PACK.xsd#L932

Hi
Tip: rather than indicating issues numbers in PR header, you should add in the description fix #469
Then GitHub is able to add automatically some link between tickets, and close the issue when PR is merged

@jeromecoutant, thanks for pointing this out. I am not sure about using "fix" because to my knowledge this would auto-close the referenced issue. Do we want that? I'd rather expect the owner of an issue to close it once the solution is satisfying.
In PRs we need to be careful not to use short #-numbers but prefix with <org>/<repo>/#<nr> to make the references work across forks.


generate terraform plan only if there is any policy to be validated

Currently we are generating terraform plan always and after that checking if there is any policy to be validated - https://github.com/eclipse-xpanse/xpanse/blob/main/modules/deployment/src/main/java/org/eclipse/xpanse/modules/deployment/DeployService.java#L210
This must be changed. We must generate the JSON plan only if there is any end user policy or service policy to be validated.

I will take it


Improve settings menu

On desktop, the settings menu should be on the left; on mobile, it should slide up and over. See sheet and drawer.

Want to keep this app simple; can create a more robust UI in a different project.


Adding DocDB and Redis Sample Scripts

@SyntaxC4,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot