If you send 2 consecutive message the second message auto-repeated - Reported by @Ahmed sherif

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open app
Type text, enter and quickly type again

Expected Result:
User messages should be independent and should not repeat
Actual Result:
If you write "world" speedy after you press send for "hello". Happens when you write speedy on physical keyboard.
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
Desktop App

Version Number: 1.1.33-0
Reproducible in staging?: N
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @ahmdshrif
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1642782464276900
View all open jobs on GitHub

potentially related to https://github.com/Expensify/App/issues/4129

hi, @mvtglobally I can't ' reproduce this on the web again (the text input gets unfocus when we send the message)  but still can have it mobile(android and ios).
to reproduce it just type any character when you send the message.
it will send the message
and keep the old message with the entered character in the text box.
as a proposal if external.
I suggest that we unfocus the text input in native also when we send button is pressed,
and refocus it when the message is sent. ( so we will flow web behavior )


.NET Core July Update - 2.1.2

#.NET Core July Update - 2.1.2
Release Notes
Download 2.1.2
Included fixes address CVE-2018-8356: .NET Core Security Feature Bypass Vulnerability
Please report any issues you find with 2.1.2, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

aspnet/Home - for ASP.NET Core questions
dotnet/cli - for CLI tools and questions
dotnet/corefx - for API issues and questions
dotnet/coreclr - for runtime issues
dotnet/core-setup - for installer issues
nuget/home - for NuGet questions and issues

On CentOS running yum update fails with the following error.
Error: Package: dotnet-runtime-2.1-2.1.2-1.x86_64 (packages-microsoft-com-prod)
           Requires: dotnet-runtime-deps-2.1 >= 2.1.2
           Installed: dotnet-runtime-deps-2.1-2.1.1-1.x86_64 (@packages-microsoft-com-prod)
               dotnet-runtime-deps-2.1 = 2.1.1-1
           Available: dotnet-runtime-deps-2.1-2.1.0-1.x86_64 (packages-microsoft-com-prod)
               dotnet-runtime-deps-2.1 = 2.1.0-1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

vs2017 17.5 new project shows wrong version of .net core 2.1.2
After installing .net core SDK 2.1.302 with Runtime 2.1.2 ,
vs2017 17.5 -> new project -> asp.net core project still shows the version of 2.1.1 and 2.1.0 in the Nuget and SDK dependence.
it should be 2.1.2

PC:
Win10

@mrbigtities and @Scandal-UK - let me know if you're still having issues with CentOS installs.

@leecow why VS v.15.7.5 does not comprise the .net core sdk 2.1.2 already on board? I went to the ms website to download the latest .net core sdk and only then my problem was gone

@beylkhanovdamir - The update cycles into VS are a bit different. The 2.1 runtime and supporting SDK will be in VS 15.8 (and already in the Previews which VS has been releasing).

2.1.3 released. Closing this issue.
cc @vivmishra


URL formatting issues in JSON response

version: "0.4-beta.4",
https://staging.dockstore.org:8443/api/v1/tools
There are a few problems with the URLs returned in the JSON response:

