Devservices can't communicate with each other

My use case is setting up an event based communication between two quarkus services using the sns and sqs devservices.
With the config flags "shared" I could not manage to get a successful local setup. The "shared" flag (see https://docs.quarkiverse.io/quarkus-amazon-services/dev/dev-services.html#_shared_services)
of the devservices forces two different localstack containers to be run. In this case, the SQS queue is never able to receive published events from the other localstack container (sns).
I already proposed a PR (https://github.com/quarkiverse/quarkus-amazon-services/pull/1114) as a workaround to expose the docker port of the localstack container. But obviously this would just be a workaround to the real problem: I need the SNS and SQS devservices to be able to communicate with one another between multiple quarkus applications (at least in quarkus dev mode).
Can you provide any help? Thanks in advance!

For sqs, I tested with a producer using this configuration
quarkus.sqs.devservices.shared=true
quarkus.sqs.devservices.queues=Quarkus
queue.url=Quarkus # used in the app to emit message

and the consumer
quarkus.sqs.devservices.shared=true
quarkus.http.port=8081
queue.url=Quarkus # reuse the same queue

First start the producer and wait for localstack, then the consumer. In the console, you can press c to see localstack instance and you should see that the consumer is using the same container.
Shared services are not grouped by design. So you will have one instance for sns and one for sqs. Both clients will connect to the corresponding localstack.

Dear @scrocquesel ,
thank you for your answer. I see you do not understand my problem. Now since code does not lie, I present to you an example project with my specific problem. Please read the readme file and start the processes.
https://github.com/pfaul/quarkus-aws-events
If you can help me configure these two projects properly, that would be awesome!
Thanks in advance!

Dear @scrocquesel , thank you for your answer. I see you do not understand my problem. Now since code does not lie, I present to you an example project with my specific problem. Please read the readme file and start the processes.
https://github.com/pfaul/quarkus-aws-events
If you can help me configure these two projects properly, that would be awesome! Thanks in advance!

Thank you for the reproducer. Make a lot more sense now. I pushed a PR on your repo. You need to start the consumer first and then the producer. As a consequence, everything should be set up in the consumer localstack.

Thanks for the PR. The changes you suggested change quite a bit of lifecycle logic though! The 'service-name' part, was missing in my application.properties.
Still I have an issue to report here: Why is it, that the 'shared' flag actively changes the value of the 'service-name'. That sounds horrific tbh! When I am configuring a service-name, I want that value to be the value I defined and not something with appended shared service names! Just imagine somone would want multiple devservices to be shared. Would the service-name look like this then? 'mylocalstack-sns-sqs-s3-ssm-kms' How should any other application know about this name then??
EDIT: And also this appending of the service name does not seem to be documented anywhere :(

It make sense. The suffix was added to distinguish stacks with the default service-name and isolate them by default. I guess that we can remove this suffix when the service-name was set to something else and let the user compose its stack, and this could be considered a bug.

Dear @scrocquesel ,
Thank you very much for the support! I appreciate your effort!


[ZEPPELIN-4770] Switch to K8s deployment

What is this PR for?
We should create a k8s-deployment for zeppelin-server.
Changes in detail:

Switch from Pod to Deployment
Creation of a ServiceAccount zeppelin-server + update RoleBinding
Using a ConfigMap for all Environment variables. I think this ConfigMap give a better overview over all environment variables
Label change from app to app.kubernetes.io/name

What type of PR is it?

Improvement

Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-4770

How should this be tested?

Install on K8s with kubectl apply -f k8s/zeppelin-server.yml

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@Leemoonsoo Can you please review and test this PR. I'm not able to start the nginx nor dnsmasqd container on my Openshift environment, because both services need root privileges, which is disabled by default.

Thanks, @Reamer for the improvement. LGTM.
Merge to master and branch-0.9


[2.0 Alpha] [bug] [New scene system] Can't delete/modify nodes in previously saved scene

Compilation from Oct 17, 2015 (17a90ddc0824bb51b5ea707f5d4d11aed301f91d commit)
I have 2 scenes, "Actor" and "Enemy". Enemy was created with "New Inherited Scene" option, with the base choosen as Actor. In enemy scene I added another scene with model (mesh/asset).
Now when I open Actor scene I cant delete it's nodes.
Quick steps to reproduce problem:

Open "Actor.xscn" from sample project
Try to delete CollisionShape node.

Sample project: https://dl.dropboxusercontent.com/u/168251/godot/some/issues/NewSceneSystem2.7z
UPDATE:
Just like @WriterOfAlicrow noticed scene inheretance is not needed to reproduce this. Just save your scene reopen it and you will not be able to delete it's nodes. (changed title a little to reflect this)

This is happening to me whenever I close and re-open a scene (no inheritance necessary). I try to delete an object from the scene, and it tells me "Can't operate on nodes the current scene inherits from!"
If saved as xml, the scene file contains a string "editable_instances", followed by an empty array. I think Godot is supposed to use that array to keep track of what's editable, but it doesn't save it properly, so when it loads it, it thinks nothing is editable.

This seems to still be a problem, at least on OS X. I have the latest code from master, and I still can't edit nodes from an opened scene, but new nodes work.

this is weird, can you record a small video or post a description about the
issue?
On Tue, Oct 20, 2015 at 12:08 PM, GalanCM<EMAIL_ADDRESS>wrote:

This seems to still be a problem, at least on OS X. I have the latest code
from master, and I still can't edit nodes from an opened scene, but new
nodes work.
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2610#issuecomment-149595710.


Add some missing Jinja blocks

Add support for the following jinja blocks set / trans / raw.
I added tests cases using code samples from the jinja documentation about these tags.
I would also like to add support for custom blocks such as {% markdown %}...{% endmarkdown %} (https://github.com/jpsca/jinja-markdown).
Would it be okay to add a custom_blocks configuration allowing people to list custom block they use ?
I'm not sure how often this is used in jinja but it's quite common in django (See django documentation on how to implement custom blocks)

Okay makes sense, maybe it could be a simple comma delimited string such as "customBlocks": "myblock,markdown"


fixed the issue due to the headless production guard

Thanks a lot!
Did a pre-release: https://github.com/vikeri/react-native-background-job/releases/tag/v1.1.2-0
Install with
yarn add react-native-background-job@beta

As soon as we've confirmed the fix in our app I'll release it to latest.

thanks.
Best regards,
Hassane Moustapha

(+221) 77 366 77 92
Skype : hassane.moustapha
http://twitter.com/hassanemoustaph

2017-03-07 17:01 GMT+00:00 Viktor Eriksson<EMAIL_ADDRESS>
Thanks a lot!
Did a pre-release: https://github.com/vikeri/react-native-background-job/
releases/tag/v1.1.2-0
Install with
yarn add react-native-background-job@beta
As soon as we've confirmed the fix in our app I'll release it to latest.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vikeri/react-native-background-job/pull/12#issuecomment-284787240,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABt3y9lBvl9JaYHzN76_r62kDqG1qPAks5rjY1fgaJpZM4MHCC4
.


⚠ Bofrost.at has degraded performance

In c312e0a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1467 ms

Resolved: Bofrost.at performance has improved in 1d7d022.


Fix the bug where immutable variables of optional type are rewritable

(SR-7226, rdar://38624845)

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci Please Test Source Compatibility

@swift-ci Please Test Source Compatibility

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - b8151f4247f622963f242661b0d99a2ce90c93bb

Build failed
Swift Test OS X Platform
Git Sha - b8151f4247f622963f242661b0d99a2ce90c93bb

@gottesmm This commit skips take_enum_data_addr instruction and also fixes the logic for emitting diagnostic messages in the absence of this instruction. It seem to pass tests and source compatability.

@swift-ci please smoke test

@gottesmm  I have fixed the typos and added some more tests for generic chaining and enum case.

@swift-ci please test and merge

Reverting this commit as it fails to compile a benchmark.


refactor: handle non-stacks accounts

Try out this version of the Hiro Wallet - download extension builds.

Seeing what's involved in remove dependence on Stacks keys.
To test this, I made a wallet with all the keys, then removed the Stacks keys. This breaks the wallet. To fix this, I had to start decomposing hooks and components to structure them conditionally.
Notice how previously we had a component that relies on the current stacks account from a hook.
export function useAccountNonFungibleTokenHoldings() {
  const currentAccount = useCurrentStacksAccount();

This approach doesn't work when keys might be undefined. Instead, can create components that return the data we need, or not, so that we have inner components that consume the data as though it's always defined. See CurrentStacksAccountLoader.
Much similar refactoring is needed to further remove reliance on the Stacks features. As a rule of thumb, I suggest that from now on we favour passing in data into hooks at the component level, rather than assuming "current" data and having hooks rely on this.

Can be merged in isolation to other work


Deallocate Storage if No SD Card

It is expected behavior that a user can run glEEmail without a permanent storage solution, therefore don't hold on to the storage memory if it's not needed and don't call storage if it doesn't exist.

Implemented in b2534a0954ec9e6e8b9622537583e1a4b946c340


Workaround for unexpected json.Unmarshal() behavior

Several SharedStore users are assuming that when calling json.Unmarshal() on a structure that does not mark any field with omitEmpty, then calling json.Marshal() and passing that into json.Unmarshal() is guaranteed to overwrite all fields as long as the structure definition at Marshal() and Unmarshal() time is the same. This is not the case as the following unit test illustrates. The unit test will fail if Unmarshal() does not re-initialize the object first.
type updateTest struct {
	Items map[string]string
}

func (u *updateTest) GetKeyName() string       { return "" }
func (s *updateTest) Marshal() ([]byte, error) { return json.Marshal(s) }
func (s *updateTest) Unmarshal(data []byte) error {
	*s = updateTest{}
	return json.Unmarshal(data, s)
}

func (s *StoreSuite) TestUpdateKey(c *C) {
	store := &SharedStore{
		conf: Configuration{
			KeyCreator: func() Key { return &updateTest{} },
		},
		localKeys:  map[string]LocalKey{},
		sharedKeys: map[string]Key{},
	}

	v1 := &updateTest{Items: map[string]string{"foo": "bar"}}
	json, err := v1.Marshal()
	c.Assert(err, IsNil)
	store.updateKey("foo", json)
	c.Assert(store.sharedKeys["foo"], DeepEquals, v1)

	v2 := &updateTest{Items: map[string]string{}}
	json, err = v2.Marshal()
	c.Assert(err, IsNil)
	store.updateKey("foo", json)
	c.Assert(store.sharedKeys["foo"], DeepEquals, v2)
}

While updateTest{} will cause Unmarshal() to overwrite the Items field with an empty map, updateTest{Items: map[string]string{}} does not and the previous values prevail.
The quick fix is to fix Unmarshal() implementations of the Key interface to re-initialize but a better long-term fix has to be found.

This change is

Coverage decreased (-0.02%) to 43.658% when pulling a91a805c1cf6e3aca6f865b608d9a0e9d7bc7b7a on pr/tgraf/store-fixes into fb84e0a4e1b15e60c00f95576491ec3b11155723 on master.

test-me-please

Looking at SharedStore for the first time, it was a bit unclear that the Marshal/Unmarshal of the Key interface actually serialize/unserialize the value associated with the key. The Key interface abstracts arbitrary values, and the problem is that implementations of the Key interface are based on invalid assumptions about the json.Unmarshalbehavior regarding initialization of a map holding the value (if the value is a map type). It would be good to use the terminology referring to values in addition to keys when describing a key/value store :-)

test-me-please

test-me-please

test-me-please

seems like this is already backported, setting labels


module: grid; request: styling column width

Hi, Mr. Atanasov.
While I'm congratulating with You for such a smart job, I wish I would submit the following request:
With current release (1.5.1) You can easily set-up a row made up of input text box controls in order to define search arguments, prodiving the proper styling (e.g.: bootstrap column width, @class = "form-control col-md-2", using razor).
I wonder it it would be possible to implement a parameter to set-up "grid" control (I mean directives like:
{ field: 'ID', title: 'Id.', sortable: true, width: 64 },
),
in order to create an input search arguments line which is "in line" with the resulting grid full of data, I mean something like:
{ field: 'ID', title: 'Id.', sortable: true, width: @class = "form-control col-md-2" },
according to my previous case-example.
My request could seem not that useful, still nowadays Users keep becoming more and more demanding in terms of UI smartness and elegance. I think this request is about meeting such trend.
I am rather novice of "gijgo", but already enthusiast.
Thank You for Your attention.
Francesco.

Hello,
Thanks for the feedback. I think that we already support that.
You can see this example for html configuration - http://gijgo.com/grid/demos/html-sourced-data
You can use the following config options to set css classes. They are going to work if you use them as data attributes as well.
http://gijgo.com/grid/configuration/column.cssClass
http://gijgo.com/grid/configuration/column.headerCssClass

Hi, Mr. Atanasov!...
...And thank You so much for Your kind and time-responsive answer.
So, You could actually verify I am quite new of Gijgo... And maybe a little bit lasy...)))
So I could accomplish my task.
Thank You again!
Francesco.

You are welcome. Thanks for using my open source library.


did expansion

If I put a DID into a note, I want it to expand into a little user card so I can click the follow button on them

Might be worth considering a common iOS pattern here, we can detect if there's a DID in the clipboard and offer to follow it without even having the user paste it.
The proposed idea, creating a card, has a circular dependency because we won't be able to produce the metadata for a profile without first resolving the user (which is what happens in the BG when you follow them anyway). So, if we wait to produce a card it may take 10s of seconds to render it, just to click follow next to it.

So two parts editing and viewing.
For the view experience, I'd love to see a user profile card with a profile photo, their pet name or did key or something and a follow button.
For the editing experience, I'd love the did clipboard thing you mentioned or allow me to @ any of my petnames.

One thing that is worth considering: it may only make sense to expand the DID if it corresponds to one or more entries in the sphere's address book, and the entry has been resolved to a sphere version. My reasoning here is:

A DID you don't have in your address book will need to be resolved to a sphere version first
DIDs in general aren't guaranteed to refer to a sphere
It emphasizes the closeness/interestingness metric that can be derived graph edges expressed by the address book

OTOH, I could see a good case for a DID always being link-ified (assuming it is a method we know how to handle).


Make the website responsive.

It would pretty straight forward to use tailwind table so that it could mobile optimized.
You can copy tailwind table styling from volunteer.coronasafe.network

latest commit fixes for smaller devices but it bugs out in medium

Can we just highlight the row selected in the map instead of showing the details. It feels a bit clutter in mobile

@firofame what do u mean?

Isn't the data redundant? We can just give the selected district a different color

the above field only shows data of the selected district, districts on map are clickable

When we click a district on the map why don't we highlight the clicked district in the table.

@AzadNikarthil  Both sides have 7 category of data. What do you mean by "Information is not shown completely in the browser"

done


Status of <IP_ADDRESS>?

Don't mean to hurry anyone, just wondering, what is the status of a <IP_ADDRESS> release?

We are having some issues building Windows artifacts, thats why it is still as prerelease (https://github.com/esp-rs/rust-build/releases/tag/v<IP_ADDRESS>). If you are not in Windows, you can espup update -v <IP_ADDRESS> and update your toolchain

Windows MSVC has problem with mixing /MT and /MD when building LLD, still not solved.
Windows GNU is available, problem was with Defender shutting down the build, when job was started under CI user.

Update on the <IP_ADDRESS> and <IP_ADDRESS> releases:

<IP_ADDRESS> won't be promoted as latest and will be skipped
<IP_ADDRESS> is ready and safe to use for all the targets but x86_64-pc-windows-msvc. We will try to build this target artifacts, so the release can be marked as latest

Also, upcoming releases should not have this issue anymore as it was solved in https://github.com/rust-lang/rust/pull/126701

Sorry about the delay, MSVC toolchain has been a bit troublesome in the last few releases. I've just promoted the <IP_ADDRESS> to the latest release.


Timeout event

I would like to request a feature where there is an event or callback should you get close to exceeding the response time limit.

Do you have a scenario where you'd want to use this?

I am using Alexa to trigger a number of slow API calls and then a long running process. I would like to return as much information about the status as the keyword can be misunderstood or return the wrong search result.


Allow Changing Dates of Pages/Entries, and Setting an optional order

As the title states, just realized That I have no way instantiating some sort of order of how things are displayed on the site

Order implemented as of: ab3daf8690912c0da35e09eb0f12d9abdfce6151


NodeMCU slow connection

I'm using a NodeMCU (Amica) and flashed the latest binaries (did all that DIO mode, clear the bin file stuff).  I am able to connect and am using Open authentication for now.  My download speed is incredibly slow (.08 mbps) and upload isn't too bad (.5 MBPS).  Tests done via Ookla speedtest and even local network connections are incredibly slow.  I often use these NodeMCUs around the house as MQTT sensors and have had no connection issues.  I'm next to the router testing with my android phone as the only client.

If it works in general, flashing was surely correct. Guess the speedtest just overruns the buffer capacity of the ESP. Do you have the serial connected? Any output there? Does "normal" browsing work better?

Normal webbrowsing to like weather.gov is next to impossible.  I may get like half a webpage after a few minutes of trying
from Serial:
add 1
aid 1
station: cc:61:e5:8f:67:a7 join, AID = 1
station: cc:61:e5:8f:67:a7 join, AID = 1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1
LmacRxBlk:1

LmacRxBlk:1 means: no more buffers. Happens, when the ESP is overloaded. It then drops packets and this leads to low TCP transfer rates. Happens sometimes, no real bug, but obviously your setup suffers much more from this behavior than others...
Which browser are you using?

Android Chrome.
On Thu, Dec 21, 2017 at 2:28 PM martin-ger<EMAIL_ADDRESS>wrote:

LmacRxBlk:1 means: no more buffers. Happens, when the ESP is overloaded.
It then drops packets and this leads to low TCP transfer rates. Happens
sometimes, no real bug, but obviously your setup suffers much more from
this behavior than others...
Which browser are you using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/martin-ger/esp_wifi_repeater/issues/105#issuecomment-353473732,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AbQuzqFiH9juYIhOqYThGdZ9S3jyzGAzks5tCtt6gaJpZM4RHzki
.

Android (at least my Firefox) over WiFi sends a lot of layer 2 packets to the AP before starting the real web-traffic. Somewhere I read some (performance) rational for this voodoo. At least in my case, it does only consume bandwidth and buffers. Maybe this is a reason? Same behavior with a Windows browser?
Other possible investigations: what about the RSSI of your AP when you do a scan? If you have a Linux machine you might also make a trace of the actual packets...

Tried with my busy windows 10 desktop, connects but says "no internet".  The signal is good but its channel 6 same as my router, probably wouldn't hurt to change channel.

I think you can't get rid of this issue because of the size of RAM ESP8266 has. I have a similiar problem, that is issue #40.
BTW I'm getting 4 Mbit download and 2 Mbit upload, idk why is your speed so slow.

I wonder if a ESP32 version would work better, I did buy a new router (not for this issue) and got the same results. .02 Mps download and .16 upload

Don't think it is the processing speed of the CPU. Try "set speed 160", but I am pretty sure this will not change anything. Something is odd in your setting, as other do not experience this bottleneck.
Either your HF-situation is odd or some strange dependency between your devices and perhaps the software.

Great news, I got 3 meg down / 4.6 meg up on my tablet Samsung Galaxy Tab E.  I guess my Moto G4 Play has some oddity with this device.  I'll see if there are any settings on it to change.  it otherwise has great speed on my normal router.


Reduced Peatrice Convos

Adds an option to reduce the number of Peatrice conversations needed before she calls you "Darling".
Text for each value:

6 = default (no change)
5 = "...Oh, it's you again..."
4 = "But I bet you're here just to check me out, right?"
3 = "Oh. I, uhh... W-welcome..." ("What's wrong?" vs "You seem different." dialog choice)
2 = "Oh. You're back."
1 = "...Oh." (calls you "Darling" at the end)
0 = "Hello, darling!" (recurring dialog until you talk to Peater)

Tested in a seed where Peatrice was required (SotH piece) with 0 convos required. Worked as expected


More docs and typespecs for the Binary module

@dantswain I think it's useful to document this top-level Binary module because it could be useful for people working directly with serialized data. I'm looking though our internal modules now, and it looks like we should @doc false a bunch of things to simplify our generated documentation (and public API) however, particularly in the Parser namespace.

@jparse OK. I think it'll be fine as long as the higher-level documentation (e.g., the README) does a good job guiding people to the intended public functions.

@dantswain Right. We're basically shipping an IDL parser, protocol-aware functions, and a client/server framework in one package, so we need to make it obvious how all of those pieces should be used.


Added console_bridge

Added:

console_bridge  https://github.com/ros2/docs.ros2.org/pull/33
rcl_logging_spdlog https://github.com/ros2/docs.ros2.org/pull/32

Signed-off-by: ahcorde<EMAIL_ADDRESS>

See https://github.com/ros2/docs.ros2.org/pull/33/files#r441703567 for why I'm not sure that uploading documentation for console_bridge is the right thing to do. As an independent project, I think it should host it's documentation independently.

I splitted this PR in two.

This one remains for console_bridge
This other PR add the generated doc for rcl_logging_spdlog https://github.com/ros2/docs.ros2.org/pull/43

console_bridge_vendor is included in the build script. Can we merge this @jacobperron ?

The documentation has not changed since I created this PR.

I will probably update all of them in a new round.


feat: Ignore case when check for selected filter

I need to modify the url of the department filters, which includes leaving some parts of it in lowercase. Because of this, some filters are not marked as selected
This PR just ignores the case when it does this check

Can you open again? We have to think more about that.
I think you are doing lowercase at your store, but actually the filter comes capitalized. I am not sure about change only the selected verification.

Yes, for some reason on the current miess site the url is different from the one returned by the api. The categories and brands in the url are always in lowercase on the current site
I thought about copying the algorithm used to see if the filter is selected, but I thought it would make more sense to do this PR, I didn't imagine it would cause any problems

And how do I reopen this pr? Do I revert this commit or create a new pr?

#394


Fix unsupported API version fallback

What does this PR do?
Resolves https://github.com/DataDog/integrations-core/issues/2712

Codecov Report

Merging #2793 into master will increase coverage by 7.76%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2793      +/-   ##
==========================================
+ Coverage    84.8%   92.56%   +7.76%
==========================================
  Files         658        7     -651
  Lines       37544      296   -37248
  Branches     4504       25    -4479
==========================================
- Hits        31838      274   -31564
+ Misses       4391       13    -4378
+ Partials     1315        9    -1306


Unable to extract uploader id

youtube-dl --verbose https://youtu.be/GWfbEFH9NvQ
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://youtu.be/GWfbEFH9NvQ']
[debug] Encodings: locale ISO-8859-15, fs iso8859-15, out iso8859-15, pref ISO-8859-15
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.10 (CPython) - Linux-6.2.6-arch1-1-x86_64-with-glibc2.37
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] GWfbEFH9NvQ: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
return func(self, *args, **kwargs)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
ie_result = self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

+1
$ youtube-dl https://www.youtube.com/watch\?v\=pPuZB9OTbF4 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=pPuZB9OTbF4', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.15.0-46-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] pPuZB9OTbF4: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I got the same issue
$ youtube-dl https://www.youtube.com/watch\?v\=TdaXc2wzwv4 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=TdaXc2wzwv4', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7
[debug] Proxy map: {}
[youtube] TdaXc2wzwv4: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Same youtube-dl https://www.youtube.com/watch?v=6_n0JG9BzOM --verbose

Potential duplicate of issue #31530?


[Feature ASK] Add fields to the metadata file "templates.json" to enable better retrieval from AI systems.

This is not a bug .
This is an ask on the AZD team to consider the addition of some new fields that will help AI systems discover these templates better. Currently the static workloads team has done work to aid discovery of the AZD templates in Copilots on Azure Portal and GitHub. The endpoint Indexes information from the templates.json file - templates.json
The information in these fields are used to match one of the maintained templates to a User Intent and is then recommended as a good starting point(or a close match to the intent).
The static workloads team, presently, maintains a copy of some of these templates here - static workload templates.
We have added some additional fields to support better matching and recommendations via the Copilot systems in the Azure Portal and GitHub.
Adding these additional fields (if it is reasonable after consideration) to this central location has the following benefits:

The AI systems can source this information directly from here.
Provide the Authors the ability to define and fine-tune how these templates are recommended

Specifically, consider adding these optional fields:

Products - string[] - List of Azure services that are used in the template. This will help match better when users ask for a suggestion regarding a specific Azure service. Eg: Azure Open AI , Azure Key Vault.
Sample queries - string[] - A list of sample User queries that are good candidate examples for what this template would be a recommendation.
Tech - string[] - The tech stack used. Eg: Python/Node.js  - Very useful in matching Intents for specific queries- "I want a web app built using Node.js"
Negative match terms - string[] - A list of terms that should NOT be considered a match for the template. Eg - LLMs have been observed to match RAG (Retrieval Augmented Generation) to React and GraphQL leading to some poor recommendations.

Please reach out to -<EMAIL_ADDRESS>if you would like to discuss this further outside of this Issue. Happy to elaborate more on the ask.

@kristenwomack - FYI

Thanks for reaching out @unrealab
Lets us see how to get those additional requirements into our templates.json and have a single source of truth cc @gkulin @hemarina @vhvb1989

Thank you for this suggestion @unrealab

Would also add a flag to this metadata for approved or other flag used to make the template exposed through the API, as not all of them should be readily available for various reasons

Would also add a flag to this metadata for approved or other flag used to make the template exposed through the API, as not all of them should be readily available for various reasons

This is a great addition.

@unrealab would it be ok to group all those fields in one node key, like:
{
        "title": "ChatGPT + Enterprise data with Azure OpenAI and AI Search",
        "description": "A sample app for the Retrieval-Augmented",
        "author": "Microsoft",
        "source": "https://github.com/Azure-Samples/azure-search-openai-demo",
        "tags": [
            "OpenAI",
            "Azure",
            "AI Search",
            "ChatGPT",
            "Enterprise"
        ],
        "ai-integration": {
          "id": "88bce5a4-8e70-4c83-a87c-4d68e34eaf7e",
          "deploymentOptions": [
            "AzD"
          ],
          "deploymentConfig": {},
          "products": [
              "Azure OpenAI and AI Search"
          ],
          "sampleQueries": [
              "How to use Azure AI Search to power ChatGPT-style and Q&A experiences"
          ],
          "sourceType": "Azd"
       }
    }

See the key ai-integration.  We can use and reserve the name you chose.  We don't need an approved field in this model, as you will just ignore entries without the ai-integration field.
This will also help us to easily add more field for you and quickly recognize what fields are for the gallery and which are for integrating to your system.

@unrealab would it be ok to group all those fields in one node key, like:
{
        "title": "ChatGPT + Enterprise data with Azure OpenAI and AI Search",
        "description": "A sample app for the Retrieval-Augmented",
        "author": "Microsoft",
        "source": "https://github.com/Azure-Samples/azure-search-openai-demo",
        "tags": [
            "OpenAI",
            "Azure",
            "AI Search",
            "ChatGPT",
            "Enterprise"
        ],
        "ai-integration": {
          "id": "88bce5a4-8e70-4c83-a87c-4d68e34eaf7e",
          "deploymentOptions": [
            "AzD"
          ],
          "deploymentConfig": {},
          "products": [
              "Azure OpenAI and AI Search"
          ],
          "sampleQueries": [
              "How to use Azure AI Search to power ChatGPT-style and Q&A experiences"
          ],
          "sourceType": "Azd"
       }
    }

See the key ai-integration. We can use and reserve the name you chose. We don't need an approved field in this model, as you will just ignore entries without the ai-integration field.
This will also help us to easily add more field for you and quickly recognize what fields are for the gallery and which are for integrating to your system.

@vhvb1989  - Yes that would work, the ai-integration reserve name works fine. I can use its presence to determine whether a template is ready for consumption by the Copilot system.
Quick note: We don't need all the fields (from your snippet). Some fields are specific to the Copilot client(Copilot in Azure Portal) that we need on our end, and AZD doesn't need to be aware of, eg: deploymentOptions, deploymentConfig, sourceType etc. Do you have a list of fields you will add (in addition to the ones I mentioned in the issue) ? I can confirm what fields are Client specific and what make sense to be included here.

@abhishekbhombore , do you have some public docs about the supported fields and why/when folks would want to add them for the ai-integration?
Something like what you described on the top with
Products - string[] - List of Azure services that are used in the template. This will help match better when users ask for a suggestion regarding a specific Azure service. Eg: Azure Open AI , Azure Key Vault.

Sample queries - string[] - A list of sample User queries that are good candidate examples for what this template would be a recommendation.

Tech - string[] - The tech stack used. Eg: Python/Node.js - Very useful in matching Intents for specific queries- "I want a web app built using Node.js"

Negative match terms - string[] - A list of terms that should NOT be considered a match for the template. Eg - LLMs have been observed to match RAG (Retrieval Augmented Generation) to React and GraphQL leading to some poor recommendations.

We don't own all the samples/templates from the gallery.  We can update the ones we are familiar with as a way for you to test (it will be just a few ones).
Then, I can create an issue in all of other repositories without the ai-integration key with an invitation to add the key and specific configuration. But, for that, we would need some public docs where folks can learn what fields they can add, which are mandatory and how they can test/use/advertise the integration after merging the changes to the gallery.
For new templates, we can include such documentation as part of the - How to add your template - docs here: https://azure.github.io/awesome-azd/docs/contribute/

We would want to create requirements, much like we have in the azure.yaml for the template name etc. for these and then have the validation pipeline also check for these as "optional".

@vhvb1989 - I don't have public docs, but I can share a doc (I'll do it over teams) with an explanation of what each of those fields do and how the Author should use it, and how it helps.
Updating a few to begin with, will work as a test.
This would be great as well.

Then, I can create an issue in all of other repositories without the ai-integration key with an invitation to add the key and specific configuration. But, for that, we would need some public docs where folks can learn what fields they can add, which are mandatory and how they can test/use/advertise the integration after merging the changes to the gallery.

Could we add the information about the fields in ai-integration to the AZD public docs for authors - https://azure.github.io/awesome-azd/docs/contribute/  ? Given we're introducing the fields directly into this repo, it might be the best place for the docs about them to live as well.
@spboyer  - Not very familiar with what azure.yaml is, but I can help with providing all the information about the fields and their optionality.

We would want to create requirements, much like we have in the azure.yaml for the template name etc. for these and then have the validation pipeline also check for these as "optional".

@vhvb1989 , @kristenwomack , @rajeshkamal5050 , @spboyer  - I've shared the doc with the fields and descriptions with you. Let me know if there's anything else needed from me.

@vhvb1989 @kristenwomack @rajeshkamal5050 @spboyer  - Folks, want to check if this work was committed to a sprint? I'd like to move away from keeping a copy of the AZD templates, when possible.


Simulate as a non-holonomic robot.

My robot is a non-holonomic robot, which can only move forward and rotate, but cannot move sideways. But I looked at the example.py file and found that the robot of the simulation simulator is a holonomic robot. How can I modify it into a holonomic robot?

My robot is a non-holonomic robot, which can only move forward and rotate, but cannot move sideways. But I looked at the example.py file and found that the robot of the simulation simulator is a holonomic robot. How can I modify it into a holonomic robot?

Hi, I have the same question, can we have a discussion?


RabbitMQ AutoCluster using Consul is not working

First of all, I would appreciate for creating such a awesome utility, I ran into below errors while following the steps mentioned below, Kindly share the details in case I am missing anything.
Error Message
While starting the second & third RabbitMQ instances the below error is seen and the nodes is not able to join the Cluster
=ERROR REPORT==== 11-Nov-2016::00:20:00 ===
autocluster: Can not communicate with cluster nodes.

Steps to Reproduce :
I ran the below commands as per the steps mentioned below and happen to recive the error autocluster: Can not communicate with cluster nodes.
docker build -t gavinmroy/autocluster .

docker run --rm -t -i --name=consul -p 8500:8500 gavinmroy/alpine-consul:0.5.2-0

docker run --rm -t -i --link=consul --name=node0 -e AUTOCLUSTER_TYPE=consul -e CONSUL_HOST=consul -e CONSUL_PORT=8500 -e CONSUL_SERVICE_TTL=60 -e CONSUL_AUTO_ADDRESS=true -e AUTOCLUSTER_CLEANUP=true -e CLEANUP_WARN_ONLY=false -p 15672:15672 gavinmroy/autocluster

docker run --rm -t -i --link=consul --link=node0 --name=node1 -e RABBITMQ_NODE_TYPE=ram -e CONSUL_HOST=consul -e CONSUL_PORT=8500 -e AUTOCLUSTER_TYPE=consul -e CONSUL_AUTO_ADDRESS=true -e AUTOCLUSTER_CLEANUP=true gavinmroy/autocluster

docker run --rm -t -i --link=consul --link=node0 --link=node1 --name=node2 -e RABBITMQ_NODE_TYPE=ram -e CONSUL_HOST=consul -e CONSUL_PORT=8500 -e AUTOCLUSTER_TYPE=consul -e CONSUL_AUTO_ADDRESS=true -e AUTOCLUSTER_CLEANUP=true gavinmroy/autocluster

autocluster: Can not communicate with cluster nodes

means that the plugin tried to discover its peers and the returned set was empty (returned no nodes).

I have installed docker locally with the ports exposed appropriately, Steps to reproduce is detailed in the comments. Kindly check the commands in case any parameters are missing. I have referred the below document to check the autocluster.
https://github.com/aweber/rabbitmq-autocluster/wiki/Development-Environment

I also tried the other way using alpine-rabbitmq-autocluster but I am getting the same error.

Another thing - can you for e.g. do "ping node1" from node2?
11 нояб. 2016 г. 8:56 ДП пользователь "vyomtandon"<EMAIL_ADDRESS>написал:

I also tried the other way using alpine-rabbitmq-autocluster
https://github.com/gmr/alpine-rabbitmq-autocluster but I am getting the
same error.

Reply to this email directly, view it on GitHub
https://github.com/aweber/rabbitmq-autocluster/issues/110#issuecomment-259887137,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALUYxUrDR5wP_3kRHsaJ11jfZ8xeFsFks5q9AOJgaJpZM4KvTVA
.

<IP_ADDRESS> is dynamically generated inside docker so we cannot hard code the same. I am using<EMAIL_ADDRESS>\ &<EMAIL_ADDRESS>\ still having the same issue

Oh, missed that part - you can't do it that way, Erlang distribution will
just not work through exposing ports on host machine. Only direct
connection between containers.  So you could either set nodename to IP from
some startup script INSIDE your container. Or you could use DNS feature of
docker which should work on non-default networks. Anyway, you should start
with finding a way to do ping between containers; then perform clustering
manually with rabbitmqctl; and only when all of this is working properly
you can start debugging autocluster issues.

Ok I got where is the problem
In this example: https://github.com/aweber/rabbitmq-autocluster/wiki/Development-Environment#testing-consul-behaviors is used --link that is a mono-directional link.
So this example can work only if the order of join_cluster respects the links, ex:

node1  can join with node0 works because:

node1
/ # cat /etc/hosts
<IP_ADDRESS>       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
<IP_ADDRESS>      node0 d84ef4e1c202
<IP_ADDRESS>      69ab4d419d2d

node0  cannot join with node1 works because:

node0
/ # cat /etc/hosts
<IP_ADDRESS>	localhost
::1	localhost ip6-localhost ip6-loopback
fe00::0	ip6-localnet
ff00::0	ip6-mcastprefix
ff02::1	ip6-allnodes
ff02::2	ip6-allrouters
<IP_ADDRESS>	d84ef4e1c202

and in this case (2) you can have: Can not communicate with cluster nodes
The example should be changed by using a bidirectional links, for ex using a docker network
as I did here

Here is the script:
git clone https://github.com/aweber/rabbitmq-autocluster.git test_consul
cd test_consul
make dist
docker build -t gavinmroy/autocluster .
docker network create rabbitmq_network
docker run --rm -t -i --net=rabbitmq_network --name=consul -p 8500:8500 gavinmroy/alpine-consul:0.5.2-0

docker run --rm -t -i --link=consul --net=rabbitmq_network --name=node0 -e AUTOCLUSTER_TYPE=consul -e CONSUL_HOST=consul -e CONSUL_PORT=8500 -e CONSUL_SERVICE_TTL=60  -e AUTOCLUSTER_CLEANUP=true -e CLEANUP_WARN_ONLY=false -e CONSUL_SVC_ADDR_AUTO=true -p 15672:15672 gavinmroy/autocluster

docker run --rm -t -i --link=node0 --net=rabbitmq_network --name=node1 -e RABBITMQ_NODE_TYPE=ram -e AUTOCLUSTER_TYPE=consul -e CONSUL_HOST=consul -e CONSUL_PORT=8500 -e CONSUL_SERVICE_TTL=60  -e AUTOCLUSTER_CLEANUP=true -e CLEANUP_WARN_ONLY=false -e CONSUL_SVC_ADDR_AUTO=true gavinmroy/autocluster

docker run --rm -t -i --link=node1 --net=rabbitmq_network --name=node2 -e RABBITMQ_NODE_TYPE=ram -e AUTOCLUSTER_TYPE=consul -e CONSUL_HOST=consul -e CONSUL_PORT=8500 -e CONSUL_SERVICE_TTL=60  -e AUTOCLUSTER_CLEANUP=true -e CLEANUP_WARN_ONLY=false -e CONSUL_SVC_ADDR_AUTO=true gavinmroy/autocluster

That's the result:

Another problem is that you are using CONSUL_AUTO_ADDRESS it has to be  CONSUL_SVC_ADDR_AUTO
The documentation needs to be updated.
I'd update the documentation and I'd close the issue
@michaelklishin WDYT?

@Gsantomaggio sounds good.

@michaelklishin done: https://github.com/aweber/rabbitmq-autocluster/wiki/Development-Environment
btw the wiki is globally editable.

Unfortunately I don't have the permissions to change that.


Submit graph API scripts

Hi folks,
I would like to submit 2 types of scripts

Graph API scripts that use URI strings with Invoke-RestMethod to get data.
EXO module PowerShell scripts.
Can I contribute to the script-sample library?
Thanks

Hi @oliveir3 yes, we support those script types. You might be the first EXO one but that's ok I can make adjustments.
Thank you 🙏

Closing as low activity, however if you would like to contribute please let me know.


Simulator frame flashes when game is loaded

When you open a game in the Kiosk app, the Simulator frame flashes on screen for a brief second before the game goes fullscreen.

I think the reason is similar to https://github.com/microsoft/pxt-arcade/issues/4786
@jwunderl had few ideas

There is an async delay between page loading and the sim buttons being hidden. The most straightforward solution would probably be to make hideSimButtons the default state and then just remove the hiding CSS if it's not set when checked later on. The downside is that it will change the current behavior across all the other places hosting the sim now since there will be a brief period of a transparent frame before the controls and game are loaded. Otherwise it'll involve a substantial change to the way controls are hidden.

@jwunderl suggested new url parameter while loading.

I don't follow.

We're passing it in runOptions, so it's currently getting picked up in initAsync after the frame has already -- instead we should be able to add it as a queryParam in createFrame in simdriver.ts so that we can read it as soon as the frame is loaded~

It sounds like we want to revert to the original implementation of this from a few weeks ago:

https://github.com/microsoft/pxt/pull/8844/commits/7bbad2ad05a8b66ba84d67e3dc95d0301a9d290f
https://github.com/microsoft/pxt-arcade-sim/pull/57/commits/6ca4a87eb5d0c7dcc3bb5304119f24524aabd11f

But instead:

Pass the hideSimButtons flag as a query param instead of as a frame attribute.
Move the code that detects the flag and applies the CSS from the HTML to a code file.

Can you confirm this is what you have in mind?

This is fixed.


Use external defined variable

I'm using GenerateReleaseNotes Node based Cross Platform Task to do the release notes of ours applications, but they are iOS and Android Mobile applications, so, we defined the version their version using fastlane.
There is a method in fastlane to get version number information (bundle exec fastlane run get_version_number), It's possible to get the information with this method, and use in the template for the release notes?
Thanks

The answer currently is no, there is no way built into the task to inject some value obtained from some other tool such as the fastlane command you detailed.
The only way I can think to do it is to place some block in your template file such as
Mobile app version: [[VERSONTAG]]

You could then generate your release notes as normal using my task, the tag would be unaltered, and then use one of the tag replacement tasks in the marketplace or a bash or powershell script to replace the tag with a version from you command line
Does that help?

Yes, I think that might help!
I'm gonna try here, I come back to tell you.
Thanks


Add a new tab (or modal) to display all alert properties

It would be good to browse all alert fields in the browser directly (not just via the API).

Done in #192


Refactor/modal dialog header offcanvas

Integration PR for modifications around modal and header components.

Moved to integration/modal-offcanvas branch.


Network analysis scripts, data, and supporting modules

@JainSameer06 can we merge this (or are you making changes based on above?)


Updated db adapter related docs

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   83.54%   83.54%
=======================================
  Files           4        4
  Lines         237      237
=======================================
  Hits          198      198
  Misses         29       29
  Partials       10       10

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 a3fb4b5...b5606f9. Read the comment docs.


Develop a driver for the i2c to PWM 16-channel device

Thank you @naterpotatoers for the reference: https://github.com/SJSURoboticsTeam/urc-control_systems-2021/blob/master/Arm/Hand/pca9685.hpp and credits to @AndrewDEmerson for working on this.. I think this could be .hpp file in the Common folder or maybe even in the SJSU-Dev2 code?

The title of this issue is to make an driver for the pca9685 (the i2c to 16 channel pwm device). But the first comment references an already existing implementation. What is the purpose of this bug?

Hey Khalil, whoops! I probably made a mistake or there was miscommunication.. I thought this still needed to be fully implemented/tested but if it's already finished then we could close this one out.

You should list in the first comment exactly what needs to be done so its clear what is needed. Also change the title to reflect the intent of this issue.

Thank you for the tips! I haven't looked into the code fully but wanted to create this issue if it isn't fully implemented. I'll make the changes soon unless anyone wants to edit it. I didn't assign myself yet


Installation issue with FAdo 1.3.2 at Mac

when installing project via "pip install -r src/requirements/py2.txt", the following error appeared on a MacBook Pro with Sierra 10.12.5: "Could not find a version that satisfies the requirement FAdo==1.3.2 (from -r src/requirements/py2.txt (line 2)) (from versions: 1.1, 1.1.1, 1.2, 1.3, 1.3.3)
No matching distribution found for FAdo==1.3.2 (from -r src/requirements/py2.txt (line 2))"

created pull request, which fixes this issue, by using "FAdo>=1.3.2" instead of "FAdo>=1.3.2". Similar code change done for kitchen, although there it didn't break (for now)

problem was fixed with latest commit: "https://github.com/general-ai-challenge/Round1/commit/0499421c7bb19021dd4d0f10d8f9b3969435dfe4"


hide 'more' menu if there are no tests

show tests is the only option, so hide the menu.
closes #1173

@RedBrogdon PTAL


[BUG] welcome_message.py  <Response [200]>

Describe the bug
hi guy, so i was trying to run welcome_message.py , no message is being sent to any of the new followers and i have been getting following error
 GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
Screenshots

log:
2020-01-22 00:41:06,018 - INFO - LOGIN FLOW! Just logged-in: False
2020-01-22 00:41:07,393 - DEBUG - POST to endpoint: feed/timeline/ returned response: <Response [200]>
2020-01-22 00:41:08,006 - DEBUG - POST to endpoint: feed/reels_tray/ returned response: <Response [200]>
2020-01-22 00:41:08,006 - INFO - Logged-in successfully as 'xxxx'!
2020-01-22 00:41:08,772 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
2020-01-22 00:41:29,866 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
2020-01-22 00:41:50,764 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
2020-01-22 00:42:11,431 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>

To Reproduce
Steps to reproduce the behavior:

Edit '...'
Run '....'
Scroll down to '....'
See error

Expected behavior
message new followers

Describe the bug
hi guy, so i was trying to run welcome_message.py , no message is being sent to any of the new followers and i have been getting following error
 GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
Screenshots

log:
2020-01-22 00:41:06,018 - INFO - LOGIN FLOW! Just logged-in: False
2020-01-22 00:41:07,393 - DEBUG - POST to endpoint: feed/timeline/ returned response: <Response [200]>
2020-01-22 00:41:08,006 - DEBUG - POST to endpoint: feed/reels_tray/ returned response: <Response [200]>
2020-01-22 00:41:08,006 - INFO - Logged-in successfully as 'xxxx'!
2020-01-22 00:41:08,772 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
2020-01-22 00:41:29,866 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
2020-01-22 00:41:50,764 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>
2020-01-22 00:42:11,431 - DEBUG - GET to endpoint: news/inbox/?limited_activity=true&show_su=true returned response: <Response [200]>

To Reproduce
Steps to reproduce the behavior:

Edit '...'
Run '....'
Scroll down to '....'
See error

Expected behavior
message new followers

I have the same problem

It's not an error


Allow dot sourcing the script

This allows the script to be dot sourced, so it can be executed as part
of another script.  The biggest reason for this change is so I can set
my own parameters of which images to build without editing Factory.ps1 -
making updating easier.
I changed the name of the main function to Start-ImageFactory to follow
the standard powershell naming convention, and added comment based help.
This isn't strictly necessary, but since the function is now intended to
be usable by other scripts, it makes sense to me to follow the Verb-Noun
naming standard.
By default this changes nothing - the script runs the same way it always
did if $StartFactory = $true.  When $StartFactory = $false, it won't run
anything automatically and can be dot sourced in an outside script
instead.

Also note that the product keys listed in the examples are publicly available KMS keys, so they are safe to put in the examples.

Awesome. This would make it much easier to integrate #10 but keep it separate.

Good change - thanks!


Auth refactor for iTwin 3.2

@DanielToby As with the mobile-sdk-android PR, I put you here as an FYI (although if you find problems, commenting about them will prevent the PR from merging).


ESLint + Nodemon + Enforce Standard Code Style

Remember to update packages with node install
Run bot with node dev:server
Run linter with node dev:lint

It looks like the dev:lint command doesn't like the way tests are formatted?

Sometimes the linter does not detect definitions if their defined from another file and thus the no-undef rule pops up. You can edit the .eslintrc.json to ignore the no-undef rule if you'd like. You can find all the ESLint rules here. If I had to guess the syntax would be something like as follows.
{
    "rules": {
        "no-undef": ["off"]
    }
}

Note that the linter will only spit out errors that it can't fix. If you want to see the problems before it fixes it all, use node eslint . without the --fix.
You can learn more about ESLint here.

Ah. Thanks for the info!


pma: fix file growth infinite loop

resolves #205

not quite merge ready. this can potentially break bt_free. Freelist insertion needs to be revised

@eamsden @philipquirk I believe this is merge-ready now. The first test in btest.c has been disabled because it directly calls _bt_insert. When closing and syncing the btree, this causes errors because the ranges we've pretended to allocate (but haven't actually) aren't mmaped. Leaving disabled for now until I make test changes to override the sync procedure it calls (to avoid actually syncing).

