[Bug]: Minecraft does not use persist directory, saving everything in AppData

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
minecraft
Expected/Current Behaviour
Minecraft launcher has --workDir argument that can be used to override directory used to save all the files, including account and profile data, and installations themselves. Minecraft package in this repository does not make use of that, making the package save everything in %AppData%\.minecraft.
While this may be an expected behaviour with normal installation of Minecraft launcher, most scoop packages are generally expected to persist such data in the special persist directory whenever possible. Which something like prismlauncher does.
Steps to Reproduce
PS> scoop install games/minecraft
Scoop was updated successfully!
WARN  This is a nightly version. Downloaded files won't be verified.
Installing 'minecraft' (nightly-20231211) [64bit] from games bucket
Minecraft.exe (3,2 MB) [======================================================================================] 100%
Linking ~\scoop\apps\minecraft\current => ~\scoop\apps\minecraft\nightly-20231211
Creating shim for 'Minecraft'.
Creating shortcut for Minecraft (Minecraft.exe)
Running post_install script...
'minecraft' (nightly-20231211) was installed successfully!
Notes
-----
This is only the launcher; a premium account is required to play Minecraft.
PS> Test-Path "$env:AppData/.minecraft" -PathType Container
False
PS> minecraft
PS> Test-Path "$env:AppData/.minecraft" -PathType Container
True

Possible Solution
Shim should use --workDir argument of the launcher binary to make it save all its files into the persist directory.
Scoop and Buckets Version
PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
f01c03097 (HEAD -> master, origin/master, origin/HEAD) ungoogled-chromium: Update to version 120.0.6099.71-1.1

'fonts' bucket:
2c261d6 (HEAD -> master, origin/master, origin/HEAD) juliamono: Update to version 0.052

'games' bucket:
840222f8c (HEAD -> master, origin/master, origin/HEAD) yuzu: Update to version 0-1647

'java' bucket:
fea17b31 (HEAD -> master, origin/master, origin/HEAD) temurin11-nightly-jre: Update to version 11.0.22-6.0.202312091720

