Allow to change camera user hfov in camera_view plugin

Signed-off-by: Alejandro Hernández Cordero<EMAIL_ADDRESS>🎉 New feature
Set the user camera's horizontal fov through the View Angle plugin.
Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

I think the previous PR was closed due to crashes on the gz-rendering side. It don't know if it's still be an issue. Maybe @jennuine has more info.

I think the previous PR was closed due to crashes on the gz-rendering side. ~It don't know if it's still be an issue~. Maybe @jennuine has more info.

Update: just remembered I was able to reproduce the crash by manually changing the <horizontal_fov> tag

Correct, we closed the original PR because it was exposing this bug https://github.com/gazebosim/gz-rendering/issues/710
The crash occurs when you set the HFOV to high (e.g., 150) then move the camera away. For more details: https://github.com/gazebosim/gz-sim/pull/1499#pullrequestreview-1009122496

here's more info about the crash from debugging: https://github.com/gazebosim/gz-rendering/issues/710#issuecomment-1329968963. I think the short term workaround is to set some bounds on the camera pos.

We discussed adding a limit in the ViewAngle plugin on the hfov users can set so as to reduce the chances of running into the https://github.com/gazebosim/gz-rendering/issues/710 bug. But it seems to me a more reliable solution would be to limit the maximum distance of the camera from the origin per this comment. @iche033, is that fairly trivial to do?

yeah in gz-rendering, we can just limit pose of nodes in gz-rendering ogre2: https://github.com/gazebosim/gz-rendering/blob/gz-rendering7/ogre2/src/Ogre2Node.cc#L107-L113. We just need to figure out a reasonable max value to limit the pos to.

limit max FOV to PI in 948d28f. Together with https://github.com/gazebosim/gz-rendering/pull/827, gz-sim should no longer crash

Thank you for the fix @iche033


"Orlea" is listed in the drop-down menu

Description:
When user writes "Orlea" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Orlea"
Expected results
The location appears in the drop-down menu as "Comuna Orlea, OLT"


Some option produce error

When using any of the below parameters an "Encountered an internal server error" occurs. We have found no solution but to leave out the parameters that cause issue, then the remainder of the other parameters will work without issue.
Parameters that cause error: City, CountryOrRegion, GeoCoordinates, PostalCode, State & Street

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c8ef4fb7-736b-99e8-796b-c1d02410a7e4
Version Independent ID: 0fb75415-2bd2-a880-aa9e-a06c76d9ddc4
Content: Set-Place (exchange)
Content Source: exchange/exchange-ps/exchange/mailboxes/Set-Place.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

It appears that the troubled parameters cannot be used if the object is replicated from on-prem AD. Most of the fields can be set within the on-prem AD object and sync to Azure. This exception appears to be missing from the above documentation.
However, the  "GeoCoordinates" parameter does not sync from on-prem AD and there appears to be no way to set this.

@officedocsbot assign @yogkumgit

Hi @NickDorak, thank you for your feedback.
We are working on it. Same as https://github.com/MicrosoftDocs/office-docs-powershell/issues/4780.

@dariomws Thank you very much for the contribution. @NickDorak  Kindly check #4780 as PR is created and merged. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

That just shows that the problem was ignored and marked "cloud only", which is not entirely true.
The options partially work for on-prem synced objects. There is an issue with Exchange where it thinks (incorrectly) that some fields are managed on-prem, then they are not. There is no way to set the GeoCoordinates filed for example.
This should be escalated to the product team so they can correct the problem.
Also, the command should throw an appropriate error if using a parameter that can't be used.

@NickDorak, you best option is to open a support case about this.


Playground update

Describe the bug
I was trying to use the playground viewer and tried loading template with table which content is an array and got an error that content expects string. I used 4.1.0 version in code which worked with arrays but it's not working in playground.
To Reproduce
get a template with table and replace content with [] instead of stringified array.
template (18).json
Expected behavior

Your Environment
- pdfme package(@pdfme/generator or @pdfme/ui):
- pdfme version: https://playground.pdfme.com/form-viewer
- Operating system: win 11
- Node.js version or Browser name & version: Microsoft Edge 126.0.2592.102

Your Error Log
Expected string, received array

Additional context
No response

Updated. However, since the content is always a string, your error will not be resolved.
https://playground.pdfme.com/


Better error message if things go wrong in machine extraction

I tried to debug why the RISC-V machine doesn't work with --linker-mode bus yet, and this adds helpful error messages.

Could you maybe do this on top of https://github.com/powdr-labs/powdr/pull/2136 to reduce conflicts? Thanks!

Rebased against main.


request help: running plugin runner with apisix - no socket file

Go Version: 1.17.6
APISIX Version: 2.11.0
APISIX-GO_PLUGIN_RUNNER: release/0.2.0
2022/01/24 00:07:05 [warn] 72671#72671: *68 [lua] init.lua:753: 2022-01-24T00:07:05.123-0600	INFO	plugin/plugin.go:66	register plugin limit-req
2022-01-24T00:07:05.123-0600	INFO	plugin/plugin.go:66	register plugin say
2022-01-24T00:07:05.123-0600	WARN	server/server.go:177	conf cache ttl is 1h0m0s
2022-01-24T00:07:05.123-0600	WARN	server/server.go:185	listening to /usr/local/apisix/logs/conf/apisix-72666.sock
2022-01-24T00:07:05.123-0600	FATAL	server/server.go:200	listen /usr/local/apisix/logs/conf/apisix-72666.sock: listen unix /usr/local/apisix/logs/conf/apisix-72666.sock: bind: no such file or directory
github.com/apache/apisix-go-plugin-runner/internal/server.Run
	/home/svmlp17/go-plugin-runner/apisix-go-plugin-runner/internal/server/server.go:200
github.com/apache/apisix-go-plugin-runner/pkg/runner.Run
	/home/svmlp17/go-plugin-runner/apisix-go-plugin-runner/pkg/runner/runner.go:43
main.newRunCommand.func1
	/home/svmlp17/go-plugin-runner/apisix-go-plugin-runner/cmd/go-runner/main.go:134
github.com/spf13/cobra.(*Command).execute
	/home/svmlp17/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
	/home/svmlp17/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960
github.com/spf13/cobra.(*Command).Execute
	/home/svmlp17/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
main.main
	/home/svmlp17/go-plugin-runner/apisix-go-plugin-runner/cmd/go-runner/main.go:160
runtime.main
	/usr/local/go/src/runtime/proc.go:255
, context: ngx.timer
2022/01/24 00:07:05 [warn] 72671#72671: *68 [lua] init.lua:759: runner exited with reason: exit, status: 1, context: ngx.timer
2022/01/24 00:07:05 [warn] 72671#72671: *68 [lua] init.lua:329: flush_token(): flush conf token in shared dict, context: ngx.timer
2022/01/24 00:07:05 [warn] 72671#72671: *68 [lua] init.lua:664: flush conf token lrucache, context: ngx.timer
2022/01/24 00:07:05 [warn] 72671#72671: *68 [lua] init.lua:769: respawn runner 3 seconds later with cmd: ["\/home\/svmlp17\/go-plugin-runner\/apisix-go-plugin-runner\/go-runner","run"], context: ngx.timer
2022/01/24 00:07:05 [warn] 72667#72667: *23985 [lua] init.lua:329: flush_token(): flush conf token in shared dict, context: ngx.timer
2022/01/24 00:07:05 [warn] 72667#72667: *23985 [lua] init.lua:664: flush conf token lrucache, context: ngx.timer
2022/01/24 00:07:05 [warn] 72668#72668: *23986 [lua] init.lua:329: flush_token(): flush conf token in shared dict, context: ngx.timer
2022/01/24 00:07:05 [warn] 72668#72668: *23986 [lua] init.lua:664: flush conf token lrucache, context: ngx.timer

The plugin runner is not able to connect with the socket.
@ragavmaddali

How do you configure the ext-plugin in APISIX?
Could you show us the way you run go-runner?

Hi:
Here is the configuration for ext-plugin
ext-plugin:
    # path_for_test: /tmp/runner.sock
    cmd: ["APISIX_LISTEN_ADDRESS=unix:/tmp/runner.sock", "/home/[redacted]/go-plugin-runner/apisix-go-plugin-runner/go-runner", "run"]

The go plugin runner is built inside apisix-go-plugin-runner directory.
It is running in a Virtual Machine with CentOS.

I have to start apisix with sudo as in sudo apisix start.
I am getting this error now:
2022/01/25 06:09:15 [warn] 93002#93002: *68 [lua] init.lua:771: respawning new runner..., context: ngx.timer
2022/01/25 06:09:15 [error] 93002#93110: lua pipe child execvp() failed while executing APISIX_LISTEN_ADDRESS=unix:/tmp/runner.sock (2: No such file or directory)
2022/01/25 06:09:15 [warn] 93002#93002: *68 [lua] init.lua:759: runner exited with reason: exit, status: 1, context: ngx.timer
2022/01/25 06:09:15 [warn] 93002#93002: *68 [lua] init.lua:329: flush_token(): flush conf token in shared dict, context: ngx.timer
2022/01/25 06:09:15 [warn] 93002#93002: *68 [lua] init.lua:664: flush conf token lrucache, context: ngx.timer
2022/01/25 06:09:15 [warn] 93002#93002: *68 [lua] init.lua:769: respawn runner 3 seconds later with cmd: ["APISIX_LISTEN_ADDRESS=unix:\/tmp\/runner.sock","\/home\/svmlp17\/go-plugin-runner\/apisix-go-plugin-runner\/go-runner","run"], context: ngx.timer
2022/01/25 06:09:15 [warn] 92999#92999: *1206 [lua] init.lua:329: flush_token(): flush conf token in shared dict, context: ngx.timer
2022/01/25 06:09:15 [warn] 92999#92999: *1206 [lua] init.lua:664: flush conf token lrucache, context: ngx.timer
2022/01/25 06:09:15 [warn] 92998#92998: *1207 [lua] init.lua:329: flush_token(): flush conf token in shared dict, context: ngx.timer
2022/01/25 06:09:15 [warn] 92998#92998: *1207 [lua] init.lua:664: flush conf token lrucache, context: ngx.timer

Let's remove the "APISIX_LISTEN_ADDRESS=unix:/tmp/runner.sock". It's only for development purposes.
See https://github.com/apache/apisix-go-plugin-runner/blob/master/docs/en/latest/getting-started.md

APISIX will automatically assign a unix socket address for the runner to listen to when it starts. environment variables do not need to be set manually.

I removed it but then the earlier error messages appear.
I think it is permission issue on the VM, because it worked within a docker container.
Alternate option found. Closing the issue.


This page is out of date

