Fix sanitize for server builder

@nicolasnoble

Since the server_builder change got reverted. I will add this change when I try to bring back server_builder back in. Closing for now.


Add coingecko id to CASH

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Update CASH to have its coingecko id, see https://www.coingecko.com/en/coins/cashio-dollar

@0xghostchain please approve :)

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

merged :|


[KERNEL-ESTIMATOR] [The HaQers] [November 2 2022]

Team members
Alfaxad#2840
E-PC#6747
flamethrower#5529
giorgosgiapis#0428
Luis Felipe Morales Bultron#0562
moustafa_zada#5306
Submission summary
This is a private submission. Qbraid associated email<EMAIL_ADDRESS>Additional comments

Thanks for your submission! Your model still tested at 100% accuracy, and the updates to your notebook and additional plots look great. Amazing work!
REMINDER: The final submission deadline is Friday, November 4th 10am EST, and any new PR's opened will not be reviewed until after the deadline.


Fix #173 AsciiFilter bug due to an old WegGL compiler bug

This fixes the bug described in #173 by avoiding the use a certain type of condition with which some old (macOS) WebGL compilers have troubles.

Thank you @nathanvogel!


proper error messages on templating screen

if there's an error with the templating sql query, it should be showed properly:

(here's what happened in the background)

a HTTP 403 error - because a missing CROSS-SITE-ORIGIN header configuration - caused the error

HTTP 403 errors should probably point to the docs that show how to configure it properly

@alexanderzobnin maybe just return the error message of crate

@joemoe Unfortunately, I can't do that because Grafana handle error before I can get it inside plugin code. I just get general error object with odd status -1 and without any explanations. I'll discuss this with @torkelo and we'll try to find better solution.

ok. i think this would be a good feature as the user then would know what to do.


[CLI] Create the "config init" command in the Diem CLI.

Motivation
This adds the config init command to the CLI with the ability to set rpc and fountain endpoints via flags.

/canary

:sunny: Canary successful

/land


Updated to FULL coverage

Q
A

Bug fix?
No

New feature?
Yes

Description
Added a couple of tests for 100% coverage
Fixes # (issue)
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I wrote unit tests for my code (if tests is required for my changes)
[x] I have made changes in CHANGELOG.md file

Codecov Report

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

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage       100%   100%
  Complexity      140    140
=======================================
  Files            24     24
  Lines           284    284
=======================================
  Hits            284    284

Impacted Files
Coverage Δ
Complexity Δ

src/Factories/RequestFactory.php
100% <0%> (ø)
36% <0%> (ø)
:arrow_down:

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 79ab6af...d9f7a0f. Read the comment docs.

Too late for this, I'm so sorry


Add support for iChain EVM-compatible

Description
Add support for iChain EVM-compatible chain
How to test
Run C++, Android, iOS tests
Minimum accepted gas fees (5000 Gwei)
Types of changes

Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

If you're adding a new blockchain

[x] I have read the guidelines for adding a new blockchain.

Hi @iChainBlock, there seems to be a mistake in the registry.json file.

@satoshiotomakan any updates please, thank you.

Hi @iChainBlock, unfortunately, we should postpone consideration of the iChain integration.
We do not have recourses to make the final decision.

Hi @iChainBlock, unfortunately, we should postpone consideration of the iChain integration. We do not have recourses to make the final decision.

Hi @satoshiotomakan  what kind of resources we are talking about, please let me know. Thank you so much

ok


Sync admin roles & permissions

Similar to how we sync the roles & permissions from the users-permissions plugin, I would like for this plugin to be able to sync the admin roles & permissions as well.

Released in v1.0.0-alpha.1 for the Strapi v4 version of strapi-plugin-config-sync.

Wow, thanks. This allows me to use more than 3 strapi roles even on my free tier plan.

@dominikjasek Yep 🤫


Improvement of an interface for y axis limits of TikZPlot class from reporting module

The goal of this issue is to implement an interface that can change the limits on y-axis values in the Tikz plot
if statement should be used to modify options of ay_axis whether _y_limit atribute is None or not

Done, operatable by changing DataAxis attribute _y_limit


WinUI 2 Preview crashes when trying to create Microsoft::UI::Xaml::Controls::XamlControlsResources object.

Describe the bug
Issue occurs in 2.8.0-prerelease.210927001, will be upgrading to latest prerelease version of WinUI2 to confirm whether this has been fixed.
I cannot debug exactly where in Microsoft.UI.Xaml.dll the crash is occurring without the proper symbols/source code. And it seems the source for this particular version of WinUI 2 preview is no longer available on GitHub. Can someone please point me to the source if it still exists?
Steps to reproduce the bug

Create a XAML Islands application that uses Microsoft.UI.Xaml version 2.8.0-prerelease.210927001
Ensure the application tries to construct Microsoft::UI::Xaml::Controls::XamlControlsResource object on startup (we have it in the App object's constructor)
Start application on Windows 10 version rs_prerelease
Observe the application crashes

Expected behavior
Application should not crash in this scenario.
Screenshots
No screenshot applicable, but we have a crash stack:
[0x0]   ntdll!ZwWaitForMultipleObjects+0x14   0xe88fd7d1d8   0x7ff9946fc1d0
[0x1]   KERNELBASE!WaitForMultipleObjectsEx+0xf0   0xe88fd7d1e0   0x7ff9946fc0ce
[0x2]   KERNELBASE!WaitForMultipleObjects+0xe   0xe88fd7d4d0   0x7ff9951deeea
[0x3]   kernel32!WerpReportFaultInternal+0x58a   0xe88fd7d510   0x7ff9951de926
[0x4]   kernel32!WerpReportFault+0xbe   0xe88fd7d630   0x7ff9947b4889
[0x5]   KERNELBASE!UnhandledExceptionFilter+0x3d9   0xe88fd7d670   0x7ff996e55fa7
[0x6]   ntdll!RtlpThreadExceptionFilter+0x91   0xe88fd7d790   0x7ff996e3dee6
[0x7]   ntdll!RtlUserThreadStart$filt$0+0xa2   0xe88fd7d790   0x7ff996e3dee6
[0x8]   ntdll!__C_specific_handler+0x96   0xe88fd7d7d0   0x7ff996e5258f
[0x9]   ntdll!RtlpExecuteHandlerForException+0xf   0xe88fd7d840   0x7ff996e1d379
[0xa]   ntdll!RtlDispatchException+0x219   0xe88fd7d870   0x7ff996e511fe
[0xb]   ntdll!KiUserExceptionDispatch+0x2e   0xe88fd7df80   0x7ff950122010
[0xc]   Microsoft_UI_Xaml + 0x22010!Microsoft_UI_Xaml+0x22010   0xe88fd7e6a8   0x7ff95011c2b0
[0xd]   Microsoft_UI_Xaml + 0x1c2b0!Microsoft_UI_Xaml+0x1c2b0   0xe88fd7e6b0   0x7ff95011bc75
[0xe]   Microsoft_UI_Xaml + 0x1bc75!Microsoft_UI_Xaml+0x1bc75   0xe88fd7e790   0x7ff95016634a
[0xf]   Microsoft_UI_Xaml!DllGetActivationFactory+0x2281a   0xe88fd7e830   0x7ff95012ba7d
[0x10]   Microsoft_UI_Xaml + 0x2ba7d!Microsoft_UI_Xaml+0x2ba7d   0xe88fd7e900   0x7ff95012ba12
[0x11]   Microsoft_UI_Xaml + 0x2ba12!Microsoft_UI_Xaml+0x2ba12   0xe88fd7e930   0x7ff9507bb966
[0x12]   <ProjectDll>!winrt::Windows::Foundation::IActivationFactory::ActivateInstance+0x13   0xe88fd7e960   0x7ff9507bb9f4
[0x13]   <ProjectDll>!<lambda_1f68f4413181401bb9e1178e14cf0745>::operator()+0x36   0xe88fd7e960   0x7ff9507bb9f4
[0x14]   <ProjectDll>!<lambda_1f68f4413181401bb9e1178e14cf0745>::<lambda_invoker_cdecl>+0x14   0xe88fd7e9b0   0x7ff9507bb8d5
[0x15]   <ProjectDll>!winrt::impl::factory_cache_entry<winrt::Microsoft::UI::Xaml::Controls::XamlControlsResources,winrt::Windows::Foundation::IActivationFactory>::call<winrt::Microsoft::UI::Xaml::Controls::XamlControlsResources (__cdecl*)(winrt::Windows::Foundation::IActivationFactory const &)>+0xf5   0xe88fd7e9f0   0x7ff9507b529e
[0x16]   <ProjectDll>!winrt::impl::call_factory_cast+0x58   0xe88fd7ea90   0x7ff9507b7473
[0x17]   <ProjectDll>!winrt::Microsoft::UI::Xaml::Controls::XamlControlsResources::{ctor}+0x58   0xe88fd7ea90   0x7ff9507b7473

NuGet package version
2.8.0-prerelease.210927001
Windows version
Top 5 Windows Versions where crash has been reported (in order of most to least common):
10.0.18898.1000362
10.0.18922.1000222
10.0.18956.1000127
10.0.18947.100071
10.0.18912.1001
Additional context
None

One of the major difficulties here is that you don't give much information about what you are doing prior to the attempt at instantiating XamlControlsResources. The procedure can be a little iffy, and things have to be in the right place for it to work.

I have a little test application for Xaml Islands. It has no issues getting past this using 2.8.5. This is using the dynamic dependencies API to reference the release package.

@DarranRowe - Thanks for the quick response!
We are using a custom App object in Xaml Islands that extends Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication.
This is how we set up its constructor:
    App::App()
    :   _useBundleOverride(false),
        _reactNativeHost(nullptr),
        _instanceSettings(nullptr)
    {
        auto winuiIXMP = Microsoft::UI::Xaml::XamlTypeInfo::XamlControlsXamlMetaDataProvider();
        MetadataProviders().Append(winuiIXMP);
        Initialize();
        auto winuiResources = Microsoft::UI::Xaml::Controls::XamlControlsResources(); // Crashing here.
        Resources().MergedDictionaries().Append(winuiResources);
    }

The application instance is exported from a DLL that our main executable instantiates after calling winrt::init_apartment(winrt::apartment_type::single_threaded);. I will let you know if I think of any other notable initialization steps that we perform before constructing our App object.
Hope this helps!

Do these crashes only occur on the windows versions you stated?

@taenri
First of all, yes, I would suggest you either look into the Dynamic Dependencies API or Registration Free WinRT. This is for the simple fact that both of these technologies allow you to use the currently released and fully supported versions of WinUI 2. This includes 2.8.5 that was released very recently. What's more, these will then activate in the same way as any other WinRT component would. This means you would be cutting out variables.
As a reminder, you can get all of the registration information needed for Registration Free WinRT by looking at the appxmanifest file, this can be extracted from the .appx file. The package name for WinUI 2 can also be obtained by using the Get-AppxPackage cmdlet in powershell to look for the packages installed on the system.
For your current issue though, what @lhak asked is a very important question. The biggest killer for trying to activate XamlControlsResources is the lack of resources. One of the first things that WinUI 2 does is to check in the resources.pri file to look for the WinUI resources. So one thing you can try is to wrap the entire WinMain/wWinMain function in a C++ try/catch block and see if you catch a C++/WinRT winrt::hresult_exception or a WIL wil::ResultException.
It is not obvious that you have to have the resources.pri copied out/merged with all other resources you depend upon, and there must be a resources.pri file in the same directory as your application's executable so that WinUI is able to find its resources. Since you didn't mention anything about the resources, I have no idea if you actually did this. This is simply the most likely cause right now.

@lhak - There are a few other versions of Windows 10 that have reported this crash, but those are the most prominent by far.
@DarranRowe - Thank you for the advice. I will look into seeing if these suggestions work for our scenario. To the best of my knowledge, it has long been suggested that we absolutely must use a preview version of WinUI 2 for our scenario (since we are using Xaml Islands to run React Native in our Win32 desktop exe application). But if this is no longer the case, it would certainly be beneficial for us to use a more stable version of the package.
I am also pretty sure that we are merging the Microsoft.UI.Xaml resources.pri file with our own preexisting resources, so I do not think this is the issue we are facing. I would also expect the crash to occur on a much wider array of Windows versions if that was the case. However, it is possible that some wires got crossed after a recent update to Microsoft.UI.Xaml and we are not merging the latest resources.pri file that we need. I will double-check this as well.

@DarranRowe - From my understanding, the Dynamic Dependencies API can only be used on Windows 11 and our application also still needs to run on Windows 10. Plus, we are also using React Native and adding a package graph to our unpackaged application causes us to inadvertently load the system's photon version of the Microsoft.ReactNative.dll (since adding package graph makes Windows think we are a packaged app and it messes with the usual DLL load path lookup order), and we end up crashing.
I think we are using Registration Free WinRT, so I will see if using the v2.8.5 works for us now.

@taenri
The Windows App SDK version of the Dynamic Dependencies API is available on 10 too. Using this does require some taming though, since it does have to be used from a DLL, not to interfere with the main application.
You will also know if you are using Registration Free WinRT.

I see. I do not think we are currently using Reg-Free WinRT then. I will look into both these options some more, as doing so will likely improve the stability/maintainability of our application regardless.
I did also just realize that we are using actually using the 2.8.2 prerelease version now, and so far no similar crashes have been reported with this version.  Apologies for the runaround. Thank you very much for the helpful information! I will go ahead and close this issue.


"New  File" from context menu doesn't change active window

VSCode Version: 1.38.1
OS Version: macOS Majave 10.14.6

Steps to Reproduce:

Open VSCode and move to a new space, full screen
Open another application to a different space, full screen, and ensure it is the active window
Right click the explorer menu and click "New File" in the context menu

Notice that you can not immediately begin typing. The other application will still be considered active.
Also, if you do steps 1 and 2, right click the explorer menu and click "New Folder" then the expected behavior occurs where the VSCode window becomes active and the cursor is blinking in the location of the new folder, ready for the user to begin typing.
Does this issue occur when all extensions are disabled?: Yes

The issue is that the context menu does not focus the window.
There is already an issue where we discuss this. And this is underneath an electron issue.
Please open an issue in electron or just find the duplicate here and read the discussion


Add glfwAttachWindow for attaching native window handles to GLFW

#25 has been open for years, and no one's bothered to PR it. So I am.

@linkmauve @elmindreda Before I actually get into the details of this, is the API good? To summarize:
GLFWwindow* glfwAttachWindow(intptr_t native, GLFWwindow* share);

Wish this got more traction, this feature would be really useful for integrating glfw into existing projects using all the Windows-specific stuff on the window

Wish this got more traction, this feature would be really useful for integrating glfw into existing projects using all the Windows-specific stuff on the window

I've been holding off since the maintainers of GLFW aren't active as of now and I don't want to be doing a PR that doesn't get merged


Add Jenkins plugin to Showcase

Signed-off-by: Oleg S<EMAIL_ADDRESS>Description
This pull request adds the Jenkins plugin to
the backstage showcase code. The user can
configure their Jenkins instance via
app-config.yaml by providing their:

JENKINS_URL
JENKINS_USERNAME
JENKINS_API_TOKEN

The Jenkins plugin adds a history of runs to
the CI/CD page and an overview of the jenkins
entity to the overview page.
Overview tab:

CI/CD tab:

Which issue(s) does this PR fix
Fixes #173
PR acceptance criteria
Please make sure that the following steps are complete:

GitHub Actions are completed and successful
Unit Tests are updated and passing
E2E Tests are updated and passing
Documentation is updated if necessary
Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@schultzp2020 I made the requested changes. The only one that I can't change is the branch="" prop on the < EntityLatestJenkinsRunCard /> card since it's required.

@RobotSail if that is the case lets go with branch="main,master" as the default.

@RobotSail Don't forget to update showcase-docs/getting-started.md as well.

Ah yes, not sure how I missed that. Updated now @schultzp2020

@schultzp2020 I had to rebase and it seems like it invalidated your review


Invalid redirect_uri

Hi, and I would like to thank you for this library and the future help
I tried to implement this code in my project:
https://github.com/jeyben/IOSLinkedInAPI/tree/master/Example/IOSLinkedInAPI-Podexample/IOSLinkedInAPI-Podexample/IOSLinkedInAPI-Podexample
and entered my own values, I don't get any errors, but when I tap the Linked in button,
instead of beeing redirected to the LinkedIn log in page I get the next error: "invalid redirect_uri. This value must match a URL registered with the API Key"

I found the issue to be on the way I have setted my link on Linkedin app settings page, but I still don't know how to retrieve the users skills..

Also fount the answer to my second question by trial and error, I just had to edit the link to:
@"https://api.linkedin.com/v1/people/~:(skills)?oauth2_access_token=%@&format=json"


Windows 10, double click .exe, nothing happens

Windows 10, Intel HD 4600 Graphics, 8Gig RAM.
Unzipped the 0.8.1 zip, placed in D drive (not C), tried to launch LightTable.exe, nothing, no errors, just nothing happens. Is there some requirements not met? I don't have Python for example.

@edwardhew Do you see "LightTable" or "Electron" in Task Manager? You're going to need to grant permission for LT (or "Electron") to use your network at some point. I vaguely recall that taking a while the first time I ran LT on my Windows 10 computer.

Hello, thanks for response, I didn't see Electron, so I unzipped from the 0.8.1 again, this time LightTable launched! I must have somehow botched the copy last time, maybe some files weren't copied correctly. Sorry about the false alarm.

@edwardhew No worries – glad it's working!


Be able to use moon-basic-auth sidecar with custom ingress

Now only works for Openshift.

Fixed in https://github.com/aerokube/moon2/pull/191


ENG-2979: Fixes bigquery and gcs dialogs that were crashing after file uploads.

Describe your changes and why you are making these changes
This PR fixes an issue where the GCS and BigQuery dialogs were crashing after a file upload.
Related issue number (if any)
ENG-2979
Loom demo (if any)
Checklist before requesting a review

[ ] I have created a descriptive PR title. The PR title should complete the sentence "This PR...".
[ ] I have performed a self-review of my code.
[ ] I have included a small demo of the changes. For the UI, this would be a screenshot or a Loom video.
[ ] If this is a new feature, I have added unit tests and integration tests.
[ ] I have run the integration tests locally and they are passing.
[ ] I have run the linter script locally (See python3 scripts/run_linters.py -h for usage).
[ ] All features on the UI continue to work correctly.
[ ] Added one of the following CI labels:

run_integration_test: Runs integration tests
skip_integration_test: Skips integration tests (Should be used when changes are ONLY documentation/UI)

yay! Do you mind quickly explaining what the issue was?

fileData was not being properly set in these forms. It should follow the patterns used in other forms like our s3Dialog.tsx. After changing this, things are working fine.
How this regressed? I'm not really sure, but it's fixed up now. I'll have to look back in git history to see what happened.


Meaning of the high_way parameter

Hi. Thanks for releasing the code. I have one doubt about the parameter high_way. When I try to run the code with an input with num_channels = 1, the code fails. I realized it happened because of the line:
self.hwm = Generic_UNet(self.in_channels - 1, features, 1, 5, anchor_out=True, upscale_logits=True)
When the input has a single channel, self.in_channels - 1 becomes 0, and thus, the code throws an error. I could not figure out why you are decreasing the number of channels here. Is it fine to use self.in_channels instead as the input (i.e., the U-Net has a single channel input)?
Best,
Chinmay

Same question here


Turkish Localization for the Guide Book

Hi, with the book having been replaced by the online wiki, I'll close this for now. Turkish translation has been added, huge thanks


CLOMonitor metadata

See: https://clomonitor.io/projects/cloudevents/cloudevents
Can we get the appropriate updates so that the CLOMonitor tool is happy?
More info on CLOMonitor checks: https://github.com/cncf/clomonitor/blob/main/docs/checks.md

Looks like we're just missing a MAINTAINERS file:

ok will add.


cve-scan-v2 KeyError in version comparison

<EMAIL_ADDRESS>~]# salt-call hubble.audit show_success=False
[WARNING ] /usr/lib/python2.7/site-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.

[ERROR   ] Exception occurred in nova module:
[ERROR   ] Traceback (most recent call last):
  File "/var/cache/salt/minion/extmods/modules/hubble.py", line 180, in audit
    debug=debug)
  File "/var/cache/salt/minion/files/base/hubblestack_nova/cve_scan_v2.py", line 214, in audit
    if _is_vulnerable(local_version, affected_version, affected_obj.operator):
  File "/var/cache/salt/minion/files/base/hubblestack_nova/cve_scan_v2.py", line 303, in _is_vulnerable
    compare = __salt__['pkg.version_cmp'](local_version, affected_version)
  File "/usr/lib/python2.7/site-packages/salt/modules/yumpkg.py", line 544, in version_cmp
    return __salt__['lowpkg.version_cmp'](pkg1, pkg2, ignore_epoch=ignore_epoch)
  File "/usr/lib/python2.7/site-packages/salt/loader.py", line 1055, in __getitem__
    func = super(LazyLoader, self).__getitem__(item)
  File "/usr/lib/python2.7/site-packages/salt/utils/lazy.py", line 93, in __getitem__
    raise KeyError(key)
