helm .Capabilities.KubeVersion giving unexpected results

Not sure if anyone faced the same issue before, While getting the kube version in helm chart using {{ .Capabilities.KubeVersion.Minor }} , It's not resolving it correctly. Always output value as 16.
As per my kube server version, i am expecting it to resolve as 18.
Output of helm version:
version.BuildInfo{Version:"v3.2.1", GitCommit:"fe51cd1e31e6a202cba7dead9552a6d418ded79a", GitTreeState:"clean", GoVersion:"go1.13.10"}
Can someone point me in the right direction here on what's missing.
Please let me know if you need any more info.
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.10", GitCommit:"37d169313237cb4ceb2cc4bef300f2ae3053c1a2", GitTreeState:"clean", BuildDate:"2019-08-19T10:52:43Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:30:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.): AWS cloud
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"

Hi @gaurav34065. Not enough information is provided here. Please provide a sample chart to reproduce the issue. Thanks.

We will also require the commands you used to demonstrate this issue. I can't tell if this is with helm template, helm install, helm install --dry-run, helm upgrade or something else.

@bacongobbler  You can use this chart to reproduce.
helm template gauth-proxy --debug --kubeconfig myconfig.conf will result in
Source: gauth-proxy/templates/deployment.yaml
kind: Deployment
apiVersion: apps/v1beta2
metadata:
name: "gauth-proxy-gaurav-deployment"
But expected is

Source: gauth-proxy/templates/deployment.yaml
kind: Deployment
apiVersion: apps/v1
metadata:
name: "gauth-proxy--deployment"
It should use the if condition since my kubeversion is 18.
When we try to print the value it results in 16 thus else condition gets executed.
I print it like below

kind: Deployment
{{- if and ( eq (int .Capabilities.KubeVersion.Major) 1) ( gt (int .Capabilities.KubeVersion.Minor) 16 ) }}
apiVersion: apps/v1
{{- else }}
apiVersion: apps/v1beta2  {{ .Capabilities.KubeVersion.Minor }}
{{- end }}

Result:

Source: gauth-proxy/templates/deployment.yaml
kind: Deployment
apiVersion: apps/v1beta2 16
metadata:
name: "gauth-proxy-gaurav-deployment"

Also, helm upgrade command fails due to the same issue. Since it  couldn't find apiVersion: apps/v1

See #8115.

FYI,

As per my kube server version, i am expecting it to resolve as 18.

If you want helm template to resolve to your current cluster's version, use the --validate flag. This will tell Helm to fetch available API versions from the Kubernetes cluster set in your current context. Otherwise it uses a mock version.
Using your example,
><> helm template ./gauth-proxy --validate --show-only templates/deployment.yaml | head -n 4
---
# Source: gauth-proxy/templates/deployment.yaml
kind: Deployment
apiVersion: apps/v1

Closing as answered, as the original requirements were to match the current cluster's confguration, which can be performed with the --validate flag. PR #8115 will make the mocked kube version match what is used as the current kubernetes libraries, but it does not resolve the issue described here, as once updates occur to the kubernetes cluster and you're on k8s 1.19, the same issue will present itself again. For your use case, please use the --validate flag. Thanks.

Related EKS issue opened now: https://github.com/aws/eks-distro/issues/1128

For reference, this is the kind of corrupt data .Capabilities were populated with.
.Capabilities.KubeVersion: v1.22.9-eks-a64ea69
.Capabilities.KubeVersion.Major: 1
.Capabilities.KubeVersion.Minor: 22+

But even with such data, you can avoid issues with...
{{- if semverCompare ">=1.24.0-0" .Capabilities.KubeVersion }}


[BUG] Latest release amd64 image is not usable

Describe the bug
The latest v1.10.0 amd64 image is not usable
To Reproduce
# docker run -it --rm ghcr.io/atlassian-labs/cyclops:v1.10.0
exec /bin/cyclops: no such file or directory

Expected behavior
For the image to run
Screenshots or Logs
N/A
Kubernetes Cluster Version
N/A
Cyclops Version
v1.10.0
Additional context
N/A

Fixed by #81


Missing translation strings

Question
Response

Version?
v1.4.1

Devices tested?
iPhone 7

What Currently Happens?

What Do You Expect To Happen?
Strings should be translated to german.
But as discussed in #806 they aren't extracted by the exiting script.
So we need the export script to catch these strings and then translate them

If someone could give me a short hint how the export script works and which steps need to be done, i would like to take a try on this one :+1:

@FlonTaut script/extract-i18n.js, which was introduced by #777, is used to extract the new style t into several locale files. But it can not discover any missing strings.
I think you can,

apply t with those missing words, i.e. in src/components/issue-event-list-item.component.js.
then run npm run i18n:extract to update locale files.
try to translate new founds words or just leave them to later translators

@chinesedfan thank you very much you can assign this issue to, i will take a look today or latest tomorrow! thank you!

Hi guys. This is a duplicate of #795. I've already worked on it, I just need some time to finish it.
Closing this issue for now.

@machour How are you doing with the work? Do you need any help to finish this?


[Event Request] Codeunit 426 - Inside CalcCustApplnAmount() function

Request for new Event in Codeunit 426 inside CalcCustApplnAmount() function.
        if AppliedCustLedgEntry.Find('-') then begin
            ApplyingAmount := CustledgEntry."Remaining Amount";
            TempAmount := CustledgEntry."Remaining Amount";
            AppliedCustLedgEntry.SetRange(Positive);
            AppliedCustLedgEntry.Find('-');
            repeat
                // **OnBeforeUpdateCustAmountsForApplication(AppliedCustLedgEntry, CustledgEntry, AppliedCustLedgEntryTemp);**
                UpdateCustAmountsForApplication(AppliedCustLedgEntry, CustledgEntry, AppliedCustLedgEntryTemp);
                CheckCustPaymentAmountsForAppliesToID(
                  CustledgEntry, AppliedCustLedgEntry, AppliedCustLedgEntryTemp, MaxPmtTolAmount, AvailableAmount, TempAmount,
                  ApplnRoundingPrecision);
            until AppliedCustLedgEntry.Next() = 0;

[IntegrationEvent(false, false)]
local procedure OnBeforeUpdateCustAmountsForApplication(var AppliedCustLedgEntry: Record "Cust. Ledger Entry"; var CustledgEntry: Record "Cust. Ledger Entry"; var AppliedCustLedgEntryTemp: Record "Cust. Ledger Entry" temporary )
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Unclear phrasing on this page

Hi APIM team - just a suggestion.  This page has a section for describing the context variable, and it contains the following sentence:

A variable named context is implicitly available in every policy expression. Its members provide information pertinent to the \request.

I think the "...pertinent to the \request" portion of that sentence reads awkwardly to me.  What is meant by \request?  The context variable provides access to the Response as well (depending on where the policy is used), so maybe consider rewording this?

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

ID: 2a90be78-63d0-8ee0-d1d6-a9280e2ba892
Version Independent ID: 500c452d-372b-92a9-dfca-b2586669a9bf
Content: Azure API Management policy expressions
Content Source: articles/api-management/api-management-policy-expressions.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

Hello @Blackbaud-BenLambert,
Thank you for your feedback! We will review and update as appropriate.


Calling navigation before previous queue complates;onActivityResumed failed

Please, provide the details below:
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
Tell us about the problem

Please provide the following version numbers that your issue occurs with:

Did the error happen while the app was being constructed? (buildtime error)

Did the error happen while the app was executing? (runtime error)

Please tell us how to recreate the issue in as much detail as possible.

Consider using the playground to provide the code you have issues with.

@SimranChawla1995 there is not enough information to reproduce or investigate an issue.

I have uploaded code on GitHub repo but i don't have much knowledge on how
to share that repo with you people. Please help.
On Wed, May 23, 2018, 11:41 AM Nick Iliev<EMAIL_ADDRESS>wrote:

@SimranChawla1995 https://github.com/SimranChawla1995 there is not
enough information to reproduce or investigate an issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NativeScript/android-runtime/issues/1067#issuecomment-391231759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdwzTt4945Y-qsaEswsxBqgOXqI9ZTXEks5t1P2FgaJpZM4UJOZh
.

@SimranChawla1995 you can copy/paste the link to the GitHub repository (given that the repository is public)

The issue is resolved after upgrading modules as i'm not able to recreate
the problem myself. Anyway,thanks for your support :)
On Wed, May 23, 2018 at 3:13 AM, Nick Iliev<EMAIL_ADDRESS>wrote:

@SimranChawla1995 https://github.com/SimranChawla1995 you can
copy/paste the link to the GitHub repository (given that the repository is
public)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NativeScript/android-runtime/issues/1067#issuecomment-391295688,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdwzTuHPMjOQRuu0Sxk8SGNt4TfacDaKks5t1TY-gaJpZM4UJOZh
.


Assignment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
adding my answers to the assignment 1
What did you learn from the changes you have made?
git + bash
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
no
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
misleading instructions
How were these changes tested?
in bash by running the commands
A reference to a related issue in your repository (if applicable)
Checklist

[X] I can confirm that my changes are working as intended

the git hub actions were not activates so I couldn't see the results, I am closing this pull request and opening a new onw

perfect!


[QUESTION]: No notebook found of Page: Quickstart with Milvus Lite

