KUBECONFIG not supported?

I have the following setup
export KUBECONFIG=<customer>-dev.yaml

kubectl config current-context
<customer>-dev

sudo kubefwd svc -n core
Password:
INFO[10:22:55]  _          _           __             _
INFO[10:22:55] | | ___   _| |__   ___ / _|_      ____| |
INFO[10:22:55] | |/ / | | | '_ \ / _ \ |_\ \ /\ / / _  |
INFO[10:22:55] |   <| |_| | |_) |  __/  _|\ V  V / (_| |
INFO[10:22:55] |_|\_\\__,_|_.__/ \___|_|   \_/\_/ \__,_|
INFO[10:22:55]
INFO[10:22:55] Version 1.22.0
INFO[10:22:55] https://github.com/txn2/kubefwd
INFO[10:22:55]
INFO[10:22:55] Press [Ctrl-C] to stop forwarding.
INFO[10:22:55] 'cat /etc/hosts' to see all host entries.
INFO[10:22:55] Loaded hosts file /etc/hosts
INFO[10:22:55] HostFile management: Original hosts backup already exists at /Users/me/hosts.original
INFO[10:22:55] Successfully connected context: docker-desktop
^CINFO[10:23:05] Received shutdown signal
INFO[10:23:05] Stopped watching Service events in namespace core in docker-desktop context
INFO[10:23:05] Clean exit

Is using KUBECONFIG environment variable not supported?

Yes it is. You are defining export KUBECONFIG=<customer>-dev.yaml as your regular user then when you use sudo you need to tell it to user your user environment:
-E, --preserve-env
                 Indicates to the security policy that the user wishes to preserve their existing environment variables.  The security policy may return an error if the user does not have permis‐
                 sion to preserve the environment.


Fix midi in clock sync

This fixes how orca works with external midi clocks.

The old way tried to align the orca bpm with the pulses coming from the external midi clock, but that led to clock sku.
In this PR orca becomes a slave to the midi clock, advancing the orca frames on every 6th pulse, and suspending the internal orca interval. If no pulses are received from the external midi clock, orca disconnects, and resumes its previous bpm and resumes its internal interval clock.

That is beautiful.


Add syntax highlight for self closing tags.

Hii, It's me again.
If it's possible can you add syntax highlighting for self-closing tags? I have attached an image for your reference.

I am still hard to see this problem when you raise it... to not obvious!
Thanks for your report :) will be fixed in next version.

fixed in 0.15.14.


Allow us to change margin of the checkbox in a DataTable

Use case
Currently the margin between the checkbox and content in the first column is the horizontalMargin:
https://api.flutter.dev/flutter/material/DataTable/horizontalMargin.html
I want to be able to change the margin for the checkbox independently.
Proposal
Add new property to the DataTable and DataTableThemeData called checkboxHorizontalMargin to allow us to set this value independently of horizontalMargin.

Working on this issue.


[BUG] CBOSS crashes with small train set size

Describe the bug
found when writing tests for HC1, CBOSS crashes with train always with trains set 4, often set size of 10, not with train size 15
Steps/Code to reproduce the bug
    from aeon.classification.dictionary_based import ContractableBOSS
    from aeon.utils._testing.collection import make_2d_test_data
    X, y = make_2d_test_data(n_cases=4, n_timepoints=100, n_labels=2)
    cboss = ContractableBOSS()
    cboss.fit(X, y)

Expected results
either informative exception about train set size or should work.
Actual results
Traceback (most recent call last):
  File "C:\Code\aeon\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3460, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-c35d1f6140d9>", line 1, in <module>
    runfile('C:\\Code\\aeon\\aeon\\local\\debug.py', wdir='C:\\Code\\aeon\\aeon\\local')
  File "C:\Program Files\JetBrains\PyCharm 2020.3\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 198, in runfile
    pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
  File "C:\Program Files\JetBrains\PyCharm 2020.3\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "C:\Code\aeon\aeon\local\debug.py", line 6, in <module>
    cboss.fit(X, y)
  File "C:\Code\aeon\aeon\classification\base.py", line 186, in fit
    self._fit(X, y)
  File "C:\Code\aeon\aeon\classification\dictionary_based\_cboss.py", line 266, in _fit
    boss._clean()
  File "C:\Code\aeon\aeon\classification\dictionary_based\_boss.py", line 691, in _clean
    self._transformer.words = None
AttributeError: 'NoneType' object has no attribute 'words'

Versions
No response

@MatthewMiddlehurst reading through the code this seems like a simple fix if you want to just guard against a None transformer in the _clean() function in IndividualBOSS.  But...seems to me like there's no reason not to initialize the transformer in the init of IndividualBoss.  I'm going to open a PR for the latter solution and tag you in it too.

from aeon.classification.dictionary_based import ContractableBOSS
from aeon.testing.utils.data_gen import make_2d_test_data
X, y = make_2d_test_data(n_cases=4, n_timepoints=100, n_labels=2)
cboss = ContractableBOSS()
cboss.fit(X, y)

now works, fixed by #741


Drupal.org hates our release tags

Although at some point I read that you could name a tag anything, it's looking like if I want the release to show up on Drupal.org, it has to be renamed to 8.x-1.0 (no 1.0.0) and be based off of a  non-master branch (I specifically chose master as the stable branch).
I'm not sure how best to proceed.  Those tags must remain for packagist and our current install.  I'm thinking i'll splice off branches from the tagged commits with different names, and release off of those on Drupal.org.

https://www.drupal.org/node/1015226 for reference

If something is on Drupal.org, composer can find it with the 'Drupal/' prefix so packages is no longer necessary unless I'm missing another use for it

Looks like we need to have our 1.0.0 release tag called 6.1.0
https://www.drupal.org/docs/8/distributions/degov/semantic-versioning-model

Oh no, sorry that is for the deGov distribution. Mea culpa

This should be a moot point because Drupal.org now actually uses semantic versioning for Drupal 9+.  As long as we stick to 'standard' semantic versioning, we should be alright.  I'd wait until we actually push stuff over to Drupal.org before closing the ticket though.

There are 2 things that need to happen

we need our branch to be 2.x or 2.1.x to be viewed as the development branch for the current work on Drupal's repo.
we need to consider how badly we want to work in the Drupal ecosystem, we need to either work in or synchronize to Drupal's code repository, migrate to DrupalSpoons or skip the whole thing.

I'm thinking that synchronizing is the simplest for the community as they don't need to learn anything new. Not sure how we might get Github actions to do that for us without too much trouble.
Another question becomes how we can incorporate any patches from the Drupal community back into the code.
Sidenote: @dannylamb can you add me to the JSON-LD drupal project and whatever other ones are up there. I pushed out the 2.0.0 release for islandora core on to Drupal.org and was going to work to release the rest when I had time. But I only have permissions to core islandora.

TAG is, after discussion with the tech call, going to rename branches to align with semantic versioning.
In particular, a new 2.x branch will be cut from the 8.x-1.x branch on all drupal-related code. This 2.x branch will be made the github default branch and will be our working branch.


GPSPRINGSECURITYCORE-253: AccessDeniedHandler: errorPage is not rendered within it's layout when adh.useForward is set

Original Reporter: tcrossland
Environment: grails-spring-security-core 2.0-RC2, Grails 2.2.4, JDK 1.6.0_65
Version: Grails-Spring-Security-Core 2.0
Migrated From: http://jira.grails.org/browse/GPSPRINGSECURITYCORE-253
If the specified error page has a layout (<meta name="layout" content="..."> ) the layout is not rendered when the AccessDeniedHandler forwards the request.
There is a workaround, by setting the errorPage to null and using a controller to render the view using a UrlMapping, for example:
"500"(controller: "error", action: "denied", exception: AccessDeniedException)
"403"(controller: "error", action: "denied")

(I had to specify the 403 as well for some reason, this also seems new with the 2.0-RC2 plugin).

Marking this as Cannot Reproduce and closing.
I will be happy to reopen it if you would be so kind as to attach or link to a sample app which reproduces the problem.
I have been unable to reproduce with the latest releases.


VSCode "Can't get session" error

Describe the bug
When I try to log in, VSCode renders "Can't get session" error.
To Reproduce
Steps to reproduce the behavior:

ctrl + shift + p
Search for Readable: Login
Select Readable: Login

Desktop (please complete the following information):

OS: Windows
VSCode Version: 1.62.3
Readable Version: 1.5.5

Fixed after updating VSCode to the newest version.


Add support for Jenkins-Pipeline (WorflowRun)

the plugin was refactored to support the pipeline-plugin and implement SimpleBuildStep. All tests passed.

Thank you for the pull request, it's much appreciated! :smile: Please give me a bit of time (maybe a few days?) to see how this change impacts the current version (and my team's current configuration). I may ask for additional testing around certain areas, but if you are unavailable I will be able to address them.
Thank you again!

+1

Hi @mike-rogers, did you have a chance to look into this PR? We've checked the same patch with our configurations, it looks good for us. I would appreciate any feedback, thanks!


Raise the Select MixedrealityInputAction when the Select keyword is recognized

Fixes an issue where the Select keyword fails to raise a MixedRealityInputAction when recognized at the system level.
Overview
Raises the Select action when the voice command is recognized. The "Select" action must also be the first entry in the Speech Commands MRTK profile settings.
Changes

Fixes: #11424
Fixes MRTK Examples eye tracking demo scenes

We appreciate your contribution and thank you for the pull request.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority issues. Unfortunately, this pull request does not meet the necessary priority and will be closed. If you strongly feel that this change deserves more attention, please open a new pull request and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


loginRedirect method opens Microsoft login page and fails

Library

[x]<EMAIL_ADDRESS>
Description
When I start login process with loginRedirect method it tries to open Microsoft web page and fails.

Do you have any ideas about issue reason or maybe point me to the direction where to find?
I also know that our authentication in AzureAD is federated through our ADFS to the on-prem user identities. And Outlook desktop uses WAM, the new and supposedly modern, Web Account Manager for Modern authentication.
My application is the outlook add-in. The error reproducible in desktop outlook only and works fine in web one (OWA).
I have tried different approaches:

use custom popup as mentioned https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/2039#issuecomment-744070070
use loginPopup
use loginRedirect in the same window
use loginRedirect in the separate dialog (window.Office.context.ui.displayDialogAsync method)
disable WAM

There is a latest sample of code that fails.
// main window code
window.Office.context.ui.displayDialogAsync(`${baseUri}login.html`, { height: 30, width: 20 })

// login window code
let msalInstance;

