Understand how exporter is able to query metrics

Ask your question
Hi team. Whenever we try to fetch gpu metrics from underlying instance within container using dcgmi cli, we are getting connection refused
Error: unable to establish a connection to the specified host Error: Unable to connect to host engine. Host engine connection invalid/disconnected
But however the exporter is able to query and generate metrics. Is it possible to replicate the same behaviour used by exporter via dcgmi as well i.e without listening to remote connections
Or can someone please let us know how exporter is querying the metrics from underlying instance?

DCGM-Exporter uses the DCGM library in embedded mode . This means it does not need to communicate with an external DCGM nv-hostengine. The 'dcgmi' command does not have the same functionality.

Thanks for helping out @glowkey 🙂


Issue #887: already defined observer class component warning message …

…should get display name from 'target' and not 'this'

Making a change to documentation only? Delete the rest of the template and go ahead.

Code change checklist

[ ] Added/updated unit tests
[ ] Updated changelog
[ ] Updated README if applicable

Do you mind updating the changelog as well?

Thanks!


add support for aws_workspaces_ip_group

Adds support for the aws_workspaces_ip_group resource.

Thanks! @aqche can you fix lint error?


Typo in error message: "forogt", should be "forgot"

Version 0.23.4
WARNING: you specified the options for cutting by quality, but forogt to enable any of cut_front/cut_tail/cut_right. This will have no effect.

Looks like it was fixed in 0.24.


Error during synchronization between servers

Describe the bug
/api/v1/recognition/recognize response is sometimes 500:
{
"message" : "Error during synchronization between servers: [500 INTERNAL SERVER ERROR] during [POST] to [http://compreface-core:3000/find_faces_base64?limit=1&det_prob_threshold=0.5&face_plugins=calculator] [FacesFeignClient#findFacesBase64(FindFacesRequest,Integer,Double,String)]: [{"message":"MXNetError: MXNetError: could not execute a primitive"}\n]",
"code" : 41
}
{
"message" : "Error during synchronization between servers: [500 INTERNAL SERVER ERROR] during [POST] to [http://compreface-core:3000/find_faces_base64?limit=1&det_prob_threshold=0.5&face_plugins=calculator] [FacesFeignClient#findFacesBase64(FindFacesRequest,Integer,Double,String)]: [{"message":"MXNetError: Traceback (most recent call last):\n  File \"../src/ndarray/ndarray.cc\", line 707\nMXNetError: The size of NDArray doesn't match the requested MKLDNN memory desc. MKLDNN memory requests for 1140480 bytes, but got 737280 bytes from NDArray"}\n]",
"code" : 41
}
Expected behavior
/api/v1/recognition/recognize to respond with 200
Screenshots
None
Desktop (please complete the following information):

OS: Windows 10, Docker Desktop + WSL
Browser N/A
Version: SubCenter-ArcFace-r100 1.1.0

Logs
Logs for each service in separate files inside attached zip. compreface-core log is last 12 hours, since full log is 41GB
SubCenter-ArcFace-r100-logs.zip
Additional context
Have done around 40k requests to a recognition service and around 170k requests to a detection service with no issues, then this started to happen.

Another set of logs, same problem, reponse 500
logs-20230619135800.zip

This may be a Docker Desktop problem maybe? Docker Desktop seems unresponsive/sluggish after this error happens. Tried installing some extensions and the UI seems stuck in "Installing"
After about 5 minutes stuck, this happened:

But this could be due to the fact that I tried to close Docker Desktop 10 minutes before and nothing happened?

Unfortunately, I can't say anything about it. It looks like there are some problems with memory allocation, but the reason is unclear to me.
Would you happen to have any ideas on how to reproduce it?

I will do some research on how to reproduce it.

I managed to reproduce it, it seems the key issue is to have two instances doing recognition at the same time. I left one instance for 12 hours with no errors, just doing base64 recognition:
http://<IP_ADDRESS>:8000/api/v1/recognition/recognize?limit=1&det_prob_threshold=0.50&prediction_count=5&face_plugins=&status=true
I cancelled the process, then set up two instances at the same time doing the same thing, after a couple of minutes got the 500 response error.
Trying to restart either one, it fails every time with 500 error.
logs.zip
Using SubCenter-ArcFace-r100
Images are 480x640, average size 25kb, I only send the face rectangle obtained using a previous face detection api call
Docker Desktop on Windows 10 using integration with WSL2, assigning 16GB to WSL using .wslconfig
This is all in another PC different from the one that I was using when I reported this issue.

Hello.
I've made several attempts to reproduce this bug, but unfortunately, I have not been successful so far. I want to mention that the application works flawlessly on my Windows 10 platform.
This issue requires some diagnostic information to better understand the situation. If you could provide the following details, at the time you are getting errors it would be immensely helpful:

The content of your .env file.
The results of the "htop" Linux command.
The result of the "nvidia-smi" command in Linux.
The result of the Windows Task Manager (Performance layout screenshot).

Also check please do you have old useless images in docker


Feature: Display Organization Name Alongside Devtron in UI

🔖 Feature description
There should be an option to show the organization name on Devtron UI so that when working with multiple Devtron dashboards, users won't get confused and mess up with other environments.
🎤 Pitch / Usecases
In our organization, two Devtron stacks are running and recently I ended up with a mess in our prod env which was supposed to be done on dev env(as both tab was opened side by side).
🔄 Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#9876

Fixed with attached PR: https://github.com/devtron-labs/dashboard/pull/1823


gutter icon for resolved/unresolved comments

Comments in the editor have a different color based on their resolved status. We could do something similar for the icon in the gutter, and make obvious which comment is resolved even when comments are folded.
Maybe change the icon color? Or use a different icon?
(also related to https://github.com/microsoft/vscode/issues/149085)

Example of how it currently looks:

Example with adjusted colours:

Note that colour alone is not a full solution since it is not that accessible, but I think it should be included in the final solution.

A different icon/unicode character for resolved would be good here.

Let's get https://github.com/microsoft/vscode/issues/115808 done first.


fence gates not connecting to vanilla fences

this is not fixable without bytecode manipulation of the base classes . is semi-fixable with some complex hacks

This has been fixed in a beta version of my fork of this mod, Et Futurum Requiem.

@Roadhog360  Nice . 1.7.10 for lyfe .  Check our my github repos as well I have a few older mods that I have maintained. You might find a few neat 1.7.10 mods maintained and updated .


Pie chart disappears when shrinking and enlarging the container, if style has margin: 0 auto;

The problem that I was having was that, when shrinking and enlarging the window (causing the chart container to shrink and enlarge as well), and having the chart canvas with style margin: 0 auto;, was causing the chart to shrink when enlarging (until it completely disappeared).
Here is my HTML:
<!DOCTYPE HTML>
<html>
<head>

<meta charset="UTF-8">

<style>
#languages-chart {
	height: 300px;
	width: 400px;
	margin: 0 auto; // This is the culprit!
}
#languages-chart-container {
	background-color:#eee;
	margin: 0 auto;
	max-width:400px;
}
</style>

<script type="text/javascript">

window.onload = function () {

	var loc = [135850, 52122, 148825, 16939, 9763];
	// Adding an array of strings as a language will make new lines for each string
	var languages = [['C++'], 'Java', 'ECMAScript', 'Python', 'SQL'];
	var backgroundColors = [
		"rgba(255, 99, 132, 0.7)",
		"rgba(54, 162, 235, 0.7)",
		"rgba(255, 206, 86, 0.7)",
		"rgba(75, 192, 192, 0.7)",
		"rgba(153, 102, 255, 0.7)"
	];

	var ctx = document.getElementById('languages-chart').getContext('2d');

	window.chart = new Chart(ctx, {
		type: "pie",
		data: {
			labels: languages,
			datasets: [{
				data: loc,
				backgroundColor: backgroundColors,
				borderColor: backgroundColors,
				borderWidth: 0,
				hoverOffset: 6,
			}]
		},
		options: {
			layout: { padding: 10 },
			maintainAspectRatio: true,
			responsive: true,
			plugins: {
				tooltip: {
					bodyFont: {weight: 'bold'},
					footerFont: {weight: 'normal'},
					callbacks: {
						label: function(tooltipItem) {
							return tooltipItem.label;
						},
						footer: function(tooltipItems) {
							var thisLoc = tooltipItems[0].raw;
							var sum = loc.reduce((x, y) => x + y);
							var info = `${(thisLoc*100/sum).toFixed(2)}%`;
							info += '\nLOC: ' + tooltipItems[0].formattedValue;
							return info;
						}
					}
				},
			}
		}
	});
	window.chart.render();
}
</script>
</head>
<body>
	<div id="languages-chart-container">
		<canvas id="languages-chart"></canvas>
	</div>
	<script<EMAIL_ADDRESS>		integrity="sha256-uVEHWRIr846/vAdLJeybWxjPNStREzOlqLMXjW/Saeo=" crossorigin="anonymous"></script>
</body>
</html>

Reproduce fiddle https://jsfiddle.net/04mopkde/

I'm not sure this is something we should try to "fix". chart.js needs a dedicated container for responsive operation and you should be styling that container.

@kurkle I had the style applied to both elements, the bug happened and I spent a lot of time trying to figure out why. I am new to Chart.js. I don't know what approach you should take to "fix" this, but I think it is worth mentioning at least that the margin should not be set for the canvas.


Event Positions bug corrected z

What does the code in this PR do / what does it improve?
the same z_obs variable was returned twice, now changed to z_cor
Can you briefly describe how it works?
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:

[ ] Update the docstring(s)
[ ] Update the documentation
[ ] Tests to check the (new) code is working as desired.
[ ] Does it solve one of the open issues on github?

Notes on testing

Until the automated tests pass, please mark the PR as a draft.
On the XENONnT fork we test with database access, on private forks there is no database access for security considerations.

All italic comments can be removed from this template.

No, the z_obs was the one intended! :)

We should leave a comment there but we actually changed to z_obs since the z correction with FDC was found to be not working correctly and should not be used until fixed (which might never happen). I will find the PR and link here

