fix multi cursor correct setting

Requirements for Contributing a Bug Fix

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/.github/tree/master/.github/PULL_REQUEST_TEMPLATE.
The pull request must update the test suite to demonstrate the changed functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests.

Identify the Bug
Multi cursor on Ctrl + Click does not work.
fixes #20803
fixes #20911
fixes #20914
fixes #20916
fixes #20918

Description of the Change
check correct setting for enabling multicursor

Alternate Designs
none

Possible Drawbacks
none

Verification Process
tests and manually verified

Release Notes
Fix multicursor support on Ctrl + Click

It would be really helpful if someone at @atom would comment on a PR or use one of the many ways GitHub has available for tracking PRs to let people know that it is on someone's todo list and didn't just slip through the cracks as this one seems to have.

Multi cursor not working, i would rather downgrade to the previous version.
 Open the console (Ctrl + Shift + I)

2. run `atom.config.set('core.editor.multiCursorOnClick', true);`

This changes the config.cson file and adds the lines required but at a different position and a different tab value....
It works nicely though while the powers that be fix it! Thanks :D

Hey @UziTech, thank you for the contribution and support 🙇♂

I wasn't able to use any of the shortcuts to open the console on macOS.
However:

Opening menu Atom > Config... (opens config.cson)
Indent editor: into core:
Add editor: \n multiCursorOnClick: true inside core:

(is currently in *.editor instead of *.core.editor) will make it work on save right away.

It looks like the default shortcut to open the console om MacOS is Alt + Cmd + I

I wasn't able to use any of the shortcuts to open the console on macOS.
However:

Opening menu Atom > Config... (opens config.cson)
Indent editor: into core:
Add editor: \n multiCursorOnClick: true inside core:

(is currently in *.editor instead of *.core.editor) will make it work on save right away.

thank you very much. I fixed this problem with your answer.

The multi cursor is working on my Ubuntu 20.04 only with the Ctrl + Shift + Click command.
I couldn't find that command in the "Keybindings" menu, how do I switch back to Ctrl + Click?

@rayonnunes This should be fixed in the current stable and beta without modifying config.cson

Temporary fix:

Open the console (Ctrl + Shift + I on Linux and Windows, Alt + Cmd + I on MacOS)
run atom.config.set('core.editor.multiCursorOnClick', true);

This does not work for me.  It used to when I first had this issue but it no longer does the trick.  Below is my config:
core:     disabledPackages: [       "language-babel"       "language-javascript-jsx"     ]     editor:       multiCursorOnClick: true     telemetryConsent: "limited"     themes: [       "one-dark-ui"       "ubik-hackerman-syntax"     ]

@BryantIT the regular setting should work in the latest release of Atom v1.50.0. Settings -> Editor -> Multi Cursor On Click

@UziTech It should, but it does not.

If I move the multiclick out of core and into the other editor column, atom won't load.  If I move it up the hierarchy within the core it moves back when I restart Atom.

It might be something else taking over the Ctrl/Cmd key like hyperclick

Im using 1.51.0 after an update and multicursor work-around described above is no longer working.
I was able to get multicursor working with steps above -- adding to config in a couple places, and also using dev tools.
Nothing i do allows multicursor to work... Any ideas?

I've used a multi cursor extension as a workaround. Haven't confirmed on 1.51.0 though.

It might be something else taking over the Ctrl/Cmd key like hyperclick

I think you may be right, @UziTech. I went into my config.cson file and noticed that inside "* --> atom-ide-ui", the value of hyperclick[darwinTriggerKeys] was set to "metaKey". I changed the value to be a more specific key, "ctrlKey", in order to eliminate ambiguity. I can now launch multiple cursors with cmd + click. It even works after I restart Atom. The config.cson file doesn't mysteriously change.
"*":   "atom-beautify":     html:       beautify_on_save: true     ruby:       default_beautifier: "Ruby Beautify"   "atom-ide-ui":         hyperclick:             darwinTriggerKeys: "ctrlKey"   "autocomplete-plus":     autoActivationDelay: 5     maxVisibleSuggestions: 5     strictMatching: true   core:     disabledPackages: [       "terminal-plus"     ]     editor:       multiCursorOnClick: true     excludeVcsIgnoredPaths: false     themes: [       "one-dark-ui"       "one-light-syntax"     ]


New Version: Canonical.Ubuntu.2204 2<IP_ADDRESS>

Newer Version Canonical.Ubuntu.2204 2<IP_ADDRESS>

Microsoft Reviewers: Open in CodeFlow

[Policy] reset feedback

@russellbanks I always looking at the AzurePipelines.

@stephengillie. It look like my PR failed up from the automatic validation.

Hello @BrandonWanHuanSheng,
One or more of the installer URLs doesn't appear valid.
This may happen for sites with policies prohibiting distribution or use by third parties.
This may happen for URLs pointing to domains that do not align with the publisher domain or package domain. If you could provide supporting evidence from the publisher that the URLs for the installer are correct, that would help us to validate and approve this PR.
Template: msftbot/validationError/urls/domain

It is correct Domain URL. That is no second domain link address.

@stephengillie. It look like my PR failed up from the automatic validation.

Hi @BrandonWanHuanSheng,
I can't navigate to the InstallerUrl from the PackageUrl. This appears to be the Windows Store package. How did you locate it?

@stephengillie. It look like my PR failed up from the automatic validation.

Hi @BrandonWanHuanSheng,
I can't navigate to the InstallerUrl from the PackageUrl. This appears to be the Windows Store package. How did you locate it?

This is normally from a documentations, and from the issue to found the download link

Could you link to where you found the InstallerUrl? We might need to update the PackageUrl to point there.

@stephengillie it look like I found the installer URL over here? https://learn.microsoft.com/en-us/windows/wsl/

If yes, I will start automatic process 2 change to the manifest. Timer 3 minutes

@stephengillie it look like I found the installer URL somewhere over here? https://learn.microsoft.com/en-us/windows/wsl/

Found it - on the manual install page (first link on the page which you linked), under Step 4.

@wingetbot waivers Add Validation-Domain


Refs #33029 -- Fixed window switching in Selenium test.

ticket-33029
https://github.com/django/django/pull/14823#issuecomment-934321839

buildbot, test on selenium

@carltongibson
Have made the changes to tests. Please take a look.

buildbot, test on selenium.

buildbot, test on selenium.

Hmmm. Not 100% sure this has got it. Failure on #14941 https://djangoci.com/job/pull-requests-selenium/database=sqlite3,label=bionic-pr,python=python3.10/321/

One issue I have here is this doesn't (yet) reproduce for me locally. 🤔


[Question] gulp-angular-filesort

Hi,
I'm not sure if this is the right repo to place this issue, but when I use the gulp-angular-filesort package the ag-grid is not being injected correctly after angular.js, it only works if I install like bower install angular-grid=ag-grid
I'm not sure, but I think it's because the folder sctructure, and due to the optional usage of angular in this project
I've opened an issue in their repo as well

It's most likely because of ag-grid does not depends on angular - https://github.com/ceolter/ag-grid/pull/429

Oh, yeah probably that. Thanks for pointing that out =)


Write parameters from ParameterMap

What
Introduce a method to HJSON dump current parameter values.
Why
Closes #148
How
The code to store the current best point of the optimization was moved from the c3/optimizer/optimizer.py super class to c3/parametermap.py. Optimizers now use the method.
Checklist
Please include and complete the following checklist. Your Pull Request is (in most cases) not ready for review until the following have been completed. You can create a draft PR while you are still completing the checklist. Check the Contribution Guidelines for more details. You can mark an item as complete with the - [x] prefix

[x] Tests - Added unit tests for new code, regression tests for bugs and updated the integration tests if required
[x] Formatting & Linting - black and flake8 have been used to ensure styling guidelines are met
[x] Type Annotations - All new code has been type annotated in the function signatures using type hints
[x] Docstrings - Docstrings have been provided for functions in the numpydoc style
[ ] Documentation - The tutorial style documentation has been updated to explain changes & new features
[ ] Notebooks - Example notebooks have been updated to incorporate changes and new features
[ ] Changelog - A short note on this PR has been added to the Upcoming Release section

This seems to be a tensorflow keras version conflict issue because I assume the tests are actually fine (they pass the code coverage CI).
Ref: stackoverflow

This seems to be a tensorflow keras version conflict issue because I assume the tests are actually fine (they pass the code coverage CI).
Ref: stackoverflow

It's also breaking the tests for #140 that I just merged. The test can fine a while ago, before the merge.

Yes, I will try to go in and check if this is something restricted certain versions of python (unless somebody else goes ahead and does that).

Can you include a note or code snippet somewhere in the docs or example notebooks etc to show an example way of using this feature to write the current best parameters?

I added a tutorial on the Parametermap.


Migrate to mempool.space API

Seems to be a better API and supports signet too

@kyranjamie are you still thinking this is a good idea?


Images when viewed from China

Hi,
I'm trying to use the Marker Clusterer to group locations in China, with a mixed success. The clustering works, but the image around the number (blue, yellow, red circles) does not work. See an example here: http://screencast.com/t/EonYiTaKQ
Assumption is that the images are being hosted on a server that is blocked in China, which is why they don't show up. Is it possible to define your own images or have them hosted elsewhere or...?
Thanks for the assistance, great product!
Marko

