WSUS client diagnostic tools links to Forbidden page.

Page links to broken pages. ClientDiag.exe is nowhere to be found anymore.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: aa21e853-8fa2-24d0-9806-75345cc12fd3
Version Independent ID: 5397b0db-f1b5-fa63-df9c-112fb9672833
Content: Windows Server Update Services tools and utilities
Content Source: WindowsServerDocs/administration/windows-server-update-services/manage/wsus-tools.md
Product: windows-server
Technology: wsus
GitHub Login: @eross-msft
Microsoft Alias: lizross

See also issue ticket #4782 for a discussion on this topic and maybe how to resolve it.

(also ref. #5105 )


Update expected output in API tests

Describe the bug
Merging #236 passes the Mythril-CLI tests but causes the API tests to fail because an additional issue is detected.
Expected behavior
This is expected behavior assuming that the issue is not a false positive. @birdofpreyru, please update the expected outputs to include this issue.

Updated


hold the viewer for different points

I am updating my points after every 0.5 seconds using a for loop and I want the viewer window to be the same and not open a new one again and again after every update. How do I do this?

You can clear the viewer and reload points without creating a new window:
v.clear()
v.load(points)
the problem is that the eye position is also reset by using load() - so if anyone knows how to load points without changing the current eye position, let me know :)

Did anyone figure this out?


Exception in motorMoveToPreset on Tapo C210