KeyError: 'lowpkg.version_cmp'

local:
    ----------
    Compliance:
        62%
    Errors:
        |_
          ----------
          /cve_scan_v2.py:
              ----------
              data:
                  KeyError: 'lowpkg.version_cmp'
              error:
                  exception occurred

<EMAIL_ADDRESS>~]# salt-call --versions-report
Salt Version:
           Salt: 2016.3.3

Dependency Versions:
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: Not Installed
          gitdb: Not Installed
      gitpython: Not Installed
          ioflo: Not Installed
         Jinja2: 2.7.2
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
         pygit2: Not Installed
         Python: 2.7.5 (default, Nov 20 2015, 02:00:19)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.3.0
           RAET: Not Installed
          smmap: Not Installed
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: centos 7.2.1511 Core
        machine: x86_64
        release: 3.10.0-327.el7.x86_64
         system: Linux
        version: CentOS Linux 7.2.1511 Core

Still running into this, but only on CentOS 7.2. My initial guess is that it's specific to underlying differences in the yumpkg / yum / rpm libraries in Salt.
@jaredhanson11

@cedwards, @basepi, I am unable to reproduce the issue on CentOS 7.2.

Yeah, in my experience it doesn't happen everywhere. @cedwards do you have a box that can reproduce this?

I'm going to close this as I can no longer recreate either.


