Compiling with skip_translation

Sometimes, you want to have a barebone compilation. This is, just convert my circuit in a qobj as it is, no unrolling, no optimization, just do it. And do it fast. This PR addresses that.
Motivation and Context
Consider the following program:
qp = qiskit.QuantumProgram()
qr1 = qp.create_quantum_register("qr1", 2)
qr2 = qp.create_quantum_register("qr2", 2)
cr = qp.create_classical_register("cr", 2)
qc = qp.create_circuit("qc", [qr1,qr2], [cr])
qc.h(qr1[1])
qc.measure(qr1[1], cr[0])
qp.compile(['qc'], backend='local_qasm_simulator', shots=1024)

The last line creates a lot of structure and transformations. Some of them quite expensive. When the compile line is timed, this are the results (in seconds).
MEDIAN 4.59516
MEAN   5.50991
STDEV  4.00705

When the last line is replaced by qp.compile(['qc'], backend='local_qasm_simulator', shots=1024, skip_translation=True), the times are much better:
MEDIAN 0.46015
MEAN   0.55484
STDEV  0.58467

It's important to noticed that skip_translation=True do not unroll the circuit at all. The operations in the compiled circuit would like like this:
'operations': [{'name': 'h', 'params': [], 'qubits': [1], 'texparams': []},
               {'clbits': [0], 'name': 'measure', 'qubits': [1]}]},

How Has This Been Tested?
Two tests were added.

Looking good, thanks! We will keep this option in the transpiler also, and improve it so that even DAG construction is avoided with this flag (go straight from QuantumCircuit -> Qobj). This will be easier with the Qobj class.


Feature Request: Create & open tomorrow's note command

I (try to) plan an MIT for the next day.
Supporting this additional command would help my flow and I think is in line with the already supported Open Today's note command.

Hi,
It makes sense to have such possibility. I've seen you've opened a PR and code looked good me, yet I had a little bit more scalable solution in mind. What do you think about it?

It's interesting but I don't think I'd use it, to be honest: I tend to open tomorrow's and today only.
For me opening the other days from the sidebar is fine: notes are already in the YYYY-MM-DD format, so it's low effort to do it that way.
On another note, I've not spent enough time with vscode extension development to understand how much effort this would require.

It's interesting but I don't think I'd use it, to be honest: I tend to open tomorrow's and today only.

I see the point and I think it's possible with the suggested solution as well.

For me opening the other days from the sidebar is fine: notes are already in the YYYY-MM-DD format, so it's low effort to do it that way.

Works less well for me, because explorer sorting asc / desc is not configurable on folder level. Finding closest dailies via quick pick easier for me. For instance, from time to time I need to check previous Mondays (because we have weeklies that day) and quick pick would come handy.

On another note, I've not spent enough time with VSCode extension development to understand how much effort this would require.

What do you think if I will release my version of this feature, will it work for your case as well? Initially it was in my plans to get rid of Open today's note in favor of this more scalable quick pick solution, which also covers Tomorrow's note case. We still can keep these commands separately, however, I doubt there is a need except it saves one click in two cases tomorrow + today.

I think that your version would satisfy my use case as well.
From the screencast, I'm not sure how would you select the other days.
Would you be able to support something like +1 and -1 for tomorrow and yesterday maybe?
Something like a relative number of days as input selection?
Thank you for your time :smile:

Would you be able to support something like +1 and -1 for tomorrow and yesterday maybe?

I will add -1 / +1 prefixes in front of yesterday and tomorrow. Also, you can type Yes (yesterday) or Tom (tomorrow) or just use arrow up / down to reach them via keyboard. I put today, yesterday and tomorrow in the beginning of the list to make them easily reachable via keyboard and without typing anything.

Thank you for your time 😄

Thank you for yours and sorry that your PR should be closed in favor of mine 😞.

Great stuff. Don't worry. Should never be about ego anyway :smile:

Hi,
"Open daily note" command was released in v0.1.11, please update Memo extension to use it. Feel free to reopen this issue if something.

Is there a way to create those notes in a specific folder with all the others?
I could be missing something but I can only managed to open them in the root folder.

Is there a way to create those notes in a specific folder with all the others?

"By all others" - do you mean other daily notes?
I think a new setting can be introduced for configuring default folder for daily notes.
Do you think it would it be useful for you?

I could be missing something but I can only managed to create them in the root folder.

Today and tomorrow commands were also creating daily notes to the root folder and new command did not change this logic.

Yeah having such setting would definitely be useful.


v4 - Adds ionItemReorder event to ion-reorder-group

Short description of what this resolves:
Adds an event hook for when a user reorders an item inside an ion-reorder-group. Example output is similar to:
{
   fromIndex: 2
   toIndex: 1
}

Changes proposed in this pull request:

Adds (ionItemReorder) event

Ionic Version: 4
Fixes: #14640

Thanks a lot for the PR!


AttachmentFile MUST reference a physical file path?

Please add the ability to create an AttachmentFile with a byte array instead of having to provide a physical file path.  In the "cloud" world, this just isn't practical.  I have a service running in an Azure Function that needs to pull files out of cloud storage and push them into Intacct.  I can't create a temp local file in the Azure Function due to potential file sizes.
Is there a work around to this issue?  I have the byte array and the file is represented as a byte array in the end result XML anyway, but I can't get the byte array data into the "attachment" element.
The main problem is that AttachmentFile must contain a physical file path or the WriteXml method will not resolve.

@tchpowdog, we currently don't have plans to implement this, but please feel free to implement and raise a PR if you'd like to and we can review that. :)

@dylan-holt-sage happy to have a look at implementing this. Do you want a new issue opened or to re-open this issue?

@mike-at-cmap-software, raise a PR when ready. No need for another issue or reopen :)


Typo "Cloud explorer"→"Cloud Explorer"

https://docs.microsoft.com/en-us/visualstudio/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server?view=vs-2022
https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server.md
#PingMSFTDocs

Docs Build status updates of commit a3cb818:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/install/install-and-use-visual-studio-behind-a-firewall-or-proxy-server.md
:white_check_mark:Succeeded

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

@anandmeg

Can you review this PR?

IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Implement support for V2 APIs

https://github.com/healthchecks/healthchecks/releases/tag/v2.6

Fixed by 901340dd6d745879eadf863d43133dd54d52dd0c


yurtappdaemonset reconcile error process

Signed-off-by: huiwq1990<EMAIL_ADDRESS>
What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind bug
/kind documentation
/kind enhancement
/kind good-first-issue
/kind feature
/kind question
/kind design
/sig ai
/sig iot
/sig network
/sig storage
/sig storage

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@rambohe-ch It's a bug the same as https://github.com/openkruise/kruise/pull/991/files.

/lgtm
/approve


add note/section on conflicts

For instance, using this approach an extension could implement support for IPFS directly within any browser context.

should pre-game the immediate "but what about conflicts?!" question that readers will have at this point.

Good point. I included a paragraph to discuss that. I'm not super happy with where it landed but I'm not sure how much better we can do. (I mean, the text can probably be better, but not sure about the modality.) The existing rPH already gives UAs a lot of leeway in how they handle registration (which is good). We can't take that away but it also doesn't constrain the space much. And a programmatic handler conflicting with a handoff handler could be really weird, it's hard to figure out what's intuitive.


chore: 2.2.0 publish

Overview

PR to publish 2.2.0
PR Checklist

[x] I read and included theses actions below

I have read the Contributing Guide
I have written documents and tests, if needed.

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

Project coverage is 99.53%. Comparing base (7361171) to head (7f2f032).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #268   +/-   ##
=======================================
  Coverage   99.53%   99.53%
=======================================
  Files          38       38
  Lines         639      639
  Branches      154      154
=======================================
  Hits          636      636
  Misses          3        3


.ceylon/config option "target" doesn't work

Per my testing, ceylon compile --target=7 does work, but with just a .ceylon/config file of:
[defaults]
encoding=UTF-8

[compiler]
target=7

you get Java 8 (major version 52) class files.

@jvasileff the option is:
[compiler.jvm]
target=7

ah, ok. Then the bug is for ceylon-sdk/.ceylon/config

Ah, I didn't even know it was used there.

Still, could you test, just to be sure it really works?

Yep, just did! Using [compiler.jvm] works for my project.

But this seems to correctly disable the “ceylon namespace” warnings in ceylon.formatter:
[compiler]
source=source
suppresswarning=ceylonNamespace
target=7

Do we support the compiler section, but only for old options? If yes, it’s pretty unfortunate that appending to the existing section silently fails…

Should the [compiler.x] options supplement [compiler] options, but just for the x backend, or is the idea that they are totally independent namespaces?

Oh, right, the other options are probably backend-independent.

The [compiler] section is for options that are common to many/all compilers and indeed for old options.

but still... I agree with your point that it is easy to make mistakes

I think the biggest problem here is that it's really not obvious what options there are and how they are named exactly. Giving meaningful warnings/errors for a file that's supposedly freely editable/extendable by the user/other tools is a lot harder (and most software doesn't even try AFAIK)

Shouldn’t each tool get a section of its own for its custom options? Then we can warn about unknown options in the well-known sections.

@lucaswerkmeister still, you might have 1.3.2 options in ~/.ceylon/config and not want warnings when using ceylon 1.3.1.

Meh, I would consider that a lesser evil. (Besides, we could allow you to disable these warnings with compiler.suppresswarning.)


Cleanup: Fix clang-tidy for performance-unnecessary-value-param

Wherever safe, avoid unnecessary expensive copies due to value-typed function parameters, either by making them const references or by using std::move. See http://clang.llvm.org/extra/clang-tidy/checks/performance-unnecessary-value-param.html for details.

oops, looks like one test is failing ;)

Don't merge -- asan/tsan are failing, so it's possible one of these changes wasn't actually as safe as it looked. Trying to sort that out.

yup, was not going to merge...