Is your question answered elsewhere?

[X] searched the existing issues.
[X] read the documentation.

What is your question?
In this web page https://milvus.io/docs/quickstart.md, I just click the button: open in colab, but encounter an error: no notebook found.
Anything else?
No response

This has been fixed. Will close this issue.


postfix grok patterns doesn't work

I'm trying to filter postfix logs using the grok patterns provided.
The thing is, its not filtering the postfix logs properly. It is not segregating the message field which contains various fields like FROM, TO , HOST, STATUS, NCRPT , etc.
The output just comes as
"message" => "Jun 16 00:00:01 serverhost postfix/qmgr[2337]: 9B6G21E2221<EMAIL_ADDRESS>size=6273, nrcpt=1 (queue active)",
"@version" => "1",
"@timestamp" => "2016-06-23T13:25:21.958Z",
"type" => "log",
"file" => "maillog.1",
"host" => "localhost.localdomain",
"offset" => "541"
The message comes as it is without being filtered.
I'm still using logstash and elastic search, kibana are all latest stable release.
Can any one help?

As documented in the README, the logstash config needs two input fields: program and message. The input plugin that imports your log lines into logstash does not define the program field, and the message field has too much data.
Which logstash input plugin do you use? It looks like the file input plugin, but I'm not sure (never used it, but the tags seem to indicate it). Maybe the docs on alternative inputs can help: https://github.com/whyscream/postfix-grok-patterns/blob/master/ALTERNATIVE-INPUTS.md

I use logstash forwarder to ship logs.

Quoting the logstash forwarder docs:

The filebeat project replaces logstash-forwarder. Please use that instead.

Did you try the instructions on filebeats in the alternative inputs doc?

Hi,
I just tried using filebeats. When I use the alternative input method,this is the error I get.
{:timestamp=>"2016-06-24T03:40:16.709000-0700", :message=>"fetched an invalid config", :config=>"input {\n  beats {\n    port => 5044\n    ssl => true\n    s sl_certificate => \"/etc/pki/tls/certs/logstash-forwarder.crt\"\n    ssl_key => \"/etc/pki/tls/private/logstash-forwarder.key\"\n  }\n}\n\ngrok {\n    match => { \"message\" => \"%{SYSLOGTIMESTAMP} %{SYSLOGHOST} %{DATA:program}(?:\\[%{POSINT}\\])?: %{GREEDYDATA}\" }\n}\n\nfilter {\n    # grok log lines by program  name (listed alpabetically)\n    if [program] =~ /^postfix.*\\/anvil$/ {\n        grok {\n            patterns_dir   => \"/etc/logstash/patterns.d\"\n       match          => [ \"message\", \"%{POSTFIX_ANVIL}\" ]\n            tag_on_failure => [ \"_grok_postfix_anvil_nomatch\" ]\n            add_tag => [ \"_grok_postfix_success\" ]\n        }\n    } else if [program] =~ /^postfix.*\\/bounce$/ {\n        grok {\n            patterns_dir   => \"/etc/logsta sh/p
.......
oat\",\n            \"postfix_postscreen_violation_time\", \"float\"\n        ]\n    }\n}\n\noutput {\n  elasticsearch {\n    hosts => [\"localhost:9200\"]\n    sniffing => true\n    manage_template => false\n    index =><EMAIL_ADDRESS>  document_type => \"%{[@metadata][type]}\"\n  }\n}\n\n", :reason=>"Expected one of #, input, filter, output at line 10, column 1 (byte 187) after ", :level=>:error}

Any help? I'm stuck at this point.
Thanks.

Got it worked. This thread helped me https://github.com/whyscream/postfix-grok-patterns/issues/79#issuecomment-167950407
He says  "For people using Logstash Beats, by adding this section before the very first if statement in the config file, the program field will be available to subsequent expressions"
so, I didn't create separate file like 49-pre-filter.conf . I just edited 50-filter-postfix.conf and as he suggested in that thread, I entered the alternative method patch before first if statement and it worked.
Thank for your amazing work :)

Thanks for the report. When I have time, I'll verify the instructions, and update the readme accordingly (if necessary).


Changes to improve compatability

Replaced references to st_ctim, st_atim, st_mtim and replaced with st_ctime, st_atime, st_mtime to get compiling on mac Ventura.
I believe there should be defines to handle conversion to the original usage if someone could test this on another system.
I also zeroed out the uses of tv_nsec since if I believe that files aren't tracked to the nanosecond level and they were causing issues for compilation due to the time/tim issue.

I don't have a mac. From what I researched, MacOSX does store nanosecond resolution.
could you try just adding the 'e' to the original code, keeping the nanosecond parts? If that works, and you run clang-format on the file, I can approve and merge without modification. If that does not work, this will need some cross-platform pre-compiler logic. I am ordering a mac mini tonight.

I will add #if APPLE preproc directives after this merge.

Thanks! Looks like the #if APPLE is working well on my end but it looks like one of the references to st_atim.tv_sec were left in, I can throw up another pull request with the commit for the fix.

I accepted the change, merged it to main, but somehow it didn't go to the master.
I'm still learning git.
But the change is so simple, I just did the change on the master.
I get an m1 mac mini on monday, just for testing and making the binary for releases.


Increase unit testing coverage in the dataflowlib package

Increase unit testing coverage in the dataflowlib package
We want code coverage at or above 50%, it is currently at 17.2%.
There are plenty of helper functions to unit test, but a more thorough testing suite will require mocking interactions with Dataflow.
Imported from Jira BEAM-13914. Original Jira may contain additional context.
Reported by: jrmccluskey.
Subtask of issue #21383

I would like to work on this but I don't know where to start any help would be appreciated

Tagging some folks who may be able to help: @lostluck @johannaojeling @jrmccluskey
At a high level, this ticket basically involves: (1) looking at https://app.codecov.io/gh/apache/beam/tree/master/sdks%2Fgo%2Fpkg%2Fbeam%2Frunners%2Fdataflow%2Fdataflowlib to see where gaps exist in our current coverage of this package (look for uncovered lines), (2) adding one or more tests that exercise some of those uncovered lines.

Thanks for offering to help @knabeel77! As @damccorm mentions, Codecov will show where coverage is low.
As an example, a good place to start may be writing unit tests for findDisplayDataType invoked by newDisplayData, which both lack coverage and don't rely on any external dependencies?
There are some nice table-driven tests in job_test.go in the same directory that you could take inspiration from.


Power App Import error

Hi
When attempting to import the power-app in step 4 i get the error:
The request failed with error: '{"error":{"code":"MalformedFlowAssetFlowDefinition","message":"The flow definition for asset 'c1839949-7c7a-4e71-b9e1-22a77c2babb5' could not be deserialized."}}'. The tracking Id is '9379fa2a-e04d-49d8-8386-4e1d1c311452'.
Do you know what this means?
I have followed the instructions by replacing SharePoint URL and GUID in the definition.json file then dragging it back into the zip fle.

Hi,
I am also getting the same error:
The request failed with error: '{"error":{"code":"MalformedFlowAssetFlowDefinition","message":"The flow definition for asset 'c1839949-7c7a-4e71-b9e1-22a77c2babb5' could not be deserialized."}}'. The tracking Id is '82388023-90fe-4c9d-931c-36acc110cd33'.

Hi there,
I am getting the same error:
The request failed with error: '{"error":{"code":"MalformedFlowAssetFlowDefinition","message":"The flow definition for asset 'c1839949-7c7a-4e71-b9e1-22a77c2babb5' could not be deserialized."}}'. The tracking Id is '82388023-90fe-4c9d-931c-36acc110cd33'.
I've replaced the replacing SharePoint URL and GUID (from Active list URL).
Please advice.
Thanks


Allows type annotation inside array destructuring, but does not check it

const one: number = "one"; // Error
const [two: number] = ["two"]; // No error

Expected either a syntax error or a type error.
Related: #235.

I think this should be syntax error. The right way to write this would be:
 const [two]:[number] = ["two"]; // No error

I think this should be syntax error.

But why? There is no conflict here

I just feel like since this syntax won't work with Objects, adding it for Arrays just makes things more confusing.

Discussion probably belongs to https://github.com/facebook/flow/issues/235

We now error on this syntax.


Add ECS task definitions for Airflow console

Create new task definitions and services for Airflow console using Terraform.

Depends on https://github.com/azavea/raster-foundry/issues/603


Trying to get 16 byte from Characteristic but ouputs only zeros

I can can read from this characteristics in the NRF app as well as using the flutter_blue library, which we used for an older app before.
I'm using this code to read from a characteristic.
peripheral.getCharacteristic(SERVICE_UUID, NOTIFICATION_UUID)?.let {
   val test = peripheral.readCharacteristic(it)
   Timber.d("${test.size}")
   Timber.d("${test.asList()}")
}

