Windows HostProcess Beta 1.23 Documentation

Beta documentation for HostProcess containers going into 1.23.
Enhancement: kubernetes/enhancements#1981

/assign @mehabhalodiya

Don't forget to update https://github.com/kubernetes/website/blob/main/content/en/docs/reference/command-line-tools-reference/feature-gates.md

/sig windows

I've added the content items that were most pertinent for 1.23 beta. If no one has any suggestions for additional topics I will set this as ready for review.

/cc @jlbutler

Can I get folks to revisit https://github.com/kubernetes/website/pull/30391#pullrequestreview-807638059 ?
For the v1.23 docs we should let readers know that to follow this guide, they should be running Kubernetes v1.23 or later. It's fine (and recommended) to let them know that they can read the v1.22 guide if they have an older cluster.
If someone is running v1.22 and follows this guide, we're giving them slightly incorrect advice.

Can I get folks to revisit #30391 (review) ?
For the v1.23 docs we should let readers know that to follow this guide, they should be running Kubernetes v1.23 or later. It's fine (and recommended) to let them know that they can read the v1.22 guide if they have an older cluster.
If someone is running v1.22 and follows this guide, we're giving them slightly incorrect advice.

@sftim v1.22 specified uses both CRI fields and annotations on CRI calls to indicate pods/containers should be run as host process containers.
v1.23 only uses CRI fields (the annotations were removed).
Containerd v1.6+ understands the CRI fields.
That means that a user running a v1.22 cluster can use containerd v1.6+ without needing to do any extra configuration.
The extra steps are only needed with K8s v1.22 and containerd 1.5.x.
@brasmith-ms perhaps we should add a note saying something like:
'If you are running a v1.22 cluster and using containerd v1.5.x you must add the annotation configurations. These configurations are not needed with v1.6+)`?

Can I get folks to revisit #30391 (review) ?
For the v1.23 docs we should let readers know that to follow this guide, they should be running Kubernetes v1.23 or later. It's fine (and recommended) to let them know that they can read the v1.22 guide if they have an older cluster.
If someone is running v1.22 and follows this guide, we're giving them slightly incorrect advice.

@sftim v1.22 specified uses both CRI fields and annotations on CRI calls to indicate pods/containers should be run as host process containers. v1.23 only uses CRI fields (the annotations were removed). Containerd v1.6+ understands the CRI fields. That means that a user running a v1.22 cluster can use containerd v1.6+ without needing to do any extra configuration. The extra steps are only needed with K8s v1.22 and containerd 1.5.x.
@brasmith-ms perhaps we should add a note saying something like: 'If you are running a v1.22 cluster and using containerd v1.5.x you must add the annotation configurations. These configurations are not needed with v1.6+)`?

Or perhaps we should just update the v1.22 docs to say you must use containerd v1.6+.
That will provide consistent guidance and less confusion overall.

@brasmith-ms Can you please do the changes as suggested above?

/lgtm
for sig-windows
Do the commits need to be squashed?

/label tide/merge-method-squash
/lgtm

/approve
for sig-windows

Acknowledging a single typo (kublet) but will merge given the lift here.
@brasmith-ms can you file a quick follow-up PR to s/kublet/kubelet/ please? otherwise lgtm!
/appove

/approve

PT for 1.22 has been created here: https://github.com/kubernetes/website/pull/30699


Acquiring metadata about a project

Hi,
Thanks for the contribution.
Is there anyway to view compose.yaml of a project? We cannot add additional metadata and query it using labels is that true?

Hi,
at the moment there is no way to view the content of the docker-compose.yml file.
However, I am working on a new project that will allow you to search and visualize docker-compose.yml files and it will be integrated with docker-compose-ui.
Could you please explain me what you mean when you say "metadata and query it using labels is that true"?
thanks

not exactly what you asked, but you could get some project metadata (port mappings, volumes info) from the URL:
http://localhost:5000/api/v1/projects/hello-node


Contrast border lines vanish for selected tree item or split header

VSCode Version: Latest and greatest
OS Version: Sierra

When you set contrast borders if you look closely they have this 1pt of pixel not-perfectness:

Also, headers get not borders at right which is also problematic:

@pmkary can you share your theme changes so that I can see what happens to the header? I cannot reproduce in my simple test case:
"workbench.colorCustomizations": {
	"contrastBorder": "#ff0000"
}

The border of the entire sidebar should actually separate the header too.

@bpasero Thanks a lot for your investigation :D
1
I can actually see that your editor has just the same problem, Look:

Before the age of workbench configs I used to manually change the CSS of the page and I know how to fix that, just check this snippet
but if you live to have more detail this the full settings:

    "workbench.colorCustomizations": {
        "editor.lineHighlightBackground": "#f2f2f2",
        "contrastBorder": "#e5e5e5",
        "peekViewEditor.background": "#E2EEFA",
        "peekViewResult.background": "#E2EEFA",
        "focusBorder": "#3778B7",
        "widget.shadow": "#cccccc",
        "editorGroup.border": "#E0E0E0",
        "editorGroupHeader.noTabsBackground": "#f1f1f1",
        "editorGroup.dropBackground": "#f1f1f1",
        "editorGroupHeader.tabsBackground": "#f1f1f1",
        "tab.inactiveBackground": "#f1f1f1",
        "tab.inactiveForeground": "#aaaaaa",
        "tab.activeForeground": "#C94824",
        "tab.border": "#f1f1f1",
        "editorWidget.background": "#f7f7f7",
        "panelTitle.activeBorder": "#B052A1",
        "titleBar.activeBackground": "#f1f1f1",
        "button.background": "#3778B7",
        "input.background": "#ffffff",
        "input.border": "#ffffff",
        "editorLineNumber.foreground": "#cccccc",
        "scrollbarSlider.background": "#DC8564",
        "scrollbarSlider.activeBackground": "#C94824",
        "scrollbarSlider.hoverBackground": "#C94824",
        "list.activeSelectionBackground": "#E2EEFA",
        "list.activeSelectionForeground": "#3778B7",
        "list.focusBackground": "#E2EEFF",
        "list.inactiveSelectionBackground": "#E2EEFA",
        "list.highlightForeground": "#3778B7",
        "inputOption.activeBorder": "#C94824",
        "activityBar.background": "#f1f1f1",
        "activityBar.foreground": "#aaaaaa",
        "activityBarBadge.background": "#C94824",
        "statusBar.background": "#3778B7",
        "statusBar.noFolderBackground": "#B052A1",
        "statusBar.debuggingBackground": "#C94824",
        "sideBarSectionHeader.background": "#f7f7f7",
        "sideBarTitle.foreground": "#A56416",
        "sideBar.background": "#f1f1f1"
    }

To be used with Kary Foundation - Light if you want the full idea.
2
About the one pixel glitch I have no idea what so ever. I think if you change the sidebar header's height it would be the simplest to fix

I pushed a fix. We never actually want a contrast border for the first split view (this does not fix the reported issue but avoids it altogether).
Remains the issue with the border-right.

@bpasero thanks a lot 👍
As always the fact that you guys are so kind and caring about the issues and user request is really awesome and appreciated. Thanks a lot :D

I decided to extract the other issue to https://github.com/Microsoft/vscode/issues/26218 so that we can close this one and verify it.
Verify:

you are not seeing a border on top of the first split view (explorer, debug) in HC theme. Only for N > 1.


access this.$axios from an action

Hi, I'm trying to use this.$axios inside an action but I get the error Property '$axios' does not exist on type 'Store<ArticleState>', do you know if it's a bug or if I'm missing something?

Within the store, it's this.app.$axios
Hope that helps 🙂


beta fabric version

This mod is using 0.14.5 fabric loader, which is beta, unstable and incapable with most mods. Why won't you transfer it to a stable 1.13.3?

Huh, I just went with the version in the Fabric example mod and assumed that was the latest stable version. Where do you see that it's a beta version?

Discord of fabric

Lowered the fabric loader version to 0.13.3 in the latest version!
https://modrinth.com/mod/roundaround-pickup-notifications/version/1.1.0


Implement Golly notation helpers

In order to make experiments with life-like rules more convenient, we need a helper that will convert the rule in Golly notation to the integer (bit field).
We also need a reverse converter, to use readable genome strings in EvoLife statistics.

Helpers for Golly notation are implemented and in use for EvoLife.


[PL-31742] Updates to disable SM

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/pr-996

Preview environment: https://hdh.pr.harness.io/pr-996

Preview environment: https://hdh.pr.harness.io/pr-996


PLT-279: Make compileVarFresh take an annotation

compileVarFresh should not assume that the VarDecl it creates should be annotated AnnOther. The caller should decide that.
This PR also makes sure all calls to TermBind constructor uses the correct annotation, since that's what the inliner looks at. This doesn't affect any existing test because we aren't inlining many things, but it's the right thing to do.

(Don't take my approval too seriously though, I'm not too familiar with the inliner)

@michaelpj Right now, AnnInline literally only works on builtins, and nothing else. In other words marking anything else AnnInline has no effect.
In my view, any time you mark any Term with AnnInline, and then if that term appears in the RHS of a term-let, then that term-let should be inlined. Or, if AnnInline is indeed only intended for Builtins, then we should rename it or add a note to make it clear. What do you think?

In my view, any time you mark any Term with AnnInline, and then if that term appears in the RHS of a term-let, then that term-let should be inlined. Or, if AnnInline is indeed only intended for builtins, then we should rename it or add a note to make it clear. What do you think?