const initMsalInstance = () => {
  msalInstance = new window.msal.PublicClientApplication({
    auth: {
      authority,
      clientId,
      navigateToLoginRequestUrl: false,
      postLogoutRedirectUri: `${baseUri}login.html`,
      redirectUri: `${baseUri}login.html`,
      validateAuthority: true,
    },
    system: {
      allowRedirectInIframe: true,
      loadFrameTimeout: 10000,
    },
    cache: {
      cacheLocation: 'localStorage',
      storeAuthStateInCookie: true,
    },
  });

  msalInstance.handleRedirectPromise()
    .then(response => {
        const responseStr = JSON.stringify(response);
        console.log('response', responseStr);
        if (response === null) msalInstance.loginRedirect()
        else window.Office.context.ui.messageParent(responseStr);
    }).catch(error => { });
};

window.Office.initialize = () => {
    window.Office.onReady(() => {
        console.log('onReady');
        initMsalInstance();
    });
};

I am not sure whether it is related, but I also see next logs in Edge dev console:

Source

[x] Customer request

@oleksandr-slys Can you please record a Fiddler trace for this error and email it to me? The server logs indicate a malformed request, but I'm unable to see exact details. Thanks!

@jasonnutter could you please advise me how to do it properly? Each time I enable Fiddler Outlook stops to work.

@jasonnutter I did more investigation. It happens that problem exists only for the users with Windows Virtual Desktop, but it works fine with a regular PC. But again it works fine in WVD with OWA.

@oleksandr-slys Interesting, thanks. I'll try to find out more and follow up.


Reverse lookup from windows to list of IANA

Addresses #39

Yeah, as discussed in #39, this isn't matching against Windows time zone names, but rather the CLDR localizations.  Let's continue the discussion over there.


Added constants for length of arrays in header files.

#58 Constants for lengths of arrays are now generated.
To distinguish between constants for dynamic and static arrays, different suffixes are used.
For dynamic arrays, the constants will be suffixed with "_MAX_LENGTH", while for static arrays "_LENGTH" is used.

Travis failed on apt install. I restarted the job, looks like it's doing better now.


Diagnostics Setting causes vnet to fail in Azure Gov

Need to update deploy-baseline.bicep and Carml VirtualNetwork module.

@shawntmeyer thanks for your feedback will contact you for additional details

Submitted PR

Thanks @shawntmeyer PR merged.


Extension status bar improvements & polish

related to #2835, #3540

Moved the status bar icon to the left. Changed how the errors are reported visually. Also that they can only be seen once, further clicks seem irrelevant, so the notification goes away as soon as it's clicked.


Subcomponents are not allowed mention in documentation

What could be improved
Forge2D/Box2D doesn't have a concept of nested bodies and all bodies should live on a top level in the physics world. However, it's hard to know this for people who stat with Forge2d right away. It would be nice to have it clearly mentioned in the documentations.
I'll create a PR for updating the documentation my self.

I tried to push, however I didn't have permission to create a new branch.

I tried to push, however I didn't have permission to create a new branch.

You have to fork it and then create a PR from the fork.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork


[Feature Request] File Storage support

From kirimase created by knajjars: nicoalbanese/kirimase#154
Is your feature request related to a problem? Please describe.
One of the main features when looking for a fullstack solution is the file storage, there are libraries that easily integrate with Nextjs like uploadthing, maybe this would be something interesting to add!
Describe the solution you'd like
Users can select a file storage from certain options: vercel blob, uploadthing, s3 API or a generic solution which accepts different adapters that are s3-compatible.

@knajjars  This is in support of your feature request. I also believe it would be great to have this feature integration. I'll probably come back later with code suggestion especially for media management UI in the dashboard.

I was starting to spike on this for my side project, too;


Include Topological entropy

As mentioned in Zulip chat, I've got an ongoing project on formalizing Bowen-Dinaburg's version of topological entropy. I would like to add it to your project : there are some design decisions I would like a feedback on (including nomenclature), and areas which are surely inefficient. I think working together may also help get clean files on Mathlib and finding reviewers for them.
As of now, this project consists of 12 files of varying size :

Invariant subsets (300l.) : my own version of statements about invariant subsets. Includes things about closed/compact subsets, but I actually only use the first two or three lemmas in the remainder of the project, so I can easily replace it by somebody else's version.
Misc (400l.) : A hodgepodge of various lemma I should add to mathlib (but you always have new ones to add to this file...).
ENNReal logarithm (280l.) : properties of the log from [0,infty] to [-infty, infty]. Finished, a review would be nice.
EReal division (150l.) : division on  [-infty, infty] and its properties. Finished, a review would be nice.
EReal multiplication continuity (130l.) : continuity of the multiplication on  [-infty, infty]. Finished, a review would be nice.
Dynamical uniformity (180l.) : Dynamical balls (in the vocabulary of uniform spaces). Good to publish, but frequently modified.
Dynamical cover (700l.) : Bowen-Dinaburg's definition(s) of the entropy with covers. Finished, a review would be nice.
Dynamical net (560l.) : Bowen-Dinaburg's definition(s) of the entropy with nets. Finished, a review would be nice.

Plus 4 files about the entropy of various systems (subsets, unions, products, semi-conjugacies) which I've decided to keep separated. 2 are finished, and 2 are almost finished (but I have serious issues working with limits in Lean, so any help is appreciated -- I can prove what I want, but this tends to be very inefficient).
If you are interested to this work, I'll add a documentation page to clarify the structure and dependence of these files, as well as the design decisions I made.
Would you agree to home this project on BET, or would you prefer I find somewhere else ?

You have done a huge amount! Great! Personally I'm very happy to be part of this and enthusiastic to spend time on this.
@mseri?
We should also figure out a systematic way to queue all the results which are essentially ready for final polishing and moving to mathlib.

This was merged in https://github.com/mseri/BET/pull/44
We can now open separate issues on the various TODOs when we are ready to address them


Task: brew permissions issue

The first run of the playbook errorred out:

TASK [geerlingguy.homebrew : Force update brew after installation.] ******************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["/usr/local/bin/brew", "update", "--force"], "delta": "0:01:26.618295", "end": "2020-05-27 14:30:13.679602", "msg": "non-zero return code", "rc": 1, "start": "2020-05-27 14:28:47.061307", "stderr": "Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...\nError: Failed to link all completions, docs and manpages:\n  Permission denied @ rb_file_s_symlink - (../../../Homebrew/manpages/README.md, /usr/local/share/man/man1/README.md)", "stderr_lines": ["Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...", "Error: Failed to link all completions, docs and manpages:", "  Permission denied @ rb_file_s_symlink - (../../../Homebrew/manpages/README.md, /usr/local/share/man/man1/README.md)"], "stdout": "\u0007==> Homebrew has enabled anonymous aggregate formulae and cask analytics.\nRead the analytics documentation (and how to opt-out) here:\n  https://docs.brew.sh/Analytics\nNo analytics have been recorded yet (or will be during this `brew` run).\n\n==> Homebrew is run entirely by unpaid volunteers. Please consider donating:\n  https://github.com/Homebrew/brew#donations\n==> Tapping homebrew/core\nTapped 2 commands and 5024 formulae (5,280 files, 320.0MB).\nAlready up-to-date.", "stdout_lines": ["\u0007==> Homebrew has enabled anonymous aggregate formulae and cask analytics.", "Read the analytics documentation (and how to opt-out) here:", "  https://docs.brew.sh/Analytics", "No analytics have been recorded yet (or will be during this `brew` run).", "", "==> Homebrew is run entirely by unpaid volunteers. Please consider donating:", "  https://github.com/Homebrew/brew#donations", "==> Tapping homebrew/core", "Tapped 2 commands and 5024 formulae (5,280 files, 320.0MB).", "Already up-to-date."]}