the api/v1/ prefix is omitted
version is used instead of versions
slashes (/) are double encoded, coming out as %252F instead of %2F (they work like that, so presumably they're getting double decoded, but this will be confusing for client software which is encoding its own identifiers in URLs)

Hi, thanks for the heads up!

Currently in test on staging.dockstore.org implemented in https://github.com/ga4gh/dockstore/releases/tag/0.4-beta.5
Note that the path is now https://staging.dockstore.org:8443/api/ga4gh/v1/tools due to changes in the 1.0.0 pull request

Thanks! I only poked at it a little bit, but LGTM.


Initial commit of Sphinx docs using md and rst as source files

@minrk @ellisonbg Here's a sphinx project for docs that will support either Markdown or Restructured Text.
The guts of the changes to support Markdown are in several lines of conf.py:
# Jupyter modifies this to allow markdown and restructured text files
source_suffix = ['.rst', '.md']

source_parsers = {
  '.md': 'recommonmark.parser.CommonMarkParser',
}

It's still rough in corners like the fonts used with code snippets which is probably a function of the source parsing using recommonmark. Also adding in Min's autoversioning code snippet to conf.py and rtd/not_rtd guard also in conf.py.
Within the documentation the users could use rst or md. We should encourage markdown here but it wouldn't matter for the rtd docs. It would be nicer to use md for reading on GitHub.
P.S. Min, I did my best to get all the sphinx cruft in a docs-sphinx directory that was at the same tree level as docs so that the source directory would only contain the md files. Unfortunately, even with changing configuration parameters and trying symlinks, Sphinx really expects to be the root of all documentation. We could create a docs/source directory to hold all the md source but that moves the md into a subdirectory and I wasn't sure that you wanted that. Easy change if desired.

A new Sphinx project, sphinxcontrib-markdown, appears to do a better job of markdown conversion so I've modified the PR to use this conversion project.

A new Sphinx project, sphinxcontrib-markdown, appears to do a better job of markdown conversion so I've modified the PR to use this conversion project.

To me, it looks like recommonmark, which is maintained by RTD itself, is probably the way to go. There's an important bug (rtfd/recommonmark#22) that has been fixed in master (CommonMark-py#37), but I think we can wait for that to get in. sphinxcontrib-markdown doesn't handle fenced code blocks, or other GFM features that we use and are part of CommonMark.

@minrk Thanks for the review and feedback. Nice find on the root cause of the duplicate output which I was seeing when using the recommonmark based extension. I'm going to close this PR since I agree that with the fix to CommonMark that recommonmark will be a better solution. Thanks.


Do not import from FEMQuad

Instead, use FEMBase.get_quadrature_points.

Pull Request Test Coverage Report for Build 69

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 63:
0.0%

Covered Lines:
263

Relevant Lines:
263

💛  - Coveralls


Updated the Office 365 IP Web Services Files

For issues #321 and #377, I have created this PR.
For issue #321 I have added a new paragraph indicating important information about Office 365 EndPoints when the customer use Azure ExpressRoute to connect to Office 365.
For issue #377 I have added a complete section called Office 365 EndPoint Functions Module  with the reference to the PowerShell Module O365EndpointFunctions.psm1 I have corrected too PowerShell inconsistences, typos and grammar errors.

@mypil please for this PR  #378 only take in account the commit for the file
Updated the Office 365 IP Web Services Files

@nenonix @JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@ojrb - please merge the commit on the copy/edit review made by JohanFreelancer9 or make the necessary changes on the PR following the suggestions he made. Thank you.

Hi @mypil I updated the changes recommended by @johanfreelancer9 on the file Enterprise/office-365-ip-web-service.md and commit to merge creating a new file Updated the Office 365 IP Web Services Files

@MSFTTracyP - Can you please assist to check, approve and merge the content for this PR based on the ff. issues #321 & #377?
Thank you.

@MSFTTracyP - I would like to follow up. Can you please assist to check, approve and merge the content for this PR based on the ff. issues #321 & #377?
Thank you.

@MSFTTracyP - I would like to follow up. Can you please assist to check, approve and merge the content for this PR based on the ff. issues #321 & #377?
Thank you.

@ojrb please submit a separate PR for each issue, (Even if an issue needs changes to more than one file  then you should submit a single PR for each  file) in this case you have combined commits to two different  files for two different issues, which makes it very confusing for the maintainers. thanks

@ojrb - Please close this PR since you created a new PR already to avoid confusion. Thanks.


chatgpt: Incorrect API key provided

http://<IP_ADDRESS>:8000/chatgpt fails, but http://<IP_ADDRESS>:8000/v1/chat/completions is ok.
P.S.
I am testing with curl.
But example_chatgpt1.py and example_chatgpt2.py work.

Fixed by changing "session_id": "session-ID" to "session_id": ""
But error message is confusing, I hope you can improve error handling for this case.

And the most important - it is not clear why we may need to specify the value already present in Config.conf?
It would be more useful to have ability to continue some previous conversation, specifying it's id.


issue about ParlAI

When I ran the setup.py in partAI as described in the readme file, I ran into the following problem:
RuntimeError: Python version >= 3.8 required.
But I have tried python3.7, 3.8 and even 3.9, and this problem will occur.
Thanks.

And I also have the error:
error: Could not find suitable distribution for Requirement.parse('sphinxcontrib-jquery>=3.0.0')
Thanks!

@slptongji sorry for the late response! I'm not sure if the installation can still work since ParlAI has been developed so quickly. Do you use the exact same version as in the README file?


Swift - Add location support

Pull request checklist

[x] All tests pass. Demo project builds and runs.
[x] I have resolved any merge conflicts.
[x] I have followed the coding style, and reviewed the contributing guidelines. Confirmation: 💪😎👊

This references issue #1608.
What's in this pull request?
Add location support for Swift demo, @MacMeDan let me know when you have a chance to check it out

[Current coverage][cc-pull] is 62.87%

Merging [#1639][cc-pull] into [develop][cc-base-branch] will not change coverage

@@            develop      #1639   diff @@
==========================================
  Files            60         60
  Lines          2184       2184
  Methods         618        618
  Messages          0          0
  Branches        132        132
==========================================
  Hits           1373       1373
  Misses          741        741
  Partials         70         70

Powered by Codecov. Last updated by [71a19e9...ba781d8][cc-compare]
[cc-base-branch]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/compare/71a19e9d98496b651e0cb51acee2cb085194d8da...ba781d87d893a859c0da5ca9e2d540e614a0cb53
[cc-pull]: https://codecov.io/gh/jessesquires/JSQMessagesViewController/pull/1639?src=pr

Thanks @GianniCarlo ! 👍


How do I load a table from a folder directly into the browser?

I have a table in a folder C:\spreadhsheet and I`m making a HTML with some  JS scripts and I need this script to read the file directly.
How can I do it?

You can't request a local file from the browser directly, that's a big security risk.  The user has to submit the file some way.  For example, http://oss.sheetjs.com/js-xlsx/ allows the user to submit a file by dragging and dropping or by hitting the file input.
If you can make the workbook public, then you can use xmlhttprequest to download the file and read it from the browser.  See http://oss.sheetjs.com/js-xlsx/ajax.html for an example


I'm ported randomColor to Haskell

http://hackage.haskell.org/package/palette-0.3/docs/Data-Colour-Palette-RandomColor.html

Cool, thank you for letting me know. I've added a link to the README!


#150848162 Heroku deployment

What does this PR do?
This branch contains configurations for deployment to heroku
Description of Task to be completed?
The configurations to enable deployment to Heroku include release and web commands in the Procfile and other configurations in the DB configurations in the hc/settings.py file
How should this be manually tested?
The app in the staging mode con Heroku can be found here
What are the relevant pivotal tracker stories?
#150848162

Coverage decreased (-0.7%) to 80.857% when pulling 863738ce72fd6f3e4269a8409161225e2216a783 on ch-heroku-deployment-150848162 into 9342bf72fe5cc53b38fcb69938e0d63a0001184b on develop.

Coverage decreased (-0.2%) to 81.353% when pulling e62053d72f3e4264d2458bb9fb8857721faa360b on ch-heroku-deployment-150848162 into 9342bf72fe5cc53b38fcb69938e0d63a0001184b on develop.

Coverage decreased (-0.2%) to 81.353% when pulling 8a8a4f770897cf8456cdb8dd4794cce3923e7cd5 on ch-heroku-deployment-150848162 into 9342bf72fe5cc53b38fcb69938e0d63a0001184b on develop.

Coverage decreased (-0.2%) to 81.353% when pulling 8a8a4f770897cf8456cdb8dd4794cce3923e7cd5 on ch-heroku-deployment-150848162 into 9342bf72fe5cc53b38fcb69938e0d63a0001184b on develop.

Coverage decreased (-0.2%) to 81.353% when pulling 8a8a4f770897cf8456cdb8dd4794cce3923e7cd5 on ch-heroku-deployment-150848162 into 9342bf72fe5cc53b38fcb69938e0d63a0001184b on develop.


Unable to send PING command over channel

We are using spring boot 3.1.2 reactive(spring-boot-starter-webflux) with org.redisson:redisson-spring-boot-starter:3.20.0.
We recently migrated from azure to GCP and started facing error saying 'Unable to send PING command over channel'.
2023-08-01 06:59:10,450 [redisson-timer-5-1] ERROR o.r.c.handler.PingConnectionHandler  - Unable to send PING command over channel: [id: 0x8a006106, L:/<IP_ADDRESS>:44816 - R:post-order-redis.pp.xxxxx.in/<IP_ADDRESS>:6379]
The same code was working fine with azure managed vm but automatically broken on GCP vm. Please help. Thanks

It seems to be an environment issue? Did you try to recreate GCP Redis and app node?

Yes also tried running application on k8s, same error is coming.

is it possible that wrong ip address resolved by the host name?

I met the same problem as you, my redisson version is 3.18.0, 3.17.3. All containers on k8s report errors：Unable to send PING command over channel

You can set pingConnectionInterval = 0 to disable if it doesn't work in this environment.

Can you share full stacktrace?


Add support for apollo-server-azure-functions

Is your feature request related to a problem? Please describe.
Yes, the plugin is not compatible with apollo-server-azure-functions
Feature Description
Would be fantastic if apollo-server-azure-functions was supported
I tested this plugin with apollo-server-azure-functions and I didn't get any errors on initialisation, but I could not see any data being sent to newrelic. Just wondering if there is any roadmap for supporting it
Priority
Really Want

Thank you for the feature request, @frank-long ! We currently have no current plans to add azure functions support for the Apollo plugin. We do plan to continually improve support for our plugin and your feedback will help us direct that effort. I will bring this up with our Product Manager to get prioritized.

Thank you for the feature request, @frank-long ! We currently have no current plans to add azure functions support for the Apollo plugin. We do plan to continually improve support for our plugin and your feedback will help us direct that effort. I will bring this up with our Product Manager to get prioritized.


Add --help and --usage handling to aurqueue

I had done something similar before seeing this pull request... (see https://github.com/AladW/aurutils/commit/ef6aa2eb125b5a1f2afc0b292dc2a5e0cec8408e on option-handling branch)
Regarding https://github.com/AladW/aurutils/pull/243/files#diff-b21534d75a3a443dac260f119611eba6R65, is this to handle the case where someone made a file or folder called --help?

Regarding https://github.com/AladW/aurutils/pull/243/files#diff-b21534d75a3a443dac260f119611eba6R65, is this to handle the case where someone made a file or folder called --help?

Yup, exactly that. I figured it should be handled as an "it could happen" edge case, as you had mentioned earlier that -f oobar is a valid repository name.
I am not very familiar with getopts; does it allow disambiguations like that? Would it be preferable to rebase and submit PR for that branch?

Yup, exactly that. I figured would be useful to test for as an "it could happen" edge case, as you had mentioned earlier that -f oobar is a valid repository name.

Hmm, technically the only arguments you'd pass on to aurqueue would be package names, and those (unlike repositories) can't start in a hyphen.

I am not very familiar with getopts; does it allow disambiguations like that? Would it be preferable to rebase, make changes, and submit PR for that branch?

Master is fine. As to getopts, you can pass it -- so it doesnt treat arguments starting in a hyphen as option arguments, e.g. you can do aurqueue -- *. The benefit is that it's easily extensible if you want more options later (e.g. -abcor-a optarg -b optarg`.

Integrated your changes from https://github.com/AladW/aurutils/commit/ef6aa2eb125b5a1f2afc0b292dc2a5e0cec8408e as suggested, since I could see no better way to handle usage flags.
I did however also add the ability to read from standard input when aurqueue is part of a pipe, similar to pacman; the script will also to do so when  - is part of the path list.
Afterward, the two path lists are merged so the rest of the script can proceed as before. I have updated the PR title accordingly.

:+1:


How to get Sauce Connect Proxy working with webdriverio

What are you trying to achieve?
Localhost testing using webdriverio and sauce-connect-proxy
What do you get instead?
I can't make it work and codeceptjs does not creat the proxy tunnel before running tests
Details

CodeceptJS version:
NodeJS Version: ^1.4.6
Operating System: Mac
WebDriverIO: ^4.14.1
Configuration file:

{
  "tests": "./*_test.*.js",
  "timeout": 10000,
  "output": "./output",
  "helpers": {
    "WebDriverIO" : {
      "user": process.env.USER,
      "key": process.env.KEY,
      "host": "ondemand.eu-central-1.saucelabs.com",
      "port": "443",
      "use_ssl": true,
      "protocol": "https",
      "url": "http://localhost:5000/",
      "browser": "firefox",
      "services": ["sauce"],
      "sauceConnect": true,
      "desiredCapabilities": {
        "platform": "Windows 7",
        "version": "latest"
      }
   },
   "SauceHelper": {
      "require": "./sauce_helper_desktops.js"
    }
  },

  "multiple": {
    "default": {
      "browsers": [
        {"browser": "firefox", "windowSize": "maximize"}
      ]
    },
    "chunks": {
      "chunks": 10
    }
  },

  "bootstrap": false,
  "mocha": {},
  "name": "BasicCodecept"
}

I have installed "@wdio/sauce-service": "^5.1.0" as devDependencies as https://webdriver.io/docs/sauce-service.html suggested

@puneet0191 Could you help with this?


where and how to guarantee that the mshr has entry for the miss req when allocate a entry?

Hi sir, I am learning about the gem5 cache now, when I  check the flow for a missing request, I found that it may allocate a mshr entry which is make sense,
BUT the allocating is without checking whether there is free entry in the MSHR?
and in function handleTimingReqMiss , allocateMissBuffer is called without checking the result which may be NULL?
I think it is possible that the MSHR has no entries when MSHRQueue::allocate is called, and a NULL pointer is returned
especally, in the MSHRQueue::allocate there is a assert than freelist must NOT be empty,  but HOW to guarantee this condition ？
https://github.com/gem5/gem5/blob/f29bfc0640c88a79eb7f94454ce31b3237ec0066/src/mem/cache/base.cc#L398
https://github.com/gem5/gem5/blob/f29bfc0640c88a79eb7f94454ce31b3237ec0066/src/mem/cache/base.hh#L1171
MSHR * MSHRQueue::allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt,
                    Tick when_ready, Counter order, bool alloc_on_fill)
{
    assert(!freeList.empty());

yeah I have get the point
every time BaseCache::allocateMissBuffer() is called， in the function will check the mshrQueue and set blocked flage if the queue is full.
        if (mshrQueue.isFull()) {
            setBlocked((BlockedCause)MSHRQueue_MSHRs);
        }

and every time the cache  receive a request,  the function BaseCache::CpuSidePort::recvTimingReq is called,  and in the function where before BaseCache::recvTimingReq is called,   tryTiming is called to check the blocked flag, if it set true,  the BaseCache::recvTimingReq will not be called in which  mshr entry may be allocated
https://github.com/gem5/gem5/blob/f29bfc0640c88a79eb7f94454ce31b3237ec0066/src/mem/cache/base.cc#L2562
    } else if (tryTiming(pkt)) {
        cache.recvTimingReq(pkt);
        return true;
    }


can I ask you the latest score you get?

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I am getting this right now, some gradient calc problem persist and trying to fix:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:87.1555, 83.6703, 83.6703
3d   AP:81.8364, 75.6352, 75.6352
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:89.0312, 84.9429, 84.9429
3d   AP:83.2703, 74.8559, 74.8559
aos  AP:92.63, 89.25, 89.25
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:88.4671, 87.8447, 87.8447
3d   AP:88.4409, 87.7542, 87.7542
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:92.9291, 91.6493, 91.6493
3d   AP:92.8714, 91.3892, 91.3892
aos  AP:92.63, 89.25, 89.25

Those are AP scores for object detection. Where R40 averages over 41 thresholds and the one without R40 averages over 11 thresholds.

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I am getting this right now, some gradient calc problem persist and trying to fix:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:87.1555, 83.6703, 83.6703
3d   AP:81.8364, 75.6352, 75.6352
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:89.0312, 84.9429, 84.9429
3d   AP:83.2703, 74.8559, 74.8559
aos  AP:92.63, 89.25, 89.25
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:88.4671, 87.8447, 87.8447
3d   AP:88.4409, 87.7542, 87.7542
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:92.9291, 91.6493, 91.6493
3d   AP:92.8714, 91.3892, 91.3892
aos  AP:92.63, 89.25, 89.25

Those are AP scores for object detection. Where R40 averages over 41 thresholds and the one without R40 averages over 11 thresholds.

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I am getting this right now, some gradient calc problem persist and trying to fix:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:87.1555, 83.6703, 83.6703
3d   AP:81.8364, 75.6352, 75.6352
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:89.0312, 84.9429, 84.9429
3d   AP:83.2703, 74.8559, 74.8559
aos  AP:92.63, 89.25, 89.25
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:88.4671, 87.8447, 87.8447
3d   AP:88.4409, 87.7542, 87.7542
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:92.9291, 91.6493, 91.6493
3d   AP:92.8714, 91.3892, 91.3892
aos  AP:92.63, 89.25, 89.25

Those are AP scores for object detection. Where R40 averages over 41 thresholds and the one without R40 averages over 11 thresholds.

Thank you for your help. you have got  a great score though there is still a gap. I want to git your item to fix the bug together, and if any questions, I will feedback here.

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I am getting this right now, some gradient calc problem persist and trying to fix:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:87.1555, 83.6703, 83.6703
3d   AP:81.8364, 75.6352, 75.6352
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:89.0312, 84.9429, 84.9429
3d   AP:83.2703, 74.8559, 74.8559
aos  AP:92.63, 89.25, 89.25
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:88.4671, 87.8447, 87.8447
3d   AP:88.4409, 87.7542, 87.7542
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:92.9291, 91.6493, 91.6493
3d   AP:92.8714, 91.3892, 91.3892
aos  AP:92.63, 89.25, 89.25

Those are AP scores for object detection. Where R40 averages over 41 thresholds and the one without R40 averages over 11 thresholds.

Thank you for your help. you have got  a great score though there is still a gap. I want to git your item to fix the bug together, and if any questions, I will feedback here.

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I am getting this right now, some gradient calc problem persist and trying to fix:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:87.1555, 83.6703, 83.6703
3d   AP:81.8364, 75.6352, 75.6352
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:89.0312, 84.9429, 84.9429
3d   AP:83.2703, 74.8559, 74.8559
aos  AP:92.63, 89.25, 89.25
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:88.4671, 87.8447, 87.8447
3d   AP:88.4409, 87.7542, 87.7542
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:92.9291, 91.6493, 91.6493
3d   AP:92.8714, 91.3892, 91.3892
aos  AP:92.63, 89.25, 89.25

Those are AP scores for object detection. Where R40 averages over 41 thresholds and the one without R40 averages over 11 thresholds.

Does the released item not give us the latest result,  there are some issues when running?

I try to reproduce 3dssd in Pytorch.but get also low scores.
can I ask you the latest mAP score you get and do you konw the evaluation meaning separately follows:
①Car<EMAIL_ADDRESS>0.70, 0.70:
②Car<EMAIL_ADDRESS>0.70, 0.70:
③Car<EMAIL_ADDRESS>0.50, 0.50:
④Car<EMAIL_ADDRESS>0.50, 0.50:

I am getting this right now, some gradient calc problem persist and trying to fix:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:87.1555, 83.6703, 83.6703
3d   AP:81.8364, 75.6352, 75.6352
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.70, 0.70:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:89.0312, 84.9429, 84.9429
3d   AP:83.2703, 74.8559, 74.8559
aos  AP:92.63, 89.25, 89.25
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:88.3067, 87.4015, 87.4015
bev  AP:88.4671, 87.8447, 87.8447
3d   AP:88.4409, 87.7542, 87.7542
aos  AP:88.31, 87.40, 87.40
Car<EMAIL_ADDRESS>0.50, 0.50:
bbox AP:92.6265, 89.2507, 89.2507
bev  AP:92.9291, 91.6493, 91.6493
3d   AP:92.8714, 91.3892, 91.3892
aos  AP:92.63, 89.25, 89.25

Those are AP scores for object detection. Where R40 averages over 41 thresholds and the one without R40 averages over 11 thresholds.

Does the released item not give us the latest result,  there are some issues when running?

It should give you the latest result though I am still looking for a solution to get higher performance

It should give you the latest result though I am still looking for a solution to get higher performance


imdecode jpeg2000 segfault or deadlock in multithreading

Expected behaviour
In the main thread, it works well as written in the example bellow:
import multiprocessing.pool
import cv2
import numpy as np
import tqdm

img = np.random.randint(0, 65335, (1024, 1024), dtype=np.uint16)
_, img_data = cv2.imencode(".jp2", img)
n = 100

def read(i):
    image = cv2.imdecode(buffer, cv2.IMREAD_ANYDEPTH | cv2.IMREAD_GRAYSCALE)

list(tqdm.tqdm(map(read, range(n)), total=n, desc="main thread main process"))
with multiprocessing.pool.Pool() as pool:
   list(tqdm.tqdm(pool.imap_unordered(read, range(n)), total=n, desc="main thread child process"))

Actual behaviour
But in a thread, it is all broken!
import multiprocessing.pool
import cv2
import numpy as np
import tqdm

img = np.random.randint(0, 65335, (1024, 1024), dtype=np.uint16)
_, img_data = cv2.imencode(".jp2", img)
n = 100

def read(i):
    image = cv2.imdecode(buffer, cv2.IMREAD_ANYDEPTH | cv2.IMREAD_GRAYSCALE)

with multiprocessing.pool.ThreadPool() as pool:
   list(tqdm.tqdm(pool.imap_unordered(read, range(n)), total=n, desc="child thread main process"))

When the code does not freeze by itself, an interrupt with ctrl+c leads allways to a segfault. Unlike the threadless example.
Steps to reproduce

Tested on Debian, Ubuntu and Mint
Version 4.9.0 of opencv-contrib-python-headless
Tested on python 3.9, 3.10, 3.11 and 3.12
architecture x86

I've just checked carefully.
Whether with a context fork or spawn, the function executes perfectly.
However, as soon as the thread, not the process, is no longer the principal, there seems to be a conflict with the GIL.
If we start a spawn process in each sub-threads. It works. But it is extremely slow to create a new spawn process each time!
But to create a fork process in each sub-thread doesn't solve anything.

@robinechuca Please publish your cv.getBuildInformation() output. I just tried your reproducer with <IP_ADDRESS> and it works just fine. BTW, OpenCV supports Jasper and OpenJPEG as back-end for JPEG2K. The first one is buggy and not supported for a long time. We recommend to use the second one, if you build OpenCV from source code.


Invalidating the session on failed refresh

When the token refresh endpoint fails to refresh the token and returns a status such as 403, 500, etc.  The token appears to remain in local storage.
Is this the expected behavior?
Is there a place where I can hook this to invalidate the session if the refresh fails?
This also seems to be the case if it just times out rather than a failure, so if I get a token but don't refresh it the session sticks around.

@angelosarto take a look at this PR - https://github.com/jpadilla/ember-cli-simple-auth-token/pull/97 I had the same question and resorted to this for now.

I ran into wanting this for the demo app. Honestly the only reason why we're not currently doing that is because simple-auth's oauth authenticator doesn't do that. But now I'm wondering why it doesn't.
@marcoow is there any reason why the oauth authenticator doesn't trigger sessionDataInvalidated for example whenever _refreshAccessToken is rejected?

The thinking behind not triggering sessionDataInvalidated when refreshing the access token fails is that the fact that refreshing fails doesn't mean the access token that the app already has is invalid. One could argue that certain responses indicate that the session should be invalidated of course (e.g. 401 and 403). I'd say though that a 500 error should not lead to sessionDataInvalidated being triggered.

@leo we were talking about this a few weeks ago, did we arrive to any conclusions?

@jpadilla Yes. It is definitely a great feature to be implemented. However, it's important to make sure that the session only gets invalidated if the server returns a 401 or 403 error (not for 500, for example - like Marco said it).

Hey all. Would really like to have this functionality in the core addon, and so have submitted the pull request above for review.

Is there anything left for this issue? It looks like the related bits have been merged. Am I missing anything?

Looks like #150 invalidates the session on 401 and 403. There was some discussion about invalidating on 400 and it was left as an exercise to the implementer to customize handleTokenRefreshFail to handle 400 if desired.
As a datapoint for consideration, DRF JWT will return 400 if the "Signature has expired". I don't know if one common backend is enough to justify adding 400 into the mix.

The session is invalidated on 401 and 403 responses: https://github.com/jpadilla/ember-simple-auth-token/blob/master/addon/authenticators/jwt.js#L316-L322


Revert "ci: Enable merge queue checks. Run only changed tests."

Reverts Flagsmith/flagsmith#3171
The code needs a fix to generate testmon baseline when branches are merged into the main branch. Current code only runs testmon on pull request events, and xdist on push events to main and mege_queue events.

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (9c475e4) 96.11% compared to head (731d8e6) 96.11%.
Report is 4 commits behind head on main.

Files
Patch %
Lines

api/features/import_export/tasks.py
80.00%
3 Missing :warning:

api/features/import_export/views.py
93.75%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3173    +/-   ##
========================================
  Coverage   96.11%   96.11%
========================================
  Files        1058     1059     +1
  Lines       31918    32037   +119
========================================
+ Hits        30677    30792   +115
- Misses       1241     1245     +4

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


Disable Copy and Paste Buttons

Hi, my question would be how to disable the copy and paste buttons in the editor,  cause on Flutter Web they seem kind of useless and out of position.

Widget htmlEditor = HtmlEditor(
  controller: controller, //required
  //other options
  toolbarOptions: HtmlToolbarOptions(
    defaultToolbarButtons: [
        //add any other buttons here otherwise only a few buttons will show up!
        OtherButtons(copy: false, paste: false),
    ]
  )
);

See more details at https://github.com/tneotia/html-editor-enhanced#toolbar. You can also view the source to see the default button code and copy paste that with this change.
By the way in v2.2.0 those buttons are removed by default (I was trying to reduce the clutter on initial setup), if you want to upgrade your version.


linux fixes recvmmsg flags type for musl/emscripten.

closes #2945

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

Changing their types would break existing code, I'd prefer to follow https://github.com/rust-lang/libc/blob/master/CONTRIBUTING.md#breaking-change-policy first.

Thanks! @bors r+

:pushpin: Commit 00204b0e20e0256f3c94755f1a6f6155bcfce867 has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit 00204b0e20e0256f3c94755f1a6f6155bcfce867 with merge a59c84294896802d6a58f39e7cb734b693b820cb...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing a59c84294896802d6a58f39e7cb734b693b820cb to master...

This change is causing deprecation warnings downstream, and there's nothing that downstream crates can do about it except to suppress the warning.  I don't think the policy laid out in https://github.com/rust-lang/libc/blob/master/CONTRIBUTING.md#breaking-change-policy is appropriate in this case.  That policy would make sense if upstream really were changing an API, and especially if upstream were removing it.  But in this case musl/emscripten didn't change anything.  Instead, libc was simply wrong.  I think libc should just go ahead and fix the definition for musl/emscripten.
A deprecation notice, IMHO, should only be used if there's some way for a downstream crate to be compatible with both the deprecated libc definitions and the fixed ones.

A deprecation notice, IMHO, should only be used if there's some way for a downstream crate to be compatible with both the deprecated libc definitions and the fixed ones.

Users can prepare the upcoming type changes if they depend on it.

This change is breaking CI for rustix (and probably other crates), which has deny(warnings) in the CI. And as @asomers already said, there is nothing (except allow(deprecated)) the user can do about this. Deprecating items is a mechanism for soft removal, not for announcing modifications to existing APIs.

Yes, as I mentioned here, these deprecations don't feel like the right way to handle API changes -- it makes sense to handle removals that way, but it's unclear what downstream users are supposed to do for changes other than #[allow(...)] them.


[BEAM-10917] Reverting PR-15185

Reverting https://github.com/apache/beam/pull/15185

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

BEAM-12180 description is "Revert https://github.com/apache/beam/pull/15185 on 2.33.0 release branch" but this PR is tagged with it even though it is reverting it on the master branch.

This was using the wrong Jira. Updated.


iphone-arm teleoperation

Hi,
Here https://mimic-play.github.io/ it seems you are using an iPhone to control the robotic arm. Could you please let me know how you did so? Is there any APP or open-source code to do so? Thanks.

Hi, yes, we are using RoboTurk (https://roboturk.stanford.edu/) to teleoperate the robot with an iPhone. However, RoboTurk has not been open-sourced since the leading student of RoboTurk graduated. Feel free to use your teleoperation interface or try out the spacemouse as introduced here.

Since it is not related to this repo, closing for now.


Node table read state

Introduce NodeTableReadState, which is always initialized before read.
The state caches column read states of the same node group, and local node group to read.
Fix #2890 and #2647.
#2257 is still not fixed. will leave that for a later PR that to correctly figure out nodeOffset (numValues) to read from persistent storage.

The read state is owned by scan node table operators, thus the life cycle is managed by the operator. Each state tries to re-use same state for the same node group.
Each table keeps its own read state inside ScanMultiNodeTables. ScanMultiNodeTables will switch between different states dynamically based on inVector.

Some comments explaining what the function does in the header declaring it might be helpful, and maybe also where it's being used.

Yep. will add more detailed comments altogether in the next PR on rel table read state.


Return false from  grant / revoke

Return a negative response instead of a NOOP to enable http-api to report non-implemented functions
See https://github.com/orbitdb/orbit-db-http-api/issues/20

Thank you @phillmac, looks good! Just a style nitpick, we use standard, ie no semicolons, can you remove them?

@shamb0t Done!

Thank you @phillmac! :pray: merged!


Keyboard display in GUI

There needs to be a keyboard display in sfizz GUI.
This is important to be able to:

Clearly see current range of regions
Keys set to keyswitch
Currently played MIDI notes
Rudimentary Virtual Keyboard (mouse over key, and press key to trigger output)

Here is a mock-up of what the keyboard could look like, I have placed the keyswitch indicators above the keys, as a keyswitch can be inside a region. I have used colour to indicate current region, but we may want to think about greying out notes outside of regions?

Middle C4 has a dot positioned under. This keyboard is designed to aid users in understanding what the SFZ Script is capable of- not for playability with the mouse. In which case a Virtual Keyboard that allows Musical Typing would be better equiped to handle.
Having the keyboard full range 0-127 allows consistency between SFZ Scripts, and simplifies the GUI display - as there is no need to include up/down octave UI elements.

A simpler design, not using colour (as it will be almost impossible to show multiple regions at same time, as regions can overlap)
NOTES:

Top dots denote keyswitches, with current active switch taller
Dots inside key represents notes that are played, either via MIDI or mouse
Bottom line indicates current keyswitch range
Mouse interaction would lock to key area on LMB, velocity of note set to 64, moving mouse on Y axis changes velocity of new notes. (Movement exceeds the vertical size of the key area)

I like II C :D I think color-coding only the keyswitches could make sense?

SFZ can have 128 keyswitches, so its quite a bit to colour code.

Is it bad that colors would repeat?

@jpcima no, not at all. But we may want to allow a few settings:

Mono (dark colour)
Custom palette

Mixing B + C with colour, and changed the keyswitches to sticks.

The rainbow is a bit distracting while not really carrying relevant information I think. Coloring the key switches directly on the keyboard also has an advantage in terms of compactness.

G inverted
This design inverts the use of range->keyswitch display. Hence dark notes (previous keyswitch) can be used to display key range.

G inverted keyswitch examples:
Keyswitch inside range (active switch is playable inside range- other switch is grey, as it changes the region played)

White notes of octave showing keyswitches:

F Traditional Keyboard, with keyswitch bar on top.

If using bar, the keyswitch displayed like a range. While keyswith can only on white keys or only on black keys or adjacten keys. It's a litte bit im-flexible imo

If using bar, the keyswitch displayed like a range. While keyswith can only on white keys or only on black keys or adjacten keys. It's a litte bit im-flexible imo

This depends if we're only considering the individual sw_last, sw_up, ... or the actual keyswitch range sw_lokey and sw_hikey

Top of keybed with 'felt'

L

Multi-Keyswitch keyboard, Down triangle signifies active keyswitch. (multiple active keyswitches to illustrate readability)

N

Unused keys are grey
sw_last has a paddle, which also shows active switch state
sw_last keys are also coloured with switch colour
sw_down keys are coloured- but have no top paddle (they are momentary)

Current GUI design iteration:

Continued in #418


Return Enumerator for .each instead of including Enumerable

via: http://blog.arkency.com/2014/01/ruby-to-enum-for-enumerator/

It's basically this code:
def each
  return enum_for(:each) unless block_given?
  # ...
end


Refactor/errors

This Pull Request addresses issue #499.
Implementation notes
Significant modifications have been made due to the widespread presence of error handling throughout the code. Extensive refactoring was necessary, making the review of this Pull Request particularly challenging. 😥
The implementation approach chosen mandates that all public functions within x/logic/prolog and x/logic/predicate packages return a standardized error in the form of a Prolog functor. Thus, error mapping is centralized at this level.
In anticipation of resolving issue https://github.com/ichiban/prolog/issues/310, additional error classes had to be implemented to accurately represent the nature of certain errors generated during predicate execution.
⚠ Breaking changes
Breaking changes impact:

the predicates themselves, as the reported errors have been altered.
the protobuf response from the logic module, which now includes an additional error field. Standard Prolog errors are now returned in the response instead of being considered a query failure due to an incorrect argument.

Summary by CodeRabbit

Documentation

Updated descriptions for parameters in predicate documentation.
Added new error field details to logic documentation.

New Features

Introduced an error field in the Answer structure for better error reporting.
Added new "string_bytes/3" predicate for enhanced string handling.

Bug Fixes

Corrected grammatical error in safeMeterDecorator comment.
Fixed typo in expectedAnswer field for TestGRPCAsk function.
Improved error handling and type checking across various predicates.

Refactor

Enhanced Bech32Address function with functional predicates and error reporting.
Streamlined context unwrapping and error handling in BlockHeight and BlockTime functions.
Updated ChainID function to use new context unwrapping method.
Refined execute method in Keeper type for better solution handling.
Optimized error handling and processing logic in JSONProlog function.

Style

Removed unnecessary import statements across multiple files for code cleanliness.

Tests

Modified test cases to align with the new error handling strategy.

Chores

Renamed functions to better reflect their purpose in assert.go.

Revert

Removed several atom declarations no longer needed in atom.go.

@coderabbitai pause


Build systems that delete directories can discard generated bitcode

When build systems place build outputs in temporary directories, build-bom generate-bitcode will place bitcode side-by-side with those outputs. When the build system cleans up temporary directories, the bitcode can be lost.
To fix this, we should add an extra (optional) command line flag to specify a prefix to store bitcode in. The directory structure in the prefix should mirror the real filesystem, for simplicity.

This is not actually an issue - build-bom actually attaches generated bitcode directly to ELF files (for now)


WATCH Bad Boys Ride or Die full movie HD (2024) online free for streamings

Enter the world of free streaming and downloading sites. Here's the catch though—while some are a goldmine of free content, others lurk in the shadows of illegality, filled with pirated movies where creators never see a dime of what's rightfully theirs. It's a double-edged sword; on one hand, free entertainment, and on the other, ethical and legal implications.
CLICK HERE TO GET FREE NOW

Watching movies online is essential entertainment for us. If the video quality is perfect, it will become more enjoyable. We know that there are many websites that allow free movie streaming, but here we summarize the best sites from which you can download HD movies for free and enjoy them offline.

M ALL
### The Movie You are Looking for Is Available at watch4khd.com In Various Formats. Follow The Given Link You Will Find What You are Looking For...

### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
.
.

### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
.

### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
.

### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
.

### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤

### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤
### 📺📱👉 𝘾𝙇𝙄𝘾𝙆 𝙃𝙀𝙍𝙀 𝙏𝙊 𝙒𝘼𝙏𝘾𝙃 𝙊𝙍 𝘿𝙊𝙒𝙉𝙇𝙊𝘼𝘿 𝙃𝘿 𝟏𝟎𝟎% 𝐖𝐨𝐫𝐤𝐢𝐧𝐠 𝐋𝐢𝐧𝐤

➭
➭


Introduce bug

This is to test out whether cppcheck or CodeQL would catch the source of the native crash we observed in our backend.

Cppcheck caught it, CodeQL didn't.


Is there anything like 'non-blocking take'?

I am trying to make two actions, 'loginflow' and 'jumptologin'. As their name , first is for login, and the second one will jump to the login page and goback when login success (replace the origin success callback), so im thinking about these code:
function* _loginFlow() {
    while (true) {
        const isJumpFromOthenPlace = yield take("JUMPTO_LOGIN");
        const { payload } = yield take("LOGIN");
        try {
            const { jsonResult } = yield call(api.login, payload.params);
            if (isJumpFromOthenPlace) {
                // jump back
            } else {
                // the origin success staff
            }
        } catch (err) {
        }
   }
}

so is there anything like 'non-blocking take' can make this work? Or is there better solution to achieve that goal? I know I could store it as a state and just check but I am still wondering about the stuff above.

Non-blocking - take(pattern) doesnt rly make sense, as take is acting as a listener for a pattern so it needs to be set up first and can listen only for actions AFTER being set up. Non-blocking kinda means that action would be available for a taking in the exact moment of take (listener) being set up. And those 2 cant happen in the same moment.
Non-blocking - take(channel) does make a little bit more sense, as channel can buffer things inside it, so it is possible that there is something already in the channel and in that case it will be returned to the saga synchronously so such scenario is made in non-blocking fashion. There is also a scenario where in the moment of take there is nothing in the buffer it will block until something pop ups in the buffer to be taken. To sum it up - non-blocking maybeTake (not the best name ;) ) would make sense only for channel usage, cause there are different scenarios right now when you take(channel).
For a non-blocking take(channel) someone could maybe try to utilize smth like:
const actions = yield flush(channel)
if (actions) {
    // ...
}

But lets go back to your case I aint sure whats the exact flow you are trying to achieve, but probably you should check out the race effect.
function* callApi(login, params) {
    const { jsonResult } = yield call(login, params)
    yield put({ type: 'LOGIN_SUCCESS', data: jsonResult })
}
function* _loginFlow() {
    while (true) {
        const { payload } = yield take("LOGIN")
        yield fork(callApi, api.login, payload.params)
        const { jumpTo, loginSuccess } = yield race({
            jumpTo: take("JUMPTO_LOGIN"),
            loginSuccess: take("LOGIN_SUCCESS")
        });
        if (jumpTo) {
            // jump back
            continue
        }
        const { data: jsonResult } = loginSuccess.data
        // the origin success staff
   }
}

Also a total rookie here, but if you're trying to listen for two types of action, you can do:
const action = yield take(['ACTION_TYPE_1', 'ACTION_TYPE_2'])
then check the action type:
if (action.type === 'ACTION_TYPE_1')
See the second to last example in this section of the docs

Thank you! I should read the docs carefully.

Yeah, didnt even think about it. Its probably in this case even a better
solution than racing 2 takes
On Thu, 27 Oct 2016 at 10:41, Arash Delijani<EMAIL_ADDRESS>wrote:

Also a total rookie here, but if you're trying to listen for two types of
action, you can do:
const action = yield take(['ACTION_TYPE_1', 'ACTION_TYPE_2'])
then check the action type:
if (action.type === 'ACTION_TYPE_1')
See the second to last example in this section of the docs
https://yelouafi.github.io/redux-saga/docs/advanced/NonBlockingCalls.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yelouafi/redux-saga/issues/601#issuecomment-256582222,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJWMkjchOxxyTSAh5TX06IU4_upRVxQ7ks5q4GOygaJpZM4Kh9SK
.


Motion annotation example

Adds an example image of the motion annotations available in Figma.

It's a gif of a raccoon eating popcorn on a sofa, but you were close.


Inbuilt LLM and Memory Configuration for Agents

Prerequisites

[X] I checked the documentation and made sure this feature does not already exist
[X] I checked the existing issues to make sure this feature has not already been requested

Feature
I would like to suggest adding inbuilt LLM (Large Language Model) and memory configuration options for our agents. While we currently have storage on agents, incorporating LLM and memory configuration can significantly enhance the agents' capabilities by providing reasoning and thought power, along with personalization through memory.
This feature would allow agents to become smarter and more personalized for users by enabling them to remember and use past interactions. Here is an example of how this could be implemented:
For LLM configuration:
my_llm = Ollama(
    model = "llama2",
    base_url = "http://localhost:11434"
)

alice = Agent(name="alice", seed="alice recovery phrase", llm=my_llm)

For memory configuration:
result = memory.add("I am working on improving my tennis skills. Suggest some online courses.", user_id="alice", metadata={"category": "hobbies"})
print(result)

# Search memories
related_memories = memory.search(query="What are Alice's hobbies?", user_id="alice")
print(related_memories)

Additional Information (Optional)
Implementing this feature can make the AI agents more personalized for users, enhancing their interaction experience and making the agents more useful in various applications. The LLM and memory configurations should be optional, allowing users to choose based on their specific needs.

Thanks for the suggestion!
As I see it this feature would behave similar to a RAG agent in which the response or behaviour of the agent is augmented by its interaction history rather than plainly from a contextual phrase. What kind of applications do you see here?
I'm wondering if this would benefit agents on a general level or only specific use-cases since not every agent is connected to DeltaV. I would have to look at the statistics again but I'm currently assuming (also for privacy and security reasons) that users would prefer to have this as an opt-in solution and since agents are meant to be very atomic most of the times it wouldn't make sense to add overhead by putting this feature inside the main uAgents framework.
This could potentially land in the contribution module or be an extra though.
Giving others the chance to weigh in here but my position is currently against that proposal.

I think it comes down to the definition of 'intelligence'. An agent is a piece of software that either wraps or attaches to your existing business logic so the agents main task (in almost every case) is to either:

provide a layer of abstraction for the communication between multiple entities, and/or
encapsulate trigger based logic where an input A will generate an output B.

In most cases the output of an agent will be deterministic meaning that you expect your agent to behave in a foreseeable fashion every time you interact with it. One simple example is an agent that needs to turn on the light when you tell it to. This should under no circumstances be influenced by preference - if you need the thing to happen when you want it to it definitely should happen.
This brings me to your example where an agent is tasked to do something but the output will be heavily if not fully influenced by a prediction or assumption based on your previous behaviour. This also implies that the interaction is multifaceted and consists of a complex graph, e.g. by using a dialogue. Or that the outcome relies on an interaction history.
Sure, from a user perspective it would sometimes be nice if the agent would turn on the lights automatically when you come into the room - but even that needs a trigger of sorts (proximity sensor, bluetooth connection, etc.). In contrast if you look at the main driving force in this world which is the industry sector you can see that reliability and deterministic behaviour has prevailed.
Also in this scenario the agent will shift from its role of an intermediary to the main interaction point and the more complex the scenario the more logic you need to implement in the agent anyway.
For me the solution is very simple: What you propose is a totally viable Integration. Something that every developer can simply add to their agent by copy&paste from the integrations folder (if he/she needs it) and not something that automatically comes with the agent.
So please feel free to open a PR with this addition as I'm sure it will help out some people and thank you for the suggestion :)


When is the injection triggert?

When will the injection code written in aop_impl.dart will be triggered?
I run the app but I don´t see the prints written in example aop project.
Any ideas?

Read DEBUG.md for more.


fix: ignore json content for current build

:tada: This PR is included in version 0.4.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


bundle: add arch suffix to zip name

Description

Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

Comes from https://github.com/napari/napari/issues/2898#issuecomment-867522044, later expanded in https://github.com/napari/napari/pull/2991 's description. This will finish closing #2898.

Note: I changed ARCH from uname().machine to platform.machine() to handle Windows as well.

How has this been tested?

[ ] Zip file name in CI Bundle contains arch name x86_64.

Final checklist:

[X] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

Windows errors are unrelated and will be fixed by #3300

See here:

Linux: https://github.com/napari/napari/pull/3302/checks?check_run_id=3474164505#step:8:50
MacOS: https://github.com/napari/napari/pull/3302/checks?check_run_id=3474164614#step:8:42


WFLY-5352 Documentation fixes in wildfly-singleton_1_0.xsd

https://issues.jboss.org/browse/WFLY-5352

Linux with security manager Build 3554 outcome was FAILURE using a merge of 527bc6898c8564bc9367e8388f3fe88b304b1153
Summary: Tests failed: 1, passed: 966, ignored: 291 Build time: 00:07:29
Failed tests
org.jboss.as.test.smoke.deployment.rar.tests.earmultirar.EarPackagedMultiRarDeploymentTestCase: 	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:46)
	at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:144)