Description
Sometimes then I try to use Move to Preset camera not response and then just makes full rotation (like after reboot) and stops in the same position.
Reproduction Steps
Click on Move to Preset and select a Preset from the list
Expected behavior
Camera moves to selected preset
If applicable, add error logs.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 09:43:33 (1 occurrences)
Last logged: 09:43:33
[546060396736] Error: -60102, Response: {"method": "motorMoveToPreset", "result": {}, "error_code": -60102}
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 106, in async_select_option
await entity.async_select_option(option)
File "/config/custom_components/tapo_control/select.py", line 832, in async_select_option
await self.hass.async_add_executor_job(self._controller.setPreset, foundKey)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 1486, in setPreset
return self.executeFunction(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pytapo/init.py", line 510, in executeFunction
raise Exception(
Exception: Error: -60102, Response: {"method": "motorMoveToPreset", "result": {}, "error_code": -60102}
Device Firmware
1.3.9 Build 231019 Rel.13805n(4555)
Integration Version
5.4.12
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker on Raspberry Pi 4 Model B
Search for similar issues
Yes
Additional information
No response

I have 2 C200 with the same firmware, and since updating to firmware 1.3.9 I'm seeing strange issues... Sometimes I am not able to move to a preset, restarting homeassistant seems to fix the issue temporarily.
Might be related to #472

From the integration side this is expected and nothing wrong, camera simply refuses the command, same would happen to the app as it uses the same command. It refused the command with error code -60102.

I think I found the reason for this strange behavior. This only happened when  I blocked internet access for the camera using my wifi router's built-in firewall. But by default it only blocks TCP packets, I added the same rules for UDP and now the camera works as expected.


Add support for AudioPlayer directives

This is an in progress branch to prevent duplication of work.
something like the following:
audio_player = audio_player.play('https://example.com/file.mp3', 'my-token')
directives = [audio_player]
respond('My audio player', directives: directives)

@sjmog, have you had a chance to take another look at this? Would love to know your opinion on end_session

I'm thinking that it makes more sense to introduce a different high-level interface. nils creep me out and it feels awkward to use tell. If you can't send a text response of any kind to some audio intents (like PlaybackStarted) , let's create a new interface for doing that rather than hacking respond.
I'm thinking something like this (using the multiple stream example):
# I removed the user stuff for clarity
intent 'PlayAudio' do
  attributes = AttributesHelper.new({})

  episode = AudioData::STREAMS[attributes.play_order[attributes.index]]

  # builds a response with the correct directive
  audio_player.play(
    episode[:url],
    attributes.index,
    speech: "Playing #{episode[:title]}" # optional parameter
  )
end

intent 'AMAZON.ResumeIntent' do
  user = User.first(user_id: request.user_id)
  attributes = AttributesHelper.new(user.player_attributes)
  episode = AudioData::STREAMS[attributes.play_order[attributes.index]]

  audio_player.play(
   episode[:url],
   attributes.index,
   offset_in_milliseconds: attributes.offset_in_milliseconds) # optional parameter
  )
end

intent 'AMAZON.PauseIntent' do
  audio_player.stop
end

intent 'AMAZON.StopIntent' do
  audio_player.stop
end

The audio_player is made available just like respond, ask, tell, card and so on. #play and #stop should build a response without the user having to do it manually.

TL;DR I didn't read your code block properly so wrote the below... Thought I'd leave it here because... Well, it took me 10 minutes :joy: - skip to the bottom for 'yep, sounds good'

Well, here's where things get complicated... You can provide a textual response along with an audio player directive itself, if you are passing it from within an 'IntentRequest' style intent. For example, when triggering the PlayAudio response within the multiple-streams example it reads out the episode title.
You can not, however send textual content when responding to Amazon's built-in AudioPlayer.* directives (AudioPlayer.PlaybackNearlyFinished valid response types). These can all be found within the audio_events.rb file here, for example.
We could create a new top-level action like ask, respond etc, but having audio_player methods build a response may not work as you've described above 😞.

Yep, sounds good... I'll take a look now

Awesome! Which bit was the bit that changed your mind? The optional params hash bit?

Yeah, I missed the speech param - I also think we should keep the respond
method as t is to allow for flexibility?
On Fri, 2 Feb 2018 at 17:46, Sam Morgan<EMAIL_ADDRESS>wrote:

Awesome! Which bit was the bit that changed your mind? The optional params
hash bit?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sjmog/ralyxa/pull/8#issuecomment-362653516, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADVzNiUQJTh1xZVbk2nY-XeJZAJYTcS-ks5tQ0isgaJpZM4RXEyj
.

I've done an initial attempt but it looks like I'll have to add a load of extra optionals too (ssml, card, etc.)

Those should all flow straight into respond, minus the speech?
I’m fine to bung all the params on there and use AudioPlayer as a builder that filters appropriate params and builds a response with them (using the directives as you set up)

On 2 Feb 2018, at 23:51, Matt Rayner<EMAIL_ADDRESS>wrote:
I've done an initial attempt but it looks like I'll have to add a load of extra optionals too (ssml, card, etc.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Unfortunately, as respond is an instance method on Handler, that's not currently the case - it could be changed, but I'm not convinced that's a good idea.
Limiting what can be provided along with an audio player directive feels like a good way forward (at least initially) as it should limit unexpected errors caused by users creating combinations of things that are not allowed by the Amazon spec.
This will become even more useful with the other directives (Dialogue, VideoPlayer) as they are even more restrictive in places.

I've updated both the implementation here, and examples.
I think the creation of comprehensive documentation explaining all the different options for methods would be a good idea - Adding all the various pieces in the README will get unmanageable soon - possibly in a wiki attached to the repo?
It might be advantageous to create some YARD docs for the various ruby classes?

@mattrayner sorry for the delay – a pressured period at work! Is this ready to merge?

Sorry for the delay my end :joy:
I think it's ready code-wise. The points about documentation etc should probably be converted into issues


[TASK] Add More Logs to diagnose Dali Pig Ramp by HadoopPigJob

Pull Request Test Coverage Report for Build 5037

5 of 46 (10.87%)  changed or added relevant lines in 3 files are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.02%) to 40.479%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/ExecutableRamp.java
5
10
50.0%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/HadoopPigJob.java
0
14
0.0%

azkaban-exec-server/src/main/java/azkaban/execapp/FlowRampManager.java
0
22
0.0%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/executor/ExecutableRamp.java
2
70.9%

azkaban-exec-server/src/main/java/azkaban/execapp/FlowRampManager.java
4
8.99%

Totals

Change from base Build 5034:
-0.02%

Covered Lines:
12934

Relevant Lines:
31952

💛  - Coveralls


chore: use taplo to format Cargo.toml manifests

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/9262.
Rationale for this change

See https://github.com/apache/arrow-datafusion/issues/9262 for details.
What changes are included in this PR?

Changes:

Add taplo to CI
Format existing Cargo.toml files
Add a configuration file
Update related docs

To install taplo, run cargo install taplo-cli. Or by other ways in document.
To format toml files, use taplo format. It would read config file taplo.toml from this PR.
Are these changes tested?

no need
Are there any user-facing changes?
For developers, yes.

Thanks for reviewing this @Jefffrey
I added a rule to skip reordering package table, it should look better now. Please check it out 😆

This broke /dev/rust-lint.sh because
/ci/scripts/rust_toml_fmt.sh isn't valid bash:
set -ex
taplo format
done <-- this should be removed.

Ahhh my bad 😵💫 Are you willing to submit a fix?


_links.erb

Hi José,
may be intentional ... but
In v2.0.1 _links.erb is out/lost their "shared" folder. IMO this can cause some disagreements with some already multilingual applications in production, with translations already closed.
Consider rename too as _links.html.erb
regards

Well, if you have an issue migrating, you can copy devise views to your application and make it use the previous link location.

thx not issue.


div footer   not in bottom of UC

android UC Ver：20150210
ionic Ver：Ionic, v1.0.0-beta.14
web app

Greetings @ivantree!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

This is not a bug, but a design choice for android. Tabs should appear on top as part of the platform specific tweaks.
This can be changed via the $ionicConfigProvider
http://ionicframework.com/docs/api/provider/$ionicConfigProvider/

Ths!


NFT owner showing as actor in notifications for bids

https://github.com/bitclout/frontend/blob/cf55ceed04682ac5801bfcf38324bc1e489d7fd6/src/app/notifications-page/notifications-list/notifications-list.component.ts#L271
Unclear what is causing this on first glance as its getting the TransactorPubKey to define the actor. Which suggests there may be an issue in backend ?

this should be resolved with the below PRs - just had the usernames flopped by accident
https://github.com/bitclout/frontend/pull/340
https://github.com/bitclout/frontend/pull/338

thx


ISPN-9465 Cannot join cache after killing the only member 9.3.x

https://issues.jboss.org/browse/ISPN-9465
When the last cache member leaves, the coordinator's ClusterCacheStatus
stays in state RUNNING, and the next join doesn't reinitialize the cache
topology.

Integrated into 9.3.x, thanks @danberindei !


add cfn-lint to pypi blocklist

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Error: "cfn-lint" contains non-PyPI resources. Please update the resources manually.

relates to https://github.com/Homebrew/homebrew-core/pull/59712

Is it worth adding instances like this to the blocklist?
Without adding this to the blocklist, bump-formula-pr fails with:
Error: "cfn-lint" contains non-PyPI resources. Please update the resources manually.

Once it's in the blocklist, this is the error message:
Error: The resources for "cfn-lint" need special attention. Please update them manually.

I'm not sure there's any benefit to having the second message over the first, so I'd suggest we only add formulae to the blocklist if they fail for more complicated reasons (e.g. when formulae need additional resources that update-python-resources removes)
The benefit of not adding these inctances is that the blocklist will be shorter. If that's not an issue we're concerned about than I have no problem adding these.

I'm not sure there's any benefit to having the second message over the first, so I'd suggest we only add formulae to the blocklist if they fail for more complicated reasons (e.g. when formulae need additional resources that update-python-resources removes)

I agree.

@Rylan12 yeah, you made a point, I think the command is still partially doing the job while just one dependency is not pypi-conformed.
With that being said, closing this PR. :)


Find workaround to hide .

Find another solution to hide  without setting display: none.

Commit c1a1014 fixed it.

Only changing opacity and height can hide properly, but it lowers performance. Setting webview's display to none doesn't affect to performance, but it isn't working properly. See details in https://github.com/electron/electron/issues/8277.

Closing this issue since the large amount of tabs lowers performance.


why is there a restriction of fn main() on #[async_std::main]?

More of a question really as this was surprising to me.
When using Tokio, you can add #[tokio::main] to any fn and it works as expected, expanding out to eventually calling block_on on a runtime.
I can see https://github.com/async-rs/async-attributes/blob/master/src/lib.rs#L59 and wondered why this restriction is in place? if there's no technical limitation I will happily send a PR 👍
Also whilst here, I noticed that since you expect the attribute to always exist on main, your code doesn't account for visibilty modifiers, eg: pub fn main() would lose the pub
again, if it's just yet to be built then I'd love to help out.
Many thanks for your time.