See https://github.com/XENONnT/straxen/issues/527

Do you mind to open another PR putting a comment? I agree that it is quite dangerous right now to be mistaken as a bug.

Oh, I see! Nevermind!


Add a colour palette section to the Origin docs

This new section lists all the colours used in the app in one place, using smaller swatches and with hex codes instead of Origin aliases.

Included in https://github.com/fac/origin/pull/77


Strict mode validation: property names in "required" should be present in the sibling "properties" object

{
    "type" : "object",
    "properties" : {
      "test": {
      	"type":"number"
      }
    },
    "required" : [
        "identifier",
        "features"
    ]
}

What version of Ajv you are you using?
7.0.3
What problem do you want to solve?
Optional strict mode addition to check that keys given in "required" must exist in the sibling "properties" definition.
What do you think is the correct solution to problem?
Pass an additional constructor option to validate that every key name given in "required" exists as an explicitly defined property in "properties" when using strict mode.
Will you be able to implement it?
Yes

Love the idea - very happy if you add it!
strictRequired?
The challenging bit here is that you often have "required" used inside "if" (or allOf etc) when "properties" are defined on the higher levels. So, for example, with this option this schema should be still considered "strict":
{
  type: "object"
  properties: {
    foo: true,
    bar: true
  }
  if: {required: ["foo"]} // it should be seen as compliant with strictRequired
  then: {properties: {bar: {type: "boolean}}} // it still complies with strictTypes here, as there is type: object above
}

So there should be a place in the SchemaCxt that would keep track of defined properties on the current and upper levels, same as now happens with types to enable strictTypes without requiring to repeat type on all levels.
Also see https://github.com/ajv-validator/ajv/issues/1392 - in v8 strict: true would just enable all strict options, in v7 it would remain opt-in.

Love the idea - very happy if you add it!
strictRequired?
The challenging bit here is that you often have "required" used inside "if" (or allOf etc) when "properties" are defined on the higher levels. So, for example, with this option this schema should be still considered "strict":
{
  type: "object"
  properties: {
    foo: true,
    bar: true
  }
  if: {required: ["foo"]} // it should be seen as compliant with strictRequired
  then: {properties: {bar: {type: "boolean}}} // it still complies with strictTypes here, as there is type: object above
}

So there should be a place in the SchemaCxt that would keep track of defined properties on the current and upper levels, same as now happens with types to enable strictTypes without requiring to repeat type on all levels.
Also see https://github.com/ajv-validator/ajv/issues/1392 - in v8 strict: true would just enable all strict options, in v7 it would remain opt-in.

Added a basic implementation and have to take a look at the special case you mentioned above in the next couple of days. Feel free to provide feedback on the PR already.

Added a basic implementation and have to take a look at the special case you mentioned above in the next couple of days. Feel free to provide feedback on the PR already.

Cool. Supporting advanced scenarios with properties defined on higher levels is likely to change this code though.
You need to accumulate defined properties inside schema compilation context (and reset it every time data instance location changes - see subschema.ts) - and use these accumulated properties in strictRequired check.

Cool. Supporting advanced scenarios with properties defined on higher levels is likely to change this code though.
You need to accumulate defined properties inside schema compilation context (and reset it every time data instance location changes - see subschema.ts) - and use these accumulated properties in strictRequired check.

I would like to keep it as simple as possible at first and it can be expanded later, so no patternProperties yet.
Your example above seems to be pretty straight forward. Can you provide me with an example case that needs to match more than one level into a parent schema? I dont use the more complex features of JSONSchema in my day to day work and the JSONSchema spec is pretty complex.

I would like to keep it as simple as possible at first and it can be expanded later, so no patternProperties yet.
Your example above seems to be pretty straight forward. Can you provide me with an example case that needs to match more than one level into a parent schema? I dont use the more complex features of JSONSchema in my day to day work and the JSONSchema spec is pretty complex.

I updated the PR and now some tests fail because they do not satisfy the strictRequired conditions.
The current implementation properly validates your schema above and also one more advanced use case like this:
{
   "type":"object",
   "properties":{
      "foo":{
         "type":"object",
         "required":"foo",
         "properties":{
            "test":{
               "type":"number"
            }
         }
      }
   }
}

Currently i am resetting the keys in the context every time a new schema of type object is encountered. This makes your if/then example above work properly, but does not keep all of the higher level keys in context all the time which would result in false negative checks.
Is there a simple case that is not covered by that validation yet?

I updated the PR and now some tests fail because they do not satisfy the strictRequired conditions.
The current implementation properly validates your schema above and also one more advanced use case like this:
{
   "type":"object",
   "properties":{
      "foo":{
         "type":"object",
         "required":"foo",
         "properties":{
            "test":{
               "type":"number"
            }
         }
      }
   }
}

Currently i am resetting the keys in the context every time a new schema of type object is encountered. This makes your if/then example above work properly, but does not keep all of the higher level keys in context all the time which would result in false negative checks.
Is there a simple case that is not covered by that validation yet?

it's not sufficient to just check an immediate parent - there might be several layers of schemas for the same data level - with allOf, oneOf, if/then/else etc. - with different properties defined on different levels.
It's more difficult (and slower) to traverse the schema upwards collecting all the properties every time required is encountered, it is easier to collect these properties in SchemaCxt object in some property (e.g. definedProperties) on the way down the schema (but it should be initialised on every new data layer in applySubschema). In this case required would only need to check this property in SchemaCxt and properties in the current schema (because required is validated before properties...). Hope it makes sense.

I can understand the reasoning perfectly fine. I did not intend to go down the whole schema-tree to check for required keys.
Can you give me some more guidance on where exactly to implement the list that collects the properties in subschemas? I have a hard time following the function calls that are happening and why they are happening because I do not have a lot of background knowledge about all the JSONSchema wording that is used in this project.

There isn't much of architecture doc, other than components.md - probably worth adding, but it's a separate subject.
But you can just extend SchemaCxt interface by adding definedProperties property to it (say, a Set of strings), initialise this property in compile/index.ts and add properties to this set inside properties keyword - it is available via cxt.it.definedProperties.
The only caveat is that it would not include properties from sibling "properties" keyword, as it is executed after "required", so they have to be accounted for separately - they are in cxt.parentSchema.properties - that is assuming you do this check inside "required" keyword code. Alternatively the check could stay where it is in your PR in which case you would combine properties in it.schema.properties - you check it already - but also include properties from it.definedProperties set - this is the same it as is inside cxt that is passed to keywords code.
Performing strictRequired check inside "required" keyword seems better though, as it would only be called if "required" keyword is present (one fewer if) and it is also consistent how other keyword-specific "strict" checks are done - e.g. strictTuples - see here: https://github.com/ajv-validator/ajv/blob/master/lib/vocabularies/applicator/items.ts#L28
Hope it all makes sense - do ask questions please. There are definitely lots of missing bits in the docs, and if this conversation results in architecture.md doc helping other people to figure out the inner workings of Ajv to some extent that would be very valuable too.
Thank you

but it should be initialised on every new data layer in applySubschema

yes - this too - it is here :)

I updated the PR with your recommendations and hints. For some reason the CICD automation is not run. Can we move further implementation discussions to the PR itself?


Added optional tolerance to contains function

By adding the optional tolerance, it is now possible to give a tolerance and it will consider this tolerance while calculating if a point is inside a rectangle.

good

hey I just noticed the ddl for the exercise is at 9 tomorrow... Could you approve the changes before 9?


Add requirement to run as root for cron option

The cronjob runs as root and for consistency it's probably better to also run the cron option as root as well. Then the cronjobs always get created as root and can't be edited by less privileged users.

Added in https://github.com/nozel-org/freebsd-serverbot/commit/9297b2545c296697b32938eb851bd90d3e5e12ce.


Rename Training to Frameworks for Training

and Serving to Tools for Serving

This issue refers to the section titles on these pages:

https://www.kubeflow.org/docs/components/serving/
https://www.kubeflow.org/docs/components/training/

/assign @janeman98


Identifiers validation failed for dataset 2022_kbif_joint_survey_mushroom_observation_information_knam_55

Identifier validation failed for the dataset 2022_kbif_joint_survey_mushroom_observation_information_knam_55:

Crawler attempt: 2
Publishing organization: Korea National Arboretum (Korea Forest Service)
Publishing country: KOREA_SOUTH
Installation: KBIF IPT
Number of occurrences indexed for this dataset at the time of the issue: 1
Cause: GBIF ID problems exceed 5% threshold: 100% duplicates; 1 total records; 1 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3310765/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the 2022_kbif_joint_survey_mushroom_observation_information_knam_55 : https://doi.org/10.15468/7r5acj.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset 2022_kbif_joint_survey_mushroom_observation_information_knam_55:

Crawler attempt: 3
Publishing organization: Korea National Arboretum (Korea Forest Service)
Publishing country: KOREA_SOUTH
Installation: KBIF IPT
Number of occurrences indexed for this dataset at the time of the issue: 1
Cause: GBIF ID problems exceed 5% threshold: 100% duplicates; 55 total records; 55 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3310797/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the 2022_kbif_joint_survey_mushroom_observation_information_knam_55 : https://doi.org/10.15468/7r5acj.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

The dataset was deleted by the publisher on September 26, 2023.


[FLINK-11657][tests] Fix deprecated API compatibility issue for WordCountMapreduceITCase.

What is the purpose of the change
This pull request fixed deprecated API compatibility issue for WordCountMapreduceITCase.
Brief change log
WordCountMapreduceITCase tested deprecated API, but the related APIs have been removed , so this pull request removed the useless code.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency):  no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive):  no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector:  no

Documentation

Does this pull request introduce a new feature?  no

There was no reason for this to be a separate PR from #7771, it's effectively the same issue.


Upgrade Dependencies

Branch Name: chore/upgrade-dependencies

@zainfathoni  I think we can use conventional commits, so the branch name is chore/upgrade-dependencies , wdyt?

Sure, thank you for the suggestion.
I've updated the description.

@zainfathoni  I'm start to solve this is issue. :rocket:

Thanks a lot! 🙏


Wrong path to TCP reflector code

In the sample config file for TCP reflector, the following is mentioned:
"commandLine": [
    "python3",
    "/code/tcpreflector/tcpreflector.py",
    "--host",
    "<IP_ADDRESS>",
    "--port",
    "%SFU_PORT%"
  ]

This results in:
SystemException: TransportProtocolTCPSFU: tcp://<IP_ADDRESS>:8089: No connection could be made because the target machine actively refused it.

This is because the code for TCP reflector is in tcpreflector/tcpreflector.py. Modifying this line results in a valid session.

I'm not quite sure I understand the problem. The SFU launches for me just fine with the given config.

The directory code does not exist. The config file however mentions /code/tcpreflector/tcpreflector.py. For us, TCP reflector only works after changing this configuration setting to /tcpreflector/tcpreflector.py.

Ah I see. That path is set up for running inside a container, which mounts the directory tree under /code inside the container.

I made the change you requested, since the relative path also works inside the container.


car servicing station

hi

hello

chat here

We can code by using vs code

And we can use any language over there to code like Java, python, c,c++,etc

It's better to NOT use vs studio, since ultimately we have to run the code on IDLE Python only. So we should use github for coding and execute in default IDLE Python itself.

How ,

I don't know how to do that in github , to use python as default to code?

I meant to use the regular app IDLE, like we do in computer labs, not on github.

Ok we will do code individually and send the idle file to check whether the code is correct or not

Send your profile to lalit sir and told them to join this pull request

 now how can I edit this code ?


Facing OOM while running TF models

Description
I'm running 4 models using NVIDIA triton inference server and see 465MB (FB memory usage) of free memory after all 4 models are loaded/ warmed up (at least called for one inference request by client each). It runs successfully for some time, but suddenly in between it starts resulting in OOM issues. Though the container heals itself and starts running successfully afterwards, but the OOMs are worrisome for production environment. I've faced 4 individual timespans with OOMs during a 12 hour run.
Triton Information
What version of Triton are you using?
tritonserver:20.03-py3
Are you using the Triton container or did you build it yourself?
Using Triton container
To Reproduce
Steps to reproduce the behavior.
Load TF models which takes up memory leaving around 465MB free memory after loading up/serving one request at least. Keep calling the inference requests for some time. OOM will be seen for once or more.
Describe the models (framework, inputs, outputs), ideally include the model configuration file (if using an ensemble include the model configuration file for that as well).

Tensorpack's Mask R-CNN models.
Config file : config.pbtxt.txt

Expected behavior
A container with 465MB of free space after serving inference requests for same models shouldn't run into OOM issues.

TF dynamically allocates memory to perform inference... and it is likely that the amount of memory needed can vary over the lifetime of a given inference execution. So the high-water allocation will occur when all 4 models are simultaneously running inferences (and perhaps even when each inference is in a particular part of the execution). The dynamic allocation will also increase with larger batch sizes in the requests.
Do you see OOM if you do 1 request at a time across the 4 models? 2 at a time? You can use multiple simultaneous runs of perf-client to put a lot of simultaneous model load on the server.
Characterizing model memory usage is a difficult problem but we are working on a characterization tools that may help in cases like this to understand what the high-water memory usage is and so understand which models can co-exist.

No I don't see OOM issue until I start simultaneous requests to all 4 models. It works fine till any 3 simultaneous models are called.

So then it appears that the high-water allocation of running all 4 models at the same time exceeds the GPU memory available.  See https://github.com/NVIDIA/triton-inference-server/issues/1507#issuecomment-630926105 for some comments on how Triton may be able to handle this problem in the future.


gitls: init at 1.0.3

Description of changes
Tools to enumerate git repository URL
https://github.com/hahwul/gitls
Related to #81418

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

gitls


Only first repeat executed, remaining ignored

I have the follow model:
{
      "fruits": [
          "{% repeat 15 %}",
          {
              "id":"{% index %}",
              "fruit": "Apple",
              "count":"{% integer 0 1000 %}",
              "region":["{% random %}","East","West","North","South","Central"],
              "origin":"{% country %}",
              "website":"{% url %}",
              "mission":"{% sentence %}",
              "description":"{% paragraph %}"
          },
          "{% repeat 25 %}",
          {
              "id":"{% index %}",
              "fruit":"Orange",
              "count":"{% integer 0 1000 %}",
              "region":["{% random %}","East","West","North"],
              "origin":"{% country %}",
              "website":"{% url %}",
              "mission":"{% sentence %}",
              "description":"{% paragraph %}"
          },
          "{% repeat 10 %}",
          {
              "id":"{% index %}",
              "fruit":"Grapefruit",
              "count":"{% integer 0 1000 %}",
              "region":["{% random %}","East","West","North","South"],
              "origin":"{% country %}",
              "website":"{% url %}",
              "mission":"{% sentence %}",
              "description":"{% paragraph %}"
          }
      ]
  }

And what i'd like is to have apples, then oranges, and finally grapefruits generated in the array. When run, however, it completes the apple's without error but does not go on to expand the other "repeats".

I was looking at the code and maybe the easiest way to achieve the desired result would be:
{
    "fruits": [
        "{% repeat 15 20 5 %}",
        {
            "id":"{% index %}",
            "fruit": "Apple",
            "count":"{% integer 0 1000 %}",
            "region":["{% random %}","East","West","North","South","Central"],
            "origin":"{% country %}",
            "website":"{% url %}",
            "mission":"{% sentence %}",
            "description":"{% paragraph %}"
        },
        {
            "id":"{% index %}",
            "fruit":"Orange",
            "count":"{% integer 0 1000 %}",
            "region":["{% random %}","East","West","North"],
            "origin":"{% country %}",
            "website":"{% url %}",
            "mission":"{% sentence %}",
            "description":"{% paragraph %}"
        },
        {
            "id":"{% index %}",
            "fruit":"Grapefruit",
            "count":"{% integer 0 1000 %}",
            "region":["{% random %}","East","West","North","South"],
            "origin":"{% country %}",
            "website":"{% url %}",
            "mission":"{% sentence %}",
            "description":"{% paragraph %}"
        }
    ]
}

I would put in a PR but I don't know Python and have never developed and Sublime package before.

Although of the two grammers, the first one seems more descriptive and flexible as it would allow for some static fixture data do co-exist with the dynamically generated data.

I went with the first syntax you suggested (f6027ce6a81c86c2a957b65e2517d78f0a07fe12)
I need to do a little more testing, but I should be able to publish a new release with this change this week.


If you have enough number of threads , the "+" (assistant dropdown) and collapse options get hidden.

Electron build - bf86f18e1c
Steps to reproduce the problem:

Have lot threads in chat view .
Scroll to the last thread.

Notice thar the "+" (assistant dropdown) and collapse options get hidden.

Expected behavior:
These options should be pinned.

This issue is not seen anymore when testing with latest electron build from 74f356


Replace OpenCL buffer rectangular copies in kernels with API calls

Description
When doing copies of a 2D buffer, you can use the OpenCL provided enqueueCopyBufferRect.
This provides a ~50% reduction when copying smaller chunks, less of speedup at larger sizes (see google benchmark results below). Our implementation of the Cholesky decompose does quite a number of these smaller copies so this is worthwhile. This can be used in both sub_block as well as copy.
Example
There will be no changes to the API, all under the hood. Listing benchmark results here:
Copies of rectangular shape with varying offset. All in the form A(0:size, 0:size) = B(offset:size, offset:size). The first listed number is the dimension of B, the other is the offset.

Current Version:
v2.19.0

Nice! I've been thinking also about using sub-buffers for Cholesky. Since the data comes in column major order I'm pretty sure we could use sub-buffers in the cholesky comp since the algo goes from left to right along the columns. Then I think we could get rid of the sub blocks stuff

Agreed, this is both far from the bottleneck of the Cholesky, but still worth an overdue cleanup.


futurerestore 198 failed build

Making all in futurerestore
make[2]: *** No rule to make target ../external/idevicerestore/src/libidevicerestore.la', needed by futurerestore'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This is not an Inferius issue.

Yeah, but infernus requires the special futurerestore and after build does not recognize


Chip rendering problem with adding some special Arabic characters to the text end

Salam everyone,
I have an issue with Chip widget when I add these characters like this "  ً " to the end of the text in the Arabic language
Wrap(
      spacing: 10,
      children: widget.titles.map((e) => ChoiceChip(
          label: Text('ًمدفوع جزئيا'),
          labelStyle: TextStyle(color: _isSelectedList[widget.titles.indexOf(e)] ? Colors.white : Colors.blue),
          selected: _isSelectedList[widget.titles.indexOf(e)],
        onSelected: (bool value) {
          if(value) {
            setState(() {
              _isSelectedList.fillRange(0, widget.titles.length, false);
              _isSelectedList[widget.titles.indexOf(e)] = value;
              widget.onItemSelected(e);
            });
          }
        },
      )).toList()
    );

Like this:

The issue is gone when I remove the special character from the end of the text, like this:

Hi @sarakisar, I tried adding the special character "  ً " to the Arabic text at the end, But the text seems to render fine. Please share a minimal and complete code sample along with the output of flutter doctor -v.

code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, required this.title}) : super(key: key);
  final String title;
  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;
  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: SingleChildScrollView(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Wrap(spacing: 10, children: [
              for (int i = 0; i < 10; i++)
                ChoiceChip(
                  label: Text('ًمدفوع جزئيا ً'),
                  selected: i.isEven,
                  onSelected: (bool value) {},
                )
            ])
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.2, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.2 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cd41fdd495 (5 days ago), 2022-06-08 09:52:13 -0700
    • Engine revision f15f824b57
    • Dart version 2.17.3
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.42.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 102.0.5005.61

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

This should be fixed on the Flutter master branch.
As a workaround, you can also try reverting to the old Libtxt text rendering library (see https://github.com/flutter/flutter/issues/103846#issuecomment-1136334771)

@sarakisar Can you please verify the issue on latest master branch as mentioned above? You may switch to master channel by running
flutter channel master
flutter upgrade

@maheshmnj It works on the master branch, thank you so much!


Update ci.yml

jar in actions thing

??

??

bro its adding jar to actions tab you need it im sure


Can spam yourself with audio on the quiz

On both the questions and the answers you can spam yourself

This happens as well on the Phrases fragment. When typing in a phrase it spams you on text changed.

Fixed Phrases typing spam, but still adding TTS to a never ending queue

solved by good ol chatgpt
To prevent the TextToSpeech queue from getting filled with requests when the button is clicked multiple times, you can check if the TextToSpeech engine is speaking before calling the speak() method. You can achieve this by using the isSpeaking() method provided by the TextToSpeech class.
Here's an example of how you can modify the code to check if the TextToSpeech engine is speaking before calling the speak() method:
scss
Copy code
if (mAnswerSetting.toString() == getString(R.string.answer_format_value_french_audio) ||
mAnswerSetting.toString() == getString(R.string.answer_format_value_french_text)) {
val frenchText = answerPhrase.phraseFrench
if (!mTextToSpeech.isSpeaking) {
mPhrasalUtil.useTextToSpeech(frenchText)
}
}
fun useTextToSpeech(frenchText: String) {
mTextToSpeech.setSpeechRate(1.0F)
mTextToSpeech.speak(frenchText,
TextToSpeech.QUEUE_ADD,
null)
}
In the modified code, we check if the TextToSpeech engine is speaking by calling the isSpeaking() method before calling the speak() method. If the TextToSpeech engine is not speaking, we call the useTextToSpeech() method to speak the French text.
By adding this check, you can prevent the TextToSpeech queue from getting filled with requests when the button is clicked multiple times in a row.


GPMDP shows the wrong language when YTM is enabled

OS:
Ubuntu 19.10
GPMDP Version:
4.7.1
Issue Descriptions:
The language reverts to Norwegian even though I've set English in my Google account and on the login screen on the application (this also reverts back to Norwegian if I relog). There is a similar closed issue here, but that's about GPM and GPM works fine for me.
When I log in using GPMDP, I can select which "sub account" to use, and the dialog is placed on top of the Youtube UI, and I can clearly see a language dropdown button and Norwegian is selected, but I can't actually click on it, as shown here:

I can describe it a bit more.
My Settings explicitly says to use English language.
But when i'm on YTM, main window get's UI based on Country IP.
Checked on VPN in different countries.


"Clean Up Storage" Plugin is currently non-operable on my system

Issue: When clicking on "Clean Up System" Plugin, it fails with the following error screen:

System: Windows 11
Winpilot: Fresh Download

As a further note, here is the plugins folder as it currently exists on my system. It looks like there may be another plugin or two that isn't present.


riot-rs-embassy: Use locally admin MAC addresses

We're not Sillicon Laboratories, don't claim to be a device from them

Thanks!


ArgumentError at Size.- at dart:ui- in  platform

https://buganizer.corp.google.com/issues/170164827.

Upstream issue is closed with "Status: Won't Fix (Obsolete)"
Closing this issue as there is no response regarding the crash.


th compressed in bootstrap tabpanel

this is bug, feature or my mistake? :)
http://jsfiddle.net/muruadvm/
before scrolling second tab look like:

+1
I'm having this problem too,
and it will get worse with scrollContainer()

this is very related
https://github.com/mkoryak/floatThead/issues/116

You are right .. thanks for the answer ...

thanks

but here http://jsfiddle.net/qj93cz1n/7/ in chrome if you change window width and change nav tab this don't work:

oh ! i didn't know that ...
is there a clear-way to fix that issue ?

thats what reflow is for:
http://jsfiddle.net/qj93cz1n/14/

actually, that example is needlessly complicated, all you need to do is reflow the plugin when the tab is shown:
http://jsfiddle.net/muruadvm/1/

great, thanks.


undefined is not an object (evaluating 'PropTypes.array')

I'm getting this error on import - I'm running react-native 0.26 (I have another project running react-native 0.25 where I didn't run into this issue)

that may be because of the depracations for migrating to that version..
point to the master repo in your npm package and run npm update.. the fix should be there for now
https://github.com/magus/react-native-facebook-login
we have not published to npm as yet

any chance to release just this fix as patch release any soon? should be safe enough.

version 1.2.0 released


Can a Sneakers Runner co-exist with Delayed Job in same process?

Hi, I have bunch of rails applications that are using RabbitMQ and Sneakers already for communication. One of the applications needs to run a Sneakers Worker to consume messages, but it was already written to use Delayed Job for scheduling jobs to run at some time in the future. I first attempted to use Sneakers for ActiveJob, but ran into the issue that the sneakers backend does not support scheduling jobs. But I don't want to have both a delayed job worker process running in addition to a sneakers worker process running. Is there a way to combine them into one process? Could I make my own worker script that kicks off both Delayed Job and Sneakers in their own threads? I saw this link:
https://github.com/jondot/sneakers/wiki/Running-With-Sneakers
It seems I would need to start the Sneakers::Runner in it's own thread - would that work with delayed job running in another thread?
Thanks!
Greg

Answered my own question - it works!
I made a rake task with the following:
`namespace :worker do
desc "run delayed job and sneakers workers"
task work: :environment do
threads = []
threads << Thread.new do
Delayed::Worker.new.start
end
threads << Thread.new do
  Sneakers::Runner.new([MeetingSyncWorker]).run
end

threads.each { |thr| thr.join }

end
end`


cached_property

Hi im getting this issue here - not sure what it is ? Is it something that is needed to be fixed?
Logger: homeassistant.backports.functools
Kilde: helpers/deprecation.py:197
Første forekomst: 13.23.34 (1 forekomster)
Senest logget: 13.23.34
cached_property was used from thermiq_mqtt, this is a deprecated alias which will be removed in HA Core 2025.5. Use functools.cached_property instead, please report it to the author of the 'thermiq_mqtt' custom integration

Fixed in v2.6.7


ScrollView with overflow visible style works incorrectly on android

Description
ScrollView with overflow visible style works incorrectly on android. I think generally when someone writes overflow: visible and for example vertical={true}, that someone is expecting to have vertical scroll and horizontal overflow visible, or vice versa. In any case, the overflow visible property shouldn't be breaking the scroll view's expected behavior. At the very least, I think ios, android and web should all be consistent from what react-native promises, so since ios and web work correctly, I think we should make sure android work the same way. If you think android's behavior is totally correct, than I think ios and web should act the same way too.
As far as I see on the react native documentation it doesn't include the style property for ScrollView at all, but it is there in @types/react-native, so if for some reason it is discouraged to use style for ScrollView, then maybe you should consider removing or deprecating the style property for scroll view?
React Native Version
0.69.5
Output of npx react-native info
System:
OS: Windows 10 10.0.22621
CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900HK
Memory: 9.71 GB / 63.69 GB
Binaries:
Node: 14.21.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
npm: 6.14.17 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 25, 26, 27, 28, 29, 30, 31, 33
Build Tools: 23.0.1, 23.0.3, 24.0.3, 25.0.3, 26.0.3, 27.0.3, 28.0.3, 29.0.3, 30.0.3, 31.0.0, 33.0.1
System Images: android-23 | Google APIs Intel x86 Atom, android-31 | Google APIs Intel x86 Atom_64
Android NDK: 21.4.7075529
Windows SDK:
AllowAllTrustedApps: Enabled
Versions: 10.0.14393.0, 10.0.16299.0, 10.0.17134.0, 10.0.17763.0
IDEs:
Android Studio: AI-221.6008.13.2211.9477386
Visual Studio: 15.9.33403.129 (Visual Studio Community 2017), 17.5.33414.496 (Visual Studio Enterprise 2022), 15.9.33403.129 (Visual Studio Enterprise 2017)
Languages:
Java: 11.0.18 - /c/Program Files/Common Files/Oracle/Java/javapath/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: git+https://skype.visualstudio.com/TPS/_git/facebook_react_native#a877c2e58f197a2c75824d597cdb93f601570b29 => 0.66.4
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
This is my local output, but as you can see it is reproducible on snack.expo too.
Steps to reproduce
To reproduce bug you should:

Create the Scroll View.
Give scroll view overflow: visible style.
Add multiple children to the scroll view.
Make sure one of the child has larger width than the android screen that you're going to test on.
Open the app and scroll to the end, the last child will be cut off.

Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@levani132/great-pudding?platform=android

It works the same way in the latest version too, as it can be seen on the expo.


Prepare for 0.1.0 release

Description

Update user guide for 0.1.0 release
Update changelog for release

Status
Work in progress
Types of changes

[ ] Non-breaking change (fix or new feature that would not break existing functionality).
[ ] Breaking change (fix or new feature that would cause existing functionality to change).
[ ] New tests added to cover the changes.
[ ] All tests passed locally by running ./src/run-tests-in-docker.sh.
[ ] Documentation comments included/updated.
[ ] User guide updated.
[ ] I have updated the changelog

Approved!


Added a GitTest Class

Pull request test to add a new class.

Added a new Class for git testing purposes


Where does bookmark store its data? Mac OS X

Great little program.  Like the simpicity of this one. Where is the data file?

NVM found it .bookmark

NVM found it .bookmark


File input support

Hi all,
Just wanted to say great job on this so far, support for file inputs would be quite helpful!

Has this functionality been added in master yet?


Quarto with ojs?

Python support looks like it works- but what about other languages like ojs or R?

Actually easy fix:
https://github.com/jspaezp/mkquartodocs/blob/e5c3f825f86645f13f57bc0789f64c4db2f3863b/mkquartodocs/plugin.py#L85
To
 [quarto, "render", str(x), "--to=hugo-md"], check=True

Hi there! thanks for pointing this out! I will do some testing and implement that!
(sorry for the late reply ... not sure why I didnt see this notification earlier)

** So that was particular to ojs- I didn't try with R
I was thinking about forking this project to integrate with marimo: https://github.com/dmadisetti/quarto-marimo
which I sort of have working with Quarto here: https://github.com/marimo-team/marimo

I think a user provided Quarto command would solve both cases

I guess the underlying question is why/how the quarto render using --to=markdown is different from --to=hugo-md ... since all the code execution is handled directly by quarto (and this extension just converts some details to make it compatible with mkdocs).

I was thinking more like the quarto_path option that already exists. So nevermind, but yes. In my experience using this, hugo-md seems more compatible

Wanted to circle back on the state of this ..
Long story short ... the change would be larger than I can tackle right now. The rendering using hugo breaks most of the other features I have enabled in this package (attaching screenshots). I can think of re-designing the plugin itself so it supports both flavors of markdown but it entails re-implementing several of the post-processing steps and a dramatic increase in testing (I am not saying no ... I am saying I cannot right now). I am sorry I cannot help you right now with this feature.
Hugo:

Markdown:

Regarding R support ... it was also a bit trickier than I expected ... BASICALLY ... pure python qmd's render using jupyter, whilst R+python qmd's render using rmarkdown+reticulate, so I would need to add some extra parameters to make sure the version of python passed to reticulate is the virtual env of interest, not the system python. This one feels a bit less disruptive.
If you drop an OJS example It would be great to have a future reference for future.
Thank you so much for the interest in the project and I will try my best to make time to implement this features!

I have had this working locally with ojs and python for a few months now. I can push what I have- if you are interested, I don't exactly remember what other tweaks I did
But thanks for taking the feedback seriously!

Well if you have a PR I would be glad to review and merge it!


DTS 2159378: Fix AggregateError--Part 3

Task name: AzureFunctionAppContainerV1, AzureMysqlDeploymentV1, AzureWebAppContainerV1, AzureAppServiceManageV0, AzureVmssDeploymentV0
Description: DTS 2159378
Documentation changes required: Y
Added unit tests: N
Attached related issue: DTS TASK 2159378
Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

/azp run


Update 711 carrier in Afghanistan to AWCC (AF, +93)

Please read the "guidelines for contributing" (linked above) and fill in the template below.
Country/region affected (e.g., "US"): "AF"
Example number(s) affected ("+1<PHONE_NUMBER>"): "+93711805114"
The phone number range(s) to which the issue applies ("+1 555 555-XXXX"): "+93711XXXXXX"
The type of the number(s) ("fixed-line", "mobile", "short code", etc.):  "mobile"
The cost, if applicable ("toll-free", "premium rate", "shared cost"):
Supporting evidence (for example, national numbering plan, announcement from mobile carrier, news article): IMPORTANT - anything posted here is made public. Read the guidelines first!
National Numbering Plan:
http://www.itu.int/dms_pub/itu-t/oth/02/02/T02020000010002PDFE.pdf
link to demo

@uppaljs,
Thank you for using libphonenumber!
Please upgrade to the latest release, this is not a live issue. To check the latest behavior for yourself, see the demo (instructions in our contribution guidelines).

Hi,
The problem is with the Carrier , The Carrier is AWCC as per the numbering plan attached- but in the demo its showing up as empty.

@uppaljs,
Thanks for pointing it out :). We've accepted this issue and will fix this in an upcoming release.
Please note that you have submitted this information with the knowledge that we may use, modify, reproduce, publicly display, and distribute the information in accordance with our open source policies. Please let us know if you did not intend to submit the information for such use.

This is fixed in release 8.1.0
https://libphonenumber.appspot.com/phonenumberparser?number=%2B93711805114


KL Divergence for Independent

For parametrizing an axis aligned Gaussian you are using a Normal wrapped into an Indepedent, and add a patch for the undefined KL diveregence.
I was wondering isn't it possible to achieve the same (axis aligned multivariate gaussian) using a MultivariateNormal instance? For example:
mu = torch.zeros(batch_size, latent_dim)
log_sigma = torch.ones(batch_size, latent_dim)
cov = torch.stack([torch.diag(sigma) for sigma in torch.exp(log_sigma)])

mvn = MultivariateNormal(mu, cov)

mvn.batch_shape, mvn.event_shape
(torch.Size([batch_size]), torch.Size([latent_dim]))
considering KL is defined for a (MultivariateNormal, MultivariateNormal)

closed. see discussion here: https://github.com/stefanknegt/Probabilistic-Unet-Pytorch/issues/1


build: support multiple head tags

When we tag with no changes, we should pick the latest annotated tag.

Description

Motivation and Context

Regression

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added unit tests to cover my changes.

bors merge


Improve UX of the inmanta project/module update command

Description

This PR improves the UX of the inmanta module update and the inmanta project update command by printing a descriptive message to stderr when the command fails.
The default log level of the inmanta commandline tool was changed from ERROR to WARNING.

closes #3911
Self Check:

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Merged into branches master in 045a7105f7f64ef62a5fefa33817841f6ac8a86c

This branch was not deleted as it seems to still be in use.

Processing #4231.


link target from about section seems to be down

link target from about section seems to be down:
in right head corner on https://github.com/beenotung/ts-liveview

About
Build hybrid SSG and SSR realtime SPA/MPA with Typescript
liveviews.cc

Its up again :-)
closing...


Make quic_api works better on communicating with MsQuic

Fix the pending error in quic_api when communicating with MsQuic.
Using an extra buffer to store remaining Event->RECEIVE.Buffer in MsQuic.
Better mode to receive data (recv_start and recv_cb)

got severe issue on sending msg upwards

too much bugs here


Fetch historical prices broken

Simple issue with using API call to fetch historical prices. Sorry if this has been reported?
from datetime import datetime, timedelta

start_date = datetime.now() - timedelta(hours=24)
end_date = datetime.now()
p_res = ig_service.fetch_historical_prices_by_epic_and_date_range('CS.D.EURUSD.CFD.IP', '1Min', start_date, end_date, ig_session)

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/trading_ig-0.0.6-py3.4.egg/trading_ig/rest.py", line 876, in fetch_historical_prices_by_epic_and_date_range
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/trading_ig-0.0.6-py3.4.egg/trading_ig/rest.py", line 207, in _req
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/trading_ig-0.0.6-py3.4.egg/trading_ig/rest.py", line 124, in req
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/trading_ig-0.0.6-py3.4.egg/trading_ig/rest.py", line 95, in read
TypeError: get() takes no keyword arguments

Process finished with exit code 1

No it has never been reported.
But here is a "roadmap"  https://github.com/ig-python/ig-markets-api-python-library/issues/37#issuecomment-325411119
So contributions are welcome.

I have been able to reproduce this issue and I'm guessing it is caused by an incompatible object being passed as the final argument (ig_session)
The get() takes no keyword arguments is misleading.
If session is being specified, it needs to be the "session" object created during login.
To be clearer, this code works for me:
ig_service = IGService("demouser", "pass", "apikey", "DEMO")
ig_session =  ig_service.session
.....
p_res = ig_service.fetch_historical_prices_by_epic_and_date_range('CS.D.EURUSD.CFD.IP', '1Min', start_date, end_date, ig_session)

As far as I am aware, the ig_session parameter/argument is only needed if there is more than one active connection.
I will make an update to make a meaningful error if the correct parameter type is not used.


[NPM] Network Policy does not Block Pods accessing Worker Node Ports in which Pods are scheduled

Is this a request for help?:
No
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
Which release version?:
v1.1.2
Which component (CNI/IPAM/CNM/CNS):
NPM
Which Operating System (Linux/Windows):
v1.16.8   Ubuntu 16.04.6 LTS   4.15.0-1083-azure   docker://3.0.10+azure

Which Orchestrator and version (e.g. Kubernetes, Docker)
Kubernetes AKS
What happened:

Blocks Pods accessing  other worker nodes Ports except in which the pod is scheduled.

What you expected to happen:

Require to Block Pods accessing all Worker Nodes Ports.

Network Policy
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-egress-network-policy
  namespace: test-netpol
spec:
  egress:
  - to:
    - ipBlock:
        cidr: <IP_ADDRESS>/0
        except:
        # Private IP CIDRs
        - <IP_ADDRESS>/8
        - <IP_ADDRESS>/16
        - <IP_ADDRESS>/12
       # Azure VM meta data URL
        - <IP_ADDRESS>/32
  - ports:
    - port: 53
      protocol: UDP
    to:
    - namespaceSelector:
        matchLabels:
          addonmanager.kubernetes.io/mode: Reconcile
      podSelector:
        matchLabels:
          k8s-app: kube-dns
  podSelector: {}
  policyTypes:
  - Egress

Debug Tool used.
https://github.com/Mirage20/k8s-debug-tools
❯ kubectl run debug-tools --image=mirage20/k8s-debug-tools --restart=Never -n test-netpol

❯ kubectl get nodes -o wide
NAME                                STATUS   ROLES   AGE    VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
aks-defaultnp-49312751-vmss000006   Ready    agent   16d    v1.16.8   <IP_ADDRESS>    <none>        Ubuntu 16.04.6 LTS   4.15.0-1083-azure   docker://3.0.10+azure
aks-defaultnp-49312751-vmss00000e   Ready    agent   2d3h   v1.16.8   <IP_ADDRESS>   <none>        Ubuntu 16.04.6 LTS   4.15.0-1083-azure   docker://3.0.10+azure

❯ kubectl get po -o wide -n test-netpol
NAME          READY   STATUS    RESTARTS   AGE   IP            NODE                                NOMINATED NODE   READINESS GATES
debug-tools   1/1     Running   0          65s   <IP_ADDRESS>   aks-defaultnp-49312751-vmss00000e   <none>           <none>

❯ kubectl exec -it debug-tools -n test-netpol -- bash
root@debug-tools:/# telnet <IP_ADDRESS> 22
Trying <IP_ADDRESS>...

^C
root@debug-tools:/# telnet <IP_ADDRESS> 22
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8
^C^C
Connection closed by foreign host.
root@debug-tools:/#

Anything else we need to know:
Type (plugin) Advanced  : (Azure CNI)
Service CIDR                    : <IP_ADDRESS>/16
DNS service IP                 : <IP_ADDRESS>
Docker bridge CIDR         : <IP_ADDRESS>/16
Network policy                 : Azure

AKS Subnet CIDR
<IP_ADDRESS>/18

Hi, would you be able to verify if this is still the case in the latest release? We've moved the ACCEPT entry for RELATED,ESTABLISHED traffic under all of the other NPM chains. My guess is that the docker container to host traffic is considered RELATED.

@jaer-tsun , this issue is in NPM 1.1.2 release.
    image: mcr.microsoft.com/containernetworking/azure-npm:v1.1.2
    imageID: docker-pullable://mcr.microsoft.com/containernetworking/azure-npm@sha256:8487911471ab7abd9116bb407d78b05721791eb48169e75f99201badc430c0db

Yup, but I we've released v1.1.4 recently with changes that may resolve this issue.

I have raised a support ticket to Azure, asking to upgrade NPM version in AKS.

@jaer-tsun , roll out of v1.1.4 to AKS globally would be done in first week of July according to Azure Support. Will try to reproduce this once the release is availabe.

Azure AKS NPM 1.1.4 was rolled out to one of our AKS clusters finally.
  containerStatuses:
  - containerID: docker://7ee80dc20afb229ef8110eb818eb19c43e31803d6c0c37797d91393591b012b8
    image: mcr.microsoft.com/containernetworking/azure-npm:v1.1.4
    imageID: docker-pullable://mcr.microsoft.com/containernetworking/azure-npm@sha256:d1ef2bebbb62bf9f97c7d51d6d799c673d638b78ac4eae51c71268b1bbab9209

But the issue still persists,
❯ kubectl get nodes -o wide
NAME                                STATUS   ROLES   AGE     VERSION   INTERNAL-IP    EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
aks-defaultnp-32130788-vmss00001c   Ready    agent   5d22h   v1.16.8   <IP_ADDRESS>     <none>        Ubuntu 16.04.6 LTS   4.15.0-1089-azure   docker://3.0.10+azure
aks-defaultnp-32130788-vmss00001d   Ready    agent   5d22h   v1.16.8   <IP_ADDRESS>   <none>        Ubuntu 16.04.6 LTS   4.15.0-1083-azure   docker://3.0.10+azure
aks-defaultnp-32130788-vmss00001e   Ready    agent   3d18h   v1.16.8   <IP_ADDRESS>    <none>        Ubuntu 16.04.6 LTS   4.15.0-1083-azure   docker://3.0.10+azure

❯ kubectl run debug-tools --image=mirage20/k8s-debug-tools --restart=Never
pod/debug-tools created

❯ kubectl get po -o wide
NAME          READY   STATUS    RESTARTS   AGE    IP             NODE                                NOMINATED NODE   READINESS GATES
debug-tools   1/1     Running   0          3m4s   <IP_ADDRESS>   aks-defaultnp-32130788-vmss00001d   <none>           <none>

❯ kubectl exec -it debug-tools -- bash
root@debug-tools:/#

root@debug-tools:/# telnet <IP_ADDRESS> 22 # node pod is scheduled
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8
^C
Connection closed by foreign host.

root@debug-tools:/# telnet <IP_ADDRESS> 22 # node pod is not scheduled
Trying <IP_ADDRESS>...

It doesn't look like the pod is in the same namespace as network policy

@jaer-tsun I can confirm the pod is in the same namespace as the netpol is applied.


pywintypes.error: (193, 'GetBinaryType', '%1 is not a valid Win32 application.')

my codes like this:
import pywinauto
file = r'\\gentoo\data\windows_soft\python\7z1602.exe'
app = pywinauto.application.Application().start(file)
I got this error message when the file in a network drive.

Hi @meng89, did you try the same file for subprocess.call(file, shell=True)? Is that working?

@vasily-v-ryabov , I am sorry for answering so late.
Yes, subprocess.call(file, shell=True) worked.
After some tests, I found out this error only come out when the file is share via Samba.
Sorry to bother you.

If you map this share as a network drive, it works.
It's a bounding of win32file.GetBinaryType function (it doesn't handle UNC paths).