Isn't this the same discussion we already had? I argued for the annotation being meaningful on the variable declaration, you argued for having it be meaningful on the term. I think we agreed to say that it's the variable declaration annotation that's meaningful... so what are we doing here? Unless we're inconsistent and we were to start assuming that the annotation on the term was meaningful (which we currently don't, AFAICT), then there's no reason to do this, and it just encourages us to be inconsistent. At the moment there's a simple rule: if you want it to inline, make sure you annotate the variable declaration. That's it!

Isn't this the same discussion we already had?

What we discussed is for builtins. In defineBuiltinTerm, we have the var and the term; we can annotate either one, and we decided to annotate the var.
But in the general case in compileExpr, it's a different story. When you compile a GHC.Let, you first compile the rhs. When compiling the rhs, the compiler may, for some reason, decide that rhs should be inlined (e.g., it is "const" or whatever). The compiler of the rhs does not have access to the VarDecl, so it can only mark the compiled rhs AnnInline, and then compileExpr should create the VarDecl based on that annotation.

make sure you annotate the variable declaration.

That's exactly what I'm trying to do, but like I said above, in compileExpr we don't know what to annotate the VarDecl, unless we look at the compiled rhs.

Since it is unclear whether this will ever be useful, I'm happy to just update the Note to clarify this for now. This is no hill to die on.

But in the general case in compileExpr, it's a different story. When you compile a GHC.Let, you first compile the rhs. When compiling the rhs, the compiler may, for some reason, decide that rhs should be inlined (e.g., it is "const" or whatever). The compiler of the rhs does not have access to the VarDecl, so it can only mark the compiled rhs AnnInline, and then compileExpr should create the VarDecl based on that annotation.

But this is pretty hypothetical. I can equally argue that decisions about inlining will always be made a the binding site, and so we'll never need this! Indeed, I think what you are describing is pretty odd, actually: compileExpr doesn't know if it's compiling an expression which is the "top level" of a binding, so it has no idea whether marking it inline would even do anything.

Ok, I'll back out the changes to compileExpr and update the Note.

@michaelpj Updated.


[BF16] For Hugging Face benchmark model on stock pytorch, Softmax cost time on pvc-1100 worse than A100 * ratio

🐛 Describe the bug
For more details, please refer to https://jira.devtools.intel.com/browse/PYTORCHDGQ-5010?filter=-2.
For more details, please refer to https://jira.devtools.intel.com/browse/PYTORCHDGQ-5018?filter=-2.
For more details, please refer to https://jira.devtools.intel.com/browse/PYTORCHDGQ-5092.
Versions
pytorch commit:03480213dea1f60f6d12e7348904d2f3ef7314d0
torch-xpu-ops commit:718bc42c667539977e5eadb11ea4dec602544bf2
driver : hotfix_agama-ci-devel-881.19
pti : l_intel-pti-dev_p_<IP_ADDRESS>_offline.sh
basekit : l_BaseKit_p_2<IP_ADDRESS>_offline.sh

xpu performance is not targeted to PT 2.6

Update the latest test for softmax on these models:

unit:ms
A100
pvc 1100
ratio

T5Small
18.09
32.781
55%

GPT2ForSequenceClassification
18.152
34.974
52%

ElectraForQuestionAnswering
13.466
20.277
66%


只运行一个epoch，然后就卡住了，这个问题是什么原因？

(zh_py27) amaxcuda8@amax-v:/data/zhanghang/unet/unet-master$ python main.py
Using TensorFlow backend.
/data/zhanghang/unet/unet-master/model.py:58: UserWarning: Update your Model call to the Keras 2 API: Model(outputs=Tensor("co..., inputs=Tensor("in...)
model = Model(input = inputs, output = conv10)
Epoch 1/5
Found 30 images belonging to 1 classes.
Found 30 images belonging to 1 classes.

(zh_py27) amaxcuda8@amax-v:/data/zhanghang/unet/unet-master$ python main.py
Using TensorFlow backend.
/data/zhanghang/unet/unet-master/model.py:58: UserWarning: Update your Model call to the Keras 2 API: Model(outputs=Tensor("co..., inputs=Tensor("in...)
model = Model(input = inputs, output = conv10)
Epoch 1/5
Found 30 images belonging to 1 classes.
Found 30 images belonging to 1 classes.

Define the model as follows:
model = Model(inputs = inputs, outputs = conv10)

@deaspo  I also encountered the same problem, but this method doesn't work for me. Please help!

@deaspo I also encountered the same problem, but this method doesn't work for me. Please help!

What is the version of keras, tensorflow, python are you using? have you tried updating keras?

@deaspo I also encountered the same problem, but this method doesn't work for me. Please help!

---> UserWarning: Update your Model call to the Keras 2 API

tensorflow=1.1.0
Keras=2.2.4
python=2.7
I have no warning message because of your suggestion, but the model still stuck in the first epoch. I have tried different keras versions before.

@deaspo I also encountered the same problem, but this method doesn't work for me. Please help!

What is the version of keras, tensorflow, python are you using? have you tried updating keras?

tensorflow=1.1.0
Keras=2.2.4
python=2.7
I have no warning message because of your suggestion, but the model still stuck in the first epoch. I have tried different keras versions before.

@deaspo I also encountered the same problem, but this method doesn't work for me. Please help!

What is the version of keras, tensorflow, python are you using? have you tried updating keras?

Please paste the lines calling the model_fit() or model_fit_generator(), probably a parameter missing in the line

tensorflow=1.1.0
Keras=2.2.4
python=2.7
I have no warning message because of your suggestion, but the model still stuck in the first epoch. I have tried different keras versions before.

@deaspo I also encountered the same problem, but this method doesn't work for me. Please help!

What is the version of keras, tensorflow, python are you using? have you tried updating keras?

Please paste the lines calling the model_fit() or model_fit_generator(), probably a parameter missing in the line

I have not changed anything in this project except the line you suggested above.

I also encountered the same problem,did you have solve it?@heysun0728

I also encountered the same problem,did you have solve it?@heysun0728

I think this is caused by the version problem. When I run this code using python 2.7, it always gets stuck. After I installed the anaconda3.7 and tensorflow, now it works.

I also encountered the same problem,did you have solve it?@heysun0728

i use py36  now it works


_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 58s

the patch passed

+1 :green_heart:
compile
0m 59s

the patch passed

+1 :green_heart:
javac
0m 59s

the patch passed

+1 :green_heart:
javadoc
0m 30s

the patch passed

+1 :green_heart:
shadedjars
5m 20s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

-1 :x:
unit
232m 39s
/patch-unit-hbase-server.txt
hbase-server in the patch failed.

258m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6209/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6209

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux ffbb2b70c570 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e5d00e848ec3e4874413c10797c848997efe4725

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6209/1/testReport/

Max. process+thread count
4593 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6209/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 35s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m  7s

master passed

+1 :green_heart:
compile
3m  3s

master passed

+1 :green_heart:
checkstyle
0m 38s

master passed

+1 :green_heart:
spotbugs
1m 33s

master passed

+1 :green_heart:
spotless
0m 45s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 53s

the patch passed

+1 :green_heart:
compile
2m 57s

the patch passed

+1 :green_heart:
javac
2m 57s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 40s

the patch passed

+1 :green_heart:
spotbugs
1m 41s

the patch passed

+1 :green_heart:
hadoopcheck
10m 30s

Patch does not cause any errors with Hadoop 3.3.6 3.4.0.

+1 :green_heart:
spotless
0m 44s

patch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 49s

the patch passed

+1 :green_heart:
compile
0m 53s

the patch passed

+1 :green_heart:
javac
0m 53s

the patch passed

+1 :green_heart:
javadoc
0m 25s

the patch passed

+1 :green_heart:
shadedjars
5m 29s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
210m 23s

hbase-server in the patch passed.

234m 55s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6209/2/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6209

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux d2aae238a661 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e5d00e848ec3e4874413c10797c848997efe4725

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6209/2/testReport/

Max. process+thread count
5346 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6209/2/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@hanke580 said on jira that the patch worked for him.
Then we need a +1 to merge this.


"What you can build with..." section has placeholder text

Lorem ipsum isn't what we want.

See here: https://github.com/ipfs/js.ipfs.io/blob/dd12ac70a0df8482c7e9401832d5254006d9d8ec/intl/messages/en.json#L137
Same issue in other languages as well.

This section is still being reviewed by David. Thank you anyway for your feedback @jhiesey.

@daviddias, do you want to keep a description on this section? If so, can you tell me what it should be, please?
This way I'll be able to notify translators on transifex to translate the final strings and then add the remaining languages to the website.


Edit the storage to include storage of isMarked

Change the JsonAdaptedCompany class to include the isMarked variable in the storage so that whenever the user mark or unmark a company it will be stored in the storage
Changed the TypicalCompany and UnsortedTypicalCompany to match with our context as companies instead of persons, made some changes to make our code fit our context better

LGTM

LGTM on the whole 👍


Being confused about The huber_loss

the function huber_loss in utils is like:
def huber_loss(e, d):
    a = (abs(e) <= d).float()
    b = (e > d).float()
    return a*e**2/2 + b*d*(abs(e)-d/2)

It may come with a zero loss when error is greater than huber_delta.
If I'm not mistaken，it should be
b = (abs(e) > d).float()
Looking forward to hearing from you.

Yes, thanks for pointing that, already fixed it.


        }
      ]
    },
    "score": 1
  },
  "status": {
    "code": 200,
    "errorType": "success"
  },
  "sessionId": "20f1c201-12a4-4293-b524-61295a63354b"
}

but rasa response misses the fullfillment, contexts and also the some values of parameters. Even format is different for parameters, rasa returning parameters as an array while api.ai as dictionary object in parameters
{
    "id": "d57d0ec4-76a2-11e7-894b-6817298f3f22",
    "result": {
        "action": null,
        "actionIncomplete": null,
        "contexts": [],
        "fulfillment": {},
        "metadata": {
            "intentId": "d57d0ec5-76a2-11e7-894b-6817298f3f22",
            "intentName": {
                "confidence": 0.597486798355622,
                "name": "blood_pressure"
            },
            "webhookUsed": "false"
        },
        "parameters": {
            "command": [
                "Log"
            ],
            "navModule": [
                "Blood Pressure"
            ]
        },
        "resolvedQuery": "I want to log my blood pressure",
        "score": null,
        "source": "agent"
    },
    "sessionId": "d57d0ec6-76a2-11e7-894b-6817298f3f22",
    "status": {
        "code": 200,
        "errorType": "success"
    },
    "timestamp": "2017-08-01T15:18:59.661244"
}

