a scan with range does not return the expected items.

I was looking for a way too return multiple documents that contain the same nr and thought a RangeInclusive would be a good fit like so:
// does not return documents with nr = 1
let _docs = r.scan().secondary(DocumentKey::nr)?.range(1..=1).collect::<Result<Vec<Document>,_>>()?;

// returns (all the added) documents 0,1,2,3
let _docs = r.scan().secondary((DocumentKey::nr)?.range(0..=1).collect::<Result<Vec<Document>,_>>()?;

// returns no documents
let _docs = r.scan().secondary((DocumentKey::nr)?.range(1..=2).collect::<Result<Vec<Document>,_>>()?;

// returns no documents
let _docs = r.scan().secondary((DocumentKey::nr)?.range(1..2).collect::<Result<Vec<Document>,_>>()?;

// returns no documents
let _docs = r.scan().secondary((DocumentKey::nr)?.range(1..).collect::<Result<Vec<Document>,_>>()?;

// returns (all the added) documents 0,1,2,3 like expected
let _docs = r.scan().secondary((DocumentKey::nr)?.range(0..).collect::<Result<Vec<Document>,_>>()?;

// returns (all the added) documents 0,1,2,3 like expected
let _docs = r.scan().secondary((DocumentKey::nr)?.range(..10).collect::<Result<Vec<Document>,_>>()?;

// returns (all the added) documents 0,1,2,3 (so including nr 3!)
let _docs = r.scan().secondary((DocumentKey::nr)?.range(..3).collect::<Result<Vec<Document>,_>>()?;

Document has a #[secondary_key] pub nr:u64  for reference.
I'll be looking into the code to see if I can figure out where it goes wrong as I'd love too use this project in a personal project of mine but I'd like your help fixing this query issue.  Thank you in advance.

created a pull request with some tests that demonstrate the problem #209. They seem to only fail for non unique indexes like the ones I was using and in different ways than described above. I looked into why this would be the case but I have not yet been able to figure this out. Redb also doesn't seem too test too much for this but I'm not at all familiar with it. I kindly ask you to take a look at it.

Thank you @C4Phoenix for your example. You have pointed out a (big) problem! I will work/investigate to resolve this issue and find a solution. I will keep you informed.

A fix is in progress here https://github.com/vincent-herlemont/native_db/pull/214. I still have some tests to run to ensure there are no regressions.

Thanks, but unfortunately, the fix I proposed doesn't work... I'll think about a more sustainable solution.

@C4Phoenix It's good, I finally have a solid solution (see this comment). You can retest on the main branch. I added the tests that seemed relevant to me, but feel free to add more if you'd like.
The fix will be available in version 0.8.0 because we had to change the data representation in the database. I still have some refactoring to do, so I'm not going to release it just yet.


How to change background blur view properties?

Hello there, I want to show black blurred view instead of white, how to do that?
Thank you.

I think you need to change SPPermissionsGradeBlurView, but views is private and you can't customise it. If it still valid for you, let me know for change protect level for you.


NPO token fix

This fixes #921 since npo implemented a token changer Why I have no clue but this should fix it

Thanks!


Re-translations - developer metadata

To solve a re-translation issue, you can store translated pairs as developer metadata. In the DeepLTranslate() function, you should check if the "sourceLang|targetLang|input" key already exists, if so, there is no need to translate and the metadata value for the key can be used. If the key doesn't exist, the translation should be performed and the result stored as the metadata with the appropriate key. Similarly for glossaries. There could be a macro to delete all developer metadata to enable re-translation.
Small example to store and read metadata:
  var sheet = SpreadsheetApp.getActive();
  var row = sheet.getRange("1:1");
  row.addDeveloperMetadata("en-GB|de|Hello world!", "Hallo Welt!");
  var test=row.getDeveloperMetadata()[0];
  console.log(test.getKey());
  console.log(test.getValue());

Hi @machj, thank you for the suggestion! This is a great idea. I looked into the developer metadata documentation and unfortunately there is a limit of 30K characters per sheet.
We could minimize the cache size by hashing the input text, but I think it will be common to hit that limit. It's probably still worth looking into though.


Visible rule and underscore values

I'm facing some problems with expressions in visibility rule that contains underscore in the values, like STANDARD_HA.
Environment
azure-pipelines-task-lib version: 2.9.6
Issue Description
Values with underscore not pass in the extension validation.
Expected behaviour
Expression should be validated without errors.
Actual behaviour
Error: Extension validation failed.
Steps to reproduce

Create a radio field:

    {
      "name": "tier",
      "type": "radio",
      "defaultValue": "BASIC",
      "options": {
        "BASIC": "standalone instance",
        "STANDARD_HA": "highly available primary/replica instances"
      }
    }

And other field with this visibleRule:
"visibleRule": "tier = STANDARD_HA"
Package and publish the extension

Logs
Task definition visible rule \'tier = STANDARD_HA\' is invalid. It should be of format "A <validconditionhere> B" for Task with ID ...

I also reported this to the product team and the rule on the marketplace is too strict. But I haven't seen a plan to resolve yet.

Ok, but not makes sense for me to have a marketplace rule in the value of a field. It differs from a task name or extension id...

I think it's some kind of security thing, haven't asked for the reason the
rule exists, bu t I did ask for it to be removed.
On Mon, Nov 16, 2020, 18:43 Gabriel<EMAIL_ADDRESS>wrote:

Ok, but not makes sense for me to have a marketplace rule in the value of
a field. It differs from a task name or extension id...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azure-pipelines-task-lib/issues/658#issuecomment-728218701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA724S5LK4RTY2XHBRQCQATSQFQFXANCNFSM4QDR4MKQ
.

I experienced the same problem when the value being tested has a #. None of the options below work:
"visibleRule":"lang=C#"
"visibleRule":"lang = C#"
"visibleRule":"lang=\"C#\""
"visibleRule":"lang = \"C#\""

Got confirmation its a bud in the marketplace, but it's taking awfully long for the Azure Devops team to get the fix out.
If you manually push the task directly using tfx build tasks upload, the task will work just fine.

not stale

not stale

This is fixed now. Can be closed.


ACM-3072 Remove PodSecurity warnings from MCH Operator logs

Signed-off-by: Erin Murphy<EMAIL_ADDRESS>issue: https://issues.redhat.com/browse/ACM-3072
Description of issue: Installer team is cleaning up our logs, and require the spec seccompProfile to be set to 'RuntimeDefault'

/assign @nathanweatherly @elgnay @qiujian16

@eemurphy You may want to update the chart at https://github.com/stolostron/backplane-operator/blob/main/pkg/templates/charts/toggle/managed-serviceaccount, which is used by Installer to deploy this component. If you also want to update the chart in the component repo, please create a PR in the upstream repo: https://github.com/open-cluster-management-io/managed-serviceaccount instead. We'll sync it to the stolostron repo once it is merged. Thanks!

the managed service account addon manager was removed from acm hub.
/close


chore: update SDK versions

Align with latest cardano SDK packages to fix LW-11686.

Allure Report
allure-report-publisher generated test report!

processReports: ❌ test report for d0fb88dd

passed
failed
skipped
flaky
total
result

Total
31
1
4
0
36
❌


PDF: Overlapping table caption

Table caption overlaps with its cells when caption is split in two rows. Example is shown below.

I'm also not sure whether (continued) should be present in ISO. In case it should, I believe it should be translated to the language of the document (French in this specific case).

It's hard to fix. Apache FOP has a limitation. As desribed here https://stackoverflow.com/questions/30974903/xslfo-retrieve-marker-not-valid-child:
the header / footer dimensions are computed just once, without marker content

I.e. without 'continued' addon, the table's title placed in one line (for start page of table), but in continuation, the space not  enough for two lines ('continued' added a second line), because row height was calculated for one line.
I'll try to find workaround solution. For example - place 'continued' text upper right than table's title.

I saw a continued table's header in one of source documents (https://github.com/metanorma/mn-native-pdf/issues/177), therefore I've added it then.
Issue fixed by adding a 'Continue' label at second line after the table title.


Reviewed and updated README_UWC_Common.md

@Nagdeep, @Aditi, please review and merge.

Closing this PR after getting confirmation from Nagdeep and Aditi. This PR was duplicated and changes were merged in the 2.0 update.


Improve logging for the addon - log internal log statements

Right now mostly only events get logged to the pod log.
We should improve the logging so that internal logs are also logged, to make debugging easier.

Migrated to https://issues.redhat.com/browse/ACM-2743.


Errors in TypeScript after updating to TS version 2.4

After updating to TS 2.4 transpiling declareDecartor.ts returns the following errors:
error TS2322: Type '(target: Functio
n) => DeclareConstructor' is not assignable to type 'ClassDecorator'.
Type 'DeclareConstructor' is not assignable to type 'void | TFunction'.
Type 'DeclareConstructor' is not assignable to type 'TFunction'.
Seems to be due to the stricter checking for generic functions that happens at 2.4 - see doc here:
https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes
Using tsc --noStrictGenericChecks clears the error and so does using any for example:
  return function (target: Function) {     return <any>declare(mixins, target.prototype);   };

@driskull installed this update - when you get a chance can you take a look .

Looks good!


Allow CldVideoPlayer Fully Extend Cloudinary Video Player API reference Paramenters and Props

Description
This Pull Request  Allows the CldVideoPlayer extends the Cloudinary Video Player API reference Paramenters and Props, all major props has been added to the CloudinaryVideoPlayerOptions Type.

Changes Made In Types Files
I extended Cloudinary Video Player API Here.
All new props are added to CloudinaryVideoPlayerOptions Type, also since the CloudinaryVideoPlayerOptions now included a long list of props i refactor CldVideoPlayerProps Type to instead omit the unneeded props in CloudinaryVideoPlayerOptions instead of picking the needed props.
Changes Made In CldVideoPlayer Component File
For backward compartibility i used the Ecma script Rest operation to catch all Cloudinary Video Player API after the defaults and spread them in playerOptions object.
Changes Made In Docs File
All new props was added to cldVideoPlayer configuration.mdx file, under the General Props table section. Types and defaults were mirroed from cloudinary video player docs while description and examples points to the cludinary main docs.
NOTE: I had diffculty previewing the docs while trying to run it locally as i ran into problems of components imported from next-cloudinary folder popping errors due to the file path not being resolved e.g '../../../next-cloudinary'. Maybe you can help me on how to resolve this issue as i didn't want to make any noob debugging changes.
Issue Ticket Number
This pull request fixes #283

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Fix or improve the documentation
[ ] This change requires a documentation update

Checklist

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have created an issue ticket for this PR
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have run tests locally to ensure they all pass
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes needed to the documentation

hey @DevYemi sorry i missed your Note the first time around
i'm guessing the issue here is that since you're not working inside of the package, you never built the next-cloudinary package itself
try navigating into next-cloudinary and running yarn build and see if it works after that!

i also wanted to note that i was working on another feature of the video player at the same time to support the Poster. it's more of a custom take on it and i dont think it conflicts with what you're doing as you're doing 1-1 mappings of the properties
i can handle fixing the merge conflict, so what i'll do is push a new commit to your branch that resolves that. once i do that, you'll want to make sure your branch is update if you do any additional work after that

ah one more note about building the local project. what i recommend you do while working on the project is open two terminal tabs, navigating 1 to /docs and 1 to /next-cloudinary, and running yarn dev in both
if you change the package code, it will automatically rebuild, and once that rebuilds, it will automatically refresh the docs

ah one more note about building the local project. what i recommend you do while working on the project is open two terminal tabs, navigating 1 to /docs and 1 to /next-cloudinary, and running yarn dev in both
if you change the package code, it will automatically rebuild, and once that rebuilds, it will automatically refresh the docs

Thank you @colbyfayock, i have done all you suggested i do and it seems to be working but i got an error tho i kinda of understood the error.
The Error says You must supply a cloudName when initializing the asset so i'm guessing it has to do with the value in the .env.example files. So do i need to create an account on cloudinary to get those values or do you have any dummy values i can use just to test the code. ? Either of the option will be appreciated

@DevYemi yeah ideally you could create a free account on Cloudinary in order to test everything, we dont have a test account that's usable for the public
once you get up and running, i encourage you to check out the Contributing documentation if you already haven't: https://github.com/colbyfayock/next-cloudinary#-contributing
particularly, there's a script that will allow you to upload assets to your account easily so that you can reproduce the same docs experience
while running through that, please do flag anything that seems wrong or if you have any ideas to make it easier for people to onboard to the project
i appreciate your patience working through this!! hopefully its smooth once you get past this

@DevYemi let me know if you run into any trouble

looks great, thank you @DevYemi!


Digital Identity Protection Page

Complete migration of the Digital Identity Protection Page
Original Page: https://www.bitdefender.com.au/solutions/digital-identity-protection.html
Franklin Page: https://main--bitdefender--hlxsites.hlx.page/solutions/digital-identity-protection
Link to the Google Doc

Issue 2. Pop up form - "Have you been exposed?" at the Hero section

Issue 3. Product card block and the content

Issue 4. Awards with no text block

Issue 6. Feature columns block
Original:

Current:

Issue 7. User Guide link (Unlike the rest of the pages, it has arrow icon, not a book icon)
Original:

Issue 8. Font sizes are not matching with the original page


Added trace effect of project cards outlines

This pull request implements a hover effect on the portfolio projects cards. It includes updates to the:

index.html,
style.css and
theme.css
files.

These updates combine to give the effect of a trace along the border/outline of each "project card" (projects section) on hover. This is meant to both add visual interest and emphasis on the specific card hovered on.
This effect is disabled for screen sizes between 400px and 1024px since the trace aligns best with card borders for screens outside this range.
The image below shows the CherrNodes card on hover.

Good updates, especially for me:

Correction of the spelling of English words.
Updating the theme.css file, with the new color.
But for the part of the SVG and its styling, I don't have experience with this part, so I suggest that You share your pull request in the community, you will find more people with the required expertise to review your code.

Sure. Thank you for the feedback, Ahmed101Mohammed


chore(deps): Included dependency review

Dependency Review GitHub Action in your repository to enforce dependency
reviews on your pull requests.
The action scans for vulnerable versions of dependencies introduced by package version
changes in pull requests,
and warns you about the associated security vulnerabilities.
This gives you better visibility of what's changing in a pull request,
and helps prevent vulnerabilities being added to your repository.

https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
Signed-off-by: naveen<EMAIL_ADDRESS>

The action scans for vulnerable versions of dependencies introduced by package version changes in pull requests, and warns you about the associated security vulnerabilities.

Do I understand it correctly that this action will just post some status (OK/there are some problems) to PRs?

The action scans for vulnerable versions of dependencies introduced by package version changes in pull requests, and warns you about the associated security vulnerabilities.

Do I understand it correctly that this action will just post some status (OK/there are some problems) to PRs?

Yes, you are right!


Memoize some methods that access the ActiveRecord configurations

Rails 6 changed ActiveRecord configurations from a hash to a custom object. You can still access the configurations with Hash syntax but it gives deprecation warnings and is a lot slower.
This PR memoizes the configurations so we only have to do the slow access once. Needs to be changed to the new syntax (configs_for…) before that API is removed.
We updated the performance test with new results showing Rails 6.0 being significantly faster.

Looks great to the best of my knowledge 🚀
The only comment is if maybe we should use already now the new configs_for in lib/active_record_shards/connection_switcher-6-0.rb

We discussed it but since the API doesn't change until Rails 7 we figure we can wait and make that change in a future PR.


Base64 String encoding and decoding.

I want to encode Bitmap in Base64 String and send to server. Also Server is sending me Base64 encoded String and I want to decode back in Bitmap and show in ImageView. I tried various codes and suggestions but they are not working in few test cases and most of it gives OutOfMemory exceptions. And I have browsed Universal Image Loader too but can't find how to load image from Base64 String with image.  So please assist me how we can show load images from Base64 string using Universal Image Loader.

Inherit BaseImageDownloader, override getStreamFromNetwork(), get Base64 string from server and do something like this:
byte[] bytes = Base64.decode(mBase64, Base64.NO_WRAP);
ByteArrayInputStream is = new ByteArrayInputStream(bytes);
return is;

Ok, Thank you for response. I have done this in my code, then how can I use that method to show image using UIL? Can you also provide sample code how to implement and use this ?
My code is similar to this question mentioned http://stackoverflow.com/questions/29430640/outofmemoryerror-while-decoding-and-encoding-base64-string-into-bitmap
So in this code what can you suggest me to perform so that I can use UIL to show images in my app.


Simple Recurrent Unit

As per https://github.com/tensorflow/tensorflow/pull/15434#issuecomment-352343576.

Can one of the admins verify this patch?

There are two test issues.
First with the function_test:
https://source.cloud.google.com/results/invocations/6b22c584-f73d-4c1b-b939-1c68fce02e6e/targets/%2F%2Ftensorflow%2Fpython:function_test?page=log
2nd, api_compatibility_test:
https://source.cloud.google.com/results/invocations/6b22c584-f73d-4c1b-b939-1c68fce02e6e/targets/%2F%2Ftensorflow%2Ftools%2Fapi%2Ftests:api_compatibility_test?page=log
    $ bazel build tensorflow/tools/api/tests:api_compatibility_test
    $ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test \
          --update_goldens True

You will need an API approval to make changes to the public TensorFlow API. This
includes additions to the API.

These instructions should be followed on a linux machine with python 2.

@gunan the function test seems to be unrelated to this PR. Specifically, the error msg was:
No gradient defined for op: ClipByValue

@tensorflow-jenkins test this please

A better solution would be to move the SRUCell into tf.contrib.rnn python/ops (rnn_cell.py maybe?) since this was never meant to go directly into core.

@ebrevdo sounds good, I'll revert my last commit and instead move it under contrib.

Hi @ebrevdo should I stick to _LayerRNNCell  as the base class or switch back to RNNCell as the base class as for other rnn architectures in rnn_cell.py in the contrib directory (e.g., https://github.com/tensorflow/tensorflow/blob/810394550571c5feb333cb6da66afb4b20c3bd85/tensorflow/contrib/rnn/python/ops/rnn_cell.py#L92).

Use the _LayerRNNCell; the other contrib classes will be moved over to that
eventually as well.
On Tue, Dec 19, 2017 at 7:13 PM, Tian Jin<EMAIL_ADDRESS>wrote:

Hi @ebrevdo https://github.com/ebrevdo should I stick to _LayerRNNCell
as the base class or switch back to RNNCell as the base class as for
other rnn architectures in rnn_cell.py in the contrib directory (e.g.,
https://github.com/tensorflow/tensorflow/blob/
810394550571c5feb333cb6da66afb4b20c3bd85/tensorflow/contrib/
rnn/python/ops/rnn_cell.py#L92).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/15436#issuecomment-352952987,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim3CKTp5joayQ9_ML1o5UPgiido1Uks5tCHtsgaJpZM4RFEU8
.

@ebrevdo @asimshankar should be good now.

@tensorflow-jenkins test this please


A modern Alternative

Since flask-mail has not been maintained for many years, I created a new Flask mail extension - flask-mailman, its core implementation is ported from Django's mail module, and which has the following advantages over flask-mail.

Built-in multiple mail backends, as well as support for customization.
The same simple and intuitive call interface.
Regularly synchronized with Django‘s new features and bug fixes.

If you encounter problems with flask-mail, feel free to have a try.

A group of us have been working to reactivate this project, which has now moved to the pallets-eco organization. Closing this, not making any statements about the merits of continuing to use flask-mail vs. switching to an alternative (people should use what makes them happy)

Flask-Mail is now part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of Flask extensions. If you are interested in helping maintain this project, please reach out on the Pallets Discord server.


Getting 'nan' flow_score

I am trying to run the code:
from flow_score import *
MODEL_PATH = "models/DialoFlow_large.bin"
FLOW_SCORE = FlowScore(MODEL_PATH)
dialogues = ["hello", "Hi there. tell me about yourself.", "Well I'm a college student who loves learning about the world around me!"]
flow_score = FLOW_SCORE.score(dialogues)

I am using torch==1.7.1 and transformers==3.0.2.
The value of flow_score I get is 'nan' and I am getting a lot of warnings when loading the model:
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'model.DPKSModel' has changed. Saved a reverse patch to DPKSModel.patch. Run `patch -p0 < DPKSModel.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'transformers.modeling_gpt2.GPT2Model' has changed. Saved a reverse patch to GPT2Model.patch. Run `patch -p0 < GPT2Model.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.sparse.Embedding' has changed. Saved a reverse patch to Embedding.patch. Run `patch -p0 < Embedding.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.dropout.Dropout' has changed. Saved a reverse patch to Dropout.patch. Run `patch -p0 < Dropout.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.container.ModuleList' has changed. Saved a reverse patch to ModuleList.patch. Run `patch -p0 < ModuleList.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.normalization.LayerNorm' has changed. Saved a reverse patch to LayerNorm.patch. Run `patch -p0 < LayerNorm.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'model.PlanModel' has changed. Saved a reverse patch to PlanModel.patch. Run `patch -p0 < PlanModel.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.loss.MSELoss' has changed. Saved a reverse patch to MSELoss.patch. Run `patch -p0 < MSELoss.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.linear.Linear' has changed. Saved a reverse patch to Linear.patch. Run `patch -p0 < Linear.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.activation.Sigmoid' has changed. Saved a reverse patch to Sigmoid.patch. Run `patch -p0 < Sigmoid.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)
/DialoFlow/FlowScore/dialoflow_venv/lib/python3.9/site-packages/torch/serialization.py:658: SourceChangeWarning: source code of class 'torch.nn.modules.loss.CrossEntropyLoss' has changed. Saved a reverse patch to CrossEntropyLoss.patch. Run `patch -p0 < CrossEntropyLoss.patch` to revert your changes.
  warnings.warn(msg, SourceChangeWarning)

How could I fix this and get numerical scores? Could you share the requirements.txt? maybe it is other packages that are causing the issue.

https://github.com/ictnlp/DialoFlow/issues/3

@FunnyJingl Thanks! this worked!


Revert "[flutter_tools] integrate l10n tool into build/run"

Reverts flutter/flutter#56167
This breaks in google3 with a permission denied error.

TBR @mehmetf


fix for 0s elapsed time that is not supported by testrail

The minimum value for elapsed time supported by Testrail is 1s:
https://discuss.gurock.com/t/elapsed-field-datatype-api-question/1089/27

Thank you for your contribution!


Automated syntax checking

let's avoid situations like this: https://github.com/TurboWarp/extensions/pull/58

We now use ESLint


[Event parameter request] codeunit 5760 "Whse.-Post Receipt" - OnPostUpdateWhseDocumentsOnBeforeWhseRcptLineModify

Please add an extra parameter WhseRcptLineBuf to event OnPostUpdateWhseDocumentsOnBeforeWhseRcptLineModify in codeunit 5760 "Whse.-Post Receipt"
Before:
    local procedure UpdateWhseRcptLine(WhseRcptLine2: Record "Warehouse Receipt Line")
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeUpdateWhseRcptLine(WhseRcptLine2, WhseRcptLineBuf, IsHandled);
        if IsHandled then
            exit;

        with WhseRcptLineBuf do begin
            WhseRcptLine2.Validate("Qty. Received", "Qty. Received" + "Qty. to Receive");
            WhseRcptLine2.Validate("Qty. Outstanding", "Qty. Outstanding" - "Qty. to Receive");
            WhseRcptLine2."Qty. to Cross-Dock" := 0;
            WhseRcptLine2."Qty. to Cross-Dock (Base)" := 0;
            WhseRcptLine2.Status := WhseRcptLine2.GetLineStatus;
            OnPostUpdateWhseDocumentsOnBeforeWhseRcptLineModify(WhseRcptLine2);
            WhseRcptLine2.Modify();
            OnAfterPostUpdateWhseRcptLine(WhseRcptLine2);
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnPostUpdateWhseDocumentsOnBeforeWhseRcptLineModify(var WarehouseReceiptLine: Record "Warehouse Receipt Line")
    begin
    end;

After:
    local procedure UpdateWhseRcptLine(WhseRcptLine2: Record "Warehouse Receipt Line")
    var
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeUpdateWhseRcptLine(WhseRcptLine2, WhseRcptLineBuf, IsHandled);
        if IsHandled then
            exit;

        with WhseRcptLineBuf do begin
            WhseRcptLine2.Validate("Qty. Received", "Qty. Received" + "Qty. to Receive");
            WhseRcptLine2.Validate("Qty. Outstanding", "Qty. Outstanding" - "Qty. to Receive");
            WhseRcptLine2."Qty. to Cross-Dock" := 0;
            WhseRcptLine2."Qty. to Cross-Dock (Base)" := 0;
            WhseRcptLine2.Status := WhseRcptLine2.GetLineStatus;
            OnPostUpdateWhseDocumentsOnBeforeWhseRcptLineModify(WhseRcptLine2, WhseRcptLineBuf); // <-- parameter added
            WhseRcptLine2.Modify();
            OnAfterPostUpdateWhseRcptLine(WhseRcptLine2);
        end;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnPostUpdateWhseDocumentsOnBeforeWhseRcptLineModify(var WarehouseReceiptLine: Record "Warehouse Receipt Line";WhseRcptLineBuf: Record "Warehouse Receipt Line" temporary)
    begin
    end;

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


[Feature][Druid] Druid sink connector support multi table and cdc

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
next pr of : https://github.com/apache/seatunnel/pull/6346#issuecomment-2173417130
Druid sink connector support multi table and cdc
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Currently, Druid does not support cdc write operations. Closed by https://github.com/apache/seatunnel/pull/7023
cc @hailin0


Capture and log stdout

The cause of https://github.com/clojure-lsp/clojure-lsp/issues/1080 was that clojure-lsp was accidentally writing to stdout. This was found in https://github.com/clojure-lsp/clojure-lsp/pull/1083 and fixed in https://github.com/clojure-lsp/clojure-lsp/pull/1087.
@ericdallo suggested the following changes in lsp4clj to prevent similar problems in the future:

lsp4clj should wrap all of its calls into clojure-lsp and other servers with with-out-str. This is because cloure-lsp uses System.out to communicate with clients (and I believe all other servers do too). If the server accidentally prints to stdout while it's processing a request, with-out-str will avoid letting that output leak into the server/client communication channel.
lsp4clj should log any non-blank output strings.

with-out-str may not fit well for us as it returns the string that is on the out, so something like: (with-out-str {:foo 1}) would return "" and not the map we want to respond in a request for example.
So maybe to fix 1. and 2. using binding *out* to a local and just logging would fix both 1. and 2.

using binding *out* to a local and just logging

@ericdallo I experimented with that idea and it works.
(defmacro logging-out-str
  "Evaluates exprs in a context in which *out* is bound to a fresh
  StringWriter. logs any output, and returns the result of the exprs."
  [& body]
  `(let [s# (java.io.StringWriter.)]
     (binding [*out* s#]
       (let [result# ~@body
             out# (str s#)]
         (when (seq out#)
           (logger/warn "captured stdout: " out#))
         result#))))

One thing to note is that if the body starts any threads (e.g., future or go) which print sometime later then their output is dropped entirely—it's neither logged nor sent to stdout. This was surprising to me at first, but after thinking about it more makes sense. Those threads continue to use the StringWriter for stdout, but the logger/warn has run already, capturing the value of the StringWriter at one moment in time before the threads finished.
This should help a lot, but I'm not certain we'll catch everything. For example, server/run-server! spawns all those async tasks. That's outside of lsp4clj, so lsp4clj won't capture any prints to stdout that happen in those tasks. That includes some pretty important (and potentially noisy) stuff like f.file-management/analyze-changes.
We can make the lsp4clj helper public so we can use it in clojure-lsp when we think it's necessary. But it'll be hard to be confident we've found everything.

yeah, I'm ok with that as we mainly want to avoid prints to stdout, the warn log is a nice to have to me


ResizeObserver loop limit exceeded Error thrown when window resizes

I've been noticing this error in our sentry i've reproduced it on the ascii cinema website
Reproduction steps:

Go to https://asciinema.org/ (or any page which includes the player)
Add in this global error console logger in browser (chrome) dev tools:

window.addEventListener('error', function(e) { console.log('Error', e); });

Resize the browser a few times you should see the error logged

I'm not sure if this actually caused problems or is just noise, but I thought it was worth raising

The same problem. I added an asciinema player to my web site with a front end framework which would listen error event, and it keeps reporting this error when I'm resizing the browser.

On what browsers do you see that error?

On what browsers do you see that error?

Chrome.

I've tried to reproduce it on Chromium 110.0.5481.177 and Firefox 110, both on Arch Linux, as well as on latest versions of Safari, Chromium and Firefox on macOS. Unfortunately I'm not able to trigger the error.
Any hints on how to reproduce? Any particular way I should resize, or a specific recording on asciinema.org where it occurs more often?

https://user-images.githubusercontent.com/9418365/222039017-c8f976a9-1aa2-40db-82eb-27f3a9076f7b.mov

Awesome, thanks! I tried on several recordings but haven't tried on the front page of the site, where indeed I can reproduce easily. Now let's see what's going on.

Found it and fixed it. I'll try to release it as 3.1.2 ~tomorrow.

3.1.2 is now released with the fix.


Initializing settings without opening Central Admin

Hello.
When setting up EntraCP in a new farm, we are running powershell code to automate the installation process. However, we are unable to completely automate the process atm, because the global settings are not being initialized without manually navigating into the EntraCP "Global configuration" page in Central Admin.
Reproduce:

Install EntraCP.wsp using the automated scripts found here: https://entracp.yvand.net/docs/usage/installation/
Do not navigate to Central Admin Global Configuration page
Run the "Configuration using powershell" found here: https://entracp.yvand.net/docs/usage/configuration/

This results in [Yvand.EntraClaimsProvider.EntraCP]::GetConfiguration() returning null.
If you navigate to "Global configuration" page, the settings gets initialized and the configuration code works fine. This can maybe be fixed by GetConfiguration() also running the initialize code, or by modifying the configuration documentation to call an initialize method before calling GetConfiguration().

Hi @Vice93, you can test if GetConfiguration() returns null, and if so, you can create it by running $config = [Yvand.EntraClaimsProvider.EntraCP]::CreateConfiguration()

Seems this worked for most of the settings, however, it did not initialize EntraIDTenants list. Calling .Add on this throws an exception:

InvalidOperation: You cannot call a method on a null-valued expression.
April 5th 2024 13:13:03Error
At Script.ps1:34 char:4
April 5th 2024 13:13:03Error
+       $settings.EntraIDTenants.Add($tenant)
April 5th 2024 13:13:03Error
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It does get initialized if I open the .aspx page though, and works in powershell afterwards.

@Vice93 I would like to understand the root cause of this issue. Do you have repro steps I can use to repro this myself?

On a fresh sharepoint farm, deploy EntraCP and run the following script:
Add-Type -AssemblyName "Yvand.EntraCP, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=65dc6b5903b51636"

$config = [Yvand.EntraClaimsProvider.EntraCP]::GetConfiguration()
if ($null -eq $config)
{
    $config = [Yvand.EntraClaimsProvider.EntraCP]::CreateConfiguration()
    if ($null -eq $config.Settings.EntraIDTentants)
    {
    	Write-Error "Could not create configuration for EntraCP"
        return
    }
}

Just make sure you do not do anything manual like navigating to central admin EntraCP configuration page before running the script (the point is trying to automate the entire process).

@Vice93 I basically do the same, and $config.Settings.EntraIDTentants should indeed not be null.
When running [Yvand.EntraClaimsProvider.EntraCP]::CreateConfiguration() you should see this message in the log:
04/16/2024 09:50:06.78	powershell.exe (0x1660)	0x0864	EntraCP	Core	1337	High	Created configuration 'EntraCPConfig' with Id 1db24d85-b10e-4d06-b378-8cfd05a129f3	5d832b90-b879-0003-e638-0e32ce8fda01

Is it recorded in your environment?


display all the available details of a finding

#include <string>

static char* f() {
    return std::string().c_str();
}

Running Cppcheck on the command-line will show the following:
input.cpp:4:31: error: Returning object that will be invalid when returning. [returnDanglingLifetime]
    return std::string().c_str();
                              ^
input.cpp:4:31: note: Pointer to container is created here.
    return std::string().c_str();
                              ^
input.cpp:4:31: note: Returning object that will be invalid when returning.
    return std::string().c_str();
                              ^
input.cpp:4:5: error: Dangerous usage of c_str(). The value returned by c_str() is invalid after this call. [stlcstr]
    return std::string().c_str();
    ^
input.cpp:3:0: style: The function 'f' is never used. [unusedFunction]

^

But CLion only shows the first message for returnDanglingLifetime:

For some findings this information is not sufficient to actually understand why it is being reported so we should provide these additional details in the IDE.

I have no suggestion on how to fix it since CLion has the same problem with clang-tidy (https://youtrack.jetbrains.com/issue/CPP-19518) and certain compiler warnings (no ticket yet / some of those are shown as separate entries which might not make sense on their own) so there's not something existing to leverage AFAIK.
I do wonder if it is possible to display additional information in the tooltip:

Preview:

The ... indicates there's more information available via the tool-tip:


Is it possible to use an own input field like a react-toolbox input?

hey i would like to know if it is possible to use an custom input field like a react-toolbox input field? And is it possible to format the date via react-intl? I don't know if this is too specific but would be glad to receive an answer :)
greetings

That should be possible I think, but it will require a little bit of work. Basically what you'll want to do is create the react-flatpickr element, hide it, and then toggle it manually when the user clicks your custom input, and then listen for the flatpickr change using the onChange hook and update your custom input with the value, formatting it however you want.
It's possible there's an easier way, you might have better luck asking in the base flatpickr repo, but that's what I would do!

Thanks for the fast answer! I thought of this way too but I had the hope it would be possible to pass the custom input as a child. Currently I have written my own wrapper for the base flatpickr but it has some bugs. Maybe it is easier to fix them instead of hiding the original input.

@edhelb How did you solve it in the end? Were you able to trigger the datepicker programmatically?

I recognize the following example isn’t quite what you may be looking for, since it does away with the input field altogether and only shows the calendar. In case it’s of use, though, sharing here. Using Preact, which is similar to React:
import { useRef } from 'preact/hooks'

const Component = ({ ...props }) => {
  const widgetRef = useRef(null)

  // Hide input field
  if (widgetRef.current)
    widgetRef.current?.base?.nextElementSibling?.style?.display = 'none'

  return (
    <Flatpickr
      {...{
        ref: widgetRef,
        options: {
          // Always display calendar
          inline: true
        },
      }}
    />
  )
}

export default Component


Code examples in code blocks have shrunk

The size of the text in the code blocks also appear to have shrunk somewhat… (comparing to https://deploy-preview-519--govuk-design-system-preview.netlify.com/components/checkboxes/, which hasn't been rebased)

I think this is because the browser's default font size for monospaced fonts is 13px rather than 16px, but the rem calculation is based on the default font size being 16px.
Not sure what the best thing to do is here… maybe not use rem for monospaced elements?

Unsurprisingly, this is also affecting inline code:

I did some investigation using this page: https://cbracco.github.io/html5-test-page/
Looks like inputs with a type that is not 'text' also change size, but may not be a problem for us, will check.

Interesting article shared by Ollie: https://manishearth.github.io/blog/2017/08/10/font-size-an-unexpectedly-complex-css-property/
"Another way of looking at it is whenever the font family or language changes, you should recompute the font-size as if the language and family were always that way up the tree."
My mental model of REM is "a unit sized relative to the root element" which I thought was the the HTML elements.
Turns out it's actually "a unit sized to relative to the root element, which can change if the font family is monospace" 😱
"I think the reason behind this is that monospace fonts tend to be wider, so the default font size (medium) is scaled so that they have similar widths, and all other keyword font sizes get shifted as well."


Blog post VS Code release

[ ]  Is the content technically correct (examples are working and can be reproduced, code in the repo is up to date, etc.)
[ ]  There are no grammatical errors, jargon, or obvious stylistic issues.
[ ]  The flow and messaging correspond to what has been defined in the Phase 3.
[ ]  Have images been run through tiny.png?
[ ]  Are all lines 80 characters or less?
[ ]  Are Oxford commas observed?
[ ]  Content Creator has done a complete review for typos/language after taking a break from content
[ ]  links checked in piece
[ ]  Have reviewed what the piece looks like on your own [machine using yarn develop](https://dvc.org/doc/user-guide/contributing/docs#development-environment)

Gatsby Cloud Build Report

Not 100% sure why the build is failing, but I have a couple of ideas. I'll do some debugging :)

Thanksm,

🚩 Your build failed.

Not 100% sure why the build is failing, but I have a couple of ideas. I'll do some debugging :)

Thanks, @julieg18!


MariaDB Migrate Errors

For Feature Requests
Desired Feature:
For Bug Reports

BookStack Version (Found in settings, Please don't put 'latest'): v0.18.2
PHP Version: 7.1.19
MySQL Version: 10.1.28 (MariaDB)

Expected Behavior
Following the installation instructions along with https://www.bookstackapp.com/docs/admin/ut8mb4-support/ results in the below shown current behavior.
Database already created using the below,
mysql -u root -p
CREATE DATABASE `bookstack` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
GRANT ALL ON bookstack.* to 'bookstack'@'localhost' IDENTIFIED BY 'P@ssW@rd';
FLUSH PRIVILEGES;

and adjusted using the below,
ALTER DATABASE `bookstack` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
USE `bookstack`;

Current Behavior
[Illuminate\Database\QueryException]
  SQLSTATE[HY000]: General error: 1709 Index column size too large. The maxim
  um column size is 767 bytes. (SQL: alter table `search_terms` add index `se
  arch_terms_term_index`(`term`))
[PDOException]
  SQLSTATE[HY000]: General error: 1709 Index column size too large. The maxim
  um column size is 767 bytes.

Steps to Reproduce

Still have this error.
But I run the key generation...

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.


Rashmi V Abbigeri Apply for GSoD 2021

I am interested in participating. I am well versed in writing documentation and writing tutorials.
https://resume.io/r/SOxdzZjbl

@googlebot  I signed it!

Hi Rashmi, would you please add your information in alphabetical order by your surname? Thank you!


feat(syntax): add statement span to ImportEntry and ExportEntry

Merge activity

Dec 2, 9:11 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Sign Up and Log In with Single Step

I realize this is an issue forum, but I need some guidance.
Is there a way with Sorcery to register a new user, and log them in with a single step?
I can't seem to find a way to do this without creating a new user, and then requiring them to separately log in.
Help!

Once you have the user instance, you can call auto_login(@user).


⚠ Samsung has degraded performance

In 13c4d3d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2042 ms

Resolved: Samsung performance has improved in cf5084c.


Incorrect syntax (excessive quotes) when updating Exasol geometry data

System information:

DBeaver version 21.1.4

Connection specification:

Database name and version Exasol
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)?

Describe the problem you're observing:
Excessive quotes are added for a script when trying to save changes to geometry column.
Steps to reproduce, if exist:

Create a table with a geometry column.
Edit a data in it or add one more row with not null field in this column
Try to save changes

Expected: Changes are saved
Actual: Script is not executable because additional quotes are generated

Some useful references:
https://docs.exasol.com/sql_references/geospatialdata/import_geospatial_data_from_csv.htm
https://docs.exasol.com/sql_references/geospatialdata/geospatialdata_overview.htm

Quotation fixed in UPDATE statement.
Also, the ability to update geometry columns in the table with the primary key (sic!) was added.

Verified


Have a Biscuit?

Sodium Stuff.
I think it works.
You should test it.

If we can have this tested with and targeting 0.6 stable, that'd be great.

Epic. Sodium caches the nessesary biome colors for a chunk. If I have time I'll check it out.

Epic. Sodium caches the nessesary biome colors for a chunk. If I have time I'll check it out.
Take your time; we're in no hurry. Progress so far is great; I've not noticed any other issues and performance doesn't appear terribly affected by anything. We'll probably be good to merge afterwards.

If you wouldn't mind, could you write up how you got it to not work, so I can check that?

I used oak leaves as a shadow in different biomes; the result was that the oak leaves always rendered as the default colouring, even when the biome had a different tint to it. There's a spell export in a comment in Illusionist.java which you can use to test (crouching makes it pick a shadow; when not crouching it applies it). You can use /trickster importSpell to import from clipboard.

https://github.com/user-attachments/assets/647113ec-f320-4970-a929-0ef5679105ea
I can't seem to reproduce the issue?

Screen.Recording.2024-12-02.at.2.31.38.PM.mp4
I can't seem to reproduce the issue?

Oh? Strange. I'll test again.

🦗🦗🦗🦗🦗
🦗🕷🕸🏕🦗
🦗🦗🦗🦗🦗

I've been busy. I'll let you know once I've gotten to it.

It's okay, I've been busy too. Just making sure the thread doesn't look like the graphic

Screen.Recording.2024-12-02.at.2.31.38.PM.mp4
I can't seem to reproduce the issue?

This is strange (these are all birch leaves).

Hmm.

So because I can't tell through the picture, you did manage to reproduce the problem? Or it's solved?

The leaves should be the same colour; they are not. I'm not sure why it is, since you don't seem to be able to reproduce...

I'll take a look and try it with Birch. Should I try it in that biome as well?

I've honestly no clue. Might be relevant. Might not be.


THORN-1647: Plugin topology-consul is getting error and it does not allow the health checks

[x] Have you followed the guidelines in our Contributing document?
[x] [v2] Have you created a JIRA and used it in the commit message?
[ ] [v4] Have you created a GitHub Issue and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[x] Have you built the project locally prior to submission with mvn clean install?

I've upgraded consul-client to the latest version. Now newer versions of consul are supported and the "Method not allowed" error is not thrown.
The new client moved from resteasy to okhttp3, so I had to add this (aswell as okio and retrofit2) to modules.xml. Also I had to update okhttp3 to a newer version.
Build-parent POM mentions okhttp3 and okhttp3-ws are not used, this deos not seem to be true, topology-openshift seems to use that.
Unfortunately okhttp3-ws is deprecated and no newer version is available, so I fixed it to 3.4.2.
Bulding worked fine, but I cannot test if the openshift-fraction still works as expected.
Perhaps someone could look over my changes to confirm I did not break anything by changing dependency versions.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Hi, thanks for the patch. Can you please look at
https://github.com/thorntail/thorntail-examples/tree/master/ribbon-consul
and see if something needs to be adjusted there as well ?
Note an old PR for that demo is still open,
https://github.com/thorntail/thorntail-examples/pull/155,
but I suspect it needs to be closed and a new one created
Thanks

Hi @sberyozkin,
I think PR 155 is obsolete.
Following the description of the ribbon example and adding -Dswarm.bind.address=<IP_ADDRESS> I could run the projects  without problems. I could update the README.md with this information.
But mvn verify -Pconsul fails for me with FileNotFoundException: null/example-ribbon-consul-frontend.war this should not be related to my changes and I don't know how to solve this.

retest this please

Hi, that PR has been updated and I just merged
https://github.com/thorntail/thorntail-examples/pull/186
I guess we'll need to get at least Linux build passing here first

Can somone please repeat the build. The sempaphore build fail is in my eyes an error in the build scripts. I successfully builded the source.

ok to test


Correcting incorrect Segment Limit

Stumbled across the incorrect segment limit number on this page wanted to give it an update.

 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.

Hello @ben-grid,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


search: force re-index command

Is your feature request related to a problem? Please describe.
I want to force the search service to rebuild the search index for a space / all spaces.
This can currently only be done by deleting the bleve database because search tries to outsmart me and says:
ocis-1       | {"level":"debug","service":"search","path":".","time":"2024-05-08T12:48:54Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/search/service.go:419","message":"Walking tree"}
ocis-1       | {"level":"debug","service":"search","path":".","time":"2024-05-08T12:48:54Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/search/service.go:427","message":"subtree hasn't changed. Skipping."}
ocis-1       | {"level":"debug","service":"search","count":2,"time":"2024-05-08T12:48:54Z","line":"github.com/owncloud/ocis/v2/services/search/pkg/search/search.go:67","message":"new document count"}

What it doesn't know: I might have enabled OCR on the Tika side in the meantime.
Describe the solution you'd like
Introduce a --force option, eg. ocis search index --force. It would do the reindexing even there were no changes detected.
Describe alternatives you've considered
Deleting the whole bleve database. But that creates a downtime of the search index until it has been completely rebuilt. The proposed solution could work in place / only have a search "downtime" for the space we're re-indexing.
Additional context
search service re-index using service account: https://github.com/owncloud/ocis/issues/9103

Referencing: #5515 (Improve the search service index management)


Generate page and post

Hi everybody,
I can create a page and a post but i don't understand where i can see it in the frontend ?
They are in my database.
Thank you :)

Please read issue template

QUESTIONS ABOUT HOW TO USE VOYAGER SHOULD BE ASKED IN SLACK FIRST

I also suggest you to read Voyager documentation
https://voyager-docs.devdojo.com/getting-started/what-is-voyager


Callback was already called

When using the pay function from balanceofsatoshis/network I sometimes get this error:
2020-11-02 17:58:04 debug [THUB]: Paying invoice with params: { max_fee: 1, max_paths: 1, out: [ [length]: 0 ] }
2020-11-02 17:58:05 info [THUB]: {
    "checking_for_path_to": "bob 0225b8ce4d89d6c3039c626cb5b93b8e77d681bdf485fc58729018ecf932ef1139"
}
/Users/potdevin/Documents/TH/thunderhub/node_modules/async/internal/onlyOnce.js:9
        if (fn === null) throw new Error("Callback was already called.");
                         ^

Error: Callback was already called.
    at /Users/potdevin/Documents/TH/thunderhub/node_modules/async/internal/onlyOnce.js:9:32
    at Object.callback (/Users/potdevin/Documents/TH/thunderhub/node_modules/lightning/lnd_methods/info/get_node.js:99:20)
    at Object.onReceiveStatus (/Users/potdevin/Documents/TH/thunderhub/node_modules/@grpc/grpc-js/build/src/client.js:173:36)
    at Object.onReceiveStatus (/Users/potdevin/Documents/TH/thunderhub/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:342:141)
    at Object.onReceiveStatus (/Users/potdevin/Documents/TH/thunderhub/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:305:181)
    at /Users/potdevin/Documents/TH/thunderhub/node_modules/@grpc/grpc-js/build/src/call-stream.js:124:78

There are times when the payment goes through correctly but other times I get this

There are times when the payment goes through correctly but other times I get this

Are you using single path or multi path?

Single path in this case

Out is an array of length zero is that what this means at the top?

Yeah didn't define an out channel so called the pay function with out: []
Testing somethings out and I get the error frequently when the final destination is a single hop away

Does the same issue arise in probe?

Tested, yeah same error:
2020-11-02 18:45:18 info [THUB]: {
    "probing": "carol 020782262fd78db8f3798624ad58d38e44bb3423e82a7a733d808e6f23449d38a3"
}
/Users/potdevin/Documents/TH/thunderhub/node_modules/async/internal/onlyOnce.js:9
        if (fn === null) throw new Error("Callback was already called.");
                         ^

Error: Callback was already called.
    at /Users/potdevin/Documents/TH/thunderhub/node_modules/async/internal/onlyOnce.js:9:32
    at Object.callback (/Users/potdevin/Documents/TH/thunderhub/node_modules/lightning/lnd_methods/info/get_node.js:99:20)
    at Object.onReceiveStatus (/Users/potdevin/Documents/TH/thunderhub/node_modules/@grpc/grpc-js/build/src/client.js:173:36)

When you pass {lnd} did you get that from the same version of ln-service that is used by the balanceofsatoshis version?

Yeah using "ln-service": "^50.3.0" same as bos

That's interesting, when you do probe it does the same error, can you show me the arguments and output more exactly for the probe call?

probe({
          lnd,
          logger,
          destination:
            '020782262fd78db8f3798624ad58d38e44bb3423e82a7a733d808e6f23449d38a3',
          out: [
            '020782262fd78db8f3798624ad58d38e44bb3423e82a7a733d808e6f23449d38a3',
          ],
        })

And the only output is this log:
{
    "probing": "carol 020782262fd78db8f3798624ad58d38e44bb3423e82a7a733d808e6f23449d38a3"
}

and then the error

OK, when you probe, can you try specifying max_paths: 1 and see if that makes a difference?

With max_paths: 1:
2020-11-02 18:59:01 info [THUB]: {
    "checking_for_path_to": "carol 020782262fd78db8f3798624ad58d38e44bb3423e82a7a733d808e6f23449d38a3"
}
/Users/potdevin/Documents/TH/thunderhub/node_modules/async/internal/onlyOnce.js:9
        if (fn === null) throw new Error("Callback was already called.");
                         ^

Error: Callback was already called.
    at /Users/potdevin/Documents/TH/thunderhub/node_modules/async/internal/onlyOnce.js:9:32

OK so I guess it dies in execute_probe.js, I will investigate

I think I got it, just adding a test

I pushed a new version, I hope the issue solved was the relevant issue

Tested and it's working! Thanks for the fix 👍


Fix parsing object rest spread

This makes object-rest-spread behave according to spec and only
allow one spread/rest operator and enforces it to be the last
param in the object.
Also move all object-rest-spread tests to a own folder.
The fix is pretty simple, as soon as we parsed the spread operator we expect the object to end.
The only thing I'm not 100% sure is if trailing commas are aloud, but I would assume it is the same as with array spread to be not allowed. (see test 8) //cc @sebmarkbage
Fixes #148

The single rest at the end only applies to binding let { x, ...y } = obj; and assignment ({ x, ...y } = obj). But is doesn't apply to spread let obj = { ...x, y, ...z }; // works.
I think you need to make this conditional on the isPattern flag, no?

Yeah only for rest 👍
The failing test from babel is example of this (valid)
babel-plugin-transform-object-rest-spread/object rest spread expression:
     SyntaxError: /home/travis/build/babel/babylon/build/babel/packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest-spread/expression/actual.js: Unexpected token (1:10)
  > 1 | ({ x, ...y, a, ...b, c });

Is trailing comma allowed in this case?
const { x, ...s, } = obj;

@danez No, trailing comma is not allowed.

 Last update 9cc0981...8c960e2

:+1: Other than I think we could give a better message

Just gotta fix the error messages in the tests 👍

This PR does not work for arrow functions,
const x = ({ ...props, y }) => 1; // THIS WORK
function xx({ ...props, y }) { return 1;} // THIS FAIL

Good catch, thanks for reporting.

This catch will cost me a day to fix hundreds of my code lines ;-) (Will read the specs in the future)


Inactive project -too many pull requests not reviewed.

Firstly great project. Secondly there are as of now 7 Pull requests pending review. Can the admins promptly review them or elect more reviewers for this repo, it is a great project which needs more traction.

@mukulhase

The latest commit was 11 hours ago, I do not think that this project could be called inactive.

Hi,
Had some personal work till now. I'll be reviewing the PRs. I'd like if you guys could decide on one person to be a reviewer, perhaps the most active who would like to take up the role.

@kevinkit the latest commit was after my issue opened. Following the commit history, you can count how many days between each commits. And the oldest PR is Jan 28. People are contributing so mergers/reviewers need to have some discipline to progress this project.
Commits on May 13, 2018
Commits on Apr 29, 2018
Commits on Apr 22, 2018

Top committers, are you interested to volunteer? @alfred82santa @moomoohk @adarshsanjeev

Hi, I'm interested in this project and I review the PR's regularly just for my own benefit now.
I would be glad to volunteer.

I would volunteer to look over Issues and deleting / closing them if they are duplicates etc. @mukulhase

closing this issue as aged for 2years


bug with repmat on R2013a

L162 to 166 should be modify as follows
    FitDataPanelObj = findobj('Tag', 'FitDataFileBrowserPanel');
    for ii=1:MethodCount
        FileBrowserList(ii) = MethodBrowser(FitDataPanelObj);
    end
    SetAppData(FileBrowserList);

already solved in branch "simulation"

I would suggest to close an issue once the branch has been merged on master (to avoid unseen solved issue in the future).

ok done. I just mistakenly push to master... but apparently current master was buggy and I solved quite a few of them. Harry and Darya are testing the new master now.


Suggested recipe to implement Interfaces and Unions?

I'm currently implementing nexus-prsima into my graphql-yoga server. I can't figure out how to make it so when fetching an object by interface, have these objects be instances of the classes that implement the interface.
Here's my Prisma datamodel:
type Item {
  # interface
  id: ID! @unique
  mnemonic: String
  description: String
  factor: Factor!
  minimumUnitsForSale: Int!
  # custom fields: box item
  unitsPerBox: Int
  canBeUnboxed: Boolean
  minimumAtomicUnitsForSale: Int
}

and this is currently my server schema (without nexus):
interface Item {
  id: ID!
  mnemonic: String
  description: String!
  factor: Factor!
  minimumUnitsForSale: Int!
}

type BoxItem implements Item {
  id: ID!
  mnemonic: String
  description: String!
  factor: Factor!
  minimumUnitsForSale: Int!
  unitsPerBox: Int!
  canBeUnboxed: Boolean!
  minimumAtomicUnitsForSale: Int!
}

type UnitItem implements Item {
  id: ID!
  mnemonic: String
  description: String!
  factor: Factor!
  minimumUnitsForSale: Int!
}

I reckon that in order to reproduce the same schema with Nexus, I can write something like this:
const Item = interfaceType({
  name: "Item",
  definition: t => {
    t.id("id");
    t.string("mnemonic", { nullable: true });
    t.string("description");
    t.field("factor", { type: "Factor" });
    t.int("minimumUnitsForSale");
  }
});

const BoxItem = objectType({
  name: "BoxItem",
  definition: t => {
    t.implements(Item);
    t.int("unitsPerBox");
    t.boolean("canBeUnboxed");
    t.int("minimumAtomicUnitsForSale");
  }
});

const UnitItem = objectType({
  name: "UnitItem",
  definition: t => {
    t.implements(Item);
  }
});

However, I don't think this would be enough. If I query my server for an Item object, my server will know that it can get an item as-is from prisma but how will it know to return a UnitItem or a BoxItem?
I currently have this interfaces resolver that addresses that problem for me:
export const interfaces = {
  Item: {
    __resolveType(obj) {
      if (obj.factor === "BOX") {
        return 'BoxItem'
      } else {
        return 'UnitItem'
      }
    }
  }
}

How can I reproduce this with Nexus? Does it also have a ___resolveType handler?
Thanks

Hey there,
Check out this nexus example: https://github.com/prisma/nexus/blob/49b4ac2f9aedeb5b30463c1d198d9c7072d23da9/examples/star-wars/src/graphql/character.ts#L23
You can use t.resolveType on the interface 🙌

Cheers


how to add j2objc to flutter plugin as dependency?

Hi, every body. I am a Java Programmer, and now I need to move some java code to my flutter project.
There is no tools to translate java code to dart code, so I use flutter's plugin to satisfy this need.
The java code can easy translate to Android code, no need to change anything.
Then I use j2objc command line tool to translate java code to objc code, and every is OK.
But I don't know how add these objc code as dependency to flutter plugin. I try the flowing code:
  s.ios.vendored_frameworks = 'frameworks/JRE.xcframework'   s.vendored_frameworks = 'JRE.xcframework'
but it's not OK.
Do you know how? And anybody can show me an flutter plugin example?

You need to ask a Flutter support group how iOS frameworks are added to a Flutter project.
One possible issue is that Flutter may not yet support XCFramework frameworks, since that format was introduced in Xcode 11. If Flutter does not, then try the old-style frameworks distributed in j2objc-2.5.

thank you
发自我的iPhone
------------------ Original ------------------
From: Tom Ball<EMAIL_ADDRESS>Date: Mon,May 4,2020 3:13 AM
To: google/j2objc<EMAIL_ADDRESS>Cc: JiangYubao<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [google/j2objc] how to add j2objc to flutter plugin as dependency? (#1253)
You need to ask a Flutter support group how iOS frameworks are added to a Flutter project.
One possible issue is that Flutter may not yet support XCFramework frameworks, since that format was introduced in Xcode 11. If Flutter does not, then try the old-style frameworks distributed in j2objc-2.5.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


How to find the local account or password when we forgot it.

Describe your issue here
I find that If we forgot the account or password of the Rancher when I open the Access Control, we have no idea to find back.
There is only one way to resolve the issue which is in Rancher FAQ Troubleshooting-AUTHENTICATION
clear the api.auth.provider.configured value
We must login the host of the Rancher Server or  Database Server.
I suggest that we need API or Guide to find the local account and password.
It will be more easily for user,
Because we can do nothing when we can not login the Rancher Server host or database.

Useful
Info

Versions
Rancher v1.6.7 Cattle: v0.183.5 UI: v1.6.17

Access
localauth admin

Orchestration
Kubernetes

Route
stacks.index

The point of access control is that you can't access it without the credentials.  By what mechanism do you expect to be able to recover it reset the password?
The cleartext password is not stored and there is (intentionally) no way to recover it from the hash that is.  We're have no email address and no mechanism for sending emails because it's running on your arbitrary hardware. If you can run another container on the same machine as the server., then you already have access to the database.

Only option is to disable auth and reconfigure it back.
https://rancher.com/docs/rancher/latest/en/faqs/troubleshooting/#help-i-turned-on-access-controldocsrancherv16enconfigurationaccess-control-and-can-no-longer-access-rancher-how-do-i-reset-rancher-to-disable-access-control


permission 'change_config' name can't be changed

permission 'change_config' name can't be changed
when migrate i get a permission name Can change config and codename of this permission is change_config ,if i change the name of this permission,next time i migrate will get error like django.db.utils.IntegrityError: (1062, "Duplicate entry '2-change_config' for key 'auth_permission_content_type_id_codename_01ab37 5a_uniq'")
Steps to reproduce
review the code,i have find you have write             permission, created = Permission.objects.using(using).get_or_create(                 name='Can change config',                 content_type=content_type,                 codename='change_config') in constance/app.py line29, i wish your can change it to
            permission, created = Permission.objects.using(using).get_or_create(                 content_type=content_type,                 codename='change_config')
            if created:
                permission.name = 'Can change config'
                permission.save()（really don't know how to add code block）
to allow user custom permission name,thank you.
System configuration

Django version:1.11.1
Python version:3.6

Changing a permission name is not something that is advisable and AFAIK not supported by Django. So in other words: don't change the permission name.


Increment to version 0.3.0

Prepare for 0.3.0 release

IIRC you have to bump the version in teh lock file as well - pulling down this change to see if I can do that.


feat(selectable-card): introduce SelectableCard

Note: Depends on #23.
Fixes #15.
Fixes #17.
This PR introduces <SelectableCard>, a card that can be selected.
Two components are migrated to use the new <SelectableCard>, with renames:

<CustomSelect> to <LocationCard>
<FlavorCard> to <PopularSizeCard>

Changelog
New

<SelectableCard>

Changed

<CustomSelect> to <LocationCard>, to use above <SelectableCard>
<FlavorCard> to <PopularSizeCard>, to use above <SelectableCard>

These look awesome! Thanks for taking the time to add these in, @asudoh. There are a few merge conflicts that need to be resolved, but other than that good to go 👍 ✅

Thanks alot @tw15egan for reviewing!

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Display rule includes variants in value

For example: .sm:flex => {:display "sm:flex"}
I'm using this quick fix to get around it; not sure if there's a better way:
    :garden (fn [{:keys [class-name]}]
              (let [class-name (str/replace class-name #".*:" "")] ; added this line
                {:display (if (= "hidden" class-name)
                            "none"
                            class-name)}))

Nice catch. Thank you for reporting the bug.


Eject just-the-docs to prepare to migrate away from GitHub Page's automatic jekyll config set up

Content has only been changed to update links & images to use the correct format.

oh what it build :O

lol "eject just the docs" should be "rebuild it all"


Rest Assured does not set content length for file upload with Content-Type=application/octet-stream;

I am using Rest Assured for the first time and find it quite powerful.
I am testing one of my REST service that accepts Content-Type=application/octet-stream; and requires Content-Length header. However I can't achieve this. The test cases fails if I explicity set the header as .header("Content-Length", fileSize)
Error:

Caused by: org.apache.http.ProtocolException: Content-Length header already present
at org.apache.http.protocol.RequestContent.process(RequestContent.java:97)

If I don't set the content length my REST service complaints. I enabled log().all() and found that the content length is not set if I use body(inputstream) or body(file).
Here is the log

Request method:	POST
Request URI:	https://localhost:8777/services/files
Proxy:
Request params:
Query params:
Form params:
Path params:
Headers:		x-mc-service-name=rewards
x-file-name=TestFile.txt
x-file-size=10992108
x-checksum=fa6915b728bc93dd72a679a189bd3b51
Accept=/
Content-Type=application/octet-stream; charset=ISO-8859-1
Cookies:
Multiparts:
Body:
C:\Users\vb\AppData\Local\Temp\junit8893347449009337662\tmp\TestMultiLarge5MB.txt

I zeroed down the problem to this:
https://github.com/rest-assured/rest-assured/blob/315d610697404209538aeb2e0f09a21ee9726006/rest-assured/src/main/java/io/restassured/internal/http/EncoderRegistry.java#L112
I am wondering why do we set content length -1 when we already know that source of content is file and can determine size of it. Any suggestions?

That sounds reasonable since we know that it's a file. Not sure why it's set to -1. Perhaps you could provide a pull request?

I will create PR soon - just tied up at work.

@vjykumar Was the PR created? What is the current status of it?

I am having the same problem when I am doing a put to upload a file to Amazon S3 bucket. It needs the Content-Lenght as a header, but I can't see it being set. I have tried what amoltambe87, but that does not seem to do anything for me.
Here is what my call looks like
ValidatableResponse response = given()     .header("Content-MD5", image.getMd5String64Base())     .header("Content-Type", image.getMimeType())     .contentType(image.getMimeType())     .contentType("multipart/" + image.mimeType)     .header("host", "UNSIGNED-PAYLOAD")     .header("charset", "UTF-8")     .header("Connection", "keep-alive")     .header("Cache-Control", "no-cache")     .multiPart(image.fileName, image.fileName, image.imageBytes, image.mimeType)     .log().all()    .when()     .put(url)    .then()     .log().body();
Any tips of how to get the Content-Length to work? Thanks!


Be do not report tablet to Fe after clone finished

Steps to reproduce the behavior (Required)
It not easy to reproduce the problem. After be restarted, the report returned to normal
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)

1.18.2

@sduzh PTAL

This is the clone log. Nothing seems unusual


bouncetime parm refused when config is checked

Hello,
I had to comment bouncetime for binary_sensor as this parm is refused...? Thanks. [Eddy]
``
gpiod:
path: '/dev/gpiochip0'`
binary_sensor invert_logic:

platform: gpiod
sensors:

name: "volet_gar_up"
port: 04
bouncetime: 1000
invert_logic: True`
``
Sorry for code formatting, i'm not used to do it on github

I seem to have renamed bouncetime to debounce, can you test? I will adjust the readme
from: CONF_DEBOUNCE= "debounce", because the gpiod port config is debounce_period

Hi ! works great :-)
Thank you for a so quick action !
Eddy

Nice


Display labels as collapsible element

Description

Labels are displayed in Busola for a number of k8s resources such as Namespaces or Pods. Often there are many labels attached to one object so that user on a list view instead of multiple rows, can see only one or two items and their labels.
While user may not necesarily be interested in the labels but rather primarily to find appropriate list item, it would be good to make labels as collapsible section displayed only on demand (maybe we could display first 2 labels inline and "..." indicator for more)
Attachments

Labels are removed from the list view.


Create a management command or other method for automating database dump archives

Looking into this.
Would it be a more sophisticated, project specific form of dumpdata?

I'll get this.
This might be the key: https://github.com/vitaliyf/django-dbdump.
I'll have to see if it's still good with Django 1.7+ (and Python 3), but if it is, I'd just strip out the auth app (and maybe other django.contrib apps too) and throw the resulting dump into a time-stamped file.
If the library isn't compatible, I'll fork the django-dbdump package and submit a request to that.
As time permits, I'll add an option for backup destination — so someone could specify whether they wanted the backup to be stored locally or on some service like S3 or Glacier.

As I reflect more on this patch, I am leaning towards leaving the backup decision to people who are implementing this app in individual projects.


Avoid spurious "illegal await" error in IDE with nesting

The presentation compiler runs with -Ymacro-expand:discard, which
retains the macro expandee in the typechecked trees, rather than
substituting in the expansion. This mode was motivated as a means
to keep IDE functionality working (e.g. completion, navigation,
refactoring) inside macro applications.
However, if one has nested async macro applications, as reported in
the IDE ticket:
https://www.assembla.com/spaces/scala-ide/tickets/1002561
... the expansion of the outer async application was reporting
await calls enclosed by the inner async application.
This change tweaks the traversers used for this analysis to
stop whenever it sees an async.

@sschaef This should fix https://www.assembla.com/spaces/scala-ide/tickets/1002561#/activity/ticket . (I still can't figure out how to comment on Assembla tickets, the "leave a comment" link doesn't work for me when logged in as jzaugg at gmail.com

Thanks for the fix. I'm going to try it out. I gave your account on Assembla edit permissions, you already had an account btw: https://www.assembla.com/profile/jason.zaugg

I can confirm, the problem is gone.


Typical Microsoft Rubbish

What the Walk Through says and what VS17 show on the screen bear no relation to each other. It may not matter - but beginners need 1:1 correspondence until they are more familiar with what is happening.
Have abandoned the MS walkthroughs. Will find some other tuition on the internet

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

ID: b0dc39f7-b153-a46c-3b88-07c8ed2c71bc
Version Independent ID: 78a14535-9703-e2af-4451-783a7c4c10be
Content: Create a WPF application in Visual Studio
Content Source: docs/framework/wpf/getting-started/walkthrough-my-first-wpf-desktop-application.md
Product: dotnet-framework
GitHub Login: @mairaw
Microsoft Alias: mairaw

well, You may have mistaken UWP as WPF ,thus making it impossible to draw any correspondence.

I have no idea what you are talking about. I'm a beginner, Am I supposed to know what UWP and WPF mean ? Too many TLAs !
KT

I had the same problem until I started using VS2019 instead. I didn't know what UWP and WPF mean until I googled it. I have googled many terms whilst learning .NET. Google is your friend (sorry Microsoft)

@mairaw I think we can close it

Thanks @Potapy4. We state on the prereqs that we're using VS 2019 in the article. Maybe we could enhance this by saying you need VS 2019 actually since the UI changed so much to create a new project. But after the first steps, the tutorial should work for both VS 2017 and 2019. I'll need to think on what to do here.


Missing some error codes

Ref: https://github.com/jedi58/PHPErrorLevelCalculator/blob/master/src/ErrorLevelCalculator.php#L4-L8
The following error codes are missing:

E_RECOVERABLE_ERROR
E_DEPRECATED
E_USER_DEPRECATED

@jdeathe this has now been resolved in release 1.1


[W05H02] Two new test-cases

Try to remove a user from a group, in case the group previously did not contain any members.
Create a group, set owner to second person, remove a third person, remove second person, check that first person is owner.

seems good enough, write more precise commit messages in the future though 👍


Continue Firestore Codable

Pick up from where #838 left off, starting by merging it with current master

Squashed into and continued at #2229.  Please continue reviews there.


Make Repository Public

Make repo public.
Current behavior
Currently our repository is private, only being accessible to internal users at OWP.
Expected behavior
Repository will be public, and GitActions/GitPages will be available

It's public!


Update to build with fir for INFRA-2545

This has a fix for the hosting process (see issues.jenkins-ci.org/browse/INFRA-2545)

@olblak we need an issue to make these semversioned releases too, so your update cli can auto do them.


Add support of metric numeral expression. fixes #456

Hello,
I created the PR because this is a full working draft. I would be glad to get any kind of reviews.
This is my first time with xUnit (coming from NUnit and MsTest).  Any help is welcome!
Features:

[x] Convert from metric numeral expression (double only)
[x] Convert to metric numeral expression (double only)
[x] Add int support
[x] Support all symbols (decimal include)
[x] Support the name of each symbols (see List of SI prefixes) (partial => export is supported)
[x] Support the name of each symbols (see List of SI prefixes) (partial => import is supported)
[x] Handle space between number and symbol
[ ] Add ByteSize's similar syntax
[ ] Add the choice of precision
[ ] Add the support of small symbol / name (this include a switch from char to string in symbols because of deca "da"). Full list : { hecto, h, 1E+2 }, { deca, da, 1E+1 }, { deci, d, 1E-1 }, { centi, c, 1E-2 }. This feature will be lock by default. A boolean in parameter will unlock it.

Also:

[x] Up-to-date and complete XML documentation
[x] Include unit tests
[x] Include unit tests with exception coverage

cheers,

Features:

[x] Add int support
[x] Support the name of each symbols (see List of SI prefixes) (partial. export is supported)
[ ] Support the name of each symbols (see List of SI prefixes) (partial. import is supported)

Also:

[x] Include unit tests with exception coverage

For the choice of precision, I am thinking about two ways:

Full format support:

public static string ToMetric(this double input, string format,
    bool isSplitedBySpace = false, bool useSymbol = true)
{
    // ...

    return number.ToString(format)
        + (isSplitedBySpace ? " " : String.Empty)
        + GetUnit(symbol, useSymbol);
}

Precision only support:

public static string ToMetric(this double input, int n,
    bool isSplitedBySpace = false, bool useSymbol = true)
{
    // ...

    return number.ToString("#." + new string('#', n); // n is the count of numbers
        + (isSplitedBySpace ? " " : String.Empty)
        + GetUnit(symbol, useSymbol);
}

I think about switching from optional parameters to using overloads methods. I find it easiest to deal with this in public API. Is there any guidance around this in Humanizer? By the way, is there a StyleCop file (or alternative) for the project?
more reading : 1 2

One favor -- Would you be able to rebase this onto the dev branch? If at all possible, it'd a big help.
How's this looking from a completion perspective otherwise, is it ready for review?
Thanks!

Actually, nm...I'll handle the merge into dev when you're ready. Don't worry about it. Just let me know when you're ready. Thanks!

Ok thank you for the help. For now, everything works (AFAIk). I think I will let the support of e < 3 open. If someone want it, just create it. For the two others unchecked features, I would love some advices. I think it is a matter of preference.

I've rebased this PR onto https://github.com/MehdiK/Humanizer/tree/aloisdg-metric for review

Nice. Thanks.

I've merged this in to the dev branch. Thanks for your contribution!


Notebook outputs pollute commits

This is sort of minor, but I hate that this repo is listed as a Jupyter Notebook project.
That's because if you commit a notebook, all notebook outputs are also included in commits, which makes notebooks like<PHONE_NUMBER>3 "lines of code" even though most of it is junk.
So maybe we can find a way to scrub outputs before committing without having to manually clear them.

There's not an easy way to do this automatically, but jupytext:
https://jupytext.readthedocs.io/en/latest/index.html
comes close.

Fixed.


Current caffeine level compilation

My current caffeine level compilation on my Apple watch keeps disappearing after I updated my watch to 9.6.3.
How can I send you the diagnostic logs?

Thanks. I sent an email with the data, let me know if it is enough.

@moranmono Thanks! The diagnostic data is very helpful!

@gongzhang  After upgrading to watchOS 10.0.1, the issue seems to be resolved.

For watchOS 9.x:
https://developer.apple.com/forums/thread/736043?answerId=769013022&replyId=769013022


org.slf4j.LoggerFactory can not load SLF4JServiceProvider with org.eclipse.osgi.internal.loader.EquinoxClassLoader

In org.slf4j.LoggerFactory the following row:
serviceLoader = ServiceLoader.load(SLF4JServiceProvider.class, classLoaderOfLoggerFactory);
has a problem, if classLoaderOfLoggerFactory is a org.eclipse.osgi.internal.loader.EquinoxClassLoader.
Then the loaded serviceLoader has an empty loadedProviders Array.
Seee also:
https://stackoverflow.com/questions/78783619/logback-logger-1-5-0-with-eclipse-4-31-no-slf4j-providers-were-found/78904640#78904640

SLF4J 2 assumes that a Service Loader Mediator like Apache SPI Fly is present in your OSGi environment. You need to add the bundle to your Equinox deployment.

See also https://github.com/qos-ch/slf4j/discussions/428.

I would say it would be helpful, if you add this osgi issue to the following manual:
https://www.slf4j.org/codes.html#noProviders
Because you get following output in this case:
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.

The code in initSLF4JServiceProvider  creates a second logging system unrelated to the one used by LoggerFactory. Thus, it is not a general solution.


FITS plugin

The plugin should provide ability to download/open/display FITS images on the map.

Check this lib: https://github.com/rwg0/csharpfits

See:
https://manpages.ubuntu.com/manpages/bionic/man1/fitspng.1.html
https://integral.physics.muni.cz/fitspng/


iniconfig: init at 1.0.1

Motivation for this change
Added iniconfig package.
This is a dependency for newest pytest library. After this get merged we can update pytest to version 6.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

this is in staging
[00:45:24] jon@nixos ~/projects/nixpkgs (staging)
$ nix-build -A python3Packages.iniconfig
/nix/store/33gjaslxkywad0s9syc0j3627zbcx7ib-python3.8-iniconfig-1.0.1

it was done as part of  #95609

Nice... then there is no need for the changes provided here.


Add some new posters

About the PR
Adds some new posters
Changelog
:cl:

add: Added some new posters

no way you made this while i'm trying to figure out how to add my own posters here as my first PR lmao, nice sprites

That reminds me I should update the copyright on my own PR


Allow specifying a credentials file other than ~/.cargo/credentials

As the title suggests.
Use case
In Hypothesis (https://github.com/HypothesisWorks/hypothesis), we’re going to start publishing Rust packages soon. We have a continuous release process that means all our releases are done by Travis CI.
We store our credentials (crates.io, PyPI, Rubygems, …) in an encrypted ZIP file, which is unpacked by Travis at runtime. For Cargo, this means copying our credentials file from the ZIP file into ~/.cargo/credentials – but we ask Travis to cache ~/.cargo!
The Travis docs are very explicit about not putting secrets in the cache:

Cache content is available to any build on the repository, including Pull Requests, so make sure you do not put any sensitive information in the cache.

So it would be nice if we could tell cargo publish to look somewhere outside ~/.cargo for a credentials file.
I wonder if this also opens the door for https://github.com/rust-lang/cargo/issues/4645?
Possible interface
For consistency with --manifest-path, something like:
$ cargo publish --credentials-path secrets/cargo-credentials

Other examples
We use twine to upload our Python packages, which has a --config-file for passing a path to our PyPI credentials:
$ twine upload --help
usage: twine upload [-h] [-r REPOSITORY] [--repository-url REPOSITORY_URL]
                    [-s] [--sign-with SIGN_WITH] [-i IDENTITY] [-u USERNAME]
                    [-p PASSWORD] [-c COMMENT] [--config-file CONFIG_FILE]
                    [--skip-existing] [--cert path] [--client-cert path]
                    dist [dist ...]

optional arguments:
  --config-file CONFIG_FILE
                        The .pypirc config file to use.

(ETA: I found a couple of other tickets about the credentials file, but I couldn’t find this exact suggestion. Happy to close if it’s a duplicate I’ve missed!)

It is worth noting (for others in the same boat if nothing else) that the current plan is to just make ~/.cargo/credentials a symlink into the place where we store the decrypted file, so that the actual encrypted contents don't ever end up in the cache. The main problem with this is doing it in a way that doesn't stomp on users existing config (fortunately we only ever run this code from within Travis so we don't have to care about it, but this makes the workaround very specific to our use case).

Throwing in another possible workaround: Maybe CARGO_HOME=where/that/zipfile/got/unpacked/cargo cargo publish would allow just the publish step to go ahead with the secret credentials, while leaving the default $CARGO_HOME directory untouched for other operations. (But that may also just break because other parts of publishing than credential lookup need to poke at stuff in $CARGO_HOME.)
Having a flag to avoid the need for any workaround would be best.

I’m in the middle of a house move, but a quick grep for credentials makes me think this wouldn’t be a huge change. (Famous last words!)
I’d be willing to have a first attempt at this patch if people think it’s a good idea.

Sorry for the slow reply, the decisive people that have final say on these things are on vacation or otherwise unavailable.  My impression is that they will be back soon.
FWIIW, I like the suggestion, and stoked that Hypothesis will be using rust.

Another possible solution is to make cargo read credentials from project_dir/.cargo/credentials and not only from ~/.cargo/credentials. Not sure if this is a good solution, but, if anyone wants to implement it, the relevant code is here:
https://github.com/rust-lang/cargo/blob/5845464cf92a348f95dc6b43133c017c37fcb684/src/cargo/util/config.rs#L616-L635

@alexwlchan how is that first pass going? Anything we can do to help?

@Eh2406 I haven’t started working on it yet; I read this bit:

the decisive people that have final say on these things are on vacation or otherwise unavailable. My impression is that they will be back soon

and decided I’d wait until I got the definitive okay, and since it never came, the emails languished in my inbox.

I am sorry for that. Let me see if I can get there attenchen. @rust-lang/cargo recommendation on how to resolve this issue, are the proposed solutions exeptibal?

No worries, no rush, I just didn’t want to sink a bunch of time without knowing if I was doing the right thing. :-)

We'd definitely like to see an RFC for this, especially because any change here has security implications.
Speaking only for myself, I would roughly suggest that I'd prefer a solution that passes this configuration either by environment variable or by an include directive, rather than by an executable script, unless you absolutely need a script.

Btw this RFC may help with this.

@ehuss pointed out that you can also use the env CARGO_REGISTRY_TOKEN. This can be done in Travis's ui for encrypted env. Or by having a script that reads it out of your file and sets the env for cargo.

Triage:  The credential file is still hardcoded to be in $CARGO_HOME/credentials, but the CARGO_REGISTRY_TOKEN envvar still works, and now you can also use cargo publish --token to specify the token on the command line.    I think both of these solutions would solve the original problem, and would keep credentials out of the travis CI cache

Btw this RFC may help with this.

This has now been stabilized.  Between that and the other options mentioned, I'm going to assume this is resolved.  If there is a reason we should re-open this, let us know!


Support downloading of .ymal files

What is the expected feature or enhancement?
With the method IBMExperimentService.file_download() one can download .json associated with a particular experiment. However, some experiments have .ymal files, which can not be downloaded in the same fashion. It will be helpful to be able to download the .yaml files as well. It should be noted that IBMExperimentService.experiment_has_file() correctly identifies that the files exist.
Acceptance criteria
For any file FileName.yaml and experiment id exp_id for which
IBMExperimentService.experiment_has_file(exp_id, "FileName.yaml")

is evaluated to True, the following should download the file the same as it does for .json files:
IBMExperimentService.file_download(exp_id, "FileName.yaml")

Issue was resolved by #74


#6544: NRE with containable part in Orchard.Lists

Fixes #6544
Here, i also fix a little 404 not found because nprogress.min.css doesn't exist.
Best.

I will wait to merge this one as I'd like it to be on 1.10.x which doesn't exist right now. It will once we ship 1.10.
If it works in 1.9.x then you can target it instead.

Done


Dockerize Autotype

Dockerizing Autotype
Overview
Make a Docker Container of Autotype for Easy Workflow.
Description
Docker is a set of platform-as-a-service products that use OS-level virtualization to deliver software in packages called containers.
Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels. The main goal is to dockerize Autotype, so that it can run on any platform without any conflict.
Expected outcomes
Working Docker Container of Autotype with proper documentation in Docs to Run it in the README.md.
Skills
Python, Docker
Possible mentors
Kanishk Pachauri, Anjuman Hassan
Expected project size
5 hours.
Difficulty
Easy

Use This Proposal Template as a Reference to write your own proposal template
Your Issue Name
Your Background and Technical Skills.

What problem are you trying to solve?

What is Your Approach to Solving the Problem?

Your Timeline to solve the problem.

Your Commitments.

Example of Proposal.
Improve the generated PDF in the PDF/LaTeX backend
About me
I have been programming since High School and I have been Advocating for Open-Source projects for the past 2 years. I
have experienced in Python , JavaScript, and Dart[Flutter] and I am currently learning Julia. I organized events on Open-Source in my College and I am the founding member of an Open-Source community fossc where I mentor Students in their Open-Source Journey. For more information about me You can head over to my website

Issue - Intermittent CI failures with PDF builds
Issue - The "PDF/LaTeX backend" stage often fails on CI, causing the docs not to deploy (since they only deploy if that stage passes) Restarting the build usually fixes it though.
Proposed Solution….
● Fixing any bug on the CI end.
● Debug any issue in the test of the LaTeX backend
● Rewriting guided Tests for it so that it can be fixed throughout the process.

TimeLine
May 20 - June 12
Community bonding, understanding Documenter.jl Codebase, re-scoping project implementation/timeline with help from mentors.
June 13 - June 23
Learning Julia Essentials and other essentials for integration and fixing of issue #1196 and #1467 and #1342 .
June 24 - July 15
Adding the Proposed Solution for the issue #1196 and #1467

Your Commitments.
● I’ll try my best to learn everything which is essential for the
project.
● I’ll Create regular Blog posts on the progress of the project
● I’ll try my best to complete the project on time.
● In case of any change in the above timeline, I will inform
the mentors in advance.

Your Issue Name
XYZ

Your Background and Technical Skills.

jbaff

What problem are you trying to solve and Your Approach?

Your Timeline to solve the problem.

#20
I am learning python and Docker currently.
Problem - Dockerizing the code.
8 - 10 september

Thanks @GJS2162 for showing Interest in the project, I'll assigning you this project, if you need any of my help just ping me up.

Use this reference video to get an Idea of how to containerise a Python App with docker  also mention in Docs to Run the container.

Thank you @AnjumanHasan and @Mr-Sunglasses

@Mr-Sunglasses @AnjumanHasan   As I have been exposed to some new things regarding the issue I just need some more time to work on it.