You can use your own images (e.g. downloaded copies of the original images) and host them wherever you want:
var clustererOptions = {
		styles: [
			{
				textColor: 'white',
				url: 'css/images/markerclusterer/m1.png',
				height: 37,
				width: 37
			},
			{
				textColor: 'white',
				url: 'css/images/markerclusterer/m2.png',
				height: 49,
				width: 49
			},
			{
				textColor: 'white',
				url: 'css/images/markerclusterer/m3.png',
				height: 61,
				width: 61
			},
			{
				textColor: 'white',
				url: 'css/images/markerclusterer/m4.png',
				height: 73,
				width: 73
			},
			{
				textColor: 'white',
				url: 'css/images/markerclusterer/m5.png',
				height: 85,
				width: 85
			}
		]
	};


Use artman v0.42.2

Updating the version of artman to use in CI.

We need to update protobuf runtime for Java to the same version... I'll open a PR for it.

LGTM

@yihanzhen vs @hzyi-google :)

Thanks for fixing it though 😝 @alexander-fenster


Problem when running on Raspberry Pi Zero W

Describe the bug
When running the player on the RPI Zero W I am unable to get it to play any songs. The below error happens.
This is when using PulseAudio and using ZERO_CONF.
When testing through mplayer there's sound output.
Tested the same jar on a macOS 10.14.6 with similar config (no pulseaudio) and without problems.
To Reproduce

Start the player
Connect to it using the official Desktop Spotify App
Play a song

Expected behavior
Song plays and audio are passed through PulseAudio.
Screenshots/Stracktraces/Logs
2021-01-30 12:00:27,728 FATAL Log4JUncaughtExceptionHandler:15 - [player-audio-sink]
java.lang.IllegalArgumentException: Master Gain not supported
	at org.classpath.icedtea.pulseaudio.PulseAudioLine.getControl(PulseAudioLine.java:89) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.getControl(PulseAudioSourceDataLine.java:51) ~[icedtea-sound.jar:?]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.setVolume(AudioSink.java:281) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.acquireLine(AudioSink.java:209) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.start(AudioSink.java:222) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink.run(AudioSink.java:139) ~[librespot-player-1.5.4.jar:1.5.4]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Version/Commit
Using latest available version: 1.5.4.

also tried to uninstall PulseAudio and select the desired hardware, and then it seems to work just fine. So I guess it is likely something with the PulseAudio config....?

also tried to uninstall PulseAudio and select the desired hardware, and then it seems to work just fine. So I guess it is likely something with the PulseAudio config....?

I believe I've had a few issues with the icedtea version of pulse audio too. @spocon Might know something more on this topic.
You may want to have a look at this thread: https://github.com/librespot-org/librespot-java/issues/198

I believe I've had a few issues with the icedtea version of pulse audio too. @spocon Might know something more on this topic.
You may want to have a look at this thread: https://github.com/librespot-org/librespot-java/issues/198

I believe I've had a few issues with the icedtea version of pulse audio too. @spocon Might know something more on this topic.
You may want to have a look at this thread: #198

Thanks. Will take a look.

I believe I've had a few issues with the icedtea version of pulse audio too. @spocon Might know something more on this topic.
You may want to have a look at this thread: #198

Thanks. Will take a look.

Tried to uncomment icedtea classes as suggested here: https://nealvs.wordpress.com/2017/08/11/java-sound-on-a-raspberry-pi-with-openjdk/. Sadly with no changes. It fails with the same stacktrace. So there must be a different flag somewere.
Now trying to follow this guide here on how to build the java pulseaudio lib; which seems to be missing: https://www.raspberrypi.org/forums/viewtopic.php?t=24210

Tried to uncomment icedtea classes as suggested here: https://nealvs.wordpress.com/2017/08/11/java-sound-on-a-raspberry-pi-with-openjdk/. Sadly with no changes. It fails with the same stacktrace. So there must be a different flag somewere.
Now trying to follow this guide here on how to build the java pulseaudio lib; which seems to be missing: https://www.raspberrypi.org/forums/viewtopic.php?t=24210

Just for kicks I ran the app as root (using sudo). This resulted in a different error.
How do I change the settings to match what ever is the system is using?
2021-01-30 20:01:13,011 INFO  LineHelper:62 - Available mixers: 'PulseAudio Mixer'
2021-01-30 20:01:13,152 INFO  DeviceStateHandler:252 - Put state. {ts:<PHONE_NUMBER>629, connId: YzcxY...yRDQ0, reason: PLAYER_STATE_CHANGED}
2021-01-30 20:01:13,566 WARN  AudioSink:203 - Failed opening like for custom format 'PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian'. Opening default.
2021-01-30 20:01:14,029 INFO  LineHelper:62 - Available mixers: 'PulseAudio Mixer'
2021-01-30 20:01:14,063 FATAL Player:600 - An error with the mixer occurred. This is likely a configuration issue, please consult the project repository.
javax.sound.sampled.LineUnavailableException: null
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:714) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:90) ~[icedtea-sound.jar:?]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.acquireLine(AudioSink.java:205) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.start(AudioSink.java:222) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink.run(AudioSink.java:139) [librespot-player-1.5.4.jar:1.5.4]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Then maybe I can get rid of this warning:
2021-01-30 20:01:13,566 WARN  AudioSink:203 - Failed opening like for custom format 'PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian'. Opening default.

Just for kicks I ran the app as root (using sudo). This resulted in a different error.
How do I change the settings to match what ever is the system is using?
2021-01-30 20:01:13,011 INFO  LineHelper:62 - Available mixers: 'PulseAudio Mixer'
2021-01-30 20:01:13,152 INFO  DeviceStateHandler:252 - Put state. {ts:<PHONE_NUMBER>629, connId: YzcxY...yRDQ0, reason: PLAYER_STATE_CHANGED}
2021-01-30 20:01:13,566 WARN  AudioSink:203 - Failed opening like for custom format 'PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian'. Opening default.
2021-01-30 20:01:14,029 INFO  LineHelper:62 - Available mixers: 'PulseAudio Mixer'
2021-01-30 20:01:14,063 FATAL Player:600 - An error with the mixer occurred. This is likely a configuration issue, please consult the project repository.
javax.sound.sampled.LineUnavailableException: null
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:714) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75) ~[icedtea-sound.jar:?]
	at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:90) ~[icedtea-sound.jar:?]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.acquireLine(AudioSink.java:205) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.start(AudioSink.java:222) ~[librespot-player-1.5.4.jar:1.5.4]
	at xyz.gianlu.librespot.player.mixing.AudioSink.run(AudioSink.java:139) [librespot-player-1.5.4.jar:1.5.4]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

Then maybe I can get rid of this warning:
2021-01-30 20:01:13,566 WARN  AudioSink:203 - Failed opening like for custom format 'PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian'. Opening default.

The error looks better, but there's still an issue with the pulse audio configuration.
The warning is because librespot-java fried to open a to pipì the track format directly so that it doesn't need to convert it.
The error message refers to the audio configuration in the player README, but since you have only one device this shouldn't be the issue.

I am giving up on this for now. Wanted to use pulseaudio-crossover-rack with pulseaudio to correct the output a little bit, before hitting the speakers.
Will look at running this directly through ALSA instead for now. The same LADSPA seems to also function directly through ALSA, but then there's no GUI...

also tried to uninstall PulseAudio and select the desired hardware, and then it seems to work just fine. So I guess it is likely something with the PulseAudio config....?

I'm having the same issue on an UDOO board, sounds works fine using VLC but I hear nothing when trying to use librespot-java. What do you mean by selecting the desired hardware and it then working fine? How would I do that?
Thanks!

also tried to uninstall PulseAudio and select the desired hardware, and then it seems to work just fine. So I guess it is likely something with the PulseAudio config....?

I'm having the same issue on an UDOO board, sounds works fine using VLC but I hear nothing when trying to use librespot-java. What do you mean by selecting the desired hardware and it then working fine? How would I do that?
Thanks!

I basically just selected the audio hardware directly, instead of trying to go through PulseAudio.
I got it working using ALSA and some LADSPA plugins. Need more work, but seems to be working great.

Thanks for the quick reply! How did you select the hardware directly, though? With pulseaudio installed I only get the Pulseaudio-Mixer as an available mixer, with it deinstalled I get this error:
2021-03-08 07:55:55,736 FATAL Player:614 - An error with the mixer occurred. This is likely a configuration issue, please consult the project repository. xyz.gianlu.librespot.player.mixing.LineHelper$MixerException: Couldn't find a suitable mixer, openLine: 'interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian', available: [Port imxvt1613audio [hw:0], version 4.1.15-g5ece5b16798c, Port imxhdmisoc [hw:1], version 4.1.15-g5ece5b16798c, imxvt1613audio [plughw:0,0], version 4.1.15-g5ece5b16798c, imxhdmisoc [plughw:1,0], version 4.1.15-g5ece5b16798c] 	at xyz.gianlu.librespot.player.mixing.LineHelper.findSupportingMixersFor(LineHelper.java:34) ~[librespot-java-api-v1.5.5.jar:1.5.5] 	at xyz.gianlu.librespot.player.mixing.LineHelper.getLineFor(LineHelper.java:61) ~[librespot-java-api-v1.5.5.jar:1.5.5] 	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.acquireLine(AudioSink.java:204) ~[librespot-java-api-v1.5.5.jar:1.5.5] 	at xyz.gianlu.librespot.player.mixing.AudioSink$Output.start(AudioSink.java:222) ~[librespot-java-api-v1.5.5.jar:1.5.5] 	at xyz.gianlu.librespot.player.mixing.AudioSink.run(AudioSink.java:139) [librespot-java-api-v1.5.5.jar:1.5.5] 	at java.lang.Thread.run(Thread.java:834) [?:?]
Does my imxvt1613audio somehow not support required features?