rasa NLU version (0.9.1):
Used backend / pipeline (["nlp_spacy", "tokenizer_spacy", "intent_entity_featurizer_regex", "intent_featurizer_spacy", "ner_crf", "ner_synonyms",  "intent_classifier_sklearn"]):
Operating system (UBUNTU):
Issue:
fullfillment, contexts missing. Response format is different as compared to api.ai
There are also other parameters issues like score is null for rasa but for api.ai is 1
Content of configuration file (if used & relevant):
{
  "pipeline": ["nlp_spacy", "tokenizer_spacy", "intent_entity_featurizer_regex", "intent_featurizer_spacy", "ner_crf", "ner_synonyms",  "intent_classifier_sklearn"],
  "path" : "./models",
  "data" : "./data/",
  "spacy_model_name": "en_default",
  "emulate": "api",
  "language": "en"
}

thanks.

format: this does sound like an issue. My guess is that api have updated their API since we last looked at this.
context, fulfillment. Rasa NLU doesn't support these features. If you want dialogue management, I can give you early access to Rasa Core which does exactly that.

Yes, I want the access.

I'll rename this one and re-purpose it for an update to the api.ai output.

@amn41 , if possible I want an early access too! :)

It's has been 2 months yet there is no progress on the issue!! Should I move back to api.ai!?

I'm actually thinking that @deubaka may have fixed this in #630 and we just didn't notice since there were two separate issues. Can you test the latest?
Also, as you may have noticed Rasa NLU is an open source project. There is a core team behind it, but what they work on is driven by the needs of their business. This issue being labeled as help wanted indicates that we need a member of the community to step in and do it as it's not a priority for the core team at the moment.
If it isn't fixed by #630 then it would be a great pull request.

Same response in rasa-nlu=0.10.4. as stated above.

@irfan-zoefit the format is created right there:
https://github.com/RasaHQ/rasa_nlu/blob/02c6d6bda3961605127c5f3da2a5bd95a6308b45/rasa_nlu/emulators/dialogflow.py#L36
should be easy to change and adapt to the new format. mind creating a PR?

Yes, why not.

@tmbo I'd have someone who would like to get started contributing to rasa, was thinking handing this issue to him. This has not been solved, right?

Sure thing.

:+1:


RNGP - Do not attempt to substring to 1024 while logging.

Summary:
Fixes https://github.com/facebook/react-native/issues/47504
Changelog:
[Android] [Fixed] - RNGP - Do not attempt to substring to 1024 while logging
Differential Revision: D65659586

Is there any work around for this? I am working on a turbo module and am following the steps in the docs to properly generate the code. I am getting this error when running the command to generate the android code here.
cd MyApp
yarn add ../RTNCalculator
cd android
./gradlew generateCodegenArtifactsFromSchema

I took the code change mentioned in the above comment that should fix this and used it to overwrite the code in<EMAIL_ADDRESS>but I still get the error. Is there any way I can get around this?
I am using react native 0.76.1 and @react-native-community/cli v15.0.0.
Any help is greatly appreciated, thank you!


[Feature Request] Granted should support assuming profiles that are only defined in the .credentials file

Some of our users have reported that they use profiles which are defined only in the credentials file, rather than in config.
Currently, to use granted with these profiles they need to be added into the config file.

Similarly, I found that granted was very specific with how each was prepended or absent of profile
I ended up needing to have [profile AssumeRole-SomeAccountID-SomeRole] in the ~/.aws/config whereas in ~/.aws/credentials I needed to have it without "profile" [AssumeRole-SomeAccountID-SomeRole] otherwise it wasn't working. We also only had things stuffed into our ~/.aws/credentials file originally.


feat: add iconify tailwind snippet

Description
Add iconify tailwind snippet.
Ref: https://iconify.design/docs/usage/css/tailwind/#html
Linked Issues
Additional context

Thank you, but I don't think a CSS class name needs a snippet. The id copy feature is made for that already.


Meltano "run all" or "build all" command

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3041
Originally created by @aaronsteers on 2021-11-03 17:42:12

In our efforts to become more devops friendly with #2869 (environments), https://gitlab.com/meltano/meltano/-/issues/2301 (meltano run) and #2924 (more robust "pipelines"), I realized there's an unspoken user story here I want to better articulate:

As a Meltano user working on project with an n number of taps, where n can grow large, I want a streamlined way to "build" the full environment using the latest project definitions. I want to be able to control for side effects and lingering state by running a full new build at times when I need to retest the end-to-end project. This might happen once a week, once for every CI build, and/or perhaps once before any sizeable MR is submitted for final review.

This would be functionally equivalent to launching n terminals locally, running all n taps in a separate terminal, and then running meltano invoke dbt:run && meltano invoke dbt:test after all have completed.
For local testing, I assume any failure is indicative of a faulty project definition and I would resolve failures with a code change before restarting part or all of the project.
In the generic python world, this would be similar to running tox as the "build and test everything" command. If I get a lint error, I go resolve it and either rerun all of tox or (more likely) I rerun just the lint job, confirm it is fixed, and then rerun tox. Similarly, we are not trying to account for other reasons of failures, retries, etc.
Desired output
The goal is to confirm our project can build itself and is therefor valid in three dimensions:

it compiles and runs to completion
it passes any declared test conditions
it generates a build artifact (database, tables, and files in our case) which can be subject to additional manual inspection and testing