As output, I only get zeros
/BluetoothPeripheral: reading characteristic <0000ff01-0000-1000-8000-00805f9b34fb>
D/BluetoothHandler: 16
    [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

That am I missing? I tried it on Android 11 and on an old Android 9 phone with the same result both times

I tried the BLESSED Java library as well now and it works. So there is a bug with this library. I'll hope we can find it and fix it as I would prefer to use this one :)

The same code runs fine in the test app of this library. Looks like your peripheral is really returning 16 zeros...

No, I also programmed the peripheral.
It works with the flutter_blue library on Dart and with the Java version of your library BLESSED as well as on nRF and Windows

The code for a readCharacteristic is very straightforward and since you are getting a byte array of the right length, I don't understand what could be going wrong. Especially since it works in my demo app...
Is there anything you can share to debug this issue? What's you code? Can you share a log?


ValueError: list.remove(x): x not in list

Hey there, finally starting to get my feet wet with this library.
I'm trying to use your wrapper for updating indices in the database, but the static method IndexManager.equal fails when attempting to delete ns from dbi:
https://github.com/codello/Motor-ODM/blob/15fdad8e2acf088b807dc4f69da6730590aecbd4/motor_odm/indexes.py#L91-L101
I don't think I'm doing anything special, just following the example from your tests. Sounds to me like the values just shouldn't be used for comparison and we can add an if "ns" in dbi: ... check beforehand?
Stack Trace
Traceback (most recent call last):
  File "C:/projects/josxabot/app/modules/symbose/models/item.py", line 59, in <module>
    asyncio.get_event_loop().run_until_complete(main())
  File "c:\program files\python38\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "C:/projects/josxabot/app/modules/symbose/models/item.py", line 49, in main
    await User.init_indexes(drop=True)
  File "c:\users\int002327\appdata\local\pypoetry\cache\virtualenvs\josxabot-c3bmtbt9-py3.8\src\motor-odm\motor_odm\document.py", line 272, in init_indexes
    await im.ensure_indexes(cls.__mongo__.indexes, drop=drop)
  File "c:\users\int002327\appdata\local\pypoetry\cache\virtualenvs\josxabot-c3bmtbt9-py3.8\src\motor-odm\motor_odm\indexes.py", line 49, in ensure_indexes
    elif self.equal(index, db_index):
  File "c:\users\int002327\appdata\local\pypoetry\cache\virtualenvs\josxabot-c3bmtbt9-py3.8\src\motor-odm\motor_odm\indexes.py", line 100, in equal
    del dbi["ns"]
  File "C:\Users\INT002327\AppData\Local\pypoetry\Cache\virtualenvs\josxabot-c3BmTbt9-py3.8\lib\site-packages\bson\son.py", line 63, in __delitem__
    self.__keys.remove(key)
ValueError: list.remove(x): x not in list

Kudos, I love the idea of combining Pydantic with... well... anything ;D

MongoDB has stopped generating ns fields in indexes. (ref)


Run selected text in active terminal opens a new terminal if current terminal is in editor area

Issue Type: Bug

Move terminal to the Editor area, e.g. using the command Terminal: Move terminal into editor area

Run a line of code in active terminal by using command Terminal: Run Selected Text in Active Terminal

Result: This will run the code as desired in the active terminal but in addition, it will open a new and unnecessary terminal in the panel area. Furthermore, it will make the newly created terminal the active one.
VS Code version: Code 1.65.2 (c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1, 2022-03-10T14:33:55.248Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.81GB (44.48GB free)

Process Argv
--crash-reporter-id 8799a5c7-2227-47bf-b5f4-31014027d780

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)

Memory (System)
31.26GB (27.18GB free)

VM
0%

Extensions (27)

Extension
Author (truncated)
Version

better-comments
aar
2.1.0

rtf
ale
2.5.0

remotehub
Git
0.26.0

better-cpp-syntax
jef
1.15.13

jupyter-keymap
ms-
1.0.0

remote-containers
ms-
0.224.3

remote-ssh
ms-
0.77.2022031115

remote-ssh-edit
ms-
0.77.2022031115

remote-wsl
ms-
0.64.2

matlab-formatter
Aff
2.9.1

matlab-interactive-terminal
apo
0.4.0

matlab-code-run
bra
1.0.2

doxdocgen
csc
1.4.0

matlab
Gim
2.3.1

latex-workshop
Jam
8.23.0

better-cpp-syntax
jef
1.15.13

svn-scm
joh
2.15.3

language-julia
jul
1.6.6

compare-folders
mos
0.22.2

python
ms-
2022.2.1924087327

vscode-pylance
ms-
2022.3.3

jupyter
ms-
2022.2.1030672458

cpptools
ms-
1.9.7

cpptools-extension-pack
ms-
1.1.0

makefile-tools
ms-
0.3.1

vscode-js-profile-flame
ms-
1.0.0

explicit-folding
zok
0.21.0

(5 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vsclayoutctrt:30451275
dsvsc009:30452663
pythonvsnew555:30457759
vscscmwlcmc:30438804
vscgsvid1:30447480
cppdebugcf:30451567
pynewfile477cf:30450039

Here you have, thank you for checking the issue:

This is actually working by design; since you clicked the x button, that focused the terminal panel so the terminal within the panel was the last active terminal instance. You click click into the editor one to have it be the last active instance. Alternatively use one of these commands instead to bypass the panel all together:

It also happens if I don't click on the terminal panel:


Product image data example

https://www.gs1.org/standards/gs1-product-image-specification-standard/current-standard#1-Introduction+1-2-Determining-the-front-face
can you add the example here?

Here's an example. It's based on https://www.gs1.org/voc/image and four of the properties of https://www.gs1.org/voc/ReferencedFileDetails.
There are likely more aspects of images which could/should be included (like angle), I only included what I could find on https://www.gs1.org/voc/.
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://w3id.org/vc/status-list/2021/v1",
    {
      "image": "https://www.gs1.org/voc/image",
      "referencedFileDetails": "https://www.gs1.org/voc/ReferencedFileDetails",
      "filePixelHeight": "https://www.gs1.org/voc/filePixelHeight",
      "filePixelWidth": "https://www.gs1.org/voc/filePixelWidth",
      "referencedFileSize": "https://www.gs1.org/voc/referencedFileSize",
      "referencedFileType": "https://www.gs1.org/voc/referencedFileType"
    }
  ],
  "id": "did:example:4e24b35d-de87-49d4-a26b-70490c62ec25",
  "type": [
    "VerifiableCredential",
    "GS1ImageDataCredential"
  ],
  "issuer": "did:key:z6MktHQo3fRRohk44dsbE76CuiTpBmyMWq2VVjvV6aBSeE3U",
  "issuanceDate": "2020-12-03T03:14:59Z",
  "credentialSubject": {
    "id": "https://id.gs1.org/01/07541234555551",
    "keyAuthorization": "did:example:60cda318-a0a7-4e39-b600-ea38bf68a31f",
    "image": "https://www.example.com/assets/7541234555551.png",
    "referencedFileDetails": {
      "filePixelHeight": "800",
      "filePixelWidth": "600",
      "referencedFileSize": {
        "type": [
          "QuantitativeValue"
        ],
        "value": "800",
        "unitCode": "kb"
      },
      "referencedFileType": "https://www.gs1.org/voc/ReferencedFileTypeCode-OUT_OF_PACKAGE_IMAGE"
    }
  },
  "credentialStatus": {
    "id": "https://www.example.com/mycreds/status/4e24b35d-de87-49d4-a26b-70490c62ec25",
    "type": "CredentialStatusList2021"
  },
  "proof": {}
}

@nissimsan , I think it would help to understand how this might be used in the flow. Is the intention to use this to support the e-commerce images that might go on a web page?  If so, it makes sense to allow an array here, as there can be multiple images. If this is some kind of reference image to support cross-border product flow, it might be fine to include a single image.

That's a great point, @paulfdietrich. I agree with you, this should in any case be an array. 👍


The environment runs very slowly, and it takes a few minutes for the vehicle to move

When i run python HELLM.py ,The environment runs very slowly, and it takes a few minutes for the vehicle to move,And then stuck on this interface without moving，my openai account is already have $8.78， but why is the program stuck and not moving
like this

@zijinoier please help me!!

which model do you use? GPT-3.5 or GPT-4?
by the way, are you using Azure or Openai API?

