Reduce console spew in processor.test.ts

Error: simulated failure
    at D:\git\data-contest-toolkit\build\test\unit\queue\processor.test.js:68:19
    at QueueProcessor.processBatch (D:\git\data-contest-toolkit\build\src\queue\processor.js:44:23)
Error: simulated failure
    at D:\git\data-contest-toolkit\build\test\unit\queue\processor.test.js:68:19
    at QueueProcessor.processBatch (D:\git\data-contest-toolkit\build\src\queue\processor.js:44:23)
Error: simulated failure
    at D:\git\data-contest-toolkit\build\test\unit\queue\processor.test.js:68:19
    at QueueProcessor.processBatch (D:\git\data-contest-toolkit\build\src\queue\processor.js:44:23)
could not process {"value":"msg 1","dequeueCount":4}

These are warnings / errors being written to STDERR. You can execute just tests & suppress these messages via npm run test 2>/dev/null
Long-term, this will be resolved when we wire up a proper observability solution via AppInsights / etc.


Use IDs for events so that announcing updates is possible

Update live.js and schedule.py so to use IDs
necessary for #39

Closed:  aee976f


Specifically cannot change directional keys

Im a new user of sway. No matter what i do, i cannot change my directional keys. set-ing anything else works fine (Changing the background, changing mod...)
My file definition file:
~.config/sway/definitions.d/keys.conf
set $up k
set $down j
set $left h
set $right l

# Test im not going crazy:
set $background /home/marsh/Downloads/milky.jpg

set $mod Mod1

Am i doing something completely wrong? I know the definitions are working because i can change my mod and background
Is this related to #164 ?

So I think you're confusing "set" (setting variables) and bindsym (assigning them)

Thats how my vanilla sway configs have always done it. Anyway, thanks!


adds u800 driver to read/write from Micro800 line of PLCs

Also adds Micro800 example code
Tested on Micro820 PLC

Note that the class functions for forward_open and forward_close in the Base class are overwritten by the modified forward_open and forward_close functions in the Driver class for u800. This is really the only change I had to make.

Hello patrickjmcd,
first of all thanks for helping with the lib. I did some more in deep research about the Direct Connection, and I find out that this type of connection can be useful in other situations so I decided to merge your suggestions in the base class. Instead of having just a driver for the u800 you can use the regular driver (clx) and at run time pass a "True" parameter to the open method ( in your case it will be "c.open('<IP_ADDRESS>', True)" ).
I have changed the open method adding a defaulted parameter (direct_connection = False) this will guaranty back compatibility with previous users and at the same time give an opportunity to use "Direct Connections" when needed.
I was able to test the  lib with Contrologix PLC but I don't have u800 series, so could you try and let me know if it works?
Thanks a lot
Agostino

Awesome. That sounds great to me. I'll test it tomorrow and report back.

I can confirm that the changes work on the micro800 for the direct connection. Since you've already made the changes, should I just close this PR?

Yes please and if you don't mind I would like put a link to your url for
the credits :)
Again thanks for the help
Ago
On Tue, Jul 5, 2016 at 8:26 AM, patrickjmcd<EMAIL_ADDRESS>wrote:

I can confirm that the changes work on the micro800 for the direct
connection. Since you've already made the changes, should I just close this
PR?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ruscito/pycomm/pull/9#issuecomment-230512138, or mute
the thread
https://github.com/notifications/unsubscribe/ABL5odzNsdmbXJoz4DrwFiFg9MfXhCghks5qSne7gaJpZM4I_Xjn
.


how to execute pre benchmark function

It is possible to perform some pre benchmark calculation.
As example I have to parse and create a data structe from a 100mb large file first, before I can start the benchmark.
At the doc I have only benchmark, without pre  benchmark calculation.

Yes, you can move such setup steps into a separate function. The README describes the next steps depending on if you're benchmarking a function of your library or a binary of your crate. Does this help?

Closing this due to inactivity


RHIROS-449 Get region from performance_record

Getting region value from rule hit won't work for optimized state. Not able to get region for NO_PCP_DATA also. Hence, using performance_record to get the region value, storing it in systems table and discarding it from performance_record. Also discarding instance_type from performance_record as we already have instance_type column in systems table.
Added tests for no-pcp, undersized and optimized states

@r14chandra I will post my comments by 1st half tomo, sorry for the delay.
Meanwhile could you add in the tests for optimized, no-pcp and undersized?

@r14chandra I tried loading insights-engine-result-under-pressure.json in test_process_report_optimized
And it is passing :open_mouth:
Can you check what's up with that?

@r14chandra I tried loading insights-engine-result-under-pressure.json in test_process_report_optimized And it is passing open_mouth Can you check what's up with that?

@saltgen I guess we're utilizing the insights-engine-result for this particular state (i.e Optimized) for getting  system_metadata  and host and not ros_report (which is unique for every state). That's why any engine would work for this state. Please, correct me.

@r14chandra I tried loading insights-engine-result-under-pressure.json in test_process_report_optimized And it is passing open_mouth Can you check what's up with that?

@saltgen I guess we're utilizing the insights-engine-result for this particular state (i.e Optimized) for getting system_metadata and host and not ros_report (which is unique for every state). That's why any engine result would work for this state. Please, correct me.

This was primarily due to ros_reports being explicitly set to [] in the respective test, which should be the case but only for optimized state. All good, thanks!

Thank you @saltgen for review! Merging this PR.


InMem, missing docs?

Correct me if I'm wrong, but I don't see anything mentioned that InMem is not apart of the core libary and needs to be added to your dependcies list (ie, implementation "it.justwrote:kjob-inmem:version" ), just letting you know, so people don't get stuck and give up, and miss out on this amazing libary 😅

Good catch, thanks! You're absolutly right. I forgot to mention this 😅

Good catch, thanks! You're absolutly right. I forgot to mention this 😅


tracking issue: New python interface

The main goal of this Issue is to define the new python interface for circuit/programs, supported by the exploratory work done in pytket_future.

Closing this in favour of https://github.com/CQCL/tket2/issues/671


DataTypes added from RAML1.0

Added backwards-compatible DataTypes from RAML1.0
\Raml\ApiDefinition::createFromArray - in $data array already comes types, just a getter and adder loop added.

Coverage increased (+0.06%) to 89.255% when pulling 4dc77877a26521a791a5f2d6afa7c9b4217f81ee on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Coverage increased (+0.06%) to 89.255% when pulling 4dc77877a26521a791a5f2d6afa7c9b4217f81ee on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Coverage increased (+0.06%) to 89.255% when pulling 4dc77877a26521a791a5f2d6afa7c9b4217f81ee on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Coverage increased (+0.06%) to 89.255% when pulling 4dc77877a26521a791a5f2d6afa7c9b4217f81ee on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Coverage increased (+0.1%) to 89.311% when pulling ec7c51768c85bac9b56885ff8c0052666ce8603e on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Coverage increased (+0.1%) to 89.311% when pulling ec7c51768c85bac9b56885ff8c0052666ce8603e on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Coverage increased (+0.1%) to 89.311% when pulling ec7c51768c85bac9b56885ff8c0052666ce8603e on vbartusevicius:master into 2f85b8de28fdf3276c9f61fdfdcf6862bca3017c on alecsammon:master.

Just added a bugfix with named traits, previously this throws some errors as traits is named list
traits:
  filter: !include traits/filter.raml
  hasCollectionResponse: !include traits/collection-200-response.raml

Also fixed some issue with invalid baseUri - if not possible to extract baseUrl (its empty) just ignore it.

Datatypes parse nicely into the ApiDefinition object, good job! However, implementation at the response and request body level has not been done yet, am I right?

@InfopactMLoos - actually I stuck a bit on how to implement types in response body... I mean the best way would be to create Type object and set the required properties, then add reference of specific Type to Body:
$body->getType(); // returns Type instance

Because now, if we have this RAML:
/test:
  get:
    is:
      - GenericFilter
      - TestTypeFilter
    responses:
      200:
        body:
          application/json:
            type: TestType

# TestTypeFilter
queryParameters:
  age:
    required: true
 count:
    required: false

