end-to-end  gpu driver testing enhancement

TODO--
*1. *

matrix:

driver:

535.183.06

550.90.07
An idea for a potential follow-up – instead of defining a matrix and spinning up one AWS instance per driver version, can we instead pass all driver versions as input to the test script and test all of them in sequence? For example, first install 535.183.06, and then upgrade to 550.90.07? This would also allow us to source the driver versions from the versions.mk file, instead of having to redefine and maintain that list here.

2
+name: CI
Let's rename this to End-to-end tests
3
+# Install the operator with usePrecompiled mode set to true
Remove this comment as it is not accurate.
4

AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}
I don't believe AWS_SESSION_TOKEN is needed with current holodeck implementation. Let's remove.

5
We can simply wait for the nvidia-driver pod to be ready
kubectl wait -n ${TEST_NAMESPACE} --for=condition=Ready pod -l app=nvidia-driver-daemonset --timeout 10m
If successful, then wait for the validator pod to be ready (this means that the rest of the pods are healthy):
kubectl wait -n ${TEST_NAMESPACE} --for=condition=Ready pod -l app=nvidia-operator-validator --timeout 2m
If either of these commands fails, capture the state of all pods in the operator namespace, by running kubectl get pods -n ${TEST_NAMESPACE} , and also capture some logs so we can debug.
This will reduce the amount of logs emitted during the test. Right now, we print out all pods every 5 seconds so it is very unreadable

@cdesiniotis PTAL


Compilation issue on Mac OS 10.10.5

Compilation fails for me. I've tried setting CC and CXX to point to GCC5 to no avail.
Any thoughts?
c++    -c -o IndelAllele.o IndelAllele.cpp
g++ -c -o disorder.o disorder.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
  * linking smithwaterman
ld: warning: option -s is obsolete and being ignored
ld: internal error: atom not found in symbolIndex(__ZNKSt3__16vectorINS_4pairIicEENS_9allocatorIS2_EEE8max_sizeEv) for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [smithwaterman] Error 1
make[1]: *** [../vcflib/smithwaterman/SmithWatermanGotoh.o] Error 2
make: *** [all] Error 2

I am receiving the same compilation error in Mac OS 10.11.3.
Any suggestions would be appreciated.

I would love to help.
The amount of support problems related to OSX has increased a huge amount over the past year, and I think it's time that I set up a series of VM images that I can use to test builds. Does anyone know of a way to do this? Is it even legal for me to run copies of OSX if I don't have a license?
g++ and gcc on current versions of OSX are actually binaries that call clang. Is it possible this is what is happening?

We have a pre-built version of FreeBayes in Bioconda for OSX. It's built on OSX machines at Travis and avoids needing to compile locally. Documentation of installing bioconda packages is here:
https://bioconda.github.io/
You need to install conda then do:
conda install -c bioconda freebayes

Erik, the FreeBayes recipe is here but we really have only one small tweak for OSX compilation:
https://github.com/bioconda/bioconda-recipes/tree/master/recipes/freebayes
Hope this helps.

It looks like I found issue #83 again:
https://github.com/ekg/freebayes/issues/83
Commenting out the -s flag from the MakeFile in /vcflib/smithwaterman allowed it to compile.
LDFLAGS=-Wl #,-s

I don't know about virtualisation, but I'd be happy to give you user account on my workstation for testing purposes.
Anyone who builds free software routinely on OS X knows to try GCC when a clang build fails. This is a moderately complicated build and forcing GCC isn't quite as straightforward as usual.

Ok, a workaround for the problem building SmithWaterman, which ignores CC and CXX:
Where /usr/local/bin/gcc-5 is the path to my GCC installation (installed with brew install gcc):
sudo mv /usr/bin/gcc /usr/bin/gcc.bak
sudo mv /usr/bin/g++ /usr/bin/g++.bak
sudo ln -s /usr/local/bin/gcc-5 /usr/bin/gcc
sudo ln -s /usr/local/bin/g++-5 /usr/bin/g++

Then make. This still fails, but at a later stage.
https://gist.github.com/bede/7f7b5b71d12b73787f25
Then put things back to how they were:
sudo rm /usr/bin/gcc /usr/bin/g++
sudo mv /usr/bin/gcc.bak /usr/bin/gcc
sudo mv /usr/bin/g++.bak /usr/bin/g++

Travis can test on macOS


FD maturity Calculator

Enter calculator name -
FD maturity Calculator
Describe calculator functionality -
Take input as amount deposited, rate of interest, date of deposit (non-compulsory field), duration of deposit, compounding frequency (annually by default) and display maturity interest, amount and date of maturity (if date of deposit is provided) on the screen.
Under which category you wish to place it -
[] Computer Science
[] Mathematics
[] Physics
[] Chemistry
[] Biology
[x] Finance
[] Scientific
[] Health
[] Sports
[] Let project owner decide
[] Suggest a new category - (Answer here)

@SarthakKeshari I would like to work on it, please assign it to me.

Hey @hiren2599,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\finance\fd_maturity_calculator
Issue completion deadline - 4th Oct 2:00:00 pm IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant


Remove return statements after failwith()

All the compilers I've run tinytoml against (GCC 5, Clang 3.9, VS 2015)
correctly understand that failwith() doesn't return, and warn about
these returns being unreachable with certain warning flags.

Hi, code itself looks good to me. Let me check it with a bit older compiler, e.g. gcc 4.7, or clang 3.4. (I need to use them for a while). I'll do that today (in Japan time).

Confirmed.

Awesome! Thanks for such a quick turnaround.


error NETSDK1177: 无法对 Apphost 进行签名，错误代码为 0

(base) chixshdeMacBook-Pro:MyApp chixsh$ dotnet run
/usr/local/share/dotnet/sdk/6.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(554,5): error NETSDK1177: 无法对 Apphost 进行签名，错误代码为 0: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun [/Users/chixsh/works/code_workspace/C_workspace/MyApp/MyApp.csproj]
/usr/local/share/dotnet/sdk/6.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(554,5): error NETSDK1177: /Users/chixsh/works/code_workspace/C_workspace/MyApp/obj/Debug/net6.0/apphost: the codesign_allocate helper tool cannot be found or used [/Users/chixsh/works/code_workspace/C_workspace/MyApp/MyApp.csproj]
/usr/local/share/dotnet/sdk/6.0.300/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.targets(554,5): error NETSDK1177:  [/Users/chixsh/works/code_workspace/C_workspace/MyApp/MyApp.csproj]
生成失败。请修复生成错误并重新运行。

Looks like your xcode is out of date or corrupted. See https://github.com/dotnet/sdk/issues/24593 for more info.
Closing as its a dupe of https://github.com/dotnet/sdk/issues/24593.


Related designs

Notes for Reviewers
This PR fixes #
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit 291b45aa7422caba6957c68218a702f0d623c69a at: https://66e44453a1ec4706f6e386c1--meshery-docs-preview.netlify.app


Using string as type parameter fails when used with builtins (in Python 3.9+)

Bug
Using a string for a type name fails when using builtins. This works as expected with other types.
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.9.0
            pydantic compiled: False
                 install path: /Users/jkinkead/.pyenv/versions/3.9.12/envs/myenv-3.9.12/lib/python3.9/site-packages/pydantic
               python version: 3.9.12 (main, Apr 11 2022, 10:35:43)  [Clang 13.0.0 (clang-13<IP_ADDRESS>)]
                     platform: macOS-11.6.5-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

Example:
import pydantic
from typing import List

# This is fine.
class WorksFine(pydantic.BaseModel):
    field: List["str"]

# This raises an exception.
class DoesNotWork(pydantic.BaseModel):
    field: list["str"]

Obviously the above is a canned example. I ran into this porting some classes with forward refs to use the 3.9 built-in type parameters, and had to convert to using from __future__ import annotations instead.

This is a limitation of python 3.9, I believe it should work in 3.10.


Fix tracking queue family properties

Ran into a case where an app did:
vkGetPhysicalDeviceQueueFamilyProperties() to get the count
vkGetPhysicalDeviceQueueFamilyProperties() with the count
vkGetPhysicalDeviceQueueFamilyProperties() with 1
And we just stored the 1.

CI gfxreconstruct build queued with queue ID 278563.

CI gfxreconstruct build # 5064 running.

CI gfxreconstruct build # 5064 passed.

@MarkY-LunarG if I reviewed this and it looks good, are you okay with @ziga-lunarg merging it or do you want a chance to review?

I'm ok with this.  This might be something we have to do in other API entrypoints (like EnumPhysDevs).  But let's start with this for now.

CI gfxreconstruct build queued with queue ID 279427.

CI gfxreconstruct build # 5081 running.

CI gfxreconstruct build # 5081 passed.


python311Packages.trackpy: disable failing tests