We made async fn main only work with main because that's what it's intended to be used for. If someone's using it somewhere else we figured that would probably be a bug.
However we should indeed retain any visibility modifiers, and the fact that we don't is a bug. If you'd like to send in a PR for that it'd be much appreciated!

Ok great - will send a PR :)
On Tue, 4 Aug 2020 at 11:46, Yoshua Wuyts<EMAIL_ADDRESS>wrote:

We made async fn main only work with main because that's what it's
intended to be used for. If someone's using it somewhere else we figured
that would probably be a bug.
However we should indeed retain any visibility modifiers, and the fact
that we don't is a bug. If you'd like to send in a PR for that it'd be much
appreciated!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/async-rs/async-attributes/issues/17#issuecomment-668523854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMRIARJCYDIP7WHNZVDP4TR67RJPANCNFSM4PSOQBVQ
.


[PERF] Regression on Json scenarios

Regression of approximately 10% on Json serialization scenarios between versions 2.2.0-preview1-34172 and 2.2.0-preview1-34173, around May 11 12pm UTC.
Update: Apparently on Linux only

This commit: https://github.com/aspnet/KestrelHttpServer/commit/b040e33b1bbcc9719dc8e71c707a7e3fe1ff99ca
Source: http://aspnetci/viewLog.html?buildId=465847&buildTypeId=AspNetCore_Publish&tab=buildChangesDiv

Must have been the scheduling change

This should only have affected Linux

@davidfowl awesome, because this is exactly what I saw too and had already updated the first post

/cc @DamianEdwards

Helpe understand which versions are impacted here please? The linked commit was a merge from 2.1 to 2.2 (dev) so are we saying this is a regression in 2.1 RTM from what was previously in dev?

Must have been the scheduling change

merged 2 commits into release/2.1 ... 4 days ago https://github.com/aspnet/KestrelHttpServer/pull/2557 had the change
-            // On *nix platforms, Sockets already dispatches to the ThreadPool.
-            var awaiterScheduler = IsWindows ? _scheduler : PipeScheduler.Inline;

Yes, it's that one.
/cc @halter73


Review documentation to ensure we use document instead of text input

Fixes https://github.com/Azure/azure-sdk-for-net/issues/8900.
It also improves the documentation in samples and docstrings.

That brings up a question. Do we need to change the input parameter as well? I saw .NET is using inputText for single string and inputs for a list of string,

That brings up a question. Do we need to change the input parameter as well? I saw .NET is using inputText for single string and inputs for a list of string,

Issue https://github.com/Azure/azure-sdk-for-net/issues/10264 created so we can discuss that with the team, as all languages are currently using test, inputs, and textInputs.


Add sc-sl.txt

@Frcsty I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host sc-sl.si not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


Correction for raw affiliation Montpellier SupAgro, IATE — Département SABP, 2 place Viala, 34060 Montpellier France

Correction needed for raw affiliation Montpellier SupAgro, IATE — Département SABP, 2 place Viala, 34060 Montpellier France
raw_affiliation_name: Montpellier SupAgro, IATE — Département SABP, 2 place Viala, 34060 Montpellier France
new_rors: 03rnk6m14;0000n5x09
previous_rors: 03rnk6m14
works_examples: W2015110459
contact: bc14755d4fd95acae16fdbad53876b26:e2414bf5a396d7fe0fce1a22a7b30a8b1aef @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


AuthInterceptor and user token not passed

I have written updatePassword in AuthService.js:
updatePassword: function updatePassword(credentials) {
        return $http
          .post(BackendConfig.url + '/updatePassword', credentials, {withCredentials: false})
          .then(
          function(response) {

            //var msg = response.data.message
            MessageService.success('Your Password Changed Successfully!');

            //$localStorage.credentials = response.data;
          }
        )
          ;
      }

The call is getting into server side however the request.token on server is failing and looks like User is not passed. Where and how does Authinterceptor send this data, I did check local storage does have user credentials.

There is an interceptor to add that to each request https://github.com/tarlepp/angular-sailsjs-boilerplate-frontend/blob/master/src/app/core/interceptors/AuthInterceptor.js


search_handles should support a 'limit' parameter

The HandleReverseLookupServlet has a default limit for queries of 1000 (only returns max. 1000 Handles per query). This can be overridden with a limit URL parameter. The search_handles method should also support this parameter explicitly.
Current workaround is: introduce 'limit' as an allowed_search_key and then set it to e.g. "100000" (as string).

Than search_handles should also support a page parameter if it does not already.
This so you can say for instance:
limit=100000%page=0
limit=100000%page=1
limit=100000%page=2

Otherwise you can only get the first 100.000 handles