Unfortunately I'm heading out on vacation -- I was hoping to have this figured out by the end of today, but here we are. I'll be back on Thursday, but I'm going to close the PR while I'm OOO since it's hardly urgent. I'll open a fresh one once I figure out why this breaks asan and tsan. (Or, if someone else sees it, feel free to fix in my absence -- just let me know, because I'm curious!)


Reverse Mask for Money Format

Is possible to add a reverse option, so i can use this mask package for money format?

Hi, I am trying to reverse the mask in order to make a proper money format as well.
I took a look at the native projects (android and ios) and I could see that it is possible to use a reversed mask on the native side (ReversedMaskTextFieldDelegate for ios and ReversedMaskTextChangedListener for android).
These classes are not documented though. So I am a little bit confused of how to change this project in order to make possible to use this feature from the react native side.

@lutchobandeira where did u put the ReversedMaskTextChangedListener ? can u show the code?


Add "N" to extension category list again

Despite that "N" extension itself is dropped (and no Zn* extensions are neither ratified nor proposed), canonical extension order should keep "N" to avoid future incompatibilities.
It effectively reverts half of commit f8d27f805b65 ("Remove or downgrade more references to N extension (#674)").

I'm on the fence about this.  On the one hand, adding N back is more consistent with the fact that we include e.g. B and K in this list, despite the fact that they do not exist.  On the other hand, I'd rather resolve the inconsistency by deleting all of them from this list.

I would argue for removing all three since there is no current expectation of these bits being assigned to those extensions (and no current expectation of some new version of the N extension being developed).  It's better to make these bit officially Reserved.  Then at whatever future point in time that assignment of one of these to an extension comes up, it can be weighed whether to assign the bit to that extension or to keep it reserved for future use for bitmanip, crypto, or a new N extension.

I'm against removing B and K (even if this pull request is rejected).
They are already used as prefixes of ratified Zb* and Zk* extensions and removing B and K from canonical order list requires something new to prevent problems. I think keeping B and K in the list is the least destructive way to maintain consistency.
N is not that important but I didn't want a simple problem to become complicated later (that's why I pull-requested this when I noticed it).

I've made the executive decision to resolve this issue in favor of only imposing constraints on extensions that are actually defined.  f5f9c27010b69a015958ffebe1ac5a34f8776dff

That's unexpected move but also makes sense.
I asked you on gcc-patches but let me ask here again.
For instance, Zi* extensions must be placed before Zv* extensions (the same rule as before).
Then, how about Zk* and Zv*? Can Zk* be anywhere (as long as all Z* extensions are grouped together) or, like LLVM, Zk* must be placed after all Z[CH]* extensions (with single-letter extension [CH] existing)? I think you assume former but clarification would be better.

We’ll also discuss this topic in architecture review when we discuss the H ordering matter.
For a brief preview, my recommendation will be to abandon ordering constraints for Z* extensions, because they are somewhat arbitrary, add extra complexity to the tooling, and reduce composability of these strings. The goal should be that we can blindly concatenate Z* extension strings. But this is just my opinion, and the rest of the committee may well disagree.

As a final note, re: “unexpected”, @kasanovic has long planned to rip up and redo the naming chapter, and it’s virtually guaranteed that some of the rules will change in that process (but only with good reason).

We discussed this topic in the architecture-review meeting today.  I'll summarize the group's thoughts below.
First, some historical context.  There are "ISA strings" and "canonical ISA strings".  The original intent was that canonical ISA strings are easily human-readable, with one important property being that it's easy to check with a glance whether an extension is present, since it always appears in the same place in the string.  Canonical ISA strings are what you'd use in product marketing material, are what a pretty-printer might emit, etc.
Originally, the goal wasn't that ISA-string parsers  should enforce canonical ordering, because, among other reasons, doing so reduces composability.  A desirable composition property, for example, is to take $my_isa_string and append "_zfh" to create a new ISA string that contains Zfh--even if the original string already contained Zfh, and even if canonical order would be violated.  This property simplifies meta-tooling (i.e. scripting) because the canonicalization rules don't need to be encoded all over the place.
The plan going forward is to normatively define what constitutes a legal ISA string--even though that string might not be canonical.  These strings are what software tools should accept in the long term.  We'll also non-normatively define the canonicalization scheme, which will define how human-readable strings should (but not must) be constructed.  These spec changes will be made as part of the rewrite of the naming chapter.
Since existing canonical ISA strings will continue to be legal ISA strings, future tools will correctly continue to accept strings that current tools accept, i.e., there's no backwards incompatibility.  But, over time, ISA-string parsers will need to relax their rules to accept other legal but non-canonical ISA strings.


CRDs are failing to install on K8s v1.15.11

Hello,
Looks like #94 breaks compatibility with Kubernetes versions prior to 1.16. I was trying to install the chart but I'm getting
Error: failed to install CRD crds/scaledjobs.keda.sh.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"

I'm running EKS v1.15.11.
Was this breaking change expected?

Yes, it's documented in our FAQ

We are facing same issue. Is this related to this PR? https://github.com/kedacore/charts/pull/94 ot this one https://github.com/kedacore/charts/pull/101
We are using helm 2 and kubernetes 1.18

I have the same problem, in my case the keda-operator is reporting the following error:
E1119 20:10:04.006257       1 reflector.go:178] pkg/mod/k8s.io/client-go@v0.18.8/tools/cache/reflector.go:125: Failed to list v
1alpha1.ScaledObject: the server could not find the requested resource (get scaledobjects.keda.sh)***

Helm 2 is no longer supported unfortunately since it is out of support

I think this clears thing out for everyone; gonna stick to v1.5.0 for now. Thank you!


Created a content description string that forces edX annunciation.

Description
MA-2650
On launch screen, set the content description to "Ed-X". This will force TalkBack mode to annunciate EdX. Also created a new string resource file called content_descriptions.xml to store all content description strings.
Testing

[ ] Unit, integration, acceptance tests as appropriate
In TalkBack mode, navigate to logo on launch screen. Ensure that the TTS sounds like "Ed-X".

Reviewers
If you've been tagged for review, please check your corresponding box once you've given the :+1:.

[ ] Code review: @BenjiLee
[x] Code review: @bguertin
[ ] Accessibility review: @cptvitamin
[ ] FYI @andy-armstrong

Technically, content descriptions are not just for TalkBack, they can be accessed by all kinds of accessibility tools. E.g. BrailleBack
To customize something specifically for text-to-speech, I think you're supposed to use TttsSpan

@@             master       #790   diff @@
==========================================
  Files           484        484
  Lines         19956      19956
  Methods           0          0
  Messages          0          0
  Branches       2819       2819
==========================================
  Hits           3681       3681
  Misses        15860      15860
  Partials        415        415

Review #790 on Codecov

Powered by Codecov. Last update da17348...1f7635c

More importantly, the app name is only edX for the edX app. If we want to override the pronunciation, we'll want to avoid doing it for non-edX builds of the app.
Technically, the app name comes from the PLATFORM_NAME config setting.
Perhaps we need to introduce an optional PHONETIC_PLATFORM_NAME flag for this purpose (which can of course default to PLATFORM_NAME if not set).

Curious; I wonder if sneaking a zero width space in there would work?

@bguertin So how what do you think is the best way to tackle this? I can create a new field called PHONETIC_PLATFORM_NAME, but what do we do with that value? If we don't have the TTSSpan API until API 21, how do we adrress this behavior? Is there even a way to?

This story is just about the logo description, so I'm not too concerned.
We should probably create another story to do address this properly for API 21+, which will only help some users for now, but eventually all of them.

Are you saying that we use the TTS API where we have it (21+) and just (for
now) ignore the issue on pre 21 devices?
On Tue, Aug 9, 2016 at 4:28 PM, Brian @ edX<EMAIL_ADDRESS>wrote:

This story is just about the logo description, so I'm not too concerned.
We should probably create another story to do address this properly for
API 21+, which will only help some users for now, but eventually all of
them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/edx/edx-app-android/pull/790#issuecomment-238680604,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AR10TzmKk9Y-NufwSmYeOD3-2pduS3Koks5qeOMHgaJpZM4JcDfm
.

--
Regards,
Marc DiNino
Android Engineer
EDX

Are you saying that we use the TTS API where we have it (21+) and just (for now) ignore the issue on pre 21 devices?

Yup, unless we can think of a better option.  Note that when TalkBack mode in on and activities are launched, we still hear the previous pronunciation. That is from the activity name tag in the Android manifest file. I wasn't sure if it was good practice to change the strong to phonetic_app_name here.

:+1:

@bguertin Can you re-review?
@1zaman Can you review?

Still :+1:

👍


ENH: Dependency Checker - safety

Is your feature request related to a problem? Please describe.
Currently there is no dependency checker from a safety standpoint. To avoid harmful python packages
Describe the solution you'd like
Adding a dependency checker in both CI and pre-commit checks

Reopening as PR #79  only covers pre-commit checks. Need to add to CI pipeline


unknown field "artifactGC"

Checklist

[x] Double-checked my configuration.
[x] Tested using :latest images.
[ ] Used the Emissary executor.

Summary
Submitting a sample workflow with artifactGC field fails with the below error
unknown field "artifactGC"
Fresh install of v3.3.9.
argo version
argo: v3.3.9+5db53aa.dirty
  BuildDate: 2022-08-10T02:08:30Z
  GitCommit: 5db53aa0ca54e51ca69053e1d3272e37064559d7
  GitTreeState: dirty
  GitTag: v3.3.9
  GoVersion: go1.19
  Compiler: gc
  Platform: darwin/amd64

Diagnostics
Using your sample from https://github.com/argoproj/argo-workflows/blob/master/examples/artifact-gc-workflow.yaml
# This example shows how you can configure Artifact Garbage Collection for your Workflow.
# Here there are two artifacts - one is automatically deleted when the Workflow completes, and the other
# is deleted when the Workflow gets deleted.
# In this case, "OnWorkflowDeletion" is defined for all artifacts by default, but the "on-completion" artifact
# overrides that default strategy.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: artifact-gc-
spec:
  entrypoint: main
  artifactGC:
    strategy: OnWorkflowDeletion # the overall strategy, which can be overridden
  templates:
    - name: main
      container:
        image: argoproj/argosay:v2
        command:
          - sh
          - -c
        args:
          - |
            echo "hello world" > /tmp/on-completion.txt
            echo "hello world" > /tmp/on-deletion.txt
      outputs:
        artifacts:
          - name: on-completion
            path: /tmp/on-completion.txt
            s3:
              key: on-completion.txt
            artifactGC:
              strategy: OnWorkflowCompletion # overriding the default strategy for this artifact
          - name: on-deletion
            path: /tmp/on-deletion.txt
            s3:
              key: on-deletion.txt

