Software Design: Use Case Diagram

To Do: Design the use case diagram that shows the interaction between the users and the functionalities they may perform. Lucidchart is used to work on the diagram in a collaborative manner. Please refer to the link of the working place available in our Discord.  As discussed in the Meeting - 7, everyone should be contributing to the diagram. Please comment down your contributions.
After completing the diagram, it shall be exported and putted into the related wiki page.
Deadline: 03.04.2022 @23.59

Created following actors:

Level 0 - Guest User
Level 1 - Registered User
Level 2 - Active User
Moderator

I've created following actions:

functionalities for guest user
sign-in and sign-up
search and filtering functionalities
viewing a profile page
viewing a publicly visible art item
viewing a private art item
getting most popular artworks on our homepage
login for registered user
following, viewing private art item
making an offer for an art item
commenting/ viewing private art items
applying for verified account
feature of getting recommendations based on activity
deleting an art item from your gallery

desperately waiting for your contributions

Reviewed the current state of the diagram. Made the following changes:

Made additions to the selling functionality about receiving offers and notifications.
Modified the schema and made additions to the exhibition functionality. (not complete)
Made some notes about the things we may want to add, such as open for sale option in the adding item stage.

Specified Search Engine, Registration System, Copyright Protection System, Bidding System, Exhibition System.
Modified exhibition system in accord with your annotations on the chart. Please review.
Modified copyright system. Added the "selecting the 'option for sale'" action and made it required by adding an includes relation.

Some questions about recent additions:

Should we send mail to each user when moderator adds a new type to the system? Is it necessary? Or why not sending a notification rather then sending an e-mail?
Should a user be able to delete a comment made by another user to his art item? In our meetings, it was one of our questions we didn't give a precise decision yet.

I had forgotten that we decided to make "option to sale" privileged, looks great.
Added some more notifications and the confirmation of sale complete for both parties.
Added receive & accept/decline invitation for participation in the exhibition.
I think we should consider separating single user vs collaborative exhibitions, to possibly avoid complexity.
Also a fixed time for the offers could be easier.

About the questions;

I think a notification suffices, but both are okay.
My only concern is whether it would complicate visibility settings or not.
@KarahanS

Reviewed the current state of the diagram and made the following changes:

added new actions to the copyright protection system
included an action for getting an application about account verification and extended it to two new actions.

with the help of @kostanya and @mustafa-cihan

Updated bidding system and decided that:

The system shall automatically mark the art item as sold as soon as the offer is accepted.
In case of any transaction problem, the person who has the problem should send a ticket to the admin.

with @KarahanS and @mustafa-cihan .

Reviewed the current state of the diagram with @mumcusena  and @KarahanS. Made the following changes:

Fixed the issue in Level 1 users follows a user action.
View an art item action is revisited and made required changes.
Reviewed the bidding system.
Reviewed the exhibition system. Ticket sending action is added.

Reviewed the use case diagram online with:
@kostanya
@serdarakol
@BElifb
@mumcusena
@simsekhebun
@mustafa-cihan
@sinemKocoglu

Modified the exhibition system in order to correct some mistakes.
Added report action for inappropriate content.
Replaced search action with semantic search.

After our online session. I created Filter action and linked all the filtering options to the filter with generalization relationship. Also linked participating as a collaborator and participating as an organizer to participating in an exhibition with generalization relationship. Asked a question about this on Slack. We should update it according to the answer.
One last review is required to finalize our work.

Updated Search use case to provide two extend use cases, namely Lexical Search and Semantic Search.

In accordance with our discussion, we decided that first version of our requirements and therefore use case has taken its final form. Closed the issue.


Multilevel status

On Variable panel video https://youtu.be/mYYtMW9qiPA?t=595 said that it was posible to define status on every level, but now in v2.3.1 video https://youtu.be/1ogv2jstrlI?t=423 status is linked to a single field.
Is no longer posible to set an status at group level?

Hi @carlosImagu.
No, it is no longer possible to set a status at the group level.


Use consistent quotes

Currently we are specifying
Style/StringLiterals:
  Enabled: false