'main' bucket:
5ede4e1fe (HEAD -> master, origin/master, origin/HEAD) pipx: Add version 1.3.3 (#5315)

'sysinternals' bucket:
c788fc6 (HEAD -> main, origin/main, origin/HEAD) sysinternals-suite: Update to version 2023.12.07

'versions' bucket:
8a5ad474a (HEAD -> master, origin/master, origin/HEAD) firefox-nightly: Update to version 122.0a1.20231210093611

Scoop Config
PS> scoop config

last_update                       scoop_branch scoop_repo
-----------                       ------------ ----------
2023-12-11T06:09:05.0794033+11:00 master       https://github.com/ScoopInstaller/Scoop

PowerShell Version
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.22621.2428
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2428
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Additional Softwares
No response

I suppose this needs creating a wrapper script that always passes --workDir with the required argument, and this wrapper script is added to the shortcuts and bin.


bug: mermaid diagrams are not rendered on website

Describe the bug
https://github.com/kubestellar/kubestellar/blob/main/docs/content/direct/packaging.md shows rendered diagrams; https://docs.kubestellar.io/main/direct/packaging/ shows the mermaid source.
Steps To Reproduce
See above
Expected Behavior
Rendered diagrams in both views.
Additional Context
No response

Perhaps https://mkdocs-mermaid2.readthedocs.io/en/latest/ can help here.


demo is not working !

Appears to be working correctly for me (see demo). Please feel free to include more info if you are still seeing this issue and I will reopen this.


[wallet/desktop] task: unit tests for DurationInput, DivisibilityInput, DisabledFormOverlay

unit tests added for DurationInput, DivisibilityInput, DisabledFormOverlay
removed obsolete components(CosignatoryModificationsDisplay, DisabledUiOverlay)

Codecov Report

Merging #1884 (0e9e597) into feature/unit-tests-united (1e50d27) will increase coverage by 0.40%.
The diff coverage is 100.00%.

@@                      Coverage Diff                      @@
##           feature/unit-tests-united    #1884      +/-   ##
=============================================================
+ Coverage                      27.64%   28.04%   +0.40%
=============================================================
  Files                            591      587       -4
  Lines                          14001    13977      -24
  Branches                        2368     2366       -2
=============================================================
+ Hits                            3870     3920      +50
+ Misses                         10053     9980      -73
+ Partials                          78       77       -1

Flag
Coverage Δ

wallet-desktop
28.04% <100.00%> (+0.40%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/app/App.vue
100.00% <ø> (ø)

src/app/AppTs.ts
73.33% <ø> (-1.67%)
:arrow_down:

...on/FormMultisigAccountModificationTransactionTs.ts
0.00% <ø> (ø)

src/components/DurationInput/DurationInputTs.ts
100.00% <100.00%> (+48.00%)
:arrow_up:

src/core/utils/TimeHelpers.ts
67.70% <0.00%> (+21.87%)
:arrow_up:

...omponents/DivisibilityInput/DivisibilityInputTs.ts
100.00% <0.00%> (+52.94%)
:arrow_up:

...onents/DisabledFormOverlay/DisabledFormOverlay.vue
100.00% <0.00%> (+72.22%)
:arrow_up:


List can not use System.Ranges, but the example code use a list, it's misleading

This is my code:
var x = new List<int> { 1, 2, 3, 4, 5 };
var y = x[1..2]; // Cannot convert from 'System.Range' to 'int'

This is the docs:

The same question on stackoverflow.

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

ID: bcdddc9e-3060-4a72-95fa-93f8a4b6b741
Version Independent ID: a70329e0-1d30-2e54-e8b8-22f9733bd09f
Content: Ranges and indices - C# 8.0 specification proposals
Content Source: proposals/csharp-8.0/ranges.md
Product: dotnet-csharp
Technology: csharp-spec
GitHub Login: @dotnet-bot
Microsoft Alias: wiwagn

Thanks for alerting us @GF-Huang
We do need to update these proposals to reflect several of the decisions made during LDM meeting.
I'll add this to our backlog to address as part of updating the C# standard.


'invalid spec: templates.start-point.tasks.2e28bd01-bd05-11eb-ada6-7354cd06d1c4     name cannot begin with a digit when using either ''depends'' or ''dependencies'''

Summary
What happened/what you expected to happen?
the workflow work fine in version argoproj/workflow-controller:v2.., and it does not work in version argoproj/workflow-controller:v3..
 Docker/K8SAPI/Kubelet/PNS/Emissary
Did this work in a previous version? I.e. is it a regression?
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  annotations:
    sidecar.istio.io/inject: "false"
    mytest.myorg.com/job-run-application-name: mytest-v13:mytest-app
  creationTimestamp: "2021-05-25T02:59:16Z"
  finalizers:
  - metacontroller.io/decoratorcontroller-mytestworkflow-finalizer
  generation: 2
  labels:
    workflows.argoproj.io/completed: "true"
    workflows.argoproj.io/phase: Failed
    mytest.myorg.com/group-id: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4
    mytest.myorg.com/job-id: 11585fce-d83b-45b4-88e2-1f3bac51d14d
    mytest.myorg.com/job-name: RANDOM_FAILED_JOB
    mytest.myorg.com/job-type: mytest
    mytest.myorg.com/managed-by: mytest-job-service
  name: 11585fce-d83b-45b4-88e2-1f3bac51d14d
  namespace: mytest-v13
  ownerReferences:
  - apiVersion: mytest.myorg.com/v1
    blockOwnerDeletion: true
    kind: mytestTenant
    name: mytest-app-admin
    uid: ba1909b7-d985-496a-9e3a-d2fc40b0aa93
  resourceVersion: "467834"
  selfLink: /apis/argoproj.io/v1alpha1/namespaces/mytest-v13/workflows/11585fce-d83b-45b4-88e2-1f3bac51d14d
  uid: 45bd4c73-0d18-48ad-9b41-a1da5f9fe9a4
spec:
  arguments: {}
  entrypoint: start-point
  imagePullSecrets:
  - name: regcred
  - name: deploy-milestones
  onExit: exit-point
  templates:
  - dag:
      tasks:
      - arguments: {}
        continueOn: {}
        name: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4-onGroupCompleted
        template: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4-onGroupCompleted
    inputs: {}
    metadata: {}
    name: exit-point
    outputs: {}
  - dag:
      failFast: false
      tasks:
      - arguments: {}
        continueOn: {}
        name: 2e28bd01-bd05-11eb-ada6-7354cd06d1c4
        template: 2e28bd01-bd05-11eb-ada6-7354cd06d1c4
    inputs: {}
    metadata: {}
    name: start-point
    outputs: {}
  - container:
      args:
      - node jobStart.js
      command:
      - sh
      - -c
      env:
      - name: NODE_OPTIONS
        value: --max-old-space-size=2918

      - name: APP
        value: mytest-v13:mytest-app
      - name: VERSION
        value: 13.3.16
      - name: POD_NAME
        valueFrom:
          fieldRef:
            fieldPath: metadata.name
      - name: POD_NAMESPACE
        valueFrom:
          fieldRef:
            fieldPath: metadata.namespace
      image: docker.abc.myorg.corp:51609/internal-mytest-job-test/mytest:13.3.16
      imagePullPolicy: IfNotPresent
      name: ""
      resources:
        limits:
          cpu: "2"
          memory: 3Gi
        requests:
          cpu: 100m
          memory: 1Gi
    executor:
      serviceAccountName: argo-workflow
    inputs: {}
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
        mytest.myorg.com/job-run-application-name: mytest-v13:mytest-app
      labels:
        mytest.myorg.com/disable-karydia: "true"
        mytest.myorg.com/group-id: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4
        mytest.myorg.com/job-id: 11585fce-d83b-45b4-88e2-1f3bac51d14d
        mytest.myorg.com/job-name: RANDOM_FAILED_JOB
        mytest.myorg.com/job-type: mytest
        mytest.myorg.com/managed-by: mytest-job-service
        mytest.myorg.com/run-id: 2e28bd01-bd05-11eb-ada6-7354cd06d1c4
    name: 2e28bd01-bd05-11eb-ada6-7354cd06d1c4
    outputs: {}
    priorityClassName: mytestjob
  - container:
      args:
      - node jobStart.js
      command:
      - sh
      - -c
      env:
      - name: NODE_OPTIONS
        value: --max-old-space-size=2918
      image: docker.abc.myorg.corp:51609/internal-mytest-job-test/mytest:13.3.16
      imagePullPolicy: IfNotPresent
      name: ""
      resources:
        limits:
          cpu: "2"
          memory: 3Gi
        requests:
          cpu: 100m
          memory: 1Gi
    executor:
      serviceAccountName: argo-workflow
    inputs: {}
    metadata:
      annotations:
        sidecar.istio.io/inject: "false"
        mytest.myorg.com/job-run-application-name: mytest-v13:mytest-app
      labels:
        mytest.myorg.com/disable-karydia: "true"
        mytest.myorg.com/group-id: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4
        mytest.myorg.com/job-id: 11585fce-d83b-45b4-88e2-1f3bac51d14d
        mytest.myorg.com/job-name: RANDOM_FAILED_JOB
        mytest.myorg.com/job-type: mytest
        mytest.myorg.com/managed-by: mytest-job-service
        mytest.myorg.com/run-id: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4-onGroupCompleted
    name: 2e28bd00-bd05-11eb-ada6-7354cd06d1c4-onGroupCompleted
    outputs: {}
    priorityClassName: mytestjob
status:
  artifactRepositoryRef:
    default: true
  conditions:
  - status: "True"
    type: Completed
  finishedAt: "2021-05-25T02:59:16Z"
  message: 'invalid spec: templates.start-point.tasks.2e28bd01-bd05-11eb-ada6-7354cd06d1c4
    name cannot begin with a digit when using either ''depends'' or ''dependencies'''
  phase: Failed
  progress: 0/0
  startedAt: "2021-05-25T02:59:16Z"

Paste the logs from the workflow controller:
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

Paste the logs from your workflow's wait container:
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow}

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Your workflow name starts with a digit “11585fce...”. Changing that starting with a letter would probably fix it.

Just realized that you are not using depends/dependencies at all so this is an issue with the code and should be fixed by https://github.com/argoproj/argo-workflows/pull/5998.


aggregate failed: Unable to get artifact for com.adobe.aem:aem-sdk-api:slingosgifeature:aem-author-sdk:...

As there don't seem to be feature file artifacts available in https://repo1.maven.org/maven2/com/adobe/aem/aem-sdk-api I run into the following exception when executing com.adobe.aem:aemanalyser-maven-plugin:0.0.4:aggregate
[INFO] --- aemanalyser-maven-plugin:0.0.4:aggregate (aggregate) @ digitalxn-aem-all-container ---
Downloading from nexus: https://repo.int.netcentric.biz/nexus/content/groups/public/com/adobe/aem/aem-sdk-api/2020.9.4245.20200921T202853Z-200827/aem-sdk-api-2020.9.4245.20200921T202853Z-200827-aem-author-sdk.slingosgifeature
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  19.025 s
[INFO] Finished at: 2020-11-09T13:12:32+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.adobe.aem:aemanalyser-maven-plugin:0.0.4:aggregate (aggregate) on project digitalxn-aem-all-container: Execution aggregate of goal com.adobe.aem:aemanalyser-maven-plugin:0.0.4:aggregate failed: Unable to get artifact for com.adobe.aem:aem-sdk-api:slingosgifeature:aem-author-sdk:2020.9.4245.20200921T202853Z-200827: Could not find artifact com.adobe.aem:aem-sdk-api:slingosgifeature:aem-author-sdk:2020.9.4245.20200921T202853Z-200827 in nexus (https://repo.int.netcentric.biz/nexus/content/groups/public/)
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR]     mvn install:install-file -DgroupId=com.adobe.aem -DartifactId=aem-sdk-api -Dversion=2020.9.4245.20200921T202853Z-200827 -Dclassifier=aem-author-sdk -Dpackaging=slingosgifeature -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR]     mvn deploy:deploy-file -DgroupId=com.adobe.aem -DartifactId=aem-sdk-api -Dversion=2020.9.4245.20200921T202853Z-200827 -Dclassifier=aem-author-sdk -Dpackaging=slingosgifeature -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR]   com.adobe.aem:aem-sdk-api:slingosgifeature:2020.9.4245.20200921T202853Z-200827
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR]   nexus (https://repo.int.netcentric.biz/nexus/content/groups/public/, releases=true, snapshots=true)
[ERROR] -> [Help 1]

The slingosgifeature artifact is now provided with https://repo1.maven.org/maven2/com/adobe/aem/aem-sdk-api/2020.11.4506.20201112T235200Z-201028/.  Once I upgraded to that version everything was running smoothly (i.e. no issues reported).


Reference to delegate in multiple reader made strong

this should fix bug #299 - multiple scan with swift is possible after this fix.

Thanks for the fix!


Headers for actions need to be set manually

Mike,
Thanks for the update.  With the header injection I can now do this successfully:
            const req = this.nav
                .goto(resultLink.href)
                .header('Content-Type', 'application/json')
                .performAction('filterTrajectories', '".*"' as any)
                .asJson();

If the action has a type it seems like siren-nav should be able to use that to set the headers automatically?

This should be fixed in ee2ade4.  Give it a try and let me know.

This is included in 2.0.0-alpha.7


React 0.14 support

A lot of the libraries I use like react-intl/router are switching to React 0.14 and dropping support for 0.13.x I wonder if there is a plan or schedule to make Nuclear React 0.14 compatible?

@talkhot I don't think this library has problem supporting react 0.14 as we are on it and haven't find any difficulty with the upgrade.

NuclearJS is not dependent on React, you should be able to use it with any other UI (View) library as long as you can find a way to plug it in.

NuclearJS works perfectly fine with React 0.14 :)


Make the CI (integration tests) more resilient

Referenced issue
Single PR
Summary of changes

Increasing fees for integration testing.
Added simple exp backoff for contract incokations.

Reviewer recommendations

Check no timeouts in CI.
Check commits.

Hello @geofmureithi and @mariopil . Added this last commits:

https://github.com/eigerco/nebula/pull/89/commits/dc7a6ae7ad38c32df3a15197018ed499722a8d39
https://github.com/eigerco/nebula/pull/89/commits/15fe70f86d6914c8b422364ba92b5548148a2c6c

And also executed twice the CI. Its being sucessful now. I would merge this if you agree and see how it goes. We can make more PRs for adjusting things.
Also, theres is probably another issue. Looks like we are executing twice the tests on_pull_request and on_push . Probablt we need to separate the current workflow in 2. One for the PRs and the other ones for when the PR is merged in main. Both are necessary to ensure changes are well integrated. Maybe i would take inspiration from the alternative proposaed at https://github.com/eigerco/nebula/pull/89 .

But i would let that refactor for another PR/issue. Let me know please.

Yes, let's do it in a separate PR.

Great, should we merge them ? I would need your approval :sweat_smile:


[DONE] linux support for make install

This pull request makes the manual install work on both macOS and linux
git clone https://github.com/danger/danger-swift.git
cd danger-swift
make install

make install is run as a part of the CI process to make sure it works
travis now runs tests on both linux and macOS

Warnings

:warning:

PR is classed as Work in Progress

Messages

:book:

It works!

  Generated by :no_entry_sign: dangerJS

Awesome!

Ok, feel free to merge this in guys.

Ace, thanks

I'll make a build once #57 is decided

Shipped


Why we cannot implement custom Retrievers?

As I can see Retriever has got private method, so it cannot be implemented and there is no way the library can be extended. Is there any particular reason why so?

@maxifom I have this in the back of my mind for a few weeks, I think it would be preferable to let this possibility, you are right.
The only tradeoff I see is that people will start building their custom retrievers without contributing into the project.

I see a use case in some custom retrieve login, you cannot write adapters for every possible use case, and if some people want to write some, they will probably not open source for their specific use case, and I hope most of the people that do, won't just push it without collaboration with this repo, it would be inappropriate I guess


Make diagram elements clickable

Creating as a draft since embedding the svg images directly into the html (esp. for markdown) is not that clean.
Please also note that the diagrams are no longer scaled, thus they are always shown with 100% size. I think this is a good thing, but may be not everyone agrees.

Both nits are addressed.
Yeah, I've struggled as well with the svgFactory, this is what I came up with after several attempts :). Other solutions for combining the generated and generating world where imho even uglier, like putting more properties in the context and then doing the file loading in the view models.

@jp7677 I see. I'm okay with merging this. I'll create an issue to remind myself to think about a better design for this, but it's good enough as it is, I think.


WIP - Run Django tests with USE_TZ=True

@felixxm Just an overview about what could imply running Django tests with USE_TZ = True.

Should we provide a utility to create datetime objects in a certain time zone? Use make_aware (maybe overkill for literal dates)?
We'll have to force TIME_ZONE for tests playing with day limits

@claudep Thanks for this patch :+1: and sorry for wasting your time. It's probably not worth switching tests to USE_TZ = True.


My LaTeX strings look bold when exporting in .pdf and .eps

I'm using plotly to generate my figures for a research article, in pycharm. I need to export my figure in .eps or .pdf and I have an issue that doesn't appear if I export in png.
LaTeX strings got bold when exporting the figure. I don't know how to resolve the problem. Do you know any command to remove this bold effect?

q_integrated.pdf
Here is the python code to write the labels for example:
for i in range(2, rows + 1):
    fig.update_yaxes(row=i, col=1, title=r"$\text{q (degree)}$")
for i in range(1, cols + 1):
    fig.update_xaxes(row=rows, col=i, title=r"$\text{Time (s)}$")

#This is how I export the figure:

python fig.write_image(out_path_file + "/q_integrated.png")
fig.write_image(out_path_file + "/q_integrated.pdf")
fig.write_image(out_path_file + "/q_integrated.eps")

Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson


Error: Callback was already called.

Error: Callback was already called.
at root/project/node_modules/async/dist/async.js:966:32
at root/project/node_modules/async/dist/async.js:3885:13
at Query. (root/project/index.js:267:17)
at Query. (root/project/node_modules/mysql/lib/Connection.js:502:10)
at Query._callback (root/project/node_modules/mysql/lib/Connection.js:468:16)
at Query.Sequence.end (root/project/node_modules/mysql/lib/protocol/sequences/Sequence.js:83:24)
at Query._handleFinalResultPacket (root/project/node_modules/mysql/lib/protocol/sequences/Query.js:139:8)
at Query.OkPacket (root/project/node_modules/mysql/lib/protocol/sequences/Query.js:72:10)
at Protocol._parsePacket (root/project/node_modules/mysql/lib/protocol/Protocol.js:278:23)
at Parser.write (root/project/node_modules/mysql/lib/protocol/Parser.js:76:12)
**Node version:8.15.0
Mysql package version:2.15.0**
Callback is calling twice after execution of query.

@Jeeva0104 kindly paste your code logic here, to help u debug.

Closing due to no response.


Create scene from code

Currently, most settings are performed in Unity. This is not practical, as it is difficult to share the Unity code in Git. In addition, it is not very flexible, since every setting that we change in Unity requires a build in Unity, and a subsequent build in VS.
Therefore, we need to look for a solution to create the whole scene, including its settings, in code.

Done


Us create comments

Need to correct overwritten configuration settings

can we close this, i'm skittish with it around lol

can we close this, i'm skittish with it around lol

Nick made a better PR with reverts removed

Nick made a better PR with reverts removed


Add suggestions for csslintrc file based on codeclimate anaylsis

Current coverage is 94.86% (diff: 100%)

Merging #5 into development will not change coverage

@@           development         #5   diff @@
=============================================
  Files               48         48
  Lines              643        643
  Methods              0          0
  Messages             0          0
  Branches             0          0
=============================================
  Hits               610        610
  Misses              33         33
  Partials             0          0

Powered by Codecov. Last update 9c10cac...b08a7ec


Investigate building up a robot using simple configuration

Hierarchical structure of SimObject-subclasses representing the chassis, wheels etc

Superseded by #19


sylvan: updated to HEAD to include optional program stack checker (enabl...

...ed by defining LACE_DEBUG_PROGRAMSTACK to 1) and remove some autoconf generated files

Oh, I missed the "tools" directory.


MegaLogger.getLogger() inconsistency.

There is a problem when using MegaLogger.getLogger() and the provided parentLogger is different to one previously used.
For example:
var writeLogger = MegaLogger.getLogger('writer');
var readLogger = MegaLogger.getLogger('read');

function readIO() {
   var logger = MegaLogger.getLogger('I/O', {}, readLogger);
   logger.info('IO', arguments);
}

function writeIO() {
   var logger = MegaLogger.getLogger('I/O', {}, writeLogger);
   logger.info('IO', arguments);
}

readIO();
writeIO();

Both logger calls will output:
2015-6-12 21:9:4.161 - read:I/O - INFO IO Arguments { , 2 more… }
2015-6-12 21:9:4.162 - read:I/O - INFO IO Arguments { , 2 more… }

I think the way MegaLogger instaces are stored into _logRegistry must include the full/recursive path to the parentLogger, if any provided.

Yeah, this API design around the "parent" logger was not very nice. Most logging frameworks make you specify a path like "writer.IO" as the name, and use this to implicitly find the parent logger. I think we should switch to this sort of naming. Wondering what @lpetrov thinks about it.
(Also, what were the other options on JS logging frameworks, and why didn't we choose those?)

The original idea, was that there is a "root" logger, which contains all child ones, as nodes, in a tree.
So basically, it should had been initialised as a getLogger() (no logger name, which implies that this is the root logger) and from there on, all loggers should point to that logger as a reference.
However, this was not efficient, especially when writing tests.
So me and Guy ended up with this, auto initialise/default root "logger" trick, which should initialise a default logger if a root/default one is not yet initialised.
Regarding the example above, the API was designed to auto initialise loggers (child ones too) and cache them in the log registry.
So, the "name" should be a unique string, which, once initialised for a logger, will NOT re-initialize OR change the parent logger.
What i typically do, is to have a ""namespace"" for loggers, as @infinity0 mentioned - "package:module" (but with ":").
Regarding the other libraries.... they are either meant to be used in nodejs, which means they have tons of code to handle streams/IO/events/etc OR for the browser, but provides custom UI for browsing logs (using HTML+CSS, which is a total overhead).
What we needed was a very simple logger, based on top of the console.* "interface" (both UI and API), but with a way to prefix the logged messages, so that we can filter easily the output, without needing to manually prefix ALL console.log/error/etc calls.
As a bonus, we have options to filter using regexps in the code, change the output functions (in case we want to use different transport layer in the future) and colors, to easily see in the web dev console what is what, when using console.error.
The console.error is a special case. I often switch the console.* calls to -> console.error to get more debug data (stack traces!), which, when using the MegaLogger will still output some colors so that you can differentiate between real errors and debug calls, despite that ALL logs are outputed using console.error. :)
And one last thing, our logger is meant to be (very) simple, dummy and not validate the "name" attribute or do "magic", but in the end it is 420 LOC (incl. comments!), which compared to the other solutions, for use in a browser environment is a major difference/improvement :)

So, the "name" should be a unique string, which, once initialised for a logger, will NOT re-initialize OR change the parent logger. (...) So, the example code is working as expected. The second getLogger() call is trying to re-initialise already initialised (with diff. parent logger - "read") logger.

I see, sad it is working as expected, that is only showing a weakness of the lib :)
Not a big deal in any case, i just replaced getLogger by new MegaLogger in the affected classes.


Consider inheriting from collections.Mapping and Sequence

Landed with typing.MutableMapping and typing.MutableSequence which are just as good.

Hi @omry,
I was trying to use isinstance and collections.abc.Mapping to check if an OmegaConf variable is a dictionary-like object but both isinstance(cfg, collections.abc.Mapping) and isinstance(cfg, collections.abc.MutableMapping) returned False.
Other packages like attrdict and dotmap inherit from collections.abc.Mapping.
Have you considered inheriting from collections.abc.Mapping? Thanks
In [1]: import omegaconf

In [2]: import collections

In [3]: isinstance(omegaconf.OmegaConf.create({"x": 10}), collections.abc.Mapping)
Out[3]: False

In [4]: isinstance(omegaconf.OmegaConf.create({"x": 10}), collections.abc.MutableMapping)
Out[4]: False

In [5]: from attrdict import AttrDict

In [6]: isinstance(AttrDict(x), collections.abc.Mapping)
Out[6]: True

In [7]: isinstance(AttrDict(x), collections.abc.MutableMapping)
Out[7]: True

In [8]: from dotmap import DotMap

In [9]: isinstance(DotMap({"x": 10}), collections.abc.Mapping)
Out[9]: True

In [10]: isinstance(DotMap({"x": 10}), collections.abc.MutableMapping)
Out[10]: True

In [11]: AttrDict?
Init signature: AttrDict(*args, **kwargs)
Docstring:      A dict that implements MutableAttr.
File:           ~/anaconda3/envs/xxx/lib/python3.7/site-packages/attrdict/dictionary.py
Type:           ABCMeta
Subclasses:

In [12]: DotMap?
Init signature: DotMap(*args, **kwargs)
Docstring:      Dictionary that remembers insertion order
File:           ~/anaconda3/envs/xxx/lib/python3.7/site-packages/dotmap/__init__.py
Type:           ABCMeta
Subclasses:

In [13]: omegaconf.dictconfig.DictConfig?
Init signature: omegaconf.dictconfig.DictConfig(content, parent=None)
Docstring:      <no docstring>
File:           ~/anaconda3/envs/xxx/lib/python3.7/site-packages/omegaconf/dictconfig.py
Type:           type
Subclasses:

@poweic, did you test on 2.0?

My bad :sweat_smile: Not sure why I got an older version of omegaconf (1.4.1) with freshly installed hydra-core. But they works in 2.0! Thanks!! :smiley:

Hydra 0.11 is not compatible with OmegaConf 1.4.
Check the 1.0 pre release if you want to use Hydra and OmegaConf 2.0.


Any suggestion / feature request?

Is anyone except me using ZenSharp in production environment?
Do you have any suggestion?
I'm will be very happy to any feedback.

It will be nice to have a editor for all rules and also if you can add alias to these rules

how about adding DbSet short cut. I hate typing all that out.
public DbSet<T> Ts { get; set; }
aside: I'm doing a R# "magic show" talk next month, I'm going to be showcasing super cool stuff that people familiar with R# didn't know they could do. I plan to feature your plugin. Any thing that you think really shines above the rest, please let me know.

@Eonasdan, DbSet is great example for ReSharper live templates, but not for ZenSharp.
Just create Live template as described here - https://www.jetbrains.com/resharper/help/Templates__Creating_and_Editing_Templates__Creating_a_Live_Template_from_Source_Code.html

why do feel that way? ZenSharp already does property generation like that.
I tried
scope "InCSharpClass" {
  start    ::=  method | property | field | const | other

  other ::=
        //...
	| ""=dbset "public DBSet<" type " > " identifier "{get; set; }"

but I the template doesn't show a name and it doesn't generate code.
I'm trying to understand how to add custom items to your template.

You're doing it right.

but I the template doesn't show a name and it doesn't generate code.

What do you mean by that ?

ah... I see now why you said that.
ZenSharp wouldn't be able to figure out that type is a Model class?
the generated code should be public DbSet<Person> Persons { get; set; }
Can I make ZenSharp do that or do I really just need a live template?

Can I make ZenSharp do that or do I really just need a live template?

Looks like you really need just a live template. Create live template public DBSet<$T$> $T$s {get; set; } and disable reformat option.

It will be nice to have a editor for all rules and also if you can add alias to these rules

@adeel41 , For implement it really cool and useful feature I need to rewrite ZenSharp from scratch.
I'm using Nemerle PEG library for parse ZenSharp rules. It's really hard to do error recovery parsing with PEG parsers.
As workaround I can suggest syntax highlight rules for VIM -- https://github.com/ulex/ZenSharp/blob/126817389e719811869cbd4fd28eb1bd9d37f62c/ZenSharp.Core/ltg.vim

Hello i would like to create method what return the array for example int array.
And also i would like to add more then one parameter to that array
Can we made something like that:
pi[SomeName(s[Names,i[orderOfNames,t[ = public int[] SomeName(string[] Names, int[] orderOfNames, $type$ $name) {$END}

Oh, and also I am big fun of VsVim. And made a lot of change to use it with ReSharper. They are looks like that:
By, pressing backspace i reomove line by pressing 10BackSpace i reomove 10 lines
By, pressing gd i made dublicate of the line. by pressing 10gd i made a 10 same lines.
Maybe it is good idea. To add some zenSharp functionality connected to VsVim
set number
#Removing linees
let @a=":vsc Edit.LineDelete\r"
let @b=":vsc Edit.LineDelete\rk"
noremap  @a
noremap  @b
#Duplicate Lines
let @d=":vsc ReSharper.ReSharper_DuplicateText\r"
noremap gd @d
#Create new empty line Below
let @o="$:vsc Edit.LineOpenBelow\r"
noremap  @o
let @e="$:vsc Edit.LineOpenBelow\rk"
noremap  @e
let @r="k$:vsc Edit.LineOpenBelow\r"
noremap  @r
noremap  :vsc ReSharper.ReSharper_CompleteStatementw
noremap / :vsc Edit.Find
noremap ? :vsc Edit.Replace
noremap r :vsc ReSharper.ReSharper_Rename
noremap R :vsc ReSharper.ReSharper_RefactorThis
noremap y :vsc Edit.Copy
noremap f :vsc ReSharper_AltEnter
noremap F :vsc ReSharper.ReSharper_CleanupCode
noremap n :vsc ReSharper.ReSharper_GotoNextHighlight
noremap N :vsc ReSharper.ReSharper_GotoPrevHighlight
noremap gi :vsc ReSharper.ReSharper_Generate
noremap gI :vsc ReSharper.ReSharper_GenerateFileBesides
noremap gj :vsc ReSharper.ReSharper_LiveTemplatesInserti
noremap gk :vsc ReSharper.ReSharper_GotoContainingDeclaration
#Navigation
noremap gb :vsc ReSharper.ReSharper_BookmarksBookmarksMenu
noremap gn :vsc ReSharper.ReSharper_GotoNextErrorInSolution
noremap gN :vsc ReSharper.ReSharper_GotoPrevErrorInSolution
noremap gm :vsc ReSharper.ReSharper_GotoFileMember
noremap gM :vsc ReSharper.ReSharper_GotoSymbol
noremap gq :vsc Window.QuickLaunch
noremap zt :vsc Window.Windows
noremap zT :vsc ReSharper.ReSharper_ShowTodoExplorer
#TestRunner
noremap gt :vsc ReSharper.ReSharper_UnitTestRunContext
noremap gT :vsc ReSharper.ReSharper_UnitTestRunSolution
noremap gl :vsc ReSharper.ReSharper_UnitTestRunCurrentSession
noremap gL :vsc ReSharper.ReSharper_UnitTestSessionRepeatPreviousRun
noremap gG :vsc ReSharper.ReSharper_NavigateTo
noremap g/ :vsc ReSharper.ReSharper_LineComment
noremap g? :vsc ReSharper.ReSharper_BlockComment
noremap gr :vsc Debug.Start
noremap gR :vsc Debug.StartWithoutDebugging
noremap gU :vsc Debug.AttachUnityDebugger
noremap gu :vsc EditorContextMenus.CodeWindow.QuickMonoBehaviours
noremap = :vsc View.ZoomIn
noremap - :vsc View.ZoomOut
#Working with difrent windows and files
noremap zv :vsc Window.NewVerticalTabGroup
noremap zh :vsc Window.NewHorizontalTabGroup
noremap zs :vsc Window.Split
noremap zo :vsc File.CloseAllButThis
noremap zw :vsc File.SaveSelectedItems
noremap zg :vsc Tvaream.Git.Commit
noremap zq :vsc File.SaveAll :vsc File.Exit
noremap zz :vsc File.SaveAll
noremap zg :vsc Team.Git.Commit
noremap zb :vsc Build.BuildSolution
noremap zl :vsc View.SolutionExplorer
noremap zf :vsc File.OpenFile
noremap zk :vsc Window.NextTab
noremap zj :vsc Window.PreviousTab
work with diffrent book marks
noremap g0 :vsc ReSharper_BookmarksGoToBookmark0
noremap g1 :vsc ReSharper_BookmarksGoToBookmark1
noremap g2 :vsc ReSharper_BookmarksGoToBookmark2
noremap g3 :vsc ReSharper_BookmarksGoToBookmark3
noremap g4 :vsc ReSharper_BookmarksGoToBookmark4
noremap g5 :vsc ReSharper_BookmarksGoToBookmark5
noremap g6 :vsc ReSharper_BookmarksGoToBookmark6
noremap g7 :vsc ReSharper_BookmarksGoToBookmark7
noremap g8 :vsc ReSharper_BookmarksGoToBookmark8
noremap g9 :vsc ReSharper_BookmarksGoToBookmark9
noremap z0 :vsc ReSharper_BookmarksToggleBookmark0
noremap z1 :vsc ReSharper_BookmarksToggleBookmark1
noremap z2 :vsc ReSharper_BookmarksToggleBookmark2
noremap z3 :vsc ReSharper_BookmarksToggleBookmark3
noremap z4 :vsc ReSharper_BookmarksToggleBookmark4
noremap z5 :vsc ReSharper_BookmarksToggleBookmark5
noremap z6 :vsc ReSharper_BookmarksToggleBookmark6
noremap z7 :vsc ReSharper_BookmarksToggleBookmark7
noremap z8 :vsc ReSharper_BookmarksToggleBookmark8
noremap z9 :vsc ReSharper_BookmarksToggleBookmark9

Окей я на первую проблему с мосивами ришения написал

primType   ::=  "int []"="i[" | "string []"="s[" | "double []"= "d[" |string=s | byte=by | bool=b | "System.DateTime"=dt | decimal=dc | double=d | int=i | uint=ui | "System.Guid"=g | "System.Uri"=u | "System.Xml.Linq.XElement"=x
А вот што касательно мульти параметров я хз

With those changes work like that

Okay great I done it.

Here how i done it. I still work on it.
But ZenSharp is great i fall in love with it

Now i want to made it work untill 5 variables and with ref out and params

Finally I done it support max 5 arguments modiffier of access and arrays

Here how it look like

Here the source if someone is intresting

Super simple

Also i extend primitive types a little bit

@GeorgeWolf, Thank you for your feedback!
Default templates allow you to enter array type by entering a symbol after type.
For example,  to get
public int[] Test()
{
}

you should type pmiaTest. This is not showed in documentation — I will fix it soon.
Nice idea with [ for array of specific type. But ZenSharp have bugs with
ReSharper integration in this case. Highlighting goes crazy and auto inserted
pair of brakets ruins template completion. (this is clearly seen on your
screenshot)
Did you really find 5 parameters completion useful? From my point of view, much
more effecient way to construct method parameters is using R# quick fixed
Create parameter (from constructed method) and Add typed parameter (from
method usage).

Nice idea with [ for array of specific type. But ZenSharp have bugs with
ReSharper integration in this case. Highlighting goes crazy and auto inserted
pair of brakets ruins template completion. (this is clearly seen on your
screenshot)
-Yes but it sill working after i press tab it still making exactly what i want.
Did you really find 5 parameters completion useful? From my point of view, much
more effecient way to construct method parameters is using R# quick fixed
Create parameter (from constructed method) and Add typed parameter (from
method usage).

No it works very nice for me like usually i do method with one or two parameter what return array
Also how you see on my screenshot i add the method parameters modifier for me this one work super nice
For me personally using of i[ is more natural way
Here how it looks before i press tab

And after

Yes afto insted of pairs are working but after i press tab they are just gone

By the way i am really big fun of using IDE so i rewrite almost vsVim for my self. To make it perfect.
I would like to work on this project, the idea is super cool.
I train my self to get use to it.  Next what i would like to add is put throw new NotImplementException();
After method is generated.

So for me it good like that

Thanks for the great extension.
Is there any templates for async methods generation?

@olsh sorry for long answer.
Currently, async templates not included in predefined templates.
But they are pretty easy to add.
For example, I can suggest use the following scheme:
pmTsName ->   public async Task<string> Name() { }
pmTName ->   public async Task Name{ }
this can be achieved by simple change in templates:
diff --git a/ZenSharp.Integration/Templates.ltg b/ZenSharp.Integration/Templates.ltg
index 7aef698..0eb368f 100644
--- a/ZenSharp.Integration/Templates.ltg
+++ b/ZenSharp.Integration/Templates.ltg
@@ -17,6 +16,7 @@ maybeType  ::= type | "void"
 type       ::= generic | primType ("?"="?")? ("[]"=a)? | suggType
 primType   ::= string=s | byte=by | bool=b | "System.DateTime"=dt | decimal=dc | double=d | int=i | uint=ui | "System.Guid"=g | "System.Uri"=u | "System.Xml.Linq.XElement"=x |
                object=o
+taskType   ::= "System.Threading.Tasks.Task"

 // Complex types:
 generic1 ::= (SCG "." ("IList"=l | "IEnumerable"="~")) "<" type ">"
@@ -40,7 +40,9 @@ methodAttributes ::=
     | "[NUnit.Framework.TearDownAttribute]"=td
     | "[NUnit.Framework.TestCaseAttribute]"=tc
     | "[NUnit.Framework.TestAttribute]"=t
-method ::= (methodAttributes)? access ("virtual "=vm | "abstract "=am | "static "=M | ""=m) (type | "void") space identifier methodArgs methodBody
+method_async ::= (methodAttributes)? access "async" space ("virtual "=vm | "abstract "=am | "static "=M | ""=m)   (taskType "<"=T type ">" | taskType ""=T) space identifier methodArgs methodBody
+method_generic ::= (methodAttributes)? access ("virtual "=vm | "abstract "=am | "static "=M | ""=m) (type | "void") space identifier methodArgs methodBody
+method ::= method_async | method_generic
 methodBody ::= " { " cursor " }"
 methodArgs ::=  "(" ((""="," | ""="(") arg)? ")"
 arg ::= primType " " identifier2

I want to generate properties with PropertyChanged notifications. Here's the code transformation I want to achieve: ppsValue!+ converts to
private string _value;
public string Value
{
    get { return _value; }
    set
    {
        if (value == _value) return;
        _value = value;
        OnPropertyChanged(nameof(Value));
    }
}

Any way to do it with ZenSharp? I know it can be done with live templates or either  with To Property With Change Notification conversion, but the way that ZenSharp proposes is more flexible IMO.

@ilivit sorry, but currently it is not possible due bug in templates substitution (you need to substitute type twice in single template).
Will look at this soon, thanks.

Hello. I really enjoy your extension. Is there some way to detect in-method or in-property scope?

@amadare42 Unfortunately not.
But it is very nice and flexible idea how scope may be defined - by enclosing AST node type (or combination of it)

Hi!
A suggestion here:
How about implementing delimiter/separators?
Like p\s\c\Testing will expand into public sealed class Testing{}
(because pscTesting will expand into public string cTesting;

)
I used \ as it is easier to type, any other delimiters can be used.
Any idea? 😄

@garyng this is just conflict of priorities. You can modify your ltg file this way to fix it:
scope "InCSharpClass" {
  start    ::= class |  method | property | field | const | other
  other ::=
	| ""=dbset "public DBSet<" identifier " > " identifier "s {get; set; }"
}

I would be nice to have some automatic verification tool to find such conflicts 😄

Edit: I wrote a post about ZenSharp templates with more example
thanks, I have added link to the README.md 👍


Package failing with a long stack

Hi! I am using the plugin and after some changes in my project I'm now getting the following:
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at until (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:15:10)
at engineUntil (/.../node_modules/apr-engine-until/dist/apr-engine-until.umd.js:19:10)
at group (/.../node_modules/apr-engine-iterator/dist/apr-engine-iterator.umd.js:21:12)
at Object.next (/.../node_modules/apr-engine-iterator/dist/apr-engine-iterator.umd.js:28:14)
at next (/.../node_modules/apr-engine-run/dist/apr-engine-run.umd.js:29:22)
at /.../node_modules/apr-engine-run/dist/apr-engine-run.umd.js:42:12
at new Promise (<anonymous>)
at engineRun (/.../node_modules/apr-engine-run/dist/apr-engine-run.umd.js:41:10)
at engineEach (/.../node_modules/apr-engine-each/dist/apr-engine-each.umd.js:11:10)
at run (/.../node_modules/apr-map/dist/apr-map.umd.js:14:10)
at map (/.../node_modules/apr-map/dist/apr-map.umd.js:82:10)
at WriteStream.<anonymous> (/.../node_modules/serverless-plugin-tree-shake/index.js:386:17)
at WriteStream.emit (events.js:314:20)
at WriteStream.EventEmitter.emit (domain.js:483:12)
at /.../node_modules/graceful-fs/graceful-fs.js:325:14
at /.../node_modules/graceful-fs/graceful-fs.js:352:16
at /.../node_modules/graceful-fs/graceful-fs.js:352:16
at FSReqCallback.oncomplete (fs.js:156:23)

I'm using a monorepo (yarn workspaces) and the thing I changed is added my workspaces folder in node_modules to serverless.package.includes section.
I suspected that it could be related to circular links or something like that, so I tried to exclude them, but still no success:
package:
  excludeDevDependencies: false
  include:
    ...
    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>
Is there anything I could try or check? I'm unable to get a lot of debug info because this output stack takes all of my terminal space

I've checked some more details:
Serverless: 11003

  Range Error --------------------------------------------

  RangeError: Maximum call stack size exceeded

fails in following code:
this.serverless.cli.log(files.length);
const contents = Flatten(
  await Map(
    Uniq(files.map((pathname) => normalize(pathname))),
    (fullpath) => this.getFileContentAndStat(fullpath),
  ),
);

worked around that for now with:
npx --node-arg=--stack-size=4096 sls deploy --stage production

Seems that there's too many files included into the final package


Kicked from server - "Chat message validation failure"

I added the mod to my Fabric server and when I type in chat, I get kicked for "Chat message validation failure".
Additionally, when I type into the chat, it kicks everyone else in the server.
I do not have the mod installed on the Client.

The last message in that log is the one that got me kicked from the server. Some messages go through, some get me kicked.
Logs of other player being kicked because of me typing into the chat.
Server log:
[07:20:58] [Server thread/INFO]: <TheBestEmerald> weird
[07:21:11] [Server thread/INFO]: <[M] Father_Doinkles> test
[07:21:11] [Server thread/INFO]: TheBestEmerald lost connection: Disconnected
[07:21:11] [Server thread/INFO]: TheBestEmerald left the game

Do you have mod installed only on server? What versions you use?

What versions you use?

Server mod version is FABRIC-1.19.1-v1.7.1
Server is 1.19.1, Fabric-API 0.58.5
My client is 1.19.1, Fabric-API 0.58.5
Other players clients are Vanilla 1.19.1

Is this fixed? I am still getting this error on the current Fabric 1.19.2 version. It doesn't seem to follow any pattern as to what is said and  it kicks everyone off the server.

Yes, this should be fixed. Create a separate issue detailing versions, environment and config settings used if this happens to you.


Missing DataParalle in main_multi_gpu.py

Describe the bug
Some of the main_multi_gpu.py in image classification model miss the paddle.DataParalle(model), which may cause the multi-gpu training performs not well.
E.g., in DeiT:
https://github.com/BR-IDL/PaddleViT/blob/0573849f4722ff574fb9a67793d453c8d4bfe597/image_classification/DeiT/main_multi_gpu.py#L326-L329
Expected behavior
Add paddle.DataParallel(model)

Other image classification models also needs to check this problem!


clarify stderr log format

Clarified that the stderr log message format can't be changed.

This change is


cbench error:msgbuf_read: make_tcp_connection: connect: Bad file descriptor

if the switch number is more than 1019,the cbench return error:
$ cbench -c <IP_ADDRESS> -p 6633 -m 10000 -l 6 -s 1024  -t
cbench: controller benchmarking tool
running in mode 'throughput'
connecting to controller at <IP_ADDRESS>:6633
faking 1024 switches offset 1 :: 6 tests each; 10000 ms per test
with 100000 unique source MACs per switch
learning destination mac addresses before the test
starting test with 0 ms delay after features_reply
ignoring first 1 "warmup" and last 0 "cooldown" loops
connection delay of 0ms per 1 switch(es)
debugging info is off
Cannot use epoll to create connection
make_tcp_connection: connect: Bad file descriptor
make_nonblock_tcp_connection :: returned -1hsh@eblade2:soft$
if add -d option:output as follow:
Initializing switch 999 ...
-------Switch 999:  sent hello
:: done.
Initializing switch 1000 ...
-------Switch 1000:  sent hello
:: done.
Initializing switch 1001 ...
-------Switch 1001:  sent hello
:: done.
Initializing switch 1002 ...
-------Switch 1002:  sent hello
:: done.
Initializing switch 1003 ...
-------Switch 1003:  sent hello
:: done.
Initializing switch 1004 ...
-------Switch 1004:  sent hello
:: done.
Initializing switch 1005 ...
-------Switch 1005:  sent hello
:: done.
Initializing switch 1006 ...
-------Switch 1006:  sent hello
:: done.
Initializing switch 1007 ...
-------Switch 1007:  sent hello
:: done.
Initializing switch 1008 ...
-------Switch 1008:  sent hello
:: done.
Initializing switch 1009 ...
-------Switch 1009:  sent hello
:: done.
Initializing switch 1010 ...
-------Switch 1010:  sent hello
:: done.
Initializing switch 1011 ...
-------Switch 1011:  sent hello
:: done.
Initializing switch 1012 ...
-------Switch 1012:  sent hello
:: done.
Initializing switch 1013 ...
-------Switch 1013:  sent hello
:: done.
Initializing switch 1014 ...
-------Switch 1014:  sent hello
:: done.
Initializing switch 1015 ...
-------Switch 1015:  sent hello
:: done.
Initializing switch 1016 ...
-------Switch 1016:  sent hello
:: done.
Initializing switch 1017 ...
-------Switch 1017:  sent hello
:: done.
Initializing switch 1018 ...
-------Switch 1018:  sent hello
:: done.
Initializing switch 1019 ...
-------Switch 1019:  sent hello
:: done.
Cannot use epoll to create connection
make_tcp_connection: connect: Bad file descriptor
how can i handle this error?

It's much harder to help support raw CBench usage/errors than WCBench errors (especially using the Vagrant env) because your configuration is largely unknown. The initial driver for creating WCBench was to reduce the rate of people coming to ODL's Integration team with questions like "CBench is broken in X way", with the root cause almost always being a difference in configuration.
Are you able to reproduce the failure using WCBench? In the Vagrant environment? If you restart ODL, do you still see this error? How consistently? How many times have you reproduced it?


PIR Sensitivity + Door contact sensor

First of all, awesome project and thanks very much! I've got it successfully integrated in my Loxone smart home 🤩

For some reason, the on-board PIR triggers way too often, when there is no mail inserted. Is there a configuration flag to make the PIR less sensitive?
I was also thinking of soldering a door contact on board (and either attach on the slat that opens when mail is inserted to trigger the "new mail" activity, OR to put the door contact on the actual door so that would trigger the "I've seen the mail" event). I found the correct pins for this on the board but I didn't find any code on how to set this up. Do you happen to have an example for this?

Ah, is it possible to trigger two separate types of MQTT messages, i.e. one for PIR activity and one for door contact sensor?

I don't think so. The PIR and the door contact switch are both used as trigger on the board.

Thank you for supporting my work.
"For some reason, the on-board PIR triggers way too often" If you have a mailbox with a small slit for mail and it stays open, change the location of the sensor so that the sensor faces in the other direction.


Add other organizational logos

Is your feature request related to a problem? Please describe.
From time to time, a developer may need to feature the logo of an organization that has partnered with PDS. To avoid issues with correct logo usage, it may be beneficial to provide these logos in the design system.
Describe the solution you'd like
Provide organization logos to developers for use on PDS websites so that developers do not have to search for and create logos.
Describe alternatives you've considered
TBD
Additional context
TBD
Applicable requirements
TBD

closing new solution with HDS coming soon...


Some attachments placed in setup double their effect

When some attachments are placed during setup, it grants whatever its effect twice.
For example, if a Valyrian Steel Dagger is attached to a character during setup, that character will get +4 STR during intrigue challenges. If it is attached any other time, they will get the proper +2 STR bonus.
This may be a result of the onCardEntersPlay event being fired twice for attachments during setup - once when placed, then again when attached. However, if that were the only cause I would expect all attachments in setup to have the same problem and they don't seem to.

Happened to me too vs NW with the +2 str during challenges dagger every other marshalled atchment worked fine.


Issue - No Users Showing In Dashboard

Resolved

I can see in DB I can see user account and all correct value only issue is nothing show's in dash for users.
I noticed that in the DB we have telegram_username

| id | telegram_username

But dash it looking for
SELECT access_level FROM gui_module WHERE name = 'telegram-users'1.96ms18.54KB0BladeBTC
UPDATE gui_module SET visits = visits + 1, last_visit = NOW() WHERE name = 'telegram-users'

Thank you for uploading this project I look forward to your response.

i have the same problem

User dashboard is not working at this time!


The {{ site.data.versions.java }} field in faq.yml does not take effect

I think this is a problem with Jeklly, as fields from another data file cannot be referenced in the data file. Of course, there may also be a problem with the loading order.

Well, this seems a bit difficult to solve.Use a plugin:but GitHub Pages runs Jekyll in Safe mode,so you may need to create a new branch.Merge data files.And others?

Resolved on the new wiki by creating a full separate page: https://geysermc.org/wiki/geyser/supported-versions


chore(batcher): remove unused error

This change is

#1817  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @yair-starkware and the rest of your teammates on  Graphite


rm: security: secure machines: add information about Toradex PIDs

Toradex PIDs are not included in fuse/close scripts by default, so add a note for it.
Readiness

[ ] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Why merge this PR? What does it solve?
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[ ] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[ ] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[ ] End message with sign off/DCO line (-s, --signoff).
[ ] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for b6fc1ff91a6538faf3f65bc4f518804cf010d821 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2449/docs/artifacts/html/index.html


feat(AccessCode): Add ability to create an Ongoing Access Code

Partially closes https://github.com/seamapi/react/issues/236
Split from https://github.com/seamapi/react/pull/269
Notable things

Only adds ability to create a code, and Ongoing only to avoid PR bloat.
There's a bug in storybook when adding a new Access Code until https://github.com/seamapi/fake-seam-connect/pull/31 is merged.

Screenshots
https://github.com/seamapi/react/assets/11449462/3f94d2aa-064a-4ab4-8663-840fdcef6a5a

Can't create a new code because of the show hide behavior on the help text.
https://github.com/seamapi/react/assets/721372/69bca5b8-8f51-436e-beaa-a774cfeaab57

Is time frame editing part of this form? I didn't see it in the preview video

@dawnho I spoke with Mike earlier this week and we agreed to break up the work for easier review.

Adding "Coming soon" sounds fine with me

@razor-x Done!

@mikewuu My update from main may have broken something when I tried to resolve the merge conflict. You can force push whatever you have locally. I should not have messed with this branch.

@razor-x I forgot to push my changes :( Just did though, and it should have fixed the conflict changes too.


Add tests and configurations for serializers, models, views, and fixtures

Minor fix: Make alphabetical imports order and grouping
Add tests for genre listing, game detail, and toggle favorite functionality using reusable paths dictionary
Create fixture in conftest.py to generate a JWT access token for a given user
Add test_game_serializer_output; Add RegisterSerializerTestCase to define a set of tests for different functionalities of the RegisterSerializer
Add Python package tests into game/catalog; Add test_models.py and enable DB access using pytestmark = pytest.mark.django_db
Add pytest.ini for configuration; Create conftest.py for reusable fixtures

lifehack:
when you make a pr, first check it yourself with your human eyes before asking someone else to check it. You will fix most or all the issues in code ;)


TDI-37469 Add @Ignore for JiraReaderTestIT to fix failing tests. Added port randomization for Jira docker container

Related to https://jira.talendforge.org/browse/TDI-37469
After quick analysis:
JiraReaderTestIT class tests fail often with following message
Error Message
Service Unavailable
Stacktrace
org.apache.http.client.HttpResponseException: Service Unavailable
at org.talend.components.jira.runtime.reader.JiraReaderTestIT.testGetReturnValues(JiraReaderTestIT.java:276)
So, Jira server returns 503 Service temporarily unavailable.
Also these tests never fail, when launched on local machine.
So, I think the reason is Jira server running in Docker container has not enough resources or is not properly configured.
I think fix will require a lot of time, that's why I decide to mark these tests with Ignore.

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: success :star:


[Doc-Enhancement] When federated is participant of the meeting, ME is not available for tenant user

Hi Team,
Documentation indicates that ME is not available for Federated users and anonymous users in meeting. It is correct.
But the other case is not explained in docs.
If Federated user is participant of the meeting, tenant user will also not be able to see the messaging extensions.
If anonymous user and tenant user are participants of meeting, tenant user can see the ME.
So, please add the details in documentation.

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

ID: 0f624483-2f5e-3f44-ed7c-10819221fd34
Version Independent ID: 0f624483-2f5e-3f44-ed7c-10819221fd34
Content: Build extensible conversation for meeting chat - Teams
Content Source: msteams-platform/apps-in-teams-meetings/build-extensible-conversation-for-meeting-chat.md
Service: msteams
GitHub Login: @v-sdhakshina
Microsoft Alias: v-sdhakshina

Hi @surbhigupta12 - Could you please help here updating the doc adding this below part as a note at the end of the section:
If a federated user is a participant in the meeting, the tenant user will also not be able to see the messaging extensions.
However, if an anonymous user and a tenant user are participants in the meeting, the tenant user can see the messaging extensions.


refactor: update restore cli flag descriptions

Closes #16726
Describe your proposed changes here.

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

Tested locally, and verified that the cli descriptions are updated:

alchemy please merge

@stephanie-engel in this repository, just click "squash and merge"

Thanks for your help, @jacobmarble 👍


Nothing is generated

Thank you for great effort you made.
I followed along with steps but when I am running php artisan apidocs:generate no docs was generated. No even any errors are shown.
Here's my files

routes/api.php

Route::post('v1/register', [AuthController::class, 'register'])->apidocs(RegisterEndpoint::class);

app/Apidocs/Endpoints/RegisterEndpoint.php

...
public function describe(): void
    {
        $this->title('Register')
            ->description('Register a new account');
    }
...

I tried to do some debugging in vendor/johnylemon/laravel-apidocs/src/Console/Commands/GenerateApidocs.php
public function handle()
    {
        $data = Apidocs::export();
       dd($data)
        file_put_contents(config('apidocs.file_path'), json_encode($data));
    }

and I got this
array:4 [
  "info" => array:3 [
    "version" => "1.0"
    "title" => "Laravel API documentation"
    "description" => "Laravel API documentation"
  ]
  "domain" => "http://laravel-api.test"
  "groups" => array:1 [
    "non-groupped" => array:2 [
      "name" => "Non-groupped"
      "description" => "Non-grouped endpoints"
    ]
  ]
  "endpoints" => []
]

@amrography Glad you found this package useful.
Which PHP and Laravel version you are using?
Is this route (api//v1/register) accessible via api?
Looks like this endpoint is not accessible at all via api.

My php:7.3.25 & laravel:^8.0, What do you mean by accessible ?
This is a screenshot of a testing.

It works!
I copied the Route::post('v1/register', [AuthController::class, 'register'])->apidocs(RegisterEndpoint::class); again in routes/web.php, then run php artisan apidocs:generate. It generated the docs for 2 times(from web.php and api.php)
Then I removed route registration from web.php and run php artisan apidocs:generate and worked!

@amrography problem may be caused by route cache. Fixed this morning.


How to merge three different bar charts into one

Hi,
I've been trying to look online on how to achieve having three different bar charts into one chart. Is this even possible?
I want to get something that look like this:

Hi, you just need to pass datasets as an array:
Below is the data object for this chart:

const data = {
  labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
  datasets: [
    {
      label: 'My First dataset',
      backgroundColor: 'rgba(255,99,132,0.2)',
      borderColor: 'rgba(255,99,132,1)',
      borderWidth: 1,
      hoverBackgroundColor: 'rgba(255,99,132,0.4)',
      hoverBorderColor: 'rgba(255,99,132,1)',
      data: [65, 59, 80, 81, 56, 55, 40],
    },
    {
      label: 'My Second dataset',
      backgroundColor: 'rgba(255, 205, 86, 0.2)',
      borderColor: 'rgb(255, 205, 86)',
      borderWidth: 1,
      hoverBackgroundColor: 'rgba(255, 205, 86, 0.4)',
      hoverBorderColor: 'rgb(255, 205, 86)',
      data: [45, 69, 85, 75, 26, 65, 45],
    },
    {
      label: 'My Third dataset',
      backgroundColor: 'rgba(153, 102, 255, 0.2)',
      borderColor: 'rgb(153, 102, 255)',
      borderWidth: 1,
      hoverBackgroundColor: 'rgba(153, 102, 255, 0.4)',
      hoverBorderColor: 'rgb(153, 102, 255)',
      data: [85, 49, 88, 86, 49, 45, 48],
    },
  ],
};

Hey thanks for the reply! Unfortunately that isn't what I'm trying to accomplish. I need the datasets for each label to be different and not linked to each other. So for example ill have for the label department ['corporate':10, 'hr':14 ....] and for the label gender ill have ['male':123, 'female':31] and lastly for age it'll be ['20-30':31, '31-44':42].  These three labels have their own data associated with them, I'm just trying to have all three in one bar chart, is that possible?


image unable to show in browser

i am write background-image: url('link') code but it can't show image in browser, when i use this code in sublime text so, they show image in browser. please help me to get  rid of this problem.

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Feature request: Prompt for value or optionally go into editor mode

Describe the problem
We have a scenario where we'd like to ask for a simple value on the command line. However, sometimes the value can be multiline and we believe putting folks inside an editor would be more helpful.
I understand that there's a multiline feature for tty-prompt but users are not accustom to this. They typically just want to hit ENTER.
It would be cool if there was a prompt like this...
Press Ctrl+E to enter editor
What is your config value?

They can type out the config value and press enter, or they can hit ctrl+e to be thrown into the editor. (We use tty-editor for editor interactions 👍)
Is there a way to implement this with the existing tty prompt/reader/editor blocks?

Hi Ngan 👋
Thanks for using tty-prompt.

I understand that there's a multiline feature for tty-prompt but users are not accustom to this. They typically just want to hit ENTER.

Curious to know how would you handle multiline input when ENTER is used to finish input? What key would you use to move to a new line? I'm open to suggestions on how else could this be implemented?
One way you could achieve your requirement is to listen for the keyctrl_e event and use the keypress prompt. The user then has a choice to either open an editor or confirm they wish to input via multiline prompt:
require "tty-editor"
require "tty-prompt"

content = ""
prompt = TTY::Prompt.new
prompt.on(:keyctrl_e) do
  Tempfile.create("temp-file") do |file|
    TTY::Editor.open(file.path)
    content = ::File.read(file.path)
  end
end

answer = prompt.keypress("Press Ctrl+E to open editor or Enter to input", keys: [:return, :ctrl_e])
if answer == "\r"
  content = prompt.multiline("What is your config value?")
end
puts content

The way tty components are written is to maximise ways they can be composed. Because of this, I don't believe this is a feature request. It can be achieved in various ways and doesn't add a fundamental input that would enhance tty-prompt.
Hope the example helps you achieve what you need.

Thank you for your response. I might have not be super clear in my original question. So I’d like to do a single line prompt (“ask”) so the user can either: start entering their config value and then hit enter to finish, OR press control+e at any point to go into editor.


[my] Completed basics lessons and 2 advanced lessons

I've completed basics lessons and 2 advanced lessons.

This is great @alkaha, thank you so much!  I left some feedback for you, I'd love to get your thoughts.

Sorry for the delay @alkaha, I've been busy with work.  This looks good, I will merge and send out a tweet!  Thank you very much

thanks for the merge. :)


secrets data leaked in to logs.

What happened?
When creating a secret the data for the secret will be leaked in the debug level logs.  (log output is dummy data so no worries that it's in the issue) (i have made the secret bold so it's more easy to see)
2024-05-21T15:28:05.996+0200	DEBUG	provider-kubernetes	Observing	{"resource": {"kind":"Object","apiVersion":"kubernetes.crossplane.io/v1alpha2","metadata":{"name":"secretpatch","uid":"d4213d87-a666-4287-994f-f75199cf7135","resourceVersion":"1161","generation":3,"creationTimestamp":"2024-05-21T13:28:04Z","annotations":{"crossplane.io/external-create-pending":"2024-05-21T15:28:04+02:00","crossplane.io/external-create-succeeded":"2024-05-21T15:28:04+02:00","crossplane.io/external-name":"secretpatch","kubectl.kubernetes.io/last-applied-configuration":"{"apiVersion":"kubernetes.crossplane.io/v1alpha2","kind":"Object","metadata":{"annotations":{},"name":"secretpatch"},"spec":{"forProvider":{"manifest":{"apiVersion":"v1","data":{},"kind":"Secret","metadata":{"namespace":"default"}}},"providerConfigRef":{"name":"kubernetes-provider"},"references":[{"patchesFrom":{"apiVersion":"v1","fieldPath":"data.sensitive","kind":"Secret","name":"secretpatch","namespace":"crossplane-system"},"toFieldPath":"data.key-from-secret"}]}}\n"},"finalizers":["finalizer.managedresource.crossplane.io"],"managedFields":[{"manager":"kubectl-client-side-apply","operation":"Update","apiVersion":"kubernetes.crossplane.io/v1alpha2","time":"2024-05-21T13:28:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:deletionPolicy":{},"f:forProvider":{".":{},"f:manifest":{".":{},"f:apiVersion":{},"f:data":{},"f:kind":{},"f:metadata":{".":{},"f:namespace":{}}}},"f:managementPolicies":{},"f:providerConfigRef":{".":{},"f:name":{}},"f:references":{},"f:watch":{}}}},{"manager":"main","operation":"Update","apiVersion":"kubernetes.crossplane.io/v1alpha2","time":"2024-05-21T13:28:04Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:crossplane.io/external-create-pending":{},"f:crossplane.io/external-create-succeeded":{},"f:crossplane.io/external-name":{}},"f:finalizers":{".":{},"v:"finalizer.managedresource.crossplane.io"":{}}},"f:spec":{"f:forProvider":{"f:manifest":{"f:data":{"f:key-from-secret":{}}}},"f:readiness":{".":{},"f:policy":{}}}}},{"manager":"main","operation":"Update","apiVersion":"kubernetes.crossplane.io/v1alpha2","time":"2024-05-21T13:28:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:atProvider":{".":{},"f:manifest":{".":{},"f:apiVersion":{},"f:data":{".":{},"f:redacted":{}},"f:kind":{},"f:metadata":{".":{},"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}},"f:creationTimestamp":{},"f:managedFields":{},"f:name":{},"f:namespace":{},"f:resourceVersion":{},"f:uid":{}},"f:type":{}}},"f:conditions":{".":{},"k:{"type":"Ready"}":{".":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}},"k:{"type":"Synced"}":{".":{},"f:lastTransitionTime":{},"f:reason":{},"f:status":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"providerConfigRef":{"name":"kubernetes-provider"},"managementPolicies":["*"],"deletionPolicy":"Delete","forProvider":{"manifest":{"apiVersion":"v1","data":{"key-from-secret":"cGFzc3dvcmQ="},"kind":"Secret","metadata":{"namespace":"default"}}},"references":[{"patchesFrom":{"apiVersion":"v1","kind":"Secret","name":"secretpatch","namespace":"crossplane-system","fieldPath":"data.sensitive"},"toFieldPath":"data.key-from-secret"}],"readiness":{"policy":"SuccessfulCreate"}},"status":{"conditions":[{"type":"Ready","status":"True","lastTransitionTime":"2024-05-21T13:28:05Z","reason":"Available"},{"type":"Synced","status":"True","lastTransitionTime":"2024-05-21T13:28:04Z","reason":"ReconcileSuccess"}],"atProvider":{"manifest":{"apiVersion":"v1","data":{"redacted":null},"kind":"Secret","metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{"apiVersion":"v1","data":{"key-from-secret":"cGFzc3dvcmQ="},"kind":"Secret","metadata":{"namespace":"default"}}"},"creationTimestamp":"2024-05-21T13:28:04Z","managedFields":[{"apiVersion":"v1","fieldsType":"FieldsV1","fieldsV1":{"f:data":{".":{},"f:key-from-secret":{}},"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:type":{}},"manager":"main","operation":"Update","time":"2024-05-21T13:28:04Z"}],"name":"secretpatch","namespace":"default","resourceVersion":"1157","uid":"fbc2356a-4b4b-4baf-a3e4-8dec5ffa0cf3"},"type":"Opaque"}}}}}
How can we reproduce it?

start by starting the controller with --debug.
create the following resources.

---
apiVersion: kubernetes.crossplane.io/v1alpha2
kind: Object
metadata:
  name: secretpatch
spec:
  references:
  - patchesFrom:
      apiVersion: v1
      kind: Secret
      name: secretpatch
      namespace: crossplane-system
      fieldPath: data.sensitive
    toFieldPath: data.key-from-secret
  forProvider:
    manifest:
      apiVersion: v1
      kind: Secret
      metadata:
        namespace: default
      data: {}
  providerConfigRef:
    name: kubernetes-provider
---
apiVersion: v1
kind: Secret
metadata:
  name: secretpatch
  namespace: crossplane-system
type: Opaque
data:
  sensitive: cGFzc3dvcmQ=

when looking at the console/terminal where std out is written for the controller we can see that the base64 secret is in the logs. The example in the above step is used to get the logs that is in this issue.

Are you running the provider with debugging enabled?

This is to long ago for me to remember this details


fix recursive call for Cancel.poll missing an arguement

Handles an error where attempts to cancel a bulk query fail with:
%{
      "errors" => [
        %{
          "extensions" => %{
            "code" => "argumentLiteralsIncompatible",
            "typeName" => "CoercionError"
          },
          "locations" => [%{"column" => 3, "line" => 2}],
          "message" => "Invalid global id '1'",
          "path" => ["mutation", "bulkOperationCancel", "id"]
        }
      ]
    }

When poll is being recursed over, we are missing the argument for the bulk query id, so the poll counter is being used instead which ⛈shockingly Shopify doesn't like.

[ch79360]


Teams page clone from microsoft teams

Project title
Teams page clone from microsoft teams
Project Description
A Clone of microsoft teams -> teams page (the page where the groups are listed)
The page should be:

responsive as in desktop web app.
have dark and light mode impelemented.

Stack:
And in order to tick the check box just but x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] Bootstrap5

Issue made under GSSoC'22 contributions.

/assign


[VS Code] Unable to get user information

Error:
Unable to get user information
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.735

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.27.2

platformName
Linux

platformVersion
4.18.0-1-amd64

Hey @Jesse415 , I know you've closed this issue, but I'm curious about when you saw this and how you resolved it. We've had other users report this and would like to understand it better. Thanks!


Review the FOSS Foundation Directory

Description:
Review the FOSS Foundation directory to identify organizations that focus on open source within an academic or research context.
Action Items:

Explore the directory at https://fossfoundation.info/listing
Identify relevant organizations that align with open source academic or research focus.
Document key information for inclusion in the "Organizations" section of the project.

Duplicate of #90. :)

Okay, closing this issue.


(AzureCXP) fixed useLegacyPartitionManagement

updated useLegacyPartitionManagement default value and description
resolves MicrosoftDocs/azure-docs#72422
https://github.com/Azure/azure-functions-durable-extension/releases/tag/v2.3.1
https://github.com/Azure/azure-functions-durable-extension/pull/1507

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


Upgrade google-auth-library-java from 0.7.1 to 0.10.0

so we can use Oauth2Credentials.refreshAccessToken() instead of getRequestMetadata().
See https://github.com/google/google-auth-library-java/issues/147.

cc @spotify/helios-team

Codecov Report

Merging #1227 into master will decrease coverage by 0.01%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master    #1227      +/-   ##
============================================
- Coverage     52.69%   52.67%   -0.02%
+ Complexity     1624     1623       -1
============================================
  Files           268      268
  Lines         13036    13036
  Branches       1506     1506
============================================
- Hits           6869     6867       -2
- Misses         5649     5650       +1
- Partials        518      519       +1


Vite/Vue: remove vue-class-component

As suggested by @nonomoho and @seraphinandrieux, vue-class-component should be removed (for the generated part)

I take it


Consider inverting Submission <-> Results in Tasks

Consider inverting Submission <-> Results in Task pages. Personally, when inspecting the chart, I tend to want to know more about results, rather than the full list of submissions related to that Task. I propose this order:

Child Tasks
Results
Submissions

(There is a separate issue affecting the upvotes for submissions in Task pages, #487.)

This was effectively addressed already, by now! We do, in fact, use your suggested order for sections, so we can close this.


v1.47.0 does not build on macOS due to missing preadv() / pwritev()

FIrst:
src/unix/fs.c:434:11: warning: implicit declaration of function 'preadv' [-Wimplicit-function-declaration]
  434 |       r = preadv(fd, bufs, nbufs, off);
      |           ^
src/unix/fs.c:1113:11: warning: implicit declaration of function 'pwritev' [-Wimplicit-function-declaration]
 1113 |       r = pwritev(fd, bufs, nbufs, off);
      |           ^

Then:
  CCLD     libuv.la
Undefined symbols for architecture x86_64:
  "_preadv", referenced from:
      _uv__fs_work in libuv_la-fs.o
  "_pwritev", referenced from:
      _uv__fs_work in libuv_la-fs.o
ld: symbol(s) not found for architecture x86_64

Version: 1.47.0
Platform: macOS 10.12.6

We dropped support for macOS 10.x a few months ago.
(1.5 years ago in fact but we didn't drop all the support code immediately.)

But why though? It's not like 10.15 is 20 years old - it was release just 4 years ago..

Although both Apple and Homebrew dropped support for Catalina, libuv seems the only formulae I've used that doesn't work for me, and unfortunately it's a dependence of node.
I have to pin it to avoid the error. Hope this won't cause any other issues.
brew pin libuv

@sryze because Apple. The rule of thumb we follow is that if the vendor won't provide support anymore, then neither do we.


Support ThorVG Web Viewer

Support designated web viewer to test/preview any thorvg behavior result.
Good reference is www.rlottie.com

We prepared a new repository for this:
https://github.com/Samsung/thorvg.github.io


All files mapped properly with coverage on require'd files

https://circle-artifacts.com/gh/rangle/angular2-redux-starter/490/artifacts/0/home/ubuntu/angular2-redux-starter/coverage/lcov-report/index.html
Really close to having proper coverage numbers - now we just need to be able to load all source files into karma so istanbul can instrument them all. Otherwise:

use concurrently for the lint commands
add an .istanbul.yml which tells us what configuration istanbul is running with (just add verbose: true to the top of the file [edit: for debugging purposes])
remove unnecessary sourcemap packages [since remap-istanbul was fixed to read inline sourcemaps properly in v0.6.3+]
update karma-jasmine
don't use sourcemaps in production

Caveats:

npm run test:report only works as the posttest script, not on its own since the ./coverage/report/coverage-final.json originally produced by karma-coverage is removed

it's removed because istanbul report pulls all the .json files in the ./coverage folder and screws up the report with the unmapped .ts files.

Connected to rangle/rangle-starter#12.

HI @JaKXz thanks for the PR
Mostly looks good. However doesn't using concurrently with the various linters cause the output to get all jumbled up?

@SethDavenport it prefixes the output with the index of the task that's running, so it's pretty easy to pick out where the problem was. Also, it's set to fail fast, so there won't be much output to parse through.
The idea is that CI runs linting really quick, and if developers need to see each task's output then they can just fire them off manually :)

Yeah I'm just not sold on the concurrently thing.

@SethDavenport done, just for you. :)

Cool thanks. @clbond how does this fit with the work you've been doing? If it can coexist let me know and I'll merge it.

Ah, embarrassingly enough I already fixed this and it's been merged to master. So I don't think this one is necessary. I'm sorry, I didn't know anyone else was working on this.

If you do a clean checkout of master and run mom test you should already see correct numbers and the duplicate files removed from the report. Unless this PR does some other stuff besides that..

Heh, not mom test, npm test. Autocorrect :P

No need to apologize @clbond, thanks for taking care of it!


Add https for EBA

To be able to go the EBA meeting there are a need to support the protocole https.

[ ] Add https in the client

First code for Client was implemented and tested with Self signed certificate


How to handle a feature that has related jobs

The architecture seems incredible to me. I'm going to start using it. Thanks for the input. After reading the documentation I have doubts in relation to the characteristics. I am on the example of creating an article. I want to divide the process of creating an article into 4 jobs:

Validate data
Upload image to an amazon bucket
Save the post
Return the answer

Suppose that step 1 and 2 are executed worse when reaching three an error occurs, you would have to make a rollback of step 2 and delete the uploaded file.
Question 1: Would I have to make a job run if one of these steps cannot be created, something like DeleteImageJob?
Question 2: How would you execute an Eloquent transaction in this process?
Again, congratulations on the job. Greetings

With validation, everything seems to be clear. We use standard feature requests. We also send the answer to the task.
2 and 3 I most likely put the task in the job.
Saving and loading the image should be put in an operation and use the interface ShouldQueue.
In my humble opinion.


Logout via DELETE instead of GET

This PR changes the logout action to go through DELETE (POST under the hood) instead of GET.

Just for my own benefit, could you let me know the rationale for this change (just a few lines or a link will suffice).

Sure, this is because signing out is a destructive action, you're not GETing something, you're destroying the current session.
It's the approach taken in the example application in the Programming Phoenix book:
resources "/sessions", SessionController, only: [:new, :create, :delete]

And also the approach taken in the Devise gem (authentication for Rails):
<%= link_to "Sign Out", destroy_user_session_path, method: :delete %>

It also prevents being logged out accidentally, for example if the browser prefetches links.

Ok, I get it.
Thanks for your help.


GET on my Glitch API doesn't work

Describe the bug
A simple GET request on http://aashutoshrathi.glitch.me/api/self/gh gives the error
To Reproduce
Steps to reproduce the behavior:

Go to  https://liyasthomas.github.io/postwoman/
Select Method as "GET"
URL as http://aashutoshrathi.glitch.me
And Path as /api/self/gh
Then send a request.

Expected behavior
It should result in response same as http://aashutoshrathi.glitch.me/api/self/gh
Screenshots

Use https:// instead of http://.
Here is a screenshot from when I ran it using https://:

Here is a comment about http not working right now: link to comment

Possible duplicate of #2.
CORS is a server side security policy feature which blocks API calls from any non-HTTPS requests.

I think I should close it then.

This is not a CORS issue, but rather a Mixed Content issue. An XMLHttpRequest  or fetch() request is considered "active content"; "mixed active content" such as a XMLHttpRequest  or fetch() to an http:// URL from an https:// URL has been blocked by default since Firefox 23 and is also blocked by Chrome.
In this case, both URLs provide the same CORS headers:
< access-control-allow-origin: *
< access-control-allow-headers: Origin, X-Requested-With, Content-Type, Accept

Also, CORS does not block cross-origin requests:  the same-origin policy prevents them by default, and CORS headers can be used to opt-in to allowing them.


soroban-rpc: Fix ledgerentry visibility bug

What
Fix a ledger entry visibility bug introduced in #846.
Why
Ledger Entries should be visible when currentLedger == expirationLedgerSeq (according to https://soroban.stellar.org/docs/fundamentals-and-concepts/state-expiration#expiration-ledger). But the code previously made it a bit unclear which ledger was LatestClosed vs Current (which led to the bug).
Known limitations
[TODO or N/A]

Nice, thanks! Could you also fix the off-by-one printout of TestSimulateTransactionBumpAndRestoreFootprint ?
t.Log("waiting for ledger entry to expire at ledger", entry.MustContractData().ExpirationLedgerSeq+1)

should really be
t.Log("waiting for ledger entry to expire at ledger", entry.MustContractData().ExpirationLedgerSeq)

The integration tests failed before merging :S

Specifically in:
        if !expirable_entry.has_expired(current_ledger_seq) {
            // noop (the entry hadn't expired)
            continue;
        }

Can we revert this until we figure it out?

Specifically it failed at https://github.com/stellar/soroban-tools/actions/runs/5926341294/job/16068360612 with:
2023-08-21T13:15:20.7012344Z     transaction_test.go:251:
2023-08-21T13:15:20.7013384Z         	Error Trace:	/home/runner/work/soroban-tools/soroban-tools/cmd/soroban-rpc/internal/test/transaction_test.go:251
2023-08-21T13:15:20.7015736Z         	            				/home/runner/work/soroban-tools/soroban-tools/cmd/soroban-rpc/internal/test/simulate_transaction_test.go:785
2023-08-21T13:15:20.7016288Z         	Error:      	Not equal:
2023-08-21T13:15:20.7016772Z         	            	expected: "SUCCESS"
2023-08-21T13:15:20.7017271Z         	            	actual  : "FAILED"
2023-08-21T13:15:20.7017626Z
2023-08-21T13:15:20.7017980Z         	            	Diff:
2023-08-21T13:15:20.7018508Z         	            	--- Expected
2023-08-21T13:15:20.7018926Z         	            	+++ Actual
2023-08-21T13:15:20.7019395Z         	            	@@ -1 +1 @@
2023-08-21T13:15:20.7019847Z         	            	-SUCCESS
2023-08-21T13:15:20.7020235Z         	            	+FAILED
2023-08-21T13:15:20.7020897Z         	Test:       	TestSimulateTransactionBumpAndRestoreFootprint

and at simulate_transaction_test.go:785 is where we send the restorefootprint operation


How to accept on-session payments with saved payment method.

Hi, I am migrating my App from Charges API to PaymentIntents and I think I am missing something very basic here but Is there any documentation about how to accept on-session payments with saved cards/payment methods. I checked Stripe's documentation about saving and reusing a payment method but it only explains about off-session payments and steps one should follow to start a recovery flow in case the off-session payment gets declined.
In my use case, and I think this is a very common use case, customer adds a card and pay for their order. I am saving this card for future use with setup_future_usage : on-session. Everything working perfectly fine when I try to add a new card and pay. The payment is processed perfectly, the authentication screen pops up wherever required, the payment method gets saved to the customer and so on.. But I can't understand how should I use this saved payment method later.
Any help will be highly appreciated.

You can simply call confirmPayment with the saved payment method's id:
const { error, paymentIntent } = await confirmPayment(clientSecret, {
    type: 'Card',
    paymentMethodId,
});

You can see an example of this here: https://github.com/stripe/stripe-react-native/blob/master/example/src/screens/CVCReCollectionScreen.tsx#L74-L80
Note that if you're not recollecting the cvc, you can just leave out the cvc param as shown above.

Thank you so much for the prompt reply.
Actually I already tried using confirmPayment in the exact same way as mentioned by you but I think I am not importing confirmPayment correctly.
My import statement.
import { initPaymentSheet, presentPaymentSheet, confirmPayment } from '@stripe/stripe-react-native';
initPaymentSheet and presentPaymentSheet are working perfectly but confirmPayment is giving the error Undefined is not a function..

Thank you for the quick clarification. confirmPaymentMethod did the work.


Removal of built-in apps is not working on Local Account

With Privatezilla, cannot remove the built-in Microsoft apps. It shows Applied Status but doesn't removes.
When Tried on Administrator account, it does the job ! Please fix this.
OS : Windows 10
Version : 10.0.19043 Build 19043

I believe to remove the built-in apps you'd need an administrator version of the app running to work.

Ohh yeah ! Thanks for replying.


Tina doesn't always return all images in Cloudinary when they are moved.

Description
When moving images in cloudinary our media manager fails to update correctly even after closing and re-entering media manager.
Steps to reproduce
Opened up the cloudinary dashboard and went to the media library

Media library has lots of unorganized images making it hard to find things in Tina

I created 3 or 4 new directories

I started batch-selecting images and moving them to the correct directories

Checked Tina to see if the new directories were in the Tina media library (they were - that's good)

Opened up the directories in Tina and the images that I had sorted in the cloudinary dashboard were not there.

The Tina media library showed me that I had less images in my list because many images had been sorted into new directories. (that's good)

It looked like all that I could do was open up my new directories and re-upload images from my computer. No images were shown that had been moved in cloudinary.

(this one is random) There was a sub-directory that had a random handful of images in it that I had sorted into different folders.

Expected result
We should return the images in the correct directories as expected.
Actual result
Images were removed from the root of / folder in media manager but did not show up in the newly-created directory.
Tinacms Package Versions
Latest.

This appears to be a caching issue related to Cloudinary, will investigate further but there may not be much we can do about it

@perkinsjr Are the folders you using have a "space" in the name. I was just looking at this and it seems that folders with a space in the name are not working. This is likely an oversight on our end and I will look into it.

Thanks for the context @perkinsjr. This fixes the spacing issue which might be the root cause.
https://github.com/tinacms/tinacms/pull/2399


Allow currency_capital and asset_capital options also in live mode

These options look awesome, but they only work in paper, or with the simulator:
    --currency_capital <amount>     for paper trading, amount of start capital in currency
    --asset_capital <amount>        for paper trading, amount of start capital in asset

I'd like to run zenbot on an exchange where I still want to trade manually, and I want to be sure that zenbot won't use all the capital or asset it can find.
This would be useful for zenbot newbies like me, that after running simulations and paper mode would like to try zenbot by allocating to the bot a small amount to use, to begin, and then increase after gaining confidence with zenbot.
To me, this is a really important feature. To be honest, now I'm not using zenbot in live because this feature is missing.
Is there a reason why this was limited only in paper mode?
When a buy/sell order is confirmed, the currency capital and asset capital values should be updated. Then instead of checking the balance on the exchange, it should refer to these values for the next signals.
It should work without hiccups. Thoughts?

Hello team, do we have a solution for the issue of @firepol  ?
I think is very important to have this param to limit possible great loss !!!
Thx


fix(magefiles): fix generating links to binaries

CLI reports that download available at:
<...> download available at https://dsv.secretsvaultcloud.com/downloads/cli/v1.40.2/linux-x64

but correct URL for download is:
<...> download available at https://dsv.secretsvaultcloud.com/downloads/cli/1.40.2/dsv-linux-x64

Fixes #89
copilot:all

Reviewing. I'm checking the homebrew/scoop stuff. Just want to double check none of the changes impact version for that.
I think based on not touching the versions we'll be ok, but this is something we won't know till release, so want to make sure.

In reviewing brew code, I see it does have the v prefix, but the reason this wasn't an issue is the assets are actually linked directly from github not S3. Brew doesn't point to our s3 assets.

Same with scoop. Assets are pulled from github releases directly.

Ok, based on discussion in chat....

We will preserve what I provided in docs, which mentions NO V PREFIX for the s3 assets.
Remaining assets should be unimpacted as they point to github assets.
Finally, we can evaluate pointing our cli later in a refactor to reference folks to the github repo for the latest version instead of going to S3 if we wish. That's outside the scope of this PR.

LGTM :+1:


fix: chinese corsor error

when input contains character where width > 1, such like chinese, cursor will in a wrong place, and never can back to the sentence`s head

You, NiuB! Fix my program。


Can't load into warehouse partitions from other bundle.

In test.functional.test_warehouse.BundleWarehouse#test_bundle_warehouse, A warehouse is constructed for a bundle. Loading partitions from that bundle works OK, but it failes when trying to load partitions from another bundle:
The exception is:
While adding a partition to sqlite warehouse, failed to exec 'CREATE VIRTUAL TABLE p_pERJQxWUVb005001_vt using mod_partition(/tmp/ambry-test/build/build.example.com/casters-0.1.3, build.example.com/generators-0.0.1/demo);'
Note that the first arg to mod_partition is the build path to the bundle, but the second is a cache key to a partition from a different bundle. The first argument should be the build path to the generators bundle.

This was actually a problem cause by constructing the warehouse on a Bundle, rather than a Library.


Support for schema plugins

@solnic good news, auto_restrictions now can be enabled in any place.

ref https://github.com/rom-rb/rom/pull/389

@solnic updated and ready to go, though I don't like how relation_schema_spec.rb looks like now, but it's time to 💤 :)


Trigger a reconnect immediately on ping timeout

@connor4312 pls publish

When is this being pushed to NPM? 😺

@artdude543 now


Update libs + Fix some errors to build playground

Close #214

@mdartic I'll let you take over the workspace part: some tests are broken and the configure.test creation/deletion procedure doesn't work.


[BUG] React Native - Is it possible to set the UserID to the Internal UserID used by our app

Something like this "appInsights.setAuthenticatedUserContext(validatedId, accountId);"
https://docs.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics#authenticated-users
So that we can track our users journey using application insights 'Users' blade under the usage tab of Application Insights
We are using React Native mobile app and .Net Framework web apis

Yes, you can...
I'm not sure if your asking a question or identifying a bug as the setAuthenticatedUserContext function is available on the main appInsights instance and the ReactNative plugin is just an extension you add to the existing...
So after you initialize (loadAppInsights()) the SDK you can (or should be able to) call the function as you outline
appInsights.setAuthenticatedUserContext(validatedId, accountId);

@MSNev Thanks for that, I was assuming this didn't work for two reasons, the first is because of this posted under the AppCenter repo (I was assuming the base code would eb the same):
https://github.com/microsoft/appcenter-sdk-react-native/issues/503
I also tried using the call and setting the user id to tomething like "Test" and then tried running the following query after I knew the record was in App Insights:
customEvents | where timestamp >= ago(2h) and user_Id contains "Test" | order by  toint(customDimensions["eventTimestamp"])
It's possible that this test is completely invalid through.