Try running with sudo or adding the user to the group for audio management.

Thanks! I am running things with sudo, and seem to be in the audio group:
ben@udoo:~$ fgrep -ie 'audio' /etc/group audio:x:29:pulse,ben,spocon
Am Mo., 8. März 2021 um 08:10 Uhr schrieb devgianlu <
<EMAIL_ADDRESS>
Try running with sudo or adding the user to the group for audio management.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/librespot-org/librespot-java/issues/302#issuecomment-792526855,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFTWALNA7OBWDWXKMONWJRLTCRZ5DANCNFSM4W2I7WYA
.


Remove Module#alias_method_chain method

Module#alias_method_chain method is a deprecated method in the Rails 5.0.0.

oops... It has failed the test.
please wait...

I threw away the migration_comments https://github.com/winebarrel/ridgepole/pull/67
Thank you for you PR!


--install-extensions is not installing locally downloaded extensions.

Issue Type: Bug
My team ran across a nasty bug that blocks us from installing our custom plugin in VSCode
According to documentation you supposed to be able to download a plug-in from VSCode extension repository, save it to disk and install it. The documentation is here (https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix) but when I do that with the latest version on VSCode nothing happens. Well, it just launches VSCode and that’s it, no extension install happens.
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T17:11:17.614Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-2697 v4 @ 2.30GHz (36 x 2295)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwarevideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.92GB (20.67GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe .

Screen Reader
no

VM
0%

Extensions (7)

Extension
Author (truncated)
Version

sql-formatter
cym
1.0.2

vscode-markdownlint
Dav
0.18.0

prettify-json
moh
0.0.3

python
ms-
2018.5.0

csharp
ms-
1.15.2

PowerShell
ms-
1.7.0

vscode-autohotkey
sle
0.2.2

(1 theme extensions excluded)

Same problem detected (I use portable version)

@KonTy Can you set log level to Trace using Set Log Level command. Open shared process log in output panel and let us know what you see there?

@sandy081 can you point me at instructions on how to do that? I tried searching for these and couldh't find how to do what you are asking.
PS. It would be much easier for you to just repro it. It repro's 100% of the time for me everyone around here.

Download any VSIX file for the VS marketplace to you HDD
in the command line run: "code --install-extensions

It works for me both stable (1.24) and insiders version of VS Code.
Can you please update your VS Code and try?


Deadlock with the remove implementation

The remove implementation seems to deadlock. I've attached the data.txt input for which this issue is present.
data.txt

Hi there,
I just run experiment with the data file you provided and it seems working well as follows.
-bash-4.2$ ./test_parallel
total_size: 100000
time taken by insert with 1 threads and sleep 0 seconds: 5.624497sec
time taken by remove with 1 threads and sleep 0 seconds: 5.658925sec
time taken by insert with 2 threads and sleep 0 seconds: 2.844980sec
time taken by remove with 2 threads and sleep 0 seconds: 2.898992sec
time taken by insert with 4 threads and sleep 0 seconds: 1.452575sec
time taken by remove with 4 threads and sleep 0 seconds: 1.476045sec
time taken by insert with 8 threads and sleep 0 seconds: 0.734743sec
time taken by remove with 8 threads and sleep 0 seconds: 0.760226sec
time taken by insert with 16 threads and sleep 0 seconds: 0.363444sec
time taken by remove with 16 threads and sleep 0 seconds: 0.384236sec

I know several successful experiments don't mean that there will not be a potential deadlock.
But also, I don't find any potential deadlock on my side and it's also hard to repeat the 'deadlock' you mentioned by just looking at the data file or just experimenting with it.
It will be very helpful if you could provide the exact situation (of the tree) and the operation the program is taking that lead to the 'deadlock' you mentioned.
There are some functions will help printing out the tree in file src/utils.cpp. You could manually invoke these functions when using gdb to debug. But it will be really hard to interpret the output if the tree is too big (at the moment when 'deadlock' happens).
As for me, since the whole program is using CAS operation and we have already discussed about the deadlock caused by two threads being too 'close' to each other and how we address such problem in our report. So personally, I don't think there is a deadlock. Maybe you can provide more information about your local experiments including your hardware environment, software environment or anything you find through tools like gdb.
Anyway, I really appreciate your interest in our project.

Issue closed due to conversation timeout :)

Hi, I also encountered this problem. But when I tried it again, everything is ok :joy:

Here is my data file:
data.txt
By the way, this project is great! It helps me a lot to understand this paper. Thank you a lot!


[BUTTON IDEA]: loading button in fill type

1. Name of button: loading fill button
2. Description: The fill color of certain size square or rectangle will move from left to right
3. Button Type (Animated, Special, etc...): Animated type
4. Will you work on it?: yes

Do you mean it will be like an animation?

Yes, rectangle of some size will go from left to right within the button

I understand but this usually requires some javascript mechanism, so without that the button would be redundant, as we are doing this project CSS only.


Add admin APIs that take raw protos

The admin APIs should be able to take the raw protos, so users can use newer features without waiting for us to implement them.

After putting more thought into this, if users really need to bypass the TopicAdminClient and/or SubscriptionAdminClient layers then they could use a Connection directly, which already take raw protos (with a simple wrapper).  That (I think) is less confusing than having two overloads, two sets of examples, and explaining when to use each.


Stylelint 10.x upgrade

Stylelint 10.x changelog
To be honest I  can't make any sense of those tests columns:
For instance in .foo { text-align: justify; }
3 would refer to the first o, but even the previous 4 would refer to the last o.
Also this probably means a new major version.

Great work, @pascalduez ! Thanks for this PR.

Tests passed. I think we can merge this and publish a new version after I check the library on the CSS test base.


fixes #348 - misspelled github shortcut traceback...

In reference to Issue #348
This is a first-draft, playing around (not a final fix - more of a debug instrumented experiment).
It doesn't seem to be in the coding style of the repo, but it does capture some parts of my playing around, in the comments - so I hope it will prove useful.
Right as it stands, if you use this, you get:
$ cookiecutter gh:aureyr/cookiecutter-pypackage.git
Username for 'https://github.com': yarko
Password for<EMAIL_ADDRESS>
Error: the following failed (returned 128):
  git clone https://github.com/aureyr/cookiecutter-pypackage.git.git

which is a little more informative (not as noisy, no traceback).
I ended up leaving the e.output off, since it (at least for github) did not seem additionally useful,
always showing something about "user" regardless of where the typo was situated.
Comments?

Sorry so late on this. I think it's a good idea, seems more user-friendly.

Any updates?

@yarko I think you need to fix the conflicts here

Closing as it appears abadoned.


Spring Boot generator color config property has no effect

This condition attempts to evaluate fabric8.generator.spring-boot.color as a boolean value. However, this is not really appropriate given the allowed configuration options. Hence it always evaluates to false (unless the config property is set to true, in which case the app fails at runtime).

This is for sure a bug (sorry for the long, long delay).
I think we should allow the same values as spring boot does.


Distinct standalone operator Helm deployments use the same lock

@priscilasolis we tested the fixes from this PR, with the goal of using multiple standalone operators side by side. If that's your use case as well, you will soon notice that the fix indeed allows starting 1 operator standalone, but that spinning up a second causes an issue where both try to acquire the same lock. This is something that still needs to be fixed.

Originally posted by @Matthiasvanderhallen in https://github.com/1Password/connect-helm-charts/issues/126#issuecomment-1491485147

Thanks for creating this issue, we will let you know once we have a fix implemented.

More details about how to setup single Connect and use it against several Operators can be found in this MR #160


Incoming introspection event introspection map

Now that astarte_core defines introspection as a map interface_name => %IntrospectionEntry{major: _, minor: _}
rather than a plaintext string in incoming introspection triggers, this should be handled in DUP and TE (see https://github.com/astarte-platform/astarte_core/pull/77).
AMQP trigger events are defined in astarte_core, while HTTP trigger events will return introspection as a JSON map interface_name -> {major, minor} instead of the plain introspection string sent by the device.

Based on https://github.com/astarte-platform/astarte_core/pull/77


can not use inspect options

With 4.2.2
For example:
pkg main.js --options inspect

faild to package a valid exe binary.

It is intended to prevent reverse engineering of your application.


Is this project dead?

There have been no commits in the last 3 years. Issues haven't been updated in a while. Pull requests haven't been merged or discussed despite them building successfully. Mailing list is silent.
I'm very much interested in the YAML input support (PR#177).

Maybe something like this could be a solution http://bluesock.org/~willkg/blog/dev/html5lib_1_0.html

Some are now using chevron:

Chevron runs in less than half the time of pystache (Which is not even up to date on the spec). And in about 70% the time of Stache (A 'trimmed' version of mustache, also not spec compliant).

https://github.com/noahmorrison/chevron

I think chevron is probably the best option but if you need a working python3 version of this library for any reason I have forked it and dropped python2 support here – https://github.com/PennyDreadfulMTG/pystache

@sarnold's fork looks better maintained than mine. I will probably retire mine in favor of using that. Changing it over makes sense to me if @sarnold agrees.

Sounds like maybe I should just open a giant PR?  The main reason for my maintenance fork in the first place was/is reviving gitchangelog, and other than that, I don't think I have any other packages that depend on pystache (i should really go check that...).

Giant PR is acceptable!

I did say it would be big...  Also I got distracted with other stuff <cough>work</cough> but I'm almost ready for some squashing after this: https://github.com/sarnold/pystache/pull/8
Hopefully you enjoy automation

I love automation :) Awesome to see this moving.
Is the goal that https://github.com/sarnold/pystache be the canonical/pypi repo at the end of this?  Or something else?