Logs from the workflow controller:
See attached
workflow-controller.logs.gz

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Same for the field branch as in here
https://github.com/argoproj/argo-workflows/issues/8380

You need to use 3.4 for artifact GC feature.

You need to use 3.4 for artifact GC feature.

Thank you. It was not clear from the docs. Is it the same for the branch field?


Expose expiresIn in MSAL Device Code flow callback

MSTeams would like to display the 'time until expires' on their device.
related PR: https://github.com/AzureAD/microsoft-authentication-library-for-android/pull/1169

force-push to clean out the branch.


Cancel Drag Event

It can be useful for un-setting styles when the user cancel the drag.

Have you tried adding a listener for 'draggable:end' ?


Subclassing

This PR implements subclassing as a way to limit the methods that work on a fixture to the specific capabilities of the fixture.
The main changes are:

Switches to using dataclasses to not require an explicit init function to be defined within each class just to set up the class attributes
At the moment, every possible method is defined within the single Light class in aiolifx.py. This breaks it out into separate fixtures, defined in fixtures/fixtures.py

I thought a fair bit about how to model the idea that every LIFX device shares some common functionality (eg check info, reboot), and then some additional functionality on top. Some of this functionality is shared between devices (eg every Light has the ability to power off and on), whereas some is specific to a device (eg Switch is the only device that can control relays).
I specifically didn't want to methods or data to exist on fixtures which didn't need it, e.g. a light class shouldn't have any methods or data to do with relays.
The way I've modelled this is via mixins, a way of doing multi-inheritence. Essentially, a class like MultizoneLight represents something like a Strip, which is both a regular light, a colored light, and a multizone light.  These are composable depending on the functionality of the light, and defined in fixtures/fixtures.py

Finally, updated the CLI to consume this.
I don't have every type of LIFX device so I've only tested with a strip, switch and downlight. Will look into writing some tests but happy to address comments. I also picked this up again after not looking at it for 10 months so I'm a bit worried I meant to do something at the time and I've forgotten.

I like where this PR is going. It's a lot of what I had started planning for v2.0 now that I've taken on the role as maintainer. Once I've added Tile/Ceiling support to Home Assistant, I'll circle back and take this for a spin.

I can probably pick this up again

I'm swamped at work this week, but I'm going to try and review this over the weekend. Thanks for picking this back up!

I pulled this down locally and have been poking at it whenever I found a few spare minutes over the last week. I'm going to use this as the initial commit of the first significant change for the next major release, i.e. v2.x.
I'm going to tinker a bit with some class methods in Device() that will query the target device sufficiently to determine what it is and then return the class definition that matches.
While I appear to have write permission to update not just the code in this PR but also the entire codebase in your forked repo on GitHub, my plan is to push a new branch to aiolifx/aiolifx named either 2.0-dev or 2.0-dev-alpha or thereabouts sometime this weekend with your changes.
All this is to provide a reason behind the future closing of this PR without any of it having been merged into the main codebase beforehand. You'll definitely get notified by GitHub when I do though, as your commits will be included in that PR/merge.

No worries at all :)

my plan is to push a new branch to aiolifx/aiolifx named either 2.0-dev or 2.0-dev-alpha or thereabouts sometime this weekend with your changes.

@Djelibeybi - Do you still plan to do this? I'm planning on playing with this over the next few weeks, and wanted to start off with the newer code and organization.


Can't install hidapi on MacOS Catalina

I cannot install the requirements for the AWS_IoT_Registration_helper on MacOS Catalina.
/usr/bin/xcodebuild -version
Xcode 12.3
Build version 12C33

sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H114

   command: /Users/narnoldi/.pyenv/versions/3.8.1/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-pc_4srqk/hidapi/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-pc_4srqk/hidapi/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/tmp/pip-wheel-3l5sdfn5
       cwd: /private/tmp/pip-install-pc_4srqk/hidapi/
  Complete output (2185 lines):
  running bdist_wheel
  running build
  running build_ext
  skipping 'hid.c' Cython extension (up-to-date)
  building 'hid' extension
  creating build
  creating build/temp.macosx-10.14-x86_64-3.8
  creating build/temp.macosx-10.14-x86_64-3.8/hidapi
  creating build/temp.macosx-10.14-x86_64-3.8/hidapi/mac
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -framework IOKit -framework CoreFoundation -framework AppKit -Ihidapi/hidapi -I/Users/narnoldi/.pyenv/versions/3.8.1/include/python3.8 -c hid.c -o build/temp.macosx-10.14-x86_64-3.8/hid.o
  clang: warning: -framework IOKit: 'linker' input unused [-Wunused-command-line-argument]
  clang: warning: -framework CoreFoundation: 'linker' input unused [-Wunused-command-line-argument]
  clang: warning: -framework AppKit: 'linker' input unused [-Wunused-command-line-argument]
  In file included from hid.c:14:
  In file included from /Users/narnoldi/.pyenv/versions/3.8.1/include/python3.8/Python.h:25:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:64:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
          unsigned char   *_base;
                          ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may be null
          unsigned char   *_base;
                          ^
                            _Nullable
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:93:16: note: insert '_Nonnull' if the pointer should never be null
          unsigned char   *_base;
                          ^
                            _Nonnull
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
          int     (* _Nullable _read) (void *, char *, int);
                                            ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:32: note: insert '_Nullable' if the pointer may be null
          int     (* _Nullable _read) (void *, char *, int);
                                            ^
                                             _Nullable
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:32: note: insert '_Nonnull' if the pointer should never be null
          int     (* _Nullable _read) (void *, char *, int);
                                            ^
                                             _Nonnull
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:40: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
          int     (* _Nullable _read) (void *, char *, int);
                                                    ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:138:40: note: insert '_Nullable' if the pointer may be null
          int     (* _Nullable _read) (void *, char *, int);
                                                    ^

(truncated)

You’re on Python 3.8 and not using conda/miniconda. Please follow the prescriptive instructions to remove variability like what you’re experiencing.

You’re on Python 3.8 and not using conda/miniconda. Please follow the prescriptive instructions to remove variability like what you’re experiencing.

installing with conda fixed the issue

installing with conda fixed the issue


Ability to fetch users in guild

Unable to find a way to utilize this framework to fetch users in a guild.
Is this possible? If not is there any plans to add this functionality?

Looks like the library doesnt store the new ways discord sends user data


need models specifically for pytest not local models

Then can run pytest in github workflow

#56 pytest now runs on adventureworks pbi file, so no longer need your own model.


Tests with phantomjs - sometimes green sometimes red.

About 50% times when i run my test it return ok, but in other 50% times it is failure.
Sometimes with:
     Failure/Error: click_button 'Lorem'
     Capybara::Poltergeist::DeadClient:
       PhantomJS client died while processing {"name":"click","args":[3,3]}

and sometimes even earlier with:
     Failure/Error: visit<EMAIL_ADDRESS>     Capybara::Poltergeist::DeadClient:
       PhantomJS client died while processing {"name":"visit","args":["http://localhost:54544/some_path/4"]}

Any ideas?

+1
I'm having the same problem. I'm using poltergeist with Capybara.
My versions:
poltergeist: 1.5.0
phantomJS: 1.9.7
capybara: 2.2.1

+1
I'm having the same problem. I'm using poltergeist with Capybara.
My versions:
poltergeist: 1.4.1
phantomJS: 1.9.8
capybara: 2.1.0

+1
Having same issue, tests run locally but not running on CI

+1
Was having the same issue with poltergeist 1.5.1 and phantomJS 1.9.8, phantomJS crashed when visit() certain sites with some js errors
However, after uninstalling phantomJS 1.9.8 and install the latest phantomJS 2.0, visiting the same sites no longer crash phamtomJS

Tried downgrading to Phantomjs to 1.9.8 whilst using capybara 2.2.1 and Poltergeist 1.5.1 ... no luck. Have experimented with versions.
Still getting inconsistent results ...

I upgraded to PhantomJS 2.0 (compiled from source on Ubuntu) and it finally works! Tried six other version combinations with no luck. I am sometimes getting a 'Timeout Error'. Will continue experimenting with other versions of Capybara and Poltergeist.
Capybara 2.4.4
Poltergeist 1.6.0
PhantomJS 2.0.0

I have the exact versions mentioned above and I'm still seeing the issue.

I'm closing this due to the age of the original issue and the fact no one has actually posted any real details about the issues or a reproducible test case -  If anyone is having actual issues, please open a new issue with real details about all versions used, details of the tests that are failing, and if possible a reproducible minimal test case


[EventRequest] Page 9104 Approval Comments Factbox - Additional filtering

In issue #2611 you added a subscriber in BC14, however is missing in BC16. Please introduce this subscriber again in BC16.
[External]
PROCEDURE SetFilterFromApprovalEntry@1(ApprovalEntry@1000 : Record 454) : Boolean;
BEGIN
  SETRANGE("Record ID to Approve",ApprovalEntry."Record ID to Approve");
  SETRANGE("Workflow Step Instance ID",ApprovalEntry."Workflow Step Instance ID");
  // --> START (from BC14 implementation)
  OnAfterSetFilterFromApprovalEntry(VAR Rec,ApprovalEntry);
  // <-- END
  CurrPage.UPDATE(FALSE);
  EXIT(NOT ISEMPTY);
END;

Many thanks.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Rename to mein-tile

For obvious reasons
https://www.youtube.com/watch?v=PBvwcH4XX6U

I know, it's the unofficial song to this project :metal:


localizePath() for "/" causes Invalid URL error in preview mode or production.

When I get the localized path for the root path "/" and use it for nav(), it is no problems at dev server, but it causes error Invalid URL  in preview mode or production environment.

I found the localized path for the "/" is resolved to "//" when the app runs in production mode.
Here's a workaround:
const getPath = localizePath();
export const usePath = (path:string) => {
  const gotPath = getPath(path);
  if (gotPath === "//") return "/";
  return gotPath;
}

I am unable to recreate this issue. Could you post the SpeakConfig or otherwise provide some other details? Thank you