Description of changes
Fix build (https://hydra.nixos.org/build/238935018)
ZHF: #265948

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 267396 run on x86_64-linux 1

8 packages built:

python310Packages.simple-salesforce
python310Packages.simple-salesforce.dist
python310Packages.trackpy
python310Packages.trackpy.dist
python311Packages.simple-salesforce
python311Packages.simple-salesforce.dist
python311Packages.trackpy
python311Packages.trackpy.dist


feat!: update gcc-10 to gcc-12

Update host gcc from version 10 to version 12
Update arm-none-eabi from version 10 to version 12
Add gdb-multiarch in favor of arm-none-eabi-gdb since it has some dependencies (ncurses5 and python3.8 that we don't want to satisfy)

Looks good. I have a question though: Will the file structure stay the same when we add more compilers/debug tools?

We are not intending on adding more compilers. Tools can be added both in the Dockerfile (for non-apt sources) or in the JSON files for apt sources.
Previously we had the plan to simultaneously support multiple compiler version permutations. But we have abandoned that idea for now.


Support installing test libraries that are not header only

In #13546 we made bigtable_mocks header only. We did this to work around a problem.
CMake complained when we tried to export google_cloud_cpp_bigtable_mocks because it cannot find the linked library: GTest::gmock_main. This problem does not come up with interface (header only) libraries.
Finding GTest/GMock can be complicated. We have a helper that defines missing targets, but note that it only does anything if (BUILD_TESTING). Also, we don't really want to Find(GTest) when building our libraries normally.
https://github.com/googleapis/google-cloud-cpp/blob/48644a71701a5f7c8cd19b658b0356b51bfe5398/cmake/FindGMockWithTargets.cmake#L98-L100
Also, we decided[^1] that we always want to install the mocks (vs. adding another parameter to the CMake configuration). Regardless, we know BUILD_TESTING should not determine whether the mocks are installed. BUILD_TESTING is more for building our unit tests, integration tests, etc.
Part of the problem is that in our cmake-install build, we build with -DBUILD_TESTING=OFF. Of course, this is what most customers will be doing.
[^1]: This decision may be worth revisiting, although I already released a version of google-cloud-cpp that installs mocks without heeding some extra flag :shrug:

Darren will check if this has been solved already.

This has been fixed now that our mock libraries explicitly link GTest. I will send a PR to clean up the bigtable mocks library.


Enable relevant Dropdowns to select File Names

Availing the feature of relevant dropdowns to select file names while uploading the file in 'Files' should help the users to assign the names to the picture or Files what uploading.
This helps to preview to required files in the lists without searching for among all files if the name of file is inappropriately named.
attaching the illustration to understand how the file names are usually mentioned

In the above Image, files names are default fetched from the device while uploading, if the Doctor wants to search X-Ray report amongst the uploaded file he/she needs to search whole set of Uploaded file rather than searching particular file which constitutes in time and energy consumption.
If we avail the dropdowns with Relevant/most or standardly used file names user can select required while uploading the file which avoids confusions and Duplications.

@gayann-au  Hey, I am new to this project but I am really interested to contribute. Can you give an overview of the implementation?

@gayann-au can you provide with a list of file names you would like to see in the dropdown?

Admission Records:
Patient's personal information
Admission date and time
Reason for admission
Medical History:
Past medical conditions
Surgical history
Family medical history
Medication history
Allergies
Progress Notes:
Daily updates by physicians, nurses, and other healthcare providers
Changes in patient’s condition
Responses to treatment
Diagnostic Reports:
Laboratory test results (blood tests, urinalysis, etc.)
Imaging reports (X-rays, CT scans, MRIs)
Biopsy and pathology reports
Electrocardiograms (ECGs)
Other diagnostic tests (EEGs, pulmonary function tests, etc.)
Treatment Records:
Medication administration records (MAR)
Details of procedures and surgeries
Treatment plans and progress
Physical therapy records
Operative Reports:
Pre-operative assessments
Surgical procedure details
Post-operative recovery
Consultation Reports:
Opinions and recommendations from specialists
Discharge Summary:
Condition at discharge
Discharge instructions
Follow-up care recommendations
@aparnacoronasafe I've Suggested few listed in the field. Please Comment for this

Creating an exhaustive list of all possible types of file uploads is difficult.
Alternative:
When user uploads file, DONOT fetch the file name and autopopulate the file name in CARE. Mandate the user to manually type out a file name.

@aparnacoronasafe in our current system, files that are uploaded from device will be auto filled with the name. The user can change the file name before they upload it. Camera captures and audio captures need to be named manually.

Do you want me to remove the autofill for the name when uploaded from device?
cc. @gigincg

@shivankacker
Yes. please remove autofill.
We see a lot of users forgetting to remove the autofilled name to add a more appropriate name. To enforce the behaviour of making users add appropriate names to the files, we want to remove auto-filling of names whenever file upload is used. This includes when file is attached from device (desktop/phone) or when image is uploaded straight from camera.


ArrayMesh TODO about binding add_surface with (not yet implemented) MeshSurfaceData object

Godot version
4.0.beta (77f4670d0)
System information
All
Issue description
Converting an old #warning to a TODO in #67183, opening this issue to keep track of it:
https://github.com/godotengine/godot/blob/77f4670d001b12a5c7e1f50c100301c8fb1b4d1e/scene/resources/mesh.cpp#L1579-L1582
@godotengine/rendering
Steps to reproduce
n/a
Minimal reproduction project
No response

I actually thought of using this function at some point, but without having to use MeshDataTool (because it incurs a cost to create that object and it seems unnecessary given the function is already in ArrayMesh), to bypass some unnecessary conversions done by add_surface_from_arrays (notably when using doubles) and gain a bit of performance. But it's not exposed so far.


Running the program gets a 'CROME_USER_AGENT' error

Running the program gets a 'CROME_USER_AGENT' error.
Traceback (most recent call last):
  File "./archive", line 15, in <module>
    from archive_methods import archive_link, _RESULTS_TOTALS
  File "/home/pi/radio/fm_transmitter-master/ArchiveBox/archivebox/archive_methods.py", line 12, in <module>
    from config import (
ImportError: cannot import name 'CHROME_USER_AGENT'

OS: Raspbian Jessie Lite
Python3 version: 3.5.3
Chrome version: Chromium 65.0.3325.181 Built on Raspbian , running on Raspbian 9.8
Wget version: GNU Wget 1.18

Sorry this is my fault on missing a file in my latest pull request. I'm issuing another pull request now.
For the time being feel free to add the following to config.py
CHROME_USER_AGENT =      os.getenv('CHROME_USER_AGENT',      'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36')

Add that underneath CHROME_HEADLESS

Thanks, that seems to have fixed it :)


Insert correct version in dvo_metrics_publisher output

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update
Refactor (refactoring code, removing useless files)
Unit tests (no changes in the code)
Bump-up dependent library (no changes in the code)
Behavioral tests (no changes in the code)
Integration tests (Kafka, Logstash etc.)
Benchmarks (no changes in the code)
Documentation update

Testing steps
Please describe how the change was tested locally. If, for some reason, the testing was not done or not done fully, please describe what are the testing steps.
Checklist

[ ] pre-commit run -a passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

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

Project coverage is 85.78%. Comparing base (2308402) to head (5e6a942).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
+ Coverage   85.77%   85.78%   +0.01%
==========================================
  Files          28       28
  Lines        1181     1182       +1
==========================================
+ Hits         1013     1014       +1
  Misses        168      168

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


Support 'undeploy' in model registry (don't hide the Edit/Delete kebab when rendering deployments table in MR)

https://issues.redhat.com/browse/RHOAIENG-16078
Description

I added the edit/Delete Kebab to the list of Version deployments
https://github.com/user-attachments/assets/bf5ca36d-c999-4b00-ae57-2acf9dfbc4f7
How Has This Been Tested?

On K serve cluster, go to a model version Deployments tab and verify that we have the edit/Delete Kebab on each deployment
Test Impact

No test Impact
Request review criteria:

Self checklist (all need to be checked):

[X] The developer has manually tested the changes and verified that the changes work
[X] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/retest


[.NET] Input.Number inputs are displaying as "NaN" when no value is set using non-Xceed renderers

Platform
What platform is your issue or question related to? (Delete other platforms).

.NET WPF

Details
The below card renderers with "NaN" in .NET when Xceed Renderes are not in use:

{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.3",
    "body": [
        {
            "type": "Input.Number",
            "id": "numberId"
        }
    ]
}

@RebeccaAnne am assigning this to you to get addressed or backlogged appropriately. Tx


Majority element in an array

Solves issues #225

They are not considering dsa,cp,algorithm repository :(
all the pr will not be considered in hacktoberfest but your contribution will be for lifetime, this will help many students to practice dsa .
Thank you for your contribution :)
you can contribute to other repo


test: replay scroll mainnet txs

to ensure zktrie is robust enough to handle complex rw patterns..

will do this soon


[wallet] add translations back and fix electron build

when I was trying to release new iotex-wallet, i find that the app was broken after build. so I add linter and removed translations loaded from webpack https://github.com/iotexproject/iotex-explorer/pull/844/files.
please investigate, fix it, and try running npm run build in electron.

Could you please share more details of the broken? The app could not able to load or something else?

Closed via #869


docs(coding): reorder of content

Related Ticket(s)
No related issue
Description
This is a change to the flow of the content on the coding page.
Changelog
Changed

Coding page content changes

Under Resources, do you think people will know which of the 4 packages to use or should Resources have a bit more on an introduction of each?

Good call, let me create a section talking about the different packages

Looks good @jeffchew !


Added Creative Commons license (CC-BY 4.0) to landing page.

I've added the CC-BY license to the landing page. Perhaps this should go in the LICENSE file? I'm not sure because I think GitHub may have special handling for the LICENSE file. Anyone Know?
Fixes #2

Note the PR failed with:
Error: The process '/opt/hostedtoolcache/Python/3.9.2/x64/bin/pre-commit' failed with exit code 1
Did I do something wrong?

The failure is a linting error, I'm not sure yet what triggered it but maybe @andersy005 can comment.

From discussion at the IWG meeting 3/11/2021, we should clarify the user-facing language to emphasize that Apache 2.0 covers all code, including any example code snippets shown in notebooks.

From discussion at the IWG meeting 3/11/2021, we should clarify the user-facing language to emphasize that Apache 2.0 covers all code, including any example code snippets shown in notebooks.

Done


CORE-13593: Register Kryo's CordaClosureSerializer correctly to serialize Java lambdas.

We have not registered CordaClosureSerializer correctly, and so Kryo never attempts to use it for classes like:
class UtxoReceiveFinalityFlow(
    private val session: FlowSession,
    private val validator: UtxoTransactionValidator
) : SubFlow<UtxoSignedTransaction> {

where validator has a lambda value at runtime.
Register CordaClosureSerializer correctly. Also remove an unnecessary field from the parkAndCustomSerialize lambda.

This is the original problem.... if the ClosureSerializer was not correctly registered, the ReplaceableObjectKryo when it writes the class for a lambda would actually cause a FieldSerializer for the lambda class to be built, even though it wasn't going to use the serializer because ReplaceableObjectKryo would intercept because lambdas are "replaceable".


Feature: Profile framework that allows the mapping of Custom Resources to corresponding K8's clusters

Hey, I just made a Pull Request!
Introducing a first-class notion of profile that allows for the mapping of customResources defined in the app-config to corresponding clusters. This is achieved by defining a profile name at the cluster level that is defined alongside customResourceProfiles in your app-config like in the following example:
kubernetes:
  customResourceProfiles:
    build:
      - group: 'argoproj.io'
        apiVersion: 'v1alpha1'
        plural: 'rollouts'
    run:
      - group: 'sample.io'
        apiVersion: 'v1alpha1'
        plural: 'tests'
  serviceLocatorMethod:
    type: 'multiTenant'
  clusterLocatorMethods:
    - type: 'config'
      clusters:
        - url: https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}
          name: kind
          authProvider: 'serviceAccount'
          skipTLSVerify: true
          skipMetricsLookup: true
          serviceAccountToken: ${KUBERNETES_SERVICE_TOKEN}
          customResourceProfile: build

Here the kind cluster has a customResourceProfile field that is the profile name build that we want to use for this cluster. Kubernetes.customResourceProfiles in our config defines which customResources belong to that profile name and is later mapped into the clusters details in the KubernetesFanOutHandler
This resolves issue #15994
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[X] Added or updated documentation
[X] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

@Rugvip removing stale label

I believe some of these questions are currently being discussed on my team, thanks for the feedback.


move helpers to chef-ingredient cookbook

The chef-ingredient is a more appropriate place for these primitives, as they will also be necessary for other "chef server" type cookbooks.

We actually don't need to move all the helpers, just implement an fqdn_resolves? helper. The others are implementation-specific to this cookbook.


🔥 Deletion of toStrictlyPositiveInt extension function

📝 Description
We would like to remove the Number.toStrictlyPositiveInt() extension function.
🔗 Dependencies
This issue is blocked by the following ones:

[x] #444

✅ Checklist

[ ] Remove the declaration, update the public API binaries and the unreleased changelog.
[ ] Close this issue as completed and update tracking ones if present.

We are not ready to implement this change.


chore:fix typo

RHIDP-3522: Fix docs

Version(s):

1.2+
Issue:

https://issues.redhat.com/browse/RHIDP-3522
Link to docs preview:

Reviews:

[ ] SME: @ mention assignee
[ ] QE: @ mention assignee
[ ] Docs review: @ mention assignee

Additional information:

/cherrypick 1.2.x


Implement test in our CI to make sure there is no error introduced in participants.tsv

E.g. we could test the type (and range) of column, e.g.: age should be int betwen 18-70, etc.
We should also look if bids-validator has already a mechanism to do that

If bids-validator doesn't we should propose some sort of typed schema for it!


{cmd/,}imports: add whitelisting

I am involved in a project that has a tight import budget due to the the hardware that the code runs on. It would be useful in that project to be able to have import whitelisting in addition to blacklisting.
Addition of whitelisting adds some semantic complexity that needs to be discussed dealing with the order of list application. ISTM that the most sensible order is to whitelist first and then apply the blacklist to that, carving out items in the whitelist that are not wanted. In the case that the whitelist is empty, then everything is initially whitelisted. In the case that the blacklist is empty then only items in the (non-empty) whitelist are accepted. If both are empty, it is a no-op.
After the API is settled, I'll do the work for this.

yes, speaking of past experience, whitelist and then blacklist is the most sensible and palatable option.
SGTM.

SGTM


Ignore NACK for unwatched resources

In response to a cherrypick label: new pull request created: #33161

In response to a cherrypick label: new pull request created: #33162


How to use with bootstrap4?

How to use this widget with bootstrap4?

I just overwrite the SelectizeAsset bundle configuration on app config via assetManager component, change dependency

This is extremely important, we cannot push to production unless we can pass the pen tests I have made 😭
CVE-2018-14042

Hi, any news for bootstrap4?


Can't read structure. Help!!!

Hello.
A reading/writing Bytes and Markers went successfully. That's great!
I've tried to read data from simpliest structure.
I've got an exception. NullReferenceException 'Object reference not set to an instance of an object.'
I followed the steps described in Documentation for the library.
I can't get what's wrong in the code. Please see screens.

thanks in advance

Hello there,
Of course I'll try do it this way. Thanks a lot.
But, as far as I understood "get" and "set" are used in declaration for a class reading. If we follow this documentation, for a structure reading isn't written that there should be used "get" and "set" in structure declaration. Isn't it?
Either Documentation is poorly written or there's no difference between class reading and ctructure reading.

@Mallowan
ReadStruct determines its size by field types (Boolean, Int32...) only.
ReadClass uses its properties (get, set) followed by field type to define final size.
In this case your testStruct should be fine without properties (at least contain 8 bools as @watashimeandeu recommends).

Could someone share with working code of reading a structure to textBoxes and reading a structure to class with further output of values in textBoxes?
Mallowan

https://github.com/killnine/s7netplus/blob/9fd515280a4fe29ad41ce3d26eacdfd7866aeeb4/S7.Net.UnitTest/S7NetTests.cs#L211
https://github.com/killnine/s7netplus/blob/9fd515280a4fe29ad41ce3d26eacdfd7866aeeb4/S7.Net.UnitTest/Helpers/TestLongStruct.cs#L11

Of course I saw these tests! If I got them I wouldn't write here my questions.
To me this is pretty complicate things to get such things on C# language.
I'm just young Step 7 programmer and in area of C# I have small experience. So I need examples.
I would be appreciate if someone would provide a code baced on real C# project.
P.S. I've found some sample projects in the Web.

Mesta has written about S7.Net in his blog, an example is included, too. It's a good start to get familar with the library.
Communication with Siemens S7 Plc with C# and S7.Net plc driver

@rapha-dev,
First of all thank you for replying. I read this blog in the past and studied this sample. And as  I wrote above this example from Mesta is pretty poor.
Context of events of provided sample  project:
-connection (start);
-disconnection (start);
-set Word variable;
-set Real variable;
-set DoubleInt variable;
-set DoubleWord variable;
There is no word about reading in the project code;
There's no word about a structure reading and a class reading in project code;
In the blog the class reading is positioned as a special feature of library, though.
If I'm not right, please correct me.
Mallowan

@Mallowan
For my own i use classes to read from PLC and single statements to write.
A class read looks like this. _plc is a S7.Net.Plc instance.
        /// <summary>
        /// Read Class/Entry from PLC
        /// </summary>
        /// <param name="dsNumber">Entry no</param>
        /// <returns>False on read error</returns>
        public bool ReadFromDb(DB dbClass, int dsNumber)
        {
            if (_plc.IsConnected)
            {
                _plc.ClearLastError();
                _plc.ReadClass(dbClass, dbClass.DBNo, ((dsNumber - 1) * dbClass.StructLen) + dbClass.Offset);        // store result in dbClass-Instance
                if (_plc.LastErrorCode == ErrorCode.NoError)
                {
                    return true;
                }
            }
            return false;
        }

Each DB has its own class.
    /// <summary>
    /// Struct of DB800 entries
    /// PAR_LOG
    /// </summary>
    public class DB800 : DB
    {
        /***************************************************************************************
         * Must not contain other public properties than fillable by PLC maintaining order !!! *
         * aka "public Type propertyname { get; set; }"                                        *
         ***************************************************************************************/

        public DB800()
        {
            // set constraints
            Offset = 50;
            StructLen = 20;
            MaxLen = 2000;
            DBNo = 800;
        }

        #region Properties filled by PLC:ReadClass
        public Int16 Id { get; set; }
        public Int32 Timestamp { get; set; }
        public Double Par_Alt { get; set; }
        public Double Par_Neu { get; set; }
        public Int16 ProgrammNr { get; set; }
        #region 2 Byte = 16 Bools
        public Boolean Bool_Neu { get; set; }
        public Boolean Bool_Alt { get; set; }
        public Boolean Reserve_2 { get; set; }
        public Boolean Reserve_3 { get; set; }
        public Boolean Reserve_4 { get; set; }
        public Boolean Reserve_5 { get; set; }
        public Boolean Reserve_6 { get; set; }
        public Boolean Reserve_7 { get; set; }
        public Boolean Reserve_8 { get; set; }
        public Boolean Reserve_9 { get; set; }
        public Boolean Reserve_10 { get; set; }
        public Boolean Reserve_11 { get; set; }
        public Boolean Reserve_12 { get; set; }
        public Boolean Reserve_13 { get; set; }
        public Boolean Reserve_14 { get; set; }
        public Boolean Reserve_15 { get; set; }
        #endregion
        public Int16 Par_Id { get; set; }
        #endregion
    }

    public class DB
    {
        /***************************************************************************************
         * Must not contain other public properties than fillable by PLC maintaining order !!! *
         * aka "public Type propertyname { get; set; }"                                        *
         ***************************************************************************************/

        #region Contraints
        /// <summary>
        /// Offset to first entry in Bytes
        /// </summary>
        public int Offset;

        /// <summary>
        /// Length of structure (entry) in Bytes
        /// </summary>
        public int StructLen;

        /// <summary>
        /// Max count of entries
        /// </summary>
        public int MaxLen;

        /// <summary>
        /// DB number
        /// </summary>
        public int DBNo;
        #endregion
    }

My DBs have a main structure followed by identical sections, like DB800 (data logger). Therefor you can set an offset to start reading sections.
The DB800 is defined in Step7 and contains multiple UDTs following this section:

Hope it helps a little.


Rolling back to a snapshot does not upgrade the worker nodes to the previous k8s version

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster - 1 etcd, 1 control, 2 worker nodes 1.15
Take a snapshot S1
Upgrade k8s version to 1.16
When the cluster comes up "Active" restore to snapshot S1
The cluster goes to "Updating" state. And comes back Active
control plane and etcd node go into "Unavailable" state and the k8s version changes to 1.15
Worker nodes' k8s version does NOT change to 1.15.

Actual Result:
Worker nodes' k8s version is 1.16 and does NOT upgrade to previous version
Expected Result:
Worker nodes' k8s version should have changed to 1.15
Other details that may be helpful:
This was tested here https://github.com/rancher/rancher/issues/25647#issuecomment-600885076 Scenariorancher/rancher#2
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head - commit id 02956b782
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): rke do
Kubernetes version (use kubectl version):

1.15 to 1.16

Other issues that were seen when testing with the same rancher server version:
Scenario 1:
Take a snapshot
upgrade k8s
power down one worker node
cluster stuck in upgrade
restore to snapshot
the cluster is stuck in upgrade, powered down node, is stuck in “Upgrading”.
Scenario 2:
CLuster spec - 1 etcd, 2 control, 3 worker node, max Unavailable worker - 2
take a snapshot
power down one worker
Upgrade k8s value
except Powered down worker, all nodes get upgraded, cluster is stuck in upgrading state.
Restore to snapshot.
The cluster is stuck in upgrading. Worker nodes are not upgraded to the previous k8s version. Control and etcd can be seen in 1.15 k8s version.

Verified all the scenarios on laster-head - commit id: 44f73ad06
Scenario#1

Deploy a cluster - 1 etcd, 1 control, 2 worker nodes 1.15
Take a snapshot S1
Upgrade k8s version to 1.16
When the cluster comes up "Active" restore to snapshot S1
The cluster goes to "Updating" state. And comes back Active
Control and etcd nodes' k8s changes.
Worker nodes' k8s version changes to 1.15 (after sometime after cluster becomes active)

Scenario#2

Deploy a cluster - 1 etcd, 1 control, 2 worker nodes 1.15.
Take a snapshot
upgrade max-pods value
power down one worker node during the upgrade process.
cluster stuck in upgrade as the max unavailable worker is hit
restore to snapshot (etcd,k8s+config)
Cluster comes back to Active state.
Powered down node will be in "Unavailable" state

Scenario#3

CLuster spec - 1 etcd, 2 control, 3 worker node, max Unavailable worker - 2
take a snapshot
power down one worker
Upgrade k8s value
except Powered down worker, all nodes get upgraded, cluster is stuck in upgrading state.
Restore to snapshot.
The cluster comes to Active state. Powered down node is stuck in "Unavailable" state.


Fix tflite export

Hi,
I was looking into converting model using tflite converter and stumble on two issues:

tf.image.combined_non_max_suppression not supported by tflite
tf.size not supported by tflite (used in tf.meshgrid function)

For tf.image.combined_non_max_suppression I found a fix here:
https://stackoverflow.com/questions/64490203/tf-lite-non-max-suppression
For tf.size I simply reimplement a meshgrid function that suit our needs.
I made some test and got identical results using tools/export_tflite.py and detect.py on data/girl.png using tiny darknet.

It may solve issues #200 and #205

It may solve issues #200 and #205

Just tested this, works like a charm.
Keep in mind, you need to feed the correct parameters to the export_tflite.py script.

@ZwAnto For some reason, I'm unable to generate a pull request to your repository.
I fixed an issue and also added a script to run inference on TFLite.
Check it out at https://github.com/andreselizondo-adestech/yolov3-tf2

just got some time to test this today seems good!

Do you guys know how to interpret the results coming out of tflite? I am not sure how to interpret it. Thank you!


[Feature][Zeta][REST-API] Returns checkpointing statistics for a job.

please assign  to me.

please assign to me; thx。


Make _isLocalCreationLocation public

Description
This makes _isLocalCreationLocation public. Debugging tools might benefit from the ability to determine widgets/ elements which live inside the project.
Related Issues
This closes #62187 as discussed with @jacob314
Tests
I added the following tests:
"debugIsLocalCreationLocation test" in widget_inspector_test.dart.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

I removed the whitespace!

@Norbert515 Can you please rebase your changes onto the latest master? That should fix the test failures.

@goderbauer done


How can I install without CocoaPods?

I want to use the project without the dependency of CocoaPods in my project. I have copied the following files:
Base64.swift
Claims.swift
Decode.swift
JWT.swift
But I am getting errors for import CryptoSwift
From the JWT Xcode project what all do I need to copy to getting it running? Thank you!

@lostatseajoshua You will need to add the CryptoSwift dependency (https://github.com/krzyzanowskim/CryptoSwift).


ADF V2 Edit Trigger

When I am trying to create event trigger in azure data factory version 2 with blob path begins with as '/containername/foldername/subfoldername/' I am getting error as the content of begins with is not an accepted format. I have also tried path as '/containername/blobs/foldername/subfoldername/' getting the same error

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

ID: b7ee5166-ff40-f4ed-ce07-5312f935e388
Version Independent ID: 68f01b43-e3b2-003b-24cb-446a08aa0c1b
Content: Create event-based triggers in Azure Data Factory
Content Source: articles/data-factory/how-to-create-event-trigger.md
Service: data-factory
GitHub Login: @douglaslMS
Microsoft Alias: douglasl

@ramveluit The first path is clearly not valid because it does not include the required /blobs/ segment, as explained in the Note on the page.
For the second path, I'm investigating whether nested subfolders are allowed.

@ramveluit Subfolders are allowed. '/containername/blobs/foldername/subfoldername/' is valid for Blob path begins with. However it is NOT valid for Blob path ends with since it will never match any filename. A storage path must end with a filename.

@ramveluit Is there any more info that you need? Does our response match what you observe in your testing?

#please-close


Update all functional tests to use the default environment instead of kind-radius

Overview of feature request
As of now, we have some tests that use kind-radius in a hard-coded way. We need to update all of them to use the environment that the test is running on. That can be collected from the environment variables.
Acceptance criteria
All tests should use the environment that the test is running on.
Additional context
Here is the list of the functional tests that are using kind-radius: https://github.com/search?q=repo%3Aradius-project%2Fradius "kind-radius"&type=code.
AB#10819

Instead of removing the hardcoding what if we created a new environment and resource group for each test? Right now we have to generate wierd names to avoid collisions between resources. We could solve that problem by using a separate environment for each one.


Version history table in release notes is not generated in translated docs

Did you find a doc bug or broken link that needs to be fixed?
English Qiskit Docs: https://qiskit.org/documentation/release_notes.html#id187
Korean Qiskit Docs: https://qiskit.org/documentation/locale/ko_KR/release_notes.html#id155
We probably might want to generate the version history table in all docs.

To fix this you'll need to modify the version history table sphinx extension: https://github.com/Qiskit/qiskit/blob/master/docs/versionutils.py#L75-L175 to use the git history from github instead of a local checkout. It was originally written assuming that it would be run from the qiskit repository and could just run git from the sphinx build dir and access the tags and historical setup.py files. This doesn't work for the translated docs because they've been moved to a separate repository so when the extension runs in qiskit-community/qiskit-translations it does git tag which returns an empty list. It shouldn't be too hard to do, basically just add a git clone step to a tmpdir and use that local checkout for all the git operations in the extension.

Thank you

Closing as it appears to be solved.


SUI specific RBAC list

The current RBAC system feature list doesn't map well to the SUI; and in various chats with SUI parties we really need to expand the system, however that's going to take more time and resources (e.g. we will need Ops UI work to "control" the RBAC).
So, I'd like to propose the following:

As we build out the new UX we "attach" a new "feature" to each and everything.
We will build an abstraction layer which will "translate" the existing features to the new feature or features.
We will adjust the abstraction layer once there are resources to tackle the necessary "backend" / Ops UI work.

Thoughts?
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1497728

/cc @Loicavenel @gtanzillo @Fryguy @gmcculloug @dclarizio @AllenBW

So, I'd like to propose the following:

As we build out the new UX we "attach" a new "feature" to each and everything.

We can (and do) do this in existing RBAC, unless I don't fully understand.

We will build an abstraction layer which will "translate" the existing features to the new feature or features.

This is because we want to try to keep using the OPS service features for SUI?

We will adjust the abstraction layer once there are resources to tackle the necessary "backend" / Ops UI work.

Not sure what backend/OPS UI work you mean, adding the RBAC features?  Because that's quite simple actually.
Another proposal . . . how about we simply make a Service UI section in the existing RBAC that more closely matches the features required there.  If/when we remove the Service section from the OPS UI, we simply remove the old service related RBAC features.

We can (and do) do this in existing RBAC, unless I don't fully understand.

So, what I mean is brand new feature "names" not trying to sledgehammer existing ones.

This is because we want to try to keep using the OPS service features for SUI?

I didn't want to create work that cannot be done this release for other teams.

Not sure what backend/OPS UI work you mean, adding the RBAC features? Because that's quite simple actually.

Yes, I wasn't sure how to add new features.

how about we simply make a Service UI section in the existing RBAC that more closely matches the features required there

That's what I would like to do in the long run, the abstraction layer was how do we get from where we are at today to a new set of features without creating lots of work outside the team.

Yes please to a UI/Service section in existing RBAC.  This'll save the "guessing which feature does what in the service ui" for admins everywhere also make gating functionality easier for the devs (no more trying to map functionality against in place permissions).  As in intermediary, an abstraction layer that maybe "bulk" maps functionality makes sense.  Ultimately, who do we gotta see about gettin' some of of those product feature sections (or zones? not sure what the sub collections are called).

@AllenBW as long as we follow the pattern with the low level grouping, like having the View/Operate/Modify sub-trees so the admins can easily turn on sets of features, I see no reason not to add a new top level section called "Service UI" (feature ID sui).  Perhaps all sub features below that will be sui_*.  If we can map them all out, we can add them prior to adding the checks, since no one will be using them.
Let's get some feedback/buy in from PM . . . @Loicavenel @bascar @jonnyfiveiq

absolutely the ServiceUI should be in RBAC, and this should be configured in the RBAC control in the OpsUI.
thanks

On 22 Aug 2017, at 16:04, Dan Clarizio<EMAIL_ADDRESS>wrote:
@AllenBW https://github.com/allenbw as long as we follow the pattern with the low level grouping, like having the View/Operate/Modify sub-trees so the admins can easily turn on sets of features, I see no reason not to add a new top level section called "Service UI" (feature ID sui). Perhaps all sub features below that will be sui_*. If we can map them all out, we can add them prior to adding the checks, since no one will be using them.
Let's get some feedback/buy in from PM . . . @Loicavenel https://github.com/loicavenel @bascar https://github.com/bascar @jonnyfiveiq https://github.com/jonnyfiveiq
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ManageIQ/manageiq-ui-service/issues/882#issuecomment-324136315, or mute the thread https://github.com/notifications/unsubscribe-auth/AB_NPexwlsXA41iVdz2FKrcBHwwM8Vyfks5sazREgaJpZM4O-57s.

Many Thanks,
JOHN HARDY
CLOUDFORMS
SENIOR PRINCIPAL PRODUCT MANAGER
Red Hat
<EMAIL_ADDRESS>  M: +44-(0)7770-676866
www.cloudformsnow.com http://www.cloudformsnow.com/
TRIED. TESTED. TRUSTED.

Here is a write-up on the subject.. https://docs.google.com/document/d/10p69nnTT7dG0hnCBCJkcapjlxVd08J0A2QRX054B_08/edit

Tracking here: https://www.pivotaltracker.com/story/show/150671272

@dclarizio or @martinpovolny or @himdel how do we add a new role / product feature?
/cc @chalettu @Loicavenel

@chriskacerguis there are 2 things here, is to update Roles with SUI features like described here: https://docs.google.com/document/d/10p69nnTT7dG0hnCBCJkcapjlxVd08J0A2QRX054B_08/edit
And then or we create a new out-of-the-box Group + Role just for SUI or we update existing one

@chriskacerguis
Hey, we just went through this for the API section!
You gotta do this:
https://github.com/ManageIQ/manageiq/pull/16021
and this:
https://github.com/ManageIQ/manageiq-ui-classic/pull/2230
Let me or @h-kataria know if you need any assistance

Thanks @dclarizio

@chalettu so let's start with adding a "Self Service" top level, then for right now add the following:

Show Help Menu
Show UI Switcher

@chriskacerguis Great..

PR For ManageIQ repo.
https://github.com/ManageIQ/manageiq/pull/16068

PR for classic-ui modifications. https://github.com/ManageIQ/manageiq-ui-classic/pull/2260

Screen shot of new feature tree.

@chriskacerguis For Help Menu, this was already for OPS UI.. We should use the same place.

So in talking with @chalettu we need to rework the RBAC module in the SUI.
@chalettu Wondering if we should make the RBAC module an NPM lib?

@chriskacerguis , should we close this since we now have the ability implemented where we can have RBAC permissions defined for SUI?

@chalettu yeah, I was going to leave it open to rework the whole thing, but I think we should make a new issue.


Adding Mateusz Loskot as subproject owner

/verify-owners

/lgtm

@mloskot can you take a look at https://github.com/kubernetes/community/blob/master/community-membership.md#member and follow the steps as necessary?

@jsturtevant First, as I mentioned to @knabben - thank you for your trust - that although becoming an owner w/could help streamline collaboration on the SWDT CLI, I am not sure that my contributions so far carry enough weight to make me eligible for the ownership honours.

and follow the steps as necessary?

I have read most of the documents and fulfilled all the formal requirements, apart fro requesting for a 2nd sponsor.

/verify-owners

For the records, my membership requests have been accepted:

https://github.com/kubernetes/org/issues/4687
https://github.com/kubernetes/org/issues/4688

Thank you everyone!


Invalid type errors are being thrown for datetime values that look like 2023-02-09 12:20. This is for the dateTime, dateTimeStart, and dateTimeEnd columns in the WWMeasure table.

I'm not able to find this in my (new) errors. Maybe it's fixed already.

Ok, I can double check. Is it passing on the version that's on main?

yes, i was testing on the summary branch but it should be the same

Closing, as I don't get this error on main.


Provide enabling/disabling of websocket.Upgrader's CheckOrigin

Usage example:
func addSubHandler(mux *http.ServeMux, port int) {
	sock, _ := pub.NewSocket()

	sock.AddTransport(ws.NewTransport())

	url := fmt.Sprintf("ws://<IP_ADDRESS>:%d/sub", port)

	if l, e := sock.NewListener(url, nil); e != nil {
		die("bad listener: %v", e)
	} else if h, e := l.GetOption(ws.OptionWebSocketHandler); e != nil {
		die("cannot get handler:", e)
	} else {
		mux.Handle("/sub", h.(http.Handler))
		l.SetOption(ws.OptionWebSocketCheckOrigin, true)
		l.Listen()
	}

	go subHandler(sock)
}

maybe the option name "OptionWebSocketCheckOrigin" is misleading. By setting it to true we actually disable CheckOrigin. I will rename it.

Your code changes look ok, but you need to remerge against the latest code (there was another outstanding PR ahead of you in the queue.)  Also, I have a few other rules that you need to adjust before I will take your PR.

One commit per PR please -- I don't need to see the gory history of your changes.
Please make sure that your code & comments fit on 80 columns of text.  Note that I use and expect 8 character tabs for indents.
I'd really to have you file a separate "issue" reflecting the problem with detail, and have your commit comment be of the form "fixes # "  -- please see the git log to see other examples.  The synopsis in your commit message should match exactly the synopsis in the issue.

Thank you.

A few more things.

It would be nice for this option to be gettable.  So perhaps a boolean variable can be set to reflect it.

OptionWebSocketCheckOrigin is actually clearer and easier to use, you just need to make the default "true".  Again, that would be something you can do when you fix the boolean above.

done. pls see #267.


Implement nf-config check in genmake2

#158 implements some automated checks to work out the correct paths for the NetCDF library. While this is very helpful, having it implemented in only two optfiles means that it is not always available. If we can implement that solution, or something very similar, inside genmake2 it would be available all the time.
@jahn apparently has some code that might be useful.

I definitely like that idea, my automatic tests regularly fail, because the netcdf environment changes and my hacks to retrieve the correct path break.
You probably meant "nc-config", though?

I didn't, but possibly I should have. This suggests either should work.
However, it looks like they have removed nf-config for now, but possibly there are plans to put it back.

weakly related to this is issue #82


[GAE-Java] Pack JNI lib libgrape-jni.so into grape-runtime.jar

Codecov Report

Merging #2330 (eb2f180) into main (11c1715) will decrease coverage by 37.90%.
The diff coverage is n/a.

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #2330       +/-   ##
===========================================
- Coverage   72.85%   34.94%   -37.91%
===========================================
  Files          89       89
  Lines        9956     9956
===========================================
- Hits         7253     3479     -3774
- Misses       2703     6477     +3774

Impacted Files
Coverage Δ

...ython/graphscope/tests/unittest/test_cython_ast.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...ython/graphscope/tests/unittest/test_serailaize.py
0.00% <0.00%> (-100.00%)
:arrow_down:

...aphscope/tests/kubernetes/test_resource_builder.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/analytical/udf/patch.py
3.47% <0.00%> (-96.53%)
:arrow_down:

python/graphscope/tests/unittest/test_lazy.py
0.00% <0.00%> (-96.19%)
:arrow_down:

python/graphscope/tests/unittest/test_app.py
0.00% <0.00%> (-96.11%)
:arrow_down:

...thon/graphscope/tests/unittest/test_scalability.py
0.00% <0.00%> (-96.00%)
:arrow_down:

...hon/graphscope/tests/unittest/test_create_graph.py
0.00% <0.00%> (-92.73%)
:arrow_down:

python/graphscope/tests/unittest/test_graph.py
0.00% <0.00%> (-85.47%)
:arrow_down:

...on/graphscope/tests/kubernetes/test_demo_script.py
0.00% <0.00%> (-81.76%)
:arrow_down:

... and 47 more

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 11c1715...eb2f180. Read the comment docs.


[release-1.7] lib,oci: drop stateLock when possible

Should fix a possible deadlock in, at least, ListPodSandbox.
There seems to be no reason to hold stateLock when doing operations on
the memory_store for containers and sandboxes.
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>
- What I did
- How I did it
- How to verify it
- Description for the changelog

LGTM

Interesting failure in CI running unittests.

Restarted the job.


Button Icon Not Centered in Chrome

Chrome Version 75.0.3770.100

Firefox 67.0.2

I had the same problem, to solve it you need to import material-icons.css before vuesax.css


statusbar disappears

Hey there,
first thanks for all your efforts.
Now I have the problem that my statusbar disappears as soon I pull the android menu from top (or any android dialog pops up).
I guess I could call .show() all the time but is there a general solution for that?

@fentas what was your workaround? To call show() within an event handler? If so, which event handler? Thanks :)

In the end I used combination of cordova-plugin-statusbar and cordova-plugin-fullscreen like this
document.addEventListener("deviceready", function () {
      setTimeout(function() {
        if ( window.StatusBar ) {
          navigator.splashscreen.hide();
          if (ionic.Platform.isAndroid()) {
              setTimeout(function() {
                AndroidFullScreen.showUnderStatusBar(function success() { StatusBar.show(); }, function error() { StatusBar.show(); });
              }, 500);
          }
        }
      }, 500);

      if ( window.StatusBar )
        if (ionic.Platform.isAndroid()) {
          StatusBar.show();
          ionic.Platform.fullScreen(true, false);
          StatusBar.overlaysWebView(true);
          StatusBar.backgroundColorByHexString(STATUSBAR.default);
         }
        else {
          ionic.Platform.fullScreen(true, true);
          StatusBar.overlaysWebView(true);
          StatusBar.show();
        }
})

This did the trick for me.


0ms latency

0ms of latency is super fast, but I don't think it's real :)
This is a realy nice feature, btw. Kudos!

Seem there are some errors :) I reverted 0.3.8
Thanks for reporting!!!