all fields from all traits are added to Resource::queryParameters (or Method::queryParameters, don't actually remember) and there is no way to get the original types used in RAML.
If this repo is going to support RAML 1.0 then we should have a vision how types are integrated.
Please share your thoughts.

@vbartusevicius I think adding Type object to Body alongside "schema" value would be the best solution at the moment, since it's used in "Response" and in "bodyList" - request.
'bodyList' =>
    array (
      'application/json' =>
      Raml\Body::__set_state(array(
         'description' => NULL,
         'mediaType' => 'application/json',
         'schema' => NULL,
         'examples' => NULL,
      )),
    ),
     'responses' =>
    array (
      201 =>
      Raml\Response::__set_state(array(
         'statusCode' => 201,
         'bodyList' =>
        array (
          'application/json' =>
          Raml\Body::__set_state(array(
             'description' => NULL,
             'mediaType' => 'application/json',
             'schema' => NULL,
             'examples' => NULL,
          )),
        ),
         'headers' =>
        array (
        ),
         'description' => NULL,
      )),

Problem regarding the traits you mention if I understand correctly is that all traits must be applied to Response or Request respectively something similar to what is being done for "Schemas" at schema parser.
Please correct me if I'm wrong, but can we solve it at parsing time by applying all the traits to where they should be used(Type object, ...) and the data is then just read when and where needed?

Would maybe the best approach at the moment be to implement Type object add it to the Body and ignore traits.
Afterwards, since it's quite a breaking change, whole library is reviewed and 0.8 deprecated features removed and redone thinking of all specifications regarding the RAML 1.0.

By the way, can we continue the debate in the Issue?
https://github.com/alecsammon/php-raml-parser/issues/108
Will put examples that ought to be supported there.

Types already supported after merge from other forks.


chore: bump Solidity to 0.8.25

Bumps the Solidity version to 0.8.25. Starting work on a larger migration of the entire Solidity codebase to 0.8.25 and this is one of the holdouts.

Switching to draft for now, need to get approval on this

Can this get revisited and approved? It's required for https://github.com/ethereum-optimism/optimism/issues/11527 to be implemented.
I think using loose versioning (^0.8.0) would be better in this case so it does not need to be changed in the future and can be used without a strict version constraint on other codebases

Can this get revisited and approved? It's required for ethereum-optimism/optimism#11527 to be implemented.
I think using loose versioning (^0.8.0) would be better in this case so it does not need to be changed in the future and can be used without a strict version constraint on other codebases

We should use ^0.8.0 here for sure for the versions


add transaction unit tests

Pytest logging can be viewed in the terminal window via e.g.:
pytest --log-cli-level="INFO" --capture=no tests/transactions_test.py
By default, logging will only show up in stdout if it is WARNING or above, and will only show up if the test fails.

you can also use -s which is a shortcut for --capture=no


Audit user and action in Metadata versions

What does this PR do?
Now that user identity is possible by logging in we can capture the username and action against metadata to make the versions collection a more informed audit trail.
This PR adds user and action properties and makes the metadata a peer property.
Creating or updating a metadata record is now recorded in the versions collection as:
{ 'user':'email@address', 'action':'create|update', 'metadata':{...}}
All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you successfully ran tests with your changes locally? Including container validation.
[ ] Have you lint your code locally prior to submission?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you labelled this PR correctly? E.G. major, milestone, breaking, breaking-change, minor, feature, enhancement, patch, fix, chore, refactor etc

Changes to Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?

@PaulDFoster make sure all calls to create provide this new param (hint- sync()).


Can no longer debug code

Issue Description
Steps to Reproduce
Start any project with debug (Asp .net core 2.2) and try to debug.
Once it hits a debug point or an exception is cought:

Expected Behavior
It enters the debug point or breaks at the uncought exception
Actual Behavior
It can't find the file, even though it is open in the editor right now. (NOTE the ' at the end of the file name, the file exists without the ' at the end. However, the debugger tries to open the file with ' at the end of the filename and cant find it, resulting in the error message)

--> Debugging is impossible right now
Logs
OmniSharp log
Post the output from Output-->OmniSharp log here
C# log
Post the output from Output-->C# here
Environment information
VSCode version: 1.51.1
C# Extension: 1.23.6
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   5.0.100
 Commit:    5044b93829
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19041
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\5.0.100\
Host (useful for support):
Version: 5.0.0
Commit:  cf258a14b7
.NET SDKs installed:
2.1.801 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
3.1.103 [C:\Program Files\dotnet\sdk]
3.1.201 [C:\Program Files\dotnet\sdk]
3.1.301 [C:\Program Files\dotnet\sdk]
3.1.402 [C:\Program Files\dotnet\sdk]
3.1.404 [C:\Program Files\dotnet\sdk]
5.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

1987
annliu
0.3.1

add-reference
adrianwilczynski
1.0.2

auto-using
Fudge
0.7.15

better-align
wwm
1.1.6

Bookmarks
alefragnani
12.0.0

calmness-vsc-theme
azamuddin
1.1.1

city-lights-theme
yummygum
1.1.8

code-settings-sync
Shan
3.4.3

code-spell-checker
streetsidesoftware
1.10.2

codesnap
adpyke
1.2.0

csharp
ms-dotnettools
1.23.6

csharp-grammar-extended
dannymcgee
1.1.1

csharp-model-to-builder
frasercrosbie
0.1.2

docomment
k--kato
0.1.19

dotnet
formulahendry
0.0.4

dotnet-core-essentials
KishoreIthadi
0.0.8

dotnet-test-explorer
formulahendry
0.7.4

EditorConfig
EditorConfig
0.16.4

eva-theme
fisheva
1.0.1

git-graph
mhutchie
1.28.0

git-tree-compare
letmaik
1.10.0

gitlens
eamodio
11.0.6

gruvbox
jdinhlife
1.4.0

horizon-theme-vscode
jolaleye
2.0.2

jira-plugin
gioboa
0.22.2

jupyter
ms-toolsai
2020.11.399280825

latex-utilities
tecosaur
0.3.7

latex-workshop
James-Yu
8.15.0

material-icon-theme
PKief
4.4.0

material-theme
zhuangtongfa
3.9.11

mdx
silvenon
0.1.0

midnight-city
dillonchanis
0.5.0

msbuild-project-tools
tintoy
0.3.10

mssql
ms-mssql
1.9.0

namespace
adrianwilczynski
1.1.2

noctis
liviuschera
10.39.1

output-colorizer
IBM
0.1.2

python
ms-python
2020.11.371526539

python-extension-pack
donjayamanne
1.6.0

rainbow-brackets
2gua
0.0.6

slime
smlombardi
3.2.1

sqltools
mtxr
0.23.0

synthwave-vscode
RobbOwen
0.1.8

team
ms-vsts
1.161.1

theme-onedark
azemoh
0.6.0

theme-panda
tinkertrain
1.3.0

todo-tree
Gruntfuggly
0.0.188

vim
vscodevim
1.18.0

vscode-csharp-snippets
jorgeserrano
1.1.0

vscode-docker
ms-azuretools
1.8.1

vscode-mdx-preview
xyc
0.3.0

vscode-nxunit-test-adapter
wghats
0.1.3

vscode-peacock
johnpapa
3.9.1

vscode-test-explorer
hbenl
2.19.3

vscode-theme-hydra
juanmnl
3.1.0

vscode-typescript-tslint-plugin
ms-vscode
1.2.3

vscode-versionlens
pflannery
1.0.9

xml
DotJoshJohnson
2.5.1

What is going on is that the source file paths in your .pdb files are no longer full paths. I suspect what is going on is that you are compiling your code with the -pathmap C# compiler option. I believe this would be controlled with the PathMap msbuild property. I would suggest looking at an msbuild binary log if it isn't obvious why this is happening for your project. If you can't figure it out, or if you want your PDBs to have the partial paths, you can use the sourceFileMap launch.json option to map these partial paths to full paths for VS Code.

Apparently there is also a 'ContinuousIntegrationBuild' msbuild property that can mess things up like this.

There is no such setting in our csproj or .props files.

Same Problem also appears in vim using omnisharp-vim

Same Problem also appears in vim using omnisharp-vim

This isn't a debugger problem, so it will happen with any .NET debugger, at least to some degree based on how well the debugger deals with these partial paths.
Does this reproduce for you in a new 'hello world' project?
If not, I would try using the msbuild binary log viewer output -- look at what options are being passed to the compiler.

This isn't a debugger problem, so it will happen with any .NET debugger, at least to some degree based on how well the debugger deals with these partial paths.
Does this reproduce for you in a new 'hello world' project?
If not, I would try using the msbuild binary log viewer output -- look at what options are being passed to the compiler.

It works in Rider, but not in any omnisharp IDE.
It works in other projects. And I just checked, even setting ContinuousIntegrationBuild to false in the .props files did not fix the problem. It used to work before.

It works in Rider, but not in any omnisharp IDE.
It works in other projects. And I just checked, even setting ContinuousIntegrationBuild to false in the .props files did not fix the problem. It used to work before.

Did you check if pathmap is passed to the compiler? You might also check that the compiler-produced assembly is the one that is being used, and not some sort of linker produced one.

Did you check if pathmap is passed to the compiler? You might also check that the compiler-produced assembly is the one that is being used, and not some sort of linker produced one.

PathMap is beeing passed as $(MSBuildThisFileDirectory)

PathMap is beeing passed as $(MSBuildThisFileDirectory)

Basically, we have a Directory.Build.Props in the root directory, containing
<Project>
  <PropertyGroup>
	<!--
		Using solution dir is a bad practice and for example it breaks when building a csproj instead of a solution or if a solution is not in the root directory
		Defining the root path in Directory.Build.props seems to be the prefered way to handle this, see https://github.com/Microsoft/msbuild/issues/2743#issuecomment-350391255
	-->
    <MonolithRootDir>$(MSBuildThisFileDirectory)</MonolithRootDir>
  </PropertyGroup>
</Project>

And then a Common.props file referenced by all the csproj containing this:
	<PathMap>$(MonolithRootDir)=/</PathMap>

Basically, we have a Directory.Build.Props in the root directory, containing
<Project>
  <PropertyGroup>
	<!--
		Using solution dir is a bad practice and for example it breaks when building a csproj instead of a solution or if a solution is not in the root directory
		Defining the root path in Directory.Build.props seems to be the prefered way to handle this, see https://github.com/Microsoft/msbuild/issues/2743#issuecomment-350391255
	-->
    <MonolithRootDir>$(MSBuildThisFileDirectory)</MonolithRootDir>
  </PropertyGroup>
</Project>

And then a Common.props file referenced by all the csproj containing this:
	<PathMap>$(MonolithRootDir)=/</PathMap>

However, even with the <PathMap> removed and a dotnet clean debug still does not work

However, even with the <PathMap> removed and a dotnet clean debug still does not work

Just ran a git bisect on the repo. It appears its the git commit at fault that added said <PathMap> Property

Just ran a git bisect on the repo. It appears its the git commit at fault that added said <PathMap> Property

Was able to fix it now using sourceFileMap
     "sourceFileMap": {
        "/": "${workspaceFolder}/"
      }

Was able to fix it now using sourceFileMap
     "sourceFileMap": {
        "/": "${workspaceFolder}/"
      }


1.4.1 Task Assignment and Timeline

Screenshot of the task assignment and timeline of the project. Headed by Lin Htoo.

Did up a Gantt Chart from a WBS following the D1 delivariables


UniGetUI doesn't see any updates

Brief description of your issue
WinGetUI updated to UniGetUI.  Previously WinGetUI reported numerous updates available.
Package sources include .NET Tool, Chocolatey and PowerShell.  Same as WinGetUI used to show.
Probably key log entry:
[7/5/2024 5:12:03 PM] Could not initialize Package Manager Winget
[7/5/2024 5:12:03 PM] System.ComponentModel.Win32Exception (5): An error occurred trying to start process 'C:\Users\howard\AppData\Local\Microsoft\WindowsApps\winget.exe' with working directory 'D:\Program Files\UniGetUI'. Access is denied.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at UniGetUI.PackageEngine.Managers.WingetManager.WinGet.LoadManager() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\WinGet.cs:line 495
at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.InitializeAsync() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 76
Steps to reproduce
Just run UniGetUI.
Expected behavior
List of updateable programs provided.
Actual behavior
UniGetUI says all programs up-to-date.
Environment
winget --info reports access denied.

This is an issue that needs to be filed on the UniGetUI repo, as it is not an issue with the WinGet CLI.

This is an issue that needs to be filed on the UniGetUI repo, as it is not an issue with the WinGet CLI.

Not sure about that.  The log clearly states that it is WinGet CLI that can't be executed.

Yes, but as stated, this has nothing to do with winget itself. In fact, the fact that it says that it couldn't execute winget proves this, as winget hasn't even had a chance to DO anything yet. Something on your machine is busted, permissions-wise, or UniGet has a bug in how it tries to execute winget.

Yes, but as stated, this has nothing to do with winget itself. In fact, the fact that it says that it couldn't execute winget proves this, as winget hasn't even had a chance to DO anything yet. Something on your machine is busted, permissions-wise, or UniGet has a bug in how it tries to execute winget.

It has everything to do with winget.  No matter how many times I try to reinstall it and no matter how many guides I try to follow winget always reports access denied.  Yes, I agree something is busted with permissions, but I need a pointer to fix that.

Are you able to execute winget commands normally from the terminal without WingetUtil?
Does something like winget -v / winget list work for you in the terminal?

Are you able to execute winget commands normally from the terminal without WingetUtil?
Does something like winget -v / winget list work for you in the terminal?

Attempting winget with any parameters always yields "access is denied."

Can you try re-installing WinGet from https://aka.ms/getwinget and check again?

Attempting winget with any parameters always yields "access is denied."

Well, that is a completely different issue than "UniGetUI doesn't see any updates". That would be "WinGet always yields access is denied".
Have you tried re-installing WinGet or updating to the latest version? What version do you have installed ( Get-AppxPackage *AppInstaller*)? Are there any logs you can share from WinGet directly (%localappdata%/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe/DiagOuptuDir/LocalState)?

Thank you for the reply.

Have you tried re-installing WinGet or updating to the latest version? What version do you have installed ( Get-AppxPackage *AppInstaller*)? Are there any logs you can share from WinGet directly (%localappdata%/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe/DiagOuptuDir/LocalState)?

Reinstalling WinGet doesn't help (multiple tries).
Get-AppxPackage "AppInstaller" reports:
Name              : Microsoft.DesktopAppInstaller
Publisher         : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture      : X64
ResourceId        :
Version           : 1.23.1791.0
PackageFullName   : Microsoft.DesktopAppInstaller_1.23.1791.0_x64__8wekyb3d8bbwe
InstallLocation   : C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1791.0_x64__8wekyb3d8bbwe
IsFramework       : False
PackageFamilyName : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
PublisherId       : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle          : False
IsDevelopmentMode : False
NonRemovable      : False
Dependencies      : {Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe,
                    Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64__8wekyb3d8bbwe,
                    Microsoft.DesktopAppInstaller_1.23.1791.0_neutral_split.scale-100_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind     : Store
Status            : Ok
`
```
There is no folder named DiagOutputDir (or anything similar) under %localappdata%/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Can you try re-installing WinGet from https://aka.ms/getwinget and check again?
* Related: [ResourceUnavailable: Program 'winget.exe' failed to run: An error occurred trying to start process. Access is denied.At line:1 char:1 #3057](https://github.com/microsoft/winget-cli/issues/3057)

Thank you, but it doesn't work.

There is no folder named DiagOutputDir (or anything similar) under %localappdata%/Packages/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Ah, my bad; Is there one called LocalState?

Ah, my bad; Is there one called LocalState?

No problem.  Yes, there is LocalState.  It has eleven log files in it.  The two most recent are attached.
AppInstaller-2024-07-06-01-05-13.388.log
AppInstaller-2024-07-06-01-05-22.653.log

@marticliment, let me know if this is something that should go to UniGetUI or how we can help figure out what's going on here. 😊

@hspindel do you get any results if you run winget --info? If you do, can you share them?

@marticliment, let me know if this is something that should go to UniGetUI or how we can help figure out what's going on here. 😊

I have seen a similar bug report on UniGetUI, but, as said previously, I can't help from UniGetUI.
The way in which the winget.exe is called is from a standard System.Diagnostics.Process instance, without anything weird going on.
My best guess is a misconfiguration with system permissions, since the only change I have done is calling the system winget.exe instead of the bundled winget.exe WingetUI used to use.

The relevant issue on UniGetUI is https://github.com/marticliment/UniGetUI/issues/2444

@marticliment, let
The way in which the winget.exe is called is from a standard System.Diagnostics.Process instance, without anything weird going on.

My best guess is a misconfiguration with system permissions, since the only change I have done is calling the system winget.exe instead of the bundled winget.exe WingetUI used to use.

Is there any way we can get a config option for UniGetUI to call the bundled winget it used to use?  When I try that winget.exe from a command line, it successfully reports a version number instead of "access is denied" with the new version.

@hspindel do you get any results if you run winget --info? If you do, can you share them?

I get "access is denied" if I run winget from a command line.  However, if I use the winget.exe that came bundled with UniGetUI from a command line it works.
D:\Program Files\UniGetUI\winget-cli_x64>winget --info
Windows Package Manager v1.8.1791
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4529
System Architecture: X64

Winget Directories
---------------------------------------------------------------------------------------------------
Logs                               %TEMP%\WinGet\defaultState
User Settings                      %LOCALAPPDATA%\Microsoft\WinGet\Settings\defaultState\settings.…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

D:\Program Files\UniGetUI\winget-cli_x64>

@marticliment, let
The way in which the winget.exe is called is from a standard System.Diagnostics.Process instance, without anything weird going on.

My best guess is a misconfiguration with system permissions, since the only change I have done is calling the system winget.exe instead of the bundled winget.exe WingetUI used to use.

Is there any way we can get a config option for UniGetUI to call the bundled winget it used to use?  When I try that winget.exe from a command line, it successfully reports a version number instead of "access is denied" with the new version.

If you add the UniGetUI bundled winget to path and temporarily remove system winget from path (you can do so from settings) you should be able to test this

@marticliment

If you add the UniGetUI bundled winget to path and temporarily remove system winget from path (you can do so from settings) you should be able to test this

This turned out to be more of an adventure than I expected.  Documenting here in case it helps someone else.

Can't remove system winget from path.  Other apps in the same directory need to be in the path.
Can't add path to UniGetUI's winget.exe to system path first entry (overriding existing path) because the System Path is out of space.
Can't delete winget.exe from the system location.  It's a special file called an app alias.  Wanted to delete the system winget.exe and replace with UniGetUI's winget.exe, but no go.

Eventual solution that works:

Go to PC Settings/Apps.
Click on App Execution Aliases.
Unselect Windows Package Manager Client.  When you do this, winget.exe disappears from the system location.
Open a command window and run winget.  Verify that Windows reports app not found.
Edit my personal environment PATH (which has plenty of free space) and add the path to UniGetUI's version of winget.exe.
Open a command window and run winget.  Verify that it executes properly.
Run UniGetUI.  All is well!

@hspindel,
Thanks for documenting your work around.
The App Execution Alias is indeed how "winget.exe" from the App Installer MSIX bundle is mapped to the path.
I think there is still something potentially misconfigured on the system if WinGet isn't working after a "clean" install.
Would you be willing to try running the Repair-WinGetPackageManager -Force -Latest from the current version of the "Microsoft.WinGet.Client" PowerShell module to see if that fixes the default WinGet instance?
Fair warning: This will likely reinstate the App Execution Alias, so you would have to re-apply your work around if it doesn't work.

Would you be willing to try running the Repair-WinGetPackageManager -Force -Latest from the current version of the "Microsoft.WinGet.Client" PowerShell module to see if that fixes the default WinGet instance?

I agree there is something misconfigured, but I haven't been able to find what.
I opened a PowerShell window and entered:
Would you be willing to try running the Repair-WinGetPackageManager -Force -Latest from the current version of the "Microsoft.WinGet.Client" PowerShell module to see if that fixes the default WinGet instance?

I agree there is something misconfigured, but I haven't been able to find what.
I opened a PowerShell window and entered:
Repair-WinGetPackageManager -Force -Latest
I may nave missed something, because I didn't understand the part about running this command from the current version of the "Microsoft.WinGet.Client" PowerShell module.  When I entered the PowerShell command, I get the following error:
 Repair-WinGetPackageManager -Force -Latest
Repair-WinGetPackageManager : Access is denied
At line:1 char:1
+ Repair-WinGetPackageManager -Force -Latest
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Repair-WinGetPackageManager], Win32Exception
    + FullyQualifiedErrorId : System.ComponentModel.Win32Exception,Microsoft.WinGet.Client.Commands.RepairWinGetPackag
   eManagerCmdlet

In other news, a new problem arose.  UniGetUI worked fine for a while with my fixes above.  But it stopped working now.  It hangs displaying "Loading Packages" on the Software Updates page.  On the Installed Packages page, I still see all the expected apps.
Here's the log:
[7/11/2024 12:25:37 AM] UniGetUI is up to date
[7/11/2024 12:43:59 AM] Found 1 installed packages from .NET Tool
[7/11/2024 12:44:01 AM] Found 6 installed packages from Chocolatey
[7/11/2024 12:44:03 AM] WinGet installed packages returned zero packages, attempting legacy...
[7/11/2024 12:44:06 AM] Found 1 installed packages from PowerShell
[7/11/2024 12:44:14 AM] Found 628 installed packages from Winget
[7/11/2024 1:25:38 AM] UniGetUI is up to date
[7/11/2024 2:25:38 AM] UniGetUI is up to date
[7/11/2024 3:25:38 AM] UniGetUI is up to date
[7/11/2024 4:25:39 AM] UniGetUI is up to date
[7/11/2024 5:25:39 AM] UniGetUI is up to date
[7/11/2024 6:25:40 AM] UniGetUI is up to date
[7/11/2024 7:25:40 AM] UniGetUI is up to date
[7/11/2024 8:25:40 AM] UniGetUI is up to date
[7/11/2024 9:25:41 AM] UniGetUI is up to date
[7/11/2024 10:25:41 AM] UniGetUI is up to date
[7/11/2024 11:25:41 AM] UniGetUI is up to date
[7/11/2024 12:25:42 PM] UniGetUI is up to date
[7/11/2024 1:25:42 PM] UniGetUI is up to date
[7/11/2024 1:55:33 PM] Found 1 installed packages from .NET Tool
[7/11/2024 1:55:33 PM] WinGet installed packages returned zero packages, attempting legacy...
[7/11/2024 1:55:34 PM] Found 6 installed packages from Chocolatey
[7/11/2024 1:55:35 PM] Found 1 installed packages from PowerShell
[7/11/2024 1:55:43 PM] Found 628 installed packages from Winget
[7/11/2024 2:02:54 PM] Found 1 installed packages from .NET Tool
[7/11/2024 2:02:56 PM] WinGet installed packages returned zero packages, attempting legacy...
[7/11/2024 2:02:56 PM] Found 6 installed packages from Chocolatey
[7/11/2024 2:02:57 PM] Found 1 installed packages from PowerShell
[7/11/2024 2:03:03 PM] Found 628 installed packages from Winget

As from your UniGetUI logs, the powershell module seems to either not be installed (which is not the case) or not reporting packages.

As from your UniGetUI logs, the powershell module seems to either not be installed (which is not the case) or not reporting packages.

Here's a screen capture showing installed packages.  Powershell seems to be present.  And as I said, this was working and stopped without me changing anything.  What do you suggest I try?

Packages are shown because UniGetUI is resorting to bundled winget, but the powershell cmdlets are not working (see the bundled winget reported 0 packages lines on log), which makes sense knowing  that the Repair-WinGetPackageManager cmdlet is not working.
If your system winget is not working, neither will the COM APIs (the default method in the latest UniGetUI beta) neither the PowerShell module (which as far as I understand depends on the COM APIs itself). Therefore, no packages are reported and UniGetUI resorts to the bundled winget to show installed packages.

Packages are shown because UniGetUI is resorting to bundled winget, but the powershell cmdlets are not working (see the bundled winget reported 0 packages lines on log), which makes sense knowing that the Repair-WinGetPackageManager cmdlet is not working.
If your system winget is not working, neither will the COM APIs (the default method in the latest UniGetUI beta) neither the PowerShell module (which as far as I understand depends on the COM APIs itself). Therefore, no packages are reported and UniGetUI resorts to the bundled winget to show installed packages.

Thank you.
I guess I understand, but have no idea how to go about fixing this.

I guess I understand, but have no idea how to go about fixing this.

I got UniGetUI to work again, but I'm not sure which of the following steps I took was the effective one.

In Windowx Programs and Features I disabled and then re-enabled Powershell.
Used the task manager to kill an existing running WingetUI to be sure it restarted fresh.

Thanks for reporting back. I'm not sure what caused this issue either. If you're able to get a reproduceable scenario, please re-open the bug, or file a new one. Since this seems to have been transient, I'm going to close the issue.


mac os how to auto triggle command hint?

sorry, i am not familiar with mac os terminal, thanks.
I want not in navi gui, but in terminal triggle hint directly.
navi 2.7.0

I don't know change 'bug' to 'feature', sorry

Do you mean this?

it shows:
source <(navi widget bash)
thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', src/libstd/io/stdio.rs:805:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

any suggestion?

Are you sure you're using bash? Try running echo $SHELL

echo $SHELL
/bin/bash

I could reproduce the same problem here:
$ bash --version
GNU bash, versión 5.0.17(1)-release (x86_64-apple-darwin17.7.0)

Exporting the backtrace environment variable:
$ export RUST_BACKTRACE=1
$ source <(navi widget bash)
$ thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', src/libstd/io/stdio.rs:805:9
stack backtrace:
   0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
   1: core::fmt::write
   2: std::io::Write::write_fmt
   3: std::panicking::default_hook::{{closure}}
   4: std::panicking::default_hook
   5: std::panicking::rust_panic_with_hook
   6: rust_begin_unwind
   7: std::panicking::begin_panic_fmt
   8: std::io::stdio::_print
   9: navi::handler::handle_config
  10: navi::main
  11: std::rt::lang_start::{{closure}}
  12: std::panicking::try::do_call
  13: __rust_maybe_catch_panic
  14: std::rt::lang_start_internal
  15: main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

And the full backtrace:
$ export RUST_BACKTRACE=full
$ source <(navi widget bash)
thread 'main' panicked at 'failed printing to stdout: Broken pipe (os error 32)', src/libstd/io/stdio.rs:805:9
stack backtrace:
   0:        0x100e8debc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1216a26f3ce3c114
   1:        0x100ea788e - core::fmt::write::ha0ec7ad9e1aa7104
   2:        0x100e8dc49 - std::io::Write::write_fmt::he79f4e513ba146b5
   3:        0x100e84fea - std::panicking::default_hook::{{closure}}::hdf6a192f990c9642
   4:        0x100e84cf5 - std::panicking::default_hook::hc1d0cb86aebc9fbd
   5:        0x100e85658 - std::panicking::rust_panic_with_hook::hbe9b3056eff949a6
   6:        0x100e851f2 - rust_begin_unwind
   7:        0x100e8516b - std::panicking::begin_panic_fmt::hb770b3908b606330
   8:        0x100e7dcd4 - std::io::stdio::_print::ha0a93283413e42a0
   9:        0x100d6caff - navi::handler::handle_config::h67eddfb5fb0f4075
  10:        0x100d365d3 - navi::main::h8037e7d6de60681c
  11:        0x100d3666b - std::rt::lang_start::{{closure}}::h0267afadc1f01a45
  12:        0x100e850b8 - std::panicking::try::do_call::h69374c200cb9b71d
  13:        0x100e9347b - __rust_maybe_catch_panic
  14:        0x100e814f3 - std::rt::lang_start_internal::h892855ab5abc97d0
  15:        0x100d36659 - main

What's the output of navi widget bash? Does it fail with the same error messages?

$ navi widget bash
#!/usr/bin/env bash

__call_navi() {
    local -r result="$(navi --print)"
    local -r linecount="$(echo "$result" | wc -l)"

    if [[ "$linecount" -lt 2 ]]; then
        printf "$result"
        return 0
    fi

    IFS=$'\n'
    local i=1;
    for line in $result; do
        if echo "$line" | grep -q '\\$'; then
            printf "${line::-1} "
        elif [[ "$i" -eq "$linecount" ]]; then
            printf "$line "
        else
            printf "${line}; "
        fi
        i=$((i+1))
    done
}

bind '"\C-g": " \C-b\C-k \C-u`__call_navi`\e\C-e\C-a\C-y\C-h\C-e\e \C-y\ey\C-x\C-x\C-f"'

Do you have zsh or fish? I'd like to validate if this is only happening with bash.
Could you start a zsh shell, for example, and run source <(navi widget zsh)?

Couldn't reproduce the problem with zsh (I don't have fish)
$ zsh
$ zsh --version
zsh 5.3 (x86_64-apple-darwin17.0)
${debian_chroot:+($debian_chroot)}\u@\h \w \$ source <(navi widget zsh)

Unfortunately I'm not able to reproduce the problem with my setup:
$ $0 --version
GNU bash, version 5.0.16(1)-release (x86_64-apple-darwin19.3.0)

I'll try to investigate it but any external help will be appreciated.

In the meantime, you can add the contents from navi widget bash directly into your .bashrc

Thank you @denisidoro I did it, works good with your suggestion :)