In my case, I have these errors:

The sr is the default language, and the default language is not part of the URL.
So, here is an example of a failed script:
script: /build/sr/q-AK90ePL8.js

import"./q-4_MbNS1J.js";import"./q-DnxaOfIp.js";import{a as i}from"./q-BYB92JEH.js";import"./q-DD8fNmMr.js";export{i as s_6bH92HveK8o};

The second import is import"./q-DnxaOfIp.js";
However, that file is not in the /build/sr/ directory; it's in the /build/.
This may be a different issue.


Update IROS, ICRA and ICLR

Which conference does this PR update?

IROS 2025
ICRA 2025, 2026
ICLR 2026

Related URL

http://irmv.sjtu.edu.cn/iros2025/
https://2025.ieee-icra.org
https://x.com/savvyRL/status/1788921599480967268

Oops, there may be some issues with one DDL along with a TBD deadline in ICRA. We may fix it later.


Added json file in user Shivesh.json

What type of PR is this? (check all applicable)

[x] 🚀 Added Details
[x] 🌟 stared the repo
[x] 🐛 Grammatical Error
[x] 📝 Documentation Update
[x] 🚩 Other

Description
Add Link of GitHub Profile

Please merge my PR as a part of hacktoberfest-2021


fix(webrtc): Adding webrtc as a transport

:tada: This PR is included in version 5.1.7 :tada:
Your semantic-release bot :package::rocket:


Windows Installers prompt for a Driver

After extracting both a Windows 7 and Windows 10 ISO onto a CentOS 7.2 Server running Nginx 1.6.3 Netboot successfully boots the ISO, however, the installation cannot run due to some missing driver. My expectation is that this is fundamentally a Windows issue. See attached screenshots.

After the wimboot process starts, I can see the following logging in the Nginx access log:
<IP_ADDRESS> - - [17/Aug/2016:15:17:49 +0100] "GET /x64/bootmgr HTTP/1.1" 200 400228 "-" "iPXE/1.0.0+ (f6e8)" "-"
<IP_ADDRESS> - - [17/Aug/2016:15:17:49 +0100] "GET /x64/boot/bcd HTTP/1.1" 200 16384 "-" "iPXE/1.0.0+ (f6e8)" "-"
<IP_ADDRESS> - - [17/Aug/2016:15:17:50 +0100] "GET /x64/boot/boot.sdi HTTP/1.1"<PHONE_NUMBER> "-" "iPXE/1.0.0+ (f6e8)" "-"
<IP_ADDRESS> - - [17/Aug/2016:15:17:57 +0100] "GET /x64/sources/boot.wim HTTP/1.1"<PHONE_NUMBER>22 "-" "iPXE/1.0.0+ (f6e8)" "-"

But I'm not seeing any further requests following this, so it would seem like windows is able to boot, but the installer is missing and not loaded from HTTP.

See these posts for more info:
http://forum.ipxe.org/showthread.php?tid=7059
http://ipxe.org/howto/winpe
I haven't had time to play around with this myself, but I believe you'll need to kick off the installer from a network share once you're up and running.  Loading the installer itself can't see the media.

Awesome, thanks! Sorry for not researching this in a little more detail. Converted the netboot target to a WinPE image and all was fine.


Update singularity instructions to strongly recommend only enabling unprivileged

All OSG VOs can now handle running singularity out of cvmfs when unprivileged user namespaces is available.

@opensciencegrid/security could you guys also look over these changes?

CI failures unrelated. Merging


remove deprecated code

Describe your changes
Removed code marked as deprecated before v21

AcquisitionGeometry set up
Subset in framework
kwargs 'normalize' in NikonDataReader
CentreOfRotation xcorr processor

Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
unit tests
Link relevant issues
#closes 1235
Checklist when you are ready to request a review

[x] I have performed a self-review of my code
[x] I have added docstrings in line with the guidance in the developer guide
[x] I have implemented unit tests that cover any new or modified functionality
[x] CHANGELOG.md has been updated with any functionality change
[x] Request review from all relevant developers
[x] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License.
[x] I confirm that the contribution does not violate any intellectual property rights of third parties

Failing jenkins atm


Add Nonce Setting for Modify Governance workflow for multisig DAOs

@decentdao/design Got a question about placement. We need to add nonce to this workflow. Is this location good?
Context. This is when a Multisig DAO wants to change into a Azorius DAO setup.

@Da-Colon looks good to me


Add support for setting account images

Some people add all of their email addresses to one system contact. And so all of their accounts in K-9 Mail show the same image.
To improve this situation we should allow users to pick what to display as the account image. I'm thinking we could have these options:

contact picture (the current behavior)
custom image (requires an image picker and probably a cropping tool; image should probably be included when settings are exported)
no image (displays the placeholder image we currently use)

Especially the custom image option is probably quite a bit of work. So I suggest we start with just supporting the contact picture and no image option.

As per the linked closed issue, another option would be to use account colours as indicators, as per the previous version of K-9.
@cketti what is the "no image" placeholder image? Presumably all accounts wouldn't still look identical?

what is the "no image" placeholder image?

@cketti Ah okay, yes that would be a functional solution. Obviously a customisable picture would be best, but this seems totally workable.
It would also mean I don't have to see my ugly face every time I switch accounts! 😖 Thank you for writing up this issue and proposal.

Although I think https://github.com/k9mail/k-9/issues/5452 should definitely be fixed, this proposed enhancement does reduce the brainpower required to navigate around all the required new taps that https://github.com/k9mail/k-9/issues/5452 introduces to the user.

I support manually setting avatars on a per account basis. I just can't remember which color I assigned which account. It might be somewhat better if I were able to set the account color to a Corporate Design theme color of an email provider, but such specific colors are obviously not available in the simple color picker for the account color.

I would love to select a custom icon for each account. I had no desire for a profile photo to be shown, but rather wish for a company icon.
I realise everyone's usage is different, but for me - if I have three accounts, then it is because one is a personal account, and two are work accounts. Instead of having three different photos of my ugly face when I open the account selector, I'd much rather see a GMail icon for my personal GMail account, and the icon of each company for my work accounts.
After reading through the issue tracker, I now realise I can achieve this by creating separate contacts in my system and assign an appropriate avatar. With this setup I am much happier with the k9 user experience when switching accounts now, though it felt a little hacky.

While this issue has been around for a while, I still think it would be a great addition allowing to use an alternative image for an account especially useful if multiple email addresses are related to one contact. There is of course the workaround of creating multiple contacts for each email one. One could also add provider specific account images if preferred as @pserwylo mentioned.
Thanks

There seems to be a regression in K-9 Mail 8, i don't see my avatar anymore when chhosing the email account, only the 2 letters

@cketti IMO this should be filed as a bug: "Account images lost after upgrade"

Duplicate of #8238
While newer, we redesigned the drawer, so that issue contains more up to date screenshots.


buildvars-setup.cmd will fail because CheckMSBuild used before its defined

buildvars-setup.cmd:156  goto :CheckMSBuild is not working in my environment
a simple fix would be move :MissingVisualC and :CheckMSBuild on top of :VS2017
:MissingVisualC
echo Could not find Visual C++ under !VS%__VSProductVersion%COMNTOOLS!. Visual C++ is a pre-requisite to build this repository.
echo See: https://github.com/dotnet/corert/blob/master/Documentation/prerequisites-for-building.md
exit /b 1