After running sudo chown -R $(whoami):admin $(brew --prefix)/* and restarting, the playbook was able to complete.
I suggest adding a permissions check in the role, and run the chown on the user's behalf if needed.

I think this issue is related. Posting here, but I can move it to it's own issue. Seem like the role is making changes that cause brew doctor to throw warnings.

Running this playbook
---
- name: Install packer image build node
  hosts: all
  become: true

  vars:
    homebrew_user: "{{ ansible_user_id }}"
    homebrew_group: "{{ ansible_user_gid }}"
    homebrew_upgrade_all_packages: true
    homebrew_installed_packages:
      - bash
      - git
      - openssh
      - packer
      -<EMAIL_ADDRESS>      - rsync
      - sqlite
      - terraform
    roles:
    - geerlingguy.homebrew

Although brew doctor says things are ok. The ansible run finds this problem.
TASK [geerlingguy.homebrew : Upgrade all homebrew packages (if configured).] ***
fatal: [macos-packer]: FAILED! => {"changed": false, "msg": "Error: Can't create update lock in /usr/local/var/homebrew/locks!\nFix permissions by running:\n  sudo chown -R $(whoami) /usr/local/var/homebrew"}


Removes symlink

This PR removes symlink and removes old files from the old test suite.

/packit copr-build


chore(package): update jest to version 21.0.1

Closes #28

Codecov Report

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

@@          Coverage Diff          @@
##           master    #29   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          25     25
  Branches        6      6
=====================================
  Hits           25     25

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 c841c13...5532faf. Read the comment docs.


watchlist: decrease the number of informers to 6 to confirm no impact on latency

watchlist-off perf test reports unexpectedly high LIST latency.
It looks like the main suspect is egress throughput. This PR reduces the amount of informers, which, in turn, reduces the amount of downloaded data, resulting in improved latency.

/assign @wojtek-t

/lgtm
/approve


Not saving to file for webpack 3

Using webpack 3.12.0. Even with { writeFile: true } in options, no json file is written to disk. I tracked down the problem is here:
https://github.com/GoogleChromeLabs/size-plugin/blob/master/src/index.mjs#L158
For webpack 3, compiler.options.mode is undefined, which leads to no-op when writeToDisk: https://github.com/GoogleChromeLabs/size-plugin/blob/master/src/index.mjs#L118-L131

It seems there is no mode info at all for webpack 3 options, so one way to fix is to add optional mode override in SizePlugin(options). Ideas? @developit

Fixed in 3.0.0.

Fixed in 3.0.0.


import_mappings requires HEROKU_AUTH_TOKEN to be set

Hi,
the documentation says that HEROKU_AUTH_TOKEN is optional and required only for healthcheck:
https://django-heroku-connect.readthedocs.io/en/latest/settings.html#heroku_connect.conf.HerokuConnectAppConf.HEROKU_AUTH_TOKEN
I did set an application without a healthcheck plugin, but while running import_mappings command, I am gettings the next error:
AttributeError: 'Settings' object has no attribute 'HEROKU_AUTH_TOKEN'
Full traceback:
Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_from_command_line(sys.argv)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
    utility.execute()
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/app/.heroku/python/lib/python3.6/site-packages/django/core/management/base.py", line 335, in execute
    output = self.handle(*args, **options)
  File "/app/src/django-heroku-connect/heroku_connect/management/commands/import_mappings.py", line 37, in handle
    connections = self.get_connections(app_name)
  File "/app/src/django-heroku-connect/heroku_connect/management/commands/import_mappings.py", line 105, in get_connections
    return utils.get_connections(app_name)
  File "/app/src/django-heroku-connect/heroku_connect/utils.py", line 199, in get_connections
    response = requests.get(url, params=payload, headers=_get_authorization_headers())
  File "/app/src/django-heroku-connect/heroku_connect/utils.py", line 162, in _get_authorization_headers
    'Authorization': 'Bearer %s' % settings.HEROKU_AUTH_TOKEN
  File "/app/.heroku/python/lib/python3.6/site-packages/django/conf/__init__.py", line 57, in __getattr__
    val = getattr(self._wrapped, name)
AttributeError: 'Settings' object has no attribute 'HEROKU_AUTH_TOKEN'

This is not a package issue but related to a bug in django-configurations (and the reason why I don't want to use it ;), see https://github.com/jazzband/django-configurations/issues/167


Fix getAccessToken in ui-test-app

@NancyMcCallB Can you try out this change?

Looking at it now.


Xojo Added

Description
Adding Hello World Binary for Xojo, "The Xojo programming environment is developed and commercially marketed by Xojo, Inc. of Austin, Texas for software development targeting macOS, Microsoft Windows, Linux, iOS, the Web and Raspberry Pi. Xojo uses a proprietary object-oriented BASIC dialect, also known as Xojo"
Types of changes

[ ] Bug fix or improving code quality
[ X] New language
[ ] New feature

Checklist:

[X] My code follows the code style of this project.
[X] I have updated the documentation accordingly.


Just a question

Hey I was trying to understand how the webpack auto reload is working.
I know your using a webpack-dev-server, but what part of your code is forcing the reload to happen when you edit a component?
Thanks in advance. Any resources is much appreciated.

Hi,
So the hot-loader works based on this line here https://github.com/alicoding/react-webpack-babel/blob/master/webpack.config.js#L43
Basically, it just wait for file changes and that's the entry point, so anything that file is loaded will be watched as well.
Hope this help?

Hey, Thanks for your response.
So what exactly is the HtmlWebpackPlugin doing?

@brianbier its basically load in an HTML file and replace it with variables and kind of compiling https://github.com/ampedandwired/html-webpack-plugin

@alicoding Got it. Thanks so much. All that was helpful.

You're welcome :)


All models fail Checksum, Fail Corrupted.

Every single download fails and show this:

LMS Version: 0.2.27

@ZeroCool22 is this from the catalog on the home page or from search results?

@ZeroCool22 is this from the catalog on the home page or from search results?

Search.


chore(gh-pages): custom domain settings and updates

Updates to build everything for new custom domain

:tada: This PR is included in version 3.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support latest versions of<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

warning<EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

Seconded, I'm having issues and unsure if it's the formsy-react and material-ui versions

Is there an ETA for a fix?


Document that colons, not semicolons, separate statements on a line

Thanks for fixing that, Jonah!

No problem!


Settings screens redesign

add gradient on top
change main background colour (will affect all screens in the mainnet app)
reorganised settings items order
change off toggle view
version number should be in bold font
Touch/Face ID should appear depends of devices specs, if there's no Touch/Face ID, that item shouldn't be in the settings at all
Secondary currency item is not required  for now,  will be implemented when we'll have the info

https://zpl.io/VQvjoQ9

design:

actual:

checked


Add files via upload (New School)

@s5194586 estb.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


Search bar

Not working

I don't know where to make suggestions, but it would be neat if spending money in the EpicLoot window also applied to Haldor's marketprice fluctuation.
Thanks for the changes!

Do price change working for you? If not then it's some mod adding traders items incorrectly.

The price change is working for me, yes.
When I type something into the search bar like "arr", the arrows don't show up. Even when I try to be more specific like "Resin".
And if I hit Enter to try to do a search, it just opens the chat box.

The search bar works from the selling column but not the buying column

It's definitely some other mod.

ALso I didn't see price change on the screenshot. Did you enable it to check and then disabled?

I had disabled the price fluctuation.
I also disabled the trader coins and it shows my items as greyed out, BUT I'm still able to sell them. Minor bug.

Thanks greyed items was fixed.
If you enable price changing do it work or not? Do price change in the buy list?
Do you have errors in log?
Do you have another mod adding items for trader to sell?
Do you have similar issue with Hildir?

I removed all my mods except for ExtendedTraders and both search bars work again.
I'll try to narrow down which one's causing the issue. Sorry about that.
I'm not getting any red text whatsoever.
Here is my list of mods. Do you have any suspicions?
Almanac 3.2.0
Armory 1.1.8
AutoDoors 1.0.0
AzuAntiArthriticCrafting 1.3.4
AzuAreaRepair 1.1.3
AzuExtendedPlayerInventory 1.3.12
Backpacks 1.3.3
BalrondElvenRoof 1.0.1
BalrondHumanoidRandomizer 1.2.3
BalrondShipyard 1.3.6
BetterWisps 1.0.26
BowsBeforeHoes 1.3.4
BuildCameraCHE 1.2.2
BuildRestrictionTweaksSync 1.0.2
ClockMod 1.6.0
ComfortTweaks 3.2.10
ConfigurationManager 18.2
CookingAdditions 1.0.9
CraftFromContainers 3.5.1
CreatureLevel&LootControl 4.5.19
CustomRaids 1.7.10
DeathPinRemoval 1.0.4
Digitalroot'sBounties 3.0.9
Digitalroot'sSlopeCombatAssistance 2.0.22
DisplayBepInExInfoIn-Game 2.0.2
DragoonCapes 1.2.8
DropThat! 2.3.11
EpicLoot 0.9.37
EpicMMOSystem 1.8.97
FirstPersonMode 1.3.2
FishChum 1.0.1
FogPushers 1.0.2
ForsakenPowerOverhaul 1.1.4
FortifySkillsRedux 1.0.8
GreydwarfsDontCircle 1.0.0
Groups 1.2.6
HoneyPlus 5.3.2
InstantMonsterDrop 0.5.0
Jotunn 2.18.0
kg.moremappins 1.0.0
LootParticlePlus 1.1.0
MagicPlugin 1.8.9
MassFarming 1.9
MissingPieces 2.0.7
MonsterLabZ 3.0.7
Monstrum 1.3.5
MonstrumAshlands 1.1.6
MonstrumDeepNorth 1.1.7
MultiUserChest 0.5.10
NeedForSpeed 0.2.1
Network 1.0.2
OdinArchitect 1.2.7
Outsiders 1.5.5
ParticleControl 0.0.2
Pathfinder <IP_ADDRESS>
PerfectPlacement 1.1.6
PlanBuild 0.14.9
PortalStations 1.0.9
QuickStack-Store-Sort-Trash-Restock 1.4.7
QuickTeleport 1.0.0
RecyclePlus 1.2.6
ReliableBlock 1.0.0
RepairStation 1.0.4
RocktheBoat 1.0.5
RRRCore 3.1.5
SearsCatalog 1.4.0
Seasonality 3.2.2
SeasonalTweaks 1.0.9
ServerDevcommands 1.75
ServerSideMap <IP_ADDRESS>
ShowWeight 0.0.1
SNEAKer 1.1.3
SpawnThat! 1.2.9
SteadyRegeneration 1.0.2
TorchesAreFires 1.0.4
TradersExtended 1.1.1
UsefulTrophies 1.0.7
ValheimCuisine 2.0.6
ValheimFortress 0.20.4
Veinmine 1.2.10
VikingsDoSwim 1.3.2
WackysDatabase 2.2.5
Warfare 1.6.6
WarfareFireAndIce 1.1.5
WeaponAdditions 1.1.7
WhiteMarble 1.2.0
WieldEquipmentWhileSwimming 1.0.8
I ran the game once without AAAcrafting and SortCraft since both those mods use search bars and no luck.

If you have anything related to any mod in traders list that's first one you should check.

MagicPlugin
MonsterLabZ
Monstrum
PortalStations
RecyclePlus
Maybe some config from WackysDatabase.
That's what caught my sight.
I use Warfare, ValheimCuisine, OdinArchitect and EpicLoot myself. All of them works fine.
I'll check the list later.

I figured it out. It's not a mod.
It's the combination of both these config settings that disable the search bar functionality for the Buy column.

When Trader use coins and Traders use flexible pricing are both set to false

Ha that's a bummer. Got it fixed thanks.

The fixed version will be soon after I finish with EpicLoot coins.

Pls check 1.1.2. Filter, greyed items and EpicLoot all of that should be fixed.


Too slow to run compile-build

Does this issue occur when all extensions are disabled?: Yes/No

If you run 'yarn gulp compile-build', it will now take at least half an hour.
I checked and the rename section of mangle was the sticking point, it was too slow. (There was "workers" before, but due to an issue it was limited to max=1) and the test file was processed during build, maybe that was also a problem?
I try to:
close mangling while running compile-build:
const compileBuildTask = task.define('compile-build', makeCompileBuildTask(true));

change the vscode\build\lib\compilation.ts?L=62 to this:
function pipeline(token?: util.ICancellationToken) {
  fancyLog('start compile pipeline');
  const bom = require('gulp-bom') as typeof import('gulp-bom');

  const tsFilter = util.filter(data => /\.ts$/.test(data.path));
+ const noTestFiler = util.filter((f) => !/\.test\.(ts|js)$/.test(f.path));
  const isUtf8Test = (f: File) => /(\/|\\)test(\/|\\).*utf8/.test(f.path);
  const isRuntimeJs = (f: File) => f.path.endsWith('.js') && !f.path.includes('fixtures');
  const isCSS = (f: File) => f.path.endsWith('.css') && !f.path.includes('fixtures');
  const noDeclarationsFilter = util.filter(data => !(/\.d\.ts$/.test(data.path)));

  const postcssNesting = require('postcss-nesting');

  const input = es.through();
  const output = input
    .pipe(util.$if(isUtf8Test, bom())) // this is required to preserve BOM in test files that loose it otherwise
    .pipe(util.$if(!build && isRuntimeJs, util.appendOwnPathSourceURL()))
    .pipe(util.$if(isCSS, gulpPostcss([postcssNesting()], err => reporter(String(err)))))
    .pipe(tsFilter)
    .pipe(util.loadSourcemaps())
+  // I assume that we don't need the build-time test file
+   .pipe(util.$if(build, noTestFiler))
    .pipe(compilation(token))
    .pipe(noDeclarationsFilter)
    .pipe(util.$if(build, nls.nls()))
    .pipe(noDeclarationsFilter.restore)
+   .pipe(noTestFiler.restore)
    .pipe(util.$if(!transpileOnly, sourcemaps.write('.', {
      addComment: false,
      includeContent: !!build,
      sourceRoot: overrideOptions.sourceRoot
    })))
    .pipe(tsFilter.restore)
    .pipe(reporter.end(!!emitError));

  return es.duplex(input, output);
}

But the compilation failed, (after nls done) what's wrong?

Sorry, I can't troubleshoot your changes to the gulp file


Fix install of FSharp.Core DLLs

Various problems with the install

the -package argument is empty for policy DLLs:

       Installing /home/travis/build/fsharp/fsharp/lib/release/net20/policy.2.0.FSharp.Core.dll into GAC root /usr/lib/ as package
       Option -package takes 1 argument

the backversion FSharp.Core DLLs are overriding the install of FSharp.Core .NET 4.5

       Installing /home/travis/build/fsharp/fsharp/lib/release/fsharp30/net40/FSharp.Core.dll into GAC root /usr/lib/ as package 4.5
       Package exported to: /usr/lib/mono/4.5/FSharp.Core.dll -> ../gac/FSharp.Core/<IP_ADDRESS>__b03f5f7f11d50a3a/FSharp.Core.dll
       Installed /home/travis/build/fsharp/fsharp/lib/release/fsharp30/net40/FSharp.Core.dll into the gac (/usr/lib/mono/gac)

the .NET 2.0 and 4.0 FSharp.Core DLLs are not being placed in .../Reference Assemblies/Microsoft/FSharp/.NETFramework/.... We may as well place them there

Should also fix https://travis-ci.org/fsharp/fsharp/builds/74046464#L5543

It would be better to squash 2nd and 3rd commit into one.

I added an extensive set of Visual Studio 2015 projects as well to test the project builds


can't import tls from mitmproxy

Problem Description
A clear and concise description of what the bug is.
Steps to reproduce the behavior:

i add a script form theproject to avide tls connection error
however an import error comes out ,cant import tls from mitmproxy
it works and the requests url will be show on shell,however the response didnot throuth from the way def response(self, flow)
here are the code

1. import collections
   import random
   from abc import ABC, abstractmethod
   from enum import Enum

from mitmproxy import connection, ctx, tls

# from mitmproxy import tls

from mitmproxy.utils import human

#
#
#

class InterceptionResult(Enum):
    SUCCESS = 1
    FAILURE = 2
    SKIPPED = 3

class TlsStrategy(ABC):
    def __init__(self):
        # A server_address -> interception results mapping
        self.history = collections.defaultdict(lambda: collections.deque(maxlen=200))
@abstractmethod
def should_intercept(self, server_address: connection.Address) -> bool:
    raise NotImplementedError()

def record_success(self, server_address):
    self.history[server_address].append(InterceptionResult.SUCCESS)

def record_failure(self, server_address):
    self.history[server_address].append(InterceptionResult.FAILURE)

def record_skipped(self, server_address):
    self.history[server_address].append(InterceptionResult.SKIPPED)

class ConservativeStrategy(TlsStrategy):
"""
Conservative Interception Strategy - only intercept if there haven't been any failed attempts
in the history.
"""
def should_intercept(self, server_address: connection.Address) -> bool:
    return InterceptionResult.FAILURE not in self.history[server_address]

class ProbabilisticStrategy(TlsStrategy):
"""
Fixed probability that we intercept a given connection.
"""
def __init__(self, p: float):
    self.p = p
    super().__init__()

def should_intercept(self, server_address: connection.Address) -> bool:
    return random.uniform(0, 1) < self.p

class MaybeTls:
strategy: TlsStrategy
def load(self, l):
    l.add_option(
        "tls_strategy", int, 0,
        "TLS passthrough strategy. If set to 0, connections will be passed through after the first unsuccessful "
        "handshake. If set to 0 < p <= 100, connections with be passed through with probability p.",
    )

def configure(self, updated):
    if "tls_strategy" not in updated:
        return
    if ctx.options.tls_strategy > 0:
        self.strategy = ProbabilisticStrategy(ctx.options.tls_strategy / 100)
    else:
        self.strategy = ConservativeStrategy()

def tls_clienthello(self, data: tls.ClientHelloData):
    server_address = data.context.server.peername
    if not self.strategy.should_intercept(server_address):
        ctx.log(f"TLS passthrough: {human.format_address(server_address)}.")
        data.ignore_connection = True
        self.strategy.record_skipped(server_address)

def tls_established_client(self, data: tls.TlsData):
    server_address = data.context.server.peername
    ctx.log(f"TLS handshake successful: {human.format_address(server_address)}")
    self.strategy.record_success(server_address)

def tls_failed_client(self, data: tls.TlsData):
    server_address = data.context.server.peername
    ctx.log(f"TLS handshake failed: {human.format_address(server_address)}")
    self.strategy.record_failure(server_address)

class Counter(MaybeTls):
    def __init__(self):
        MaybeTls.__init__(self)
        # self.num = 0
        self.page_data = ""
        self.part_one = ""
        self.part_two = ""
        self.send = True
    def response(self, flow):
        print(f"===={flow.request.url}====")

        tik_data = "aid=1988"
        if tik_data in flow.request.url:
            text = flow.response.text

            with open("/mnt/sda/project/scraw/ads/ads/Log/PageView/data.txt", "w", encoding="u8") as f:
                f.write(text)

System Information
Paste the output of "mitmproxy --version" here.
Mitmproxy: 5.3.0
Python:    3.7.9
OpenSSL:   OpenSSL 1.1.1h  22 Sep 2020
Platform:  Linux-3.10.0-1160.36.2.el7.x86_64-x86_64-with-centos-7.9.2009-Core

You are using mitmproxy 5.3.0, the script you posted is for mitmproxy 7.

You are using mitmproxy 5.3.0, the script you posted is for mitmproxy 7.

seems right,so where i can find the script fit my version?
for 5.3.0 is the newest version i can get in centos

You are using mitmproxy 5.3.0, the script you posted is for mitmproxy 7.

seems right,so where i can find the script fit my version? for 5.3.0 is the newest version i can get in centos

i tryed to find in site and github of this project,however,no result even up to now.

You can get a more recent version from https://mitmproxy.org/. We do not provide support for older releases. You may be able to find older examples at https://github.com/mitmproxy/mitmproxy/tree/main/examples (select the correct Git tag)

thankyou very much,it will help me a lot on my direction。and i even consider i will get replay severy days later. but your speed sprized me!


Feat/select get item name

This PR includes the name option in selectOptions of the select field. Copies the behaviour of the name option in checklistOptions of the checklist field.

Great! I will check.

Please copy the both (getItemName & getItemValue) logic from fieldChecklist. After it will be complete.
Btw, could you cover it with tests?

Will do, thanks!

Implemented in https://github.com/icebob/vue-form-generator/commit/42b4fcb533282da446a72ccfc8b7bd7b7128b6e7

Thanks! Sorry I never found time to update the PR. @icebob


01.01.2002

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

what is the issue my man.


Heads up: upcoming change to esbuild package names

This is a heads up that I'm planning on changing esbuild's package names in an upcoming release. The packages are being moved under the @esbuild/ scope to avoid name collisions. I'm also changing the os and cpu strings to be exactly equal to the ones returned by node (previously a few of them weren't consistent). You can find the work-in-progress change that does this here: https://github.com/evanw/esbuild/pull/2508.
More context:  I've had a problem with people trying to add support for a new platform to esbuild and then registering the package name themselves, which doesn't work because then I don't control the package name. Using a scope prevents this problem.

Thanks for the heads up, it looks straight-forward to catch up!

Another heads up that this change has now been released: https://github.com/evanw/esbuild/releases/tag/v0.16.0. The new package names are in the release notes.

❤❤❤🐥🔥


Reload nginx or stunnel when updating certificates

Instead of reloading the admin API.  Closes issue #15.

stunnel doesn't HUP because the full path to enterprise.pem is not in stunnel.conf. See here
Implementing this change now would tightly couple jidoteki-admin with jidoteki-admin-api... not sure if I want that...

Rebased and merged manually.


Bunch of bug fixes for ArrayBuffer & ListBuffer

fix #398 (Buffer.patch throws out of bound index exception) by dropping validation in View.Patched
fix #407 (ListBuffer.patchInPlace throws class cast exception) by clipping index/count to safe values
fix various issues in ArrayBuffer.patchInPlace causing out of bound index exceptions
fix #385 (ArrayBuffer.clear not dereferencing cleared elements)
Ensure that index passed into ArrayBuffer's apply and update is within bounds. This fix uncovered other issues in addOne and insert

Note: each fix is in a separate commit

Thanks Marcelo :)


Add new "explore" view for multi-pixel sets exploration

The page should be similar to the pixel set detail view but will be accessed from the pixel sets list view, based on the pixel sets selected (session). Subset selection should be possible as well as export and preview.
Should we display information about the selected pixel sets? (current top left panel on the detail view). Maybe the list of the selected pixel sets with a link to their detail view would be enough.

I also think that a list or the pixel sets with a link to their detail view is enough.

So this page is not really "similar to the pixel set detail view". I have started to update the page and the features in #240.
The table with the pixels at the bottom should be a view similar to the CSV file exported in the "Pixel Set list view".

Yes. I was not clear enough. Sorry. The table that is represented at the bottom of the page should organize like the table we can export in CSV, when several pixel sets are selected.

Perfect, it is slightly more work but that should be ok.
I am a little concerned with the performance cost though, because displaying all the pixels of all the selected pixel sets might be too much. That's why we limit the table in the pixel set detail view. I haven't looked at how to do this new table yet though, so I might find a way to limit the information displayed.

I have two questions related to the export feature:

when no subset has been defined (so we have all the pixels from all the pixel sets), the export button should send the CSV file like on the list view? (when one clicks on the "export" button on the left)

what do we want when a subset of pixels ha been defined? the same CSV with only the pixels selected? Or only the list of pixels like on the detail view of a pixel set?

Yes, when no subset has been defined, the export button should send the CSV file, like the one available on the list view.
When a subset of pixels (based on OmicsUnits names) has been defined, the exported file should be the same CSV file (same columns), but with only the OmicsUnit selected (this file will have less lines that the previous one). Ok ?


Please bump to version 6

Updating now is confusing because version 5.7 introduced breaking changes for existing code. This means it's a major change according to semver:

MAJOR version when you make incompatible API changes,

As npm uses semver I suggest bumping to version 6.0.0.

Hi, It's a very valid point. But I had to go with the minor change because I wanted to imply that v5 of this library is relying on the react-navigation v5.

Ah I never thought about that. Can't you mention it on the readme and add it as a peer dependency?
Great library by the way, this is making my app a lot more user friendly.

Hm.... You're right... I guess I weighted too much on that idea of the implication.
I think providing a specific version in the peer-dependency must have been the right approach.
I know it's too late but we can go with v6. What do you think? Thanks for the heads-up btw.


Area2D wrongly fires body_entered signal when a body is inside it but collision is disabled, and then setting the body to be outside the Area2D and re-enabling collision again

Godot version
Godot Engine v4.0.beta6.official
System information
Windows 10, GeForce RTX 3070 (Driver version 526.86)
Issue description
If a body enters an Area2D the body_entered signal fires correctly. I then disable the collision for the Area2D (setting the collision_mask to 0). If at a later point I set the position of the CharacterBody2D to be outside of the Area2D and in the same function (i.e. same physics frame) re-enable collisions again (setting the collision_mask to 1 again), the body_entered signal fires again, although I set the position to be outside the Area2D beforehand.
To showcase the issue, I made a small game where the color of the player changes when the body_entered signal is fired. When I press the space bar, the position of the player is set to be outside of the Area2D and the collision_mask is set to 1 again, however, the color changes when pressing the space bar, as the body_entered is fired again:
https://user-images.githubusercontent.com/105640257/204861800-5362ad3f-730d-4dc2-93ae-c4323fba12fe.mp4
Related Issues
I am aware that this is probably difficult to fix when changing position and collision mask in the same function/physics frame, but it took me a long time to figure it out, so maybe other people will at least find this issue helpful.
I found similar/related issues for previous Godot versions, but I did not find any for Godot 4.0, so that's why I opened this issue, because I initially thought this might a problem of Godot 4.0 and did not found any 4.0 related issues. I hope that's okay. Related issues are probably #45131 and #14578 , (maybe also #25769 , #19271 , and #14578 ).
Workaround
A proposed workaround from the related issues was to call await(get_tree().physics_frame) before re-enabling collisions, which I can confirm works.
Steps to reproduce

Have an Area2D and a CharacterBody2D
Connect the body_entered signal to a function
The function connected to the signal should call a print statement (or something else you can observe) and the same function should set the collision_mask of the Area2D to 0
Move the CharacterBody2D inside the Area2D, the body_entered signal fires
While the CharacterBody2D is still inside the Area2D, call a function that moves the position of the CharacterBody2D to be outside the Area2D and in the same function re-enable the collision_mask by setting it to 1 again (or whatever layer the CharacterBody2D is on)
The body_entered signal will be fired again, although the position was set to be outside of the Area2D before re-enabling the collision_mask

Minimal reproduction project
Here is the minimal reproduction project:
CollisionReenabledWrongSignal.zip
Use arrow keys to move the player inside the Area2D, then press the space bar while still being inside the Area.

Possible duplicate of #61420. Please confirm.

Hi, sorry for the long wait. I looked at the other issue #61420, but I am not sure if they are related since I have too little knowledge of Godot's internal code, sorry. However, I am pretty sure it's not a duplicate since the other issue has the problem that no body_entered signals are fired (or the signals are disconnected?) after pausing and unpausing the game if the Area2D is below the Body in the hierarchy. In this issue here, however, the signal is fired even though it actually should not have been fired. (Or maybe it should? I am unsure what the expected behavior should be, but the current behavior is definitely confusing and should at least be documented somewhere in my opinion)
Also, I can confirm that this issue here still occurs in Godot 4.0 Beta 12.

While writing another bug report I also discovered this bug. So I'm sharing this alternative repro project:
Issue 69407 - v4.0.2 - Alternative MWE to move PhysicsBody2D outside Area2D while disabled then reenable to cause 1-frame re-register.zip
Repro steps:

Open Test2D scene
Play scene
Press B, M, B in order to disable, move and re-enable the character body (represented by Godot icon). It becomes red when disabled.
Observe the registered body count (both via get_overlapping_bodies and manual registration on enter/exit) become 0 after the first B, and blink from 0 to 1 on the second B, instead of staying at 0.

I tried other combinations like moving the area instead of the body: B, N, B or disabling the area: A, N, A or A, M, A but none of these triggered the bug. The area must stay still and not disabled.

For now, I used the following workaround in a real project, and it works:
Do not check get_overlapping_bodies() (or manual registrated bodies via enter/exit) on the first frame after re-enabling the node. You can use any strategy to wait 1 frame, such as using call_deferred.

Seems to be a duplicate of #45131 in 4.0.


Context menu is not shown in new pdf viewer from Obsidian 1.3.0

@mnaoumov Does your fix work with pre 1.3.0 Obsidian too?

@NomarCub it should


Namespace and K8 Labels as filter

Is your feature request related to a problem? Please describe.
Is it possible to have filter on namespace and labels?
User will use some kube context with permission to access only one namespace in that case this might break.
Sometime we need to view only some resources on the basis of labels.

Will track this request under the root repo: https://github.com/kubevious/kubevious/issues/40


Backstage plugin for specmatic

Context
Backstage is a extensible developer portal via plugin based architecture.
see the available plugins here.
Request
Consider the opportunity of creating Specmatic plugin for backstage so that it can be integrated with the ecosystem of tools.
How it may work:
Backstage already has api-doc plugin which helps to render the OAS using the Swagger UI. However, as known the Swagger UI may not be suitable for using the mockserver (does not support the request-response corelation). Specmatic can be used to compliment as mockserver to explore the API contract in more realistic way.
There would be potentially more usecases, but I think the above can be a good start.

Thanks for this suggestion, we'll check it out and get back.

HI @kiranpatel11, The support for Backstage is not in our road map at this point.
Thanks for suggesting the idea though, if anything changes on this front, we'll surely update you.


Obsoletion request: 'cell-cell signaling by wnt'

Obsolete 'cell-cell signaling by wnt'
same meaning as  GO:0016055 JSON
Wnt signaling pathway
Thanks, Pascale

Obsolete 'cell-cell signaling by wnt'

Apologies for the Monday morning fussiness. The term to be obsoleted is GO:0198738, the one to be kept and used in its place is GO:0016055 "Wnt signaling pathway".

GO:0198738 'cell-cell signaling by wnt' has two part_of children: GO:0061355 Wnt protein secretion and GO:0016055 Wnt signaling pathway.
If we want to obsolete cell-cell signaling by wnt, there are 5 direct annotations but all about the gene PKD1, which mediates a non-canonical WNT pathway "Activation of PKD1/TRPP2 by WNTs is independent of FZD receptors." PMID: 27214281. Thus we need a new term for frizzle-independent Wnt signaling pathway.

Hi @raymond91125
I think the pathway described in the paper you mention is 'Wnt signaling pathway, calcium modulating pathway'
Maybe it would be useful to ad synonyms, if you were not able to find it
You can just 'disconnect' the part_of terms for now.
Thanks, Pascale

I thought Wnt signaling pathway, calcium modulating pathway is still through Frizzled receptor whereas the WNT ligands bind to PKD1 receptor directly.
Given the PKD1 annotation and term definitions, cell-cell signaling by wnt (not requiring frizzled) is different (more general) from Wnt signaling pathway (frizzled required).

It's a tricky one as the mehanism that Polycystin 1 acts seems to be still unclear. In this case, they are suggesting that it is a ligand-gated calcium channel with PKD2 but in others they are suggeting that it acts as a GPCR or indeed, a bit of both. https://www.frontiersin.org/articles/10.3389/fmolb.2022.1035507/full
As it is unclear what the exact pathway is and if PKD1 receptor is a receptor for other ligands/gating mechanisms, I would discourage putting PDK1 under wnt signaling - "Wnt signaling pathway" does have fz in the description. As the current thinking for non-canonical Wnt signaling is via Fz receptors, I think we should stick to that for now.
The 5 annotations all reference this one paper, so perhaps rather that assigning to "Wnt signaling pathway, calcium modulating pathway", we should treat it like a ligand-gated Ca2+ channel.
e.g. PKD1 and PKD2 enable ligand-gated calcium channel activity part_of  "calcium-mediated signaling using extracellular calcium source"  or "positive regulation of protein kinase C signaling" (@pgaudet perhaps we can talk about this on Monday as these are both terms that are under discussion for intracellular cassettes)

I think the issue can be boiled down to one question: Is there any Wnt signaling not through the Fz receptor? How about Derailed/Ryk/LIN-18? Are they still believed to be of Fz-independent Wnt sigaling? I see that drl and Drl-2 have TAS annotations to cell-cell signaling by wnt but NOT Wnt signaling pathway.

Perhaps it's best to update the definition of Wnt signaling pathway (ref from 2001) to remove the necessity of Fizzled. Then obsolete 'cell-cell signaling by wnt' replaced_by Wnt signaling pathway.

Derailed/Ryk/LIN-18 are RTKs, so probably a good illustration of why naming signaling pathways from their ligands is not very good. Think if we could get groups to move these to 'transmembrane receptor protein tyrosine kinase signaling pathway', that would be correct.
I think that @raymond91125 suggestion of removing Fz from the definition of Wnt signaling pathway is the best course for now for the case of PKD1.

Discussion with @hattrill
The mechanism of action of PDK1 is quite unclear, we cannot find papers that clearly implicate PDK1 in wnt signaling.
I replaced the Uniprot annotations to 'cell surface receptor signaling pathway', because I think this is a safe annotation. We'll clarify the wnt signaling pathway.
So, we believe that 'cell-cell signaling by wnt' should be obsoleted since we cannot define it precisely.
Thanks, Pascale


[Feature]  Output machine_catalog machine names

Describe the feature request
Output machine_catalog machine names
Summary:
I am using FAS and the DaaS machines have to be added to an AD group that is defined in the FAS rules. It would be very useful if the machine names were output so they can be used in the terraform code to add them to an AD group. This can be calculated but there may be an instance where the Citrix provider see a name in use and starts the naming scheme from a different number that ***1
Is this an enhancement to an existing resource or data source, if so which one?
existing resource: citrix_machine_catalog
If this is a new resource or data source describe what it should do.
existing resource

@TimBennett13 ,
Can you try to use citrix_vda data source as follow:
data "citrix_vda" "vda_by_machine_catalog" {
    machine_catalog = citrix_machine_catalog.{your machine catalog resource}.name
}

Then you can find the list of machine names with:
citrix_vda.vdas

Please let me know if that solves your issue.
Thank you,
Zhuolun

Hello,
I am currently having an issue where the Machine Catalog provisioning throws an error and terminates the script, so the data block you suggest isn't executed. It's a known issue that is being worked on by your team. I tried multiple methods to ignore the error but none worked. As soon as the other bug is fixed I can retest this.
Thanks,
Tim


feat: use ts to parse tsconfig

eval gives me pause and doesn't actually resolve tsconfig files that extend others or resolve paths or return values matching ts.CompilerOptions.
one test fails, it seems to be due to the fact that module is  enum 99 instead of 'esnext', though i don't understand why that happens, the enum is actually more correct according to ts.CompilerOptions
Note that parse_tsconfig returns "declarationDir": "test/types"  for test/tsconfig.json where eval returned just types. Doesn't matter in this case as declarationDir is reset to undefined, but for other paths it might be relevant.

running this branch on sveltekit shows a lot of external types going missing too, so it's not just this testcase here.

the reason this is failing is that the resulting compilerOptions has a module: 99 and a target: 99 instead of "esnext". i have no idea why that would affect anything.

yeah, i have no clue. in tsconfck i'm doing a bunch of things to get the output of typescripts own parser to match what the content of an equivalent tsconfig.json file would look like https://github.com/dominikg/tsconfck/blob/main/src/parse-native.ts#L163
so we could just add similar reverse replace 99 with esnext here and call it a day :man_cartwheeling:

yeah, i have no clue. in tsconfck i'm doing a bunch of things to get the output of typescripts own parser to match what the content of an equivalent tsconfig.json file would look like https://github.com/dominikg/tsconfck/blob/main/src/parse-native.ts#L163
so we could just add similar reverse replace 99 with esnext here and call it a day 🤸♂

@Rich-Harris
turns out it also starts working if you don't override moduleResolution with undefined.  What was the rationale behind that?

What was the rationale behind that?

I don't recall, honestly. Let's try removing it and seeing what happens...


error while starting app with plugin installed

02-25 16:42:10.072 8860-8860/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: nl.of.beeapp, PID: 8860
java.lang.RuntimeException: Unable to start activity ComponentInfo{nl.of.beeapp/nl.of.beeapp.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.getBoolean(java.lang.String)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
at android.app.ActivityThread.access$800(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.os.Bundle.getBoolean(java.lang.String)' on a null object reference
at com.jourif.debuggable.WebViewDebug.initialize(WebViewDebug.java:38)

-followed the install instructions , config.xml  settings ect.
-same result with android 5.1 and 9.0

Hi Ontwikkelfabriek,
Are you using the plugin inside a cordova project or an Android project? From the error it seems to me that you are using it inside an android project. Haven’t tried that before, but you can try to add the block that I add in the documentation to the config.xml to the manifest file straight away (since cordova generates the manifest file from the config.xml).
Have some time later this week to dive a bit deeper into the problem, but that would be my starting point.

It's a cordova, project.  I could not get it to work with direct injecting in the Manifest file. But it could be my project setup is wrong

Can you post some more information about your project, because then I might be able to help you debug. Information such as:

cordova and cordova-android versions
code snippet from the config.xml
code snippet from the resulting androidmanifest.xml

I fixed it already for my needs. Thanx for the help.

Ok, good to hear! What did you need to do to fix it? And also, do you still think it is an issue from my side of the code. Because if that is the case, I would really like to know it so I can do something about it, so others do not have the same issue.

I am going to coose this issue since the problem was resolved. Because no clear reproduction or fix path was available, I can only assume there was no problem with the plugin itself.


UniProt

Format: API
Lead: @bnymnsen
URL: https://www.uniprot.org
Resource type: knowledgebase
Data type:
Part of #33.
https://github.com/HUBioDataLab/CROssBAR-BioCypher-Migration/blob/main/bccb/uniprot_adapter.py

Great adapter, could we add a cellular component node field ?

@EliasFarr we are already doing that. Reyes is working on it locally (not for much longer, her internship ends in a week or two), but @dbdimitrov and me are doing LIANA KG that uses the subcellular location field. This is the repo: https://github.com/biocypher/liana

Small addition, technically, you can get every field given in this link (https://www.uniprot.org/help/return_fields) by simply adding  Returned Field column name of related field to UniprotNodeField class in the adapter.

that's not necessary, pypath has a location function


[Request] Controll lights via HASS

Today i recieved my lamp and controller and was amazed, that there's already a plugin for home assistant to read the values. So thank you very much for your work!
Would it also be possible to implement the way back to controll the lamps and cloudyness and set profiles?
I think it would be great for simulating ramdom day-types :)
All the best,
Merlin

Bit beyond my python skills at the moment, but it is on the cards!


POLS Scale

Hello, just to tell you about my POLS scale as you requested in ResearchGate. It's  a POLS P-15/S-182, triple range 30/60/200 g, resolution 0.01/0.02/0,05 g, Min weight 0.2 g, tare -30 g.

In our sea conditions at the Gulf of Cadiz and Mediterranean sea it works like a charm.
All the best
Jorge Tornero

Thank you very much, Jorge!!!


paper collected

with us the paper is collected every month during the last full working week, for example:
Jan 28
Feb 25
March 24
April 28
May 26
June 23
How can this be configured since it is not a fixed number of days and not really monthly

One way would be to aim for the first Sunday each month (which means that the previous week was always a full week). And then use a template sensor to decrement a number of days from that date (I think 12 in your case).
Would that work?

How can this be configured since it is not a fixed number of days ...
I've got no idea how to get this done with this add-on.
But maybe I've got a solution for you. A while ago I came across the HACS integration called "ICS" which works with Google calendar. One can have several sensors who are based on a keyword in the title of the calendar entry.
There is also a add-on/ integration which displays a Google calendar, for details please see https://youtu.be/6bwUfNMVT24 .

Yes, you can use google calendar integration. It is a standard part of HA.
But I guess the idea with "offset" would work as well. If you set a sensor for 1st Sunday each month, it will always be that the the month is starting somewhere in that week - worst case Sunday. So that the previous week was always the last full week. So if you'd go for {{ (as_timestamp(state_attr('sensor.entity_name','next_date')) - 7606024) | timestamp_local  }}, it will be Sunday of the last full week of the month. 12606024 will get you 5 days before that, that is always Tuesday of the last full week of the month.


Move to Source API v1beta2

As soon as 0.28 is released, let's move to v1beta2 to import e.g. https://github.com/fluxcd/source-controller/blob/main/docs/spec/v1beta2/gitrepositories.md

We also need to update all docs where we show examples of source manifests, also update all example repos.


add set command

This PR add the new command set, which can setup or update configs of a container, right now it just used for set resource configs, such as memory, cpuset, etc.

Note that this PR need https://github.com/docker/libcontainer/pull/441 to me merged, so right now we might get compile error on Docker, please ignore that and review the code and docs first.

Please squash your commits

@duglin  I took Michael's PR(https://github.com/docker/docker/pull/9984/commits) as example, daemon side, client side, docs, etc. Thought that's more clearer. Anyway, I squash the first three patches into one, I think the last one should be separated. Hope that's what you want.

ping, I don't know why Jenkins failed on set command, this is passed in my box.

ping @jfrazelle can you help take a look at Jenkins? Failed at runCommand seems quite strange.

daemon/execdriver/native/driver.go:349: too many arguments in call to cont.Set

@cpuguy83 this is not the error for now, https://github.com/docker/libcontainer/pull/441 has been merged so arguments should be right. From currently Jenkins output, I don't know why it failed :(

This needs a rebase now.

Rebased.

design LGTM
One question... I noticed that once you create a container with (or w/o) --privileged you can't change it.  Should we allow for that to change too? Can it?

@duglin I think even we want to do that, it can only be one way trip, once you drop a capability, you can never add it back before the system is rebooted, that's restriction from kernel.

+1. Thanks for working on this feature @hqhq!

I don't have any objections for this feature, but it needs broad approval.
Ping @jfrazelle @crosbymichael @estesp @LK4D4 @icecrime @unclejack wdyt?

That's interesting, thanks! I like the idea, but the name set seems too generic and will make people wonder why docker set --name foo doesn't work.
Maybe that's a bit extreme, but if we accept this patch, we should perhaps agree today that set will have to support any (or at least most) of run parameters in the future. If we do, I think it would make sense to use the same runconfig.Parse function to parse the arguments, and have set error out on the provided settings which are not (yet) supported for dynamic update.

@icecrime Yes the name set is generic, the main problem I want to resolve is to support dynamic update resource configs, there is an approach before https://github.com/docker/docker/pull/3604, my approach was inspired from shykes's idea and took the name set he suggested.
And yes, my design is support any (or at least most) of run parameters, so I think the name suits our needs, and that's confirmed from libcontainer side. But I think it's a bit early to use runconfig.Parse function, because I don't know if anyone would need to change run parameters besides resources, and that could make code a bit ugly. If we support more parameters of run, we can change to use runconfig.Parse, WDYT?

We're already parsing resources for run and build... Maybe we can take this time to split the resource configs into a separate function and use in all three places.

@cpuguy83 Yes, that make sense, I did it in a separate PR https://github.com/docker/docker/pull/12235, please help review.

Hi, can we start reviewing this PR.
Updated:

rebased and remove engine usage
add support for new coming cgroup configs

I'm definitely +1 on this design, ping @LK4D4 @crosbymichael @icecrime @tiborvass

I moved this PR to code-review since there are several maintainers that agree in the design. I have a minor comment but overall the code LGTM.

@calavera Thanks, updated.

Collective review with @duglin @estesp @LK4D4 @jfrazelle @calavera
Thank you for the PR, sorry for having been so long in giving it attention, and for the early review work.
After debate, we decided this is not a feature we should introduce:

The use case is not general enough to be provided by Docker itself
Where the use case is needed, it can already be achieved (for example with parent cgroup introduced in 1.6.0)
Introducing a SET top-level command is an open door to many user confusion in the future (What can I set? Why can't I set X or Y? Why does it only work on running containers?).

We ultimately decided to close this.

@icecrime I don't get it.

The use case is definitely general, change container configs after it is created is no doubt useful, especially resource configs, I saw many people seek for this feature.
Sorry but I don't see any chance how our needs can be met with current features, for example with parent cgroup, can you be more specific?
This can be discussed more, but one thing for sure it wouldn't be limit to work on running containers only, just for the first step, this is easy to archive, we can surely expand that. And regarding which configs we can set, I don't think that'll be the problem, a simple --help would give users enough information which configs they can set. If someone wants to expand, let's just discuss if that's worth to do.

I don't know how you discussed this but I only see approval for the design in this thread from maintainers, and the reasons you give are really not strong enough. Hope you can reconsider it or give more reason why this feature should not be provided by Docker.
Thanks.

Yes, I can see the usefulness of at the very least being able to tweak resource usages.
I thought this was something that @crosbymichael had specifically worked on getting into libcontainer so we could expose it in Docker... but I could be wrong.
Only thing I'm not happy about is that we have a rename endpoint and now this, but I digress.

I think what we are trying to avoid is the rabbit hole where then people
want everything to be supported by set, kinda like what happened with exec.
Today you can create cgroup-parents and easily change the resource
constraints.
Since this is really basic functionality we don't see why it can't be done
w a small tool that just changes the values of the resource files. That way
we don't have to go down the path where we have a new top level command and
have to support new features for everything it could do
On Friday, May 1, 2015, Brian Goff<EMAIL_ADDRESS>wrote:

Yes, I can see the usefulness of at the very least being able to tweak
resource usages.
I thought this was something that @crosbymichael
https://github.com/crosbymichael had specifically worked on getting
into libcontainer so we could expose it in Docker... but I could be wrong.
Only thing I'm not happy about is that we have a rename endpoint and now
this, but I digress.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/11442#issuecomment-98126020.

What if this was API only? Maybe a post to /containers//resources?

I'm not a fan of doing stuff like "API only" things.  I would interpret it as "we're going to support something but make it hard for you to get to it" (yea I know the API isn't hard, but its harder than the CLI).  If we're going to support something I think we should fully support it and make it a first-class feature and easy to use.
I think we should step back and not get bogged down in some of the technical side-issues. I think its important to first discuss, and decide, whether we want to support modifying an existing container's resource config properties via Docker?
IMO, if these configuration knobs are available in the underlying infrastructure then its hard for me to see why we wouldn't offer them to our users.

we can comment on this until the cows come home but my current belief is this is "feature creep" but that can be disproven in the future just like -f ;)

--cgroup-parent should solve the update issue for cgroup based resources. The other option is to expose cgroup paths via inspect.
Updating resources (and volumes maybe) is a feature that is very useful for managing clusters.
One way to look at this would be to classify updates as power user features, and expect such power users to run additional software to handle updates.
Is it fair to summarize that docker is not transforming into a system daemon for cluster management in the near future?

my beloved -f  :-)

@jfrazelle One reason I use a more common command set is because someone tried a specific name https://github.com/docker/docker/pull/3604 and was told that we should not expose such low-level thing like cgroups to users, no mention to let users deal with cgroupfs directly. So I don't think --cgroup-parent can be a common solution.
Also, the design purpose including change other configs beside resources. I agree that people always have all kinds of needs for a common command, like we are keep adding options for docker run, that's something we should adjudge and maintain, if we can control docker run, we can control docker set in the same way. Even without set, if people want some feature, I won't be surprise if they propose other top command like docker rename to do one simple thing because they really have no other options.
Anyway, comments can be forever, I agree with @duglin , let's get to the same page about whether we want to support modifying an existing container's properties via Docker (not only resource configs).

Is it fair to say that #6323 should be closed if we are not going to support this?
IMO since docker is the one setting up the cgroups why shouldn't it be the API we call to adjust them?
Nobody really used cgroups before docker (at least not the great masses that are today because of Docker) because who wants to have to do this?
Docker is the cgroup abstraction (among other things) I want to interact with.

+1 to @cpuguy83   Docker is there to make people's lives easier so they don't need to get under the covers for everything the need to do. If the functionality is there in the underlying infrastructure its odd to me that we would want to hide it, unless exposing it breaks things or hacks things up.

@icecrime As we discussed in DockerCon, can we reopen this? Should we discussed how our approach should be or should I rebase first?
@crosbymichael Any comments on this PR?

Anyway I'll rebase it first, one change is that I would like to remove the restriction about running container, configs of any existed container should be changeable, maybe not paused container.
And I'll address all @duglin 's comments, thanks for these detailed review.

@icecrime @crosbymichael @duglin I have updated PR, can you please take a look.
I did forced update, but the code didn't change, is it because it's closed?

@hqhq yes I believe github won't update it once the issue is closed.

@hqhq
Thanks for working on this. We definitely have a usecase for this. Immediate usecases I can think of is:

Suppose we start a database container with swappiness value x
if we observe that over a period of time we are seeing lot of major
faults reduce memory swappiness.

Container is cpu intensive and performance is low because of less
cpu-share given during container start.

one unimportant thing: when I thought about this feature myself before looking at this thread,
I had something like below in mind.
docker modify-config  =value
But I think docker set is more better and crispy.

@icecrime  @jfrazelle -  Am trying to understand your suggestion of using --cgroup-parent to possbily change resource configs of a running container. Could you please provide an example to describe how this could be done ?
The only way I can see to actually change the config. of a container that is already started is to directly write to the cgroup filesystem on the docker host.
Thanks!

@selvik: You will have to run a container with a --cgroup-parent path to be able to update resources. If the container is already running, that option won't work for you.

@vishh Thanks a lot for the clarification. So this means that the proposed "docker set" command allows one to change resource configs of a running container but --cgroup parent cannot be used to do this.
The comments above seemed to indicate that docker set wasn't necessary because --cgroup-parent flag could help with the same..hence my confusion. Thanks!

is the proposed SET command available then for a running contianer?
I got lost trying to follow all the various links and variation of requests...
I think it's important for all management frameworks like Mesos, Kubernetes etc.
thank you

@zrml see https://github.com/docker/docker/pull/15078#issuecomment-136540061
the latest link is #15078


nullable oneOf/anyOf value rejected

<?php

declare(strict_types=1);

namespace League\OpenAPIValidation\Tests\FromCommunity;

use GuzzleHttp\Psr7\Response;
use League\OpenAPIValidation\PSR7\OperationAddress;
use League\OpenAPIValidation\PSR7\ValidatorBuilder;
use League\OpenAPIValidation\Tests\PSR7\BaseValidatorTest;

final class IssueWithNullableMergeTest extends BaseValidatorTest
{
    public function testNullableMergeOneOf(): void
    {
        $yaml = /** @lang yaml */
               <<<'YAML'