That's the right place. There's a reasonable chance other devs from that
project will get involved.
On Mon, Oct 18, 2021 at 9:43 AM Steve Arnold @.***>
wrote:

@bakert https://github.com/bakert is this the right place?
PennyDreadfulMTG#1 https://github.com/PennyDreadfulMTG/pystache/pull/1
or did you want that in your personal github?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/defunkt/pystache/issues/192#issuecomment-945962679,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAMBIBM6AY3OKFIWUBTVLUHRFC5ANCNFSM4DWNW37Q
.

I have made an official request to take over here - https://github.com/pypa/pypi-support/issues/1422
Tagging @defunkt in case they can pipe up to say it's ok to transfer the name.

For anyone else coming here, this project is now officially no longer the source for PyPI, and you can find the newest releases here:
https://pypi.org/project/pystache/

Thanks for moving this forward. What do you think, shall I close the issue or keep it open so that others will find it?

I think you can close it. It's only a problem for legacy installations. New users should automatically get the right version via PyPI.


Do not document the use of "raw.github.com"

More info: https://github.com/js-cookie/js-cookie/tree/c2fd7241450554c115f81bdf843277e7a5f01232#installation

@FagnerMartinsBrack thanks! :)


Why some glyphs are displayed incorrectlty if we use Roboto via  google link? Is it possible to use all glyphs in the font via link?

For example, how infinity symbol looks like if we add file .ttf (or woff(2), whatever) in a project

But it doesn't work with the link

Why? Or it should work like this?

Yeah I just stumbled across this problem too. I'm pretty sure it's just falling back to another font that you have on your system - which is why it's a different glyph than you expect. Otherwise you'd see "tofu" - i.e. a square block indicating a missing glyph.
The worse part is that they don't actually tell you on the Google Fonts page that you're only getting a partial version of Roboto. Confused me for a while. You can get the "full" versions of Roboto here: https://github.com/googlefonts/roboto/tree/main/src/hinted
I don't think it's currently possible to get the full version via Google Fonts.


GPO path is slightly incorrect and policy setting name is incomplete.

On this page:
https://learn.microsoft.com/microsoft-365/security/defender-endpoint/deploy-and-manage-using-group-policy in the "Deploy using group policy" section, on step 2. Set Default Enforcement:, theres' a couple of minor mistakes regarding the path and name for the GPO setting:
The mistakes are:
The path has "Features" line and the setting name is missing the word Policy in the end.
The correct path is (including the full setting name):
Go to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Device Control > Select Device Control Default Enforcement Policy
The other minor mistake is the line right after which also should read (correct full name of the setting):
In the Select Device Control Default Enforcement Policy pane, select Default Deny:

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

ID: 1cbd7616-d2e8-6a35-4187-6727df811baa
Version Independent ID: 1cbd7616-d2e8-6a35-4187-6727df811baa
Content: Deploy and manage using group policy
Content Source: microsoft-365/security/defender-endpoint/deploy-and-manage-using-group-policy.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @nimishasatapathy
Microsoft Alias: dansimp

@helreg Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/13171
Once the author approves, the changes will be live.
Thanks
Sri


nrfconnect: 3.11.1 -> 4.0.1

Description of changes
Updated to latest nrfconnect
Things done
Updated and tested

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Looks good, but is it a breaking change?

Unsure, each time I open up the current version (3.x), it says that most of the tools are only supported by 4.x :)

So it looks like it doesn't quite work on version 3.x, I guess.
Does the version upgrade require any manual migration on the user side? If not, this PR should be good for merging.

Sadly I have no clue @wegank , I would assume that nrfconnect would prompt if anything needs to happen.
I just started using this software, and are not all that into how it should behave etc.
I just know that I can now use the Power Profiler :D But this package hasn't been touched since it was first init, so I would assume that not too many use it (might be a bad assumption).


feat: add default_auto_field to db

Closes #291

@codingjoe for some reason I thought that Django defaulted to BigAutoField. I'll update to AutoField instead.

Thanks @tmm. Released in 3.16.4 🎉


Provide SMOKE Data

EPIC Benefit

Provide SMOKE data via bulk data files
Build a API to return smoke data-- EPA will look into this

Context

Per backlog refinement, on 3/7/22 removed Smoke Data Epic from the PI-7. At the moment, SMOKE data will not be included in CAMPD 1.1.


feat(braneframe): create app

Current dependencies on/for this PR:

main

PR #2373   👈

This comment was auto-generated by Graphite.


refactor: Remove iDataQueue functions From Toolkit

Removed iDataQueue Functions from Toolkit:

docs
code
tests

Added test/functional/iDataQueueFunctional.js
Part of #161

$ npm run test-integration

