No lxc restore

Looks like lxc restore is not implemented yet. Using lxc copy for now.
https://github.com/lxc/lxd/blob/master/specs/command-line-user-experience.md#restore

I'll have a crack at this one.


azure webapp issue

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp create Extension Name: appservice-kube. Version: 0.2.2.
Errors:
The command failed with an unexpected error. Here is the traceback:
__init__() got multiple values for argument 'linux'
Traceback (most recent call last):
  File "/opt/az/lib/python3.8/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 658, in execute
    raise ex
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 713, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/home/bhim/.azure/cliextensions/appservice-kube/azext_appservice_kube/commands.py", line 42, in _polish_bad_errors
    raise ex
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 692, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.8/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/bhim/.azure/cliextensions/appservice-kube/azext_appservice_kube/custom.py", line 505, in create_webapp
    helper = _StackRuntimeHelper(cmd, client, linux=(is_linux or is_kube))
TypeError: __init__() got multiple values for argument 'linux'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp create --resource-group {} --plan {} --name {}

Expected Behavior
Environment Summary
Linux-5.4.0-1077-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.8.12
Installer: DEB

azure-cli 2.35.0

Extensions:
appservice-kube 0.2.2
ai-examples 0.2.5
ssh 1.1.0

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

route to CXP team

@bhims791 Thanks for reaching out to us. We are looking into this issue. I will provide an update once I have more details on this.

@bhims791 It looks like you're running an old version of the extension from private preview (since your version number is 0.2.2). You should uninstall the extension with az extension remove -n appservice-kube and install the latest version (public preview) with az extension add -n appservice-kube. After this you can test the command again. Awaiting your reply.
Similar issue https://github.com/Azure/azure-cli-extensions/issues/4490

@bhims791 I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you need any further assistance on this. Awaiting your reply.

@bhims791 We will now proceed with closure of this github issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Resources status should be compatible with kstatus

As a user of tools like FluxCD, I would like Flux to know if/when my HNC resources are fully reconciled and operational (ready/healthy). Flux supports health assessment for all/most in-tree resource types, but it turns out that Flux also can support custom resources - if the resource expose a status compatible with kstatus.
I think this should be fairly easy to implement, and I would be happy to submit a PR to fix it. But we need to decide what to do with the current content of resource statuses? Can we delete something (breaking), or should we avoid breaking changes and keep duplicated status content with the same meaning?

I think our Condition struct is compatible with the standard (see here so that's a good start.
As for replacing the existing conditions, the issue I have is that HierarchyConfiguration currently has one Condition that means "this entire namespace is in a bad state" (ActivitiesHalted) and another that means "something's gone wrong but it's not a disaster" (BadConfiguration). I think kstatus would lump these both into Failed, and I don't particularly want to lose the existing distinction. But I'm totally on board with adding a kstatus Stalled condition if either of the above are true. (I'd rather not use the Ready=true/false condition since namespaces aren't exactly ever "ready").
Similarly, HNCConfiguration has three conditions: BadConfiguration, OutOfSync and the poorly named NamespaceCondition (there's a problem in a namespace in HNC). Similarly, I think kstatus would map the first two of these to Stalled. The third one is more informational and doesn't have anything to do with the HNCConfiguration objects itself so probably doesn't need a kstatus-compliant condition.
How does that sound?

I think it could make sense to keep the existing conditions when the HNC resources are not fully reconciled. AFAIK the most important requirements in kstatus seem to be:

Add a new field: status.observedGeneration to be able to detect when the controller is aware of the resource state, and has started working with it.
Any condition (except Ready: true) means that the controller is either working on making the actual state equal to the desired state, or an error trying to do so. We might have to add a "Reconciling" condition if that is not yet present in HNC. A resource with status.observedGeneration equal to metadata.generation and no conditions, will be considered ready and operational.

I thought kstatus ignored any condition it didn't recognize. The only conditions is recognizes are Ready, Stalled and Reconciling. Is that not correct? (If not, can you point me to the line of code where it looks for those?)
HNC doesn't actually know when anything finishes reconciling except SubnamespaceAnchor, so we could add it there. So adding that would be a very large task, not just a minor API reporting convention change.
I'm ok with adding status.observedGeneration of course.

The Ready condition is a bit special, and I understand the other conditions/statuses as just recommendations. The most important aspect is noted in the docs:

The conditions defined in the library are designed to adhere to the "abnormal-true" polarity pattern (https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties) , i.e. that conditions are present and with a value of true whenever something unusual happens. So the absence of any conditions means everything is normal. Normal in this situation simply means that the latest observed generation of the resource manifest by the controller have been fully reconciled with the actual state.

Understood, but the actual code (here and here) seems to ignore any condition except one of those three (except for K8s built-in objects).
Anyway, I'd be in favour of adding a Reconciling condition to the Anchor while it's waiting for the subnamespace to be created, and to adding a Stalled condition to the HierarchyConfiguration and HNCConfiguration (I'd also be ok with Ready: False, but it seems like this is less preferred). I don't want to add a Reconciling condition to the *Configuration objects since we don't actually have the ability to set that accurately, at least not right now, and possibly not ever (the observedGeneration trick doesn't help when the reconciler's actually working on a completely different object).

@adrianludwin I'll like to push this forward. This is what I suggest to do, in the following order (and as separate pull requests):

Introduce status observedGeneration on all HNC custom resources that are watched/reconciled.
Introduce conditions in SubnamespaceAnchor status, since conditions are missing completely now.
Add new Stalled condition to HNCConfiguration and HierarchyConfiguration in case anything is wrong. This will complement the existing conditions - at least for now.

When this is done, I think the resources are compatible with kstatus, and this issue can be closed.
But depending on if/when we can break the current status API, there are two tasks that I would suggest:

Remove the redundant SubnamespaceAnchor status.status, and instead use the suggested sematics in kstatus.
Remove the IMO now redundant existing conditions, and rely on the reason for further details. I might have overlooked something, but there seems to be exactly one condition type for each reason in HNC.

Yes, each reason has exactly one condition type, so I believe they could be removed. The bigger problem is that some of these conditions are basically warnings, and others are errors. Can kstatus represent that? Or can we add a "Warning" condition that gets ignored by kstatus (see my last comment from Feb 7)?
Are you ok with never being able to add a Reconciling condition to HierarchyConfiguration? We have no ability to set or unset that right now, and may never have that ability. E.g. is a namespace finished reconciling when we've guaranteed that the structure is correct, or when all objects have been propagated into it, or when all objects have been propagated out of it? And how do we feasibly implement that?
What does observedGeneration mean in the context of HierarchyConfiguration? An HC may need to be reconciled due to a change in a different namespace so just because observed generation == actual generation doesn't mean that we're in sync. I mean, we can add it to make kstatus and Flux happy, but it won't give the assurances that I think it's supposed to give.
It might be good to collect all this in a Google doc we can iterate on rather than leaving it in a discussion format in this issue. wdyt?

... with all that said, adding all this to the existing API sgtm, and then when we next bump the API to v1beta1, we can drop the custom fields.

/assign

Still valid, to support CI/CD tools like Flux and Argo.

/remove-lifecycle stale

/remove-lifecycle rotten


User should be directed to Linked services

Made changes based on issue https://github.com/MicrosoftDocs/azure-docs/issues/90399
Documentation describes going to Manage Private Endpoints to create a new Linked Service which is incorrect, for Step 1
https://docs.microsoft.com/en-us/azure/data-factory/tutorial-managed-virtual-network-on-premise-sql-server#create-a-linked-service-and-test-the-connection
User should be directed to
Go to the Manage tab and then go to the Linked services section.

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

#sign-off

@KranthiPakala-MSFT: I'm sorry - only the author of this article, @lrtoyou1223, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


[RawExpose] move sample to public repo

https://trello.com/c/2WOpC9dh/375-coreimage-rawexpose-using-cirawfilter-to-decode-raw-images

LGTM


Prediction codes and Pretrained model on CelebDF

hi! @crywang
Thank you so much for the awesome code!  Can you please provide the pre-trained model and prediction codes on CelebDF?
My email address is<EMAIL_ADDRESS>Thanks again

model has been sent.


NPM/CommonJS + jQuery requirement broken

First off, thanks for the great tool, much appreciated!
Backgrid uses Backbone.$ to access jQuery, however Backbone does not require jQuery and thus by default (when used in an NPM/CommonJS build) this property is empty and Backgrid bombs. If Backgrid requires jQuery, why doesn't Backgrid simply require that dependency itself versus attempting to get it from another module (Backbone) which doesn't mandate it?
Thank you

I was going to fix this issue and submit a pull request but it seems that the latest NPM version published is not the same version here. Where can I find the latest version in GitHub?

This should have been fixed a long time ago. Please try 0.3.7


Samples from recent open source models.

This PR contains:

[ ] a new test-case for the benchmark

[ ] I hereby confirm that NO LLM-based technology (such as github copilot) was used while writing this benchmark

[ ] new dependencies in requirements.txt

[ ] The environment.yml file was updated using the command conda env export > environment.yml

[x] new generator-functions allowing to sample from other LLMs
[x] new samples (sample_....jsonl files)
[ ] new benchmarking results (..._results.jsonl files)
[ ] documentation update
[ ] bug fixes

Related github issue (if relevant): closes #0
Short description:

...

How do you think will this influence the benchmark results?

...

Why do you think it makes sense to merge this PR?

...

Awesome, thanks @jkh1 !!
I'm merging this into a dev branch to make sure we have evaluation, updated plots and tex-updates in one branch before merging in to main


Fixes metadata for external help file.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAdditionalInternalDomain.md
:white_check_mark:Succeeded
View (skype-ps)

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.


Installation with external etcd - authentication handshake failed: x509: certificate signed by unknown authority

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I have k8s and etcd's running and verified:
    kubectl version --short
    K8S_VERSION=v1.24.3
    kubeadm config images list --kubernetes-version ${K8S_VERSION}
    ETCD_TAG=3.5.3-0

  HOST=<IP_ADDRESS>

  sudo docker run --rm -it \
  --net host \
  -v /etc/kubernetes:/etc/kubernetes k8s.gcr.io/etcd:${ETCD_TAG} etcdctl \
  --cert /etc/kubernetes/pki/etcd/peer.crt \
  --key /etc/kubernetes/pki/etcd/peer.key \
  --cacert /etc/kubernetes/pki/etcd/ca.crt \
  --endpoints https://"$HOST":2379 endpoint health --cluster

installing Cilium using helm as described here and added cert secrets also as described.
helm install cilium cilium/cilium --version 1.12.1 \
    --namespace kube-system \
    --set etcd.enabled=true \
    --set "etcd.endpoints[0]=<IP_ADDRESS>:2379" \
    --set "etcd.endpoints[1]=<IP_ADDRESS>:2379" \
    --set "etcd.endpoints[2]=<IP_ADDRESS>:2379"

I have compared each certificate from etcd and master node/control-plane and they are the same:
kubectl create secret generic -n kube-system cilium-etcd-secrets \
      --from-file=etcd-client-ca.crt=/etc/kubernetes/pki/etcd/ca.crt \
      --from-file=etcd-client.key=/etc/kubernetes/pki/apiserver-etcd-client.key \
      --from-file=etcd-client.crt=/etc/kubernetes/pki/apiserver-etcd-client.crt

I end up getting this in the logs from the "cilium-operator-" and ongoing restarts:
level=info msg="Initialization complete" subsys=cilium-operator-generic
{"level":"warn","ts":"2022-08-24T14:07:17.889Z","logger":"etcd-client","caller":"v3/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0x40006d5c00/<IP_ADDRESS>:2379","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: authentication handshake failed: x509: certificate signed by unknown authority\""}

I used kubeadm init phase certs etcd-serve to create the certs as described here:
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/setup-ha-etcd-with-kubeadm/
Cilium Version
1.12.1
Kernel Version
Linux master01 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:27:01 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
Kubernetes Version
kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/arm64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:38:15Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/arm64"}
Sysdump
cilium-sysdump-20220824-162313.zip
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@JCzz are you still facing any issues? I would suggest to double check the certificates that were generated.

Thanks @aanm
Good suggestion, I moved on to not have external etcd and used stacked - it works. I will at some later point try again using external etcd.

@JCzz great, feel free to close the issue if you are no longer facing problems

Just a note; this is still an issue if you are using external etcd.


Named and referenced window

Close #15

Codecov Report
Patch coverage: 100.00% and project coverage change: +3.74 :tada:

Comparison is base (78d40a7) 67.68% compared to head (c8075bc) 71.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   67.68%   71.42%   +3.74%
==========================================
  Files          66       68       +2
  Lines         229      252      +23
  Branches        8        8
==========================================
+ Hits          155      180      +25
+ Misses         68       66       -2
  Partials        6        6

Impacted Files
Coverage Δ

...ng/WindowFunctions/BaseExpressionWindowFunction.cs
100.00% <ø> (ø)

...seesecake/Querying/Projections/WindowProjection.cs
85.71% <100.00%> (+3.89%)
:arrow_up:

Tseesecake/Querying/SelectStatement.cs
100.00% <100.00%> (ø)

Tseesecake/Querying/Windows/NamedWindow.cs
100.00% <100.00%> (ø)

Tseesecake/Querying/Windows/ReferenceWindow.cs
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Design a standard reception 3D environment for the introducing the experience to the user

The 3D space should visually look like a reception / entrance space in a large company.
We need the entrance, and the door(s) leading to the actual workspace(s).
The space should have place for an NPC who is introducing the workplace.
The space should contain the large TV screen with info about the tasks.
And the onboarding tutorial should also happen in the same space, so we need enough space to teleport around and a few object to interact with.
And we need the space look neutral, so that decorations representing different industry branches can be added in every app.

from @ottedam that in this scene we also want the user to choose single vs multi-user.

Separate Unity scene?

this issue must be broken down to multiple smaller issues


Semantic: don't combine union of Number and Number subclass into Number

Fixes #5073
Number was missing in the logic that must prevent it from being combined in unions.

@RX14 @asterite please don't forget to tag this to Next milestone? Thank you. /cc @mverzilli

@luislavena I put the tag to the issue, because to a reader of "what happened in this milestone" that's what's important.

Thank you @asterite, noticed other PR had the Next even when they were bug fixes, which is why added the request (to avoid missing all these lovely gems from the next release changelog) :smile:


When User finishes filling out the prompts, he gets redirected to a waiting room. User sees waiting room.

7c6a762ccec4b4c10db76684391393557fcb8bce


Student gitlab usernames are based on their email alias

...not their SSO.

Also, aliases usually have . in them, so that means we need URL encoding, I think.

Are you telling me that I could have had my alias as my username?
I am so grumpy right now. :grimacing:
On Wed, Feb 3, 2016 at 7:36 PM, LinuxMercedes<EMAIL_ADDRESS>wrote:

...not their SSO.

Also, aliases usually have . in them, so that means we need URL encoding,
I think.
—
Reply to this email directly or view it on GitHub
https://github.com/grade-it/assigner/issues/18.

Yeah I have no idea how he managed that! I thought I also had my alias when I signed in to gitlab.

Okay, this is a legit GitLab bug. I'll still write the code to handle it and manually set the userid for my one edge case student.


WARNING: SECURITY [infra] Lets ECS reach ECR

THIS PR HAS SECURITY IMPLICATIONS
PLEASE THOROUGHLY REVIEW TO DECIDE IF THIS IS SOMETHING YOU WANT IN YOUR INFRA
This PR allows the ECS container and Fargate agents to access private Amazon ECR repositorys. This change allows the medplum ecs server TaskDefinition to point a private ecr repository in the account that hosts the ECS task. Currently if you try to do this, the ECS task creation will fail with an error saying that ECS could not connect to the ECR repository.

This commit changes the main CDK backend construct to add an IAM Role with the AmazonECSTaskExecutionRolePolicy managed policy
See this guide here for my motivation for adding this policy https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_execution_IAM_role.html
This policy provides the following permissions to the task creation agents

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "ecr:GetAuthorizationToken",
        "ecr:BatchCheckLayerAvailability",
        "ecr:GetDownloadUrlForLayer",
        "ecr:BatchGetImage",
        "logs:CreateLogStream",
        "logs:PutLogEvents"
      ],
      "Resource": "*"
    }
  ]
}