Fixed: https://github.com/denisidoro/navi/commit/22c0d0358693c7e579b49eb2a067cc970f3207b8


My suggestions

Great work!
1- Can you check if your design works with PicoQuake firmware?
https://www.tindie.com/products/plab/picoquake-usb-vibration-sensor/
https://github.com/PLab-SI/PicoQuake
It is also a RP2040 with a ICM-42688 over SPI and USB.
2- Would it be possible to add an optional microSD card slot?
3- Why don´t you think on using a standard Feather form factor for your board? I would be interested in using it as a shield for Stratus board with nRF9161 https://www.crowdsupply.com/conexio/conexio-stratus-pro if your board would have a Feather form factor and could be enabled/disabled via EN pin, it would be great for low power IoT.

Yeah, I can include a microSD card slot, but I am pretty sure RP2040 only has one SPI channel so I will have to switch the communication protocol for the IMU to I2C.
And I can design the form factor to be match the Adafruit feather boards.


ModelDataRaw struct part 2

follow up to https://github.com/commaai/openpilot/pull/22544

ready for review, process replay failure is due to us previously logging position std as value directly from the model, but apparently it should have been exp(std) like we do for pose

ready for review, process replay failure is due to us previously logging position std as value directly from the model, but apparently it should have been exp(std) like we do for pose