><EMAIL_ADDRESS>test-integration /home/amusse/nodejs-itoolkit
> ./node_modules/mocha/bin/mocha --timeout 3s test/functional/*.js

  CommandCall Functional Tests
    CL command tests
      ✓ calls CL command using idb transport (313ms)
      ✓ calls CL command using rest transport (211ms)
      ✓ calls CL command using ssh transport (793ms)
      ✓ calls CL command using odbc transport (251ms)
    SH command tests
      ✓ calls PASE shell command using idb transport (1375ms)
      ✓ calls PASE shell command using rest transport (1302ms)
      ✓ calls PASE shell command using ssh transport (1860ms)
      ✓ calls PASE shell command using odbc transport (1464ms)
    QSH command tests
      ✓ calls QSH command using idb transport (1523ms)
      ✓ calls QSH command using rest transport (1521ms)
      ✓ calls QSH command using ssh transport (2260ms)
      ✓ calls QSH command using odbc transport (1479ms)

  ProgramCall Functional Tests
    Test ProgramCall()
      ✓ calls QWCRSVAL program checks if it ran successfully using idb transport (70ms)
      ✓ calls QWCRSVAL program checks if it ran successfully using rest transport (64ms)
      ✓ calls QWCRSVAL program checks if it ran successfully using ssh transport (588ms)
      ✓ calls QWCRSVAL program checks if it ran successfully using odbc transport (80ms)
    Test ProgramCall()
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using idb transport (81ms)
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using rest transport (72ms)
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using ssh transport (542ms)
      ✓ calls QWCRSVAL program and returns arbitrarily named parameter using odbc transport (78ms)
    Test ProgramCall()
      - Should be successful with addReturn arbitrary attribute specified using using idb transport
      - Should be successful with addReturn arbitrary attribute specified using using rest transport
      - Should be successful with addReturn arbitrary attribute specified using using ssh transport
      - Should be successful with addReturn arbitrary attribute specified using using odbc transport

  Toolkit Functional Tests
    getTCPIPAttr
      ✓ retrieves TCP/IP Attributes using idb transport (101ms)
      ✓ retrieves TCP/IP Attributes using rest transport (126ms)
      ✓ retrieves TCP/IP Attributes using ssh transport (633ms)
      ✓ retrieves TCP/IP Attributes using odbc transport (109ms)
    getNetInterfaceData
      ✓ retrieves IPv4 network interface info using idb transport (90ms)
      ✓ retrieves IPv4 network interface info using rest transport (118ms)
      ✓ retrieves IPv4 network interface info using ssh transport (566ms)
      ✓ retrieves IPv4 network interface info using odbc transport (105ms)
    retrUsrAuth
      ✓ returns uses's authority for an object using idb tranport (74ms)
      ✓ returns uses's authority for an object using rest tranport (71ms)
      ✓ returns uses's authority for an object using ssh tranport (612ms)
      ✓ returns uses's authority for an object using odbc tranport (88ms)
    rtrCmdInfo
      ✓ returns command info using idb transport (70ms)
      ✓ returns command info using rest transport (121ms)
      ✓ returns command info using ssh transport (594ms)
      ✓ returns command info using odbc transport (88ms)
    retrPgmInfo
      ✓ returns program info using idb transport (79ms)
      ✓ returns program info using rest transport (80ms)
      ✓ returns program info using ssh transport (579ms)
      ✓ returns program info using odbc transport (87ms)
    retrSrvPgmInfo
      ✓ returns service program info using idb transport (77ms)
      ✓ returns service program info using rest transport (71ms)
      ✓ returns service program info using ssh transport (615ms)
      ✓ returns service program info using odbc transport (86ms)
    retrUserInfo
      ✓ returns specified user profile info using idb transport (81ms)
      ✓ returns specified user profile info using rest transport (74ms)
      ✓ returns specified user profile info using ssh transport (598ms)
      ✓ returns specified user profile info using odbc transport (83ms)
    retrUsrAuthToObj
      ✓ retrieves info for users who are authorized to an object using idb transpsort (79ms)
      ✓ retrieves info for users who are authorized to an object using rest transpsort (64ms)
      ✓ retrieves info for users who are authorized to an object using ssh transpsort (545ms)
      ✓ retrieves info for users who are authorized to an object using odbc transpsort (101ms)
    addToLibraryList
      ✓ appends lib to user's lib list using idb transport (76ms)
      ✓ appends lib to user's lib list using rest transport (63ms)
      ✓ appends lib to user's lib list using ssh transport (633ms)
      ✓ appends lib to user's lib list using odbc transport (81ms)
    getPTFInfo
      ✓ returns info for specified ptf using idb transport (77ms)
      ✓ returns info for specified ptf using rest transport (90ms)
      ✓ returns info for specified ptf using ssh transport (667ms)
      ✓ returns info for specified ptf using odbc transport (89ms)
    getProductInfo
      ✓ returns info for specified product using idb transport (74ms)
      ✓ returns info for specified product using rest transport (70ms)
      ✓ returns info for specified product using ssh transport (688ms)
      ✓ returns info for specified product using odbc transport (84ms)
    getInstalledProducts
      ✓ returns info for installed products using idb transport (815ms)
      ✓ returns info for installed products using rest transport (830ms)
      ✓ returns info for installed products using ssh transport (1371ms)
      ✓ returns info for installed products using odbc transport (819ms)
    UserSpace Functional Tests
      createUserSpace
        ✓ creates a user space using idb transport (71ms)
        ✓ creates a user space using rest transport (88ms)
        ✓ creates a user space using ssh transport (650ms)
        ✓ creates a user space using odbc transport (99ms)
      setUserSpaceData
        ✓ sets data within the user space using idb transport (65ms)
        ✓ sets data within the user space using rest transport (64ms)
        ✓ sets data within the user space using ssh transport (569ms)
        ✓ sets data within the user space using odbc transport (114ms)
      getUserSpaceData
        ✓ returns specified length of data using idb transport (69ms)
        ✓ returns specified length of data using rest transport (61ms)
        ✓ returns specified length of data using ssh transport (603ms)
        ✓ returns specified length of data using odbc transport (85ms)
      deleteUserSpace
        ✓ removes a user space using idb transport (76ms)
        ✓ removes a user space using rest transport (72ms)
        ✓ removes a user space using ssh transport (635ms)
        ✓ removes a user space using odbc transport (84ms)
    getSysValue
      ✓ returns the value of system variable using idb transport (71ms)
      ✓ returns the value of system variable using rest transport (63ms)
      ✓ returns the value of system variable using ssh transport (562ms)
      ✓ returns the value of system variable using odbc transport (81ms)
    getSysStatus
      ✓ returns basic system status information about the signed-on users and batch jobs using idb transport (74ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using rest transport (70ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using ssh transport (543ms)
      ✓ returns basic system status information about the signed-on users and batch jobs using odbc transport (80ms)
    getSysStatusExt
      ✓ returns more detailed system status info using idb transport (1153ms)
      ✓ returns more detailed system status info using rest transport (1147ms)
      ✓ returns more detailed system status info using ssh transport (1642ms)
      ✓ returns more detailed system status info using odbc transport (1150ms)
    getJobStatus
      ✓ returns status of specified job using idb transport (73ms)
      ✓ returns status of specified job using rest transport (67ms)
      ✓ returns status of specified job using ssh transport (578ms)
      ✓ returns status of specified job using odbc transport (82ms)
    getJobInfo
      ✓ returns info on specfed job using idb transport (71ms)
      ✓ returns info on specfed job using rest transport (67ms)
      ✓ returns info on specfed job using ssh transport (591ms)
      ✓ returns info on specfed job using odbc transport (86ms)
    getDataArea
      ✓ returns contents of a data area using idb transport (69ms)
      ✓ returns contents of a data area using rest transport (66ms)
      ✓ returns contents of a data area using ssh transport (615ms)
      ✓ returns contents of a data area using odbc transport (85ms)

  iDataQueue Functional Tests
    constructor
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. test/functional/iDataQueueFunctional.js:91:18
      ✓ creates and returns an instance of iDataQueue
    sendToDataQueue
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. test/functional/iDataQueueFunctional.js:101:20
      ✓ sends data to specified DQ using idb transport (71ms)
      ✓ sends data to specified DQ using rest transport (80ms)
      ✓ sends data to specified DQ using ssh transport (593ms)
      ✓ sends data to specified DQ using odbc transport (90ms)
    receiveFromDataQueue
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. test/functional/iDataQueueFunctional.js:117:20
      ✓ receives data from specfied DQ using idb transport (71ms)
      ✓ receives data from specfied DQ using rest transport (73ms)
      ✓ receives data from specfied DQ using ssh transport (549ms)
      ✓ receives data from specfied DQ using odbc transport (86ms)
    clearDataQueue
iDataQueue deprecated As of v1.0, class 'iDataQueue' is deprecated. test/functional/iDataQueueFunctional.js:133:20
      ✓ clears the specifed DQ using idb transport (73ms)
      ✓ clears the specifed DQ using rest transport (109ms)
      ✓ clears the specifed DQ using ssh transport (686ms)
      ✓ clears the specifed DQ using odbc transport (97ms)

  iSql Functional Tests
    prepare & execute
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:53:21
      ✓ prepares & executes stored procedure then fetch results using idb transport (765ms)
      ✓ prepares & executes stored procedure then fetch results using rest transport (346ms)
      ✓ prepares & executes stored procedure then fetch results using ssh transport (897ms)
      ✓ prepares & executes stored procedure then fetch results using odbc transport (404ms)
    addQuery & fetch
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:89:21
      ✓ runs a query and fetches results using idb transport (225ms)
      ✓ runs a query and fetches results using rest transport (277ms)
      ✓ runs a query and fetches results using ssh transport (767ms)
      ✓ runs a query and fetches results using odbc transport (241ms)
    added test to ensure issue #11 was resolved
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:117:21
      ✓ should parse SQL result set empty data tags correctly using idb transport (229ms)
      ✓ should parse SQL result set empty data tags correctly using rest transport (278ms)
      ✓ should parse SQL result set empty data tags correctly using ssh transport (761ms)
      ✓ should parse SQL result set empty data tags correctly using odbc transport (242ms)
    tables
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:146:21
      ✓ returns meta data for specified table using idb transport (432ms)
      ✓ returns meta data for specified table using rest transport (238ms)
      ✓ returns meta data for specified table using ssh transport (636ms)
      ✓ returns meta data for specified table using odbc transport (253ms)
    tablePriv
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:173:21
      ✓ returns privilege data for a table using idb transport (249ms)
      ✓ returns privilege data for a table using rest transport (225ms)
      ✓ returns privilege data for a table using ssh transport (713ms)
      ✓ returns privilege data for a table using odbc transport (278ms)
    columns
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:202:21
      ✓ returns meta data for a column using idb transport (274ms)
      ✓ returns meta data for a column using rest transport (356ms)
      ✓ returns meta data for a column using ssh transport (700ms)
      ✓ returns meta data for a column using odbc transport (351ms)
    columnPriv
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:242:21
      ✓ returns privilege data for a column using idb transport (680ms)
      ✓ returns privilege data for a column using rest transport (272ms)
      ✓ returns privilege data for a column using ssh transport (739ms)
      ✓ returns privilege data for a column using odbc transport (259ms)
    procedures
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:273:21
      ✓ returns meta data on for a procedure using idb transport (219ms)
      ✓ returns meta data on for a procedure using rest transport (234ms)
      ✓ returns meta data on for a procedure using ssh transport (639ms)
      ✓ returns meta data on for a procedure using odbc transport (236ms)
    pColumns
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:303:21
      ✓ returns meta data for procedure column using idb transport (247ms)
      ✓ returns meta data for procedure column using rest transport (254ms)
      ✓ returns meta data for procedure column using ssh transport (722ms)
      ✓ returns meta data for procedure column using odbc transport (262ms)
    primaryKeys
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:344:21
      ✓ returns meta data for a primary key using idb transport (222ms)
      ✓ returns meta data for a primary key using rest transport (220ms)
      ✓ returns meta data for a primary key using ssh transport (677ms)
      ✓ returns meta data for a primary key using odbc transport (233ms)
    foreignKeys
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:372:21
      ✓ returns meta data for a foreign key using idb transport (227ms)
      ✓ returns meta data for a foreign key using rest transport (243ms)
      ✓ returns meta data for a foreign key using ssh transport (681ms)
      ✓ returns meta data for a foreign key using odbc transport (244ms)
    statistics
iSql deprecated As of v1.0, class 'iSql' is deprecated. Use odbc, idb-connector, or idb-pconnector npm package instead. test/functional/iSqlFunctional.js:409:21
      ✓ returns stats info for table using idb transport (460ms)
      ✓ returns stats info for table using rest transport (427ms)
      ✓ returns stats info for table using ssh transport (856ms)
      ✓ returns stats info for table using odbc transport (406ms)
    special
      - returns meta data for special columns using idb transport
      - returns meta data for special columns using rest transport
      - returns meta data for special columns using ssh transport
      - returns meta data for special columns using odbc transport
    rowCount
      - returns the number of rows affected by statement using idb transport
      - returns the number of rows affected by statement using rest transport
      - returns the number of rows affected by statement using ssh transport
      - returns the number of rows affected by statement using odbc transport

  169 passing (1m)
  12 pending

@kadler Resolved conflicts this is now ready for review.

Closed and reopened to re-run integration tests.


fix: Support whitespace-only bodies

This is allowing body parsing to fail and for us to fall back to it
being optional if its whitespace only.
Fixes #12

that was fast! thank you!


update dependencies and use C_H in climaparameters

Purpose

To-do

Content

[ ] I have read and checked the items on the review checklist.

bors r+


Sceneform plugin v1.13.0 not working w/Android Studio 4 Canary 1

Android Studio 4 Canary 1, android gradle plugin 3.5.1
SceneForm plugin 1.13.0
Error typ. Error: java.lang.RuntimeException: java.lang.NoSuchMethodError: com.android.tools.idea.templates.recipe.RecipeExecutor.append(Ljava/io/File;Ljava/io/File;)V
Works perfectly on Android Studio 3.5.1

The issue still remain on android studio 3.6.1, working normal on 3.5.1

Already mentioned here: https://github.com/google-ar/sceneform-android-sdk/issues/989.
Not working with Android Studio 3.6.0/3.6.1. But working with 3.5.3.

You can use this workaround till the issue is fixed

@danielawde9 thanks but that fix doesn't work for me currently.

@sameerjj did you follow the same step? it worked for me,
Manually add the code, then android studio will automatically generate both sfa and sfb

@danielawde9 it might have to do with my project being a library not an application, but wasn't able to get it work. Ended up reverting to 3.5. Kind of embarrassing that these guys are putting out releases with such glaring issues. Probably won't update for the foreseeable future can't risk having issues when I need to focus on development


Refine Liqoctl Offloading

Description
This PR refactors the liqoctl offload command by adding a message in case of success.
How Has This Been Tested?

[x] Unit Test

/test

/test

/merge


[stable/cluster-autoscaler]add extraEnv in default values.yaml

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

This is for the cluster-autoscaler chart.
What this PR does / why we need it:
The extraEnv attribute is missing from the default values.yaml file, this causes issues that user cannot specify extraEnv to the container. This PR add the missing extraEnv to the default values.yaml.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/assign @yurrriq

Hmm, I've not had this issue before, but have no problem with merging this PR. Will you please rebase once #17569 is merged? Thanks!

Hmm, I've not had this issue before, but have no problem with merging this PR. Will you please rebase once #17569 is merged? Thanks!

Hi @yurrriq rebased the code.

Thanks!
/ok-to-test
/approve
/lgtm


feat: track fcu validity

originally https://github.com/paradigmxyz/reth/pull/2929
blocked by #2802
closes #2916
we did not track if the received FCU was invalid,valid or syncing.
This keeps track of the status of the received FCU.
It will track the latest FCU to which we responded with SYNCING, this is the sync target to which we need to sync. before this change we triggered pipeline with the last received FCU which could be invalid.

Codecov Report

Merging #2934 (22a7367) into main (1641f55) will decrease coverage by 0.04%.
The diff coverage is 77.94%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #2934      +/-   ##
==========================================
- Coverage   71.07%   71.03%   -0.04%
==========================================
  Files         516      517       +1
  Lines       66880    66924      +44
==========================================
+ Hits        47534    47539       +5
- Misses      19346    19385      +39

Flag
Coverage Δ

integration-tests
17.34% <0.00%> (+<0.01%)
:arrow_up:

unit-tests
65.92% <77.94%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/consensus/beacon/src/engine/message.rs
34.42% <66.66%> (+3.39%)
:arrow_up:

crates/consensus/beacon/src/engine/forkchoice.rs
77.27% <77.27%> (ø)

crates/consensus/beacon/src/engine/mod.rs
86.25% <86.66%> (+0.14%)
:arrow_up:

... and 9 files with indirect coverage changes


Multi-Platform shader build

Current shader system has the ability to store multiple shader blobs for different platforms already! Now we'll just need to hook in some cross-platform compilation for Android platform. This may mean run-time shader compile may not be possible on all platforms, so extra emphasis should be placed on external shader build tools.

Have you considered using https://github.com/bkaradzic/bgfx?

I considered it, and decided against it! It has way too much code in it, and doesn't use a real shader language. I also considered sokol_gfx, and webgpu and may have looked at some other options too, but decided against those as well.
I'm currently working on https://github.com/maluoi/sk_gpu instead, which I managed to get supporting full HLSL, and comes as a single header file! It's still a bit progress, but currently does work on Quest as well as Windows. I'm working on integrating this into StereoKit right now!

Yes, I have been tracking your progress there with sk_gpu. Looks promising!

sk_gpu now has multi-platform shader build abilities through skshaderc. It'll continue to evolve, but this functionality is usable in the sk_gpu branch in this repo!


External object serializers.

cc: @staabm. What do you think?

Any chanche we can get the classmap beeing used for reading and writing?

That wouldn't make a lot of sense, because during reading we don't know yet which class needs to be created. All we have is the element name.

Oh, obviously you are right ;-)

one thing which bugs me...
class ErpOrderService extends Sabre\Xml\Service {
    public $elementMap = array(
        '{http://b2bOrder.complex.de}order_response' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
            return $popoDeserializer($reader, new OrderResponse(), XMLNS_ORDER);
        },
        '{http://b2bOrder.complex.de}order_status' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderStatus(), XMLNS_ORDER);
        },
    );
}

is not valid php, as I cannot use closures on the public field here

ok, wil change it to
$erpOrderService = new Sabre\Xml\Service();
$erpOrderService->elementMap = array(
    '{'. XMLNS_ORDER .'}order_response' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderResponse(), XMLNS_ORDER);
    },
    '{'. XMLNS_ORDER .'}order_status' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderStatus(), XMLNS_ORDER);
    },
);

like the Reader/Writer examples

... progress...
$xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <order_response xmlns="http://b2bOrder.complex.de">
 <request_id>4711</request_id>
 <order_id>54752</order_id>
    <order_status xmlns="http://b2bOrder.complex.de">
         <status>INITIALIZED</status>
    </order_status>
 <success>true</success>
 </order_response>';

$popoDeserializer = function(Sabre\Xml\Reader $reader, $popo, $namespace)
{
    if ($reader->isEmptyElement) {
        throw new Exception(__CLASS__ . ' does not support empty elements');
    }

    $reader->read();
    do {

        if ($reader->nodeType === Sabre\Xml\Reader::ELEMENT && $reader->namespaceURI == $namespace) {

            $popo->{$reader->localName} = $reader->parseCurrentElement()['value'];
        } else {
            $reader->read();
        }
    } while ($reader->nodeType !== Sabre\Xml\Reader::END_ELEMENT);

    $reader->read();

    return $popo;
};

$popoSerializer = function(Sabre\Xml\Writer $writer, $popo, $namespace)  {
    foreach(get_object_vars($popo) as $key => $val) {
        $writer->writeElement('{'. $namespace .'}' . $key, $val);
    }
};

class OrderResponse
{
    public $request_id;
    public $order_id;
    public $status_status;
    public $success;
}

class OrderStatus
{
    public $status;
}

define("XMLNS_ORDER", "http://b2bOrder.complex.de");

$erpOrderService = new Sabre\Xml\Service();
$erpOrderService->namespaceMap[XMLNS_ORDER] = '';
// how to read xml into objects
$erpOrderService->elementMap = array(
    '{'. XMLNS_ORDER .'}order_response' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderResponse(), XMLNS_ORDER);
    },
    '{'. XMLNS_ORDER .'}order_status' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderStatus(), XMLNS_ORDER);
    },
);
// how to create xml from obejects
$erpOrderService->classMap = array(
    'OrderResponse' => function(Sabre\Xml\Writer $writer, $orderResponse) use ($popoSerializer) {
        /** @var $orderResponse OrderResponse */
        $popoSerializer($writer, $orderResponse, XMLNS_ORDER);
    },
    'OrderStatus' => function(Sabre\Xml\Writer $writer, $orderStatus) use ($popoSerializer) {
        /** @var $orderStatus OrderStatus */
        $popoSerializer($writer, $orderStatus, XMLNS_ORDER);
    }
);