```

which has resulted in inconsistent string literals all throughout the project. I suggest we enable this cop and update the project to use single quotes for all strings that do not require double quotes(e.g using string interpolation).

cc @orta

Can be fixed with bundle exec rubocop -a after changing the configuration in .rubocop.yml

👍 for consistency. Especially because rubocop can automatically fix them.

👍

👍 for consistency. Especially because rubocop can automatically fix them.


gojs: fixes symlink

$ wazero run -mount=/:/ --experimental-workdir=$(go env GOROOT)/src/os os.wasm -test.run '^TestSymlink|^TestLongSymlink|^TestStatRelativeSymlink|^TestLongSymlink'
PASS

I quickly noticed this as I had exactly this issue when I was working on WASI's symlink :D

hmm
>> git diff
diff --git a/internal/gojs/testdata/fs/main.go b/internal/gojs/testdata/fs/main.go
index 9c07f3dc..dcd45598 100644
--- a/internal/gojs/testdata/fs/main.go
+++ b/internal/gojs/testdata/fs/main.go
@@ -70,4 +70,10 @@ func testAdHoc() {
                log.Panicln(err)
        }
        fmt.Println("empty:" + string(b))
+
+       old := "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
+       err = os.Symlink(old, "/symlink.txt")
+       if err != nil {
+               log.Panicln(err)
+       }
 }

gives panic: symlink<PHONE_NUMBER>abcdef0123456789abcdef0123456789abcdef0123456789abcdef /symlink.txt: not implemented on js

ah got it


Replacing snowflake_grant_privileges_to_role resources still fails at apply time with validation error

Terraform CLI and Provider Versions
Terraform v1.5.4
on linux_arm64

provider registry.terraform.io/snowflake-labs/snowflake v0.87.2

Terraform Configuration
resource "snowflake_grant_privileges_to_account_role" "my_role_object_select" {
  account_role_name = "MY_ROLE"
  on_schema_object {
    object_type = "TABLE"
    object_name = "MY_DATABASE.MY_SCHEMA.MY_VIEW"
  }
  privileges = ["SELECT"]
  with_grant_option = false
}

resource "snowflake_grant_privileges_to_account_role" "my_role_object_select" {
  account_role_name = "MY_ROLE"
  on_schema_object {
    object_type = "VIEW"
    object_name = "MY_DATABASE.MY_SCHEMA.MY_VIEW"
  }
  privileges = ["SELECT"]
  with_grant_option = false
}

Expected Behavior
When I switch the object type from "TABLE" to "VIEW", it should replace the object. Here is the plan:
module.data_warehouse.snowflake_grant_privileges_to_account_role.my_role_object_select must be replaced
-/+ resource "snowflake_grant_privileges_to_account_role" "my_role_object_select" {
      ~ id                = "\"MY_ROLE\"|false|false|SELECT|OnSchemaObject|OnObject|TABLE|\"MY_DATABASE\".\"MY_SCHEMA\".\"MY_VIEW\"" -> (known after apply)
      ~ privileges        = [
          + "SELECT",
        ]
        # (5 unchanged attributes hidden)

      ~ on_schema_object {
          ~ object_type = "TABLE" -> "VIEW" # forces replacement
            # (1 unchanged attribute hidden)
        }
    }

Actual Behavior
Here is the apply:
│ Error: An error occurred when revoking privileges from account role
│
│ Id:
│ "MY_ROLE"|false|false|SELECT|OnSchemaObject|OnObject|TABLE|"MY_DATABASE"."MY_SCHEMA"."MY_VIEW"
│ Account role name: "MY_ROLE"
│ Error: [grants_validations.go:44] exactly one of AccountRoleGrantPrivileges
│ fields [AllPrivileges GlobalPrivileges AccountObjectPrivileges
│ SchemaPrivileges SchemaObjectPrivileges] must be set

When I tried to reset the state by removing the resource block entirely, the apply always failed. I resolved by altering the statefile with terraform state rm.
I see that this issue was addressed recently and fixed as of provider version 0.87.1, but as indicated I was on 0.87.2.
Steps to Reproduce

terraform apply

How much impact is this issue causing?
Medium
Logs
No response
Additional Information
This looks like a duplicate of #2068 and #2069

Hey @mmyers5
Thanks for reporting an issue! I'll try to reproduce the error in the next week.

We are getting the same error on Terraform v1.7 and provider v0.89. It seems exactly the same pattern as https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2069 and https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues/2068.
Our plan looks like this:
  # module.create_roles_workspace_databases.snowflake_grant_privileges_to_account_role.grant_future_usage_privileges_to_db_ro_role["WKS_AE_INT_S_REIG_PROCEDURES"] will be destroyed
  # (because key ["WKS_AE_INT_S_REIG_PROCEDURES"] is not in for_each map)
  - resource "snowflake_grant_privileges_to_account_role" "grant_future_usage_privileges_to_db_ro_role" {
      - account_role_name = "\"WKS_AE_INT_RO_FULL_ROLE\"" -> null
      - all_privileges    = false -> null
      - always_apply      = false -> null
      - id                = "\"WKS_AE_INT_RO_FULL_ROLE\"|false|false|USAGE|OnSchemaObject|OnFuture|PROCEDURES|InSchema|\"WKS_AE_INT\".\"S_REIG\"" -> null
      - on_account        = false -> null
      - privileges        = [] -> null
      - with_grant_option = false -> null

      - on_schema_object {
          - future {
              - in_schema          = "\"WKS_AE_INT\".\"S_REIG\"" -> null
              - object_type_plural = "PROCEDURES" -> null
            }
        }
    }

which fails with:
│ Error: An error occurred when revoking privileges from account role
│
│ Id:
│ "WKS_AE_INT_RO_FULL_ROLE"|false|false|USAGE|OnSchemaObject|OnFuture|PROCEDURES|InSchema|"WKS_AE_INT"."S_REIG"
│ Account role name: "WKS_AE_INT_RO_FULL_ROLE"
│ Error: [grants_validations.go:166] exactly one of
│ AccountRoleGrantPrivileges fields [AllPrivileges GlobalPrivileges
│ AccountObjectPrivileges SchemaPrivileges SchemaObjectPrivileges] must be
│ set

I checked and it's possible in Snowflake, but in the provider, the privileges are being filtered out. Because of that the privileges in the state are empty [] and when it comes to the Delete operation we try to revoke an empty set of privileges which is not allowed

@sfc-gh-jcieslak In this case the privileges are only empty because the resource is being destroyed. Our existing resource has ["USAGE"] in the privileges set 🤔

Hey @inesplc 👋
If the privileges are empty (or there are less privileges in the state in comparison to what you have in config), then it means there is either a bug in the Read operation for a given resource or it's a case of misuse. I'm not sure what is causing problems in your case because I would have to have your configuration to be able to reproduce the issue, but in the case of @mmyers5 (from the configuration in the issue description) it seems like a misuse of the provider to set the object_type to VIEW when you are referring to the table identifier in the object_name field. I would be grateful if you could create a new GitHub issue with the description and steps to reproduce (and if possible debug logs), so I could dig deeper into your issue and tell you more about why this case is also failing.

Yeah the issue in this case was the view was mis-labeled as a table. It didn't throw an exception on applying when the resource had the wrong label, but it did when we tried to fix the label.

Yeah, it didn't throw, because that behavior is allowed by Snowflake. Because right now we're mainly focusing on GA objects refactoring, we have to move the discussions around it for now. The solution for now is to use table object type with table identifier and the same for views.

I see a similar behavior with when destroying/replacing SELECT grant on an EVENT TABLE.
snowflake_grant_privileges_to_account_role.GRANT_SELECT_ON_EVENT_TABLE_TO_ROLE_<ROLE_NAME> will be destroyed:
- resource "snowflake_grant_privileges_to_account_role" "GRANT_SELECT_ON_EVENT_TABLE_TO_ROLE_<ROLE_NAME>" {
  - account_role_name = "<ROLE_NAME>" -> null
  - all_privileges = false -> null
  - always_apply = false -> null
  - id = "\"<ROLE_NAME>\"|false|false|SELECT|OnSchemaObject|OnObject|TABLE|\"<DATABASE_NAME>\".\"PUBLIC\".\"EVENTS\"" -> null
  - on_account = false -> null
  - privileges = [] -> null
  - with_grant_option = false -> null
  - on_schema_object {
    - object_name = "<DATABASE_NAME>.PUBLIC.EVENTS" -> null
    - object_type = "TABLE" -> null
  }
}

The following error occurs:
Error: An error occurred when revoking privileges from account role
Error: [grants_validations.go:166] exactly one of
AccountRoleGrantPrivileges fields [AllPrivileges GlobalPrivileges
AccountObjectPrivileges SchemaPrivileges SchemaObjectPrivileges] must be set

Using:
Terraform 1.6.6
Provider 0.92.0

I'm getting the same error as @simonepm. It happens only while revoking privileges from EVENT TABLE. Other tables/schemes/databases are not affected.
Error: An error occurred when revoking privileges from account role

Id: "DEV_HME_ADMIN"|false|false|SELECT|OnSchemaObject|OnObject|TABLE|"DEV_ADMIN_DB"."EVENT_LOGS_SC"."EVENT_TABLE"
Account role name: "DEV_HME_ADMIN"
Error: [grants_validations.go:166] exactly one of AccountRoleGrantPrivileges fields [AllPrivileges GlobalPrivileges AccountObjectPrivileges
SchemaPrivileges SchemaObjectPrivileges] must be set

Using:
Terraform 1.8.5
Provider 0.92.0

Hey @simonepm @jarach 👋
It should be "EVENT TABLE" for event tables, not "TABLE". In the SHOW GRANTS response for event tables, the object type is "EVENT TABLE" and we're using this field to filter out the output. That's why after the read operation the privileges are empty and causing infinite diff for privileges. Incorrect object type will cause difficulties when removing the objects (that's why it's always better to check what object type is returned in SHOW GRANTS for this object). The only way to fix this is to remove this resource from the state (with terraform state rm) and revoke the grant manually (calling revoke grant). If you would like to fix the resource you can just remove it from the state, fix the object type to be "EVENT TABLE", and apply. That should create grant resource for event table.

Hi @sfc-gh-jcieslak ,
It's working as you wrote.
SHOW GRANTS returns "EVENT_TABLE" but in terraform one should use "EVENT TABLE" (without underscore).
resource "snowflake_grant_privileges_to_account_role" "evtb_grant" {
  for_each = ....

  provider = snowflake.sys_admin
  privileges         = each.value.privileges
  account_role_name  = each.value.role_env_name
  on_schema_object  {
    object_type = "EVENT TABLE"
    object_name = each.value.tb_env_name
  }
}

Big thanks!

Closing as the issue has been resolved


Res2Net/Res2Next series models prune error with assert len(set(num_channels_list)) == 1

With models from https://github.com/Res2Net/Res2Net-PretrainedModels
prune with FPGMPruner
I got same error as :
File "/usr/local/lib/python3.7/dist-packages/nni/compression/pytorch/speedup/compressor.py", line 518, in speedup_model
fix_mask_conflict(self.masks, self.bound_model, self.dummy_input)
File "/usr/local/lib/python3.7/dist-packages/nni/compression/pytorch/utils/mask_conflict.py", line 54, in fix_mask_conflict
masks = fix_channel_mask.fix_mask()
File "/usr/local/lib/python3.7/dist-packages/nni/compression/pytorch/utils/mask_conflict.py", line 264, in fix_mask
assert len(set(num_channels_list)) == 1
How could I get rid of such problems?

It seems problem occured in the fix mask conflict stage. We are upgrading our code recently, and will come to you once the problem is solved.

same problem, looking formard a bugfix


lorri internal stream-event fails with varlinkerror

Describe the bug
lorri internal stream-events is broken with the following error
$  lorri internal stream-events
Feb 21 15:03:26.288 ERRO Varlink(src/com_target_lorri.rs:78: Varlink_Error
Caused by:
/build/lorri-1.2-vendor.tar.gz/varlink/src/lib.rs:1128: InterfaceNotFound("com.target.lorri"))

Metadata
Nothing interesting in journalctl.

$  lorri info --shell-file shell.nix
lorri version: 1.2
GC roots exist, shell_gc_root: "/home/symphorien/.cache/lorri/gc_roots/d01b506259718b2a7903535c864b1593/gc_root/shell_gc_root"

$ uname -a
Linux bete 5.9.16 #1-NixOS SMP Mon Dec 21 12:28:21 UTC 2020 x86_64 GNU/Linux

Additional context
Installed lorri with the home-manager module.
Motivation for using lorri internal: see https://github.com/target/lorri/issues/365#issuecomment-606835166

Did you update your client to master?
I changed the interface to be org.nix-community.lorri, and if you are still using a daemon with the old interface it will break.

Still happens on 516d91adf291c51dcd5be23342107e352f4934a7:
$  lorri internal stream-events
Mar 04 21:20:20.842 ERRO Varlink(src/org_nixos_lorri.rs:78: Varlink_Error
Caused by:
/build/lorri-1.3-vendor.tar.gz/varlink/src/lib.rs:1128: InterfaceNotFound("org.nixos.lorri"))

Crap, I forgot to update one interface name. My bad.

Update: I updated the interface name, but it’s still throwing the error. Unsure.


hardcoded paths in training validation_step

hello wenhao & rocio,
the unittests are great and gives a great overview of how different modules should be run. however, I saw that in these lines, the path to the building block embeddings are hardcoded to the path on the HPC cluster.
https://github.com/wenhao-gao/SynNet/blob/56917a668c1a6b633964e02eb53b717be0d1dd64/syn_net/models/mlp.py#L78-L89
so, I am unable to make pytest pass, specifically:
FAILED tests/test_Training.py::TestTraining::test_reactant1_network - UnboundLocalError: local variable 'kdtree' referenced before assignment
FAILED tests/test_Training.py::TestTraining::test_reactant2_network - UnboundLocalError: local variable 'kdtree' referenced before assignment

at least for the unittest, what should the correct path be? and would it be possible to make these paths user-passable arguments?

https://github.com/wenhao-gao/SynNet/blob/56917a668c1a6b633964e02eb53b717be0d1dd64/scripts/predict_multireactant_mp.py#L29
there's a similar hardcoding in this line, so I suppose we'll have to generate the .json.gz ourselves

We have addressed this and other issues in the new version of SynNet (thanks to @chrulm!). Closing this for now.


Open link in new tab

Is it possible to have a link within the Dynamic Text panel open in a new tab?
I've tried using the same approach as recommended for Grafana value links:
ID: <a<EMAIL_ADDRESS><EMAIL_ADDRESS>But it still tries to open in the same tab/window.

@krugster It's probably related to the Sanitized mode enabled, I just tested it without and it works as expected.
Please take a look at the documentation: https://volkovlabs.io/plugins/volkovlabs-dynamictext-panel/content/#html-sanitization

Thanks Mikhail.  It looks like these environment variables aren't supported
in Grafana cloud which is what I'm using...am I correct?
On Sun, 25 Feb 2024 at 21:58, Mikhail Volkov @.***>
wrote:

@krugster https://github.com/krugster It's probably related to the
Sanitized mode enabled, I just tested it without and it works as expected.
Please take a look at the documentation:
https://volkovlabs.io/plugins/volkovlabs-dynamictext-panel/content/#html-sanitization
—
Reply to this email directly, view it on GitHub
https://github.com/VolkovLabs/volkovlabs-dynamictext-panel/issues/266#issuecomment-1963320399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACJCYVNRKCY3CSOZGFNE53YVQJA3AVCNFSM6AAAAABC5Q267CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGMZDAMZZHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@krugster You need to create a support ticket to disable sanitized mode in Grafana Cloud.
In future releases, maybe Grafana 11, you should be able to update settings from the UI.

Ahh great. Thanks for that.

Apologies for coming back around to this, but Grafana support has told me
they are not able to disable this because it opens the environment up to
XSS vulnerabilities as seen here -
https://www.okta.com/identity-101/xss-vulnerability/
Any other suggestions for opening links in a new tab?
On Tue, 27 Feb 2024 at 21:36, Perry Krug @.***> wrote:

Ahh great. Thanks for that.

@krugster It's something new, the settings was updated to other customers as I heard.
@asimonok any other suggestions?


Support for Arch Linux

When booting Arch Linux via PXE [1], besides the kernel and initramfs,
an additional the root filesystem image (airootfs.sfs) has to be transferred.
If the location of airootfs.sfs is specified from the kernel command line then
a boot hook will download it from the specified location [2][3][4][5].
It would be great if pixiecore could support:

Serving additional static files (#73), so there is no need for running an additional HTTP/NFS/NBD server
{{ ServerHost }} on the --cmdline flag (#74), so the address of the server does not have to be manually specified [6]

References/Notes:
[1] https://wiki.archlinux.org/index.php/PXE
[2] https://git.archlinux.org/archiso.git/tree/configs/releng/syslinux/archiso_pxe.cfg?h=v39#n33
[3] https://git.archlinux.org/archiso.git/tree/docs/README.bootparams?h=v39#n92
[4] https://git.archlinux.org/archiso.git/tree/archiso/initcpio/hooks/archiso_pxe_http?h=v39#n4
[5] The fs image can be served from either HTTP/NFS/NBD, but as pixiecore already
runs HTTP, I'd like it to be served from pixiecore
[6] The archiso understands ${pxeserver}, but it resolves to the address of the DHCP server offering the IP address instead of the address of pixiecore

Thanks for filing this, and for the PRs to implement it! I'm looking at them now. I might have some requests to change how the passing of the rootfs works, because I'm not super happy with making quick boots depend on static file serving... But static file serving by itself can also be handy in some cases, so I'm thinking about how to maybe adjust things to have the best of both worlds.
Unfortunately I'm travelling right now, so it might take a few days to review in detail. I'll respond to this bug rather than individual PRs if I have suggestions for larger changes.

Thanks for your input! Please let me elaborate more about the ideas behind the PRs.
(#76) The implemented quick boot command itself does not depend on serving static files. The rootfs image is also served on archlinux mirrors, and the quick boot command would instruct the PXE-booted OS to download it from the Internet via kernel cmdline.
(#73, #74) The {{ ServerHost }} and static file PRs for my use case, are aimed towards an Ethernet-only installation. It prevents generating huge amount of internet traffic when installing on tens of machines. I also find the HTTP server useful for the rootfs image as well as serving packages, configuration files & scripts, especially given the flexibility to modify the served content without requiring to set up a proper mirror.

I'd like to second this issue. This would help ubuntu users, too.
Since release 20.04 autoconfiguring machines via cloud-init is baked into Ubuntu's new default installer subiquity (docs). The easiest way to use it off cloud is via cloud-init's nocloud-net provider.
The nocloud-net provider expects an http(s) URL on the kernel command line from which it then downloads two files ./meta-data and ./user-data.
Autoinstalling without the need of any additional software would be just great.


fix: set latest cosmos step as complete when broadcasted

Description
We need to set the last step as success when broadcast is sent

I move the steps array in to a state in order to make it change only in case the route change to Stake, Unstake or Claim
I added an handleStepCompleted method in order to complete the current step if needed (currently used in broadcast views)

Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
closes #1553

Risk

No real risk

Testing
See video

Screenshots (if applicable)
https://www.awesomescreenshot.com/video/8536924?key=98a0c129f859cbf8e2ea50fb0885dbf2

I added an onStepCompleted method in order to complete the current step if needed (currently used in broadcast views)

That's still not adding systematic step success states. Now broadcast steps will have an onStepCompleted that denotes the <step>/broadcast substep being completed, but what about the steps before? We now effectively two bits of logic doing the same thing, in a different way, depending on if the step is one of the 3 broadcast substeps or any of the others.
Also added a few more comments as less aggressive comments vs. changed planned since this is currently a draft, please take a look and let me know if there's anything unclear.

Every others steps than broadcast including yearn and foxy are managed using the location object
I really don't get why we would want to add some logic to Cosmos previous steps if they are naturally working using location
If you want me to add the handler to any steps of the cosmos modal, just tell me, I'll do it but it feels useless to me

@NeOMakinG As we've discussed, perfectly happy with this implementation for now, but as @elmutt suggested, it would be great to react on the actual Tx coming back from the broadcast vs. waiting on the broadcast promise.
This way, we would not only have stronger core, not shoehorned logic here, but I reckon this would also give us a lot more reliability on the send Txs for all chains.
What do you think? Could you add some TODOs here to make sure we remove this logic later on?

@NeOMakinG As we've discussed, perfectly happy with this implementation for now, but as @elmutt suggested, it would be great to react on the actual Tx coming back from the broadcast vs. waiting on the broadcast promise. This way, we would not only have stronger core, not shoehorned logic here, but I reckon this would also give us a lot more reliability on the send Txs for all chains.
What do you think? Could you add some TODOs here to make sure we remove this logic later on?

Yeah alright, no need to add todos these, you already did it while implementing cosmos in both files

@NeOMakinG will merge this one after release


[Core][jdk17] Support jdk17

Purpose of this pull request

Refer to https://issues.apache.org/jira/browse/FLINK-15736

Upgrade hadoop client
Startup script changes
Disable LocalFileIT test on jdk 17

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

Hi @Hisoka-X, are there any known issues preventing JDK 17 support in Seatunnel? is there any plan or timeline to support JDK 17 in seatunnel?
Hi @BilwaST, could you please verify if Seatunnel-web, compiled by JDK 17, functions correctly with Seatunnel compiled by JDK 8?

Thanks @liugddx for working on this. Can you please rebase your PR.

Thanks @liugddx for working on this. Can you please rebase your PR.

Thanks for following this PR, I will finish it this week.

cc @hailin0


Prevent execution of composer failed but docker image built successfully

Add "set -e;" to prevent execution of composer failed but docker image built successfully

This is not desired behavior, as composer deps can always be installed after the fact.
In fact, in the next code dump you will see this step moved from build-time to run-time as part of the entrypoint script.

This is not desired behavior, as composer deps can always be installed after the fact.
In fact, in the next code dump you will see this step moved from build-time to run-time as part of the entrypoint script.

You can't confirm docker image is 100% usable while we may encounter this situation "composer install failed (Accidental network problem), but yarn is ok".
"docker build" must be failed when "composer install" failed.

Composer failing to install is not a critical part of the container itself. Yes, it is required for Gazelle to run, but there are other ways to do it aside from having docker do it in the build step.
Again -- this code in the dockerfile is already out of date so it will not be patched. Wait until we are able to make another code dump and you will see that the composer install has been moved, making this irrelevant.

Composer failing to install is not a critical part of the container itself. Yes, it is required for Gazelle to run, but there are other ways to do it aside from having docker do it in the build step.
Again -- this code in the dockerfile is already out of date so it will not be patched. Wait until we are able to make another code dump and you will see that the composer install has been moved, making this irrelevant.

Thx, I see. There is no need to fix current version Dockerfile. Just wait next code dump.
Can you close ths pull request? I don't have right to close it.

@soleil0-0 check out the code now :)


Any plans to make rsparklying available in CRAN?

We have heard of a few users with policies that restrict them form installing H2Os rsparklinh package since it's not available in CRAN. Any plans to push this to CRAN? Mail me at javier @ rstudio if you think I can help.
In general, you need to run:
R CMD build <path to rsparkling sources>
R CMD check --as-cran rsparkling_0.1.0.tar.gz
R CMD check might trigger warnings, so far I see two:

New submission: Which can be ignored since this is a new package
Non-FOSS package license (file LICENSE): You will need to change License: file LICENSE in the DESCRIPTION file to License: Apache License 2.0 | file LICENSE

Other than that, you should be good to go and submit here: https://cran.r-project.org/submit.html

Hi @javierluraschi ,
We have submitted to CRAN on Friday. Got feedback today with some minor comments. I have resubmitted. Will let you know once it goes through.
Thanks!

@javierluraschi rsparkling is on CRAN now: https://cran.r-project.org/web/packages/rsparkling/index.html


Support writing incomplete Encapsulated Messages

This commit adds support for Schema and RecordBatch messages. However, the
metadata is not serialized as that requires flatbuffers. It is because of this
non-serialisation that this implementation is incomplete.

Again, this too should be good to go. Like explained in the docs, this produces incomplete output as we can't serialise the metadata into flatbuffers yet.

I am not sure if there is any benefit in merging this for now. Unless you plan to expand on this somehow?

There are a couple of reasons, the main one being the need to use time usefully.
Had flatbuffers been supported, the next few steps would have been to add IPC Stream and File support. Then we would have added compatibility tests with the CPP, Java, and Go versions. Once all the compatibility issues were resolved, we could have started benchmarking against the other implementations.
Once we had done the above, we would have had a system setup for adding additional features - in addition to the tests I wrote manually in Erlang, I also had tests and benchmarks against the other impls indicating whether I was doing anything wrong.
Now, by merging this PR, we can "mock" this setup. I could limit the test data to a small number of separate "specimens". Then using another implementation, I can generate the metadata for them. If I pipe the output of to_ipc to a function that replaces the invalid metadata with the generated one, I effectively create valid output for at least test data I consider. Then using this output, I can setup integration testing as explained above.
Why should I waste time waiting for a solution for a difficult problem to be agreed upon, when I could be implementing the solutions to some easier problems to which I already know the answers?

@josevalim What do you think?


How to evaluate the MAE of SDF values?

Hi,
Thanks for your excellent work. I'm curious about the MAE of SDF values mentioned in sec 4.3.
How do you get the GT SDF?  Do you calculate it by querying the nearest point with the provided mesh or pointcloud in DTU?  Could you please share the evaluation code for this metric in convenience?

Hi sorry for the late reply. For the ground truth signed distance function, we use pysdf provided here https://github.com/sxyu/sdf, which I remember is computed from the corresponding reconstructed mesh.  And we compare the NN's predicted SDF to GT SDF  to compute the mean absolute errors.

Thanks for reply. I'll try it.


refresh-manifests workflow checks all platforms before committing manifests

Closes #70
Closes #71
The new workflow has three main jobs:

Refresh the manifests using the refresh-manifests.sh script and upload the manifests directory to temporary workflow storage.
If 1. succeeds: For all supported platforms and all major package sets (fuel, fuel-nightly, fuel-beta-3, etc), download the new manifests from temporary storage, add them to git staging so they get picked up by nix, then do a test nix build. Cache the binaries on success.
If 2. succeeds: Download the manifests from temporary storage, commit them to master and push to the main master branch.

OK, after a few tweaks to the workflow (and an accidental master commit :sweat_smile:) this should now be ready to go :+1:


Pager crashes on iOS if inside RadListView header

Pager works great if it is on its own, but I am trying to use it in the header portion of a RadListView. It works on Android, but it crashes the app instantly on iOS.
Which platform(s) does your issue occur on?

iOS, 12.2, emulator

Please, provide the following version numbers that your issue occurs with:

CLI: 5.4.0
Cross-platform modules: 5.4.2
Runtime(s):

tns-android: 5.4.0
tns-ios": 5.4.1

Plugin(s):

"nativescript-pager": "^9.5.4",
"nativescript-ui-listview": "^6.3.2",

Project files attached here:
pager-crash.zip

Please try the again with the latest version


The keyword does not support Chinese.

Expected behavior
Enter Chinese keywords and replace them with snippet.
Actual behavior
Input Chinese keyword is not replaced with snippet.
Steps to reproduce the behavior
Use Chinese keywords.
Operating system
Windows 10 64 bit.

Hi.
I know very little about the way Chinese people type text, but having seen a Chinese friend type using a companion app that transforms roman characters into chinese symbols, it is unfortunately incompatible with the way Beeftext works.


[Feature Request] Populate Defaults from Schema

XML Schema supports defaults in certain contexts. e.g.
<!-- ... -->
<xs:attribute name="someAttr" type="xs:string" default="this attribute was not specified" use="optional"/>
<!-- ... -->

With the above example, let's say we have a document:
<foo>
  <bar someAttr="this is populated"/>
  <bar/>
</foo>

This is possible with python lxml's etree.XMLParser() (which uses libxml2) (example here). (source for lxml.etree is here).
I think it'd be a really handy thing to have.
~(Along similar lines, any ideas on how to strip namespaces from documents? I can do it with lxml like this but I wasn't sure what struct fields there are in each element and whether the tag was able to be changed on the object or not. I'm still really new to golang and non-OOP, so my apologies if there's an obvious way to find this out.~ WHOA, I'm a dummy. Looks like it automatically separates out "Space" vs. "Local", at least when I unmarshal and marshal to JSON. That's pretty cool.

From what I can decipher via searches, the ability to insert default values in DOM using libxml2 comes when you validate a valid document using the schema -- that is, there is no "populateDefaults()" method in libxml2. So I tried to be true to the original API, and in #66 you should be able to do this
schema, _ := xsd.Parse(...)
doc, _ := libxml2.Parse(...)

if err := schema.Validate(doc, xsd.ValueVCCreate); err != nil {
   ...
}
// now doc should have defaults provided

Can you try and see if it works for you?

I'd like to, but I can't seem to figure out how to use it. Apologies, I'm really new to golang.
go get github.com/lestrrat-go/libxml2/xsd@topic/gh-issue-65: github.com/lestrrat-go/libxml2/xsd@topic/gh-issue-65: invalid version: version "topic/gh-issue-65" invalid: disallowed version string```