will be fixed by https://github.com/commaai/openpilot/pull/22593 at which point outputs will match exactly and tests will pass

@HaraldSchafer I think this is good to merge now


kexi: patch error due to Qt 5.13

Motivation for this change
This build was failing in 19.09 #68361
I've fixed the build, but the executable still doesn't run properly for me, giving me:
$ result/bin/kexi-3.2

(process:19064): Gtk-WARNING **: 10:18:21.423: Locale not supported by C library.
	Using the fallback 'C' locale.
Gtk-Message: 10:18:21.456: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:18:21.456: Failed to load module "canberra-gtk-module"
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (8 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 8 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 8 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig (1 1 1 0)
Could not initialize GLX
Aborted (core dumped)

EDIT: apparently this only fails on Nix-on-other-Linux, possibly only with an NVidia graphics card.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @cillianderoiste

backported in 98d67eb2c1b102cc66552228e07c3acf55609eff


StrictMode, Legacy Context API

System information

OS Platform and Distribution:
4.20.7-arch1-1-ARCH
linux 4.20.7.arch1-1

Apollo installed from (npm):
"apollo-boost": "^0.1.23",
"apollo-link-ws": "^1.0.12",
"apollo-upload-client": "^10.0.0",
"react-apollo": "^2.4.1",

ReactDOM.render(<React.StrictMode><App /></React.StrictMode>, document.getElementById('root'));

Warning: Legacy context API has been detected within a strict-mode tree:
    in StrictMode (at src/index.js:8)

Please update the following components: ApolloProvider

Learn more about this warning here:
https://fb.me/react-strict-mode-warnings index.js:1446

wrong repo


Add description on model files and how to test new hardware models

Tried to capture what I've told folks verbally and then some more about testing. But can use a careful read.

I've addressed the review comments in a separate commit @rvs
If those look ok I'll squash the commits.


Convert non-UTF8 emails correctly

Such as https://blade-ruby-lang-04e4ab5bf58c.herokuapp.com/ruby-list/1302.

https://blade.ruby-lang.org/ruby-dev/13859 too.


Add React Transition Group Example

What: Adding a react-transition-group example.

Why: The ability to use additional classname selectors is not necessarily an explicitly documented feature outside of the NavLink example. Even then, people might not realize how to use glamorous together with react-transition-group.

How: Vim.

Checklist:

[x] Documentation
[ ] Tests N/A
[x] Ready to be merged
[x] Added myself to contributors table

Codecov Report

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

@@          Coverage Diff          @@
##           master   #395   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         177    177
  Branches       50     50
=====================================
  Hits          177    177

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 9362388...71d04d3. Read the comment docs.

Of course now that it's merged I'm remembering that I forgot to ask about the TOC for the README.md file. I didn't see a script to run doctoc. Is this handled by CI at some point?

No, it's normally updated automatically. Not sure why it wasn't this time. No worries though...
Actually, if you want your example to reach more people, then you might want to add this example to the website: https://glamorous.rocks/examples/
Add a file here: https://github.com/kentcdodds/glamorous-website/tree/master/pages/examples/content
Require it here: https://github.com/kentcdodds/glamorous-website/blob/master/pages/examples/index.js

Sounds like a plan! I'll submit a PR later today.


Add installation instructions

It is not immediately obvious how to install the package. Since it appears to mostly be a collection of scripts (and not a package per-se), I would guess that simply downloading any of the notebooks would work, but a quick look at https://github.com/WyLyu/UPOsHam/blob/master/run_comparison_coupled.py indicates that a significant number of extra dependencies are required, and that the scripts tend depend on each other.
There should be full installation instructions (probably somewhere in the README), including (minimally) how to install the Python dependencies (a requirements.txt or similar), and how to get the scripts themselves onto my computer in a consistent way (git clone? A GitHub release tarball?).
(Part of https://github.com/openjournals/joss-reviews/issues/1684)

We have added installation instruction and module version numbers to requirements.

Could you also add an example pip install command, probably something like "cd into the directory that the git clone created and run pip install -r requirements.txt"? Just to help people who don't know much about Python get it working.
LGTM otherwise!

Great, that helped. Done.


Does random data sampling occur when subsample is set to 1 (the default)?

When the parameter "subsample" is set to 1 (as default), does xgboost still do random sampling (with replacement) but the sample size is just the same as that of the entire dataset? Or there's simply no random sampling, i.e., the original dataset is used in every iteration?
Thanks.

No random sampling when set to 1.
If you want to use this parameter don't forget to increase the number of rounds accordingly.
Otherwise not all data would be seen by the algorithms. Or not enough times.
If I answered your question please close this issue.
If you have other questions we have a dedicated forum where to discuss.
Kind regards,
Michaël


added CryptoTracker #541

Pull Request for PyVerse 💡
Requesting to submit a pull request to the PyVerse repository.

Issue Title
Please enter the title of the issue related to your pull request.
Enter the issue title here. CryptoTracker

[x] I have provided the issue title.

Info about the Related Issue
What's the goal of the project?   To give you clear and concise data of cryptos
Describe the aim of the project.      List chart of data of crypto

[x] I have described the aim of the project.

Name
Please mention your name.  CryptoTracker
Enter your name here.  Mani

[x] I have provided my name.

GitHub ID
Please mention your GitHub ID.
Enter your GitHub ID here.  devxMani

[x] I have provided my GitHub ID.

Email ID
Please mention your email ID for further communication.
Enter your email ID here.

[ ] I have provided my email ID.

Identify Yourself
Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
Enter your participant role here.  GSSOC ext 24

[x] I have mentioned my participant role.

Closes
Enter the issue number that will be closed through this PR.
Closes: #issue-number  #541

[x] I have provided the issue number.

[ ] I have described my changes.

Type of Change
Select the type of change:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Describe how your changes have been tested.
Describe your testing process here.

[ ] I have described my testing process.

Checklist
Please confirm the following:

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

@devxMani sorry but this PR will not going to be merged as we need to stick strictly to python based project, you can add some python scripts that are useful in the project. For now I am closing this one.


use API to add and delete book

In this pull request, the followings are done:

Use thunk for making API calls.
Fetch book list from Bookstore API on Books page load
Refactor add book and remove book features to persist your changes in the server.

Hello @jasonfelice can you mention where are the redundant sections in the Readme file?

Thank you for your help!


Missing TypeScript types in latest version

This library was recently updated to be compatible with the latest versions of lowdb. As lowdb's API has changed, I believe the work that @KeithBrown39423 did to add the type declaration is no longer compatible in this version (at least, I was getting TypeScript errors).
I'm not experienced enough with TypeScript to update the declaration file. In the meantime, I removed the now incorrect index.d.ts and the types property in package.json.

I'll can work on fixing this later this week.

After reviewing the changes made, the typescript code shouldn't change. Everything should still work the

I tested this and everything is working


about the extrinsicRot and imu noise

       Thanks for your great work！I have some question！  I am running dataset D and F using lio-sam for comparasion,but I can not set the params well. would you mind telling me how to set the parameter I list below.

=========================================================
imuAccNoise:
imuGyrNoise:
imuAccBiasN:
imuGyrBiasN:
imuGravity:
imuRPYWeight:
Extrinsics: T_lb (lidar -> imu)
extrinsicTrans: [                  ]
extrinsicRot: [                ]
extrinsicRPY: [                  ]
             I tried so hard to set it,but failed!Thanks again！

@Guo-lf  for imu we use VN100 so probably it's worth to explore the manual/documentation unless @BenjaminMorrell or @LossOfHumanIdentity  have written down these parameters one day?


setting values for Location type field

How to set value for Location type field?
Trying to set value as { 'DisplayName': 'full address', 'Address':{ 'State':'state value', 'City':'city value', 'PostalCode':'zip value', 'Street':'street value'}} . It is setting the value however I am getting error format-default : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Also in Edit form, it doesn't show the value.
Please suggest

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

ID: b8c4c313-d931-b106-36e7-ae44cfb2e238
Version Independent ID: a1969a78-7325-8946-c27f-8320b7bbed75
Content: Add-PnPListItem (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPListItem.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

@officedocsbot assign @yogkumgit

Hi,
I could resolve format-default error, however still struggling to find proper way add/edit values to Location Type field so that it loads correctly in Edit form

Hello @sachindekate Sachin, how are you ?
Thanks for your feedback.
I need to kindly redirect you to open PnP cmdlets issues here a member of the PnP community will handle your request there.
Thank you!

This blog post helped me to form JSON in right format to add/update Location type field.


Adds proxy for Provider mode backend in ConsolePlugin

Adds proxy for console to connect to the token generation server. This is required for Provider mode on-boarding feature.

Also add description to the PR

/test odf-operator-e2e-aws

/override ci/prow/odf-operator-e2e-aws

/cherry-pick fusion-hci-4.14

/cherry-pick release-4.15

/cherry-pick release-4.14


fill-region hangs

Buffer:
package pkg

Run:
(fill-region 1 5)
Observed behavior:
fill-region doesn't return.

Bisected to fbf25445b22a50ec238fa5fd3c1d3227f78a0f2f
/cc @muirdm

Early debugging suggests that fill-forward-paragraph-function is supposed to move point, but go--fill-forward-paragraph isn't doing it.

Assigning this to myself for now. I'm not happy with all the limitations and hacks involved in our fill-paragraph handling.


Move to Tonel Format and use a src directory

It's very confusing that Calypso isn't rooted in a src directory - just spent hours trying to add the project to iceberg and discovered that my timeout issue was actually because Calpyso is all in a flat root directory. Would be useful if it could follow the emerging convention of src.
Also, might be helpful to move to Tonel format now its stabilised.

+1 for the Tonel format because I work on windows and I cannot clone Calypso easily on Windows because of the long paths.

I will move this priority.
This is important :)

Ok. I'm working on this.
Real problem with this is we need to also convert dependences. So I will start one by one.


isZoomed() Not working

I tried out the:
public var isZoomed: Bool {
    return UIScreen.main().scale < UIScreen.main().nativeScale
}

But it will never return true even if I have my device on zoomed.
My device is a real iphone 6 Plus/iOS 10.1

Solution:
if(UIScreen.main.bounds.size.height == 667.0 && UIScreen.main.nativeScale < UIScreen.main.scale){
            print("iphone 6 plus")
        } else {
            print("none zoomed 6 plus")
        }

        if (UIScreen.main.bounds.size.height == 568.0 && UIScreen.main.nativeScale > UIScreen.main.scale) {
            print("zoomed iphone 6")
        } else {
            print("none zoomed")
        }

Hi @kiwo12345 , thank you so much for taking the time to report and actually finding a workaround for the issue :) 💯 However, I'm really not keen on hardcoding display heights :( Do you by any chance own an iPhone 5, SE, 6 or 7 (not the Plus version)? I only have the 6 Plus, 6s and 7 Plus (and an iPad Pro 12.9") for me to test I found the following:
print(UIScreen.main.nativeBounds)
print(UIScreen.main.bounds)
print(UIScreen.main.scale)
print(UIScreen.main.nativeScale)

iPhone 6/7 Plus not zoomed:

(0.0, 0.0, 1080.0, 1920.0)
(0.0, 0.0, 414.0, 736.0)
3.0
2.60869565217391

iPhone 6/7 Plus zoomed:

(0.0, 0.0, 1080.0, 1920.0)
(0.0, 0.0, 375.0, 667.0)
3.0
2.88

iPhone 6s not zoomed:

(0.0, 0.0, 750.0, 1334.0)
(0.0, 0.0, 375.0, 667.0)
2.0
2.0

iPhone 6s zoomed:

(0.0, 0.0, 750.0, 1334.0)
(0.0, 0.0, 320.0, 568.0)
2.0
2.34375

iPad Pro not zoomed:

(0.0, 0.0, 2048.0, 2732.0)
(0.0, 0.0, 1024.0, 1366.0)
2.0
2.0

iPad Pro zoomed:

(0.0, 0.0, 2048.0, 2732.0)
(0.0, 0.0, 768.0, 1024.0)
2.0
2.66666666666667

So it seems that for 2x devices we can say that if the native scale is larger than the current scale, the device is zoomed (which is what the current code in the framework does).
However, on 3x devices we need to differentiate. I'm currently thinking about something along those lines:
Pseudocode:
if Int(UIScreen.main.scale.rounded()) == 3 {
  // Plus-sized
  return UIScreen.main.nativeScale > 2.7
} else {
  return UIScreen.main.nativeScale > UIScreen.main.scale
}

which also includes a quite arbitrary hardcoded magic number :( I don't know what's better tbh, quick research online showed that both methods (yours and mine) are used.

Hey @dennisweissmann I think I have a 5s and 5 SE that I can check if you want to. But yeah I agree,  not the best to have a hardcoded value : /

Hi guys, it seems the line
return UIScreen.main.nativeScale > 2.7
no longer works on the Simulator 12.4. Since the UIScreen.main.nativeScale is always 3 for non-zoomed display.
Does it support simulators?
I had to modify it to:
return UIScreen.main.nativeScale > 2.7 && UIScreen.main.nativeScale < 3
I can create a PR if needed. Thanks.
@dennisweissmann

@vvit
Feel free to create a pull request for this issue.
(Dennis isn't working on this project anymore and he has handed it off to @denisenepraunig)

I see, thanks.
The problem is I need to check it on a real 'Plus' device which I don't have.

@vvit I will check on my old 6s Plus for you when you’ve prepared the PR. ;)

@Zandor300 thanks, pls check https://github.com/devicekit/DeviceKit/pull/195


Exposed embedded key existence in HalResource, added a test to check …

Provide a narrative description of what you are trying to accomplish:

[x] Are you fixing a bug?

[x] Detail how the bug is invoked currently.
[x] Detail the original, incorrect behavior.
[x] Detail the new, expected behavior.
[x] Base your feature on the master branch, and submit against that branch.
[x] Add a regression test that demonstrates the bug, and proves the fix.
[ ] Add a CHANGELOG.md entry for the fix.

See https://github.com/zendframework/zend-expressive-hal/issues/52 for details

This repository has been closed and moved to mezzio/mezzio-hal; a new issue has been opened at https://github.com/mezzio/mezzio-hal/issues/3.

This repository has been moved to mezzio/mezzio-hal. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:

Squash all commits in your branch (git rebase -i origin/{branch})
Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
Run the laminas/laminas-migration tool on the code.
Clone mezzio/mezzio-hal to another directory.
Copy the files from the second bullet point to the clone of mezzio/mezzio-hal.
In your clone of mezzio/mezzio-hal, commit the files, push to your fork, and open the new PR.
We will be providing tooling via laminas/laminas-migration soon to help  automate the process.


Distribution cleanup

Removed generated files from source control
Added entry to .gitignore for 'dist'
'dist' folder explicitly included in package.json

No more clutter when doing a commit! If you still need others to access the built artifacts, unpkg.com is an option.

So right now when you include this library within another library, it is looking to load the distributed files from the dist folder. This can be seen in the package.json. Will this still work? I suppose it will since it seems npm install ng2-formio will pull in just the distribution right?
This looks good to me and I really appreciate your contributions!

Yeah, just tested this and it looks great. Thanks again.

Thanks for the merge, glad to help out. :)
I've tested it within my small toy application depending on ng2-formio, and it works so far. (As long as nothing outside of dist is actually needed, it will.) Also, you can use npm pack to generate/check the package locally. Or you can do npm install /path-to-local-checkout/ng2-formio, which will also only install the files that would go into the package (that's what I've been using for testing).


OS X Support

Just wanted to make a cover-all issue for this. Known dependencies include:
https://github.com/tomaka/cpal/issues/52
Latest coreaudio-rs (>=0.5.0) should have no problems supporting this at this point, but we need to put in the hours to actually fix everything up again :)