Added support for dataModuleShape and eyeShape

Closes https://github.com/EnsembleUI/ensemble/issues/1026

@snehmehta added it as well, Here it: https://github.com/EnsembleUI/ensemble-web-studio/pull/693


0056 - Merge Intervals

Description of the Problem
Given a collection of intervals, merge all overlapping intervals.
Example 1:
Input: intervals = [[1,3],[2,6],[8,10],[15,18]]
Output: [[1,6],[8,10],[15,18]]
Explanation: Since intervals [1,3] and [2,6] overlaps, merge them into [1,6].

Example 2:
Input: intervals = [[1,4],[4,5]]
Output: [[1,5]]
Explanation: Intervals [1,4] and [4,5] are considered overlapping.

NOTE: input types have been changed on April 15, 2019. Please reset to default code definition to get new method signature.
Constraints:

intervals[i][0] <= intervals[i][1]

Code
class Solution:
    def merge(self, intervals: List[List[int]]) -> List[List[int]]:

Link To The LeetCode Problem
LeetCode

Hi, Can I work on this?

I want to work on this


Merge dev into main

Casual merging of features with main;

@mgpai22, now waiting for your approval for merging. I will add more logging in the future but we have a base for now.

Look good!


Write a document explaining the features and about Bootstrap.

I would like to work on this assign this to me and do you want me to perform this in a readme.md format or just normal txt file format.

