SUBMARINE-1320. Drop supports for Python2.7 and Python3.6

What is this PR for?

Drop supports for Python2.7 and Python3.6
What type of PR is it?
Improvement, Documentation
Todos

[x] - Drop Python2 syntax support.
[x] - Support Python 3.7, 3.8, 3.9 and 3.10.
[x] - Support TensorFlow 2.6, 2.7, 2.8 and 2.9.
[x] - Run tests for various TF2 versions with GitHub action.
[x] - Improve Python dependency version constraints.
[x] - Update the maximum line length to 110 characters.

What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-1320
How should this be tested?

Screenshots (if appropriate)
Questions:

Do the license files need updating? Yes/No
Are there breaking changes for older versions? Yes/No
Does this need new documentation? Yes/No

Hi @huang06 Thanks for your contribution~
The current PR has a lot of syntax changes and may take longer to review. My personal preference is that we can adapt the 3.7, 3.8 and 3.9 versions in this PR.
What do you think? @pingsutw

The Tensorflow 1.15 is not available for Python 3.8 or higher.
https://github.com/tensorflow/tensorflow/issues/39768
If we want to adapt higher Python versions, We have to drop support for Tensorflow 1.15

The Tensorflow 1.15 is not available for Python 3.8 or higher.
tensorflow/tensorflow#39768
If we want to adapt higher Python versions, We have to drop support for Tensorflow 1.15

My personal thoughts at the moment are to keep at least 2-3 python versions available.
But it looks like it would be a relatively big change to upgrade the python version. This could probably be discussed at next week's community meeting, or if you have time next Tuesday you could join us.

@huang06
Hi~ I've checked the python checks failed in submarine-sdk/pysubmarine/tests/tracking/test_tracking.py. And you need to change the parameters of save_model, the current ones are indeed wrong.
    @pytest.mark.skipif(tensorflow.version.VERSION < "2.0", reason="using tensorflow 2")
    def test_save_model(self):
        input_arr = tensorflow.random.uniform((1, 5))
        model = LinearNNModel()
        model(input_arr)
        self.client.save_model(model, "tensorflow", REGISTERED_MODEL_NAME)
        self.client.save_model(model, "tensorflow", REGISTERED_MODEL_NAME)
        # Validate model_versions
        model_versions = self.model_registry.list_model_versions(REGISTERED_MODEL_NAME)
        assert len(model_versions) == 2
        assert model_versions[0].name == REGISTERED_MODEL_NAME
        assert model_versions[0].version == 1
        assert model_versions[1].name == REGISTERED_MODEL_NAME
        assert model_versions[1].version == 2

@cdmikechen @pingsutw
Please review the changes and approve the workflows


Use new code model in dubbo-demo-triple.

What is the purpose of the change
Fix #8176

Codecov Report

Merging #8177 (943a19e) into 3.0 (532ce72) will decrease coverage by 0.18%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #8177      +/-   ##
============================================
- Coverage     61.87%   61.68%   -0.19%
+ Complexity      313      309       -4
============================================
  Files          1074     1074
  Lines         45167    45123      -44
  Branches       6791     6758      -33
============================================
- Hits          27945    27833     -112
- Misses        14156    14204      +48
- Partials       3066     3086      +20

Impacted Files
Coverage Δ