Caused by: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.ra.deployer.\"ear_packaged.ear#ear_packaged2.rar\".jboss.ironjacamar.resource" => "org.jboss.msc.service.StartException in service jboss.ra.deployer.\"ear_packaged.ear#ear_packaged2.rar\".jboss.ironjacamar.resource: Failed to start service
    Caused by: java.lang.NullPointerException"}}
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getActionResult(ServerDeploymentPlanResultFuture.java:134)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.getResultFromNode(ServerDeploymentPlanResultFuture.java:123)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:85)
	at org.jboss.as.controller.client.helpers.standalone.impl.ServerDeploymentPlanResultFuture.get(ServerDeploymentPlanResultFuture.java:42)
	at org.jboss.as.controller.client.helpers.standalone.ServerDeploymentHelper.deploy(ServerDeploymentHelper.java:55)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:77)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deploy(ArchiveDeployer.java:46)
	at org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:144)
------- Stdout: -------
 [0m17:58:07,691 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment ds-example.jar (runtime-name: ds-example.jar) in 5ms
 [0m [0m17:58:07,697 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0002: Content removed from location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/smoke/target/jbossas/standalone/data/content/f9/30ca58858c6b3ae92c2a24b50dd2a8bfbc1043/content
 [0m [0m17:58:07,697 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0009: Undeployed "ds-example.jar" (runtime-name: "ds-example.jar")
 [0m [0m17:58:07,748 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/smoke/target/jbossas/standalone/data/content/f0/f889b6e1c0ba380f5c9ddcf9abdcad009abf0f/content
 [0m [0m17:58:07,751 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "ear_packaged.ear" (runtime-name: "ear_packaged.ear")
 [0m [0m17:58:07,762 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0207: Starting subdeployment (runtime-name: "ear_packaged.rar")
 [0m [0m17:58:07,762 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0207: Starting subdeployment (runtime-name: "ear_packaged2.rar")
 [0m [33m17:58:07,807 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.ear_packaged.ear.ear_packaged2.rar" is using a private module ("org.jboss.as.cli:main") which may be changed or removed in future versions without notice.
 [0m [33m17:58:07,808 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.ear_packaged.ear.ear_packaged2.rar" is using a private module ("org.wildfly.security.manager:main") which may be changed or removed in future versions without notice.
 [0m [33m17:58:07,811 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.ear_packaged.ear.ear_packaged.rar" is using a private module ("org.jboss.as.cli:main") which may be changed or removed in future versions without notice.
 [0m [33m17:58:07,812 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-2) WFLYSRV0018: Deployment "deployment.ear_packaged.ear.ear_packaged.rar" is using a private module ("org.wildfly.security.manager:main") which may be changed or removed in future versions without notice.
 [0m [33m17:58:07,816 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) WFLYSRV0018: Deployment "deployment.ear_packaged.ear" is using a private module ("org.jboss.as.cli:main") which may be changed or removed in future versions without notice.
 [0m [33m17:58:07,816 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) WFLYSRV0018: Deployment "deployment.ear_packaged.ear" is using a private module ("org.wildfly.security.manager:main") which may be changed or removed in future versions without notice.
 [0m [0m17:58:07,823 INFO  [org.jboss.as.arquillian] (MSC service thread 1-3) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."ear_packaged.ear",unit=ear_packaged.ear,tests=[org.jboss.as.test.smoke.deployment.rar.tests.earmultirar.EarPackagedMultiRarDeploymentTestCase]]
 [0m [0m17:58:07,833 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0007: Registered connection factory java:jboss/name2
 [0m [0m17:58:07,833 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0007: Registered connection factory java:jboss/name3
 [0m [0m17:58:07,836 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0006: Registered admin object at java:jboss/Name5
 [0m [0m17:58:07,837 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0006: Registered admin object at java:jboss/Name4
 [0m [0m17:58:07,838 INFO  [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-1) IJ020002: Deployed: file:/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/smoke/target/jbossas/standalone/tmp/vfs/deployment/deployment431867537befe5d3/ear_packaged2.rar-451f6e7267bfb198/contents/
 [0m [0m17:58:07,839 INFO  [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-4) IJ020002: Deployed: file:/opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/smoke/target/jbossas/standalone/tmp/vfs/deployment/deployment431867537befe5d3/ear_packaged.rar-4df71e84c5464fa1/contents/
 [0m [0m17:58:07,840 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0002: Bound JCA ConnectionFactory [java:jboss/name3]
 [0m [0m17:58:07,841 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0002: Bound JCA AdminObject [java:jboss/Name5]
 [0m [31m17:58:07,842 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.ra.deployer."ear_packaged.ear#ear_packaged2.rar".jboss.ironjacamar.resource: org.jboss.msc.service.StartException in service jboss.ra.deployer."ear_packaged.ear#ear_packaged2.rar".jboss.ironjacamar.resource: Failed to start service
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.jboss.as.connector.services.resourceadapters.IronJacamarActivationResourceService.start(IronJacamarActivationResourceService.java:196)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
	... 3 more

 [0m [0m17:58:07,843 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-2) WFLYJCA0002: Bound JCA ConnectionFactory [java:jboss/name2]
 [0m [0m17:58:07,849 INFO  [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0002: Bound JCA AdminObject [java:jboss/Name4]


Draft applications show up in admin application view/csv

Describe the bug
Tanya Test from Civiform UX reported the following: She created a draft of an application and did NOT submit it. Rosa reported that she was able to see Tanya's application in her admin view, and that fields of her application were incomplete.
Rosa did not receive an email confirming Tanya's application submission. So, it seems like when an applicant creates a draft application, Civiform knows that their application is incomplete, but it still puts their draft app in the the application/csv view.
This is confusing for an admin because they think this applicant made mistakes in their applications. This is problematic for the applicant because they may not want the city to see her application if she has not submitted it.
Expected behavior
Draft applications should not appear in admin application.
Additional context
Add any other context about the problem here.

Was able to reproduce this issue in test, will look into the code of what's causing this


Look for jshintrc in /etc/

We have multiple users using jshint on a central development server.
To enforce the corporate coding standard for all users in the same way, it would be nice if jshint would look at /etc/jshintrc.

It's worth looking at using the XDG spec - most new applications use that over /etc/XXX and ~/.XXXrc.

@paultag +1, and also it's wrong to use /etc/.jshintrc but it should be /etc/jshintrc!

@paultag I actually believe that support for all the locations should be looked up, which in order of valuation should be:

~/.jshintrc
$XDG_CONFIG_HOME/jshint/jshintrc
/etc/xdg/jshintrc
/etc/jshintrc

:+1: sounds good!


Travis check to prevent cross references from RHEA to more than one GO term

From #18015 (and probably other tickets).
We need a Travis check that prevents mapping RHEA IDs to more than one GO term.
Thanks, Pascale

BEFORE doing this we need an analysis of how many terms have this problem. Introducing a travis check now may create problems for all commits when people don't know which one to  remove, etc.

I have asked Mary Dolan to make a report on how bad (or not) the current ontology is. Once I have that I can go in if need to fix. After that, a check to make sure it doesn't happen again will be useful.

Ok, from Mary's report there are 14 RHEA ids in more than one GO term; I will fix.
I will also get a report of how many GO terms have more than 1 RHEA (hopefully none).

reports I'm working on
1rhea2go.txt
1go2rhea.txt

In 1go2rhea, many are (NAD(P)) reactions (hence two separate rhea; still need to resolve

1rhea2go will take a few days; many different issues involving either removal OR term merges.

It seems to me that this ticket should not be where I discuss the error reports; The point is that this ticket should NOT be invoked until I fix the errors we have. I will open a separate ticket to address the problems.

@balhoff , can I close this ticket now? The Travis check alerts us to duplicate Rhea when exact.

Yes, this is done.


Added TextToSpeechManager to support dynamic speech

Please note that the code for TextToSpeechManager is 100% new code by
me. However, portions of the Wav class were based on this sample:
http://answers.unity3d.com/questions/737002/wav-byte-to-audioclip.html
The author does release that code for others to use and I have
attributed the article in the class comments, but if this source
is not acceptable we will need to rewrite the WAV class.
Here are the steps for adding Text to Speech to your own apps:

Create an AudioSource somewhere in the scene. I recommend creating it on an empty GameObject that is a child of the Main Camera and is positioned about 0.6 units above the camera.
Add the TextToSpeechManager component to the scene.
Assoicate the AudioSource with the manager.
In code call TextToSpeechManager.Instance.Speak("Hello World");

Hi @jbienzms, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jared Bienz). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

To me it seems like the Singleton nicety is it's wrapping of the SpeechSynthesizer. Is there any reason not to simply drop the AudioSource from the class and require one to be passed in to the Speak method?

About to submit a new pull request with all of the above change requests implemented, so I'll close this pull request.


Postgis ST_ASTEXT problems in Medoo

Hi,
I have been developing with Medoo framework and I have a problem when I try to execute this code:
$data = $database->select(self::$mytable, ['id', 'point as ST_ASTEXT(point)], [deleted_date' => null]);
I have following error:
Array
(
[0] => 42703
[1] => 7
[2] => ERROR:  column "ST_ASTEXT" does not exist
LINE 1: "id","ST_ASTEXT...
^
)
Someone already had the same error? Someone can help me?
Thks

use $database->log() to fetch queried SQLs or use $database->debug()->select() to echo SQL without querying.


Access Denied on Launch

On most of my test machines, ChocolateyGUI can be opened by a non-administrator, whether or not they can install packages from the sources.
On one system, it crashes with "Access Denied" (see log below).
If I launch it as an administrator on the same machine, it runs as expected.
This is on a 0.14 release.
System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.get_HasExited()
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<InitializeImpl>d__32.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 324
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<Initialize>d__31.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 315
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<GetSources>d__24.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 257
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.ViewModels.SourcesViewModel.<LoadSources>d__5.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\ViewModels\SourcesViewModel.cs:line 62
2017-08-31 07:48:14.683 -04:00 [Fatal] Failed to initialize the chocolatey server.
System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.get_HasExited()
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<InitializeImpl>d__32.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 324
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<Initialize>d__31.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 315
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<GetSources>d__24.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 257
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.ViewModels.ShellViewModel.<GetSources>d__27.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\ViewModels\ShellViewModel.cs:line 134
2017-08-31 07:48:15.117 -04:00 [Fatal] Failed to initialize the chocolatey server.
System.ComponentModel.Win32Exception (0x80004005): Access is denied
   at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   at System.Diagnostics.Process.get_HasExited()
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<InitializeImpl>d__32.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 324
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<Initialize>d__31.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 315
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.Services.ChocolateyRemotePackageService.<GetInstalledPackages>d__13.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\Services\ChocolateyRemotePackageService.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ChocolateyGui.ViewModels.LocalSourceViewModel.<LoadPackages>d__50.MoveNext() in C:\projects\chocolateygui\Source\ChocolateyGui\ViewModels\LocalSourceViewModel.cs:line 293
2017-08-31 07:48:15.118 -04:00 [Fatal] Packages failed to load
2017-08-31 07:48:15.118 -04:00 [Fatal] Local source control view model failed to load.
2017-08-31 07:48:15.639 -04:00 [Fatal] Unhandled Exception

I installed from the MyGet repository at the time. I can again update now.
0.14.0-unstable.290+Branch.develop - not sure if that's good enough.
Also, thanks for adding the versions back in!

We've moved away from the process model that was causing this issue. Let me know if you're still running into this with the latest prerelease!


Support paramType in LiquidDoc Parser + Prettier

What are you adding in this PR?

What's next? Any followup issues?

What did you learn?

Before you deploy

[ ] This PR includes a new checks or changes the configuration of a check

[ ] I included a minor bump changeset
[ ] It's in the allChecks array in src/checks/index.ts
[ ] I ran yarn build and committed the updated configuration files

[ ] If applicable, I've updated the theme-app-extension.yml config

[ ] I included a minor bump changeset
[ ] My feature is backward compatible

[ ] I included a patch bump changeset

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#667
#666  👈 (View in Graphite)
#665
#652
#646
#621 : 2 other dependent PRs (#636 , #638 )
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


please write GC

Memory explosion.

Development of GC is ongoing.

The night before yesterday (BJT), @chuangzaojun revealed that after using GC, using the definition to recursively calculate $fib_{40} $ still requires more than 8GB of memory.


Add title "Code Conductor" to the main header

Main Goals(s):

The big blue main header of the application needs to have a title "Code Conductor".

Related File(s):

src\components\header\header.tsx
src\components\header\header-style.css

You do NOT and SHOULD NOT touch any JavaScript/TypeScript code for this task. You only need to modify the HTML section in header.tsx and add any styles if needed in header-style.css.

ay fam super professional person here im waiting on my pull req to be reviewed


Unknown subnet <IP_ADDRESS>/16 causing ERROR while creating firewall rules

Hi,
Beginner here following the guide Provisioning Compute Resources
Following the steps of creating the VPC,
gcloud compute networks create kubernetes-the-hard-way --subnet-mode custom
and then creating a subnet,
gcloud compute networks subnets create kubernetes \   --network kubernetes-the-hard-way \   --range <IP_ADDRESS>/24
the step to create internal firewall rules (below) fails because there is another subnet in the source ranges:
gcloud compute firewall-rules create kubernetes-the-hard-way-allow-internal \   --allow tcp,udp,icmp \   --network kubernetes-the-hard-way \   --source-ranges <IP_ADDRESS>/24,<IP_ADDRESS>/16
The command above fails with the following message:
ERROR: (gcloud.compute.firewall-rules.create) unrecognized arguments: <IP_ADDRESS>/16]  To search the help text of gcloud commands, run: gcloud help -- SEARCH_TERMS
Didn't see any other mention of the <IP_ADDRESS>/16 subnet before this point. Not sure if I missed something.

Hi @apoorv-chaudhary I have the same question when I walkthrough the lab. The cluster CIDR range is mentioned in an older commit of the 3rd lab. https://github.com/kelseyhightower/kubernetes-the-hard-way/commit/a9cb5f7ba50b3ed496a18a09c273941f80c6375a#diff-da1cd405cb4576bc83a993eccecff98de30acec2ba1f560c6bcb9adfb504e035L121
In the latest code, it's mentioned in the controller manager's unit file https://github.com/kelseyhightower/kubernetes-the-hard-way/commit/a9cb5f7ba50b3ed496a18a09c273941f80c6375a#diff-b3f8a18dcc3baf86b82f34f69caf1aa08e18fb6c670d798a743bc5ac05d81d58R8
In your case, I think it might be a formatting error with the \
Hope this helps!


Add provisional metadata ser in named field pos

Motive
It would be useful to be able to serialize additional metadata, i.e. data that is not scoped to the data representation itself (specifically, comments/documentation regarding the implications of a field/its possible values/valid range/etc).
Combined with crates like documented, this would (for example) allow for auto-documented configuration files.
This PR aims to provide a very lightweight (provisional) support for serializing metadata in named field position.
Serialization
Metadata should be provided to the serializer through PrettyConfig, since it's targeted at human readability.
The only relevant serialization call is <Compound as ser::SerializeStruct>::serialize_struct.
Why not in type position?
Distinguishing field position metadata from type position metadata is awkward. It's possible, but awkward:
/// type position
(
    /// field position
    ident:
    /// type position??
    (
        /// field position
        a: (),
        b: (),
    )
)

Why not in unit structs?
Unit structs are values:
(
    /// field position
    unit:
    /// type position?
    (
        // no fields, since it's unit..
    ),
)

Without type position, since there's no fields, there's nothing to do.
Why not in tuple structs?
Tuple structs have unnamed fields, which would make it appear as if values had metadata:
(
    /// field position
    tuple: (
        /// field position..?
        0,
        "",
    )
)

Why not in newtype structs?
Same as with tuple structs.
Why not in variants?
Variants are values, and suffer from the same problem as type position:
(
    /// field position
    variant:
    /// type position?
    /// variant position??
    Some(13)
)

Deserialization
Metadata is skipped during deserialization. This is given by using the comment syntax.
Open Questions

Where should the metadata live during serialization? In Serializer? PrettyConfig? Should it be skipped when serializing PrettyConfig?

What to use to mark metadata? To keep backwards compatibility, either // or /// are suitable, with /// additionally offering forwards compatibility to distinguish metadata from plain comments.

How to avoid overlaps? If two structs have a field that share a name, there’s no way to differentiate them. Additional data would have to be tracked to distinguish these namespaces. Because this might be surprising, I'd say this should stay a draft until this has a solution.
Example of an overlap:
mod inner {
    pub struct Definition {
        a: usize,
    }
}

struct Definition {
    a: usize,
    inner: inner::Definition,
}

Example Usage
use ron::ser::PrettyConfig;
use serde_derive::{Deserialize, Serialize};

fn main() {
    #[derive(Serialize, Deserialize)]
    pub enum C {
        Variant,
    }

    #[derive(Serialize, Deserialize)]
    pub struct B {
        pub c: C,
    }

    #[derive(Serialize, Deserialize)]
    struct A {
        a: usize,
        b: B,
    }

    let value = A {
        a: 0,
        b: B { c: C::Variant },
    };

    let mut config = PrettyConfig::default();

    config.meta.insert("a", "this is paired with a");
    config.meta.insert("b", "this is paired with b");
    config.meta.insert("c", "this is paired with c");

    let s = ron::ser::to_string_pretty(&value, config).unwrap();

    println!("{s}");

    assert!(ron::de::from_str::<A>(&s).is_ok());
}

(
    /// this is paired with a
    a: 0,
    /// this is paired with b
    b: (
        /// this is paired with c
        c: Variant,
    ),
)

Regarding the collision problem: Binding the meta to the struct name as well and not just field name significantly reduces the risk of collision, but does not eliminate it. A { a } would still be indistinguishable from inner::A { a }.
Since the type isn't accessible from serialization however, the only way to fully eliminate the collision problem is by not relying on type binding in the first place. One alternative might be to supply the meta as a structured hierarchy.
This requires the serializer to keep track of which field(s) are currently entered.
My API currently looks something like this:
fn main() {
    #[derive(Serialize)]
    struct A {
        a: usize,
        b: inner::A,
        c: usize,
    }

    mod inner {
        use serde_derive::Serialize;
        #[derive(Serialize)]
        pub struct A {
            pub a: usize,
        }
    }

    let mut config = PrettyConfig::default();

    {
        let meta = &mut config.meta;

        {
            let field = meta.field_mut_or_default("a");
            field.set_meta("field a");
        }

        {
            let field = meta.field_mut_or_default("b");
            field.set_meta("field b");

            field.set_inner({
                let mut fields = Fields::new();
                fields.field_mut_or_default("a").set_meta("inner field a");
                fields
            });
        }

        {
            let field = meta.field_mut_or_default("c");
            field.set_meta("field c");
        }
    }

    let value = A {
        a: 0,
        b: inner::A { a: 0 },
        c: 3,
    };

    let s = ron::ser::to_string_pretty(&value, config).unwrap();

    println!("{s}");
}

(
    /// field a
    a: 0,
    /// field b
    b: (
        /// inner field a
        a: 0,
    ),
    /// field c
    c: 3,
)

Alright, I think that should clear up the collision problem. Support for more positions can be added later seamlessly. Going with PrettyConfig and /// seems like a reasonable choice to me. I'll un-draft this because the impact of this PR on the crate should be rather minimal

Thank you @voidentente for your PR and the extensive motivation!
I absolutely agree with the motivation for adding attributes in general and doc comments as a first step towards them.
What I'm unsure about is the focus on type-based docs instead of value-based docs. As you very thoroughly lay out, there are almost no uniquely type-based places for docs to appear, with struct-like fields being the exception, most other places feel more like they would be used for value-docs.
Furthermore, the API for type-based docs feels a bit brittle as there is a possibility for name clashes or the structure of the type names needs to be separately encoded again.
What I would prefer is a value-based docs (later generalised to attributes) API that is more general and can be utilised to then build a type-based API on top of it (but probably not inside RON but another crate). In particular, I would suggest that stylistically, doc comments generally go on the line above the value and we add a special case for fields so that they are serialised as follows:
(
    /// my value comment
    a: 42,
)

What I think might work well is an API similar to serde_spanned (which I've wanted to support in RON for a while but haven't gotten to), that is:

a new separate serde_meta or serde_value_attrs crate (I don't think one exists already) that publicly exports a type pub struct Meta<'a, T> { meta: Cow<'a, [(Cow<'a, str>, Cow<'a, str>)]>, value: T } and hidden-exports some helper functions to identify when this type is being serialised and deserialised (taking serde_spanned for heavy inspiration)
add serialising support such that ("doc", "my-doc") attributes are serialised as /// my-doc (and error for any other attribute keys right now)
add deserialising support such that doc comments are parsed, usually ignored, but provided when a struct that matches Meta is deserialised

Types that would always like to serialise the same doc comments (type-based) could then update their serialisation code to always serialise the same comment. Your proposed API of taking an existing data structure and serialising it with separate type comments could be built by wrapping the serialiser and injecting metadata structs whenever a matching struct is serialised.
What are your thoughts?

Well, I expressly wanted to keep the extent of this PR as scoped as possible. It's based entirely on top of the comment syntax, because I'm unsure of the idiomacy of deserialization of metadata. If metadata is capable of deserialization, it wouldn't be just for human readability. At that point, the difference between metadata and normal data becomes muddy.
You bring up other attribute kinds, which would require a new syntax and thus support by the deserializer. I'm hesitant about this, because it would be a breaking change (unless some piggybacking happens, like //kind/ value or similar).
The primary motivation (at least for me here) is serializing documentation. There's no need to be capable of deserializing metadata in order to update it; the user should be able to dictate what metadata to put where regardless of the previous state of the document.
Since this PR should be entirely non-breaking, it'd be a first good step to adding support. It wouldn't be forwards-compatible with an extended format, but that's fine if this part of the API is marked as unstable. I'm not knowledgeable enough about the serde ecosystem to transform this into a fully-featured, integrated, stable API from the get-go.

What I'm unsure about is the focus on type-based docs instead of value-based docs. As you very thoroughly lay out, there are almost no uniquely type-based places for docs to appear, with struct-like fields being the exception, most other places feel more like they would be used for value-docs.
Furthermore, the API for type-based docs feels a bit brittle as there is a possibility for name clashes or the structure of the type names needs to be separately encoded again.

Type position is usually a subset of field position, which is why I chose to neglect it. Serializing in a way that differentiates it between field position metadata would hurt readability.
/// type position
Type (
    /// field position
    a:
    /// type position
    0,
    /// field position
    opt:
    /// type position
    Some(13),
    /// field position
    inner:
    /// type position
    Other {
        /// field position
        value:
        /// type position
        (),
    }
)

The collision problem should be entirely resolved by using hierarchy. The serializer internally keeps track of which field is entered, allowing to differentiate fields with the same name based on context.
The (field position) metadata for the above RON is currently expressed like this:
["a"]              = "field position"
["opt"]            = "field position"
["inner"]          = ..
["inner"]["value"] = ..

Well, I expressly wanted to keep the extent of this PR as scoped as possible. It's based entirely on top of the comment syntax, because I'm unsure of the idiomacy of deserialization of metadata. If metadata is capable of deserialization, it wouldn't be just for human readability. At that point, the difference between metadata and normal data becomes muddy.

I appreciate the minimal initial approach and the focus on doc comments as a first step! And it’s true that treating metadata as data in the serde model might not be suited for all use cases, where your proposed more ad-hoc API would work very well.
Your proposed API is thus growing on me and I think it could be supported long-term, even if it’s internal implementation might at some point switch to a proper attribute system.

You bring up other attribute kinds, which would require a new syntax and thus support by the deserializer. I'm hesitant about this, because it would be a breaking change (unless some piggybacking happens, like //kind/ value or similar).

Ron already has attributes, though they’re currently only used to enable features and are only allowed at the top of the document. This could simply be expanded, and just like in Rust, doc comments would be supported as /// and #[doc = “”].

What this PR would still need is tests to ensure full coverage and to test how field docs can be added e.g. to a struct nested in an enum inside a vec

how field docs can be added e.g. to a struct nested in an enum inside a vec

TL;DR: The hierarchy is not absolute, but relative to entered structs with named fields. The test file asserts that addressing fields of a struct nested in an enum inside a vec is structurally equivalent to addressing a struct.

API-wise, I think the meta field on PrettyConfig should be of an new Meta type, which then exposes a fields() method, so that we could add support for different accessors later.
Could there be a test for a tuple (Person, Pet) and how the name clashes are handled there?

@juntyr Any more thoughts on this?

Sorry for the delay in the review, things have been hard

The path traversal should now be constant time. I'm not super happy with the public API, but it's prone to change anyway.

I'll also throw in that Fields currently uses SipHash, which might be overkill. We could get a minor performance increase with AHash.

Thank you @voidentente for your continuous work on this PR - just a few more nits and I'm happy to land this

I moved the PR to the ser module just to make it more obvious that it only performs serialization, and renamed it and the test file to path_meta. PrettyConfig now contains it directly, which should be more intuitive.

Thank you @voidentente for your work on this feature!