@thechangamunda yes you can do it and add in the readme.md file as well as follow the sequence of the folders as per CONTRIBUTING.MD.


fix(WebSocket): emit "open" event for server connections

Released: v0.26.15 🎉
This has been released in v0.26.15!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/interceptors@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Should GetVirtualPath return PathString

@rynowak
I created a new PR. This is for #31. Since I have 40+ tests to update + probably more from the MVC repo, I'd like to make sure this fix is correct before updating more tests.
Thanks,

Hi @ianhong, I'm your friendly neighborhood Microsoft Open Technologies, Inc. Pull Request Bot (You can call me MSOTBOT). Thanks for your contribution!

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

TTYL, MSOTBOT;

@rynowak
I updated per your comments..
Thank you

:shipit: for the design

@rynowak
Could you take a look at this? I updated those tests, I'm now working on the MVC repo for this change.

@rynowak
Please ignore this. I'll send another PR. This PR seems just confusing..


iFrame has fixed width of 300px, without any styling defining 300px

Describe the bug
Whatever content I place inside the iframe, the width is always 300px. Will not move; overflow is hidden if I add something >300px and still takes up 300px if my content is smaller than that.
To Reproduce
Steps to reproduce the behavior:

Set up new web page with desired content.
Set up second page; Import script; add iframe to index.html
Inspect element width.