请问你是中国的吗，是的话可以加我qq1848795229   我们可以交流一下，我也有点问题
------------------ 原始邮件 ------------------
发件人:                                                                                "PJLab-ADG/DriveLikeAHuman"                                                                                @.>;
发送时间: 2023年12月7日(星期四) 下午3:55
@.>;
<EMAIL_ADDRESS>主题: Re: [PJLab-ADG/DriveLikeAHuman] The environment runs very slowly, and it takes a few minutes for the vehicle to move (Issue #17)
which model do you use? GPT-3.5 or GPT-4?
by the way, are you using Azure or Openai API?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

model is  gpt-3.5-turbo-16k-0613 and  i use Openai API，thanks

You're running the code without any problems.
Generally speaking, it takes about 30 seconds to several minutes to run a decision step (you can see vehicle move a time in the highway-env gui), and it's normal for the GUI to show "not responding".
You can see the output of the driver agent executing the ReAct process in the runtime terminal, if it's outputing then the program is working.
Your fee is also the cost of api calls to the openai api.


Can't mount shared directory

Describe the issue
Followed the instraction shown in https://docs.getutm.app/guest-support/linux/#macos-virtiofs
But still having no luck.
Configuration

UTM Version:   4.1.6 (75)
macOS Version: 13.2.1
Mac Chip (Intel, M1, ...): M1

Crash log
sudo mount -t virtiofs share /mnt
wrong fs type, bad option, bad superblock on share, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

pacman -S --needed spice-vdagent phodav

This does not seem to install virtiofs support on Manjaro ARM.
The mount command fails afterwards as well.

Seconding this - dmesg output shows the following error message:
virtio-fs: tag <share> not found
pacman -S --needed spice-vdagent phodav shows:
warning: spice-vdagent-0.22.1-3 is up to date -- skipping warning: phodav-3.0-2 is up to date -- skipping


Add a Shooting Star Background

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
Hello, I want to add an animated shooting star background, please assign it to me under SWOC'24
Screenshots

Code of Conduct

[X] I follow Contributing Guidelines of this project.

Go ahead @rishicds


Graph database write-up

@grahamwallis ^^

@cmgrote - I'm very happy to write this - where should it live?

In the ODPi WordPress blog: https://lfprojects.linuxfoundation.org/wp-login.php

@grahamwallis hopefully this is still on your radar? 😉  Give me a shout if you need pointers on the WordPress blog (assuming you have access?)

Thanks @cmgrote - I'm on it. Is there a way to save the article as a draft - and then review it before publishing?

Of course!
To start creating your entry, just go to "Posts" -> "New Post".  Once you start typing in some content you should always have a link in the upper-right that says "Save Draft".  (It will also periodically auto-save as a draft.)
Once you're reasonably happy with it and want to circulate for review (but not yet publish), then there's a little tick-box over in the right-hand side labeled "Pending Review". By default it's un-ticked: just tick it and then your "Save Draft" will turn into "Save as Pending" (which means everyone else can see it to review it, but it won't be publicly available).
Important note: there is a link just above the "Pending Review" tick-box that indicates when it will automatically publish -- you probably want to change this to a few days out to give folks time to review before it becomes publicly available automatically...


Weights of reward functions in RLHF

In the paper, the default weights for the rewards are (0.3, 0.5, 0.3). The implementation seems to add distinct rewards with uniform weights.
https://github.com/allenai/FineGrainedRLHF/blob/3ce87b80f999f61adfb440df12e14e1771ca4eef/tasks/qa_feedback/training/reward.py#L447C29-L447C29

The weights are enforced here:  https://github.com/allenai/FineGrainedRLHF/blob/3ce87b80f999f61adfb440df12e14e1771ca4eef/tasks/qa_feedback/training/train_finegrained.py#L197


Monitor "Interval" column sorts alphabetically instead of by length/time

Bug description
Monitor Interval (and possibly other columns) sorts alphabetically instead of by duration, for example:
1 day
2 hours
3 days
4 minutes
Steps to reproduce

Sort "Interval" column with multiple different durations like in example above
???
Profit

Expected behavior
Sort by Biggest->Smallest or Smallest->Biggest duration
System information

OS: Windows 10
Grabber version: Nightly 3caca98f

Sorry it looks like "Next Check" sorts the same way


[core-http] Parse the username and password in an url

URLBuilder did not parse username and password in urls.  This change enables
parsing them.
Resolves #5011

Do people like the approach in #7211 more?  if so I will close this one.

I think this can be closed now that #7211 has been merged.

Yes. Closing


fix predicate bug

closes #473

[X] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[X] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGES.md

The error is from tokio library. Do we still merge?

Left some minor (optional) renamings that could clarify wether the functions are expecting a trusted/vs untrusted header (maybe we can use the type system for that on the long-run instead). Can be addressed here or in followups.
Thanks @Shivani912 🙏 Great work!

Thanks for reviewing @liamsi ! I think doing that makes a lot of sense. @romac would be best person to comment on this as he has a better view of it than I do.

Great stuff @Shivani912, I just have one question about clock drift inlined above.

Great catch @Shivani912 - how'd you find this?
I think this is fine to merge but it does open a can of worms (which already existed but we may not have been paying attention to): #478

Thanks for looking into this @ebuchman !

Great catch @Shivani912 - how'd you find this?

I wrote a test specifically for the case where verification must fail because of this: header_time > now + clock_drift. And upon investigating why the test failed, it wasn't too difficult to find this!

Thanks everyone for your input here! Merging this now and clock synchronization issue can be followed at #478


Plan catchment polygon functionality.

Logically, this should include the ability to merge and potentially split catchments. Will require some analysis to see how it would integrate with the existing functionality.

Done for now. #29, #30, #31.


[release-2.8] feat: bump Kubernetes to v1.27.11

What problem does this PR solve?:
The packages were rebuilt with the correct cri-tools version using https://github.com/mesosphere/dkp-release/pull/119
Which issue(s) does this PR fix?:

https://jira.d2iq.com/browse/D2IQ-NUMBER

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

All tests except the expected vSphere and Nvidia instances not shutting down passed


Porting STRAKS support to miningcore

https://github.com/DeckerSU/yiimp/commit/baf855a4de8b9a6b55ff37723e6437ab643c8311#diff-c4b7ae2ce5a76e060ff0ba2ea76d8f7e
Looking to add straks support to this library. Any idea how that commit added support?

The commit just adds another output (to charity) to the coinbase tx. I can't see any changes that appear to be mandatory to make it work.

That was my initial thought too. I'll go through the branch some more and
see what else is there. Thanks! I'll be throwing a prayer your way with
some new work I've been doing soon.
Great work so far on this!
On Nov 22, 2017 19:08, "Oliver Weichhold"<EMAIL_ADDRESS>wrote:

The commit just adds another output (to charity) to the coinbase tx. I
can't see any changes that appear to be mandatory to make it work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/coinfoundry/miningcore/issues/88#issuecomment-346431070,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABu-_gY44UpPXR32zoJX0g3SZKRNfJcfks5s5GM6gaJpZM4QnzA0
.

@Kukks Thanks 😄

@oliverw Apart from the 5% charity donation, there must also be some more stuff added to the block.
When using the straks testnet and submitting a block, MiningCore tells me it is inconclusive locally..

@Kukks Inconclusive usually just means that the daemon thinks he is not on the longest chain. Are you mining against testnet or regtest?

@oliverw Testnet. It was going crazy with the new blocks found though.

Do you get "inconclusive" all the time or just ocasionally?

All the time

I'm not at my dev pc, but I'll try get you a more detailed report on what issues I've experienced. I got a completely different error on my vps configured for straks testnet. Something about no balance in treasury fund but no blocks were being recorded in the postgres database.

Might still be something with your testnet connection. Any chance for running two coin daemons in regtest mode interconnected locally using addnode?

@oliverw This is the other error:
[2017-11-23 14:32:08.5784] [I] [straks1] [Pool] [0HL9IEQA01K87] Share accepted: D=1
[2017-11-23 14:32:09.1993] [I] [straks1] [Bitcoin Job Manager] Submitting block 53845 [f5374001ac60e9bfc21dd11e5fabe9f422ac35f1689727e7c30204aba80c42ff]
[2017-11-23 14:32:09.2089] [W] [straks1] [Bitcoin Job Manager] Block 53845 submission failed with: cb-no-treasury-funding

I'll set up another daemon now

Ok, sounds like a consensus rule violation which would confirm your assumption that supporting that coin requires some code changes.

Confirmed: According to their chainparams they are utilizing both treasury rewards and masternodes (similar to Dash).

I've tried this so far instead of the current Bitcoin Job based on the ZCash one:
        private Transaction HandleStraksOutputTransaction()
        {
            rewardToPool = new Money(Math.Round(BlockTemplate.CoinbaseValue * (1m - (5) / 100m)) + rewardFees, MoneyUnit.Satoshi);

            var tx = new Transaction();
            tx.AddOutput(rewardToPool, poolAddressDestination);

            // treasury reward (t-addr)
            var destination = FoundersAddressToScriptDestination(GetTreasuryRewardAddress());
            var amount = new Money(Math.Round(BlockTemplate.CoinbaseValue * (5/ 100m)), MoneyUnit.Satoshi);
            tx.AddOutput(amount, destination);

            return tx;
        }

Still same error though

@Kukks Not bad for a first shot. I'm pretty sure you realize that this would actually go into derived class similar to ZCashJob.

@oliverw For sure, I'm just trying to get this up and running before the mining rewards go live( in ~2 hours). I'm still getting cb-no-treasury-funding however. Do you think I missed something? Based on the commit in the first post, I think it's ok but I don't know C++ so I guessed my way around it.. This is the generated transaction:
{{
  "hash": "32b4a6ce6d03dc20bd262d032204d71cc81b547fca599f860efff56ff3e5e1ec",
  "ver": 1,
  "vin_sz": 0,
  "vout_sz": 2,
  "lock_time": 0,
  "size": 76,
  "in": [],
  "out": [
    {
      "value": "9.50000000",
      "scriptPubKey": "OP_DUP OP_HASH160 fda6713373fd3183a13e9d1980432fd0a752de4f OP_EQUALVERIFY OP_CHECKSIG"
    },
    {
      "value": "0.50000000",
      "scriptPubKey": "OP_HASH160 5e65cb7e463900a2d3b2b48e17bac0e086ad6ad3 OP_EQUAL"
    }
  ]
}}