openapi: 3.0.0
paths:
  /api/nullable-merge:
    get:
      description: 'Test'
      responses:
        '200':
          description: 'ok'
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Thing"
components:
  schemas:
    FooResult:
      type: object
      properties:
        id:
          type: integer
        foo:
          type: string
    BarResult:
      type: object
      nullable: true
      properties:
        id:
          type: integer
        bar:
          type: string
    Thing:
      type: object
      properties:
        result:
          oneOf:
            - $ref: "#/components/schemas/FooResult"
            - $ref: "#/components/schemas/BarResult"
YAML;

        $validator = (new ValidatorBuilder())->fromYaml($yaml)->getResponseValidator();
        $operation = new OperationAddress('/api/nullable-merge', 'get');

        $responseContent = /** @lang JSON */
            '
    {
      "result": null
    }
';

        $response = new Response(200, ['Content-Type' => 'application/json'], $responseContent);

        $validator->validate($operation, $response);

        $this->addToAssertionCount(1);
    }
}

FooResult is not nullable. BarResult is nullable. Thing.result can be one of FooResult or BarResult, so my expectation is that null should be an acceptable value. Validation fails with:
There was 1 error:

1) League\OpenAPIValidation\Tests\FromCommunity\IssueWithNullableMergeTest::testNullableMergeOneOf
League\OpenAPIValidation\PSR7\Exception\Validation\InvalidBody: Body does not match schema for content-type "application/json" for Response [get /api/nullable-merge 200]