As of today this page is out of date. In the new navigation pane I am missing a useful option when using RLS. I can no longer toggle between reports that are linked to one dataset/workspace in the navigation pane to the left.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: c1ac88ce-bda3-f687-18a2-ec414b7b6b15
Version Independent ID: c1ac88ce-bda3-f687-18a2-ec414b7b6b15
Content: Updates to the experience in the Power BI service - Power BI
Content Source: powerbi-docs/fundamentals/service-experience-changes.md
Service: powerbi
Sub-service: pbi-fundamentals
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @stevemc77. This issue has been assigned to the doc author for review.

Hi @stevemc77, I'm moving this issue to our work item backlog for better consideration and tracking, and closing it here in the meantime. Thanks for pointing this out!


WIP: multi optimizations of ui and interactive

Description
Modules

[x ] UI
[ ] Controller
[ ] Agent
[ ] Client
[ ] Python-SDK
[ ] Others

Checklist

[ ] run code format and lint check
[ ] add unit test
[ ] add necessary doc

#1243


Naming convention

The branch called firstAttempt collects bits and pieces from the various examples to steer towards a first executable. However, while starting that, missing code files had to be named, ideally with a coding convention. I see that as an issue sinceI didn't simply want to dictate that.
Currently the include files for the skeleton main() start with "LG..." for Legend. Would be good to fix this issue before more code appears, needing re-naming potentially. The executable name firstAttempt.cc is already bad enough.

For now, let's keep it simple and along the lines of the Geant4 examples (as this essentially how this is going to be structured, so

Decide on a name for the actual executable (warwick-legend?)
Move firstAttempt.cc -> warwick-legend.cc
Headers/Classes named as PREFIXClassName.h, class PREFIXClassName. LG's fine as the prefix given this is going to be standalone, but feel free to change this to something like WLGD or WarwickLegend if you prefer additional clarity.

It's pretty trivial to change these easily later on using VScode via the refactoring tools, or clang-tools and clang-tools-extra(some docs here). Those are available on SCRTP either through modules or in CVMFS from the sft.cern.ch repo (or on macOS from the homebrew install of the llvm formula). In other words, easy to change when and if required!
So I'd go ahead and merge things modulo the scheme outline above. We can then iterate as we go along. Once you've done that, I'll set up .clang-tidy/format files to automate those parts.


MINOR: Some cleanups and additional testing for KIP-88

cc @vahidhashemian @ijuma

LGTM. Thanks for improving the code for KIP-88.

@ijuma Thanks for reviewing. Pushed another commit to address your comments.

LGTM, thanks.


Improve view initialization

May be requires by #265 to be able to set the Problems view as default view
also includes forgotten working copy service override

@CGNonofr will test this locally today.

@CGNonofr the works as configured after I reset the user data. But that makes sense. 😊
Where is the all the new views code coming from? You did not just write that, did you?

Where is the all the new views code coming from? You did not just write that, did you?

Nop! it comes from the VSCode layout service but I didn't find a way to not have to copy/paste it

Nop! it comes from the VSCode layout service but I didn't find a way to not have to copy/paste it

👍


[Analyzers] Resolve Stylecop SA1516 violations and others to enable fully building on VS 17.12

Summary of the Pull Request
Resolved more StyleCop issues and analyzer violations break building in Visual Studio 17.12

PR Checklist

[ ] Closes: #xxx
[X] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

/azp run

/azp run


restrict "join" form

The join form needs to report when an invalid room id has been entered.
Also, only permitted joining existing rooms.

Fixed by 9a436acd0704266633caf4a8dbe27786d510a429


Add no-commonjs-exports-with-import rule

We want to start using Webpack to resolve imports instead of Babel. One
key difference is that Webpack will break the bundle if you use import
in the same file that module.exports is used, but it will appear to
build pretty alright. When this happens, webpack outputs a warning like:
WARNING in ./foo.js
4:12-13 "export 'default' (imported as 'bar') was not found in './bar'

And when the JS is run in the browser, an error like the following is
logged:
Uncaught TypeError: Cannot assign to read only property 'exports' of
object '#<Object>'

To make this safer to turn on, I am adding this
no-commonjs-exports-with-import rule which reports when it encounters an
import in the same file as a CommonJS module.exports or exports.*.

This might be a duplicate of #804.

Coverage decreased (-0.09%) to 95.879% when pulling d064150d46ef74966a740231c8cc32f2066c9e01 on lencioni:no-common-js-exports-with-import into 40f56350cea6e91cbab748995e3470550ccd5d4b on benmosher:master.

Coverage decreased (-0.09%) to 95.879% when pulling d064150d46ef74966a740231c8cc32f2066c9e01 on lencioni:no-common-js-exports-with-import into 40f56350cea6e91cbab748995e3470550ccd5d4b on benmosher:master.

#804 is now merged.

#804 is now merged.


Streaming Receiver Tests for DeadLetter Queue/Subscription

Follow up from #101:
Test Complete/Abandon/Defer/Deadletter msgs from Deadletter Queue/Subscription with autocomplete enabled/disabled

Closing this item.
Complete/Abandon/Defering message from dead letter queue is no different from doing the same from a normal queue. So we dont get any benefits from these tests.
Deadlettering a deadlettered message is already tested in the batching receiver.


PubMedArticle.citation_html no longer adding most HTML tags

PubMedArticle.citation_html is no longer adding tags to most parts of the citations. It looks like only the  surrounding "et al" has been retained in cite.author_str().
I contributed this function to the old repository, but it seems to have been lost during refactoring. There's now a single article_cit_fmt and book_cit_fmt in cite.py, rather than PubMedArticle.citation and PubMedArticle.citation_html defining their own format strings.
The HTML format strings were:
article_cit_fmt = '{author}. {title}. {journal}. {a.year}; {a.volume}:{a.pages}.'
book_cit_fmt = '{author}. {book.title}. {cdate} (Update {mdate}). In: {editors}, editors. {book.journal} (Internet). {book.book_publisher}'

We're using this functionality in MaveDB (example) and it would be great to have this restored so we can install metapub from PyPI rather than from a specific commit in the old repo.
I'll start on a PR for this. Any guidance about how this should coordinate with related work in https://github.com/metapub/metapub/pull/11 and https://github.com/metapub/metapub/milestone/3 would be welcome!

Hey @afrubin , apologies for the long delay in response.  I'll be setting some time aside to deal with this in the next couple days.


Bug Stuck on Building development bundle

Hi,
Going through the readme explanation, when adding gatsby-embedder-excalidraw to gatsbyRemarkPlugins of gatsby-plugin-mdx and running gatsby develop, the building bundle stuck and never finishes.
Reproducible example in codesandbox:

Also, cloning the repo (installing the dependencies etc.) and running the example will result in the same issue.

Ah I see! You mentioned that you added gatsby-embedder-excalidraw as a Gatsby remark plugin for MDX, but instead you need to add gatsby-remark-embedder to gatsbyRemarkPlugins and then require this library as a custom transformer. You can see this technique being used in the example here: https://github.com/excalidraw/gatsby-embedder-excalidraw#configure-plugins

Ah I see! You mentioned that you added gatsby-embedder-excalidraw as a Gatsby remark plugin for MDX, but instead you need to add gatsby-remark-embedder to gatsbyRemarkPlugins and then require this library as a custom transformer.
You can see this technique being used in the example here: https://github.com/excalidraw/gatsby-embedder-excalidraw#configure-plugins

The config is configured according to docs.
plugins: [
    {
      resolve: "gatsby-plugin-mdx",
      options: {
        gatsbyRemarkPlugins: [
          {
            resolve: "gatsby-remark-embedder",
            options: {
              customTransformers: [require("gatsby-embedder-excalidraw")]
            }
          }
        ]
      }
    }
  ]

As I mentioned, there is a reproducible example of the problem in codesandbox, and the example in this repo not working as well.
Here is the error (appeared in the sandbox, on local it stuck)
  Error: The following error appeared while processing 'https://excalidraw.com/#  json=5695519967936512,sLhjTgn1_wB1iVLLquX6Fg':
  Failed to launch the browser process!
  /sandbox/node_modules/puppeteer/.local-chromium/linux-756035/chrome-linux/chro  me: error while loading shared libraries: libX11-xcb.so.1: cannot open shared   object file: No such file or directory
  TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troub  leshooting.md

You have some libraries missing that are required to run puppeteer

@denvash I just published a new version a few days ago that should address any build hanging or failing issues. Could you please try again? We were seeing some issues with newer versions of puppeteer (a dependency of this plugin), so make sure to clear out old dependencies before reinstalling. 😇


+1HP after unconscious

Great work, man.
Can I ask if there's an option for the character to gain automatically 1hp automatically after 1d4 * 15 min or just automatically after combat. I just found out the 15 min is the rule

Actually, by RAW someone stabilized regains 1HP after 1d4 Hours
However, being a videogame, I'm usually against imposing real life time constraints, which is why I just want to mechanically block a character from being brought back to combat by a simple medicine check, but I won't enforce a real time wait after combat


Marriage in SC

Allow us to marry other players. I want to marry my waifu Khione.

Closing as duplicate. This is a feature on the list #54


Importing posh-git within the Visual Studio 2019 Developer PowerShell is very slow

System Details

posh-git version/path: 1.0.0 beta4 ~\Documents\WindowsPowerShell\Modules\posh-git\1.0.0
PowerShell version: 5.1.17763.1490
git version 2.28.0.windows.1
OS: Microsoft Windows NT 10.0.17763.0

Issue Description
I have posh-git to import in my profile file.
This file is also executed when opening the Developer Powershell for VS 2019.
When opening a regular powershell importing the module takes about 1 second.
When importing the module within the Developer Powershell it takes about 6 seconds.
I measured using measure-command { import-module posh-git -minimumversion 1.0 }
I'm not sure where that comes from.
Can anyone else reproduce this?

Is this still an issue for you?


feat(connector): [Adyen] Add support for Pix

Type of Change

[x] New feature

Description

Add support for Pix bank transfer through adyen
Api contract for Pix:
    "payment_method": "bank_transfer",
    "payment_method_type": "pix",
    "payment_method_data": {
        "bank_transfer": {
            "pix": {}
        }
    }