Build failed

I am using:
react-native-share-menu 6.0.0
react-native 0.73.1
react 18.2.0
When trying to build the app following error occurs:
`

What went wrong:
Could not determine the dependencies of task ':react-native-share-menu:bundleLibCompileToJarDebug'.

Could not create task ':react-native-share-menu:compileDebugJavaWithJavac'.
In order to compile Java 9+ source, please set compileSdkVersion to 30 or above
`

I just upgraded react native today. Before the react native upgrade I was able to use this library just fine.

#261 was able to solve this problem. I have just seen that there will be a major update soon. Therefore I am closing this issue.

I was still, facing this issue.
But was able to fix it by changing the compileSdkVersion to compileSdkVersion 30

I was still, facing this issue. But was able to fix it by changing the compileSdkVersion to compileSdkVersion 30 in node_modules/react-native-share-menu/android/build.gradle

Genius. I set mine to
compileSdkVersion 34
buildToolsVersion "34.0.0"


Add a new field in the Application form, to select the Partner.

add a field in the Application form, so that the Mentee, or Mentor, can select the Partner mandatory.
Field label "If you are currently affiliated to a partner organization, please select it from the below list, or select no-affiliation."

New field must be in Mentee Application form
It should list all the Partners from the system to be selected, plus one more option "no-affiliation"
New field must be mandatory
The field label should be translated to all existing languages
if mentee user selected a partner, the partner will be shown to the user in the gallery (existing feature)
if mentee user selected a partner, the partner will show the mentte user associated to partner, in the admin dashboard (existing)
admin can remove the mentee from the partner at any time.

@SolMon9099
please add no-affiliation as last value in the dropdown
please translate no-affiliation if possible to all languages

I changed the other


Update hkdf.c to avoid potentially vulnerable code pattern

The expression if (a+b>c) a=c-b is incorrect if a+b overflows. It should be replaced by if (a>c-b) a=c-b, which avoids the potential overflow and is much easier to understand. This pattern is the root cause of CVE-2022-37454, a buffer overflow vulnerability in the "official" SHA-3 implementation.
It has been confirmed that the addition in hkdf.c:534 cannot overflow. So this is only a minor proposed change to avoid potentially vulnerable code patterns and to improve readability. More information: https://github.com/github/codeql/pull/12036#issuecomment-1466056959

Took the liberty of squashing everything down neatly.  This should fix the CLA tag.

Hi @paulidale,
Thanks for looking into this and for fixing the CLA tag! Sorry for messing up the pull request...

No problem, we've all done similar and will again.

This pull request is ready to merge

Merged to master, 3.1, and 3.0 branches. Thank you for your contribution.


Renamed this to ecx in extern_static

A small addition to #4029. There's no conflict with self and it's not an extension, so should be ecx too, I guess.

Thanks!


Manage authorities

What does this PR?
Show the option to manage the authorities of current account.
Click on Revoke will ask you to enter the key. after putting right key, you can revoke the permissions.
Click on "Copy" is responsible to copy the key. click on "Import private key" will ask you to enter master password or that specific key .
When you enters "Master password" it will reveal all the private keys to you. When you enters that specific key like owner,
active or posting key, it will just reveal that key.
When user puts Master password at the time of logging, it will generate private keys and store in the Local Storage. When user
visits profile permissions page, it will get that keys from local storage and shows that key.
When user login by putting Private keys like active or posting key, it will store that key in local Storage and reveal that specific
key in the profile permission page.
When user login in ecency by using any other 3rd party website like hiveSigner etc and visit the profile permission page, it will
show you the option to import private keys. you can see this scenario in the below video.
Shows another custom component when screen size is less than sm-breakpoint.
Steps to reproduce

Go to profile page. --> Settings  --> Permissions.
Click on "Revoke" and enter sign key. you can perform this transaction by Hive signer and by key chain too.
Click on "Copy" button to copy that key.
Click on "Import private key" and if you put Master password, it will reveal all the private keys. But when you enter that
specific key , it will just reveal that key.
You can watch below video for more guidance.

Issue number
fixes #777
Screenshot / Video
Use case 1: When user login by putting Master password or by any private key.
https://user-images.githubusercontent.com/106739598/223075404-18ae48ab-6e21-4f42-b25d-3f6c7bda4974.mp4
Use case 2: When user come from any 3rd party website.
https://user-images.githubusercontent.com/106739598/223075462-ea4a97a1-48c0-42e8-bb7b-8d320e07fa70.mp4

https://user-images.githubusercontent.com/106739598/224735260-8328d0e5-128a-4f4a-92b5-b7907728544d.mp4

https://user-images.githubusercontent.com/106739598/224741324-a5d160ff-f904-494d-88f2-1957d58e7085.mp4

https://user-images.githubusercontent.com/106739598/224904762-25688558-ef7c-43c9-9bda-4283631e6199.mp4

@MTSaeed From your video I see that, Dropdown has styling issue, there is unnecessary top padding. Also dialog which imports key says transaction successful after import which is not good, because it is not transaction 😄
I will do some functionality tests and review code.

@MTSaeed From your video I see that, Dropdown has styling issue, there is unnecessary top padding. Also dialog which imports key says transaction successful after import which is not good, because it is not transaction smile I will do some functionality tests and review code.

Hi @feruzm
Could you please mention from which you video you have noticed that the Dropdown has styling issue?. I will fix that issue.
Please suggest the suitable title for that dialog, i will update the title.

Issue:

Fixed:


Revisit pkg/util/maps and pkg/util/slices after switching to go 1.21

What would you like to be cleaned:
Go 1.21 some cages that could simplify our slices and maps like:
New slices package
The new slices package provides many common operations on slices, using generic functions that work with slices of any element type.
New maps package
The new maps package provides several common operations on maps, using generic functions that work with maps of any key or element type.
min and max
Why is this needed:

Sounds exciting!
Although I would prefer to wait for 1.21.1 to be released before we upgrade. Ideally k/k also moves.

/assign

I asked some sig-architecture folks, and there doesn't seem to be a date for upgrading k/k to golang 1.21
Since 1.21.1 was already released, I'm ok upgrading kueue now.

/reopen
I think slices still remain.

/reopen
I think slices still remain.

I've gone through slices and didn't find anything that can be useful for our current use cases

/reopen
I think slices still remain.

I've gone through slices and didn't find anything that can be useful for our current use cases

I see. Thank you!
/close


Minimum working demo

Hi, I am looking for a minimum working demonstration with visualisation.
Your readme states

We provide a launch file which should be everything you need, if you work with ANYmal.

and

You can use the 2D Nav Goal in RViz to set a goal pose for the planner.

which suggests there is an external ANYmal simulator/ros package that this compatible with. But I am unfamiliar with that.
Are you able to provide guidance on how to run this with that simulator if it exists?

Hi @justinberi
sorry for the glacial response time. Unforunately, I cannot provide a working demo, since it would require access to ANYmal Research to do that reasonably.
However, it shouldn't be too hard to get everything up-and-running on your own robot, if you have it running in Gazebo or real-life. You will only have to adjust the robot parameters in the art_planner_ros/config/params.yaml file to the specifications of your robot.
Of course you will also need some sort of height mapping as input to the planner (e.g. elevation_mapping_cupy ).
If you manage to create a launch file and instructions for running it with some default Gazebo robots, I'd be happy to include it with a PR>


How to use all the cpu cores ?

I have test the training speed on different cpus, but only one core is used in both situation.
The two cups are like this:
|（mac) 2.7 GHz Interl Core i5 | (server) Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz |
The cost time of one iteration on the mac is 2.9s, that is 3.6s for the server.
The MXNet is installed by pip.
I have tried to set OMP_NUM_THREADS=2 OPENBLAS_NUM_THREADS=1 MXNET_CPU_WORKER_NTHREADS=4, but none of them made any difference.

do you pip installed the MKL version MXNET?

I didn't use the MKL version previously.
Thank you for your reply. It works now.

@nju-luke If the issue is resolved, can you close it? Thanks!


Implement CDC support

Need to implement support for CDC crossings. At minimum, we need the following components:

Behavioral model of N-stage synchronizer in br_gate
br_cdc_bit_toggle that crosses a single level signal build on the synchronizer added in point 1
CDC FIFO reusing the FIFO push/pop control components, gray encoder/decoder, and synchronizers

Fixed by #183


Still being maintained?

What's happening with this project?

It is now! Lots of stuff planned! =)


Compatible defrost determination for CIC firmware 2.20.2

Prior to CIC firmware version 2.20.2, a negative power indicator (representing produced power) was used to determine a defrost cycle. With the introduction of CIC firmware version 2.20.2, the power indicator no longer goes negative but instead drops to 0.
Due to this change, the method for determining a defrost cycle has been adjusted. Now, it is identified by observing the water delta, which becomes negative during a defrost cycle while heating.
This also fixes the existing defrost detection issue #130

I have tested this change / PR. It works as expected. Just witnessed a defrost.

@marcoboers , can you have a look at this PR and the others?

