Fixed typos

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #XXXXX
Description

Used https://github.com/client9/misspell to identify and fix typos throughout the repo

Nice work @nnadeau and thanks for pointing to the tool you have used!


Add scripted mode

Adds --script and --script-file to run ghcid-ng in scripted mode: a series of ghci commands are executed and then it exits.
I intend this to be used first for writing integration tests — right now, ghcid-ng is largely untested. In service of that, I'd also like to introduce a "special" command :ghcid-ng wait [timeout] that can be used as a command in a --script or --script-file. Instead of being executed as a ghci command like the others, it would signal ghcid-ng to wait for a file to change, perform a reload in response, and then continue.

Current dependencies on/for this PR:

main

PR #11

PR #30   👈

This comment was auto-generated by Graphite.

I wonder if you could use vhs instead

I wonder if you could use vhs instead. Edit: hmm not sure it allows arbitrary file output to be checked by a test harness, it might just output images.

I want to load ghcid-ng, edit a file (I can't find a way to do this with vhs), and confirm that reloading works. (I want to do a number of variations on this, so I can check things like running tests, ghcid.txt output, etc.) Ideally I'd like to do this without specifying a bunch of timeouts and praying.

expect is what I was trying to remember for this kinda thing!
Also kinda unrelated, the expect package provides an unbuffer command that can help with preserving colored output. I think it makes the command think its outputting to a terminal. For example:
$ unbuffer cabal build |& tee cabal-build.log # or whatever you pipe to, I dunno

unbuffer might be useful if you don't wanna use -fdiagnostics-color=always, or there's some other program that doesn't have an equivalent --color=force option.


[Vmware/NGC] Not listing all snapshots for a volume

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
When there are multiple snapshots for a volume NGC backup window list shows only one snap when we select that volume.
What you expected to happen:
All snapshots of the volume should be selected.
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
NA
Environment:

NBP version:v0.10.0
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Fixed with #351


feature: Added AdaBoostClassifier and its test_sum_match

This commit implements the AdaBoostClassifier to the
shap/explainers/_tree.py file. I have also added the corresponding
test_sum_match function in tests/explainers/test_tree.py
This is an extension of a previous pull request #1219 which
was awaiting the test in test_tree.py.
Pull Request #1219

I had issues using AdaBoostClassifier with your package, and came across #335 and this Stack Overflow question and answer. It seemed like the OP never added a pull request, so I figured I'd add it with the updated code that uses safe_isinstance instead.

 It looks like the unit test for AdaBoostClassifier is failing right, I am happy to review this once that is passing :)

Hi,
I'm implemented the change but I'm having trouble with the unit test. Everything appears to be working are expected, however the test_sum_match_adaboost_classifier test doesn't sum exactly.
There is some significant difference between the sums.
`
np.abs(shap_values[0].sum(1) + ex.expected_value[0] - predicted[:,0]).max()

0.06125793925777512
`

Here's the image below. I, hoping you could give some direction here as I am at a loss as to why this is not summing correctly.

@slundberg can you provide any guidance here?

Sorry to leave this hanging! It could be because adaboost uses < comparison for thresholds instead of <= like the other sklearn methods. Or it could be some param is not passed properly in setup. The best way to sort this out is to generate the smallest simplest model that still has an issue and then see what broke. I can help with the seeing what broke. Do you mind trying to strip the unit test to a small single tree ensemble for debugging?

Hi, I've just seen this now. I will break down the unit test to each of the trees involved in the Adaboost. I'll probably need some 'explain like i'm five' level of help on certain parts.

Hi, I've just seen this now. I will break down the unit test to each of the trees involved in the Adaboost. I'll probably need some 'explain like i'm five' level of help on certain parts.

Just checking if there any updates here? Thanks!

Hi, apologies this completely slipped my mind. I'll take a look this weekend and revert

Hello, has there been any progress in adding the feature? Unfortunately my paper depends on analysis of the Adaboost results. Do you maybe know a way to explain the model in other way?

Hi, I am trying to solve this problem at the moment. I think, I could use some  support in identifying the problem @slundberg 😊
I implemented a test for a model that consists of a single tree, that works out without a problem. As soon as the ensemble contains more than one tree the additivity check fails.
Here is the if statement I am using for the AdaBoostClassifier:
...
elif safe_isinstance(model, ("sklearn.ensemble.AdaBoostClassifier", "sklearn.ensemble._weighted_boosting.AdaBoostClassifier", "imblearn.ensemble.RUSBoostClassifier", "imblearn.ensemble._weight_boosting.RUSBoostClassifier")):
    assert hasattr(model, "estimators_"), "Model has no `estimators_`! Have you called `model.fit`?"
    self.internal_dtype = model.estimators_[0].tree_.value.dtype.type
    self.input_dtype = np.float64
    self.trees = [SingleTree(e.tree_, normalize=True, scaling=weight, data=data, data_missing=data_missing) for e, weight in zip(model.estimators_, model.estimator_weights_/sum(model.estimator_weights_))]
    self.objective = objective_name_map.get(model.base_estimator_.criterion, None) #This line is done to get the decision criteria, for example gini.
    self.tree_output = "probability"
...

Here is the additivity check:
def test_sum_match_adaboost_classifier():
    X_train,X_test,Y_train,Y_test = sklearn.model_selection.train_test_split(*shap.datasets.adult(), test_size=0.2, random_state=0)
    clf = sklearn.ensemble.AdaBoostClassifier(random_state=202, n_estimators=1)
    clf.fit(X_train, Y_train)
    predicted = clf.predict_proba(X_test)
    ex = shap.TreeExplainer(clf)
    shap_values = ex.shap_values(X_test)
    assert np.abs(shap_values[0].sum(1) + ex.expected_value[0] - predicted[:,0]).max() < 1e-4, \
        "SHAP values don't sum to model output!"

Looking forward hear about to your insight!


Remove unused ryu functions

Fix #545

So, the coverage reduction(as far as I can tell) is due to the decreased number of lines of code.
The benchmark results are kinda strange: the functions that were removed weren't even used.


Scorecard refactor run

Description of the change:
this PR is focused on organizing the function RunInternalPlugin() into a more easy
to understand and read function within the scorecard logic.
Motivation for the change:
The intention was NOT
to change the logic but just organize it better into manageable chucks/sub-functions
instead of the single large function.  More refactoring of this section of scorecard
code is in upcoming work that will greatly change this code further.

Also, would it be possible to add some unit tests to bump that code coverage number back up?

Also, would it be possible to add some unit tests to bump that code coverage number back up?

I added a new unit test, however the coveralls still reports 0.04% decreased coverage so not sure what is going on there.


added JDF second run; forgot before

forgot to run JDF in the second run of benchmarks. So adding them now.

Looks good. Just please re-run the notebook to make execution count start from 1 not 2.

Now you have not run the several last cells I think.

reran all

Thank you!


Postgres: Could not send Query(connection dead) from Psequel

Bug Report
Current behavior

docker-compose up
Psequel works as expected
prisma deploy<EMAIL_ADDRESS>I am still able to connect to the DB, but after navigating to my Schema and selecting a table, Psequel errors with "Could not send Query(connection dead)"
I am still able to connect and make SQL queries from psql

Reproduction
docker-compose.yml
version: '3'
services:
  prisma:
    image: prismagraphql/prisma:1.7
    restart: always
    ports:
    - "4466:4466"
    environment:
      PRISMA_CONFIG: |
        managementApiSecret: mymanagementsecret
        port: 4466
        databases:
          default:
            connector: postgres
            active: true
            host: db
            port: 5432
            user: root
            password: prisma
  db:
    image: postgres:9.6
    restart: always
    ports:
    - "5432:5432"
    environment:
      POSTGRES_USER: root
      POSTGRES_PASSWORD: prisma

prisma.yml
endpoint: http://localhost:4466/myapp/dev

secret: myappsecret

datamodel: datamodel.graphql

hooks:
  post-deploy:
    - graphql get-schema --project database
    - graphql prepare

Psequel Connection Details:
Host: <IP_ADDRESS>
Port: 5432
User: root
Password: prisma
Database: root

Expected behavior?
Psequel shows table contents without losing the connection.
--
Now I am still pretty new to Prisma/Docker/db setup so I apologize if this is user error. My thinking is that since the issue begins after prisma deploy, perhaps something happens there that gets things into a funky state. Thank you!

Using Postico I have not had this issue.

@AntonBramsen @mponizil  hmm do you guys think its a PSequel issue?
I am trying to access my data thats coming from a prisma api... I used Heroku as the server to host my app and data using Postgres..


Add .scores to MIAttackSummary.

Currently, MIAttackSummary objects only use .attack. However, .attack_score contains more information about the attack, and should be added to the summary.
This will also involve processing the score, adding the following metrics:

AUC
ROC curve

This issue will be solved by branch 91-89-summaries-and-reporting.


Prevent message-replay of already acknowledged messages

Motivation
In Race condition of: (1) message-redelivery-request and (2) ack-message: broker tries to replay already acked messages which results into invalid entry while replaying it and it keeps retrying reading of same entry.
Right now, It happens only when consumer has already consumed all publish messages and broker receives redelivery of unack message request.

CLA is valid!


Conflict with Recurrent Complex (1.12.2)

I installed BBOR alongside Recurrent Complex (among some other mods). The outline for slime chunks, spawn chunks, spawners, and villages rendered no problem, but none of the structure outlines (nether fortresses, desert temples, etc.) rendered.
When Recurrent Complex is removed, this issue does not occur (ie. the outlines render).
Recurrent Complex adds a bunch of structures to world gen. Could this be the source of the issue?
Using:

Recurrent Complex <IP_ADDRESS>
BBOR 1.0.12
Forge 1.12.2-<IP_ADDRESS>38

RecurrentComplex completely changes how structures are generated in the world and as such I won't be able to support structure outlines in BBOR.


Escaped reserved identifiers cause issues in generated code

Great job there! Thanks for your effort.
One remark though: I have spent quite a lot of time to figure out why the generated code is full with strange errors, while I have followed the instructions you gave. It turned out that the generator could not handle my method parameter with the name @event. The generated code stripped the monkey, which resulted in quite a mess.