Pix sends QrCode data along with Qr url, QrCode data is converted into image data source is sent in next action.
Response that SDK can use :
  "next_action": {
        "type": "qr_code_information",
        "image_data_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQgAAAEICAAAAACGnTUjAAADfUlEQVR4nO3QS25dOQwA0c7+F90foGpCgKCeE3cGqQN4QEq6fqgff/+V/xQChUAhUAgUAoVAIVAIFAKFQCFQCBQChUAhUAgUAoVAIVAIFAKFQCFQCBQChUAhUAgUAoVAIXCG+PHv31f4Xd87y708n3td5xffbwqBQqAQKAQKgUKgEHgOcd3Tdn/uneV+8p7nc7683i8ECoFCoBAoBAqBQuDjEM7TPHee5vmc9bp3nua586YQKAQKgUKgECgECoFvD+G88d4033nP/Zynee68KQQKgUKgECgECoFC4H8PMffOcj95z/M5T/PceVMIFAKFQCFQCBQChcDHIS7zvvPF+5PvPZ/z5fV+IVAIFAKFQCFQCBQCzyE+5Xd9/6vnT/l+UwgUAoVAIVAIFAKFwBniZ/nD/T/bLPfyfO5/tUKgECgECoFCoBAoBM4Q1w+Z584b72ne99z9nC/el+/mfioECoFCoBAoBAqBQuAMcfEfye/Nva7zje8mvzPPt/2mECgECoFCoBAoBAqBj0P4Dya/4/mcde3l+dx/l0KgECgECoFCoBAoBM4Q/qCN773nrGsvz907b7Z72/5SCBQChUAhUAgUAoXAcwjvOV+8r/nuOpf3vnou720KgUKgECgECoFCoBB4DqHtvvc832bNvbPcy3P3c5b7TxUChUAhUAgUAoVAIXCG2PgD5vvXvfMr3+l6P+9fCoFCoBAoBAqBQqAQ+HIIzR80v+f5tb/myXN5b9tfCoFCoBAoBAqBQqAQOEPMD2t7N+/Pe567d5Z7zfOL7+c795tCoBAoBAqBQqAQKATOED/LH3T9H+9ttve+m+fuNc+nQqAQKAQKgUKgECgEzhDzg6/8ru+dX/lOvnf/Or8qBAqBQqAQKAQKgULgOcR1T9v91/01T/PcefJ8UwgUAoVAIVAIFAKFwMchnKd5fs36dH/xnXw/91MhUAgUAoVAIVAIFALfHkLu5bl758nzzeu77Z4KgUKgECgECoFCoBD4bSEuvp/v5v51vhQChUAhUAgUAoVAIfBxiMvr/Xlvzpp752k7d38pBAqBQqAQKAQKgULgOcSn/K7vr1lzP+eN9zTvz/OpECgECoFCoBAoBAqBM8SfohAoBAqBQqAQKAQKgUKgECgECoFCoBAoBAqBQqAQKAQKgUKgECgECoFCoBAoBAqBQqAQKAQKgX8A/Ak4Wyhn58sAAAAASUVORK5CYII=",
        "qr_code_url": "https://test.adyen.com/hpp/generateQRCodeImage.shtml?url=TestQRCodeEMVToken"
    },

Additional Changes

[x] This PR modifies the API contract

Motivation and Context

Add support for pix
How did you test it?

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code

This feature has been taken in this PR, So closing this.


added touch support

Just a it says, touch now works similar to mouse drag.
Fixes #16

Thanks for this! 👍
I'll try to find some time soon to test this out properly before before I merge it.

The assignment is now separate, to make the code more readable.


History buttons per ref.

After deploying the history button to production, I've noticed that we've got a problem for commits that are associated to multiple refs.

Here it is not clear what the single build history button should do. It goes to one of the two refs and if you want to see the history of the other ref, you can't.
When we originally designed this we talked about collecting information about which ref you've arrived from in the url of the build page. On reflection this is complicated and is error prone and is introducing state into an inherently stateless resource (the build page).
So, I propose showing a smaller button next to the ref:

This is simpler, and now removes the need to find ways of encoding state information into URLs, thus breaking their RESTfulness. :)

@maiste I have included a commit to support history URLs for GitLab too. I think this should work but perhaps you can add a commit to fix things if it does not.


Right overflowed by 134 pixel

Default right overflowed by 134 pixel

Set the width of the widget to something bigger as the default width is 10.
OTPTextField(     ...     width: MediaQuery.of(context).size,width * 0.75,     ... ),


[API Server] Use general ListRequest and GetRequest in services

What this PR does / why we need it:
Currently, for our services, for example, offering service, region service, they have dedicated ListRequest and GetRequest protobuf definitions, this PR unifies them into general ListRequest and GetRequest.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Documentation:

Does this PR introduce a user-facing change?:

NONE

/retest

/retest

/retest

@jiachengxu overall looks good, only one question, what do you think about renaming request to GetAccountRequest and ListAccountRequest, or AccountGet/ListRequest.
I want to show somehow that those requests are account scoped because we will have some other not account scoped request, lile for Account service that you already added and may be some other for admin interface

@jiachengxu overall looks good, only one question, what do you think about renaming request to GetAccountRequest and ListAccountRequest, or AccountGet/ListRequest.
I want to show somehow that those requests are account scoped because we will have some other not account scoped request, lile for Account service that you already added and may be some other for admin interface

If I recall correctly, we are going to use the single GetReqest/ListRequest for all our services(not only account scoped and also other services, for example account service)? and we just implement different validateRequest method and ignore query parameters accordingly?
If you want to rename to show that Request is account scoped, we need to be careful :) because I have already called the ListRequest to list account in Account service to ListAccountRequest :)

because I have already called the ListRequest to list account in Account service to ListAccountRequest :)
yeah, I saw that.
If I recall correctly, we are going to use the single GetReqest/ListRequest for all our services(not only account scoped and also other services, for example account service)? and we just implement different validateRequest method and ignore query parameters accordingly?
and I remember that discussion, I that case we need to rename validateGetRequest :) to show that it will validate account also

/lgtm
/hold

/unhold

/retest


use Data Table with locally stored data?

I use the Angular Form Renderer to render offline saved forms into Ionic. I also use the Form Renderer to display already filled forms. For this I use the following functions: [form]='....' and[submission]='...'.
Now I would like to display the completed forms with the Data Table. I tried this, but I can't get any further, because I only see the possibility to create the Data Table with src="URL". Is it possible to use DataTables with locally stored data or is this not possible?

Closed due to no activity.


Expand notification area width in landscape mode