Is there a way I can just manually patch it via e.g https://github.com/lestrrat-go/libxml2/pull/66.patch and have golang rebuild the modcache or whatever else it needs to do, etc.?

Cool! Thanks for checking


Postgresql hobby > basic

Heroku postgres no longer has a hobby-dev plan, but has a basic plan instead. Refactoring to reflect this.
https://devcenter.heroku.com/changelog-items/2502

11

11

22


How to search by appEarlyPubNumber?

I tried following.
from uspto.peds.client import UsptoPatentExaminationDataSystemClient

client = UsptoPatentExaminationDataSystemClient()

client.search('appEarlyPubNumber:(US 2006-0063272 A1)')
client.search('appEarlyPubNumber:(US 2006-0063272)')
client.search('appEarlyPubNumber:(2006-0063272 A1)')
client.search('appEarlyPubNumber:(2006-0063272 2017-0042821)')

all gives
{'numFound': 0,
 'start': 0,
 'docs': [],
 'metadata': {'indexLastUpdatedDate': 'Thu May 30 02:30:21 EDT 2019',
  'queryId': '9f12c1af-cb6b-4f8c-8e0e-97289ba404ec',
  'responseHeader': {'zkConnected': True, 'status': 0, 'QTime': 73}}}

I know client have some issues but search by patent number is working fine.
client.search('patentNumber:(6583088 6875727 8697602)')