This crashes for me with:
ares(8146,0x1dce1dec0) malloc: *** error for object 0x600003198090: pointer being freed was not allocated

This crashes for me with:
ares(8146,0x1dce1dec0) malloc: *** error for object 0x600003198090: pointer being freed was not allocated
It crashes the first time I call pma_sync()

@philipquirk  Can you give more context for the crash? When running it as a serf of vere, I get a crash, but not this one. For instance, can ycargo build --features "stop_for_debug"ou at least print the results of info stack after attaching to the ares process with gdb (build with the "stop_for_debug" feature).

This crashes for me with:
ares(8146,0x1dce1dec0) malloc: *** error for object 0x600003198090: pointer being freed was not allocated
It crashes the first time I call pma_sync()

@philipquirk Can you give more context for the crash? When running it as a serf of vere, I get a crash, but not this one. For instance, can you at least print the results of info stack after attaching to the ares process with gdb (build with the "stop_for_debug" feature).

I just tried it again and it no longer crashes on launch for me. I'm not sure what's difference. I'm not seeing any crash at the moment.

This crashes for me with:
ares(8146,0x1dce1dec0) malloc: *** error for object 0x600003198090: pointer being freed was not allocated
It crashes the first time I call pma_sync()

@philipquirk Can you give more context for the crash? When running it as a serf of vere, I get a crash, but not this one. For instance, can you at least print the results of info stack after attaching to the ares process with gdb (build with the "stop_for_debug" feature).