Implementation already in scope
The simplest iteration and the one we originally aligned behind was meltano run invoked with any n number of steps:
(Note: please don't read too much into non-finalized syntax choices, this is just for explanatory purposes:)
meltano run --environment=aj_test tap-gitlab tap-slack tap-shopify tap-google-analytics \
target-snowflake dbt:test-sources dbt:run dbt:test-all

As discussed in the meltano run issue, we would let Meltano figure out how to parallelize the work, and we would throw an error if something is sequenced in a way we cannot DAG-ify - as in the noted examples of: a target coming sequentially before any named taps, and a dbt:run command placed in between a tap and target.
The long-term vision here would be to eventually reduce the number of things that need to be declared at command line each time, perhaps by encoding them into a named pipeline or environment config, but at least a base level implementation of "build all" functional requirements can be encoded into that meltano run syntax as shown in the above example.

View 11 previous comments from the original issue on GitLab


:lady_beetle: 404 when trying to access settings

Describe the bug
I get a 404 when trying to access settings
To Reproduce
Steps to reproduce the behavior:

Go to https://langchain-ui.vercel.app/app
Signin
Click on Settings
Get the 404

Screenshots

@adriens yes, the settings page hasn't been implemented yet. It will be added in the near future (e.g next week).
I'm currently working on bringing a stable "Chat with your Documents" functionality and after that settings will be added.

I'm currently working on bringing a stable "Chat with your Documents" functionality and after that settings will be added.

AWEOME :star_struck:


Feature request: add prop swipeEnabled

Feature Request:
Add prop swipeEnabled of type PropTypes.bool, with default true.
The reason for this is I have an interactive piano keyboard inside one of my slides. I want to disable the swiping if and only if the user is currently interacting with the piano keyboard.
Thanks for this project!

As stated in the documentation, the component extends Flatlist, so you can simply supply the scrollEnabled-prop 🚀


Improve sockRequest and sockRequestRaw check

Fix: #14362
Fixes: #14362
Improve error check on SocketRequest and SocketRequestRaw on:
integration-cli/docker_api_containers_test.go
Signed-off-by: Quentin Tayssier<EMAIL_ADDRESS>

LGTM

LGTM


Fix OpenAI box for missing inputs/outputs

I didn't test without examples. :sob:
I'll also do something about #382, #383 and #384. Give me a sec!

Okay! This fixes everything now! It could only be better if I added tests...


extract base types to their own modules

Gives each base type its own Ecto.Type module.
I believe the most recent discussion on doing this was in PR #2663 "Rework Ecto.Type". This largely follows the gist suggestion given there by @wojtekmach.
Although no significant changes were made to test code, test code changes are separated into the second commit so old the tests can easily be run against all of the new lib code.
Looking forward to the discussion, changes, nitpicks, anything — hopefully this is helpful!

Thanks @dallincrane! The changes in PR are all excellent. However, I am still a bit on the fence if we should merge this. I think the whole Ecto.Type is pending a redesign and I would avoid changing things too much before we are sure of the direction we want to take.
Keeping everything in the same file also has some advantages, such as faster compilation, less remote dispatches and lower footprint, which makes me even more torn on this effort.

Thanks, @josevalim. And that makes sense — there is for sure some risk in changing code like this.
What are some of the directions you see an Ecto.Type redesign going?
Is it possible that these changes could make a redesign easier or more accessible to contributions?
As far as compilation times and remote dispatches go, if they are a deciding factor, I'd be happy to explore profiling the impact. Are those impacts well known?


fix(providers/definition): handle event handlers that are variable declarations

Fixes #841

Messages

:book:

:white_check_mark: All tests are passing
Nice one! All 116 tests are passing.

:book:

:floppy_disk: Here's the built vsix for this change.

  Generated by :no_entry_sign: dangerJS against fc0a5d9a143a47a5a3dcfa87107d19ea956b2a9c


DOC:fix error in scipy.signal.cwt documentation.

Fix the error in the documentation of continuous wavelet transform ( scipy.signal.cwt). Closes issue #4412

Thanks, merged


Fix some notebooks for jenkins automated tests

Trying to get more notebooks pass Jenkins test.
Not all of them are but we have a few less errors now.
It's tested against the latest version of Raven on my devel server https://lvupavics.ouranos.ca/twitcher/ows/proxy/raven/wps.
Jenkins result: http://jenkins.ouranos.ca/job/ouranos-staging/job/lvupavics.ouranos.ca/26/consoleFull
Matching PR to add more testdata: https://github.com/bird-house/birdhouse-deploy/pull/117
@cjauvin FYI we also have a Jenkins that can test the notebooks.

Changing pavics to boreas is not ideal. I understand how this is easier for testing, but it's not great for the documentation.
Same thing for datasets display from HTML to text.
I suggest we have a discussion about our notebook testing strategy.

Changing pavics to boreas is not ideal. I understand how this is easier for testing, but it's not great for the documentation.
Same thing for datasets display from HTML to text.
I suggest we have a discussion about our notebook testing strategy.

Changing pavics to boreas is not ideal. I understand how this is easier for testing, but it's not great for the documentation.

It's to avoid having to replicate all the large .nc files that goes with the .ncml files to all the test servers.

Same thing for datasets display from HTML to text.
I suggest we have a discussion about our notebook testing strategy.

Or we just do not validate those output ... but then we lose the ability to confirm the output matches the server code and testing code.
We could just check the code do not throw exception.  But then we lose half of the advantages of nbval which is also to check the output.
I see nbval is very similar to the doctest module that also checks output.

Changing pavics to boreas is not ideal. I understand how this is easier for testing, but it's not great for the documentation.

It's to avoid having to replicate all the large .nc files that goes with the .ncml files to all the test servers.

Same thing for datasets display from HTML to text.
I suggest we have a discussion about our notebook testing strategy.

Or we just do not validate those output ... but then we lose the ability to confirm the output matches the server code and testing code.
We could just check the code do not throw exception.  But then we lose half of the advantages of nbval which is also to check the output.
I see nbval is very similar to the doctest module that also checks output.

Is is because "pavics" is regexped and replaced by the local test machine ?
Yep, that's the discussion I'd like to have. What role do notebooks play in our integration testing. Do we want to check everything "passes", or yields a value in particular.

Is is because "pavics" is regexped and replaced by the local test machine ?
Yep, that's the discussion I'd like to have. What role do notebooks play in our integration testing. Do we want to check everything "passes", or yields a value in particular.

Is is because "pavics" is regexped and replaced by the local test machine ?

Exact.

Yep, that's the discussion I'd like to have. What role do notebooks play in our integration testing. Do we want to check everything "passes", or yields a value in particular.

I am leveraging tutorials notebooks as end to end testing as well so we get free test cases and we ensure the tutorials are always up-to-date with the code.
Otherwise we need to spend time writing different end to end test cases and still somehow ensure the tutorials are valid as the code changes.
Basically it looks like friction to test the notebooks but it actually save us work in the grand scheme of things.
I think we just have to be more careful in selecting which output is essential and which is just informative.  But I don't think dropping all output checking is the way to go.  Basically when writing and updating notebooks, we should always keep the automated testing side of the notebooks in mind.
For "pavics" vs "boreas", it also boils down to how strict we want the tutorial notebook to be consistent for the user.  I can change that we only "inject" the new hostname for WPS_URL variable and so when we print out the wps_output url in the output it might not match.  That the original reason why we regex replace all occurences of pavics.ouranos.ca.  Hence I had to replace pavics with boreas for the links I do not want to regex replace.

Is is because "pavics" is regexped and replaced by the local test machine ?

Exact.

Yep, that's the discussion I'd like to have. What role do notebooks play in our integration testing. Do we want to check everything "passes", or yields a value in particular.

I am leveraging tutorials notebooks as end to end testing as well so we get free test cases and we ensure the tutorials are always up-to-date with the code.
Otherwise we need to spend time writing different end to end test cases and still somehow ensure the tutorials are valid as the code changes.
Basically it looks like friction to test the notebooks but it actually save us work in the grand scheme of things.
I think we just have to be more careful in selecting which output is essential and which is just informative.  But I don't think dropping all output checking is the way to go.  Basically when writing and updating notebooks, we should always keep the automated testing side of the notebooks in mind.
For "pavics" vs "boreas", it also boils down to how strict we want the tutorial notebook to be consistent for the user.  I can change that we only "inject" the new hostname for WPS_URL variable and so when we print out the wps_output url in the output it might not match.  That the original reason why we regex replace all occurences of pavics.ouranos.ca.  Hence I had to replace pavics with boreas for the links I do not want to regex replace.

My sense is that the main role of notebooks is documentation, and testing is an added bonus. Now I'm getting the feeling that we are making compromises on the documentation to get our tests to run.

My sense is that the main role of notebooks is documentation, and testing is an added bonus. Now I'm getting the feeling that we are making compromises on the documentation to get our tests to run.

The documentation gets tested as well so the bonus goes both ways.  We just need to find a happy middle ground.

The documentation gets tested as well so the bonus goes both ways.  We just need to find a happy middle ground.

@huard Can we merge this PR and then open a new one to relax notebook checking?  It would help testing this other PR https://github.com/Ouranosinc/raven/pull/340 with Jenkins.

@huard Can we merge this PR and then open a new one to relax notebook checking?  It would help testing this other PR https://github.com/Ouranosinc/raven/pull/340 with Jenkins.

I'm not comfortable with the boreas/pavics change, so I'm ok with merging if we roll that back later.

I'm not comfortable with the boreas/pavics change, so I'm ok with merging if we roll that back later.


Add modify_enchantment_level power type.

This PR adds the Modify Enchantment Level power type from Apugli.
Accepts enchantment, item_condition, modifier, and modifiers fields.
This also slightly changes the enchantment entity/item conditions to make sure infinite recursion doesn't happen with this power applied and with the item/entity conditions linked to this power. It also adds a use_modifications field to both, which if false, you'll be able to check the original nbt tag.
Minor Notes

The redirects are necessary to make sure that enchantments work with an empty itemstack. If you rewrite to use MixinExtras, you can replace all of these with ModifyExpressionValues.
Modifications to an item's cached enchantment list will only happen when necessary.
Credits to @Jarva for the initial work and extra caching work done on this power type.
This does rewrite the EntityLinkedItemStack interface to account for empty itemstacks.

Please tell me if you want the item/entity conditions to check the original enchantment value instead of the modified one.

This PR should now be ready.

If you're wondering why I prioritise Apoli's holdingEntity value in ItemStackMixin within this PR.

I wanted to be less invasive in terms of vanilla.
ItemStack#getHolder will always return null when empty.

public Entity getHolder() {
    return !this.isEmpty() ? this.holder : null;
}

Marked as a draft until I get the time to fix the newly arised StackOverflowError with the enchantment entity/item condition.

It's ready again.
ModifyEnchantmentLevelPower#isInEnchantmentMap exists because we need a safe way to bypass checking conditions when it comes to the enchantment entity/item conditions, but we also need a way to check if the power is available to the player.


Mac OS support

Leap Motion drivers now supports Mac OS.

The library search path in build.rs should be updated
General sanity checks should be done

Help wanted: I don't have a Mac.

I have gotten a basic sample working on MacOS. Unfortunately it currently requires a little bit of nonsense to point to the dylib file at runtime, i.e.
DYLD_LIBRARY_PATH="/Applications/Ultraleap Hand Tracking.app/Contents/LeapSDK/lib" cargo run


Add configuration files for generator Ruby - OAuth2 - Accounting and Identity APIs

Hi @nnhansg - I'm sorry but we aren't accepting PRs to our code generation tooling at this time.
This folder was added as we explored GitHub actions.  For the time being we are doing our SDK builds locally.


$(location //external:foo) in genrule can't be handled properly

This is my WORKSPACE
I wrote a genrule to call protoc to translate proto files:
genrule(
  name = "test",
  srcs = [
    "bank.proto",
    "//external:protoc",
  ],
  cmd = "$(location //external:protoc) --cpp_out=$(GENDIR)/ $(location :bank.proto)",
  outs = [
    "bank.pb.h",
    "bank.pb.cc"
  ]
)

but bazel doesn't like it:
ERROR: /usr/local/home/mzhao/g/trunk/examples/rpc/BUILD:7:9: in cmd attribute of genrule rule //examples/rpc:test: label '//external:protoc' in $(location) expression is not a declared prerequisite of this rule.
ERROR: /usr/local/home/mzhao/g/trunk/examples/rpc/BUILD:7:9: in cmd attribute of genrule rule //examples/rpc:test: $(location bazel-out/local_linux-fastbuild/bin/third_party/protobuf/protoc) not defined.
ERROR: Analysis of target '//examples/rpc:test' failed; build aborted.

When did you download/build bazel?  I pushed a fix for using location+//external yesterday: https://github.com/google/bazel/issues/90.

Thanks, this a duplicate of #90. I can verify it's fixed after pulling your change.


CDI 4.1 major changes section needs updating

At the moment, the Major Changes section of the spec only mentions the deprecation of the EL API.
@starksm64 I think this needs fixed before release.

I'm working on a PR


HARVESTER: Fix build harvester pkg

Summary
Fixes Harvester yarn build-pkg harvester failed

Occurred changes and/or fixed issues

Fix can not be found @/pkg/harvester alias
Fix can not be found @shell/types in Harvester pkg

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Hi, @mantis-toboggan-md, PR ready, PTAL, Thx.


Support implicit/passive clipboard interaction (Xorg)

I'm a long time Xorg user and I prefer to interact with my clipboard passively/implicitly by simply selecting text and middle-mouse-buttoning it somewhere else. I often interact with browser URL bars like this, but Lagrange only appears to copy selected text to clipboard after you hit Ctrl+C. Pasting using the MMB appears to work decently enough though.

This sounds like the same issue as #162. Do you agree?

#162 is indeed related. From an admittedly selfish perspective, I feel that my particular issue might be resolved by simply calling SDL_SetClipboardText() once a selection is made, without waiting for a keyboard trigger. This would cause the selection to end up in the primary clipboard and represent standard Xorg convention. Dealing with Ctrl+C in the way that people seem to expect appears to be more work.

Related discussion about X clipboards

issue might be resolved by simply calling SDL_SetClipboardText() once a selection is made

That could work some of the time / for some people, but I think that it's better to follow the convention fully, as suggested in #162.
Closing as duplicate of #162.


ERROR: NO FRONT END SPECIFIED : compile error with vai_c_xir using PyTorch

Issue
Thank you for the recent update.
Some issues I had with the previous version, 1.2, were solved in the new version.
But unfortunately, I still have some problems as I try to compile models.
Though I was able to quantize a ResNet18 model, which is described in the user guide, and had created essensial files for compiling, I suffered an error with compiling these files as follows.
I don't know what to do for addressing this error.
Especially I woukd like to know how to set -n in
vai_c_xir -x ResNet_int.xmodel -a quant_info.json -o ./ -n ResNet_int.xmodel
Any advices would be great to me.
###Quantizing a model
(vitis-ai-pytorch)example >
python resnet18_quant.py --data_dir ./small --model_dir . --subset_len 200 --quant_mode test --deploy resnet.xmodel

[NNDCT_NOTE]: Loading NNDCT kernels...
-------- Start resnet18 test
Warning: Exporting xmodel needs batch size to be 1 and only 1 iteration of inference, change them automatically!
[NNDCT_NOTE]: Quantization test process start up...
[NNDCT_NOTE]: =>Quant Module is in 'cpu'.
[NNDCT_NOTE]: =>Parsing ResNet...
[NNDCT_NOTE]: =>Doing weights equalization...
[NNDCT_NOTE]: =>Quantizable module is generated.(quantize_result/ResNet.py)
[NNDCT_NOTE]: =>Get module with quantization.
100%|███████████████████████████████████████████████████████| 1/1 [00:00<00:00,  6.51it/s]
loss: 11.3088
top-1 / top-5 accuracy: 0 / 0

[NNDCT_NOTE]: =>Converting to xmodel ...

[NNDCT_NOTE]: =>Successfully convert 'ResNet' to xmodel.(quantize_result/ResNet_int.xmodel)
-------- End of resnet18 test

I successfully obtained quantize_result,
which includes '__pycache__', 'bias_corr.pth', 'quant_info.json', 'ResNet.py' and 'Resnet_int.xmodel'.
###Compiling model files into onnx-file
(vitis-ai-pytorch) example/quantize_result >
 vai_c_xir -x ResNet_int.xmodel -a quant_info.json -o ./ -n ResNet_int.xmodel
**************************************************
* VITIS_AI Compilation - Xilinx Inc.
**************************************************
ERROR: NO FRONT END SPECIFIED

I've solved myself. quant_info.json was not meant to be used for this.
Compiler just needs /opt/vitis_ai/compiler/arch./arch.json instead.

Thanks for sharing your solution. I also encountered the same problem when compiling pytorch ResNet18 .xmodel.
But I cannot find the right arch.json in my directories. I am using vitis-ai built from docker recipe and the only arch.json is under Vitis-ai/demo/Whole-App-Acceleration/yolo/arch.json. Using that does not solve the "NO FRONT END SPECIFIED" error.
Could you please share the content of your arch.json? Thanks

.

Mine is this
{
   "target": "DPUCADX8G",
   "kernel": "xdnn",
   "lib": "{LIBXDNN_PATH}",
   "xclbin": "/opt/xilinx/overlaybins/xdnnv3",
   "weights": "weights.h5",
   "compiler": "compiler.json",
   "quantizer": "quantizer.json",
   "filename": "",
   "config_file": ""
}

.

Mine is this
{
   "target": "DPUCADX8G",
   "kernel": "xdnn",
   "lib": "{LIBXDNN_PATH}",
   "xclbin": "/opt/xilinx/overlaybins/xdnnv3",
   "weights": "weights.h5",
   "compiler": "compiler.json",
   "quantizer": "quantizer.json",
   "filename": "",
   "config_file": ""
}

Thank you! I have found the correct arch.sjon. For me its in the docker environment /opt/vitis_ai/compiler/arch/DPUCAHX8H/U50/arch.json

Thank you! I have found the correct arch.sjon. For me its in the docker environment /opt/vitis_ai/compiler/arch/DPUCAHX8H/U50/arch.json

dfpJhICK85VR1TykhCnt


Added non fixed holidays for Brazil

added non fixed holidays (easter, carnival, passion of jesus and corpus christi) with calculations, sorry about any misconducts, it's my first contribution to any github project.
Reference in http://hernaski.com.br/blog/calcular-data-de-pascoa-e-carnaval-em-c/5 from Mauricio Hernaski

Hi

Please not change spaces trough tabs.
If it needed a own implementation of CalculateEaster? In the base provider a implementation is available.
what is the source of additional holidays?

I've made the asked changes, the source is the brazilian Wikipedia, I'll edit the english one, because it's lacking:
https://pt.wikipedia.org/wiki/Feriados_no_Brasil

Thanks


EventTriggers added

Event Triggers can trigger events by using the [data-trigger-event] attribute
Or trigger events by using the "event-trigger" browser event.
Objects defined with the [data-state-event], [data-state-toggler], [data-state-enabler], [data-state-disabler] attributes will listen to these events and will get the class 'state-visible' or 'state-invisible' attached to them

I have added event listeners to listen to these state change requests so state changes can also be triggered from outside sources.


One AudioPlayer instance can play multiple audio files (readme says otherwise)

Hi, I have a problem with my AudioPlayer instance being able to play multiple sound files simultaneously. Plugin docs say the following:

An AudioPlayer instance can play a single audio at a time. To create it, simply call the constructor:
AudioPlayer audioPlayer = AudioPlayer();

You can create multiple instances to play audio simultaneously, but only if you choose playerMode: PlayerMode.BACKGROUND, because android can't run two similar services.

I tried playing a song on an instance that is already playing, and instead of stopping the current song and starting another it keeps playing and just starts another one. Is this a bug? Shouldn't one instance stop the current playback and start another one, and if I want simultaneous playback I use a second instance?

yes sir, that was a bug that I fixed now. thank you for pointing this out. :D


linux-c99

C99 fix. Automate CFLAGS selection by platform. Standardization and whitespace removal.
Following on from #230,  _DEFAULT_SOURCE is equivalent to -D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809. This fixes not only the physics examples but also enables compilation of the library  with -std=c99. Previously, dr_flac.h would compile into the library but the audio examples failed due to not finding the functions in endian.h. dr_flac needs _BSD_SOURCE or, more correctly, _DEFAULT_SOURCE. to use endian.h. http://man7.org/linux/man-pages/man7/feature_test_macros.7.html
Try me!

Thanks for the addition @RDR8 !

You're welcome! raylib is a perfect project for me to learn fundamental skills like using gcc, make, and git. I'm having fun but haven't coded any games yet. Saving the best for last, I guess. I might make another pass before moving on to cmake experiments.


Add basic automation framework

Add a basic framework to automatically compute form values when we can (esp. for GitHub or git-supported projects).
See implementation.md for current proposed approach.
Once we have a framework, we can implement various automation routines within it.

"Autofill" is the current name of the mechanism for automatically filling in values.  It needs to make it easy to add in new ways to automate things (e.g., for different repo systems, etc.)... so it needs a simple plug-in system (I don't mean this in the Ruby on Rails sense, but in the general sense).  We'll focus on GitHub to start with.
The GitHub API provides a lot of data that could be helpful.  E.G.:
https://api.github.com/repos/rails/rails
Note that "description" here is probably a good name for the project.

Commit 3d81ad60945091af64238108fca0e9e17b381764 and friends start the automation.


CI: re-add support for clang 11-13

Add support for older clang versions in the CI.

Merged in devel


Coefficient Length and Polynomial Order Discrepencies

When I used forwardrecurrence I was surprised that it didn't evaluate Pn(x) given that the length of the arguments provides enough information to compute it. In other words, the last element of the arguments is ignored.
n = 10
A = fill(2, n); B = zeros(n); C = ones(n)
res1 = forwardrecurrence(A, B, C, 1/2)

A[end] = -typemax(Int)
B[end] = -typemax(Int)
C[end] = -typemax(Int)
forwardrecurrence(A, B, C, 1/2) == res1 #true

From an interface perspective, I expected to evaluate Pn  vs the first n including P0. For my particular application I only know A, B, C up to n and need to compute Pn, so I need to artificially pad my vectors to get the correct output. So, its not really a bug, but the output seems inconsistent given the input.

Thanks for pointing this out. I tend to use the ∞ version (I.e. forwardrecurrence(10, Fill(2,∞), Zeros(∞), Ones(∞), 1/2) so haven't put much thought into the finite version.
Would you be willing to make a PR to fix this?

Yeah.


typo: shorcut -> shortcut

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamicsax2012-technet/shortcut-keys.md
:white_check_mark:Succeeded
View

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


Routing Consul via Kong ?

Hello, i use consul service discovery in a microservice architectur on an openstack envirement, and i use kong to expose microservices apis to other openstack tenants, i want to know if i can expose consul (as a service) and route all the WAN gossip trafic with kong to local consul servers (TCP/UDP trafic, NOT HTTP), can i do that with kong ? it is a good idea to do so ?
(im looking for a way to connect consul servers on multi openstack tenants without having publique ip adresses on those servers)
Thank you :)

Sorry, Kong only does http.


WIP: TEAMNADO-1997

Codecov Report

Merging #24 (13bfd6f) into main (f5891c6) will increase coverage by 0.32%.
The diff coverage is 80.24%.

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   75.00%   75.32%   +0.32%
==========================================
  Files          44       45       +1
  Lines         544      608      +64
  Branches       99      108       +9
==========================================
+ Hits          408      458      +50
- Misses        135      149      +14
  Partials        1        1

Impacted Files
Coverage Δ

.../SatelliteManifestPanel/SatelliteManifestPanel.tsx
62.42% <18.18%> (-2.45%)
:arrow_down:

...anifestDetailSidePanel/ManifestDetailSidePanel.tsx
82.45% <83.33%> (-6.44%)
:arrow_down:

src/hooks/useExportSatelliteManifest.ts
96.96% <96.96%> (ø)

src/components/Authentication/Authentication.tsx
92.30% <100.00%> (+0.64%)
:arrow_up:

Continue to review full report at Codecov.

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


[EVM] Add additional chain-id validation

Describe your changes and provide context

adds a check for chain ID

Testing performed to validate your change

integration tests

Maybe add the hardhat repro as well


Project addition : Phyllotaxis

Phyllotaxis
Phyllotaxis is a pattern found in nature, the rotational angle from leaf to leaf in a repeating spiral can be represented by a fraction of a full rotation around the stem. The project is to represent the following pattern via mathematical visualization
This project is an attempt to showcase its visualization.
Source-Wikipedia
Main goal

Make visualization of Phyllotaxis
Add colors to the points
Make it responsive

Tech stack

Frontend: HTML, SCSS/CSS and JavaScript.

Examples :

As part of GSSOC'21, I would love to develop it and contribute to this project.
@Vishal-raj-1 @urvashi-code1255 please assign me this!

@urvashi-code1255 check the PR it is done and add the level tag


Drag and drop error with simple doc config

i set the simple config that i see in documentation, i have the defauld config , and default components structure
the error: Graph.js:273 Uncaught TypeError: Cannot read property 'undefined' of undefined
at SVGGElement. (Graph.js:273)
at Dispatch.call (dispatch.js:57)
at Object.gesture [as mouse] (drag.js:146)
at mousemoved (drag.js:69)
at on.js:3
Environment:

react version ^16.0.0 with material ui

Hello @jaures-kano ,
Could you please try to reproduce your issue by forking this codesandbox?
Thanks !

Hello @jaures-kano ,
Could you please try to reproduce your issue by forking this codesandbox?
Thanks !

I faced this issue when using<EMAIL_ADDRESS>downgrading to<EMAIL_ADDRESS>as stated in the README resolved the issue.

I faced this issue when using<EMAIL_ADDRESS>downgrading to<EMAIL_ADDRESS>as stated in the README resolved the issue.

it work fine, thanks @DDeis it was the version that i have,
@antoninklopp  i fork your version was lower than mine


How to return nested Json object MSSQL

I have two tables : post and post_meta.
My db is MSSQL.
the code below return flat json object:
    let result = await Knex.select([
         'post.*',
         'post_meta.*'
    ])
    .from('post')
    .leftJoin(
        'post_meta',
        'post.post_id',
        'post_meta.post_id'
    );

the result is:
[
    {
      "post_id": [
          100,
          100
      ],
      "title": "My PRoduct",
      "createAt": "2018-06-07T14:33:54.170Z",
      "meta_id": 1,
      "meta_key": "Color",
      "meta_value": "Blue"
  }
]

HOW to get NESTED json object , like:
[
    {
        "post_id": 100,
        "title": "My PRoduct",
        "createAt": "2018-06-07T14:33:54.170Z",
        "post_meta": [
            {
                "meta_id": 1,
                "meta_key": "Color",
                "meta_value": "Blue"
            }
        ]
    }
]

This is a MSSQL question not a knex one. How would you do it in plain SQL Server flavor?
For what I can see in the docs is not that good
https://docs.microsoft.com/en-us/sql/relational-databases/json/format-query-results-as-json-with-for-json-sql-server?view=sql-server-ver15#2b---example-with-join-and-null
Maybe you have better luck finding such thing but the output following the previous link is a single value AKA 1 row 1 column with all the nested stuff in.
In PostgreSQL flavor you could use the to_json function, but I could not find such equivalent for MSSQL flavor.


sbt client removes empty directories in /tmp

steps
I'm using the official release of sbt-1.4.3.tgz. The OS is Arch Linux.
In an empty directory,
$ touch build.sbt
$ mkdir /tmp/foo
$ sbt --client shutdown  # or any command will do
[info] entering *experimental* thin client - BEEP WHIRR
[info] server was not detected. starting an instance
[info] terminate the server with `shutdown`
> shutdown
[info] disconnected
$ ls -d /tmp/foo
ls: cannot access '/tmp/foo': No such file or directory

Neither $TMP nor $TEMP are set.
problem
On launch, sbt --client and sbtn-x86_64-pc-linux seem to remove directories in /tmp as long as they are empty. Non-empty directories and non-readable ones are not affected. The sbt server (without --client) doesn't do this.
expectation
The sbt client shouldn't remove temporary directories unless they are created by sbt itself.

I couldn't reproduce this on Ubuntu 20.04 LTS.

@matil019 Thanks for the report. I'm a bit confused by the repro steps:
$ touch build.sbt
$ mkdir /tmp/foo

Where's your pwd supposed to be?

I meant creating a fresh directory and then cd'ing into it.
$ mkdir ~/test  # or any directory you would like
$ cd ~/test
$ touch build.sbt
$ ...

touch build.sbt is there because I commented out -sbt-create in /etc/sbt/sbtopts so that sbt doesn't launch without it. Now, I uncommented it and tried without touching build.sbt, but the issue still persists.
sbt-1.4.4.tgz has the same issue (on my PC).
I'll try a fresh Arch Linux installed on VM to see if this is my system-specific or not.

I can confirm that the issue reproduces on a fresh Arch Linux install. On the other hand, it doesn't on the Docker image ubuntu:focal (20.04.1 LTS), where the docker itself is run on Arch. So I think this is distribution-specific.


Goss aa / leads to unexpected behavior

Behavior:
$ goss aa /
Adding File to './goss.yaml':

/:
  exists: true
  mode: "0555"
  size: 235
  owner: root
  group: root
  filetype: directory
  contains: []

Adding Service to './goss.yaml':

/:
  enabled: false
  running: true

Expected behavior:
$ goss aa /
Adding File to './goss.yaml':

/:
  exists: true
  mode: "0555"
  size: 235
  owner: root
  group: root
  filetype: directory
  contains: []

This also affects goss a service /

Fixed in v0.1.10


No registered resource provider found for location 'XYZ' and API version '2015-06-01' for type 'storageAccounts/vmImages'. The supported api-versions are '2016-11-01'. The supported locations are ''. "

Hey there,
Looks like Azure CLI doesn't provide the right API version with Classic VMImages -  'storageAccounts/vmImages'.
When deleting one through CLI, we're getting
No registered resource provider found for location 'eastus' and API version '2015-06-01' for type 'storageAccounts/vmImages'. The supported api-versions are '2016-11-01'. The supported locations are ''. "
Looking at the Manifest for "Microsoft.ClassicStorage" Resource Provider, it only accepts API version
"apiVersions": [
"2016-11-01"
--> Can you please update your code accordingly ?
thanks

Environment summary
Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) / CLI version (az --version) / OS version / Shell Type (e.g. bash, cmd.exe, Bash on Windows)

@yugangw-msft for comment.

sorry - might be an issue from ARM side. They updated the Manifest for Microsoft.ClassicStorage and didn't include all API versions. It's being looked at from their side

@axelgMS, CLI is ARM only, and I don't think there is a command you can use to delete classic VM images

right - sorry for that


[dashboard] 500 when using a invalid jwt

I noticed that providing a valid, but out-of-scope jwt to the server creates a 500.
It happens about 1 times on 5 when creating applications.
It comes from the fact that sometimes, the dashboard does not force-refresh the jwt

ping @romeovs ?

Thanks for the report!
Can you see the error message by any chance?

here it is: {"reason":"rpc error: code = 2 desc = Invalid operation: rpc error: code = 2 desc = Invalid operation: Unauthorized"}
Btw, the app_eui sent in the json body seems to be ignored and only the one in the url is taken in account.

The API is for the dashboard and is (currently) not open source, documented and supported. Breaking changes can be deployed any time.
Please use the gRPC services (see https://github.com/TheThingsNetwork/ttn/tree/refactor/api) to interface with the handler. We're working on documentation for the account server API, but that's also still work in progress.
Note that application management is part of the account server. There is no database behind the dashboard API; it only interfaces with the handler, MQTT broker and account server.

I know that (we already use it) but this one is an issue we have sometimes in the dashboard

Ah, misunderstood, sorry about that. @romeovs will take this. Thanks for reporting.

Fix deployed in preview dashboard


Feature request: Ambient light

I haven't found something similar to ambient ligth (https://github.com/WesselKroos/youtube-ambilight) for Nebula, this can be very usefull for UW screen.
Basically the idea is to remove the black bar of the screen by adding some blurred color similar to the one close to the border of the video

Seems interesting, I'll have to look into it

I planned to do a bit for this, but unfortunately, I don't really have time right now, even less than expected. So this will take a while

Unfortunately, it's not looking like I have much time for the foreseeable future. I took a look at the mentioned addon, and this is not a simple feature, and I don't currently have the time to invest in this, so this will be on hold for now. When I get to it, I plan to turn this into a companion addon, due to the complexity involved, and it doesn't really fit into the goal of this extension. If you (or anyone else) want to start an implementation, feel free, but please start a discussion to discuss the design/architecture.


Channels can Appear Twice or Not Appear on First Login

DESCRIPTION:
If the user accesses the Channel page immediately after first logging into an existing account, the Channel List will occasionally contain two listings of the same Channel, and will sometimes not contain a Channel which should appear.

REPRO STEPS:

Install and Launch LBRY 0.15.6 on Android 10
Sign into an existing account with at least 2 channels
Navigate to 'Menu > Channels'
Navigate to 'Menu > Following'
Navigate to 'Menu > Channels'
Repeat 4 and 5 until Channels page has loading icon
Wait for Channels to load

Results: Sometimes the same channel is listed twice or a channel is missing
Expected: All channels appear once
Note: In the GIF below, the Wizard Studio channel is missing and the Cahlen Lee channel appears twice.  Sometimes Wizard Studio is present when Cahlen Lee shows up twice.

ENVIRONMENT:

Pixel 2 XL
Android 10
LBRY 0.15.6

MEDIA:

INTERNAL USE:

DEFINITION OF DONE:

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

LBRY ADDRESS:
bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b
<EMAIL_ADDRESS>

This is due to the wallet syncing, so we'll close and cover in https://github.com/lbryio/lbry-android/issues/900


Update opentofu deployer to stable

Update to stable release and verify.

sealio/opentofu-deployer:v1.6.0-seal.1

Environment

Walrus version: main 98e5445080de1e1017db16951dd12d8e1e52b27f
UI version: dev-3fcbabe

Test Result: pass


[CBR-533] add a new endpoint to calculate the walletid for a given mnemonic

Description

Linked issue

Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[ ] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

Screenshots (if available)

How to merge
Send the message bors r+ to merge this PR. For more information, see
docs/how-to/bors.md.

@cleverca22 Please, add CHANGELOG.md entry under Unreleased in Features section (the section does not exist - needs to be created). Could you also add Fixes section below for the existed entry?
So to have:
Unreleased
Features

A new endpoint... (CBR-533 #<PR#>)

Fixes

Correct change category...

@KtorZ without some chain state to fire up the wallet, i don't know how to test this endpoint fully in an automated manner
all other review comments should be good

@cleverca22 For the testing, have a look at some integration test scenarios (e.g. hhttps://github.com/input-output-hk/cardano-sl/blob/develop/wallet/test/integration/Test/Integration/Scenario/Wallets.hs#L579-L601)
You should be able to do something like:
    scenario "Can query wallet id and balance using only its mnemonic" $
            fixture <- setup $ defaultSetup
                & initialCoins .~ [14]

            successfulRequest $ Client.deleteWallet
                $- (fixture ^. wallet . walletId)

            response <- request $ Client.calculateMnemonic
                $- (fixture ^. backupPhrase)
                $- (Just True)

            verify response
                [ expectFieldEqual walletId (fixture ^. wallet . walletId)
                , expectFieldEqual maybeBalance (Just 14)
                ]

+/- the compilation errors and testing with various scenarios (with the query parameter, without, testing on a wallet with no funds etc ..)

bors r+

bors r+


[do not merge] codegen removal

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

/azp run python - eventgrid - ci


[PowerToys] Add Command Not Found docs

To be merged only with the PowerToys 0.77 release

I believe I addressed all the comments. Thanks for the suggestions!

Looks good to me :)


[YTA-1950] ci-open monitor rename to 'BTA' and deletion of Payments r…

…elated definitions @andy-newton

Build passed locally, i.e.
./gradlew clean test

@erasmos  I've added the renamed and edited payments.groovy as discussed over Slack; build passed locally again.

Looks good.


test(pricing-table): fixed header coverage

Related Ticket(s)
Closes #8908
Description
Addes e2e test coverage for pricing-table's sticky header functionality
Changelog
New

pricing table test coverage

This will need to be integrated with #8957 at some point. I can take care of that if (when?) that PR gets merged in... hopefully soon!


perf: avoid writing state when the controller did not actually update

https://github.com/alandtse/tesla/pull/953 didn't work because the data is actually a bool.  This is a second attempt
#948 made me realize that the car data was being polled far less frequently than I thought as the underlying library was caching, but every time the coordinator fired, it would still callback all the listeners and write the state of all the entities which meant we ended up writing state every 10 seconds even if nothing has changed.
Keep track of when the controller was last updated in each entity and if it has not changed, we skip the state write.
This reduced the number of calls to async_write_ha_state by 62% on my production HA instance!

This works as expected

need to push it to my other system for testing so I have it tested on two systems first

73 writes/min, down from 1000s

down to 78 on the other instance, nice!

Do we need to bump the minimum ha version too?

No need to bump the minimum version. It's more than new enough with this design


Add Favicon and Scroll-to-top button.

Issues

Favicon: Every good website has a favicon for easy identification.
Scroll-to-top button: Having a scroll-to-top button eases the stress of users having to scroll all the time especially when the website gets longer.

Fixes

[ ] Add Favicon just like the logo
[ ] Add functional scroll to top button

I'd love to add these features to improve this awesome project! Please assign this to me under hacktoberfest.

Thank you for bringing up this issue. The task of adding a favicon has already been assigned to someone. However, you can take on the responsibility of creating a 'scroll to top button, @OgaDavid

Alright, thank you.


BUG: White images should use a different background color in the grid preview

When viewing the assets, I notice that you don't use a different background color for images which are mostly white. Have a look at how Xcode handles white images because it would be a simple yet very useful addition.
I've uploaded a screenshot demonstrating the issue.
Cheers

Indeed

yes this would really be helpful


System.IO.FileLoadException on windows 32 bit (Windows 7 professional)

My Application using .net 4.6.1 framework. Using SQLite as the database. Compile to release x86 platform
To access the SQLIte, I using the library sqlite-net-pcl v1.7.335 from nuget and sqlite-net-sqlcipher v1.7.335 to encrypt the database. I can run on the 64 bit without problem.
Now I facing the System.IO.FileLoadException when run the application on windows 7 32 bit.
Inside the bin/release folder. I sure that all the folder

runtimes\win-arm\native
runtimes\win-x64\native
runtimes\win-x86\native

has been created, and each folder got e_sqlite3.dll and e_sqlcipher.dll.
Here the log from EventViewer
Application: AzriTech.EasyWorkshop.POS.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
   at SQLitePCL.NativeLibrary.WhichLoader()
   at SQLitePCL.NativeLibrary.MyLoad(System.String, System.Reflection.Assembly, Int32, System.Action`1<System.String>)
   at SQLitePCL.NativeLibrary.Load(System.String, System.Reflection.Assembly, Int32)
   at SQLitePCL.Batteries_V2.MakeDynamic(System.String, Int32)
   at SQLitePCL.Batteries_V2.DoDynamic_cdecl(System.String, Int32)
   at SQLitePCL.Batteries_V2.Init()
   at SQLite.SQLiteConnection..cctor()                                                                                Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateInstance(System.Func`1<System.__Canon>)
   at SimpleInjector.Lifestyles.SingletonLifestyle+SingletonLifestyleRegistration`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateInstanceWithNullCheck()
   at SimpleInjector.Lifestyles.SingletonLifestyle+SingletonLifestyleRegistration`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetInterceptedInstance()
   at SimpleInjector.Lifestyles.SingletonLifestyle+SingletonLifestyleRegistration`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].BuildExpression()
   at SimpleInjector.InstanceProducer.BuildExpressionInternal()
   at SimpleInjector.Internals.LazyEx`1[[System.__Canon, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Value()
   at SimpleInjector.InstanceProducer.BuildExpression()

Exception Info: SimpleInjector.ActivationException
   at SimpleInjector.InstanceProducer.BuildExpression()
   at SimpleInjector.InstanceProducer.VerifyExpressionBuilding()

Exception Info: System.InvalidOperationException
   at SimpleInjector.InstanceProducer.VerifyExpressionBuilding()
   at SimpleInjector.Container.VerifyThatAllExpressionsCanBeBuilt(SimpleInjector.InstanceProducer[])
   at SimpleInjector.Container.VerifyThatAllExpressionsCanBeBuilt()
   at SimpleInjector.Container.VerifyInternal(Boolean)
   at SimpleInjector.Container.Verify()
   at AzriTech.EasyWorkshop.POS.Program.Bootstrap()
   at AzriTech.EasyWorkshop.POS.Program.Main()

I also notice that my application using framework 4.6.1, and already install the framework to the machine. But I not sure why show as Framework Version: v4.0.30319
Any idea what the root of cause? It is because of the framework version?

Not sure if this is the cause of the problem, but one issue here is that you should not have both SQLite and sqlcipher at the same time. Those are alternatives were you typically choose one or the other, but never both.

May bad, I uninstall sqlcipher nuget from my project and seems the issues has been fix
Solved!

@ericsink , I no idea why only selected windows 7 happens. I can use on windows 7 SP 1 without problem (Virtual box), but some machine when I install it throw this exception.
Let me figure out why

Closing old/stale issue.


Getting method not found error when trying to use code from examples/basic.rs

Hi, I copied the code in
https://github.com/pacak/bpaf/blob/master/examples/basic.rs
to my file
https://github.com/potto216/rust-usb-examples/blob/main/src/bin/bluetooth_le_controller.rs
and I am getting the below errors using bpaf = "0.7.4" . Is this a bug in the example or my use of it?  Thanks!
user@bluedev:~/usb/rust-usb-examples$ cargo build --bin bluetooth_le_controller
   Compiling rust-usb-examples v0.1.0 (/home/user/usb/rust-usb-examples)
error[E0433]: failed to resolve: use of undeclared type `ShellComp`
  --> src/bin/bluetooth_le_controller.rs:46:25
   |
46 |         .complete_shell(ShellComp::File { mask: None });
   |                         ^^^^^^^^^ use of undeclared type `ShellComp`

error[E0433]: failed to resolve: use of undeclared type `ShellComp`
  --> src/bin/bluetooth_le_controller.rs:59:25
   |
59 |         .complete_shell(ShellComp::File { mask: Some("*.rs") });
   |                         ^^^^^^^^^ use of undeclared type `ShellComp`

error[E0599]: no method named `complete_shell` found for struct `ParseArgument` in the current scope
  --> src/bin/bluetooth_le_controller.rs:46:10
   |
46 |         .complete_shell(ShellComp::File { mask: None });
   |          ^^^^^^^^^^^^^^ method not found in `ParseArgument<PathBuf>`

error[E0599]: no method named `complete_shell` found for struct `ParseArgument` in the current scope
  --> src/bin/bluetooth_le_controller.rs:59:10
   |
59 |         .complete_shell(ShellComp::File { mask: Some("*.rs") });
   |          ^^^^^^^^^^^^^^ method not found in `ParseArgument<PathBuf>`

Some errors have detailed explanations: E0433, E0599.
For more information about an error, try `rustc --explain E0433`.
error: could not compile `rust-usb-examples` due to 4 previous errors

Try enabling the autocomplete feature
[dependencies]
bpaf = { version = "0.7.4", features =["autocomplete"] }

That was it. thanks!


Report correct version for --HEAD

Homebrew uses shallow clones by default. That means that the history consists
only of the latest commit and no tags.
git-describe was not amused.
Now we use a full clone instead.
Closes #135.

Great!


Docs Page Inserts Extra Top Level Markdown Heading

Describe the bug
When viewing the Docs page for request if the description starts with a top level heading that matches the request it appears duplicated.
Use Case
We are adding existing markdown documentation that already includes a top level heading to a Insomnia.  We don't want to have to edit the existing documentation (i.e. removing the top level heading) before inserting it into Insomnia. The intent is to eventually automate updates to the documentation by inserting it the an Insomnia JSON import file.
Also the current implementation in Insomnia assumes (never a good thing) that the documentation title should be the same as the request.  While this may work in some or most cases it will not work for all users and there is no way to override the behavior.
To Reproduce
Add Markdown to request description with the first line being a top level heading that matches the request name.
Markdown text:
# Login

Accepts an account username and password, verifies them and provides an encrypted cookie that can be used to
authenticate additional API transactions.

Current rendering in Insomnia

Expected behavior
The docs page renders the Markdown in the description field and does not insert a header.
Excepted rendering in Insomnia

Desktop (please complete the following information):

OS: Windows 10
Installation Method: Insomnia.Core-2020.5.1.exe
App Version: Insomnia Core 2020.5.1

Documenting below how the current behaviour is

My test setup
Version: Insomnia 2021.5.3
Release date: 14/09/2021
OS: Darwin x64 20.6.0
Electron: 11.2.3
Node: 12.18.3
V8: <IP_ADDRESS>-electron.0
Architecture: x64
node-libcurl: libcurl/7.73.0 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.9 zstd/1.4.9 libidn2/2.1.1 libssh2/1.9.0 nghttp2/1.42.0


W1D1 Deep learning

Interactive Demo 3.3: Solving XOR
Do you think we can solve the discrete XOR (only 4 possibilities) with only 2 hidden units?
The correct answer shows to be "no".
We can solve XOR using MLP (2 hidden units in a hidden layer). So I think the answer should be yes.

Do you have a solution with ReLUs?

ah hold on. It says discrete ;) you are right.

Thank you for addressing the issue :)

Thanks again. Here is my description of solution "“Awesome. Indeed, yes. We take the two points for which the output should be 1 and dedicate one of the hidden units to each of them. Each of theses  ReLU functions are diagonal and tuned so that only for one of those two points the output is 1. In the end, we add these two together hidden units together. And voila - discrete xor."

Perfect! Thank you :)


EngineFixes.dll: couldn't load plugin (00000241)

First time using the mod and every time I try and launch the game I get this error. I have uninstalled and reinstalled SKSE64 on Vortex many times now, have manually import the Skyrim Script Extender files and have followed the installation guide to no avail. I cannot figure out what I am doing wrong.
The console reads:
[13:10:27] [info] Starting SKSE v<IP_ADDRESS>... be aware that messages that start without a colored [timestamp] prefix are logs from the Script Extender and its loaded mods.
[13:10:27] [info] SKSE is active
SKSE64 runtime: initialize (version = 2.2.3 01062800 01D9D683F823A655, os = 10.0 (22621))
imagebase =<PHONE_NUMBER>000000
reloc mgr imagebase =<PHONE_NUMBER>000000
config path = C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\SKSE\skse.ini
plugin directory = C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\SKSE\Plugins
scanning plugin directory C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\SKSE\Plugins
checking plugin EngineFixes.dll
loading plugin "6.1.1"
plugin EngineFixes.dll (00000001 6.1.1 00000006) couldn't load plugin 577 (handle 1)
dispatch message (0) to plugin listeners
no listeners registered
dispatch message (1) to plugin listeners
no listeners registered
I am very new to modding Skyrim so any explanation would be greatly appreciated.

I recently got a new PC, and when trying to boot with this mod on a completely fresh instance of Skyrim, I got the EXACT same error. I have disabled all plugins and it still says its failed to load a plugin even though none are present.
ANY response is much appreciated.

@SirHodgeheg try to edit EngineFixes config file ( Skyrim Special Edition\Data\SKSE\Plugins\EngineFixes.toml ) and disable EnableAchievementsWithMods in the Patches section (lign 9 for me), you may require to disable others patches but by simply disabling this one, I was able to start and play the game


Reports page needs coded

Should be able to generate a report ".csv" from the form fields.

Add username
Add category
Add sub category
Add status

generates csv form sql statement, add the fields in and test

now gernerates csv from sql, add form fields and into the sql


Add "add shared node" function

For https://github.com/gravitystorm/openstreetmap-carto/issues/3929#issuecomment-541630441
I was looking for a simple clean way to add a shared node at the intersection of two lines (which do not have a shared node.)

However there currently is no simple way apparently.

There's no shortcut, but all you need to do is double click one of the ways to add an extra node and then drag that node onto the other line.

OK, but shouldn't there be a clean way, without distorting the geometry, even if just slightly?


Are there issues with deploying the latest version of the guide, or tagging it?

I see that the code shown here
https://github.com/Sobeston/zig.guide/blob/4d7614d400275996fde76e62f9ff85a0f1770e54/website/versioned_docs/version-0.13/02-standard-library/07.random-numbers.zig#L8
does not correspond to the one that is actually deployed on the site (There's the same issue with the 0.14-dev).
Additionally, clicking on "edit" leads you to a 404 page (looks like the extension has been changed to mdx?)
Update This last thing might be a configuration problem with Docusaurus. I've followed up with this question in SO

Hi JJ, sorry you came across this, there are no issues with deploying but it's done manually.


ImportError: No module named

Please have a look at my post on StackOverflow: https://stackoverflow.com/questions/52985968/gridsearchcv-on-spark-cluster-importerror-no-module-named.
I am not entirely sure that the error which I am getting has to do directly with spark-sklearn but this is a nice opportunity to clarify this.

I think this one is correctly answered on SO.


Reference for quote

Could you find a reference for this quote in the README? Preferably from a research article. It would be very helpful for the technical background of my thesis :]

Thanks for  asking this question. The references were from a variety of, plus some of my intuition. I will link here some of those so it can be of some utility for you.

This video from 3B1B was actually the one that made me jump to my laptop and started working on this(it was just the initiator, but it was a much needed one) : Video
This paper talks a little about the analogy I used, but you check whether it is of your use or not : Paper
Some discussion on comparison between convolutions and attention Stack Exchange

I believe the idea of using signals(or cross-correlation) of some sorts, and managing to create a drop-in-replacement in self attention is something that I did myself. If I find anything in the future on this as well, I will update it here.
Hope these are of some use to you. Best of luck for your thesis.

Not gonna lie, but this article was also a good read for inspiration. Got me thinking about many things : Article

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
Skyluker4, @ch3njust1n, @webdancerX, @tnguyen21, @rayleizhu, @teddygood, @Gigabyte0x1337, @pns1123, @asmith26, @jayzeng, @barryzzz, @ks93, @ahmadmustafaanis, @dariocazzani, @norihirosunada, @vanpersie32, @liuqi6777, @WilliamLLee, @sh-lee-prml, @dan-jan


documentation missing how to split a dataset

I am trying to understand how to split a dataset ( as arrow_dataset).
I know I can do something like this to access a split which is already in the original dataset :
ds_test = nlp.load_dataset('imdb, split='test')
But how can I split ds_test into a test and a validation set (without reading the data into memory and keeping the arrow_dataset as container)?
I guess it has something to do with the module split :-) but there is no real documentation in the code but only a reference to a longer description:

See the  guide on splits  for more information.

But the guide seems to be missing.
To clarify: I know that this has been modelled after the dataset of tensorflow and that some of the documentation there can be used like this one. But to come back to the example above: I cannot simply split the testset doing this:
ds_test = nlp.load_dataset('imdb, split='test'[:5000])
ds_val = nlp.load_dataset('imdb, split='test'[5000:])
because the imdb test data is sorted by class (probably not a good idea anyway)

Currently you can indeed split a dataset using ds_test = nlp.load_dataset('imdb, split='test[:5000]') (works also with percentages).
However right now we don't have a way to shuffle a dataset but we are thinking about it in the discussion in #166. Feel free to share your thoughts about it.
One trick that you can do until we have a better solution is to shuffle and split the indices of your dataset:
import nlp
from sklearn.model_selection import train_test_split

imdb = nlp.load_dataset('imbd', split='test')
test_indices, val_indices = train_test_split(range(len(imbd)))

and then to iterate each split:
for i in test_indices:
    example = imdb[i]
   ...

I added a small guide here that explains how to split a dataset. It is very similar to the tensorflow datasets guide, as we kept the same logic.

Thanks a lot, the new explanation is very helpful!
About using train_test_split from sklearn: I stumbled across the same error message as this user and thought it can't be used at the moment in this context. Will check it out again.
One of the problems is how to shuffle very large datasets, which don't fit into the memory. Well, one strategy could be shuffling data in sections. But in a case where the data is sorted by the labels you have to swap larger sections first.

We added a way to shuffle datasets (shuffle the indices and then reorder to make a new dataset).
You can do shuffled_dset = dataset.shuffle(seed=my_seed). It shuffles the whole dataset.
There is also dataset.train_test_split() which if very handy (with the same signature as sklearn).
Closing this issue as we added the docs for splits and tools to split datasets. Thanks again for your feedback !

https://huggingface.co/docs/datasets/v1.0.1/package_reference/builder_classes.html#datasets.Split still links to https://github.com/huggingface/datasets/tree/main/docs/splits.md which is a 404

The updated documentation doesn't link to this anymore: https://huggingface.co/docs/datasets/v2.10.0/en/package_reference/builder_classes#datasets.Split


WIP: Initial support for custom Istio topology label

Fixes: https://github.com/istio/istio/issues/19114
Adds to use the node label topology.istio.io/subzone to specify locality subzones (more information inside the feature request).
Todo:

[ ] Tests

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

Test name
Commit
Details
Rerun command

gencheck_istio
a64587287a93cb1e8869c75f17795a88f42b888d
link
/test gencheck_istio

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

@johscheuer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
a64587287a93cb1e8869c75f17795a88f42b888d
link
/test gencheck_istio

unit-tests_istio
a64587287a93cb1e8869c75f17795a88f42b888d
link
/test unit-tests_istio

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

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

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
afcdced4a3307dba7abe37a1bda102c581ead19b
link
/test pilot-multicluster-e2e_istio

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

/retest
failure is from another issue that has been resolved

I can update the docs for the new label.


Feature/phantom

Code in a single file and project basic tests.
closes #4
closes #3
closes #2

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@507e73f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop       #8   +/-   ##
==========================================
  Coverage           ?   80.70%
==========================================
  Files              ?        1
  Lines              ?      114
  Branches           ?        0
==========================================
  Hits               ?       92
  Misses             ?       22
  Partials           ?        0

Flag
Coverage Δ

#unittests
80.70% <0.00%> (?)

Continue to review full report at Codecov.

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