I tried it manually and by seeing network tab in chrome developer tools it was something like this.
"appEarlyPubNumber:(20170042821)"
I also tried multiple numbers like client.search("appEarlyPubNumber:(20180344680<PHONE_NUMBER>3)") and it works.
Thanks.

Dear Rahul,
thanks for letting us know! I really would like to improve the CLI interface to better support such scenarios mainly revolving around acquisition of single or multiple application or publication numbers.
As I can see this also relates to #9, #11 and #12, I would like to reopen this issue to keep it as a bookmark for the point in time where I might get some time to dedicate to improvements like that.
With kind regards,
Andreas.

Dear Rahul,
after also trying to query by appEarlyPubNumber, I can confirm your observations reported at https://github.com/ip-tools/uspto-opendata-python/issues/13#issuecomment-497231818. The documentation definitively should be updated.
With kind regards,
Andreas.


Plugin with id 'sonar-runner' not found

When i try to build the app i get this :
Error:(13, 0) Plugin with id 'sonar-runner' not found. Open File

I also encountered such a problem

yes， I also  encountered such a problem

Have anyone got an fix for this issue? Thanks.

Try this one
https://gist.github.com/miroslavign/5ef59e396e6b2e73d0c07db378097f2c


[DEVOPS-511] Build uuu files in jenkins

Do you need the "normal" images for release 2 at all? Or only the uuu images? In the latter case we could replace the build process for release 2 instead of building it in addition

In this stage I would still let it build in addition to the normal files. For development it is good to get everything that you can build out of yocto.

Do you need the "normal" images for release 2 at all? Or only the uuu images? In the latter case we could replace the build process for release 2 instead of building it in addition

In this stage I would still let it build in addition to the normal files. For development it is good to get everything that you can build out of yocto.

Alright. This whole process is just temporary and more of a quick fix. I expect this to change with GitLab CI.


@recipe requires a backend to work

Hi!
I was trying to use the @recipe macro using only MakieCore but I found the following error (everything works fine when loading a backend):
(jl_knZW9b) pkg> st
      Status `/tmp/jl_knZW9b/Project.toml`
  [e9467ef8] GLMakie v0.6.10
  [20f20a25] MakieCore v0.3.5

julia> using MakieCore

julia> @recipe(StockChart) do scene
           Attributes()
       end
ERROR: LoadError: UndefVarError: @recipe not defined
in expression starting at REPL[5]:1

julia> MakieCore.@recipe(StockChart) do scene
           Attributes()
       end
ERROR: syntax: invalid syntax "MakieCore.@recipe # REPL[6], line 1 StockChart do scene
    # REPL[6], line 2
    Attributes()
end" around REPL[6]:1
Stacktrace:
 [1] top-level scope
   @ REPL[6]:1

julia> using GLMakie

julia> @recipe(StockChart) do scene
           Attributes()
       end

Cheers,

Does @MakieCore.recipe work? I vaguely remember seeing this before.

Oh! Yes! That's strange, isn't it?
julia> @MakieCore.recipe(StockChart) do scene
           Attributes()
       end

wait hold up I though
@A.a

and
A.@a

are exactly equivalent


Suggestions for handling Arc associated with enum

Thanks for swift-bridge, it's really helping me out.
Can someone suggest how I can best handle an associated enum value of Arc<String>?
// Native rust value
pub enum Value {
    Bool(bool),
    Double(f64),
    String(Arc<String>)
}

#[swift_bridge::bridge]
mod ffi {
    // FFI representation
    pub enum ValueFFI {
        Bool(bool),
        Double(f64),
        String(Arc<String>),     <----- Problem case
    }
}

When I add String(Arc<String>) to the above FFI representation the swift-bridge macro crashes. I guess I need to wrap/hide that type somehow, but I can't see to find the right approach. Ideally I want to keep the Arc semantics, I don't want to just make and return a copy of the string.
Thanks for any tips.

I have managed to get it working by wrapping Arc<String> in a new ArcStringFFF type:
// Native rust value
pub enum Value {
    Bool(bool),
    Double(f64),
    String(Arc<String>)
}

#[swift_bridge::bridge]
mod ffi {
    // FFI representation
    pub enum ValueFFI {
        Bool(bool),
        Double(f64),
        String(ArcString),
    }

    extern "Rust" {
        type ArcStringFFI;

        #[swift_bridge(init)]
        fn new(string: &str) -> ArcStringFFI;
        fn to_string(&self) -> String;
    }
}

pub struct ArcStringFFI {
    inner: Arc<String>
}

impl ArcStringFFI {
    fn new(string: &str) -> Self {
        ArcStringFFI {
            inner: Arc::new(string.into())
        }
    }
    fn to_string(&self) -> String {
        self.inner.to_string()
    }
}

Is that correct? Is there an easier, less verbose or faster way? I have a number of other Arc<T> cases that I would also like to support.
Thanks.

Glad to hear you're finding swift-bridge helpful.

We haven't yet implemented support for Arc<T>.
We support Vec<T>, so we know how to bridge stdlib generic types, it's just a matter of doing it.

So, there current'y isn't an easier way than your approach.


[DOC-2829] Update triggers doc with note about Harness variable expression support

Update triggers doc with a note about Harness variable expression support
For reviewers, previews are available:
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

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

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

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


Bump torch-mlir to llvm/torch-mlir@63505ad6b

ci-extra: build_test_all_windows

Actually @stellaraccident do you want to just do this bump as a part of the larger bump now?

I'm going to lunch. If it works, go ahead and land it. Saves me a step.

Ready to merge this?


Demystifying documentation

This sounds really silly but look me a while at the start of using R to not be daunted by documentation and stackoverflow. What is this magic "foo" "bar" incantation? Do I leave the <>s around the word I know I need to replace? We could write something to demystify common things that get used by programmers and take a bit of getting used to. It ties in with consulting in terms of how we make our documentation easy for clients to read.

No, this is not silly at all! This is EXACTLY what newbies need. @charliejhadley and I were just talking about this.

Great! If we can think of more examples, these could easily be a series of tweets. Should we add more within this issue or create a new issue for each?

We also created a thread for R in 3 Months here: https://rfortherestofus.com/groups/r-in-3-months-fall-2021/forum/discussion/how-to-read-r-docs-pages/

Looking forward to working on this one. Can you grant me access to the url above? Thanks!

Just created an account on the R for the Rest of Us website for you @cararthompson. You should receive an email at your R for the Rest of Us email. Once you get that, sign in to the website and you should be able to access that URL.


--download-archive should check also if file is present on the disk and redownloaded

If a file has been accidentally deleted from the disk (although its ID is in the archive list) it should be downloaded again.

--download-archive is explicitly intended to cover cases where the file has been downloaded once before. If you do not want youtube-dl to download videos that are on disk, but download everything else, simply leave out the --download-archive option. youtube-dl will then automatically skip downloading any videos that are already present on disk.

--download-archive is explicitly intended to cover cases where the file has been downloaded once before. If you do not want youtube-dl to download videos that are on disk, but download everything else, simply leave out the --download-archive option. youtube-dl will then automatically skip downloading any videos that are already present on disk.

Thanks, what a great program!

Thanks, what a great program!


AP, PQ, SQ, RQ=0 in training

Thank you for this amazing work,
I am trying to replicate the results on the coco dataset so I am training running
python3 train_net.py --config-file configs/coco/panoptic-segmentation/maskformer2_R50_bs16_50ep.yaml --num-gpus 1 SOLVER.IMS_PER_BATCH 1 SOLVER.BASE_LR 0.000001
and what I get, even after 200k iterations is

same 0 for PQ, SQ and RQ.
If I run the inference with my trained weigths I just get the same image with no labels. (inference with pretrained weigths instead works fine).
What can be? Maybe the learning rate too low? But higher LR gives me "invalid matrix entries" after a while

The learning rate is probably too small.


Modify saved torrent retry injection logic to give up