I just tried it again and it no longer crashes on launch for me. I'm not sure what's difference. I'm not seeing any crash at the moment.

I just saw it crash when calling save in the serf (so probably in save_to_pma but i didn't attach a debugger)

@eamsden have confirmed this doesn't crash on latest commit from status branch. Ready for review


[BUG] Global user-base + cluster owner not able to see/edit all options while editing RKE1 downstream clusters

Rancher Server Setup

Rancher version: 2.6.8

Describe the bug
Global user-base and cluster owner is not able to see/edit all options while editing RKE1 cluster through UI.
To Reproduce
created a downstream RKE1 as admin
created a global user-base local user
added the previously created user as cluster owner at Member Member for the RKE1 cluster
Logged into UI as the previous user created
Tried to edit the RKE1 cluster in Cluster Management
Was able to see only the snippets "Member Roles" and "Labels & Annotations" while editing
The same steps were reproduced with downstream RKE2 and could see/edit all options while editing RKE2.
Additionally, the user-base + cluster owner could delete/remove both clusters, RKE1 and RKE2.
SURE-5419

@gaktive Can someone help me and @tomleb to take a look at this from the UI side? Thanks!

Overall, it seems reasonable for the cluster owner to be able to edit the cluster configuration even if they are only a member of user-base global group.
As it (the UI) is today in order to properly render the Edit config UI we need the user-base role to have at least get and list permissions for nodedrivers, nodetemplates and other resources.
We don't want to add additional permissions to the user-base global role as it meant to have minimal possible priveleges.
Instead, we would like to change the UI to render and allow to edit as much as possible  of the cluster configuration with the given permissions.

@pmatseykanets I've asked who on UI can help out, will keep you posted.

Per https://github.com/rancher/dashboard/issues/9804#issuecomment-1789380695, UI has a question for backend. @samjustus who's can help Richard there?

To expand on https://github.com/rancher/dashboard/issues/9804#issuecomment-1789380695

The Cluster owner, who has the global user-base role, would not be able to manage/see anything node or node pool related
API requests to edit cluster resources (excluding node or node pools) will work correctly. From memory i think some node config is included in v3/norman

Closing this ticket in favor of https://github.com/rancher/dashboard/issues/9804

I've tried to bring everything together here
Problem Space

Customer would like a user that has the global user-base role and a cluster cluster-owner role for an RKE1 cluster
They would like the user to be able to manage the RKE1 cluster.
It's been stated that the user cannot edit the cluster in the UI because certain resources are not available

nodetemplates. potentially nodedrivers, etc

In JIRA, Nancy has stated "node drivers, kontainer drivers, role templates, principals, psp templates, and psac templates are all required to view and edit the form".
Peter has confirmed adding these permissions renders the form correctly
They do not want to add additional permissions to any role or user in order to manage the cluster

Investigation
I've created a user, as per above, and see the following for collection permissions and resource count when fetched

The user is an owner of an RKE1 cluster

Url
Test User
Admin

/v3/schemas/nodetemplate
POST, GET (0 resource)
POST, GET (2 resource)

/v1/schemas/management.cattle.io.nodetemplate
404 (404)
GET, blocked-POST (2 resource)

/v3/schemas/nodedriver
POST, GET (0 resource)
POST, GET (21 resource)

/v1/schemas/management.cattle.io.nodedriver
404 (404)
GET, blocked-POST (21 resource)s

/v3/schemas/nodes
POST, GET (3 resource)
POST, GET (4 resource)

/v1/management.cattle.io.node
GET, blocked-POST (3 resource)
GET, blocked-POST (4 resource)

/v3/schemas/nodepool
POST, GET (1 resource)
POST, GET (1 resource)

/v1/schemas/management.cattle.io.nodepool
GET, blocked-POST (0 resource)
GET, blocked-POST (1 resource)

/v3/schemas/principal
GET (0 resource)
GET (0 resource)

/v3/cloudcredentials
n/a (0 resource)
n/a (1 resource)

/v3/schemas/roleTemplates
404 (0 resources)
404 (42 resources)

/v3/kontainerdrivers
n/a (0 resource)
n/a (11 resource)

/v1/schemas/management.cattle.io.kontainerdrivers
404 (404)
GET, blocked-POST (11 resource)

In addition

/v3/principals/local%3A%2F%2Fuser-xglvs
200 - null response
200 - populated response

/v3/principals/local%3A%2F%2Fu-q7z6d
200 - null response
200 - populated response (this is the principal of the test user - they cannot fech themselves)

I then added the user to a global role that had get, list on nodedrivers. This revealed the whole edit cluster config. Some parts were broken, like node template name and the membership section
There is a LOT going on here

Users cannot fetch v1 versions of v3 resources nodetemplate, kontainerdrivers. In addition user cannot see roleTemplates
Fetching /v3 node drivers returns an empty list, adding permissions to v1/mgmt nodedriver resource results in a /v3 non-empty list
User cannot fetch the principal of themselves (they can fetch themselves)

Actions

Question - BE - What should the user be able to change when editing a cluster when they have no access to nodedriver or user based resources
Question - BE - Should resources like node driver be available (schema is available, requests return an empty result set) when the user does not have permissions for them?
Problem - As it stand we would remove just about everything other than editing labels/annotations. Is this acceptible?
Task -  We also need to disable the create cluster process, given the user should not be able to (are the permissions wired in?)


loader animation updated

Fixes this #988

When you're done, please run yarn test -u and commit the updated UI snapshots so that the tests pass.

Do we still need to set :value  on each button?
Quasar documentation is a bit confusing to me. http://quasar-framework.org/components/button.html#Button-with-Progress mentions the method with :loading, http://quasar-framework.org/components/button.html#Controlling-the-Button-for-Form-Submission mentions another method with v-model.

@tiltec  even i was confused so i didn't removed that .

@tiltec  What should i do remove :value or let it be for now ?

@chocos10 What happens if you remove it?

@tiltec for now it does not disturb anything on the following page but i don't know if the :value is used somewhere else in the codebase.

@tiltec  for now i have removed :value as i didn't find any problem after removing that.


Bug in recordLabelsForMetric

recordLabelsForMetric has a bug where it doesnt copy the previous labels

Thanks for the issue and the fix of it. Appreciate it :))