This feature is actually available in the DB client (see #18), at the moment in devel.


New-MsalClientApplication : Cannot convert argument "builder"

Hello,
I was able to successfully send this command:
Connect-MgGraph
$Current_MgContext = Get-MgContext
$Global:AccessToken = Get-MsalToken -ClientID $Current_MgContext.ClientId -TenantId $Current_MgContext.TenantId
but then suddenly i have this persistent error:
New-MsalClientApplication : Cannot convert argument "builder", with value:
"Microsoft.Identity.Client.PublicClientApplicationBuilder", for "WithDesktopFeatures" to type
"Microsoft.Identity.Client.PublicClientApplicationBuilder": "Cannot convert the
"Microsoft.Identity.Client.PublicClientApplicationBuilder" value of type
"Microsoft.Identity.Client.PublicClientApplicationBuilder" to type
"Microsoft.Identity.Client.PublicClientApplicationBuilder"."
At C:\Program Files\WindowsPowerShell\Modules\MSAL.PS\<IP_ADDRESS>\Select-MsalClientApplication.ps1:56 char:29

... plication = New-MsalClientApplication -ErrorAction Stop @paramNewMsal ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [New-MsalClientApplication], MethodException
FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument,New-MsalClientApplication

But this error is machine dependent, on another PC it runs fine.

same problem ... any suggestions please?

same problem, MSAL.ps version <IP_ADDRESS>

The explanation is simple. I have no idea about a structural solution that will keep working.
The workaround is easy:
import-module msal.ps
import-module microsoft.graph.authentication
[Microsoft.Identity.Client.PublicClientApplicationBuilder].Assembly
GAC    Version        Location
False  v4.0.30319     C:\Program Files\WindowsPowerShell\Modules\msal.ps\<IP_ADDRESS>\Microsoft.Identity.Client.4.37.0\net45\Microsoft.Identity.Client.dll
=> It works.
import-module microsoft.graph.authentication
import-module msal.ps
[Microsoft.Identity.Client.PublicClientApplicationBuilder].Assembly
GAC    Version        Location
False  v4.0.30319     C:\Program Files\WindowsPowerShell\Modules\microsoft.graph.authentication\1.28.0\Dependencies\Desktop\Microsoft.Identity.Client.dll
=> It doesn't work. This is an older version.
Here it appears to work by simply switching the order. I don't know if there are any side effects.
Some indications of better solutions are in here. (Basically it says "don't run both assemblies in same process".)
https://learn.microsoft.com/en-us/powershell/scripting/dev-cross-plat/resolving-dependency-conflicts?view=powershell-7.3


clangd is getting stuck

Bug:

Windows 10, clangd 7.0.0
How you installed LSP: Package Control
Reproduction steps;

open any *.c file and start coding
after showing several hints/warnings/errors it gets stuck on one (ie. expecting ';' ) and highlights it in wrong place until you restart Sublime
restarting from command palette won't work

Turning on log_debug gives me a hint that it stops calling LSP: <--  textDocument/publishDiagnostics when it happens.
Turning on log_debug and log_stderr fixes the issue (not getting stuck at all), but I can see  multiple server: E[22:08:10.458] Error -32601: method not found errors.

After the diagnostics hang, do you still get completions?

I can see multiple server: E[22:08:10.458] Error -32601: method not found errors.

clangd prints this when it doesn't recognize an LSP request. Can you provide the LSP request just before the method not found message?

Ok, so it appears every time LSP:  --> textDocument/didSave is triggered and at the very beginning after LSP:  --> initialized
LSP:  --> textDocument/didSave
server: I[08:29:16.111] <-- textDocument/didSave
server: E[08:29:16.111] Error -32601: method not found

Also it doesn't matter if I place compile_commands.json in build folder or not. The only difference is in showing message about its presence server: I[08:54:21.888] Failed to find compilation database for..., but other behaviour is the same - with full debug info on, everything works fine, but without stderr it hangs.
After diagnostics hang I don't get clangd completions, only built-in Sublime completions.

clangd does not care about the textDocument/didSave and initialized notifications: https://github.com/llvm-mirror/clang-tools-extra/blob/ffb1f50bc16186bdfc2f6efeea11a62396fe8ead/clangd/ProtocolHandlers.cpp#L47-L79
So while that may look alarming it's not actually an error.

Also it doesn't matter if I place compile_commands.json in build folder or not.

You need to copy the compile_commands.json file to the root of your workspace, otherwise clangd won't pick it up.

After diagnostics hang I don't get clangd completions, only built-in Sublime completions.

I've noticed that if there are tons of diagnostic errors, clangd won't supply completions anymore.

I've noticed that if there are tons of diagnostic errors, clangd won't supply completions anymore.

Can it be the problem with flushing buffer or something similar? Because as I said - setting log_stderr to true fixes the problem (don't know for how long, but at least longer than without it).
And yeah, compile_commands.json is present in the root of my workspace, sorry for naming it "build folder".

does it produce non sense errors such as " file not found" ?

Is there a support forum for clangd?
One benefit with cquery is the ability to search and ask for help at their GitHub repo: https://github.com/cquery-project/cquery

@tomv564 What is the point in closing unsolved issues? Yes, my workaround with turning on all debug info is working, but it's not a fix for the plugin itself. Probably I can help somehow fixing it, but except Python background I've never worked with Sublime plugins development, so some hints where to start will be much apprecieated. Sorry for not asking you about it earlier.

I know that ODatNurd has some good videos on how to start building plugins. But you could also visit the sublime text API, and figure it out yourself.

I closed the issue because despite a few comments, this discussion was not getting any kind of clarity. But since you're still motivated let's have a closer look!
Your theory about stdio buffers not flushing is plausible, can you configure clangd to not log to stderr at all and see if the issue disappears?
The message that should lead to a publishDiagnostics is likely didChange. Does the server log that it receives didChange, and if you increase clangd's logging verbosity do you see some change in the logging output when it stops sending diagnostics?
In case the file/view itself (and not the whole server) gets stuck:
Does closing and re-opening the file get the file's diagnostics to start appearing at the right place again?
In the case of restarting not working:
Can you share logs of both this package and the server's logging when this happens?

Thank you guys, I'll learn some new things and try to help :)

I'll investigate it more and try to get all the data you asked for, but for now:

I was wrong, I don't need to turn on the whole debug info. Enabling log_stderr fixes the issue.
It seems that setting clangd to -log=error also helps (but I'm not sure for how long, because 3.)
I found some clues about stderr and handling it in Python process. I saw that you use process.PIPE and it seems that it can get stuck if not flushed (if we enable log_stderr, it's redirected to logger, so it's flushed and everything is fine).
https://stackoverflow.com/questions/22732182/program-getting-stuck-when-using-subprocess-popen-or-subprocess-check-call
https://thraxil.org/users/anders/posts/2008/03/13/Subprocess-Hanging-PIPE-is-your-enemy/
https://andrewjorgensen.com/post/a-tale-of-two-pipes/
https://stackoverflow.com/questions/46054347/subprocess-not-thread-safe-alternatives
https://github.com/google/clusterfuzz-tools/issues/278

Nice troubleshooting and thanks for sharing documentation, too!
When you reproduce the issue, does clangd stop responding to other requests (hover) as well?
We could fix the case where log_stderr is off by redirecting stderr to subprocess.DEVNULL instead. Another option is to always create a thread to consume it, and simply not log anything.
What do you think?

Setting stderr=subprocess.DEVNULL in start_server() inside process.py works, so if we are ignoring those errors anyway (if log_stderr is off), I think that redirecting them to DEVNULL by default is a nice solution :)

Hi @Listwon, at work I actually experience the same problem. And your suggested fix keeps clangd working. I suggest you change you turn your idea into a pull request ;)


in pitch detection , the audiocontext is not working for chrome

index.js:64 [Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet)
(anonymous) @ index.js:64
index.js:74 User gesture needed to start AudioContext, please click

Hi Govin!
Unfortunately with the big amount of videos it is near impossible to keep everything up to date that deprecates.
That being said you can always add a community contribution that has an updated version!
P.S. you should join our community discord for questions and remarks you might have in the future!


Guidance to Set up/install WSL  on Insider 22000.132 with Thunderbolt

Looking for confirmation that Thunderbolt is available in Ubuntu for WSL on Insider.
If so, can anyone point me to steps to install needed Linux components on WSL. Is thunderbolt 3 capability already part of any currently available WSL distros on Insider?
I have Windows machines on a LAN for testing Thunderbolt Networking and specifically Thunderbolt network adapter bridging.
Thunderbolt adapter bridging can be done on 132 using Win existing GUI's (Networking Connections) with multiple hacks only.  I want to see how easy/hard it is to bridge connections using WSL

No, this is not currently supported.

Sorry got over excited with the close button :)