Does an existing issue/feature request already exist?

[X] I've searched far and wide!

Does your feature request solve a problem you're facing?
Not a problem per se, but further automation of the excellent feature would be nice.
What would you like for cross-seed to do?
In this specific instance:
2024-09-24 17:30:41 warn: [inject] (1/1) Unable to inject xxxxxx[movie][xxxxxxc...].torrent - ALREADY_EXISTS (incomplete)
2024-09-24 17:30:41 info: [inject] Injected 0/1 torrents, 1 existed in client (1 were incomplete)

It feels like the logical solution is to just stop.
But what originally piped my interest was when I run cross-seed for the first time with fresh data, without common knowledge of this feature.

failed to inject, saving
retry logic successfully injects
user deletes torrent from client
retry logic successfully injects
rinse and repeat.

A bit of a head scratch to understand why these torrents being deleted from the client kept getting injected lol. I don't have the log handy, but presumably these were marked as successfully injected, in which case the logical solution would also seem to be, stop trying to inject ever hour.
What are you currently doing, if anything, to solve or work around the issue?
Deleting the .torrent files from the outputDir of course.
Additional comments
In both examples I gave above, it seems safe to delete the .torrent from the outputDir, but I don't handle complaints here :)

@ShanaryS

They will stop attempting after 24 hours from my understanding, it shouldnt be in perpetuity. I haven't ever seen this, even with injecting thousands of torrents over the weekend multiple times rebuilding my state in Deluge.
Not sure about the specifics of qBittorrent, but there might be other factors like researching and stuff instigating this seeming loop.

Thanks for the feedback. I have one torrent here that's been trying to inject for the last ~3 days. I'll let it keep going in case something is needed from me.

This is covered in the docs and linked in the migration guide: https://www.cross-seed.org/docs/tutorials/injection#manual-or-scheduled-injection
Delete the file in outputDir if you aren't going delete the source torrents for the injection as well.

Ah, I didn't think to look outside of the migration guide, nor question myself as to why there was no mention of this in the migration.
I also found the logic for your cleanup criteria. Thanks.

Honestly, as much as it might shock @Audionut  - lol - I think I might have to agree that the size and number of things in the search improvements section might need a little addressing. Perhaps even an entire "Migrations" section with different pages. I'm not sure (open to thoughts and ideas from anyone though)
It's almost as if we've incrementally ended up with the vast majority being in that heading - although it is for obvious reasons lol - and given its importance and relevance to the app as a whole (imperative details to communicate for migration and users in general) - perhaps we should look into more granularly sectioning out things and clearing it up before we go stable.
Thoughts?

Ah, so looking outside of migrations was not even needed, I still just need to learn to read properly.
The first solution that comes to mind would be further linked subheadings in the directory on the right side, but I'm not sure how messy that would become when accounting for any additional subheadings from sections outside of "search improvements".
I'd like to think I would have clicked "Failed injection" if it was linked in the directory, and, actually read it properly.

One of the largest battles I've had with writing docs, and being a analytical and verbose person to a fault, is that there has been so much improvements and enhancements in addition to the features we've added.
There have been numerous times I've spent hours writing a full novel about explaining things, only show another team member for thoughts and be told "cut that by 60% at least"
Most of the users honestly don't care about the nitty gritty, but that's what people like us enjoy and thrive on.
The fact of the matter is, most people read the docs, if they read them, and set it up and then just let it do its thing. The percentage of people getting really involved in reading them and understanding the features and methodology behind stuff is vastly smaller than the ones who just "trust us bro" - unless of course they run into issues, then its "why wasnt it in the docs i never read to completion" and most of the time I link them to where it was (not implying you, just this is a common trend)....
The fact is we have to strike a careful balance in the docs especially with overwhelming and informing. It's tricky, especially for a person like me who talks alot - particularly on technical issues, and even more so on projects i'm involved with.
The good news is, you can always ask. You know where to find me, and us :)


JWT_AUTH_HEADER_PREFIX Changes Authorization Header but Not WWW-Authenticate

JWT_AUTH_HEADER_PREFIX is not being used when constructing the WWW-Authenticate header. Currently that value is hardcoded to JWT.

@cancan101 good catch, wanna put together a PR? :smiley:

@cancan101 want to put a PR together?

sure
On Fri, Feb 19, 2016 at 10:15 AM José Padilla<EMAIL_ADDRESS>wrote:

@cancan101 https://github.com/cancan101 want to put a PR together?
—
Reply to this email directly or view it on GitHub
https://github.com/GetBlimp/django-rest-framework-jwt/issues/207#issuecomment-186255413
.


Fix #39 - respect dataClone and deepClone options

Adds test coverage to prove the bug and a fix for the issue.

So github for windows created this in the wrong repo....


parsing problem and partial program generated

From http://www.ioc.ee/~vahur/DynamicSystemSimulator_problem.zip
Can be found an example where in the Integrator specification initstate is specified twice but the compiler does not complain.
When a program is composed from the scheme problem.syn the resulting code unfolds and folds the aliases correctly, but does not call the methods in the subtasks.

When a program is composed from the scheme problem.syn the resulting code unfolds and folds the aliases correctly, but does not call the methods in the subtasks.

@vkotkas That's because you're setting the initstate incorrectly.
It is set when initstate is passed on the first call of the subtask [state -> nextstate, allDrawn], no need to call [initstate -> state], initstate -> integInit {initIntegral}; at all.
The same way there's no need for initstate, initstate.length -> state {init}; in the Integrator.
https://dl.dropboxusercontent.com/u/99448284/DynamicSystemSimulator_fixed.zip


Update protocol buffer to 3.1.0

https://github.com/os72/protoc-jar/releases/tag/v3.1.0 has been released.

Fixed in e6cea95e20f34e437fa71f598fb38f3ab0f99e19


Support Twisty Timer for sub-x calculation

Could you support files exported from Twisty Timer for the Sub-X calculator? You're free to contact me for a sample file if needed.

Yes would you mind sharing a sample file with me? I'm not familiar with twisty timer, is it a mobile app?
If there's a way to share here on github feel free to do so. Also my google drive is the same has my github name

Solves_333_Weilong WRM_2024-04-15_10-13.txt
Here!

done! the feedback is appreciated, definitely let me know about other bugs and ideas

The website still says "we don't recognize the file".

If you haven't already, maybe try doing a hard refresh in the browser. Ctrl+Shift+R on windows and Cmd+Shift+R on mac
I used your exact file you provided there and it works for me 😥


Update Gradle to 8.10.2

What does this PR do?
This PR updates Gradle to version 8.10.2.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.34%. Comparing base (f79530a) to head (3e3b90c).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2359      +/-   ##
===========================================
+ Coverage    70.32%   70.34%   +0.03%
===========================================
  Files          742      742
  Lines        27671    27671
  Branches      4630     4630
===========================================
+ Hits         19457    19465       +8
+ Misses        6924     6921       -3
+ Partials      1290     1285       -5

see 24 files with indirect coverage changes


A question about MessageSysFlag . What if I need a type for example A type value is 16 ?

https://github.com/apache/rocketmq/blob/46ac065446de5a53e8cc3f8a010b9fe6147e9d53/common/src/main/java/org/apache/rocketmq/common/sysflag/MessageSysFlag.java#L20-L33
what should do I do , if I need add new type.
And getTransactionValue why & TRANSACTION_ROLLBACK_TYPE ??
what is reason for ( & TRANSACTION_ROLLBACK_TYPE )

Every bit has it's specific meaning. Method getTransactionValue only concern the third and fourth bits, so the method & TRANSACTION_ROLLBACK_TYPE.

if I add a new type == 0x4 << 3 ( 16 ) ,
the new type dont work right ( return flag & TRANSACTION_ROLLBACK_TYPE )
what the real meaning of  ( return flag & TRANSACTION_ROLLBACK_TYPE )

if I add a new type == 0x4 << 3 ( 16 ) ,
the new type dont work right ( return flag & TRANSACTION_ROLLBACK_TYPE )
what the real meaning of ( return flag & TRANSACTION_ROLLBACK_TYPE )

If you want a new bit to express a new mean, just check the specific bit.  Method getTransactionValue only concern the third and fourth bits, there is nothing to do with your new bit.


Can't uv self update via ssh

I want to manage a remote server with ansible and use uv, but the self update command doesn't work. I narrowed down the problem to running the command over ssh:
ssh remote 'uv --verbose self update'

I get the following error:
DEBUG uv 0.5.3
DEBUG receipt is not for this executable; assuming uv was installed via a package manager
warning: Self-update is only available for uv binaries installed via the standalone installation scripts.

If you installed uv with pip, brew, or another package manager, update uv with `pip install --upgrade`, `brew upgrade`, or similar.

It's the same with ssh -t
However, if I first connect to the remote server and then run uv self update, it works. Is this a known limitation/bug?

I'm not sure why this is. The function that's used to determine if the receipt is valid is at
https://github.com/axodotdev/axoupdater/blob/39a6d215c4e4e8f4b8d4c30840019f6b9e0186f7/axoupdater/src/receipt.rs#L81-L109

Hi, sorry you're running into this! I work on the upstream software @zanieb mentioned.
When you connect to a system via ssh, ssh uses a hard-coded PATH by default unless an interactive shell is run. If you do ssh remote some-command, you're not running an interactive shell, so it'll use that default PATH.
My suspicion is you have a second copy of uv, and ssh remote uv ... is running that version. I installed uv via the installer, and I get "command not found" instead when I try updating via ssh localhost uv --verbose self update (see the screenshot below).
On the system where you had the problem, can you connect normally (in a session where uv self update works), then run both which uv and ssh localhost 'which uv'?

Thank you for the detailed reply and the trouble shooting steps. I found that I had some old uv binary that I forgot about from when I tried to install it for all user in /usr/local/bin. With your explanation on PATH, it makes sense that by doing ssh 'uv self update', it ran the binary in /usr/local/bin creating conflict with the more recent installation in ~/.local/bin.
I haven't done more testing, but is that a general problem that can occur when 2 or more different uv are installed? Anyway, that was definitely a mistake on my end, thank you again for the help. This specific issue has been solved.


Enable launching GABBs MultiSpec Online webapp tool from raster or netCDF aggregation types

Currently GABBs MultSpec Online webapp tool can be launched from a raster or netCDF resource types, but more work, specifically, push corresponding aggregation files to mygeohub iRODS space, is needed to make it launchable from the corresponding aggregation types in a composite resource.

Verified on www with release 1.25. GABBs tool can be launched from a raster aggregation now. Closing.


[API] [Admin/News] There is no URL validation when creating news