Expected behavior
Width should change dynamically, like height does.
Screenshots
Three screenshots attached, showing the iframe width always at 300px regardless of content width.

Desktop (please complete the following information):

OS: Mac OS 10
Browser: Chrome 97

Additional context
I also made two code sandboxes, and embedded one site in the other via an iframe. Unfortunately the iframe is hidden for some reason, but if you inspect and look for the iFrame with id="inlineFrameExample" (and not code sandbox's button iframe) you'll see it's 300px wide: https://exzts.csb.app/
The code for the parent site is here: https://codesandbox.io/s/eloquent-flower-exzts?file=/index.html
The code for the framed site is here: https://codesandbox.io/s/iframe-test-ss8fs

You have a lot of CSS on your iFrame tag. Other than that not really sure. Think you will have more luck on StackOverflow.

I'm not sre it is purely CSS-related, though. I removed all styles from the embedded site and the parent site except for z-index, and set sizeWidth: true in my window.iFrameResize options. Still always sizing my iframe to be 300px wide, but height resizing is working perfectly.

Not sure why the resizer isn't picking up on width change.

This is the native behaviour of an iframe, actually any replaced element in html has a default height of 150px and default width of 300px. Solution? Define the elements size.


change label seperator from default comma to options

Currently, we use hard code comma as the label seperator for concatnating key-value labels. The label string is like:
labels:beta.kubernetes.io/arch:amd64,beta.kubernetes.io/os:linux,kubernetes.io/hostname:<IP_ADDRESS>

This is fine until we use Bosun as the alert system and use the group by labels to search for labels.
As currently, bosun use comma to split queried tag key and tag value. For example if the query expression used for query InfluxDB from Bosun is something like this:
$limit = avg(influx("k8s", '''SELECT mean(value) as value FROM "memory/limit" WHERE type = 'node' GROUP BY nodename, labels''', "${INTERVAL}s", "", ""))
$allocatable = avg(influx("k8s", '''SELECT mean(value) as value FROM "memory/node_allocatable" WHERE type = 'node' GROUP BY nodename, labels''', "${INTERVAL}s", "", ""))

Then, we will get tagkey and tag value string like this:
nodename=<IP_ADDRESS>,labels=beta.kubernetes.io/arch:amd64,beta.kubernetes.io/os:linux,kubernetes.io/hostname:<IP_ADDRESS>

When split by a comma, something wrong happened. we split it wrongly to this:
nodename=<IP_ADDRESS>
labels=labels:beta.kubernetes.io/arch:amd64
beta.kubernetes.io/os.linux
kubernetes.io/hostname:<IP_ADDRESS>

the last two tag key-value pairs is wrong. This will make bosun confused and panic with something like "panic: opentsdb: bad tag: beta.kubernetes.io/os:linux".
This PR will add a new command line --label-seperator for heapster. And, in order to keep backward compatibility, the default value for --label-seperator is comma. We can specify semicolon as the seperator to walk around the bosun restriction

This change is

@piosz  @AlmogBaku

LGTM, please squash commits before merge

@piosz done

Can you add docs? Also I think adding that to metrics will be also useful
in this scenario
On Thu, 24 Nov 2016 at 0:01 Ning Xie<EMAIL_ADDRESS>wrote:

@piosz https://github.com/piosz done
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/heapster/pull/1367#issuecomment-262640562,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGCpu39WT7iUeDRxy5D2uCzXJlGT3UBks5rBLeigaJpZM4Kqesu
.

+1 to https://github.com/kubernetes/heapster/pull/1367#issuecomment-262653259

@AlmogBaku @piosz Doc about --label-seperator command line has been added to docs/storage-schema.md.

@k8s-bot ok to test

Thanks @andyxning. I'll merge once I'll be able to make tests green.


Remove repost time

Should make the pause longer when removing reposts, it is too quick and it makes it not remove reposts at all.

What i meant to say is you get ratelimited because you remove reposts too fast that it cancels :)