added bolex to contributors

use as a guide
https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/


Feat/homepage revamp

What changed? Why?
Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

Review Error for kirkas @ 2024-10-11 19:02:01 UTC
User cannot review their own commit


Prepare for 2.10.0 release.

Removing .NET Framework References
Blend

The previously included Blend.Interactivity.Wpf NuGet package is forcing the project to refer to the .NET Framework.

This is needed in order to set values that only apply to Visual Studio's WPF designer. For example:

d:DataContext="{d:DesignInstance Type=local:FilterResultsViewModel, IsDesignTimeCreatable=True}"

It appears that you no longer need this package in order to refer to the blend namespace in XAML.
Related articles

Usable WPF Design-Time Data for .NET 5.0 (and 6.0)
Use Design Time Data with the XAML Designer in Visual Studio
d:DesignInstance in Depth


Add information about Sandia Cubit compatibility

Based on info from Coreform, adding info about which Sandia Cubit version works.
Also anticipates next release...???
See here for updated README

Thanks for this update, @gonuke! Nice to have some more info on the connection between these Cubit flavors.
@jbae11 has volunteered to try the plugin packages out for Sandia version 15.8 if you haven’t already.

I've requested 15.8 and will probably get it next week, the poc is in travel.

@pshriwise I might be understanding it wrong, but it looks like all the ubuntu version (except 18.04) have been tested with 15.8? So is it just the mac that I need to test?

@pshriwise I might be understanding it wrong, but it looks like all the ubuntu version (except 18.04) have been tested with 15.8? So is it just the mac that I need to test?

I think that's right, yep!

@jbae11 I think that's right but I don't see a link to a Mac version for v0.2.4. In fact, I don't see any of those artifacts on the release page for v0.2.4. I can download them using the links in the README though.
@gonuke any thoughts here?

okay if there isn't one pre-built, I can try to build it myself? Let me know how you want me to proceed.

This is a draft PR waiting for the 0.2.4 release to happen!

There were issues when trying to build for this version of Cubit on MacOS.  @bam241 can perhaps remember what they are.  Also some discussion in #135

Actually - @bam241 fixed the MacOS problem 🎉
You can find a build tarball here: https://github.com/svalinn/Cubit-plugin/actions/runs/2883295348

Thanks @gonuke @pshriwise @bam241
I untared, moved the files, but it seems like Cubit is not recognizing the plugin (i.e. help dagmc errors). Is there an environment variable I should be setting or something?

Thanks @jbae11 - I am still not entirely clear where files need to be placed for the Sandia version of Cubit.  I'll have to get that info next.

Also, perhaps someone with Coreform MacOS experience can advise? @bam241 ?

Lookin at @jbae11's screenshot again... we ship a .so file with the tarball for OSX?

Lookin at @jbae11's screenshot again... we ship a .so file with the tarball for OSX?

we do ship both, .dylib for either static or shared, and .so for the other.
I think the problem here is likely a path problem.
We build the plugin to be install in Coreform-Cubit-X.Y.app/Contents/MacOS/ the path is not ready for the Sandia version as it does not match exactly the Coreform one.
Sadly one did not figure out out to deal with relative path rather than absolute path....