$reader = $erpOrderService->getReader();
$reader->xml($xml);
$orderResp = $reader->parse()['value'];
var_dump($orderResp);
$writer = $erpOrderService->getWriter();
$writer->openMemory();
$writer->setIndent(true); // pretty print for debugging
$writer->write($orderResp);
var_dump($writer->outputMemory());

output
object(OrderResponse)#11 (5) {
  ["request_id"]=>
  string(4) "4711"
  ["order_id"]=>
  string(5) "54752"
  ["status_status"]=>
  NULL
  ["success"]=>
  string(4) "true"
  ["order_status"]=>
  object(OrderStatus)#12 (1) {
    ["status"]=>
    string(11) "INITIALIZED"
  }
}
string(205) "<:request_id xmlns="http://b2bOrder.complex.de">4711</:request_id>
<:order_id>54752</:order_id>
<:status_status/>
<:success>true</:success>
<:order_status>
 <:status>INITIALIZED</:status>
</:order_status>
"

except the : in the written xml, it looks fine ;)

as I cannot use closures on the public field here

Alternatively you could also have set them in the constructor.

except the : in the written xml, it looks fine ;)

What's with that :? That doesn't look right!

in case of having a external deserializer it would make sense to have the serializer emit the whole element... wdyt? (in case we agree here, I cannot use the service->write as the root element would then be emitted twice

Personally I would not break the rule, but if you think you have good reasons to do so, you should ;)