Thanks for reporting the issue. I fixed this issue and released v3.4.3. Try it!

Thank you, it is working now!


keybaord fix

Description of the Bug
running my app on the app store weather psychic on a iphone then type co in the text field and press a suggestion on the default iphone keyboard like columbus or something like that then the text becomes cocolumbus instead of columbus
Code and Logs
Screenshots
Add images to explain us this bug. Paste urls here.
Remove this section if no images here
Versions

OS: 16
Python: 3.9
Kivy: lastest
KivyMD: lastest

Not related to the KivyMD library.

It is a kivymd app


Cut official release of 1.3.0

Hi team, I think it's time to cut official release.
Since 2021-08-31, we cut three release candidates. latest RC passes community tests and it works well with Katib, Notebook, Pipeline in Kubeflow 1.4. All related issues have been fixed in latest branch. One last thing I am not sure is if we want to bring sdk changes back to v1.3-branch, please leave some comments.
SDK

https://github.com/kubeflow/tf-operator/pull/1389
https://github.com/kubeflow/tf-operator/pull/1420

/cc @kubeflow/wg-training-leads

Note: following two PRs are not part of v1.3 scope.

Generic job using reconciler.v1 https://github.com/kubeflow/tf-operator/pull/1398
MPI integration https://github.com/kubeflow/tf-operator/pull/1413

+1

SDK can be release separately and even we release master change, it should work well with v1.3-branch.  so SDK are excluded from 1.3.0. I will prepare release and cut tag today. We can update the manifest repo later today

Hi team,
I cut official v1.3.0 release https://github.com/kubeflow/tf-operator/releases/tag/v1.3.0
I create a manifest update PR here https://github.com/kubeflow/manifests/pull/2042
I will ask release-team to merge it in before they cut official kubeflow 1.4 release. Currently, we are using rc.2 which is a stable version as well.  The only difference is #1415


Compressed HTML is broken

In several occasions, compressed HTML output of the CSS Inliner was broken. Sorry, I don't have a test snippet to reproduce the bug. If I find the time, I'll give more details.

Thanks for the report! We'll need more information to track this down and resolve it. An example code to test, how to reproduce it, what the expected outcome is, and screenshots all would be great. Please open a new issue with some supporting info so we can investigate. Thanks!


Make this buildable again after Chromium SVN turndown

Besides the changes made in trunk, this require cherry-picking Steve's update of proto (since that also used to come from Chromium SVN), and picking an older RE2 release since MPS stable doesn't require C++11.

Looks like travis config needs to be updated, too...

lgtm


Is there a way to get if Invoke-SSHStreamExpectSecureAction has ended?

Hi, I am trying to make my code better and came to the conclusion that Start-Sleep -s 2 isn't the best practice to make sure if command was executed before doing $Stream.read(). Is there a way to execute $Stream.read() after Invoke-SSHStreamExpectSecureAction invoked the command? Fragment of code I want to change:
Invoke-SSHStreamExpectSecureAction -ShellStream $Stream -Command $Cmd -ExpectString "[sudo] password for ${$username}" -SecureAction $password -Verbose
Start-Sleep -s 2
$Stream.read()

Thanks, i will try it.


Suggestion

Is your feature request related to a problem?
No.
Describe the solution you'd like.
I want the player visibility to be saved on enabled/disabled so that you don't have to type the /tpv everytime.
So that if I toggle the Player visibility on enable, so that I can see the players, I want it to be enabled for the whole time until I disable it because it's annoying to type the command every time.
Describe alternatives you've considered.
N/A
Agreements

[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] I have ensured the feature I'm requesting isn't already in the latest Frost.

Other
Thanks for taking the time to read my suggestion.

Are you sure it's not an issue on your side? tpv saves my settings even when I relog/restart my server..

@steak20 What's your Discord # and ID?

This issue is related to your MongoDB server, player data and settings do save properly.


Touch screen option

Hi
thanks for your nice plugin
in the next versions you will add the touch screen option for mobile devices?
thanks
bye

Was anyone able to get this to work? I have tried and it is detecting the swipe but not moving the slides. My code is as follows:
// Home slider

	jQuery('.home_slider').slippry({
	  // general elements & wrapper
	  elements: '.home_slide', // elments cointaining slide content

	  // options
	  adaptiveHeight: false, // height of the sliders adapts to current
	  captions: false,
	  autoHover: false,

	  // pager
	  pager: false,

	  // transitions
	  transition: 'horizontal', // fade, horizontal, kenburns, false
	  speed: 1200,
	  pause: 8000,

	  // slideshow
	  autoDirection: 'prev'
	});

	$(function() {
		var slippry = $('.home_slider').slippry();
		$(".home_slider").swipe( {
	    	//Generic swipe handler for all directions
			swipeLeft:function(event, direction, distance, duration, fingerCount) {
		    	slippry.goToNextSlide();
		    	alert('left');
		    },
		    swipeRight:function(event, direction, distance, duration, fingerCount) {
		    	slippry.goToPrevSlide();
		    	alert('right');
		    }
		});

	   //Set some options later
	   $(".home_slider").swipe();
	});


useConnect's connect() succeeds even if the user refuses the chain switch.

Describe the bug
In version 1, the 'error' in useConnect changes when the user refuses the chain switch request for the specified chain id in connect().
For example, consider the following use case:

Execute connect(chainId); on button click.
Accept the connection on the MetaMask popup.
Refuse the chain switch on the MetaMask popup.
Connection is reverted, and the 'error' in useConnect is set to UserRejectedRequestError.

On version 2:

Execute connect(chainId); on button click.
Accept the connection on the MetaMask popup.
Refuse the chain switch on the MetaMask popup.
Connection is successful.

I'm unsure if this behavior is normal, and I'm not aware of another method to achieve the same result.
Link to Minimal Reproducible Example
No response
Steps To Reproduce

Execute connect(chainId); on button click.
Accept the connection on the MetaMask popup.
Refuse the chain switch on the MetaMask popup.

Package Version
2.0.1
Viem Version
2.0.0
TypeScript Version
5.3.3
Anything else?
No response
Validations

[X] Checked there isn't already an issue that exists for the bug you encountered.
[X] Followed the Code of Conduct.

#3384 fixes this. Keep in mind that error bubbling for this is considered best effort as some connectors are multichain by default (e.g. WalletConnect) or don't support the chainId parameter when connecting (e.g. Safe).


AzurePowerShellV5 - Secret variables visible in event logs (4103) as plaintext when module logging is enabled

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: AzurePowerShell
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines or TFS on-premises?

If using Azure Pipelines, provide the account name, team project name, build definition name/build number: in multiple envirioments

Agent - Hosted or Private:

If using private agent, provide the OS of the machine running the agent and the agent version: every private agent running windows

Issue Description
We are in a situation where sometimes we have azure devops agent running on servers which are co-managed by both us (IT Outsourcing party) and a customer or another IT oursourcing party they have.
Because of this we wanted to check that secrets passed in the pipelines aren't stored somewhere in the logs. Especially API keys we use to communicate with internal and 3rd party services.
So I set up a VM in azure (Windows Server 2019 Datacenter) where I installed the devops agent on (agent version: 2.194.0).
The envirioment where we work it likes to audit a lot so I enabled the following policies on the VM:

User Configuration\Powershell Core\Turn on Module Logging
Use windows powershell policy settings = true
Module Names = *
User Configuration\Powershell Core\Turn on Powershell script block logging
All options enabled
User Configuration\Windows Components\Powershell\Windows Turn on Module Logging
Module Names = *
User Configuration\Windows Components\Windows Powershell\Turn on Powershell script block logging
All options enabled

The azure devops agent was set up to run under the same account as where the policies where applied.
I then made the following three pipelines:
azure-secret-variable.yml
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- none

pool: Test Pool

steps:
- task: AzurePowerShell@5
  inputs:
    azureSubscription: '<<REDACTED>>'
    ScriptType: 'InlineScript'
    Inline: |
      if($env:MAPPED_TESTVAR -like "*C1*") {
        Write-Host "yes"
      }
      else {
        Write-Host "no"
      }
    azurePowerShellVersion: 'LatestVersion'
    pwsh: true
  env:
    MAPPED_TESTVAR: $(TestVar1) # the recommended way to map to an env variable

I've created a secret variable in this pipeline

azure-secret-variablegroup.yml
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- none

pool: Test Pool

variables:
- group: VarGroup

steps:
- task: AzurePowerShell@5
  inputs:
    azureSubscription: '<<REDACTED>>'
    ScriptType: 'InlineScript'
    Inline: |
      if($env:MAPPED_TESTVAR -like "*D1*") {
        Write-Host "yes"
      }
      else {
        Write-Host "no"
      }
    azurePowerShellVersion: 'LatestVersion'
    pwsh: true
  env:
    MAPPED_TESTVAR: $(TestVar2) # the recommended way to map to an env variable

I've created a variable group with a secret value

azure-secret-akv.yml
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- none

pool: Test Pool

variables:
- group: VarGroupAKV

steps:
- task: AzurePowerShell@5
  inputs:
    azureSubscription: '<<REDACTED>>'
    ScriptType: 'InlineScript'
    Inline: |
      if($env:MAPPED_TESTVAR -like "*E1*") {
        Write-Host "yes"
      }
      else {
        Write-Host "no"
      }
    azurePowerShellVersion: 'LatestVersion'
    pwsh: true
  env:
    MAPPED_TESTVAR: $(TestVar3) # the recommended way to map to an env variable

I've created a azure key vault which is connected to a variable group that is used

After this I checked the agent VM to see if I could find the secrets in the logs. I've used these secrets:
TestVar = AABBCC112233
TestVar2 = AABBDD112244
TestVar3 = AABBEE112255
Via powershell I gathered the powershell and powershell core logs and then queried them for the secret I used. These are the results for all three secrets:
TestVar
PS C:\Users\ICT> $logs = Get-WinEvent @('PowerShellCore/Operational','Microsoft-Windows-PowerShell/Operational')
PS C:\Users\ICT> $filter = $logs | Where-Object {($_.Message -like "*AABBCC112233*")}
PS C:\Users\ICT> $filter

   ProviderName: Microsoft-Windows-PowerShell