one solution would be to build a sandia specific version with the proper sandia path.
this might only require to build a different copy using Sandia path when setting them before packing in mac_build_plugin_pkg(){

looking at it more carefully, we actually only correct the path for 17.1.
But I believe the same kind of "touch" would be required to build a proper Sandia version from the one we build

Also I'm not sure if this is a useful datapoint, but I tried the same thing with Cubit15.8 on Ubuntu 20.04, and it didn't work initially, but worked when I added the ..../Cubit-15.8/bin and ..../Cubit-15.8/bin/plugins/svalinn to the LD_LIBRARY_PATH. I tried the same thing with the mac, but still no luck.

While we're still working out the installation details.... does it makes sense to merge this since the release page includes this info?


[1.11.2] CraftTweaker Support

So I'm having issues adding a Stoked Crucible recipe for my modpack (ore > ingot). It's giving me an error stating that it's expecting a closed parenthesis, or ), but it's not missing as far as I can tell.
Here's a link to the pastebin for the script file. https://pastebin.com/sSgb4fYz
The specific error is "ERROR: Error parsing scripts.zs:32 -- ) expected"
Any ideas?

all of your itemstacks are missing the surrounding < and >
it should be like this for example
<minecraft:iron_ingot>


Snapshot file permission issues

Describe the bug
After creating a snapshot, data.ms.snapshot file has incorrect permissions, unable to interact with it without sudo or as root
To Reproduce
docker run -e MEILI_SNAPSHOT_DIR="/snapshots" -e MEILI_SCHEDULE_SNAPSHOT=true -e MEILI_SNAPSHOT_INTERVAL_SEC=10 getmeili/meilisearch:v0.29.0
The snapshot in /snapshots folder has correct permissions (see screenshots)
docker run -e MEILI_SNAPSHOT_DIR="/snapshots" -e MEILI_SCHEDULE_SNAPSHOT=true -e MEILI_SNAPSHOT_INTERVAL_SEC=10 getmeili/meilisearch:v0.30.0
The snapshot in /snapshots folder has incorrect permissions (see screenshots)
Screenshots
Using v0.29.0

Using v0.30.0-v1.0.0

Meilisearch version: v0.29.0, v0.30.0-v1.0.0

Hello @Magorx15. Thank you for informing us about this problem. Indeed the snapshot permission file changed from v0.30 upward. I'm not sure if this change was intended or not; however, I'd discuss it with the team and get back to you. I understand this might trigger permission issues, but I would like to know specifically how this change impacts you. Thanks again.

We are trying to upload the snapshot to somewhere else (and therefore we need read permission) which obviously fails as it needs root user for that

Any updates @oluademola?

Hey @Magorx15, yeah, this was definitely an issue on our side; it should be fixed for the next release!
Thanks for the report 💯

Fixed by #3561, will be released in v1.1.0-rc.1 by the end of the week or at the beginning of next week


Ionic serve does not recognise platform anymore

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When launching Ionic serve with the following command:
ionic serve --platform android --browser chrome
Platform reports that app is running on a desktop instead of a mobile...
this.platform.is('core') returns true
this.platform.is('mobile') returns false
this.platform.is('tablet') returns false
this.platform.is('phablet') returns false
This makes testing in browser difficult...
Expected behavior:
Platform should report:
this.platform.is('core') returns false
this.platform.is('mobile') returns true
this.platform.is('tablet') returns true
this.platform.is('phablet') returns true
Steps to reproduce:
Related code:
Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (C:\Users\OSCAR\AppData\Roaming\npm\node_modules)
@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 2.1.3
Cordova Platforms  : android 6.2.3 ios 4.4.0 windows 5.0.0
Ionic Framework    : ionic-angular 3.6.0
System:
Android SDK Tools : 25.2.5
Node              : v6.11.2
npm               : 5.0.3
OS                : Windows 7

Hello! Thank you for opening an issue with us!
This appears to be an issue with the Ionic app scripts, so I am moving this issue to the ionic-team/ionic-app-scripts repo.
Thank you for using Ionic

This issue was moved to ionic-team/ionic-app-scripts#1195


Fix export results default save location

Fixes https://github.com/microsoft/azuredatastudio/issues/18115
For untitled files if we haven't previously saved something then the default file path was undefined since there wasn't a location for the resource. In that case we fall back to the system default so we always have a save location to then set the default save name for.
(this also applies to query editor result grids as well)
I also did some cleanup with a duplicate schema name var.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.007%) to 48.3%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
14788

Relevant Lines:
29074

💛  - Coveralls


Changing either type inside mapRight

Hi, i have a proposal for Either monad functional. But first, some word about my case. It is follow code. I think it so simple for understanding, sorry for image, i dont know how can i insert formatted code

Problem
I want to return my error SessionServiceErrorType.sessionDoesntActiveYet as Left branch of this either.
It needed me for handling this either in executing place and i want to handle all business error in ONE left branch.
I think it is good idea, splitting business logic by partial in some mapRight calls.
And if we detect something business logic error in a rightMap we need to change either direction from RIGHT to LEFT
Proposal
I think it maybe made as passing to mapRight second argument such as toLeft which takes new value and transforms this either from right to left. If you approve the idea i can do pull request with implementation for this
It will allow us to detect something error(left branch in either case) in each mapRight step and handle these errors in one place, as Promises do

Hi @general-ice .
Sounds good, but, I think the better decision will be to implement a separated method for Either like fromRightToLeft which converts Either to Left state if the current state is Right.
What do you think about it?

@JSMonk Yea, it looks good,  but I dont know we understand each other so well. As far as i see, we try to follow pure programing, we use readonly values and return something in each function. And for this feature(changing Either state inside mapRight) we should change map implementation, because we need a possibillity to affect this condition if (this.isLeft()) in map method. I dont know how we can realize our feature without changing map. I see the follow variant of changing this method
map<T>(f: (r: R) => T): Either<L, T> {
        if (this.isLeft()) {
            return EitherConstructor.left<L, T>(this.value as L);
        }

        const returnedValue: Either<L, T> | T = f(this.value as R)

        if (isEither(returnedValue)) {
            if (this.isLeft()) {
                return EitherConstructor.left<L, T>(returnedValue);
            }

            return EitherConstructor.right<L, T>(returnedValue);
        }

        return EitherConstructor.right<L, T>(returnedValue);
    }

And usage example
type TransformmedNumber = Either<NumberError, number>

const m1: TransformmedNumber = right(-4)

const basicTranform: TransformmedNumber = m1
  .mapRight(v => {
    if (v < 0) {
      return left(NumberError.isNegative)
    } else {
      return v * 10
      // or equal
      return right(v * 10)
    }
  })
  .mapLeft(e => {
    // Logging all corner cases
    switch(e) {
      case NumberError.isNegative:
        console.log('please take positive value')
        break;
      case NumberError.noOdd:
        console.log('please take odd value')
    }
  })

This way allows us to return new Either from mapRight  and affect to result Either's type. and same changes we need done in asyncMap, but we shouldn't change mapLeft, because it's not correct if we come back from left branch to right. I think left branch should be result decision
Please share your feedback, thanks

Sorry, my bad) I've missed chain method, I see it does same, that I expect from map. Return Left Either state from Right Either handler. Thanks for you time)


[flutter_tools] StateError at RemoteDebuggerExecutionContext.id at package:dwds/src/debugging/execution_context.dart

Crash on stable/2.8.0 with command flutter run --machine --start-paused -d chrome --dart-define=flutter.inspector.structuredErrors=true --web-allow-expose-url --devtools-server-address http://<IP_ADDRESS>:9100/ --target lib\main.dart
Thread 0 main threadStateError: Bad state: No context with the running Dart application.
at RemoteDebuggerExecutionContext.id(execution_context.dart:55)
at <asynchronous gap>(async)
at AppInspector._getExtensionRpcs(inspector.dart:538)
at <asynchronous gap>(async)
at AppInspector._initialize(inspector.dart:97)
at <asynchronous gap>(async)
at AppInspector.initialize(inspector.dart:160)
at <asynchronous gap>(async)
at ChromeProxyService.createIsolate(chrome_proxy_service.dart:217)
at <asynchronous gap>(async)