/openapi-psr7-validator/src/PSR7/Exception/Validation/AddressValidationFailed.php:28
/openapi-psr7-validator/src/PSR7/Exception/Validation/InvalidBody.php:19
/openapi-psr7-validator/src/PSR7/Validators/BodyValidator/UnipartValidator.php:60
/openapi-psr7-validator/src/PSR7/Validators/BodyValidator/BodyValidator.php:73
/openapi-psr7-validator/src/PSR7/Validators/ValidatorChain.php:25
/openapi-psr7-validator/src/PSR7/ResponseValidator.php:42
/openapi-psr7-validator/tests/FromCommunity/IssueWithNullableMergeTest.php:68

Caused by
League\OpenAPIValidation\Schema\Exception\KeywordMismatch: Keyword validation failed: Value cannot be null

/openapi-psr7-validator/src/Schema/Exception/KeywordMismatch.php:22
/openapi-psr7-validator/src/Schema/Keywords/Nullable.php:21
/openapi-psr7-validator/src/Schema/SchemaValidator.php:60
/openapi-psr7-validator/src/Schema/Keywords/Properties.php:85
/openapi-psr7-validator/src/Schema/SchemaValidator.php:139
/openapi-psr7-validator/src/PSR7/Validators/BodyValidator/UnipartValidator.php:58
/openapi-psr7-validator/src/PSR7/Validators/BodyValidator/BodyValidator.php:73
/openapi-psr7-validator/src/PSR7/Validators/ValidatorChain.php:25
/openapi-psr7-validator/src/PSR7/ResponseValidator.php:42
/openapi-psr7-validator/tests/FromCommunity/IssueWithNullableMergeTest.php:68