fix: refactor tagging implementation for OCI Store

Fixes: #461

Codecov Report

Merging #462 (a568f25) into main (0c6633b) will increase coverage by 0.04%.
The diff coverage is 87.09%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #462      +/-   ##
==========================================
+ Coverage   72.59%   72.63%   +0.04%
==========================================
  Files          48       49       +1
  Lines        4477     4495      +18
==========================================
+ Hits         3250     3265      +15
- Misses        919      921       +2
- Partials      308      309       +1

Impacted Files
Coverage Δ

extendedcopy.go
72.72% <75.00%> (ø)

content/oci/oci.go
73.41% <86.36%> (+0.28%)
:arrow_up:

internal/containers/set.go
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Documentation missed for .finally() operator

RxJS version:
5.x
Code to reproduce:
N/A
Expected behavior:
N/A
Actual behavior:
N/A
Additional information:
I've just found that there's no finally operator described as Observable method here http://reactivex.io/rxjs/class/es6/Observable.js~Observable.html
But this method exists and successfully migrated from 4.x

Just verified that this method is indeed implemented but documentation is missing.
The source is located https://github.com/ReactiveX/rxjs/blob/master/src/operator/finally.ts
It is working as intended in RxJs 5.0.3 - https://jsbin.com/jugogiy/edit?html,js,console

It is known documentation is not fully migrated and missing, instead of having each individual issue I've created umbrella issue at #2656 to track it.


Proposed fix for [DROOLS-1364]

Proxy KieSession objects in InMemorySessionFactory so that they can
be removed from the internal sessions collection on dispose/destroy

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Please note the second commit, which fixes a small issue with the original proposal.

I'd prefer to avoid any kind of proxies and instead extend the SessionFactory interface to provide method to remove the ksession instead.