A bit finetuning might be required. Sensor switches off/on as the PowerInput drops to 5W.
Within a DUO setup the waterpump of only 1 unit might be running, therefore the powerinput can easily drop to something like 5W.

HP1 was running normally

So HP2 uses the heat/input power from HP1 to do the defrost.
I think it is safe to remove the check on power_input and only check the state, power_output and water_delta

Yup, that's fine.

Works as expected

I already made the fix yesterday evening and also tested it my self on my single Quatt installation. Also there it seems to work as expected. I will check-in those changes as soon as I get home.

Sounds good. I'll be back from holiday next week and will then release them.


SameDiff weight init is not deterministic

Issue Description
The following test fails:
    @Test
    public void testSamediff() {

      SameDiff sd0 = SameDiff.create();
      SameDiff sd1 = SameDiff.create();
      Nd4j.getRandom().setSeed(0);

      SDVariable rand0 = sd0.var("random", new UniformInitScheme('c', 3), DataType.FLOAT, 3, 1);

      Nd4j.getRandom().setSeed(0);
      SDVariable rand1 = sd1.var("random", new UniformInitScheme('c', 3), DataType.FLOAT, 3, 1);

      Nd4j.getRandom().setSeed(0);
      System.out.println(rand0.eval());

      Nd4j.getRandom().setSeed(0);
      System.out.println(rand1.eval());

      assertTrue(rand0.eval().equalsWithEps( rand1.eval() , 0.0001));
    }

Version Information

Deeplearning4j version: beta5
Platform information: Ubuntu 18.04.3 LTS

Thanks for reporting this. Fixed here: https://github.com/KonduitAI/deeplearning4j/pull/12
This will be merged back to the Eclipse repo shortly, and the fix will be available on snapshots some time next week.

Will you backport this to beta5? If not, is there another release upcoming that fixes this?

It's not possible to backport fixes to a past release (and keep the same version name, anyway).
We expect that there will be a new release soon (next few weeks).
Also new snapshots will be available some time this week, that will include the fix: https://deeplearning4j.org/docs/latest/deeplearning4j-config-snapshots
snapshots are not being built at present but that will be fixed in the next few days
keep an eye on the timestamps here, or ask in gitter if you want an update - https://gitter.im/deeplearning4j/deeplearning4j
https://oss.sonatype.org/content/repositories/snapshots/org/deeplearning4j/


x/tools/gopls: InvalidRangeExpr when using GOEXPERIMENT=rangefunc on iter.Seq

gopls version
golang.org/x/tools/gopls v0.15.0-pre.2
<EMAIL_ADDRESS>h1:A48ndEGf3pvzJ0k22HneSU7msCaggzcpg56ELTEuapQ=
<EMAIL_ADDRESS>h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak=
<EMAIL_ADDRESS>h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
<EMAIL_ADDRESS>h1:2O2DON6y3XMJiQRAS1UWU+54aec2uopH3x7MAiqGW6Y=
<EMAIL_ADDRESS>h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0=
<EMAIL_ADDRESS>h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ=
<EMAIL_ADDRESS>h1:Nr7eTQpQZ/ytesxDJpQgaf0t4sdLnnDtAbmtViTrSUo=
<EMAIL_ADDRESS>h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
<EMAIL_ADDRESS>h1:WL/PnseOKWuDtRbgfYKDpuAmMpy3OrX84rv7uQFZJK4=
<EMAIL_ADDRESS>h1:KUas02EjQK5LTuIx1OylBQdKKZ9jeugs+HiqO5HormU=
<EMAIL_ADDRESS>h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8=
<EMAIL_ADDRESS>h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo=
<EMAIL_ADDRESS>h1:lyBNOm8Wo71UknhUs4QTFUNNMyxy2JEIaKKo0RWOh+8=
go: go1.22.0
go env
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/stephen/Library/Caches/go-build'
GOENV='/Users/stephen/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/stephen/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/stephen/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
<EMAIL_ADDRESS>GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='go1.22.0+auto'
<EMAIL_ADDRESS>GOVCS=''
GOVERSION='go1.22.0'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/9d/1smj789x4r5bdjccy3tqss0c0000gn/T/go-build1153037537=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?
https://go.dev/play/p/rMbWTBEtveQ
What did you see happen?
gopls indicates an error even if it should be considered valid when GOEXPERIMENT=rangefunc is set
What did you expect to see?
No error shown
Editor and settings
Neovim with the following gopls configuration
            lspconfig.gopls.setup({
                capabilities = addCmpCapabilities(lspconfig.gopls.capabilities),
                settings = {
                    gopls = {
                        allowModfileModifications = false,
                        gofumpt = true,
                        codelenses = {
                            generate = true,
                            tidy = true,
                            upgrade_dependency = true,
                            vendor = true,
                        },
                        buildFlags = { "-tags", "goexperiment.rangefunc" },
                        directoryFilters = { "-**/node_modules", "-**/.git" },
                    },
                },
            })

Logs
No response

It works for me.
In your go env output, I see GOEXPERIMENT=''. Are you sure you set GOEXPERIMENT in your environment?
I just did:
export GOEXPERIMENT=rangefunc
nvim main.go

I'm using coc.nvim, but wouldn't expect neovim native LSP to behave differently.

When I try to set it as environment variables, I get
go: unknown GOEXPERIMENT rangefunc

I had previously tried to use the environment variable to add the configuration of gopls and got the same error, but I thought that was an issue with how I was setting up the configuration.
I have tried it again, but I run into the same error:
            lspconfig.gopls.setup({
                capabilities = addCmpCapabilities(lspconfig.gopls.capabilities),
                settings = {
                    gopls = {
                        allowModfileModifications = false,
                        gofumpt = true,
                        codelenses = {
                            generate = true,
                            tidy = true,
                            upgrade_dependency = true,
                            vendor = true,
                        },
                        buildFlags = { "-tags", "goexperiment.rangefunc" },
                        directoryFilters = { "-**/node_modules", "-**/.git" },
                        env = {
                            GOEXPERIMENT = "rangefunc",
                        },
                    },
                },
            })

go: unknown GOEXPERIMENT rangefunc
Hmm, do you have multiple versions of go installed? Is it possible that the go your neovim sees is not go 1.22?

So I updated my go binary (not just the toolchain) to go1.22 and got rid of the error:
go: unknown GOEXPERIMENT rangefunc

However, the InvalidRangeExpr error is still reported despite adding GOEXPERIMENT=rangefunc to everywhere I could:

go env with go env -w GOEXPERIMENT=rangefunc
The local project env with .envrc
The gopls configuration as outlined above.

Could you share gopls logs from a short session that demonstrates the problem? That would help us investigate why it isn't working in your session.
https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-logs

My bad. I was using Mason on Neovim, which installs its own gopls which is at v14.2, when I force it to use my installed gopls v15.0-pre.3, I was able to get it to work, but only with a local env variable