...ng/transport/dispatcher/all/AllChannelHandler.java
68.96% <0.00%> (-20.69%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
47.82% <0.00%> (-15.22%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0.00%> (-10.87%)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
57.62% <0.00%> (-10.17%)
:arrow_down:

...e/dubbo/remoting/transport/netty/NettyChannel.java
51.13% <0.00%> (-9.10%)
:arrow_down:

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
:arrow_down:

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
:arrow_down:

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
:arrow_down:

...ache/dubbo/remoting/api/NettyEventLoopFactory.java
36.36% <0.00%> (-5.31%)
:arrow_down:

... and 38 more

Continue to review full report at Codecov.

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


Added ProtectedField concept along with Requires and other machinery …

…to implement it. Ported existing BaseUser/Update/Create models to user Protected fields as an example. All tests are passing, a few are added and more will be added later.
I will add more details here when I have the time. But you can check the BaseUser, BaseUserCreate, BaseUserUpdate implementations for reference.
Beanie example is also updated to show a meaningful use case for this functionality. In the Beanie example, we give certain users (organization moderators) power to update other users withing their organization (organization field of the user is the same as the moderators).
Another note: I tried to keep the behavior of the BaseUser/Update/Create consistent with the current version of the branch. However I do think it's a better idea to raise exceptions in cases where is_superuser, is_active or is_verified fields are updated without necessary permissions.
Also note that with this functionality the docs actually display which fields are allowed to be written and which are not (you can decide if the docs show the necessary conditions or not as well). In the current state of the master branch, the "protected" fields are displayed as if any other field and the user who's reading the documentation is left to their own intuition to figure out which fields are not supposed to be modified.
Edit: Haven't contributed to many open source projects before, so if you need this to be in a certain format please let me know. Otherwise I'm open to questions of course. I had to implement this for a real-life use case and I think it can motivate other people to use this library more. Since as it currently stands, anyone who wants a slightly more complex functionality will have to write their own wrappers for the endpoints, it makes using the library less of a "works-out-of-the-box" solution.

Hi @tsa-1829 👋
Thank you for your interest in contributing!
Unfortunately, it looks like very complex changes; and it's not very clear from your description or your code what you're trying to achieve.
I'll be honest, but I probably won't merge them. It's nice if it works for your project, but it looks like a quite opinionated feature that won't fit in the scope of the project.

Ok, I understand better what you want to achieve.
Nevertheless, my point is that it's out-of-the-scope regarding users authentication, we're already stepping into authorization and access control. Your ProtectedField and Condition implementation is really interesting, but it fits in another library IMO; that could even be reused for other models as well.
Once again, it's a quite opinionated way of doing things. If I take your "paying user" example, my choice would be to have a separate table to manage user subscriptions, with a foreign key towards user. This way, I could implement my own endpoints to manage it without touching on users. Other people might have a separate backend to manage it that would need an API call to check the value, etc, etc.
I clearly understand that it is frustrating for you — your code is good, nothing to say about that —, but as a maintainer, I have to make choices about what I want to maintain in the long term, and what I don't. I hope you understand my position.


[stable/prometheus-operator] Too permissive ClusterRole secret access

Is your feature request related to a problem? Please describe.
In file templates/prometheus-operator/clusterrole.yaml we use very extensive access to secrets, basically we allow any ServiceAccount bound to this ClusterRole to manipulate all secrets.
 - apiGroups:
  - ""
  resources:
  - configmaps
  - secrets
  verbs:
  - '*'

Do You think it is possible to limit the acess scope?
Describe the solution you'd like
Limit scope of secret access to requied minimum.
Describe alternatives you've considered
If this service needs to read all secrets in whole namespace, maybe we can move this part from ClusterRole to Role and add RoleBinding?  I know that k8s do not allow for cross namespace secret/configmap access but having such ClusterRole just do not feel right.
Additional context
I do not think that there is anything else.
Thanks!

Following https://github.com/helm/charts/pull/20116#issuecomment-626367304, should we re-open this? I'm available to help on this.

I can also help, I just need to know what should I improve in my previous merge request.


Slider component doesn't work

Using deprecated react methods.

Being fixed by @javipisobeto in pull https://github.com/DigitalRiver/react-atlas/pull/425


[SUPPORT]When writing to a hudi table synchronized with hive via Flink, the amount of data in the hudi table does not match the amount of data in the source

Describe the problem you faced
Now I'm writing a hive sync hudi through Flink, when the sync is done, I find that there is a very big difference between the quantity obtained from the query and the quantity of the database on the source side, can you help me to see what is the reason?
this is my code demo
https://github.com/NetEase/lakehouse-benchmark-ingestion/blob/master/src/main/java/com/netease/arctic/benchmark/ingestion/sink/HudiCatalogSync.java
The number of this source table in the database is 300808 entries

and this is my flink job web ui

but when I use Trino to querying this hudi table, I found very little data

Expected behavior
I know the loss data error, so I use the 0.11 patch code from @danny0405
https://github.com/danny0405/hudi/tree/0.11-patch
I think the amount of data in the hudi table after synchronization should be the same as the amount of data in the source table
Environment Description

Hudi version : 0.11.1

Flink version : 1.14.6

Hive version : 2.1.1

Hadoop version : 2.9.2

Storage (HDFS/S3/GCS..) :

Running on Docker? (yes/no) : no

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

What kind of input format did you set up with, I see you uses the MERGE_ON_READ as table type.

close due to inactive


Blank terminal window

I get a blank terminal window when I activate this plugin. Not sure if I'm doing something wrong. Hyper 0.8.1 on OS X 10.11. I use fish shell if that makes any difference.

overlay: {
  unique: true,
  animate: false,
  // hideDock: true,
  startAlone: true,
  startup: true
},

plugins: ['hyperterm-overlay'],

It works if I open a new tab. Seems it isn't opening an initial tab on startup.

I think development on this plugin is dead.

Yeah, unfortunate cuz I really like the plugin in general, can't live without visor terminal.

I will try to check this issue soon.
I also accept PRs if someone already fix...


Cannot assign IP address to interface of unracked device

Issue type: bug report
Python version: 2.7.12 (Ubuntu 16.04)
NetBox version: 1.9.6
Since v1.9.0 (#198) it has been possible to have unracked devices.
However you are no longer able to assign an existing IP address to such a device.  To reproduce:

Create a device assigned to site but no rack, and with at least one network interface
Create an IP address
Edit the IP address
Under "Interface Assignment", try to assign this address to the device

You can select the site, but you are next forced to select the Rack, and there is no option for "None".  This means that you are then unable to select the Device.

Workaround: delete the IP address, navigate to device, add new IP address to interface (in this case the necessary IDs are embedded in the URL)
Possible solutions:

Add a new "None" option to the Rack filter; and/or

Add a new "Any" option to the Rack filter - which means that the Devices drop down will show all devices in the site.  (This is helpful if you can't remember what rack a device is in, but it may be a very big list for a large site)

Seems like you ran into #1101. Fixed in the develop branch; will be included in v1.9.7.


Modifies simulation and config to use dependency injection

Changes climate and generation functions into class definitions with internal state.
Configuration has been modified to model a more traditional JSON file but still imported as a JS file (saves on fetching logic as modules handle this for us)

 Evo: Convert simulation config function to class dependency injection, and convert config to JSON


Examples Error

OS: windows
GPU (the selected PhysicalDevice): 1660 Ti
GPU Driver: Nividia

I was building the examples and i got this error.

error: failed to run custom build command for `shaderc-sys v0.6.3`

Caused by:
  process didn't exit successfully: `D:\Vulkano\vulkano-examples\target\release\build\shaderc-sys-f3377e5c1269840e\build-script-build` (exit code: 101)
  --- stdout
  cargo:warning=System installed library not found.  Falling back to build from source

  --- stderr
  thread 'main' panicked at '

  couldn't find required command: "ninja"

  ', C:\Users\Home\.cargo\registry\src\github.com-1ecc6299db9ec823\shaderc-sys-0.6.3\build\cmd_finder.rs:50:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace```

Are you using the shaderc-build-from-source feature? I think that shouldn't happen without that feature enabled. If it's happening anyway, then that seems like a bug.

Are you using the shaderc-build-from-source feature? I think that shouldn't happen without that feature enabled. If it's happening anyway, then that seems like a bug.

@Rua I don't know what that is.

@Rua I don't know what that is.

The error message tells you exactly what to do:
Install ninja

@ShaunKulesa is this still an issue for you?


Show viewer count on the receiver page

me and rich got this

@pociust I almost have an implementation of this finished using updateExtraData on the connection, let me know if you find a better way for receiverconnection to get viewer count

Fixed in #118


Tolerate non-existing azkar IDs mentioned in categories.csv

That's mainly currently, removing a zekr from azkar.csv without removing all of its corresponding list items in the categories.csv will introduce a runtime exception whenever azkar is being requested.
Tests are not covering these issues as tests are running with a fake categories.csv file and running the tests against the real categories.csv file would make adding/removing a zekr/category harder.
It is totally safe to disregard non-existings azkar and it would not even happen a lot to remove a zekr.

Let's not do that and make sure that the two files are consistent. We can achieve that by running the test against the real azkar and categories file with minimum validation checks (so as not to make changes in the file hard) so as to catch a runtime exception earlier.


【代码迁移】任务14-1：Exploring the Efficacy of Pre-trained Checkpoints in Text-to-Music

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Your Name seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

本代码为通过文本生成由曲调表示的音乐的任务，代码用到了来自mindnlp的预训练模型。
输入一串字符串：

This is a traditional Irish dance music.
输出格式为：
X:1 L:1/8 Q:1/8=120 M:6/8 K:D  g | fed =cAG | A2 d =cAG | F2 D DED | F3 GFG | A3 =cAG | AGA =cde | fed =cAG | Add d2 :| e |  f2 d dcd | f2 g agf | e2 =c cBc | e2 f gfe | f2 g agf | e2 f gfe | fed =cAG | Add d2 e | f2 g efg |  f2 g agf | e2 =c cBc | e2 f gfe | a2 f g2 e | f2 d e=cA | fed =cAG | Add d2 ||


[WIP] Update history dependency

This fixes the history package dependency problem.
apollos wanted ^1.13.1
react-router wanted ^1.17.0 as of it's update to 1.0.3 today
redux-router wanted ^1.12.0
I'm not sure if this will affect functionality yet.

@johnthepink we aren't using any of the deprecated methods from 1.13 to 1.17. This should be good to merge up. I will test it on my branch to verify but I think it will be great


WIP: Add ability to provide a reason for event rejection & send email

Followed the same format we currently do to send an event approval email but modified it to send email when an event is rejected w/ a reason.
Questions to be Answered

Should we pass the reason to the DELETE endpoint in a body field as opposed to how I'm currently doing it with a parameter?

@svpernova09
What do you think about adding tests?

What do you think about adding tests?

I didn't see any tests for the counter version of this so I didn't take the time to sort out testing. I wasn't sure how to go about writing tests as the past few times I've tried I get really frustrated and throw everything away. We will happily take tests in iteration but would like to provide this feature to admins sooner than later.


Rename method "absolute" to "abs" so it could be used with the abs() function

Rename method "absolute" to "abs" so it could be used with the abs() function. Requested by Michal Portes.

Fixed and published in version 1.2.0


Use master branch for data of the latest snapshot

:tada: This issue has been resolved in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix: catch all and optional catch all links fix

Currently the Link component does not work well with catch all and optional catch all routes. The problem is that when you click on a link that refers to a route which is part static and part catch all the link leads directly to the specified route but without translating the static part. Example:
Given the following folder structure:
pages/
├─ men/
│  ├─ _routes.json
│  ├─ [...categories].tsx
│  ├─ index.tsx

And the following _routes.json:
{
  "/": {
    "en": "men",
    "es-ES": "hombres"
  }
}

And the locale config being:
i18n: {
    localeDetection: false,
    locales: ["en", "es-ES"],
    defaultLocale: "es-ES"
  },

When clicking on a link whose href is /men/shoes I will expect to be redirected to /hombres/shoes but this is not the case. The link is taking me to /men/shoes and after refreshing the page the url is properly being redirected to /hombres/shoes. If I manually type /men/shoes on the url and press enter I'm also being properly redirected to /hombres/shoes thus I came up with this fix to make sure that the link component is handling catch all routes with static parts properly.
You can reproduce the issue and also try the fix I did in this code sandbox.
🆙 UPDATE: 22/08/2023
I have updated this pr and the codepen with fixes that make catch all and optional catch all links to work as they should.
✅ All test are passing

@gercordero Thank you so much for fixing this, I've been having the same issue! I would love to see this merged.
In the meantime, how are you able to use your fork in a production environment? I've tried multiple ways but it seems like the package needs to be built for production before it can be used. Would appreciate your insights here ☺

@gercordero Thank you so much for fixing this, I've been having the same issue! I would love to see this merged.
In the meantime, how are you able to use your fork in a production environment? I've tried multiple ways but it seems like the package needs to be built for production before it can be used. Would appreciate your insights here ☺

Hi there!
Currently in the project I am working on we are not using the fork itself, but a "semi-fork". What I mean by "semi-fork" is that since everything in this package despite the Link Component works fine for us, what we did was that in our component folder we created a component called "TranslatableLink" with the necessary files (copied from this repo) and changes needed to make it work. And then for the rest of components that are working fine we are using directly from the package. It is exactly the same as shown in the code sandbox demo that I put in the description of the pr.
One thing to note would be that this pr only fixes this problem for catch all routes but not for optional catch all routes. I already have a fix that includes these two types of routes that works fine in our project, but for some strange reason that I could not investigate yet, this same fix does not work in the demo that I made that only fixes the catch all routes.
At the moment I'm on vacation until next week. But if I get a chance I will try to fix it so that it also works fine in this repo.

First, thank you @gercordero for taking the time to submit a PR. Second, sorry for so much time before any answer. Looks like I did not receive the notifications for new PRs and it has been a long time since I could spend some on this repo. Then, as you will see in the comments below, the suggested changes mix up file paths or file urls - default Next urls based on the file system - with translated paths or urls. Your issue does not surprise me: I did not thing about using index + [...catchAll] 🤔 (I only use [[...optionalCatchAll]]) but it is a correct use case. I don't understand why the suggested changes solve your issue though... I will need to dig into it further.

Hi @cvolant thank you for your response 😄! It has taken me a while to read all your comments and take the time to re-read the code and understand it as I have moved countries and have been very busy. I have responded to all your comments trying to make clear the meaning behind my decisions. I think it is absolutely necessary to translate the urls, otherwise we end up at the same point where we are now, where the library is not able to resolve the links properly when there is a locale involved.

Thank you @gercordero. I was concerned about translating file urls, so I tried to reproduce the bug to identify why it does not work. At first, I could not reproduce it with next-translate-routes example repo.
So I played with your codesandbox. Thank you for setting it up, it helped a lot. Here is what I discovered:

/men and /hombres/zapatillas href work well
/men/shoes not only is untranslated, but it also goes to the generic page (/[...slug]).
If I replace /men/shoes by the other syntax, { pathname: '/men/[...categories]', query: ['shoes'] } it does work well.

So the problem is not that a catch-all route fails when colocated with an index route, the problem is that the two catch-all routes conflict, and /men/shoes is interpreted as { pathname: '/[...slug]', query: ['men', 'shoes'] }.
As a workaround, using the url object syntax: { pathname: '/men/[...categories]', query: ['shoes'] } instead of /men/shoes, seems to already work (@NSpehler, @therrou if you read me...).
To fix the issue, i dug deep down in the code to finally find that the culprit was a regex that matches dynamic segments but not catch-all segments. I created an other PR to fix it and to add a new test.
@gercordero, do you want to give it a try before I publish it? Would it entirely solve your issue?

Thank you @gercordero. I was concerned about translating file urls, so I tried to reproduce the bug to identify why it does not work. At first, I could not reproduce it with next-translate-routes example repo. So I played with your codesandbox. Thank you for setting it up, it helped a lot. Here is what I discovered:

/men and /hombres/zapatillas href work well
/men/shoes not only is untranslated, but it also goes to the generic page (/[...slug]).
If I replace /men/shoes by the other syntax, { pathname: '/men/[...categories]', query: ['shoes'] } it does work well.

So the problem is not that a catch-all route fails when colocated with an index route, the problem is that the two catch-all routes conflict, and /men/shoes is interpreted as { pathname: '/[...slug]', query: ['men', 'shoes'] }.
As a workaround, using the url object syntax: { pathname: '/men/[...categories]', query: ['shoes'] } instead of /men/shoes, seems to already work (@NSpehler, @therrou if you read me...).
To fix the issue, i dug deep down in the code to finally find that the culprit was a regex that matches dynamic segments but not catch-all segments. I created an other PR to fix it and to add a new test. @gercordero, do you want to give it a try before I publish it? Would it entirely solve your issue?

Hi @cvolant, thanks for having a look a it again. I have checked your pr and seems to be working fine but still has one route that is not being translated as it should, please have a look and if you managed to fix it with your approach I will close this pr right away 😊


Padr02 contributing :)

Hey there,
Thanks for your PR & contribution :wave:!
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊


Propsed Element: Place of Contract Execution

When thinking about the traditional "Place of Performance" I see challenges in getting to one of the ideas behind this attribute - where was economic activity generated from these government dollars spent?
I'll use one example I recently heard, grant money was provided for a school system in a certain Congressional District in Florida.  That money was tied to a place of performance in Florida.  The school system used that money to order a fleet of new school buses - from a company based in Michigan.  The economic activity, jobs created, from that money should have been attributed to the place in Michigan, not the place in Florida that just signed the contract and generated no local economic activity.
Another idea would be to require the reporting of detailed subcontract data all the way to the point where the money goes to a salary or delivers a product.  I realize that requiring this level of detail may not be very practical; but the intent of this issue is to say that we need an element to track the place of economic activity versus the place of contract execution.  Place of Performance should be where the economic activity was generated.

@HerschelC Thanks for your suggestion. I'll make sure that it's included when the next round of feedback is submitted to the DATA Act Inter-agency Advisory Committee.


High verbosity with CBC MILP Solver

Snakemake version
5.24.0
Describe the bug
A message from the CBC MILP Solver is printed with every job execution.
Logs
Welcome to the CBC MILP Solver
Version: 2.10.5
Build Date: Apr  7 2020

command line - cbc /tmp/b408874a7b664f0581980b4810bbd5bc-pulp.mps max ratio None allow None threads None presolve on strong None gomory on knapsack on probing on branch printingOptions all solution /tmp/b408874a7b664f0581980b4810bbd5bc-pulp.sol (default strategy 1)
At line 2 NAME          MODEL
At line 3 ROWS
At line 7 COLUMNS
At line 28 RHS
At line 31 BOUNDS
At line 36 ENDATA
Problem MODEL has 2 rows, 4 columns and 8 elements
Coin0008I MODEL read with 0 errors
String of None is illegal for double parameter ratioGap value remains 0
String of None is illegal for double parameter allowableGap value remains 0
String of None is illegal for integer parameter threads value remains 0
String of None is illegal for integer parameter strongBranching value remains 5
Option for gomoryCuts changed from ifmove to on
Option for knapsackCuts changed from ifmove to on
Continuous objective value is 2 - 0.00 seconds
Cgl0004I processed model has 0 rows, 0 columns (0 integer (0 of which binary)) and 0 elements
Cbc3007W No integer variables - nothing to do
Cuts at root node changed objective from -2 to -1.79769e+308
Probing was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
Gomory was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
Knapsack was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
Clique was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
MixedIntegerRounding2 was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
FlowCover was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
TwoMirCuts was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)
ZeroHalf was tried 0 times and created 0 cuts of which 0 were active after adding rounds of cuts (0.000 seconds)

Result - Optimal solution found

Objective value:                2.00000000
Enumerated nodes:               0
Total iterations:               0
Time (CPU seconds):             0.02
Time (Wallclock seconds):       0.00

Option for printingOptions changed from normal to all
Total time (CPU seconds):       0.02   (Wallclock seconds):       0.00

Additional context
See #603 -- this seems to be a similar issue.

I actually opened a separate issue for this before I realized this issue already existed (#637), but I'd like to second this, except I see it printing out multiple times per workflow.  My workflow is mostly based on shell blocks.

This should have been fixed in snakemake 5.25.0. Does this issue still exist?

It seems to be fixed for my pipeline once I updated to 5.25.0.  Thank you!


Removed LegacyRepoClient

Removing LegacyRepoClient
The original intent was something that would allow us to transparently migrate bots from vmcontext to awslambda.  Now that we have made a number of back-compat breaking decisions, we don't need this.  We're pushing forward, ripping off the band-aid, and porting everything to the new API.

-375 ... nice

Coverage decreased (-0.02%) to 94.97% when pulling adb63a1eff89cdd8e64bd09d364a23ff8b7b45ae on cody-remove-legacy-repo into 03eb968f200d2d6cb711a460f0c78e3757ca5935 on main.


[SR-16118] Compiler hang

Previous ID
SR-16118

Radar
None

Original Reporter
DeskA2 (JIRA User)

Type
Bug

Environment
Swift. 5.6

Additional Detail from JIRA

Votes
1

Component/s

Labels
Bug

Assignee
None

Priority
Medium

md5: 7491c8b4860d7dc11a1752eefbdf92c6

Issue Description:
The following code makes swift-frontend hang forever (taking up 100% CPU) when compiling a release build, but not in debug mode. A stack trace points to the uniqueSingleElement() function being problematic for the swift compiler, but only when used with objects that inherit from NSObject.
class SomeObject: NSObject {
    var value = 5

    init(value: Int) {
        self.value = value
        super.init()
    }

    override func isEqual(_ object: Any?) -> Bool {
        return (object as? SomeObject)?.value == value
    }

    override var hash: Int {
        return 1
    }
}

extension Sequence where Element: Hashable {
    func uniqueSingleElement() -> Element? {
        var uniqueElement: Element?
        for element in self {
            if uniqueElement == nil {
                uniqueElement = element
            } else if element != uniqueElement {
                return nil
            }
        }
        return uniqueElement
    }
}

let someItems = [SomeObject(value: 1), SomeObject(value: 2), SomeObject(value: 3)]
let uniqueElement = someItems.uniqueSingleElement()
print(uniqueElement)

rdar://92267349


Hurricane icon/code/track layers are auto appearing without selection. (v0.2.19)

The hurricane layers are not appearing in the filter selection list yet they are appearing on the UI, presumably when other hurricane layers are selected.
In addition, since the layers for the hurricane data (icons, cone, etc.) arent appearing in the selected layer drawer there is no way to remove them from the UI.

This is as designed and requested by Brian. There are no GeoServer layers to represent hurricane icon data. It is all retrieved in real time (from MetGet) when an ADCIRC hurricane layer is added to the map. The hurricane icons will be removed when all of the associated ADCIRC layers are removed. Although I am investigating some inconsistencies with that removal behavior currently. I will write a separate issue for that


同步最新远程代码

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

同步远程最新代码


Incomplete User List in Group Users Section

Describe the issue:

The user list within a group is incomplete when the IS user count surpasses MaxUserNameListLength. Users beyond this limit, even if assigned to the group, are not displayed.
The initial user list is retrieved from the scim2/Users endpoint, limited by the MaxUserNameListLength parameter. The scim2/Groups/<group-id> endpoint is then queried to obtain group details. The group's member list is cross-referenced with the previously fetched user data to retrieve user attributes. Users absent from the initial user data set are excluded from the group's user list. Please refer to code lines [1] for implementation specifics.
[1] https://github.com/wso2/identity-apps/blob/d73341d7833f98cf91e119ce5bd02bdbaf35a94c/features/admin.groups.v1/components/edit-group/edit-group.tsx#L163-L187
How to reproduce:

Create a number of users exceeding the MaxUserNameListLength.
Assign the last few users (those ordered beyond the MaxUserNameListLength value) to a specific group.
Attempt to list the users in that particular group.
The user list will appear as empty.

Expected behavior:

The user list for the specified groups should be displayed.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [IS 7.0.0]
OS: [Mac]
Database: [MySQL]
Userstore: [JDBC]

Optional Fields
Related issues:

Suggested labels:

This is already fixed with https://github.com/wso2/identity-apps/pull/6787


Real-time collaborative drawing

Add a feature where multiple users can work on the same canva simultaneously.

Please assign this issue to me, i can add this feature which makes it even more user friendly.Thank you

Duplicate of #248

Duplicate of #248


Fix CONTENT height calculation by subtracting also footer height

The CONTENT height was being calculated based only on the header height.
The subtraction of footers height was missing.
By adding it the content height calculation was fixed.

Didn't change the src file? build/js

No...
My mistake...
I will close this and submit the correct PR


[Extensibility Bug] Extending Application Areas

The procedure GetApplicationAreas in codeunit 9177 "Application Area Cache" does only remove spaces from the fieldref name.
We have used - in our comined prefix, which leads to errors when the plattform procedure ApplicationArea is called.
Maybe all other special characters should be removed too.
And you should maybe improve the documentaiton, too.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extending-application-areas#adding-an-application-area
[Scope('OnPrem')]
procedure SetupApplicationArea()
begin
    ApplicationArea(GetApplicationAreas());
end;

local procedure GetApplicationAreas(ApplicationAreaSetup: Record "Application Area Setup") ApplicationAreas: Text
var
    RecRef: RecordRef;
    FieldRef: FieldRef;
    FieldIndex: Integer;
begin
    RecRef.GetTable(ApplicationAreaSetup);

    // Index 1 to 3 are used for the Primary Key fields, we need to skip these fields
    for FieldIndex := 4 to RecRef.FieldCount do begin
        FieldRef := RecRef.FieldIndex(FieldIndex);
        if FieldRef.Value() then
            if ApplicationAreas = '' then
                ApplicationAreas := '#' + DelChr(FieldRef.Name)
            else
                ApplicationAreas := ApplicationAreas + ',#' + DelChr(FieldRef.Name);
    end;
end;

I checked the documenation again and found some note, that only alphanumeric characters are allowed for the ApplicationArea property.
https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-applicationarea-property#property-values
Therefore anything else should be removed from the field name:
https://github.com/StefanMaron/MSDyn365BC.Code.History/blob/ea65f641b8cd8455536977e9218cc6f56c09cabd/BaseApp/Source/Base Application/ApplicationAreaCache.Codeunit.al#L99

Hi @pri-kise,
we're trying to get our backlog under control, and this issue didn't make the cut. Do you consider this an important fix? In that case, I could fight for this bug to remain opened. It's 2 years old and it's not something we've heard about except in this issue. What do you think?

Hi @JesperSchulz,
I've reported this because this can lead to a RunTime Bug that makes the Client unusable. Because you'll receive a web client Bug and the client crashes.
Since this does not seem to be on the priority list to prevent RunTime Crashes, I now have created the following idea.
https://experience.dynamics.com/ideas/idea/?ideaid=162ca15c-c702-ef11-a73c-6045bdb93e93
Maybe I'll have some spare time to get this fixed in the BaseApp Pilot.
In my opinion this is an importaned fix. Alterantively the Plattfrom Team could improve their ApplicationArea handling and support more Characters.

Runtime crashes should be on the short-list (at least if it's a likely scenario). I'll try to repro. Depending on my findings, I will reactivate the bug. I guess it shouldn't be an idea - that just doesn't seem right 😉

@JesperSchulz here is a small repro:
https://github.com/pri-kise/msdyn365bc-application-area-test

Make sure you have an environment where ApplicationArea is enabled (In OnPrem Docker Open Company Information and switch experience tier)
Open PTE Setup Page and Enable "Feature A"
Close your Browser Tab
Open a new Tab (new Session)
The Client will crash now (see output below)

Could not open the company.

While opening company 'CRONUS AG', the following error occured: ''#Basic,#Suite,#RelationshipMgmt,#Jobs,#FixedAssets,#Location,#BasicHR,#Assembly,#ItemCharges,#Warehouse,#Service,#Manufacturing,#Planning,#Dimensions,#ItemTracking,#Intercompany,#SalesReturnOrder,#PurchReturnOrder,#Prepayments,#CostAccounting,#SalesBudget,#PurchaseBudget,#ItemBudget,#SalesAnalysis,#PurchaseAnalysis,#InventoryAnalysis,#Reservation,#OrderPromising,#ADCS,#Comments,#RecordLinks,#Notes,#VAT,#ItemReferences,#BasicEU,#BasicDE,#PTE-XXXFeatureA' is not a valid value for the APPLICATIONAREA function parameter.

The value must be a text string that contains one or more application area tags.
A tag must start with # and can be followed by any combination of letters (Aa-Zz) and numbers (0-9).
Use a comma to separate multiple tags.


[Pinot-Admin][JsonToPinotSchema] "-timeColumnName" is not a valid option

The documentation here mentions the following command:
bin/pinot-admin.sh JsonToPinotSchema -timeColumnName hoursSinceEpoch -jsonFile //tmp/test/test.json -pinotSchemaName json-schema -outputDir /tmp/test -unnestFields=payload.commits

Which throws the following error:
Error: "-timeColumnName" is not a valid option

By reading the comments on this PR:
We already deprecated the TIME field, change it to -dateTimeColumns?

So I guess this should be the way to use it: using -dateTimeColumns.
I'll give this a try (and pass multiple columns).
If it's indeed this, then I guess only the doc is wrong, but I couldn't find where to change it. Is this in another repository?
Thank you.

The argument should be -dateTimeColumnName. Updated the PR description

dateTimeColumnName works.
Should I close? Or are you tracking the issue for updating the pinot-admin CLI help?
Thanks anyway, it works well.

Please update pinot-admin CLI error message as well, it still errors Error: "-timeColumnName" is not a valid option


[MODEL REQUEST] Kosmos-2.5

Kosmos-2.5 is an relatively small (1.37B params), generative model for machine reading of text-intensive images.
Details of model being requested

Model name: Kosmos-2.5
Source repo link: https://huggingface.co/microsoft/kosmos-2.5
Research paper link: https://arxiv.org/abs/2309.11419
Model use case: Kosmos-2.5 is a multimodal literate model for machine reading of text-intensive images. Pre-trained on large-scale text-intensive images, Kosmos-2.5 excels in two distinct yet cooperative transcription tasks: (1) generating spatially-aware text blocks, where each block of text is assigned its spatial coordinates within the image, and (2) producing structured text output that captures styles and structures into the markdown format. This unified multimodal literate capability is achieved through a shared decoder-only auto-regressive Transformer architecture, task-specific prompts, and flexible text representations. We evaluate Kosmos-2.5 on end-to-end document-level text recognition and image-to-markdown text generation. Furthermore, the model can be readily adapted for any text-intensive image understanding task with different prompts through supervised fine-tuning, making it a general-purpose tool for real-world applications involving text-rich images. This work also paves the way for the future scaling of multimodal large language models.

In addition to the full precision F32 model, might a quantized version also be very useful.

Hi @EwoutH, thank you for the feature request and details! I've added it to our list of requested models.


Upload Chinese translation file

I uploaded Chinese translation mods on Steam Workshop，
but I found this troublesome，
and I now upload Chinese translation files for GitHub to solve the duplicate subscription

I have no control over this account, uncortunatelly, and can't do anything this copy of repo. You need to submit the request on gitlab

I didn't find your warehouse
Can you give me a link? Do I need to provide an email address？
Or, what's its name
I'll find it.

I found it

I created the request for it, and if it goes as planned, thanks for your mods, they are useful.

I have no control over this account, uncortunatelly, and can't do anything with this copy of repo. You need to submit the request on gitlab
Although I can copy files by myself

I finished it, and you can see it at gitlab

Ok, thanks, I will check once I have a time (probably this weekend)


"Admin Mode" breaks RPC (Demanded by some games like MTGA)

EDIT: Ok, so it's admin mode that's causing this. I remember MTG Arena demanded I set Discord to admin mode to use voice chat, and so I did. This completely broke RPC for every other game that's not also in admin mode.
(and, off-topic, also breaks drag+drop file sharing)
What can be done about this? Why do some games demand Discord ran as admin? It breaks a TON of things. There needs to be some way to either discourage the use of games encouraging end-users to run Discord as admin OR provide workarounds for those running with admin.

Anyone know what would cause this? Seemed fine earlier, suddenly nothing's happening.
On the live game, I get "Just started playing" that never updates (the default start rpc for known games).
Within Unity, I don't even get that -- just nothing. It used to give me full rpc in Unity, but no longer does.
If others can get it fine, seems like it's just me. What would cause this? Win10.

The only times that Discord need to be run as admin is when, I think, games themselves are running as admin. It should only affect the ability to use push to talk voice mode, as programs can't "listen to" key inputs when programs with elevated permissions are focused if they do not also have elevated permissions.
That's my very rudimentary understanding, at least.
Running as admin should not break Rich Presence, at least as far as I understand. If you open your Discord console, can you confirm that that RPC connection is never happening? Not within game logs, but within the Discord console.
Could I also ask what you mean by MTGA "demanding" Discord be run in admin mode? I play MTGA fairly often myself; is this something their support team told you?

Closing this for cleanup—if anyone is having issues with connection to Discord while running as admin with our new GameSDK, please let us know! You can contact us in the help server at https://discord.gg/discord-gamesdk


Add Icelandic

https://www.researchgate.net/publication/267295926_ALMANNAROMUR_AN_OPEN_ICELANDIC_SPEECH_CORPUS

found lots of good stuff here: https://www.malfong.is/index.php?lang=en
left out three corpora which require you to email some person


Retrieve conditions for an account

Story statement
As a fraud analyst,
I want to be able to retrieve conditions from ArangoDB via the Admin API
So that I can view what blocking and override conditions exist in the system and
so that I can effectively review and monitor compliance and risk management settings within the Tazama system.
Description / Overview
New functionality is being added to the Tazama system to be able to block or override a transaction event evaluation based on the evaluation of conditions against one of the transaction event attributes. The purpose of this user story is to provide a feature to allow a user to submit a request to retrieve specific conditions from the database via an Admin API.
See epic https://github.com/frmscoe/tazama-project/issues/12
Sequence diagram
sequenceDiagram
  participant clientsystem as Client System
  participant tmsapi as Admin API
  participant cache as Cache
  participant DB as DB

  clientsystem->>tmsapi: fetchCondition()
  tmsapi->>DB: fetchCondition()
  DB->>tmsapi: {conditions} list
  DB->>cache: updateConditions(activeOnly)
  tmsapi->>clientsystem: {conditions} list

Acceptance criteria

Create an Admin API that has access to the Tazama database

recommended /v1/admin/event-flow-control/account

Create a REST (GET) endpoint to allow a client system to retrieve conditions in the Tazama graph database by account id

Functionality

The request parameter must be an account id url:port/v1/event-flow-control/account?id=4315e3271f5548c78242c70a7bc1bda7&&schmenm=IBAN&&agt=dfsp001&&synccache=no`
If the account does not exist in the accounts collection in the pseudonyms DB, return an error "Account does not exist in the database"
If the account exists, and there are no conditions, return HTTP Status 204

Parameters:

id: Account identifier
schmenm: Scheme name of the account
agt: proprietary agent identifier
synccache: no/all/active The synccache option determines whether or not the information in the database will also be replicated to cache.  If no or missing, do nothing and return the result.  If all replicate all the conditions for the account to cache.  If active replicate only active conditions for the account to cache. (Remember to truncate the cache for this account)

Response data - account

JSON
{
    "acct": {
        "id": "1010101010",
        "schmeNm": {
            "prtry": "Mxx"
        },
        "agt": {
            "finInstnId": {
                "clrSysMmbId": {
                    "mmbId": "dfsp001"
                }
            }
        }
    },
    "conditions":[
     {
      "condId": "57bccf4497b64cd99e92d0a7f3352d41",
      "condTp": "non-overridable-block",
      "incptnDtTm": "2024-01-01T24:00:00.999Z",
      "xprtnDtTm": "2024-03-03T24:00:00.999Z",
      "condRsn": "R001",
      "usr": "bob",
      "creDtTm": "2024-01-01T24:00:00.999Z",
      "prsptvs": [
        {
          "prsptv": "governed_as_debtor_account_by",
          "evtTp": ["pacs.008.01.10", "pacs.002.01.11"],
          "incptnDtTm": "2024-01-01T24:00:00.999Z",
          "xprtnDtTm": "2024-03-03T24:00:00.999Z"
       }
        {
          "prsptv": "governed_as_creditor_account_by",
          "evtTp": ["pacs.008.01.10", "pacs.002.01.11"],
          "incptnDtTm": "2024-01-01T24:00:00.999Z",
          "xprtnDtTm": "2024-03-03T24:00:00.999Z"
        }
        ]
      },
      {
        "condId": "57bccf4497b64cd99e92d0a7f3352d41",
        "condTp": "override",
        "incptnDtTm": "2024-01-23T24:00:00.999Z",
        "xprtnDtTm": "2024-03-23T24:00:00.999Z",
        "condRsn": "R001",
        "usr": "bob",
        "creDtTm": "2024-01-04T24:00:00.999Z",
        "prsptvs": [
          {
            "prsptv": "governed_as_debtor_account_by",
            "evtTp": ["all"],
            "incptnDtTm": "2024-01-01T24:00:00.999Z",
            "xprtnDtTm": "2024-03-03T24:00:00.999Z"
         }
          ]
        }
    ]
  }

Complete Success Criteria

Retrieve all conditions for the account id

Success response
200 OK
If no account id is provided, return an {UP} status
If the request does not return any data, return a 204 No Content status with empty response body
Error responses
4xx
5xx

BUG: Parameter keys were implemented in the camel case this should not be an issue but with validation emphasizing the camel case since validation is case sensitive this immediately becomes an issue.

Tested


Add support for key=value pairs in annotations

This would enable annotations like
@pkginfo(name="my package", date="2018/3/29", version=2)

duplicate of #99 ?

Seems to be. But the key=value part does not seem to be implemented...
So we should probably reopen that.

IIRC at the time it was decided that full java-style  =  annotations were not needed.  But they should be relatively easy to add; the main concern is not impacting existing uses of simple  annotations.


fix: run prometheus server at port 9153

:tada: This PR is included in version 0.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Tenant is required

When trying to add new role
MembershipRebootIdentityManagerService.cs catches exception on
var group = this.groupService.Create(name);
with message Tenant is required.

Which release are you on? IIRC, this has been fixed on dev.

v1-beta-3

Does your group service do something like this:
https://github.com/IdentityManager/Thinktecture.IdentityManager.MembershipReboot/blob/master/source/Host/Config/CustomGroup.cs#L37

Well, no.
In the source I've downloaded constructor signature is with repo parameter only.
Yeah I've downloaded my source from "Releases" section and that source doesn't include fixes from Jan 14.
b5c54099ec14cd8e8e5c2eb87cdd9aa064eabb55
adb3789f435f2254b8be690b90d51fa64babca80
1cc2b96f1e0a9f9930c986e603e83025468210ec
Getting the latest version did the trick.
Perhaps release source should include those three commits too :)

Yep, I think i fixed it on dev, but forgot to merge. thx.

Ok, looks like this got merged a while back.


Update all examples to use cargo-leptos and patch integrations for latest cargo-leptos support

This is the big one that should address #163 and #122. I've updated the actix and axum integrations to support the latest cargo-leptos release, and to still support wasm-pack.
All of the SSR examples should build with cargo leptos watch without any changes, and the READMEs have been updated to mention the new install method.
Huge thanks to @akesson for developing cargo-leptos!

Yay! This is awesome.
I notice that in the todo_app_sqlite, todo_app_sqlite_axum, hackernews, and hackernews_axum examples there are CSS files included in the source (usually just style.css in the root of the example) but style-file isn't included in [package.metadata.leptos] Should those be added?
Otherwise looks good — I tested all the examples using cargo-leptos and they work great.
I'm pretty sure I can add cargo make build CI support back in using cargo make task dependencies, which I can do in a separate PR.
So, yeah, if you want to add the CSS files (or tell me why not, either way) I'm happy to merge this. And great work!

Yay! This is awesome.
I notice that in the todo_app_sqlite, todo_app_sqlite_axum, hackernews, and hackernews_axum examples there are CSS files included in the source (usually just style.css in the root of the example) but style-file isn't included in [package.metadata.leptos] Should those be added?
Otherwise looks good — I tested all the examples using cargo-leptos and they work great.
I'm pretty sure I can add cargo make build CI support back in using cargo make task dependencies, which I can do in a separate PR.
So, yeah, if you want to add the CSS files (or tell me why not, either way) I'm happy to merge this. And great work!

Yeah, I hadn't changed them over to use cargo-leptos. The last commit should have done so and fixed a few bugs. Should be ready to go!


[1.16.5] Connected Cooking for Blockheads fridges showing doubled amount of items

Steps to reproduce:

Attach an Inventory Connector to a multiblock CFB fridge (formed with two singleblock fridges, and this should be the cause of the problem, maybe the connector treats it as two individual inventories. Singleblock ones work just fine)
Attach a terminal to the connector. (Directly attaching the terminal to the fridge causes no problem, I was doing this cuz I want more fridges in the network)
Insert something into the fridge.
Check the terminal. Items are visually doubled. You can still extract the exact amount of items you've filled in though.

I have seen the same behaviour when using Druidcraft crates, a multiblock storage solution that can be 1 block, 2 blocks, 4 blocks (in a 2x2), or 8 blocks (in a 2x2x2).  My crafting terminal showed the number of items as a multiple of how many crates I had placed in the connected storage (so 1 stack of cobble showed as 64*8=512 items).
However, this only happened when the Inventory Connector was placed directly adjacent to the multiblock storage(s).  If the crates were connected to the storage network by an Inventory Cable Connector, everything worked fine.

Should be fixed in 1.18 and 1.19 versions


update tiflash proxy for unsafe recovery related PRs

Signed-off-by: CalvinNeo<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #4618
Problem Summary:
We need to cherry pick feature "unsave recovery" from TiKV 6.1 in order to avoid panic when doing unsafe recovery.
Releted PR: https://github.com/pingcap/tidb-engine-ext/pull/63
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/merge

/merge

/merge

/run-integration-test


Not proxying packages with unusual versions

Describe the bug

I have tried to npm install on a project, but get an error:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'array-includes'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2019-12-17T11_54_58_562Z-debug.log

To Reproduce

Steps to reproduce the behaviour:
mkdir test && cd test
npm init -y
npm i eslint-plugin-import

Expected behavior

Install succeeds with no errors.
We can see that packages with normal semver version numbers work, but this package relied on a different type of version numbering.
Screenshots

On the server
server: $ docker exec -it verdaccio /bin/sh
verdaccio: $ ls /verdaccio/storage/data/es-abstract
es-abstract-1.13.0.tgz   es-abstract-1.14.2.tgz   es-abstract-1.16.0.tgz   es-abstract-1.16.3.tgz   package.json

Docker || Kubernetes (please complete the following information):

Docker verdaccio tag: verdaccio:4.4
Docker commands: docker-compose up -d
Docker Version 19.03.5

Configuration File (cat ~/.config/verdaccio/config.yaml)
# Based on default docker config file
#
# Do not configure host and port under `listen` in this file
# as it will be ignored when using docker.
# see https://verdaccio.org/docs/en/docker#docker-and-custom-port-configuration
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#

# path to a directory with all packages
storage: /verdaccio/storage/data
# path to a directory with plugins to include
plugins: /verdaccio/plugins

web:
  # WebUI is enabled as default, if you want disable it, just uncomment this line
  #enable: false
  title: Verdaccio
  # comment out to disable gravatar support
  # gravatar: false
  # by default packages are ordercer ascendant (asc|desc)
  # sort_packages: asc

auth:
  htpasswd:
    file: /verdaccio/storage/htpasswd
    # Maximum amount of users allowed to register, defaults to "+infinity".
    # You can set this to -1 to disable registration.
    max_users: 10

security:
  api:
    jwt:
      sign:
        expiresIn: 90d
        notBefore: 1
  web:
    sign:
      expiresIn: 7d
      notBefore: 1

# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/
    cache: true # default: true
    maxage: 90d

packages:
  "@{my-company}/*":
    # scoped packages
    access: $all
    publish: $authenticated
    unpublish: $authenticated
    # proxy: none for offline

  # '@*/*':
  #   # scoped packages
  #   access: $all
  #   publish: $authenticated
  #   unpublish: $authenticated
  #   proxy: npmjs

  "**":
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish/publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated
    unpublish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

middlewares:
  audit:
    enabled: true

# log settings
logs:
  - { type: stdout, format: pretty, level: http }

Environment information

Debugging output

$ NODE_DEBUG=request verdaccio display request calls (verdaccio <--> uplinks)
$ DEBUG=express:* verdaccio enable extreme verdaccio debug mode (verdaccio api)
$ npm -ddd prints:
$ npm config get registry prints:

Additional context

Hm, seems<EMAIL_ADDRESS>was never stored as published version on the verdaccio instance.

I had a quick peek through the code to find out if there was something that filtered out versioning that wasn't strictly semver.

Did already try to clear the npm cache and try again?

I discovered this when setting up a new machine, so there was no cache.
Unless you mean on the server?

The versions are resolved by the node package manager, there is no logic for that within Verdaccio and only reacts on what the manager request.

I did some more testing by spinning up a fresh verdaccio instance on the server with the same config and requesting specifically the<EMAIL_ADDRESS>package. It all worked ok.
So maybe the server instance errorred when getting the tar, but thinks it has it?

Ok, after a bit more testing, I can't reproduce the issue. It looks like the issue as described is not the issue and something else happened.
Suggest closing the issue.

Hi @enjunear,
thanks for the feedback. We will close this issue for now. If there is anything new regarding this please let us know.


Fixed typos and spelling in the russian translation.

Can you please include another translation for recovered? It's Discharged from hospital in en now

Feel free to suggest something, sorry that none of us speak Russian so was unable to translate this when I did the other two.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Artem Borisov<EMAIL_ADDRESS>Sent: Tuesday, April 7, 2020 2:43:46 PM
To: okestonia/koroonakaart<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [okestonia/koroonakaart] Fixed typos and spelling in the russian translation. (#99)
Can you please include another translation for recovered? It's Discharged from hospital in en now
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/okestonia/koroonakaart/pull/99#issuecomment-610338565, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE7MKR3PZHCUHCN6EQTJJQDRLMGXFANCNFSM4MC7TAKQ.

I changed "Recovered" to "Discharged from hospital". Though it sounds not natural even in English, so probably makes sense to have "Recovered" there.

The main problem, I can see with recovered is that it's not really recovered people but only those who got hospitalized and discharged from hospital later.


Add some runtime safety checks

What kind of change does this PR introduce?
I ran into some errors within webpack while upgrading a project from v4 to v5, most likely due to its configuration options. Adding some safety checks resolves the errors.

Did you add tests for your changes?
Nope :)

Does this PR introduce a breaking change?
No.

What needs to be documented once your changes are merged?
No documentation required

@gr0uch  What kind of errors you ran into please elaborate?

These problems are probably caused by some other problems. Adding safety check would hide these errors, so we don't want to do that

These problems are probably caused by some other problems. Adding safety check would hide these errors, so we don't want to do that


support of answerExpression

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1039
Description
Clear and concise code change description.
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)
Screenshots (if applicable)
Checklist

[ ] I have read and acknowledged the Code of conduct.
[ ] I have read the Contributing page.
[ ] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[ ] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[ ] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[ ] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

Closed with reference to https://github.com/google/android-fhir/pull/1434


stopAutoplay resets timer, while it's supposed to function as a pause.

This is a:

[x] bug

Swiper Version: 3.4.2

Platform/Target and Browser Versions: Windows, Chrome, MacOS

What you did
 $(this.element).on({                 mouseenter: function () {                     productImageSlider.stopAutoplay();                     swiperNextButtonCircleDiv.toggleClass('pause');                 },                 mouseleave: function() {                     productImageSlider.startAutoplay();                     swiperNextButtonCircleDiv.toggleClass('pause');                 }             });
Expected Behavior
When I hover, the slider has to stop. If the autoplay speed is set to 5000ms and I hover at 2500ms and afterwards I leave my mouse from the element, the new slide animation will start in 2500ms.
Actual Behavior
When I hover at 2500ms and I remove my mouse from the element, I have to wait another 5000ms for the next slide animation to start. When I hover at 4000ms, I also have to wait another 5000ms for the next animation slide to start.

Because it called stop. Stop means stop, no pause


add flash nuke-BOARD for iMX RT port

adding flash nuke to build system

this worked on a metro m7!

this worked on a metro m7!

thanks for testing, CI failed miserably. Will wrap it up later on.

merged this for now, after giving it more thought, I think we should have an erase-app which is more useful and much less dangerous than an erase-all (chip erase). What is useful of blank flash. Will do another PR for all port erase-firmware target much like the update- one.


Data preparation about S3DIS step 3

Hello, I think I need some help with data preprocessing.
I have completed the first two steps of preparation for S3DIS. The generated numpy files are stored in ./datasets/S3DIS/scenes/ by default successfully.
I run 'python ./preprocess/room2blocks.py --data_path=./datasets/S3DIS/scenes/' under the attMPTI folder. It show :
0 scenes to be split...
Total samples: 0
I run 'python room2blocks.py --data_path=../datasets/S3DIS/scenes/' under the preprocess folder. It show:
0 scenes to be split...
Total samples: 0
I don't understand why this problem occurs, when the npy file has already been generated into the default folder.

Hi. Thanks for pointing out this problem.
It happened because the collected npy files should be put under ./datasets/S3DIS/scenes/data folder.
Please check the latest version with the correct save path for both datasets:
https://github.com/Na-Z/attMPTI/blob/7ca79ab928581cfd630d7161fcf728c6fda05bec/preprocess/collect_s3dis_data.py#L70-L71
https://github.com/Na-Z/attMPTI/blob/7ca79ab928581cfd630d7161fcf728c6fda05bec/preprocess/collect_scannet_data.py#L120-L121

Thank you for your reply, but the problem doesn't seem to be solved.
I've put the npy files under ./datasets/S3DIS/scenes/data  and run
'python room2blocks.py --data_path=/attMPTI-main/datasets/S3DIS/scenes/data/' under the preprocess folder,
It show:
0 scenes to be split...
Total samples: 0

Have u tried python ./preprocess/room2blocks.py --data_path ./datasets/S3DIS/scenes/ under the attMPTI?

Thank you very much.
I tried the instruction you said and it works.


Automatically use test suite on Travis

This pull request makes Travs-CI run the automated test suite, which makes a lot more sense than running the (currently broken) examples.
(There are an embarrassing number of commits to debug the .travis.yml inputs, but I couldn't work out how to test them locally.)

I assume you didn't mean to ask to merge this branch into thickness-consistency, as opposed to master.

Ah. No. Indeed. It should have been asking to merge with master.


[stable/kong] Kong prometheus servicemonitor label

Prometheus operator uses a label selector on the ServiceMonitor to determine which ServiceMonitor to pick up (https://github.com/coreos/kube-prometheus/pull/16#issuecomment-305933103).  The label can be custom to each prometheus-operators usage.  This PR adds the ability to add in a custom label on the ServiceMonitor.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@sekka1
Please resolve README.md conflict. Thank you.

@zanhsieh fixed the conflict.

/ok-to-test


Plans on creating a full LSP

Hey,
I was thinking about adding a plugin for linting the code using ruff for the python language server (https://github.com/python-lsp/python-lsp-server) but it seems like there already exists a language server using ruff, namely ruffd by @Seamooo.
I am wondering whether the plan for the ruffd language server is to become a full-blown LSP server according to the Microsoft specification or if the goal is to be integrated into existing LSP's?

My current thinking is that ruffd will evolve into a full-blown LSP server (it already is an LSP server following that spec, IIRC, though maybe it needs some more features).
The vscode-ruff plugin also implements Ruff into an LSP, though that's based on pygls as per the VS Code Python extension template, and there are plans to migrate that plugin to ruffd.
Does that make sense?

Sounds great, I will ask the python-language-server maintainers in the meantime if they are interested in a plugin for linting purely.

Thanks! Cross-posting for posterity: https://github.com/python-lsp/python-lsp-server/issues/299

Will gladly ditch pyright for ruffd once it's mature


Update crate release to 0.2.1

@aslanbekirov Are you still working on changes here or is this ready for review?

@aslanbekirov any update here?

closing out because of inactivity.
let me know if this PR should be reopened again.
cc / @joerg84

hi @ryadav88,
aslan doesn't work at Crate anymore. We are not sure of the state of those changes if they still apply. Therefore it is okay for us to keep it closed. If we pick it up again we reopen this ticket or open a new one.
Cheers, Johannes

@joemoe sounds good. thanks for the update


Could not select scenario [short-term]

[16:06:04] E/launcher - Could not select scenario [short-term]
[16:06:04] E/launcher - Error: Could not select scenario [short-term]
at process.on (C:\workspace\ngapimock-test\node_modules\protractor\lib\launcher.ts:187:50)
at emitOne (events.js:96:13)
at process.emit (events.js:188:7)
at process.emit (C:\workspace\ngapimock-test\node_modules\source-map-support\source-map-support.js:439:21)
at process._fatalException (bootstrap_node.js:296:26)
[16:06:04] E/launcher - Process exited with error code 199
[16:06:04] E/launcher - Could not select scenario [short-term]
[16:06:04] E/launcher - Error: Could not select scenario [short-term]
at process.on (C:\workspace\ngapimock-test\node_modules\protractor\lib\launcher.ts:187:50)
at emitOne (events.js:96:13)
at process.emit (events.js:188:7)
at process.emit (C:\workspace\ngapimock-test\node_modules\source-map-support\source-map-support.js:439:21)
at process._fatalException (bootstrap_node.js:296:26)
[16:06:04] E/launcher - Process exited with error code 199

Hi @mr-mateus
Can you please post your script that selects the scenario and the json file of the api you want to change?
Based on the readme you should have something like in here

€ 19.250,00

€ 19.250,00
)

Hi @wswebcreation.
I have cloned the repository and followed the readme.md.
spec.ts
`
import { NgApimockTestPage } from './app.po';
import { browser } from 'protractor';
describe('ng-apimock-test App', () => {
let page: NgApimockTestPage;
let ngApimock: any = browser['ngApimock'];
beforeEach(() => {
page = new NgApimockTestPage();
});
it('should display one instalment', () => {
ngApimock.selectScenario('api/quote-overview', 'short-term');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(1);
});
it('should display three instalments', () => {
ngApimock.selectScenario('api/quote-overview', 'flexiloan-3');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(3);
});
it('should display six instalments', () => {
ngApimock.selectScenario('api/quote-overview', 'flexiloan-6');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(6);
});
it('should show an error', () => {
ngApimock.selectScenario('api/quote-overview', 'failed');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(0);
expect(page.getError()).toBeTruthy();
});
});
`
`
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
useAllAngular2AppRoots: true,
allScriptsTimeout: 11000,
specs: [
'./e2e/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
},
directConnect: true,
// baseUrl: 'http://localhost:4200/',
framework: 'jasmine',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
beforeLaunch: function() {
require('ts-node').register({
project: 'e2e/tsconfig.e2e.json'
});
},
onPrepare() {
browser.ngApimock = require('./.tmp/ngApimock/protractor.mock.js');
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
};
`

Hi @mr-mateus
Can you also post an example of the JSON? I'm curious about the name-field of the JSON file. You    now have a / in it. It could be that that is the problem.

Hi,
This is the scenario
short-term.json
{
"quote": {
"principal": 300,
"interest": 84.32,
"totalToRepay": 384.32,
"instalments": [{
"paymentDate": "2017-05-01",
"paymentAmount": 384.32
}],
"term": 35
}
}
quote-overview.json
{
"expression": "api/quote-overview",
"method": "GET",
"name": "api/quote-overview",
"isArray": false,
"responses": {
"short-term": {
"default": true,
"status": 200,
"headers": {
"content-type": "application/json"
},
"file": "mock_data/quote-overview/short-term.json"
},
"flexiloan-3": {
"status": 200,
"headers": {
"content-type": "application/json"
},
"file": "mock_data/quote-overview/flexiloan-3.json"
},
"flexiloan-6": {
"status": 200,
"headers": {
"content-type": "application/json"
},
"file": "mock_data/quote-overview/flexiloan-6.json"
},
"failed": {
"status": 401
}
}
}
2017-10-31 3:27 GMT-02:00 Wim Selles<EMAIL_ADDRESS>
Hi @mr-mateus https://github.com/mr-mateus
Can you also post an example of the JSON? I'm curious about the name-field
of the JSON file. You now have a / in it. It could be that that is the
problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mdasberg/ng-apimock/issues/29#issuecomment-340663940,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARhBXUqOEqHdfcSdjQ0QFHFdoAna1cVvks5sxq-sgaJpZM4QLngS
.

@mr-mateus
Try camelCaseing your name and leave out the / => "name": "apiQuoteOverview" and then in your Protractor tests do this
ngApimock.selectScenario('apiQuoteOverview', 'short-term');

That should work

Hi,
I tried, but get the same problem...
Could not select scenario [short-term]
[13:21:15] E/launcher - Error: Could not select scenario [short-term]

at process.on
(C:\workspace\ngapimock-test\node_modules\protractor\lib\launcher.ts:187:50)*
at emitOne (events.js:96:13)*
at process.emit (events.js:188:7)*
at process.emit
(C:\workspace\ngapimock-test\node_modules\source-map-support\source-map-support.js:439:21)*
at process._fatalException (bootstrap_node.js:296:26)*
[13:21:15] E/launcher - Process exited with error code 199

import { NgApimockTestPage } from './app.po';
import { browser } from 'protractor';
describe('ng-apimock-test App', () => {
let page: NgApimockTestPage;
let ngApimock: any = browser['ngApimock'];
beforeEach(() => {
page = new NgApimockTestPage();
});
it('should display one instalment', () => {
ngApimock.selectScenario('api/quoteOverview', 'short-term');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(1);
});
it('should display three instalments', () => {
ngApimock.selectScenario('api/quoteOverview', 'flexiloan-3');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(3);
});
it('should display six instalments', () => {
ngApimock.selectScenario('api/quoteOverview', 'flexiloan-6');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(6);
});
it('should show an error', () => {
ngApimock.selectScenario('api/quoteOverview', 'failed');
page.navigateTo();
expect(page.getInstalments().count()).toEqual(0);
expect(page.getError()).toBeTruthy();
});
});
2017-10-31 8:06 GMT-02:00 Wim Selles<EMAIL_ADDRESS>
@mr-mateus https://github.com/mr-mateus
Try camelCaseing your name and leave out the / => "name":
"apiQuoteOverview" and then in your Protractor tests do this
ngApimock.selectScenario('apiQuoteOverview', 'short-term');
That should work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mdasberg/ng-apimock/issues/29#issuecomment-340715881,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARhBXYazus49T4RobHlzIBXHyADzwjoQks5sxvEcgaJpZM4QLngS
.

@mr-mateus
You are still using a different name in your script, I mean you are still using api/quoteOverview as a reference to the API. The name of the scenario shouldn't be the problem

@wswebcreation nice catch. The expression is converted to a regular expression, hence using a / will not work

Hi,
I searched but didn't find the meaning of error code 199. Can you help me
to understanding?
I have two computers... one the protractor test works but the other give me
the code 199.
2017-10-31 17:31 GMT-02:00 Mischa Dasberg<EMAIL_ADDRESS>
@wswebcreation https://github.com/wswebcreation nice catch. The
expression is converted to a regular expression, hence using a / will not
work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mdasberg/ng-apimock/issues/29#issuecomment-340881536,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARhBXe5vH6FR6nRwG6R6eUNyDT2sVaOTks5sx3WjgaJpZM4QLngS
.

any updates?

Ahh sorry, it seems I've deleted the repo referenced in the link above. From what I can remember, the cause of this error was protractor HTTP requests to ng-apimock endpoints using the app port number rather than the port number ng-apimock is being served on.
The fix was to create a proxy rule for /ngapimock/* endpoints to use the correct port number.


Preparing the configuration file for running MRI_GBM_Postop_FV_5p model in Colab Notebook

Hi Could you please get me a quick guidance to update the https://colab.research.google.com/gist/dbouget/f87576cdae559ce2a328f0ba7f60828d/02_run_simple_reporting.ipynb notebook ? as I'm interested in running the post-op model ( MRI_GBM_Postop_FV_5p) and I'd like to know how to set up rightly the respective pipeline.json file in. I've already tried the GUI releases, but I'd like to setup it accordingly for running in another server with better capabilities.
So far, I'm grateful with this great tool.
Best
GP

Oh thank you so much for your timely and quick reply. Works pretty good with the Pre-op Post-op pair.
Just  a more specific question about it:
Even though we should include the pre-surgical tumor burden to get better estimation of the post-surgery, I'm dealing with a mix of MRI collection where Pre-operative scans are not always available. In those case May I comment and skip the steps involving Pre-op MRI ? For example; going over these full blocks where I can find this
pipeline_json[step_str]["fixed"]["sequence"] = "T1-CE"
pipeline_json[step_str]["description"] = "Registration from T1-CE (T0) to T1-CE (T1)"
pipeline_json[step_str]["inputs"]["3"]["timestamp"] = 0
pipeline_json[step_str]["inputs"]["3"]["sequence"] = "T1-CE"
pipeline_json[step_str]["inputs"]["3"]["labels"] = None
pipeline_json[step_str]["inputs"]["3"]["space"] = {}
pipeline_json[step_str]["inputs"]["3"]["space"]["timestamp"] = 1
pipeline_json[step_str]["inputs"]["3"]["space"]["sequence"] = "T1-CE"
Thanks
GP

I've updated the README to the Raidionics model zoo. There are 5 different postop glioblastoma segmentation models, each trained for a specific set of inputs.
If you need to run a model on postop MR scans only, you can look at the following models: MRI_GBM_Postop_FV_1p, MRI_GBM_Postop_FV_2p, and MRI_GBM_Postop_FV_3p. There is a pipeline.json file inside each model folder, where you can copy the actual pipeline required for running the segmentation with the specific model.

Hi
I've been working a time ago with many of the Colab notebooks added in "processing backend for performing segmentation and computation of standardized report (RADS)" coming up from this request by the way.  It has been quite useful
I just wondering if I might get the BRATs-like output (Edema, enhancing, necrosis) using just the post-operative scans using the MRI_GBM_Postop_FV_1p or FV_3p, instead of the whole tumor mask, does it make sense now?
Thanks, a really appreciate your help

@gusSCIMOV AFAIK, there has not been trained such a model for postoperative scans (yet). But I know @dbouget is working on expanding the model to include more classes in the postoperative case. However, I am not sure what the status is on that. Likely still a WIP.
I believe @dbouget is on holiday till Tuesday. He will likely not reply until then at the earliest.

NOTE: Next time I recommend making a separate issue and referring to this old issue (if relevant) instead of extending this thread. Making a new issue for this, makes it easier for us to track "unsolved" issues and for others to potentially find solutions to their own problems. I hope you understand :]

Sure, it would be great if there is some progress in that expanded model


Brightness sometimes changes on window switching

Checklist

[x] I have searched for existing issues
[x] I have looked through the wiki
[x] I have updated MonitorControl to the latest version

Describe the bug
My monitor brightness sometimes changes from a low brightness that I have set to a higher/maximum brightness when I switch to another window(alt-tab).
Expected behavior
Brightness shouldn't be changed without my control.
Screenshots
/
Additional context
/
Environment Information (please complete the following information):

macOS version: 11.1
MonitorControl version: 2.1.0
Monitor(s): PHL 224E5

Well, to be honest I have no idea why is that happening. Do you experience the same without MonitorControl being used? Also can you please try out the new 3.0.0 version and report back if the issue persists? Thank you!

I'll close this issue for now but please feel free to comment if there is anything we can do. If the issue persists, we can reopen this issue! Thank you!


a vulnerability CVE-2018-1109 is introduced in @bentley/build-tools

Hi, @imodeljs-admin, a vulnerability CVE-2018-1109 is introduced in @bentley/build-tools via:
●<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>➔<EMAIL_ADDRESS>However, cpx is a legacy package, which has not been maintained for about 5 years.
Is it possible to migrate cpx to other package to remediate this vulnerability?
I noticed several migration records in other js repo for cpx:

in commitizen, version 2.10.1 ➔ 3.0.0, remove cpx via commit
in @s-ui/studio, version 10.12.0 ➔ 10.13.0, migrate cpx to copyfiles via commit
in taninsam, migrate from cpx to cpx2 via commit

Thanks.

Hi @ayaka-kms, most of the security issues surrounding cpx are all around if you're going to use cpx in production and pass user data to it (which we do neither with the build-tools package). We've investigated using one of the forks of it, some of the ones you mentioned, that removes the security issues but the operational risk, of moving to a much less used/known package, was higher than that of the security risk of sticking with the current and widely popular cpx.
That being said, it does appear a front-runner has come out as the winner to replace cpx, ncp. We tried to use that package previously, ~2 years ago and there were a few bugs (although can't recall what they were off the top of my head, probably something monorepo related) so we had held off from updating.
We can certainly take another look at updating in the future and I'd definitely suggest no one to use cpx in production scenarios.


Unsupported operation 'hincrbyfloat'

Please add support for this operation (it is missing in 0.1.15)

There is a merge request that fixes this - https://github.com/fppt/jedis-mock/pull/63

Merge request merged, so this is now fixed.


Clarification on ExecCompAPI

In the ExecCompAPI, is the 'Year' field referring to calendar year or fiscal year? The documentation doesn't make this clear.

The year field refers to the year published in the respective proxy statement.


create a savedstateflow-hilt module that automatically scopes SavedStateFlowHandle to the hilt ViewModelScope

#10

Can we add tests for the injection? Would it make sense?

@KaustubhPatange I was thinking about adding tests for this injection, although since Hilt is a compile time safety dependency injection framework and not runtime. I was thinking the compilation of the hilt sample would be sufficient enough as a test? Otherwise if we feel the need to test, is this possible to cover in a unit test or write an espresso test for the sample perhaps?

@plusmobileapps
Through the unit test, it is not possible. But I get your point a sample app if compiled through CI is more than enough to see if the injection works.


重命名保持名字和类型一致

保持和ObjectWriterModule的类型一致

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@wenshao 刚好看到，尝试在fastJson的第一个PR:)

Codecov Report

Merging #285 (8cd2a9f) into main (55c775e) will decrease coverage by 1.75%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main     #285      +/-   ##
============================================
- Coverage     70.44%   68.69%   -1.76%
+ Complexity     9657     9468     -189
============================================
  Files           445      445
  Lines         49033    48880     -153
  Branches      10085    10046      -39
============================================
- Hits          34540    33576     -964
- Misses        10303    11177     +874
+ Partials       4190     4127      -63

Impacted Files
Coverage Δ

core/src/main/java/com/alibaba/fastjson2/JSON.java
85.48% <0.00%> (-0.44%)
:arrow_down:

...n/java/com/alibaba/fastjson2/util/UnsafeUtils.java
24.63% <0.00%> (-46.38%)
:arrow_down:

...main/java/com/alibaba/fastjson2/util/JDKUtils.java
40.25% <0.00%> (-30.07%)
:arrow_down:

...va/com/alibaba/fastjson2/reader/ValueConsumer.java
16.66% <0.00%> (-16.67%)
:arrow_down:

...in/java/com/alibaba/fastjson2/JSONReaderASCII.java
65.28% <0.00%> (-15.94%)
:arrow_down:

...main/java/com/alibaba/fastjson2/JSONReaderStr.java
22.60% <0.00%> (-12.87%)
:arrow_down:

...java/com/alibaba/fastjson2/JSONWriterUTF8JDK9.java
73.41% <0.00%> (-8.87%)
:arrow_down:

...in/java/com/alibaba/fastjson2/JSONWriterJSONB.java
51.95% <0.00%> (-6.14%)
:arrow_down:

.../main/java/com/alibaba/fastjson2/util/IOUtils.java
55.06% <0.00%> (-5.07%)
:arrow_down:

...in/java/com/alibaba/fastjson2/JSONWriterUTF16.java
70.97% <0.00%> (-4.54%)
:arrow_down:

... and 43 more

Continue to review full report at Codecov.

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

请签署CLA

@wenshao 我已经通过点击上面license/cla，并同意了但是还是显示pending不知道是不是要先close重新提交才行了。

通过点击这个入口感觉不会自动更新签名


i10n

Hi! Is there a possibility to contribute translations of the eligibility assessment?

For now, we don't have the codebase in order for it. However, we have been talking about doing it on one of our codebases just to get some more hands-on experience for it. Which language would you be interested in contributing to?

German. Maybe, copiying config.yml and deploying multiple instances via CI might be the easiest, low-tech solution. 🤔

Good point. Since this site contains just a small amount of text and is not likely to have many changes to it, that might be a way forward.
It might be good for you to know that I'm out on holiday for a couple of weeks and my colleague @ericherman will also be taking some time off, so we are unlikely to have a deep conversation about this before August ends, but we'll keep this issue open.

Hi @Ainali! Any news on this topic? I'd be happy to provide a German translation of the config file if that helps. :)

Apologies for the long delay.
We would welcome a German translation, although we have not yet looked into how to support it properly.
We need to investigate what library would be good to use, and having the translated texts would drive that need.
Hopefully, translation support will be straight-forward to add and to contribute upstream.
If you have library recommendations we would happily look at those.
Regardless, if you open a pull-request with the German translations, I'm confident that we will be able to adapt that to whatever format is required in the end.

Contributions for i18n are welcome!
I just added german to this file: https://git.sr.ht/~bzg/choices/tree/main/item/src/cljs/choices/i18n.cljs


Restructure docs to match style template

Description of problem
Cartographer docs use versioning but currently are not following a format where the most recent docs are displayed by default or have a naming convention.
Also is necessary to define the backward support policy and inform that properly on stable and deprecated version docs
Proposed solution

Locate the most recent version docs in a latest folder?
Check-in new changes to a main folder in the docs structure?

Example
See Velero docs structure as a reference: https://github.com/vmware-tanzu/velero/tree/main/site/content/docs
Also the Velero docs on how to communicate unsupported docs versions: https://velero.io/docs/v1.3.0/

This is done.


Find out about Mohamad's datasets

There are things besides HMOF we should be using to train our generators.

Closing this reference for now


impl try_from Range for textRange

This makes sense, but we also need to check that start <= end.
not sure what’s the best error type here, I’d rather avoid introducing a special error type just for this…

the error type is inherited from impl TryFrom<usize> for TextSize {


Lexical or Preprocessor issue

Steps to reproduce the behavior
This is my package config (We use Sentry so I had to do this):
"xcodeSchemes": {
    "Debug": [
      "DebugCustomer"
    ],
    "Release": [
      "ReleaseCustomer"
    ],
    "projectDirectory": "ios",
    "settings": {
      "fix-script": {
        "nodeCommand": "export SENTRY_PROPERTIES=sentry.properties; $NODE_BINARY ../node_modules/@sentry/cli/bin/sentry-cli react-native xcode"
      }
    }
  }

I have created two configurations for a customer that are a copy of Debug and Release. Then one scheme pointing to those configs. If I try to run the regular projects all runs fine, but the new one fails as if the package it is not doing what it is supposed to.
I am running the postinstall script manually yet the error is still there. Even after cleaning up the project and restarting xCode.
One thing I noticed is that sometimes if I run the script multiple times it would say that it is adding configurations to some packages like it could ot modified them at first.
Expected behavior
Project -> Run works as expected and I can load the build
Actual behavior
Project does not compile.
RNMail Group
Lexical or Preprocessor Issue Group
/XXXXX/node_modules/react-native-mail/RNMail/RNMail.h:2:9: 'React/RCTBridgeModule.h' file not found
XXXXX/node_modules/react-native-mail/RNMail/RNMail.m:2:9: In file included from /XXXXX/node_modules/react-native-mail/RNMail/RNMail.m:2:
RNStoreReview Group
Lexical or Preprocessor Issue Group
/XXXX/node_modules/react-native/React/Base/RCTBridgeModule.h:10:9: 'React/RCTDefines.h' file not found
/XXXX/node_modules/react-native-store-review/ios/RNStoreReview.m:1:9: In file included from /XXXX/node_modules/react-native-store-review/ios/RNStoreReview.m:1:
/XXXXX/node_modules/react-native-store-review/ios/RNStoreReview.h:2:9: In file included from /XXXX/node_modules/react-native-store-review/ios/RNStoreReview.h:2:

Using RN 0.55.4 and RNSM 1.0.5.

Well, a little update. At first it was failing because when I duplicated the Scheme, some settings were wrong.
I had to go into that scheme, build setting and do two things: add React before my project and also disable the parallel building.
It it building however it shows this error, which I am not sure if this means it is working or not:
error: No such file or directory (os error 2)
Debug build!
Skipping bundling in Debug for the Simulator (since the packager bundles for you). Use the FORCE_BUNDLING flag to change this behavior.
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure


How can I get the labels of the segment mask?

from keras.preprocessing import image
from segmentation_models import Unet
import numpy as np
import imageio

model = Unet(backbone_name='resnet152',
             encoder_weights='imagenet', freeze_encoder=True)
model.compile('Adam', 'binary_crossentropy', ['binary_accuracy'])

img = image.load_img('seg_images/image1.png')
x = image.img_to_array(img)
x = np.expand_dims(x, axis=0)

mask = model.predict(x)
mask = mask.astype('uint8')
imageio.imwrite("result.png", mask[0])

First, the mask is all black. But assuming it works, how can I get the various labels for each segment?

Hi @shamoons
If I understand you correctly:
Round mask - mask.round()
0 - is background
1 - is target class

Thanks for the quick reply @qubvel . What about for multiple classes in an image? And do I have to train it or can I use a pretrained model?

This repo does not contain pretrained segmentation models (only encoders are pretrained), so you have to train network for any task.
For multiclass output is a 4D tensor of shape (batch, h, w, n_classes), so in each channel you will have a class.

Are there any compatible pretrained segmentation models for cityscape?

What do you mean compatible? Maybe someone has already trained one of the models, but I dont have such weights.

Thanks

https://github.com/tensorflow/models/blob/master/research/deeplab/g3doc/cityscapes.md
pretrained mobilenet v2 and xception, hope it helps

How would I load it?


Preserve pre-configured column titles

I'm pulling a CSV from a REST interface that includes a list of field names as headers. I've built a column configuration array with human-friendly titles but those titles get overwritten by the CSV load. This PR allows developers who have pre-configured a title to keep it while still keeping the default configurations provided when csvHeaders is true.

Thanks


Add files via upload

Hey there!, Thanks for submitting a PR to this repo
Please complete the following checklist for your PR to be approved. Mark the items by adding an x.
Example:  - [ ] Mark me as completed
To mark: - [x] Mark me as completed

[x] My Pull Request adheres to the Contribution guidelines.
[x] I have added readme.md and solution files in the appropriate folder.
[x] The solution I have given is my own and not plagiarized in any form.
[x] My solution passes all the testcases.
[x] I have properly indented and documented my solution using comments.

If any of the above is unmarked, please make the necessary changes and then mark them so that you're PR can be approved and merged.
issue #30

Hacktober Fest label is missing @Vishruth-S


Is this under active development?

There are not a lot of commits since 2017 and just seems to be related to README.md
Is this project actively being developed / supported or is it considered dead?
I'm also looking for documentation that describes the classes and methods. While the Code Project documentation is extensive in examples I'm struggling to work out what a lot of the methods actually do.

Was wondering the same, we use it quite heavily, and was wondering if anything will happen to it in the future.
Was thinking of forking... Would be good to know from @Giannoudis what the future of this Lib is...

@Jetski5822 Thanks for your request. No, I don't do further working on this repository. Your are welcome to continue my work.

Has anybody forked this repos in the meanwhile? Is there a fork which is under active development?
@tjmoore @Jetski5822
Or would be NodaTime the better alternative?

I think this is a pretty good library, maybe @Giannoudis can pass the torch to new maintainers? So we don't have a forking hell
Porting this to .NET Standard 2.X, 2.1 or the upcoming .NET 5 would be very interesting.

@Jossec101  I agree.
A port to .Net standard and .Net Core I did already try locally. Did just work fine.

For professional reasons I unfortunately do not have the time to continue to maintain this library. It would be great if someone would continue my work. I would be happy to support the future owners as much as possible.

I would definitely contribute to this this repository. It fit's very good to my current project.
But I feel not experienced enough to approve pull requests. Is there somebody, who would like to do it?


Nested Components

Hi @yuanchuan . First off, Nice one for svelte projects. I wish to know how nested components in the components folders are handled by this. Are they namespaced into the component name like unplugin-vue-components ?

Currently the folder names are being ignored but I've planned to keep them as namespaces in next version