I understand your reasoning on this and probably would have approached it in a similar fashion except that the code included a request for a proxy, and it would have been a much bigger change to hook into a listener somewhere (which, right now, I'm not even sure exists for the needed event).

closing as this should be addressed differently and for the case describe din DROOLS-1364 - runtime manager should not be used


Repo sync for protected CLA branch

The pull request is created from master637392639147512994 to master to fix git push error for protected CLA branch

@cmcclister : Thanks for your contribution! The author(s) have been notified to review your proposed change.


youtube/vimeo wrapper doesn't work on iOS

I even tested using the demo here:
http://www.mediaelementjs.com/examples/?name=youtube
and although the standard player works perfectly on ios and android, this wrapper does not
I saw that this feature was "experimental" but that was 3yrs ago. Surely there's been some progress?

@BHEADRICK Closing old issues. If you'd like to reopen this, let us know. Thanks!


Inverted flame graph

Added inverted flame graph which is generated with --inverted command line argument. The tree's nodes with the same parent and location are merged when we check 'Hide Import System Frames' checkbox.
Fixes: #293
Describe your changes
A clear and concise description of the changes you have made.
Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.
Additional context
Add any other context about your contribution here.

Codecov Report
Patch coverage: 88.00% and no project coverage change.

Comparison is base (0154228) 91.72% compared to head (2abf102) 91.73%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #439    +/-   ##
========================================
  Coverage   91.72%   91.73%
========================================
  Files          90       90
  Lines       10532    10659   +127
  Branches     1450     1468    +18
========================================
+ Hits         9661     9778   +117
- Misses        868      878    +10
  Partials        3        3

Flag
Coverage Δ

cpp
85.01% <ø> (-0.20%)
:arrow_down:

python_and_cython
95.23% <88.00%> (+0.04%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

tests/unit/test_flamegraph_reporter.py
100.00% <ø> (ø)

src/memray/reporters/table.py
94.28% <50.00%> (-2.69%)
:arrow_down:

src/memray/reporters/transform.py
96.29% <50.00%> (-1.79%)
:arrow_down:

src/memray/reporters/flamegraph.py
88.32% <92.85%> (+0.32%)
:arrow_up:

src/memray/_ipython/flamegraph.py
95.45% <100.00%> (+0.06%)
:arrow_up:

src/memray/commands/common.py
87.25% <100.00%> (+0.38%)
:arrow_up:

src/memray/commands/flamegraph.py
100.00% <100.00%> (ø)

tests/unit/test_templates.py
100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

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

As a heads up, I haven't looked at the JS or the tests yet, so the above comments are what I have to say about the Python side of the implementation.


Add TGF -> Graphviz conversion tool

[ ] style source files and header files differently (light gray fill?)
[ ] style system headers differently (dashed border)
[ ] style transitive system headers differently?


Resource Request

add category of ' Financial' to the list of categories in Resource Request
@vigneshhari

@sainak do verify if this is done, I think its done.
Also I have seen a bug when other is selected on the FE, just confirm if its fixed.

yes bodhi this was added in https://github.com/ohcnetwork/care/commit/10aaf748b5afc8e9cbe5e5cd43e177186d4eac5f

@sainak Resource model is adding others as the category, while FE is sending other.
Of course, could just adjust that on FE side, not sure how important that is (if it's coming from FHIR spec?).


Add in Rehatname

[x] Rehatnama Bhai Desa Singh Ji
[x] Rehatnama Bhai Prehlaad Singh Ji
[ ] Rehatnama Bhai Chaupa Singh Ji

@tarunsingh5 can you evaluate if anything is missing

i dont think we ever added chaupa singh rehatnama - correct me if im wrong

can we search some lines from it? I think we did

sure - do you have a copy of it?
On Tue, Mar 12, 2019 at 11:27 AM Manjot Singh<EMAIL_ADDRESS>wrote:

can we search some lines from it? I think we did
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KhalisFoundation/banidb-api/issues/35#issuecomment-472125820,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aho0lkNG3_AFLM9_P2Xji9hTsYLcewrVks5vV_F5gaJpZM4TVkGG
.

@tarunsingh5 can you get me a source to add or should I close this ticket


Metal swapchain resize triggers a validation error

Metal swapchain resize attempts to blit the contents of the last frame into a temporary frame that is has to issue in order to properly free the drawables... The blit (that we implement ourselves) requires texture usage to be shader-readable, which may not be the case, thus triggering a validation error.
This is annoying as it's effectively blocking a GPU capture of apps that run with validation enabled from XCode.
I suggest we don't do a blit if we know that the swapchain doesn't support being shader-readable.

Fixed by  #2951 and #2988


TypeError: Cannot read properties of undefined (reading 'value_key')

Describe The Bug:
I am now seeing TypeError: Cannot read properties of undefined (reading 'value_key').
To Reproduce:
Always.
Expected behavior:
Error should not occur.
This was working under previous version of Homebridge and/or this plug-in.
Logs:
[5/28/2023, 3:32:32 PM] [WeatherFlow Tempest Platform] Executed didFinishLaunching callback
[5/28/2023, 3:32:32 PM] [WeatherFlow Tempest Platform] TypeError: Cannot read properties of undefined (reading 'value_key')
    at WeatherFlowTempestPlatform.initAccessory (/homebridge/node_modules/homebridge-weatherflow-tempest/src/platform.ts:223:50)
    at WeatherFlowTempestPlatform.discoverDevices (/homebridge/node_modules/homebridge-weatherflow-tempest/src/platform.ts:210:14)
    at /homebridge/node_modules/homebridge-weatherflow-tempest/src/platform.ts:95:16
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Plugin Config:
{
    "name": "WeatherFlow Tempest Platform",
    "token": "5bAAAAAA-XXXX-ZZZZ-QQQQ-AAAAAAAAAAAA22",
    "station_id": XXXXXX,
    "interval": 10,
    "units": "Standard",
    "sensors": [
        {
            "name": "Backyard Temperature",
            "sensor_type": "Temperature Sensor",
            "temperature_properties": {
                "value_key": "air_temperature"
            }
        },
        {
            "name": "Backyard Feels Like",
            "sensor_type": "Temperature Sensor",
            "temperature_properties": {
                "value_key": "feels_like"
            }
        }
    ],
    "platform": "WeatherFlowTempest"
}

Environment:

Plugin Version:
Homebridge Version: 1.6.1
Node.js Version: 18.3.0>
NPM Version:
Operating System: Docker on Ubuntu

Did you uninstall the previous version and restart Homebridge prior to installing the new version?

That was the issue.  Thanks.


ATLAS fields in OOPS and SABER

This PR introduces:

linked lists to use the atlas_FieldSet in OOPS (QG model),
a new "atlas_FieldSetBundle" type (maybe we could find a better name) that is used a data container/pointer between OOPS and SABER.

This PR is closed, we can now use the ECMWF version of ATLAS.


Issues adding the Docker container to unraid

Hello,
I just saw your post on Reddit and i had to try this beautiful layout, so thank your for making this first of all!
(Send you a little PayPal to support the creation and further development)
I added the container based on your docker-compose file but it seems like i'm missing a repository:

Would you be able to give me the correct repository:

Thank you!

Getting this error:
docker: Error response from daemon: pull access denied for matt8707/ha-fusion, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

Got it working for now with building my own docker. Can't wait for the addon version. That'd be the strength of this !

Got it working for now with building my own docker. Can't wait for the addon version. That'd be the strength of this !

Could you share your docker setup so i can try it on unRaid 😀

Sure i can, ready?

make a directory for the docker
git clone: git clone https://github.com/matt8707/ha-fusion.git
CD into the ha-fusion folder
use the following ocmmand to build the docker: docker build .
wait for it to finish
check for the newest image id with docker image ls
now go to docker and create a new container with the following settings:
(Wehre Repository is the docker image id from step 6)

Now it should work :)

Got it working for now with building my own docker. Can't wait for the addon version. That'd be the strength of this !

 Skip all my steps i just wrote. This template works out of the box. Thank you @matt8707 !

Meanwhile i'm working to add it to the unraid community apps. but that will take a bit of time :)

@Holewijn @matt8707
I've submitted a request for ha-fusion to get integrated into unraid ca's template area. Once it is available, I'll let it know.

Thanks, both docker pull ghcr.io/matt8707/ha-fusion and addon should work now!

Thanks, both docker pull ghcr.io/matt8707/ha-fusion and addon should work now!

Thank you so much for your work. Im sure you got a lot you want to add. These options beneath is what i thought of would make it so amazing:

Home assistant addon is working, but i would love to see a option to have a direct link to it as well, instead of the ingress
a option to lock down settings with a password so not everyone can edit it

Again thank you for your work and merry christmas :)

Ha-fusion is now available on unraid apps section. @Holewijn you should be able to install it that way.
@matt8707 for your information I’ve submitted a template which states what evoirement tables is needed for it to run. So now it’s way easier for unraid users to install it. :)
happy holidays all!


Proposal: limit the amount of information stored on dropped targets

Proposal
As described at #12301, SD may use a lot of memory recording all the labels of any target dropped by rules.
Suppose you have 100,000 Kubernetes pods and have a rule to keep only 2 of them, then Prometheus will store 99,998 sets of information, including all the Kubernetes labels, annotations and other metadata available to relabeling rules.
As far as I can see, the only place this information is used is in rendering the /service-discovery page.
However, your browser will crash before it finishes rendering 100,000 targets, so this is of limited use.
My proposal is to change SD to record a limited number of dropped targets, say 20.
Change the UI to add "..." to show that more have been dropped but no details saved.
Maybe, add more advanced tooling to help admins troubleshoot their rules.

/service-discovery should be a switch, which is turned off by default and turned on by the user in the test environment, so that this problem can be solved. I have never used /service-discovery, I usually only need the /targets page for work.
but  limit the amount of information stored on active targets still a great idea.

I would love that 👍🏽


how to use ddim_reverse_sample?

I am trying to use the ddim_reverse_sample to get the noise used to generate the image.
I simply replaced the ddim_sample with the ddim_reverse_sample in the ddim_sample_loop_progressive function, but it seems does not work. I got an all-255 np.array.
Could anyone please help me? thanks a lot.

I am trying to use the ddim_reverse_sample to get the noise used to generate the image. I simply replaced the ddim_sample with the ddim_reverse_sample in the ddim_sample_loop_progressive function, but it seems does not work. I got an all-255 np.array. Could anyone please help me? thanks a lot.

I have the same problem. Maybe we can discuss together. You can contact me through my email :)

In case this is still an issue, remember to reverse the timestep indices for reverse sampling.
indices = list(range(self.num_timesteps))#[::-1] # comment out [::-1]
The original indices in ddim_reverse_sample is from T to 0. You want it from 0 to T.


WIP: Implement reverse for cumsum method

[ ] Closes #184
[x] Tests added
[x] Passes black .
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

I have attempted to implement a reversed cumulative sum. The method flips the .data along the relevant axis, then applies the cumulative sum, and flips the data back.
As a test case I expect the result to be equivalent to da.sum(axis_dim) - grid.cumsum(axis).
Some cases pass  (outer/inner coords; except with extent boundary), but others do not. Still working on understanding where this goes wrong.


How to purchase Azure Kinect DK in Australia

Hi, does anyone know how to purchase Azure Kinect DK in Australia? I access https://www.microsoft.com/en-au and search 'Kinect', but can't find it.

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

ID: c1e50840-d72a-e748-a2d3-e494542c9aa1
Version Independent ID: f4635eb4-9aaa-f185-078a-4ad08529d73e
Content: Get the Speech Devices SDK - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/get-speech-devices-sdk.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @erhopf
Microsoft Alias: erhopf

Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks for the feedback! We are currently investigating and will update you shortly.

Hello, I don't think there is one in Microsoft store of Aus, I am asking internally to check if there other way. Are you for business use? Student use?

Hello, I don't think there is one in Microsoft store of Aus, I am asking internally to check if there other way. Are you for business use? Student use?

Hello.
If there is no special use, as mentioned in the FAQ's, The Azure Kinect DK is available for purchase in the United States, China, Germany, Japan and the United Kingdom.
image

For purchase, availability and other queries, I would suggest you, kindly check the below information and call.
https://www.microsoft.com/en-us/p/azure-kinect-dk/8pp5vxmd9nhq?activetab=pivot%3Aoverviewtab
Availability: For large orders, support, and EDU institute pricing, call us at 1-866-425-4709 Monday through Friday, 6:00 AM to 6:00 PM PDT.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

Hello.
If there is no special use, as mentioned in the FAQ's, The Azure Kinect DK is available for purchase in the United States, China, Germany, Japan and the United Kingdom.
image

For purchase, availability and other queries, I would suggest you, kindly check the below information and call.
https://www.microsoft.com/en-us/p/azure-kinect-dk/8pp5vxmd9nhq?activetab=pivot%3Aoverviewtab
Availability: For large orders, support, and EDU institute pricing, call us at 1-866-425-4709 Monday through Friday, 6:00 AM to 6:00 PM PDT.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Fix typo on TagType field

The current definition of the class TagType is something like:
@Entity
@Table(name = "tag_type")
@SQLDelete(sql = "UPDATE tag_type SET deleted = true WHERE id = ?", check = ResultCheckStyle.COUNT)
@Where(clause = "deleted = false")
public class TagType extends AbstractEntity {

    @Filterable
    public String colour;

}

Shouldn't the field colour should be named color?
The location of the field mentioned is this one:
https://github.com/konveyor/tackle-controls/blob/cb386fe8ee1afac4ce12390a9ea2dd328576f9dd/src/main/java/io/tackle/controls/entities/TagType.java#L28

It's written in UK English (rather than in US English) so it's not a typo :wink:


Fix HDR asset support

The HDR texture loader was never added to the app, this PR makes sure it is added when the relevant feature is enabled.

bors r+


Add Webhook

Webhook module will be subscribed to events (as the Console module) and will POST according to the docs from Pusher: http://pusher.com/docs/webhooks

Closed by https://github.com/edgurgel/poxa/pull/60


Panics in ci_percent

Program panics at column ci_percent. This is usually a numeric column and so is typed as f64, but a new result contains several CI's by arm, aggregated as 95.0; 95.0; 95.0. Changing the data type to string should fix this.

This issue is actually that polars CsvReader infers this column as f64. It is typed as string initially. This fix will be a bit more involved.

Fixed with latest commit.


user timezone

is there any way to parse the utc date to user's preferred timezone?
besides that, i found out globalize.parseDate( "1/2/13", defaults) always return null value