Get integration tests working part 1

Update make to run integration tests
Update jobmanager to take a config rather than internal / external flag
Make jobmanager integration tests work out of cluster with hacks
Fix linting
Fix more linting
Add kube config with strongbox encryption
progress on fixing k8s integration tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 23 (91.3%)  changed or added relevant lines in 2 files are covered.
29 unchanged lines in 1 file lost coverage.
Overall coverage increased (+7.8%) to 55.975%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/kubelayer/kubelayer.go
21
22
95.45%

pkg/localrepomanager/localrepomanager.go
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/kubelayer/kubelayer.go
29
57.36%

Totals

Change from base Build<PHONE_NUMBER>:
7.8%

Covered Lines:
356

Relevant Lines:
636

💛  - Coveralls


Navigation collection being materialized as HashSet instead of List

I've been porting the Npgsql provider to work against the recently-released 2.0.0-preview2. After quite a bit of work I've reached a point where only 1 test is failing: QueryNavigationsNpgsqlTest.Select_collection_navigation_simple.
Given the following LINQ:
from c in context.Customers
    where c.CustomerID.StartsWith("A")
    orderby c.CustomerID
    select new { c.CustomerID, c.Orders }

The Orders navigation property on each customer is strangely materialized as a HashSet instead of List. I have no idea what missing thing in the Npgsql provider is causing this, any guidance would be appreciated.