Cannot insert RoundPipe Element with its parent as Network Element

So I am able to successfully add my network element, but then I drop down to the component relations and try to read them and insert them into the database while indicating their their parent element is the Network.  To do this, just after inserting the Network, I grab its returned id value and pass it to the function to add the RoundPipe element.  It fails on the first element, complaining that:
NOTICE:  citydb_pkg.utn9_insert_network_feature (id:44420): insert or update on table"utn9_network_feature" violates foreign key constraint "utn9_ntw_feat_utn_ntw_feat_fk1"
NOTICE:  citydb_view.utn9_insert_ntw_feat_distrib_elem_pipe_round(): control reached end of function without RETURN
ERROR:  control reached end of function without RETURN
CONTEXT:  PL/pgSQL function citydb_view.utn9_insert_ntw_feat_distrib_elem_pipe_round(integer,character varying,character varying,character varying,character varying,character varying,geometry,timestamp with time zone,timestamp with time zone,character varying,character varying,timestamp with time zone,character varying,character varying,character varying,integer,integer,character varying,character varying,character varying,date,character varying,character varying,character varying,integer,integer,geometry,character varying,numeric,numeric,character varying,numeric,character varying,numeric,character varying,numeric,character varying,character varying)

(above output is from PgAdmin when trying to manually insert, even when the Network is indeed in the database.)
Since I'm using "smart" inserts and not specifying the id explicitly, you don't see the ids.  So I rigged u pthe python script to spit out the id of the parent feature before trying the second.  This is the output before failing:

b"
        SELECT citydb_view.utn9_insert_network(
        id := NULL,
        gmlid := 'NetworkID_4a42ef3a-14a5-11e8-a94b-7824afca2075',
        gmlid_codespace := NULL,
        name := NULL,
        name_codespace := NULL,
        description := NULL,
        envelope := NULL,
        creation_date := NULL,
        termination_date := NULL,
        relative_to_terrain := NULL,
        relative_to_water := NULL,
        last_modification_date := NULL,
        updating_person := NULL,
        reason_for_update := NULL,
        lineage := NULL,
        network_parent_id := NULL,
        network_root_id := NULL,
        class := NULL,
        function := 'distribution',
        usage := 'distribution',
        commodity_id := NULL,
        schema_name := 'citydb');
    "
PARENT ID OF LAST INSERTED FEATURE: 44419
RELATION: component
b"
        SELECT citydb_view.utn9_insert_ntw_feat_distrib_elem_pipe_round(
        id := NULL,
        gmlid := 'RoundPipeID_4e80843c-14a5-11e8-a94b-7824afca2075',
        gmlid_codespace := NULL,
        name := NULL,
        name_codespace := NULL,
        description := NULL,
        envelope := ST_Envelope(ST_GeomFromText('LINESTRING Z<PHONE_NUMBER>99994 5450370.83199954<PHONE_NUMBER>02332,426683.311999993 5450370.80149954<PHONE_NUMBER>8932)', NULL)),
        creation_date := NULL,
        termination_date := NULL,
        relative_to_terrain := NULL,
        relative_to_water := NULL,
        last_modification_date := NULL,
        updating_person := NULL,
        reason_for_update := NULL,
        lineage := NULL,
        ntw_feature_parent_id := 44419,
        ntw_feature_root_id := NULL,
        class := NULL,
        function := 'distribution',
        usage := NULL,
        year_of_construction := NULL,
        status := 'inUse',
        location_quality := NULL,
        elevation_quality := NULL,
        cityobject_id := NULL,
        prot_element_id := NULL,
        geom := ST_GeomFromText('LINESTRING Z<PHONE_NUMBER>99994 5450370.83199954<PHONE_NUMBER>02332,426683.311999993 5450370.80149954<PHONE_NUMBER>8932)', NULL),
        function_of_line := NULL,
        is_gravity := NULL,
        ext_width := NULL,
        ext_width_unit := NULL,
        ext_height := NULL,
        ext_height_unit := NULL,
        ext_diameter := NULL,
        ext_diameter_unit := NULL,
        int_diameter := NULL,
        int_diameter_unit := NULL,
        schema_name := 'citydb')
    "