The RG405M (and I'm assuming the RG505 as well) screen is perpetually in landscape mode, likely by design as most Android games will default to operating in landscape. In the fourth beta version of Android 12, changes were made to the pull-down notification area when in landscape mode for the sake of more elongated aspect ratios: notifications are now centered with huge margins on either side so that they're easier to read and reach.
Sadly when this applies to our dear RG405M, the margins don't scale down or get eliminated due to the screen's relatively low width in landscape mode, and so we get notifications that are rather crammed:

Due to apps preferring landscape mode over portrait, I feel like making Android recognize the different natural display orientation isn't the proper solution to this, but I have found no way to eliminate or lower those margins to an acceptable degree.

The RG405M (and I'm assuming the RG505 as well) screen is perpetually in landscape mode, likely by design as most Android games will default to operating in landscape. In the fourth beta version of Android 12, changes were made to the pull-down notification area when in landscape mode for the sake of more elongated aspect ratios: notifications are now centered with huge margins on either side so that they're easier to read and reach.
Sadly when this applies to our dear RG405M, the margins don't scale down or get eliminated due to the screen's relatively low width in landscape mode, and so we get notifications that are rather crammed:

Due to apps preferring landscape mode over portrait, I feel like making Android recognize the different natural display orientation isn't the proper solution to this, but I have found no way to eliminate or lower those margins to an acceptable degree.

You can use the magisk module called "Better QS" version 1.0 by hani, which will help your QS panel no longer have excess space.

You can use the magisk module called "Better QS" version 1.0 by hani, which will help your QS panel no longer have excess space.

The problem is with the notifications not spanning from one side of the screen to the other, not the quick settings panels. I haven't been able to find this Better QS module, though. Do you have a link?


[Finishes #130860067] Migration - Helper - Mysql

https://www.pivotaltracker.com/story/show/130860067
Work Done

Moved out knex helper of lib to top level

Current coverage is 86.84% (diff: 100%)

Merging #3 into master will not change coverage

@@             master         #3   diff @@
==========================================
  Files             4          4
  Lines           152        152
  Methods           3          3
  Messages          0          0
  Branches         15         15
==========================================
  Hits            132        132
  Misses           20         20
  Partials          0          0

Powered by Codecov. Last update 3d2df73...8f553e8


Pull latest ubuntu ami from ec2 for us when creating a kops cluster

Issue #, if available:
Description of changes:
This will allow us to avoid updating the ami version and help us stay as up to date as possible.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


API diff messages print non-Elmy types (instead native implementation shines through)

Using elm-package version 0.17.1.
Added functions
orElseLazy : (() -> Maybe a) -> Maybe a -> Maybe a

orLazy : Maybe a -> (() -> Maybe a) -> Maybe a

to a package.
Ran elm-package diff.
Got this message on the console:
This is a MINOR change.

------ Changes to module Maybe.Extra - MINOR ------

    Added:
        orElseLazy : (_Tuple0 -> Maybe.Maybe a) -> Maybe.Maybe a -> Maybe.Maybe a
        orLazy : Maybe.Maybe a -> (_Tuple0 -> Maybe.Maybe a) -> Maybe.Maybe a

As a user not aware of the internal implementation of tuples I could now be mightily confused about the _Tuple0 mentions.

This should be fixed in 0.19. I am seeing the following behavior:
$ elm diff elm-community/maybe-extra 1.0.0 2.0.0
This is a MAJOR change.

---- Maybe.Extra - MAJOR ----

    Added:
        filter : (a -> Bool) -> Maybe.Maybe a -> Maybe.Maybe a
        orElse : Maybe.Maybe a -> Maybe.Maybe a -> Maybe.Maybe a
        orElseLazy : (() -> Maybe.Maybe a) -> Maybe.Maybe a -> Maybe.Maybe a
        orLazy : Maybe.Maybe a -> (() -> Maybe.Maybe a) -> Maybe.Maybe a
        unpack : (() -> b) -> (a -> b) -> Maybe.Maybe a -> b
        unwrap : b -> (a -> b) -> Maybe.Maybe a -> b

    Removed:
        mapDefault : b -> (a -> b) -> Maybe.Maybe a -> b

Thanks for the report!


Not compatible ie11

some code  didnot transform to es5 ....

We are having the same issue. The error reads:
Object doesn't support property or method 'repeat'

The app works in IE11, but when adding swr it crashes. Tried various polyfills without any luck.

String.prototype.repeat is part of ES6/ES2015; you would have to add an appropriate polyfill for browsers which don't support ES6.

I have tried to add that polypill multiple times, without any luck.
It's added at the top of the index.js and copied directly from the Mozilla code.

IE11 still gives the same error, and I have verified that the polyfill is being executed.

{                 test: /\.(js|tsx|ts)?$/,                 include: [path.join(process.cwd(), 'node_modules/swr')],                 loaders: [{                     loader: 'babel-loader'                 }]  },
i use bable to transform it. and it work in ie11.

Hi !
Did it works for you ?
I don't have same error. I'm using swr with Next.js.
Thanks for help

@joris-
Have a look at https://www.npmjs.com/package/next-transpile-modules if you are using Next.js. This helps transpile untranspiled modules in node_modules.
In your next.config.js
`
const withTM = require("next-transpile-modules")([
"swr"
]);
module.exports = withTM();
`

@joris-
Have a look at https://www.npmjs.com/package/next-transpile-modules if you are using Next.js. This helps transpile untranspiled modules in node_modules.
In your next.config.js
const withTM = require("next-transpile-modules")([
  "swr"
]);

module.exports = withTM();

Thx I'll try

@beidan @joris-
This one works for me:
      {
        test: /\.(js|jsx)?$/,
        exclude: /node_modules\/(?!swr)/,
        use: {
          loader: 'babel-loader',
        },
      },

based on: https://github.com/babel/babel-loader/issues/171

A fix is released in v0.2.3 :tada:


Environment.ProcessorCount wrong inside docker container

Hi,
I have a project using .NET Core 3.0 Preview 4 which I just migrated to Preview 5.
I recognized that under .NET Core 3.0 Preview 5 the Environment.ProcessorCount variable value is 99% of the time wrong. It most of the time returning 1 instead of correct count but sometimes it reports the correct count (in 1% of the cases).
I'm running .Net Core in a Linux docker container using the following images:
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-bionic AS base
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-bionic AS build
The container app is running inside Azure but even when I run under a local docker environment the issue is still the same. In all the older  .NET Core 3.0 Previews the issue did not exist. It only happens with .NET Core 3.0 Preview 5.
Thx.

@joperezr would you know if there were any changes in the area?

I do see some changes on this area recently https://github.com/dotnet/corefx/commits/release/3.0/src/System.Diagnostics.Process so I would suggest logging a new 3.0 issue in corefx and mention that this seems to be a regression. @JMan7777 if you could provide a small repro that would be ideal.

Hi,
Thx for looking into this. It's easy to replicate. I attach you a Visual Studio 2019 project for testing.
I'm running in the following environment (for testing):
Windows 10:
Version 1809 (OS Build 17763.503)
Visual Studio (Windows)
VisualStudioVersion = 16.0.4
Docker Desktop (Windows):
Version <IP_ADDRESS> (31259) Channel: stable Build: 8858db3
Docker Container (Linux) environment details:
DOTNET_VERSION	3.0.0-preview5-27626-15
ASPNETCORE_ENVIRONMENT	Development
ASPNETCORE_HTTPS_PORT	44369
ASPNETCORE_URLS	https://+:443;http://+:80
ASPNETCORE_VERSION	3.0.0-preview5-19227-01
DOTNET_RUNNING_IN_CONTAINER	true
DOTNET_USE_POLLING_FILE_WATCHER	1
Test URL (Local):
https://localhost:44369/api/values
Test URL Output (Example):
Framework: .NET Core 3.0.0-preview5-27626-15
OS Architecture: X64
OS Description: Linux 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018
Process Architecture: X64
Running in Docker: True
Processor Count: 1
Start Time: 05/18/2019 01:58
Sometimes (mostly direct after startup) it shows the correct Docker configured CPU count but in 99% it's always wrong and shows: 1.
If it shows the correct count and you just refresh the test URL in the browser it will switch from the correct count to 1.
When running outside a Docker container it shows always the correct processor count.
Hope you can find the issue as I rely on correct processor counts for some performance tuning I need ;).
Thx a lot.
Test Project:
Test.zip

cc @tmds

@JMan7777 I'm trying to reproduce what you are seeing with a smaller application:
Program.cs:
using System;

class Program
{
	static void Main()
	{
		while (true)
		{
			Console.WriteLine("ProcessorCount: " + Environment.ProcessorCount);
			System.Threading.Thread.Sleep(1000);
		}
	}
}

Dockerfile:
FROM mcr.microsoft.com/dotnet/core/sdk:3.0
RUN dotnet new console -o console
COPY Program.cs console/Program.cs
RUN dotnet publish -c Release console
CMD ["dotnet", "console/bin/Release/netcoreapp3.0/publish/console.dll"]

Test:
$ docker build . -t dotnet_app
$ docker run --rm dotnet_app
ProcessorCount: 4
ProcessorCount: 4
ProcessorCount: 4
...
$ docker run --rm --cpu-period 1000 --cpu-quota 2000 dotnet_app
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
...

The output is what is expected. Can you reproduce using this Program?
cc @luhenry @janvorli

@tmds I will give it a try tomorrow.
Maybe you also can check the example project I gave to you.
As I mentioned earlier I have the same issue running my app in a Linux Docker container in Azure.
Will keep you updated.
Thx.

@tmds I did a small test with your example.
It works as it should. My Docker environment is configured to use 3 CPU's (Physically I have 4 CPU's).
The output is correct:
C:\Temp>docker build . -t dotnet_app
Sending build context to Docker daemon  3.072kB
Step 1/5 : FROM mcr.microsoft.com/dotnet/core/sdk:3.0
 ---> 1ff83de4bdba
Step 2/5 : RUN dotnet new console -o console
 ---> Using cache
 ---> 77e85f991ba8
Step 3/5 : COPY Program.cs console/Program.cs
 ---> 247c5f75d6dc
Step 4/5 : RUN dotnet publish -c Release console
 ---> Running in 9cbeffc1ba13
Microsoft (R) Build Engine version 16.0.462+g62fb89029d for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
 Restore completed in 29 ms for /console/console.csproj.
/usr/share/dotnet/sdk/3.0.100-preview5-011568/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.RuntimeIdentifierInference.targets(157,5): message NETSDK1057: You are using a preview version of .NET Core. See: https://aka.ms/dotnet-core-preview [/console/console.csproj]
  console -> /console/bin/Release/netcoreapp3.0/console.dll
  console -> /console/bin/Release/netcoreapp3.0/publish/
Removing intermediate container 9cbeffc1ba13
---> 8d14fa0881f0
Step 5/5 : CMD ["dotnet", "console/bin/Release/netcoreapp3.0/publish/console.dll"]
 ---> Running in 9128aa7ac1ca
Removing intermediate container 9128aa7ac1ca
 ---> 8b0521f96357
Successfully built 8b0521f96357
Successfully tagged dotnet_app:latest
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
C:\Temp>docker run --rm dotnet_app
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
ProcessorCount: 3
C:\Temp>docker run --rm --cpu-period 1000 --cpu-quota 2000 dotnet_app
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
ProcessorCount: 2
C:\Temp>
So something must be different between my example and your one.
I see you are using:
FROM mcr.microsoft.com/dotnet/core/sdk:3.0
while I'm using:
FROM mcr.microsoft.com/dotnet/core/sdk:3.0-bionic.
So I also tested with my sdk image above and the result is still the same (correct).
Very strange.
There must be something going on when using the ProcessorCount function in a web app project.
Please kindly use my provided project to check further.
Thx a million.

@JMan7777 I can reproduce the issue.
The ProcessorCount 1 value comes from sched_getaffinity returning 1 cpu.
@janvorli maybe this is caused by changes in https://github.com/dotnet/coreclr/pull/23824?

This reproduces also outside Docker.
Looking at the strace, it seems getaffinity with pid zero is returning the affinity of the current thread and not the process:
[pid 19302] sched_getaffinity(0, 128, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]) = 8
[pid 19302] sched_setaffinity(19302, 128, [4]) = 0
[pid 19302] sched_getaffinity(0, 128, [4]) = 8

So if ProcessorCount is called on a thread that has affinity with a specific processor, it will return 1.

@karelz @joperezr can you move this one to coreclr please?

@tmds  given the back and forth, maybe it would be better to just file a new issue with clear repro in CoreCLR and then close this one as dupe ...

@karelz created https://github.com/dotnet/coreclr/issues/24686

Duplicate of https://github.com/dotnet/coreclr/issues/24686

Thanks @tmds


mgmt, generate-test skip JSON that fails CredScan in CI

https://github.com/Azure/azure-sdk-for-java/pull/31007#discussion_r973847738
CI failure: https://dev.azure.com/azure-sdk/public/_build/results?buildId=1857734&view=logs&j=bc67675d-56bf-581f-e0a2-208848ba68ca&t=7eee3a58-6120-518b-7fcb-7e943712aa81

Suppression doesn't work, as it doesn't support wildcards.
https://secdevtools.azurewebsites.net/helpcredscan.html

This one is apiKey.
Do you have other name that get flagged by CredScan?

another storageAccountPrimaryKey.

From our CredScanSuppression.json, I got OAuth2ClientCredential.

From our CredScanSuppression.json, I got OAuth2ClientCredential.

This is different thing. It is code from swagger, not tests. So it has to get to suppression else that RP just not correct.

