Placer hangs during constraint processing

To reproduce please run: tests/pdk/finfet_pdk/test_placer.py::test_hang_4
Placer hangs just after: DEBUG PnR.placer.design.MergeNewBlockstoSymmetryGroup:placer.py:56 New symmetric group

@854768750 , I resolved the conflict but the test is still getting stuck in infinite loop:
    {
      "direction": "H",
      "abut": false,
      "const_name": "Ordering",
      "blocks": [
        "X_MP3",
        "X_MP2",
        "X_MP4",
        "X_MP5",
        "X_MP6"
      ]
    },
    {
      "pairs": [
        {
          "type": "selfsym",
          "block": "X_MP1"
        },
        {
          "type": "selfsym",
          "block": "X_MP2"
        },
        {
          "type": "sympair",
          "block1": "X_MP3",
          "block2": "X_MP4"
        }
      ],
      "const_name": "SymmBlock",
      "axis_dir": "V"
    }

Yes. The loop is from another problem. May need to use some constructive method for ordering.

@sapatnekar , symmetric placement does not necessarily preserve the order of devices in a pair (I wish it did). tests/pdk/finfet_pdk/test_placer.py:test_symmetry confirms this:
tests/pdk/finfet_pdk/test_placer.py

@854768750 , this means that there has not been a conflict with the original test case. A new approach is needed here.

@soneryaldiz if the intention is to preserve the order in symmetry constraint, it can easily be enforced. Maybe this can be made as an optional param to the constraint.

@srini229 , I was just assuming so and this is not required right now. I think we should first fix sequence pair legalization.

I looked into the Floorplan constraint. It is still translated into many ordering constraints for PnR. Is it possible to give PnR the Floorplan constraint directly?

Let's discuss this in the team meeting Today. This is an option yet i) not all instances might be part of a floorplan, ii) there could be multiple floorplan constraints for a circuit (that involve different floorplans or specify a floorplan within a region). The topological sort of the constraint graphs should be sufficient.

@854768750 , this last commit intentionally return after finding a feasible solution at the beginning of simulated annealing. The log indicates that the placer found a feasible solution with positive cost:
2022-03-29 16:09:07 PnR.placer.design.cacheSeq DEBUG : Using seq pair cache for CKT_HANG_4 to reduce redundancy
2022-03-29 16:09:07 PnR.placer.Placer.PlacementCoreAspectRatio_ILP INFO : Required 1 perturbations to generate a feasible solution.
2022-03-29 16:09:07 PnR.placer.PlacerIfc.PlacerIfc DEBUG : Block CKT_HANG_4 placement runtime : 10699455

However, the returned solution does not meet the constraints (X_MP10 cannot be placed on lly=0 as it has to be above few other blocks).
What is missing here?

Okay, I think the problem is that the very first sequence pair is not legal to start with. Please sit tight, I will push another commit.

I uploaded a toposort in keep_ordering.
Then I pulled the latest commit and got
align.schema.checker.SolutionNotFoundError: No satisfying solution could be found. Please review constraints.
It seems the checker report constraint conflict before placer.