This same issue happens if oneOf: in the above snippet is replaced  with anyOf:.
Swagger UI shows the nullable: true constraint as expected:

@scaytrase would be great to have your opinion on this change: https://github.com/cebe/php-openapi/pull/132


When updating the haxe it said this when i did lime test windows

C:/Users/walls/Downloads/CodenameEngine-main/CodenameEngine-main/.haxelib/flxanimate/git/flxanimate/animate/FlxAnim.hx:29: characters 9-17 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
C:/Users/walls/Downloads/CodenameEngine-main/CodenameEngine-main/.haxelib/flxanimate/git/flxanimate/FlxAnimate.hx:408: characters 97-105 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/funkin/backend/system/macros/ScriptsMacro.hx:31: characters 3-82 : Uncaught exception Invalid type definition
C:\HaxeToolkit\haxe\std/haxe/macro/Context.hx:674: characters 3-63 : Called from here
C:/Users/walls/Downloads/CodenameEngine-main/CodenameEngine-main/.haxelib/hscript-improved/git/hscript/UsingHandler.hx:98: characters 4-68 : Called from here
source/funkin/backend/system/macros/ScriptsMacro.hx:31: characters 3-82 : Called from here

are you on the latest haxe version and have you run update.bat?

Codename doesnt support 4.3.0 and higher, yet. If you wanna compile codename, please downgrade to haxe 4.2.5