As you can see, I have specified the RoundPipes id to be 44419, but it still fails.  Is this not the correct way to establish the parent-child relationship between Network elements and their component children? If it is, then "utn9_ntw_feat_utn_ntw_feat_fk1" is the culprit somehow.

It is not a bug, you are doing a conceptual mistake.

Check the UML diagram

UTN Core
Between network and network_feature there is a many-to-many relation. This is implemented by means of the association table utn9_network_to_network_feature.
Hence, you first enter the network, then the network_feature, and then you fill the association table.
Simplified example:
WITH n AS (
SELECT citydb_view.utn9_insert_network(
name:='network_1'
) AS ntw_id
),
nf AS (
SELECT citydb_view.utn9_insert_ntw_feat_distrib_elem_pipe_round(
name := 'ntw_feature_1',
function := 'distribution',
status := 'inUse'
) AS ntw_feat_id
)
SELECT citydb_pkg.utn9_insert_network_to_network_feature(n.ntw_id, nf.ntw_feat_id) FROM n, nf

As the name says, the ntw_feature_parent_id contains the id of the parent network FEATURE! ;-)
This is implemented to allow for nested network_features (relation "consistsOf").

PS. please note that there are not insert functions for the associations tables in the citydb_view package.
You can use those in the citydb_pkg schema, however.