By default, CDK only provides permissions to create log streams and put log events.
Motivation

Allow people self-hosting Medplum on aws infra to use a private aws ecr image as their server image (currently this is not possible)

Drawbacks

Wider security surface area
Hosted medplum uses the docker medplum/medplum image, so this won't provide any additional benefit to hosted medplum

Thanks @msdrigg - I'll review soon.  I agree with the feature in principle.  One idea to limit impact is to wrap this in a config setting (i.e., something like "ecrEnabled"), such that this is not executed by default.

Great @codyebberson. Since the infra package already needs to parse the cdk-config.json file. It even would be possible to parse the config to see if config.serverImage matches ACCOUNT.dkr.ecr.REGION.amazonaws.com/* and only create the resource if that is the case.
I am happy to make the change and publish an update if you say the word

But then again, explicit is generally better than implicit especially when it comes to security so I don't know if that is a beneficial feature -- you just let me know what you think is best and I'll update the pr

Great @codyebberson. Since the infra package already needs to parse the cdk-config.json file. It even would be possible to parse the config to see if config.serverImage matches ACCOUNT.dkr.ecr.REGION.amazonaws.com/* and only create the role if that is the case.
That way users wouldn't have any additional complexity but the security would be higher.
I am happy to make the change and publish an update if you say the word

I really like that idea!  Let's do it.  Thanks @msdrigg !

@codyebberson Ok, so I found what I think is a perfect solution.
So I did some research and apparently aws cdk has an explicit EcrImage resource that is a subclass of ContainerImage. If we use EcrImage, CDK will automatically create fine grained permissions to allow the fargate agent to access the specific ecr image.
This means that all we need to do is test if the serverImage is a ecr image and then create the EcrImage container explicitly.
I verified for myself that npx cdk diff should show no difference between this PR and your existing setup (but of course I can't be sure what your setup looks like exactly, so please test for yourself).
I also verified that this works for self-hosted with a private ecr repository and it creates the following permission diff
IAM Statement Changes
┌───┬─────────────────────────────────────────────────────────────┬────────┬─────────────────────────────────────────────────────────────┬─────────────────────────────────────────────────────────────┬───────────┐
│   │ Resource                                                    │ Effect │ Action                                                      │ Principal                                                   │ Condition │
├───┼─────────────────────────────────────────────────────────────┼────────┼─────────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────┼───────────┤
│ + │ *                                                           │ Allow  │ ecr:GetAuthorizationToken                                   │ AWS:${BackEnd/TaskDefinition/ExecutionRole}                 │           │
├───┼─────────────────────────────────────────────────────────────┼────────┼─────────────────────────────────────────────────────────────┼─────────────────────────────────────────────────────────────┼───────────┤
│ + │ arn:aws:ecr:us-east-1:ACCOUNT:repository/medplum-           │ Allow  │ ecr:BatchCheckLayerAvailability                             │ AWS:${BackEnd/TaskDefinition/ExecutionRole}                 │           │
│   │ server                                                      │        │ ecr:BatchGetImage                                           │                                                             │           │
│   │                                                             │        │ ecr:GetDownloadUrlForLayer                                  │                                                             │           │
└───┴─────────────────────────────────────────────────────────────┴────────┴─────────────────────────────────────────────────────────────┴─────────────────────────────────────────────────────────────┴───────────┘

(And some other diffs referencing the EcrImage resource

Thank you @msdrigg !


Flow-runtime runs on cached location of files even if they have been moved

This is a:

[x ] Bug Report
[ ] Feature Request
[ ] Question
[ ] Other

Which concerns:

[x ] flow-runtime
[ ] babel-plugin-flow-runtime
[ ] flow-runtime-validators
[ ] flow-runtime-mobx
[ ] flow-config-parser
[ ] The documentation website

What is the current behaviour?

If I move a folder from one directory to another, flow-runtime doesn't see the new location of the .js files in that folder. This causes flow-runtime to error out if any of these .js files have dependencies using relative paths. It seems to be looking at a cached version of the .js files in the original folder location.
Example:
Initial folder structure:
common/
--components/
----dropdown/
------index.js
------styles.css
apps/ (on same level as common)
Run flow: -> no errors
Run application with flow-runtime: -> no errors.
If I move the dropdown folder into apps, creating this new folder structure:
common/
--components/
apps/
----dropdown/
------index.js
------styles.css
Run flow: -> no errors
Run application with flow-runtime: -> Receive this error:
ERROR in Flow: Type Error
Error: common/components/dropdown/index.js:6
./styles.css. Required module not found
Found 1 error
webpack: Failed to compile.
My current workaround is to re-create the original folder structure with blank files. Eg. I'd create a new folder in common/components called 'dropdown', then create an 'index.js', leave it blank, then run flow and flow-runtime again. Flow-runtime sees that the file is blank and throws no errors. Then I can delete this folder afterwards. But this is sort of silly to have to do.

What is the expected behaviour?

Flow-runtime should keep an up-to-date version of the project's folder structure
Which package versions are you using?

0.14.0

@scolacur this is a strange one, what command are you running with flow-runtime-cli?

I'm not using flow-runtime-cli, just running my application with
flow-runtime 0.14.0 and babel-plugin-flow-runtime 0.11.1
On Mon, Nov 13, 2017 at 1:19 PM, Charles Pick<EMAIL_ADDRESS>wrote:

@scolacur https://github.com/scolacur this is a strange one, what
command are you running with flow-runtime-cli?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codemix/flow-runtime/issues/163#issuecomment-344061808,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALXVtyoNKY6kjhTo21441EEbk2453HZqks5s2LJ4gaJpZM4QAAV8
.

--
http://leafgroup.com
Steve Colacurcio
Software Engineer
<EMAIL_ADDRESS>1655 26th Street CA 90404 United States
leafgroup.com
--
Please NOTE: This electronic message, including any attachments, may
include privileged, confidential and/or inside information owned by Leaf
Group. Any distribution or use of this communication by anyone other than
the intended recipient(s) is strictly prohibited and may be unlawful. If
you are not the intended recipient, please notify the sender by replying to
this message and then delete it from your system. Thank you.

@scolacur really strange then as flow-runtime doesn't really know about file locations. I wonder if this is related to webpack's caching


Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found.

I have no idea what's happening. Yesterday my visual code was working fine, then this morning i think there was an update that was automatically installed. Now the intellisense is broken, can someone help me on this? thanks in advance
i already did few things like change installing Microsoft.NET.Sdk and changing .csproj <Project Sdk="Microsoft.NET.Sdk.Web"> to <Project Sdk="Microsoft.NET.Sdk">.
Below is the dotnet info and the omnisharp output.
dotnet --info
`NET SDK (reflecting any global.json):
Version:   5.0.302
Commit:    c005824e35
Runtime Environment:
OS Name:     Mac OS X
OS Version:  11.0
OS Platform: Darwin
RID:         osx.11.0-x64
Base Path:   /usr/local/share/dotnet/sdk/5.0.302/
Host (useful for support):
Version: 5.0.8
Commit:  35964c9215
.NET SDKs installed:
3.0.100 [/usr/local/share/dotnet/sdk]
3.1.100 [/usr/local/share/dotnet/sdk]
3.1.101 [/usr/local/share/dotnet/sdk]
3.1.301 [/usr/local/share/dotnet/sdk]
3.1.302 [/usr/local/share/dotnet/sdk]
3.1.402 [/usr/local/share/dotnet/sdk]
3.1.403 [/usr/local/share/dotnet/sdk]
3.1.408 [/usr/local/share/dotnet/sdk]
5.0.102 [/usr/local/share/dotnet/sdk]
5.0.202 [/usr/local/share/dotnet/sdk]
5.0.302 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.14 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.14 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.17 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.19 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.20 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.22 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.23 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.14 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]`
omnisharp log
`OmniSharp server started.
Path: /Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/run
PID: 3403
    Starting OmniSharp on MacOS 11.4 (x64)

    DotNetPath set to dotnet

    Located 1 MSBuild instance(s)
        1: StandAlone 17.0.0 - "/Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/omnisharp/.msbuild/Current/Bin"

    MSBUILD_EXE_PATH environment variable set to '/Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/omnisharp/.msbuild/Current/Bin/MSBuild.exe'

    Registered MSBuild instance: StandAlone 17.0.0 - "/Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/omnisharp/.msbuild/Current/Bin"
        CscToolExe = csc.exe
        MSBuildToolsPath = /Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/omnisharp/.msbuild/Current/Bin
        CscToolPath = /Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/omnisharp/.msbuild/Current/Bin/Roslyn
        BypassFrameworkInstallChecks = true
        MSBuildExtensionsPath = /Users/recx/.vscode/extensions/ms-dotnettools.csharp-1.23.13/.omnisharp/1.37.13-beta.3/omnisharp/.msbuild

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140

    Detecting Cake files in '/Users/recx/Desktop/DatingApp'.

    Could not find any Cake files

    Detecting projects in '/Users/recx/Desktop/DatingApp/DatingApp.sln'.

    Queue project update for '/Users/recx/Desktop/DatingApp/API/API.csproj'

    Detecting CSX files in '/Users/recx/Desktop/DatingApp'.

    Could not find any CSX files

    Configuration finished.

    Omnisharp server running using Stdio at location '/Users/recx/Desktop/DatingApp' on host 3371.

    Loading project: /Users/recx/Desktop/DatingApp/API/API.csproj

It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download
[warn]: OmniSharp.MSBuild.ProjectManager
Failed to load project file '/Users/recx/Desktop/DatingApp/API/API.csproj'.
/Users/recx/Desktop/DatingApp/API/API.csproj(0,0)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.Sdk' specified could not be found.  /Users/recx/Desktop/DatingApp/API/API.csproj
at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00040] in <5cb36bfc6a904ae99356670f0c76054a>:0
at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject[T1] (System.Boolean condition, System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00003] in <5cb36bfc6a904ae99356670f0c76054a>:0 `

I've resolved the issue by reinstalling vscode... so much time wasted. :(


Added portfinder to generate available port.

Added portfinder package which generate random port!

Thank you @iamaakashbasnet


Cancel on click as well as scroll

Hey there, lovely little library.
I noticed there's a "cancel" method, but I can't seem to call it. I have bound a click handler to body and want to cancel the autoscroll when anything is clicked, how do I achieve that?

Hey, sorry for the super slow response! I’ve actually done a bit of refactoring and released 1.0.0 which sees the scroll functions returning user-callable cancel methods. I also pulled out the mousewheel auto-cancelling functionality (I think that’s actually outside the scope of this module), but if you look at the example in the readme, you should see that it’d be easy to re-introduce that and also add your own click-to-cancel behaviour.

You rock, cheers! I can kill my hacky fork now :)
Sent from my iPhone

On 22 Oct 2015, at 5:39 AM, Michael Rhodes<EMAIL_ADDRESS>wrote:
Hey, sorry for the super slow response! I’ve actually done a bit of refactoring and released 1.0.0 which sees the scroll functions returning user-callable cancel methods. I also pulled out the mousewheel auto-cancelling functionality (I think that’s actually outside the scope of this module), but if you look at the example in the readme, you should see that it’d be easy to re-introduce that and also add your own click-to-cancel behaviour.
—
Reply to this email directly or view it on GitHub.


Bump To Go 1.15.2

Fixes #415

/hold
Wait until https://github.com/kubernetes/test-infra/pull/19434 is merged.

/test pull-descheduler-verify-master
/test pull-descheduler-verify-build-master
/test pull-descheduler-unit-test-master-master

/lgtm

/hold cancel


[Indexer] Ethereum indexer fails when syncing

[x] I have read the Contributing file of the documentation.
[x] I have searched the issues (including closed ones) and believe that this is not a duplicate.

Issue
The following error is thrown when indexer is running in testnet.
2022-05-06 10:03:13,160 - INFO - Current block in index 3464364. Current block in ETH chain: 12242022
Traceback (most recent call last):
  File "./indexer.py", line 169, in <module>
    main()
  File "./indexer.py", line 123, in main
    insertBlockTransactions(web3=web3, blockNumber=blockNumber, numTxs=numTxs, cur=cur)
  File "./indexer.py", line 159, in insertBlockTransactions
    logger.info(f"Skipping {tx['txhash'].hex()} tx. Incorrect contract_to length: {len(contractTo)}")
  File "/usr/local/lib/python3.6/site-packages/web3/datastructures.py", line 51, in __getitem__
    return self.__dict__[key]  # type: ignore
KeyError: 'txhash'

Bug fixed in https://github.com/swapper-org/eth-transactions-indexer/pull/2


Replace pangyp with node-gyp

We originally adopted pangyp as a tempory work around for iojs support. This and more has been added to node-gyp and as such pangyp has been deprecated.
As far as I can tell this is all that's needed. My guess is we'll need to generated the bindings so lets ship this when we ship the node@4 bindings.
Closes #1124

This is not strictly necessary for 4.x if on supplies node headers to compile. I have some issues recently with gyp variables, looks like a variant of node js/nodejs#26. Will be tracking this down and posting upstream.


Replacing "." with "__dirname"

The "." folder (current directory) is different when using this package as a dependency.
I would suggest using "__dirname" for the the directory of the current script.
(It works for me...)
Thx

Funny story. Apparently I somehow only pushed exactly these changes to a tag (and published them!), as you can see form this build. It's now in master, as expected, and the build is actually passing on master.... though, this should never have been an issue with the public package, since the latest published version is 119.1.1? Do you have issues with the npm package?

Cool!
Thx for the quick reply
When I used this package (I used master)  I got 'file not found' errors. Now is OK.


SONOFF TASMOTA

Hi Stefan,
Whats the best way to have multiple instances of the  subscribe function .
Have been trying with  the example "TestMQTTGithubInterfaceExampleTopicAndPayloadRaspberry" but for the SONOFF with the Tasmota Firmware the topic are quite long.
For example I need to extract the payload from the the fallowing topics
HOME/GARAGE/tele/STATE { "Vcc":3.12, "Power":ON, "Level":High }
HOME/GARAGE/stat/POWER ON
HOME/IRIGATION/tele/STATE { "Vcc":3.12, "Power":OFF, "Temperature":21.7 }
HOME/IRIGATION/stat/POWER OFF
Any help is much appreciated.

Hi Silviu,
please Take a look into the GreatExampleOfAdvantages.project. I Think i Would make some SONOFF FBs, build in some nice topic creation(Cut out Project and Application) and built my Topic tree by instance naming and program struture. In this FBs you can split the Payload for your values in the publishRecived method.
it's meaningful too, to insert a "recive" and "send" Topic Level below "Home" like:
HOME/SEND/GARAGE/tele/STATE { "Vcc":3.12, "Power":ON, "Level":High } (look by SONOFF)
HOME/RECIVE/GARAGE/stat/POWER ON (look by SONOFF) (is this a command?)
else your subscription would recive anything you have published
Then i wolud subscibe to Home/Send/# and the client is sorting the topics.
can you post a full topic?
Have Fun!
BR Stefan

Thanks for your quick reply Stefan,
The structure of the SONOFF TASMOTA Mqtt Topics are the fallowing by default , but can be moved around .
Each Sonoff device has a unique name which you configure in the topic section, this name will reflect the use of the device and should be meaningful e.g : Garage_LIGHT, IRRIGATION , FRONT_DOOR_LIGHT etc.
The prefix is either cmnd, stat or tele  and the choice is usually topic+prefix (%topic%/%prefix%/). or prefix +topic (%prefix%/%topic%/) .
Most of the times I add the topic for the area where they are installed as well so it will come out as : area+topic+prefix .
examples:
HOUSE/tele/Garage_LIGHT/ or HOUSE/Garage_LIGHT/tele
Using the prefix as the first part of the topic makes it easier to subscribe to multiple sonoff devices using:
tele/#, stat/# and cmnd/# options.#
So if all the Sonoffs were used in your house you could use the topic hierarchy
house/prefix/topic or house/topic/prefix and can subscribe to all Sonoff devices using house/#
In this case I prefer house/topic/prefix.
MQTT Default Topic Prefixes :
cmnd = PC,Smart Phone using an MQTT client to control the Sonoff,set configuration and get  status information
stat = Sent by the Sonoff , Sent in response to a command
tele = Status information , Report status information at set intervals
Some real examples:
In response to TOPIC = HOUSE/Garage_LIGHT/cmnd/POWER1  , Payload : on
Subscriber gets on TOPIC = HOUSE/Garage_LIGHT/stat/POWER1 , Payload: ON
Or the tele , that is set at intervals in Sonoff in a JSON format:
Subscriber gets as per the tele interval TOPIC =  HOUSE/Garage_LIGHT/tele/STATE ,
Payload: { "Time":"2019-03-29T18:30:20","Uptime":"1T01:06:31" , "Vcc":"3.170", "POWER1":"ON", "WFi":{"AP":1,"SSId":Home_Net","RSSI":90, "APMAc":"FF:FF:FF:FF:FF:FF"}}
On the tele Payload in the Sonoff config you can add more variables that can be transmitted as per the Sonoff type or sensors attached like :
"Temperature":21.7 or "Humidity":70 or "POWER2":"OFF"
Looking Forward in to this matter.
The GreatExampleOfAdvantages.project has been created with the latest SP 14:10 , need to update my Codesys :))

Hi Stefan,
Have installed Codesys SP14.10 ans still not able to open the GreatExampleOfAdvantages.project any chances that it might be corupted ? Maybe some other tips of your setup ?

Hi Silviu,
no Problems here, what is your error?
BR Stefan

Hi Stefan , Please see attached.

Hi Silviu,
here is this version.
BR Stefan

Hi Silviu,
i think you can build your topics like the example and then you can subscribe to:
HOUSE/+/cmnd/#
If you need more tips, then feel free to ask.
I think sonoff is nice for my home too....
BR Stefan

Hi Stefan ,
I had difficulties understanding the MQTT Subscribe and Publish but now is more  clear   and started to understand it after checking some of the examples.
I'm in the process of building some FB to integrate your MQTT Binding with the SONOFF TASMOTA MQTT Format. I'm not an expert but when I have something I can have it sent to you to check it out .
Any chance of sending me the GreatExampleOfAdvantages.project saved in a Sp13 Format ?

Hi Silviu.
SP 13, i'll have a look.
BR Stefan

Hi,
I made a test file with 3.5 sp 11. Please test it.
BR Stefan

Cheers Stefan , Ill give it a try .
I've been Busy with the sonoff stuf .
I have made some FB for the Sonoff Basic , 4 CH and TH .
I will upload it in a few days on my account.


Update node-sass dependency to v3.3.1

Update node-sass dependency to v3.3.1

The current full release version of Node Sass is 3.2. Our dependencies will pull in whatever the current full release version is. Once Node Sass promotes 3.3.1 to it's current release, that'll be brought in to Gulp Sass. If you absolutely positively must use Node Sass 3.3.1 today, set the compiler option of Gulp Sass to the require of node-sass you want.

Oh I see, thanks for the quick response!


Packages refinement - Iter. I

Description
Related issue: #99
Fix the issues detected during testing.
Tasks

[ ] #88
[x] #89
[x] #90
[x] #91
[ ] #94
[x] https://github.com/wazuh/wazuh-indexer/issues/101
[x] https://github.com/wazuh/wazuh-indexer/issues/102
[x] https://github.com/wazuh/wazuh-indexer/issues/103
[ ] https://github.com/wazuh/wazuh-indexer/issues/104
[x] https://github.com/wazuh/wazuh-indexer/issues/105
[x] https://github.com/wazuh/wazuh-indexer/issues/106
[x] https://github.com/wazuh/wazuh-indexer/issues/107
[x] https://github.com/wazuh/wazuh-indexer/issues/108
[x] https://github.com/wazuh/wazuh-indexer/issues/138
[ ] https://github.com/wazuh/wazuh-indexer/issues/124

Current testing iteration of<EMAIL_ADDRESS>packages concluded with errors.
We'll work on these issues and open a new testing iteration.

Originally posted by @AlexRuiz7 in https://github.com/wazuh/wazuh-indexer/issues/99#issuecomment-1881602001
Implementation restrictions

Work only on issues in backlog.

Remaining issues are improvements and will be addressed in the future.


Fixed, Edited xml files, To build modules of e2e/online_system

Hello, I'm harderthan.
When I tried to build modules of e2e/online_system, I was able not do this.
$ catkin_make
...
The manifest contains invalid XML:
XML or text declaration not at start of entity: line 17, column 0

Essentially some spaces have found there way in where they shouldn't be.
So, I moved these license remark.
Reference
Please check this issue.
Thank you.

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


@import! - unit testing issue

Hello,
I've found a bug with Enzyme. It tries to parse the following import statements and causes an error:
import 'script!jquery';
import 'script!what-input';
import 'script!foundation-sites';

Below is a link to the Stack Overflow issue for more details.
https://stackoverflow.com/questions/37040291/unit-testing-in-react-mocha-enzyme-i-webpack-how-to-ignore-imported-file

@lovelydreamer enzyme doesn't parse import statements - I'm not familiar with that particular import syntax, but it seems like something you'd need to configure your webpack setup to handle.
Please update here if you figure it out, since even though it's unrelated to enzyme, other enzyme users may benefit from your solution :-)


SC-6772 add scaffolder-utils package

Add the scaffolder-utils package with the following scaffolder actions

roadiehq:utils:zip
roadiehq:utils:sleep
roadiehq:utils:fs:write
roadiehq:utils:fs:append

:heavy_check_mark: Checklist

[x] Added tests for new functionality and regression tests for bug fixes
[ ] Screenshots of before and after attached (for UI changes)
[x] Added or updated documentation (if applicable)

[SC-6772]


initUserToplistWithUsername - default user

Hi,
In SPToplist.m you forgot to forward the actual username when querying for the user's top list.
	trackBrowseOperation = sp_toplistbrowse_create(self.session.session,
												   SP_TOPLIST_TYPE_TRACKS,
												   region,
												   NULL,
												   &toplistbrowse_tracks_complete,
												   self);

Should be something like this I guess (works for me)
	trackBrowseOperation = sp_toplistbrowse_create(self.session.session,
												   SP_TOPLIST_TYPE_TRACKS,
												   region,
												   [self.username UTF8String],
												   &toplistbrowse_tracks_complete,
												   self);

Kind regards
Martin

Thanks for spotting this! I've fixed and pushed this.

That was quick =) Thanks!

The stupider a bug is, the faster I like to pretend I didn't make that mistake!

They should have a "like" button for comments on github. :P


Issue with @babel/typescript

When I use '@babel/typescript' I need to add .ts and .tsx to my imports. Otherwise these files can't be resolved.
src/index.ts
export * from './components/Button/Button';

[!] Error: Could not resolve './components/Button/Button' from src/index.ts

U can use rollup-plugin-node-resolve and its extensions option. This has nothing to do with rollup-plugin-babel


Eforsyning stopped working in HA[BUG]

This year suddenly all my Eforsyning Entities say unavailable, reloading was, of cause, ineffective
adding the Eforsyning from new, also did nothing.
When logging in to Eforsyning via webpage, everything works as normal, but HA isn't pulling any data
Any Idea on how to fix this?
Log file output
This error originated from a custom integration.
Logger: custom_components.eforsyning.coordinator
Source: custom_components/eforsyning/coordinator.py:55
Integration: EForsyning (documentation, issues)
First occurred: 1 January 2023 at 01:41:08 (4604 occurrences)
Last logged: 10:18:46
Unexpected error fetching eForsyning data: 'IaltLinje'
Unexpected error fetching eForsyning data: 'NoneType' object is not subscriptable
Unexpected error fetching eForsyning data: HTTPSConnectionPool(host='apiapp.dff-edb.dk', port=443): Read timed out. (read timeout=5)
Unexpected error fetching eForsyning data: Invalid URL 'api/getebrugerinfo?id=': No scheme supplied. Perhaps you meant http://api/getebrugerinfo?id=?
Traceback (most recent call last):
File "/config/custom_components/eforsyning/coordinator.py", line 53, in _async_update_data
data = await self.hass.async_add_executor_job(self.api.get_latest)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/eforsyning/pyeforsyning/eforsyning.py", line 381, in get_latest
result = self._parse_result_totals_line(year_data)
File "/config/custom_components/eforsyning/pyeforsyning/eforsyning.py", line 471, in _parse_result_totals_line
'from-date': result['IaltLinje']['FraDatoStr'],
KeyError: 'IaltLinje'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 225, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/eforsyning/coordinator.py", line 55, in _async_update_data
raise ConfigEntryNotReady from error
homeassistant.exceptions.ConfigEntryNotReady: 'IaltLinje'

Eforsyning is down. You can't login on Eforsyning.dk or in the E|Forsyning mobile app either. Looks like an required external auth resource (apiapp.dff-edb.dk) is down.

I updated, and All my problems were gone :)

I have logged some form of outage at eForsyning around
2023-01-02 10:50:07.686 ERROR (MainThread) [custom_components.eforsyning.coordinator] Unexpected error fetching eForsyning data: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
It was gone 6 hours later for me though.


After joining a server with the plugin while using Fabric with the mod on 1.18.2 render threads end immediately after starting.

Running a tweaked-vanilla Minecraft client, somewhat small list of mods. List is as follows:

BetterF3
charmonium
Continuity
Fabric API
Indium
Iris
LambdynamicLights
ModMenu
NoTelemetry
OKZoomer
Phosphor
Quilt Fabric API
Sodium
VoidFog
Xaero's World Map

When I tried to join a server running the CPM plugin on Paper while running the CPM mod on Fabric (both 1.18.2) I was unable to join and was able to narrow down the suspicious log lines to a few important lines that were present even after removing almost all mods.
[22:53:36] [Render thread/INFO]: New world map session initialized!
[22:53:36] [Render thread/INFO]: Started 10 worker threads
[22:53:36] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[22:53:37] [Render thread/WARN]: Unknown custom packed identifier: cpm_net:hello
[22:53:37] [Render thread/INFO]: [CHAT] arden_arteles joined the game
[22:53:37] [Render thread/INFO]: Stopping worker threads
[22:53:37] [Render thread/INFO]: Started 10 worker threads

Attempting to join this server in the future while the plugin is enabled causes me to get stuck on the "Loading World" screen, but I can hear what is going on. Apparently, I exist in the world, and can hear things around me, although I appear to be at a different location than expected, in a cave.

I have successfully narrowed it down to the Sodium mod that is conflicting with the CPM plugin. As sodium is one of the most used mods this is of significant importance.

Update 2: This bug only occurs when a player joins while they are dead. If they join the server while they are alive, no issues occur.


YAML spec templates and supporting helpers

This PR:

Adds templates inspired by producing an API that is relevent to end users who are providing spec via a YAML file
and not progammatically.
Adds helper functions and structs to support the templates
Inspired by https://docs.openshift.com/container-platform/4.11/rest_api/monitoring_apis/alertmanager-monitoring-coreos-com-v1.html#spec-affinity-nodeaffinity-preferredduringschedulingignoredduringexecution-preference-matchexpressions-2)

Sample Result: https://github.com/jcantrill/cluster-logging-operator/blob/docgen/docs/operator/api.md

Please don't expect me to get to reviewing this anytime soon. This is a pretty substantial shift and I am not sure if I can accommodate maintaining 1 user's requests long term.

Please don't expect me to get to reviewing this anytime soon. This is a pretty substantial shift and I am not sure if I can accommodate maintaining 1 user's requests long term.

These changes should be backwards compatible with what exists now.  If you prefer to exclude the templates, I am more then happy to remove them.  I am additionally willing to add unit test to support the changes though I don't see any at this time.  These changes make it possible to use this generator for more then CRDs and not be tied exclusively to markdown.  The updates include changes to push the "view" specific bits into the templates instead of the binary.

Closed in favor of https://github.com/ViaQ/gen-crd-api-reference-docs/pull/3


[Feature Request] Direct Image Custom Reactions

Hello! I wanted to request a feature that would be in a lot of use in my personal (and probably many other) servers.
I'd like to request of the bot to be able to upload images directly as custom reactions.
That would be very useful as most of my server relies/has funny jokes revolving around custom reaction images.
As of today I simply add a direct link to the image as a custom reaction.
So for example, if you write "wat" a gif of the blinking white guy meme will appear as a direct link.
However, that also shows the link in the chat which is quite unpleasing to me.
It would be wonderful if the bot could upload/store images somewhere in the folder or database that we can use to attach to custom reactions!
Thank you in advance.

The thing is, if that would be possible it would be a thing already for a while now. Bots simply can't read images from other users, just like you would do .acr "trigger" and the image, the bot won't be able to register it and there is nothing you can really do unless you build it that yourself by source editing.

Isn't it possible the bot to read the direct link we send to the image and send it in the chat as an attachment instead of pasting its link?

Yes, use embed builder.
http://www.nadekobot.me/embedbuilder/
for example .acr "image test" {"image":"http://i.imgur.com/mna03Ke.jpg","color":7458112}


Escape database and table names

Use escaped literals in DB object names.
For example, having a database with name 'my-database' will cause SQL Syntax Error, because of character '-'.

Thanks @varogonz95 !


phone country code enum dash removed

Codecov Report
Base: 90.06% // Head: 90.14% // Increases project coverage by +0.08% :tada:

Coverage data is based on head (0bc23c2) compared to base (bf7cd46).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   90.06%   90.14%   +0.08%
==========================================
  Files          23       23
  Lines         805      812       +7
==========================================
+ Hits          725      732       +7
  Misses         57       57
  Partials       23       23

Impacted Files
Coverage Δ

country/alpha2.go
91.66% <100.00%> (+0.36%)
:arrow_up:

country/alpha3.go
91.66% <100.00%> (+0.36%)
:arrow_up:

country/name.go
91.30% <100.00%> (+0.39%)
:arrow_up:

language/alpha2.go
91.66% <100.00%> (+0.36%)
:arrow_up:

language/alpha3.go
91.66% <100.00%> (+0.36%)
:arrow_up:

language/name.go
91.30% <100.00%> (+0.39%)
:arrow_up:

phone/dial_code.go
59.57% <100.00%> (+0.87%)
:arrow_up:

phone/number.go
92.00% <100.00%> (+0.33%)
:arrow_up:

postal_code/postal_code.go
91.66% <100.00%> (-0.34%)
:arrow_down:

... and 3 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Setup up CI checks

This PR sets up a simple basic CI for checking style and types of the system, and closes some of the type errors from my last PR.
Will eventually add a check to make sure the core images don't change.

Going to merge this one since it is mostly style changes to make the other PR simpler.


Change Item Lifespan to Entity#lifespan in Forge

In Forge, the lifespan check will now look at Entity#lifespan instead of the configuration since items can have differing lifespans per implementation. The check in Fabric remains the same as there is no common API.
The configuration options in Forge have been deprecated for removal but not removed to maintain compatibility. The #getItemDespawnTime without being entity sensitive also remains for this reason.

Thanks for PR


Prediction of Wild Blue Berries Yield - GSSOC '23

💥 We can use the dataset from KAGGLE and detect the yield of the blue berries
(A clear and concise description of what the proposal is.)
1.We can use the suitable machine learning algorithms to deal with this dataset.
2.The best models for this dataset could be  RandomForestRegressor , LinearRegression, DecisionTreeRegressor.
3. This is a regression model, so we need to adjust the parameters for the best model to be possible with some good evaluation score.
4. It would be really helpful to those who are dealing with such datasets and need to predict the continuous values.
Link : https://www.kaggle.com/competitions/playground-series-s3e14/data
Kindly assign me this under GSSOC '23 . It would be really helpful

@Durga-Sowjanya-Sanku - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!  Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.


namedtuples are not recognized

using the v0.7DEV kernel
myname = (firstname = "Jeffrey", lastname = "Sarnoff")
syntax: assignment not allowed inside tuple

Stacktrace:
 [1] include_string(::String, ::String) at ./loading.jl:515

That must be an old 0.7 version, works for me.

oops


Required fields option not working

I've attempted to designate some form fields as required by sliding the interface's "Required" button for said fields over to the right, turning the associated buttons green. The desired behavior here is that an error would be produced if the user attempts to save an entry without filling out required fields. However, the form saves successfully even when those fields are left untouched.
We'd like a reliable way to ensure that the user is required to fill out certain fields.

Hi,
which field types did you use?

The fields in question are both Text types. Out of curiosity, why should that matter?

I am also experiencing a failure to enforce requirements, but my use case is a little more fringe so may not be currently supported - I'm attempting to add required flag to a nested set field.

hi,
similar issue when post a new entry via front-end or postman, using collections/save/collectionname
just setting a username field as required, sending data with blank username, and no error, entry is created in collection... without username!
Solution is of course to do validation in front-end, but i think it must also be done by cockpit, no?
Thanks


[Bug] Pause Beeftext does not work in v12

Expected behavior
Pause beeftext
Actual behavior
Text still expanding
Steps to reproduce the behavior
Right click icon, Pause BeefText
Beeftext version (e.g. Beeftext v7.0 Portable Edition).
v12
Operating system version (e.g Windows 10)
Windows 10

I can confirm there is a problem. Thank you for reporting.

Here are test builds that include a fix for the issue. Please let me know if it solves the problem on your side:
Beeftext-12.0-Installer.zip
Beeftext-12.0-PortableEdition.zip

Awesome, thanks for the quick fix @xmichelo
I will share with my colleagues


[Bug] Raid timeline says "dropped" for picked up items

the raid time lines says that you dropped items when you actually picked it up, making it hard to tell what you picked up and dropped

Fixed this in v0.0.3; the loot timeline needs way more work and refactoring so I'm keeping this guy open.

Fixed in dev branch, closing issue, will be in next patch.


[Bigquery] add labels property to VIEWs

SQLMesh allows a model to pass arbitrary table properties to its CREATE statement with the table_properties model configuration parameter.
Most of the properties this is used for relate to physical storage or partitioning and are only relevant for physical tables. Therefore, the properties are not included in view creation statements.
Bigquery supports the labels metadata property, which can be applied to both tables and views. They are similar to tags, but they are key-value pairs rather than strings.
This issue requests that a model's labels property be propagated into its views as well as its physical tables.

We are looking into something like this as well. We already had the case that some tables have indeed been labeled in BigQuery after adding table_properties [ lables=[()] ]. So, I am not sure whether this has been implemented in some cases already.. However, every change to the table, update, or also within virtual tables removed those labels.
Would be great to have this implemented in general!

#2517 introduced propagation of table_properties into VIEWS in the physical layer. We still don't set them in the virtual layer and it's not quite clear whether we even should.

@izeigerman agreed, it's unclear to me that these should be forwarded since table_properties is definitely about the physical layer.
That being said, having the ability to specify labels on the virtual environment views in BigQuery would be nice for integration with other GCP tooling. Having an equivalent view_properties for the "virtual layer" would solve this.


adding-users: Fix groups

Change the doc to match what is coded in ignition.
cc: @crawford

LGTM. Thanks!


Added option REMOVE_OLD_MODS

When the option MODPACK is specifed you can also instruct script to delete old mods/plugins prior to installing new ones.
This behaviour is desirable in case you want to upgrade or replace mods/plugins from downloaded zip file.

And built
https://hub.docker.com/r/itzg/minecraft-server/builds/bt7htzzgygprfyzrvbajj3f/


Feature Request: :SudoWrite and :SudoRead alternatives

Feature Requested
Genghis might have had many children, but eunuchs were allowed to attend places closed even to the ruler himself.
vim-eunuch implements :SudoWrite and :SudoRead for a reason.
Relevant Screenshot
No response
Checklist

[X] The feature would be useful to more users than just me.

I am not really familiar with the requirements for sudo(write|read) and do not really have any need for it myself, but I'll gladly except PRs for it.
PS: I never read anything from Mills, so I couldn't really care less what you do or not do the books lol. Also, it's irrelevant for this issue.


install and link macOS Pods automatically on init

Please select one of the following

[X] I am making a fix / change for the macOS implementation of react-native

Summary
Fixes #306, #362
This PR adds automatic pod installation (but utilizing pod-install package from the Expo) to the react-native-macos-init NPX script.
Unfortunately due to react-native-config.js content duplication issue pod installation will only work correctly when react-native-macos-init was executed in the project without react-native-config.js file.
Because of the issue above and not 100% clean testing procedures I suggest that this PR should be reviewed on the few machines before the merge.
Changelog

[macOS] [Added] - automatically install and link Pods on macOS init
Test Plan
I have tested those changes locally by linking working copy of the react-native-macos-init package in the test macOS app.
Preview
Expected end of the successful output:

Microsoft Reviewers: Open in CodeFlow

Thanks for the great contribution!
The react-native.config.js issue you ran across will hopefully go away soon.   After we merge to .62 we can employ some fixes in metro tools to support out-of-tree platforms and won't need a react-native.config.js file at all.

@simek Sweet, thanks! 🙏


Empty screen after entering SSID

When I enter my WiFi SSID in the settings screen, and press return, I'm faced with an empty screen. After restarting the app it keeps going to onboarding and then I'm faced with an empty screen again.
(I have not entered an internal URL, that might be the problem?)

I cannot even login, I an have with empty screen as soon as I entered login credentials. Closing app or pressing back causes app to search for ha again.


No longer works startup crash

It now crashes on attempt to open

same here

Acknowledged, reason known, but may take a day or two because I'm busy with the site itself but I'll get there.

Available as an APK here.


not able to read iceberg table stored in azure data lake

Discussed in https://github.com/StarRocks/starrocks/discussions/12695

Originally posted by rajasekarv October 31, 2022
I am trying to read external iceberg table stored in azure blob storage. I have added hadoop-azure-datalake-3.3.0.jar and hadoop-azure-3.3.0.jar in Hadoop path inside both fe and in be/lib/hadoop/common and in be/lib/hadoop/hdfs directory.
It is able to read the metadata from hive table in fe but throws an error in be
W1031 03:42:36.130653 62060 pipeline_driver_executor.cpp:133] [Driver] Process error, query_id=0f4216e3-58ce-11ed-a626-9a451fd27c85, instance_id=0f4216e3-58ce-11ed-a626-9a451fd27c86, status=Not supported: No FileSystem associated with<EMAIL_ADDRESS>

@rajasekarv Thanks for filing this issue. I think this pr https://github.com/StarRocks/starrocks/pull/12715 might solve your issue. However, I'm still testing it for myself because I'm deploying a azure cluster. If you are interested, you could patch this pr to you cluster and have a try too.

Thanks @DorianZheng . I will try it and let you know

@DorianZheng  even after the patch, I am getting the error ERROR 1064 (HY000): code=401(SdkErrorType:15), message=:file = abfss://*****
Is any jar missing apart from the ones I mentioned earlier?

@rajasekarv sorry for late update. I have finally deployed a cluster and test it by myself. with this PR https://github.com/StarRocks/starrocks/pull/13845, it will be able to access azure blob storage.


Timestamp JSON string to Java Timestamp Value - View.query(class)

Hello, I am having an issue when using the query method of the View class:
List images = myView.query(Image.class);
The above method invocation results in a JSON exception: my Image class has a timestamp instance variable, and the Gson instance used internally by the couchdb library fails to translate a string like “2015-01-23T18:25:43.511Z” to a timestamp variable.
If I could somehow configure the Gson instance used internally by the couchdb library, this exception would not occur. I understand I can configure my own Gson instance in the following way to handle timestamp strings like “2015-01-23T18:25:43.511Z” correctly:
Gson gson = new GsonBuilder().setDateFormat("yyyy-MM-dd'T'HH:mm:ss").create();
However, I am afraid I don’t know how to configure the Gson instance used internally by the couchdb library. Could you provide some guidance on how to address this issue? Thanks.

@rolivieri The original LightCouch library did provide a public settable 'setGsonBuilder' method on CouchDbClient, but currently in java-cloudant we dont have such a mechanism. To unblock yourself right now, can you add your snippet to org.lightcouch.internal.GsonHelper.initGson() and rebuild the jar ?
We would surely look at providing this feature without rebuild. As a reminder to ourselves this also needs to work for Indexes (currently another gson instance used here)

@rolivieri
I have pushed a fix to the vNext branch for this. Can you give it a try  and let me know how it goes
Here is a gist of how to use it .
There is also a test case at https://github.com/cloudant/java-cloudant/blob/vNext/src/test/java/com/cloudant/tests/DatabaseTest.java called customGsonDeserializerTest()

Thanks for your response. We will give this a try soon. At first glance, it looks exactly like what we would need to implement our use cases.

I just tested the code in the vNext branch and that change worked perfectly. That's exactly what we would need in the library so that it knows how to deserialize a timestamp value in the "yyyy-MM-dd'T'HH:mm:ss" format. Thanks again. Do you guys have a target date for incorporating this change into the main branch/build?

I pushed a 1.0.1 release with this change a few minutes ago


Fix CI

Adding ros2_kortex as a source build since CI is failing as it does not have the latest changes in ros2_kortex repo regarding the planning pipeline refactor.
Fixing the ros2_kortex repo to

[move_group-4] terminate called after throwing an instance of 'rclcpp::ParameterTypeException'
[move_group-4]   what():  expected [string_array] got [string]

Also, added ros2_robotiq_gripper repo as a source build to fix the invalid parameter error - https://github.com/ros-planning/moveit2_tutorials/issues/821

This PR also brings in https://github.com/Kinovarobotics/ros2_kortex/pull/197 to fix the fake_components deprecation.

@Abishalini I ran into this here: https://github.com/ros2/rcl/issues/1118
I got a suggestion to try out but hadn't got to that. Apparently we may be publishing 2 separate message types to a specific topic and that causes the segfault?
But also, switching to Cyclone DDS gets around this issuem


Filter activate/desactivate plugins

It is not most visible by filtering?
There is not much to change :(

Let'me check, but I don;t trust on the javascript code and the different browsers, there are always problem with it.


[BUG] Deleting Users not Permanent

Describe the bug
Make a soft delete for users

All CRUDs soft deletes

#64


Windows Server Virtual Machine

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
It is a documentation improvement topic for Jumpstart Scenarios][Azure Arc-enabled servers][Microsoft Azure][Windows Server Virtual Machine]
Describe the issue or the bug
It would be useful to have a reference to https://learn.microsoft.com/en-us/azure/azure-arc/servers/plan-evaluate-on-azure-virtual-machine to not run into installation issues (Azure Connected Machine Agent -- Error 1920)

hi @AndreasSemmelmann thank you for your feedback, we do have an scenario for Azure VMs both for Linux and Windows, you can find them here: https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_servers/azure/
I think these are aligned with what you are looking for, if not please let us know

Hi Laura
My concern is that we could improve our documentation to make it easier for the people to follow along with. I am aware of the scenario but it is needed to do additional configuration to evaluate Azure Arc on a Azure VM. This is what it is described in the dos article I have shared. My intention was to add a reference to the scenario as I spent a few hours to figure it out what was not working for me.
Regards
Andreas Semmelmann
Cloud Solution Architect
M:  +49 151 4401 1970
@.https://microsoft.com/services
Support for Mission Critical
Microsoft Serviceshttps://microsoft.com/services / Customer Experience & Success
W: +49 89 3176 4934
<EMAIL_ADDRESS>#GernePerDu // #CallMeByMyFirstName
Microsoft Deutschland GmbH | Walter-Gropius-Straße 5 | 80807 München
Microsoft – Offizielle Websitehttps://www.microsoft.com/de-de?ql=2
Home | News Center Microsofthttps://news.microsoft.com/de-de/
Datenschutzerklärung von Microsoft – Microsoft-Datenschutzhttps://privacy.microsoft.com/de-DE/privacystatement
Geschäftsführer*in: Dr. Marianne Janik (Vorsitzende), Florian Deter, Benjamin O. Orndorff, Keith Dolliver | Amtsgericht München, HRB 70438
From: Laura Nicolas @.>
Sent: Mittwoch, 9. August 2023 15:26
To: microsoft/azure_arc @.>
Cc: Mention @.>; Author @.>
Subject: Re: [microsoft/azure_arc] Windows Server Virtual Machine (Issue #2048)
hi @AndreasSemmelmannhttps://github.com/AndreasSemmelmann thank you for your feedback, we do have an scenario for Azure VMs both for Linux and Windows, you can find them here: https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_servers/azure/
I think these are aligned with what you are looking for, if not please let us know
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/azure_arc/issues/2048#issuecomment-1671324161 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AT4IAGLWWSWCC2FGAUOGWDDXUOFV5BFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZTEOBQGUYDKNBYHCSG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKJSGQYTEMRVGEZDFAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDCOBUGMZDAMRZGY4YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZTEOBQGUYDKNBYHCTXI4TJM5TWK4VGMNZGKYLUMU.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

as discussed the scenario does take into account the required steps to onboard an Azure VM both Linux and Windows. We can close the issue as it was a misunderstanding


Removes install script

The inclusion of the install script causes issues if installation via npm needs to be run as root e.g. when running commands within a Docker image build.

I also bumped into this last night. It would be great to figure out a way to auto install dependencies, rather than just remove them. I'll look into this some more when I find a gap.
Kind regards,
Nico

Sent while on the go

On 13 Jan 2015, at 01:38, Matthew Kowalski<EMAIL_ADDRESS>wrote:
The inclusion of the install script causes issues if installation via npm needs to be run as root e.g. when running commands within a Docker image build.
You can merge this Pull Request by running
git pull https://github.com/Kwal/ember-datepicker master
Or view, comment on, or merge it at:
https://github.com/gevious/ember-datepicker/pull/22
Commit Summary
Removes install script
File Changes
M package.json (3)
Patch Links:
https://github.com/gevious/ember-datepicker/pull/22.patch
https://github.com/gevious/ember-datepicker/pull/22.diff
—
Reply to this email directly or view it on GitHub.


Re-fetch instanceType if not provided

re-fetch instancetype and version if not set within Service instance to avoid NPE
also provide local IP as alternative to localhost, addressing issue with certain local workflows

Just updated the PR description but other than that the changes look good - feel free to merge when we have validation


Update needed for Write and call UDFs in .NET Interactive

The page: Write and call UDFs in .NET for Apache Spark interactive environments is still using nuget 0.12.1
The latest version is Microsoft.Spark.Extensions.DotNet.Interactive is 2.1.1
Recently, there has been bug complains using UDFs with .NET for Apache Spark including myself.

Error from many DataFrame methods after UDF called in DataFrame.WithColumn
[FEATURE REQUEST]: Any idea to call .net UDF in scala spark? Also need some generic parameters

Summary
It is unclear what are the NEW ISSUES associated with using UDFs with .NET for Spark and the document needs an URGENT Update: reflecting  Microsoft.Spark.Extensions.DotNet.Interactive : 2.1.1  and NOT 0.12.1

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

ID: a15ae835-9313-7b7a-b8fa-9a8db53c8cb6
Version Independent ID: 4b650811-6685-742a-55bf-ed8a76920ede
Content: Write and call UDFs in .NET for Apache Spark interactive environments.
Content Source: docs/spark/how-to-guides/dotnet-interactive-udf-issue.md
Product: dotnet-spark
GitHub Login: @Niharikadutta
Microsoft Alias: nidutta

@Niharikadutta
Use .NET for Apache Spark in Jupyter Notebooks
Please recommend to the users, for .NET Interactive, the same notebook environment used in Azure Synapse, which nuget to use, is there a difference?
#r "nuget:Microsoft.Spark,"
or
#r "Microsoft.Spark.Extensions.DotNet.Interactive"
Topic 2 Update the nuget version recommended from 1.0.0 to 2.1.1
Use .NET for Apache Spark in Jupyter Notebooks

We're no longer updating the .NET for Apache Spark documentation, and have archived it to https://learn.microsoft.com/previous-versions/dotnet/spark/what-is-spark. As a result, we're closing all the active .NET for Apache Spark issues. I'm sorry we couldn't address your issue.


MAINT: Fix Qt issue

Let's see if we can see why pip-pre is failing on Linux

Okay I commented out the debugs and things are green, it in goes!

Thanks @larsoner, had to add that dependency to MNELAB tests as well!


run with  llama_index

can gpt-llama.cpp run with https://github.com/jerryjliu/llama_index

it can run with langchain (added support for it a couple days ago), so i'm assuming so too – let me see if i can get it working

Do you have an example available with llama_index embeddings? It would be of interest here too. Thanks!


Consider renaming Toolbar arguments to avoid ltr bias

Maybe "label", "buttons", and "primaryButton" or something.
cc @HansMuller

"buttons" and "primaryButton" is still a bit problematic.  Here's the relevant section of Spec:

The nav icon at the left side of the app bar can be:

A control to open a navigation drawer.
An up arrow for navigating upward through your app’s hierarchy.
Omitted entirely if no navigation is required from this screen.

My recommendation is to rename ToolBar to AppBar and to give it navButton, title, and actionButtons properties in lieu of left, center, and right.  You could even eventually make the … overflow menu automatically if there are too many action buttons for a particular viewport, but that's not a blocker.
As for the distinction between a ToolBar and an AppBar, a ToolBar is essentially a bar with buttons on it and an AppBar is a ToolBar that has a nav button, title, and optional action buttons; and lives on the top of the screen.

Using names that imply the role of the toolbar (appbar) parts sounds good to me (too).  And avoiding names like "left" and "right" is probably a good idea since eventually we're going to want layouts to be sensitive to the writing direction.

The problem with "navButton" is that it's got an abbreviation, which we've been trying to avoid. "navigationButton" might work but is a bit long. "actionButtons" also seems unnecessarily long, maybe just "actions"?
Filed https://github.com/flutter/flutter/issues/2390 for automatically making an overflow menu.

actions SGTM.  The left could be primaryAction

Back/cancel is unlikely to be the primary action, but that's what that button does.  Therefore, I discourage primaryAction.
I suspect as Flutter develops, something like redux will emerge to manage dataflow, where action is a well-understood thing (aka events or messages in other contexts).  For that reason, I think actionButtons will ultimately be a less confusing name than actions.  Autocomplete can handle the extra characters.  :smile:
Though I generally share your concern with abbreviations, nav is a common enough choice that is doesn't bother me (I hear "nav" discussed in design reviews; hell, it's even got its own HTML element).  But if you decide no abbreviations in the core API and nav counts as an abbreviation, that's certainly a decision I can respect.

We already use "actions" to refer to things like this in the material library. It seems to be the material design term (for example the intro talks about "user actions"). There's no technical problem with clashes; Dart has good scoping features to avoid this. There could be a conceptual conflict, but I think that's going to happen regardless given how narrow the available vocabulary is. Autocomplete is fine for people who have it; not everyone likes to use an IDE that does.
Also, as the guy who invented the <nav> element, I think it counts as an abbreviation. :-)

Don't worry - nobody forgot that you're the guy who invented <nav>.  :wink:

As to actions, this is essentially bikeshedding, but AppBars aren't things that are created often - I don't think typing 7 extra characters once per app is going to hurt anybody.  Then again, if actions is the name you've chosen for buttons in the other part of the app, so be it.
(On that note, what about buttons as a parameter name?  It's both descriptive and shortish.  Every button presumably triggers an action, so actionButtons may be a bit redundant anyway.)

The current proposal (in #2536) is leading, title, and actions.


G8 service submission

Completes this story: https://www.pivotaltracker.com/story/show/118178641
And this story: https://www.pivotaltracker.com/story/show/118178637
This seems to be everything needed to get G-Cloud service submissions looking reasonably peachy:

Show links for lots without any draft services for live frameworks
Reinstate the save-and-continue-to-next-question flow through submissions
Fix document download URLs (document uploads were fine, but the generated download links were wrong)

There is a bug (again! I'm sure we've fixed this about three times now...) with the validation wrapper around questions with assurance.  I've raised it as a bug rather than fix it right away, because there are other higher priorities, like getting the functional tests running again: https://www.pivotaltracker.com/story/show/118388103

URL changed to /suppliers/assets/<framework_slug>/submissions/<int:supplier_id>/<document_name>

But now depends on this getting merged first: https://github.com/alphagov/digitalmarketplace-frameworks/pull/262

The only way I could think to maintain both possible flows was to add a column to the frameworks table and a property to the Framework object to specify flow_type or something like that.  But it seemed weird so I didn't do it right off.
I think for now it would be good to reinstate this flow and get G-8 SSP tests running on preview, and then put a story in the backlog to implement the two different flows in parallel, and discuss the best way to do that when that new story gets kicked off.

I am happy that for now we are reverting to the G7 behaviour and that we revisit this thoroughly next time.  We need to determine what patterns suit different types of services.  We may find that the questions asked for G9 are radically different to earlier G-Cloud iterations.
We have always intended to make as few changes as possible for G8.  The DOS pattern of always forcing users back to the overview falls over when a supplier has to fill in as much data as they have to for their G-Cloud services.  I'm unaware that we saw any complaints about this during G7 applications.  Therefore to my mind this means that, with the time and resources we have available, we leave our suppliers to get on with loading their services as they have done before on earlier iterations.
Any further work we consider for this will need to be prioritised against all our other DOS iteration / digital framework agreements /  supplier editing  work etc...

@allait, @ralph-hawkins - so can we merge this as is?

I'm ok with it.

👍


List all should show all versions

Now that we are long past 1.21.xx we should show all versions of doctl that are available.

Not sure what's up with CI but I'll deal with that. Thank you for the fix.


fix/ignore standardjs linter errors and add to travis

Fixed or ignored all the errors that came up when running standard. We'll need to revisit some of the ignored lines & test files to get the ignored errors resolved (ideally separate issues to get them corrected). However, this should be a good step in the right direction because we can get Travis running the linter for new commits.
I'll comb through this commit again a little later to double check all the changes, but should be close to what we need.

All looking good to me, but I'm no StandardsJS expert! Everything seems to be working as expected though 👌

@j-a-m-l I resolved new merge conflicts. Please give this a review when you are available.

@spresnal done a test of a few key areas - can't see any issues! Nice work 😄
+5! 👌


Test | Seperate LocalDB and NamedPipe LocalDB Tests

Seperated LocalDb and Named Pipe tests, added configuration for same.
Added a fix for exceuteLocalDbCommandProcess which throws array out of bound when running "sqllocaldb start localdbname"
Added LocalDB restart for some methods that intermittently fail on pipeline in case LocalDb stops
Run can be seen here https://dev.azure.com/SqlClientDrivers/public/_build/results?buildId=45081&view=results [There are file stream failures, #1458  PR address those test failure]

There is a table in BUILDGUIDE.md to introduce the test configuration properties. Could you update the table and include the missing properties in addition to this new property?

Added.

There is a table in BUILDGUIDE.md to introduce the test configuration properties. Could you update the table and include the missing properties in addition to this new property?

Added.

Please, add all the missed properties. You can compare this table with config.default.json to find the differences.

There is a table in BUILDGUIDE.md to introduce the test configuration properties. Could you update the table and include the missing properties in addition to this new property?

Added.

Please, add all the missed properties. You can compare this table with config.default.json to find the differences.

I added few and skipped the ones, I was not sure about.


Added "main" field to package.json

Added "main" field to package.json to be able to import the module in CommonJS environments (browserify / webpack, etc).

Thanks! I'm not super familiar with how package.json works, so pardon my noob questions :)
Is this backwards compatible with the existing setup? (Would existing builds break if a developer updates with this new line?)
I see you've already signed our CLA, so other than that we are good to go!

@tensafefrogs the "main" field in the package.json is used by Node.js (and other CommonJS compatible environments) for the path resolution. (https://nodejs.org/api/modules.html#modules_loading_from_node_modules_folders)
In the current setup you'd need to either specify the full path:
var ima = require('./node_modules/videojs-ima/src/videojs.ima.js');

or append a local module path:
var ima = require('videojs-ima/src/videojs.ima.js');

with the addition of the "main" field the Node.js require algorithm can look up the module by name and return the file specified in "main", so:
var ima = require('videojs-ima');

resolves to the correct file.
I tried out a few scenarios locally including the above mentioned code and I don't see where this could break.

Fantastic, thanks for the detailed explanation.


Addition of new fields

Hi Nurdok,
Thanks for building this plugin, it's nice to finally be able to fill my obsidian library with everything not on kindle.
I've added a couple of fields that I like to look at so maybe others do too.

rating (global book rating)
rating_count (number of ratings the book has had)
isbn13 (the ibsn 13 number, this also required a catch as I noticed your test case doesn't have an ibsn number attached)
total_pages (number of pages the book has)

I have tested these as much as I can in the chrome dev tab as I'm not sure how to properly test chrome extensions) and they seem to work very well. There are a handful of others I was hoping to add too but mining the GoodReads page is interesting.
I've also tried to keep to your style, so please review.

Awesome. Thank you!


should use test cache file for verifying persistence on Linux

In LinuxKeyRingAccessor::CreateForPersistenceValidation, we should use msal.cache.test to verify persistence functionality as other platforms, otherwise the real token cache file is deleted after calling VerifyPersistence.

Thanks a lot for this @erich-wang
Ill merge this in and ship


Add new test application generator for unsubmitted with complete references

Context
This will be required for the feature in sandbox to prefill application forms for candidates
Changes proposed in this pull request
Add a new test application generator for unsubmitted with complete references, alongside the existing unsubmitted state
Link to Trello card
https://trello.com/c/QiEcDyYo/2343-💔-decoupled-references-update-test-applications-to-reflect-the-new-references-flow
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

I set the base of this to not-master so the diff makes more sense - will merge this into master once the base branch is merged

Looking good. You'll probably want to include an :unsubmitted_with_completed_references application within https://github.com/DFE-Digital/apply-for-teacher-training/blob/improve-test-applications/app/workers/generate_test_applications.rb#L18

This needs a rebase again after now that https://github.com/DFE-Digital/apply-for-teacher-training/pull/3190 is merged.


three D response mapper: added MD

3D response: added MD with the content

transaction ID (as received in the response of the enrollment check)
operation type (for now hard-coded authorization)

Coverage remained the same at 100.0% when pulling f931b30081f3afee05aac3dd8256d36a319b5f29 on reka:md-params into 8bfcd99ca28dee8f755be2411102337a5d155c43 on wirecard:25-ccard-authorize.

Coverage remained the same at 100.0% when pulling f931b30081f3afee05aac3dd8256d36a319b5f29 on reka:md-params into 8bfcd99ca28dee8f755be2411102337a5d155c43 on wirecard:25-ccard-authorize.


Microphone (Audio Input) from Monitor

Checklist

[x] I have searched for existing issues

Is your feature request related to a problem? Please describe.
This isn't really a "problem", but my Monitor (lima G-Master Black Hawk GE2288HS-B1) has an audio input jack and an audio output jack. Controlling the audio output (and Brightness and Contrast) of the Monitor works just fine by using the App, but is there a way for you to get audio input (eg.: a mic) from the Monitor?
Describe the solution you'd like
The best solution would be if the App would create and audio device that can be selected in "System Settings - Sound - Input".

Sorry to say but if the display can't fed buck this information via USB to the computer, then I am afraid, it is not possible. :(
I'll close this issue now but please feel free to add your input if any new information comes to light on this! Thank you!


Configure ErrorHandler to 50 jobs only; bump deploy example to 1.1.14…

….patch2

Tested! As mentioned in the src code, once the ErrorHandler issue is sorted out, we need to remove the config tweak from this deployment script.


Provide native support for MED to XDMF conversion with meshio?

This snippet is used in a lot of places:
import meshio

def convert_med_to_xdmf(
    med_file,
    cell_file="mesh_domains.xdmf",
    facet_file="mesh_boundaries.xdmf",
    cell_type="tetra",
    facet_type="triangle",
):
    """Converts a MED mesh to XDMF
    Args:
        med_file (str): the name of the MED file
        cell_file (str, optional): the name of the file containing the
            volume markers. Defaults to "mesh_domains.xdmf".
        facet_file (str, optional): the name of the file containing the
            surface markers.. Defaults to "mesh_boundaries.xdmf".
        cell_type (str, optional): The topology of the cells. Defaults to "tetra".
        facet_type (str, optional): The topology of the facets. Defaults to "triangle".
    Returns:
        dict, dict: the correspondance dict, the cell types
    """
    msh = meshio.read(med_file)

    correspondance_dict = msh.cell_tags

    cell_data_types = msh.cell_data_dict["cell_tags"].keys()

    for mesh_block in msh.cells:
        if mesh_block.type == cell_type:

            meshio.write_points_cells(
                cell_file,
                msh.points,
                [mesh_block],
                cell_data={"f": [-1 * msh.cell_data_dict["cell_tags"][cell_type]]},
            )
        elif mesh_block.type == facet_type:
            meshio.write_points_cells(
                facet_file,
                msh.points,
                [mesh_block],
                cell_data={"f": [-1 * msh.cell_data_dict["cell_tags"][facet_type]]},
            )

    return correspondance_dict, cell_data_types

Should we consider adding it to the festim codebase (maybe in helpers)?
We would make meshio an optional dependency only required if you want to run this function:
def convert_med_to_xdmf(...):
    import meshio

@jhdark what do you think?
@XinShen-CHN do you think that would be a nice addition for newcomers?

@XinShen-CHN do you think that would be a nice addition for newcomers?

Yes, it would be nice to newcomers. It might be clearer and more convenient to use for the new, but I think the explanation of this snippet is being well described in User's guide https://festim.readthedocs.io/en/latest/userguide/mesh.html and FESTIM workshop task 08 https://github.com/festim-dev/FESTIM-workshop/blob/main/tasks/task08.ipynb. For me, as a new beginner, this snippet is easy to use when I try to convert the .MED file.


nixos/postfix: allow dollar parameters in lists

Motivation for this change
Fixes #30521.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

This may need an entry in the release notes for NixOS 18.03 (backward incompatibility).

Okay, added release note.
Is @qknight the right maintainer to nudge?

@uwap could you have a look at this please?

Looks alright to me!

@bjornfor shall we also integrate it into 17.09?

@qknight: Won't that break some users configs? Can it be considered a bugfix? I don't know :-)

I would vote for calling this a bugfix, since the inconsistency I described in #30521 is pretty clearly buggy IMO. Looking at the list of supported options, I don't actually think there are any list-of-string options that could reasonably want a literal dollar sign in them—networks and domain names can't contain them—so unless I'm missing something, someone would have to be doing some weird stuff if this broke their config.

Undo the 18.03 release note then then, and pick both commits to release-17.09?

+1 to get this into a bugfix earlier than 18.03, as it currently stands, this just straight-up breaks postfix for most configurations. I'm just a user but wanted to mention that this caused postfix to simply break upon upgrading to 17.09 (note that the service starts normally but parses incorrect destinations, so the failure is hard to catch operationally).

so any wish what we should do?