Problem with S3DownloadObjectOperation (signature incorrect).

I'm using objc-s3 because this is the only code for OSX/Objective C that handle Amazon S3.
The code works fine for uploading, but not downloading.
Using

(BOOL) downloadFromBucket:(NSString*)theBucket key:(NSString*)key saveTo:(NSString*)path
{
S3Bucket *bucket = [[S3Bucket alloc] initWithName: theBucket];
S3Object *objectToDownload = [[S3Object alloc] initWithBucket:bucket
key:key
userDefinedMetadata:nil
metadata:nil
dataSourceInfo:nil];
S3DownloadObjectOperation* op = [[S3DownloadObjectOperation alloc]
initWithConnectionInfo:[self connectionInfo]
object: objectToDownload
saveTo:path
];
[_queue addToCurrentOperations:op];
[op release];
return TRUE;

}
This is generating an error. It seems that the code is not generating the correct signature. Can you fix the problem ?

SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.47 45 54 0a 0a 0a 46 72 69 2c 20 33 30 20 53 65 70 20 32 30 31 ?? 20 30 32 ?? 33 39 3a 32 31 20 2b ?? 30 30 30 0a 2f 67 6c 76 69 65 77 2f 65 78 74 65 6e 73 69 6f 6e 73 2e 7a 69 709E7EC5195AED6873BENzToJUiC9Keunx1NYSCSJMG9fHTqx/CyRdeJ/rScvr+VrSh99y8u+jqTTThdNZ???????????????????GET
Fri, 30 Sep 2011 02:39:21 +0000
/glview/extensions.zip???????????????????
PS: I've obfucated some bits

Closing due to the reporter not giving enough information to reproduce the claim.