Setting go env with go env -w GOEXPERIMENT=rangefunc did not work
Setting the go pls configurations (both env and buildFlags also did not work.

@stephenafamo hi, did you solve this problem?

@RunThem The solution is to update gopls in Mason:
:MasonInstall gopls


Remove .DS_Store in src directory

We should create a .gitignore file and add it too

@CaroFG in my PR, I removed the .DS_Store but yes in general we should create a gitignore file for any demo we want to add to the demos repository. Something like a starter template for demos

Each demo has its own .gitignore, but it doesn't apply to the demos repository, we should create a general .gitignore to avoid pushing unwanted files to the root or the src directories


[FEATURE] Formater

Description of the requested feature
I have read the document but only to find a vscode plugin has format function. Are there any means for other editor like vim to format the yuck file?
Maybe we could create a official formatter for yuck? And do we have a style guide for yuck?
Proposed configuration syntax
No response
Additional context
No response

There might be something 'cheap'/no-code possible to do using the tree-sitter-yuck grammar and topiary that can take a tree-sitter grammar, a number of queries that define formatting rules and be a formatter for yuck files.


Add generate annotation command in vs-code extension

Problem
We are currently adopting sorbet on our project and one of the most repetitive task is to add type annotations to every single method. It would be great to have something that would somewhat automate this
Proposed solution

I have been working on a vs-code extension of my own to generate those annotations from a single command. Something like this:
https://github.com/sorbet/sorbet/assets/30696955/4e4d1900-e708-467c-a4b5-bdc44ad50104
But I think it would much better to have this feature built in

https://sorbet.org/docs/sig-suggestion


Runing OHIF Viewer as a service without meteor

I would like tu run OHIF Viewer as a service daemon, and to keep it running when I quit the command line console. It seems like Meteor was made for development purpose and has no daemon running option.
Is there a way to run it as a service with Node.js or another serverside js framework ?

The most simple way would be to run it with & at the end of the command, I guess.
People usually use meteor deploy to deploy to servers. For a local daemon, there are a few suggestions here:
http://stackoverflow.com/questions/15657071/how-to-run-meteor-on-startup-on-ubuntu-server
Nothing here is specific to the OHIF Viewer, though. These are general to Meteor. There is no way to run the OHIF Viewer without Meteor, though.


Add Support console parameter

Is your feature request related to a problem? Please describe.
https://maven.apache.org/guides/mini/guide-configuring-plugins.html#generic-configuration
for example
mvn  org.jfrog.buildinfo:artifactory-maven-plugin:3.6.1 publish  -Dpublisher.contextUrl=https://acme.jfrog.io - Dpublischer.username=deployer -Dpublisher.possword=dontellanyone -Dpublisher.repoKey=libs-release-local -Dpublischer.snapshotRepoKey=libs-snapshot-local
Describe the solution you'd like to see
add https://maven.apache.org/guides/mini/guide-configuring-plugins.html#generic-configuration in https://github.com/jfrog/artifactory-maven-plugin/blob/master/src/main/java/org/jfrog/buildinfo/ArtifactoryMojo.java
Describe alternatives you've considered
No response
Additional context
No response

I asked for this years ago. I have created a in-house plugin extending this one to avoid polluting the pom with proprietary software.
Nexus does it this right.
As it stands, this plugin is useless.


Allow multiple redirectURL for one provider.

In the OAuth2Settings, there is a field called redirectURL, which points to the URL after a successful authentication on the OAuth provider. `
However, sometimes I have two front-end sites (test-site1 and test-site2) using the same play-silhouette back-end application. They will send silhouette different redirectURL value in the AJAX call. But currently, silhouette seems to only allow one redirectURL..
I was wondering whether there is a way to allow multiple redirectURL in OAuth2Settings..

This is currently not possible. The problem is that the dependencies, based on the chosen DI approach, will be wired either on compile time or on application start. So there is no change to chose the redirectURL based on the request. And I've currently no idea how this can be implemented without affecting the other 99,9 percent of the users which haven't such a use case.
Any suggestions?

Or is there a way to allow redirectURL to any sites by setting redirectURL to *..
I know this may be super unsafe, but it is ok to use it in an internal testing environment..

As I understand, silhouette doesn't have to know the redirectURL during compile stage or on application start because redirectURL is already included as a field in the AJAX request body to authenticate/:provider.. Is this true?

Yes, in your special case or with the use of Satellizer this may be true. But this isn't the default case.
I think if we implement such a feature then the application could be vulnerable. Please see:
http://security.stackexchange.com/questions/44214/what-is-the-purpose-of-oauth-2-0-redirect-uri-checking
http://homakov.blogspot.de/2013/03/oauth1-oauth2-oauth.html
A quote from the last link under the point Vector 2:

redirect_uri should be a constant value in application settings.

I agree that it will lead to be vulnerable. And this issue may be worked around by setting two different redirectURL in different .conf file.
but I still think it will be better if developer are able to make authentication easier in development environment by setting it to * if they know clearly what they are doing.. Just like Access-Control-Allow-Origin: * field in HTTP header.

If you set the redirectURL to * then the provider would not know where it should redirect to. So this wouldn't work.
I think at this moment the only solution would be to create different environments with different controllers and different configurations. Each for every redirect URL.
In the next version we could allow to override the global config on a per request base. Maybe in 2.1.

maybe you're right.. I will use different environment as the solution :-)

I hope you don't mind if I butt in here, but I'm working on #304 and this seems to be the more general issue...
@hanfeisun Would you mind clarifying if the 2 sites are on the same subdomain and just have different root paths (ie. www.example.com/test-site1 ) or do they live on different domains (ie. test-site1.example.com)?
If they live on the same subdomain, you can create a preauthenticate action in your SocialAuthController that sets a session key  for the destination url before redirecting into the oauth flow. Then upon completing the oauth flow, you can pull out the session key, (validate it to prevent an open redirect), then redirect to the appropriate place.
However if the domains differ, then it gets closer to what I'm playing around with on #304...I don't think allowing the redirectURL to be configured per request would be enough. Unless I'm mistaken, almost all OAuth 1 & 2 providers allow only a single domain per consumerKey/consumerSecret & clientId/clientSecret.  So you would need to allow those fields to be configureable per request as well.  With that in mind, I think #304 would be a half measure while implementing dynamic provider settings would be the ideal.
@akkie Would it be desirable for the SocialProvider subclasses to take a *Settings factory method (implicit request:RequestHeader) -> *Settings as opposed to the *Settings instances themselves?  This way, the settings could be computed per request? And as a followup, is it too late in the release cycle for such a big change in api?
ps. *Settings = OAuth1Settings, OAuth2Settings, OpenIdSettings

Additional we can provider an implicit converter settings2factory that can convert an instance of *Settings into a (RequestHeader -> *Settings) function.  But I don't have enough scala experience to know if that would be frowned upon.
ps. if you think this good way forward, I can close #304 & put together a proper PR for this by Tuesday evening.

@igorbernstein I think #304 should be a separate pull request.
To solve this issue, we should provide an additional method to allow to pass the settings per request because this feature is a corner case. For all other cases the lib should be configured globally. And if we find a proper solution, then it goes into 2.1.
Anyway, your settings factory proposal sounds interesting. But please let me some time to think about it.

Fixed with #354


Value.nullValue is not a subtype 'String' in type cast.

I am using Datastore API.
When I got null Value from Datastore, Value.fromJson failed and returned stack traces below in my console.
  type 'Null' is not a subtype of type 'String' in type cast
  package:googleapis/datastore/v1.dart 3445:38  new Value.fromJson
  package:googleapis/datastore/v1.dart 1145:17  new Entity.fromJson.<fn>
  dart:collection                               MapMixin.map
  package:googleapis/datastore/v1.dart 1142:72  new Entity.fromJson
  package:googleapis/datastore/v1.dart 1191:23  new EntityResult.fromJson
  package:googleapis/datastore/v1.dart 2990:54  new QueryResultBatch.fromJson.<fn>
  dart:_internal                                ListIterable.toList
  package:googleapis/datastore/v1.dart 2992:12  new QueryResultBatch.fromJson
  package:googleapis/datastore/v1.dart 3241:32  new RunQueryResponse.fromJson
  package:googleapis/datastore/v1.dart 461:29   ProjectsResource.runQuery

I fixed Value.fromJson() in v1.dart L:3445 like below on my local environment, and It ran successfully.
https://github.com/dart-lang/googleapis/blob/master/generated/googleapis/lib/datastore/v1.dart#L3444-L3446
-     if (_json.containsKey('nullValue')) {
-       nullValue = _json['nullValue'] as core.String;
-     }
+     if (_json.containsKey('nullValue')) {
+       nullValue = _json['nullValue'] as core.Null;
+     }

My environment is
OS: Linux archlinux 5.11.8-zen1-1-zen
Dart SDK version: 2.12.2 (stable) (Wed Mar 17 10:30:20 2021 +0100) on "linux_x64"
googleapis: 2.0.0

I just hit this as well. I think I'm going to create a model for adding overrides in another file here. Stay tuned.

@kevmoo Thanks, In my opinion, this error causes API's incorrect spec definition...
I'm hoping for a fix!
And is it better to close this issue as a duplicate?

We are facing the same cast exception in our own Cloud Endpoints APIs clients generated with the discoveryapis_generator package available on pub.dev.
In case any API response returns null as one of its property value, the generated fromJson method for that response object will throw because it tries to explicitly cast to a non-nullable type when assigning the value.
Example of such generated code for a lastAccessed property that can be present in the response but with a null value:
if (_json.containsKey('lastAccessed')) {
  lastAccessed = _json['lastAccessed'] as core.String;
}

For now we've forked the repository and updated the generator's code so the generated code will check for the non-nullity (!= null) of the property's value instead of checking its presence (containsKey()) in the json response:
diff --git a/discoveryapis_generator/lib/src/dart_schemas.dart b/discoveryapis_generator/lib/src/dart_schemas.dart
index b8875437..0ab83961 100644
--- a/discoveryapis_generator/lib/src/dart_schemas.dart
+++ b/discoveryapis_generator/lib/src/dart_schemas.dart
@@ -842,10 +842,9 @@ class ObjectType extends ComplexDartSchemaType {
         // The super variant fromJson() will call this subclass constructor
         // and the variant descriminator is final.
         if (!isVariantDiscriminator(property)) {
-          final decodeString = property.type!
-              .jsonDecode("_json['${escapeString(property.jsonName)}']");
-          fromJsonString.writeln('    if (_json.containsKey'
-              "('${escapeString(property.jsonName)}')) {");
+          final propertyValue = "_json['${escapeString(property.jsonName)}']";
+          final decodeString = property.type!.jsonDecode(propertyValue);
+          fromJsonString.writeln('    if ($propertyValue != null) {');
           fromJsonString.writeln('      ${property.name} = $decodeString;');
           fromJsonString.writeln('    }');
         }

@kevmoo Thanks, In my opinion, this error causes API's incorrect spec definition...
I'm hoping for a fix!
And is it better to close this issue as a duplicate?

Is there a different issue for the same problem? If not it is not a duplicate. As you can see, the issue is affecting many services and the fix is really simple, correct ?

It's separate fixes. We'll have to add in special-cases for each of these.
On Fri, Jun 25, 2021 at 11:08 AM vin-fandemand @.***>
wrote:

@kevmoo https://github.com/kevmoo Thanks, In my opinion, this error
causes API's incorrect spec definition...
I'm hoping for a fix!
And is it better to close this issue as a duplicate?
Is there a different issue for the same problem? If not it is not a
duplicate. As you can see, the issue is affecting many services and the fix
is really simple, correct ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/googleapis.dart/issues/211#issuecomment-868743868,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEFCUFUDOMTZZ3KPZ6BYTTUTA2PANCNFSM4Z7NGKFA
.

@kevmoo What is the current state of this issue? Can a fix be expected soon?

@kevmoo What is the current state of this issue? Can a proper fix be expected soon?

Hey @blaueeiner – it's going to be ...interesting...to fix. I'll try to take a look tomorrow!

@kevmoo What is the current state of this issue? Can a proper fix be expected soon?

Hey @blaueeiner – it's going to be ...interesting...to fix. I'll try to take a look tomorrow!

@kevmoo For now I temporarily fixed this problem for me in a fork by simply checking if the map contains the key "nullValue" and then initializing the null value field with "NULL_VALUE" instead of getting the value from the map key which would return null instead of the string. I understand that this might not solve the problem in the master project because the code is generated via discovery files.
So if I understood right you are planning to somehow create overrides for the models? I would love to hear more about the details on how to approach and fix the problem and help solving this if help is needed 👌

FYI: this fix was released in v4


Reorganize1

Okay, Now it should work.
I have moved the subroutines in modelConfiguration/extraOutputSubroutines.f90 to outputFunctions.f90 and utilityFunctions.f90
The files temperature.f90 and zenith.f90 have been merged with utilityFunctions.f90. The Makefile has been updated accordingly and the reference to extraOutputSubroutines.f90 in tools/mech_converter.py changed to utilityFunctions.f90

Looks good! Thanks for your patience on this tricky merge - we'll get better at this next time!


glyph not displayed for coc.nvim integration

I have followed coc.nvim's doc for putting coc-status in lightline status bar:
  let g:lightline = {
	\ 'colorscheme': 'wombat',
	\ 'active': {
	\   'left': [ [ 'mode', 'paste' ],
	\             [ 'cocstatus', 'readonly', 'filename', 'modified' ] ]
	\ },
	\ 'component_function': {
	\   'cocstatus': 'coc#status'
	\ },
\ }

The problem is that the error glyph does not show up correctly (it's shown as a box of string) even though I have set the error glyph as a capital x (X) in coc.nvim:
"coc.preferences.diagnostic.errorSign": "X",
"coc.preferences.diagnostic.warningSign": "⚠",
"coc.preferences.diagnostic.infoSign": ">>",
"coc.preferences.diagnostic.hintSign": ">>",

The strange thing is that the warning glyph shows up in the status bar correctly. Also, all glyphs show up correctly in the sign column in vim but they just got messed up somehow in the status bar.

i have the exactly same issue, how do you fix this?


feat: make influxql query interface compatible with influxdb1.8

Which issue does this PR close?
Closes #
Rationale for this change
See title.
And after doing this, we can connect ceresdb to grafana with inluxdb protocol.

What changes are included in this PR?
See title.

Are there any user-facing changes?
Can use the same influxdb1.8 compatible query api to query data from ceresdb.

How does this change test
Test manually.

Codecov Report

Merging #773 (0b9cc2d) into main (50471c0) will decrease coverage by 0.09%.
The diff coverage is 29.67%.

:exclamation: Current head 0b9cc2d differs from pull request most recent head 26c7e85. Consider uploading reports for the commit 26c7e85 to get more accurate results

@@            Coverage Diff             @@
##             main     #773      +/-   ##
==========================================
- Coverage   68.48%   68.39%   -0.09%
==========================================
  Files         296      296
  Lines       46648    46696      +48
==========================================
- Hits        31947    31939       -8
- Misses      14701    14757      +56

Impacted Files
Coverage Δ

server/src/handlers/influxdb.rs
72.26% <0.00%> (-5.13%)
:arrow_down:

server/src/handlers/query.rs
0.00% <ø> (ø)

server/src/http.rs
0.00% <0.00%> (ø)

analytic_engine/src/instance/read.rs
77.85% <100.00%> (-0.31%)
:arrow_down:

analytic_engine/src/row_iter/mod.rs
100.00% <100.00%> (ø)

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


[Map Pack] JegesBase

The download link here seems to not work? Although maybe it's temporary.

URL: https://unrealarchive.org/mappacks/unreal/single-player/J/jegesbase_77533425.html
Hash: 775334258dfcafcf6e0f44e8ddb1f711a1fd1b26
Current name: JegesBase

Looks like the file there is missing unfortunately, I will remove the listing.
However, the pack is available here: https://unrealarchive.org/mappacks/unreal/single-player/S/sp-jeges-base-series_df5b46b8.html


Support for Claude Prompt Caching

I hope to enhance Claude's prompt caching feature, which is very useful for large-scale code analysis.
I want to complain a bit. It's frustrating that any modification to the order or characters of the cached prompts can invalidate the cache. Additionally, it's unclear why cache points need to be marked separately...
https://docs.anthropic.com/en/docs/build-with-claude/prompt-caching
https://openrouter.ai/docs/prompt-caching

Prompt caching is implemented: https://microsoft.github.io/genaiscript/reference/scripts/prompt-caching/
I suggest reaching out to Anthropic to change their caching behavior.

It was updated yesterday! Thank you for adding this feature right away! I updated<EMAIL_ADDRESS>and I found a small issue:
// This one does not work
def("FILE", env.files, { cacheControl: "ephemeral" })
// This one works
Summarize all files in FILE in a single paragraph. `.cacheControl("ephemeral")

Fixed in next release. For now do def(...., { ephemeral: true })

thank you!👍

Sorry, I upgraded to v1.86.4, and this issue still exists. It seems to be because ephemeral is not passed to children.
// packages/core/src/promptdom.ts
...
        def: async (n) => {
            try {
                names.add(n.name)
                const value = await n.value
                n.resolved = value
                n.resolved.content = extractRange(n.resolved.content, n)
                const rendered = renderDefNode(n)
                n.preview = rendered
                n.tokens = estimateTokens(rendered, encoder)
+               let defOption = {};
+               if (n.ephemeral) {
+                    defOption = { ephemeral: true };
+               }
+               n.children = [createTextNode(rendered, defOption)];
-               n.children = [createTextNode(rendered)]
            } catch (e) {
                n.error = e
            }
        },

fixed in 1.87

Changed back to this definition def("FILE", env.files, { cacheControl: "ephemeral" }), I upgraded to v1.87 and it worked, thank you!

cachecontrol is closer to the anthropic message. Maybe more future proof.


WIP docs: Add initial documentation with goals

Here's the initial documentation with the mission statement, links to related project, and description of how things come together.

From CI/CD point of view, I would suggest to use the github.com/containers/containers.github.io repo instead. There are few benefits of using it. According to the instructions provided by github, using the suggested repo name provides out of the box CD pipelines which are maintained by GitHub.
And something I picked up with help from chatgpt:
Using GitHub's suggested repository name for a GitHub Pages site can offer several benefits:
1. Convenience: GitHub's suggested repository name is usually based on the username and project name, making it easy to remember and relevant to your project. This saves you time and effort in coming up with a unique name yourself.

2. Consistency: GitHub's suggested repository name typically follows their naming conventions, which can help maintain consistency across your projects and make them easier to identify within your GitHub profile.

3. SEO (Search Engine Optimization): GitHub's suggested repository name might include keywords related to your project, which could potentially improve the searchability of your GitHub Pages site on search engines like Google.

4. Professionalism: Using a name suggested by GitHub can lend a sense of professionalism to your project, especially if you're collaborating with others or showcasing your work to potential employers or clients.

5. Community Recognition: If your GitHub Pages site gains traction within the GitHub community, having a recognizable and easily identifiable repository name can help others find and engage with your project more easily.

Overall, while using GitHub's suggested repository name is not mandatory, it can be a practical choice for many GitHub Pages sites, offering convenience, consistency, and potential SEO benefits. However, it's always a good idea to ensure that the suggested name aligns well with your project's branding and objectives.

Could you discuss this one with @rhatdan I think he is one of the admins of the containers namespace on GitHub. I'm fine with moving it if we want it in the top level repository.

In order to get a GitHub pages started, I moved teh content directly into the main and closed this pull request.


Delete remove-protobuf patchfile.

It breaks linking against libprotobuf.lib (can't be found) on Windows/x64.
Reproduce by: .\vcpkg.exe install "opencv[ffmpeg,ximea,opengl,flann,contrib,ipp,tiff,jpeg,png,cuda,dnn]"

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: hmoenck sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

You deleted the file, but the portfile still references "${CMAKE_CURRENT_LIST_DIR}/0005-remove-protobuf-target.patch"?


Create Picture into sketch.py

Hello maintainers, i have created a python program to convert your pulchritudinous picture into a  sketch. Just add this into a directory and add the picture that you wanna to make sketch into same directory and give the name of picture into the input section and then you will get your sketch.

Thanks for your valuable contribution .Don't forget to ✨the repository.

Sir, why it is saying excluded in hacktober fest?


How to open a file with nativefier application

Homework

[X] I took the time to write a good, descriptive issue title
[X] I read nativefier --help and API.md.
[X] I checked CATALOG.md for community suggestions & workarounds.
[X] I searched existing issues, open & closed. Yes, my question is new.
[X] I'm running the latest version.

Your question
I want to open a file (for example: exp.csv, exp.jpg etc.) in the application I created with Nativefier.
How can I determine that I started the application with a file?
For example: When I start a Office.Word application, the start page of the application opens, when I say "Open with Office.Word" to an exp.doc file, it brings the exp.doc file to the Office.Word application as processed.
Similar to this example, I want to send my related file to the API I prepared in order to be able to process it.
Is it possible to do this with Nativefier?
Step 1) Right click on a csv file.
Step 2) Open file with my nativefier app.
Step 3) nativefier app uploads the file to a server.
Step 4) The server's forwarding link in the response is opened with the nativefier application.
Steps to reproduce
No response
Debug info
No response
Nativefier version
50.0.0
Node.js version
v16.15.1
npm version
8.11.0
OS
Windows 11 Pro