Found the source code and a seemingly exhaustive config list:
https://msazure.visualstudio.com/One/_git/e4f88693-d8b9-42a6-bd57-99bce573e20c?path=/src/CredScan.MCEScanner/Configuration/config.xml
I think we can use the regex that contains CSCAN-AZURE0120_Code (I assume it's used for scanning code)?

Not sure if this is in use...
 <Regex id="Regex_Ranker_CSCAN-AZURE0130_1dd3f4ad-9d76-4b5f-9f89-20ca2c45184f_339559_CEP2.0">(?i)(SharedAccess(Policy)?|SAS|Primary|Secondary)Key\W|SharedAccessSignature\W|SharedKey\W</Regex>

That one is likely too complicated.
Maybe we just skip either the test or the property if it has property contains "key" or "credential".

May need to handle sample as well.
https://github.com/Azure/azure-sdk-for-java/pull/31685
Can replace it with "fakeTokenPlaceholder"


Write docs

read about docC: https://www.swift.org/blog/swift-docc/

https://developer.apple.com/videos/play/wwdc2021/10235/
https://developer.apple.com/videos/play/wwdc2021/10167/
https://developer.apple.com/videos/play/wwdc2021/10236/
https://developer.apple.com/videos/play/wwdc2021/10166/
https://github.com/apple/swift-docc-symbolkit
https://github.com/apple/swift-docc-render
https://apple.github.io/swift-docc/documentation/swiftdoccutilities/
https://apple.github.io/swift-docc/documentation/swiftdocc/
https://github.com/apple/swift-docc#getting-started-with-docc
https://www.swift.org/documentation/docc/


chore: update set-output usage

FX-3708
Description
set-output and set-state are deprecated https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files
How to test

check Draft PR in Picasso, there are no deprecation warnings anymore

Development checks

[x] Add changeset according to guidelines (if needed)

PR commands

List of available commands:

@toptal-anvil ping reviewers - Ping FX team for review

@toptal-anvil ping reviewers


image not  load

this  issue  Facing specific Device

Please provide more information, i cannot help you without details.

you said it is device specific, what device are you using?
with which image extensions do you encounter this problem?
is there a pattern to reproduce this issue?
do you have any file / or a way to reproduce this error?

also you should check if you have a similar issue with wechat_assets_picker package, if so, it comes from there.


linregress additional option

Hello, would it be possible to add an additional option to linregress? It would be useful to be able to force the interception to zero.
The new slope and interception would be:
slope = np.sum(x*y)/np.sum(x**2)
intercept = 0.
Regards
BBarroqueiro

This has come up before: https://stackoverflow.com/questions/25289122/scipy-linregress-computing-only-scaling-slope-parameter-with-intercept-fixed-at. The request is reasonable and it's easy to add with an intercept=None keyword. I'm not opposed to adding it.
Here is an overview of a number of methods for linear regression: https://www.datascience.com/blog/7-methods-to-fit-linear-model-python.

At least in my field of research having the option of forcing it to zero (or any other number) is  very useful... Moreover, its calculation is a very simple operation (given above)...

let's see what others think - @chrisb83 @josef-pkt @rlucas7 opinions?

It is definitely a widely used option in other tools like R. It often leads to confusion though since the R^2 is often much larger compared to the case when the intercept is included. And one needs to check if p-values can be computed in the usual way.
Some related discussion:
https://stats.stackexchange.com/questions/26176/removal-of-statistically-significant-intercept-term-increases-r2-in-linear-mo/26205#26205
https://stats.stackexchange.com/questions/7948/when-is-it-ok-to-remove-the-intercept-in-a-linear-regression-model/7950#7950

This is a tricky one, I've worked on applied projects where a 0 intercept is the only reasonable answer but as Christoph mentions (in the links) there are statistical issues implications to handling the change.
One of the comments in the links describes the 2 ways to achieve 0 intercept. First way is to take each response and subtract the mean, second way is to force 0 with original response units and deal with the consequences. In either case the R-squared needs to be handled appropriately and if we decide to put this in I'd recommend waiting until Warren's changes for R squared are merged (fixing open issues) then we'd need to accommodate the R squared calculation either in linregress directly as the function currently handles its own R squared logic or switch to using the pearson correlation function in scipy and add some logic there. Given that the linregress handles only univariate regression (simple linear regression case) this seems like a lot of work and unlikely that all the dependencies happen soon. I'm also unclear on how statsmodels and scipy use cases are delineated, it seems like this is something that would be better to invest the efforts in in statsmodels (if does not already handle it) given the scope. However, I am also unclear on why linregress method was historically added to scipy. Maybe Ralf and Joseph can comment on the history? That might help me form an opinion that biases me more 1 way or the other, as of right now I can see both good reasons for yes and no.

However, I am also unclear on why linregress method was historically added to scipy. Maybe Ralf and Joseph can comment on the history?

Really just as a convenience method, because fitting a straight line is so common that it arguably deserves its own function. For anything else, we have things not in stats (e.g. using least_squares, curve_fit etc. in optimize, numpy.polynomial, or statsmodels.OLS & friends). It's always hard to draw boundaries between packages, but the guiding principle here should be that we don't make fitting ax+b more complicated than it currently is.

+1 would like to see this implemented.

+1 would absolutely love to this implemented

If the formula at the top is correct and resampling is OK for the statistics, then here is a recipe that might be useful.
import numpy as np
from scipy import stats, optimize
import matplotlib.pyplot as plt
rng = np.random.default_rng(93573564568483576764745467646)
from dataclasses import make_dataclass

# Implementation
fields = ('statistic', 'pvalue', 'standard_error', 'confidence_interval')
SlopeResult = make_dataclass("SlopeResult", fields)

def fit_slope(x, y, alternative='two-sided', confidence_level=0.95, axis=-1):

    def statistic(y, x=x, axis=-1):
        # Analytical best-fit slope according to gh-9879
        return np.sum(x*y, axis=axis)/np.sum(x**2, axis=axis)

    p = stats.permutation_test((y,), statistic, alternative=alternative,
                               random_state=rng, permutation_type='pairings',
                               axis=axis)

    ci = stats.bootstrap((y, x), statistic, paired=True, random_state=rng,
                         axis=axis, confidence_level=confidence_level)

    return SlopeResult(p.statistic, p.pvalue,
                       ci.standard_error, ci.confidence_interval)

# Use
size = 50
x = np.linspace(-5, 5, size)
y = 0.1 + 2*x + rng.normal(size=size)
res = fit_slope(x, y)
print(res)
# SlopeResult(statistic=1.9495922197659028, pvalue=0.0002, standard_error=0.046409064183413735,
# confidence_interval=ConfidenceInterval(low=1.8565491580834073, high=2.037631844126744))

# Testing

# Check that analytical solution agrees with numerical optimization
ref = optimize.curve_fit(lambda x, m: m*x, x, y, full_output=True)
assert ref[-1]  # solution found

# point estimate agrees with numerical optimization
np.testing.assert_allclose(res.statistic, ref[0])

# standard error from curve_fit agrees with bootstrap estimate
np.testing.assert_allclose(res.standard_error, np.sqrt(ref[1]), rtol=1e-2)

# Check that distribution of p-values is uniform under null hypothesis
n_trials = 1000
y = rng.uniform(size=(n_trials, size))
res = fit_slope(x, y, axis=-1)
plt.hist(res.pvalue)
plt.title("Histogram of p-value produced by `fit_slope` under H0")

# Check that CIs contain true value of slope the intended % of the time
m_true = 2
y = m_true*x + rng.normal(size=(n_trials, size))
res = fit_slope(x, y, axis=-1)
good_cis = ((res.confidence_interval.low < m_true)
            & (res.confidence_interval.high > m_true)).sum()
print(f'95% Confidence Intervals Containing True Slope: {good_cis}/{n_trials}')
# 95% Confidence Intervals Containing True Slope: 936/1000


Align the constant variable code style, #62.

Signed-off-by: Pan Li<EMAIL_ADDRESS>

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   76.56%   76.56%
=======================================
  Files          31       31
  Lines         721      721
  Branches       98       98
=======================================
  Hits          552      552
  Misses        118      118
  Partials       51       51

Continue to review full report at Codecov.

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


Clean up tools/ folder

All performance stuff is in istio/tools repo
All vagrant stuff is in tests/e2e/local
docker-dev in istio/tools now
githubContrib is not used/up to date

Fixes https://github.com/istio/istio/issues/15875
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
ec627324986895dd1203b74722822f6ecab071da
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


zsh: allow restarting stopped containers by id

- What I did
zsh completion: allow restart command to be applied to stopped containers with their id
- How I did it
Modify _docker completion script.
- How to verify it

cp _docker ~/.oh-my-zsh/plugin/docker/_docker
open a new shell
docker restart <TAB> and you should see all containers with id instead of only running containers.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
Signed-off-by: Wenzhi Liang<EMAIL_ADDRESS>

/cc @albers

@vdemeester Bash completion already completes stopped containers on docker restart.

ping @vdemeester PTAL


"No such file or directory"  trying to run tests

Hi, I'm experiencing the following error when I try to run the test in my project:
neotest-java: ...iu/AppData/Local/nvim-data/lazy/neotest/lua/nio/init.lua:105: The coroutine failed with this message:
...m-data/lazy/plenary.nvim/lua/plenary/context_manager.lua:47: C:\Users\ciriu\Documents\Projects\expense-app-v3\expenses-domain/target/surefire-reports/TEST-src\test\com\clt\usecase\PayUseCaseTest.xml: No such file or directory
stack traceback:
        [C]: in function 'assert'
        ...m-data/lazy/plenary.nvim/lua/plenary/context_manager.lua:47: in function 'open'
        ...zy/neotest-java/lua/neotest-java/core/result_builder.lua:142: in function 'results'
        ...cal/nvim-data/lazy/neotest/lua/neotest/client/runner.lua:132: in function '_run_spec'
        ...cal/nvim-data/lazy/neotest/lua/neotest/client/runner.lua:89: in function <...cal/nvim-data/lazy/neotest/lua/neotest/client/runner.lua:88>

Am I missing something in how should I configure or use this plugin?
If it can help, the project on which I am trying to use this neotest-java is this
and this is my neovim configuration
EDIT: The problem seems to occur only on Windows, while it works fine on linux. Can it be related to the os file path separator?

Hi, @Cirius1792 .

EDIT: The problem seems to occur only on Windows, while it works fine on linux. Can it be related to the os file path separator?

That's exactly the reason.
Sorry for that! I had that on mind but never took the time.
Feel free to open a PR! (else I could work on it next week if no one has done it).

Exactly same issue appears on MacOS as well.

Exactly same issue appears on MacOS as well.

To add to this, it appears to be using java class notation (/surefire-reports/TEST-com.example.TestClass.xml) instead of path notation (/surefire-reports/TEST-com/example/TestClass.xml)

This happens on linux as well:
neotest-java: ~/.local/share/nvim/lazy/neotest/lua/nio/init.lua:105: The coroutine failed with this message:
...e/nvim/lazy/plenary.nvim/lua/plenary/context_manager.lua:47: ~/Documents/projects/java/guava/guava-tests/target/surefire-reports/TEST-test.com.google.common.base.Utf8Test.xml: No such file or directory
stack traceback:
	[C]: in function 'assert'
	...e/nvim/lazy/plenary.nvim/lua/plenary/context_manager.lua:47: in function 'open'
	...zy/neotest-java/lua/neotest-java/core/result_builder.lua:142: in function 'results'
	...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:132: in function '_run_spec'
	...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:89: in function <...al/share/nvim/lazy/neotest/lua/neotest/client/runner.lua:88>

I'm trying to run Utf8Test.java#L79

Hey there! I've merged the fix. Can you check if it works on your systems and let me know if there are still any issues? Thanks!


Expose / pod never starts fails on readinessProbe

I created a kubernetes service that listens on port 222 which I want to "reverse tunnel" to my local machine.
kubectl create svc clusterip gitlab --tcp=222:222

Then I expose it via:
localizer expose default/gitlab

But the pod that gets created, never actually gets to "running" state:
Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  2m45s                default-scheduler  Successfully assigned default/localizer-gitlab-kjqpt to lgs-lnx7624
  Normal   Pulled     2m44s                kubelet            Container image "linuxserver/openssh-server" already present on machine
  Normal   Created    2m44s                kubelet            Created container default
  Normal   Started    2m44s                kubelet            Started container default
  Warning  Unhealthy  5s (x20 over 2m44s)  kubelet            Readiness probe failed: dial tcp <IP_ADDRESS>:2222: connect: connection refused

The yaml:
apiVersion: v1
kind: Pod
metadata:
annotations:
  cni.projectcalico.org/containerID: 58d1352a3f8739d41f8589dd1e1dd31a15517060b79687e1cee386f9a45e7454
  cni.projectcalico.org/podIP: <IP_ADDRESS>/32
  cni.projectcalico.org/podIPs: <IP_ADDRESS>/32
  kubernetes.io/psp: default-psp
  localizer.jaredallard.github.com/objects: '[]'
labels:
  app: gitlab
  localizer.jaredallard.github.com/exposed: "true"
name: localizer-gitlab-kjqpt
namespace: default
spec:
containers:
- env:
  - name: PASSWORD_ACCESS
    value: "true"
  - name: USER_PASSWORD
    value: supersecretpassword
  - name: USER_NAME
    value: outreach
  - name: DOCKER_MODS
    value: linuxserver/mods:openssh-server-ssh-tunnel
  image: linuxserver/openssh-server
  imagePullPolicy: IfNotPresent
  name: default
  ports:
  - containerPort: 222
  readinessProbe:
    tcpSocket:
      port: 2222
  resources:
    limits:
      cpu: 100m
      memory: 100Mi
  volumeMounts:
  - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
    name: kube-api-access-9kgvq
    readOnly: true
preemptionPolicy: PreemptLowerPriority
priority: 0
restartPolicy: OnFailure
serviceAccountName: default
tolerations:
- effect: NoExecute
  key: node.kubernetes.io/not-ready
  operator: Exists
  tolerationSeconds: 300
- effect: NoExecute
  key: node.kubernetes.io/unreachable
  operator: Exists
  tolerationSeconds: 300
volumes:
- name: kube-api-access-9kgvq
  projected:
    sources:
    - serviceAccountToken:
        expirationSeconds: 3607
        path: token
    - configMap:
        items:
        - key: ca.crt
          path: ca.crt
        name: kube-root-ca.crt
    - downwardAPI:
        items:
        - fieldRef:
            fieldPath: metadata.namespace
          path: namespace

And the logging from the running localizer:
INFO[0023] created pod localizer-gitlab-kjqpt            component=exposer service=default/gitlab
INFO[0023] waiting for remote pod to be ready ...        component=exposer service=default/gitlab
INFO[0360] pkg/mod/github.com/jaredallard/client-go@v0.25.12-jaredallard.1/tools/cache/reflector.go:169: watch of *v1.Deployment ended with: an error on the server ("unable to decode an event from the watch stream: stream error: stream ID 11; INTERNAL_ERROR; received from peer") has prevented the request from succeeding  caller="reflector.go:347"
INFO[0361] pkg/mod/github.com/jaredallard/client-go@v0.25.12-jaredallard.1/tools/cache/reflector.go:169: watch of *v1.StatefulSet ended with: an error on the server ("unable to decode an event from the watch stream: stream error: stream ID 17; INTERNAL_ERROR; received from peer") has prevented the request from succeeding  caller="reflector.go:347"

Does the pod have any notable logs? It sounds like the SSH server inside of the pod never became happy, for whatever reason.

No all the logging is in the original post I'm afraid. The pod itself did not create any logging.

That's... bizarre. Makes me think something went wrong with the image being downloaded. Can you try again but ensure that your nodes don't have an existing linuxserver/openssh-server image present? That should download the latest image and hopefully work 😓

I've got the time to look into this again ;-)
So, the expose (reverse tunnel) pod that get's created does have a single log entry:
[mod-init] Attempting to run Docker Modification Logic

But does not move beyond that, or ever get to the ready status.
According to describe the pod itself is running, but the Readiness probe failed. It is trying to connect to "2222" ?  That seems wrong to me. Should it not be "22" ?

@echo-devnull Is there some sort of firewall being used? I believe that part of the linuxserver openssh image downloads a git repo at runtime, so I wonder if it's something related to that? Or, DNS lookup issues. Spitballing ideas. I haven't been able to repro this so I don't know what else to suggest 😭


Kaban not work

I can create tasks in Kanban, but I cannot move tasks from one status to another.
Dragging from one column to the other (Done to Inprogress), but it doesn't stay, and goes back to the first column when released.
Below, I put my todo.txt file
x 2021-06-22 kan:*main|Todo|inprogress|done
INC000004828131 @inprogress
echo PASSWORD | pam-keyring-tool -su
Recriar o disco da 253 @done
Encriptar o disco da DBC20
Verificar storage account do credimob
Empiricus
#inprogress: Inicio das +Férias \n due:2021-07-05

Those are all kitchen sink columns, so the leftmost one gets all the tasks. You need to write kan:*main|@Todo|@inprogress|@done. If you don't have a @Todo then, make the Todo column be the last one: kan:*main|@inprogress|@done|Todo


Update metric_ops.py for incorrect docstring

Incorrect description

I signed it!

Thanks for your contribution, will be closing this PR as this not against master, please open a new PR against master
CC @mihaimaruseac


fix: Add bc for NLO processes

Resolves #46
For NLO processes MadGraph5 is apparently using bc internally, which is currently not installed.
* Install bc for use in NLO process computation

@suchitakulkarni replying here instead of on email. When this PR passes CI and then gets merged it will get automatically rebuilt and deployed to Docker Hub.


Feat bearer session bug

SonarQube analysis reported 3 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 KeycloakClient.java#L317: Reduce the total number of break and continue statements in this loop to use at most one.
 KeycloakClient.java#L139: Define a constant instead of duplicating this literal "username" 3 times.
 KeycloakClient.java#L139: Define a constant instead of duplicating this literal "password" 3 times.

All is well.


New batch of CV term requests, category: Spectrum acquisition

Name:
"Number of chromatograms"
Definition:
"Number of chromatograms"
Comment: A lower number of chromatograms acquired during one sample run compared to similar runs can indicate mismatched instrument settings or issues with the instrumentation.
Proposed value type:

[ ] single value

Name:
"Number of MS1 spectra"
Definition:
"Number of MS1 spectra"
Comment: A lower number of MS1 spectra acquired during one sample run compared to similar runs can indicate mismatched instrument settings or issues with the instrumentation.
Proposed value type:

[ ] single value

Name:
"Number of MS2 spectra"
Definition:
"Number of MS2 spectra"
Comment: A lower number of MS2 spectra acquired during one sample run compared to similar runs can indicate mismatched instrument settings or issues with the instrumentation or unusual low levels of ions collectable for MS/MS.
Proposed value type:

[ ] single value

Name:
"MZ acquisition range"
Definition:
"Upper and lower limit of m/z values at which spectra are recorded."
Comment: Acquisition levels can be used as a criterion to assess the comparability of instrument settings between runs.
Proposed value type:

[ ] n-tuple

Name:
"RT acquisition range"
Definition:
"Upper and lower limit of time at which spectra are recorded."
Comment: Acquisition levels can be used as a criterion to assess the comparability of instrument settings between runs.
Proposed value type:

[ ] n-tuple

Name:
"Fastest frequency for MS level 1 collection"
Definition:
"Fastest frequency for MS level 1 collection"
Comment: Spectrum acquisition frequency can be used to gauge the suitability of used instrument settings for the sample content used.
Proposed value type:

[ ] single value

Unit: Hz
Name:
"Fastest frequency for MS level 2 collection"
Definition:
"Fastest frequency for MS level 2 collection"
Comment: Spectrum acquisition frequency can be used to gauge the suitability of used instrument settings for the sample content used.
Proposed value type:

[ ] single value

Unit: Hz

Please add comments (i.e. descriptions on how to interpret the values) for the metrics.

@mwalzer please add comments (explanations for interpretation)

@julianu Updated with comments
I think acquisition frequency distribution might be more informative than fastest frequency only. Will add that, too.

I think we still need to figure out a neat way to make tuples and tables more computationally accessible. Like assigning unit types or in this case just types so that a parser can be automatically instructed what is in which position of the tuple. Like {STATO:0000401,STATO:0000237}

In favour of a better overview of things I moved the distribution bits to #87


Tutorial: Incorrect variable name in tutorial code snippet

There is a incorrect snippet of code for the Scala tutorial for the character LSTM
[https://github.com/apache/incubator-mxnet/blob/master/docs/tutorials/scala/char_lstm.md#prepare-the-data]
Code currently reads:
def buildVocab(path: String): Map[String, Int] = {
  val content = readContent(dataPath).split("\n")
  var idx = 1 // 0 is left for zero padding
  var theVocab = Map[String, Int]()
  for(line <- content) {
    for(char <- line) {
      val key = s"$char"
      if(!theVocab.contains(key)) {
        theVocab = theVocab + (key -> idx)
        idx += 1
      }
    }
  }
  theVocab
}

The dataPath variable in this code snippet is not defined, and should instead be the parameter path as it is in the example code https://github.com/apache/incubator-mxnet/blob/71d66218395e2a6e5d8ee082929ab3d3d964b002/scala-package/examples/src/main/scala/org/apache/mxnetexamples/rnn/Utils.scala#L33-L47

@mxnet-label-bot [Doc]

(Pull Request merged)


[CI] Add Build for Ray Master

In recent PR (#78) we removed dependency on ray master. Let's add it back for a separate build on ray master to test our code to see if it's future proof.
Ray's master wheels are named to latest pypi version and on S3. (https://ray.readthedocs.io/en/latest/installation.html)
Here's how it can be installed without hardcoded it:

In a script, pip install -U ray; python -c "import ray; print(ray.__version__)"
Pipe the output to format the wheel name, for example: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-{RAY_VERSION_NAME}-cp36-cp36m-manylinux1_x86_64.whl

We just need to run the test on ray master for py3.6 and linux.

Closing this. Feel free to reopen if the discussion should continue or if issue was not resolved.


Change set for one-way bind dom-module

Is there any way to get change set for one-way bind dom-module? For example, I bind an array to module, edit some fields and then want to get all changed fields' properties to send them to server

Please follow the guidelines for creating issues at https://github.com/Polymer/polymer/blob/master/CONTRIBUTING.md#filing-bugs


#5 - Symbol Resolution

Added Scope and Symbol classes for basic symbol resolution support
Signed-off-by: Lorenzo Addazi<EMAIL_ADDRESS>

@gabriele-tomassetti you may be interested in learning about this, when planning the onboarding training


Needed custom options on ssl params

Hi,
there is a way to use custom option to the defaultSocketOptions() function? i need some special settings on context creation, i just tried with below code but seem that doesn't work:
        $settings =
            [
                'host' => 'xxx',
                'port' => '143',
                'encryption' => 'tls',
                'validate_cert' => false,
                'username' => 'xxxx',
                'password' => 'xxxx',
                'protocol' => 'imap',
                'ssl' => [
                    'verify_peer_name' => false,
                    'verify_peer'      => false,
                    'ciphers' => 'DEFAULT:!DH',
                ],
            ];
        //Connect to the IMAP Server
        try {
            $cm = new ClientManager();
        } catch (MaskNotFoundException $e) {
            dd($e->getMessage());
        }
        // or create a new instance manually
        $client = $cm->make($settings);

        $client->connect();
        // or create a new instance manually

Hi @mdemori ,
many thanks for the suggestion. I guess you're talking about this method right?
https://github.com/Webklex/php-imap/blob/6e76b3552491e437f37721ae113129682489c141/src/Connection/Protocols/Protocol.php#L165
..and:
https://github.com/Webklex/php-imap/blob/6e76b3552491e437f37721ae113129682489c141/src/Connection/Protocols/Protocol.php#L200
..and you would like to extend the array which gets parsed to stream_context_create in: https://github.com/Webklex/php-imap/blob/6e76b3552491e437f37721ae113129682489c141/src/Connection/Protocols/Protocol.php#L204
..or am I off?
In theory those could be many options, besides ssl.ciphers. I would suggest a new custom or advanced option like this:
$settings = [
    'host' => 'xxx',
    'port' => '143',
    'encryption' => 'tls',
    'validate_cert' => false,
    'username' => 'xxxx',
    'password' => 'xxxx',
    'protocol' => 'imap',
    'ssl' => [
        'verify_peer_name' => false,
        'verify_peer'      => false,
    ],
    'custom' => [
        'ciphers' => 'DEFAULT:!DH',
        'foo' => 'bar',
    ],
];

..by which the custom settings attribute gets merged with the parameters for stream_context_create.
Best regards,


Add more hurdles

Add more hurdles for our man to cross!!
Add a variety of obstacles - for example, cacti or worms , etc.

can I get assigned to this ?

assign bro plss

can i get assigned to one of the issues, if not please add me to the queue

can I get assigned to this ?

@PandaTGOS you have been assigned

i will add more tough hurdles assign me next

Still working on it

can i get assigned to this

can i get assigned to this #2?


ls does not always show subfolder paths correctly

Node version (or tell us if you're using electron or some other framework):
7.8.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.7.7
Operating system:
Windows 10
Description of the bug:
When you run ls * in Bash, it shows items listed by subdirectory.  When you run ls('*') in shelljs, the items are listed without the rest of the path showing the directory they are in.
Example ShellJS command to reproduce the error:
> ls('*');
[ 'a',
  'b',
  'c' ]

Expected Output:
> ls('*');
[ 'a',
  'b\c' ]

or
> ls('*');
[ 'a',
  'b',
  'b\c' ]

@tech4him1 Maybe you're looking for ls('-R', '.')? Remember, when bash ls outputs something like:
$ ls *
a:

b:
c

the a: and b: aren't entries in the output, they're labels so you can tell where c belongs. Just like if you ran ls -R . in bash, you would see .: as a label, not an entry.


Incorrect max texture size

Since Lollipop the framework is no longer creating a opengl context that is valid for the app.
This change in the framework breaks current way ImageSizeUtils gets the GL_MAX_TEXTURE_SIZE, as it will always be 0 if no context exists.
A possible solution is presented here: http://stackoverflow.com/a/27092070

Thanks, I'll look into it.


attempt to get length of field '?' (a nil value)

Frame 12 in the attached.
foo.trace.gz

That file is also a bit ... crashy with my version of Wireshark. I'll upgrade and try again.

Can you provide steps to view the content of that file please.

Thanks! This change seems to fix it.


What encoding is used for string types.

I'm implementing some software to read SunSpec and I have not been able to find the character encoding that is used for string typed fields.
The documentation I have been able to find only shows a simple example that is limited to the English letters of ASCII.
Given only this example it is still possible that the real encoding standard is something like UTF8.
Does anyone know where I can find the chosen encoding?

This has been a concern for me since they started their own support for py3.  The docs sort of indicate one byte per character (ASCII or iso-8859-1/latin-1 I think being 'plausible' options then) and latin-1 was selected in pysunspec because it 'made tests pass' (all byte sequences are valid latin-1 AFAIK).  IIRC many of the string fields are only 8 bytes or so which leaves little room for i18n via UTF-8.  Mostly I think this is an area which is not clearly understood and thus the docs are not clear.  I would vote for longer strings and UTF-8 probably but given the present size you almost have to leave the encoding unspecified at the SunSpec level and just know out of band from the manufacturer thus allowing for a byte-length optimized encoding to be selected.  Of course, this is a mess to deal with.

This was an oversight in the original spec, but most people are treating it as ASCII.  It is one byte per character and the chosen character encoding is  latin-1 to get largest character set and still maintain backwards compatibility.

Hmm, ok. So the current status is that essentially only the lower 128 values of a byte are implicitly defined as ASCII.
The upper 128 values of a byte are 'fuzzy' as no explicit encoding has been defined in the standard and essentially people have picked what came to mind while writing their software.
My proposal would be to define the standard to use UTF-8 for strings.
By using UTF-8 the current ASCII characters remain unchanged (i.e. 1 char = 1 byte) and as such is backwards compatible with everything I have seen so far.
In addition the option is created to have Asian characters (Chineese and such) under the effect of having multiple bytes per character. Since a lot of companies in the Solar space are of Asian origin this seems like a sensible option.
Also UTF-8 is a so common standard that all programming languages and environments support it.
A good read about character encoding: https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
@silvia2019 @altendky What do you think?

I agree that anything but utf-* is very much 'western' or even 'english' oriented (and that that is a negative thing).  And yes, utf-8 is what I would choose as well (vs utf-16-le or whatever Windows uses, etc).  I think that practically speaking the strings are too short to support other character sets well since they get even fewer usable characters so I think that should be reviewed as well.
I guess that's a 'yes I like utf-8' plus 'consider longer strings'.
Given that the documentation only specified one byte per character but no encoding, I think that can be ignored when considering backwards compatibility.  You had to just know the proper encoding and once you have that you don't need to also know how many bytes per character so it was really completely undefined.  I'll just take your word for it that ASCII is what tended to be used in practice.


Application API Voice capability is missing several features

Describe the bug
According to your official REST documentation several fields are missing in the Java Client SDK:

Webhook.Type model is missing the fallback_answer_url  type
This prevents setting the webhook for com.vonage.client.application.capabilities.Voice
com.vonage.client.application.Application model is missing the privacy.improve_ai  field

Additionally it seems like the Application REST API  doesn't provide a way to specify the following fields for the Voice Capability even though they are present on the Admin Web UI:

Region
Signed Webhooks flag
Conversation TTL

Expected behavior
The fields are present on the models and the builders.
Vonage SDK Version

Version: 7.6.0

Java SDK Version

Version: 11

Thank you for reporting this - I will aim to fix this in the next release :)

Fixed in v7.7.0.


Include numbering in PDF bookmark #2416

The PR is for including number in bookmark, this idea just when write bookmark based on header element index and level and Numbering::Pattern to re-create number of the corresponding header element. The assumption is that in the same level if the Numbering::Pattern are different we should reset number from 1 e.g:

Appex part is using "Letter, Upper" Numbering::Pattern and it's different with the content catalog, so we should reset from 1.

As discussed in https://github.com/typst/typst/issues/2416#issuecomment-2047253336, this solution is a bit too brittle in my opinion, as the numbers won't necessarily match the ones in the document itself, so I'll close this. Still, thanks for your pull request!


Enable Dev Update mode

(This applies once the update function/button works)
Allow an optional dev channel for the jar version that allows updating from the latest dev release, not the latest stable release.

Done :^)


Add option to log to file

First of all: Thank you for sharing your work with the community! It is quite helpful in iterating towards an optimized (and working) ora2pg.conf.
The issue I have when monitoring a running migration in the browser, a glitch in the network connection (or simply an accidental reload) "loses" the event stream.
Particularly for long-running migrations there should be an option to log to a file in the project directory.
Cheers,
Uwe

One way to achieve this for tasks that you are expecting to take a long time would be to call ora2pg directly using the docker image that visulate-ora2pg is using - https://github.com/Guy-Incognito/ora2pg
Use the export button in visulate-ora2pg to download an ora2pg.conf file and then pass its location as a CONFIG_LOCATION environment variable
docker run  \
    --name ora2pg \
    -e CONFIG_LOCATION=/config/myconfigfile.conf  \
    -e OUTPUT_LOCATION=/data/myfolder  \
    -e ORA_HOST=dbi:Oracle:host=mydb.mydom.fr;sid=SIDNAME;port=1521  \
    -e ORA_USER=system  \
    -e ORA_PWD=secret  \
    -it \
    -v /path/to/local/config:/config \
    -v /path/to/local/data:/data \
    georgmoser/ora2pg

Sounds interesting, thanks.
Just to double check: This solution is not possible with your container and needs the separate ora2pg container you mentioned, correct?


Could this package support versions below v1.6?

I am using this package in my code. Thank you for developing it! I just wonder if this package used some v1.6-specific features so that it cannot be installed on versions under v1.6?

Hey!
Actually I don’t think it would be an issue.
Let me setup the continuous integration for older Julia versions, and I’ll
remove the constraint. Or if you feel like it, you can write the PR. But I
should be able to do it today.
Thanks for pointing that out!
Romain
On Tue, 1 Aug 2023 at 03:48, Qi Zhang @.***> wrote:

I am using this package in my code
https://github.com/MineralsCloud/CrystallographyBase.jl/blob/9e0fa2777938c8e65057f717d8a083e837b46113/Project.toml#L14.
Thank you for developing it! I just wonder if this package used some
v1.6-specific features so that it cannot be installed on versions under
v1.6?
—
Reply to this email directly, view it on GitHub
https://github.com/poncito/AnonymousEnums.jl/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQHRKGY7MM2E6TAEO42JATXTBU63ANCNFSM6AAAAAA27C462M
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you Romain! I could write a PR.


Incorrect agent result

Mozilla/5.0(compatible;MatchorySearch/1.3;+https://www.matchory.com)

Would you like to submit a PR?

Hi,
I used you form to notify about another crawler that is not detected as
such at https://crawlerdetect.io/
Yes I think that should be a PR.
Thanks,
Xavier
El lun, 9 dic 2024 a las 19:54, Mark Beech @.***>)
escribió:

Would you like to submit a PR?
—
Reply to this email directly, view it on GitHub
https://github.com/JayBizzle/Crawler-Detect/issues/549#issuecomment-2529099399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARS6SWWXASPRWO4P4VNV5NT2EXRPTAVCNFSM6AAAAABS7S6X6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRZGA4TSMZZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


DCOS-43458: UI Update Service integration

High-level description
This PR introduces the UI Update Service.
The service will expose API for updating and resetting the UI. Performing an update the service will download new version of the UI from Universe, unpack it and swap symlinks under admin router.
Should reset be triggered the service will symlink the pre-bundled version of the UI back into place.
The service doesn't do anything on it's own, unless a user triggers an update.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-42578 UI Update Service Minimal setup

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mhrabovcin I moved all the endpoints to .open. so that we don't leak them in EE 🙇

@mesosphere-mergebot label [Ship It]


always create istio-sidecar-injector configmap with default install

Manual injection with kube-inject uses the sidecar template from the
in-cluster istio-sidecar-injector configmap. These configmap was not
created when automatic injection was disabled.
fixes https://github.com/istio/istio/issues/7567

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ayj
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: ijsnellf
If they are not already assigned, you can assign the PR to them by writing /assign @ijsnellf in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

if this config map is needed even when auto side car injector is disabled, perhaps we need a different condition (like .Values.pilot.enabled)?
I added this condition because when I am applying the standalone gateway using values-istio-gateways.yaml, I don't want to reapply this configmap as everything is disabled except the gateway.

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ayj, linsun
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/retest

@ayj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
de83112ab57608388a790b56688934f1accea120
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-unit-tests


Case trace logger is not working

Case tracing logger is not working, the logger put test case name at the beginning of every logs, so we can grep the name to find related log, eg, https://circleci.com/gh/tikv/tikv/14340
Now we lost almost all logs when a test failed, eg, https://internal.pingcap.net/idc-jenkins/blue/organizations/jenkins/tikv_ghpr_test/detail/tikv_ghpr_test/3156/pipeline
PTAL @zhouqiang-cl @breeswish

Okay, the case trace logger only works when we run tests concurrently, https://github.com/rust-lang/rust/blob/99da733f7f38ce8fe68453e859b7ac96bf7caa0f/src/libtest/lib.rs#L1486
A simple workaround is setting RUST_TEST_THREADS=2.

The fix is confirmed by https://github.com/tikv/tikv/pull/4559, closed.


[Storage] [Typing] [Blobs] Final Typing Sweep

GREEN MYPY 🕺

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-storage-blob


Make the OSSL_HTTP manual conform with man-pages(7)

Details from man-pages(7) that are used:
Formatting conventions for manual pages describing functions

    ...
    Variable names should, like argument names, be specified in italics.
    ...

Formatting conventions (general)

    ...
    Special macros, which are usually in uppercase, are in bold.
    Exception: don't boldface NULL.
    ...

This pull request is ready to merge

This pull request is ready to merge

Merged
ad2cc1a08e67207f566e80c6b1f342294364901f Make the OSSL_HTTP manual conform with man-pages(7)

Merged
ad2cc1a08e67207f566e80c6b1f342294364901f Make the OSSL_HTTP manual conform with man-pages(7)


ms vs 14 build failed

The error is:
D:\dd\sdk\support\pantheios\Pantheios-master\build\vc14.x64>nmake build
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.
    cl    -nologo -c -W4 -wd4800 -wd4996 -WX     -EHsc -GR -MTd -D_DEBUG -Zi

-Fd.\core.api.exitprocess.mt.debug.vc14.x64.pdb    -DWIN64   -DSHWILD_QUALITY_N
O_USE_XCOVER -DPANTHEIOS_NO_AUTO_INIT    -I....\include      -I"D:\dd\sdk\suppo
rt\pantheios\stlsoft-1.9.124\include"   -Fo.\core.api.exitprocess.mt.debug.obj .
...\src\core\api.exitprocess.cpp
api.exitprocess.cpp
D:\dd\sdk\support\pantheios\stlsoft-1.9.124\include\stlsoft/stlsoft.h(1287): fat
al error C1083: Cannot open include file: 'stddef.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0
\VC\bin\cl.EXE"' : return code '0x2'
Stop.
I don't know why, please help me, thanks

Yeah, that looks like ljestrada has the right answer

@nneesshh
Are you using the proper Command Prompt?
Visual Studio installs a Developer Command Prompt that inserts the proper paths for the include files and libraries, etc.
For example, in Visual Studio 2017 I have a Developer Command Prompt for VS 2017
Hope it helps.


Bookstore: Connect to API

Used the [Bookstore API as backend
Used [fetch] with [createAsyncThunk] to make API calls
Fetched books from Bookstore API on when the component has rendered with useEffect
Refactored add book and remove book features to persist changes in the server
Modified your reducer logic to include HTTP requests to the Bookstore API
Styling is not required
Everything is working the same as before

:)


Updated lists in (In)Active and Invalid

As promised in https://github.com/devmehq/free-email-providers/issues/1
I have added all tree lists of results + generated them to *.json for other to use as delete lists in there system.
I would however recommend you to run over the free-email-providers.json do to the inconsistent use of the root . (A trailing dot)
The bash file, is just a little handy tool to handle the lists and generate the *.json files.
Have fun and hoping you enjoy this work

Thank you @spirillen i will check it out


Awesome stuff

Just want to say well done for making this.

Thank you!!

:+1: I'm so happy I found this repo! Thank you for your work @jiahaog


Monitor heartbeats and unit tests.

What I did

Monitor now sends keep-alive heartbeat messages
Added Monitor unit tests, using mocktail.

How I did it
Monitor now sends heartbeats (noop:0 commands) periodically. Default interval between heartbeats is 10 seconds. Heartbeat response (normally 'ok\n') is expected within a third of the heartbeat interval. If a timely heartbeat response isn't received then the connection is closed, status set to stopped, and the retryCallback is called. (retryCallback is passed to the monitor at constructor time.)
First heartbeat is scheduled if the monitor is successfully started.
Subsequent heartbeats are scheduled every time a heartbeat is sent.
Heartbeats are only sent (and the next one scheduled) if the monitor status is still 'started'
Every time a heartbeat is sent, we also schedule the check to verify that a timely response has been received.
The _handleResponse function, which handles responses from the server, has had a couple of lines of code added to detect the heartbeat response.
Finally, removed call to remoteSecondary.isAvailable() as it is superfluous - basically all it does is open a socket to the secondary, which is what the Monitor is going to do anyway. No point in checking if we can open a socket in order to then ... open a socket.
Added unit tests to cover the heartbeat behaviour.
How to verify it
All tests should pass
Description for the changelog
Notifications monitor now uses heartbeat messages to detect when the socket goes awol

Hi @VJag and @kalluriramkumar - please review first thing. I've only done unit testing on this change, as I've run out of time today. It would be really great if you could add a functional test to verify that it actually really works against the server - i.e. does not do anything weird, at least. Once you're reasonably happy that the change is good, then please let @sachins-geekyants know so he can build a version of the app against this branch (monitor_heartbeats_and_unit_tests)

@kalluriramkumar even better, maybe you could build the app against this branch and see if it is working ok. You may wish to change the defaultHeartbeatInterval to 30 seconds, with response therefore expected within 10 seconds. That seems generous enough even for a very busy device talking over a slow network with very high latency

@gkc : The server return the response with the prefix data:. Hence added data: prefix in handleMonitorResponse.

Tested and confirmed working as intended by @kalluriramkumar and @VJag
Tested and confirmed working as intended by @sachins-geekyants in https://github.com/atsign-foundation/apps/issues/574#issuecomment-1096882958

Thanks Kevin. Will bump version & edit change log  before merging, will then publish new version of the package. While I'm here I'll change the strict dependencies to "any after" for the various at_ packages this package depends on

When I updated pubspec.yaml to make some dependencies "any after" rather than specific version, found a breaking change in at_commons. Filed https://github.com/atsign-foundation/at_tools/issues/179. Reverted to having strict dependencies in at_client for now.


How is the dropout implemented?

Hi, thank you for your repository, but I'd want to know how the dropout on the convolution filters is implemented? In your code , you scale up the kernels using a normal distribution, just like a common multiplicative dropout implementation, however, I cannot find where the parameters within the kernels are actually dropped out, did I miss something?

Oh I just found my question quite silly. The answer is here: 10. Multiplicative Gaussian Noise


ARROW-15663: [Gandiva][C++] Add TRUNC function

This PR implements the TRUNC function which can receive date as string, date or timestamp.

Closing because it has been untouched for a while, in case it's still relevant feel free to reopen and move it forward 👍


Permissions denied /tmp

I'm trying to deploy mycroft via Portainer
Here's mycroft_skills log:
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/mycroft/core/mycroft/skills/__main__.py", line 295, in <module>
  File "/home/mycroft/core/mycroft/skills/__main__.py", line 200, in main
  File "/home/mycroft/core/mycroft/lock/__init__.py", line 119, in __init__
    mycroft.lock.Lock('skills')
  File "/home/mycroft/core/mycroft/lock/__init__.py", line 173, in create
    self.create()
    self.touch()
  File "/home/mycroft/core/mycroft/lock/__init__.py", line 160, in touch
    with open(self.path, 'w') as L:
PermissionError: [Errno 13] Permission denied: '/tmp/mycroft/skills.pid'

My .env file:
CONFIG_FOLDER=/media/Dane/.docker/mycroft/mycroft-config
WEBCACHE_FOLDER=/media/Dane/.docker/mycroft/mycroft-web-cache
MODELS_FOLDER=/media/Dane/.docker/mycroft/mycroft-precise-models
CACHE_FOLDER=/media/Dane/.docker/mycroft/mycroft-cache
MIMIC3_VOICES_FOLDER=/media/Dane/.docker/mycroft/mycroft-mimic3-voices
COMPOSE_HTTP_TIMEOUT=120
VERSION=latest
XDG_RUNTIME_DIR=/run/user/1000
XAUTHORITY=~/.docker.xauth
X11_SOCKET=/tmp/.X11-unix

Files in /media/Dane/.docker/mycroft are created fine

Could you please check the permission of /tmp/mycroft  directory inside the mycroft_skills container?

Ok, just saw your screenshot, the directory you created belongs to root when they should belong to user with UID 1000.
Here is an extract of the README
$ mkdir mycroft-config mycroft-web-cache mycroft-precise-models mycroft-cache mycroft-mimic3-voices
$ chown 1000:1000 mycroft-config mycroft-web-cache mycroft-precise-models mycroft-cache mycroft-mimic3-voices

Problem solved, thanks


Support jenkins automatic upgrade in UI

What feature do you want to see added?
the directory '/usr/share/jenkins' is not writable. So jenkins automatic upgrade does not show up in the ui
Upstream changes
No response

This is not something we want, your update your image version to get a new version of Jenkins.
This would be very confusing to someone running 2.289.1 tag but actually running 2.332.1


feat: adding support for dynamic schema

Adds additional functions for sha and register named sha_dynamic and register_dynamic which takes async_graphql::dynamic::Schema, instead of async_graphql::Schema

Released, thx :-)