cc @annagrin

This is currently the top crasher on the 2.8 stable

@christopherfujino could you please give more details so I could repro?

I've never seen this command before, what runs it and what is expected to happen?
What is the lib\main.dart in that case?

Thanks!

@christopherfujino @yjbanov @zanderso appreciate any information on this - do you know where it is coming from, and how I can repro?

@christopherfujino @yjbanov @zanderso appreciate any information on this - do you know where it is coming from, and how I can repro?

This is coming from editor plugins. --machine just means generate machine-readable output that the plugins can parse, I doubt it's related to the crash. And --target lib/main.dart means that the entrypoint is lib/main.dart, which is the default if you don't provide this flag anyway (I assume the editor plugins are just always explicit). I doubt either of those flags are the cause of the crash.

In what package are the stacktrace files coming from?

Oh never mind, I can see the path from the description

I cannot repro this on my command line. Let's see if fixing the second issue helps: https://github.com/flutter/flutter/issues/96548
If not, we would need more information to help us repro the crash:

what is starting the command
browser version
'flutter doctor -v' output

@jacob314 IDE users are likely encountering this error. How would it be surfaced to them? How can we learn repro steps from them?

A couple of options:

Since this has a workaround (run flutter run -d chrome from the command-line) we could drop the priority to P3.
If we decide that this should be a P2, then @christopherfujino could you please reduce the repro such that it can be fixed in package:dwds?

Assigning to @christopherfujino to pick from one of the options, or offer guidance/other ideas.

I lowered the priority to p3. Also, in https://github.com/flutter/flutter/issues/83056#issuecomment-845493193, Jonah points out:

IIRC something similar was happening before when there was a page refresh, and the fix was perhaps to poll for the application to re-initialize?

It would be great if these bad state errors didn't crash the tool and instead were resilient to what might be transient issues. i.e. polling/retry/et cetera

At the very least, crashing with more info would be good

I couldn't reproduce this by refreshing, but that sounds like a logical way this could happen. Would it be feasible to poll/retry with the assumption that the app may re-initialize? @annagrin

@annagirn I could not repro this at all, my flutter run just gets stuck in a flutter daemon call during uri encoding. Maybe fixing that bug will help move things along? As I mentioned before, here is the bug: https://github.com/flutter/flutter/issues/96548.

@MubaHdev as you just filed another issue of this, can you share any further context about what you were doing at the time you hit this error that might help us with reproducing it?

Potentially this could be a crash that the IDE plugins are re-trying over. It would be good if we localized where it was occurring in the tool and then either did a retry if it made sense, or potentially tool exit.

2.10.1 stacktrace on https://github.com/flutter/flutter/issues/101856

One thing I noticed that all reports come from windows. For folks experiencing this issue - could you please share more details? For example, did it happen on start or during hot restart? If it is easily reproducible, could you please run with flutter run -d chrome --verbose and share the output?

I'm unable to reproduce this but have some idea of what might be happening based on the stack trace.
DWDS tries to locate the execution context of the running Dart application in execution_context.dart. We try to search through all execution contexts in a given tab to try to find the correct one to attach to (this handles the case where the Dart application is embedded in an IFRAME). I'm guessing there is something wrong with how we are trying to find the execution context, which is why we are seeing this error, but it will be quite hard to debug without a working repro.
@mrmukto - since you most recently encountered this with https://github.com/flutter/flutter/issues/104732, do you mind providing detailed steps on how to repro?

For example, what app are you using (if you are able to reproduce this with a brand new app using flutter create newapp that would be good to know!)
How are you running your app? Are you using the command line or running from an IDE?

I think there should be a way to handle this gracefully on DWDS's side so that we don't crash flutter tools when we hit this. I will investigate / open a PR.
When we get repro steps from a customer it would be good to fix the underlying issue (the execution context not being found).

Re-opening this pending https://github.com/dart-lang/webdev/pull/1642 rolling to flutter_tools

This was rolled in https://github.com/flutter/flutter/pull/106887 dwds from 14.0.3 -> 15.0.0


chore: unskip Dropzone tests

FX-2705
Description
CI tests run multiple times without any flakiness.

PR commands

List of available commands:

@toptal-bot run all - Run whole pipeline
@toptal-bot run build - Check build
@toptal-bot run visual - Run visual tests
@toptal-bot run deploy:documentation - Deploy documentation
@toptal-bot run package:alpha-release - Release alpha version

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

who needed to skip those tests is they just worked 🤔 😁

@denieler I'm not sure, there must have been a reason, but I tried to run it multiple times and didn't see any flakiness. Maybe upgrade of Happo and Cypress to latest helped 🤷


Tabs in overflow are not activated when clicked

Describe the bug
Clicking on a tab which is in overflow menu does not set that tab active and does not switch to its content. At the same time using keyboard arrow keys and selecting a tab in the overflow works as intended. It appears as if a mouse click event is not registered at all.
This bug was observed only on macOS across several different versions of Firefox and Safari, but not in Chromium-based browsers (Chrome, Brave, Vivaldi). Also, in all said browsers on Linux and MS Windows clicking on tabs in overflow worked as intended.
How to reproduce
The provided example is basically the tabs overflow example from the Clarity documentation:
https://stackblitz.com/edit/clarity-light-theme-v5-tabdwp?file=src%2Fapp%2Fapp.component.html
Steps to reproduce the behavior:

Go to example
Click on Name2 tab -> Content2 is displayed
Click on Name1 tab -> Content1 is displayed
Click on overflow menu ... and click on Name3 or Name4
The corresponding tab is not marked as active and its content is not displayed
Press tab and use keyboard arrow keys to navigate to the tabs overflow menu, select Name3 or Name4, hit Enter
The content corresponding to the tab in the overflow is properly displayed

Expected behavior
Clicking on tabs in overflow menu must set the corresponding tab active and display its content.
Versions
Clarity project:

[ ] Clarity Core
[X] Clarity Angular/UI

Clarity version:

[ ] v3.x
[X] v4.x
[X] v5.x