Environment: OS, Windows 11 .
Browser: Google Chrome Version 114.0.5735.135.
Reproducible: always
Build found: https://github.com/ita-social-projects/StreetCode/commit/d600e2645d9ccf17f6da55c013f00b9705b059d5
Preconditions

Open postman

Steps to reproduce

Make a request to create news
In the "url"  line enter URL with  / ( for example: "url": "/test-nn" )
Send a request

Actual result
Received a response 200. The news is created. On the user side, when you click on this new, it redirects to a 404 page.

https://github.com/ita-social-projects/StreetCode/assets/109734235/ecba6f65-a80b-406a-9c27-024c8fcb07ab
Expected result
Received a response 400. The news is not created. Does not allow to create news with the link that containing / .
User story and test case links
E.g.: "User story #835
Labels to be added
"Bug", Priority ("pri: hight"), Severity ("severity:hight"), Type ("Functional"), "API"

News is still created with invalid data (cyrillic, special signs, capital letters, e.g. "News_нов!№;"


Dispatcher

A mechanism for menu items to dispatch events to a controller, where the controller then consumes its contents and performs an operation.
Are there other ways we can achieve this

The dispatcher has been implemented to spec of the first version


Long Compile Times: Dynamic Linking?

I've used the Bevy game engine and I cannot live without the super fast (sometimes <1 second!) dynamic linking support. Is this possible to do with Iced? Being a UI library, Iced applications need lots of design iteration for styling & layout. However, iteration is made tedious with long compile times. Is it possible to implement a feature similar to Bevy's --features bevy/dynamic?

I'm not talking about hot reloading, more just dynamic linking with the lld linker and nightly rust for a significant speedup.
https://github.com/hecrj/iced/issues/21#issuecomment-701354667
Seems to think that dynamic linking won't have much of an effect, but I have observed significant speedups with dynamic linking.
Modifying the main.rs file and recompliling using static linking takes around (6-7) seconds in my small-ish bevy project. While doing the same test using the --features bevy/dynamic reduces it to around (1-3) seconds. (Both using lld and nightly).
I'm going to try and implement this feature in iced to see if I can get similar improvements.

Oh gotcha, ya that isn't currently a feature, but you could create a PR for that feature that would be fantastic!

So, I managed to transfer the feature over from bevy and I got a slight iterative compile time improvement:
// Dynamic Compile Times: 2.49s, 2.53s, 2.40s, 2.76s, 2.26s, 2.45s
// Static Compile Times: 3.03s, 4.22s, 3.50s, 3.20s, 3.06s, 3.70s, 2.85s, 2.87s, 3.68s

Time for my PR!


Use pull_request_target event to run verification workflows

When a PR is executed openning from a fork the BOT_APP_ID environment variable is not set. See this run of #330.

Okay, let's go with #332


Where is the repo for the actual Monero V blockchain?

Hi, your website links to this repo, the monerov collection only has this repo in it. Where would we see the actual code for the monerov blockchain?

More git repos are rolling out. The MoneroV blockchain has not been created yet. There is hard-coded source that obviously can't be published as it contains the seed nodes so the release would be when the blockchain is up and running.


Sequential model to Functional model

Is there any way of converting Sequential model into Functional model? (same architecture, same weights)

I think the only difference between sequential and functional models that are equivalent are their syntax
If so you question doesn't make sense

Sequential uses the Model class internally, so if you have a Sequential model in seqmodel you can do seqmodel.build() or seqmodel.compile(...) and get the functional model via funcmodel = seqmodel.model.
Is that what you meant?

@mbollmann Yes ! Thanks, thats exactly what i meant. Thank you very much!
It really makes joining two different models together easier, i think it would be nice if it was mentioned in docs.
Anyway, thanks!.

@hawkerpl  Do you share one example how to implement it ? Thanks.

@mbollmann what about vice versa. I have a Model (vgg16) and I want to convert it to Sequential

@johnny5550822 I don't know, maybe Sequential(layers=model.layers) could work? Provided that the model actually is sequential, of course. But why would you ever want to do that? Model class is more powerful after all and Sequential seems to be mainly for convenience.

@mbollmann because I had a situation where there is Modal and Sequential  model and I want to merge them into a single network. I think I have figure it out.

@johnny5550822
Could you please share your solution? I'm trying to do the same thing (convert a Model into a Sequential)

@alyato Functional model to Sequential: https://gist.github.com/hawkerpl/ce488f7ecdbe9c9d37fb62930dbe3649
@ psgl @johnny5550822  @mbollmann  To convert the functional to sequential in keras, you just need to call the constructor Sequential(layers=functional_model.layers)

@hawkerpl
Thanks for your suggestions.  I know this thread is pretty old, but I don't think the gist that referenced is the example you were thinking it was.  I don't see a functional model or a conversion in the gist.  Am I missing something?  If there is a different example that you had in mind, it would still be great to see.
Thanks.


Black background on Panel and Group header text.

The background behind Panel and Group header text remains black when I make the header semi-transparent. But the text background looks as expected on sliders, value plotters, buttons and toggles. Any ideas?

What exactly do you mean? The header is laying on top of the panel/group background, so if the panel or group isn't transparent, you also won't see the background through the header. I am not happy with the implementation of the header, but I got no other idea right now. If you want the content beneath the header have a different padding / background, you can create a group with transparent background and your desired header config and add a group with hidden header where you set the group background. I did this in the second example of ofxSortableList, have a look at the screenshot there.

It must be something in my json theme that's causing the problem. Here is what I mean:

and I just tried with a custom font and now this is what happens:

By the way, my custom font looks a bit fuzzy on some components.
Here's my json theme:
{
    "bleurgh": {
        "base": {
            "background-color": "rgba(0,0,0,0.3)",
            "fill-color": "rgba(220,80,50,1)",
            "border-width": 0,
            "padding": 5,
            "border-color": "rgba(0,0,0,0.3)",
            "margin": 5,
            "text-color": "rgba(255,255,255,0.8)",
            "text-padding": 5,
            "font-size": 18,
            "width": 350,
            "font-family": "GUI/fonts/NewMediaFett.ttf",
            "font-size": 9
        },

        "group": {
            "background-color": "rgba(0,0,0,0.2)",
            "border-color": "rgba(0,0,0,0.6)",
            "padding": 0,
            "margin": 1,
            "border-width": 1
        },

        "group-header": {
            "height": 40,
            "margin-right": 0,
            "background-color": "rgba(0,0,0,0.2)",
            "text-color": "#ffffff",
            "border-color": "rgba(0,0,0,0.6)",
            "border-width": 1
        },

        "panel": {
          "width": 350,
          "direction": "vertical",
          "show-header": true,
          "background-color": "rgba(0,0,0,0.3)"
        },

        "slider": {
          "fill-color": "rgba(220,80,50,1)",
          "precision": 3,
          "border-width": 1,
          "border-color": "rgba(0,0,0,0.5)"
        },

        "toggle": {
          "height": 40,
          "border-color": "rgba(220,80,50,1)",
          "background-color": "rgba(220,80,50,0.1)",
          "fill-color": "rgba(220,80,50,0.7)",
          "border-width": 1,
          "type": "fullsize"
        },

        "button": {
          "fill-color": "rgba(220,80,50,1)"
        },

        "label": {
          "text-color": "rgba(220,80,50,1)",
          "background-color": "rgba(0,0,0,0)"
        },

        "graphics": {
          "background-color": "rgba(0,0,0,0)"
        },

        "value-plotter": {
          "fill-color": "rgba(220,80,50,1)",
          "height": 40,
          "precision": 3,
          "border-width": 1,
          "border-color": "rgba(0,0,0,0.4)"
        },

        "function-plotter": {
          "fill-color": "rgba(220,80,50,1)",
          "precision": 3,
          "border-width": 1,
          "border-color": "rgba(0,0,0,0.4)"
        },

        "tabs": {
          "padding": 20
        }

    }
}

and for example, in my ofApp.cpp:
    pitchGroup = audioAnalyzerPanel->addGroup("PITCH", ofJson({{"flex-direction", "row"}, {"flex-wrap", "wrap"}}));
    pitchGroup->add(pitchToggleVal, ofJson({{"type", "radio"}, {"show-name", false}, {"width", "10%"}}));
    pitchGroup->add<ofxGuiValuePlotter>(pitchPlotterVal, ofJson({{"width", "90%"}}));
    pitchGroup->add(pitchConfSliderVal);

Any ideas what I may be doing wrong?

Also, you can see in the screenshots that the headers have got a small margin on the right which I don't want but I'm not sure how it got there.

Thanks for all the details! I got the first one figured out (see commit) but the header margin thing is strange.  I will try my best.
Btw I really like the theme :)

And I sadly have no idea what the reason for the fuzzy font is. I had this too before, right now it looks nice, no clue..

Wish i had better skills... I'd gladly help out. But I'm learning fast - have only started with c++/openFrameworks in the last fortnight. GIve me another couple of weeks and I can probably start to contribute some code. In the meantime, I'll just create more "issues" for you, if you don't mind!
And feel free to use my theme of course.

It's already really helpful to get your issues, you are the first one actively trying out this addon and giving me feedback so thank you very much! I want to use this addon for my projects and I really want it to be reliable, stable, fast and flexible, but since it's pretty complex it's hard to test everything by myself.
Is the header margin thing still a problem? If yes, please report a separate issue, also for the font issue.

Cool. I'll open some new issues but will investigate a bit more first to avoid wasting your time.

Don't spend too much time with the layout right now, I found some bugs myself and I am rewriting it once again. Let's hope I get it right this time.


Wrong version installed (1.0.1)

1.0.1 this is the only version i get.
using ext install TabNine.tabnine-vscode i get the same version.
FORGET IT, IT WORKS, ONLY THE VERSION SHOWN IS WRONG

Hi Alessandro. Can you try typing TabNine::version into your editor? You’re seeing the extension version, which is (confusingly) separate from the TabNine binary version.

On Jul 26, 2019, at 12:53 PM, Alessandro Annini<EMAIL_ADDRESS>wrote:
https://user-images.githubusercontent.com/3852307/61967730-6393bf00-afd6-11e9-9a48-83f95e02e7c6.png
1.0.1 this is the only version i get.
using ext install TabNine.tabnine-vscode i get the same version.
and nothing works
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/zxqfl/tabnine-vscode/issues/36?email_source=notifications&email_token=AC2CY7TTPQSFYXKOEVYGNITQBMTZ7A5CNFSM4IHFRVG2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HBYILMA, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2CY7QO67322IJTTWPYAUTQBMTZ7ANCNFSM4IHFRVGQ.

Yes @zxqfl it works, I made a type on "version" :)

but you could specify that it won't work if you simply paste it, you just have to write it


Improve documentation to be more focused on important stuff