@Kukks Being not familiar with that coin myself there's not much I can do to help you with that besides recommending you my go-to approach when dealing with issues like that and that is reading the coin's miner.cpp and comparing what they do there with my own implementation.

@calvintam236  @oliverw  This task is done once my PR(#90 ) is merged.


JS: Struct field names can collide with ValueBase interface methods

If you create a struct (e.g. with jsonToNoms) and you happen to have field names of type, hash or chunks, when code goes to use those apis, it'll receive the value of the field, rather than the ValueBase method and then bad things happen.
One way to solve this would be that Struct doesn't inherit from ValueBase and those methods are moved to some reflectively API, e.g. typeOfValue gets the _type field of Struct.
At very least, struct to throw right now if created with field names which collide with API, rather than failing down the road mysteriously.

I hit this today as well.

I don't have a good proposal for a solution. Does anyone? (I feel like every project I work on hits this in some form or other)

I think struct needs to inherit from value -- it's used as a value all over the place.

One option would be to not reflect these fields as js properties and only expose them through the mirror.

+1

:nommy:

:-(


Issue with new lines on windows

I'm using PHP on windows but have set IDE intentionally to make unix new lines \n, not windows ones \r\n.
When running FileGenerator::fromReflectedFileName() on such file, I got exception
Undefined offset: 1

D:\www\home\tmilos\model\vendor\zendframework\zend-code\src\Generator\MethodGenerator.php:98
D:\www\home\tmilos\model\vendor\zendframework\zend-code\src\Generator\MethodGenerator.php:77
D:\www\home\tmilos\model\vendor\zendframework\zend-code\src\Generator\ClassGenerator.php:146
D:\www\home\tmilos\model\vendor\zendframework\zend-code\src\Generator\FileGenerator.php:96
D:\www\home\tmilos\model\vendor\zendframework\zend-code\src\Generator\FileGenerator.php:77

Tested on zendframework/zend-code v3.0.1
Debuging shows the source of the problem is with inconsistent line endings in the project:

During loading MethodReflection::extractMethodContents() implodes lines with \n

While MethodGenerator::clearBodyIndention() explodes what MethodReflection did before with PHP_EOL

So, it seems this lib will work only if PHP_EOL === "\n" and guess that excludes php windows builds.
It would be nice you fix that and use consistent line endings.

I have the exact same issue.
$indention = str_replace(trim($lines[1]), '', $lines[1]);
is causing the Undefined offset: 1

I ran into this issue as well. I haven't done a TON of testing on this yet, so hopefully I won't lead anyone astray but it looks like setting "auto_detect_line_endings = On" in php.ini on a Windows dev box potentially fixes the issue (on my machine using xampp it was commented-out by default). I'm basically two weeks into Symfony development so... YMMV but hopefully this will help someone.


Autofit to anticrossing example

Mainly worked on the 'Detailed steps' section that was giving a bad fit.
@peendebak can you please check that the lines that are commented out are indeed not needed and can be removed?
Also, I think that there should be an explanation of the outputs of fit_anticrossing. Perhaps in a text cell under print(fit_results), and also in the documentation of the function.

@jpdehollain The output of fit_anticrossing should indeed be documented (at least the main fields of the output dictionary). I renamed the output arguments, that should help make the output more readable. I added some docs.
The detailed steps section is maybe not that important. A regular user should not need that part, so we might even remove it from the docs.


YJAF Access Renewal

Use this issue template if you do not feel comfortable raising a PR with the required changes to files in the terraform/ directory.
Please supply all the requested information, so that your request can be processed as quickly as possible.
Which MoJ repository are you requesting access to (e.g. money-to-prisoners)?
yjaf-assets
yjaf-auth
yjaf-bands
yjaf-bed-unlock
yjaf-case
yjaf-cmm
yjaf-conversions
yjaf-dal
yjaf-datateam
yjaf-documents
yjaf-gateway
yjaf-gateway-proxy
yjaf-mule-hub-connector
yjaf-placements
yjaf-refdata
yjaf-returns
yjaf-sentences
yjaf-serious-incidents
yjaf-transfers
yjaf-transitions
yjaf-ui
yjaf-views
yjaf-workflow
yjaf-yp
yjsm-hub
yjsm-hubadmin
yjsm-hub-svc
yjaf-mule-miss-processor
What is the GitHub username of the person who needs access?
angelanec
What is their full name?
Angela Site
What is their email address?
<EMAIL_ADDRESS>What company/organisation do they belong to (e.g. "MadeTech", "Department for Education")?
NEC (YJAF)
What level of access should they have?
Admin
Why is this access being requested?
Existing developer - requesting access to be granted & extended to "review date" below
Which MoJ team/person is responsible for this request? This must be someone with a "*.justice.gov.uk" email address.
This should be in the form Awesome Team<EMAIL_ADDRESS>Team details are preferred, rather than individuals, to make it easier to follow-up at a later date.
<EMAIL_ADDRESS>Review date
Date after which this collaborator's access should be reviewed. This should be a date in the format: 2021-01-15, no more than one year into the future.
01/09/2024

Hello Team, just realized that I cannot access certain repos like yjaf-ui, can you please double check that I have access to all the above repositories?

Hello @angelanec I will process the request, check the repo's and check with the MoJ approver. The date provided is longer than a year I will default it to 17/07/2024 instead

Thanks so much @NickWalt01

PR went in last week


Monaco JS: Error: Object reference not set to an instance of an object.

Environment data

Language Server version: Commit 4f81ba2f024c506dfefc50425e4ea2ba2a279bf0, release build
OS and version: Debian Buster
Python version: 3.9.1

Expected behaviour
I'm trying to set up Python Language Server to connect to an instance of the Monaco editor running on a website. The server doesn't have the code stored on it, and I'm using monaco-languageclient to send the user's Python code as an in-memory file. I'd like the frontend Monaco editor to support Python Language Server's LSP functionality.
Actual behaviour
I get the following error message the moment the Monaco editor loads:
Error: Object reference not set to an instance of an object.

Logs
[Info  - 16:10:52] Analysis cache path: /root/.cache/Microsoft/Python Language Server
[Info  - 16:10:52] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 16:10:52] Workspace root:
[Error - 16:10:54] Request textDocument/codeAction failed.
Error: The task was cancelled.
Error: Object reference not set to an instance of an object.
A request has failed. See the output for more information.
Uncaught Error: Object reference not set to an instance of an object.

There is nothing else logged on the server.
Code Snippet / Additional information

React frontend
import {
    CloseAction,
    createConnection,
    ErrorAction,
    MonacoLanguageClient,
    MonacoServices,
} from 'monaco-languageclient';
import { listen, MessageConnection } from 'vscode-ws-jsonrpc';
import getEnvVariable from './getEnv';
import { TaskLanguage } from '../types';

function createLanguageClient(connection: MessageConnection) {
    return new MonacoLanguageClient({
        name: 'lsp.palcode.dev',
        clientOptions: {
            documentSelector: ['python', 'shell'],
            errorHandler: {
                error: () => ErrorAction.Continue,
                closed: () => CloseAction.DoNotRestart,
            }
        },
        connectionProvider: {
            get(errorHandler, closeHandler) {
                return Promise.resolve(createConnection(
                    // @ts-ignore
                    connection,
                    errorHandler,
                    closeHandler,
                ));
            }
        }
    });
}

type DisposeFunction = () => void;
export default function connectToLanguageServer(
    language: TaskLanguage,
): undefined | DisposeFunction {
    const lspURL = getEnvVariable('LSP');
    if (!lspURL) {
        return;
    }

    try {
        MonacoServices.get();
    } catch (e) {
        // @ts-ignore
        MonacoServices.install(require('monaco-editor-core/esm/vs/platform/commands/common/commands').CommandsRegistry);
    }

    // in this case, language is 'python'
    const webSocket = new WebSocket(lspURL + '/' + language);
    webSocket.onerror = () => {};
    let pingInterval: number;
    listen({
        webSocket,
        onConnection: (connection) => {
            const client = createLanguageClient(connection);
            const disposable = client.start();
            connection.onClose(() => disposable.dispose());
            connection.onError(() => {});

            pingInterval = window.setInterval(() => {
                webSocket.send('ping');
            }, 20000);
        },
    });

    return () => {
        try {
            webSocket.close();
            clearInterval(pingInterval);
        } catch (e) {}
    };
}

Node.JS backend
import * as http from 'http';
import ws from 'ws';
import * as url from 'url';
import * as rpc from 'vscode-ws-jsonrpc';
import * as server from 'vscode-ws-jsonrpc/lib/server';
import * as lsp from 'vscode-languageserver';

function launch(socket: rpc.IWebSocket, command: string, args: string[]) {
    const reader = new rpc.WebSocketMessageReader(socket);
    const writer = new rpc.WebSocketMessageWriter(socket);
    const socketConnection = server.createConnection(reader, writer, () => socket.dispose());
    const serverConnection = server.createServerProcess('JSON', command, args);
    server.forward(socketConnection, serverConnection, message => {
        if (rpc.isRequestMessage(message)) {
            if (message.method === lsp.InitializeRequest.type.method) {
                const initializeParams = message.params;
                initializeParams.processId = process.pid;
            }
        }
        return message;
    });
}

const httpServer = http.createServer((req, res) => {
    // required for health checks
    res.writeHead(200, { 'Content-Type': 'text/plain' });
    res.write('');
    res.end();
}).listen(process.env.PORT);

const socketServers: {
    [path: string]: ws.Server,
} = {};

const languages = [
    {
        command: '/opt/python-language-server/output/bin/Release/Microsoft.Python.LanguageServer',
        args: [],
        path: '/python',
    },
    {
        command: 'bash-language-server',
        args: ['start'],
        path: '/bash',
    },
];

for (const language of languages) {
    const socket = new ws.Server({
        perMessageDeflate: false,
        noServer: true,
    });

    socket.on('connection', (client) => {
        const iWebSocket = {
            send: (content: any) => client.send(content),
            onMessage: (cb: (message: ws.Data) => void) => client.onmessage = event => {
                if (event.data !== 'ping') {
                    cb(event.data);
                }
            },
            onError: (cb: (message: string) => void) => client.onerror = event => {
                if ('message' in event) {
                    cb(event.message)
                }
            },
            onClose: (cb: (code: number, reason: string) => void) => client.onclose = event => cb(event.code, event.reason),
            dispose: () => client.close(),
        };

        launch(iWebSocket, language.command, language.args);
    });

    socketServers[language.path] = socket;
}

httpServer.on('upgrade', (request, socket, head) => {
    const pathname = url.parse(request.url).pathname;
    if (!pathname) {
        socket.destroy();
        return;
    }

    const socketServer = socketServers[pathname];
    if (!socketServer) {
        socket.destroy();
        return;
    }

    socketServer.handleUpgrade(request, socket, head, (ws) => {
        socketServer.emit('connection', ws, request);
    });
});

Hey @palkerecsenyi , did you find a fix for this issue?

Thank you for the report. This project is no longer active. If you are using the Python language server in VSCode, the language server you are using is Pylance and please the http://github.com/microsoft/pylance-release to report issues.
If you are using Visual Studio, then, please use http://github.com/microsoft/PTVS to report issues.
thank you


[CI] Don't run for documentation-only changes.

I found an example, but unfortunately it's for Travis so this is in .travis.yml config. We would have to migrate it to either Rakefile/Circle config or maybe even a new script.
As always, please assign yourself if you are working on it so we won't duplicate our work ✌

Assign this one to me, gives me an excuse to look into Circle 😅

Sure thing, thanks @Sherlouk!

Yeah, there's an issue requesting that feature here. It's been 4 years already so I don't think it's coming anytime soon 😭 I really want it though


Missing valid "Risk-Status" when offline / in flight mode...

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[ ] Bug is specific for Android only - unknown -, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Technical details

Device name:  Samsung Galaxy Note 10, SM-N970F/DS
Android version:  Android 11 (One UI 3.1) with Android security update: 01. November 2021
App version:  2.14.1
ENF:<PHONE_NUMBER>0

Describe the bug
In flight mode I only saw the information that the last comparison went wrong; "Risk-Verification failed".
That and the information about it are, of course, correct.

But I just imagine that the last message would have been "Increased Risk"-Status, I would have booked a (free) rapid or PCR test with this reason and now I could not prove the reason "Increased Risk" when testing!?
Steps to reproduce the issue

Open CWA
Make sure, Smartphone is in flight mode / offline
Make sure, Bluetooth is on
Wait until CWA will update Risk-Status

"Start again" with regard to the risk verification delivers the same result under the same circumstances.
Expected behaviour
There must be a way of calling up the last risk status for the tester 'at a glance' (known display with green / red background), even if the last comparison was not possible or the smartphone is offline or in flight mode.
Possible Fixes
After "Start again" the risk check and the same result (failed), the previous result of the last valid risk check ("Low Risk" / "Increased Risk") should / could be displayed; here from "Heute: 10:18 Uhr".
A very simple and quick to implement alternative to the original could be:

Important: this alternative would have to be documented in the respective Screenshots (https://www.coronawarn.app/en/screenshots/ | https://www.coronawarn.app/de/screenshots/).
Additional context
Add a information link to "Verordnung zum Anspruch auf Testung ..." under "Increased Risk...".
The test regulation mentioned in the link states that Quick- and PCR-tests are free of charge if the Corona-Warning-App indicates an "Increased Risk".
This is at least important in the event that the 'free' tests would become chargeable again.

Internal Tracking ID: EXPOSUREAPP-11065

Internal Tracking ID: EXPOSUREAPP-11065

Thanks, @Jo-Achim for this very detailed bug summary!
I have created a ticket internally and assigned it accordingly.

Related issues:
https://github.com/corona-warn-app/cwa-app-ios/issues/3188
https://github.com/corona-warn-app/cwa-documentation/issues/722

@Jo-Achim Your issue is rather a proposal for a feature enhancement than a bug report, do I understand correctly?

@dsarkar,
that depends on the external circumstances...
If an "increased risk" warning is a prerequisite for a (free) corona test (regardless of whether it is a rapid test or a PCR test), I consider the issue is a bug.
Only otherwise the issue is rather a proposal for a feature enhancement.

@Jo-Achim does this always happen or only when you have check ins?

@Ein-Tim,
I do not understand the question.
It is about making sure that after a failed update (no internet) the previous information about an "increased risk" / "low risk" from the CWA is displayed again. Ideally in a format known to the test centers; i.e. according to pictures 2 and 3.
In this context, information about an "increased risk" is particularly important if the CWA certificate entitles you to a free corona test.
I'm pretty sure the displayed "Last Risk Review: Low Risk" (picture 1) was wrong; "Increased risk" would have been correct, because I had booked a test because of "increased risk" screen from CWA (2.14.1).
A check according to "Steps to reproduce the issue" is currently not possible for me; on the one hand because there is currently no "increased risk" and on the other hand the necessary update by the CWA (2.22.1) not taken place since 08:07 today.

@Jo-Achim
Ah, I see! Thanks! I was asking because of https://github.com/corona-warn-app/cwa-documentation/issues/800.

@larswmh,
thanks for testing.
But, as already described above, I can't verify the problem at the moment, partly because I don't have the "increased risk".


Catt does not support multiple casting devices

Hello. So I just bought a Chromecast Audio to go along with my CC2.As you know, this breaks my current setup where I use catt in several ways. So I am proposing the following:
Catt should support an option to set -d "CCaudio" or -d "<IP_ADDRESS>" to make commands specific to this device. Catt should also employ a rudimentary config file (youtube-dl style) so that the user can set a default device (or perhaps other future flags). This could go in ~/.config/catt/config or perhaps just ~/.catt. I am not shure how the current caching scheme fits into this, but it would certainly have to change.
Would you consider merging a PR implementing these ideas?

Yes, definitely. This is very important, and the only reason I haven't implemented it is because I don't have a second Chromecast. As for the caching, the cache key will just have to include the device name.

Cool. I have some further thoughts about the cache. Consider this scenario:
I have setup my CC2 as my default device in ~/.catt
Occasionally I would like to use catt with my CC Audio like this:
catt -d "CCaudio" https://www.youtube.com/watch?v=SdHBkYoUXOs
Now whenever I  want to control playback on the  CC Audio, I would have to do this:
catt -d "CCaudio" seek 300
Maybe instead of changing the format of the cache itself, we could change the caching mechanism so that we write to cache everytime a cast command is run. This way you could manipulate the active CC with a command like this: catt -c seek 300. Or is this too involved?

I think that might be getting a bit too involved, in that it might lead to surprising behaviour because the state is no longer in the command-line options, which is probably not a good idea. Also, given that your terminal can easily autocomplete to previous commands, and that you can set the default in the preferences, I think I'm leaning towards disliking this.
However, there's no reason why there couldn't be a device alias in the preferences file, so you could do -d 1, for example.

Good points. I'll keep you posted

I'm going to reopen this. Trying to use these features now, I realize that --write-config shouldn't be a flag, it should be a full-blown command (catt write-config). I'm going to reimplement it.

I actually implemented it like this at first, but changed my mind, as the flag seemed like the natural choice. Maybe I was wrong, as the command perhaps is more robust. What convinced you?

The fact that you can't write-config without another command (e.g. cast), mainly. I'm going over the whole thing, trying to implement aliases, but it looks like this method can ONLY set/override click commands, not arbitrary config items. It seems that, if we want to add config items that won't be passed in the command line, we need to find another way to do it :/
Another problem is that write_config will be destroying the configuration, if you already have some, as it doesn't read the existing config before writing.
A third problem is that catt won't detect my Chromecast at all, currently.
Looks like I'm going to need to work on this a bit :/

A third problem is that catt won't detect my Chromecast at all, currently.

That's strange, everything is working beautifully here

It seems that, if we want to add config items that won't be passed in the command line, we need to find another way to do it :/

I'm at bit curious, what would those be?

That's strange, everything is working beautifully here

Ah, strike that, it turns out my Chromecast had disconnected.

I'm at bit curious, what would those be?

Device aliases and groups, for example.

Looks nice. You are not checking whether the specified CC is on the network though.

Oh, is that why that was? So it would fail if the CC wasn't found? I couldn't figure out why it was there, so I took it out, I'll readd with a comment, thanks.

Yeah, catt -d mistake write_config, would make the next catt cast "whatever" fail.
Another thing. Why are you doing this:?
except SystemError:
    from controllers import get_stream_info, CastController, Cache
    from http_server import serve_file

Because if I run python catt/cli.py <command> without installing it, the previous imports fail, for some reason.

Because if I run python catt/cli.py  without installing it, the previous imports fail, for some reason.

Have a look at this.
Running catt like this: python3 -m catt.cli cast https://youtu.be/cL43vDm1vGQ works fine without the weird import statements.

Ah, thanks, I removed the imports. It turns out I had this way of running catt in my shell history, I had just forgotten.

Any reason why this is still open?

Good question... I found a branch open as well, but I can't remember where I was with this. Do you? I remember I wanted some changes to the format of the file and to the order with which device selection happens, but I can't remember if we implemented this in the end.

The open branch does not contain anything useful, as I believe that you created it, because of some github-related problem on your end.
As for this issue, the only thing I can think of is that, at some point, you wanted the user to able to select cc with only partial desc. of the cc's name (which I still think is a really bad idea).

Ah, right, thanks. I'll close this then.


Visual Studio Errors while installing karma

Hi guys,
I'm running npm install karma --save-dev from my git bash and this is what I get some message about building a solution (?):
C:\workspace\npmTest\node_modules\karma\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\bin\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.

followed by a list of errors:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(366,5):
warning MSB8003: Could not find WindowsSDKDir variable f rom the registry.
TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. [C:\workspace\npmTest\node_modules\karma\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\bufferutil\build\bufferutil.vcxproj]

TRACKER : error TRK0005: Failed to locate: "CL.exe".
The system cannot find the file specified.  System Windows_NT 10.0.10240
gyp ERR! command "C:\\bin\\nodejs\\node.exe" "C:\\bin\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\workspace\npmTest\node_modules\karma\node_modules\socket.io\node_modules\engine.io\node_modules\ws\node_modules\utf-8-validate
gyp ERR! node -v v4.2.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

I have just installed Visual Studio Community 2015, but what it has to do with a NPM PACKAGE?
I couldn't find anything about this particular issue in the web.
Fortunately Karma seems to run fine, but this is very confusing.
Env:
Windows 10
git bash
node.js 4.2.0
Karma 0.13.15

I'm still puzzled why Karma started to build stuff using Visual Studio etc.
However it seems that when I installed my version of Visual Studio Community 2015 I only installed it with default Web Development tools.
I have just installed Visual C++ tools package, and voila! The installation finishes with no errors.
I hope one day this will help someone else :)

Hello and THANK YOU!
Here's what I had to do to solve my problem:
I tried to install Visual C++ tools package, but I couldn't due to "important updates".
After restarting the system and installing those updates, I could install, as you said, Visual C++ tools package from my Visual Studio Community 2015.
(Attempting to open a new Visual C++ project forces you to install it, because that package is not installed by default)
After the installation, I tried to run 'grunt test' (using Karma) on my Yeoman project workspace using Angular generator.
However phantomjs was not installed properly, so I reinstalled it using:
npm install phantomjs
Then I tried to run the grunt test and it worked successfully!!
-- Done, without errors.  Thank you very very much!

My pleasure :)