cc @emoon

I literally just tried to build rodio on OS X forgetting that it depends on this crate and that we still haven't fixed this yet :P

@yupferris If you want to try updating CPAL to the latest coreaudio-rs i'd be happy to offer any help if you need it or get stuck :+1:

thanks :) I am interested in giving it a shot, but I won't be able to dig that deep until at least next week unfortunately.

For everyone interested: please take a look at PR #114

cc @mitchmindtree

It looks like this is solved now, is it not?

I think there is enough minimum support for macOS now in both the latest published version and master to close this, although there are other features that need work. Both examples work great in 10.12.

I have been using Rodio (that uses cpal) a bit on my Mac and it seems to work great!

There's still https://github.com/tomaka/cpal/issues/148 which is certainly related but may be specific to rodio (see https://github.com/tomaka/rodio/issues/94). However since that's contained in its own open ticket(s) already, I think it's safe to close this.


Searches on image produced AttributeError on license_url in production

Description

A recent deployment of v2.5.1 to production resulted in failures for all image searches. This included image/ searches and searches for related images. We were not able to replicate this in staging, and https://api-dev.openverse.engineering is currently running v2.5.1 without issue.
KeyError: 'license_url'
  File "elasticsearch_dsl/utils.py", line 159, in __getattr__
    return self.__getitem__(attr_name)
  File "elasticsearch_dsl/utils.py", line 178, in __getitem__
    return _wrap(self._d_[key])