Pull changes from tcalmant

These are a set of minor changes from the other major fork of JPype.  Although the master is not mergeable, I scanned the entire source to determine what if anything we have not yet overrun.
Thus far there were very minor differences in the API.

JProxy uses dictionary rather than dict as its kwarg
cygwin contains an extra function for reprocessing the JVM arguments
minor differences in the C++ layer from the branch point
renames and such

I pulled the test bench from that fork into our own and ran it with only the one API difference being hit.
As the code is not mergeable I replicated the relevant changes in the C++ layer.  (removed direct access to Python structure rather than using macro, and error reporting for arrays.)
See Thrameos/jpype#41 and tcalmant/jpype-py3#28
I think that tcalmant fork can safely be repointed back to the org copy.  Now I just need to understand the  ha_JPype1  fork.  I personally find it rather antisocial to fork an active project, change the maintainer pointer, add one to the version number and then push it out to the distributions.

Thanks for taking a look. It would be best to bundle the effort for this project.


dojo-bot: Discord/Telegram notification

A one-click bot deployment with minimal config which allows you to configure notifications will be essential for worlds.
The indexer will expose this information, so maybe a rust bot that simply listens to the ws events is the easiest path.
This task is dependent on the indexer being completed.

Let's also include a LLM natural language query system

I think this is outside the scope of the dojo core project here but could make an interesting complementary project

