page 374 "Check Ledger Entries" - OnBeforeOnOpenPage - Event Request

page 374 "Check Ledger Entries"
{
ApplicationArea = Basic, Suite;
Caption = 'Check Ledger Entries';
DataCaptionFields = "Bank Account No.";
DeleteAllowed = false;
Editable = false;
InsertAllowed = false;
PageType = List;
PromotedActionCategories = 'New,Process,Report,Entry';
SourceTable = "Check Ledger Entry";
SourceTableView = SORTING("Bank Account No.", "Check Date")
ORDER(Descending);
UsageCategory = History;
layout
{
    area(content)
    {
        repeater(Control1)
        {
            ShowCaption = false;
            field("Check Date"; "Check Date")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the check date if a check is printed.';
            }
            field("Check No."; "Check No.")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the check number if a check is printed.';
            }
            field("Bank Account No."; "Bank Account No.")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the number of the bank account used for the check ledger entry.';
            }
            field(Description; Description)
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies a printing description for the check ledger entry.';
            }
            field(Amount; Amount)
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the amount on the check ledger entry.';
            }
            field("Bal. Account Type"; "Bal. Account Type")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the type of account that a balancing entry is posted to, such as BANK for a cash account.';
                Visible = false;
            }
            field("Bal. Account No."; "Bal. Account No.")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the number of the general ledger, customer, vendor, or bank account that the balancing entry is posted to, such as a cash account for cash purchases.';
                Visible = false;
            }
            field("Entry Status"; "Entry Status")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the printing (and posting) status of the check ledger entry.';
            }
            field("Original Entry Status"; "Original Entry Status")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the status of the entry before you changed it.';
                Visible = false;
            }
            field("Bank Payment Type"; "Bank Payment Type")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the code for the payment type to be used for the entry on the journal line.';
                Visible = false;
            }
            field("Posting Date"; "Posting Date")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the posting date of the check ledger entry.';
                Visible = false;
            }
            field("Document Type"; "Document Type")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the document type linked to the check ledger entry. For example, Payment.';
                Visible = false;
            }
            field("Document No."; "Document No.")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the document number on the check ledger entry.';
                Visible = false;
            }
            field("Entry No."; "Entry No.")
            {
                ApplicationArea = Basic, Suite;
                ToolTip = 'Specifies the number of the entry, as assigned from the specified number series when the entry was created.';
            }
        }
    }
    area(factboxes)
    {
        systempart(Control1900383207; Links)
        {
            ApplicationArea = RecordLinks;
            Visible = false;
        }
        systempart(Control1905767507; Notes)
        {
            ApplicationArea = Notes;
            Visible = false;
        }
    }
}

actions
{
    area(navigation)
    {
        group("Chec&k")
        {
            Caption = 'Chec&k';
            Image = Check;
            action("Void Check")
            {
                ApplicationArea = Basic, Suite;
                Caption = 'Void Check';
                Image = VoidCheck;
                Promoted = true;
                PromotedCategory = Process;
                ToolTip = 'Void the check if, for example, the check is not cashed by the bank.';

                trigger OnAction()
                var
                    CheckManagement: Codeunit CheckManagement;
                begin
                    CheckManagement.FinancialVoidCheck(Rec);
                end;
            }
        }
    }
    area(processing)
    {
        action("&Navigate")
        {
            ApplicationArea = Basic, Suite;
            Caption = 'Find entries...';
            Image = Navigate;
            Promoted = true;
            PromotedCategory = Category4;
            ShortCutKey = 'Shift+Ctrl+I';
            ToolTip = 'Find entries and documents that exist for the document number and posting date on the selected document. (Formerly this action was named Navigate.)';

            trigger OnAction()
            begin
                Navigate.SetDoc("Posting Date", "Document No.");
                Navigate.Run;
            end;
        }
        action("Delete Entries")
        {
            ApplicationArea = All;
            Caption = 'Delete Entries';
            Image = Delete;
            RunObject = Report "Delete Check Ledger Entries";
            ToolTip = 'Find and delete check ledger entries.';
        }
    }
}

trigger OnOpenPage()
begin
    //NPO begin
    OnBeforeOnOpenPage();
    //NPO End
    if (GetFilters() <> '') and not Find() then
        if FindFirst() then;
end;

var
    Navigate: Page Navigate;

[IntegrationEvent(true, false)]
local procedure OnBeforeOnOpenPage()
begin
end;

}

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


BUG: Fixed multi-value argument parsing

When a multi-value argument was passed to the command-line parser, all subsequent parameters were considered part of the argument.
This caused several test errors in Slicer: --ptyhon-script parameter was ignored if --additional-module-paths argument was specified before,
which made --python-script parameter ignored, and as a result, the provided Python script was not executed, which caused test failures
(py_nomainwindow_SlicerTestingExitFailureTest, py_nomainwindow_SlicerUnitTestWithErrorsTest, py_SlicerTestingExitFailureTest).
The root cause of the problem was that the check that compared a parameter to a known argument was incorrect: the parameter name
contained the prefix (--python-script) and this string was searched among argument names (such as python-script).
Fixed by parsing each parameter after a multi-value argument. If a known argument is found, it is not added to the multi-value argument.
Added test: modified ctkCommandLineParserTest1 to test that arguments specified after a multi-value argument are parsed correctly.

Good catch!

Thanks @lassoan


Creating new GridFS files, with the same name, is broken

It looks like Mongolian's GridFS client is not properly saving files to GridFS when they have the same name as a previously saved file. Using the MongoDB mongofiles tool, it's possible to save the exact same file to the same GridFS document collection over and over. Looking at the MongoDB documentation, the only unique identifier on a GridFS collection should be the _id field. It looks as if Mongolian contains some logic that uses an ambiguous identifier for an upsert, or something, that results in the new file being added to not properly be inserted.
Looking at the Mongolian code, it looks like you're removing a file with the same file name but a different object id. Why is this being done? MongoDB allows files with the same file name, and file name should not be used as a record identifier? https://github.com/marcello3d/node-mongolian/blob/master/lib/gridfile.js#L35
For example, I wrote the following basic test application that inserts a file with the same name and then lists the files in the database. You'd expect to be able to execute this app over and over, and each time see one additional file. That's not what I see, though. What happens is, when I run this the first time it works as intended. When I run it a second time, the original file is there, but the new record is mostly undefined, as if it's using the file name somewhere and that's causing issues. Running it any more times does nothing different than the second time - no new third record, fourth record, etc.
var fs = require('fs'),
    util = require('util'),
    mongolian = new (require('mongolian')),
    database = mongolian.db('test'),
    gridfs = database.gridfs();

// create a new gridfs file
var file = gridfs.create({ filename: 'foo' }),
    write_stream = file.writeStream();

// pipe local data into it
fs.createReadStream('app.js').pipe(write_stream);

// save the file
file.save();

// list all files in this collection, now
gridfs.find().forEach(function (document) {

    // print this file out to console
    console.log('file: ' + util.inspect(document) + '\n');

}, function (err) {

    if (err) { console.log('error: ' + err); }

});

Use this pull request instead. It created an issue of its' own.
https://github.com/marcello3d/node-mongolian/pull/90


Fix pdf image override by text issue.

The current image in readthedocs pdf is override by "Viewer does not support full SVG 1.1" which makes image can not be seen clearly.

Thx!


python310Packages.fakeredis: 2.10.1 -> 2.10.2

Changelog: https://github.com/cunla/fakeredis-py/releases/tag/v2.10.2
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 222601 run on x86_64-linux 1

6 packages built:

baserow
python310Packages.celery-redbeat
python310Packages.fakeredis
python310Packages.fastapi-mail
python311Packages.fakeredis
python311Packages.fastapi-mail


Update OSL Worley noise implementation

#2119 added a new style parameter to Worley noise - this PR adds corresponding support to the OSL backend - mirroring behavior from the GLSL code generator.

This looks like a great improvement, thanks @ld-kerley, and I'm CC'ing @crydalch and @code-monkey for their review of the math.

Looks good to me.
Thanks Jonathan,

Mark.

On Sat, Dec 28, 2024 at 1:31 PM Jonathan Stone @.***>
wrote:

This looks like a great improvement, thanks @ld-kerley
https://github.com/ld-kerley, and I'm CC'ing @crydalch
https://github.com/crydalch and @code-monkey
https://github.com/code-monkey for their review of the math.
—
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/MaterialX/pull/2155#issuecomment-2564397840,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIJW5G74ZXYZ4SAQQ7EKS32H3U7ZAVCNFSM6AAAAABUDYXHD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRUGM4TOOBUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Refactor helm values for compatibility with shared cluster chart

Towards https://github.com/giantswarm/roadmap/issues/3372
- [x] Move `.Values.metadata` to `.Values.global.metadata`.
- [x] Move `.Values.connectivity` to `.Values.global.connectivity`.
- [x] Move `.Values.baseDomain` to `.Values.global.connectivity.baseDomain`.
- [x] Move `.Values.controlPlane` (and other control plane properties) to `.Values.global.controlPlane`.
- [x] Move `.Values.nodePools` to `.Values.global.nodePools`.
- [ ] Move remaining provider-specific Helm values to `.Values.global.providerSpecific`.
- [ ] Make sure that all Helm values that are required in cluster chart are correctly added to cluster-vsphere Helm values.
- [ ] Update cluster-vsphere e2e tests in cluster-test-suites.
- [ ] Update kubectl-gs if needed.
- [ ] Update happa if needed.
- [ ] Update relevant public docs (component-specific docs, where applicable, should be updated while working on the above tasks).
- [ ] Update all Giant Swarm CAPV clusters to the new cluster-vsphere version (first MCs then WCs).

 I'll keep it open until the other PRs are merged though as I'll be referencing it.

closing this


Feature Request: Nutrition Facts Label

Would love to leverage the Nutrition tab information of the recipe to create a Nutrition Label like the ones over at Nutrifox.

Implemented in https://github.com/nystudio107/craft-recipe/commit/7e29739c9c93eece902c10d533b7bdd6ff5198d8
Nutritional Facts
For a nutrition facts label, you can use:
{{ entry.someRecipe.renderNutritionFacts() }}

Which will output a responsive embed nutrition facts label like this:

The percentages are based on US Recommended Dietary Allowances, but you can pass in your own values as well:
{{ entry.someRecipe.renderNutritionFacts({
    'calories': 2000,
    'carbohydrateContent': 275,
    'cholesterolContent': 300,
    'fatContent': 78,
    'fiberContent': 28,
    'proteinContent': 50,
    'saturatedFatContent': 20,
    'sodiumContent': 2300,
    'sugarContent': 50,
}) }}