AttributeError: 'Hit' object has no attribute 'license_url'
  File "rest_framework/fields.py", line 457, in get_attribute
    return get_attribute(instance, self.source_attrs)
  File "rest_framework/fields.py", line 97, in get_attribute
    instance = getattr(instance, attr)
  File "elasticsearch_dsl/utils.py", line 161, in __getattr__
    raise AttributeError(

AttributeError: Got AttributeError when attempting to get a value for field `license_url` on serializer `ImageSerializer`.
The serializer field might be named incorrectly and not match any attribute or key on the `Hit` instance.
Original exception text was: 'Hit' object has no attribute 'license_url'.
  File "django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "rest_framework/viewsets.py", line 125, in view
    return self.dispatch(request, *args, **kwargs)
  File "rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
  File "rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "django/utils/decorators.py", line 46, in _wrapper
    return bound_method(*args, **kwargs)
  File "catalog/api/views/media_views.py", line 84, in list
    return self.get_paginated_response(serializer.data)
  File "rest_framework/serializers.py", line 768, in data
    ret = super().data
  File "rest_framework/serializers.py", line 253, in data
    self._data = self.to_representation(self.instance)
  File "rest_framework/serializers.py", line 686, in to_representation
    return [
  File "rest_framework/serializers.py", line 687, in <listcomp>
    self.child.to_representation(item) for item in iterable
  File "catalog/api/serializers/media_serializers.py", line 378, in to_representation
    repr = super().to_representation(*args, **kwargs)
  File "rest_framework/serializers.py", line 509, in to_representation
    attribute = field.get_attribute(instance)
  File "rest_framework/fields.py", line 490, in get_attribute
    raise type(exc)(msg)

Additional context

Sentry alert: https://sentry.io/share/issue/06f2197af79f4e4e942668fcc3a94eae/
Resolution

[ ] 🙋 I would be interested in resolving this bug.

This should be fixed by #696. @AetherUnbound can you try to reproduce this on main again?

I can confirm this is resolved (tested with commit 0782bce275e91aa95d3b533a547a4ec3e9763ca1)! Here were the steps I took to reproduce:

Remove the meta_data field from the first row of sample_data/sample_images.csv
just recreate && just init
Visit http://localhost:8000/v1/images/?q=dress (the first record is returned when searching for "dress")

On v2.5.1 this will fail with an AttributeError as experienced in production. As of the aforementioned commit, the results get returned (and the first entry has a null license_url field).


drake-external-examples CI as a Drake PR hook

Or some form of it - the external add project would probably be sufficient.
EDIT (eric): Helps remove delay when checking build interface + consumed APIs.

My worldview is that jobs that fail nightly get promoted to continuous, and jobs that fail continuous get promoted to pre-merge.  Jobs that don't fail can slide back to be run less frequently.
My estimate is that drake-external-examples nightly build fails around once per month, and about half of those are infrastructure issues unrelated to Drake commits.
Therefore, I think that missing this pre-merge integration job is relatively painless, whereas adding it would be somewhat painful.
@jamiesnape If you agree, then perhaps we can just close this request as "not worth it anytime soon" and reopen if it becomes acutely painful.

I agree. To be honest, I am not sure it would ever be worth it, given the scope of this repo.

I might be convenient to have a bot command to opt-in to it when changing Drake's build system or prereqs, but yeah probably never as pre-merge by default.


[TASK] Make the gadget-sdk dep a single line

Please make this a single line its inconsistent and I don't know why at this point.
[dependencies.gadget-sdk]
version = "0.4.0"
default-features = false
features = ["getrandom"]

Ah, I believe that was the case before we published it to crates. We used git urls and sometimes local paths. It was a bit long to be in one line.
But sure, since now we use the latest version from crates, we can make it a single line.


A way to add extra domains

Could you provide a way to add some extra domains?
As there are a few new ones which aren't on the list:
@zain.site
@maileme101.com
@stromox.com
@9me.site
@zainmax.net
@dr69.site
Thanks

Thanks for your help!
Can you provide some kind of page where this domains are public available for disposable mails?

https://www.temp-mail.org/option/change
Will add parser for that domain to get new domains automatically.

API call in JSON format:
http://api.temp-mail.ru/request/domains/format/json/

@HenkerX64: thanks, but already implemented their API :-)
They do not return all domains right now + on API documentation page: "Note: New API version is coming soon."


Nearly 300 warnings when compiling pdb.exe

Describe the bug
Nearly 300 warnings are shown when compiling pdb.exe of Ghidra in Visual Studio 2019. Of course, not all warnings are actual bugs, it's still good engineering practice to kill all of them and prevent future bugs.
To Reproduce
Steps to reproduce the behavior:

Clone Ghidra and open it in Visual Studio 2019 Enterprise
Go to Ghidra Source\Repos\ghidra\Ghidra\Features\PDB\src\pdb
Double-click the pdb.sln
Change configuration manager to Release x64 and click rebuild.
~300 warnings show up.

Expected behavior
0 warning.
Environment (please complete the following information):

OS: Windows 10 19H1
Java Version: 12.0
Ghidra Version: 9.0.2

@mcfi - excellent!  Thanks for the lead/suggestion!

Wouldn't it be possible as well to make pdb.exe cross-platform as well, since MS open-sourced components of DIA related to CV and PDB?

Wouldn't it be possible as well to make pdb.exe cross-platform as well, since MS open-sourced components of DIA related to CV and PDB?

Excellent suggestion!


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.13 to before v5.15.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=726218fdc22c9b52f16e1228499a804bbf262a20",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1ac287b7b61520d00255b4ec8c8e2dd5f0277169"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "726218fdc22c9b52f16e1228499a804bbf262a20",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "1ac287b7b61520d00255b4ec8c8e2dd5f0277169",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "netfs: Fix lockdep warning from taking sb_writers whilst holding mmap_lock\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.10 by commit 1ac287b7b61520d00255b4ec8c8e2dd5f0277169, it was introduced in version v5.13 by commit 726218fdc22c9b52f16e1228499a804bbf262a20. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002721


support \r\n lines sep

I've moved reader updates from #15  into separate PR

Could you explain, please, what problem are you solving? \r does not affect json parsing.

It is still about windows :-)
You're right, JSONs are fine. But records that are not valid json has '\r' at the end.
For instance, one of the behavioral tests: fake-server.sh prints three records. If we try to do the same using win cmd:
>powershell .\srv.ps1 | go run .\cmd\...
2024-12-02T12:00:00-05:00 [INFO] OK source.file=/Users/slog/main.go source.function=main.main source.line=14 user=1
INVALID JSON: "Broken raw error message\r"
2024-12-02T12:05:00-05:00 [INFO] OK source.file=/Users/slog/main.go source.function=main.main source.line=14 user=2