What's with that :? That doesn't look right!

I dont know why. The above code is runnable, maybe it helps to repro the problem

I guess the : are caused by the line $erpOrderService->namespaceMap[XMLNS_ORDER] = '';.
I do this to not get a namespace (inspired by the docs from http://sabre.io/xml/writing/)

Can you try null instead of '' ?

@evert you are right, we need null instead of ''.
send a PR which fixes the example code.
https://github.com/fruux/sabre.io/pull/61
It also fixes another error with the code.
So after all this we have a working code:
$xml = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <order_response xmlns="http://b2bOrder.complex.de">
 <request_id>4711</request_id>
 <order_id>54752</order_id>
    <order_status xmlns="http://b2bOrder.complex.de">
         <status>INITIALIZED</status>
    </order_status>
 <success>true</success>
 </order_response>';

$popoDeserializer = function(Sabre\Xml\Reader $reader, $popo, $namespace)
{
    if ($reader->isEmptyElement) {
        throw new Exception(__CLASS__ . ' does not support empty elements');
    }

    $reader->read();
    do {

        if ($reader->nodeType === Sabre\Xml\Reader::ELEMENT && $reader->namespaceURI == $namespace) {

            $popo->{$reader->localName} = $reader->parseCurrentElement()['value'];
        } else {
            $reader->read();
        }
    } while ($reader->nodeType !== Sabre\Xml\Reader::END_ELEMENT);

    $reader->read();

    return $popo;
};

$popoSerializer = function(Sabre\Xml\Writer $writer, $popo, $namespace)  {
    foreach(get_object_vars($popo) as $key => $val) {
        $writer->writeElement('{'. $namespace .'}' . $key, $val);
    }
};

class OrderResponse
{
    public $request_id;
    public $order_id;
    public $order_status;
    public $success;
}

class OrderStatus
{
    public $status;
}

define("XMLNS_ORDER", "http://b2bOrder.complex.de");

$erpOrderService = new Sabre\Xml\Service();
$erpOrderService->namespaceMap[XMLNS_ORDER] = null;
// how to read xml into objects
$erpOrderService->elementMap = array(
    '{'. XMLNS_ORDER .'}order_response' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderResponse(), XMLNS_ORDER);
    },
    '{'. XMLNS_ORDER .'}order_status' => function (Sabre\Xml\Reader $reader) use ($popoDeserializer) {
        return $popoDeserializer($reader, new OrderStatus(), XMLNS_ORDER);
    },
);
// how to create xml from obejects
$erpOrderService->classMap = array(
    'OrderResponse' => function(Sabre\Xml\Writer $writer, $orderResponse) use ($popoSerializer) {
        /** @var $orderResponse OrderResponse */
        $popoSerializer($writer, $orderResponse, XMLNS_ORDER);
    },
    'OrderStatus' => function(Sabre\Xml\Writer $writer, $orderStatus) use ($popoSerializer) {
        /** @var $orderStatus OrderStatus */
        $popoSerializer($writer, $orderStatus, XMLNS_ORDER);
    }
);

echo "<xmp>";
var_dump($xml);
$orderResp = $erpOrderService->parse($xml);
var_dump($orderResp);
var_dump($erpOrderService->write(get_class($orderResp), $orderResp));

do you think this kind of popo serializer/deserializer is something which should be shipped with sabre/xml or is it to specific for my current app?

I would definitely think it's a good idea to have this as a core feature btw!

Perhaps we can integrate this in the Service class with a function that takes a class name and xml element name and automatically registers both the serializer and deserializer.

Agree that having it in the Service class is a good idea. Its the place where this kind of api-sugar should happen. PR incoming


tests/kernel/mem_pool/mem_pool_concept failed on mec15xxevb_assy6853 board.

Describe the bug
using sanitycheck to run tests/kernel/mem_pool/mem_pool_concept on mec15xxevb_assy6853 board, there are some error log message output, it will cause we can't use the junit2html to convert the sanitycheck.xml to html file.
To Reproduce

sanitycheck --hardware-map ~/mec1.file --device-testing
-T  tests/kernel/mem_pool/mem_pool_concept/ -vv
see error
console output

DEBUG   - DEVICE: *** Booting Zephyr OS build v2.2.0-rc3  ***
DEBUG   - DEVICE: Running test suite mpool_concept
DEBUG   - DEVICE: ================================================
DEBUG   - DEVICE: starting test - test_mpool_alloc_wait_prio
DEBUG   - DEVICE: PASS - test_mpool_alloc_wait_prio
DEBUG   - DEVICE: ==================================================
DEBUG   - DEVICE: starting test - test_mpool_alloc_size_roundup
DEBUG   - DEVICE: PASS - test_mpool_alloc_size_roundup
DEBUG   - DEVICE: ==================================================
DEBUG   - DEVICE: starting test - test_mpool_alloc_merge_failed_diff_size
DEBUG   - DEVICE: 6Ly6!
>6O>6g8K}}}ͥ5)j4хѥѕс}}}ɝ}}}ɕ5r6Ly6! >6O>6g8X[kՕɝ}}}ɕ5RjDUkсեѕj}сՍ5RjR%jtԨU
DEBUG   - Timed out while monitoring serial output on mec15xxevb_assy6853
INFO    - 1/1 mec15xxevb_assy6853       tests/kernel/mem_pool/mem_pool_concept/kernel.memory_pool.concept FAILED Timeout (device 112.089s)
ERROR   - see: /home/wentongw/work/zephyrproject/zephyr/sanity-out/mec15xxevb_assy6853/tests/kernel/mem_pool/mem_pool_concept/kernel.memory_pool.concept/handler.log
INFO    - 0 of 1 tests passed (0.00%), 1 failed, 0 skipped with 0 warnings in 116.61 seconds
INFO    - In total 1 test cases were executed on 1 out of total 229 platforms (0.44%)
Environment (please complete the following information):

OS: fedora28
Toolchain: zephyr-sdk-0.11.1
Commit ID: 5372e78827

this will influence the QA test framework, we can't  use the xml to generate html, so we can't see the detail test result in daily test result and testrail.
it's critical for QA, so change it's priority to high.

@wentongwu do you think you will have a patch for this soon? This is currently blocking the 2.2 release.

This is not a high priority bug. I suggest to either exclude the test or manually edit the xml file and remove the garbage.

my guess is that the issue is related to PM being enabled by default for this board:
CONFIG_SOC_POWER_MANAGEMENT=y
This should never be enabled by default and should be use-case/application specific.

diff --git a/soc/arm/microchip_mec/mec1501/power.c b/soc/arm/microchip_mec/mec1501/power.c
index e86dc2f088..9a705926ce 100644
--- a/soc/arm/microchip_mec/mec1501/power.c
+++ b/soc/arm/microchip_mec/mec1501/power.c
@@ -72,6 +72,7 @@ static void z_power_soc_deep_sleep(void)

        soc_deep_sleep_non_wake_dis();

+       k_busy_wait(3000);
        soc_deep_sleep_periph_restore();

 }

@chen-png would you like to try this patch, I test it locally it seems working well?

Did some bisecting and that ac2b117 introduced this issue. The test works fine without garbage characters on the commit before this one. This commit re-introduced the deep sleep state residencies.

@dcpleung @nashif without this commit, deep sleep state can't be entered. The bsp code about mec power management is merged on Dec 10, 2019 (see https://github.com/zephyrproject-rtos/zephyr/pull/19423), but removing deep sleep states from residency policy happened on Dec 4, 2019 (see https://github.com/zephyrproject-rtos/zephyr/pull/20950), that means we never test the deep sleep state until commit https://github.com/zephyrproject-rtos/zephyr/commit/ac2b117acd837b9a08b847ef8a58b870ca96914e merged, so we find so many bugs about deep sleep on this board after this commit.

@scottwcpg @dcpleung I don't have the spec about this SOC, but I see some comments in the code like below, and I assume the 48Mhz PLL is related to peripherals, so I add some delay(3ms) after resume to get this PLL locked before uart start to work.
 * Deep Sleep
 * Pros:
 * Lower power dissipation, 48MHz PLL is off
 * Cons:
 * Longer wake latency. CPU start running on ring oscillator
 * between 16 to 25 MHz. Minimum 3ms until PLL reaches lock
 * frequency of 48MHz.

@chen-png would you like to try this patch, I test it locally it seems working well?

tested, it worked well for mec board now.


EventCounterCollectionModule sends events every second

Asp .NET 8 app, created from template, without anything extra. Here is it: https://github.com/verdysh/AppInsightsMetrics/
Microsoft.ApplicationInsights.AspNetCore 2.22.0
Visual Studio 17.8.6
Windows 10
It's reproduced on .NET 6 and some previous version of VS as well.
Here is how I add and configure AI:
static void AddAndConfigureApplicationInsightsTelemetry(IServiceCollection services, IConfiguration configuration)
{
    services.AddApplicationInsightsTelemetry();

    services.ConfigureTelemetryModule<EventCounterCollectionModule>(
        static (module, o) =>
        {
            module.UseEventSourceNameAsMetricsNamespace = true;
            module.Counters.Add(new EventCounterCollectionRequest("System.Runtime", "gen-0-size"));
        }
    );
}