As a potential new user of Lynx, the documentation is confusing to me. In the main readme I expect an overview and not too detailed information about certain things. Thats why I would recommend to create a new docs/how-to folder for certain important documentation. So people can search it up if needed.
Also I would strongly disagree to ship a reverse proxy by default in docker compose, because Port 80 needs higher permissions to use, is sometimes already taken by other applications or the user isn't interested in that stuff. So I would say that's the responsibility of the user to set that up
Recommended Steps:

[x] Improve Docker Documentation
[x] Outsource manual ubuntu deployment
[x] Outsource development guide
[x] Combine Bug Tracker, Security Tracker, Contribution Guide
[x] Remove Reverse Proxy
[ ] Self PR-Review

@uvulpos thanks for the PR. i have few changes but rest lgtm

I need to merge the PR to enhance docs and move some things to /docs dir

Allright. Would have been back on Saturday l, due to some current other deadlines :)


Plugin fails to load on beta release (1.37.0)

[Enter steps to reproduce:]

On Atom start

Atom: 1.37.0-beta0 x64, 1.37.0-beta1 x64
Electron: 2.0.18
OS: Mac OS X 10.14.3
Thrown From: Atom Core
Stack Trace
Uncaught Error: ::set with a 'source' and no 'sourceSelector' is not yet implemented!
At /Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:11

Error: ::set with a 'source' and no 'sourceSelector' is not yet implemented!
    at Config.set (/Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:11:330629)
    at SettingsFile.activate (/Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:14:6114)
    at SettingsFile.load (/Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:11:3425225)
    at l.readFile (/Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:14:5992)
    at /Applications/Atom Beta.app/Contents/Resources/app/static/<embedded>:11:581165
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:511:3)

Commands

Non-Core Packages
atom-beautify 0.33.4
atom-change-case-menu 0.2.0
atom-jest-snippets 2.1.0
atom-lcov 2.0.0
autoclose-html 0.23.0
build 0.70.0
busy 0.7.0
busy-signal 2.0.1
clipboard-plus 0.5.1
cucumber-step 0.2.0
cursor-history 0.13.2
double-tag 1.7.0
editorconfig 2.4.0
egghead-react-snippets 1.2.2
erb-snippets 1.1.0
es6-javascript 1.0.0
ex-mode 0.18.0
expand-region 0.4.2
file-icons 2.1.31
git-blame 1.8.0
git-plus 8.6.2
go-debug 1.6.2
go-expanderr 0.1.1
go-find-references 1.2.3
go-imports 0.2.0
go-plus 6.1.0
go-quick-import 0.3.1
go-rename 0.3.0
go-signature-statusbar 1.2.3
haskell-grammar 0.4.0
highlight-selected 0.16.0
hyperclick 0.1.5
intentions 1.1.5
jump-to-import 3.6.5
jumpy 5.0.2
language-actionscript 0.2.0
language-arduino 0.4.3
language-babel 2.85.0
language-docker 1.1.8
language-elixir 0.22.1
language-gherkin 1.0.4
language-haml 0.32.1
language-nginx 0.8.0
language-ocaml 1.9.5
language-powershell 5.0.0
language-thrift 1.0.2
language-x86asm 0.9.0
last-cursor-position 0.9.3
line-ending-converter 1.3.2
linter 2.3.0
linter-csslint 2.0.5
linter-docker 0.3.2
linter-eslint 8.5.3
linter-flow 5.6.1
linter-golinter 1.3.0
linter-gotype 1.0.0
linter-govet 1.0.0
linter-ruby 1.3.0
linter-ui-default 1.7.1
nuclide 0.366.0
open-git-modified-files 0.2.4
open-this 0.5.0
pigments 0.40.2
prettier-atom 0.56.4
pretty-json 2.1.1
ruby-block-converter 4.1.1
ruby-syntax-replacer 0.5.1
teletype 0.13.3
todo-show 2.3.2
toggle-quotes 1.1.3
vim-mode-clipboard-plus 0.3.0
vim-mode-plus 1.36.0
vim-mode-plus-move-selected-text 0.12.0
you-complete-me 0.8.1

Here is original issue I posted to Atom Core
https://github.com/atom/atom/issues/19144

I'm experiencing this same issue, same error as above.

I will check this weekend.

I've confirmed that the code triggering this error is the '*' syntax in settings/expand-region.cson. Removing that block, or changing * to something alphanumeric, resolves the error.
@aki77, do you have any insight into this?

Thanks for the detailed report.
I will try to move the global default settings to the following location.
https://github.com/aki77/atom-expand-region/blob/master/lib/main.coffee#L11

@aki77 I can confirm v0.5.0 fixes the error completely. Everything is working again. Thanks so much!


example: Use Gin's built-in binding validation

I just want to double check. Does this continue to return a 400 status?

I just want to double check. Does this continue to return a 400 status?

Yes, because the binding call above fails, and we return a 400 there.


Sample app crashes at start up on Galaxy Nexus Omnirom 4.4.4.

Cannot start app generated with FOSSASIA zip.

@mariobehling this is fixed in #536

I will check on this and ensure that it is totally fixed by today

@mariobehling closing this as this has been fixed already.


Login error: No reference available 'rbx.oauth2login', Update info in 'rna_manual_reference.py' or callback to bpy.utils.manual_map()

when clicking login it doesnt login i have changed the browser many times and it is the same i clicked f1 for logging in manually but it gives me this message
No reference available 'rbx.oauth2login', Update info in 'rna_manual_reference.py' or callback to bpy.utils.manual_map()
pls answer me

When you click the Log in button, does it become disabled & the cancel button appear? Or does nothing at all happen?
And can you clarify what you mean by you click F1 for logging in manually?
If there's an internal error, it should be logging it to the console. To see this, do the following and share the output here:

On Windows, in Blender go to Window > Toggle System Console to see the console
On Mac OS, you'll need to start Blender from a terminal window (try opening Terminal, typing blender, and pressing return/enter)

Without knowing more, things you might try include (in this order):

Try changing your default browser in operating system settings (in case there's some issue launching your browser for some reason)
Try logging in again

If that doesn't work, we can try a full re-install of the add-on:

Follow the steps to uninstall the plugin from the readme page.
After closing Blender, double check your plugin folder in file explorer (On Windows, you can go to %AppData%\Blender Foundation\Blender\4.0\scripts\addons), and delete any folders that are named roblox-blender-plugin or similar
Open Blender, and go back to Edit > Preferences > Add-ons and verify the plugin does not show up in the list
Disable antivirus (it's possible antivirus blocked some part of the installation when you installed last time)
Follow the steps to download and install the latest version of the plugin from the readme page, including dependency installation.
During installation, check for errors in the console output. On Windows, in Blender go to Window > Toggle System Console to see the console. On Mac OS, you'll need to start Blender from a terminal window.
Restart blender
Re-enable your antivirus
Try logging in


error handling on run

pip installs perfectly with no issues.
on running pwnbox up,the following error is thrown
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pwnbox/__main__.py", line 127, in main
    pwnbox_container = client.containers.get(config['CONTAINER']['NAME'])
AttributeError: 'function' object has no attribute 'get'

this appears to be a docker error,but some handling would be really useful for the scriptkiddie :)
(NOTE: moved from pwnbox repo)

Fixed in v1.5.1.


"Runc" is listed in the drop-down menu

Description:
"Runc" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Runc" in the search bar.

Expected results
The location is listed in the drop-down menu as "Runc, Alba (Zlatna)".


lazy-loader breaks compatibility with PyInstaller

The new lazy submodule loader breaks the dependency analysis of PyInstaller. Normally, we'd manually patch this up on PyInstaller's side but, given that pandas_flavours only has two submodules (minus the one which holds the package's version), one imports only pandas and functools, the other imports the first and functools and neither of them do any processing at all on initialisation, what actually is the point in using lazy loading here anyway? Asides from breaking PyInstaller's analysis (and just looking ugly), it screws with IDE completion and static analysis tools.

@bwoodsend apologies for responding late here.
I'm struggling to remember the exact reason for doing lazy loading, but the general reason was motivated by startup execution time when doing imports. One of my colleagues at work noticed that our CLI tools, which used pyjanitor as a dependency, was executing really slowly and through profiling, we might have traced performance issues all the way back to pandas_flavor. My apologies for any inconvenience here.
I think we'll need to rethink some of the underlying code organization of both pandas_flavor and pyjanitor to see whether there's a more efficient pattern. I've not had the time to think about the problem deeply, though, because of other life priorities. That said, we'll keep this issue open on the off chance that others may be able to take some time to think about this programming puzzle.

@bwoodsend closing this issue as lazy loading has been removed. Thanks for the feedback


Revert "Update pokedex.ts"

Reverts new-meta-incorporated/pokemon-showdown#38

Reverting the most recent pull request of small changes, maybe something was wrong that I missed here.


[Schema Registry Avro] Prepare release

I could not release yesterday because of a bug I found so I am targeting releasing today instead. I did not fix the bug yet but I will do so in another PR. This PR updates the release date in the changelog entry to be today instead and renames the client class as agreed in the archboard meeting.

API changes have been detected in @azure/schema-registry-avro. You can review API changes here
API changes
+ export declare class AvroEncoder<MessageT = MessageWithMetadata> {
+     constructor(client: SchemaRegistry, options?: SchemaRegistryAvroEncoderOptions<MessageT>);
+     decodeMessageData(message: MessageT, options?: DecodeMessageDataOptions): Promise<unknown>;
+     encodeMessageData(value: unknown, schema: string): Promise<MessageT>;
+ }
- }
- export declare class SchemaRegistryAvroEncoder<MessageT = MessageWithMetadata> {
-     constructor(client: SchemaRegistry, options?: SchemaRegistryAvroEncoderOptions<MessageT>);
-     decodeMessageData(message: MessageT, options?: DecodeMessageDataOptions): Promise<unknown>;
-     encodeMessageData(value: unknown, schema: string): Promise<MessageT>;

API changes have been detected in @azure/schema-registry-avro. You can review API changes here


Logic and labelling in sudo phala status

"khala chain synchronization status" appears to not actually show khala's chain data but is instead showing kusama's.  See the below example, according to this I have 8,876,624 blocks to go until khala will be sync'd "khala chain synchronization status" "Synchronizing, please wait, difference is 8876624".  8,876,624 is much larger than the entire block height of the khala chain, so it should be impossible to display a value so large as 8876624.  I believe this line in the status is actually a count down of how many blocks are left until kusama is sync'd.  Further, kusama chain sync status shows the difference is '0' however I know that kusama chain is not completely sync'd.
It may be worth noting in my particular case, khala-node container continuously crashes and is not running, which is likely an unrelated issue but worth mentioning.
------------------------------ Script version 0.1.6 ----------------------------
service name            service status          local node block height
    khala-node              exited                   / 428696
    kusama-node             exited                   / 9305320
    phala-pruntime          running
    phala-pherry            running                 khala 0 / kusama 0

    Status check                                            result

    khala chain synchronization status              Synchronizing, please wait, difference is 8876624
    kusama chain synchronization status             Synchronization completed, difference is 0
    pherry synchronizes khala chain status          Synchronization completed, difference is
    pherry syncs kusama chain status                Synchronization completed, difference is

I believe this paradigm may only occur if the khala-node container is not running, perhaps just show a warning if that container is not running.

Thx. We will consider


Make a pathfinding library

We want to be able to compute paths and avoid obstacles

Done in PR https://github.com/outech-robotic/code/pull/64

Closed by https://github.com/outech-robotic/code/pull/64


bug/Slack signup restricted to unstructured.io addresses

Signup for Slack via the button on the README won't accept my work or personal email. It appears to require an unstructured.io address.
Would you send me an invite to your Slack?

Hey there, thanks for letting us know! We're checking out our workspace settings but in the meantime this link should work. Please let me know if you have any trouble.
https://join.slack.com/t/unstructuredw-kbe4326/shared_invite/zt-1vrmwdw1f-YtVfPuaGFiJMcNm2jGhGZA


Update comprehension.sld

added :-dispatch to export list, so short form (list-ec(: x 5) x) would work again.

thank you!


[Backend] Uploading attachment failed

Logs
Error message at web console.
{
    "message": "Request failed with status code 500",
    "name": "AxiosError",
    "stack": "AxiosError: Request failed with status code 500\n    at tT (https://health-dev.squidspirit.com/_next/static/chunks/245-03e9a9a5379ad0c3.js:6:38320)\n    at XMLHttpRequest.c (https://health-dev.squidspirit.com/_next/static/chunks/245-03e9a9a5379ad0c3.js:6:42968)\n    at et.request (https://health-dev.squidspirit.com/_next/static/chunks/245-03e9a9a5379ad0c3.js:6:50703)\n    at async o.upload (https://health-dev.squidspirit.com/_next/static/chunks/2687-cb1c1743b9ddf65b.js:1:15220)",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http",
            "fetch"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Content-Type": "multipart/form-data",
            "X-CSRF-Token": "580e27b4-79d7-4abf-9ecb-acbbd3df2292"
        },
        "method": "post",
        "url": "https://health-dev.squidspirit.com/api/attachment",
        "data": {}
    },
    "code": "ERR_BAD_RESPONSE",
    "status": 500
}