Security Advisory

One of your dependencies (Parsedown) unfortunately has a long standing XSS issue which has been public knowledge for a number of years (hence opening a public issue). I also note that this project isn't at a release version yet, so I hope that opening this publically should do no harm.
For some more discussion see https://github.com/erusev/parsedown/pull/495 (I've disabled the link there so it doesn't show up in the PR comment timeline before you've fixed this).
I found this library app using the GitHub search for "parsedown setMarkupEscaped", and it looks like your app accepts user input and funnels it into Parsedown (which unfortunately won't escape HTML properly – which would say, let someone run javascript on a Wiki page that steals session cookies from another user).
If you'd like to get a fix early you can temporarily install https://packagist.org/packages/aidantwoods/secureparsedown which will implement the patch by replacing the vulnerable code via a class extension. Some minimal usage instructions are given on the repo page https://github.com/aidantwoods/SecureParsedown
Alternatively you could apply the patch from the PR directly to your version of Parsedown (I think you can just add .patch to the URL to get it)

Thanks for the heads-up! :)


Simplify deployment

If you remove the namespaceentries from install/odh/base/kustomization.yamland install/odh/base/role_binding.yaml, the overlay called default is not needed for a standard ODH deployment and you can directly add:
- kustomizeConfig:
        repoRef:
          name: dashboard
          path: install/odh
      name: odh-dashboard

and
    - name: dashboard
      uri: 'https://github.com/opendatahub-io/odh-dashboard/tarball/master'

to the ODH instance YAML.
That's much easier imho than the deploy.sh script, plus it's the "standard" way to deploy an ODH component, which will make it easier to merge this as a standard component in a next release. namespace is not needed as the operator will take care of the deployment of all components in the right one.
I did not make a PR yet as I did not know what was the intent behind the deploy script, but I can easily as it's already implemented in my fork.

@guimou the kustomize templates here in the project were meant to support a dev pipeline (e.g. if I wanted to deploy a customized image I built using the other build scripts) but will provide the basis for the operator deployment.  I expect I'll be adding those to templates similar to your suggestion to the odh-manifests project soon.

@guimou I got rid of those namespace entries in the templates and now you can use the ODH operator to deploy the dashboard just like you suggested.  I left the dev overlay there for the purposes of allowing developers to deploy custom images, but you should still be able to deploy the normal image.  You can just set the path to install/odh/base.  I added instructions to the readme
    - kustomizeConfig:
        repoRef:
          name: odh-dashboard
          path: install/odh/base
      name: odh-dashboard

    - name: odh-dashboard
      uri: 'https://github.com/opendatahub-io/odh-dashboard/tarball/master'

Let me know if you think this address the issue and I'll close it out.


Add README_ML

coverage: 93.619%. remained the same when pulling 35ce03c8c9086d3f7d88bea02cccdaf1ae252f1e on add-ml-readme into e761cedf1ed3193ad08096d21d45b0a634f61cb9 on main.