PR Fixes -> SIP 366

[x] Use better naming for changes on storage
[x] Bring back legacy delegateCollateral + fix tests
[x] Add different FF for the Intend based delegation (only one should be enabled at the time) + fix tests
[x] Add test for both FF enabled at the same time
[x] Reduce footprint of getter/setters + fix tests
[x] Add system wide min delay and max window size
[x] Add tests for system wide delay and window params (notice, some tests are failing and I want to merge with the SIP-366 implementation and fix all the tests there.)
[x] Use better naming to differentiate getValid and loadValid (loadWithInit)
[x] Link account delegation intents to the account (reduce one load)
[x] Remove id and use timestamp as key

There was db's comment on replacing the intentId with just a declareTime, since it auto-increments on it's own with block times.
Aside from that there was the topic of limiting the intent per account size to a certain configurable limit, but maybe these things are not worthwhile

i thought we were not going to go through with changing id's to timestamps? or is it the case and the PR is in progress, since i see a few places where id is still used.

i thought we were not going to go through with changing id's to timestamps? or is it the case and the PR is in progress, since i see a few places where id is still used.

reverted. After a convo, this is not possible since it should be unique for every intent and if there are more than one intent in same block won't be unique


Fix Senate membership changes

Devnet companion: #557
Description

See related issue. This PR fixes a bug where current root members cannot become a Senate member after attaining the requirements after registering on the root network, initially.
This PR adds the call subtensorModule.adjust_senate(hotkey) to attempt to join the Senate when eligible.
Related Issue(s)