TimeCreated                     Id LevelDisplayName Message
-----------                     -- ---------------- -------
11/8/2021 4:00:51 PM          4103 Information      CommandInvocation(ConvertTo-SecureString): "ConvertTo-SecureString…

PS C:\Users\ICT> $filter[0].Message
CommandInvocation(ConvertTo-SecureString): "ConvertTo-SecureString"
ParameterBinding(ConvertTo-SecureString): name="String"; value="AABBCC112233"
ParameterBinding(ConvertTo-SecureString): name="AsPlainText"; value="True"
ParameterBinding(ConvertTo-SecureString): name="Force"; value="True"

Context:
        Severity = Informational
        Host Name = ConsoleHost
        Host Version = 5.1.17763.2183
        Host ID = 58669cb3-0655-47ae-82b0-9ca2f06ec87f
        Host Application = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . ([scriptblock]::Create('if ([Console]::InputEncoding -is [Text.UTF8Encoding] -and [Console]::InputEncoding.GetPreamble().Length -ne 0) { [Console]::InputEncoding = New-Object Text.UTF8Encoding $false } if (!$PSHOME) { $null = Get-Item -LiteralPath ''variable:PSHOME'' } else { Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1'')) ; Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psd1'')) }')) 2>&1 | ForEach-Object { Write-Verbose $_.Exception.Message -Verbose } ; Import-Module -Name 'C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\ps_modules\VstsTaskSdk\VstsTaskSdk.psd1' -ArgumentList @{ NonInteractive = $true } -ErrorAction Stop ; $VerbosePreference = 'SilentlyContinue' ; $DebugPreference = 'SilentlyContinue' ; Invoke-VstsTaskScript -ScriptBlock ([scriptblock]::Create('. ''C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\azurepowershell.ps1'''))
        Engine Version = 5.1.17763.2183
        Runspace ID = 6989e731-5e08-458b-aadb-b23760eb1e0c
        Pipeline ID = 1
        Command Name = ConvertTo-SecureString
        Command Type = Cmdlet
        Script Name = C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\ps_modules\VstsTaskSdk\InputFunctions.ps1
        Command Path =
        Sequence Number = 370
        User = adoworkeragent\ICT
        Connected User =
        Shell ID = Microsoft.PowerShell

User Data:

PS C:\Users\ICT>

TestVar2
PS C:\Users\ICT> $logs = Get-WinEvent @('PowerShellCore/Operational','Microsoft-Windows-PowerShell/Operational')
PS C:\Users\ICT> $filter = $logs | Where-Object {($_.Message -like "*AABBDD112244*")}
PS C:\Users\ICT> $filter

   ProviderName: Microsoft-Windows-PowerShell

TimeCreated                     Id LevelDisplayName Message
-----------                     -- ---------------- -------
11/8/2021 4:03:12 PM          4103 Information      CommandInvocation(ConvertTo-SecureString): "ConvertTo-SecureString…

PS C:\Users\ICT> $filter[0].Message
CommandInvocation(ConvertTo-SecureString): "ConvertTo-SecureString"
ParameterBinding(ConvertTo-SecureString): name="String"; value="AABBDD112244"
ParameterBinding(ConvertTo-SecureString): name="AsPlainText"; value="True"
ParameterBinding(ConvertTo-SecureString): name="Force"; value="True"

Context:
        Severity = Informational
        Host Name = ConsoleHost
        Host Version = 5.1.17763.2183
        Host ID = 76f0873b-fd70-45b9-bc43-4ba03717f6dc
        Host Application = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . ([scriptblock]::Create('if ([Console]::InputEncoding -is [Text.UTF8Encoding] -and [Console]::InputEncoding.GetPreamble().Length -ne 0) { [Console]::InputEncoding = New-Object Text.UTF8Encoding $false } if (!$PSHOME) { $null = Get-Item -LiteralPath ''variable:PSHOME'' } else { Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1'')) ; Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psd1'')) }')) 2>&1 | ForEach-Object { Write-Verbose $_.Exception.Message -Verbose } ; Import-Module -Name 'C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\ps_modules\VstsTaskSdk\VstsTaskSdk.psd1' -ArgumentList @{ NonInteractive = $true } -ErrorAction Stop ; $VerbosePreference = 'SilentlyContinue' ; $DebugPreference = 'SilentlyContinue' ; Invoke-VstsTaskScript -ScriptBlock ([scriptblock]::Create('. ''C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\azurepowershell.ps1'''))
        Engine Version = 5.1.17763.2183
        Runspace ID = e5414503-e1f4-4362-99d4-4889b4ad1666
        Pipeline ID = 1
        Command Name = ConvertTo-SecureString
        Command Type = Cmdlet
        Script Name = C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\ps_modules\VstsTaskSdk\InputFunctions.ps1
        Command Path =
        Sequence Number = 378
        User = adoworkeragent\ICT
        Connected User =
        Shell ID = Microsoft.PowerShell

User Data:

PS C:\Users\ICT>

TestVar3
PS C:\Users\ICT> $logs = Get-WinEvent @('PowerShellCore/Operational','Microsoft-Windows-PowerShell/Operational')
PS C:\Users\ICT> $filter = $logs | Where-Object {($_.Message -like "*AABBEE112255*")}
PS C:\Users\ICT> $filter

   ProviderName: Microsoft-Windows-PowerShell

TimeCreated                     Id LevelDisplayName Message
-----------                     -- ---------------- -------
11/8/2021 4:06:06 PM          4103 Information      CommandInvocation(ConvertTo-SecureString): "ConvertTo-SecureString…

PS C:\Users\ICT> $filter[0].Message
CommandInvocation(ConvertTo-SecureString): "ConvertTo-SecureString"
ParameterBinding(ConvertTo-SecureString): name="String"; value="AABBEE112255"
ParameterBinding(ConvertTo-SecureString): name="AsPlainText"; value="True"
ParameterBinding(ConvertTo-SecureString): name="Force"; value="True"

Context:
        Severity = Informational
        Host Name = ConsoleHost
        Host Version = 5.1.17763.2183
        Host ID = df28782c-acf1-4d71-81cf-58d8ca1b50ca
        Host Application = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command . ([scriptblock]::Create('if ([Console]::InputEncoding -is [Text.UTF8Encoding] -and [Console]::InputEncoding.GetPreamble().Length -ne 0) { [Console]::InputEncoding = New-Object Text.UTF8Encoding $false } if (!$PSHOME) { $null = Get-Item -LiteralPath ''variable:PSHOME'' } else { Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\Microsoft.PowerShell.Management\Microsoft.PowerShell.Management.psd1'')) ; Import-Module -Name ([System.IO.Path]::Combine($PSHOME, ''Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psd1'')) }')) 2>&1 | ForEach-Object { Write-Verbose $_.Exception.Message -Verbose } ; Import-Module -Name 'C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\ps_modules\VstsTaskSdk\VstsTaskSdk.psd1' -ArgumentList @{ NonInteractive = $true } -ErrorAction Stop ; $VerbosePreference = 'SilentlyContinue' ; $DebugPreference = 'SilentlyContinue' ; Invoke-VstsTaskScript -ScriptBlock ([scriptblock]::Create('. ''C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\azurepowershell.ps1'''))
        Engine Version = 5.1.17763.2183
        Runspace ID = c112c160-742c-4137-8cab-a219d28d8f7d
        Pipeline ID = 1
        Command Name = ConvertTo-SecureString
        Command Type = Cmdlet
        Script Name = C:\agent\_work\_tasks\AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62\5.185.0\ps_modules\VstsTaskSdk\InputFunctions.ps1
        Command Path =
        Sequence Number = 370
        User = adoworkeragent\ICT
        Connected User =
        Shell ID = Microsoft.PowerShell

User Data:

PS C:\Users\ICT>

As you see all three methodes seem to have a powershell command running to convert something to a secure string which is logged in the 4103 logs. I was wondering if this was a bug because as far as I'm aware I'm using the recommended methode from here which also warns for OS logging. So I was hoping this way would make sure it wasn't logged in the OS.
This same problem was also reported for the normal powershell task here:
https://github.com/microsoft/azure-pipelines-tasks/issues/15465

Is this specific to PowerShell v5 or do later version also exhibit this behavior?

@altair43  as far as I can see it's present on all version. The problem lies in this module it seems:
https://github.com/microsoft/azure-pipelines-task-lib/tree/master/powershell/VstsTaskSdk
So I think I might need to move the issue to there (too).

Sorry above comment was from me, I was logged in with the wrong account.

So, since we are not getting any traction here, what is the next step?

@LeoVisser LeoVisser has anyone tested this lately in PSv7 to see if this still is an issue?


[Switch] Remove fixed size for Android. Fixes #3785

Fixed #3785

cc @mkonicek

I think this is good! cc @sahrens
How have you tested it? Can you add a screenshot from the UIExplorer for example?

@mkonicek Yea I've tested it.
Here is a screenshot from UIExplorer using Switch instead of Switch Android.

With change matches: SwitchAndroid

Can we please not have different layout behavior between iOS and android? This makes android switch stretch and right align which is super weird and does not match iOS.

Can we just change the width? Or pass down the width from the native module if it varies by device?

@sahrens I had originally thought about just adjusting the width but after speaking with @mkonicek he mentioned something about auto-layout with Android and that it's not necessary to define and fixed values.
Adjust the width to 45 makes it not get cut off but all the switches are still aligned left.
Does the switch component even vary in size between different Android devices?

Size of switch on android varies between OS versions, it can be different when some of the accessibility features are on AFAIK, not to mention custom skins/themes some vendor like to preinstall. It's always been measuring itself because of the aforementioned reasons and I personally support this change. Not sure what the benefit would be from having it send over but it will definitely introduce some limitations (e.g currently we can start initialising the bridge before activity is started and we don't yet have access to the theme at that time, to pass it down as a constant we'd need to have theme before we initialise the bridge)

If it's not reasonable to pass the size through as a constant, there are two options to make it consistent with iOS:

make it not stretch to fill the parent (it should end up left aligned in the example).