I got
align.schema.hacks ERROR : Solution not found due to conflict between:
align.schema.hacks ERROR : {"instance_name": "X_MP6", "fa_map": [{"formal": "B", "actual": "VCCX"}, {"formal": "D", "actual": "O"}, {"formal": "G", "actual": "I"}, {"formal": "S", "actual": "VSSX"}], "abstract_template_name": "PMOS_4T_34714966"}
align.schema.hacks ERROR : {"instance_name": "X_MP8", "fa_map": [{"formal": "B", "actual": "VCCX"}, {"formal": "D", "actual": "O"}, {"formal": "G", "actual": "I"}, {"formal": "S", "actual": "VSSX"}], "abstract_template_name": "PMOS_4T_34714966"}
align.schema.hacks ERROR : {"constraint": "floorplan", "regions": [["X_MP1"], ["X_MP3", "X_MP2", "X_MP4", "X_MP5", "X_MP6"], ["X_MP7", "X_MP8", "X_MP9", "X_MP10"], ["X_MP11", "X_MP12", "X_MP13", "X_MP14", "X_MP15", "X_MP16"], ["X_MP17", "X_MP18"], ["X_MP19"]], "order": true, "symmetrize": false}
align.schema.hacks ERROR : {"constraint": "align", "instances": ["X_MP1", "X_MP10", "X_MP11", "X_MP12", "X_MP13", "X_MP14", "X_MP15", "X_MP16", "X_MP17", "X_MP18", "X_MP19", "X_MP2", "X_MP3", "X_MP4", "X_MP5", "X_MP6", "X_MP7", "X_MP8", "X_MP9"], "line": "h_center"}
align.cmdline ERROR : Fatal Error. Cannot proceed
```

If I move back one commit by git reset HEAD^ --hard to https://github.com/ALIGN-analoglayout/ALIGN-public/pull/1026/commits/bcae0dad013cce5695125c31aacea75dcdbcd293 then one solution is generated.

@854768750 , h_center is added by compiler. I disabled auto-constraint and test passes. By the way, does placer support all of the below for AlignBlocks?
['h_bottom', 'h_top', 'h_center', 'v_right', 'v_left', 'v_center']:
This PR is ready for review.

@854768750 , h_center is added by compiler. I disabled auto-constraint and test passes. By the way, does placer support all of the below for AlignBlocks? ['h_bottom', 'h_top', 'h_center', 'v_right', 'v_left', 'v_center']:
This PR is ready for review.

Yes. There 6 types of alignment are implemented in https://github.com/ALIGN-analoglayout/ALIGN-public/blob/master/PlaceRouteHierFlow/placer/ILP_solver.cpp#L2296-L2332

@854768750 , the tests below are failing in placer:
short test summary info =============================================================
FAILED test_circuits.py::test_cmp_fp1 - AssertionError: ckt_cmp_fp1: No results generated
FAILED test_placement_grid.py::test_cmp_on_grid - AssertionError: ckt_cmp_on_grid: No results generated
FAILED test_circuits_partial_routing.py::test_cmp_fp1_pr - AssertionError: ckt_cmp_fp1_pr: No results generated
FAILED test_placer.py::test_cmp_fast - AssertionError: ckt_cmp_fast: No results generated
FAILED test_placer.py::test_cmp_slow - AssertionError: ckt_cmp_slow: No results generated

test_placement_grid.py::test_cmp_on_grid fails as aspect ratio is violated
All other tests fails due to index out of range.

@854768750 , same index out of range error also occurs in CI tests:
curr_plc = PnR.PlacerIfc( current_node, numLayout, opath, effort, DB.getDrc_info(), hyper)
IndexError: vector::_M_range_check: __n (which is<PHONE_NUMBER>3709551615) >= this->size() (which is 11)
-------------------- generated xml file: /nfs/site/disks/scl.work.50/ash/users/soneryal/sles12/darpa/ALIGN-public/junit.xml --------------------
=========================================================== short test summary info ============================================================
FAILED tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator] -

@soneryaldiz I added alignblock in toposort. Checkin tests looks good now. Not sure merge tests.

Could you please run merge tests as well just to be sure? Instructions are on the README.

I merged master to resolve conflicts. Please pull before making further changes.

@854768750 , tests/pdk/finfet_pdk/test_benchmark_place.py::test_b2[tamu_sp-params0] is the only failing test. Could you please take a look? It appears no feasible solution is found by SA while ILP could find it.

I can have a look, thanks
------------------ Original ------------------
From: @.>;
Date: 2022年4月11日(星期一) 上午8:44
To: @.>;
Cc: @.>; @.>;
Subject: Re: [ALIGN-analoglayout/ALIGN-public] Placer hangs during constraint processing (PR #1026)
@854768750 , tests/pdk/finfet_pdk/test_benchmark_place.py::test_b2[tamu_sp-params0] is the only failing test. Could you please take a look? It appears no feasible solution is found by SA while ILP could find it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@854768750 Any update on this PR?

@854768750 Any update on this PR?

If abut is false, there are now solutions generated.

@854768750 , there is one more vector range error:
FAILED tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator]

I see. Thanks.
---Original---
From: @.>
Date: Mon, Apr 18, 2022 12:19 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [ALIGN-analoglayout/ALIGN-public] Placer hangs during constraint processing (PR #1026)
@854768750 , there is one more vector range error:
FAILED tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator]
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@854768750 , there is one more vector range error: FAILED tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator]

How can I run this test? pytest tests/integration/test_integration.py -k test_integration but all skipped.

Copied from README.md:
cd $ALIGN_HOME
# Checkin
pytest -vv
CI_LEVEL='checkin' pytest -n 8 -s -vv --runnightly --maxerrors=1 -- tests/integration/
# Merge to master
CI_LEVEL='merge' pytest -n 8 -s -vv --runnightly --maxerrors=20 -- tests/integration/ tests/pdks

Depending on your compute resources, you can reduce number of parallel workers (example: -n 4)

Once all of these tests are passing, let's merge this PR to master.

The symmetry constraints are generated duplicate.
{
      "pairs": [
        {
          "type": "selfsym",
          "block": "X_DP_MN1_MN2"
        }
      ],
      "const_name": "SymmBlock",
      "axis_dir": "V"
    },
    {
      "pairs": [
        {
          "type": "selfsym",
          "block": "X_MN0"
        },
        {
          "type": "selfsym",
          "block": "X_DP_MN1_MN2"
        },
        {
          "type": "selfsym",
          "block": "X_CCN_MN3_MN4"
        },
        {
          "type": "selfsym",
          "block": "X_CCP_MP5_MP6"
        },
        {
          "type": "sympair",
          "block1": "X_MP7",
          "block2": "X_MP8"
        },
        {
          "type": "sympair",
          "block1": "X_MP9",
          "block2": "X_MP10"
        },
        {
          "type": "sympair",
          "block1": "X_INV_N_MP11_MN13",
          "block2": "X_INV_P_MP12_MN14"
        }
      ],
      "const_name": "SymmBlock",
      "axis_dir": "V"
    },
    {
      "pairs": [
        {
          "type": "selfsym",
          "block": "X_CCP_MP5_MP6"
        },
        {
          "type": "sympair",
          "block1": "X_MP9",
          "block2": "X_MP10"
        }
      ],
      "const_name": "SymmBlock",
      "axis_dir": "V"
    }

@854768750 , is this causing the test failure?

@soneryaldiz Checkin tests are good. Can you also try merge test before merge to master. Merge test runs for a long time on my computer.

@854768750 , @kkunal1408 , compiler is generating 2048 SymmetricBlocks constraints for powertrain_thermo which is not reasonable at all. I will update the test case so that we can merge this PR and address symmetry constraint generation in another PR.

@854768750 , @kkunal1408 , compiler is generating 2048 SymmetricBlocks constraints for powertrain_thermo which is not reasonable at all. I will update the test case so that we can merge this PR and address symmetry constraint generation in another PR.

@soneryaldiz Thanks for finding this.
Another question is:
For integration tests/checkin tests/merge tests like this one tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator], how can I get the netlist & constraint file to debug it? I can only find the output file in ALIGN_WORK_DIR.

@854768750 , @kkunal1408 , compiler is generating 2048 SymmetricBlocks constraints for powertrain_thermo which is not reasonable at all. I will update the test case so that we can merge this PR and address symmetry constraint generation in another PR.

@soneryaldiz Thanks for finding this. Another question is: For integration tests/checkin tests/merge tests like this one tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator], how can I get the netlist & constraint file to debug it? I can only find the output file in ALIGN_WORK_DIR.

You should be able to do this by:
cd $ALIGN_HOME
mkdir -p work
cd work
export ALIGN_WORK_DIR=`pwd`
mkdir -p high_speed_comparator
cd high_speed_comparator
schematic2layout.py ../../examples/high_speed_comparator -n 40

The netlist and constraint file is in: $ALIGN_HOME/examples/high_speed_comparator.

Thanks. Do I need to set -top_down -p -finfet ?
------------------ Original ------------------
From: "Steve @.>;
Date: 2022年4月22日(星期五) 凌晨4:36
To: @.>;
Cc: @.>; @.>;
Subject: Re: [ALIGN-analoglayout/ALIGN-public] Placer hangs during constraint processing (PR #1026)
@854768750 , @kkunal1408 , compiler is generating 2048 SymmetricBlocks constraints for powertrain_thermo which is not reasonable at all. I will update the test case so that we can merge this PR and address symmetry constraint generation in another PR.
@soneryaldiz Thanks for finding this. Another question is: For integration tests/checkin tests/merge tests like this one tests/integration/test_integration.py::test_integration[1-top_down-True-FinFET14nm_Mock_PDK-high_speed_comparator], how can I get the netlist & constraint file to debug it? I can only find the output file in ALIGN_WORK_DIR.
You should be able to do this by:
cd $ALIGN_HOME mkdir -p work cd work export ALIGN_WORK_DIR=pwd mkdir -p high_speed_comparator cd high_speed_comparator schematic2layout.py ../../examples/high_speed_comparator -n 40
The netlist and constraint file is in: $ALIGN_HOME/examples/high_speed_comparator.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

You don't need any other options(if ALIGN_HOME is set.)
You can set the pdk to $ALIGN_HOME/FinFET14nm_Mock_PDK if you want but it is the default.
schematic2layout $ALIGN_HOME/examples/high_speed_comparator -p $ALIGN_HOME/FinFET14nm_Mock_PDK

It can be removed.
------------------ Original ------------------
From: @.>;
Date: 2022年4月22日(星期五) 凌晨3:03
To: @.>;
Cc: @.>; @.>;
Subject: Re: [ALIGN-analoglayout/ALIGN-public] Placer hangs during constraint processing (PR #1026)
@soneryaldiz commented on this pull request.
In PlaceRouteHierFlow/placer/SeqPair.cpp:
> +    map<int, int> blocks_original_position_map;  // the blocks position map in the seqpair +    vector<int> blocks_original_position; +    std::vector<int> blockid_after_sort; +    map<int, vector<int>> adj; +    map<int, int> ind; +    std::queue<int> q; +    for (const auto& order : caseNL.Ordering_Constraints) { +      if (find(blocks2sort.begin(), blocks2sort.end(), order.first.first) == blocks2sort.end()) { +        blocks2sort.push_back(order.first.first);  // store blocks to sort +      } +      if (find(blocks2sort.begin(), blocks2sort.end(), order.first.second) == blocks2sort.end()) { +        blocks2sort.push_back(order.first.second); +      } +    } +    /** +     for (auto& group : caseNL.SPBlocks) {
@854768750 , any reason to keep this chunk of commented out code?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


[GC] Remove logic that is not needed after aliasing and tombstone telemetry changes

This PR removes the following logic which is not needed anymore:

Removes the tracking of tombstone nodes in blob manager. This was used for sending tombstone telemetry which was moved into the garbage collector.
Removes the back-compat logic to notify GC when a root data store is created. With aliasing, a data store is never created as a root. It is instead created as a regular data store and later aliased at which point GC will be notified of its referenced.
Note that with this change, if a client running runtime version where aliasing did not exist creates a root data store, GC will not be notified. There is no correctness issue because the only reason GC had to be notified of this reference is to reset unreferenced timestamp, if any. However, since its a new data store, it won't be referenced (a data store could not be marked root after creation).

What about if a newly-created root datastore revived something?

What about if a newly-created root datastore revived something?

Do you mean root data store created by a client running older version?
Either way, when GC runs next, it will identify these revivals. This PR doesn't change that logic. This PR only changes notifying garbage collector when a root data store is created.


Strawberry Shake cancellation throws a GraphQLException

Hi there. Thanks for all your hard work.
When you pass a cancellation token to the methods of Strawberry Shake's generated client, and the operation is canceled, it throws an exception:

The operation was canceled. StrawberryShake.GraphQLException: The operation was canceled.

But why? When a cancellation is requested you either do not throw any exceptions at all, or throw an OperationCanceledException or something (and not a GraphQLException), so that way the client could recognize it and choose to catch it specifically. The way it currently is you have no way of knowing whether the exception thrown by Strawberry Shake is due to task cancellation or something else. Please tell me if I'm missing something.
I'm using Blazor by the way, and I'm trying to cancel background work when the component is disposed of. This exception causes the Blazor's error toast to pop up, and that's not good.

Can you please address this. Thanks.

Can you please address this. Thanks.

@michaelstaib @PascalSenn Anybody home?!

@michaelstaib @PascalSenn Anybody home?!

Hi there,
we are working on the next build ... it will take I think another two weeks before we restart preview builds. So, please a little more patience on this.

Hi there,
we are working on the next build ... it will take I think another two weeks before we restart preview builds. So, please a little more patience on this.

@michaelstaib Okay, but I just want to know whether this particular issue will be addressed in the next build?
Thanks.

@michaelstaib Okay, but I just want to know whether this particular issue will be addressed in the next build?
Thanks.

This should be fixed with the newest preview.


Add extra error detail for pipe creation failure

Built on #5410

src/core/iomgr/wakeup_fd_pipe.c modified 2016 but copyright only extends to 2015

Ping ?

Copyright fixed, merged with head.

fd_conservation_posix_test on mac is failing.
https://grpc-testing.appspot.com/job/gRPC_pull_requests/6986/config=opt,language=c,platform=macos/testReport/junit/(root)/tests/bins_opt_fd_conservation_posix_test/

Fixed obvious in hindsight error.

Only errors are known flakes, and this is LGTM. @jtattermusch ?

Portability test failing and I'm not convinced https://grpc-testing.appspot.com/job/gRPC_pull_requests/7030/config=gcov,language=c++,platform=linux/testReport/junit/(root)/tests/bins_gcov_end2end_test_SecureEnd2end_SecureEnd2endTest_BlockingAuthMetadataPluginAndProcessorFailure_0/ is a known flake

Merged with head


Support Saga Transaction

What's Saga?
The paper:
https://www.cs.cornell.edu/andru/cs711/2002fa/reading/sagas.pdf
The github project which Sharding-Sphere will integrate with:
https://github.com/apache/incubator-servicecomb-saga
More information from Willem Jiang's presentation:
http://servicecomb.incubator.apache.org/cn/docs/distributed-transactions-saga-implementation/
The second soft transaction (i.e. flexible transaction) which Sharding-Sphere will support is Saga transaction. In the first step, we plan to implement it in Sharding-JDBC.
SS starts a transaction via Saga API(https://github.com/apache/incubator-servicecomb-saga/blob/old-saga/docs/api/api.md). The API looks like this:
{
"policy": "",
"requests": [
{
"id": "",
"type": "",
"serviceName": "",
"parents": [
],
"transaction": {
"method": "",
"path": "",
"params": {
}
},
"compensation": {
"method": "",
"path": "",
"params": {
}
}
}
]
}
Logic SQLs in a SS transaction will be treated as one Saga Request separately. Users of SS should supply the compensatory SQLs correspondingly:
transaction:
INSERT INTO t_order (order_id, user_id, status) VALUES (?, '10', 'INIT');
compensation:
DELETE FROM t_order WHERE order_id=?;
SS need to implement method of both transaction and compensation for Saga. The path parameter seems to have no use for SS, and should be ignored.
The content of params should include SQL and the parameter of SQL, may implement by currently form parameters.
At last, id and serviceName will be generated by SS uniquely. Saga can use these identifier to find transactions.

SS also starts transaction via Saga API https://github.com/apache/incubator-servicecomb-saga/blob/master/docs/api/api.md .
The new API looks like:
{
  "policy": "",
  "requests": [
    {
      "id": "",
      "type": "",
      "datasource": "",
      "parents": [

      ],
      "transaction": {
        "sql": "",
        "params": [
          []
        ]
      },
      "compensation": {
        "sql": "",
        "params": [
          []
        ]
      }
    }
  ]
}

Logic SQLs in a transaction will be parsed and routed, and will be combined into a graph.
This graph will be mapped to saga API json and invoke saga coordinator to execute saga transaction.

TODO list of saga transaction:

[ ]  Support JDBC statement
[x]  Support JDBC preparedStatement
[ ]  Support JDBC BatchPreparedStatement
[x]  Support Proxy JDBC backend
[ ] Support Proxy NIO backend
[x] Support forward recover policy
[ ] Support backward recover policy
[ ] Persistent Store Saga transaction logs


Refresh shared code for String#chars and String#each_chars specs

#217

It looks like these are all in preparation for the default frozen string literals of Ruby 3.4, so this change should have no impact on the current behaviour.


i18n(fr): Update recipes/reading-time.mdx from #10521

Description (required)
Update recipes/reading-time.mdx from #10521

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

fr/recipes/reading-time.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Tha ks @ArmandPhilippot for your fast review 🚀


Explanation of why we use certain R versions and certain packages on website

Hi all,
I've had this question asked to me a few times and I don't think I have the best answer.
Currently I understand that we don't use R version >3.6 because certain package versions are not backwards compatible with those versions.   Is that correct?
Is something we should discuss on the pacakgdedown site in one of the developers guides?
Is there a path forward to addressing this issue?  I'm happy to write up an explanation for this for the next sprint, but I think I don't actually fully understand the issue.
Can someone help me to understand?
I looked around in box to see if there was a document, but couldn't find anything.

I actually had the same confusion about the R version and remember opening up a similar issue when I first joined the project. Should we also clearly indicate on the admiral site which R version should be used for both the developers and the users for the current admiral version?

So, just to get this straight: the package does not require any specific R version. For development we're using 3.6.3 but our R CMD check workflow runs on 3.5, 3.6 and whatever the latest R version at the time is (currently 4.1 I believe). That way we have a rather broad coverage of versions which we can confidently say {admiral} works with.
The rationale of using 3.6.3 for development initally was that Roche's validated R environment had that version installed. But the more important reason for having a uniform R version (along with package versions) is that we as the dev team can reproduce each others environment and any potential issues that may arise.
We should certainly explain this somewhere in our dev guides but also add a short sentence or two in the README.

FYI in the PHUSE EU workshop slides we included:

R Platform / Environment: no explicit requirements. Suggest R ≥ v3.5.

Feel free to copy that into the README

A related question is when we will move to newer package versions. I experienced it more than once that I found a suitable function in a package documentation but could not use it because it was not available in the version of the package we are using. In some cases we even reimplemented functions of other packages to work around the issue, e.g., for the lifecycle package or as_name() in a recent PR.

That is a good questions indeed. The {tidyverse} makes an effort to be backward compatible with the five most recent minor R versions (which currently are 4.1, 4.0, 3.6, 3.5 and 3.4). While we may not need that much coverage I do feel that we need to be careful of backward compatibility as upgrading validated R environments is not something you do over night so I assume many pharmas are somewhat "stuck" with a past version.

Maybe we should have a rule like "a new admiral version uses the most recent version available x months ago of all required packages". Then we are not stuck with old package versions and the companies have enough time to upgrade their validated R environments.

This is an interesting question (@rossfarrugia tagged me in this). Ultimately I would guess that supporting different R versions is not super hard, as long as you take actions such as making sure options where defaults have changed between versions of R have been explicitly defined (I'm thinking of string_as_factors=FALSE in R 4). The bigger challenge would be supporting companies which will be running earlier versions of packages.
I think @bundfussr is right here. I would say that each version of Admiral should be pegged to a version of R, and a suite of versions of packages, and the description should explicitly outline those with >=.
One note is that if you ever put admiral on cran and you have any tidyverse dependencies, then you will need to update those packages to deal with incompatibilities with new tidyverse releases; this occurred with diffdf in the past where were using a fairly obscure bit of tibble functionality which got modified, and had to make a new release on cran to deal with it

So the actions coming out of this discussion (I can make into issues)

Insert language into dev topic guide that explain why we benchmark certain R versions and use certain R package (.renv)

Insert language into Readme on why we benchmark certain R versions and use certain R package (.renv)

Define a rule and strategy for moving to more updated packages within admiral development

Define a rule and strategy  for guides/readme that says "a new admiral version uses the most recent version available x months ago of all required packages". Then we are not stuck with old package versions and the companies have enough time to upgrade their validated R environments. (Maybe this is same as 3)

Define rule and/or strategy around tidyverse dependenices and admiral release to CRAN

Missing anything?  Maybe these kind of exist in the issue tracker, but good discussion!!  Thank you for clarifying!

I apologize in advance but I am confused and concerned about needing to worry over versioning of R and R Packages; I need to step through it as I try to get some clarity.
If I understand Thomas' comments, a USER of admiral (as opposed to a DEVELOPER) has nothing to worry about. So I though I would test it out and I think everything worked OK.  I would appreciate it if someone could take a look at my findings wrt R 4.1.2 in the attached file:
Loading_admiral_as_a_USER.docx
I will do a similar test but acting in the role of a DEVELOPER; I will post my findings once I complete the process.

For PARAM/AVALU problem, see Issue 960.

Acting as a DEVELOPER, I made use of R 4.1.2 to make a change to derive_param_bsa.R based on Issue 960 and created PR 965. I would appreciate it if someone could take a look at my findings in the attached file:
Loading_admiral_as_a_DEVELOPER.docx

Hey Eric,
Following up on today's Stand up.
I think if folks want to make contributions to admiral then they should be expected to follow some bare minimum developer guidelines for their setup.
The first being to use the version of R that we are all currently all developing in.  This  ensures that way we all work in the same environment across different companies.
The second being we develop with the same packages versions.  Again consistent development environment.
Unfortunately, we do need to put some burden onto the potential developers just so we can have some semblance of continuity across our amorphous team.  I understand this can cause some pain points for potential developers, and I'm all for making development easier, but I also don't want to sacrifice our needs just to make a few others have less of a burden.
Also, I feel like if they are interested in developing in admiral, then they will figure out how to get access to the different R versions and different packages at their respective companies or home PCs.  I think if they are frustrated by R versions and package versions (which is the name of the game!) then they probably won't stick around long anyways even if somehow lessen the restrictions.

Thanks Ben and others. I was hoping that I was misunderstanding something, but it all looks clear now:

To make use of admiral: install.packages("admiral") on any version of R >= 3.6.3 and all should work as expected.
To contribute to admiral: it is required that R 3.6.3 is used in order to ensure all development is done on the same R version. In addition, renv::restore() will ensure that all package versions are as expected.

Ben, you mentioned you would be creating issues related to this. Please add me as a reviewer to those issues.

Just to re-iterate: you can develop {admiral} using a different R version and even different package versions. However, it makes devlopment much easier if everyone uses the same environment such that we can re-produce each others issues.
While we are currently using R v3.6.3 for devlopment we could certainly update to a more recent version. This is somehow related to the discussion in #986. My proposal is to test on the latest R version as well as the two prior versions going forward. As of writing, this would mean v3.6.3, v4.0.5 and the latest one. We could have a rule such as "development always occurs on the latest version".

I think at the moment we need to agree which version we use for development because the generation of the files in man depends on the version. Once we have automated the generation of the man files we no longer need this agreement and can leave it up to the developer which version she/he uses.
I would use rather the oldest than the latest version for development because most packages are backward compatible for a certain number of versions but not forward compatible. I.e., code developed for the oldest version will work most likely for the latest version but not the other way around.

I would use rather the oldest than the latest version for development because most packages are backward compatible for a certain number of versions but not forward compatible. I.e., code developed for the oldest version will work most likely for the latest version but not the other way around.

Very good point @bundfussr 👍
THat would mean we're sticking with 3.6.3 for the time being.

Where do we stand with this issue at this time? I did a find in all files for "3.6.3" and all I find is:

Just to say that new non-core contributors need to have this info available. This question came up today and I'm sure will be asked every time new people join.
Have we decided where this will be documented and who will work on it?

I jump at the chance to review the explanation written by an expert. :)

I think this information should be put into the FAQs section vignette, Readme and Development Process Vignette.  Probably would not hurt to link out to what a .renv lock file is https://rstudio.github.io/renv/articles/lockfile.html


Add DoD Enterprise DevSecOps Reference Design, v2.0 controls to CISO/DPO page

We have completed a GAP analysis between the product and DoD Enterprise DevSecOps Reference Design, v2.0 and we concluded that most of the controls within scope of the platform is fully supported by the product as is.
Can we create a similar page for DoD Enterprise DevSecOps Reference Design, v2.0 as the one we have for ISO 27001, HIPPA, BSI and so on?

Started working on this here: https://docs.google.com/document/d/1F1lbm9zv9Yz9aWkK6eb2ezpWAuAMHc4Z8rLU__cZS1c/edit


Measure perf

Find out how we are doing.
We could use the infrastruture Rowan added in https://github.com/aspnet/EntityFramework/pull/2560

Closing this as it will be covered as part of our EF perf testing. If there are code paths that aren't hit by EF then we aren't concerned about optimizing them (at least not yet).


Pick up the name of the output file from the input config file

Currently hard-coded at https://github.com/cp3-llbb/GridIn/blob/master/python/default_crab_config.py#L23
it should be overwritten by the input config file if the case happen

Actually, if we switch to CMSSW, disabling https://github.com/cp3-llbb/GridIn/blob/master/python/default_crab_config.py#L20 should be enough.
From the python framework, the output file is forced to be 'output.root' no matter what the user set in the configuration file :smile:

ah! correct, I did not read the crab config options deep enough, closing this then !

well actually reopening this: according to documentation output is automatically picked up if produced with 'PoolOutputModule or TFileService', which is not the case at the moment: https://github.com/cp3-llbb/Framework/blob/master/test/TestConfiguration.py#L37 ...

The plan is to use internally a TFileService for managing the output file. I let this open until it's done.


Update the release notes to describe kustomize usage

Changes
Prior to this commit our release notes asked the user to kubectl apply
all the resources from a subdirectory of the plumbing repo. The plumbing
repo was updated to use kustomize a while ago, so these notes also
needed an update.
This commit adds instructions for piping kustomize output to an
invocation of kubectl apply.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
NONE

/test pull-tekton-pipeline-integration-tests

/lgtm


link to documentation broken

The link https://pgmax.readthedocs.io/ provided in project's description is broken and yield to a 404 error.

Docs have now been fixed!


Audit all instances of parallelism in original code (grep pragma omp)

Make sure they're all reflected by rayon parallel iterators in the rust. See some examples in PR #61.

closed by #66


Updates

General project updates now that more work is needed on the service.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.003%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
354

Relevant Lines:
389

💛  - Coveralls


The bigip fixture is deprecated.  It needs to be removed to reduce noise.

This issue is in reference to the need to replace big.ip with mgmt_root in the test code; it's making tests fail.

Yo @jputrino we should use this issue thread to communicate about this issue.

will you be cleaning up test code as well, converting those tests to ManagementRoot? Or will that be a separate effort?

@jasonrahm: Yup, we'll be updating the test code. @zancas and I talked about this last week; I should have some bandwidth for it next sprint (starting next week).

ok good deal.

I think this was already mentioned and ignored by people here: #427 , i will close #427 to reduce duplication, but please check existing issues so we don't have dupes :)

This has been removed somewheat, but the BigIP class is not removed as it would break compat. We have a new issue opened for tracking this, so closing this one


JPEG summer is over - Changelog article

I would highlight few metrics from our repository, like crossing 400 PRs merged soon (372 now https://github.com/kodadot/nft-gallery/pulls?q=is%3Apr+is%3Aclosed+is%3Amerged )
Revenue, hitting 1k sales - 2.39KSM
last 30d - Aug 17 - Sep 16

SubQuery - daily avg 77k queries
Discord crossing 600 members
Over 200 issues closed
Repository Forks hitting 100, 77 rn
Stars 67
https://opensource.guide/metrics/
https://github.com/kodadot/nft-gallery/pulse
traffic https://github.com/kodadot/nft-gallery/graphs/traffic
maybe https://github.com/Praqma/git-metrics
https://github.com/github/git-sizer
hope 10k soon https://twitter.com/kodadot

https://medium.com/kodadot/jpeg-summer-is-over-its-over-right-e893ca2eeaa9 alpha 👀 will be published later


Confused by activefailover & cluster mode

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[x] 3.3

Mode:

[x] Cluster

Storage-Engine:

[x] mmfiles

It the document about cluster, https://docs.arangodb.com/devel/Manual/Deployment/ArangoDBStarter.html
It also mentioned activefailover mode, what's the difference between them? Also how cluster distribute data? Like we have 3 db servers, do they sync to each other so that any node failure is okay even only one node at last?
Thank you very much.

Hi,
https://docs.arangodb.com/devel/Manual/Scalability/ActiveFailover/  describes the first,
https://docs.arangodb.com/devel/Manual/Scalability/Cluster/ describes the cluster.
We're still missing some x-references here - the documentation is WIP - good you ask.

Thanks for the reply.
I read the docs says setup activefailover needs 3 nodes, but I see the cluster also involved 3 nodes as minimal. But when to choose  activefailover mode or cluster?

Hi @dsonet dsonet,
Let me explain you some point of ActiveFailover and Cluster:
Active Failover
In this deployment mode there is asynchronous replication between two "nodes" one is called "leader" and one is called "follower"
The advantage of this deployment mode is the automatic failover. If the leader goes down (for any reason) the follower will take leadership automatically. This can be important to guarantee a higher level of availability to your application/service.
Cluster
This is a distributed setup where your database can be sharded among several nodes. The cluster can survive to one or more nodes down, depending on very specific rules
You can read and write concurrently on several nodes (of a certain type, specifically the "Coordinators"). This is similar to what other technology call master-master
The minimal number of machines needed is 3. At a very minimum you will need to run 3 Agents, one per machine, 2 DBServers and 2 Coordinators
The replication among the DBServers is synchronous
Some of the most important concepts to be understood in the cluster are: "number of shards" (per collection) and "replication factor" (per collection)
Please note that for both deployments you need to start at least 3 nodes;
ActiveFailover

node 1: Agent
node 2: Leader
node 3: Follower

Cluster:

node 1: 1 Agent 1 DBserver and 1 Coordinator
node 2: 1 Agent 1 DBserver and 1 Coordinator
node 3: 1 Agent 1 DBserver and 1 Coordinator

note that you can add as many nodes as you want in relation to your workload and your usage/needs
But when to choose Activefailover or Cluster?
This is up to you, is related to your needs, workload...
In addition, to help you decide on which one to use you could find the following information relevant:
Regarding ActiveFailover:

You cannot use this deployment mode to scale your reads. The "follower" in fact is a passive stand-by follower. You can read and write only from one instance at a time, the leader.
Only 1 follower is currently supported
Limitation of the size of the database, your database has to fit the disk of a (single) machine
Note that you can attach to an Active Failover setup a (replica) slave. This slave has to be started (and in case synchronized) manually. This workaround allows you to have an automatic failover mechanism and at the same time replica slave from where you can read

Regarding the Cluster:

Application developed for a single ArangoDB instance may require some tuning, especially in terms of AQL optimization, if you want to use them with a cluster
Cluster is a more complex deployment mode as several nodes are involved. From a practical point of view, however, deploying a cluster can be quite easy, and no manual synchronization is needed
The database size can be greater than the size of the disk of a single machine.

Hope this helps you to choose the best deployment for your needs
Please let me know if we could provide more help
Best,

Hi @dsonet
I am going ahead and close this ticket.
Please note that ticket can be reopened at any time
Best,


mail/postfix: add portfield to postfix

Requested in #812

Ok, perhaps it's only my personal view working ages with postfix. A port number is just fine, no need for if-else


Benchmark for loading WAL

Makes sense. I have added those 3 cases.

I would prefer not adding it in tsdb/cmd/tsdb/main.go as the cmd is user-facing and benchmarking only the WAL doesn't add much value there (does it? also benchmarking on the go while developing is easier this way). Also, it would be merged with promtool now and there is already benchmark to test the entire storage. Merging this for now and can move it to the cmd later if it is required.


macOS incorrectly renders sRGB colors in native display profile

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.67.0
OS Version: macOS 12.3.1

Steps to Reproduce:

Load a theme designed in the sRGB color space
Sample the colors in Digital Color Meter
Colors have been scaled into the P3 color space, and appear excessively saturated.

I am using the Monokai Pro color theme. Note that it is tagged for the "sRGB" color space.

The correct value for Monokai's red color is #FF6188, or color(srgb 1 0.38 0.533))
Examine the color of a red-highlighted region of the screen using Digital Color Meter.
Note that in the sRGB space, the colors are clipped and appear visibly blown out:

In the native display profile space (Display P3 on this MacBookPro18,1), the colors are reported according to their input value:

— but these are sRGB values, and in the P3 space they should be scaled accordingly (to approximately #ED6C89, or color(display-3 0.928 0.422 0.537)).

This is the commit (dated Feb 18, 2013) that adds support for the colorSpaceName: sRGB key-value pair to the .tmTheme format. sRGB (with that exact capitalization) was the only valid key at the time of its introduction, and remains so to this day.
I strongly feel that this key should be respected, and I also feel that sRGB is a more reasonable default choice for interpreting untagged hex triples, certainly compared to the device profile which could cause colors to vary drastically from machine to machine. CSS specifies sRGB as the canonical color space for untagged hex triples on the Web, and has done so since 1996.
It probably doesn't make sense to support other named color spaces in this field, since there is no specification to follow. Textmate's fallback, if sRGB is not explicitly named, is to use Apple's pre-2009 "Generic RGB Profile", with its notorious 1.8 gamma. I do not think VSCode should emulate this behavior. Support for advanced managed color features would be better accomplished through CSS4's profile-tagged color() function and device-independent lab(), lch(), oklab(), and oklch() functions, if and when Chromium gains support for them.

We don't support the colorSpaceName property in our (VS Code theme) files. We expect all themes to define their colors in the sRGB colorspace. See here for more information.
Isn't the problem that Chromium on the Mac uses the raw color profile as described in #87275?
There's a fix for this as described in https://github.com/microsoft/vscode/issues/87275#issuecomment-721986554.
Does that work for you?

Unfortunately not. I did try that before opening this ticket, as you can see that it is among the "see also"s that I cited.

I observed that my startup flag disable-color-correct-rendering was set to false with this comment, which I found curious:
	// Enabled by default by VS Code to resolve color issues in the renderer
	// See https://github.com/microsoft/vscode/issues/51791 for details
	"disable-color-correct-rendering": true,

Then, I looked up the list of legal values for the "force-color-profile" flag: (see https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/about_flags.cc#847), which are:

srgb
display-p3-d65
color-spin-gamma24
scrgb-linear
hdr10

I experimented with all combinations of disable-color-rendering (true, false, unset) and force-color-profile (srgb, display-p3-d65, unset) on my built-in display (MacBook Pro 16" 2021) with its default profile (Apple XDR Display (P3-1600 nits)), an sRGB profile (Internet & Web (sRGB)), and on my external display (Samsung Odyssey G9) using the ICC profile discovered via Plug-n-Play (LC49G95T). Here are the results:

Built-in Display, Profile: Apple XDR Display (P3-1600 nits)

"force-color-profile": "srgb"
"force-color-profile": "display-p3-d65"
"force-color-profile": unset

"disable-color-correct-rendering": false
correct
correct
oversaturated

"disable-color-correct-rendering": true
oversaturated
oversaturated
oversaturated

"disable-color-correct-rendering": unset
oversaturated
correct
oversaturated

Built-in Display, Profile: Internet & Web (sRGB)

"force-color-profile": "srgb"
"force-color-profile": "display-p3-d65"
"force-color-profile": unset

"disable-color-correct-rendering": false
correct
correct
correct

"disable-color-correct-rendering": true
correct
correct
correct

"disable-color-correct-rendering": unset
correct
correct
correct

External Display, Profile: LC49G95T

"force-color-profile": "srgb"
"force-color-profile": "display-p3-d65"
"force-color-profile": unset

"disable-color-correct-rendering": false
correct
correct(rounding errors)
oversaturated

"disable-color-correct-rendering": true
oversaturated
oversaturated
oversaturated

"disable-color-correct-rendering": unset
correct
correct(rounding errors)
oversaturated

Here is where color-correct rendering is disabled in the default config for new installations.
https://github.com/microsoft/vscode/blob/32d40cf44e893e87ac33ac4f08de1e5f7fe077fc/src/main.js#L284-L286

Any news on this issue?

This appears to be fixed on the current version of VS Code!

The latest version broke P3 color space display for me and everything started to look washed out again (this was fixed about a year ago).

Bisect someone?

@AprilArcus your issue should be addressed since 1.70, for reference https://github.com/microsoft/vscode/issues/152816#issuecomment-1183033252
P3 display issue is being tracked under https://github.com/microsoft/vscode/issues/161028


Make Color extension public

I'm currently facing this lovely error: Ambiguous use of 'init(hex:)' when we import both Warpand FinniversKit.
I quick workaround is to use the Color extension, so I need it to be public.
Next step must be to make the extension for UIColor in FinniversKit not public.
Anyone have other suggestions? We might end up with a similar conflict with another library.. 🤔

I'm currently facing this lovely error: Ambiguous use of 'init(hex:)' when we import both Warpand FinniversKit. I quick workaround is to use the Color extension, so I need it to be public.
Next step must be to make the extension for UIColor in FinniversKit not public.
Anyone have other suggestions? We might end up with a similar conflict with another library.. 🤔

My plan is to deprecate the ones on Finniverskit soon and remove them soon after that :D


3554 Allow superadmins to manage roles

Resolves #3354
Description
This adds the ability for superadmins to view, remove and add roles to existing users.
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Local testing. Unit/system tests coming next.
Screenshots

^ This now shows up at the bottom of the Edit User page.

@dorner looks like relevant legit spec failures


Fix word capitalization

Fixes https://github.com/MicrosoftDocs/windowsserverdocs/issues/4841.

#sign-off

(ref. #3202 (Capitalize Letter))


Window does not show up (assertion 'GDK_IS_WINDOW (window)' failed)

Hi! I was trying to run App Fleet but I was unable to get it working. It launched a blank window as shown below:
Screencast from 2023-10-10 20-39-33.webm
These were the logs printed to the terminal.
Program name: ./app-fleet
Window size set to 750x600
flutter: PathNotFoundException: Directory listing failed, path = '/var/lib/snapd/desktop/applications/' (OS Error: No such file or directory, errno = 2)
flutter: #0      _Directory._fillWithDirectoryListing (dart:io-patch/directory_patch.dart:42)
flutter: #1      _Directory.listSync (dart:io/directory_impl.dart:233)
flutter: #2      LinuxAppFinder._addAppsFrom (package:app_fleet/config/assets/generators/linux_app_finder.dart:56)
flutter: #3      LinuxAppFinder.initialize (package:app_fleet/config/assets/generators/linux_app_finder.dart:28)
flutter: #4      _AppFleetState.initState (package:app_fleet/main.dart:85)
flutter: #5      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5430)
flutter: #6      ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
flutter: #7      Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
flutter: #8      Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
flutter: #9      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
flutter: #10     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
flutter: #11     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
flutter: #12     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
flutter: #13     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
flutter: #14     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
flutter: #15     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
flutter: #16     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5462)
flutter: #17     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
flutter: #18     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
flutter: #19     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5453)
flutter: #20     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
flutter: #21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
flutter: #22     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
flutter: #23     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
flutter: #24     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
flutter: #25     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
flutter: #26     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
flutter: #27     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
flutter: #28     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
flutter: #29     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5322)
flutter: #30     Element.rebuild (package:flutter/src/widgets/framework.dart:5016)
flutter: #31     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5279)
flutter: #32     ComponentElement.mount (package:flutter/src/widgets/framework.dart:5273)
flutter: #33     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4182)
flutter: #34     Element.updateChild (package:flutter/src/widgets/framework.dart:3707)
flutter: #35     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1253)
flutter: #36     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1222)
flutter: #37     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1169)
flutter: #38     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2719)
flutter: #39     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1168)
flutter: #40     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:1001)
flutter: #41     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:981)
flutter: #45     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:189)
flutter: (elided 3 frames from class _Timer and dart:async-patch)

There also seems to be an error due to the absence of the /var/lib/snapd/desktop/applications/ directory (which is my case, since I don't have snap intalled on this computer).
Thanks for developing App Fleet! 🚀

I'll release a fix for this today as the v1.0.0+3 update.
Yes This is happening because of absence of snap.
The LinuxAppFinder module detects apps installed on the system, I guess adding a snap check would fix it.
Thank you for reporting this issue.

Also, can you please try if the Launcher is coming up?
By running
app-fleet --mode launcher --debug

@pesader
The latest v1.0.0+3 has fixes for this issue.
Please try updating on your side.


urlopen error [Errno 60] Operation   timed out

[nltk_data] Error loading stopwords: <urlopen error [Errno 60]
[nltk_data]     Operation timed out>
[nltk_data] Error loading words: <urlopen error [Errno 60] Operation
[nltk_data]     timed out>
getting the above error when tried to do nltk.download('all)

either use nltk.download('all')
or your machine dows not have internet access

Unable to reproduce this issue - I assume your machine didn't have internet access at the time. Let us know if the problem returns.

i got the same problem with good network connection

I am LAN-ned into a Gigabit connection with JioFiber, where it times out, as seems to be the collective experience; but I am able to switch to a slower different network and run the download with no trouble. I believe nltk.download is failing some routine check from mildly more sophisticated ISPs.

I think so too, yes. I've read more reports that Jio is unable to load raw.githubusercontent.com, which is what NLTK uses to host its data. For example, Jio users seem to be unable to access https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/tokenizers/punkt.xml

indeed its a jiofiber issue, switching to mobile hotspot solved the issue.

I think so too, yes. I've read more reports that Jio is unable to load raw.githubusercontent.com, which is what NLTK uses to host its data. For example, Jio users seem to be unable to access https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/tokenizers/punkt.xml

Switching VPN to different country also worked.

so any solution?

Using Cloudflare DNS seems to resolve this issue.


Use of multiple build tools is not an error

Currently application.ts detects the use of Electron Forge and electron builder configs, and throws an error if both are present.
IMNSHO this should not be regarded as an error. My project is forced to use Electron Forge and Builder, because Forge on Windows just doesn't work for us. So we use Forge for Mac builds and Builder for Windows.
This is obviously a rare situation but I imagine the logical fix would be an optional value in wdio:electronServiceOptions that disambiguates which build tool to use.

@reubenscratton Thanks for the report, I think you're right that this shouldn't be an error.  I can see how you might end up using two build tools, both of them need a fair bit of work in a few different areas.

I think adding a new option to wdio:electronServiceOptions just for this case is not the way to go - the build tool detection is only used to determine the appBinaryPath, which can be set manually.  So I think for the multiple build tool case we remove the error, use the Forge config by default and add warnings into the logs to explain what is happening and how the appBinaryPath can be overridden if the behaviour is not desired.

@reubenscratton This is released in 7.0.0-beta.1.  You will need to use the WDIO v9 pre-release with it.


x/mobile: binary generated by gomobile contains _ptrace which is a private API banned by Apple iOS

What version of Go are you using (go version)?

$ go version
go version go1.15.6 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/justintan/Library/Caches/go-build"
GOENV="/Users/justintan/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOOS="darwin"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/cb/qs941gzn0sn5t40hb_5_cmqw0000gp/T/go-build437714881=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

GO111MODULE=off gomobile bind -v -ldflags="-s -w" -target=ios mypackage

It will generate an iOS framework. Then I submitted an iOS APP built with this framework to Apple Store for review. Got rejected because of using private API _ptrace.
I use nm to scan this package, found mypackage generated by gomobile contains _ptrace

Mypackage:go.o:                  U _ptrace
Mypackage:go.o:<PHONE_NUMBER>080d00 t _syscall.libc_ptrace_trampoline
Mypackage:go.o:<PHONE_NUMBER>ad4a40 s _syscall.libc_ptrace_trampoline.args_stackmap

Perhaps this issue is caused by go, not x/mobile.

If exec.Command("ls").Run() is contained in my package or dependencies, _ptrace can be found in the binary. I am not sure if this is the only reason.

import "os/exec"
// ...
exec.Command("ls").Run()

What did you expect to see?
No _ptrace in the iOS binary generated by gomobile, so our APP can pass AppleStore's checking.
What did you see instead?
_ptrace can be found in the iOS binary generated by gomobile

go version go1.15.6 darwin/amd64

@libnat are you sure you're using Go 1.15.6? Thanks.
The CL above should fix this for Go 1.16. But I don't think Go 1.15 has this problem.

@cherrymui Thanks for your reply.
I did install Go 1.16 beta. Once the binary got rejected by Apple, I removed Go 1.16 beta, and dir: ~/go/bin ~/go/pkg.
Then I installed Go 1.15.6 again, built gomobile/gobind with Go 1.15.6. I tried several times, but still got this issue.


Mute button doesn't work

I use it with Chrome 115.0.5790.170 arm64 on MacOS Version 13.5 (22G74)
I use Jabra SPEAK 510 USB, correctly detected by the extension.
Exit meeting work, but mute sync and mute Meet from the button doesn't work.
Extension release: 1.4.1

This also doesn't work with my Evolve2 65. Leaving the call with the center button works though.
Version 118.0.5993.88 (Official Build) (arm64)
Version 1.4.1 of the extension

After investigating a bit on my side and recompiling the extension by myself, the issue seems to be due to the way the html element of the mute button is recovered here :
const micToggleButton = () => document.querySelector('button[aria-label*="+ d)"]');

At least, on the "French" version of Google Meet, the button label is without the space between '+' and 'd' :

aria-label="Désactiver le micro (⌘+d)"

By removing the space, I was able to get the extension working properly on my side.
@socram70 and @chrispennel, for your information, trying to investigate this issue, I discovered Google Meet is now supporting out of the box a list of some headsets (see here). This list of certified hardware (where many Jabra products are part of) allow to get all the feature proposed by this extension natively in Google Meet. See this documentation to activate it 😃
Even if I'm now no more using this extension based on the above sentence, I would like to thank @balansse for the sharing of this extension and the work made ! I'm also a software developer and it is always appreciated when someone share its work with the community 👍

Thanks for highlighting me. It seems the extension is not needed anymore in  a lot of cases. I accidentally discovered the new feature in Google Meet today too ans it seems to work properly out of the box now.

I am trying this with Jabra Elite 7 active, but it doesn't find the device. Windows 11.


error: 'IAPPromotionObserver.h' file not found with  include; use "quotes" instead

Version of react-native-iap
4.4.4, 4.4.5, 4.4.6, 4.4.7
Version of react-native
0.59.10
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
Successful build
Actual behavior
Could not be built even after (removing temp directories such as node_modules, ios/build, ~/Library/Developer/Xcode/DerivedData, ...)
`info [APPPATH]/node_modules/react-native-iap/ios/IAPPromotionObserver.m:10:17: warning: class 'IAPPromotionObserver' does not conform to protocol 'SKPaymentTransactionObserver' [-Wprotocol]
@implementation IAPPromotionObserver
^
[APPPATH]/node_modules/react-native-iap/ios/IAPPromotionObserver.m:10:17: note: add stubs for missing protocol requirements
@implementation IAPPromotionObserver
^
1 warning generated.
info
info [APPPATH]/node_modules/react-native-iap/ios/RNIapIos.m:4:9: error: 'IAPPromotionObserver.h' file not found with  include; use "quotes" instead
#import <IAPPromotionObserver.h>
^~~~~~~~~~~~~~~~~~~~~~~~
"IAPPromotionObserver.h"
1 error generated.
info
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening [AppName].xcodeproj
The following build commands failed:
CompileC [APPPATH]/ios/build/OkuPokus/Build/Intermediates.noindex/RNIap.build/Debug-iphonesimulator/RNIap.build/Objects-normal/x86_64/RNIapIos.o RNIapIos.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
. Run CLI with --verbose flag for more details.`
Tested environment (Emulator? Real Device?)
Both Emulator and Real Device
Steps to reproduce the behavior

I have fixed the error by making the following change in node_modules/react-native-iap/ios/RNIapIos.m file:
#import <IAPPromotionObserver.h>
to
#import "IAPPromotionObserver.h"

Fixed in 4.4.8. However, I'm not quite sure why this wasn't a problem in my env.


Added Some Exception handler, Added Cross Platform compatibility code, Improved printing message

@chavarera Great work. Merging PR.


[FEAT]: Implement Check Permissions Endpoint - Backend

Implement Check Permissions Endpoint with User Details
Description:
Develop a backend API endpoint that allows logged-in users to retrieve the permissions assigned to a specific user. This endpoint should be secure, validate user IDs, and handle various error scenarios. The response should include the user details.
Acceptance Criteria:
Endpoints:
1. Check Permissions Endpoint:

Method: GET
URL: /api/v1/users/{user-id}/permissions

Request:

Headers:

Authorization: Bearer <JWT_token>

Response:

On success:

Status: 200 OK
Response Body:{
  "status_code": 200,
  "message": "Permissions fetched successfully",
  "data": {
    "user": {
      "id": "user-id",
      "name": "string",
      "email": "string",
      "phone_number": "string",
      "created_at": "DateTime"
    },
    "permissions": [
      {"id": "1", "name": "create_user"},
      {"id": "3", "name": "delete_user"},
      {"id": "5", "name": "update_user"}
    ]
  }
}

User Not Found:

Status: 404 Not Found
Response Body:{
  "status": "error",
  "message": "User not found",
  "status_code": 404
}

Unauthorized Access:

Status: 401 Unauthorized
Response Body:{
  "status": "error",
  "message": "Unauthorized access",
  "status_code": 401
}

Validation:

Validate the JWT auth token.
Ensure the user-id exists and is valid.
Verify that the requesting user has the necessary permissions to access this endpoint.

Purpose:
To provide a secure and authenticated endpoint for retrieving the permissions assigned to a specific user, ensuring only authorized users can access this information, and to include user details in the response.
Expected Outcome:
A fully functional backend API endpoint that allows logged-in users to retrieve permissions assigned to a specific user, along with user details, with proper validation and error handling.
Tasks:

[ ] Implement the GET endpoint to retrieve user permissions and details.
[ ] Validate inputs and handle errors appropriately.
[ ] Write unit tests for the endpoint to ensure it handles valid and invalid inputs correctly.

Test Scenarios:

Successful permissions retrieval: Verify that a logged-in user can retrieve permissions and user details with a valid user ID.
User not found: Verify that the endpoint returns a 404 status code when the user does not exist.
Unauthorized access: Verify that the endpoint returns a 401 status code when the user is not authorized to view the permissions.
Validation error: Verify that the endpoint returns a 400 status code when required parameters are missing or incorrectly formatted.

The user details should be returned as part of the response.

done @highb33kay

@Shullyd7 boss


Helix additional language config fails because it cannot write to nix store

Describe the bug
Helix allows to have a local configuration that adds support for other languages that are then highlighted based on that custom language configuration, see here for details: https://docs.helix-editor.com/languages.html
Once configured it is needed to "fetch" and "build" this configuration by running helix. Helix will then try to create a directory and generate some files, but that fails since it is not allowed to write to root owned /nix/store.
The error message is:
» hx --grammar fetch
Fetching 1 grammars
1 grammars failed to fetch
	Failure 1/1: Could not create grammar directory "/nix/store/py9sm09af0bj67jlrnlz2jwcsgkl5qag-helix-22.12/lib/runtime/grammars/sources/<actual-languagename-here>"

Steps To Reproduce
Steps to reproduce the behavior:

Write/have tree-sitter grammar for additional language
hx --grammar fetch

Expected behavior
Helix should work for custom languages that are added in the local configuration and be able to "fetch" and "build" these.
Additional context
Happy to provide if needed.
Notify maintainers
@danth @yusdacra @mweinelt
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-darwin"`
 - host os: `Darwin 22.3.0, macOS 10.16`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.13.2`
 - channels(<user-redacted>): `"nixpkgs, nixpkgs-22.11-darwin-22.11-darwin"`
 - channels(root): `""`
 - nixpkgs: `/Users/<user-redacted>/.nix-defexpr/channels/nixpkgs`

same here

hx --grammar fetch is working for me on x86_64-linux and aarch64-darwin; it looks like a fix was merged in the issues you linked. @aldafu can you confirm and if so close?

I also think this can be closed. The latest docs say that ~/.config/helix/runtime has a higher priority than $HELIX_DEFAULT_RUNTIME (which the derivation sets correctly)
https://docs.helix-editor.com/building-from-source.html#multiple-runtime-directories


Change UI of tasks card

Issue: #416
Description:

change layout of the tasks card
add additional css to colour cards based on progress
add responsiveness

Before:

After:

video:
https://github.com/Real-Dev-Squad/website-my/assets/98796547/69983b91-f73e-423a-b68d-870fd461f1f0
test coverage:

Please add the test coverage screenshot

Please add the test coverage screenshot

?

Please add the test coverage screenshot

Where is the test coverage of your changes?

its already added in the end of the description

Please add the test coverage screenshot

Where is the test coverage of your changes?

its already added in the end of the description

Ive added for other js files

In the shared video the don't appear to be in the center?

The following points may be considered

Status dropdown background color should not be red.
Card width must be 100% for mobile view.
When I change the status of the first task the loader shows in the second task please fix it.
Please make the title text-overflow ellipsis(show tooltip when hover  on the title(we can create another issue ticket for it)

The following points may be considered

Status dropdown background color should not be red.
Card width must be 100% for mobile view.
When I change the status of the first task the loader shows in the second task please fix it.
Please make the title text-overflow ellipsis(show tooltip when hover  on the title(we can create another issue ticket for it)

I followed the flowbite(as requested by Ankush) designs shown here: https://flowbite.com/docs/components/buttons/#outline-buttons

Done.

https://github.com/Real-Dev-Squad/website-my/issues/424

Done.

I followed the flowbite(as requested by Ankush) designs shown here: https://flowbite.com/docs/components/buttons/#outline-buttons

Can you share the screenshot of the dropdown?


Rename shader parameter uniform setter/getter methods for consistency

Follow-up to https://github.com/godotengine/godot/pull/59840.
shader_uniform is now consistenly used across both per-shader and per-instance shader uniform methods. This makes methods easier to find in the class reference when looking for them.
See https://github.com/godotengine/godot/issues/54161#issuecomment-1086916469.

Needs a rebase (or redo might be faster).
The changes look good to me, you might want to just get the OK from @clayjohn or @BastiaanOlij to be sure.

Rebased and tested again, it works as expected.

Thanks!


Keep tools up-to-date when run

By default, tools invoke bazel build in a way that minimizes latency before being run to ensure that they are up-to-date. The new update_when_run attribute can be used to tweak this behavior.

I haven't updated the README yet, but if you have any thoughts on this @bduffany @sluongng, let me know. It's hard to find the right balance between latency and correctness.


python310Packages.pydantic: 1.10.7 -> 1.10.8

Description of changes

Diff: https://github.com/samuelcolvin/pydantic/compare/refs/tags/v1.10.7...v1.10.8
Changelog: https://github.com/pydantic/pydantic/releases/tag/v1.10.8
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

I don't know if it actually needs to be included in this derivation, but it seems to require support for the mkdocs mike plugin.
https://github.com/pydantic/pydantic/commit/40dafc43e936b1281f5ab45bfc8a548340027d2b

@natsukium you are right
error: builder for '/nix/store/ysizhxlfi43mgjmv7wmcaplskkbh81sr-python3.11-pydantic-1.10.8.drv' failed with exit code 2;
       last 10 log lines:
       > building
       > Executing setuptoolsBuildPhase
       > python docs/build/main.py
       > writing 150 example files to /build/source/docs/.tmp_examples
       > generated ansi output to /build/source/docs/.tmp_examples/devtools_main.html
       > mkdocs build
       > ERROR    -  Config value 'plugins': The "mike" plugin is not installed
       > Aborted with 1 Configuration Errors!
       > make: *** [Makefile:119: docs] Error 1
       > /nix/store/0swa08bbslxc9wbfixbcd196aa1117lx-stdenv-linux/setup: line 134: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/ysizhxlfi43mgjmv7wmcaplskkbh81sr-python3.11-pydantic-1.10.8.drv'.

Thanks for reviewing, I added mike to the dependencies


Error: Cannot find module 'node-sass'

Hello,
I'm attempting to work with a preprocessor for the first time. I believe I have successfully installed node, grunt, and bower. After navigating to my FoundationPress theme folder and running the grunt watch command the terminal says the following:
Loading "sass.js" tasks...ERROR

Error: Cannot find module 'node-sass'

Running "watch" task
Waiting...
Any advice on how I can avoid receiving the error would be greatly appreciated. Thanks!

https://github.com/olefredrik/FoundationPress/issues/208#event-234870812

When I run $ npm install && bower install && grunt build I get an error saying node scripts/build.js fails on your system.

I tried running each command separately. After installing a program called Xcode $ npm install appeared to run successfully. When I ran $ bower install I received the following error:
Loading "sass.js" tasks...ERROR

Error: Cannot find module 'node-sass'
Warning: Task "sass" not found. Use --force to continue.

Aborted due to warnings.

Install node http://nodejs.org/
and insatall scss

Hi,
First make sure you follow the requirements and quickstart steps described in the howto.
If you can't get it working after following these steps, it's possibly because the node-sass package is incompatible with the latest version of node.
Please see my post in this thread (https://github.com/olefredrik/FoundationPress/issues/209) for a solution on how to roll back to node v. 0.10.33


Sync [Feature Request]

What is the idea?
a Sync feature  is needed so we can Sync our server with our clients.
Why would this be beneficial
So we can Sync all clients to this billing system. Or Sync feature will import clients from server.

can you please explain this in more detail?


feat(legacy-preset-chart-deckgl): Add ,.1f and ,.2f value formats to deckgl charts

SUMMARY
This PR adds 2 new formattings to Legend Format control in deckgl charts.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS
Verify that ,.1f and ,.2f legend formattings are available and work correctly
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

https://app.shortcut.com/preset/story/37656/add-1f-and-2f-to-the-legend-format-option-for-deck-gl-charts

Thanks for pointing that out @zhaoyongjie. @yousoph @rusackas should we add those formatters in other charts as well? Should we quick and simple.

Thanks for pointing that out, @zhaoyongjie !
@kgabryje I think it makes sense to add the freeform formatter to deck.gl (and any other chart types it's missing from)

@zhaoyongjie @yousoph Added ,.1f and ,.2f to D3_FORMAT_OPTIONS globally, added freeForm to deckgl, also removed duplicated code in deckgl plugins.


Feature/exclude

Description
Merged with treshold
Added new parameter exclude-elements to screen collector.
Motivation and Context
We want to compare screenshots without specified elements.
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I hereby agree to the terms of the AET Contributor License Agreement.

After merging #293 please change the target branch to master.


Incorrect shell set for consul and rabbitmq users

New users are created for alpine-consul and alpine-rabbitmq. While these accounts do work su - consul resulted in su: can't execute ':60:60:mysql:/var/lib/mysq': No such file or directory, see
. So new users defaulted to mysql for whatever reason. While I do not want to su - consul for any legitimate reason having a wrong shell is still a problem. This can be easily fixed by adding -s /bin/sh to the adduser command.

@matthewvalimaki, this would be a great fix.  I'll work on it once I get this repo in shape.

As a result of PR #34, this has been fixed alpine-consul. alpine-rabbitmq will be coming soon :)

As a result of the latest commits, this has now been fixed in alpine-rabbitmq.


.Net: Bug: PromptExecutionSettings are frozen and cannot be modified.

Describe the bug
When I was using Kernel.CreateFunctionFromPrompt, I set parameters through HuggingFacePromptExecutionSettings, and an exception was thrown:
System.InvalidOperationException: PromptExecutionSettings are frozen and cannot be modified.
To Reproduce
Steps to reproduce the behavior:
Copy the code below into Connectors.HuggingFace.UnitTests\HuggingFaceKernelBuilderExtensionsTests.cs in the  sk-dotnet project, and then run the unit test.
[Fact]
public async Task RunKernelFunctionWithHuggingFaceShouldRunCorrectlyAsync()
{
    Kernel kernel = Kernel.CreateBuilder()
        .AddHuggingFaceChatCompletion("model", new Uri("http://localhost:8080"))
        .Build();

    var kernelFunction = kernel.CreateFunctionFromPrompt("Write a C# Hello world", new HuggingFacePromptExecutionSettings
    {
        Temperature = 0.4f,
        TopP = 1
    });

    await foreach (var update in kernel.InvokeStreamingAsync<StreamingChatMessageContent>(kernelFunction))
    {
        if (update.Content is { Length: > 0 })
        {
            Console.Write(update.Content);
        }
    }
}

Expected behavior
The kernel function run success and return correctly  results.
Screenshots

Platform

OS: Windows 11
IDE: Visual Studio
Language: C#
Source:  The sk-dotnet source code.

@shuaihuadu I have a fix here: https://github.com/microsoft/semantic-kernel/pull/6895. Please take a look at the tests that are included with the fix.

@shuaihuadu I have a fix here: #6895. Please take a look at the tests that are included with the fix.

Thanks for fixing this!


Settings for hidding the list of errors at the bottom

Option to toggle this list :

Related : https://github.com/AtomLinter/Linter/issues/579 (specifically: https://github.com/AtomLinter/Linter/issues/579#issuecomment-114679665) but deserves its own issue for tracking.

Motivation: This list will block the user from typing by coming over the editor:

@basarat Requesting review on #590


playground error

https://stackblitz.com/edit/wired-elements?file=index.html
Error in 0.6.0/wired-button.js (86:1)
customElements is not defined
Evaluating<EMAIL_ADDRESS>Evaluating<EMAIL_ADDRESS>Evaluating index.js
Booting application

This is actually a bug i StackBlitz when loading polyfills on Firefox, IE.
Should work fine one Chrome:
Here's jfiddle link that should work for you: https://jsfiddle.net/shihn/7ft5by3g/


Adding testTime option for parallel linked with TRSS

add logic to divide tests based on testTime specified

Signed-off-by: renfeiw<EMAIL_ADDRESS>

tested internally:

BUILD
PLATFORM
TARGET
BUILD_LIST

Grinder_TKG/521
x86-64_linux
floatSanityTests
functional/Java8andUp

Grinder_TKG/524
x86-32_windows
sanity.regular
functional

Grinder_TKG/537
s390x_zos
sanity
functional/Java8andUp


Improved async/await docs

Summary
Added a much simpler example and some extra explanations: what happens with errors and that it's a new feature.

Thanks for your contribution! However, we'll be merging this PR soon, so I think the two are incompatible: https://github.com/facebook/jest/pull/3201 Sorry about the confusion here.


[PDI-18955] - HTTP Post no longer handles Basic Authentication being passed to other servers

@ssamora
@smmribeiro

:white_check_mark: Build finished in 29m 32s
Build command:
mvn clean verify -B -e -Daudit -amd -pl engine

:ok_hand: All tests passed!
Tests run: 3883, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


Always Specify auth_type In create_ec2_role

Since Vault v0.7.1, the aws-ec2 and aws-iam Auth backends have been unified under one "aws" auth backend. This overlap requires an "auth_type" parameter to be specified in some cases and in particular is necessary with newer Vault versions + our create_ec2_role() method + a subset of parameters in this method that apply to both EC2 and IAM authentication.

This is intended to cover https://github.com/ianunruh/hvac/issues/196


Ensemble decoding

I'm interested in ensembling a few models trained using OpenNMT. Is there some ways to do this at the moment? I noticed there was some work, but not sure why it is not merged yet: http://forum.opennmt.net/t/ensemble-decoding/115/11.
Thanks!

There is a branch based on an older version if you are interested: https://github.com/OpenNMT/OpenNMT/pull/300
However, it is not efficient and usually does not improve the results notably. It seems to indicate that OpenNMT final models are already good enough.
You might also want to checkout model averaging with tools/average_models.lua. It is an alternative and simpler way to simulate model ensembling.


spec: document interface satisfaction more explicitly

http://golang.org/ref/spec#Interface_types does not clearly spell out the requirements
for a type to implement an interface. It should.

The Go 1.18 spec has now a section on what it means to implement an interface (see the end of the section on Interface types). Closing.


Cachetool - use env instead of set/get

I think that the cachetool recipe should use env() instead of get() to load cachetool options. It is quite likely to have different fpm settings for different servers. For example: we have fpm on our staging server listening to localhost:9001 but the production server can run on a different port or use unix sockets.
I could prepare a PR - to keep the backwards compatibility the recipe would use the env() value and fallback to the get() value.

Your reasoning is good, please do prepare a PR. Thanks
On qua, 21/10/2015 at 03:47, Michał Kurzeja<EMAIL_ADDRESS>wrote:

I think that the cachetool recipe should use env() instead of get() to
load cachetool options. It is quite likely to have different fpm settings
for different servers. For example: we have fpm on our staging server
listening to localhost:9001 but the production server can run on a
different port or use unix sockets.
I could prepare a PR - to keep the backwards compatibility the recipe
would use the env() value and fallback to the get() value.
—
Reply to this email directly or view it on GitHub
https://github.com/deployphp/recipes/issues/33.


EC number prediction using protein sequences

Thank you for your interesting work!
My dataset is a .fasta file of protein sequences with no 3d structure information for them. How can I use your model to predict ec numbers for my protein sequences?
Another question I have is how I can create the dataset for the model with the format you used for model training. I have .pdb files of proteins.

For protein sequences with no 3D structure, I recommend using AlphaFold2 to generate corresponding structures in order to use PenLight model.
For data processing, you can use PDBParser in Biopython package to extract the atom coordinates from pdb files.


Culture dependency constant interpolated-strings

The section on constant interpolated-strings is now saying:

The current culture may affect their string representation.

But in the proposal  @333fred is saying:

keep it simple and avoid any dependence on ... potential culture dependence.

Am I missing something?

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

ID: c36588d0-6bdf-1740-220c-10b20bb88730
Version Independent ID: 587ed47f-f532-e018-9b0d-6ee76afd20e4
Content: What's new in C# 10.0 - C# Guide
Content Source: docs/csharp/whats-new/csharp-10.md
Product: dotnet-csharp
Technology: csharp-whats-new
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

The article says:

The placeholder expressions can't be numeric constants because those constants are converted to strings at runtime. The current culture may affect their string representation.

So "The current culture may affect ..." part is an extension to the "why" placeholder expressions can't be numeric.

Ahh, thanks for clarifying. I misread it.


zmq.utils z85 decode (of string) does not work with python 3

>>> print("libzmq-%s" % zmq.zmq_version())
libzmq-4.1.2
>>> print("pyzmq-%s" % zmq.pyzmq_version())
pyzmq-15.2.0
>>> print("Python-%s" % sys.version)
Python-3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (Intel)]

Steps to reproduce:
>>> z85.decode("Z9]q$")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "F:\Python\python-3.4.4\lib\site-packages\zmq\utils\z85.py", line 55, in decode
    value += Z85MAP[z85bytes[i+j]] * offset
KeyError: 'Z'

Expected behaviour from python 2.7:
>>> z85.decode("Z9]q$")
'\xbe(\x96\xd5'

Now I know I can fix this by prepending b"" to my string and it works as expected but should the decode function check whether I am passing in bytes or a string and raise a specific Exception? Or should it just automatically convert a string to a bytearray?

Pull request #816 is a possible fix for this

Actually, emulating the behaviour of hashlib under python3 might make more sense:
TypeError: Unicode-objects must be encoded before hashing
I will update my pull request


ImportError: ../raindance/Lib/LeapSDK/lib/LeapPython.so: invalid ELF header

[hawk600:/usr/local/dataviz/graphiti# uname -a
Linux hawk600 3.2.0-115-generic #157-Ubuntu SMP Tue Oct 25 16:32:19 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux](url)

hawk600:/usr/local/dataviz/graphiti# ./graphiti dashboard
[CLOCK] Clock created at<PHONE_NUMBER> s, 405931 us).
[CLOCK] Clock created at<PHONE_NUMBER> s, 405973 us).
[CLOCK] Clock created at<PHONE_NUMBER> s, 405985 us).
--- Welcome in OpenGraphiti (Alpha) ---
[API] create(2, 0x7ffd1e4732e8)
[__INIT__]
Traceback (most recent call last):
  File "./Scripts/start.py", line 5, in <module>
    from Scripts import *
  File "./Scripts/__init__.py", line 14, in <module>
    import leap
  File "./Scripts/leap.py", line 16, in <module>
    import Leap, sys, thread, time
  File "../raindance/Lib/LeapSDK/lib/Leap.py", line 28, in <module>
    LeapPython = swig_import_helper()
  File "../raindance/Lib/LeapSDK/lib/Leap.py", line 24, in swig_import_helper
    _mod = imp.load_module('LeapPython', fp, pathname, description)
ImportError: ../raindance/Lib/LeapSDK/lib/LeapPython.so: invalid ELF header
[RESOURCE]
    Total : 0 resources, 0 bytes.

Actually, I am running OG on a remote Linux server  vis ssh -X on my local Mac so I don't need LEAP on the remote server at this point in time.
Any suggestions?

Please close this issue as we are currently developing with Unity 3D.


[SPARK-10861] Add range support

Adding range support through DeclarativeAggregate API, also prototyped an alternative ImperativeAggregate implementation as well for perf comparison,  DeclarativeAggregate perform better with codegen enabled.

Can one of the admins verify this patch?

Is this a common function in other databases?

Range is generally included in Univariate Stats.   but Hive doesn't support it as built-in UDF, just checked.

I'm mostly wondering if "range" is the proper name for this. Also seems it's super easy to compute: max(c) - min(c). Does it really justify having all of these code for it?

it is named "range" as part of dispersion measure within Univariate Stats.  this is a sub-task under Univariate Stats umbrella JIRA (SPRK-10384)

@JihongMA  I did a bit research and also talked to @mengxr. I don't think this range function provides enough value (since it is just max - min for users) to justify adding it, because:

It is non-obvious what range means from the name.
There is already a range function on SQLContext. This one is just semantically confusing, but not incompatible since they are in different namespace.
There is already a range function in Python, which is incompatible with the range here.

I'm going to close the JIRA ticket as won't fix. Sorry about it.

@JihongMA How about we close this PR for now and revisit it later if necessary? Thanks!

@yhuai sure, I am closing it now.


non-interger scale for swinir

Hi, I have a question and leave an issue.
How do I do non-integer SR on swinIr+lte?
Maybe swinIr+lte can't do non-integer SR?

SR methods within decoder supporting arbitrary scales, such as MetaSR, LIIF, and LTE, can perform non-integer SR even with SwinIR.
In that case, we have to use reflection padding. Please see the eval.py. Thanks a lot!

Hi, I also want to achieve the non-integer super-resolution, but I don't fine the 'eval.py'.
Looking forward to your reply.
Thanks.

Hi, I also want to achieve the non-integer super-resolution, but I don't find the 'eval.py'.
Looking forward to your reply.
Thanks.

Hi, I also want to achieve the non-integer super-resolution, but I don't find the 'eval.py'. Looking forward to your reply. Thanks.

Maybe the ‘test.py'.

Hi @JQJ001
You can use demo.py

Hi @JQJ001
You can use demo.py

OK
Thans you.


To remove hard coded app name

https://github.com/obs-nebula/frontend-react/blob/2f5b90de0e5587f9b616d6eb2e89fb9805a4ed76/front-end/src/tracing.js#L20
We can use this instead: https://github.com/obs-nebula/check-traces/blob/main/tracing.js#L21

Hello @helio-frota I was trying to do that comparing the check-traces example , but I notice that I getting this

may be i think it dont work in react application


Publish Total-Lines-Info to Open VSX

Please publish this  Total-Lines-Info extension to the Open VSX marketplace.
Context
Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix files from it, in order to use VS Code extensions in non-Microsoft products, we kindly ask that you take ownership of the VS Code extension namespace in Open VSX and publish this extension on Open VSX.
What is Open VSX? Why does it exist?
Open VSX is a vendor neutral alternative to the MS marketplace used by most other derivatives of VS Code like VSCodium, Gitpod, OpenVSCode, Theia-based IDEs, and so on.
You can read on about Open VSX at the Eclipse Foundation's Open VSX FAQ.
How can you publish to Open VSX?
The docs to publish an extension can be found here. This process is straightforward and shouldn't take too long. Essentially, you need an authentication token and to execute the ovsx publish command to publish your extension. There's also a doc explaining the whole process with an example GitHub Action workflow.
Notes
I personally use code OSS, a FLOSS version of Virtual Studio Code built from the source, it's the official ArchLinux package. I wrote an article on the subject.
Here is another example of Github Action that works both for publishing your VS Code Extension to the Open VSX Registry or the Visual Studio Marketplace: https://github.com/HaaLeo/publish-vscode-extension.

Hi!
I didn't know about this alternate repository. I've just created an account and published the last version of the extension there (https://open-vsx.org/extension/peterfh/linesinfostatusbar).
Thanks for contacting.
Regards,

Great to hear, thank you for your responsiveness.


Intro CS

So Intro CS is a bit of a mess right now. MIT 6.0001 is followed by How to Code, which is beginner-friendly, but 6.0001 is not so there's a course before 6.0001 to teach you Python so that 6.0001 doesn't feel so overwhelming so fast. So you've got 3 intro courses right there because none of them seem to really do their job properly. There's also the problem of How to Code being on edX and 6.0001 being primarily on edX although that does have an ocw version.
I propose switching all of those out for Berkeley 61AS. In the past this hasn't really been considered because it's based off of SICP (pretty much is SICP tbh), however, this self-paced version includes a Unit 0 that starts from the basics to make it suitable as a true intro class and Calculus is a corequisite rather than a prerequisite. Unfortunately I have not actually read through it, but right now the curriculum is enough of a mess that I felt it worth making this post anyway

6.0001 is available here: https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/
I hear there's a book even better than SICP called  Concepts, Techniques, and Models of Computer Programming although I haven't used either.
CS61A also has videos here: https://archive.org/details/ucberkeley-webcast-PL3E89002AA9B9879E?sort=titleSorter
It's actually the recommendation for programming on teachyourselfcs.com

61A has newer videos than that even. I'm suggesting 61AS rather than 61A because 61AS is designed for self-study unlike 61A and because it includes a Unit 0 for people who have no experience with programming unlike 61A. This videos are from before 61A switched to Python though so they would be a good resource for anyone doing 61AS

The intro courses just went through a major comment/revision process regarding the intro sequence. You can read those here and here as well as the conversations that they reference.
The suggestion of 61AS is an interesting one! The next time we are looking to overhaul the intro courses, we should take some time to explore the course (including feedback from students who have completed the class).


Browse: "Raise" level of "Provider" and "Curate" buttons

The Provider and Curate buttons on the /browse page are great. So great that perhaps they should be "elevated" to be outside the list component, perhaps at the same (conceptual) level as the name filter.
From a user point of view then they can discover at a coarse grain (name, provider, viewpoint) and dive in with finer filters/sorts.

also consider showing the current value in the button

Is the search by Provider something similar to #158 ?

Following the discussion on weekly meeting, we want just to make clear to the user which kind of search he's currently doing on the Browse Page.


404 error while searching for content related to contributing

Most appropriate sections of the p5.js website?
Contribute
What is your operating system?
Mac OS
Web browser and version
Google Chrome 127.0.6533.100, Safari 16.6
Actual Behavior
Searching for content related to contributing leads to 404 pages for a couple of pages with paths transformed from their original source files. For example, searching for "contributing" leads to incorrect links for the readme (links to /contribute/README/ rather than /contribute/readme/) and contributing to the p5.js reference (links to /contribute/contributing_to_the_p5.js_reference rather than /contribute/contributing_to_the_p5js_reference/) sections in the results.
https://github.com/user-attachments/assets/93bbdfe8-a6d3-4a87-ab39-53498b0b39c6
Expected Behavior
To be able to reach the appropriate pages
Steps to reproduce

Search for "contributing" in the top nav.
Click on the entries for "🌸 Welcome! 🌺" or "Contributing to the p5.js Reference".

Would you like to work on the issue?
Yes, I'd like to work on this

https://p5js.org/contribute/contributor_guidelines.md#software-design-principles
Yes, it's also a problem for me

Please direct all 404/deadlink related reports to #527 and we'll resolve them there. I'll close this for organizational purposes as the reported link are covered in #527. Thanks.


Feature/1240 map test dat from json file to java object

Related to #1240

@MohabMohie moved pojo out of the engine

@MohabMohie what we need to complete this PR?


Swift supported in Cocoa pods pre

Hi
Swift is now available in cocoa pods pre:
TL;DR: CocoaPods 0.36 will bring the long-awaited support for Frameworks and Swift. It isn't released and considered stable yet, but a beta is now available for everyone via [sudo] gem install cocoapods --pre. Pod authors will especially want to try this version to make sure their pods will work with the upcoming release. This is because if a single dependency in a user's project requires being a framework, then your Pod will also become a framework.

From: http://blog.cocoapods.org/Pod-Authors-Guide-to-CocoaPods-Frameworks/

Thanks for the heads up. I will look into have a dual version library like AFNetworking. But I haven't touched swift much yet, still trying to figure this out.

Thanks ;)

Duplicate #53


Fix typo in docs/api/index.md

s/nvm/npm

not a typo

@niczy nvm, or "node version manager", by this command installs iojs, which is the new desired platform for koa to be run on

...
nvm: https://github.com/creationix/nvm

sorry...

Oh sorry. Sounded kind of short. Was busy watching house of cards :) Yeah iojs isn't an npm package.