Modifications in evaluate.py for other architectures (KeyError: "The name 'final_training_ops/Wx_plus_b/add:0' refers to a Tensor which does not exist.)

There's a script for measuring the model's performance at tensorflow-for-poets-2/scripts/evaluate.py.  That script was originally written for mobilenet models but can be modified for other architectures accordingly. What should I write in line 41 logits = graph.get_tensor_by_name("final_training_ops/Wx_plus_b/add:0"). I'm getting KeyError: "The name 'final_training_ops/Wx_plus_b/add:0' refers to a Tensor which does not exist. The operation, 'final_training_ops/Wx_plus_b/add', does not exist in the graph."

I figured this out myself. Given a .pb file, we can view the operations in frozen .pb TensorFlow graphs using this code. So, we need to replace the line 41 with the last operation according to our .pb file.


Added member oid extension for each observation

This PR  adds the member OID as the extension to all observations in the elr messages.
Test Steps:

Include steps to test these changes

Changes

The ConditionStamper will now handle both condition lookups and Member OID stamping based on the logic and constants from ObservationMappingConstants

Checklist
Testing

[x] Tested locally? yes
[x] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container? yes
[x] Added tests? yes

Linked Issues

Fixes #14511

The fhir output seems strange with heavily nested with repeated urls. Is this intentional?
...
        "code":{
          "coding":[
            {
              "extension":[
                {
                  "url":"https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code",
                  "extension":[
                    {
                      "url":"https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code",
                      "valueCoding":{
                        "system":"SNOMEDCT",
                        "code":"6142004",
                        "display":"Influenza (disorder)"
                      }
                    },
                    {
                      "url":"https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid",
                      "extension":[
                        {
                          "url":"https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid",
                          "valueString":"OID12345"
                        }
                      ]
                    }
                  ]
                }
              ],
              "system":"http://loinc.org",
              "code":"80382-5"
            }
          ],
          "text":"Flu A"
        },

Is this what engagement team expects? I would assume they may want it a few levels up instead of code.coding.extension.(test-performed-member-oid).(test-performed-member-oid).valueString

I agree with Jamie's comment above. Specifically:

Can we simplify:

{
  "url":"https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid",
  "extension":[
    {
      "url":"https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid",
      "valueString":"OID12345"
    }
  ]
}

to
{
  "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid",
  "valueString": "OID12345"
}


fontforge needs libpng at runtime

When a font is opened in fontforge or fontimage from the package fontforce, this message is shown:
libpng: libpng.so.2: cannot open shared object file: No such file or directory
Try e.g.:
fontimage -o test.png DejaVuSans.ttf
fontforge is a dynamic executable but it does not link to libpng.so.2 but loads it on demand.

Would you test this patch: 27a5365648e61?

This patch build the package fine, but the issues is still exactly the same.
Did the sample cmdline work for you?
$  fontimage -o test.png DejaVuSans.ttf
Copyright (c) 2000-2011 by George Williams.
Executable based on sources from 13:48 GMT 22-Feb-2011-TtfDb-NoPython.
Library based on sources from 13:48 GMT 22-Feb-2011.
This font contains both a 'kern' table and a 'GPOS' table.
The 'kern' table will only be read if there is no 'kern' feature in 'GPOS'.
Use-my-metrics flag set on at least two components in glyph 685
The glyph named mu is mapped to U+00B5.
But its name indicates it should be mapped to U+03BC.
The glyph named Delta is mapped to U+2206.
But its name indicates it should be mapped to U+0394.
libpng.so.2: cannot open shared object file: No such file or directoryCould not write out.png

Hmm, I see, it's opened by libgutils.so and not by bin/fontforge directly. That's easy to work around, but most other libs are only dlopened as well, which will cause problems (it retains references to almost none of the libs detected in configure phase). I found the --with-regular-link configure option that should fix that, but for some reason fontforge fails to build with it.
The source is quite old, so I tried updating to the latest release (20141230), but it's really adverse to nix-like packaging, trying to download git sources for its tools, etc. I haven't managed to make it configure yet....

I think I've got it now. I'll do some more polishing and testing.

It got more complex than anticipated, but now the package should really work.

works for me too.

Cherry-pick to release-14.12?

Hmm, it's a rather large update, but considering it didn't work well before and few things depend on it, I'll pick it.


linter-pep257 Deprecated: Atom 1.0.3 OS X 10.10.4

Also deprecated under Atom 1.0.2.
All packages are updated, checked both within Atom and using apm outdated
linter 1.2.4 installed

a fork has done the update work over at https://github.com/sfodje/linter-python-pep256

fixed - @sfodje's work has been merged and published


HTTP::Client weird SSL behaviour when parsing an URI with IP

Hey there,
We're having a weird problem when trying to parse an URI which is https but contains only IP address.
You can see this issue for more info https://github.com/Sdogruyol/cryload/issues/4#issuecomment-127020288

Thanks @waj :+1:


new lesson: Binary Search

⭐ Request Type
I would like to add a lesson to explain the Binary Search algorithm. The lesson would cover the following:

Detailed explanation of how the Binary Search algorithm works.
Time and Space Complexity Analysis.
Common scenarios where Binary Search can be applied.
A set of practice questions to reinforce understanding

💻 Location
https://github.com/Utkarsh1504/DSA-Java/blob/main/lessons/binarysearch.md
order: 5
filename: binarysearch.md
❌ Additional Info
No response

@Utkarsh1504 can i work on this issue.


[Git] click Stage Changes should trigger files.autoSave first

VSCode settings:
{
    "files.autoSave": "onFocusChange",
}

After I click Accept All Incoming, there is no conflicts in the file, but the file not saved.
When I click the Stage Changes icon, should trigger the files.autoSave first. Because the editor lose the focus. So the useless dialog will also not appear.
https://user-images.githubusercontent.com/41773861/211761636-11a28b4a-402e-4a46-8b50-e5578be936b4.mov

@lszomoru This issue affect my workflow seriously, any plan to to fix it?

@lszomoru hope this can be added to July iterate plan


Extension issue

Issue Type: Bug
Extension Name: python
Extension Version: 0.2.3
OS Version: Windows_NT x64 10.0.18363
VSCode version: 1.44.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

@adamsgodoy please close this yourself - this issue is not useful at all as it has no content about an actual issue, just the version numbers


PEP8 standards

Screenshots
If applicable, add screenshots to help explain your problem.
Mention in the readme about the PEP8 standards that contributors must follow

Can I work on this issue under GSSoC'21? Kindly assign it to me.

@AshuKV are u working on it ?

@AshuKV are u working on it ?

I am working on it, will send a PR within 2 days.

@AshuKV are u working on it ?

I am working on it, will send a PR by tomorrow.

I have already assigned u 4 days back , please try doing it asap .


[serverless] Fix data race in TellDaemonRuntimeDone

What does this PR do?
Fix a data race bug that caused an issue with the Lambda Extension.
Additional Information
We use a sync.Once to make sure that the function TellDaemonRuntimeDone is called at most once per invocation. We reset this sync.Once at the beginning of each invocation to enable this behavior.
The way we did this is incorrect.
Internally, sync.Once uses a mutex. Unlocking a mutex that is already unlocked causes a panic. When we reset the Once, we overwrote the old one. This creates a problem if there is currently a function call in flight using the Once. When that function call finishes, the sync.Once will unlock the mutex -- which was just overwritten with a new, unlocked mutex. Oops!
Minimal example of the issue: https://go.dev/play/p/5xJ-Pgt0DG5
The solution is to store a pointer to a sync.Once. That way, when we reset with a new pointer, the original sync.Once is not overwritten.
Minimal example of the solution: https://go.dev/play/p/Rk-uDsR6dZl
Reviewer's Checklist

[x] The appropriate team/.. label has been applied, if known.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.

I think this fix makes sense, but is there a way we could write a unit test that fails on the old logic with the expected panic, and passes on the new logic?

I looked into this and unfortunately I couldn't find a way to write a test for this race condition without doing a more major refactor. Instead I added a comment to the TellDaemonRuntimeDoneOnce explaining why it must be a pointer.


Why are there 2 workers running when I set the settings to just 1?

I set my settings to:
Q_CLUSTER = {     'workers': 1,}
But when seeing my logs, I see:
INFO Process-13e34c004f7246948616f2901f839ca5 processing ... INFO Process-68e7765c38374543a4e7f844f7534967 created task thirteen-skylark-east-tennessee from ....
So I assume there are actually 2 workers running? why?

Could you share your full Q_CLUSTER config? I have never seen that happen before.

Here it is:

Q_CLUSTER = {
'name': 'DjangoQ',
'workers': 1,
'timeout': 300,
'retry': 600,
'recycle':15,
'orm': 'default',
"ack_failures": True,  # do not restart failed tasks
'poll': 2,
"catch_up": False,  #don't repeat all missed tasks
}

Not right now. I think it would be cool to have a format option for logs though.

Maybe submit as an enhancement request?


Windows: otNodeInit Bug Fix

Retry otInstanceInit multiple times in otNodeInit because the filter driver may not be ready yet.

Codecov Report

Merging #1271 into master will increase coverage by 0.38%.

@@            Coverage Diff             @@
##           master    #1271      +/-   ##
==========================================
+ Coverage   69.25%   69.64%   +0.38%
==========================================
  Files         170      170
  Lines       26700    26700
  Branches     3320     3320
==========================================
+ Hits        18491    18594     +103
+ Misses       6792     6694      -98
+ Partials     1417     1412       -5

Impacted Files
Coverage Δ

src/core/thread/mle_router.cpp
79.56% <ø> (-0.43%)
:x:

src/core/thread/mesh_forwarder.cpp
76.01% <ø> (+0.11%)
:white_check_mark:

third_party/mbedtls/repo/library/bignum.c
50.95% <ø> (+0.13%)
:white_check_mark:

src/core/thread/mle.cpp
80.62% <ø> (+0.14%)
:white_check_mark:

src/core/thread/network_data_leader_ftd.cpp
68.72% <ø> (+0.23%)
:white_check_mark:

src/core/mac/mac.cpp
78.64% <ø> (+0.46%)
:white_check_mark:

src/core/net/ip6.cpp
70.41% <ø> (+0.48%)
:white_check_mark:

src/core/thread/network_data_leader.cpp
80.59% <ø> (+0.49%)
:white_check_mark:

third_party/mbedtls/repo/library/ctr_drbg.c
72.79% <ø> (+0.73%)
:white_check_mark:

src/ncp/ncp_base.cpp
38.17% <ø> (+0.89%)
:white_check_mark:

... and 5 more

Continue to review full report at Codecov.

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


Rename policy button leads to error

The rename option raises a FieldError at /policy/rename with Cannot resolve keyword 'policy_name' into field. Choices are: filename, id, process, process_id, row, status, task_id

hmm okay i fix it.


Any interest in TypeScript definitions?

Other than the lack of typing information, I find this to be my favorite promises (non-tasks/futures) library.
Would you be interested in trying to get type information added? Do you foresee any problems with typing certain things?

Hey @joshburgess.  I'm glad you find creed to be useful!  Yes, absolutely, I'd love to have TS defs.  Is that something you could help with?

Sure, I'll try to look into it soon. Just wanted to check with you first. I know your newer libraries already have TS definitions.

Very much appreciated, @joshburgess!  Feel free to ping me for discussion or questions.


Implement ExactSizeIterator for common iterator types

Third time lucky?

That, and to be able to check if the iterator is empty. An example would be checking whether a node has children. Returning Option in that cases seems unreasonable.


Add c:JSONAPI.View.get_field/3

Closes https://github.com/beam-community/jsonapi/issues/272.

Ping @davydog187 and/or @doomspork? 🙃

@doomspork Would you be interested in having me help maintain (review and/or release) this project? I'm very interesting in chipping in more formally and keeping momentum up. Sorry, I feel a comment on a PR is a terrible place to make that plea, I've just had trouble finding a better way to reach out!

@whatyouhide do you mind merging the main branch into yours again to see if GitHub will recognize that it hasn't run CI against this branch yet? I now have the ability to merge this PR once we figure out why GitHub has forgotten that there are CI actions to run against it!

@mattpolzin you'll need to re-approve as well 👍

@mattpolzin just rebased on master and pushed.

Thank you! I am fixing CI over here so I'll have you merge once more after that lands. Appreciate your patience!

Ok, that's sorted when you get the chance to merge master in again @whatyouhide .

Sorry all, just catching up here. Let me know if I can help @whatyouhide @mattpolzin

Updated the branch protections which should now allow us to update a branch to master 👍 Just did so here and it has kicked off CI.


Refactor regex to be built using Regexp.union

This PR clarifies which error message strings are being matched, by using Ruby's Regexp.union method to build the patterns.

@olleolleolle So as #1011 has been merged, I'm assuming this can be closed, correct?

Yes, correct, closing!


#51 bring camera to click location

Closes #51

Blocked: can not test it until BE delivers data again

centering is not really working, the map just moves a little bit and does not really center. Tested on the Android emulator.

Yeah that might be, I could not test it yet due to missing data.

Also the detail loading is not always working, sometime it's just stuck in the loading animation

Hm, I had also noticed this, but thought that this is caused by an non-responding backend. I will check that, but not as part of this technical task.

centering is not really working, the map just moves a little bit and does not really center. Tested on the Android emulator.

Should be fixed now. No idea if this is seen as a feature by map box that they do not move the camera too far if the destination already is inside the viewport, but renouncing the movement animation “fixes” it.


can't  open document, but mongoDB Compass open it correctly

<Please be sure to remove any private information before submitting.>
Repro steps:
<Enter steps to reproduce issue>
Action: cosmosDB.openDocument
Error type: ENOENT
Error Message: ENOENT: no such file or directory, open 'C:\Users\7349~1\AppData\Local\Temp\vscode-cosmosdb-editor\Sidra
-cosmos-document.json'
Version: 0.9.1
OS: win32

To do: Check if we use the debounce from shared package .

This was resolved with https://github.com/microsoft/vscode-cosmosdb/pull/954/files


capability started in 1.4.x must use V1_4_x

Current capability can use two digits, but started in 1.4, all digits have to be used
such as V1_4_3. V1_4 wont work
Expected Behavior

All orderer nodes should start up correctly
Current Behavior

All orderer nodes fails with errors like the following:
panic: [channel orderersystemchannel] config requires unsupported channel capabilities: Channel capability V1_4 is required but not supported: Channel capability V1_4 is required but not supported
Possible Solution

Use the three digit capability string
Steps to Reproduce

Context (Environment)

OS:
Architecture:
Docker version:
Docker compose version:
Kubernetes version:

Detailed Description and log

Possible Implementation

The issue has been fixed in patch 71


How does services get in to router table of fabio

I have a single host machine

Docker 1 => Consul-Server
Docker 2 ==> Registrator
Docker 3 ==> Fabio
Docker 4 ==> Hello world

I am not able to see Hello World in the routing table ?.
Here are the commands I tried....did I miss any specifics ?
sudo docker run -d  -h consul-server1 --name consul-server1 -p 8300:8300 -p 8301:8301 -p 8301:8301/udp -p 8302:8302 -p 8302:8302/udp -p 8400:8400 -p 8500:8500 -p 8600:53/udp wdijkerman/consul -server -bootstrap -ui -ui-dir /consul/ui -advertise <IP_ADDRESS>

sudo docker run -d -h consul-client1 --name consul-client1 -p 8300:8300 -p 8301:8301 -p 8301:8301/udp -p 8302:8302 -p 8302:8302/udp -p 8400:8400 -p 8500:8500 -p 8600:53/udp wdijkerman/consul -join <IP_ADDRESS> -advertise <IP_ADDRESS>

sudo docker run -d -h registrator --name registrator -v /var/run/docker.sock:/tmp/docker.sock gliderlabs/registrator consul://<IP_ADDRESS>:8500

sudo docker run -d -h fabio --name fabio -p <IP_ADDRESS>:9999:9999 -p <IP_ADDRESS>:9998:9998 -e 'registry_consul_addr=<IP_ADDRESS>:8500' magiconair/fabio

sudo docker run -d -h hello-world-1 --name hello-world-1 -p <IP_ADDRESS>:80:8000  -e SERVICE_TAGS=urlprefix-/ -e SERVICE_NAME=hello-world tutum/hello-world

What does curl http://<IP_ADDRESS>:8500/v1/health/hello-world say?

empty ... no values / output

I'm sorry but I'm out of advice. My gut feel is that you are doing something fundamentally wrong and that this is most likely a simple issue. I do not believe that you have found a bug in either fabio or consul. However, you have chosen a complex setup with spring-boot, registration frameworks, and docker to start with.
What I would suggest at this point is to throw your sample project away. Don't use Docker or a framework at this point. Start with a simple java program that has just a Main class and uses only the consul api library. Make sure you read the https://github.com/eBay/fabio#getting-started section and make sure your service follows that. If you need inspiration you can look at the main function in demo/server/server.go. It has only 120 lines and does everything you need to do. (https://github.com/eBay/fabio/blob/master/demo/server/server.go#L46-L166)
Run consul, fabio and your app instances locally in separate terminal windows, binding to <IP_ADDRESS> (again do not use Docker at this point) and figure out how to make that work. Then start a second instance of your service and make that work. If it doesn't then read the fabio Getting Started again and figure out how to get data out of consul using the command line tools. Then one step at a time add a different component towards the setup you want to have. What you will learn with this approach is how to check whether something works and where and how to look if it doesn't.
Please feel free to ask more questions in the future. I'll try to answer them as well as I can. At this point however I think you need to cover your basics first.

Thank you for taking time. I believe fundamentally I missing some thing simple here....
here is my understanding ....

fabio reads updated configuration (list of avaiable service) from consul-server (i.e
Based on running healthy services, it load balance between them.

Very simple.

I am asking the question / documentation on where can I find list of services in fabio docker instance
If I run fabio + consul-server on one VM instance and consul-client+registrator+serviceA-1 + serviceB1 +serviceA-2+serviceB-2 on a different VM instance, does it make sens  or works ?

sorry to bother ....I like fabio .....I believe ...I am looking for a documentation that helps in general
thanks

You should be able to see the services listed in the Fabio UI (:9998), assuming you have set proper urlprefix tags on the agents advertising your services.
Fabio will connect to the API via local agent. It doesn't have to be running on a node with server running. An agent running in client mode is fine.

On Feb 18, 2017, at 12:53 PM, TargetFocussed<EMAIL_ADDRESS>wrote:
Thank you for taking time. I believe fundamentally I missing some thing simple here....
here is my understanding ....
fabio reads updated configuration (list of avaiable service) from consul-server (i.e
Based on running healthy services, it load balance between them.
Very simple.
I am asking the question / documentation on where can I find list of services in fabio docker instance
If I run fabio + consul-server on one VM instance and consul-client+registrator+serviceA-1 + serviceB1 +serviceA-2+serviceB-2 on a different VM instance, does it make sens or works ?
sorry to bother ....I like fabio .....I believe ...I am looking for a documentation that helps in general
thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

First you should see the services in the consul ui and they should all have a green health check other than the SerfCheck. If you run them on different ports you don't need different VMs. Don't use registrator for now. Start from first principles.
This should work on your machine:
# terminal 1
consul agent -server -dev -ui-dir <path to ui files>

# terminal 2
fabio

# terminal 3
go get github.com/eBay/fabio
cd $GOPATH/src/github.com/eBay/fabio/demo/server
go build
./server -addr <IP_ADDRESS>:5000 -prefix /foo
# at this point you should see 'server' in the consul ui at localhost:8500
# you should also see one entry in the fabio ui at localhost:9998
# the fabio log should also print
2017/02/18 19:49:48 [INFO] Config updates
+ route add server /foo http://<IP_ADDRESS>:5000/ tags "urlprefix-/foo"

# terminal 4
curl localhost:9999/foo
Serving /foo from server on <IP_ADDRESS>:5000

# terminal 5 (2nd instance of server)
./server -prefix /foo -addr <IP_ADDRESS>:5100

# now try the curl command in terminal 4 a couple of times
# you should see responses from both servers


ipq50xx: add initial support for GL.iNet B3000

Hardware:

SoC: Qcom IPQ5018
RAM: DDR3L 512MB
Flash: 128MB Nand
Ethernet: 3x GbE
WLAN: 2x2 2.4GHz 574Mbps + 2x2 5GHz 2402Mbps (builtin + builtin)
LEDS: 1x white, 1x blue
Buttons: 1x reset
Power: 12VDC, 1.5A

Installation:

from qsdk to openwifi: upgrade "openwrt-ipq50xx-glinet_b3000-squashfs-nand-factory.bin" via web ui without keep config.
upgrade "openwrt-ipq50xx-glinet_b3000-squashfs-sysupgrade.tar" if you are already in openwifi.

merged, Thanks !


Powershell script to which serial ports are for which function

Usage

Open a Windows Powershell command prompt
Change to the directory containing the powershell script
Review the contents of the script (for malicious content)
If necessary, permit the loading of the # execute as follows:
If satisfied with content, permit the loading of the script:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
Load the script into your current Powershell process
. .\show_port_info.ps1
Run the main function that the script defined
Get-BusPirateDetails

Example output
The following is an example, with a single BusPirate5 device connected:
PS C:\Users\ian> Get-BusPirateDetails
InstanceId          : USB\VID_1209&PID_7331\FEDCBA9876543210
Serial              : FEDCBA9876543210
Location            : Port_#0003.Hub_#0007
InstanceID_Terminal : USB\VID_1209&PID_7331&MI_00\8&32E00187&0&0000
Port_Terminal       : COM55
InstanceID_Binary   : USB\VID_1209&PID_7331&MI_02\8&32E00187&0&0002
Port_Binary         : COM56
InstanceId_Storage  : USB\VID_1209&PID_7331&MI_04\8&32E00187&0&0004

In the above example output, the terminal is available on COM55, while
the binary serial port is available on COM56.  The serial number of each
device is also shown.
Problems
If not getting the expected results, execute the script with more verbose output,
and copy/paste that output when reporting the issue:
Get-BusPirateDetails -Verbose -Debug

When I typed
powershell.exe -NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command ". .\show_port_info.ps1; Get-BusPirateDetails"
The response was

. : The term '.\show_port_info.ps1' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:3
+ . .\show_port_info.ps1; Get-BusPirateDetails
+   ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\show_port_info.ps1:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Get-BusPirateDetails : The term 'Get-BusPirateDetails' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:25
+ . .\show_port_info.ps1; Get-BusPirateDetails
+                         ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-BusPirateDetails:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I did the Set-ExecutionPolicy  command in powershell. On Windows 10, I'm getting an error that it's not digitally signed. It then says
+ . .\show_port_info.ps1
+   ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

I got the same error. Go to the folder the file is in, right click properties,  click the check mark "Unblock" next to "This file came from another computer and may be blocked to help protect this computer". Click apply/ok, then run the script, it will work!


Improve the UI of the Project Description (checkProject.php)

Describe the solution you'd like
I will improve the Project Description to be Like the image below
Additional context

You may work on this now!

Any updates @Raghad-Khaled?

@ishubham21
It is Done. pls check PR

Hey @Raghad-Khaled, can you please make a pull request for this issue again? I had mistakenly merged it into the code base without allowing the other mentors to approve it.
I regret your inconvenience.

@ishubham21
How can i make the PR again

To make the PR again just follow the code:

git branch branch_name
git push -u origin branch_name
Go to your forked repository
Make a PR

I do it :)
@ishubham21


DiligentImplImGui add multi-viewport functionality

This is more of a feature request,
I'd love to use the ImGui "docking" branch using the Diligent engine.
By simply checking out the docking branch in the imgui submodule (DiligentTools/ThirdParty/imgui) I was able to use the new docking feature.
But I can't enable the new viewports feature, presumably because the Diligent imgui implementation has no way of processing new window creation. Not even sure where I would start to look.
Might be easier in my case since I'm using GLFW for window creation.

Imgui renderer is implemented here

After a lot of thinking and tinkering, I've finally figured out a streamlined way of integrating the docking branch into DiligentEngine. I've tested it and it works! (Docking and multi-viewports). There is one small hiccup though, fixing it will allow me to create a class that you can even add to the DiligentTools repo if you like, I created a new issue discussing it here https://github.com/DiligentGraphics/DiligentTools/issues/157

Update:
Most things seem to be in order. But I have a couple of issues.

Issue 1:
I get errors when creating a new window which crashes the application only sometimes.
Using Vulkan I get this error repeatedly while a new window had been created.
Diligent Engine: ERROR in Diligent::SwapChainVkImpl::CreateVulkanSwapChain() (SwapChainVkImpl.cpp, 248): Failed to query physical device surface capabilities

Using Direct X 11/12 I get these errors
D3D12 ERROR: ID3D12CommandQueue::Present: Resource state (0x800: D3D12_RESOURCE_STATE_COPY_SOURCE) (promoted from COMMON state) of resource (0x00000190372699E0:'Main back buffer') (subresource: 0) must be in COMMON state when transitioning to use in a different Command List type, because resource state on previous Command List type : D3D12_COMMAND_LIST_TYPE_COPY, is actually incompatible and different from that on the next Command List type : D3D12_COMMAND_LIST_TYPE_DIRECT. [ RESOURCE_MANIPULATION ERROR #990: RESOURCE_BARRIER_MISMATCHING_COMMAND_LIST_TYPE]

Diligent Engine: ERROR: Timeout elapsed while waiting for the frame waitable object. This is a strong indication of a synchronization error.

D3D11 ERROR: ID3D11DeviceContext::DrawIndexed: Draw cannot be invoked while a bound Resource is currently mapped. The Vertex Shader Constant Buffer at slot (0) is still mapped. [ EXECUTION ERROR #364: DEVICE_DRAW_BOUND_RESOURCE_MAPPED]

Not sure what's causing these errors yet, possibly incorrect use of the Diligent API on my part (I'm fairly new to rendering APIs in general). But I'm using the Diligent::ImGuiImplDiligent which is unchanged and handles all the draw calls. Maybe it's a problem with the way I initialize the DiligentEngine for each window? (creating swapchains from existing device and context)
The errors repeatedly show only when rendering a new window and disappear otherwise. The application crashes sometimes, I can't recreate the crashing consistently.

Issue 2:
The ImGui viewports feature doesn't work with OpenGL since we cant create multiple swapchains. I'm assuming this is a known issue since it's mentioned in the multi-window tutorial. There might be a hacky way around it but it would require changing the way DiligentImguiRenderer handles binding contexts. (I'm assuming this will only work since I'm using GLFW)

Update cont.
Currently, my implementation (and any application that uses it) will heavily rely on GLFW and the respective backend files from ImGui. Implementing a backend for Diligent will require more work than is needed for my project, but if it helps others I'm willing to spend a bit more time and try and figure it out. It doesn't look particularly simple though. It needs to handle window create/delete then handle input/window events send them to ImGUI. There's a more detailed description in the ImGui Repo

For the errors: make sure that you call GetCurrentBackBufferRTV from each swap chain every frame. Follow the multiwindow tutorial.
OpenGL backend does not support multiple windows and multiple swap chains. We are not planning to add this feature and in general strongly discourage anyone to use OpenGL unless there is a very good reason to use it.

Implementing a backend for Diligent will require more work than is needed for my projec
What backend do you mean? Imgui backend?

Thanks for the quick reply!
I double checked and I am calling GetCurrentBackBufferRTV() every frame for every swap chain.
I agree with you, OpenGL is a last resort, I just wanted to make sure an application won't break if someone decides to use it. The ImGui docking features are still enabled, However, the viewport features are not.

What backend do you mean? Imgui backend?

yes my bad, I meant ImGui backend (eg. imgui/backends/imgui_impl_glfw.h). Ideally, there would be one for Diligent since Diligent handles its own native window creation. glfw works for now though.

I don't know the reasons for the errors, but incorrect API usage is the most likely cause. Check Multiple Windows tutorial and ImGUI demo - they all run without errors.

I meant ImGui backend. Ideally, there would be one for Diligent since Diligent handles its own native window creation. glfw works for now though.

There already exists Diligent implementation for imgui.


add another example usage

another example usage, which I prefer:
cat /demo/ingress.yaml | docker run --rm -i quay.io/swade1987/deprek8ion:1.1.7 conftest test -p /policies -
you dont need any volumes in this case, and this is very useful i.e. in building pipelines. furdermore you can diredtly pipe out a kubectl get ... command.

Hey @marsom PRs to the documentation are welcome.


Updates of MindBell let disappear status icon

Solved by adding android.intent.action.MY_PACKAGE_REPLACED to intent-filter of Scheduler.
To be released in version 2.6.0.


Does it work in Windows 10 !?

Greetings!
I was testing it on windows 10. and I got error below:
Django: 3.1.7
OS: Windows 10 - 64 bit
Python: 3.8.6 - 64 bit
(azimzadeh_env1) C:\Users\linux10\Desktop\my_all_envs\azimzadeh_env1\coffehouse>django-sql-sniffer -p 13204
Traceback (most recent call last):
  File "c:\python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\linux10\Desktop\my_all_envs\azimzadeh_env1\Scripts\django-sql-sniffer.exe\__main__.py", line 7, in <module>
  File "c:\users\linux10\desktop\my_all_envs\azimzadeh_env1\lib\site-packages\django_sql_sniffer\listener.py", line 31, in main
    injector.inject(str(args.pid), code_to_inject, args.verbose)
  File "c:\users\linux10\desktop\my_all_envs\azimzadeh_env1\lib\site-packages\django_sql_sniffer\injector.py", line 30, in inject
    res = subprocess.run(final_command, check=True, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
  File "c:\python38\lib\subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'gdb -p 13204 -batch -eval-command='call PyGILState_Ensure()' -eval-command='call PyRun_SimpleString("exec(open(\"C:\Users\linux10\AppData\Local\Temp\tmpen7_x__s\").read())")' -eval-command='call PyGILState_Release($1)'' returned non-zero exit status 1.

Hi there!
Unfortunately I don't have a readily available Windows machine handy, so I only briefly tested django-sql-sniffer on a Win VM - fwiw, you can use it via the Windows subsystem for Linux (probably Cygwin too), just make sure to enable ptrace (echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope). The latest version (1.0.3) is verified to work on Ubuntu 20.04 inside WSL.
Let me know if that works for you.


When changing pages on a table, the view should scroll back to the top of the table

This was found while clicking through the app with Mohs.
If a user is at the bottom of page 1 and changes to page 2, then they probably want the top of the page 2. A user would reasonably expect this behavior.


Missing python packaging user guide

Details
This is based on this tweet.

Read the Docs project URL: https://readthedocs.org/projects/python-packaging-user-guide/

Expected Result
I expect the packaging guide to be there
Actual Result
It is not there

More Context:
About 10 minutes ago, I deleted the account associated with my dead name, jonparrott. This seems to have broken every project associated with that name even though all of these projects have additional owners.
Prior to deletion I added my new account, theacodes, to every project. After deletion, this account does not have access.
Projects affected:

https://readthedocs.org/projects/python-packaging-user-guide/
https://readthedocs.org/projects/nox/
https://readthedocs.org/projects/urllib3/
https://readthedocs.org/projects/google-auth/
https://readthedocs.org/projects/google-cloud-python/

I feel like I'm forgetting one...
(note: since this comment contains my deadname, I will edit it an remove it as soon as y'all confirm you have the info you need).

To specify: I deleted the RTD account. I disassociated the old RTD account from my GitHub account before deletion.

The symptoms from my side are the same as those that Thea is seeing on her new account: projects where we're co-maintainers (i.e. including Thea's old account) are not appearing in my project list at https://readthedocs.org/dashboard/

Ok, I was able to replicate this in my local instance. Looks like we are deleting all projects that belong to a user when it deletes its account (even if this wasn't the original owner of the project).

Yeah I'm thinking that if there are any other owners the project
shouldn't be deleted. In this case it was my intention to rotate to my new
account, so if projects created by my old account get deleted that would
have defeated the purpose.
On Mon, Aug 27, 2018, 7:10 PM Santos Gallegos<EMAIL_ADDRESS>wrote:

Ok, I was able to replicate this in my local instance. Looks like we are
deleting all projects that belong to a user when it deletes its account
(even if this wasn't the original owner of the project).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/4576#issuecomment-416427342,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc5qGXDt6YqNj3WxXrLc4j_Ker9Neks5uVKZ4gaJpZM4WOxZ-
.

Absolutely. We had a similar theoretical bug that we patched a while back, this is a different but related. Let me see if I can easily restore things from a backup

Thank you! (& Sorry again for breaking stuff)
On Mon, Aug 27, 2018, 8:08 PM Anthony<EMAIL_ADDRESS>wrote:

Absolutely. We had a similar theoretical bug that we patched a while back,
this is a different but related. Let me see if I can easily restore things
from a backup
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/4576#issuecomment-416436296,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUcyjXTGu2kisy4ZQ8ElhmhbcwiO7mks5uVLQegaJpZM4WOxZ-
.

No worries!
Everything is in flux since our migration to Azure, so frankly, it might be faster to just recreate the projects unfortunately.

packaging.python.org and google-auth-library-python had a significant
number of redirects in place that would be practically impossible to
recreate.
On Mon, Aug 27, 2018, 8:13 PM Anthony<EMAIL_ADDRESS>wrote:

No worries!
Everything is in flux since our migration to Azure, so frankly, it might
be faster to just recreate the projects unfortunately.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/4576#issuecomment-416437117,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc_a63azQ0sZlksUmjLZjhGP7sMDZks5uVLV0gaJpZM4WOxZ-
.

Files for the projects above have mostly been restored, I'm working on the database restore pieces now. Files aren't accessible by domain name until I get data out from the snapshot and back into our production database.
Good news: our new database restore procedure has officially been tested though :heavy_check_mark:

Yes, if you can restore those and assign to my new account that would be
awesome.
On Mon, Aug 27, 2018, 10:22 PM Anthony<EMAIL_ADDRESS>wrote:

@theacodes https://github.com/theacodes there are also some projects
where your old account is the only owner, shall I restore those as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/4576#issuecomment-416454912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc_Kp_T2zie7QufmWTz8ZaeKUPKGMks5uVNOcgaJpZM4WOxZ-
.

Sounds good. I'll need verification for the changes on the orphaned projects as per our policy on intervening on project changes -- I'll send some verification emails tomorrow.
Things are mostly restored now. I didn't reload builds or build commands, if there is anything important there, let us know and we can manage restoring it. I haven't fully tested building either, but things appear okay.
I'll wrap up some of the smaller pieces tomorrow morning.

Cool, so after the verification process my access will be restored to all of those projects?

Okay, I'm not sure if this is related or not, but it appears one of the restore projects is not updating properly.
See https://nox.thea.codes/en/stable/ and https://nox.thea.codes/en/latest. These docs are quite old. The most recent two builds for latest and stable were successful and pulled in the correct commits from GitHub, but the HTML itself doesn't seem to be updating.

Oops, I didn't test that I restored things with the correct permissions, so there is probably an issue there. I'll check on that later and follow up on email verification

The Python Packaging User Guide has reverted quite a bit as well - most notably, the new Overview page that was merged in https://github.com/pypa/python-packaging-user-guide/commit/4b5e8600775f8be01cbd282d95a1255dded198db is missing.
The currently displayed PyPUG build does include the changes from mid-July to update Continuum Analytics references to Anaconda, Inc (to account for the company name change), so it's likely that that's just the most recently archived version.
However, I forced a new build, and even though that reported itself as successful, the https://packaging.python.org doesn't appear to have updated to the latest version.
(@theacodes I also added you back as a project maintainer on the user guide)

Yeah I rebuilt nox again earlier today as well and it's still not updating.
On Thu, Aug 30, 2018, 10:52 AM Nick Coghlan<EMAIL_ADDRESS>wrote:

The Python Packaging User Guide has reverted quite a bit as well - most
notably, the new Overview page that was merged in
pypa/python-packaging-user-guide@4b5e860
https://github.com/pypa/python-packaging-user-guide/commit/4b5e8600775f8be01cbd282d95a1255dded198db
is missing.
The currently displayed PyPUG build does include the changes from
mid-July to update Continuum Analytics references to Anaconda, Inc (to
account for the company name change), so it's likely that that's just the
most recently archived version.
However, I forced a new build, and even though that reported itself as
successful, the https://packaging.python.org doesn't appear to have
updated to the latest version.
(@theacodes https://github.com/theacodes I also added you back as a
project maintainer on the user guide)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/4576#issuecomment-417348185,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUcw5f0MKCqD4lBEKX536oCTkgQaTRks5uV_w3gaJpZM4WOxZ-
.

Sorry, we had a busy day yesterday, so i'm just now getting to my yesterday todo list.
@theacodes it looks like nox is updating correctly. I see the version of nox that is marked as stable showing up at https://nox.thea.codes/en/stable/. I think latest looks correct too?
@ncoghlan I think the pypa guide is also updating correctly. Can you confirm your versions look as you expect, or if they don't, that rebuilding does update the hosted versions as you'd expect?

The overview is back in PyPUG, so it does look like that's building again: https://packaging.python.org/overview/
Potentially still a CDN cache invalidation issue, though?


[2 beta 1] Error response from daemon: Ports are not available

Description
I follow the upgrading from Nitro 1 guide. But after i run nitro add i get the following error:
 %  nitro add
Adding site…
Enter the hostname [craft-demo.nitro]: craft.test
  ✓ setting hostname to craft.test
  ✓ adding site ~/Sites/craft-demo
Enter the webroot for the site [web]:
  ✓ using webroot web
Choose a PHP version:
  1. 8.0
  2. 7.4
  3. 7.3
  4. 7.2
  5. 7.1
  6. 7.0
Enter your selection: 1
  ✓ setting PHP version 8.0
Error: there is no config file for the environment

When I setup nitro with nitro init I get the following error:
 %  nitro init
Setting up Nitro…
Would you like to use MySQL [Y/n] Y
Select the version of MySQL
  1. 8.0
  2. 5.7
  3. 5.6
Enter your selection: 1
Would you like to use PostgreSQL [Y/n] n
Would you like to use Redis [Y/n] n
Checking Nitro…
  ✓ network ready
  … pulling image ✓
  ✓ volume ready
  ✓ proxy ready
Checking network…
  ✓ network ready
Checking proxy…
  ✓ proxy ready
Checking databases…
  … checking mysql-8.0-3306.database.nitro ✗
Error: Error response from daemon: Ports are not available: listen tcp <IP_ADDRESS>:3306: bind: address already in use

Additional info

Nitro CLI: 	 2.0.0-beta.1
Nitro gRPC:
Docker API: 	 1.41 (1.12 min)
Docker CLI: 	 1.41

@jasonmccallister thanks for the Feedback! I had mysql running via Brew.

Going to close this out @Jan10! Thank you for the report!

@jasonmccallister I hit this too, likewise with Homebrew services. In my case the conflict was with redis:
% nitro init
# mariadb, no postgres, yes redis
Checking services…
  … checking dynamodb service ✓
  … checking mailhog service ✓
  … checking redis service Error: unable to start the container, Error response from daemon: Ports are not available: listen tcp <IP_ADDRESS>:6379: bind: address already in use
% brew services ls
# -- snip --
redis         started
# -- snip --
% brew services stop redis
% nitro apply
# -- snip --
Checking services…
  … checking dynamodb service ✓
  … checking mailhog service ✓
  … checking redis service ✓
Checking proxy…
  … updating proxy ✓
Updating hosts file (you might be prompted for your password)
Adding sites to hosts file…
  … modifying hosts file ✓
Cleaning up...
Nitro is up and running 😃

To me this is a bug. My team currently uses an own-rolled docker-compose solution for Craft development. Our setup includes a redis service and a mysql service, and neither conflicts with host Homebrew services.

@olets to avoid confusion, we try to utilize default ports for services. This reduces the need for someone to make additional configuration changes to their code or GUI. We do have a way to customize default ports for users who need to run something like redis outside of Nitro. If you need to keep a redis instance running outside of Nitro, those steps should help you set a custom port for the service.
If you are having an issue with ports, do you mind creating a new issue to track?


[ODS-6520] Bring in first set of DS 5.2 updates

@semalaiappan , a folder with DS 5.2 approval test files needs to be added under ./Ed-Fi-ODS/tests/EdFi.Ods.WebApi.IntegrationTests/Controllers/Standard/


spliceinject immediate with an INVALID_PTS value of @0xFFFFFFFFFFFFFFFF

Hi,
I noticed from the spliceinject plugin that when i manually inject via XML - UDP  using immediate mode, the PTS value used is @0xFFFFFFFFFFFFFFFF (tagged as INVALID_PTS from the code). I can verify this based on the verbose messages generated from the rmsplice plugin. Is it possible to automatically use actual PTS values from the current stream (probably from the current PTS value + offset plugin parameters) during an "immediate" spliceinject? Thanks.

Hi,
Which PTS are we talking about here? In immediate mode, there is no PTS inside the command. In the definition of splice_insert() in the SCTE 35 standard, all splice_time are subject to the condition splice_immediate_flag == 0.
Internally, the plugin spliceinject uses a queue of events which are sorted by PTS time, using the invalid value FF..FF when the event has no time. This FF..FF value means "dequeue asap, don't wait for a specific time".
If this fake PTS value is displayed in verbose messages, this is no very nice, I agree. I will try to fix this.
Is there any malfunctioning otherwise ?

No issue actually. It is just im trying to trigger the rmsplice event via spliceinject udp and rmsplice needs a valid pts.

during a spliceinject, there is no way for me to determine the current pts value running on the stream. What if during an immediate=true splice insert, the pts value is added within the plugin based on the current pts value  running on the stream plus a time offset

For splice injection, people want their splice commands to be injected. So, I do not like the idea of modifying splice commands.


SmartSpaces / migration and Option at all

Hello,
I am really disappointed with the last update. All my Smartspaces that I need in my professional environment are simply gone. The migration tool did not work (see screenshots).
And then the SmartSpaces option no longer seems to exist, with which I could reconfigure my lost settings.
Is it somehow possible to define a folder as a Space that then also takes care of all the files in the subfolders? That might be a workaround.
Greetings
MAW

This is what opens when you click Kuk in the Spaces panel? And Kuk is a Space and not a note (has the expanding icon on the left)?

The Smart Space config has been migrated properly based on the metadata, but you're opening the note that's associated with the Space rather than the Space it self based on the screenshot

Also, for smart spaces creation, all folders can now be a combination of a normal space and a smart space, you can add a Smart Search inside of the Edit Space modal to add smart search to any existing folder/space, this allows you more freedom in how spaces are defined.

Yes - I am in the Spaces-Area and this is what I get:

May be I don't get it, but how do I get a SmartSpace showing me all entries with the property type=kuk all over my vault? It was sooo easy in the old version, but now I have like a Knot in my head to figure that out.

Hey, I was playing around  and now I got it. The usability is quite different form the last version. But now it works. Thanks for helping me.


Fix default bindings for Vive Wands

Current bindings can be found here: https://github.com/praydog/REFramework/blob/master/src/mods/vr/Bindings.cpp#L414

Hi praydog,
been playing around with the bindings for vive wands.
So far i've been able to play with no issues by assigning a extra click action for the trigger, setting it as abutton.
Only thing I haven't been able to figure out is the dial weapon change for the vive, though i've just been going to the inventory to change weapons anyways.

Hi praydog,
been playing around with the bindings for vive wands.
So far i've been able to play with no issues by assigning a extra click action for the trigger, setting it as abutton.
Only thing I haven't been able to figure out is the dial weapon change for the vive, though i've just been going to the inventory to change weapons anyways.

HI Praydog!
i have a problem with my vive controllers setup heve any chance  to get a full vive setup guide??? im so dumb i know and sorry for my english.... i dont know how to run in re3 and always die in the first 5 min.... pls help

HI Praydog!
i have a problem with my vive controllers setup heve any chance  to get a full vive setup guide??? im so dumb i know and sorry for my english.... i dont know how to run in re3 and always die in the first 5 min.... pls help

How abouts did you make this change? I'm unable to interact with anything, but i CAN shoot

How abouts did you make this change? I'm unable to interact with anything, but i CAN shoot

vive has no abutton binding

vive has no abutton binding

Here is how I set up my bindings. It works for all issues I have seen in the discord (A button hold, B Button, LB working) and uses DPAD instead of default's first person/third person switch. I shared it as a community binding also if anyone wants to try it out/give feedback.

Thx man
khyrall @.***> ezt írta (időpont: 2022. jan. 3., H
3:17):

Here is how I set up my bindings. It works for all issues I have seen in
the discord (A button hold, B Button, LB working) and uses DPAD instead of
default's first person/third person switch. I shared it as a community
binding also if anyone wants to try it out/give feedback.
[image: RE2Bindings]
https://user-images.githubusercontent.com/54683001/147895783-6d4fc2a0-1a90-42d5-942f-133c32fedb41.png
—
Reply to this email directly, view it on GitHub
https://github.com/praydog/REFramework/issues/98#issuecomment-1003835968,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXDUUYY7STNYSWFTO4JA55TUUEBMXANCNFSM5LCICAVQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Here is how I set up my bindings. It works for all issues I have seen in the discord (A button hold, B Button, LB working) and uses DPAD instead of default's first person/third person switch. I shared it as a community binding also if anyone wants to try it out/give feedback.

And how you run??? this is my big problem!!!!

Here is how I set up my bindings. It works for all issues I have seen in the discord (A button hold, B Button, LB working) and uses DPAD instead of default's first person/third person switch. I shared it as a community binding also if anyone wants to try it out/give feedback.

And how you run??? this is my big problem!!!!

Left Trackpad Click does running for me.

thx!!

Weird, that page is where community bindings show up for me. You may have to create your own, if you want to model off mine make sure to turn mirror mode off when creating the bindings.

Yeah, that's because the actions don't match up 1 for 1 with controller buttons. Each action has a corresponding button when in left or right.
Here are some I have tested out:
grip

left does LB.
right readies weapon
abutton
left wand seems to do B
right wand seems to do A
bbutton
left wand seems to open inventory
right wand seems to do X
trigger
left wands seems to do nothing
right wand shoots if weapon readied

I've been messing with the binds for Vive Wands in RE2 with this mod today, and I can't figure out how to get the right trigger to fire the gun. Even the guns with infinite ammo won't fire. I've managed to get most of the other binds to the point where they work (thanks mostly to @khyrall and the screenshot of his binds), but shooting the gun still eludes me. It doesn't help that the SteamVR controller binds interface eventually dies on me, and I have to restart SteamVR to get it working again...
BTW: Is it possible to make the knife toggleable instead of requiring to hold the button? It's extremely difficult to use the touchpad on a Vive Wand to walk while holding down the grip button.
@praydog awesome mod BTW.

I've been messing with the binds for Vive Wands in RE2 with this mod today, and I can't figure out how to get the right trigger to fire the gun. Even the guns with infinite ammo won't fire. I've managed to get most of the other binds to the point where they work (thanks mostly to @khyrall and the screenshot of his binds), but shooting the gun still eludes me. It doesn't help that the SteamVR controller binds interface eventually dies on me, and I have to restart SteamVR to get it working again...
BTW: Is it possible to make the knife toggleable instead of requiring to hold the button? It's extremely difficult to use the touchpad on a Vive Wand to walk while holding down the grip button.
@praydog awesome mod BTW.

Thanks for the callout, glad it helped out! For shooting, are you pressing the right grip while pulling the trigger? (If using my binds, otherwise whatever grip is assigned to for your right wand.) RE2 makes you aim before firing so holding the right grip is needed to "aim" the gun.
I haven't tested it out, but its possible to setup bindings as toggles instead of buttons. So theoretically you could change the left grip to toggle and it might have the effect you want, but I haven't tested it out.

For shooting, are you pressing the right grip while pulling the trigger? (If using my binds, otherwise whatever grip is assigned to for your right wand.) RE2 makes you aim before firing so holding the right grip is needed to "aim" the gun. You'll know its ready to fire if the ammo count is appearing in the lower right.

Thanks, that was the problem (not pressing the grip). It had been a while since I had played the game on flatscreen, and I had forgotten that you had to hold a button to be able to shoot.

I recently had more time to play and learned that this binding does not allow you to defend with secondary weapons once grabbed by a zombie. My guess is that this is what the trigger binding does on the left wand. I'll try playing with bindings this weekend and see if I can get an updated version.

I have published an updated community binding that allows you to defend with your secondary when grabbed by a zombie.
Name: Updated Mapping by Khyrall
Description:
| Left Grip - LB (Ready Secondary)
| Left Menu - Once for Y (open Inventory). Twice for B
| Left Trigger - LB (Defend from Zombie)
| Left Trackpad - Movement. Click for sprint.
| Right Grip - Ready Weapon
| Right Menu - Once for A. Twice for X (reload). Holding A works but brings up a steam icon.
| Right Trackpad - DPAD (Weapon Dial) Directions are set as clicks.

re2BindingsJSON.txt

Hi, i'm playing RE8 with Valve Index (and Pimax), and some buttons (like map) sound missing (no issue with RE2 or RE3, only with RE8)
I try to edit steamvr binding, but if RE8 is running something break (stuck on "loading profiles") and i can't reach the mapping editor of screenshot above.
If RE8 is not running, i cannot switch the application to edit (steamvr menu list only VR games, the games listed in SteamVR Home panels)
Any advice? Thx

Has anyone gotten weapon switching to work with RE7 with Vive? The Dpad actions mapped in the examples above don't seem to be associated with the dpad buttons in RE7 from what I've tested.

Has anyone gotten weapon switching to work with RE7 with Vive? The Dpad actions mapped in the examples above don't seem to be associated with the dpad buttons in RE7 from what I've tested.

I managed to get some bindings working for RE7, played up to halfway through old house no issues. D-pad mappings are double presses/long presses on some buttons but they are all doable.

here's good (not idea) bidings I found

I would prefer to have a button to use the dpad shortcuts instead oof spreading them into random buttons

Yeah, that's because the actions don't match up 1 for 1 with controller buttons. Each action has a corresponding button when in left or right.
Here are some I have tested out:
grip

left does LB.
right readies weapon

abutton

left wand seems to do B
right wand seems to do A

bbutton

left wand seems to open inventory
right wand seems to do X

trigger

left wands seems to do nothing
right wand shoots if weapon readied

Unfortunately I missed this comment and spent hours trying to get the DPAD working.
It seems that binding dpad on the right controller just doesn't work. But the game is playable without it.
I recommend binding left grip to quick weapon switch for RE8.

hi did anybody figure out how to input dpad using quest3/VD?


feat(helm): Grafana dashboard using configmap and Grafana Operator

@nlamirault can you please resolve the conflicts?


Why are there multiple detection regions for the same instance

Hi
Why are there multiple detection regions for the same instance in coco_entities_release.json,  such as:
u'women': [[17,
[211.71670532226562,
21.305891036987305,
428.42095947265625,
386.89093017578125]],
[23,
[98.44943237304688,
94.96699523925781,
302.0435485839844,
318.7557678222656]],
[38,
[228.9897918701172,
72.67094421386719,
458.8382263183594,
418.9734191894531]]]}
And is there any difference between them?
Thanks!

Hi @Sisi0518,
in our COCO Entities dataset we use the predicted regions coming from Faster R-CNN finetuned on the Visual Genome dataset. The predicted bounding boxes can be more than one for each detected object thus having multiple detections for each entity.
In our model, we use all predicted detections for each considered region.


Bugs/build sub package

Description:
This restore past behavior being able to build a subdirectory.
It is to be noted that for this to be fully operational, new image with a new release of Fyne v2.3 is necessary.
Checklist:

[ ] Tests included.
[ ] Lint and formatter run with no errors.
[ ] Tests all pass.

android and ios do not support the -srcdir option. Seems that building a subdirectory for those target didn't work before either, maybe? I still have to look into it.

I don't understand how extracting binaries from the linux/BSD packages fixes the build location.

Hum, indeed, it is part of bringing back the feature of 1.3 that was storing the executable in a fyne-cross subdirectory. I should update the comment to be more precise.

Got the build now working for all target with proper support for package and the proper filename.

Can you please wait for @lucor to glance over it as well, this seems quite a big amount of changes to restore the behaviour?

Still looking good, what do you think @lucor ?
Also, should there be an issue created for the web sub-package build.

I need to try with a project that would compile with the web target and is in a sub package first. Terminal do not run in the web as we can't start a shell or anything like that.


Update GT.M installation instructions following best practices

Update the user and group used for GT.M installation.
Change the directory to follow GT.M debian packaging defaults.
Create VistA instance using an instance owner user.
Instruct users howto create a profile script for VistA using sane
defaults.
Instruct users how to create a db.gde script for VistA using sane
defaults.
Adjust line length to about 80 characters.
Ensure consistency between other documents.
Migrated from OSEHRA Gerrit: Change-Id: Ibd8cddc03d6d54762e7bd2361db23ae7dc955d35
Suggested-by<EMAIL_ADDRESS>

and wow, apparently i authored this 4 years ago...

Now that's funny!
On Thu, Jan 3, 2019 at 5:55 AM Christopher Edwards
<EMAIL_ADDRESS>wrote:

and wow, apparently i authored this 4 years ago...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Github flow able to build a quarkus container using as tool: pack client

Fix https://github.com/redhat-buildpacks/testing/issues/5

Could we run each flow separately and package them into a separate yaml file (quarkus.yaml, pack.yaml, shipwright.yaml, tekton.yaml, etc) ?

I think it makes a lot of sense. PR updated with this suggestion.


Fix logging errors with cantaloupe due to find / replace bug

Fixes #144

I pulled the PR, built it locally and ran it locally. Appears to be functional now.


Improve AUP model documentation

The AUP model documentation (docs/model/aup.md) needs to be improved as follows:

Add a definition for the agreed property, e.g. "Information on the last agreement for this AUP`.
What's the value of the agreed property if the user hasn't agreed with the AUP? E.g. "Only defined if the user has agreed with a version of this AUP" or "Set to null if the user hasn't agreed with any version of this AUP"
What's the difference between agreed.id and agreed.aup_id?
What's the value of the vo property if the AUP is not VO-specific?

/cc @lionick

Related Pull Request

Related Pull Request

Closed with #51

Closed with #51


🎮 Game Request
The Fluid Tennis Table Game is a dynamic simulation of a table tennis game, incorporating fluid dynamics to enhance the realism and complexity of the game mechanics. The game includes two players, one controlled by the user and the other. Both trying to keep the ball in play by hitting it back and forth. The game also simulates fluid movement and interactions, adding a unique twist to the traditional table tennis game.
Point down the features
Fluid Dynamics Integration:
Realistic fluid motion affecting gameplay.
Dynamic changes in ball trajectory based on fluid interactions.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @HarshadaGirase !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Kindly assign to me ASAP.

/assign


Use Lightning save/loading functions in example

What changes are proposed in this pull request?
Use PL saving/loading functions to handle ddp case silently!
How is this patch tested?
Running mnist_model.py code. Need to still test to ensure it works in deployment.
Release Notes
Is this a user-facing change?

[x] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release notes for MLflow TorchServe Deployment Plugin users.

(Details in 1-2 sentences. You can just refer to another PR with a description if this PR is part of a larger change.)
What component(s) does this PR affect?
Components

[ ] area/deploy: Main deployment plugin logic
[ ] area/build: Build and test infrastructure for MLflow TorchServe Deployment Plugin
[ ] area/docs: MLflow TorchServe Deployment Plugin documentation pages
[x] area/examples: Example code

How should the PR be classified in the release notes? Choose one:

[ ] rn/breaking-change - The PR will be mentioned in the "Breaking Changes" section
[ ] rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section
[ ] rn/feature - A new user-facing feature worth mentioning in the release notes
[ ] rn/bug-fix - A user-facing bug fix worth mentioning in the release notes
[ ] rn/documentation - A user-facing documentation change worth mentioning in the release notes

@SeanNaren Thanks for PR. Using Pytorch Lightning Checkpoint mechanism resolves the ddp issue. However, for using checkpoints there are few more points to think about.

By using mlflow.pytorch library, supporting artifacts such as requirements.txt or vocabulary files can be stored along with the model using requirements_file and extra_files parameter. In case of HF Bert examples, these files are needed for deployment - Bert news classification Example. The MLModel file inside the models directory, contains more information about the current artifacts. This makes the job easy for deployment plugin to associate with the supporting files and directory.

mlflow.pytorch library is used to store the model into mlflow. Currently mlflow.pytorch library only supports, storing the entire model into mlflow. Since, loading back the entire model from mlflow causes error in ddp environment, we have saved the model explicitly as state dict and loaded it back in the handler file.

The actual user flow for End to End deployment cycle would be as follows.

User trains the model using [mlflow.pytorch.autolog()](https://www.mlflow.org/docs/latest/_modules/mlflow/pytorch.html#autolog)
At the end of the training model gets saved into mlflow
User Registers the model into mlflow
When user provides the corresponding registered model uri - deployment plugin downloads the model and deploys it into torchserve.

And for doing this seamless process we need to store the model as state_dict. Hence, one option would be to enhance the mlflow.pytorch libray to save the model as state dict. Please let us know your thoughts.

thanks @shrinath-suresh!
This is great, If I'm understanding correct you'd like to do mlflow.pytorch.save_model() to handle this logic internally?
Will need to investigate the save/load functions within mlflow but it should be possible to have a hook within their code to do this.

thanks @shrinath-suresh!
This is great, If I'm understanding correct you'd like to do mlflow.pytorch.save_model() to handle this logic internally?
Will need to investigate the save/load functions within mlflow but it should be possible to have a hook within their code to do this.

Tried out a sample implementation - https://github.com/chauhang/mlflow/pull/33

Ah nice! I still think there is an issue of not saving all trainer arguments for PL etc. Also it would be nice for the save_model function to completely rely on the checkpoint dumped via pytorch-lightning rather than requiring to work this out itself. What do you think of something like this?
...
if trainer.global_rank == 0:
    checkpoint = trainer.create_checkpoint()
    mlflow.pytorch.save_model(checkpoint, 'model.pth')

@SeanNaren  So there are two use cases here:

Model training - ability to checkpoint and restart training from the last checkpoint. Here using the PTL trainer checkpoint will be appropriate. Looking at the latest docs for the trainer checkpoint, can you please clarify how it handles the parameters for DDP case -- eg things like how many GPUs was the training launched on so that DDP run can be resumed from last checkpoint without any process group loading related errors?

Model inferencing - after the training is completed, we need to prepare the model for running inference. Speed of loading the model and reducing overall latency are important in this case. So we need option to only save the state_dict for optimized loading of the model for inference. This is the scenario that we are tackling for this example. Do you see any issues from PTL perspective with using state_dict approach for this case?

Best Regards,
Geeta

@SeanNaren So there are two use cases here:

Model training - ability to checkpoint and restart training from the last checkpoint. Here using the PTL trainer checkpoint will be appropriate. Looking at the latest docs for the trainer checkpoint, can you please clarify how it handles the parameters for DDP case -- eg things like how many GPUs was the training launched on so that DDP run can be resumed from last checkpoint without any process group loading related errors?
Model inferencing - after the training is completed, we need to prepare the model for running inference. Speed of loading the model and reducing overall latency are important in this case. So we need option to only save the state_dict for optimized loading of the model for inference. This is the scenario that we are tackling for this example. Do you see any issues from PTL perspective with using state_dict approach for this case?

Best Regards,
Geeta

Thanks for the explanation, cleared a lot of for me :)
I would still suggest using PL's internal save checkpoint function as this PR has done for the serving portion, because it also handles things like passing correct args to the class/ddp support etc. (We're in the process of updating our doc examples to reflect this as well, just going through iterations to make sure everything is explained properly!)
Let me dump the information here for you @chauhang and we're currently working on clarifying all this in one place in PL ASAP:
The Trainer save checkpoint function automatically handles any internal accelerator based logic including DDP.
DDP means that your training script is running on multiple processes at the same time. if you don't use the saving functionality of pytorch lightning (as currently done) this means that each process will try to save the model, which can lead to a lot of issues unless that is the expected behaviour. we handle this automatically in the backend by ensuring we only save on one process (the main process).
When loading however, each process loads the model from the saved file as expected.
In addition, DDP works by wrapping your model with a DDP class (that's how PyTorch handles communication on top of your model). Our trainer function will automatically extract the actual module you want to save, without any of the distributed wrapper. This is why when attempting saving the entire model results in an error (process groups not initialized).
If you really want to use state_dict to save, you have to add additional logic outside of the code base. First you have to ensure the write saving logic. If you want the model to be saved once (in the main process):
if trainer.global_rank == 0:
   torch.save(...)

The next thing as you found out is that you have to remove the parallel wrapper or you run into the parallel groups are not initialized error:
if trainer.global_rank == 0:
    state_dict = trainer.get_model().state_dict()
    torch.save(...)

This is all boilerplate that we're handling within lightning, but if you want complete control for any reason these are examples on how to do so.

Hey @shrinath-suresh any updates here? I modified the save function to only save the weights via flag. Let me know if this works :)

Hey @shrinath-suresh any updates here? I modified the save function to only save the weights via flag. Let me know if this works :)

We are in process of updating the mlflow.pytorch library to use state_dict. And updating the MNIST example to use mlflow.pytorch.log_state_dict().
@chauhang Can you please let us know the direction. We are updating the the library to use state_dict. Do we need to add an example to save/load the model using PTL checkpoints ?

That would be good :) thanks for the update!


Is there an option to hide warnings?

I am refactoring a large code base and I'm initially focussing on clearing the errors. Is there a way to hide the warnings from the output?

Could you not just set all rules with a value of 1 to 0?

I'm using the gulp-sass-lint plugin.
I suppose I could add exceptions for all warnings, is there a single list for all rules and types?

To explain, I am running sass-lint via gulp and using gulp watch which runs the linter when any Sass files are changed. This causes a huge amount of warnings to output to the console, and makes it very difficult to spot errors.

This is the config containing the full list of rules currently released https://github.com/sasstools/sass-lint/blob/master/lib/config/sass-lint.yml though it doesn't contain any non-default options. These can be read about in https://github.com/sasstools/sass-lint/tree/develop/docs/rules

Excellent, this issue can be closed so :+1:

Great!


protected behaviour of data obj no longer working [development_actorsimprovement]

when inserting data in prop which does not exist it should give error
does not work
(used to be like this)

yeah indeed I noticed that yesterday too, and I'm also quite sure there is no type checking either. You can perfectly put a string into a field that is define with (I)

@zaibon you saw it on development_bcdbautoupdate too? or on development?

we can close also the branch
all to [development_actorsimprovement]

we can close also the branch
all to [development_actorsimprovement]

done

@despiegk will reopen this not done yet

As per @despiegk's comment here, I closed and deleted the branch and I added the Attr class to the classes JSXObject inherits from, but havent been able to successfully get an object, it goes into an infinite loop scenarip that I've explained to @xmonader

I did the same as @serboctor, and removed the reference of _key property inside __getattribute__, but got another error:
Mon 25 14:17:42 /BASECLASSES/Attr.py -  68 - __getattr__                        : EXCEPTION:
    could not find attribute: _deserialized_items (error was:_deserialized_items)
--TRACEBACK------------------
bcdb_test.py in <module>
    21    model_obj.save()
/sandbox/lib/jumpscale/Jumpscale/data/schema/JSXObject.py in save
    148    if self._changed:
/sandbox/var/codegen/schema_jumpscale_bcdb_test_house.py in _changed
    242    if "name" in self._deserialized_items:
/sandbox/lib/jumpscale/Jumpscale/core/BASECLASSES/Attr.py in __getattr__
    68    raise j.exceptions.NotFound(msg)
-----------------------------

Using this test script and running it using kosmos -p bcdb_test.py:
# bcdb_test.py
from Jumpscale import j

bcdb = j.data.bcdb.system

schema_1 = """
@url = jumpscale.bcdb.test.house
name** = "" (S)
active** = "" (B)
enum = "a,b,c" (E)
cost** =  (N)

@url = jumpscale.bcdb.test.room1
name** = "" (S)
"""

model = bcdb.model_get(schema=schema_1)
schema_md5 = model.schema._md5

model_obj = model.new()
model_obj.cost = "10 USD"
model_obj.not_cost = "0 USD"
model_obj.save()

Exact changes as a patch:
diff --git a/JumpscaleCore/core/BASECLASSES/Attr.py b/JumpscaleCore/core/BASECLASSES/Attr.py
index 869e68e..17f702b 100644
--- a/JumpscaleCore/core/BASECLASSES/Attr.py
+++ b/JumpscaleCore/core/BASECLASSES/Attr.py
@@ -63,8 +63,8 @@ class Attr:
         try:
             r = self.__getattribute__(name)
         except AttributeError as e:
-            whereami = self._key
-            msg = "could not find attribute:%s in %s (error was:%s)" % (name, whereami, e)
+            # whereami = self._key
+            msg = "could not find attribute: %s (error was:%s)" % (name, e)
             raise j.exceptions.NotFound(msg)

         return r
diff --git a/JumpscaleCore/data/schema/JSXObject.py b/JumpscaleCore/data/schema/JSXObject.py
index 8560429..d9fb8c0 100644
--- a/JumpscaleCore/data/schema/JSXObject.py
+++ b/JumpscaleCore/data/schema/JSXObject.py
@@ -21,7 +21,7 @@
 from Jumpscale import j

-class JSXObject(j.baseclasses.object):
+class JSXObject(j.baseclasses.object, j.baseclasses.attr):
     def _init_pre(self, capnpdata=None, datadict={}, schema=None, model=None):
         self._capnp_obj_ = None
         self.id = None
@@ -58,9 +58,9 @@ class JSXObject(j.baseclasses.object):

     @property
     def _key(self):
-        if hasattr(self, "id") and self.id:
+        try:
             return "%s:%s" % (self._schema.url, self.id)
-        else:
+        except j.exceptions.NotFound:
             return self._schema.url

     @property

It seems like the order of init_* functions need to be revisited or refactored.

I found out that instance variables resides in __dict__ (was set by our custom __setattr__), but __getattr__ raises AttributeError, it turns out that we use __getattribute__ inside, which would raise such error in this case, this is the normal behavior:
https://github.com/threefoldtech/jumpscaleX_core/blob/f8db1b20893edf203371da02be06525d7d7331c5/JumpscaleCore/core/BASECLASSES/Attr.py#L62-L67
See https://docs.python.org/3/reference/datamodel.html#object.getattr.
I tried to fix this by using __dict__[name] instead, will do some tests and push the code to another branch or so.

Another note, we handle sub-classes related attribute access inside Attr class. Super class should not know any details about sub-class implementation.
https://github.com/threefoldtech/jumpscaleX_core/blob/f8db1b20893edf203371da02be06525d7d7331c5/JumpscaleCore/core/BASECLASSES/Attr.py#L39-L60
Every sub-class should handle it's own attribute access if it's different, and also it should re-use Attr implementation, this way will help in writing proper tests for every base class of e.g. j.baseclasses.object_config_base, j.baseclasses.object_config_base or j.baseclasses.object_config_collection.

After more testing and investigation, the changes mentioned earlier broke config objects.
A full patch of the changes is here.
After some investigation, the problem is that when getting a new client like:
cl = j.clients.etcd.new("test1")
It will always return this client with an empty name, and till now, i could not figure out the root cause.

checking now, have 30 min

in jsbase you cannot use ATTR
JSXOBJECT can use ATTR & JSBASE
JSCONFIG can use ATTR & JSBASE

kristof will check


Passing in lambda_seq does not change default value of lambda_start, causing bug in path()

This line here: https://github.com/lasso-net/lassonet/blob/adf0aaf7131a57d8427ae40db7a19e608d6809a4/lassonet/interfaces.py#L450
will evaluate to True if lambda_seq is passed in without setting lambda_start to None. It expects self.lambda_start_ to exist, but that only gets set if lambda_seq is None.
Note setting lambda_start to None in init wouldn't work since lambda_seq can also be passed to path.

Hey! I wrote that code quite fast before the NeurIPS deadline.
Here is another way to describe the issue:

I put warnings to detect when the starting point is incorrect.
there are 3 cases:

lambda_seq is not None
lambda_seq = _lambda_seq(self.lambda_start)
lambda_seq = _lambda_seq(self.lambda_start_)

Currently there is no way to capture case 1.
I have a solution to encompass all 3 cases: I can just set a variable lambda_start during the first iteration (by initializing it to None before the loop then setting it with a condition).
The condition would simply be current_lambda / lambda_start_ < 2 and the error message would change between cases {1,2} and case 3.

What do you think? Could you implement it? I really don't have the bandwidth to even code 3 lines and check whether they work those days...
Also, did you test that new "auto" heuristic? It was something I had been wanting to try for a long time, I implemented it with random constants (for _ in range(10000):, if torch.abs(beta - new_beta).max() < 1e-5, start = 1e-6) and it seemed to work well on all examples.

I used this fun trick:
        # extract first value of lambda_seq
        lambda_seq = iter(lambda_seq)
        lambda_start = next(lambda_seq)

        for current_lambda in itertools.chain([lambda_start], lambda_seq):