change iOS to stretch and fill the parent and right-align in the example like android (and fix all the existing usage of switch in our iOS apps so we don't break anything).

The only thing I really care about is consistency.

The current changes should keep the same layout behavior if you were to use SwitchIOS or SwitchAndroid separately since SwitchIOS is the only one that has styling pre defined and passed into the native component.

If it's not reasonable to pass the size through as a constant, there are
two options to make it consistent with iOS:

make it not stretch to fill the parent (it should end up left aligned in
the example).

change iOS to stretch and fill the parent and right-align in the example
like android (and fix all the existing usage of switch in our iOS apps so
we don't break anything).

The only thing I really care about is consistency. App code shouldn't have
to change styles and layout to use switches on different platforms.
On Sunday, December 6, 2015, Krzysztof Magiera<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Size of switch on android varies between OS versions, it can be different
when some of the accessibility features are on AFAIK, not to mention custom
skins/themes some vendor like to preinstall. It's always been measuring
itself because of the aforementioned reasons and I personally support this
change. Not sure what the benefit would be from having it send over but it
will definitely introduce some limitations (e.g currently we can start
initialising the bridge before activity is started and we don't yet have
access to the theme at that time, to pass it down as a constant we'd need
to have theme before we initialise the bridge)
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/pull/4298#issuecomment-162291036
.

But are they interchangeable? We should strive for interchangeable whenever it's reasonable, and this seems like a perfect case for that.

I like what Spencer suggested:

make it not stretch to fill the parent (it should end up left aligned in the example).

Is that doable? I think you need to change the measure logic in Java. I agree it's a bit strange the Android Switch fills parent and is right-aligned.

@christopherdro Would love to get this merged. Without this the Cross platform switch component is not usable.

Let's figure out the alignment on Android separately. I agree without this PR the cross-platform switch is unusable.

@facebook-github-bot shipit


Demo: Unify Get Started

Note: Everyone was tagged on this PR because I had to change links everywhere. Many modules are impacted by link changes only.
Purpose
This PR demonstrates how we could unify Platform Get Started with the main Get Started (mostly/all platform content anyways) and move Platform to the top of the left nav.
This reduces one item from the left nav, and it reenforces the implication that the Harness Platform is the basis for the modules. In combining these topics, there were many opportunities to eliminate redundancies and refresh some long-neglected topics. There were 13 topics across both Get Started and Get Started with Platform, not counting the Platform Tutorials. This has been reduced down to seven. By reducing the overall number of "get started" topics, we can make getting started with Harness seem faster and simpler.
Changes

Activate autocollapsecategories in sidebar for more focused navigation experience (when you navigate to another section, all other open sections automatically close).
Move Platform to the top of the left nav & docs dropdown.
Change links, add redirects as needed.
Handle misc cleanup, updating, and rewriting as discovered during editing process.
Combine "Get Started" with "Get Started with Platform", specifically:

Original
Change
Preview

Key concepts
Combined with PL key concepts
Key concepts

Start using Harness for free
Combined with PL onboarding guide
Onboarding guide

Sign up for Harness through the AWS Marketplace
Combined with PL Subscriptions page
Subscriptions and licenses

Harness UI Overview
Updated and moved to PL get started section
Harness UI Overview

Harness FirstGen vs Harness NextGen
Combined with PL key concepts due to in-progress FirstGen deprecation
FirstGen vs NextGen

Harness Platform architecture
This topic replicated information that was already in Subscriptions and Key Concepts. Combined/removed accordingly.
Subscriptions and licenses Key concepts

Supported platforms and technologies
Combined with Platform What's supported. Replaced module-specific content with links to "What's supported in [module]" pages.
What's supported

Self-managed / On-Premises
This page was just mirroring the SMP docs landing page. Removed this duplicate in favor of the SMP linking present in the Platform onboarding guide.
Access your Harness account

Beta, Limited GA, and GA definitions
Moved to PL get started and updated to cover more of the feature release/roadmap content.
Feature development and availability

Feeback
This is a demo. It is open to feedback.
I believe that this change is beneficial in helping focus the left nav experience and reducing duplicated text. It also centralizes ownership of these topics under the writer(s) responsible for PL; whereas before these topics had no defined owner.
Allowing 1-2 weeks for comments/feedback.
Specifically, I want to wait for @brian-f-harness  to come back from PTO before considering merging this.

Netlify part of build timed out. Retriggering.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65f8c945ee073b35deda65d2--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fb3c5b778809156aa13153--harness-developer.netlify.app

One idea is to rename it from Getting Started with Platform to just Getting Started

Minor suggestion is to rename it from Getting Started with Platform to just Getting Started

This introduces the potential url issue with commonly-named categories. https://harness.atlassian.net/wiki/spaces/DOCS/pages/21327872338/Tips+hints+and+best+practices#Category-pages

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65fc9388e7823170012f42ce--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6601b1c062d94a1968dbbed0--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://660347dcf481dc06dfe71ba3--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66034c255d352f0b37c0029e--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66034ccb8d264c082dcd7b9a--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66034da18fa7e407801170ad--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66042a85d9bf471599ed87b5--harness-developer.netlify.app


Fix MonadPlus typeclass

Both MonadPlus and MonadZero rely on unsafe casting.
MonoidK type can be refactored to just take the witness type at the class level and the specific sub-data type at the method level - which will allow us to avoid casting entirely for MonadPlus and MonadZero

Released in 10.0.0-M2


Add a table of contents to dashboard.md and improve text consistency

#3088

Hello @thepriefy,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

thanks for all of the clean up @thepriefy!


Display-manager restart when launching SteamVR with OpenHMD-SteamVR and PSVR

When i am trying to launch SteamVR, display-manager crashed and gets me back to the login window. Apparently, the issue when i start SteamVR is "Failed to acquire xlib display". This happens immediately after trying to find a mode for VR headset:
Mon May 23 2022 13:07:17.820513 - HMD deviceUUID is 62030c4805877021
Mon May 23 2022 13:07:17.820536 - Looking for direct display through RandR
Mon May 23 2022 13:07:17.820547 -  - Root 0x1e4
Mon May 23 2022 13:07:17.869078 -    - Output 0x1bc - 0 modes, 0 preferred
Mon May 23 2022 13:07:17.869116 -    - Output 0x1bd - 17 modes, 1 preferred
Mon May 23 2022 13:07:17.869129 -      - Mode 0 0x1be 1920x1080 (looking for 1920x1080)
Mon May 23 2022 13:07:17.869136 -        - Found matching output 445
Mon May 23 2022 13:07:17.869145 - Found candidate direct display as RandR output 0x1bd
Mon May 23 2022 13:07:17.919190 - Tried to find direct display through RandR: 0x55f2f4435ee0
Mon May 23 2022 13:07:17.920270 - Trying to match desired rate of 90.000000Hz.

Mon May 23 2022 13:07:17.920826 - Failed to acquire xlib display
Mon May 23 2022 13:07:17.920839 - CHmdWindowSDL: Failed to create direct mode surface

I am not 100% sure, but this might be related to the fact that PSRV is not detected as able to run @90 Hz refresh rate.

I think that has to be a driver bug. For PSVR support, you're probably better trying monado - https://gitlab.freedesktop.org/monado/ and the SteamVR driver there.


Typo "Github"→"GitHub"

Describe the pull request
Typo "Github"→"GitHub"
https://github.com/microsoft/vcpkg/blob/master/README_fr.md
related #26441
#PingMSFTDocs

What does your PR fix?
Fixes #...

Which triplets are supported/not supported? Have you updated the CI baseline?
<all / linux, windows, ...>, <Yes/No>

Does your PR follow the maintainer guide?
Your answer

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
<Yes / I am still working on this PR>

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

Dupe of #26441?

@hyoshioka0128
Although this PR is not a dup of https://github.com/microsoft/vcpkg/pull/26441, I still recommend that you include this change in https://github.com/microsoft/vcpkg/pull/26441. Also, please modify below files too. Thank you!
https://github.com/microsoft/vcpkg/blob/master/README_ko_KR.md
https://github.com/microsoft/vcpkg/blob/master/README_zh_CN.md

@Cheney-W - Thanks!
I included #26451 in #26441.
Also fixed README_ko_KR.md and README_zh_CN.md and included them in #26441.
Closed #26451 .


merge from arlac77/npm-package-template-kronos-module

package.json

chore(package): merge from template package.json

.travis.yml

chore(travis): (jobs.include)
chore(travis): add 13.9.0 remove 13.8.0 (jobs.include.node_js)

Codecov Report

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

@@          Coverage Diff          @@
##           master   #691   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          30     30
  Branches        7      7
=====================================
  Hits           30     30

Continue to review full report at Codecov.

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

:tada: This PR is included in version 2.1.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Create OKCoin Exchange Adapter

Create OKCoin Exchange Adapter: https://www.okcoin.com
Being coded.

Undergoing live testing with exchange.

ETA 27 Sep 2015.

Done.


chore: update mainnet explorer url

What changed? Why?
update mainnet explorer url
Notes to reviewers
N/A
How has it been tested?
N/A

🟡 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


3-d

the 3-d feature of sandspeil is rather irritating, it is fun in concept but it makes coloring difficult, i beleive that it would be best if you made it into a togglable feature rather than a required one - sir steve

the reason i first joined sp was because i could color in it and then that expanded into roleplaying and making friends, in my belief if you were to keep this 3-d feature it would scare away several new potential people who could join the sandspiel community so please consider this and making the 3-d feature togglable, i it was there when i was joining i would have been there for maybe a week and then leave - sir steve

im quitting sp until you fix this

im quitting sp until you fix this

Sandspiel is not 3D.

hello-smile6, the update that had been added most recently has given shading to all materials giving the affect as if it was 3 dimensional which is very irritating to artists

hello-smile6, the update that had been added most recently has given shading to all materials giving the affect as if it was 3 dimensional which is very irritating to artists

Oh.

Hey i was trying to add this issue

Since the C U R S E D update. Few users will force to do simulation on sandspiel and Most users will force to repost his post
Before the update

After the update

Also heres the ocs that got cursed

So maybe im kind of forced to make scratch or flipaclip animation

max, i do not suggest you remove it completely, im certain it was very difficult to make the shading in the first place, again why i suggest you make it togglable, if you do so it would also give more pottential to the artists and all around people will be happier

adding on to this, a toggle for size affecting the shading would be also really nice

great idea labbo-lab

im not coming back anymore, my connection to it i have severed and i am never coming back to sandspiel, goodbye, see you all in he🏒🏒

and not the town in michigan

Day 5 of the cursed update

i know ed, i hope its fixed soon

i know ed, i hope its fixed soon

I'll see if I can help.

uwu

is it still bad

is it still bad

Let's see

thank you very much for fixing this

thank you very much for fixing this


token_authenticatable breaking ldap_authentication in ~>1.5

Using 1.4.9, we had the following setup that worked
devise :ldap_authenticatable, :rememberable, :trackable, :token_authenticatable, :authentication_keys => [ :username, :authentication_token ]
When we update to any 1.5 version, ldap_authenticatable no longer passes the validity check for winning strategies in warden.
I believe have narrowed it down to Devise::Strategies::Authenticatable#parse_authentication_key_values, which returns false for our configuration.
  # Parse authentication keys considering if they should be enforced or not.
  def parse_authentication_key_values(hash, keys)
    keys.each do |key, enforce|
      value = hash[key].presence
      if value
        self.authentication_hash[key] = value
      else
        return false unless enforce == false
      end
    end
    true
  end

Can you please provide a patch that fixes the problem? I don't have the time to go into ldap_authenticatable internals right now. Thanks.


Add test

Related to #1982

@Shredder121 @johnktims @robertandrewbain Could I get a review?

What are the semantics of order by xxx is (not) null? Is that even valid JPQL?

It's ordering by an boolean expression, it's not valid JPQL, but supported by the JPA providers.

So would it make sense to add that as a test case?

:+1: I mean, it looks fine, but doesn't really reflect the issue.

You are right, it's misleading.


Bug (?): pre-commit autoupdate is backdating

My pre-commit config is v1.6.5 (and v1.7.0 was just released), and running pre-commit autoupdate:
> pre-commit autoupdate
[https://github.com/myint/docformatter] already up to date!

Then, manually changing it to v1.7.0 and seeing what happens for pre-commit autoupdate:
> pre-commit autoupdate
[https://github.com/myint/docformatter] updating v1.7.0 -> v1.6.5

Why is pre-commit not accepting v1.7.0?

@jamesbraza should be working now.

Nice it's working now.  What was the issue?  The recent commits on master branch seem unrelated

I boogered up the v1.7.0 tag somehow so it wasn't pointing to anything.  Deleted and re-tagged.  Badda bing, badda boom, it works!  Closing this issue since it's working for you now.


Conda_Verification_Error for installing Tensor_flow 2.3.0

Hello Folks,
I am new to Deep Learning Libraries and stuff. I tried installing tensorflow with conda in a new environment and
I am getting the following error while verifying.
CondaVerificationError: The package for tensorflow-base located at C:\Users\yuvid\Downloads\Softs\Installed\Miniconda3\pkgs\tensorflow-base-2.3.0-eigen_py37h17acbac_0
appears to be corrupted. The path 'Lib/site-packages/tensorflow/include/external/llvm-project/mlir/_virtual_includes/AffineMemoryOpInterfacesIncGen/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.cpp.inc'
specified in the package manifest cannot be found.
ClobberError: The package 'defaults/win-64::six-1.15.0-py37haa95532_0' cannot be installed due to a
path collision for 'lib/site-packages/wheel/pycache/init.cpython-37.pyc'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.
ClobberError: The package 'defaults/win-64::six-1.15.0-py37haa95532_0' cannot be installed due to a
path collision for 'lib/site-packages/wheel/pycache/bdist_wheel.cpython-37.pyc'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.
ClobberError: The package 'defaults/win-64::markdown-3.3.3-py37haa95532_0' cannot be installed due to a
path collision for 'lib/site-packages/wheel/pycache/pkginfo.cpython-37.pyc'.
This path already exists in the target prefix, and it won't be removed
by an uninstall action in this transaction. The path is one that conda
doesn't recognize. It may have been created by another package manager.
ClobberError: This transaction has incompatible packages due to a shared path.
packages: defaults/win-64::six-1.15.0-py37haa95532_0, defaults/win-64::win_inet_pton-1.1.0-py37haa95532_0, defaults/win-64::cffi-1.14.4-py37hcd4344a_0, defaults/win-64::yarl-1.6.3-py37h2bbff1b_0, defaults/win-64::markdown-3.3.3-py37haa95532_0
path: 'lib/site-packages/wheel/pycache/wheelfile.cpython-37.pyc'
N many more similar errors just there is change in the file name of pyc
Hope anyone can help me out.

@Yuvraj-Dhepe
Sorry, but we don't provide support for issues with the conda environment.
This issue is more suitable on Continuum Anaconda repo since its related to TF installation with Anaconda.
Please post it on Continuum Anaconda.Thanks!

@Yuvraj-Dhepe
Sorry, but we don't provide support for issues with the conda environment.
This issue is more suitable on Continuum Anaconda repo since its related to TF installation with Anaconda.
Please post it on Continuum Anaconda.Thanks!

@Yuvraj-Dhepe
Sorry, but we don't provide support for issues with the conda environment.
This issue is more suitable on Continuum Anaconda repo since its related to TF installation with Anaconda.
Please post it on Continuum Anaconda.Thanks!

Thank you I will do the same. I will close the issue.

@Yuvraj-Dhepe
Sorry, but we don't provide support for issues with the conda environment.
This issue is more suitable on Continuum Anaconda repo since its related to TF installation with Anaconda.
Please post it on Continuum Anaconda.Thanks!

Thank you I will do the same. I will close the issue.


Resolves issue #43

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Related tickets
issue #43

Documentation
N/A

License
MIT

Closes #43.
What's in this PR?

Using the hash('sha512') to replace sha1 function.

Checklist

[x] Updated CHANGELOG.md to describe BC breaks / deprecations | new feature | bugfix
[ ] Documentation pull request created (if not simply a bugfix)

thanks a lot! i added documentation about this in https://github.com/php-http/documentation/commit/aaeef9cb5ac6e1c2fc1be981c563d5d3dbd907b9 and released this as https://github.com/php-http/message/releases/tag/1.11.0
if you have time to add a configuration option to the symfony bundle as well, that would be neat: https://github.com/php-http/HttplugBundle


Windows matches either long and short filenames.

The windows FindNextFile function, which mainmacro uses for wildcard expansion, will provide results if either the short or the long filename matches the pattern.
For example, *.txt will match hello.txt2 because the short form of hello.txt2 is HELLO.TXT.
Also, hello.* will match hello because the short form has an implicit period.
These short-form matches are usually not desirable, and they should be rejected.
This issue is not easy to fix. It would need a case-insensitive UTF-16 pattern-matching function. Windows provides FoldString for case folding, and I have a UTF-8 pattern-matching function that I could convert to UTF-16.

Fixed in commits 42925084 (match against long filename) and 37018a16 (use case insensitive matching).


Update subscription examples

Description
Update from v1alpha to v2alpha
Issue reference
PR will close: #2956

@yaron2 - PTAL


better to send no key for skip event

I didn't think much about it on my first patch but when skip_key_event
is set the KEY_UNKNOWN is repeated. Better to send no key at all.

Agreed, thanks!


Published or not published?

A page should denote whether it is published(green color) or not published (red Color).
A page should denote whether it is saved (green color) or not saved (red Color).
A tick mark and and cross mark will also help

1. A page should denote whether it is published(green color) or not published (red Color).

Where should this color mark be?
Content that is not published is marked as "Draft" (and yes, "Published" is marked green) and can be found at "Content" > "Draft".

2. A page should denote whether it is saved (green color) or not saved (red Color).

Yes, a hint, if a content is not yet saved would help. Perhaps a popup.

3. A tick mark and and cross mark will also help

Help for what? Where?

Sorry if you think this is not relevant,  however, I believe the status should be the only thing that denotes it a page is published or not. The scheduled date should not be touched or interfered with when changing the status.
Equally, children should be allowed to be added to pages that are Draft or scheduled in the future.
Thanks.

@clickwork-git Posting a new page/post and whether it is published or not, needs to be tested.
the testing should be about: how a newbie  will come to know whether the new post is published or not?
I come know that just today  that saving will publish the new post.
Should it be done?

IMO, there are two things that cause confusion here:

New content should start as Draft, not Published

Then, when it is saved it will not be immediately published. It should be up to the content creator to change the state from Draft to Published
If a colour indicator helps, how does the red look by the button?
The text of the status, "Publish" is simply wrong and very misleading to a newbie, as @a6147z puts it! It should be "Published", with an "ed" at the end. To "Publish" is what you do to make it published.

You could argue that the button text should be separated from the status text:

Btn text, "Make Published". Current Status: "Draft"
Btn text: "Make Draft". Current Status: "Published"

Sorry,  but I've made these exact comments before, along with the statement above about the date needing to be separated from the status so Parent Child relationships can be established while scheduled.
Anyway,  I hope this helps.

Hi guys, I'm working on the new UI for Bludit v4.
I will let you know when I have something working properly and you can check it and we can review this issue with the confusion with the buttons and the publish status.

There should be four button :

Save button> no matter the post is published or draft (blue colour is ok)
but saving it first time, it should change to draft. tick/cross mark and grey colour is good  sign after saving a draft.

Preview button > ok - (Black colour is ok)

Publish button (which can be changed to published after publishing) - tick and cross mark, when not 'published' white colour is ok, after publishing green is better. Bigger id better.

Draft button  > a button to unpublish and make the published post back to draft. Ted colour may be okay.
All on first button.at least on first page while posting.

I'm working in the admin area and everything will be AJAX, so you don't need to leave the page to apply the changes.
For the Editor you can edit the features, click on Save button, and will apply instantly.
For example, if the user clicks on the status, then choose the status, and click "Save" will apply the changes.

also for the case the user click in the button "Save" will be disabled and the word will change to "Saved".

@dignajar -  Looks great but isn't Draft and Private same same? Or is Private like an private page for selected members?

@lightmat it's not implemented yet, but the idea is a published page but only accessible if you have the link, I mean is not display in the main page. Maybe the name is not correct, suggestions?

@dignajar - No i'am aware of that. Well i think the word "Private" is fine, but the text could be a bit more precise if it is something like "Publish the page, visible only by linked url"

Hi @dignajar , looking great and I like your Private option, or Unlisted as YouTube calls it.
Will you be addressing the date thing, where if scheduled in the future it won't let you create parent/child relationships? Very important to pre schedule a set of pages.

Hello, with the new version of Bludit v4.0 rc1, I would like to close the old Github issues. If you feel that your issue is not resolved in the latest version, create a new ticket.

Help and Support use the Forum https://forum.bludit.org
Bugs and new requests here in Github https://github.com/bludit/bludit/issues

I think this should be reopened. This Publish as default and as a Toggle Button is pretty bad and not something people expect. I support all the changes that are proposed here.


Logging API: as plugin developer i need to delete plugin name from every message

Allow plugin developers to control plugin name in messages

What is the expected behavior?
Using compilation.getLogger('PluginName) and compiler.getInfrastructureLogger('PluginName') i want to control how PluginName appears in log messages. In particaular, i don't want PluginName to appear in every message.
Current behavior is:

As you can see, there is<EMAIL_ADDRESS>in every message, but i need this only in first message.
What is motivation or use case for adding/changing the behavior?
Pretty and clear logs.
How should this be implemented in your opinion?
As an object with options:
compiler.getInfrastructureLogger('PluginName', {
    pluginNameInMessage: 'first' // or 'every'
});

Are you willing to work on this yourself?
no

You should not use the intrastructure logger for this plugin.
Use the normal logger with compilation.getLogger('PluginName). It only displays your logger name once as header.

Use the normal logger
It is only available for compilation, not compiler. I need to use for both compiler and compilation.

игьз

Close in favor https://github.com/webpack/webpack/issues/10148


refactor: rename core scripts and its usages

rename core script as per the discussion links:
https://github.com/mdenolle/NoisePy/issues/193
https://github.com/uw-ssec/codeuw/issues/34

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (2bd0414) 50.87% compared to head (c90ced5) 50.87%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #211   +/-   ##
=======================================
  Coverage   50.87%   50.87%
=======================================
  Files          32       32
  Lines        3731     3731
  Branches      518      518
=======================================
  Hits         1898     1898
  Misses       1774     1774
  Partials       59       59

Files Changed
Coverage Δ

...isepy/seis/application_modules/monitoring_utils.py
41.48% <ø> (ø)

src/noisepy/seis/correlate.py
17.37% <ø> (ø)

src/noisepy/seis/download.py
14.48% <ø> (ø)

src/noisepy/seis/stack.py
12.08% <ø> (ø)

src/noisepy/seis/__init__.py
100.00% <100.00%> (ø)

src/noisepy/seis/main.py
45.97% <100.00%> (ø)

src/noisepy/seis/noise_module.py
17.12% <100.00%> (ø)

tests/test_cross_correlation.py
100.00% <100.00%> (ø)

tests/test_whiten.py
67.39% <100.00%> (ø)

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


android.content.res.Resources$NotFoundException

This doesn't make any sense, but there's a report of this happening at L865 of the NotificationService on Android 5.1 so I guess it's legit. No clue how to fix yet tho. Maybe I'll just throw a try/catch in there and see what happens.

Got some more info on this. Apparently it only happens on Lollipop/Marshmallow and isn't limited to just that line. I suspect it might not like that there are both vector drawables and pngs with the same name in the app. Possible solution: there's no real reason to include vector drawables if we're using pngs anyway, so just remove the vector drawables.

This issue is starting to confuse me as to why it even exists. Anyway, using ContextCompat.getDrawable seems to resolve the problem. Leaving this open until I get a chance to test it a bit more though.

This is probably fixed.


fix: datetime utcnow bug

What I did
get_current_timestamp_ms claimed to return UTC now but it wasn't actually. Also, utcnow() is deprecated.
How I did it

How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Just realized the test is failing, that test failure makes no sense

LGTM
Historically, I've used datetime.UTC, looks like dateutil.tz.UTC is available as well, but they suggest using your method, so I'm good with it

Ya, datetime.UTC isnt available until 3.11 i think or else i would have used it, and we already had dateutil dep so i figured why not.

Just realized the test is failing, that test failure makes no sense

I am also baffled! I know the runners are already on utc but i fail to see why that fudge up the test

Never mind my last comment, you'd be better off dividing the first value than you would multiplying the second value by 1000.


fix: improved lg editor performance

Description
I'm not entirely sure why the update lg template code path is slow, or why it is blocking, but it is causing the editor and flow to have a delay when typing quickly. Adding a throttle to all lg api methods solves this by circumventing the IO for intermediate keystrokes.
Task Item
fixes #2627

Hi @a-b-r-o-w-n ，I believe the blocking comes from the sync method imported by @lei9444
https://github.com/microsoft/BotFramework-Composer/blob/c0d6997be0c9c7a1dc98dd765acd4d24c6ac5e35/Composer/packages/ui-plugins/lg/src/LgField.tsx#L75
lgField here maintains a real-time synced data from shell, it caused a editor re-render.
Compares to this, all up view maintains a local state at initial load, never meet the performance issue. I prefer also keep a local state value here.

That was our thought as well but the editor doesn’t use the shell data to render after the initial render (it’s an uncontrolled component). But there is enough blocking IO to back up the event loop and prevents the browser from repainting.
I do think there could be some work to further decouple the persistent layer from the store, but our initial investigation didn’t point to any smoking guns.

@zhixzhan re-reading your comment after coffee I see what you are saying now. I'll look at that sync method to see if that is the issue.


Spies will not be resetted between cypress commands

Case
plugin version 3.2.0
There are two tests in one spec
First test is failed because  of 422 validation error
Second test is failed because of that
AssertionError: cypress-fail-on-console-error:
"headers":{"normalizedNames":{},"lazyUpdate":null},"status":422,"statusText":"Unprocessable Entity","url"

Full stack trace of request is printed
I guess that is not expected behaviour, is it?

Originally posted by @rkhomi in https://github.com/nils-hoyer/cypress-fail-on-console-error/issues/90#issuecomment-1194512960

Hi,
many thanks for reporting this issue! I had a look into and found the root cause introduced by version 3.0.0: commit
The issue should be fixed with version 3.2.1!
Git Release:
https://github.com/nils-hoyer/cypress-fail-on-console-error/releases/tag/3.2.1
NPM Release:
https://www.npmjs.com/package/cypress-fail-on-console-error/v/3.2.1

@nils-hoyer Hi!
I was wondering whether plugin will still fail the test when we have 422 or 500 status code from browser API request?
I mean it's pretty nice feature an enables you to debug applications even better
So in my example here

my first test is failed because it didn't find locator
However I would like it to fail because of 422 status code and print response body
It is possible?

I agree with you, that observing network status codes would be a great improvement.
AFAIK those information is not part of the window object, so I can not simply add spies to that objects.
There might be internal cypress API's or Events, which can be connected but I haven't looked into it. I assume cy.intercept() implementation would be a good starting point for analysis.
Feel free to make an analysis on how it works in cypress and make a feature proposal.

I agree with you, that observing network status codes would be a great improvement. AFAIK those information is not part of the window object, so I can not simply add spies to that objects.
There might be internal cypress API's or Events, which can be connected but I haven't looked into it. I assume cy.intercept() implementation would be a good starting point for analysis.
Feel free to make an analysis on how it works in cypress and make a feature proposal.

I mean, your plugin was able to print failed request information. As it is described in this issue
AssertionError: cypress-fail-on-console-error:
"headers":{"normalizedNames":{},"lazyUpdate":null},"status":422,"statusText":"Unprocessable Entity","url"

Hi @romankhomitskyi, it's now possible to also catch network errors. Its published as a new module: https://github.com/nils-hoyer/cypress-fail-on-network-request


[core-amqp][test] fix build error in rush update --full

The explicit parameter type was added in PR #21892 to resolve a compiler error.
It has been working for a while, but now broken due to @types/node fix in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60591
This PR updates the parameter type to match the definition.

For this case it's probably better to push directly to the bot's rush update --full PR.  I will do that.

API change check
API changes are not detected in this pull request.

The change looks good but I wonder if passing invalid values could be a concern. Maybe we could guard against it by adding a runtime check or a comment or something but I leave that to you to decide.

We are not calling the clearTimeout() directly elsewhere, just passing the same argument to the original function we wrap.  This should be fine without checking.


Update README.md

I think the username in the directions is wrong.  Changed username from cf_portal_client to cf_users_client

@coryjett Good catch, thanks for the update.


Create filter chain

Create some kind of filter chain, so you have to add one filter and execute some filters at once.
Exectute the default filter chain
{{ text|filterChain }}

Execute a custom filter chain:
{{ text|filterChain('test') }}

If you use symfony, you could use a config to define the executed filters:
core23_twig:
    chain:
        default:
            - lower
            - capitalize
            - reverse

Hi, I'm GitMate.io!
It seems you've just enabled the issue triaging. I'm just scraping all issues from your repository and will give you some more information about this in a few minutes or so.
Because of the rate limit we can't scrape all information (including all comments and authors) right now - our system is already set up to scrape this in the next days over which the predictions will become more precise every day.
If you want me to use a different account for triaging your issues, simply create one and log in with it.
Sit tight!


Update commercial-marketplace-lead-management-instructions-marketo.md

Updating for freshness review

@sudharocks : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The following users don't have valid GitHub IDs, or are not collaborators on this repo: microsoftdocs/public-repo-pr-review-team


added myconnection mysql middleware for express, added mysql to packa…

For now, mysql database needs to be initialized manually
the config for the mysql is in a separate file 'config.js'
the users table must also be created manually for now, heres a create script
CREATE TABLE users (
id INT(11) NOT NULL AUTO_INCREMENT,
username CHAR(50) NOT NULL,
password CHAR(50) NOT NULL,
PRIMARY KEY (id)
)

I added some stuff regarding the users table to the wiki

ahh, didnt see it before. I'll add those fields to the CRUD operations at a later date


zero-shot-search dataset

When I run the zero-shot-search task of unixcoder, I get an error with running process.py.

The reason seems to be that the file displayed on the right side of the figure is inconsistent with the downloaded CodeNet corpus.
Thanks.

I don't know what your problem is.  Please follow this readme to download CodeNet and extract function.

Yes, I followed this readme and got this error. Specifically, the labels of the downloaded dataset (e.g., p00027) are inconsistent with that of the jsonl file (e.g., 3533). None of the folders in the downloaded dataset is p03533.

>ls Project_CodeNet/data/p03533/
Awk  C  C#  C++  D  Go  Haskell  Java  JavaScript  Julia  Kotlin  Lisp  Lua  OCaml  PHP  Pascal  Perl  Python  Ruby  Rust  Scala  Sed
I have checked the folder and the p03533 folder exists. Maybe you can use ls Project_CodeNet/data/p03533/ command to check.

I'm sorry to bother you and my local file is incomplete.


Bug: test throws when using resolve.mainFields: module in vitest with Invalid VNode type: Symbol(Fragment)

Describe the bug

can't get v-for elements and got warn!!
[Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol)   at <XXXPage ref="VTU_COMPONENT" >   at <VTUROOT> [Vue warn]: Invalid VNode type: Symbol(Fragment) (symbol)   at <XXX ref="VTU_COMPONENT" >   at <VTUROOT>
To Reproduce

Expected behavior

Related information:

@vue/test-utils version: 2.x.x
Vue version: 3.2.37
vitest version: 0.24.5
@vue/test-utils version: 2.2.1
node version: v16.15.1
npm (or yarn) version:8.11.0

Additional context

Hi @liujiayi666
Can you provide us a small repro online using https://stackblitz.com/edit/vitest-dev-vitest-qoiwy3?file=package.json&initialPath=vitest ?

If you use mainFields: ['module'] I think that you get 2 instances of Vue, hence the error about Symbol (as Symbol needs to be unique).
See https://github.com/vuejs/core/issues/2600
I don't think we can do much about this. What are you trying to achieve with mainFields: ['module'] in your tests

@cexbrayat  I need to use a Private repository， but got error SyntaxError: Cannot use import statement outside a module. Thank you for your answer


Fonts seem to overlap

Which operating system does the issue occur on?
Fedora 26
If on linux, are you using X11 or Wayland?
i3, X11 with alacrity master.
See screenshot.

See also #98 #829 and #827 (at least). What font and size is this?

I haven't set any font or size. But actually if I try to use the default config file, it looks a lot better.
Still think this shouldn't happen. Somehow other terminals don't have this problem even with no configuration.

Different apps may have different built-in font defaults. If you run with RUST_LOG=alacritty:debug, you should get the paths that are being used for fonts. I don't think you get the size though.

This is a configuration issue


[Proposal] Eloquent - get collection by a list of IDs

In a current project I needed to get a collection of models using their IDs. This can be easily achieved by Model::whereIn('id', $ids) but I needed them in the exact same order as the $ids array.
Below is a proposed API
$collection = Model::list([1, 18, 14]);

Or it may be implemented directly in the find() method.
$model = Model::find(1); // returns one model
$collection = Model::find([1, 18, 14]); // returns a collection of models

I just found this thread on Google by searching for the same thing. I'm building a music playlist feature in an app. I get the music ids using the playlist of musics from a MusicList model. Then I fetch the musics using these ids. And I need them to be ordered the same they were in the music lists table. So now I'm going to try the methods listed here. This is a handy thing to do I think. Would be nice to have in Laravel since Laravel seems to do almost all the hard work for us developers. ;)

@deiucanta @jgbneatdesign I know it's too late, but it may be helpful for others in the future. If your original list of IDs is coming from database directly (and not from end user) than it's almost certain that you can use JOIN statements to sort original model. For example, I have models Post (table posts) and Tag (table tags). They are connected via polymorphic many to many relationship by using taggables table. If I want to fetch list of most frequently used tags I have similar use case like yours: first I get list of tag IDs by counting all of the records and grouping by tag_id in taggables table, then order it by frequency (DESC) and I take only 20 rows. Now I have your use case, I have list of tag ids ordered by frequency and I need to fetch that Tags ordered just like those IDs. Instead of writing helper methods and doing it in code I could use Eloquent and left join statements like this:
$tags = Tag::leftJoin('taggables', 'tags.id', '=', 'taggables.tag_id')
                ->groupBy('taggables.tag_id')
                ->orderBy('frequency', 'DESC')
                ->take(20)
                ->get([\DB::raw('tags.*, count(*) AS frequency, taggables.tag_id')]);

So I did it all in one query and I eliminated need to do it in code. This is only helpful if you get your list of IDs from database first which in @jgbneatdesign case you do.

For my own project i added it to the Collection as a macro based on the idea of @deiucanta deiucanta , maybe it will help someone....

            /**
             * Sort models to their original list.
             *
             * example:
             *       $ids = [50, 3] or collection
             *       $professionals = User::findMany($ids)
             *                                      ->sortToOriginal($ids);
             *
             * @param  \Illuminate\Contracts\Support\Arrayable|array  $ids
             * @return \Illuminate\Database\Eloquent\Collection
             */
            Collection::macro('sortToOriginal', function ($ids): Collection
            {
                $ids = $ids instanceof Arrayable ? $ids->toArray() : $ids;

                $models = array_flip($ids);

                foreach ($this as $model) {
                    $models[ $model->id ] = $model;
                }

                return Collection::make(array_values($models));
            });


Waybar doesn't display anything or show any errors. Only happens on my laptop.

As the title says, Waybar doesn't display anything or throw any errors on my laptop. It seems to run fine, except no bars are shown.
I'm using the exact same dotfiles, distro (Arch), and compositor (Hyprland) on both of my systems. Both are completely up-to-date, but only my laptop has this problem. It has an Intel HD4000 iGPU.
The issue has persisted for several months now. I've tried rolling back to earlier versions (as far as v0.9.22), but it doesn't help.
Running Waybar from the terminal doesn't produce any useful output:
[2024-03-22 15:14:16.851] [info] Using configuration file /home/user/.config/waybar/config
[2024-03-22 15:14:16.853] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[2024-03-22 15:14:16.853] [info] Using CSS file /home/user/.config/waybar/style.css

I'm willing to help diagnose however I can, but I really have no idea where to even begin with this.

Disregard. Turned out to be a config issue

Could you elaborate a little bit more? I'm in the exact same situation. I haven't changed my config in months and it just stopped working today...


How to ping a Thread device from an Android phone?

I have a Thread device (v1.1) connected to a thread network and I do have created an OMR prefix (thanks to Jonathan's advices in another ticket). I can see with "ipaddr" that the device does have an IP address starting with the OMR prefix.
I now want to ping this device from Android as indicated on https://openthread.io/codelabs/openthread-border-router#6
Unfortunately there is a restriction:
"Unfortunately, the Android version of the Network Analyzer App doesn't support mDNS queries for the ping utility and we cannot ping the hostname ot-host.local directly (we can ping the hostname with the iOS version of the App)."
Would you know a solution to be able to ping the thread device on Android? Is there another application that I could use?
I have a Mac so I have also tried to ping the device from my mac but I'm not lucky: My Mac is running "Monterey" whereas "Big Sur" is needed :o(
Is the ping possible from a Windows 10 machine? This would be a temporary solution for me as I, in the end, want to send UPD commands from an Android phone (to control the thread device).

If you finish reading https://openthread.io/codelabs/openthread-border-router#6, you will find out that the Android app can ping IPv6 address directly but cannot ping the host name.

That was not clear to me.
I have tried again but the ping doesn't work. I have tried also to ping the IPV6 address of the OTBR (the one starting with OMR prefix fd00:dead:beef:cafe...) but it also fails.

Here is an extract of the ifconfig command on the Border Router:
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::dea6:32ff:fe21:3e1e  prefixlen 64  scopeid 0x20<link>
        ether dc:a6:32:21:3e:1e  txqueuelen 1000  (Ethernet)
        RX packets 5006  bytes 2248803 (2.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12444  bytes 3094663 (2.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wpan0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        inet6 fd80:6a9f:4948:7235:0:ff:fe00:fc00  prefixlen 64  scopeid 0x0<global>
        inet6 fd00:dead:beef:cafe:70eb:1d49:4a8e:e1d7  prefixlen 64  scopeid 0x0<global>
        inet6 fd80:6a9f:4948:7235:0:ff:fe00:fc10  prefixlen 64  scopeid 0x0<global>
        inet6 fd80:6a9f:4948:7235:0:ff:fe00:3000  prefixlen 64  scopeid 0x0<global>
        inet6 fd80:6a9f:4948:7235:9b9a:133d:7bda:5cf0  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::c41b:22f5:e1ad:25a0  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 2  bytes 112 (112.0 B)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 20  bytes 3580 (3.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Form a mac, I can ping the IPV4 address <IP_ADDRESS> and the IPV6 address fe80::dea6:32ff:fe21:3e1e but I don't succeed to ping  fd00:dead:beef:cafe:70eb:1d49:4a8e:e1d7.
In my thread network, my Joiner device has the following addresses:
XXX
I don't succeed to ping the one starting with fd00:dead:beef:cafe.

Can you confirm that you are following the https://openthread.io/codelabs/openthread-border-router guide to set up your BR?  Except for using Thread 1.1.

I have a Mac so I have also tried to ping the device from my mac but I'm not lucky: My Mac is running "Monterey" whereas "Big Sur" is needed :o(

I think you should expect that your Mac should not work.
Please help provide below information:

The output of ip -6 route list on your BR device
The output of ot-ctl netdata show on your BR device
The output of netdata show on your end device
The screenshot of failing to ping the IPv6 address
The version of your Android phone

Can you confirm that you are following the https://openthread.io/codelabs/openthread-border-router guide to set up your BR? Except for using Thread 1.1.

You're raising a very good point! I haven't typed the commands to form the thread network because it would create a new dataset. I would like to keep my current dataset to have the same as my colleagues. I see in the "netdata show" command that I miss something (see below) because "routes" is empty. This is probably the reason why of my issue. Is there a way to keep my dataset but to enhance it with what is missing in routes?

Please help provide below information:

The output of ip -6 route list on your BR device

pi@raspberrypi:~ $ ip -6 route list
::1 dev lo proto kernel metric 256 pref medium
64:ff9b::/96 dev nat64 metric 1024 pref medium
fd00:dead:beef:cafe::/64 dev wpan0 proto kernel metric 256 pref medium
fd80:6a9f:4948:7235::/64 dev wpan0 proto kernel metric 256 pref medium
fdaa:bb:1::2 dev nat64 proto kernel metric 256 pref medium
fe80::/64 dev nat64 proto kernel metric 256 pref medium
fe80::/64 dev wlan0 proto kernel metric 256 pref medium
fe80::/64 dev wpan0 proto kernel metric 256 pref medium

The output of ot-ctl netdata show on your BR device

netdata show
Prefixes:
fd00:dead:beef:cafe::/64 paros med 3000
Routes:
Services:
44970 5d fd806a9f494872359b9a133d7bda5cf0d11f s 3000
Done

The output of netdata show on your end device
I get: "Error 6: Parse"

The screenshot of failing to ping the IPv6 address

ping6 -I en0 fd00:dead:beef:cafe:70eb:1d49:4a8e:e1d7
PING6(56=40+8+8 bytes) fe80::1428:41d1:ff95:9b48%en0 --> fd00:dead:beef:cafe:70eb:1d49:4a8e:e1d7
ping6: sendmsg: No route to host
ping6: wrote fd00:dead:beef:cafe:70eb:1d49:4a8e:e1d7 16 chars, ret=-1
ping6: sendmsg: No route to host
ping6: wrote fd00:dead:beef:cafe:70eb:1d49:4a8e:e1d7 16 chars, ret=-1
ping6: sendmsg: No route to host

ping6 fd00:dead:beef:cafe:b0b3:d1e0:8158:4bc2 -I en0
PING6(56=40+8+8 bytes) fe80::1428:41d1:ff95:9b48%en0 --> fd00:dead:beef:cafe:b0b3:d1e0:8158:4bc2
ping6: sendmsg: No route to host
ping6: wrote fd00:dead:beef:cafe:b0b3:d1e0:8158:4bc2 16 chars, ret=-1
ping6: sendmsg: No route to host
ping6: wrote fd00:dead:beef:cafe:b0b3:d1e0:8158:4bc2 16 chars, ret=-1
ping6: sendmsg: No route to host

The version of your Android phone
Google Pixel 3 running Android 12

I have cleared the dataset of the BR and followed the instructions on https://openthread.io/codelabs/openthread-border-router#2  but, when I type the netdata show command, I have nothing in prefixes and routes:

@OlivierGre , what git commit are you using for building OTBR? It appears that the border routing feature is not enabled.
If you want the border router to automatically generate a routable prefixes for the Thread and Wi-Fi networks and advertise routes, you will need to enable the border routing feature with BORDER_ROUTING=1 in the build command.

@OlivierGre , what git commit are you using for building OTBR? It appears that the border routing feature is not enabled.
If you want the border router to automatically generate a routable prefixes for the Thread and Wi-Fi networks and advertise routes, you will need to enable the border routing feature with BORDER_ROUTING=1 in the build command.

I have rebased it yesterday to get this fix https://github.com/openthread/ot-br-posix/pull/1141.
I'm on the latest commit of main branch:

commit a41fc11dc27bbc6c989ccfc92a78ddd684e6c1ad (HEAD -> main, origin/main, origin/HEAD)
Author: whd<EMAIL_ADDRESS>Date:   Thu Dec 9 14:25:36 2021 +0800

    [border-router] start mDNS daemon before starting otbr-agent (#1141)

    This commit updates the .service file to start the mDNS daemon before
    starting otbr-agent.


missing data/xyz.ttf resources

hi,
trying to run the samples apps, I get:
$ go run ./progress_bar/main.go
panic: open data/SourceCodePro-Regular.ttf: no such file or directory

goroutine 5 [running]:
github.com/google/gxui/drivers/gl.(*Driver).CreateFont(0xc20803a3c0, 0x75a1d0, 0x19, 0xc, 0x0, 0x0)
	/home/binet/tmp/go/src/github.com/google/gxui/drivers/gl/driver.go:166 +0x17d
github.com/google/gxui/themes/dark.CreateTheme(0x7f14ee8b2b40, 0xc20803a3c0, 0x0, 0x0)
	/home/binet/tmp/go/src/github.com/google/gxui/themes/dark/theme.go:43 +0x76
main.appMain(0x7f14ee8b2b40, 0xc20803a3c0)
	/home/binet/tmp/go/src/github.com/google/gxui/samples/progress_bar/main.go:19 +0x61
created by github.com/google/gxui/drivers/gl.StartDriver
	/home/binet/tmp/go/src/github.com/google/gxui/drivers/gl/driver.go:50 +0x20a

goroutine 1 [runnable, locked to thread]:
github.com/go-gl/glfw/v3.1/glfw.WaitEvents()
	/home/binet/tmp/go/src/github.com/go-gl/glfw/v3.1/glfw/window.go:641
github.com/google/gxui/drivers/gl.(*Driver).run(0xc20803a3c0)
	/home/binet/tmp/go/src/github.com/google/gxui/drivers/gl/driver.go:93 +0x81
github.com/google/gxui/drivers/gl.StartDriver(0x725070, 0x4, 0x7b2920)
	/home/binet/tmp/go/src/github.com/google/gxui/drivers/gl/driver.go:51 +0x21a
main.main()
	/home/binet/tmp/go/src/github.com/google/gxui/samples/progress_bar/main.go:52 +0x48

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1
exit status 2

could these files (or a recipe to get them) be included?
-s

Hi there, here is the ressource you are looking for (Source Code Pro) [http://adobe-fonts.github.io/source-code-pro/]

I've started the os_fonts branch to search the OS's fonts directory so we can use Arial or something equally common as the default font.
I need to implement and test for Windows and Linux, which I'll try and do tomorrow.

you can run the samples like this:
$ ./polygon -data ~/Downloads

if ~/Downloads contains SourceCodePro-Regular.ttf

The one I downloaded from http://adobe-fonts.github.io/source-code-pro/ doesn't work. I have to download from online resource page(like this one to make it work. Just FYI.

In e44108536, I've changed the default font to Arial.ttf and it now searches the OS font directories. In theory, you no longer need to download any fonts or set the --data= command line argument.
I've tested windows and OSX, hopefully Linux will also work.
Please re-open if you have issues.


Docker build for ARM64 (newer MacBooks)

I would love to be able to run Open Distro for ElasticSearch in Docker on a modern MacBook Pro (with M1 chip).
However the Docker images are currently only build for X64. Any chance you could include builds for ARM64 as well?

With the OpenSearch project in full gear, I don't see this being a priority, but I managed to build a docker image on m1 for an old build (1.10.1) and am running it in minikube. I pushed my commit to a fork here:
https://github.com/andykellr/opendistro-build/commit/d065c64814c38e52bb6864fab16710432df153f1
If you still need to do this and have questions, let me know.


PR: add dependabot.yml to help maintain dependencies 🤖

Just a quick one to add @dependabot to help keep dependencies up-to-date. 🤖 ⬆
Feel free to reject or merge if desired. 👌

Curious why the CI build takes so long ... ⏳ 💭

@nelsonic thanks for the PR!

Stoked to see you making progress on this. 😍


console.log usage in time taken by function

console.log... ah how we both love an hate you.
Realistically you might not want to use console.log unless you want stdout/1 to see the text. There are other console channels that exist for that exact purpose on console. Since this is more of a debugging tool you'd want to remove from code before pushing, it might also be better to be able to bypass it.
Marking as an issue for coding later when I'm off work 😉

I'm not well-versed in the console channels to be honest. PR it when you can, I'll merge it!

You can use console.time() as well.
const perf = callback => {
  console.time('perf');
  const res = callback();
  console.timeEnd('perf');
  return res;
};

perf(() => {
  Array(1000000).fill(0).map(Math.random)
});
// perf:<PHONE_NUMBER>25ms

@atomiks not a bad idea honestly!

This was resolved, so I'm closing.


Adding public API test coverage for Aspire.Hosting.PostgreSQL

Initial issues #2649
Issues Check List: Validate arguments of public methods
Microsoft Reviewers: Open in CodeFlow

/azp run


Can't uninstall / reinstall UnifiedNlp

I already had it, but cant find the solution again...embarassing... ):
I installed the wrong UnifiedNlp package ("with GAPS"), uninstalled it again, now tried to install the GAPPS-free flavour on F-Droid, but  F-Droid keeps saying "You are trying to install a prior version of an already installed app". I dont find anything in /system/apps, nor in /system/priv-apps, and a search for "nlp" doesnt give me results.
What can I do?

Have you checked in Settings › Apps? If not found there, additional options to "remove left-overs" include:

using adb shell pm clear org.microg.nlp to clear potentially left data
using adb uninstall org.microg.nlp to force-uninstall again
trying an app like SD Maid (which has a "CorpseFinder")

Having cleaned up, try installing UnifiedNlp again.
Note: My examples are for a specific package. You might have to adjust the package name if you've used a different one.

In Settings > Apps make sure to check at the bottom of the list. It might happen that the app is installed for a "different user" (even if you're the only user on the phone). If that's the case you can open the menu while on the settings of the app and select "Uninstall for all users" (or sth. alike)

SD maid fails, settings > apps doesnt find anything.
The given adb commands do fail as well. So - sorry, I'm not smart enough which are potential other package names. Could you please provide them? Thx!

Even after updating the system from Kitkat to Lollipop (SlimKat -> SlimLP), I still cannot install UnifiedNlp for the given reasons. )))))o:

Dah!
I still had g**gle play services installed, but hibernated by TitaniumBackup. This interfered with UnifiedNlp. Uninstalling play services did it.
Strange enough:
In F-Droid, for UnifiedNlp version number 7.5** was displayed.
So:
Happy again... (-;