:CheckMSBuild
if not exist !_msbuildexe! (echo Error: Could not find MSBuild.exe.  Please see https://github.com/dotnet/corert/blob/master/Documentation/prerequisites-for-building.md for build instructions. && exit /b 1)

:VS2017
:: Setup vars for VS2017
set __VSVersion=vs2017
set __VSProductVersion=150
if not exist "%VSINSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" goto :MissingVisualC
set _msbuildexe="%VSINSTALLDIR%\MSBuild\15.0\Bin\MSBuild.exe"
goto :CheckMSBuild

:VS2019
:: Setup vars for VS2019
set __VSVersion=vs2019
set __VSProductVersion=160
if not exist "%VSINSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" goto :MissingVisualC
set _msbuildexe="%VSINSTALLDIR%\MSBuild\Current\Bin\MSBuild.exe"
goto :CheckMSBuild

Not sure that the reason this could be failing is because of the order.  The following batch is valid:
GOTO END
ECHO SKIPPING THIS
:END
ECHO DONE

Maybe you could post the output of what happens?


Remove prelude module

Since you can now use use leptos_hotkeys::*; it no longer makes sense to maintain the prelude module as will bring the same funcionality. Leptos itself uses this approach. Seems to me that the prelude module is a misconception about the best practices exporting modules from a library.
This would be a breaking change.
Thoughs about this @friendlymatthew? If you agree, do you think that this could be included in v0.2.0 or we should wait for v0.3.0?

I agree that we should remove this. I don't think this will be that bad of a change, and can be something we implement now.


[Suggestion]  Remake delete.md by adding params, etc.

Add relevant details to user guide pages.

Close via #672


fix: updating twitter url

fixed in https://github.com/ngrok/ngrok-docs/pull/236#pullrequestreview-1342006980


Specify height for SVG elements

I ran into an issue where a low-specificity CSS rule elsewhere on the page was overriding the KaTeX SVG height, rendering fraction lines invisible. Does this seem like a reasonable addition to the style sheet?

I don't see how this PR could hurt. SVG height is normally set in each instance of an inline SVG. The exception, frac-lines, will no longer use SVGs if/when PR #1249 is merged. So I think this PR will have no effect. But again, it doesn't hurt.

Here is a small example demonstrating the problem: a low-specificity, seemingly innocuous CSS rule will interfere with fraction line rendering:
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0/katex.min.js"></script>
<style>
  svg {
    height: auto;
  }
  .example {
    font-size: 30px;
    text-align: center;
    margin: 30px 0;
  }
</style>
<body>

  <div class="example tex" data-expr="\frac{a}{b}">
  </div>

<script>
  window.onload = function() {
      var tex = document.getElementsByClassName("tex");
      Array.prototype.forEach.call(tex, function(el) {
          katex.render(el.getAttribute("data-expr"), el);
      });
  };
</script>

I can confirm both the diagnosis and the proposed solution. And it applies to more than just frac-lines. Other SVGs, like \sqrt, have the same behavior.
So I retract my earlier comment and I very much endorse this PR.  Thank you, @ian-r-rose.


Frechet and Hausdorff Implementation

Cpp-Linter Report :warning:
Some files did not pass the configured checks!
clang-format reports: 2 file(s) not formatted

src/frechet.c
src/frechet.h

clang-tidy reports: 3 concern(s)

src/frechet.c:18:9: warning: [clang-analyzer-core.NullDereference]

Array access results in an undefined pointer dereference

    if (ca[i][j] > -1) {
        ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:44:21: note: Storing uninitialized value
    ca = (double **)malloc(size1 * sizeof(double *));
                    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:24: note: Assuming 'i' is >= 'size1'
    for (size_t i = 0; i < size1; ++i) {
                       ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:5: note: Loop condition is false. Execution continues on line 53
    for (size_t i = 0; i < size1; ++i) {
    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:53:33: note: Passing the value -1 via 1st parameter 'i'
    double result = c_recursive(size1 - 1, size2 - 1, curve1, size1, curve2, size2);
                                ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:53:21: note: Calling 'c_recursive'
    double result = c_recursive(size1 - 1, size2 - 1, curve1, size1, curve2, size2);
                    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:18:9: note: Array access results in an undefined pointer dereference
    if (ca[i][j] > -1) {
        ^

src/frechet.c:18:18: warning: [clang-analyzer-core.UndefinedBinaryOperatorResult]

The left operand of '>' is a garbage value due to array index out of bounds

    if (ca[i][j] > -1) {
                 ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:24: note: Assuming 'i' is < 'size1'
    for (size_t i = 0; i < size1; ++i) {
                       ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:5: note: Loop condition is true.  Entering loop body
    for (size_t i = 0; i < size1; ++i) {
    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:46:27: note: Storing uninitialized value
        ca[i] = (double *)malloc(size2 * sizeof(double));
                          ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:47:28: note: Assuming 'j' is >= 'size2'
        for (size_t j = 0; j < size2; ++j) {
                           ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:47:9: note: Loop condition is false. Execution continues on line 45
        for (size_t j = 0; j < size2; ++j) {
        ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:24: note: Assuming 'i' is >= 'size1'
    for (size_t i = 0; i < size1; ++i) {
                       ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:5: note: Loop condition is false. Execution continues on line 53
    for (size_t i = 0; i < size1; ++i) {
    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:53:44: note: Passing the value -1 via 2nd parameter 'j'
    double result = c_recursive(size1 - 1, size2 - 1, curve1, size1, curve2, size2);
                                           ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:53:21: note: Calling 'c_recursive'
    double result = c_recursive(size1 - 1, size2 - 1, curve1, size1, curve2, size2);
                    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:18:18: note: The left operand of '>' is a garbage value due to array index out of bounds
    if (ca[i][j] > -1) {
                 ^

src/frechet.c:46:27: warning: [clang-analyzer-optin.portability.UnixAPI]

Call to 'malloc' has an allocation size of 0 bytes

        ca[i] = (double *)malloc(size2 * sizeof(double));
                          ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:24: note: Assuming 'i' is < 'size1'
    for (size_t i = 0; i < size1; ++i) {
                       ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:5: note: Loop condition is true.  Entering loop body
    for (size_t i = 0; i < size1; ++i) {
    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:47:28: note: Assuming 'j' is >= 'size2'
        for (size_t j = 0; j < size2; ++j) {
                           ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:47:9: note: Loop condition is false. Execution continues on line 45
        for (size_t j = 0; j < size2; ++j) {
        ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:24: note: Assuming 'i' is < 'size1'
    for (size_t i = 0; i < size1; ++i) {
                       ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:45:5: note: Loop condition is true.  Entering loop body
    for (size_t i = 0; i < size1; ++i) {
    ^
/home/runner/work/stmeasures/stmeasures/src/frechet.c:46:27: note: Call to 'malloc' has an allocation size of 0 bytes
        ca[i] = (double *)malloc(size2 * sizeof(double));
                          ^

Have any feedback or feature suggestions? Share it here.

Te cierro esta y mejor continua en #34


Synthetic Data Sampling from Manifold

Hi,
I've added functionality to sample points synthetically from a manifold. These points can then be made into triplets, responded to, create embeddings on and then estimate dimensionality.
The two classes I have added are
datasets.BaseManifold - base class for manifolds
and
datasets.LinearSubspace - a LinearSubspace embedded in higher dimensional space.
Unit tests for the LinearSubspace are in datasets.tests.test_linear_subspace.py
Please do let me know if I need to make any changes.

Thank you for the explanation! I will merge once you pushed the agreed changes :-)

Yup, pushed!

Please delete docs/sg_execution_times.rst, then it's ready to merge from my side.


Start moving source data into S3 (in an ordered manner)

~

I created the bucket encompass-public-data for this purpose.


App does not appear in site after deploying sppkg to app catalog

I have deployed sppkg to app catalog in sharepoint online, but when i go to my dev sitecol i don't see the app in "add app", there were no errors during deployment and it works in both local and online workbench.
This is regarding step 3 in spfx tutorial.
I think apps don't use features, but anyway no features in  in both sitecollection or site apps that are named hello"something"
Here is the manifest file:
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
"solution": {
"name": "helloworld-webpart-client-side-solution",
"id": "850d8bda-4dcc-4f53-9360-9c8db4ad741d",
"version": "<IP_ADDRESS>",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": true
},
"paths": {
"zippedPackage": "solution/helloworld-webpart.sppkg"
}
}

When I removed lines
"skipFeatureDeployment": true,
"isDomainIsolated": true

from the manifest it does deploy.
Please mention this in tutorial so it does match latest app templates, it is confusing, i guess it would be confusing for other people not only me.

The reason you didn't see it listed is because when you created the project, you elected to "skip feature deployment" hence the skipFeatureDepoyment:true setting. This means the web part was automatically installed in the site collection and if you edited a page, it would appear.
Not sure what tutorial you're referring to, but the very first one here explicitly says to answer no to that question in the generator (see step 4).

Select N to allow solution to be deployed to all sites immediately.


Error when parsing watch.html

Error when parsing watch.html, maybe YouTube made a change.
Please report this issue with the "1733739707190-watch.html" file on https://github.com/distubejs/ytdl-core/issues.

I have the same issue, when I do: ytdl.chooseFormat
I get this error: No such format found: hd720(And I tried multiple video formats (large, hd720, highestvideo, etc))

@RayhanZuck I had the same issue, and I think I had 3 different issues.
First :
Make sur your package @distubejs/ytdl-core is up to date and use version 22 of node.
Then :
After that, try to update the file sig.js inside node_modules/@distube/ytdl-core/lib.
Thank to : https://github.com/distubejs/ytdl-core/issues/134#issuecomment-2533208953
Finally :
If like me you have configuration like this :
const format = ytdl.chooseFormat(videoInfo.formats, {
    quality: 'highestvideo',
    filter: 'videoandaudio'
}

You can update your code like :
const format = ytdl.chooseFormat(videoInfo.formats, {});

The best available quality is automatically download.

Need debug file for more information


[BUG] pip install .

Describe the bug
pip install . returns with error
To Reproduce
Steps to reproduce the behavior:

Clone the repo, checkout commit 4575b2b792f6424d68677f9b896b55be9241aeac
pip install .

Expected behavior
Install master branch of deepspeed
ds_report output
Can't
Screenshots

System info (please complete the following information):

OS: Linux 691c0d12-8068-4c39-98d6-33c8b9144c31 5.4.0-99-generic #112-Ubuntu SMP Thu Feb 3 13:50:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
1 GPU, V100-SXM2, CUDA 11.4, pytorch torch-1.10.2-cp39-cp39-manylinux1_x86_64.whl
Python version 3.9.7
Any other relevant info about your setup

Launcher context
Terminal

What version of pip are you using? (pip --version)
deepspeed/ops/csrc is a symbolic link to csrc in the top level of the repo, so not sure why pip would error out here.

I'm using pip 20.3.1 from /mnt/home/miniconda3/lib/python3.9/site-packages/pip (python 3.9)
Oh i just got that warning maybe it's related:
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.    pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.

I updated pip to latest 22.0.4 release, pulled from master and reran pip install ., and I created the symlink, I still get this error
Building wheels for collected packages: deepspeed
  Building wheel for deepspeed (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      DS_BUILD_OPS=0
       [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
       [WARNING]  async_io: please install the libaio-dev package with apt
       [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
      Install Ops={'cpu_adam': False, 'cpu_adagrad': False, 'fused_adam': False, 'fused_lamb': False, 'sparse_attn': False, 'transformer': False, 'stochastic_transformer': False, 'async_io': False, 'utils': False, 'quantizer': False, 'transformer_inference': False}
      version=0.6.2+4575b2b7, git_hash=4575b2b7, git_branch=master
      install_requires=['hjson', 'ninja', 'numpy', 'packaging', 'psutil', 'py-cpuinfo', 'torch', 'tqdm', 'triton==1.0.0']
      compatible_ops={'cpu_adam': True, 'cpu_adagrad': True, 'fused_adam': True, 'fused_lamb': True, 'sparse_attn': True, 'transformer': True, 'stochastic_transformer': True, 'async_io': False, 'utils': True, 'quantizer': True, 'transformer_inference': True}
      ext_modules=[]
      running bdist_wheel
      running build
      running build_py
      copying deepspeed/git_version_info_installed.py -> build/lib/deepspeed
      running egg_info
      writing deepspeed.egg-info/PKG-INFO
      writing dependency_links to deepspeed.egg-info/dependency_links.txt
      writing entry points to deepspeed.egg-info/entry_points.txt
      writing requirements to deepspeed.egg-info/requires.txt
      writing top-level names to deepspeed.egg-info/top_level.txt
      reading manifest template 'MANIFEST.in'
      warning: no files found matching '*.hip' under directory 'deepspeed'
      warning: no files found matching '*.cc' under directory 'deepspeed'
      warning: no files found matching '*.tr' under directory 'csrc'
      warning: no files found matching '*.cc' under directory 'csrc'
      adding license file 'LICENSE'
      writing manifest file 'deepspeed.egg-info/SOURCES.txt'
      error: can't copy 'deepspeed/ops/csrc': doesn't exist or not a regular file
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for deepspeed
  Running setup.py clean for deepspeed
Failed to build deepspeed
Installing collected packages: deepspeed
  Attempting uninstall: deepspeed
    Found existing installation: deepspeed 0.5.10
    Uninstalling deepspeed-0.5.10:
      Successfully uninstalled deepspeed-0.5.10
  Running setup.py install for deepspeed ... error
  error: subprocess-exited-with-error

  × Running setup.py install for deepspeed did not run successfully.
  │ exit code: 1
  ╰─> [225 lines of output]
      DS_BUILD_OPS=0
       [WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
       [WARNING]  async_io: please install the libaio-dev package with apt
       [WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
      Install Ops={'cpu_adam': False, 'cpu_adagrad': False, 'fused_adam': False, 'fused_lamb': False, 'sparse_attn': False, 'transformer': False, 'stochastic_transformer': False, 'async_io': False, 'utils': False, 'quantizer': False, 'transformer_inference': False}
      version=0.6.2+4575b2b7, git_hash=4575b2b7, git_branch=master
      install_requires=['hjson', 'ninja', 'numpy', 'packaging', 'psutil', 'py-cpuinfo', 'torch', 'tqdm', 'triton==1.0.0']
      compatible_ops={'cpu_adam': True, 'cpu_adagrad': True, 'fused_adam': True, 'fused_lamb': True, 'sparse_attn': True, 'transformer': True, 'stochastic_transformer': True, 'async_io': False, 'utils': True, 'quantizer': True, 'transformer_inference': True}
      ext_modules=[]
      running install
      running build
      running build_py
      creating build
      creating build/lib
      creating build/lib/deepspeed
      copying deepspeed/__init__.py -> build/lib/deepspeed
      copying deepspeed/constants.py -> build/lib/deepspeed
      copying deepspeed/env_report.py -> build/lib/deepspeed
      copying deepspeed/git_version_info.py -> build/lib/deepspeed
      copying deepspeed/git_version_info_installed.py -> build/lib/deepspeed
      creating build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/__init__.py -> build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/autotuner.py -> build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/config.py -> build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/constants.py -> build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/scheduler.py -> build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/utils.py -> build/lib/deepspeed/autotuning
      creating build/lib/deepspeed/checkpoint
      copying deepspeed/checkpoint/__init__.py -> build/lib/deepspeed/checkpoint
      copying deepspeed/checkpoint/constants.py -> build/lib/deepspeed/checkpoint
      creating build/lib/deepspeed/elasticity
      copying deepspeed/elasticity/__init__.py -> build/lib/deepspeed/elasticity
      copying deepspeed/elasticity/config.py -> build/lib/deepspeed/elasticity
      copying deepspeed/elasticity/constants.py -> build/lib/deepspeed/elasticity
      copying deepspeed/elasticity/elasticity.py -> build/lib/deepspeed/elasticity
      creating build/lib/deepspeed/inference
      copying deepspeed/inference/__init__.py -> build/lib/deepspeed/inference
      copying deepspeed/inference/engine.py -> build/lib/deepspeed/inference
      creating build/lib/deepspeed/launcher
      copying deepspeed/launcher/__init__.py -> build/lib/deepspeed/launcher
      copying deepspeed/launcher/constants.py -> build/lib/deepspeed/launcher
      copying deepspeed/launcher/launch.py -> build/lib/deepspeed/launcher
      copying deepspeed/launcher/multinode_runner.py -> build/lib/deepspeed/launcher
      copying deepspeed/launcher/runner.py -> build/lib/deepspeed/launcher
      creating build/lib/deepspeed/module_inject
      copying deepspeed/module_inject/__init__.py -> build/lib/deepspeed/module_inject
      copying deepspeed/module_inject/inject.py -> build/lib/deepspeed/module_inject
      copying deepspeed/module_inject/module_quantize.py -> build/lib/deepspeed/module_inject
      copying deepspeed/module_inject/replace_module.py -> build/lib/deepspeed/module_inject
      copying deepspeed/module_inject/replace_policy.py -> build/lib/deepspeed/module_inject
      creating build/lib/deepspeed/moe
      copying deepspeed/moe/__init__.py -> build/lib/deepspeed/moe
      copying deepspeed/moe/experts.py -> build/lib/deepspeed/moe
      copying deepspeed/moe/layer.py -> build/lib/deepspeed/moe
      copying deepspeed/moe/sharded_moe.py -> build/lib/deepspeed/moe
      copying deepspeed/moe/utils.py -> build/lib/deepspeed/moe
      creating build/lib/deepspeed/ops
      copying deepspeed/ops/__init__.py -> build/lib/deepspeed/ops
      creating build/lib/deepspeed/pipe
      copying deepspeed/pipe/__init__.py -> build/lib/deepspeed/pipe
      creating build/lib/deepspeed/profiling
      copying deepspeed/profiling/__init__.py -> build/lib/deepspeed/profiling
      copying deepspeed/profiling/config.py -> build/lib/deepspeed/profiling
      copying deepspeed/profiling/constants.py -> build/lib/deepspeed/profiling
      creating build/lib/deepspeed/runtime
      copying deepspeed/runtime/__init__.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/bf16_optimizer.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/config.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/config_utils.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/constants.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/dataloader.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/eigenvalue.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/engine.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/lr_schedules.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/progressive_layer_drop.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/quantize.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/sparse_tensor.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/state_dict_factory.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/utils.py -> build/lib/deepspeed/runtime
      copying deepspeed/runtime/weight_quantizer.py -> build/lib/deepspeed/runtime
      creating build/lib/deepspeed/utils
      copying deepspeed/utils/__init__.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/debug.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/distributed.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/exceptions.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/groups.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/logging.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/nvtx.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/timer.py -> build/lib/deepspeed/utils
      copying deepspeed/utils/zero_to_fp32.py -> build/lib/deepspeed/utils
      creating build/lib/deepspeed/autotuning/tuner
      copying deepspeed/autotuning/tuner/__init__.py -> build/lib/deepspeed/autotuning/tuner
      copying deepspeed/autotuning/tuner/base_tuner.py -> build/lib/deepspeed/autotuning/tuner
      copying deepspeed/autotuning/tuner/cost_model.py -> build/lib/deepspeed/autotuning/tuner
      copying deepspeed/autotuning/tuner/index_based_tuner.py -> build/lib/deepspeed/autotuning/tuner
      copying deepspeed/autotuning/tuner/model_based_tuner.py -> build/lib/deepspeed/autotuning/tuner
      copying deepspeed/autotuning/tuner/utils.py -> build/lib/deepspeed/autotuning/tuner
      creating build/lib/deepspeed/ops/adagrad
      copying deepspeed/ops/adagrad/__init__.py -> build/lib/deepspeed/ops/adagrad
      copying deepspeed/ops/adagrad/cpu_adagrad.py -> build/lib/deepspeed/ops/adagrad
      creating build/lib/deepspeed/ops/adam
      copying deepspeed/ops/adam/__init__.py -> build/lib/deepspeed/ops/adam
      copying deepspeed/ops/adam/cpu_adam.py -> build/lib/deepspeed/ops/adam
      copying deepspeed/ops/adam/fused_adam.py -> build/lib/deepspeed/ops/adam
      copying deepspeed/ops/adam/multi_tensor_apply.py -> build/lib/deepspeed/ops/adam
      creating build/lib/deepspeed/ops/aio
      copying deepspeed/ops/aio/__init__.py -> build/lib/deepspeed/ops/aio
      creating build/lib/deepspeed/ops/lamb
      copying deepspeed/ops/lamb/__init__.py -> build/lib/deepspeed/ops/lamb
      copying deepspeed/ops/lamb/fused_lamb.py -> build/lib/deepspeed/ops/lamb
      creating build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/__init__.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/async_io.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/builder.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/cpu_adagrad.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/cpu_adam.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/fused_adam.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/fused_lamb.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/quantizer.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/sparse_attn.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/stochastic_transformer.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/transformer.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/transformer_inference.py -> build/lib/deepspeed/ops/op_builder
      copying deepspeed/ops/op_builder/utils.py -> build/lib/deepspeed/ops/op_builder
      creating build/lib/deepspeed/ops/quantizer
      copying deepspeed/ops/quantizer/__init__.py -> build/lib/deepspeed/ops/quantizer
      copying deepspeed/ops/quantizer/quantizer.py -> build/lib/deepspeed/ops/quantizer
      creating build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/__init__.py -> build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/bert_sparse_self_attention.py -> build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/matmul.py -> build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/softmax.py -> build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/sparse_attention_utils.py -> build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/sparse_self_attention.py -> build/lib/deepspeed/ops/sparse_attention
      copying deepspeed/ops/sparse_attention/sparsity_config.py -> build/lib/deepspeed/ops/sparse_attention
      creating build/lib/deepspeed/ops/transformer
      copying deepspeed/ops/transformer/__init__.py -> build/lib/deepspeed/ops/transformer
      copying deepspeed/ops/transformer/transformer.py -> build/lib/deepspeed/ops/transformer
      creating build/lib/deepspeed/ops/sparse_attention/trsrc
      copying deepspeed/ops/sparse_attention/trsrc/__init__.py -> build/lib/deepspeed/ops/sparse_attention/trsrc
      creating build/lib/deepspeed/ops/transformer/inference
      copying deepspeed/ops/transformer/inference/__init__.py -> build/lib/deepspeed/ops/transformer/inference
      copying deepspeed/ops/transformer/inference/moe_inference.py -> build/lib/deepspeed/ops/transformer/inference
      copying deepspeed/ops/transformer/inference/transformer_inference.py -> build/lib/deepspeed/ops/transformer/inference
      creating build/lib/deepspeed/profiling/flops_profiler
      copying deepspeed/profiling/flops_profiler/__init__.py -> build/lib/deepspeed/profiling/flops_profiler
      copying deepspeed/profiling/flops_profiler/profiler.py -> build/lib/deepspeed/profiling/flops_profiler
      creating build/lib/deepspeed/runtime/activation_checkpointing
      copying deepspeed/runtime/activation_checkpointing/__init__.py -> build/lib/deepspeed/runtime/activation_checkpointing
      copying deepspeed/runtime/activation_checkpointing/checkpointing.py -> build/lib/deepspeed/runtime/activation_checkpointing
      copying deepspeed/runtime/activation_checkpointing/config.py -> build/lib/deepspeed/runtime/activation_checkpointing
      creating build/lib/deepspeed/runtime/comm
      copying deepspeed/runtime/comm/__init__.py -> build/lib/deepspeed/runtime/comm
      copying deepspeed/runtime/comm/coalesced_collectives.py -> build/lib/deepspeed/runtime/comm
      copying deepspeed/runtime/comm/mpi.py -> build/lib/deepspeed/runtime/comm
      copying deepspeed/runtime/comm/nccl.py -> build/lib/deepspeed/runtime/comm
      creating build/lib/deepspeed/runtime/compression
      copying deepspeed/runtime/compression/__init__.py -> build/lib/deepspeed/runtime/compression
      copying deepspeed/runtime/compression/cupy.py -> build/lib/deepspeed/runtime/compression
      creating build/lib/deepspeed/runtime/data_pipeline
      copying deepspeed/runtime/data_pipeline/__init__.py -> build/lib/deepspeed/runtime/data_pipeline
      copying deepspeed/runtime/data_pipeline/curriculum_scheduler.py -> build/lib/deepspeed/runtime/data_pipeline
      creating build/lib/deepspeed/runtime/fp16
      copying deepspeed/runtime/fp16/__init__.py -> build/lib/deepspeed/runtime/fp16
      copying deepspeed/runtime/fp16/fused_optimizer.py -> build/lib/deepspeed/runtime/fp16
      copying deepspeed/runtime/fp16/loss_scaler.py -> build/lib/deepspeed/runtime/fp16
      copying deepspeed/runtime/fp16/unfused_optimizer.py -> build/lib/deepspeed/runtime/fp16
      creating build/lib/deepspeed/runtime/pipe
      copying deepspeed/runtime/pipe/__init__.py -> build/lib/deepspeed/runtime/pipe
      copying deepspeed/runtime/pipe/engine.py -> build/lib/deepspeed/runtime/pipe
      copying deepspeed/runtime/pipe/module.py -> build/lib/deepspeed/runtime/pipe
      copying deepspeed/runtime/pipe/p2p.py -> build/lib/deepspeed/runtime/pipe
      copying deepspeed/runtime/pipe/schedule.py -> build/lib/deepspeed/runtime/pipe
      copying deepspeed/runtime/pipe/topology.py -> build/lib/deepspeed/runtime/pipe
      creating build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/__init__.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/aio_config.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/async_swapper.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/constants.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/optimizer_utils.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/partitioned_optimizer_swapper.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/partitioned_param_swapper.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/pipelined_optimizer_swapper.py -> build/lib/deepspeed/runtime/swap_tensor
      copying deepspeed/runtime/swap_tensor/utils.py -> build/lib/deepspeed/runtime/swap_tensor
      creating build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/__init__.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/config.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/constants.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/contiguous_memory_allocator.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/linear.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/offload_config.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/offload_constants.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/partition_parameters.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/partitioned_param_coordinator.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/stage3.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/stage_1_and_2.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/test.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/tiling.py -> build/lib/deepspeed/runtime/zero
      copying deepspeed/runtime/zero/utils.py -> build/lib/deepspeed/runtime/zero
      creating build/lib/deepspeed/runtime/fp16/onebit
      copying deepspeed/runtime/fp16/onebit/__init__.py -> build/lib/deepspeed/runtime/fp16/onebit
      copying deepspeed/runtime/fp16/onebit/adam.py -> build/lib/deepspeed/runtime/fp16/onebit
      copying deepspeed/runtime/fp16/onebit/lamb.py -> build/lib/deepspeed/runtime/fp16/onebit
      copying deepspeed/runtime/fp16/onebit/zoadam.py -> build/lib/deepspeed/runtime/fp16/onebit
      running egg_info
      writing deepspeed.egg-info/PKG-INFO
      writing dependency_links to deepspeed.egg-info/dependency_links.txt
      writing entry points to deepspeed.egg-info/entry_points.txt
      writing requirements to deepspeed.egg-info/requires.txt
      writing top-level names to deepspeed.egg-info/top_level.txt
      reading manifest template 'MANIFEST.in'
      warning: no files found matching '*.hip' under directory 'deepspeed'
      warning: no files found matching '*.cc' under directory 'deepspeed'
      warning: no files found matching '*.tr' under directory 'csrc'
      warning: no files found matching '*.cc' under directory 'csrc'
      adding license file 'LICENSE'
      writing manifest file 'deepspeed.egg-info/SOURCES.txt'
      copying deepspeed/autotuning/.gitignore -> build/lib/deepspeed/autotuning
      copying deepspeed/autotuning/README.md -> build/lib/deepspeed/autotuning
      creating build/lib/deepspeed/autotuning/config_templates
      copying deepspeed/autotuning/config_templates/template_zero0.json -> build/lib/deepspeed/autotuning/config_templates
      copying deepspeed/autotuning/config_templates/template_zero1.json -> build/lib/deepspeed/autotuning/config_templates
      copying deepspeed/autotuning/config_templates/template_zero2.json -> build/lib/deepspeed/autotuning/config_templates
      copying deepspeed/autotuning/config_templates/template_zero3.json -> build/lib/deepspeed/autotuning/config_templates
      error: can't copy 'deepspeed/ops/csrc': doesn't exist or not a regular file
      [end of output]

I also meet the same error in Linux OS

It looks like the cause is https://github.com/pypa/setuptools_scm/issues/457.
Reproduction steps:

docker run -it --gpus all deepspeed/deepspeed:latest_torch111

Probably doesn't exactly have to be latest_torch111.

git clone --depth=1 https://github.com/microsoft/deepspeech.git
cd deepspeech
pip install .

Extending @mrwyattii's suggestion, the following is a valid workaround that allows pip install .:
rm deepspeed/ops/{csrc,op_builder}
cp -R csrc op_builder deepspeed/ops/

A strange thing is that when I do the same thing outside the container (hence just steps 2, 3, and 4), pip install . works fine. I currently don't understand why. I'm on RHEL.

It looks like the cause is pypa/setuptools_scm#457.
Reproduction steps:

docker run -it --gpus all deepspeed/deepspeed:latest_torch111 bash

Probably doesn't exactly have to be latest_torch111.

git clone --depth=1 https://github.com/microsoft/deepspeech.git

cd deepspeech

pip install .

Extending @mrwyattii's suggestion, the following is a valid workaround that allows pip install .:
rm deepspeed/ops/{csrc,op_builder}
cp -R csrc op_builder deepspeed/ops/

A strange thing is that when I do the same thing outside the container (hence just steps 2, 3, and 4), pip install . works fine. I currently don't understand why. I'm on RHEL.

Thanks, this solved my problem.


Screen rest blanc in "Peek function" in Excel documents

Microsoft PowerToys version
0.83.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
Peek
Steps to reproduce
When I use the Peek function to view an Excel document the screen rest blanc and doesn't show the content of the document, so I need to resize the window to display the content of the document.

✔ Expected Behavior
The contents of the Excel document need to be displayed.
❌ Actual Behavior
When I use the Peek function to view an Excel document the screen rest blanc and doesn't show the content of the document, so I need to resize the window to display the content of the document.

Other Software
No response

I can reproduce this all the times if Excel is the first file previewed in Peek after Peek activation.

This issue has been worked on during the 0.85 development cycle. Please update to the latest release.


ORC-1238: Update DOAP with 1.7.5

What changes were proposed in this pull request?
This PR aims to update DOAP with 1.7.5
Why are the changes needed?
To keep DOAP up to date.
How was this patch tested?
Manually.

cc: @dongjoon-hyun

Merged to main/1.8.

backported to 1.7.6.

cc @williamhyun since he is the release manager of Apache ORC 1.7.6.


Hide "show all" when loading transactions & blocks

Hey guys :)
Personally, I found this behaviour confusing: when the transactions and blocks are not loaded, I still can click the "show all" button:

Although it just takes a very short time, I think it's better to hide them until transaction & blocks are loaded :)

@EcutDavid can you provide me your ARK address for GitHub bounty or contact me on Slack if you don't want to publish it publicly (username on Slack : 'boldninja' ).

HEY @boldninja
My address is AH4RxdBYayr3q4RxRj6KvK7uZSj3uD5eLd
Thanks!


Best Way to Check Auto Renewable Subscription is still Active? if Yes then Active Premium Features..

What is best way to check Auto Renewable Subscription is still active? if it is active then enable premium features of App ? and what is the best place to do it ? in App Delegate ? Or In viewDidLoad() of first viewcontroller display to user when app launched.

@qasimmehboob refresh the receipt and inspect expiration date. Do it whenever you feel its pertinent. We check on app startup:) http://savvyapps.com/blog/how-setup-test-auto-renewable-subscription-ios-app theres some reading for you

@danielgalasko sorry for late reply. i was busy some other things. what do you mean by app startup ?  Do you mean In AppDelegate.m function

(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { }
In current version of my app i am checking like this:
i am calling the fowling code in viewDidLoad() of very first ViewController.
if([self isSubscriptionActiveWithProductID:XXXXXXXX]){
// Enable Premium Features
}
else {
// Disable Premium Features
}

Please guide me properly. i am new to this and i do not any senior developer in my friends circle.

@qasimmehboob its difficult to guide without an understanding of your App but that should be good enough.
I typically like having my own SubscriptionCenter class that handles all relevant business logic and conceals all 3rd party code so its easier to replace RMStore if you want to at a later point.
Doing it in viewDidLoad is alright, as long as you allow the user to restore purchases and then check the receipt again after that you are golden:)

@danielgalasko: i have uploaded a beta version of my app to app store. The link to app is this [https://itunes.apple.com/us/app/scanx-pdf-document-scanner/id1123617187?ls=1&mt=8] .
I uploaded this version only for testing whether apple accept or reject my app. i'll upload a new refine version in one or two days.
You can take a look at my app and give me feedback about Auto Renewable Subscription. it'll be very helpful for me.

@qasimmehboob , I just read about your subscriptions, would like to know is it working fine?, I am actually implementing the auto renewal subscriptions, and have questions , to receipt validation and and refresh receipt.


Visualization: Histogram is a straight line when use certain variable as overlay

This was found in india_cohort study. When overlay is chosen as " Pet or other animal count", the plot is always a straight line regardless of main variable.
example1.  when x=" Hemoglobin", overlay=" Pet or other animal count".

example2. when x=" Systolic blood pressure", overlay=" Pet or other animal count".

It looks good now. Closing ticket.


authentication-local with Sequelize doesn't protect password on Sequelize error

Steps to reproduce

feathers generate authentication
use Sequelize (postgres)
users.model.js has email field as unique
create another user with same email
Sequelize error sent in BadRequest 400 contains password.
Add hook to error in users.hooks.js has no effect.
 error: {  all: [protect('errors')],  find: [],  get: [],  create: [],  update: [],  patch: [],  remove: [] }
Tried variation:
protect('errors[0].instance.password')
Tried using omit directly with no effect.

Expected behavior
protect/omit in error hooks should have effect
Actual behavior
protect/omit in error hooks not called.
throw feathersError; feathers-sequelize/lib/utils
System configuration
Module versions (especially the part that's not working):
authentication-local 1.2.1
feathers-sequelize 3.1.2
NodeJS version: 10.7
Operating System: windows 10
Browser Version: postman

Module Loader: npm

Similar to https://github.com/feathersjs/errors/issues/115 - basically feathers-sequelzize should not really pass through - or clean up - any of those errors.
Additionally, it is true, the protect hook in https://github.com/feathersjs/authentication-local/blob/master/lib/hooks/protect.js should also do this for context.error

This has been done in the latest feathers-sequelize.


Update kafka-avro-serializer to 7.3.0

Updates io.confluent:kafka-avro-serializer from 6.2.7 to 7.3.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.confluent", artifactId = "kafka-avro-serializer" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "io.confluent", artifactId = "kafka-avro-serializer" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Will be done in [KAYAK-1563].


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116059

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/116063

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


Analyzer doesn't check unary minus operation on unsigned type

What is wrong?
contract Foo:
    pub fn bar(self) -> u32:
        let unsigned: u32 = 1
        return -unsigned

It's better to reject the code above for safety.
How can it be fixed
Tweaking this lines would fix the issue.

I'd like to tackle this issue.

Thanks @hmrtn! Please feel free to ask me in Discord or here if you have any questions.


Cleaning Up before release

Description
Removing some dead code, cleaning up doc

API change check
API changes are not detected in this pull request.


Disabling the scheduler

Hello.
Is it possible to turn off the scheduler for specific agents? I have a few scenarios, where all the agents are dependent on each other. When the first agent receives an event, it sends all the necessary data to other agents. And this data is valid for 10-15 minutes. So when all the agents, except the first one, run as a scheduled jobs, they return errors (and 'not working' status), because there's no any data for them.
Or maybe it's possible to add a really long interval to a scheduler?

Can you set their schedules to never, or am I misunderstanding?

 I've been using Huginn for a few years and never seen this option. Thank you for the tip!

Haha, no problem!


Set values for action in C++

Hi,
I wonder how can I set values for action within C++. For example, I have defined
  template <typename Config>
  static decltype(auto) ActionSpec(const Config& conf)
  {
    int num_actions = 5;
    vector<int> lower_bounds(num_actions, {0});
    vector<int> upper_bounds(num_actions, {INT_MAX});
    return MakeDict(
        "action"_.Bind(Spec<int>({num_actions}, {lower_bounds, upper_bounds})));
  }

for the action spec.
I want to do some manually inputs for specifying the action. For example, do something like:
Action action;
for(int i = 0; i<5; i++){
    action["action"_][i] = i;
}

Is there a way to do that? Thanks!

like this? https://github.com/sail-sg/envpool/blob/47ad258713ec89f874819ed8318ed77ae4d4b1e8/envpool/atari/atari_env_test.cc#L127

like this?
https://github.com/sail-sg/envpool/blob/47ad258713ec89f874819ed8318ed77ae4d4b1e8/envpool/atari/atari_env_test.cc#L127

Yes! Thank you!


Possible performance issue

https://github.com/uriyyo/fastapi-pagination/blob/3331eb4c02797629fad3688fa55f1f361286f998/fastapi_pagination/paginator.py#L9
Am I missing something or this way of paginating requires to fetch all rows from database to just get full count of rows while we just need a single page of data?

This is generic pagination that is used to paginate some prefetched data.
In case if you want better performance there are integrations with popular libraries:

sqlalchemy
gino
databases
orm
tortoise

The full list of examples can be found here.
For instance sqlalchemy pagination usage:
from fastapi_pagination import Page, pagination_params
from fastapi_pagination.ext.sqlalchemy import paginate

...

@app.get("/", response_model=Page[UserOut], dependencies=[Depends(pagination_params)])
def get_users(db: Session = Depends(get_db)) -> Any:
    return paginate(db.query(User))

Nice. thanks!


App Create: Make use of app manifest

the app manifest will contain info on name, bound services, etc
we should make use of this in the app create flow
this might mean changing the order of the wizard to specify source of app first

slightly linked #30

Users can now supply an app manifest when creating an application (which applies values to the wizard)


Model ID does not update

The Model ID remains 'ptvo.switch', also after entering a custom Model ID.
I flash the CC2530 using an Arduino with CCLoader software (after the CCDebugger was fried - delivery time of a new one is quite long). After flashing, I can operate digital outputs without problems. Using custom MQTT commands, I can also change PWM levels. So the device seems to have been flashed properly. But because the Model ID doesn't update after reprogramming/repairing, the custom converter for Zigbee2MQTT is not activated.
Let me know if I need to supply more information. Or if the CCLoader approach is the likely cause of this trouble...

@gmeik You should delete device in Z2M, restart Z2M and rejoin your device again. Z2M should display the new ModelId.

I tried deleting the device from Z2M, restart Z2M and rejoin. It still shows up as ptvo.switch.
I checked the .bin file and the 'ptvo.switch' text does not even show up, and my own model ID does show up. So for now I'll assume that programming with CCLoader didn't work correctly, and wait for the new CCDebugger.

You can try to read the firmware back from the broken device and compare with the flashed HEX. The flasher uses a simple checksum checking method. It may fail in some rare cases.

I seem to be experiencing the same issue:

I've deleted the device in Z2M, and restarted Z2M. None of it seems to fix the problem. When I make changes to the firmware (e.g. add an input), they do show up in Z2M.
I've also let it validate that the hex file is correct, and that seems to be the case:

I bumped into one more thing.... When exporting the converter and opening the file, I still see the old name (ptvo.switch).

Could it be that this is part of the issue?


start: get the data needed for the Pipelines page

Report
Starting in https://dvc.org/doc/start/data-management/data-pipelines and following the instructions is difficult, because it assumes you have the data gotten back in https://dvc.org/doc/start/data-management/data-versioning#expand-to-get-an-example-dataset, specifically:
$ dvc get https://github.com/iterative/dataset-registry \
          get-started/data.xml -o data/data.xml

Should we repeat that here, or link to the previous page? @dberenbaum

Context: https://discord.com/channels/485586884165107732/1047152728641650709/1048144098768453663

p.s. should we check all pages to see if you can start anywhere? Cc @shcheklein

No, I don't think so. It requires a complete redesign and a different approach. If we consider pipelines a separate independent large feature we should do a separate "trail" that starts right away with dvc stage  as a first command.


Simplify formula referencing

The current implementation needs two commands to create a reference and a name for a distinct formula. Also, the formulas have to added manually to the table at the end of the document. This new version uses a glossary to manage the references and the names of the formulas. To compile the glossary your need makeglossaries in your LaTeX toolchain.

It all looks nice, but when after I run ./make_document.sh I have no glossary at the end of the document.
For the local WFS part it would also be nice to include one figure, but this don't have to part of this pull request. As soon as the compilation works, this will be merged into master.


Add timestream pagination config

Issue #838
Description of changes:
Add pagination config arg to wr.timestream.query
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 3e846278215fbde19b6ebd8b67020ed7cf2e11c8
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
Commit ID: 9fb8afd826fd14e6ab8c0eb256e087359d58cd81
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


First Example

import tensorflow as tf
import numpy as np

# Create 100 phony x, y data points in NumPy, y = x * 0.1 + 0.3
x_data = np.random.rand(100).astype(np.float32)
y_data = x_data * 0.1 + 0.3

# Try to find values for W and b that compute y_data = W * x_data + b
# (We know that W should be 0.1 and b 0.3, but Tensorflow will
# figure that out for us.)
W = tf.Variable(tf.random_uniform([1], -1.0, 1.0))
b = tf.Variable(tf.zeros([1]))
y = W * x_data + b

# Minimize the mean squared errors.
loss = tf.reduce_mean(tf.square(y - y_data))
optimizer = tf.train.GradientDescentOptimizer(0.5)
train = optimizer.minimize(loss)

# Before starting, initialize the variables.  We will 'run' this first.
init = tf.global_variables_initializer()

# Launch the graph.
sess = tf.Session()
sess.run(init)

# Fit the line.
for step in range(201):
    sess.run(train)
    if step % 20 == 0:
        print(step, sess.run(W), sess.run(b))

# Learns best fit is W: [0.1], b: [0.3]

# Close the Session when we're done.
sess.close()


Permission problems with internal storage videos

Permission is denied for mobile-ffmpeg to read videos stored in internal storage.
This might not be fixable due to how newer Android OS handles internal storage. If it is not fixable, we should try to find a workaround.

Test again


Pin jinja2 to fix failing docs

Description
Pin jinja2 to fix failing docs:
https://github.com/volkamerlab/teachopencadd/runs/5686402020?check_suite_focus=true#step:8:42
Status

[ ] Ready to go

CI failing with error discussed here: https://github.com/conda-incubator/setup-miniconda/issues/116


Migrate from REST to GraphQL

Convert from RESTful HTTP endpoints to a GraphQL API endpoint.

Implemented in v2.0


Http Headers Case Mismatch

Make http headers preserve case internally, but all searches for them should be case insensitive.

This one is done, isn't it?

Fixed.