is there any way to parse the utc date to user's preferred timezone?

Please, could you explain this in a little more details? Do you want to parse or format?

besides that, i found out globalize.parseDate( "1/2/13", defaults) always return null value

What's the output that you get when you globalize.formatDate( new Date(), defaults )? Basically, I need to know which locale you're using and what defaults means.

I prefer to either parse or format given datetime to user local timezone.
for example
change given datetime (Feb 02 2015 21:53:17 GMT+0800) to America/New_York (Feb 2, 2015 8:53 GMT-0500)

fyi...i'm using en-US locale.
globalize.formatDate( new Date(), defaults ) is working fine.
However, globalize.parseDate( date string, defaults ) is always return null value

I prefer to either parse or format given datetime to user local timezone.

The short answer is no, you cannot use Globalize to manipulate different timezones when parsing or formatting. But, yes you can use Globalize to format or parse dates using the user local timezone.
Why not? The native JavaScript Date object automatically sets the timezone offset based on the user's environment. This offset is used by Globalize when formatting or parsing. Given the fact Date doesn't allow one to set an arbitrary timezone, Globalize doesn't handle different timezones. More details can be found on https://github.com/jquery/globalize/pull/202 and https://github.com/jquery/globalize/issues/340.
What you can do? You can use the native Date object to parse an ISO String containing your input date (e.g., new Date("1994-11-05T13:15:30-0100")). Be aware of https://github.com/jquery/globalize/issues/181#issuecomment-48546595. Then you can use Globalize as usual to format such date instance.

fyi...i'm using en-US locale.

What is defaults that you're referring to? The parsing works fine for me.
> Globalize( "en" ).formatDate( new Date(), {datetime: "full"})
'Sunday, February 15, 2015 at 7:06:51 PM GMT-02:00'
> Globalize( "en" ).parseDate( "Sunday, February 15, 2015 at 7:06:51 PM GMT-02:00", {datetime: "full"})
Sun Feb 15 2015 19:06:51 GMT-0200 (BRST)


Version packages

Changes proposed in this pull request

Adding lerna config to be able to publish the three external packages

Context

Going to remove lerna for now in favour of a simple pnpm -r publish. Going to explore Turbobuild and Nx for versioning and publishing once packages are stable & fully working with Rafiki


give a few parameters names (where omitted)

Even though the sample methods would compile an run as-is (omitting names for the parameter signature types), it's a little odd to encounter and can be cleaned up easily. See https://groups.google.com/forum/#!topic/golang-nuts/aIBa43znaac

The close/reopen was to trigger a Jenkins rebuild, which failed for some reason unrelated to my changes.

@jdef sorry for calling you out directly - does this require a linked Issue to get it merged?

No, linked issue not required. Just my time :)
Wondering what the benefit of this PR is?
On Mon, Oct 3, 2016 at 5:02 PM, Mike Atlas<EMAIL_ADDRESS>wrote:

@jdef https://github.com/jdef sorry for calling you out directly - does
this require a linked Issue to get it merged?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mesos/mesos-go/pull/264#issuecomment-251226090, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACPVLPp3W_DH98XuI8FgGhUQwQ_B7vIkks5qwW1cgaJpZM4KINVK
.

Minor mental strain? Functionally it's fine-as is, but if the example is to be used, these changes are needed. The interface signatures are satisfied, but if one wants to actually implement these methods, one has to give a name to the parameters anyways. So anyone (like myself) implementing an executor will need to do these changes.

OK. I could go either way. If this helps someone then it's worth the change.
Thanks!

Thanks!


Incorrect barcode scanned

We have a serious production issue regarding pdf417 scanning library. In some situations an incorrect barcode is scanned. This should never happen, it creates a huge issue for us.
For example if we have a simple code-128 barcode with text "004XYZ1" it is sometimes incorrectly scanned as a UPCE, ITF or EAN barcode giving wrong results like 25818192 or something similar. On production this happens when barcodes are small with poor light conditions and a shaky hand. Maybe people fail to center barcode in screen and only half of it gets scanned producing wrong results.
For development this can be reproduced by covering a part of barcode and holding at an angle.
I captured this image by placing a breakpoint at when scanning results are returned. In this case it gave the wrong result.

This happens on multiple Android devices, with library versions 4.1.0 and 4.5.1. It can also be reproduced on iOS version of library.
We use this:
        BarDecoderRecognizerSettings barDecoderSettings = new BarDecoderRecognizerSettings();

        barDecoderSettings.setScanCode39(true);
        barDecoderSettings.setScanCode128(true);
        barDecoderSettings.setTryHarder(true);//Does not make a difference if on or off, still wrong result.

        // enable ZXing scanner for other barcode types not having custom implementation
        // in pdf417.mobi lib.
        ZXingRecognizerSettings zxingSettings =  new ZXingRecognizerSettings();
        zxingSettings.setScanQRCode(true);
        zxingSettings.setScanAztecCode(true);
        zxingSettings.setScanDataMatrixCode(true);
        zxingSettings.setScanEAN13Code(true);
        zxingSettings.setScanEAN8Code(true);
        zxingSettings.setScanITFCode(true);
        zxingSettings.setScanUPCACode(true);
        zxingSettings.setScanUPCECode(true);
        zxingSettings.setSlowThoroughScan(true);//Does not make a difference if on or off, still wrong result.

        RecognizerSettings[] settings = {barDecoderSettings, zxingSettings};

        Intent intent = new Intent(context, Pdf417ScanActivity.class);
        intent.putExtra(Pdf417ScanActivity.EXTRAS_LICENSE_KEY, LICENSE_KEY);
        intent.putExtra(Pdf417ScanActivity.EXTRAS_RECOGNIZER_SETTINGS_ARRAY, settings);
        intent.putExtra(Pdf417ScanActivity.EXTRAS_SHOW_DIALOG_AFTER_SCAN, false);

Please provide suggestions how can this be fixed. We need to be able to scan most barcode types. But we also need to be sure the returned results are accurate even if it makes scanning slower.

Hi,
enabling all barcode types will definitely lower the quality of scanning performance because similar barcodes can be misinterpreted (for example, UPCA, UPCE, EAN8 and EAN13 are different just in several bars and if those bars are not clearly visible, mismatch may occur).
If you know the type of barcode you are scanning, enable only those types (for example, do not enable ITF if you definitely do not need scanning ITF).
The other approach would be to perform advanced integration with embedding Recognizer view directly into your activity. Thus, you can obtain scan results with ScanResultListener and you can continue scanning as soon as you receive result with resumeScanning. With this approach you can implement counting of barcode types and if you receive multiple times same result (same barcode content and same barcode type), then you can be confident that the scan was performed correctly. If you in multiple scans receive different barcode results, then you can instruct user to better position the device over barcode. You can check Pdf417MobiDemoCustomUI for example of how to perform multiple scans within single camera session.
The same approach can also be used in iOS library.

It would be good to have a setting in library that would improve accuracy. Currently if we enable only Code39, Code128, QR, DataMatrix and Aztec there are still cases where we get a bad reading. It's much more harder to reproduce, but it still happens.

You already have such settings for PDF417 barcode recognizer, for Code39 and Code128 barcode recognizer and for ZXing recognizer.
If you need perfect accuracy at additional time cost, you can implement custom UI and count scan results as described in earlier post.

Those settings only reduce accuracy, we already have them set for maximum accuracy.
Counting results is not an option either, because it again can produce incorrect results. For example have only Code39 enabled. Take a Code39 barcode with contents 5352 and cover a couple of bars on it. The scanning library will produce results as "53" Code39 for this barcode for a couple of times, thus counting is not an option. This is just one example of many why counting would not guarantee correct results...

Hi Jonas,
can this issue be closed?

Thanks for all the info. We eded up scanning 2D barcodes 3 times. This solves most of the issues, like pointing at a carpet no longer produces some random result. We can't have clients changing their existing barcodes, and they appear to be using Code39 a lot. We can suggest to change them, but that is as far as we can go. So this is not perfect, but will have to do...


Update configure-the-feature-pack.md

Add new inputs

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/configure-the-feature-pack.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Implement functionality for basic decision tree (classification).

Absorbs most of the functions from helpers.cpp:

[x] Representing data:

datasets.cpp : DataFrame
https://github.com/johannes-kk/cs205_final_project/blob/718cc1acc9c908f888ccbdd9acea6afeab500411/src/helpers.cpp#L13
datasets.cpp : DataVector
https://github.com/johannes-kk/cs205_final_project/blob/718cc1acc9c908f888ccbdd9acea6afeab500411/src/helpers.cpp#L14

[x] Calculating losses:

losses.cpp : LossFunction("gini_impurity") :
https://github.com/johannes-kk/cs205_final_project/blob/718cc1acc9c908f888ccbdd9acea6afeab500411/src/helpers.cpp#L80
losses.cpp : LossFunction("misclassification_rate") :
https://github.com/johannes-kk/cs205_final_project/blob/718cc1acc9c908f888ccbdd9acea6afeab500411/src/helpers.cpp#L20

[x] Splitting datasets:

datasets.cpp :
// Returns a pair of frames (value above and below threshold in specified column).
std::vector<DataFrame*> split(int split_column, double split_threshold, bool equal_goes_left) const;

https://github.com/johannes-kk/cs205_final_project/blob/718cc1acc9c908f888ccbdd9acea6afeab500411/src/helpers.cpp#L37

[ ] Finding best split:

losses.cpp ? :
https://github.com/johannes-kk/cs205_final_project/blob/718cc1acc9c908f888ccbdd9acea6afeab500411/src/helpers.cpp#L113

Amazing! 🚀

Doesn't implement prediction yet, but has a fit method that seems to run without error. Definitely needs some stress-testing though.


05/01/2018 23:56 : Create Pull Request for branch master -> prTesting1_2018050123

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Require login keys and always use API

This PR is for all the work done to fully move to the API where login keys are required.
WIP - Do not merge.

I've added /CMD_API_LOGIN_KEYS to the required permission list, because we may need to upgrade the login key in the future. On this way we can automate this. :smile:

This will lead to possible elevation of rights x because you can create a key with all the rights.
So once it's stable, you should probably remove it..

Hmm, good point. But when we did, we're even unable to update it, since the /CMD_API_LOGIN_KEYS requires the current password.

Can't you use the loginkey as current password?

For upgrading? Hmm, I'm not sure, but I've removed the API LOGIN KEYS permission.