Framework:

[X] Angular
[ ] React
[ ] Vue
[ ] Other:

Framework version:
Angular 11
Device:

Type: MacBook, MacMini
OS: macOS (10.15.x, 10.14.x)
Browser: Firefox, Safari
Version: 86.x, 85.x, 84.x (Firefox), 14.0.3, 14.0.2, 14.0.1 (Safari)

Hi @OhMyCats,
The issues is really strange. I was able to reproduce it. The team will need some time to investigate in order to find the root cause. We will get back to you as soon as we have progress to share.

Hi @bbogdanov,
Thanks for verifying the issue and adding this bug to the todo list!
The problem is indeed an odd one. I had hoped it was something on my end, but we have what we have. x)

This issue is in the backlog, waiting for the resources to investigate.

Hi, was little fast to conclude that this was the same as my problem. My behaviour is similar but happens when the overflow is used on mobile. When on mobile I am unable to click/touch the items in the overflow list, no event occurs. The overflow is working as it should when in browser phone simulator and on regular browser. However, on the phone or in the iOS xcode simulator nothing happens when clicking the items. Items are just highlighted and then it disappears without selecting the tab. Tried adding click action to see if anything happens when clicking on the item, but no luck. Unable to provide an stackblitz, can't get it to work with latest version of clr/angular.

@kjetilhp - can you open a new issue since yours is different from this one. Please provide as detailed of a reproduction guide that you can and a stackblitz with the code that is giving you issues. As far as I remember, the iOS simulator should be able to handle stackblitz, no?

@hippee-lee managed to get stackblitz to work, cloning the link above, as long as I don't upgrade to clr 5.3 and angular 12. And the error is present when loading https://clarity-overflow-problem.stackblitz.io in the iOS simulator. I will create a separate issue #6046


UTxO HD: IsApplyMapKind constraint prevents use of TableStuff functions

The TableStuff class currently has an IsApplyMapKind constraint on some of its member functions that restricts the usage of these member functions (and some derived functions like overLedgerTables) to mapkinds of the form ApplyMapKind' mk:
type family UnApplyMapKind (mk :: MapKind) :: MapKind' where
  UnApplyMapKind (ApplyMapKind' mk') = mk'

type IsApplyMapKind mk = (mk ~ ApplyMapKind' (UnApplyMapKind mk), SingI (UnApplyMapKind mk))

class ( ... ) => TableStuff (l :: LedgerStateKind) where
  data family LedgerTables l :: LedgerStateKind
  projectLedgerTables :: IsApplyMapKind mk => l mk -> LedgerTables l mk
  withLedgerTables :: IsApplyMapKind mk => l any -> LedgerTables l mk -> l mk

overLedgerTables ::
     (TableStuff l, IsApplyMapKind mk1, IsApplyMapKind mk2)
  => (LedgerTables l mk1 -> LedgerTables l mk2)
  -> l mk1
  -> l mk2
overLedgerTables = ...

For example, overLedgerTables puts the IsApplyMapKind constraint on both the argument mk1 and result mk2. This prevents the use of these functions for useful (and transient) mapkinds like, for example, a type MaybeMK:
type MaybeMK mk = Maybe :..: mk

type (:..:) :: (m -> Type) -> (k -> l -> m) -> k -> l -> Type
newtype (f :..: g) p r = Comp2 (f (g p r))

In my experience the constraint is too strict, and the consensus code does not seem to rely on the constraint. We should experiment to see if we can the remove the constraint safely (i.e., without breaking existing code), such that we enable use cases like MaybeMK.

Shouldn't this be closed, since #4236 was merged?

Closing because #4236 was merged


Supported basic auth on download action

CHANGES

Supported basic auth on download action

CHANGES

Supported basic auth on download action

Thanks a lot for contributing to the package! There are some changes to make before releasing the new version. :)

Sorry, because i thought you are not active on this repo. Then i cloned and renamed plugin to support basic auth for my company's project. But you asked to update the PR, then I will clone and re-create PR to keep this plugin

Sorry, because i thought you are not active on this repo. Then i cloned and renamed plugin to support basic auth for my company's project. But you asked to update the PR, then I will clone and re-create PR to keep this plugin

No problem at all. If you can create a PR to add these changes to this repo would be amazing to keep growing this plugin :)


SMPROD-1326: Example to add all users to Secure Operations team

SMPROD-1326 highlights a limitation we have at the moment with the Secure Operations team. Users created in Monitor via the API (such as those created as a side-effect of the LDAP Mapping feature that's currently in beta) land in the default team for Monitor. But granting them access to Secure would typically require an Admin to add them to the Secure Operations team in the Secure UI as a separate step. While waiting on a more elegant option, users who effectively want all such Monitor users to also land in Secure could instead run this example in a cron job. That way any users recently auto-created on the Monitor side (once again, such as via LDAP Mapping) could be auto-added to Secure Operations as well.
@aponjavic: I put you down as a Reviewer because I want to double check my interpretation of the limitations of the Secure Operations team. Based on what I observed in the Secure UI and what's in https://sysdig.atlassian.net/browse/SSPROD-35 and @lessenadam's demo video linked from there, it looks pretty clear that all members of the Secure Operations team are always going to have the EDIT role, so that's what I've done here (as opposed to, say, making the role into an option the user could pick when they run the script.) Please let me know if I've misinterpreted this. Thanks.

@aponjavic: Thanks for pointing that out. Considering I reviewed that code back in the day, you'd think I'd have remembered. :)  Anyway, I've pushed a commit that uses those instead. Please give it a look and let me know if you approve.

@figarocorso: Thanks for the Python tips.  When I created this new example, I pretty much followed similar conventions used elsewhere in the client. While PEP8 argues for certain standards, I know it also encourages being consistent to surrounding code. That makes me hesitant to overhaul one example if I lack the stomach to do the rest of them. If all goes well we'll one day have the opportunity to do a major client overhaul if/when the whole of the REST API is exposed by something like Swagger which would give us an auto-generated client with all the primitives rewritten "for free". Since that would likely cause us to write an overhaul of the examples to use the overhauled client primitives, that might be the best opportunity to get all our Python lovers to weigh in on what our new standard conventions should be & then keep them consistent going forward.