The current state of the port can be seen in https://github.com/npgsql/Npgsql.EntityFrameworkCore.PostgreSQL/tree/preview2

@roji Are you saying that SQL Server gets a List, but it your code it is a HashSet? (When not collection type is specified and EF creates the collection, then the default is HashSet, not List, but this is not provider-specific.)

Yeah, I'm really not sure what's going on. Running this test with the Npgsql provider gives the following:
Failed   Npgsql.EntityFrameworkCore.PostgreSQL.FunctionalTests.QueryNavigationsNpgsqlTest.Select_collection_navigation_simple
Error Message:
 Assert.Equal() Failure
Expected: List<Order> [Order 10643, Order 10692, Order 10702, Order 10835, Order 10952, ...]
Actual:   HashSet<Order> [Order 10835, Order 11011, Order 10692, Order 10702, Order 10643, ...]
Stack Trace:
   at CallSite.Target(Closure , CallSite , Type , Object , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2)
   at Npgsql.EntityFrameworkCore.PostgreSQL.FunctionalTests.QueryNavigationsNpgsqlTest.<>c.<Select_collection_navigation_simple>b__2_1(IList`1 l2oItems, IList`1 efItems) in C:\projects\Npgsql.EntityFrameworkCore.PostgreSQL\test\EFCore.PG.FunctionalTests\QueryNavigationsNpgsqlTest.cs:line 49
   at Microsoft.EntityFrameworkCore.TestHelpers.AssertResults[T](IList`1 expected, IList`1 actual, Boolean assertOrder, Action`2 asserter)
   at Microsoft.EntityFrameworkCore.QueryNavigationsTestBase`1.AssertQuery[TItem](Func`2 efQuery, Func`2 l2oQuery, Boolean assertOrder, Int32 entryCount, Action`2 asserter)
   at Microsoft.EntityFrameworkCore.QueryNavigationsTestBase`1.AssertQuery[TItem](Func`2 query, Boolean assertOrder, Int32 entryCount, Action`2 asserter)
   at Npgsql.EntityFrameworkCore.PostgreSQL.FunctionalTests.QueryNavigationsNpgsqlTest.Select_collection_navigation_simple() in C:\projects\Npgsql.EntityFrameworkCore.PostgreSQL\test\EFCore.PG.FunctionalTests\QueryNavigationsNpgsqlTest.cs:line 37

Running it with the SqlServer provider obviously works. As I wrote above, checking the results from the LINQ query shows that Orders is a HashSet. As you say this seems far away from anything the provider can mess around with, which is why I thought I'd talk to you guys... Any ideas?

@roji I investigated this on SQL Server and the navigation property is materialized as a HashSet there too.

So the difference is in the order of entities in the collection, rather than the collection type itself. This order is not defined anyway, so it's really a test issue. @maumar is in the process of re-working these assertions anyway, but for now I'll send out a PR that should hopefully unblock you.

Oh, I understand - I was misled by the test failure message mentioning the types.
Thanks, I'll skip the test for preview2 and reenable afterwards.


The sender is not displayed properly in table and JSON

The sender is always fully displayed (the long form Sender Name<EMAIL_ADDRESS>Only the name should be displayed, and if no name exists then the email address.
The right part of a sender can be encoded. You forgot to decode it (with the rfc2047_decoder lib)

For example, let's take =?UTF-8?Q?Userame?=<EMAIL_ADDRESS>Himalaya's master branch shows Username, but your branch shows =?UTF-8?Q?Userame?=<EMAIL_ADDRESS>

The sender is always fully displayed (the long form Sender Name<EMAIL_ADDRESS>Only the name should be displayed, and if no name exists then the email address.

For which subcommand? I'd prefer it to always see the mail address of the sender as well! Otherwise it might be a little bit dangerous in my opinion. Suppose you mean that only the name should be displayed if you read a mail. What happens if the sender is actually someone suspicious but uses a name of one of your friends? Like: Your Friend<EMAIL_ADDRESS>If we would only display the name, then we could be easily tricked.
(Or am I overthinking?)

The right part of a sender can be encoded. You forgot to decode it (with the rfc2047_decoder lib)

Could you please explain me for which subcommand this happens?

As I put in the title, I'm talking about the list command (the plain table and the JSON). We need them to be compact (to take as few term width as possible). Everywhere else we should see the full address (and it's already the case, no need to touch).


SQLResponseTest testcase fix

Codecov Report

:exclamation: No coverage uploaded for pull request base (dynamic-measure@8df4be2). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             dynamic-measure     #771   +/-   ##
==================================================
  Coverage                   ?   26.14%
  Complexity                 ?     6190
==================================================
  Files                      ?     1394
  Lines                      ?    83093
  Branches                   ?    11625
==================================================
  Hits                       ?    21727
  Misses                     ?    59285
  Partials                   ?     2081

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 8df4be2...905d447. Read the comment docs.


Figma Connect - Multiple Component Connect with Storybook approach

I see the figma documentation covering details for connecting single React Code Component to Multiple Figma Component sets with Figma.tsx file approach.
I can have multiple figma.connect calling with each specific figma URL to component or component Set.
For the same use case, how it can be implemented with STORBOOK story file approach?? Please share the details & examples for that.
Since storybook has only one Export Default with only one Design Parameter URL can be accepted.
For Ex :
export default {
    component: sampleComponent,
    parameters: {
        design: {
            type: 'figma',
            url: '//IT CAN HOLD ONLY ONE URL',
            examples: [FigmaTemplate],
            props: {
              //PROPS
            }
        },
    },
    argTypes: {
        onClick: {
            table: {
                category: 'Events',
            },
        },
    },
} as ComponentMeta<typeof SampleComponent>;

@tomduncalf-figma

Duplicate of https://github.com/figma/code-connect/issues/35


Automated cherry pick of #1939: lbbackends: 若backend guest已删除getVpc返回空且不报错

Cherry pick of #1939 on release/2.10.0.
#1939: lbbackends: 若backend guest已删除getVpc返回空且不报错

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@167f180). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #1941   +/-   ##
================================================
  Coverage                  ?   7.63%
================================================
  Files                     ?     410
  Lines                     ?   63068
  Branches                  ?       0
================================================
  Hits                      ?    4815
  Misses                    ?   57843
  Partials                  ?     410

Flag
Coverage Δ

#aFlag
7.63% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/loadbalancerbackends.go
2.46% <0%> (ø)

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 167f180...6fe98f7. Read the comment docs.

/lgtm
/approve


Is there a way to show docker-compose projects running on multiple hosts on the UI

First of all thank-you so much for the awesome project
We have multiple hosts and on each hosts we are running multiple docker-compose projects.
Right now to manage these docker-compose projects . we are running docker-compose-ui instance on each host.
It would be awesome if we can manage these projects from single docker-compose UI instance.

thanks!
you could use a single docker-compose-ui instance and connect to different remote docker hosts (see https://github.com/francescou/docker-compose-ui#remote-docker-host) or you could setup a docker swarm cluster
in both cases you are forced to use the same docker compose projects

remote-docker-host ability allows to connect to one remote docker host at a time.
i would like to configure multiple remote-docker-hosts at the same time.
Am i missing something?

you're right
I guess the only solution would be to setup a docker swarm cluster

@harrybvp I've setup a swarm cluster and compose-ui manage to see all containeurs talking to the swarm master with no problem

I'm closing this issue for now. Please feel free to reopen if necessary


It infrastructure

The change moves the control of the kafka producer lifecycle to inside a single method, now Producer are created when needed and closed on Error. I've also added more debug so we can track the lifecycle of the producer more closely.

@cmgrote Thanks for the review , I've made the code changes you suggested and my thoughts on your questions are below.

The retry loop count ideally should be a property, but a lot of tests had been run with this already hard coded, so when I changed it originally it caused a lot of confusion , so I put it back in. I'm more than happy to address it in a different issue , but for this code I'm trying to keep behavioural changes to a minimum.

Again I believe this relates to a kubernetes environment where kafka was being temporarily starved of resources and this approach addressed that specific problem, I'm unsure as to the impact if we are asleep when kafka does start processing  In addition any delay in the thread  will cause blocking on any thing trying to send an event and finally I'm unsure what impact that would have when trying to shutdown egeria while in that loop.
Currently when we reach the retry limit we give up and perform an effective delayed reconnect process by shutting down and restarting anyway

So I'm far more nervous of this change especially because of any unforeseen consequences.
However , if you do feel it would be useful again I'm happy to address it in another issue.

@cmgrote Thanks for the review , I've made the code changes you suggested and my thoughts on your questions are below.
++ Agreeing with Chris's comments

The retry loop count ideally should be a property, but a lot of tests had been run with this already hard coded, so when I changed it originally it caused a lot of confusion , so I put it back in. I'm more than happy to address it in a different issue , but for this code I'm trying to keep behavioural changes to a minimum.
Agree with you both. I think we need it but can be a seperate PR - i think it should probably continue indefinately by default (though not without a delay - see below)

Again I believe this relates to a kubernetes environment where kafka was being temporarily starved of resources and this approach addressed that specific problem, I'm unsure as to the

I don't think kafka was starved as such. It was seen in k8s initially though I suspect that was more related to overall performance . Also seen, but less elsewhere (and not at all when gathering debug.. as that in itself slowed things down)

impact if we are asleep when kafka does start processing  In addition any delay in the thread  will cause blocking on any thing trying to send an event and finally I'm unsure what impact that would have when trying to shutdown egeria while in that loop.
Currently when we reach the retry limit we give up and perform an effective delayed reconnect process by shutting down and restarting anyway
So I'm far more nervous of this change especially because of any unforeseen consequences.

If we don't feel we understand it well enough, more experimentation may be desirable before we merge to master. But I understand your reasoning -- and given we have the slower outside loop, agree with the proposal to leave as-is initially.

However , if you do feel it would be useful again I'm happy to address it in another issue.
We can continue discussing in the issue? But it could be a new PR? Or if we really believe it's independent and the main issue is fixed just with this change, then ok to close and open new one

Generally also

We should cross reference the issue related to this change #2717 (there, done..!)
Update the title of PR to be slightly more meaningful (I initially thought this was new omas)

I'll give the PR a go.

The retry loop count ideally should be a property, but a lot of tests had been run with this already hard coded, so when I changed it originally it caused a lot of confusion , so I put it back in. I'm more than happy to address it in a different issue , but for this code I'm trying to keep behavioural changes to a minimum.

Makes sense -- happy for it to live as a separate issue and eventual PR.

Again I believe this relates to a kubernetes environment where kafka was being temporarily starved of resources and this approach addressed that specific problem, I'm unsure as to the impact if we are asleep when kafka does start processing  In addition any delay in the thread  will cause blocking on any thing trying to send an event and finally I'm unsure what impact that would have when trying to shutdown egeria while in that loop.
Currently when we reach the retry limit we give up and perform an effective delayed reconnect process by shutting down and restarting anyway

So I'm far more nervous of this change especially because of any unforeseen consequences.
However , if you do feel it would be useful again I'm happy to address it in another issue.

Fair enough -- fine by me to leave for now in this PR, was just wondering if this could have caused any resource starvation because we were hammering something that was already incapable of handling what we were throwing at it to begin with.  (I'll let you and @planetf1 decide whether that's worthy of an issue at this stage for tracking purposes or not?)

I don't believe I can quanitfy a specific scenario based on what I've seen recently that could lead to a new issue.
The points around overloading, configuration etc are things we need to look at - there's a lot of controls around # requests in flight, buffer sizes, use of acks, message history size, working with clusters, introducing network disturbances  but I'd attach those to the new generic issue we have to discuss a new connector?
I tried this change in my environment and it's looking good so far. I too don't see the disruption at startup any more.
I'd be inclined to go with the merge - but until we have a lot more automated and disruptive testing, we do incur some risk if our analysis is incomplete or wrong.

@cmgrote absolutely no problem with being picky , I've made the changes you requested

Seems to be a step in the right direction compared to existing behaviour, so I will merge.


Kibana stopped to show log messages after updating  Serilog.Sinks.ElasticSearch to 8.1.0

A few questions before you begin:

Is this an issue related to the Serilog core project or one of the sinks or
community projects.
This issue list is intended for Serilog Elasticsearch Sink issues. If this issue relates to another sink or to the code project,
please log on the related repository.  Please use Gitter chat and Stack Overflow  for discussions and questons.

Does this issue relate to a new feature or an existing bug?

[ v] Bug
[ ] New Feature

What version of Serilog.Sinks.Elasticsearch is affected?  Please list the related NuGet package.
8.1.0
What is the target framework and operating system? See target frameworks & net standard matrix.
-[v] netCore 3.1

[ ] netCore 2.0
[ ] netCore 1.0
[ ] 4.7
[ ] 4.6.x
[ ] 4.5.x

Please describe the current behavior?
Using Serilog.Sinks.ElasticSearch version 8.1.0, Kibana doesn't show the application log messages.
The message are available only on application console.
Downgrading the Serilog.Sinks.ElasticSearch version to 8.0.1 kibana show messages correctly.
Please describe the expected behavior?
kibana should show application log messages also with Serilog.Sinks.ElasticSearch version 8.1.0

No data is arriving at ES, is that what you mean? Or specific data?

When I upgraded to 8.1.0, Log message would fail to make it to Elasticsearch/Kibana.  I could (sometimes) delete the indexes and messages would start showing up again, but eventually they would stop.

Hmm I do see more reports of this. Will try to look into it.

Having a similar issue. 8.0.0 - 8.1.0 will not log anything at all. 8.2.0 & 8.4.0 will only log the first log sent to the logger and skips everything that follows. Any guesses?

If you try this in a console app and stop too soon, the buffer is not flushed yet. Explicitly disposing will help.

Same here https://github.com/serilog/serilog-sinks-elasticsearch/issues/335

With version 8.4.0, I get errors from Selflog now

2020-09-30T09:03:05.2113399Z Failed to store event with template 'Application started. Press Ctrl+C to shut down.' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '_', found: [doc]"}
2020-09-30T09:03:05.2120099Z Failed to store event with template 'Hosting environment: {envName}' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}
2020-09-30T09:03:05.2120627Z Failed to store event with template 'Content root path: {contentRoot}' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}
2020-09-30T09:03:07.2892637Z Failed to store event with template 'HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}
2020-09-30T09:03:07.2893233Z Failed to store event with template 'HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}
2020-09-30T09:03:07.2893372Z Failed to store event with template 'HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}
2020-09-30T09:03:11.3586369Z Failed to store event with template 'HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [doc]"}
2020-09-30T09:03:19.4249549Z Failed to store event with template 'HTTP {RequestMethod} {RequestPath} responded {StatusCode} in {Elapsed:0.0000} ms' into Elasticsearch. Elasticsearch reports for index logstash-edec-2020-09 the following: {"type":"invalid_type_name_exception","reason":"Document mapping type name can't start with '', found: [_doc]"}

One said I have to upgrade ES 6.0 to ES 6.x may solve the apiVersion mismatch problem, but our ES is shared environment so i stay with version 8.0.1.


Networking issue, cannot connect to remote servers

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.17134.48]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)
I cannot connect to remote servers.

$ sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu xenial InRelease
  Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (111: Connection refused) [IP: 2001:67c:1560:8001::11 80]
Err:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1560:8001::11 80]
Err:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1560:8001::11 80]
Err:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
  Could not connect to security.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (111: Connection refused) [IP: 2001:67c:1360:8001::21 80]
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (111: Connection refused) [IP: 2001:67c:1560:8001::11 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1560:8001::11 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease  Unable to connect to archive.ubuntu.com:http: [IP: 2001:67c:1560:8001::11 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease  Could not connect to security.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (111: Connection refused) [IP: 2001:67c:1360:8001::21 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

$ ping google.com
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- google.com ping statistics ---
20 packets transmitted, 0 received, 100% packet loss, time 19244ms

What's wrong / what should be happening instead:
Networking is not working. The system will not connect to any ip addresses. I wanted to make sure ping was working for that server, so I ran one in the windows terminal too. I ran a second ping using in the ubuntu terminal and typed ping <IP_ADDRESS> into a windows terminal. Suddenly, the ping started working in the ubuntu terminal, but only for that one ip.

$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=54 time=48.7 ms
64 bytes from <IP_ADDRESS>: icmp_seq=12 ttl=54 time=50.1 ms
64 bytes from <IP_ADDRESS>: icmp_seq=13 ttl=54 time=54.4 ms
64 bytes from <IP_ADDRESS>: icmp_seq=14 ttl=54 time=47.7 ms
64 bytes from <IP_ADDRESS>: icmp_seq=15 ttl=54 time=43.0 ms
64 bytes from <IP_ADDRESS>: icmp_seq=16 ttl=54 time=49.1 ms
^C
--- <IP_ADDRESS> ping statistics ---
16 packets transmitted, 6 received, 62% packet loss, time 15147ms
rtt min/avg/max/mdev = 43.060/48.891/54.411/3.357 ms

It seems reproducible in that I can make any ip work in the ubuntu terminal by accessing it in the windows terminal. Only that single ip works however and it doesn't last long. If I stop accessing the ip for about 3 minutes, I can no longer access it anymore. If I keep pinging it though, it seems like it will keep working indefinitely.
I don't have an unusual networking setup. Just a standard connection to my router through wifi.

i don't know it is works or not but you could try :)
can you uncomment #precedence in /etc/gai.conf so all the connection prefer through ipv4

No luck. I would assume pinging an ipv4 address would force ipv4 though anyway (regardless of the ipv6 addresses listed in the apt-get update).
My computer was updated last night to:
Microsoft Windows [Version 10.0.17134.112]
Same issue persists. I am happy to provide any information to help debugging, but I don't know what might be needed.

Same here. I am running bonic and have this same issue. The network is working well. I tried curl to get InRelease file and It did work. But apt did not work at all.
And, I find it work with http proxy.

Same Problem with Xenial. I can ping remote servers by ip and also domain name (like ping google.de) and ssh to remote server works as well. But everything related to http (like wget or apt) fails.

fixed by disabling Self-Defense in Kaspersky

It might be a long shot but what worked for me was to run bash from Windows Powershell (also run as administrator)

Same Problem with Xenial. I can ping remote servers by ip and also domain name (like ping google.de) and ssh to remote server works as well. But everything related to http (like wget or apt) fails.

Bit late to the party but I've just spent an age trying to fix same issue. Found solution here.


GitHub actions update

Codecov Report
Patch coverage has no change and project coverage change: +29.21% :tada:

Comparison is base (3b4a94d) 32.00% compared to head (5ed30fb) 61.21%.
Report is 39 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff              @@
##             master      #64       +/-   ##
=============================================
+ Coverage     32.00%   61.21%   +29.21%
- Complexity      154      221       +67
=============================================
  Files            12       17        +5
  Lines           703      985      +282
=============================================
+ Hits            225      603      +378
+ Misses          478      382       -96

see 11 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


add pt-br/docs/reference/issues-security/_index.md

Translate docs to pt-br
docs/reference/issue-security/_index.md
Related issues
#13939

/assign @MrErlison

Please feel free to reach out on the #kubernetes-docs-pt channel of Kubernetes Slack should you have any questions!

/retitle add pt-br/docs/reference/issues-security/_index.md

/lgtm
/cc @edsoncelio PTAL

/unhold

Thanks!
/approve


DB::Exception: Nested type Array(Int8) cannot be inside Nullable

DB::Exception: Nested type Array(Int8) cannot be inside Nullable type. Stack trace: -> Nullable(Array(Int8))
MySQL : set('Senin','Selasa','Rabu','Kamis','Jum''at','Sabtu','Minggu') NULL
Clickhouse : Array(Nullable(Int8))

hi
@sugengsuprayogi does mysql set have to be casted to clickhouse Array(Int8)?
https://github.com/Islam93/clickhouse-mysql-data-reader/blob/master/docs/manual.md#set-types
looks like String type is more suitable and here we have string value in rows, not values index in set
https://github.com/Islam93/clickhouse-mysql-data-reader/blob/3b1b7088751b05e5bbf45890c5949b58208c2343/clickhouse_mysql/writer/chwriter.py#L106
and an exception occurs CRITICAL:ex=Code: 53. Type mismatch in VALUES section. Expected Array(Int8) got <class 'str'>: S for column "field".


Upload PST Step 5, Part 2: "Data lifecycle management" is now "Information governance"

In Step 5 "Create a PST Import job", Part 2 says:

In the left pane of the compliance portal, click Data lifecycle management > Import.

But this is now found in a different area so should read:

In the left pane of the compliance portal, click Information governance > Import.

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

ID: d4271558-62a9-db3c-078c-13b5e5fe99da
Version Independent ID: 813d7002-20a2-b1be-2771-975a0b1cfd48
Content: Use network upload to import PST files - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/use-network-upload-to-import-pst-files.md
Service: o365-seccomp
GitHub Login: @v-tophillips
Microsoft Alias: v-tophillips

@msbemba

That's so weird - I also see that there now... I'm sure it wasn't there the other day!

Thank you for the confirmation. Usually, the author updates before a change happen in GUI.
We will proceed with Closing this issue for now.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @alexometis Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.