it should be built off the back of the general notification system

yes agreed - will close here


Dynamic import

I'd love to try this library out for Mastodon, to see if it helps with compile time, but currently I'm stuck on dynamic import() calls throwing an error.

@Gargron I implemented parsing and code generation of dynamic imports. I were not sure how to process it, but webpack seems to handle it.
Fixed with<EMAIL_ADDRESS>

Amazing, thank you!

I'm sorry, I have upgraded to 1.0.3, and modified .swcrc like this:
{
  "jsc": {
    "parser": {
      "syntax": "ecmascript",
      "jsx": true,
      "dynamicImport": true
    }
  }
}

Unfortunately, I still get:
error: 'import', and 'export' cannot be used outside of module code
  --> /home/[REDACTED]/mastodon/app/javascript/packs/public.js:84:7
   |
84 |       import(/* webpackChunkName: "containers/media_container" */ '../mastodon/containers/media_container')
   |       ^^^^^^

fatal runtime error: failed to initiate panic, error 5

If it matters, the JS file in question is: https://github.com/tootsuite/mastodon/blob/master/app/javascript/packs/public.js#L84

However, I understand Mastodon is a really large application, and our babel.config.js is not just a few lines, so I do not want to waste your time... This is probably not the last place the migration would get stuck...

I would love to see swc being used, so I don't consider helping you waste of time. If you want to use swc, I'll help you as you need.
Fixed (really) with<EMAIL_ADDRESS>

Side note: Your OpenCollective page is missing a "contribute" button for me...

@Gargron Thank you for information. Fixed it.

I have the same problem with the latest version, swc 1.0.15.

@fabiosantoscode What is your .swcrc?

{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "tsx": true,
      "decorators": false
    }
  }
}

You should add
{
  "jsc": {
    "parser": {
      "dynamicImport": true
    }
  }
}


RFC: Split off saas branch

Proposal for simplifying Placemark:

Create a branch called saas which contains the current main branch verbatim
Continue to develop on main, but remove the components of Placemark dedicated to making it a SaaS. This means:

Integration with Stripe for billing.
Emails for trial ending, etc.
Quota system for how many maps can be created.

saas branch: https://github.com/placemark/placemark/tree/saas
I'll try removing Stripe first.


Version working with Prometheus 2.0

I worked to adapt your dockprom to work with Prometheus 2.0.
It's my first config on Prometheus/Grafana, please could you be indulgent with me. I accept any comments to be better.
Thanks a lot

I made requested changes in next commit.

Thanks @sebthemonster

This is awesome @sebthemonster !

@pascalandy can you please give it a try? be aware that the database is not backwards compatible, you need to start fresh.

With pleasure. Give me about 48h

I was about to try it but play-with-docker is down at the moment. I'll try it later on :-p

Hi, could anyone confirm that it's working perfectly? I am experiencing problems with the update.