Look at the end of 'INVALID JSON...' record.
After this PR pplog will print:
>powershell .\srv.ps1 | go run .\cmd\...
2024-12-02T12:00:00-05:00 [INFO] OK source.file=/Users/slog/main.go source.function=main.main source.line=14 user=1
INVALID JSON: "Broken raw error message"
2024-12-02T12:05:00-05:00 [INFO] OK source.file=/Users/slog/main.go source.function=main.main source.line=14 user=2

Hmmm... It's understandable... However, as linux user I prefer to see such strange characters...
What do you think about to delegate it to templating?
Haw about create template function and let everyone use it or not by their own choice? Like that
PPLOG_ERRLINE='INVALID: {{ .TEXT | trimSpaces | printf "%q" }}' go run ./cmd/pplog/... echo -e 'asdf\r'

INVALID: "asdf"

It's templating! unlimited possibilities for everyone :-) (it wont work yet, this function does not exist)

How about this way? #17

The more I look at my PR (#17), the more I like it :-) I'll merge it and I would recommend to use templates to solve such problems.

The more I look at my PR (#17), the more I like it :-) I'll merge it and I would recommend to use templates to solve such problems.

Great job!


Update scala-library to 2.13.10

Updates org.scala-lang:scala-library from 2.13.8 to 2.13.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.13.8).
You might want to review and update them manually.
.github/workflows/ci.yaml
.github/workflows/it.yaml
.github/workflows/release.yaml

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala-library" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

@amir any idea why the integration tests are not running?

@sirocchj no idea, removing and adding the tag triggered them


[BUG]: running devproxy --version with DevToolsPlugin configured start the browser

Description
running devproxy --version with DevToolsPlugin configured start the browser but I think should just present the version
Expected behaviour
running devproxy --version with DevToolsPlugin should just present the version without starting the browser
Actual behaviour
starts the browser and presents this

Steps to reproduce

install Dev Proxy
Configure DevToolsPlugin following the guide for Edge as browser
run devproxy --version

Dev Proxy Version
0.13.0
Operating system (environment)
Windows
Shell
PowerShell
Configuration file
{
"plugins": [
{
"name": "DevToolsPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "devTools"
},
{
"name": "LatencyPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "latencyPlugin"
},
{
"name": "RetryAfterPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "GraphSelectGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/"
]
},
{
"name": "ODSPSearchGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/"
]
},
{
"name": "GraphBetaSupportGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/beta/",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/beta/"
]
},
{
"name": "GraphSdkGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/"
]
},
{
"name": "ODataPagingGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "GraphClientRequestIdGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/"
]
},
{
"name": "CachingGuidancePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "cachingGuidance"
},
{
"name": "RateLimitingPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "rateLimiting"
},
{
"name": "MockResponsePlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "mocksPlugin"
},
{
"name": "GraphMockResponsePlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "mocksPlugin"
},
{
"name": "GraphRandomErrorPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "graphRandomErrorsPlugin"
},
{
"name": "ExecutionSummaryPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "executionSummaryPlugin"
},
{
"name": "MinimalPermissionsPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "minimalPermissionsPlugin"
},
{
"name": "MinimalPermissionsGuidancePlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "MockGeneratorPlugin",
"enabled": false,
"pluginPath": "plugins\dev-proxy-plugins.dll"
},
{
"name": "DevToolsPlugin",
"enabled": true,
"pluginPath": "plugins\dev-proxy-plugins.dll",
"configSection": "devTools"
}
],
"devTools": {
"preferredBrowser": "Edge"
},
"urlsToWatch": [
"https://graph.microsoft.com/v1.0/",
"https://graph.microsoft.com/beta/",
"https://graph.microsoft.us/v1.0/",
"https://graph.microsoft.us/beta/",
"https://dod-graph.microsoft.us/v1.0/",
"https://dod-graph.microsoft.us/beta/",
"https://microsoftgraph.chinacloudapi.cn/v1.0/",
"https://microsoftgraph.chinacloudapi.cn/beta/",
"https://.sharepoint./_api/",
"https://.sharepoint./_vti_bin/",
"https://.sharepoint-df./_api/",
"https://.sharepoint-df./_vti_bin/"
],
"mocksPlugin": {
"mocksFile": "responses.json"
},
"graphRandomErrorsPlugin": {
"allowedErrors": [ 429, 500, 502, 503, 504, 507 ]
},
"executionSummaryPlugin": {
"groupBy": "url"
},
"minimalPermissionsPlugin": {
"type": "delegated"
},
"cachingGuidance": {
"cacheThresholdSeconds": 5
},
"latencyPlugin": {
"minMs": 200,
"maxMs": 10000
},
"rateLimiting": {
"costPerRequest": 2,
"rateLimit": 120,
"retryAfterSeconds": 5
},
"rate": 50,
"labelMode": "text",
"logLevel": "info"
}
Additional Info
No response

Ye, and seems like a easy fix. To you accept help from the community? I would gladly help out 🙂

Actually, this is wider than just the DevToolsPlugin it also occurs when you have the GenericRandomError plugin enabled. See below where I have both enabled.

Good shout @waldekmastykarz
Subcommands do have the same issue

@garrytrinder, @waldekmastykarz
when I have the DevToolsPlugin configured and running the devproxy --help also starts the browser 🙂

seems like a very similar case. @garrytrinder would you be so kind to also double check that? Do you want a separate issue for that or we could track it here as well? Seems like a similar behavior to me and I do not whish to create a mess in the issue list 🙂

I think we captured that already. Also the fact that plugins run on subcommands while they shouldn't. We're going to fix it asap. Thank you for reporting it


Remove Google Gears

Google Gears was deprecated over a year ago and has clear successors in HTML5 standards. Can it be pulled out of OpenLayers?

Do you also suggest removing Protocol.SQL.Gears?
Anyway, I have no problem pulling out gears_init.js out of OpenLayers. I think it would discourage people to use it, which is a good thing I think.

In OL 3 we can ditch gears.  But we obviously can't remove the gears protocol while maintaining backwards compatibility.

Moved to deprecated.js, closing this issue.


Add a manually curated seed to pull in terms from modules

This new system allows you now to add some terms to seed file, (imports/manual_seed.txt), which are pulled in when refreshing modules.

Thank you @matentzn. I was able to add the NCIT terms I needed. Thanks!


Java record with jakarta.validation.constraints producing unwanted $ref

It seems that the plugin is producing an unwanted $ref when using Java record with jakarta.validation.constraints.
private record Credentials(
        @NotEmpty
        String username,
        @NotEmpty
        String password) {
}

I guess it'll fail with any annotation on record's property. I'll try to take a look at it tomorrow.

It'll be available in the next release, but can already use snapshot build to get this fix :)


Update

For HacktoberFest

@ajrielrm   thnx for contributing , try this year aswell with updated repo and make sure to follow me and star this repo so that you don't miss updates regarding the new changes and issues during Hacktoberfest 2020.


add delay to .send

https://github.com/huashengdun/webssh/blob/master/webssh/static/js/main.js#L447
  wssh.send = function(data) {
I would like a delay between characters so it looks like someone typing.
So add an optional parameter of delay (in ms because  setTimeout wants ms)
function(data,delay=0)
for each c in data
  sock.send(c);
  something something setTimeout(resolve, delay))

I found this here:
https://stackoverflow.com/questions/951021/what-is-the-javascript-version-of-sleep

This seems like something that that should be coded by someone who knows what they are doing.  Which is not me.
I will try to find someone to do this if I get some encouragement, like t seems like something that would be merged if done well.


[Directives] Modifiers for v-bind

In the todo list, I noticed that the modifiers for v-bind are not being checked. If no one's already on it, I'd be willing to try and help implement it.