Do you have any suggested solution?


AttributeError: 'coroutine' object has no attribute 'text' - Wrong alarm status

Hi.
This is the information for my HA instance:
System Health
version: core-2022.2.9
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
user: root
virtualenv: false
python_version: 3.9.7
os_name: Linux
os_version: 5.10.98
arch: x86_64
timezone: Europe/Madrid
GitHub API: ok
GitHub Content: ok
GitHub Web: ok
GitHub API Calls Remaining: 4685
Installed Version: 1.23.0
Stage: running
Available Repositories: 1065
Downloaded Repositories: 52
can_reach_server: ok
remaining_requests: 30
logged_in: true
subscription_expiration: March 9, 2022, 1:00 AM
relayer_connected: true
remote_enabled: true
remote_connected: true
alexa_enabled: true
google_enabled: true
remote_server: eu-central-1-2.ui.nabu.casa
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok
host_os: Home Assistant OS 7.4
update_channel: beta
supervisor_version: supervisor-2022.01.1
docker_version: 20.10.9
disk_total: 491.5 GB
disk_used: 293.7 GB
healthy: true
supported: true
board: ova
supervisor_api: ok
version_api: ok
installed_addons: Terminal & SSH (9.3.0), A better presence (1.2.0), AdGuard Home (4.4.4), AppDaemon 4 (0.8.1), Check Home Assistant configuration (3.10.0), Duck DNS (1.14.0), File editor (5.3.3), Folding@home (0.4.1), Glances (0.14.2), Grafana (7.4.1), Grocy (0.16.0), Mosquitto broker (6.0.1), Network UPS Tools (0.9.1), Nginx Proxy Manager (0.11.0), Node-RED (11.0.3), Samba share (9.5.1), Syncthing (1.13.0), chrony (2.2.2), php-nginx Docker Image (latest), phpMyAdmin (0.7.0), rest980 Docker Image (20220113), roombapw Docker Image (1.0.0), Git pull (7.13.1), Let's Encrypt (4.12.0), MariaDB (2.4.0), InfluxDB (4.3.0), ESPHome (2022.2.4), Portainer (2.0.0)
dashboards: 3
resources: 26
views: 22
mode: yaml
Securitas-direct-new-api: v<IP_ADDRESS>
Get this error in the log from time to time:
2022-02-21 16:05:54 ERROR (MainThread) [homeassistant.helpers.entity] Update for alarm_control_panel.securitas_xxxxxxxx fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 521, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 725, in async_device_update
raise exc
File "/config/custom_components/securitas/alarm_control_panel.py", line 271, in async_update
alarm_status: CheckAlarmStatus = await self.client.update_overview(
File "/config/custom_components/securitas/init.py", line 277, in update_overview
reference_id: str = await self.session.check_alarm(installation)
File "/config/custom_components/securitas/securitas_direct_new_api/apimanager.py", line 179, in check_alarm
result_json = json.loads(await response.text())
AttributeError: 'coroutine' object has no attribute 'text'
Today I have had the following issues with the component:

Got around noon a wrong status of alarm armed_away - it was not
2 hours later the alarm status came back to disarmed
From the app, I did arm_away the alarm. HA got updated with the right status
From the app, I disarmed the alarm. HA got updated half an hour later

I have a full log with DEBUG enabled for the component if required.
Thank you.
Carlos

The operation in there is the check_alarm and it seems like it fails. There could be multiple reason. If the session is expired a message appear saying "Login is expired. Login again" and then if the login is succeeded, something like "Re-loging result (true|false)" depending on if succeed or fails.

The check alarm function connects to your alarm and check the status. That process takes a lot of time.
That is why I add a new setting check_alarm_panel (you can check the readme.md) that check the last status that Securitas has in their server. That is more fast and less intrusive. And also, doesn't leave any logs in your account like you're checking your alarm every 10 minutes.
About the installation, I also have multiple, and the client API is the same instance for all components, alarms_panel and senors, so only one client is created.
Try to set the check_alarm_panel to false to remove this check_alarm call.

Solved the origina issue in the last release.


Rename Owin version property for consistency (#1317)

@mikeharder,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Add theme option to set the search bar placeholder message

I would like to request an ability to add a way to set my own placeholder message in the search bar. I was thinking this could be a theme option.
Theme Options

Name
Type
Default
Description

searchPlaceholder
string
"Search"
Provide a custom placeholder message to the search bar.

// In your `docusaurus.config.js`:
module.exports = {
  // ... Your other configurations.
  themes: [
    // ... Your other themes.
    [
      require.resolve("@easyops-cn/docusaurus-search-local"),
      /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
      ({
        // ... Your options.
        // Set custom message for search bar placeholder
        searchPlaceholder: "Search documentation",
      }),
    ],
  ],
};```

I think you can try customizing i18n to achieve the same purpose, see https://github.com/easyops-cn/docusaurus-search-local?tab=readme-ov-file#i18n


Async child routing is not working for any other child route than default route

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?

Reporting a bug

What is the current behavior?

If we add another child under "+detail" dynamic route, we get "Cannot find primary outlet to " error when access through link and 404 if accessing directly.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Add another child component under "+detail" and try routing to it.

What is the expected behavior?

It should load any other child than default child route.

What is the motivation / use case for changing the behavior?

General support for child routing through webpack.

Please tell us about your environment:

I am using latest seed version as of today.

Angular version: 2.0.0-rc.3
Browser: [all ]
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Not applicable.

can you provide a link to repo that reproduces the problem?

Sure. I just forked today's version and added one simple "child2" route to "Detail" route. Rest of the source is as clean as current starter pack version.
https://github.com/dhrumil4u360/angular2-webpack-starter
Please run this and go to "detail" route. You will see link to "Child2" route there and issue can be reproduced when you click on it.

Don't you simply forget to add a second  <router-outlet> in the Detail comp?
 @Component({
  selector: 'detail',
  directives: [ROUTER_DIRECTIVES],
  template: `

Hello from Detail

    This is default chld page of Detail. Please click on this link to go to another child:

          Child2

      <router-outlet></router-outlet>
  `
})

Try this and let us know ;)

I checked it out. I think this is a problem with the router or the way that I'm updating the route config

@phiphou  Adding <router-outlet> will avoid  exception but that is something we don't expect. We want to keep it like
Detail
|--Child1 (consider it as default component which is detail.component)
|--Child2
So main route will have 2 children. In that case, <router-outlet> should be there in parent only. If we put it in "detail.component.ts", structure will result in something like this :
Detail
|--Child1
|--Child2
@gdi2290 Thank you. Looking forward to hear updates.

I have a current workaround until it's fixed https://github.com/AngularClass/angular2-webpack-starter/commit/d4ecb3f2214e8725e708c65b6c1d503e4b311ce4

@dhrumil4u360 Sorry for the misunderstood, @gdi2290 's workaround should work.

@gdi2290 Thank you for work around. I am able to integrate work around successfully. Looking forward to permanent fix.  May be, if possible, something in which we don't have to list all component level child routes at app.routes level.
Thanks in advance :+1:

thanks, the permanent fix will be rc.5 with AppModule

I think this is obsolete...
re-open if not.


main.py doesnt work

its probably an issue on my end but i cant find any other place that can get me support with this
main.py just opens cmd for a split second and closes

open Main.py from CMD

its probably an issue on my end but i cant find any other place that can get me support with this main.py just opens cmd for a split second and closes

Please run the main.py through cmd and then paste the error here.

C:\Users\mati>python C:\Users\mati\OneDrive\Documents\roblox-decal-mass-uploader-main\main.py
Traceback (most recent call last):
File "C:\Users\mati\OneDrive\Documents\roblox-decal-mass-uploader-main\main.py", line 10, in
with open("config.json") as f:
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'config.json'
C:\Users\mati>

You need to download all of the needed files including the config.json

i have every single file downloaded

Make sure that the main.py and the config.json are in the same directory

theyre both in the same folder


Removing contributors from readme

This repo is no longer maintained by just the 3 original contributors so we can remove this.

👍 https://github.com/Shopify/themekit/graphs/contributors gives this anyway.


Enabling and disabling a Chart causes extra Indicators to appear?

So this is a bit weird...
I created a prefab with a RadarChart component.
I am overriding the data at some point during runtime. It is worth noting that the default data  might had 5 indicators.
Then I manually enable / Disable the parent or the Chart itself and I get those two extra indicators appear....

The weird thing is that on the inspector, I am getting this:

I think this is fixable if you click the "remove All Chart Objects" before saving the prefab. But shouldn't this be the automatic behaviour when you RemoveData(); on the chart?
Now I am fixing this by making sure the prefab has zero data / "Remove All Chart Objects" has been clicked. and then I am calling both RemoveData and RemoveChartObject. Let me know what you think. :)

Yes, it's designed to refresh chart automatically when removeData () is called, so you don't have to manually call removeChartObject ().
Maybe this is a bug and I need to test and confirm it.
Could you show me the code snippet where you override the data?

Confirmed as a bug and I will fix it ASAP.

Fixed in master branch.


Error while executing contributed menu command in ports/item/context

VS Code Version: stable

Steps to Reproduce:

Create an extension that contributes a menu command in ports/item/context
Right click on ports view and execute the command from step 1
:bug: nothing happens

There's an error in commandService which is silently ignored
Converting circular structure to JSON
    --> starting at object with constructor 't'
    |     property 'next' -> object with constructor 't'
    --- property 'prev' closes the circle

P.S.: Not reproducible from sources right now as it got "workarounded" by https://github.com/microsoft/vscode/pull/161236

Created a PR fixing it https://github.com/microsoft/vscode/pull/161295


Setup MCE 2.4

Signed-off-by: Erin Murphy<EMAIL_ADDRESS>issue: https://issues.redhat.com/browse/ACM-5609

/hold until 2.4 fast-forwarding is setup

@JakobGray can you give lgtm again? Needed to rebase based on your Hive SHA changes

/lgtm


Update kitchen sink and script to update

This updates our kitchen sink to use the latest pages from sphinx-themes.org . They are now laid out a little bit more nicely and are easier to follow. It also adds a little helper script to automate this in the future.
Check out the new kitchen sink here:

https://pydata-sphinx-theme--819.org.readthedocs.build/en/819/demo/kitchen-sink/index.html

Good point @12rambau - instead of manually adding them here, I suggested we add them to the sphinx themes gallery so that others can benefit from it too. Would that work?

https://github.com/sphinx-themes/sphinx-themes.org/pull/102

PR got merged! I just updated here as well

I though all the failing test were due to the prerelease but there actually the windows one that is failing as well. Any clue why ?

Hmmm, maybe this?

https://github.com/sphinx-themes/sphinx-themes.org/pull/103

I applied the fix that PR implements to this one as well, so lets see if the tests pass now

ok so for the gallery side I think the error comes from https://github.com/pydata/pydata-sphinx-theme/blob/4c8c20257f27acc5ac9a18c591eff8249f3b3f0c/docs/scripts/generate_gallery_text.py#L33
The path tothe file is set Unix style and need to be resolved for Windows. Very weird that it never raised a bug before

Got the CI/CD errors working, so will merge this!


Trying to bind Capture/restore State to a controller crashes the emulator

As far as I've tried, both the web version and the Windows executable crash when I try to bind any of the capture/restore states to any button on my controller. The windows executable also refuses to open now and I don't know where the configs are saved lol
EDIT: If a game is loaded, you can rebind the buttons no problem. If no game is loaded, it crashes the emulator and fucks your config

Does this occur on the latest nightly builds?
https://github.com/skylersaleh/SkyEmu/pull/321

Dev branch works fine


Docker file

Hi , How can I use it without Docker file?

Hi! To run the code without Docker you can

Install Python 3.10
Clone the repo with git clone https://github.com/archettialberto/federated_survival_forests
Move to the repo directory with cd federated_survival_forests
Create a new virtual environment with python -m venv venv
Activate the environment with source venv/bin/activate
Install dependencies with pip install -r requirements.txt

At this point, you should be able to run python exps.py outside Docker.

Hi! I was following the steps, but I encountered a problem while installing dependencies in the requirements. txt. The error I received is as followed:
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Please provide some advice. Thank you!

Hi! Can you provide more details about the error message? I'll see if I can help 😉
This is probably an issue of compatibility on the system where the libraries are installing. Docker should prevent this from happening.

Hi Alberto! Thank you for your reply. Actually, I had the issues of installing as well while using Docker. I am quite new to Docker. The following is the error I got when I was trying to install the Docker image:

Thank you for your help in advance.

Yep, there was an inconsistency on my part in the scikit-survival installation. Thanks for pointing out the issue! 😃
I got the same error on my machine, but now it should work by just running the docker-compose command, as it will download a prebuilt Docker image from here. I updated the README accordingly. I hope this helps!

Thank you for resolving the issue so quickly. In addition, I have a question about loading data sets in the python file. The experiment has the following data sets
- GBSG2
- metabric
- support2
- flchain
- Aids2.
Are they loaded from the python package like sksurv automatically while running the exps.py? What if I would like to import my own data sets for federated survival forests? Could you please provide some guidance?
Also, do you have any suggestions for setting the parameters for random survival forests and number of trees to train?
Thank you.

Yes, the supported datasets are loaded automatically in the script. If you want to add your own dataset, go to data.py and create a function to return the dataset loaded as a Pandas dataframe. Let's call it get_my_df. The code assumes that get_my_df returns a Pandas dataframe having

A boolean column called event to indicate whether a sample is censored or not
A column called time where event (or censorship) times are stored
Each feature column representing numerical variables named as num_<column_name> for preprocessing
Each feature column representing categorical variables named as fac_<column_name> for preprocessing
Other columns that do not need preprocessing can be named as you wish without the num_ or fac_ prefixes

Then, you can add get_my_df to DATASETS_BEYOND_SURVSET as
DATASETS_BEYOND_SURVSET = {
    "metabric": get_metabric_df,
    "my_dataset_name": get_my_df,
}

Finally, add your dataset as DATASETS = ["my_dataset_name"] in exps.py.
At this point, your dataset will be loaded, preprocessed, split, and (hopefully) learned by each of the survival models implemented.
Concerning the RSF parameters, according to the dataset I used, the most influential parameters were max_depth (major differences between 1 and None) and n_estimators (it is not always the case that "the higher, the better"). Also, remember to put n_jobs to -1 to allow for parallel execution, it's much faster. To tune these parameters, it may be convenient to write a separate script and find the best parameter combination with sklearn's grid search. Hope this helps!


Lazy email validation

Is there a way to validate email addresses but without pausing the pipeline? That is, to still allow the user to finish registering but with a flag on the user record to say their email address is not yet verified, and to change that flag once they have verified the address?
Thanks.

Yeah, you need your own pipeline method that does such flag setting and avoids the pausing of the auth pipeline.

Would I then need to reimplement some of the other related functionality python-social-auth provides, or would I be able to hook back into it somehow? For example to complete the validation.

Depends on your needs, but if you need email-validation you need to implement such feature at some point. PSA doesn't do much on this matter, it just sends an email with a link to complete the authentication in a way that we can trust that the user validated the address.

Well that's what I was hoping to repurpose, just without the delay and setting the flag. Doesn't matter -- the project I used this for is over now, but next time I use this module I'll have another shot.


Depth Buffer Sharing Material Warning

Overview
When enabling depth buffer sharing the stabilization of renderables greatly diminishes when a user looks at a renderable that has a material which does not write to the depth buffer. This has been a common pain point for HoloLens 2 users which don't understand why their holograms look distorted or unstable.
This pull request introduces a warning and "Fix Now" button on materials which are in a project that has depth buffer sharing enabled and do not write depth.
On the MRTK/Standard shader:

On the MRTK/Text Mesh Pro shader:

If the "Fix Now" button will spawn a dialog confirming the user wants to change the material to write to the depth buffer.
Other changes include:

Moving the "Albedo Assigned At Runtime" option up the inspector for better visibility.
Bug fix, allowing the alpha cutoff slider to be adjusted in the  "Custom" render mode.

Changes

Fixes: https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4733

Verification
To verify select a material that does not write depth (often transparent or additive materials) and select the "Fix Now" button and check if zWrite is now enabled.

/azp run mrtk_pr

/azp run mrtk_pr

/azp run mrtk_pr


best way to  finding eye state

Hi Davis,
what is the best and fastest way to find eye state (open or close only 2 state) with the help of dlib power ? I have eyes images in both states and try to train , before that according to your experince what could be the direction in dlib environment?

Just look at the face landmarks and check if the ones around the eye are close together or far apart.  You shouldn't need to train anything.  Just a simple if statement is enough.  Something like this: https://www.pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/


new-post: pdf and ROOT file previews in web UI

What do you think about using a browser mockup for the screenshots? The blog doesn't seem to be very uniform on this (here mockups are used, but here they are not). I guess it depends a lot on whether we want the reader to focus on the whole page or on a single portion of the interface.
What do you think about using a GIF to showcase the interactivity of the ROOT file viewer, as is done in this PR? If you like the idea, I can work on uniforming the sizes of the padding of the images and improving the overall quality/resolution of the GIF.

What do you think about using a browser mockup for the screenshots? The blog doesn't seem to be very uniform on this (here mockups are used, but here they are not). I guess it depends a lot on whether we want the reader to focus on the whole page or on a single portion of the interface.

I think showing the browser window is good for screenshots of the whole web page, while I would not show the window when considering only a part of the page.

What do you think about using a GIF to showcase the interactivity of the ROOT file viewer, as is done in this PR? If you like the idea, I can work on uniforming the sizes of the padding of the images and improving the overall quality/resolution of the GIF.

I think this is a good idea! Maybe we can also investigate whether to use a video instead of a GIF? As an example, MP4 should be a widely supported video format, so we can test whether we can have better quality and/or smaller size compared to a GIF. Looking a bit into other blogs (e.g. GitHub, GitLab), I see that GIF are widely used, with occasional MP4 videos.

I think showing the browser window is good for screenshots of the whole web page, while I would not show the window when considering only a part of the page.

At first I went for the "mockupped" version of the screenshot because the file preview is almost as big as the browser window, but then I realized that, even with an high-resolution image or video, most of the details of the ROOT file previewer are lost. Right now the blog post only shows the "cropped" version of the images, but you can try to replace them in the markdown file with pdf-files-preview-mockup.png and root-files-preview-mockup.gif (I included them in this commit for now) to see the difference and say your opinion on which version looks best. Once we choose which version to keep in the post, I will remove the other two images from the commit and mark this PR as ready for review.

As an example, MP4 should be a widely supported video format, so we can test whether we can have better quality and/or smaller size compared to a GIF.

Right now the resolution of the GIF is quite good, with a size of a couple of megabytes. MP4 works okay, but it's quite larger in size compared to the GIF. I also tried to experiment with WebM, which is widely supported by browsers, and it worked well, but unless we want a smoother animation, I think that using the GIF is the best option.

Right now the blog post only shows the "cropped" version of the images, but you can try to replace them in the markdown file with pdf-files-preview-mockup.png and root-files-preview-mockup.gif (I included them in this commit for now) to see the difference and say your opinion on which version looks best.

I do not see the "mockup" version of the images, but I guess the ones without the fake browser window are good.

Right now the resolution of the GIF is quite good, with a size of a couple of megabytes. MP4 works okay, but it's quite larger in size compared to the GIF. I also tried to experiment with WebM, which is widely supported by browsers, and it worked well, but unless we want a smoother animation, I think that using the GIF is the best option.

Let's keep the GIF version then, as it is supported basically everywhere.


How to dispose batch of stage?

Hi,
Firstly, I used gdx-setup to generate a project with templates "Autumn MVC +Box2D+ VisUI".
Then I tried to add a background pic in loading stage, my code is below:
`import com.badlogic.gdx.Gdx;¬
import com.badlogic.gdx.graphics.Texture;¬
import com.badlogic.gdx.scenes.scene2d.Stage;¬
import com.github.czyzby.autumn.annotation.Inject;¬
¬
import com.github.czyzby.autumn.mvc.component.asset.AssetService;¬
import com.github.czyzby.autumn.mvc.component.ui.controller.ViewRenderer;¬
import com.github.czyzby.autumn.mvc.stereotype.View;¬
¬
import com.github.czyzby.kiwi.log.Logger;¬
import com.github.czyzby.kiwi.log.LoggerService;¬
¬
import com.github.czyzby.lml.annotation.LmlActor;¬
import com.kotcrab.vis.ui.widget.VisProgressBar;¬
/** Thanks to View annotation, this class will be automatically found and initiated.¬
*¬

This is the first application's view, shown right after the application starts. It will hide after all assests are¬
loaded. /¬
@View(value = "ui/templates/loading.lml", first = true)¬
public class LoadingController implements ViewRenderer {¬
private final Logger logger = LoggerService.forClass(LoadingController.class);¬
private Texture bground = new Texture(Gdx.files.internal("pic/bg1.jpg"));¬
/* Will be injected automatically. Manages assets. Used to display loading progress. /¬
@Inject private AssetService assetService;¬
/* This is a widget injected from the loading.lml template. "loadingBar" is its ID. */¬
@LmlActor("loadingBar") private VisProgressBar loadingBar;¬

// Since this class implements ViewRenderer, it can modify the way its view is drawn. Additionally to drawing the¬
// stage, this view also updates assets manager and reads its progress.¬
@Override¬
public void render(final Stage stage, final float delta) {¬
assetService.update();¬
logger.info(assetService);¬                                                                                6         logger.info(assetService.getLoadingProgress());¬
loadingBar.setValue(assetService.getLoadingProgress());¬
stage.act(delta);¬
stage.getBatch().begin();¬
stage.getBatch().draw(bground, 0, 0, 1920, 1080);¬
stage.getBatch().end();¬
stage.draw();¬
}¬
}¬`
The background added in the loading stage successful, but there is no way to dispose the batch of loading stage. I am a novice, read the document said batch need to be disposed after each use, I do not know should I need to dispose stage batch? Or the Autumn has been able to handle this, do not need me to dispose batch manually? Thanks!

Yes, I believe Autumn MVC disposes of the batch during destruction of the InterfaceService. It's already handled for you.

Thank you so much! MJ


Substrate class

I still need to test the normalizer from ElementalComposition with the Dopant class

I'm ready to go!

I'm ready to go!

Nice, I will pull it and check that it runs on my local nomad and then we should be ready to merge!

Geometry looks good:

Crystal properties as well:

I updated the label and then the miscut looks good as well:

And finally the doping looks okay:


Resolve kube object status texts again on re-render to make it look like it's reactive

This verifies that kube object status texts (the warning icons e.g. next to pod name in Pods -list) in general are working as expected.
However, this doesn't verify that e.g. warnings for pods are shown when they are supposed to.
@msa0311 previously encountered a situation where status warning for Pod would appear, but not disappear after issue was cleared.

Converting back to draft since it came clear that current understanding how it should work is wrong. Extensions are relying resolve to be called on each render and component get's re-rendered because some other change causes parent component to change.
This means that kube-object-status-icon is not usable as a standalone component because there is no way that it could react to changes.

This means that kube-object-status-icon is not usable as a standalone component because there is no way that it could react to changes.

This is not quite true because an observer component tracks all changes to observable or computed state through all function calls (components excluded).

This means that kube-object-status-icon is not usable as a standalone component because there is no way that it could react to changes.

This is not quite true because an observer component tracks all changes to observable or computed state through all function calls (components excluded).

Sure. You can always find a way to hack around it, but it shouldn't be done. If we want to have something which works as standalone component, then it would make more sense to present reactive way to control visibility.


Configs should not change when passing to an agent

Currently, a configuration contains additional default and internal values after the initialization of an agent. This should not be the case, instead the agent could, for instance, create a copy of the configuration before modification.

This is solved in the new version.


Cross linking

Learn Build status updates of commit daa5098:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/service-bus-messaging/service-bus-messages-payloads.md
:white_check_mark:Succeeded

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

@spelluru
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thank you @udidahan
Appreciate it!
#sign-off


Update lfs.h

Can not build under VS2013 with lua because different declaration LFS_EXPORT and LUA_MODAPI

Coverage remained the same at 78.102% when pulling 6e0791102fb8970cb4fa115d9b98bedf06211428 on nixerr:patch-1 into 3c4e563d9c140319e28c419f2710b51a2f6d6d24 on keplerproject:master.

I mistaked, some another truble