Closes #430

Type of Change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please describe):

TODO

[ ] Benchmarking weights

Breaking Change
NA
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Screenshots (if applicable)
NA
Additional Notes
An alternative solution is to call join_senate_if_eligible during a root_register call if the hotkey is already registered

clippy


Added a license file.

You didn't have a license file so I added one.

Thanks, but the license is actually MIT.


Short-term development plans

This list will be kept up-to-date.
Better icon.png
Self-explanatory.
Moving tags
The idea is to have a "Move" button on each tag, which should use drag-and-drop.
Helpers/controls over the SVG image in the editor
All shape-related SVG tags should draw their own controls in the editor, for example, the ellipse tag should have a control for the center and for its two radii. There could also be an option for hiding them to see the clean SVG image, as well as to drag them around and update the corresponding SVG tag itself, but this isn't needed for the initial implementation.
Better stroke editing from the inspector
Stroke-related properties should be hidden when stroke is set to none. This would require some deeper overhauls. Support for stroke-linejoin and stroke-linecap should be added, too.
Better path editor
It's young and a lot can be improved, so for now I'm just outlining that it needs a lot of QoL.
Long-term plans

Support for gradients and masks. No implementation details on mind yet.
Snapping in the display viewport. There is no reasonable notion for this, as there are no controls in it to drag around yet.
Customization of the colors of the app and the display viewport. Can be implemented now or even chipped away at, it's just not that much a priority.

Enhancements and bugfixes are always welcome, even if not on the list.

Created a path editor.

Edited the post after implementing an enum editor, stroke-linecap, and stroke-linejoin.

Edited the post after implementing a flag editor in #18. Added a new item on implementing UndoRedo.

Edited the post a bit after #21 implemented the ability to delete path commands.

#22 implemented relative paths. Updated the post again to specify some more specific improvements to paths.

#39 added stroke-opacity and fill-opacity as supported. Post updated again.

#48 almost implemented the zooming roadmap, so edited again

#49 finally added the opacity attribute, removing from this list.

GodSVG went from "extremely early development" to "very early development" now, so I think from now on individual issues for each proposal make more sense.


Usability features

Implement a number of changes and additions to aid in usability of this
library. No material changes are being made toe the forts of EAR or
AR4SI as part of this.

Rename To/FromJSON to Marshal/UnmarshaJSON to be consistent with
common golang conventions. Rename ToJSONPretty to MarshalJSONIndent
for the same reason.
Add AsMap() methods to TrustVector and AttestationResult that converts
these structs to map[string]interface{}.
Add UpdateStatusFromTrustVector() to AttestationResult, that brings
Status into alignment with TrustVector values (unless it was
explicitly set to a lower trust value).
Add ToTrustTier and ToTrustClaim to convert arbitrary interfaces to
corresponding structs.
Add TrustClaim.GetTier() that returns the tier corresponding to the
claim value.
Add NewAttestationResult that returns a fully initialized attestation
result.
Switch to using jwt package for signing.

Looks like this fixes #6 too


Fixing AMP Endpoint Issue

Issue #, if available:
Description of changes:
Fixing AMP Endpoint Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-test single-new-eks-opensource-observability deploy

/do-e2e-test single-new-eks-opensource-observability destroy

Delete Issue in e2e. Merging the PR.


AWS clusters can be terminated from stopped state

Stack state already transitioned from STOPPED to DELETE_IN_PROGRESS state when it checked if the state is STOPPED.
We rather check if the AS Group has some suspended policies that must be resumed before deleting the stack.

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/715/


⚠ Vaultwarden has degraded performance