Hi, i confirm that it's working. I installed it in production what i couldn't do it before.
I found a problem with "storage load" request that i fixed it directly in Grafana dashboard because i don't know if it's a problem due to my configuration or to the project.
The problem is that the initial request get multiple results :
(node_filesystem_size{fstype=\"aufs\"} - node_filesystem_free{fstype=\"aufs\"}) / node_filesystem_size{fstype=\"aufs\"}  * 100

[
{device="none",fstype="aufs",instance="nodeexporter:9100",job="nodeexporter",mountpoint="/rootfs/var/lib/docker/aufs/mnt/278bdd5a9d024f397bb19ead082ac2d54253e794e4c0493d8f8f734ac0ac46a8"}
{device="none",fstype="aufs",instance="nodeexporter:9100",job="nodeexporter",mountpoint="/rootfs/var/lib/docker/aufs/mnt/0f8915002f902baf89e82dcb30911775bac922cceaed131e33dca2b23e2706be"}
{device="none",fstype="aufs",instance="nodeexporter:9100",job="nodeexporter",mountpoint="/rootfs/var/lib/docker/aufs/mnt/0652aec3a6ef6531e133e707b7eb382841399d2d41ac20573a841c27b6326191"}
{device="none",fstype="aufs",instance="nodeexporter:9100",job="nodeexporter",mountpoint="/"}
[...]
]

To fix it i set request as this :
(node_filesystem_size{fstype=\"aufs\",mountpoint=\"/\"} - node_filesystem_free{fstype=\"aufs\",mountpoint=\"/\"}) / node_filesystem_size{fstype="aufs",mountpoint=\"/\"}  * 100
Maybe this is not the right solution ? Can you say me if you're encountered same problem ?


Fixed date formatting for RSS feeds, including UTC conversion

Changes Unknown when pulling 5a704041830e66a1817585d61922b70ac70090e9 on rss-fix into ** on master**.


fix: preserve time zone information in Task Scheduler

Avoid converting times to int64 in the Task Scheduler to preserve
time zone information. This corrects a failure after fall back time
changes which halts every-type tasks
closes https://github.com/influxdata/influxdb/issues/25110

You called it!


Automated cherry pick of #4632: host image support container deploy:

Cherry pick of #4632 on release/3.0.
#4632: host image support container deploy:

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.0@03cca94). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             release/3.0   #4633   +/-   ##
=============================================
  Coverage               ?   6.79%
=============================================
  Files                  ?     524
  Lines                  ?   89593
  Branches               ?       0
=============================================
  Hits                   ?    6092
  Misses                 ?   82996
  Partials               ?     505

Flag
Coverage Δ

#aFlag
6.79% <ø> (?)

Continue to review full report at Codecov.

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

/lgtm
/approve


Warnings during installation

RHEL 6.5
nodejs 6.5.0
npm 3.10.3

vue init webpack my-project
npm install

npm WARN deprecated<EMAIL_ADDRESS>this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated<EMAIL_ADDRESS>cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in th
.
.
.
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>

deperecation warnings are something common - a dependency has another dependency that has a new version ... most of the time this is nothing to worry about.
and well, fsevents only works on OS X, but that won't be a problem either as the lib using it will take care of that.


use infura for machinomy plugin

Using the infura approach, opening channels is probably faster than using the self-hosted geth approach. It also makes amundsen easier to deploy! you could probably still just set your geth instance as the remote provider instead of infura, then it just means amundsen instead of geth will control your private wallet.

done in https://github.com/interledgerjs/amundsen/commit/6e529750a6b7aefb8b855d7aebbb1b80021da5e6


Allow users to install packages in the maturin docker where maturin executes

It is possible that building users' package requires more packages that the default environment(for example, using mimalloc requires gcc 4.9+ while build-essential only provides gcc4.8). but currently there do not exist an easy way to do so.

There is a before-script-linux option.

for example, using mimalloc requires gcc 4.9+ while build-essential only provides gcc4.8

Note that if you upgrade GCC it may result in wheels that require higher manylinux version, in such case  IMO specify a newer maturin-action manylinux version should be preferred.


Update sanitizers docs.

The wording for TSan assumes that #8966 is merged.  (EDIT June 2022: #8966 has been abandoned, the phrasing here is updated accordingly).

Applied your latest round of suggetions, and also remembered one more CMake option that people need to set: IREE_BUILD_SAMPLES=OFF, as previously discussed in #8893 .


HTML formatter added breaks and whitespace to text inside P tags

Issue Type
Bug
Description
When presented with code like this:

Overview

Prior to the Design System, our products were developed using varying and competing technologies. This led to longer
            implementation timelines, difficulty in making changes, and locking value within products. Our products became
            dated, inconsistent and difficult for users to interact with.

To remedy this, in 2013 we introducted a technology stack utilizing best of breed, open-source technology. Since
            then, dozens of products have been built using this technology stack and the Design Syste mand have benefited
            from shorter development times and a consistent look and feel.

The web development technology world has evolved since the intoduction of the original technology stack. The libraries,
            tools, and even browsers have become more advanced in many ways, enabling features and speed unimaginable even
            five years ago. Therefore, with the release of Design System 5.0 we are introducing an updated Technology Stack.

Applying "format html" adds breaks apparently for no reason:

I tested the block of code on http://jsbeautifier.org (set to 120 character line length) and it does not do this:

VS Code Info
VS Code version: Code - Insiders 1.21.0-insider (70e020b2377f12894ca11254548ce365a0e435f1, 2018-02-15T06:08:32.814Z)
OS version: Darwin x64 17.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 x 2800)

Load (avg)
2, 2, 2

Memory (System)
16.00GB (1.98GB free)

Process Argv
/Users/st016lo/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_962795

Screen Reader
no

VM
0%

Extensions (23)

Extension
Author (truncated)
Version

code-settings-sync
Sha
2.8.7

sort-lines
Tyr
1.4.1

html-snippets
abu
0.2.1

Bookmarks
ale
0.18.1

project-manager
ale
0.24.0

vscode-eslint
dba
1.4.5

tslint
eg2
1.0.27

prettier-vscode
esb
1.1.3

vscode-console-wrapper
fab
0.4.0

auto-rename-tag
for
0.0.15

path-autocomplete
ion
1.8.1

vscode-text-pastry
jkj
1.2.0

Angular2
joh
2.12.0

vscode-icon-theme
jtl
1.6.1

ecdc
mit
0.11.0

HTMLHint
mka
0.4.0

vscode-scss
mrm
0.6.2

angular2-inline
nat
0.0.17

vscode-versionlens
pfl
0.19.1

stylelint
shi
0.32.0

Align
ste
0.2.0

bootstrap4-vscode
the
4.0.0

change-case
wma
1.0.0

(2 theme extensions excluded)

Reproduces only with extensions

Reproduces only with extensions? In that case, can you find out which extension this is and file the bug against the extensions?
I'm not able to reproduce the bug with the sample above and the default html settings. If it's not with an extension, can you provide your html settings?

That's a mistake, sorry.  I did not test with no extensions.  I only tested with my standard extensions on.  It's been this way as long as I can remember.

So does it reproduce with all extensions disabled?
I ask because I'm not able to reproduce, also not with your settings.

Yes, it happens even if I disable all installed extensions, and if I create a new, standalone file with only this in it, set to "html" type

Overview

Prior to the Design System, our products were developed using varying and competing technologies. This led to longer implementation
    timelines, difficulty in making changes, and locking value within products. Our products became dated, inconsistent and
    difficult for users to interact with.

To remedy this, in 2013 we introducted a technology stack utilizing best of breed, open-source technology. Since then,
    dozens of products have been built using this technology stack and the Design Syste mand have benefited from shorter
    development times and a consistent look and feel.

The web development technology world has evolved since the intoduction of the original technology stack. The libraries,
    tools, and even browsers have become more advanced in many ways, enabling features and speed unimaginable even five years
    ago. Therefore, with the release of Design System 5.0 we are introducing an updated Technology Stack.

@smlombardi Can you turn on all the line number? Maybe this is the editor wrapping?

Here's what I did:

Paste the above code into a new window.  It breaks funny (probably because I have "format on paste" on)
Select each

 block.  Choose "join lines",
Check they are joined by resizing window. They flow as expected.
Choose "format code".  They break strangely.

You can see that the funnyness comes from the two different word warping implementations:

The formatter wraps at 120 chars (VSCode default settings), but it seems to measure from the first word on the line (ignores leading whitespace) and doesn't mind to allowing some extra characters.
I configured the editor to wrap at 120 as well, but it measures from the beginning of the line.

I don't think there is a real bug here, but feel free file an issue against http://jsbeautifier.org to rework their wrapping strategy.

To verify that the formatter works ok, I'd suggest to turn off the editor wrapping.
Except from beeing a but generous on the line lengths, I don't see any whitespaces added at places where it shouldn't.


Add GameTalk SDK

SteamDB app page links to a few games using this
Metro Conflict: The Origin
Brief explanation of the change
Find GameTalk binaries.

After running changed rules in this pull request (this bot only tests rules.ini changes):
Changed technologies: SDK.GameTalk
These apps now match: (3)<PHONE_NUMBER>20 754420
Please confirm that all these changed apps are correct.

Couldn't find more app that use this that weren't detected by your regex.
This is not used by enough apps.


Windows Authentication can't log in as a different user

I am logged in to Windows on my home laptop but want to be able to connect to a SQL Server instance using a work domain user. But in Azure Data Studio when I select Windows Authentication the username and password are grayed out so I can't choose to log in as a different user.

@aabelnetline this is a long standing request we've had with azuredatastudio https://github.com/microsoft/azuredatastudio/issues/112.  The blocking issue has been the SqlClient driver doesn't easily support this scenario and would require updates for this.  The suggested workaround is to use the "runas" command to launch the ADS process as a different user.  I'll close this as a duplicate of the linked issue.  Thanks!


Index was outside the bounds of the array in DupImageLib.ImageMagickTransformer.TransformImage

When I try to hash a jpg file using CalculateDifferenceHash256(stream), exception occurred:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at DupImageLib.ImageMagickTransformer.TransformImage(Stream stream, Int32 width, Int32 height) in
D:\VSProjects\ImageStore\ImageStore\DupImageLib\ImageMagickTransformer.cs:line 33
at DupImageLib.ImageHashes.CalculateDifferenceHash256(Stream sourceStream) in
D:\VSProjects\ImageStore\ImageStore\DupImageLib\ImageHashes.cs:line 243

In the line thrown exception, the length of pixels and imgPixels are same, 272.

I tried Magick.NET-Q8/Q16-AnyCPU, problem is same.

This should be fixed in commit fa368eb24de64ce6cb62a121904964eb1f7560fc.
Issue was that magick.net changed how they return pixel information for grayscale images in newer versions of the library.


max_lag_secs should be a tunable parameter

The max_lag_secs value used to determine how lagged a secondary can be in order to proceed with a backup should be a tunable/user defined value. This will allow users to proceed with a backup even with what is a reasonable amount of lag for their environment.

Hi Tim,
This can be set with the -m/--maxlag flag (or 'max_repl_lag_secs' in the yml config) with the number of max seconds of lag.
  -m MAX_REPL_LAG_SECS, --maxlag=MAX_REPL_LAG_SECS
                        Maximum MongoDB replication secondary slave drift in
                        seconds (default: 5)

A heads up that the YAML config structure will move to a more-organised, nested structure in an update soon.

Closing this issue, please reopen if you have any problems!


support conversion of a spec into go code

Parse spec and generato a go based completer similar to carascrape

already done


[FLINK-22442][CEP] Fix Using scala api to change the TimeCharacteristic o…

Using scala api to change the TimeCharacteristic of the PatternStream is invalid

What is the purpose of the change
to fix the bug:
Using scala api to change the TimeCharacteristic of the PatternStream is invalid
you can only use the eventTime for PatternStream
the bug is ：
in the code in   org.apache.flink.cep.scala.PatternStream
when we called function like inProcessingTime()
the real JPatternStream in the object not be updated
// org.apache.flink.cep.scala.PatternStream
class PatternStream[T](var jPatternStream: JPatternStream[T]) {

  private[flink] def wrappedPatternStream = jPatternStream
 ......
 def sideOutputLateData(lateDataOutputTag: OutputTag[T]): PatternStream[T] = {
   jPatternStream.sideOutputLateData(lateDataOutputTag)
   this
 }
  def inProcessingTime(): PatternStream[T] = {
    jPatternStream.inProcessingTime()
    this
  }
  def inEventTime(): PatternStream[T] = {
    jPatternStream.inEventTime()
    this
  }
｝
}

//the case is

public class TestCepJava {

    public static void main(String[] args) throws NoSuchFieldException, IllegalAccessException {
        testJPatternStreamChangeTimeCharacteristic(getJPatternStream());
/*
    * the result  is
    * EventTime
    * ProcessingTime
    *
    * the  JPatternStream's  TimeCharacteristic  is be changed
    * */
  }
    }

    public static PatternStream<Event> getJPatternStream(){
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();

        DataStream<Event> input =
                env.fromElements(
                        new Event(1, "barfoo", 1.0),
                        new Event(8, "end", 1.0));

        Pattern<Event, ?> pattern =
                Pattern.<Event>begin("start")
                        .where(
                                new SimpleCondition<Event>() {

                                    @Override
                                    public boolean filter(Event value) throws Exception {
                                        return value.getName().equals("start");
                                    }
                                });
        PatternStream<Event> eventPatternStream = CEP.pattern(input, pattern);
        return eventPatternStream;
    }

    public static <T> void testJPatternStreamChangeTimeCharacteristic(PatternStream<T> estream) throws NoSuchFieldException, IllegalAccessException {
        getTimeBehaviour(estream);
        PatternStream<T> pStream = estream.inProcessingTime();
        getTimeBehaviour(pStream);
    }

    public static <T> void getTimeBehaviour(PatternStream pstream) throws NoSuchFieldException, IllegalAccessException {
        Field builder = pstream.getClass().getDeclaredField("builder");
        builder.setAccessible(true);
        Object o = builder.get(pstream);
        Field timeBehaviour = o.getClass().getDeclaredField("timeBehaviour");
        timeBehaviour.setAccessible(true);
        System.out.println(timeBehaviour.get(o));
    }
}

// Some comments here
//    org.apache.flink.cep.scala.PatternStream
//    org.apache.flink.cep.PatternStream
object TestCepScala {
  def main(args: Array[String]): Unit = {
    updateCepTimeCharacteristicByScalaApi()

    /*
    * the result  is
    * EventTime
    * EventTime
    *
    * the real JPatternStream's  TimeCharacteristic  is not be changed
    * */
  }

  def updateCepTimeCharacteristicByScalaApi(): Unit = {

    //  get  org.apache.flink.cep.PatternStream
    val jestream: org.apache.flink.cep.PatternStream[Event] = TestCepJava.getJPatternStream

    //get org.apache.flink.cep.scala.PatternStream
    val sePstream = new PatternStream[Event](jestream)

    //get and print TimeBehaviour
    getTimeBehaviourFromScalaPatternStream(sePstream)
    //change TimeCharacteristic use scala api
    val sPstream: PatternStream[Event] = sePstream.inProcessingTime()

    //get and print TimeBehaviour
    getTimeBehaviourFromScalaPatternStream(sPstream)

  }

  def getTimeBehaviourFromScalaPatternStream(scPstream: org.apache.flink.cep.scala.PatternStream[Event]): Unit = {
    val field: Field = scPstream.getClass.getDeclaredField("jPatternStream")
    field.setAccessible(true)
    val JPattern: AnyRef = field.get(scPstream)
    val stream: cep.PatternStream[Event] = JPattern.asInstanceOf[cep.PatternStream[Event]]
    TestCepJava.getTimeBehaviour(stream)
  }

Brief change log

when we called function like inProcessingTime()  and update the  jPatternStream in org.apache.flink.cep.scala.PatternStream

Verifying this change
This change added tests and can be verified as follows: CEPScalaApiPatternStreamTest
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: (no )
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? ( no)
If yes, how is the feature documented? (no)

add the test in  CEPScalaApiPatternStreamTest

Bug...

Thanks for the fix and sorry for the delay. I am good with the current state. I'll merge it.