Response
The response from the backend server.
<!doctype html>

<title>500 Internal Server Error</title>

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

It seems like to be related with #78.

Bug was fixed.
It happened because of error storing path.


Add New Tab Menu Customization to Settings UI

Summary of the Pull Request
Adds customization for the New Tab Menu to the settings UI.

Settings Model changes:

The Settings UI generally works by creating a copy of the entire settings model objects on which we apply the changes to. Turns out, we completely left the NewTabMenu out of that process. So I went ahead and implemented it.
FolderEntry

FolderEntry exposes Entries() (used by the new tab menu to figure out what to actually render) and RawEntries() (the actual JSON data deserialized into settings model objects). I went ahead and exposed RawEntries() since we'll need to apply changes to it to then serialize.

View Model:

NewTabMenuViewModel is the main view model that interacts with the page. It maintains the current view of items and applies changes to the settings model.
NewTabMenuEntryViewModel and all of the other _EntryViewModel classes are wrappers for the settings model NTM entries.
FolderTreeViewEntry encapsulates FolderEntryViewModel. It allows us to construct a TreeView of just folders.

View changes and additions:

Added FontIconGlyph to the SettingContainer
Added a New Tab Menu item to the navigation view
Adding entries: a stack of SettingContainers is used here. We use the new FontIconGlyph to make this look nice!
Reordering entries: drag and drop is supported! This might not work in admin mode though, and we can't drag and drop into folders. Buttons were added to make this keyboard accessible.
To move entries into a folder, a button was added which then displays a TreeView of all folders.
Multiple entries can be moved to a folder or deleted at once!
Breadcrumbs are used for folders
When a folder is entered, additional controls are displayed to customize that folder.

Verification

✅ a11y pass
✅ keyboard accessible
scenarios:

✅ add entries (except actions)
✅ changes propagated to settings model (aka "saving works")
✅ reorder entries
✅ move entries to an existing folder
✅ delete multiple entries
✅ delete individual entries
✅ display entries (including actions)

Follow-ups

[ ] add support for adding and editing action entries
[ ] when we discard changes or save, it would be cool if we could stay on the same page
[ ] allow customizing the folder entry before adding it (current workaround is to add it, then edit it)
[ ] improve UI for setting icon (reuse UI from #17965)

Demo
Top-level view

"Move to folder" dialog

Edit Folder view

Feedback from Bug Bash (11/19)

[ ] Should "Delete Selected Items" not be enabled if there are no items selected?
[ ] ^ Same with "Move selected entries to folder..."
[ ] "delete item button" different height from reorder buttons
[ ] Make ListView proportionally larger (WinUI makes it hard to drag & drop sometimes, and instead scrolls)
[ ] When a new entry is added into ListView, we should scroll to it
[ ] Pill in NavViewItem disappears when "Discard changes" from nested folder view
[ ] Crashes when I add my PowerShell profile that has no icon into a nested folder
[ ] Moving a folder into itself deletes the folder

Create a folder entry
Select it
Click "move selected entries to folder"
Select itself to move into
Folder gets deleted

[ ] I tried to move nothing (no selection!) into  and it crashed
[ ] actually moving anything into root from root broke

/azp run


NPEs and withNew*(String)

The withNew*(String) methods generated for String-typed properties will make a copy of the string parameter. This means withNewFoo(null) will throw an NPE whereas withFoo(null) is safe with nulls. This is a bit of a trap for programmers who use withNewFoo() by mistake. Should withNew*(String) by made to tolerate a null argument?
Why do we even generate withNew*() for String-typed properties? It seems pointless, since String is immutable.

Agree!
There is no point in generating withNew for non-complex or non-buildable Objects.
I think that this was a regression that was resolved recently. What version are you using @tombentley ?

0.16.5. Hoping to upgrade, but because of #150 that's not completely trivial.

Ok, makes sense!

FYI upgraded today to 0.19.0 and the withNew*(String) methods still seem to be generated.

Will have a closer look.
On Wed, Jun 26, 2019, 20:10 Tom Bentley<EMAIL_ADDRESS>wrote:

FYI upgraded today to 0.19.0 and the withNew*(String) methods still seem
to be generated.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sundrio/sundrio/issues/152?email_source=notifications&email_token=AADCEWBAWLDTLRYCG7QF2KLP4OPIVA5CNFSM4H2PVXIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYUGNBA#issuecomment-505964164,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADCEWBBDDRXP4TJDJZXPKTP4OPIVANCNFSM4H2PVXIA
.

@tombentley I don't see any withNew on non-buildable objects.
Please not that for objects with small number of primitive and String properties  (below 5) we do create a withNew that inlines all arguments. So if you have objects that just wrap a single String property you will still see withNew*(String) and thats expected.
The question is:

does what you see fall into that category? (single string wrapper)?
do you get NPE for that case?
can you provide a reproducer?

We're observing this happening on a class with 5 string properties. If you meant ≤5 rather than <5 properties then this would fit with what you're saying. Out of interest what's the rationale for this special case?
In any case why is the generated code:
public A withNewMessage(String arg1){
        return (A)withMessage(new String(arg1));
}

and not
public A withNewMessage(String arg1){
        return (A)withMessage(arg1);
}

which would avoid the NPE which was how I originally discovered this. I guess it's by symmetry with the StringBuilder and StringBuffer methods, in which case why not just generate
public A withNewMessage(CharSequence arg1){
        return (A)withMessage(arg1 != null ? arg1.toString() : null);
}

and avoid those overloads entirely?

@tombentley:  I am not sure why these methods are generated this way, but I agree it doesn't look correct. I'll fix that asap.


fix: codeclimate resolve - lms integration - GSoC'21 Ayan Biswas

Describe the changes you have made in this PR -
fix: some of the codeclimate errors resolved

Coverage decreased (-0.1%) to 82.295% when pulling f6120a7119f7fa50d75692e0a4625da16db93c56 on ayan-biswas0412:lms_rubocop_solve into 03c8ed3ef66c434201b08b6aa512e6f2eef2e7cf on CircuitVerse:lms-lti.


Update tests and challenge seeds

Update tests and challenge seeds with spanish instructions

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thanks!

FYI - The current logic in the English I assume will go over into the non-English challenges regarding only using the text and ignoring whatever is passed via the message parameter of the assert.
So, technically, the text part needs to be changed to match the change approved in the assert message.  This should probably be handled on a new PR.


added conatct us and copywrite

Description
I am added Contact us  details and Copywirte sign.
Related Issues
issue no. #1066
Changes Proposed

[x] I have read and followed the Contribution Guidelines.
[x] All new and existing tests passed.
[x] I have updated the documentation to reflect the changes I've made.
[x] My code follows the code style of this project.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

please merge this PR request  @akbatra567  and give Level 1 or level 2 lable  for gssoc'24 leaderboard

ok i can resolve this

hello @akbatra567  i resolve this you can review code and merge this PR.

hello @akbatra567  please give the gssoc lable e.i lable 1 or lable 2

@akbatra567 Don't merge PR, just approve them.


add color and alpha arguments to plot methods

[x] Code style is correct (follows pylint and black guidelines)
[x] Includes new or updated tests to cover the new feature

Codecov Report

Merging #240 (e87376a) into main (eaa8bdf) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
+ Coverage   82.82%   82.83%   +0.01%
==========================================
  Files          29       29
  Lines        3674     3677       +3
==========================================
+ Hits         3043     3046       +3
  Misses        631      631

Impacted Files
Coverage Δ

preliz/tests/test_plots.py
100.00% <ø> (ø)

preliz/distributions/distributions.py
91.30% <100.00%> (ø)

preliz/internal/plot_helper.py
72.90% <100.00%> (+0.26%)
:arrow_up:


Allows to get the position of the last occurrence of a character

This pull request allow to get the position of the last occurrence of a specific caracter instead the last typed.

Interesting PR. Can you share a use case for it? I've tried the demo but I'm unclear on when it helps to return an (x, y) position other than that of the caret. Thanks!


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.14.14",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6e506f07c5b561d673dd0b0d8f7f420cc48024fb"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "6e506f07c5b561d673dd0b0d8f7f420cc48024fb",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "dm: fix mempool NULL pointer race when completing IO\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.14.14 by commit 6e506f07c5b561d673dd0b0d8f7f420cc48024fb. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002078