NaN in a join-result despite know value

When performing a join on a data frame with a data series, the last entry of the new column is sometimes NaN. It only seems to happen when the last item in the column the join is done on is found in more than one row. Here is a minimal example:
In [1]: df = DataFrame({'a': [1, 1]})

In [2]: ds = Series([2], index=[1], name='b')

In [3]: df.join(ds, on='a')
Out[3]:
   a  b
0  1  2
1  1  NaN

Tested with 0.6.1 and 0.5.0 with identical results.

Here is a minimal example:
In [1]: df = DataFrame({'a': [1, 2], 'b': [3, 3]})

In [2]: df.join(df.groupby('b')['a'].agg({'len' : len}), on='b')
Out[2]:
   a  b  len
0  1  3  2
1  2  3  NaN

This got fixed sometime between 0.6.1 and now-- all of the merge / join infrastructure got extensively refactored so this isn't all that surprising. I added a test for this specific example.
You can install from source or I should have a 0.7.0 beta release out shortly

Nice! And thank you for the great job you do on the library!


SAK-46205 Navigation: /vm/morpheus/includeSiteHierarchy.vm error in logs

@brdebr Please, can you take a quick look? Thanks!

LGTM 👍


Nondeterministic test

Coulda sworn I reported this already, but I just saw:
/Users/dabrahams/src/SwiftFusion/Tests/SwiftFusionTests/MCMC/MCMCTests.swift:41: error: -[SwiftFusionTests.MCMCTests testRWM1DUniform] : XCTAssertEqualWithAccuracy failed: ("0.0") is not equal to ("0.22251686301618953") +/- ("0.17") Test Case '-[SwiftFusionTests.MCMCTests testRWM1DUniform]' failed (0.115 seconds).
It's not reproducible reliably.  If there's some randomness involved here, can we substitute a PRNG instead?

That would be great. But apparently the built in Random can't be seeded, and solutions I saw on the web involved GameKit, which I assume is only available on Apple devices. Ideas?

Make the code generic on thing-conforming-to-RandomNumberGenerator (or take
an existential of type RandomNumberGenerator) and pass an instance of this
PRNG:
https://github.com/saeta/penguin/blob/7ca880f1aab119bf9f456f2d6ffe8bbda987e682/Sources/PenguinStructures/PCGRandomNumberGenerator.swift
On Sat, Jul 25, 2020 at 8:14 AM Frank Dellaert<EMAIL_ADDRESS>wrote:

That would be great. But apparently the built in Random can't be seeded,
and solutions I saw on the web involved GameKit, which I assume is only
available on Apple devices. Ideas?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/borglab/SwiftFusion/issues/143#issuecomment-663866519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAKYINGKW7JBFK4VI7UCUTR5LZEJANCNFSM4PHIIVZQ
.

--
-Dave

Fixed by #158

Solved in #180, yay :)


Google Street View Sphere

When i try to display an image captured by google street view app it just loads a black screen. Below is the pic details and how i renter it.
GPano:CroppedAreaImageHeightPixels: 3092
GPano:CroppedAreaImageWidthPixels: 16896
GPano:CroppedAreaLeftPixels: 0
GPano:CroppedAreaTopPixels: 2588
GPano:FirstPhotoDate: 2019-08-15T18:36:38.19Z
GPano:FullPanoHeightPixels: 8448
GPano:FullPanoWidthPixels: 16896
GPano:LastPhotoDate: 2019-08-15T18:37:10.975Z
GPano:PoseHeadingDegrees: 76.0
GPano:ProjectionType: equirectangular
GPano:SourcePhotosCount: 12
 // Create viewer.
            var viewer = new Marzipano.Viewer(document.getElementById('pano'));

            // Create source.
            var source = Marzipano.ImageUrlSource.fromString(
                "https://localhost:5001/images/captured/Google_StreetView_Pano.jpg"
            );

            // Create geometry.
            var geometry = new Marzipano.EquirectGeometry([{ width: 4000 }]);

            // Create view.
            var limiter = Marzipano.RectilinearView.limit.traditional(1024, 100 * Math.PI / 180);
            var view = new Marzipano.RectilinearView({ yaw: Math.PI }, limiter);

            // Create scene.
            var scene = viewer.createScene({
                source: source,
                geometry: geometry,
                view: view,
                pinFirstLevel: true
            });

            // Display scene.
            scene.switchTo();

I don't see anything obviously wrong with your code.
Usually the black screen occurs when you're visiting the page through a file:// URL (i.e., loading the index.html file directly in your browser) instead of running a webserver. Is this the case?
If not, are there any error messages in the developer console?

No, im running through IIS. I can load other images just fine, thats the only one not working. No errors in the console either. Ill PM you the link to the photo to test.


add an option to alphabetically organise/change method of organisation when viewing workspaces

From personal experience and I feel with enough workspaces, it can get relatively tedious to scan through all workspaces in the order that they were created in instead of by name/date modified, which can be beneficial to streamline workflow for all users working in different fields.
If this is for whatever reason impracticable, please let me know why so that I may learn from the experience. :)

Well, that's embarrassing. I thought it lacked alphabetical sorting but, turns out, it's my eyes that need sorting. Ordering a new prescription today!


Logging out of Paypal Session

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
Hello!
I have checked documentation here https://developer.paypal.com/sdk/js/reference/ and other places (StackOverflow, ChatGPT) and was not able to find how to logout user programmatically.
The situation is the same as described in the ticket https://github.com/paypal/paypalcheckout-ios/issues/110 .
As described in mentioned issue, there is possibility that newly logged in application user may reuse PayPal session created by previous application user.
As I can see logging out functionality is already added to ios and android sdk:
https://github.com/paypal/paypalcheckout-ios/issues/110
https://github.com/paypal/android-checkout-sdk/issues/99
Is there something similar in react-paypal-js or paypal-js?
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
➕ Anything else?
No response

Hi @AlexanderKapitsa
I'll check with the engineering team on this and get you an answer. Alternatively, I'll take this feedback about the information not being found in our documentation to be fixed once we have the answer.

Hi @AlexanderKapitsa, are you concerned with different paypal buyers sharing the same web browser? Just trying to understand the problem you are running into. On the web, we use secure cookies to remember the user's logged in state. Those are not shared across devices.

Hello, @gregjopa, yes I'm concerning that one web browser may be used by different users.
So for us it is safer to log out paypal session each time one user finalizes payment.

Hi @AlexanderKapitsa -- we'll need to work with our web team to understand the difference between the mobile vs web integrations to know if this is use case is even achievable. Hope to get you an answer asap.

@devchristina , thanks a lot!

Hi @AlexanderKapitsa, we've asked around and were provided the following information about the web experience:
This functionality is not available because the lifecycle of authentication occurs outside of the SDK (on the paypal.com domain) - A similar situation would be:

user logs into paypal.com for some other reason
user visits merchant's site and starts checkout
user is not prompted to log in because they already have an active auth session on paypal.com

Due to this, I will close this issue as will not fix since there is not plans to change this functionality. If you'd like to re-open because of concerns, please feel free to do so.

Hello @devchristina!
That is interesting.
So in case if user will log out from paypal on one browser page that will affect cookies of paypal.com domain and that automatically will log out on other pages.
Or something like that.
Ok, thanks for response. Will try to solve our issue in other manner.


Entrepreneurship related contents and guidance

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The website includes contents related to internship and linkes of website to apply for internship is available but Content related to Entrepreneurship and startup should also be included as one can build ones career as an entrepreneur.
Use Case
Users will be interested in knowing about entrepreneurship and how startup's are built. They will get the right path to build their career as an Entrepreneur. All the contents such as videos, information about successfull entrepreneurs, which products and services will be the best for building a startip etc will be the highlighting features of website.
Benefits
This feature will attractive and appealing for users.
This feature will make website more informative.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Please assign me this issue

what content will you add @Vin205

Videos on how to start  a startup and be an Entrepreneur , How to raise funds and how to invest.
Information about connecting with other successful Entrepreneurs and know about their brand.

@HimanshuNarware , I think this is a good Idea ?

please assign me this issue


Update readme to include extension packages

          Does "{admiral} template" refer to the templates in admiral core only or does it include the templates in the extension packages {admiralonco}, {admiralophta}, {admiralvaccines}, ...?

If it includes extension packages, we may need to add something regarding the requirements for the CI/CD workflow to process them.
Originally posted by @bundfussr in https://github.com/pharmaverse/pharmaverseadam/pull/6#discussion_r1311788501

Extension package scripts are also included in pharmaverseadam (thanks, @dgrassellyb) so i will quickly update the readme to include this, and use this opportunity to also remove the tags ahead of release.


Proc macro server failed to work after upgrading to the latest nightly release

Maybe updating the rust-analyzer dependency may solve this

I can solve this by manually replace the executable (or change the executable path)

Released https://github.com/sublimelsp/LSP-rust-analyzer/releases/tag/v1.11.0
Should be available in a couple hours from now.


Support multiple where calls in DeltaTable.optimize

Description
Resolves #1338

How was this patch tested?
test suite & by check the metrics of optimize operation in history table
one test added which replicates the previous (test above it ) with multiple where statement

Does this PR introduce any user-facing changes?

ok closing this pr creating a new . because i pretty much mess up the merge.


Sets keyboardControl param in disable and enableKeyboardControl

Hi
I want to set the keyboardControl param in enableKeyboardControl to true, and respectively false in disableKeyboardControl.
I want this functionality because I don't want to call enableKeyboardControl more than once if it is enabled. But as it is now, params.keyboardControl won't change in these functions, so it will always return true if it was enabled on init. So I have no way to check the state as I understand.
It would be nice if we could use this existing property, and not have to add another property reflecting this state.
What do you think of the idea?

Ok, thanks, merged


Reorganize various menus for consistency and conciseness

Clean up the recent scripts dialog to match the recent scenes dialog
Add "..." at the end of shortcuts that cause a modal dialog to appear
Remove the "Clear" shortcuts in LineEdit and TextEdit, as they don't save much time compared to selecting everything then pressing Delete or Backspace

This closes #31148.
Preview
Scene
Before

After

Project
Before

After

Editor
Before

After

2D snap menu
Before

After

3D snap menu
Before

After

Script editor context menu
Before

After

Remove the "Clear" shortcuts in LineEdit and TextEdit, as they don't save much time compared to selecting everything then pressing Delete or Backspace

That breaks compatibility, though.

@akien-mga I removed this change from this PR. I'll do it in a future PR for 4.0 instead :slightly_smiling_face:

Thanks!


MonitorProfileSwitcher: Add version <IP_ADDRESS>

The Monitor Profile Switcher creates files in %appdata%\\MonitorSwitcher. Should I add a post_uninstall to remove them?

[x] I have read the Contributing Guide.

The Monitor Profile Switcher creates files in %appdata%\MonitorSwitcher. Should I add a post_uninstall to remove them?

No