Having code above I expect having value of gen-0-size counter once per 60 seconds in all the possible cases. But it's not so in each case.
If I run my app locally using VS, I have this counter every second. Here is a peace of log from VS's Output window:
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:31.6079116Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:32.5989212Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:33.6015676Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:34.6036418Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:35.6078399Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:36.6115913Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:37.6108508Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:38.6111480Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:39.5999277Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:40.6006067Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:41.6095312Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:42.5979662Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:43.5984477Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:44.6000061Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:45.6052782Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:46.6120242Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T07:33:47.6024448Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}

You can see that this event is written every second. In my real app I have more than 1 metric and a lot of logs in Output window. It wouldn't be a problem if it didn't slowed down debugging. This slows down debugging a lot. If I turn metrics off, my debugging experience become much more better.
If I run the app (configured with connection string to AI instance) in the Azure, I have this counter once per 60 seconds in the logs.
I thought that something is wrong with my local machine. Then I decided to try running the app using Rider. If I run the app using not VS but Rider, I see the event once per second:
category: Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T08:07:58.4581950Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
category: Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T08:08:58.4378552Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
category: Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T08:09:58.4292858Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}
category: Application Insights Telemetry (unconfigured): {"name":"AppMetrics","time":"2024-02-29T08:10:58.4367460Z","tags":{"ai.application.ver":"<IP_ADDRESS>","ai.cloud.roleInstance":"DESKTOP-OJSHEC","ai.internal.sdkVersion":"evtc:2.22.0-997","ai.internal.nodeName":"DESKTOP-OJSHEC"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"ns":"System.Runtime","name":"Gen 0 Size","kind":"Aggregation","value":0,"count":1}],"properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true","DisplayUnits":"B"}}}}

Why does it send events every second when I use VS? How to make it sends events once per 60s?

Looks like a VS specific issue. Shouldn't affect any prod scenarios, as this is only when vs/debugger is attached.

How is it theoretically possible that the VS debugger has such impact on some C# code if you didn't write some specific logic just for VS debugger case (which would be really weird)? Also, let me remind you that with Rider debugger attached I can't reproduce this behavior.

Shouldn't affect any prod scenarios, as this is only when vs/debugger is attached.

How can I be sure? It shouldn't affect VS debugging scenario, should it?

@cijothomas
My telemetry goes absolutely haywire in VS Code, Rider, and Visual Studio when the debugger is attached as well.
It's sending events multiple times a second even to my local sql server instance

@cijothomas
My telemetry goes absolutely haywire in VS Code, Rider, and Visual Studio when the debugger is attached as well.
It's sending events multiple times a second even to my local sql server instance

Can you elaborate on what is the issue you are experiencing?
It's sending events multiple times a second even to my local sql server instance  -- This statement is not clear.. Application Insights does not send telemetry to local sql server instance, so not sure what does this mean.
The screenshot shows dependency calls captured by application insights - not able to tell what is incorrect in that screenshot. Please elaborate so we can help.

@cijothomas
My telemetry goes absolutely haywire in VS Code, Rider, and Visual Studio when the debugger is attached as well.
It's sending events multiple times a second even to my local sql server instance

Can you elaborate on what is the issue you are experiencing? It's sending events multiple times a second even to my local sql server instance -- This statement is not clear.. Application Insights does not send telemetry to local sql server instance, so not sure what does this mean. The screenshot shows dependency calls captured by application insights - not able to tell what is incorrect in that screenshot. Please elaborate so we can help.

Sorry, to be clear:
Application insights is capturing dependency calls between my local sql server instance and running Blazor application. Why is the frequency of dependency calls so high?

Application insights is capturing dependency calls between my local sql server instance and running Blazor application. Why is the frequency of dependency calls so high?

Application Insights does not dictate the frequency of dependency calls, it is merely collecting all the sql calls from your app. Can you confirm if you app is not making as many calls as captured by application insights? It is entirely possible that the app is actually making a high number of sql calls and app insights is just captured each of them!
It'll be easy if you make a minimal repro app, so we can see if there is any issue within the ApplicationInsights collection logic.

How is it theoretically possible that the VS debugger has such impact on some C# code if you didn't write some specific logic just for VS debugger case (which would be really weird)? Also, let me remind you that with Rider debugger attached I can't reproduce this behavior.

Shouldn't affect any prod scenarios, as this is only when vs/debugger is attached.

How can I be sure? It shouldn't affect VS debugging scenario, should it?

To be honest, I am also bit surprised, but not totally surprised. The reason being - historically, Application Insights and Visual Studio has had a very tight integration! AppInsights emits logs to a format understood by Visual Studio so it can show telemetry locally, Visual Studio had features to enable app insights sdk, AppInsights uses a "developer" mode when run inside Visual Studio and so on!. But this particular thing about EventCounter being collected every second is puzzling me as well.
If you see this is PROD, please open Azure support ticket, so someone can help you sooner. (If it is indeed a bug in app insights and has caused extra billing costs, support team should be able to help you there.)
If you are seeing this only in local runs, would you collect the logs from the SDK and narrow down the issue further:?
I do have some vague memory about EventCounters going rogue, so we have added this internal log - https://github.com/microsoft/ApplicationInsights-dotnet/blob/main/WEB/Src/EventCounterCollector/EventCounterCollector/EventCounterListener.cs#L203
(I am the original author of this feature)
You can following this doc (https://learn.microsoft.com/en-us/troubleshoot/azure/azure-monitor/app-insights/asp-net-troubleshoot-no-data?source=recommendations#net-core) to enable internal log collection to a file. The log we are interested in is at Warning level, so you need to set Warning as severity, as shown below.
 services.AddSingleton<ITelemetryModule, FileDiagnosticsTelemetryModule>();
 services.ConfigureTelemetryModule<FileDiagnosticsTelemetryModule>((module, options) => {
     module.LogFilePath = "C:\\somewhere-accessible";
     module.LogFileName = "mylog.txt";
     module.Severity = "Warning";
 });

The logs from above will confirm if EventCounters infra itself is misbehaving and emitting it every 1 sec, instead of the configured 60 secs! Once you confirm this, I can tag possible owners (owners of EventCounters itself), to help with actual fix, if any needed.

@cijothomas I will have to get back to you, but looking at my production instance of application insights:

470k dependency events in 24 hours, for a database that barely gets called.
With message {"AspNetCoreEnvironment":"Production","_MS.ProcessedByMetricExtractors":"(Name:'Dependencies', Ver:'1.1')"}

In dependencies table of app insights logging.

I will have to do more digging and writeup when I have free time, I apologize for the little information.
Some basics:

Using Serilog sink to Application Insights, App Service, Blazor Server application

470k dependency events in 24 hours, for a database that barely gets called

Some guesses, while we wait for further information!
Do you have sampling enabled? It is possible that the overall volume of telemetry (not the db calls), is high, causing aggressive sampling, and that can result in inflated count of database calls! If you use standard metrics and plot the count - you should see the accurate count. If sampling is indeed the issue, then you should see a much smaller number for db calls when using standard metrics, matching the actual calls your app has made.

470k dependency events in 24 hours, for a database that barely gets called

Some guesses, while we wait for further information!
Do you have sampling enabled? It is possible that the overall volume of telemetry (not the db calls), is high, causing aggressive sampling, and that can result in inflated count of database calls! If you use standard metrics and plot the count - you should see the accurate count. If sampling is indeed the issue, then you should see a much smaller number for db calls when using standard metrics, matching the actual calls your app has made.

I have learned that the UI already uses standard metrics (unless you have done some filter etc. in the UI), so that count is already unaffected by sampling, and should reflect reality! I don't have any other guesses at the moment, so will wait to hear more details from you!

@cijothomas here is the log file mylog.txt
PS. in the first post you can find a link on repo, so you can run the app locally and play with it.

@cijothomas here is the log file mylog.txt
PS. in the first post you can find a link on repo, so you can run the app locally and play with it.

Microsoft.ApplicationInsights.Extensibility.TraceSource Warning: 14 : EventCounter actual interval of 1.8909356594085693 secs is less than configured interval of 60 secs.
Such warnings are logged throughout, so EventCounters are fired at much higher frequency than the configured 60 secs. This confirms that the issue is in EventCounters itself.
This needs to be reported to https://github.com/dotnet/runtime/issues. You may need to provide a minimal-repro for the same. However, it is entirely possible that this won't be fixed, given the general direction of moving away from EventCounters to new Metrics API....

Can I make Microsoft.ApplicationInsights.AspNetCore to use new Metrics API?

Can I make Microsoft.ApplicationInsights.AspNetCore to use new Metrics API?

No. The new metrics API is supported in OpenTelemetry based Application Insights only. It is already GA : https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable?tabs=aspnetcore but not at feature parity with  the asp.net core package from this repo yet. But eventually, OpenTelemetry based solution will be the only supported one. If you would like, please give it a try.

@cijothomas extremely sorry for the delay here. I did some investigating and turning off dependency tracking solved the issue. Please view above Application Insights dashboard.
void AppInsightsOptions(ApplicationInsightsServiceOptions options)         {             options.ConnectionString = webApplicationBuilder.Configuration["ApplicationInsights:ConnectionString"] ?? throw new ArgumentNullException("ApplicationInsights:ConnectionString");             options.EnableDependencyTrackingTelemetryModule = false;         }         services.AddApplicationInsightsTelemetry(AppInsightsOptions);


Update authorization README

It's outdated after the recent changes.

Fixed via #39

Fixed via #39