.prop and .attr are not implemented yet

thanks for sharing! then I'll try to implement them


Buttons don't work in dev platform profile

This issue is a: (mark with an x)

[x] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
None of the buttons ("change name", "change password", "close account") work on the profile page of the dev portal...
this is the URL template: .developer.azure-api.net/profile
Steps to reproduce

Navigate to profile page
Click any of the buttons :)

signUpSignInRequest <- found this can someone explain why? :)


remove response_json helper

Rails 5 gives us a new response.parsed_body method to access parses requests body's based on their content type. This seems to make this helper less necessary and less conventional—it seems like we should leverage parsed_bodydirectly instead.
NOTE: In larger projects leveraging this template this may break a lot of specs, but a quick find/replace should immediately fix them.

Note that a recent commit already changed this helper method to use response.parsed_body under the hood, so this is just removing the unnecessary abstraction.


Rename state to freight

A while back, we talked about how the term state was quite generic and overloaded word. Keeping with the shipping/cargo/transport theme, we agreed that "Freight "was a good substitute.

freight
2 a : goods to be shipped : CARGO
The freight arrived by steamboat.

I think we're at the point where we need to make this switch. It'll just be more and more painful the further off we put this.

I will handle this on the back end, but I'll be doing at a time when I expect it will be least disruptive.
Assigning this collectively to myself (back end), @rbreeze and @rpelczar (front end).


Access to the snapshot is obsolete

The link http://oss.jfrog.org/oss-snapshot-local/io/requery/requery for the snapshot is obsolete out to date.
The last snapshot is dated March 9 2016.
Is there another link?

The snapshot was updated to the contents of the master. Additionally there will be another beta update published soon


bump chart to v0.27.1

same as https://github.com/kubernetes-sigs/descheduler/pull/1160 but target is release-1.27

/retest


502: Bad Gateway after wiz-config

Hi, thanks for this NR contribution. I just picked up my first WiZ bulb and excited to use it in NR. However, when I create a new wiz-config and enter my bulb IP, I get the dreaded "502: Bad Gateway". Then the only way to recover is to restore a full backup. It seems to happen as soon as I fill in the wiz-config because then I add a couple of inject nodes to test on/off and the inject nodes won't even respond. I suspect I'm doing something wrong in the wiz-config. Can you or anyone share documentation of how to configure wiz-config or a working flow so that I can compare with what I'm trying?

Hello
With the wiz-conifg I have configured eth0 as interface.
With the wiz-device as IP the IP of the lamp, example <IP_ADDRESS>.
In the background the wiz-local-control from https://gitlab.com/wizlighting/wiz-local-control is used. My node is only a wrapper around this library, if necessary you can ask there.
Otherwise please post the log of the Node-RED here.
Regards Reto

Hi, for "Interface" I just used the name of my wireless network. When I had two config nodes, even if I wasn't using one of them, everything crashed (and became non-responsive as you describe). I had to run node-red in safe mode ("node-red --safe" in windows cmd window) in order to disable the second config in my drop-down menu. That worked, so then I deleted it entirely. Hope this helps

Good tip on node-red in safe mode - I didn't know about that. I'll have to find the command for Debian.


HTTP Client 5xx error handling

The client should check for any failed 5xx requests and queue the request back for a retry. This should be configurable when adding the request to the queue.

Since the client will have onError callback, it will pass the response to the caller and let it decide.


sample1_toassemble_bc.fa failed: 9 at /usr/local/bin/run-trust4 line 54

Hello,
I have 10X 3' scRNA-seq data, and I have been running TRUST4 on each sample using this command in docker:
run-trust4 -b .sample1/outs/possorted_genome_bam.bam --barcode CB -t 8 -f ./TRUST4/hg38_bcrtcr.fa --ref ./TRUST4/human_IMGT+C.fa -o sample1 --od ./TRUST4/sample1_wbarcode
It worked for some samples, but others I get this error:
system /usr/local/bin/trust4  -t 8 -f ./TRUST4/hg38_bcrtcr.fa -o ./TRUST4/sample1_wbarcode/sample1 -u ./TRUST4/sample1_wbarcode/sample1_toassemble.fq --barcode ./TRUST4/MGUS1_wbarcode/sample1_toassemble_bc.fa failed: 9 at /usr/local/bin/run-trust4 line 54.
I'm not sure what "failed: 9 at /usr/local/bin/run-trust4 line 54" stands for.
Looking forward to your advice,
Raghad

Could you please show me the full error message? It is strange that the sample1_toassemble.fq and sample_toassemble_bc.fa are in two different folders, which I guess you modified the sample id when posting the issue on github. Could you please also show me the first few lines of toassemble.fq and toassemble_bc.fa files? Thank you.

Hi,
You are correct, they are in the same folder but don't seem like it because I mis-edited the paths for the post.
This is the error line:
[Tue Oct 24 11:11:21 2023] Read in and count kmers for 122700000 reads. system /usr/local/bin/trust4  -t 8 -f ./TRUST4/hg38_bcrtcr.fa -o ./TRUST4/MGUS1_wbarcode/MGUS1 -u ./TRUST4/MGUS1_wbarcode/MGUS1_toassemble.fq --barcode ./TRUST4/MGUS1_wbarcode/MGUS1_toassemble_bc.fa failed: 9 at /usr/local/bin/run-trust4 line 54.
This is the first 20 lines of toassemble.fq:
head -n 20 MGUS1_toassemble.fq @VH00461:29:AAANNNVHV:2:2213:31770:27447 GTAAAACTCTAGAAAATCTGCAAAAATCATGCAAAGAAAATCATGTAAAAATCATGATCTTTACTTAGGCACTTACAGGTGAAATGACGA + CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC;CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC @VH00461:29:AAANNNVHV:1:2206:40253:48763 CAGGCTGGAGTGCAGTGGCGTGATCTCGGCTCACTGCAACCTCGGCCTGGGCAACAGAGGGAGACTCCGTCTCGAAAAAAAAAAAAAAAA + CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC @VH00461:29:AAANNNVHV:2:2614:75284:20784 GGCTGAGGCGGGTGGATCACCAGAGGTCAGGAGTTTGAGACCAGCCTGACCAGTATGATGAAACCCCATCTCTACTAAAAATACAAAAAT + CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC;CCCCCCCCCCCCCCCCCCCCCCCCCCC;CCCCCCCCCCCCCCCCCCCCCCCCCCCC @VH00461:29:AAANNNVHV:2:1501:52353:1833 CTTCCCAAAGTGCTGGGGCAAGCGGATCACGAGGTCAAGTGTTTGAGACCAGCCTGGCCAATATGGTGAAACCCCATCTCTACTAAAAAA + CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC;CCCCCCCCCCCCCCCCCCCCCC;CCCCCCCCCCCCCCCCCCCCCCCCCCCCC @VH00461:29:AAANNNVHV:1:1502:23912:50562 AAGCAGTGGTATCAACGCAGAGTACATGGGGTACTGTCACTCTGTTGACAGTAATAAGTTGCAAAATCTTCAGGCTGCAGGCTGCGGATG + C;CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC-CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
and the first 20 lines of toassemble_bc.fq:
`head -n 20 MGUS1_toassemble_bc.fa

VH00461:29:AAANNNVHV:2:2213:31770:27447
CTCGCTCCATATTGAC-1
VH00461:29:AAANNNVHV:1:2206:40253:48763
GAGGCAAGTCCTTTAA-1
VH00461:29:AAANNNVHV:2:2614:75284:20784
TGGTCAGTCCCTCTAA-1
VH00461:29:AAANNNVHV:2:1501:52353:1833
GTCCGTAAGTCGCAAT-1
VH00461:29:AAANNNVHV:1:1502:23912:50562
TGGCCAATCATCCTAT-1
VH00461:29:AAANNNVHV:1:2602:69812:40794
CTCACACTCATTAGCA-1
VH00461:29:AAANNNVHV:1:2602:74167:39279
CTCACACTCATTAGCA-1
VH00461:29:AAANNNVHV:1:2602:69982:41645
missing_barcode
VH00461:29:AAANNNVHV:1:1305:70626:21693
GCTATAGGTGGTTATG-1
VH00461:29:AAANNNVHV:1:1306:25881:7588
TGAGGTGCAATTAGCT-1`

Best,
Raghad

It seems you have a massive number of candidate reads for this sample, at least 122,700,000. It would take a lot of memory to store the reads and k-mer count, so I guess the system killed TRUST4 for the memory constraints on your system. It is strange to have so many candidate reads from TCR region, and I tried to to use fastq-extractor on the first reads and neither of them should be the candidate read. Could you please show me your full command of running TRUST4 and maybe use "samtools view" and grep to show the alignment information for the first two reads from the toassemble file? Thank you.

Hi again,
Sorry for the late reply but I think I figured it out: I had the memory limit for the docker set for 50G and apparently that was not enough. I raised the memory to 150G and it is working smoothly now. Thank you for your cooperation!!!

It's still strange that you got this amount of the candidate reads. Could you please grep VH00461:29:AAANNNVHV:2:2213:31770:27447 in your BAM file to see where it is mapped to? Thank you.


How did you generate the languages picture?

What software was used to generate the languages doughnut chart?

@kaarthiksundar I used Amcharts to generate the donut chart. This is something I would really like to change, and instead generate it with LaTeX. Any suggestions / code contributions are welcome!

I think it is posssible to do it in Tikz. Here is example

@HiTuX I welcome a pull request!


Clarify relationship between docs and specs

Based on this internal discussion:

In their current state, the specs should probably not be documented at all.

This is probably obsolete soon as we are trying to work specs into the documentation.


fix issue 1285

This catches a case (see issue #1285)  where in genExpandedNodeAndParentNames3 the for loop code has variables not present in BUGSdecl$replacementsEnv.

The PR also has a couple very minor things that I had meant to commit directly to devel.


version bump. fixes vue namespace error in declaration file

This resolves an error in an earlier version of vue-class-component's declaration file.
'Vue' only refers to a type, but is being used as a namespace here

Merged.

Cheers!

can you please publish to npm

Test are broken. I will check it.