In d4c030b, Vaultwarden (https://vaultwarden.underthere.xyz) experienced degraded performance:

HTTP code: 502
Response time: 18609 ms

Resolved: Vaultwarden performance has improved in f607089 after 1 minute.


Speculative Decoding slower (only in ExUI)

Hi!

The first question was asked with the DeepSeek Coder 33B instruct and the second with 33B instruct + 1.3B instruct speculative decoder
For some reason the speculative decoding version is slower. When testing the same setup with exllama2 examples/chat.py the inference speed increases much

Also, the UI is sooo nice, thank you for the cool work!

Hm, it could be that the draft model does not get loaded with RoPE scale of 4
Or is the scale irrelevant, the alpha is all that counts and gets transferred?

Yes that was it
https://github.com/turboderp/exui/pull/21


fix: Current generative drops are not unlockable

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[x] Refactoring

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #7843
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary

🤖 Generated by Copilot at af98ea8
This pull request refactors the drop components to simplify their structure and extract common elements, such as the unlockable item info, into reusable components. It also introduces a new component CollectionUnlockableItemInfo that displays the unlockable content explanation based on the collection id. Additionally, it modifies the useUnlockable composable to accept a more generic type for the entity parameter. These changes improve the code readability, maintainability, and flexibility.

🤖 Generated by Copilot at af98ea8

We are the masters of the code, we break the duplication
We extract the logic, we create the CollectionUnlockableItemInfo
We use the script setup, we unleash the power of Vue
We refactor the drops, we make them shine like new

still no unlock-able button showing here for me:

what about this section? should we hide it for non unlockables as well?

it seems now that no drop is showing this part:

as far as i know waifu drops should have and generative and kodachain should not

what about this section? should we hide it for non unlockables as well?
it seems now that no drop is showing this part:

as far as i know waifu drops should have and generative and kodachain should not

You're right. I have fixed them.

last thing, since you've removed the unlockable section, kodachain drop needs some spacing between the footer

last thing, since you've removed the unlockable section, kodachain drop needs some spacing between the footer

✅ Added some spacing between them.

kodachain drop needs some spacing between the footer

KodaChain should be unlockable 🤔

kodachain drop needs some spacing between the footer

KodaChain should be unlockable 🤔

what it should unlock? because for the waifu mints we unlock $ vouchers, but the kodachain we just give ppl the nft in case they voted for proposal

Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 4.34 USD/DOT ~ 6.912 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x73a75117f4db8167c2fd67ac4725a369f97f671046d2d9f9b40520ddf0ba5ed4
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 4.35 USD/DOT ~ 6.897 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0x8393c6a8c499b02ca0001fc6c275c84801c776075031b5a48f1267514067c038
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Including INDELs in the output

Thank you for providing longshot.
Have you a release date for the version including INDELs?

We have a method for calling indels but it still needs some work to integrate with existing code. Which technology are you using for variant calling?

I would like to call variant on PacBio CLR reads.


Can Terratest be used to provide the details of provisioned resources

Hi Team,
[This is a question]
I am exploring the Terratest features and would like to understand if it can be used in the following scenario:

Terraform scripts provision and/or update the required infrastructure (terraform init, plan, apply)
Use Terratest to test if the required infrastrcuture has been provisioned or updated sucessfully as per the scripts
Provide readable test reports to Ops for step 2.. If yes, then can the information be written in a file which can be used.

I dont want to incur costs by creating a separate infrastructure and deleting it for test purposes.

Terraform scripts provision and/or update the required infrastructure (terraform init, plan, apply)
Use Terratest to test if the required infrastrcuture has been provisioned or updated sucessfully as per the scripts

Yes... The examples and corresponding tests cover this extensively.

Provide readable test reports to Ops for step 2.. If yes, then can the information be written in a file which can be used.

Currently, the only output is whatever logging you put in, and Go's default test output. If you're looking for a report, you'd probably have to write something custom!

I dont want to incur costs by creating a separate infrastructure and deleting it for test purposes.

The whole goal of Terratest is to deploy your infrastructure for real, as that's critical to building confidence that your infrastructure actually works. See How Terratest compares to other testing tools
 for more info.

Hi,
I have noticed that Terraform follows the pattern of installing the infrastructure and then running the test and then destroy it. I was looking for a tool which can provide the information of the resources that are installed once the terraform deploys the resources in production.
Secondly, if terraform has been used for initial deployment and then there are additional resources that need to be added on top of the initial deployment, Terraform will just install the new resources and destroy the ones not mentioned. Using Terratest can we just get the list of the delta resources?

I was looking for a tool which can provide the information of the resources that are installed once the terraform deploys the resources in production.

Yes, you can use Terratest for this. Just don't call terraform.Destroy in your test code...

Secondly, if terraform has been used for initial deployment and then there are additional resources that need to be added on top of the initial deployment, Terraform will just install the new resources and destroy the ones not mentioned. Using Terratest can we just get the list of the delta resources?

Not sure I understand this use case. If you ran apply on your Terraform code, then changed the code, you can run plan to see what changes Terraform will deploy...

Hi,
Thanks for answering my 1 question.
I am exploring the features of terratest and would like to know how it can
be used in the following scenario:
-The production already has inrastructure created using non-terraform
approach.
-The terraform files have been designed to create/update infra over and
above the already existing.
Thanks
Chetan
On Thu, Feb 14, 2019 at 7:23 AM Yevgeniy Brikman<EMAIL_ADDRESS>wrote:

I was looking for a tool which can provide the information of the
resources that are installed once the terraform deploys the resources in
production.
Yes, you can use Terratest for this. Just don't call terraform.Destroy in
your test code...
Secondly, if terraform has been used for initial deployment and then there
are additional resources that need to be added on top of the initial
deployment, Terraform will just install the new resources and destroy the
ones not mentioned. Using Terratest can we just get the list of the delta
resources?
Not sure I understand this use case. If you ran apply on your Terraform
code, then changed the code, you can run plan to see what changes
Terraform will deploy...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gruntwork-io/terratest/issues/235#issuecomment-463608043,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aq7nHm7gabWdL0SQjHJfNGImB8RSS9mMks5vNVU5gaJpZM4a4GUi
.

If you deployed infrastructure NOT using Terraform, then you need to import the state so you can manage it with Terraform. See terraform import and terraforming for more info.


docs: add observableGauge to the prometheus experimental example

Which problem is this PR solving?
Lack of documentation for async functions and gauge observable regarding the prometheus experimental example.
Short description of the changes

Add an example with a promise returning a value and the createObservableGauge() function.
Add an image for the prometheus graph for the gauge metrics.

Type of change
improve documentation
How Has This Been Tested?

[x] Ran locally the project with the changes, then went to http://localhost:9464 on chrome, and noticed the value changed for observable_gauge_requests at every reload.

Checklist:

[x] Followed the style guidelines of this project
[ ] Unit tests have been added
[x] Documentation has been updated

Hey @pichlermarc , should we merge the PR now it is approved? :)
(not sure why the tests are failing tho, it is only an example)


adding DevDay Kyiv event

Adding community event : AWS Dev Day @ Kyiv, Ukraine
Could not test locally because of https://github.com/aws-amplify/community/issues/41

Also adding Utrecht Dev Day on June 19th


[UX2.0] CLI feature profile and CLI config profile parcel support

Adding support for CLI feature profile and CLI config profile parcel

@danischm could you please help me understand why tests are failing?

Tests fixed, ready for merge.


Add a donation button

Overview
Add a Donate button
Is your feature request related to a problem? Please describe.
There are cases where we need to support donations to OAR and no easy way to give those donations currently.
Describe the solution you'd like
Add a Donate button on both the map and Squarespace site that is linked to OAR accounts.
Additional Context
Optional. Add any other context, screenshots, gifs, etc about the feature request here.

Marked as blocked because we have not confirmed what service we will use to collect payments.

This could be used for API and EM sales as well


Fuzzing the nvme driver in the backwards direction (Host -> Driver)

This PR will add a fuzzer for the nvme driver. The end goal is to allow fuzzing the nvme driver in the "backwards" direction (Host -> Driver) to strengthen the confidentiality guarantee.
The driver is isolated from the actual backend using a shim layer. This allows intercepting calls made to the backend and responding with arbitrary data i.e. Mocking, but with dynamically generated responses. A common pool of unstructured data is leveraged by the frontend in order to generate actions for the NvmeDriver (Read, Write, Flush, ... ) and all backends to generate arbitrary responses. The unstructured data is replenished upon every call to do_fuzz.
Fuzzing Framework for NVMe Driver:

Main fuzzing entry point:

Created vm/devices/storage/disk_nvme/nvme_driver/fuzz/fuzz_main.rs to set up the main fuzzing loop and handle arbitrary input data.

Fuzzing from the backend (Host -> Driver)

Added vm/devices/storage/disk_nvme/nvme_driver/fuzz/fuzz_emulated_device.rs to define a shim layer for fuzzing responses from an emulated device.

NVMe driver fuzzing interface:

Added vm/devices/storage/disk_nvme/nvme_driver/fuzz/fuzz_nvme_driver.rs to define the interface for fuzzing the NVMe driver with arbitrary actions.

@microsoft-github-policy-service agree company="Microsoft"

From: microsoft-github-policy-service[bot] @.>
Sent: Monday, December 16, 2024 4:18 PM
To: microsoft/openvmm @.>
Cc: Guramrit Singh @.>; Mention @.>
Subject: Re: [microsoft/openvmm] Fuzzing the nvme driver in the backwards direction (Host -> Driver) (PR #504)
@gurasinghMShttps://github.com/gurasinghMS please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttp://www.opensource.org/).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/openvmm/pull/504#issuecomment-2547216951, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A6LQY63N5ULVC2DUJFLD6GL2F5UWDAVCNFSM6AAAAABTXIJTX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBXGIYTMOJVGE.
You are receiving this because you were mentioned.


[UNDERTOW-1719] Handling of path parameters can set incorrect requestURI/requestPath

Issue: https://issues.redhat.com/browse/UNDERTOW-1719
A new parsePathComplete method has been created to not repeat the code at the end of the three situations that completes a path parsing  (common path, path with parameters and start of query string). This fixes the two issues and a little corner case.
Some more tests added and now the isHostIncludedInRequestURI is also checked in the majority of them.
PR for master branch.

PR for 2.0.x branch: #899