Fix androidSdk NPE

Description
androidSdk can be null.
Related Issues
Fixes https://github.com/flutter/flutter/issues/47121
Tests
I added the following tests: Unit test. I tried to put the test under the androidSdk group and had to refactor the "validateSdkWellFormed() not called, sdk reinitialized" test.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

Also: https://github.com/flutter/flutter/issues/46888
I'm a bit confused. From the crash in that issue, It looks like androidSdk can be null in commands like flutter build apk where we need to have an Android SDK for the command to work. androidSdk can be null when AndroidSdk.locateAndroidSdk() returns null: https://github.com/flutter/flutter/blob/86982e195ec9f2ac48eb7ed75c5fec8d86fd84cb/packages/flutter_tools/lib/src/android/android_sdk.dart#L303
In commands where we need it, how about checking very early on that androidSdk is non-null and throwing a tool exit directing users to run the doctor?

@zanderso as discussed offline, the check is now in the top call.

@zanderso https://github.com/flutter/flutter/blob/354f80b84a9b30ec3b49d8fed81bce772a1bc8e8/packages/flutter_tools/lib/src/android/gradle_utils.dart#L237


enhancement 434 ASCII2NC_SKIP_IF_OUTPUT_EXISTS

This is a pull request for issue: https://github.com/NCAR/METplus/issues/434
I have never submitted a pull request before, so hopefully, I have done this correctly.  Please let me know if you have any questions.  Thanks!

Julie, please just remove me as a reviewer and use George's feedback.  I'm
going to focus on this bugfix for ascii2nc.
Thanks,
John
On Mon, Apr 20, 2020 at 4:07 PM George McCabe<EMAIL_ADDRESS>wrote:

@georgemccabe requested changes on this pull request.
These changes look great. My only suggestion is please add the new default
value to the other ASCII2NC use cases in the met_tool_wrapper area:
ASCII2NC_python_embedding.conf
ASCII2NC_python_embedding_user_py.conf
It would probably be good to check if ASCII2NC is used by any
model_applications use cases and add it there if it is, but I don't think
there are any (as of now).
You can make these changes directly to your branch and it will
automatically add the changes to the pull request when you push them to
GitHub.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/METplus/pull/438#pullrequestreview-396847203,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFA4HKEP3L4ENT7YWIRSN4LRNTBSTANCNFSM4MMYJ2KQ
.

Hi George.  I made the requested changes.  It appears that only the following files use ascii2nc:
ASCII2NC_python_embedding.conf
ASCII2NC_python_embedding_user_py.conf
I don't see the new changes in this pull request though, although I did push them to the branch.  How do I proceed so that you can see the changes?

@jprestop, your commit now is viewable in the pull request. I think GitHub has been having some issues because I been having problems navigating the website and pushing changes over the last hour. I received an email saying you added a commit 1 minute after your email not being able to see it, so I suspect the issues with the site are to blame.


window.scroll not working inside drawer-content

I have few elements inside drawer that uses window.scroll and window.scrollY to function.
Inside drawer-content window.scrollY is always 0 and window.scroll is not working anymore.
It works if I remove drawer.
Please help.

Sorry for replying late.
I created a simple react project with create-react-app.
https://github.com/anhsirk0/daisy-drawer
Thanks

@anhsirk0
instead of
window.scroll({ top: y, behavior: "smooth" })

use this:
document.querySelector('.drawer-content').scrollTo({ top: y - 70, behavior: "smooth" })

(70 is optional offset for navbar)

Thanks this works.
Also i was having problem with
window.addEventListener("scroll", scrollFunction);

which I solved using similar method,
document.querySelector('.drawer-content').addEventListener("scroll", scrollFunction);

Thanks again.

Thanks this works. Also i was having problem with
window.addEventListener("scroll", scrollFunction);

which I solved using similar method,
document.querySelector('.drawer-content').addEventListener("scroll", scrollFunction);

Thanks again.

And this...
Getting scroll value
window.scrollY

to
document.querySelector('.drawer-content')!.scrollTop

🚀

document.querySelector('.drawer-content')

Thanks man, you saved my day

I think with last version of libs that problem is fixed automatically, using window:
window.addEventListener("scroll", scrollFunction);
In my case when I set the next libs I going to set window.addEventListener back again:
"react-daisyui": "^4.1.0",
"daisyui": "^3.6.1",
"tailwindcss": "^3.3.3",


Always run unlocalize script when server stops, no matter version of npm

@gideonthomas I'm sick of the unlocalize step not running when the dev server stops.  Despite what npm should do, the post script for start doesn't run in all versions of npm`.  This fixes it so we always do it.

It works for me.  The web server exits properly on CTRL+C, and my unlocalize stuff runs.

Hmm weird, it def does not work for me. Does it depend on the terminal? I'm using zsh. Also, what OS version are you using?

I feel like I filed another bug somewhere about helping devs not get confused when dist/bramble.js was missing, but I can't find it now.  This fixes that too.

@pomax, can you test this on Windows, please?  Run npm start and see if it runs the web server and localizes files.  Next, do Ctrl+c to kill the web server, and see if it runs the unlocalize step.  If you run git status when it's done, you shouldn't see the localized files changes in src/nls/*.


Add SSL/TLS support for Hive Metastore

https://github.com/prestosql/presto/issues/2658
Building ssl context part is referenced from existing logic https://github.com/prestosql/presto/pull/1588 and https://github.com/prestosql/presto/pull/1687 - perhaps we could make a common util to avoid reuse of the code
Tested with local standalone hive metastore and presto.

@dongwoo1005 Can you sign the CLA? I cleared all of Salesforce for this.

I made a few changes in https://github.com/prestosql/presto/pull/3440 to align the configuration and behavior to match Drift (see DriftNettyClientConfig and ReloadableSslContext).


Fix the feature of Displaying Popup.

Luis have completed the task and will approved it too.

Everything is ok, You can merge it @angelacuahutle! :+1:


Import ABC through six.moves for Python 2/3 compatibility.

Importing ABC directly from collections has been removed in Python 3.10. Use six.moves.collections_abc as compatibility layer that uses collections in Python 2 and collections.abc in Python 3.

Thanks @tirkarthi!


Document built-in audit annotations

This is a Bug Report

Problem: Kubernetes auditing uses (at least) two unregistered, undocumentated annotations:

authorization.k8s.io/decision
authorization.k8s.io/reason

We should document these.
Proposed Solution:
Register and document these annotations. If there are other annotations used by the audit mechanism, document these too.
Page to Update:
https://kubernetes.io/docs/reference/labels-annotations-taints/

Additional Information:
/sig api-machinery
/sig security
/language en

Issue #30809 highlights that audit annotations are a thing. I don't think any of these are documented yet.

/triage accepted

/assign


Changed the test for RegexValidator class

Description
In this PR, I am refactoring the test so that it passes, this PR is related to this PR: https://github.com/opensearch-project/OpenSearch/pull/6823
Issues Resolved
#591
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@Kuanysh-kst Looks like gradle check is failing. Please rebase your PR with SDK main

@Kuanysh-kst Looks like gradle check is failing. Please rebase your PR with SDK main

The failure is the signature of the class just merged in companion PR.  May need to wait for snapshot publishing.

The failure is the signature of the class just merged in companion PR. May need to wait for snapshot publishing.

Snapshot has been published: https://github.com/opensearch-project/OpenSearch/actions/runs/4639883181

Build is failing because of:
> Task :compileTestJava
/home/runner/work/opensearch-sdk-java/opensearch-sdk-java/src/test/java/org/opensearch/sdk/TestExtensionsRunner.java:145: error: no suitable constructor found for ExtensionRestRequest(Method,String,Map<Object,Object>,<null>,BytesArray,String)
        ExtensionRestRequest request = new ExtensionRestRequest(
                                       ^
    constructor ExtensionRestRequest.ExtensionRestRequest(Method,String,String,Map<String,String>,Map<String,List<String>>,XContentType,BytesReference,String,HttpVersion) is not applicable
      (actual and formal argument lists differ in length)
    constructor ExtensionRestRequest.ExtensionRestRequest(StreamInput) is not applicable
      (actual and formal argument lists differ in length)
1 error

> Task :compileTestJava FAILED

Build is failing because of ...

I got confused on which PR this comment was on.
That method signature is the just-merged OS 6826, companion PR of #643.  We need to merge #643 and then rebase this PR and it should pass.

Codecov Report

Merging #608 (54272a7) into main (ec6a8e6) will decrease coverage by 0.20%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #608      +/-   ##
============================================
- Coverage     64.08%   63.89%   -0.20%
- Complexity      268      269       +1
============================================
  Files            54       55       +1
  Lines          1150     1155       +5
  Branches         35       35
============================================
+ Hits            737      738       +1
- Misses          402      406       +4
  Partials         11       11

Impacted Files
Coverage Δ

.../main/java/org/opensearch/sdk/MapperExtension.java
0.00% <0.00%> (ø)

.../sample/helloworld/ExampleCustomSettingConfig.java
50.00% <ø> (+50.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


prefer static libs meson

prefer lib.a if there is lib.so from host and lib.a from ix

revert it, cause it break things - https://github.com/pg83/ix/commit/b50eb291e15432c746ceee46b42a8e3c85b4f88c
may be we can add this flag on a case by case basis?

revert it, cause it break things - https://github.com/pg83/ix/commit/b50eb291e15432c746ceee46b42a8e3c85b4f88c
may be we can add this flag on a case by case basis?

Shure, I will try to fix build problems, and if it does not work out, than will add per package


Feat new subprotocol

As we discussed offline, only need some cleanup to improve the code readability is enough.


corrected documentation of "weights" argument

There is also a similar line in embeddings.py but I don't know if that's the same situation as these or not. If so, just say so and I will change it.

Right, thank you. Surprising we didn't catch that earlier...
The Embedding layer does not have biases, it's just a single matrix acting where outputs are being looked up by index.

Cool! But I just made a typo with this. Should be (output_dim,) not (input_dim,), changing it now...


Update test data for ReactCMS

The current data under data/ should get replaced with ReactCMS specific test data.

Done.


feat: upgrade admission apiversion to v1

Signed-off-by: Jintao Zhang<EMAIL_ADDRESS>Please answer these questions before submitting a pull request

Why submit this pull request?

[x] Bugfix

[ ] New feature provided

[ ] Improve performance

[ ] Backport patches

Related issues

Bugfix

Description

upgrade admission apiversion to v1
create a kustomization.yaml file under samples/deploy/crd/, so we don’t need to specify its version

How to fix?

New feature or improvement

Describe the details and related test reports.

Backport patches

Why need to backport?

Source branch

Related commits and pull requests

Target branch

Codecov Report

Merging #697 (fe3b717) into master (3e9bdbf) will decrease coverage by 1.32%.
The diff coverage is 0.95%.

:exclamation: Current head fe3b717 differs from pull request most recent head 1353037. Consider uploading reports for the commit 1353037 to get more accurate results

@@            Coverage Diff             @@
##           master     #697      +/-   ##
==========================================
- Coverage   35.37%   34.04%   -1.33%
==========================================
  Files          60       61       +1
  Lines        5967     6144     +177
==========================================
- Hits         2111     2092      -19
- Misses       3612     3801     +189
- Partials      244      251       +7

Impacted Files
Coverage Δ

pkg/ingress/compare.go
0.00% <0.00%> (ø)

pkg/ingress/controller.go
1.06% <0.00%> (-0.01%)
:arrow_down:

pkg/ingress/secret.go
0.00% <0.00%> (ø)

pkg/kube/translation/apisix_ssl.go
0.00% <0.00%> (ø)

pkg/kube/translation/translator.go
47.00% <ø> (ø)

pkg/ingress/pod.go
32.46% <100.00%> (+0.88%)
:arrow_up:

pkg/apisix/plugin.go
80.00% <0.00%> (-20.00%)
:arrow_down:

pkg/apisix/cluster.go
27.25% <0.00%> (-3.50%)
:arrow_down:

pkg/apisix/route.go
35.66% <0.00%> (-2.10%)
:arrow_down:

Continue to review full report at Codecov.

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


Application Owner can not be group object

Group object is not allowed to be an Application's owner per https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/application. Trying to make a Group object to be an owner will result in error
The reference target 'Group_xxx' of type 'Group' is invalid for the 'owners' reference.',
The following documentation on this is wrong:
https://docs.microsoft.com/en-us/rest/api/graphrbac/Applications/AddOwner

Name
Required
Type
Description

url
True
string
A owner object URL, such as "https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd", where "0b1f9851-1bf0-433f-aec3-cb9272f093dc" is the tenantId and "f260bbc4-c254-447b-94cf-293b5ec434dd" is the objectId of the owner (user, application, servicePrincipal, group) to be added.

@bachoang given that this is a Graph issue, we'd recommend you open the issue in the Graph documentation repository - https://github.com/microsoftgraph/microsoft-graph-docs


Navbar not clickable on Mobile when using data-bs-hover!

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Navbar not clickable on Mobile when using data-bs-hover.

    Parent Dropdown

Above code works fine on Desktop, we are able to Click "Parent Dropdown". But on Mobile we can not click "Parent Menu".
HOW TO SOLVE THIS ISSUE?
Bootstrap must separated the Dropdown Icon on Mobile, so:

User can click the Parent Menu
User can click the Dropdown Icon to open Dropdown-Items

Please try the menu of https://drupalnesia.com/ on Mobile for demonstration of how to fix this issue.
Reduced test cases

    Parent Dropdown

What operating system(s) are you seeing the problem on?
Windows, macOS, Android, iOS, Linux
What browser(s) are you seeing the problem on?
Chrome, Safari, Firefox, Microsoft Edge, Opera
What version of Bootstrap are you using?
v5.3.x

Hey! @kotakomputer-ceo , Are you talking about the hamburger icon is not working in mobile mode? Just confirming , cause mine works completely fine , as for the website you've linked.

There is no data-bs-hover in Bootstrap.


[Snyk] Upgrade dotenv from 16.0.1 to 16.1.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade dotenv from 16.0.1 to 16.1.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 9 versions ahead of your current version.
The recommended version was released 24 days ago, on 2023-06-04.

Release notes

Package name: dotenv

16.1.4 - 2023-06-0416.1.4

16.1.3 - 2023-05-3116.1.3

16.1.2 - 2023-05-3116.1.2

16.1.1 - 2023-05-31v16.1.1

16.1.0 - 2023-05-30Update CHANGELOG and README

16.1.0-rc2 - 2023-05-21Version 16.1.0-rc2

16.1.0-rc1 - 2023-04-0716.1.0-rc1

16.0.3 - 2022-09-29v16.0.3

16.0.2 - 2022-08-30Version bump - patch 16.0.2

16.0.1 - 2022-05-10Version bump - patch 16.0.1

    from dotenv GitHub release notes

Commit messages

Package name: dotenv

dc1cd6c 16.1.4
be94778 Update CHANGELOG
4443c59 Merge pull request #747 from ericcornelissen/patch-1
f003766 Add .github/ to .npmignore
4d25544 16.1.3
1ab96d7 Merge pull request #745 from motdotla/browser-defaults
080779a Update CHANGELOG
0ab684d Update README
bf7e626 Default fs to false as it cannot be duplicated in the browser
ec5eef8 Update README
7968a7f Update README
86ef7b2 Remove browser key
3f40e12 16.1.2
78e5a02 Merge pull request #744 from motdotla/configDotenv
53bbc1f update CHANGELOG
d0675f2 Expose configDotenv as public method
66080bd v16.1.1
6287f15 Merge pull request #742 from motdotla/crypto-false-for-browser
0d94e71 Add type definition for decrypt function
cb9a51a Add crypto to browser false list
ef48935 Update CHANGELOG and README
d5b4150 Version 16.1.0
f0e6daa Add to FAQ
cd6b943 Update README

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch coverage has no change and project coverage change: +77.19 :tada:

Comparison is base (228b8a3) 0.00% compared to head (e209bc4) 77.19%.

:exclamation: Current head e209bc4 differs from pull request most recent head 76837c1. Consider uploading reports for the commit 76837c1 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##           main    #1405       +/-   ##
=========================================
+ Coverage      0   77.19%   +77.19%
=========================================
  Files         0       32       +32
  Lines         0     2609     +2609
  Branches      0      539      +539
=========================================
+ Hits          0     2014     +2014
- Misses        0      422      +422
- Partials      0      173      +173

see 32 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


FlyCircuit thumbnail error

Please give details of the issue:
swc is fine but thumbnail error

Is this fixed? Can't find in dev.
Support info:
Wed May 18 2022 14:33:45 GMT+0100 (British Summer Time)
Firefox
100.0 [2560,1490]
https://v2.virtualflybrain.org/org.geppetto.frontend/geppetto?id=VFB_00003326&i=VFB_00101567,VFB_jrchk40f,VFB_jrchk6hu,VFB_00003326,VFB_00003326

this still looks wrong, doesn't seem to be an issue with the skeleton as that looks fine on VFB and FC


Typo fixes and re-formatting etc.

The font colour of non-language specific monospace blocks is different between dark and light mode. Since the block has consistent background, I am not sure that is necessary. Maybe both could be a midway between the two colours (#666666 ?) instead.
Also, for some reason swapping between dark/light mode seems to change the new line breaks. This happens both in the sidebar title, but also the text (where it matters less).

Also, I noticed that the portraits of the three authors need updating for darkmode. The white parts of the PNGs are actually transparent, making the dark mode images scarring 😅 . Cannot do that on my end, but someone more skilled with illustrator/Inkscape (@aidaanva) might be able to?

I can work on it on friday

Feel free to make a new PR if you see anything else cropping up


Add function to invert red and blue values of a color

Prep work for eventually loading tile sets

I'm not particularly tied to the function name of Invert either.


Update README.md

I have made some minor grammatical edits to the README.md file.

Thank you for your contribution.

@Ask149 Sir can you please add labels to my PR as I am a GSSoC'21 participant.
Thank you

@Ask149 Sir can you please add labels to my PR as I am a GSSoC'21 participant.
Thank you

@aditi1403 Can you join the slack channel  HERE to discuss this further?


Does not support index buffer with glVertexArrayElementBuffer

Specifying index buffer with OpenGL 4.5 function glVertexArrayElementBuffer doesn't work in RenderDoc(0.29 Win64).  If I replace the glVertexArrayElementBuffer with glBindVertexArray() followed by glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ...) then the index buffer is captured correctly in RenderDoc.

Do you have a repro sample showing the bug you can share? Eyeballing the code I don't see anything obviously standing out as wrong so I'll have to construct something to test it, and there's the chance I might not make my sample in the same way as yours and it won't repro the bug.

Hi thanks for the quick response.  I made a repo for you that shows this problem: https://github.com/finalpatch/rd278
Sorry for the language used being Pascal. You will need the Lazarus IDE if you want to build it. I have only tested this on Windows 10 x64.
In the file glhelpers.pas,  there is a line near the beginning "{$define RENDERDOC}".  If the RENDERDOC path is enabled, RenderDoc captures the index buffer. Otherwise RenderDoc is unable to capture the index buffer.  Either way, the rendering result in the window looks correct.

I think that should do the trick (ignore the commit listed twice). I was binding a buffer to the VAO without properly restoring the previous binding, so for this case where the bind is part of VAO state I was trashing it.
I also fixed an issue where buffers created via glCreate() and never going via glBindBuffer*() would be wrongly listed as 'uninitialised buffer' in the UI.
Let me know if that sorts it out for you.

Just tried the latest nightly, works flawlessly. Thanks a lot!


Start a second time

Don't know if its a bug or i just don't know how to configure the widget right, but if i use your example code with the button, the first time clicking on the button, the tour starts. But when i hit the button the second time, the tour won't start again.

moved to bootstrap-tourist: https://github.com/IGreatlyDislikeJavascript/bootstrap-tourist


Reduce the size of the C:\Program Files\PowerToys\modules directory

Description of the new feature / enhancement
I found that there are many folders in the C:\Program Files\PowerToys\modules directory that use the same files, and these files are duplicated, hoping to improve space utilization and reduce the waste of valuable C drive space, and by comparing file sizes And the hash values for these files are the same.
Scenario when this would be used?
Any time
Supporting information

There are still many duplicate files in this folder. I hope to consider my issue. With more and more plug-in support in the future, this folder will definitely become bigger and bigger.

I also see this. The PowerToys folder is ridiculously big.
Screenshot using WinDirStat:

Sorted list of total file size of files
(output of find . -type f -printf "%f %s\n" | sort | uniq -c | awk '{ print $1*$3,'\t',$1,'\t',$2,'\t', $3 }'|sort -n -r)
In this file, you can see the 10 copies of Microsoft.Windows.SDK.NET.dll alone require 208 MB.
Tree of PowerToys directory
(output of tree)

I also see this. The PowerToys folder is ridiculously big. Screenshot using WinDirStat:
Sorted list of total file size of files (output of find . -type f -printf "%f %s\n" | sort | uniq -c | awk '{ print $1*$3,'\t',$1,'\t',$2,'\t', $3 }'|sort -n -r)
In this file, you can see the 10 copies of Microsoft.Windows.SDK.NET.dll alone require 208 MB.
Tree of PowerToys directory (output of tree)

Yes, I only cut a part of the screenshot, there are many similar ones, and these dlls can be shared, but they don't seem to pay attention to this problem

What you see is not the actual size. Actually, it's much smaller. However, the volume of the software at 1GB is still enormous

What you see is not the actual size. Actually, it's much smaller. However, the volume of the software at 1GB is still enormous

I looked at the size of my folder and it was around 2GB.I hope they can optimize  it.

The size is only 1g, What you see is not the actual size, it seems that they have already been optimized

How can I verify this?

https://github.com/microsoft/PowerToys/blob/main/doc/devdocs/disk-usage-footprint.md


Include systemd-user service file

Include a systemd.services file to run as a user
Also document both this and the pre-existing service file and how they should be used.

Also, I believe you mean systemctl enable rather than systemd enable in the README addition.
Also, my system (raspbian) doesn't allow --now .. I simply systemctl enable  librespot

Yup, you're right, it's systemctl, not systemd. My bad, good catch. 😅


Add possibility to use -o option with given project

Hello, I need to clean up one project that is holding multiple repositories. I want to be able to run the cleaner with the following options: ./gitlab-container-registry-cleaner list project ID -o /tmp/repositories.json.
Current behavior:
$ ./gitlab-container-registry-cleaner list project 1 -o /tmp/repositories.json
error: unknown option '-o

Expected behavior:
The same as when running ./gitlab-container-registry-cleaner list all -o /tmp/repositories.json, but for one project (or group, possibly) only.
End notes:
Thank you for the great tool, saving time and nerves while maintaining a self-hosted GitLab.

Hi there, thanks for your feedback happy to see this project in use :)
Can you use something like this maybe:
./gitlab-container-registry-cleaner list project 1 > /tmp/repositories.json

Which is equivalent without requiring a custom flag

This is possible now in v0.0.6!


[DOCS] Best practices to design high transaction volume dApps on FLOW blockchain

Issue to be solved
This issue is focused on writing some best practices documentation for the dApps developer who wants to build load-centric dApps.
This documentation should cover the best practices around the following -

Transaction Queueing process
Batch Transaction submission
RPC node infrastructure.
How to do Airdrop in an efficient manner

Suggest A Solution
Some of the Highlights of the documentation -

Load-centric dApps, Always create the transaction queuing system instead of blindly submitting transactions on demand. It depends on how dApp developers decide which transactions need to be submitted right away and which can be batched together with other transactions to increase efficiency.

It is recommended to use batch-style transactions if one operation needs to perform on many users around the same time (approximately). It will save the dApp developers from hitting the throttling limit of the RPC nodes and save a couple of bugs in fees as well.

If dApps doing Airdrop to mass people then it is recommended to have pull style mechanism instead of push style, which means dApps developers can build a smart contract where they can add the Merkle root build using the entitled addresses and their allocation so they can claim as per there convenience by providing Merkle proof. Or if the list of addresses is not pre-known then at least create the batches of the addresses to whom they want to push the token in a single transaction.

What are you currently working on that this is blocking?
No response

We should probably explain key rotation and redundant proposal keys design with two approaches: locking and LRU

reducing number of transactions is definitely the first thing they should try.
also they could limit the number of transactions they have in flight before submitting them. having 3 phases for a transaction:

pending_preparation (script & arguments are filled in, authorizer, payer filled in, pending throughput limit/proposer key availability)
pending_submission (ref block filled in, proposer key filled in, tx signed by all parties)
pending_completion (submitted to flow, pending seal)

and make sure at any given time the transactions in pending_submission + pending_completion is under a limit.

Can we also include recommended API usage? We currently produce one block in roughly 0.8 second. This means there is no need to query for the latest block more than twice a second. Hence a dApp should not exceed 2 Requests per second for a  GetLatest call.
Similarly, the AN follows the chain by getting new blocks, then collections and then transactions. Hence, the transaction status will not change faster than 0.8 per second. Consequently, the GetTRansactionResult for a recently submitted transaction should be made at rate of at most 2 Request per second.
These are just some initial thoughts but would love to get them included in this doc.

This is contract specific to Storefront (V1 & V2) but I think a lot of people have an annoying time figuring out how to combine the buyer address with the sales history if they are storing that. Might be good to have a recommendation to build the BE around the idea that the tx hash for ListingCompleted is the same, and separated by the event Index, in order to get a full picture of sales history.

Some loose points from my when helping out Doodles/OneFootball and building .find:

consider addinga human readable data to events, it scales so much better to be able to independently use and event to inform a user rather then have to do a query for the event to show relevant data. Just something simple as name/edition/thumbnail goes a long way.
consider not multi-signing, an alternative strategy is to have the user sign a tx that emits and transfer a resource to dApp storage and then the dApp can batch fullfil these requests. so use the chain as a queue. IMHO using storage here is better then events since you can then retry failed, use a DLQ storage path and in general handle failure in a way better way then if you only rely on events. AeraPacks use this pattern. Ensure that you add traceability information to events signed by oracles/be processes so that you can connect the dots on chain.
if you have to mint a lot of resources use batch minting.
when batch minting know that complexity does increase the more items is in the target collection.
if a collection gets to many items you cannot get its ids with normal getID method.
when batch minting using parallel processing I find the most efficient way is to give each worker a identity that is mapped to a key index in flow.json. That way you do not need a mint queue but each worker can just process work independently.
when designing pack system always ensure that it is possible to correlate received items with the packId/cost that you bought the pack for. If you do not do this it is very hard to connect the transactions and make efficient reports.


TypeCast double and float according to your Locale if default cast fails

In some regions decimal types have comma instead dot.  Currently spark-csv cast to Double or Float using .toDouble or toFloat scala functions.
If we have double or float types with comma (and the delimiter is another character) we could try to use the java.text.NumberFormat and get the default Locale.

Current coverage is 86.96%

Merging #154 into master will increase coverage by +0.06% as of 995aeee

@@            master    #154   diff @@
======================================
  Files           10      10
  Stmts          420     422     +2
  Branches       127     127
  Methods          0       0
======================================
+ Hit            365     367     +2
  Partial          0       0
  Missed          55      55

Review entire Coverage Diff as of 995aeee

Powered by Codecov. Updated on successful CI builds.

Now is working using the default locale when the exception is throwed.  If you want to use a parameter, tell me and I'll change the implementation.

Looks good to me. Please rebase and I will merge it after another found of tests. Thanks.

Done


add commit_hash to args

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


chore: wallet-service monorepo [part 1] - Unify projects

Acceptance Criteria

The CI should not pass, as it will be implemented in part 2
We should unify the wallet-service and the daemon projects
We should have a flake.nix that setups a devshell with yarn and nodejs
We should use yarn workspaces to build both projects

Security Checklist

[X] Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

Are the docs, READMEs, SOP, etc, up to date?

They're not, I'll update them in another PR


add logic to avoid scans of dvds, etc

(from bonnie)
One area that will need addressing is non-print material. There are various codes/fields that could help identify it, but I'm not sure what data you will have available/ Are you using z39.50? Screen scraping?
Examples:
The wrangling lovers, or, The invisible mistress
Microfilm F W5
microform: http://josiah.brown.edu:2082/record=b2889320~S7
look at: 337    microform|2rdamedia
and/or: 245|h - anything with this field (usually recognized by brackets at end of title) cannot be scanned
Bruno Walter conducts Mozart
M1000.M7 Q752x 1995
sound recording: http://josiah.brown.edu:2082/record=b2628079~S7
look at: 337 audio
and/or: 245|h - anything with this field (usually recognized by brackets at end of title) cannot be scanned
I think we could get together to determine how to identify these -- and a number of other -- formats.

possible future work -- expose rda format fields to z39.50, do background check on item-api, and alert user that only books/journals can be scanned.
Example coded display: http://josiah.brown.edu:2082/search~S7?/.b2889320/.b2889320/1%2C1%2C1%2CB/marc~b2889320
See fields 245-subfield h, and fields, eg:
336    text|2rdacontent
337    microform|2rdamedia
338    microfilm reel|2rdacarrier

in meeting (last week) of BJD & BB, we determined that the best way to go about this is to handle it at the easyscan landing page, since a lookup on format can more reliably be done there than in josiah-specific js.


fix dead link to fh-bootstrap repository

Thanks. The change will show up when @jph00 next deploys

Thanks - done!

Message ID: @.***>


Implement UI for resource core metadata editing

HydroShare Generic Resource Issues in GitHub: #3, #57, #75

Tested and approved Alpha v1.3 deployment


Text fields should be expandable and expand to fit length of text

Some text fields are too small to verify they are entered correctly. All text fields should have an option to expand the field so user can see entry in its entirety.
Also, if text entered is really long and exceeds the amount of space given in the text field, text field should expand to fit text once it is entered.

Example of expandable text field. See 'Body', you'll notice there are 2 diagonal lines in the bottom right corner that indicate you can pull that corner to expand the size of the field vertically.

See https://trellis.development.sinopia.io/repository/washington/a6934df9-7158-46d3-a50f-993135ace180 for this example:

Scroll to 'has summarization of content (RDA 7.10)'
You'll see the text entry is very long.
When you click 'edit', you get a tiny text field that only shows one line at a time. This text field should be much larger and/or have the ability to expand so it's easier to edit.

One possible solution could be using the HTML textarea element as  a sufficient replacement for the HTML text input we currently use.

Is this part of, or blocked by, #2401?

Is this part of, or blocked by, #2401?

I don't believe so, #2401 is more about the styling around labels and the input box. However, I did come across this that suggests adding the contenteditable attribute to a span or div along with a role="textbox" for accessibility to create a expandable input.

@astridu :speech_balloon:

See trellis.development.sinopia.io/repository/washington/a6934df9-7158-46d3-a50f-993135ace180 for this example:

Scroll to 'has summarization of content (RDA 7.10)'
You'll see the text entry is very long.
When you click 'edit', you get a tiny text field that only shows one line at a time. This text field should be much larger and/or have the ability to expand so it's easier to edit.

This appears to be a Trellis URL and not a Sinopia one. Is there a different URL where I should be looking to see this example? Thanks!


Adding documentation for tabs and containers

Description
Documentation for tabs and containers.
To do:

[ ] update screenshots
[ ] add validations for tabs and containers

Checklist

[x] I have not referenced individuals, products or companies in any commits, directly or indirectly
[x] I have not added data or restricted code in any commits, directly or indirectly
[x] I have updated the docstring of any public function/class/model changed
[ ] I have added tests to cover my changes (if applicable)

Types of changes

[x] Docs/refactoring (non-breaking change which improves codebase)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

Closing for new PR on this: https://github.com/mckinsey/vizro/pull/262


feat: allow disabling animations using 'animate' option

This PR allows disabling of animations.
Added an option animate with default value 1.
Example usage:
let typeChartArgs = {
	title: "My Awesome Chart",
	data: typeData,
	type: 'axis-mixed',
	height: 300,
        animate: 0
};

Pull Request Test Coverage Report for Build 128

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

Totals

Change from base Build 122:
0.0%

Covered Lines:
29

Relevant Lines:
62

💛  - Coveralls


Make it easy to play with the data

Datadex is producing several datasets. Right now, they're all in HuggingFace as static files.
Should be easy for anyone to click a button from the Portal and have an environment with all the datasets ready to be used.
The ideal solution is:

Fully static (e.g: DuckDB WASM + Pyodide + Parquet files)
Can be URL encoded so folks can share what they work on

Reallistically, we can start with a Colab Notebook that grabs all the datasets from HuggingFace.

https://github.com/datonic/datadex/issues/32#issuecomment-1801693041


General updates and maintenance

I didn't change much except that I saw your test isn't passing. Added gitignore and updated npm packages.

Fixed non-passing test in https://github.com/substack/bulk-require/commit/98c2133cf8df07cac2d08dfe5c560da9635468e3

Ping. Can you update glob to version >= 5.0.15 ? This will silence the annoying warning about minimatch.

Agreed -- current version of glob is 7.0.6 and will get rid of deprecation notices.

+1, as mentioned @lpinca this fixes a potential security vulnerability reported by NSP:
https://nodesecurity.io/advisories/118  (Regular Expression Denial of Service)

Updated in a different pull request as my fork is lost. Closing this in favor of #11. Thanks @benjamine, @gmaclennan and @lpinca


Ray Query intersection types

RayQuery::get_intersection_type and friends take const generic. Would be nice to expose these as enum similar to Scope for example.
enum RayQueryIntersection {
   Candidate = 0,
   Committed = 1,
}

The other part would be the return value, which depends on the used intersection type. I'm not sure how to expose these properly, beside maybe specialize the get_intersection_type and use newtypes or just keep the u32 and just expose RayQueryCommittedIntersectionNoneKHR, etc as consts
Specification: https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_ray_query.asciidoc

Looking into this, I don't see any use case for using the const generics version - seems like just writing out two methods for every <const INTERSECTION> is the way to go. Docs and whatnot can be vastly improved that way, too.
I might be missing something, though, feel free to point something out.

Sure, that's fine for me! HLSL also went with the two method approach (https://microsoft.github.io/DirectX-Specs/d3d/Raytracing.html#rayquery)


Feature request: nvm install latest && nvm use latest

Often I setup a new environment and want to run my node stuff on it.
I want to install the latest node, then run my software, and if anything is broken, I fix it.
I don't want to be using ancient versions of node forever. But I like being able to switch between versions of node to test stuff.
So having this feature would be really convenient for me because I wouldn't have to visit nodejs.org to find out the newest version :)

Already got you - nvm install node && nvm alias default node


Blog post: leadership update

Highlight new deputy director appointments and Amy's appointment.

Content done and live on the site.


Sync @opencensus/web-types to @opencensus/core v0.0.12

Codecov Report

Merging #80 into master will decrease coverage by 0.59%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master      #80     +/-   ##
=========================================
- Coverage   97.05%   96.46%   -0.6%
=========================================
  Files          26       26
  Lines         612      623     +11
  Branches       73       78      +5
=========================================
+ Hits          594      601      +7
- Misses         18       22      +4

Impacted Files
Coverage Δ

src/trace/model/tracer-base.ts
88.63% <0%> (-8.43%)
:arrow_down:

src/trace/model/span.ts
98.78% <0%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


Order roles alphabetically in the role list provided by the !roles commands

The !roles command displays a list that is not ordered alphabetically making it really hard to navigate through if the server has a big number of roles. Ordering the list alphabetically would make navigating through it a lot easier, especially in my server which has a role for each language that was a part of Discord's crowdin translations project among other staff roles

i'll combine this with just cleaning this up in general, it works pretty well on desktop but is a disaster on mobile


Hotbar UI Improvements

Description
Task: UI Improvement - Unlocked Items Visibility.
Feature: Enhanced User Interface
This task aims to enhance the UI to offer a more accessible view of the user's unlocked items to provide a more engaging and informative user interface.
Currently, the Hotbar only displays one item from each slot (melee, ranged, and building hammer), and all unlocked items are only visible in the UpgradeTree menu. The improved UI will allow the user to see all unlocked items added to their weapon slot hotbar as soon as they unlock it. This will involve implementing a new UI element, wherein all the unlocked items are easily noticeable on the screen.
Dependencies

[x] (#144)
[x] (#191)

Milestones

[x] Step 1: Develop UI Mockups for the new unlocked items hotbar (Oct. 13)
[x] Step 2: Implement the UI for Buildables Hotbar & Integrate with Current UI (Oct. 14)
[x] Step 3: Implement the UI for Melee and Ranged weapons & Integrate with Current UI (Oct. 15)
[x] Step 4: Modify KeyboardPlayerInputComponent to implement more intuitive weapon switching. (Oct. 16)
[x] Step 5: Conduct Testing and polishing (Oct. 16)

Completion Deadline: Oct. 16
Documentation

Player Inventory

Member

Name (GitHub Username) (Slack Handle)
Connor (@connor-golin)
Rowan (@rowan-gray)

Finished on time... YAY 😄. Merged into main with this pull request. https://github.com/UQcsse3200/2023-studio-2/pull/496

Finished on time... YAY 😄. Merged into main with this pull request. #496

Excellent work fellow studio member. I am pleased with our teamwork.


3.x    Defense against ddos cc failed, tx.dos_burst_time_slice=60 does not take effect, requests exceeding 1 point will still be counted

Describe the bug
A clear and concise description of what the bug is.
Logs and dumps
Output of:

DebugLogs (level 9)
AuditLogs
Error logs
If there is a crash, the core dump file.

Notice: Be careful to not leak any confidential information.
To Reproduce
Steps to reproduce the behavior:
A curl command line that mimics the original request and reproduces the problem. Or a ModSecurity v3 test case.
[e.g: curl "modsec-full/ca/..\..\..\..\..\..\/\etc/\passwd" or issue-394.json]
Expected behavior
A clear and concise description of what you expected to happen.
Server (please complete the following information):

ModSecurity version (and connector): [e.g. ModSecurity v3.0.8 with nginx-connector v1.0.3]
WebServer: [e.g. nginx-1.18.0]
OS (and distro): [e.g. Linux, archlinux]

Rule Set (please complete the following information):

Running any public or commercial rule set? [e.g. SpiderLabs commercial rules]
What is the version number? [e.g. 2018-08-11]

Additional context
Add any other context about the problem here.

Hello @ccl123456789012 ,
The intention of the issue template is to fill in the suggested elements with information from your deployment and the problem that you believe you are experiencing.
Note that this github repo is about the engine, and you appear to be referencing a particular rule set (perhaps CRS) which is managed separately. At minimum the following would be necessary: the actual rules you are using, what both the expected and experienced behaviours are, and what version of ModSecurity you are using.


Provide an option to track options from underlying select element

Is your feature request related to a problem? Please describe.
There is currently no clear way to have choices track the options from the underlying select element. We can use .setChoices but we have to manually parse every. Most of this logic already exist within the constructor/init methods.
Say, you are using choicesjs within react, when the children changes dynamically, you want an easy way to have those reflected in the rendered component.
It seems this has been asked often but was never considered or OKd (issue getting automatically closed after X days).
Describe the solution you'd like
Could be:

A new option when instantiating Choices
A new refresh method which would update choices (groups and options) based on the underlying element

Describe alternatives you've considered
This "works" but feels out of place when outside of the library itself.
const options: any[] = [];
if (choices.current.passedElement.options) {
  choices.current.passedElement.options.forEach((option) => {
    options.push({
      value: option.value,
      label: option.innerHTML,
      selected: !!option.selected,
      disabled: option.disabled || option.parentNode.disabled,
      placeholder:
        option.value === '' || option.hasAttribute('placeholder'),
      customProperties: option.dataset['custom-properties'],
    });
  });
}
choices.current.setChoices(options);

I'm open to exploring this, I see why you'd want this functionality. I'd probably go with the refresh method route you mentioned.
How do you propose handling cases where a selected choice is no longer in the options of the underlying element?


Set up some linters

Like flake8

@zou3519 how about using black ?

@vfdev-5 I know nothing about linters, what is the advantage of using black?
@Chillee are you OK with us autoformatting the python pieces of the codebase? This will hide blame information

@zou3519 sounds good to me!

@zou3519 basically, flake8 says if code is properly formatted or not. Black does that and also can reformat to be compatible (also using precommit).
Main cons for black adoption are certain conventions they use (and that certain users do not like):
For example, this code
def my_function(a, b=None, c=None, d=None, too=None, many_args=None, and_more=None, and_more1=None, and_more2=None):
    a = 'a'
    b = [1, 2, 3,]  # trailing comma will make it 1 item per line
    c = {"a": a, "b": b}
    # call function with a lot of args
    another_func(a, b, c, d=d, too=too, many_args=many_args, and_more=and_more, and_more1=and_more1, and_more2=and_more2)
    return 0

will be formatted by black into:
def my_function(
    a,
    b=None,
    c=None,
    d=None,
    too=None,
    many_args=None,
    and_more=None,
    and_more1=None,
    and_more2=None,
):
    a = "a"
    b = [
        1,
        2,
        3,
    ]  # trailing comma will make it 1 item per line
    c = {"a": a, "b": b}
    # call function with a lot of args
    another_func(
        a,
        b,
        c,
        d=d,
        too=too,
        many_args=many_args,
        and_more=and_more,
        and_more1=and_more1,
        and_more2=and_more2,
    )
    return 0

More info on black: https://github.com/psf/black
In torchvision, it was decided to use umft: https://github.com/omnilib/ufmt

Hmm, I see, thanks for the explanation @vfdev-5. My vote is to just use flake8: the motivation I had for having a linter is to eliminate classes of bugs where we use undefined variables or forget to use a variable and to enforce some very basic conventions (e.g. <= 120 char line width so code is still reviewable)
I'm not a big fan of auto-formatting code like in the above example but I can see how it could appeal to others.

I agree that we can just setup flake8 first and then figure out other formatter later.
Personally, I like black formatting and trying to use in other open-source projects that I'm maintaining. The code formatting workflow becomes very simple then:

code without strong thinking about the formatting
run black
-> code is properly formatted

Certain cons from above message can be avoided if while coding we keep a small awareness of how black works. Otherwise, I agree that auto-formatting can be surprising and may also look ugly...


Unhelpfule installtion instruction for windows

Directions
GitHub Issues are reserved for actionable bug reports and feature requests.
General questions should be sent to the InfluxDB mailing list.
Before opening an issue, search for similar bug reports or feature requests on GitHub Issues.
_If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below.
Erase the other section and everything on and above this line.
Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]
Steps to reproduce:

go to https://docs.influxdata.com/influxdb/v1.1/introduction/getting_started/
download and unzip
steps to add to windows services etc completely missing.

Then same problems for rest of TICK stack.
Expected behavior: [What you expected to happen]
Look at msdn. All microsoft product are either packaged with msi or the zip file will create all the necessary paths and permission, put the configs at the right place.
Actual behavior: [What actually happened]
Additional info: [Include gist of relevant config, logs, etc.]
Also, if this is an issue of for performance, locking, etc the following commands are useful to create debug information for the team.
curl -o block.txt "http://localhost:8086/debug/pprof/block?debug=1"
curl -o goroutine.txt "http://localhost:8086/debug/pprof/goroutine?debug=1"
curl -o heap.txt "http://localhost:8086/debug/pprof/heap?debug=1"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt
influx -execute "show shards" > shards.txt
influx -execute "show stats" > stats.txt
influx -execute "show diagnostics" > diagnostics.txt

Please run those if possible and link them from a gist.
Please note, the quickest way to fix a bug is to open a Pull Request.
Feature Request
Opening a feature request kicks off a discussion.
Requests may be closed if we're not actively planning to work on them.
Proposal: [Description of the feature]
Current behavior: [What currently happens]
Desired behavior: [What you would like to happen]
Use case: [Why is this important (helps with prioritizing requests)]

What happened to your windows packager?
https://github.com/influxdata/windows-packager.git
does not seems updated

Hi! We try and keep GitHub Issues for actionable bug reports or feature requests. Please send general questions to the<EMAIL_ADDRESS>mailing list.
Or, in this case please open an issue on https://github.com/influxdata/docs.influxdata.com
Thanks.


Enable DefaultValueAttributeSupport in partial trim mode.

Currently, users can experience runtime crashes related to the use of DefaultValue attributes (taking type and string) without any trim warnings (see https://github.com/dotnet/runtime/issues/109724). This is because the trim warnings are disable in partial trim mode and this use-case of DefaultValue attributes is not trim compatible.
Workaround around this is to enable _DefaultValueAttributeSupport to prevent customer apps from crashing without trim warnings. App will still crash in TrimMode="full" but user would get warned during compile time.

Should we just add Sven's minimal repro:

https://github.com/dotnet/runtime/issues/109724#issuecomment-2474580405

To a new test in a new System.Xml folder here:

https://github.com/dotnet/android/tree/main/tests/Mono.Android-Tests

Should we just add Sven's minimal repro:

RuntimeInstanceNotAllowed Error Initializing XmlSerializer on Android Release Build in .NET 9 runtime#109724 (comment)

To a new test in a new System.Xml folder here:

https://github.com/dotnet/android/tree/main/tests/Mono.Android-Tests

Thanks, added in https://github.com/dotnet/android/pull/9525/commits/14cfd74a6f924109abf13894e5106db44ada51a5. What do you think?

It looks like a projitems file needed an update, I pushed this change.
We used to share the files between Xamarin & .NET; it could be refactored in the future.

The failures are related:
System.InvalidOperationException : XmlTypeReflectionError, System.XmlTests.C
----> System.ArgumentException : RuntimeInstanceNotAllowed

at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel , String , ImportContext , String , XmlAttributes , Boolean , Boolean , RecursionLimiter )
   at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel , String , ImportContext , String , XmlAttributes , RecursionLimiter )
   at System.Xml.Serialization.XmlReflectionImporter.ImportElement(TypeModel , XmlRootAttribute , String , RecursionLimiter )
   at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type , XmlRootAttribute , String )
   at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
   at System.Xml.Serialization.XmlSerializer..ctor(Type type)
   at System.XmlTests.XmlSerializerTest.TrimmingDefaultValueAttribute()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )
--ArgumentException
   at System.ComponentModel.DefaultValueAttribute.get_Value()
   at System.Xml.Serialization.XmlAttributes..ctor(ICustomAttributeProvider )
   at System.Xml.Serialization.XmlReflectionImporter.GetAttributes(MemberInfo )
   at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping , StructModel , Boolean , String , RecursionLimiter )
   at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel , String , Boolean , XmlAttributes , RecursionLimiter )
   at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel , String , ImportContext , String , XmlAttributes , Boolean , Boolean , RecursionLimiter )

It passed in Debug mode, which was broken before?

This app has TrimMode=full:
https://github.com/dotnet/android/blob/a1fab8bfdbaa2baec7abd8dd07a08969e0b49e38/tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/Mono.Android.NET-Tests.csproj#L37-L39
Can the test check a feature flag at runtime (AppContext.TryGetSwitch), and ignore in some cases? Ideally we'd get a green test in Debug and the rest ignore.

It passed in Debug mode, which was broken before?

This app has TrimMode=full:
https://github.com/dotnet/android/blob/a1fab8bfdbaa2baec7abd8dd07a08969e0b49e38/tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/Mono.Android.NET-Tests.csproj#L37-L39
Can the test check a feature flag at runtime (AppContext.TryGetSwitch), and ignore in some cases? Ideally we'd get a green test in Debug and the rest ignore.

No, it was the release that was broken but the "fix" is only for TrimMode="partial" so if the test are running in full trim mode then they will fail. We can either extend the "fix" to all trim modes or just add the _DefaultValueAttributeSupportto https://github.com/dotnet/android/blob/a1fab8bfdbaa2baec7abd8dd07a08969e0b49e38/tests/Mono.Android-Tests/Runtime-Microsoft.Android.Sdk/Mono.Android.NET-Tests.csproj#L40-L41.
I limited the "fix" to partial mode because that's where no trim warnings are shown and yet it failed. In full mode the warnings will show potential issues so that users can add approriate feature switches if needed.

Let me add an extra test run, that runs the tests with TrimMode=partial.

I think it's working now:

I reran, because there are some other random, http failures.


sync done

Forgot to push those changes in the previous PR

The helm templates inside the CRD is causing an issue

Strange to have an issue concerning the schema when there is no schema at all in the chart

@QuentinBisson ok to merge ?

If you're happy, I'm happy


Enable working Spark 2 clustering

This enables working clustering on spark 2 because of the removal of spark logging.

Thanks for the update @Mignastor.
I think two issues remain before merging:

[ ] Remove .setMaster("local[4]") in PatchWorkDemo.scala, line 18
[ ] Describe how to download the dataset required for the demo. For instance add curl http://cs.joensuu.fi/sipu/datasets/Compound.txt | tr "\\t" "," > Compound.csv in runPatchwork.sh (or directly provide the dataset in the repository with the appropriate copyright notice).

@martinsotir thanks for your review!
I made some changes based on your comments, have a look.

Works smoothly on my cluster:
-----------------------------------------
number of points : 7826
number of clusters : 4
-----------------------------------------
   cluster 2 has 430 cells
   cluster 4 has 492 cells
   cluster 18 has 219 cells
   cluster 28 has 30 cells
-----------------------------------------
size of epsilon : [0.4,0.4]
min pts in each cell : 1
time of training : 2990 ms
-----------------------------------------

PR accepted !


Error with Chinese Chracters input

OS: Windows 10 Home Edition
Browser: Chrome 65.0.3325.181 (64-bit)
Version: 4.0.6-rc.1
JS Bin: http://jsbin.com/yosuxelove/1/edit?html,js,output
Snapshot:

How to re-produce the problem:

Setup multiple tagging function for the select tag of HTML.
Use Chinese input method "Cangjie" to input Chinese characters.
Each character requires maximum 5 codes to create. In the snapshot, I want to type "你好嗎" but the codes rendering the 3 characters are also shown, which is considered as bug.

I have also tried to use other browsers and getting different bug results...
Firefox:

The characters cannot be rendered out... It can only input maximum 3 codes and the codes cannot render a correct character.

For Microsoft Edge, it renders correctly without any bugs.
Edge 41.16299.371.0:

It is correct to get the chracters "你好嗎".

Yeah, so am I.
OS: Mac OS
Browser: Chrome  65.0.3325.181
But, it seems to be related to the input methods software.
I use Chinese input method 'wubi', '清歌五笔输入法' and '百度五笔输入法', all of which have some problems.
And, it seems to be related to the browsers too!
More problems on Chrome than on Safari

Hello. Is there any updates?


[Enhancement]Set the parallelism of low-cardinality field tasks to 1 (#31249)

Set the parallelism of low-cardinality field tasks to 1

[FE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/statistic/StatisticExecutor.java
1
1
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)


Spot check issues

As we get ready for v1.0.0 releases for terra components, we're doing one final check. If you come across any issues on https://terra-ui.herokuapp.com/, please leave a comment below.

The List UI page has after the Components Features and Examples section. This was added to distinguish the different prop tables, but isn't needed here.
List Item
List
Single Select List
Multiple Select List

Each page has a different heading or indication (if at all) for the examples. It might be nice to follow the Examples header provided on the Forms page to be consistent across pages.

It would be nice if the left bar scrolled independently of the content. i.e. if you click  no data view you are already a the bottom of the documentation

It would also be nice to have the locale switcher at the top of the page like terra-core site.

The page is 'using an unminified build of React. 🚧'

In Firefox, required fields have a red ring around them

@mjhenkes Curious, what tool is that? We've got the production flag turned on when we're building the site. https://github.com/cerner/terra-ui.com/blob/master/client/package.json#L6 Curious why its warning about that. I can't think of why it wouldn't be using an unminified build of React unless the heroku deploy doesnt use the build:production npm script.
cc/ @Matt-Butler

@bjankord It's just the chrome react dev tools. I think that you're building the app in production, but the app isn't getting minified. I had this issue in Kaiju and had to add the Uglifiy plugin in directly. take a look at the bundled assets and you'll see a bunch of evals on un-minified strings. Those shouldn't exist in the prod build.

I believe all of these issues have been resolved, closing issue.


Support Java bindings on Windows

it looks like so far only MaxOS and Linux binaries are included.

Makes perfect sense, esp. given https://github.com/src-d/guide/blob/master/engineering/conventions.md#operating-system-support


Calling remove and add components repeatedly during lifecycle change causes problem

MRE:
class MyPositionComponent extends PositionComponent {
  @override
  void onMount() {
    super.onMount();
    updateChildren();
  }

  void updateChildren() {
    removeAll(children);
    for (var i = 0; i < 3; i++) {
      add(Component());
    }
  }
}

final myPositionComponent = MyPositionComponent();
myPositionComponent.updateChildren();
add(myPositionComponent);

Stack trace:
Performing hot restart...
Syncing files to device iPhone 14 Pro Max...
Restarted application in 575ms.
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following ConcurrentModificationError was thrown building FutureBuilder<void>(dirty, state:
flutter: _FutureBuilderState<void>#d9233):
flutter: Concurrent modification during iteration: _Set len:2.
flutter:
flutter: The relevant error-causing widget was:
flutter:   FutureBuilder<void>
flutter:   FutureBuilder:file:///Users/denisgladky/.pub-cache/hosted/pub.dev/flame-1.12.0/lib/src/game/game_widget/game_widget.dart:389:30
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      _CompactIterator.moveNext (dart:collection-patch/compact_hash.dart:710:7)
flutter: #1      ExpandIterator.moveNext (dart:_internal/iterable.dart:477:32)
flutter: #2      Iterable.forEach (dart:core/iterable.dart:347:23)
flutter: #3      Component.removeAll (package:flame/src/components/core/component.dart:628:64)
flutter: #4      MyPositionComponent.updateChildren (package:voltlab/presentation/screens/dev_screens/dev_conductor/dev_conductor_flame.dart:225:5)
flutter: #5      MyPositionComponent.onMount (package:voltlab/presentation/screens/dev_screens/dev_conductor/dev_conductor_flame.dart:221:5)
flutter: #6      Component._mount (package:flame/src/components/core/component.dart:891:5)
flutter: #7      Component.handleLifecycleEventAdd (package:flame/src/components/core/component.dart:807:7)
flutter: #8      ComponentTreeRoot.processLifecycleEvents (package:flame/src/components/core/component_tree_root.dart:92:28)
flutter: #9      FlameGame.updateTree (package:flame/src/game/flame_game.dart:137:5)
flutter: #10     FlameGame.update (package:flame/src/game/flame_game.dart:131:7)
flutter: #11     GameWidgetState.loaderFuture.<anonymous closure> (package:flame/src/game/game_widget/game_widget.dart:200:16)
flutter: <asynchronous suspension>
flutter: #12     _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:624:33)
flutter: <asynchronous suspension>
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
flutter: The following ConcurrentModificationError was thrown building FutureBuilder<void>(dirty, state:
flutter: _FutureBuilderState<void>#d9233):
flutter: Concurrent modification during iteration: _Set len:2.
flutter:
flutter: The relevant error-causing widget was:
flutter:   GameWidget<DevConductorFlameGame>
flutter:   GameWidget:file:///Users/denisgladky/IdeaProject/voltlab/lib/presentation/screens/base_screens/base_flutter_screens/base_electric_circuit_screen.dart:99:12
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0      _CompactIterator.moveNext (dart:collection-patch/compact_hash.dart:710:7)
flutter: #1      ExpandIterator.moveNext (dart:_internal/iterable.dart:477:32)
flutter: #2      Iterable.forEach (dart:core/iterable.dart:347:23)
flutter: #3      Component.removeAll (package:flame/src/components/core/component.dart:628:64)
flutter: #4      MyPositionComponent.updateChildren (package:voltlab/presentation/screens/dev_screens/dev_conductor/dev_conductor_flame.dart:225:5)
flutter: #5      MyPositionComponent.onMount (package:voltlab/presentation/screens/dev_screens/dev_conductor/dev_conductor_flame.dart:221:5)
flutter: #6      Component._mount (package:flame/src/components/core/component.dart:891:5)
flutter: #7      Component.handleLifecycleEventAdd (package:flame/src/components/core/component.dart:807:7)
flutter: #8      ComponentTreeRoot.processLifecycleEvents (package:flame/src/components/core/component_tree_root.dart:92:28)
flutter: #9      FlameGame.updateTree (package:flame/src/game/flame_game.dart:137:5)
flutter: #10     FlameGame.update (package:flame/src/game/flame_game.dart:131:7)
flutter: #11     GameWidgetState.loaderFuture.<anonymous closure> (package:flame/src/game/game_widget/game_widget.dart:200:16)
flutter: <asynchronous suspension>
flutter: #12     _FutureBuilderState._subscribe.<anonymous closure> (package:flutter/src/widgets/async.dart:624:33)
flutter: <asynchronous suspension>
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: Another exception was thrown: Concurrent modification during iteration: _Set len:2.

Just tried this and we can still reproduce this, we'll try to investigate this on the stream tomorrow.


Adding support to Cassandra database.

Adding a new processor to persist events on cassandra database; The cassandra processor receives a Cassandra session instance as a processing object to handle the connection with Cassandra. (review @mbeiter)
Adding unit tests for the new cassandra processor. The unit tests use cassandra-unit as an embedded server;
Updating CONFIG.md file

Merged to master


grant_rights problematic if installation/ includes NFS-mounted contents

Not sure if this really an issue or a peculiarity of our installation, but commit 3ea72886 causes "make deploy" to fail for us at grant_rights. The reason turns out to be that our installation/assets/ is a symlink to an NFS-mounted directory on another machine, so even root can't change permissions. I can remove the -L flag (i.e., revert the commit) locally for our case, but I suspect there's a better general solution.

So grant_rights is there to make sure the tomcat user can create/delete files and directories where it needs to (mainly assetstore and logs). Sometimes you move the assetstore to a different place (or machine) and forget to set the permissions correctly; sometimes you accidentally run bin/dspace commands as a root and that can occasionally screw up the permissions on some of the logs...problems with permissions on just some of the files are kind of hard to spot, so with grant_rights hooked to the installation, you can be sure there is no such issue after a deploy. That's why the -L option was added so you could  be sure even when your assetstore is a symlink.
You could use no_root_squash in nfs exports - that should make it working as it is; but please don't take my advice on setting up nfs...There might be better/different options

seems to bee "too" installation specific


need agile process description for Hardware

As identified during our discussion of the long-term system&software architecture management process #6 , we must have a process class of Hardware releases.
This cycle will actually be instantiated multiple times, depending on which hardware units the architecture determined. For example, one such instance will be used for the VCU, another one maybe for a safety controller.
This process must contain the Design, Implementation, and Validation steps.

We should find here an agreement before  how to split the activities before discussing the splits.
As mentioned before I would prefer a split between
-Requirements Management/Change Management Cycle

Design Architecture Cycle
Implementation Cycle
Verification/Validation Cycle

This has some reasons:

All things which were run through the Requirements process are accepted and has a mature description (interface is much clearer) and also a clear and released input to the design phase.

With a new requirement we may have to change Software and HW (harness,adding components etc. in a unified process), we will not develop any new hardware by our self typically, if yes it can be set up as a process not on vehicle level but on component level. This changes must be done in parallel because they have dependencies.

it is near a stage/gate process of the automotive world . (requirements freez, design freez, etc.)

Looking forward to your answer.
Cheers Marcus


Showing question marks instead of value defined in localization properties in tabs label when change to uni-code languages(ex. JP)

When i change my language to Japan, everything is fine except tab's label.
Showing question marks instead of value defined in localization properties in tabs label when change to uni-code languages(ex. JP)

Related Jira issue:
JIRA HPT-20

Closing as it's filed in jira and unrelated to GBNG.

What can i do for that?


Backend - FOIPPA Sections Modal [#3313]

Sections Management: Master Data

[x] Create migration script
[x] Create model components
[x] Create service components
[x] Create API
[x] Apply authentication
[ ] Apply authorization {DOES NOT APPLY}

Annontations - Sections Management:  Txn Data

[x] Create migration script
[x] Create model components
[x] Create service components
[x] Create API (Save annotation with sections)
[x] Create API (Save sections for annotation)
[x] Apply authentication
[ ] Apply authorization {DOES NOT APPLY}

Sections - User Preference Handling
{TO BE WRITTEN}
General

[x] Unit Testing
[x] Logging

Use: To get sections at request level.
Pattern:  GET http://localhost:15500/api/sections/ministryrequest/int:ministryrequestid
API#1 - GET http://localhost:15500/api/sections/ministryrequest/2
Response:
[{"id": 1, "section": "s. 12", "description": "Cabinet and local public body confidences", "count": 0, "sortorder": 1},
{"id": 2, "section": "s. 13", "description": "Policy advice or recommendations", "count": 0, "sortorder": 2}, {"id": 3,
"section": "s. 14", "description": "Legal advice", "count": 0, "sortorder": 3}, {"id": 4, "section": "s. 15",
"description": "Disclosure harmful to law enforcement", "count": 0, "sortorder": 4}, {"id": 5, "section": "s. 16",
"description": "Disclosure harmful to intergovernmental relations or negotiations", "count": 0, "sortorder": 5}, {"id":
6, "section": "s. 17", "description": "Disclosure harmful to the financial or economic interests of a public body",
"count": 0, "sortorder": 6}, {"id": 7, "section": "s. 18", "description": "Disclosure harmful to the conservation of
heritage sites", "count": 0, "sortorder": 7}, {"id": 8, "section": "s. 18.1", "description": "Disclosure harmful to
interests of an Indigenous people", "count": 0, "sortorder": 8}, {"id": 9, "section": "s. 19", "description":
"Disclosure harmful to individual or public safety", "count": 0, "sortorder": 9}, {"id": 10, "section": "s. 20",
"description": "Information that will be published within 60 days", "count": 0, "sortorder": 10}, {"id": 11, "section":
"s. 21", "description": "Disclosure harmful to the business interests of a third party", "count": 0, "sortorder": 11},
{"id": 12, "section": "s. 22", "description": "Disclosure harmful to personal privacy", "count": 0, "sortorder": 12},
{"id": 13, "section": "s. 22.1", "description": "Disclosure of information relating to abortion services", "count": 0,
"sortorder": 13}, {"id": 14, "section": "s. 3", "description": "Scope of Act", "count": 0, "sortorder": 14}, {"id": 15,
"section": "s. 3 - CFCSA s. 24", "description": "Confidentiality of information under CFCSA", "count": 0, "sortorder":
15}, {"id": 16, "section": "s. 3 - CFCSA s. 77(1)", "description": "Identity of a Reporter under CFCSA", "count": 0,
"sortorder": 16}, {"id": 17, "section": "s. 3 - CFCSA s. 77(2)(a)", "description": "Jeopardize an investigation under
CFCSA", "count": 0, "sortorder": 17}, {"id": 18, "section": "s. 3 - CFCSA s. 77(2)(b)", "description": "Information
collected in confidence under CFCSA Investigation", "count": 0, "sortorder": 18}, {"id": 19, "section": "s. 3 - AA s.
73", "description": "Restriction on use and disclosure of certain information, Adoption Act", "count": 0, "sortorder":
19}, {"id": 20, "section": "s. 3 - AGA s. 46", "description": "Reporting abuse or neglect, Adult Guardianship Act",
"count": 0, "sortorder": 20}, {"id": 21, "section": "s. 3 - CA s. 63", "description": "General prohibition against
disclosure, Coroner's Act", "count": 0, "sortorder": 21}, {"id": 22, "section": "s. 3 - CA s. 64", "description":
"Application of FOIPPA, Coroner's Act", "count": 0, "sortorder": 22}, {"id": 23, "section": "s. 3 - FMEA s. 43",
"description": "Confidential Information, Family Maintenance Enforcement Act", "count": 0, "sortorder": 23}, {"id": 24,
"section": "s. 3 - PA", "description": "Police Act", "count": 0, "sortorder": 24}, {"id": 25, "section": "s. 14",

Use: To save only annotation
Pattern:  POST http://localhost:15500/api/annotation/int:documentid/int:documentversion/int:pagenumber/string:annotationname
API#2 : POST http://localhost:15500/api/annotation/15/1/0/cdba05ff-70f5-9a39-07b2-956b9cea9651
{"xml":"<xfdf xmlns="http://ns.adobe.com/xfdf/\" xml:space="preserve"><redact page="0" rect="72,379.205,531.778,447.279" color="#FF0000" flags="print" name="cdba05ff-70f5-9a39-07b2-956b9cea9651" title="foiedu foiedu" subject="Redact" date="D:20230228065232-08'00'" interior-color="#000000" width="1.5" creationdate="D:20230228065231-08'00'" coords="107.14500000000001,447.2785,531.7780000000005,447.2785,107.14500000000001,434.47450000000003,531.7780000000005,434.47450000000003,72,433.4685,514.2440000000001,433.4685,72,420.66450000000003,514.2440000000001,420.66450000000003,72,419.6486,513.6830000000001,419.6486,72,406.8446,513.6830000000001,406.8446,72,405.8286,523.9240000000004,405.8286,72,393.0246,523.9240000000004,393.0246,72,392.0086,267.75699999999995,392.0086,72,379.2046,267.75699999999995,379.2046"><trn-custom-data bytes="{"trn-annot-preview":"adjustment and have to pay sum of $236. I am left with no choice other than\npaying this. I agreed to pay this. They transferred the call to payment team; but\nafter 3+ hours long conversation; they told again I need to pay $294.xx and the\nperson on the other end was so rude and she is the senior most in authorization. I\ncried because she told its my respo"}"/>1 0 0 RG /Helvetica 9 Tf"}
Response:
{
"annotationid": "cdba05ff-70f5-9a39-07b2-956b9cea9651",
"message": "Annotation is saved",
"status": true
}

Use: To save annotation with sections
Pattern:  POST http://localhost:15500/api/annotation/int:documentid/int:documentversion/int:pagenumber/string:annotationname
API#3 : POST http://localhost:15500/api/annotation/15/1/0/cdba05ff-70f5-9a39-07b2-956b9cea9651
{"xml":"<xfdf xmlns="http://ns.adobe.com/xfdf/\" xml:space="preserve"><redact page="0" rect="72,379.205,531.778,447.279" color="#FF0000" flags="print" name="cdba05ff-70f5-9a39-07b2-956b9cea9651" title="foiedu foiedu" subject="Redact" date="D:20230228065232-08'00'" interior-color="#000000" width="1.5" creationdate="D:20230228065231-08'00'" coords="107.14500000000001,447.2785,531.7780000000005,447.2785,107.14500000000001,434.47450000000003,531.7780000000005,434.47450000000003,72,433.4685,514.2440000000001,433.4685,72,420.66450000000003,514.2440000000001,420.66450000000003,72,419.6486,513.6830000000001,419.6486,72,406.8446,513.6830000000001,406.8446,72,405.8286,523.9240000000004,405.8286,72,393.0246,523.9240000000004,393.0246,72,392.0086,267.75699999999995,392.0086,72,379.2046,267.75699999999995,379.2046"><trn-custom-data bytes="{"trn-annot-preview":"adjustment and have to pay sum of $236. I am left with no choice other than\npaying this. I agreed to pay this. They transferred the call to payment team; but\nafter 3+ hours long conversation; they told again I need to pay $294.xx and the\nperson on the other end was so rude and she is the senior most in authorization. I\ncried because she told its my respo"}"/>1 0 0 RG /Helvetica 9 Tf",
"sections": {
"foiministryrequestid":4,
"ids": [{"id":1 , "section": "s23" }, {"id":2 , "section": "s24" }],
"redactannotation": "cdba05ff-70f5-9a39-07b2-956b9cea9651"
}}
Response:
{
"annotationid": "cdba05ff-70f5-9a39-07b2-956b9cea9651",
"message": "Annotation is saved",
"status": true
}

Use: To update sections only
Pattern: POST  http://localhost:15500/api/annotation/section/string:sectionannotationname
API#4: POST http://localhost:15500/api/annotation/section/cdba05ff-70f5-9a39-07b2-956b9cea9651
{
"foiministryrequestid":4,
"ids": [{"id":1 , "section": "s23" }, {"id":2 , "section": "s24" }, {"id":3 , "section": "s25" }],
"redactannotation": "cdba05ff-70f5-9a39-07b2-956b9cea9651"
}
Response:
{
"annotationid": "cdba05ff-70f5-9a39-07b2-956b9cea9651",
"message": "Annotation Section is saved",
"status": true
}

Use: Get Annotations
Pattern: GET http://localhost:15500/api/annotation/int:documentid/int:documentversion
API#5: GET http://localhost:15500/api/annotation/15/1
Response:
"

<xfdf xmlns="http://ns.adobe.com/xfdf/\" xml:space="preserve">

<highlight page="0" rect="72,651.935,537.089,706.189" color="#FFCD45" flags="print"
name="488fbb0c-cf28-e173-4112-0a1665cc657a" title="Sumathi Thirumani" subject="Highlight"
date="D:20230227135953-08'00'" creationdate="D:20230227135953-08'00'"
coords="93.494,706.1885500000001,526.403,706.1885500000001,93.494,693.38455,526.403,693.38455,72,692.3686,520.915,692.3686,72,679.5645999999999,520.915,679.5645999999999,72,678.5486000000001,537.0889999999999,678.5486000000001,72,665.7446,537.0889999999999,665.7446,72,664.7386,246.09799999999996,664.7386,72,651.9345999999999,246.09799999999996,651.9345999999999">
<trn-custom-data bytes="{"trn-annot-preview":"ostpaid during Jul 2022. I would like to
highlight that had set auto debit for my\nmobile number in koodo website. In the first week of Aug
2022; I left to my home\ncountry. I was not aware of the fact that I need to register separately for
postpaid in\nkoodo website; till Nov 7, 2022."}" />

<redact page="0" rect="72,588.654,528.986,642.919" color="#FF0000" flags="print"
name="67c423d0-ccc7-e1b8-3cc4-50c40d6fda7a" title="Sumathi Thirumani" subject="Redact"
date="D:20230227135957-08'00'" interior-color="#000000" width="1.5"
creationdate="D:20230227135957-08'00'"
coords="72,642.9186,528.9290000000001,642.9186,72,630.1145999999999,528.9290000000001,630.1145999999999,72,629.0985000000001,528.9859999999999,629.0985000000001,72,616.2945,528.9859999999999,616.2945,72,615.2786000000001,499.1699999999999,615.2786000000001,72,602.4746,499.1699999999999,602.4746,72,601.4585000000001,161.012,601.4585000000001,72,588.6545,161.012,588.6545">
<trn-custom-data bytes="{"trn-annot-preview":"While I was out of country, in the end of Aug
2022; my sim card stopped working. I\ntried to figure out why through koodo chat; but it is of no help.
And I requested my\nfriends back in Canada to check in Koodo booth, but they couldn't help
either\nbecause of secu"}" />
1 0 0 RG /Helvetica 9 Tf

<redact page="0" rect="72,511.565,539.168,552.009" color="#FF0000" flags="print"
name="72b925a2-d068-46dc-0c77-918b33941fcf" title="Sumathi Thirumani" subject="Redact"
date="D:20230227163529-08'00'" interior-color="#000000" width="1.5"
creationdate="D:20230227163526-08'00'"
coords="127.869,552.0086000000001,530.964,552.0086000000001,127.869,539.2046,530.964,539.2046,72,538.1885000000001,539.1679999999999,538.1885000000001,72,525.3845,539.1679999999999,525.3845,72,524.3685,280.7469999999999,524.3685,72,511.5645,280.7469999999999,511.5645">
<trn-custom-data bytes="{"trn-annot-preview":"2022. They told neither my account nor phone
number exists. They gave\nme a temporary number and explained about loyalty team and scheduled a
callback\nto temporary number. I realised there"}" />
1 0 0 RG /Helvetica 9 Tf

<redact page="0" rect="72,379.205,531.778,447.279" color="#FF0000" flags="print"
name="cdba05ff-70f5-9a39-07b2-956b9cea9651" title="foiedu foiedu" subject="Redact"
date="D:20230228065232-08'00'" interior-color="#000000" width="1.5"
creationdate="D:20230228065231-08'00'"
coords="107.14500000000001,447.2785,531.7780000000005,447.2785,107.14500000000001,434.47450000000003,531.7780000000005,434.47450000000003,72,433.4685,514.2440000000001,433.4685,72,420.66450000000003,514.2440000000001,420.66450000000003,72,419.6486,513.6830000000001,419.6486,72,406.8446,513.6830000000001,406.8446,72,405.8286,523.9240000000004,405.8286,72,393.0246,523.9240000000004,393.0246,72,392.0086,267.75699999999995,392.0086,72,379.2046,267.75699999999995,379.2046">
<trn-custom-data bytes="{"trn-annot-preview":"adjustment and have to pay sum of $236. I am
left with no choice other than\npaying this. I agreed to pay this. They transferred the call to payment
team; but\nafter 3+ hours long conversation; they told again I need to pay $294.xx and the\nperson on
the other end was so rude and she is the senior most in authorization. I\ncried because she told its my
respo"}" />
1 0 0 RG /Helvetica 9 Tf

"

Use: Get Annotation metadata
Pattern: GET http://localhost:15500/api/annotation/int:documentid/int:documentversion/info
API#6: GET http://localhost:15500/api/annotation/15/1/info
Response:
[{"created_at": "2023 Feb 27 | 01:59 PM", "createdby": {"userid": "bf979430e1ac4a1fbe796456f40ff876@idir", "firstname":
"Sumathi", "lastname": "Thirumani", "operatingteam": "flex"}, "annotationname": "67c423d0-ccc7-e1b8-3cc4-50c40d6fda7a"},
{"created_at": "2023 Feb 27 | 04:35 PM", "createdby": {"userid": "bf979430e1ac4a1fbe796456f40ff876@idir", "firstname":
"Sumathi", "lastname": "Thirumani", "operatingteam": "flex"}, "annotationname": "72b925a2-d068-46dc-0c77-918b33941fcf"},
{"created_at": "2023 Feb 28 | 06:52 AM", "createdby": {"userid": "foiedu@idir", "firstname": "foiedu", "lastname":
"foiedu", "operatingteam": "EDU Ministry Team"}, "annotationname": "cdba05ff-70f5-9a39-07b2-956b9cea9651", "sections":
{"sectionannotationname": "488fbb0c-cf28-e173-4112-0a1665cc657a", "ids": "[{"section": "s23", "id": 1},
{"section": "s24", "id": 2}, {"section": "s25", "id": 3}]"}}, {"created_at": "2023 Feb 28 | 07:36 AM",
"createdby": {"userid": "foiedu@idir", "firstname": "foiedu", "lastname": "foiedu", "operatingteam": "EDU Ministry
Team"}, "annotationname": "8da339d5-d2f9-7ec0-411a-f1c5ef4cc951"}, {"created_at": "2023 Feb 28 | 07:36 AM", "createdby":
{"userid": "foiedu@idir", "firstname": "foiedu", "lastname": "foiedu", "operatingteam": "EDU Ministry Team"},
"annotationname": "6e38bfea-5922-e241-28ff-0472656b57ab"}]

Use: Delete Annotation only
Pattern: GET http://localhost:15500/api/annotation/int:documentid/int:documentversion/string:annotationname
DELETE http://localhost:15500/api/annotation/15/1/488fbb0c-cf28-e173-4112-0a1665cc657a
Response:
{
"annotationid": "488fbb0c-cf28-e173-4112-0a1665cc657a",
"message": "Annotation deactivated",
"status": true
}


fix(build): exclude lodash from formBuilderConditional.js (#195)

Exclude lodash from formBuilderConditional.js so it will not appear in dependencies free bundle

Looks good. we will give it a shot.  Thanks for your contribution!


Test CCCL 2.3.0.

Description
This PR is a test of CCCL 2.3.0. Do not merge.
Additional testing PRs:

https://github.com/rapidsai/rmm/pull/1418
https://github.com/rapidsai/cudf/pull/14704
https://github.com/NVIDIA/cuCollections/pull/420

Checklist

[ ] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The cmake-format.json is up to date with these changes.
[ ] I have added new files under rapids-cmake/

[ ] I have added include guards (include_guard(GLOBAL))
[ ] I have added the associated docs/ rst file and update the api.rst

Closing for now -- I think this is superseded by some ongoing work by @trxcllnt.


How do I detect Ajax links

This is out of scope at the moment, and I doubt it will ever be. In general case, you'll need a crawler based on a headless web browser to do that (which Colly isn't), and even then dynamic web crawling is enormously difficult challenge to undertake. See also #4


am I correct? If not pleae help me

Hi Derr,
I'm trying to use Libscout for detecting the third party dependencies from apk file. However, I'm not succeeded yet by using the Libscout. Below are the steps I did, after downloading Libscout code.
Step 1: Generated the jar file using the ant script
Step 2: Downloaded the Android SDK from the Android Studio
Step 3: Downloaded Profiles from "LibScout Profiles" https://github.com/reddr/LibScout-Profiles
Step 4: Executed the below command to run the Libscout.jar on apk file, find the results as an attachment.
123.log
Calendar.log
diva-beta.log
LeafPic.log
java -jar c:\LibScout\build\LibScout.jar -opmode match -a c:\LibScout\lib\android.jar (downloaded in step2) -p c:\LibScout\profiles\profiles\md5\Android (Downloaded in Step3) -d c:\LibScout\log c:\LibScout\apk
Please correct me if there is any process wrong,
Also, I would like to request you to share "Original Library SDK" with me.

Sorry for the late answer (vacations).
Everything looks good to me and I can't spot an error in the log files. So why do you think there's a problem?
One thing that I found in your invocation is that you only include the profiles of the "Android" category. If you like to use all profiles you have to change it to "-p c:\LibScout\profiles\profiles"
As for the original library SDKs you can use the scrapers in the scripts directory to download complete version histories of library SDKs.

@reddr I've run below command:
F:\LibScout-master\build\libs>java -jar LibScout-master.jar -o match -p F:\LibScout-Profiles-master\profiles\md5\Android\ -a "F:\Android\sdk" F:\example.apk

But got this error:

Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
16:09:29,540 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
16:09:29,540 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
16:09:29,540 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.xml]
16:09:29,541 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Setting up default configuration.
16:09:29,608 |-ERROR in ch.qos.logback.classic.joran.JoranConfigurator@7de26db8 - Could not open [.\logging\logback.xml]. java.io.FileNotFoundException: .\logging\logback.xml (The system cannot find the path specified)
at java.io.FileNotFoundException: .\logging\logback.xml (The system cannot find the path specified)
at      at java.io.FileInputStream.open0(Native Method)
at      at java.io.FileInputStream.open(Unknown Source)
at      at java.io.FileInputStream.(Unknown Source)
at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:75)
at      at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:68)
at      at de.infsec.tpl.TplCLI.initLogging(TplCLI.java:499)
at      at de.infsec.tpl.TplCLI.main(TplCLI.java:129)

@Drjacky please open a new issue next time, yours is unrelated to this one.
Looking it the trace, it seems that logconfig file cannot be found, i.e. ".\logging\logback.xml".
Can you check whether this file exists (if not grep it from the repo)
Further, which OS do you use, Windows?

@Drjacky  could you check whether this works:
F:\LibScout-master>java -jar build\libs\LibScout-master.jar -o match -p F:\LibScout-Profiles-master\profiles\md5\Android\ -a "F:\Android\sdk" F:\example.apk
If so, it might be related to issue #9

@reddr It was related to exactly that issue.
Now I got this error:

18:23:02 ERROR TplCLI                    : java.io.FileNotFoundException: F:\Android\sdk (Access is denied)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(Unknown Source)
at java.util.zip.ZipFile.(Unknown Source)
at java.util.jar.JarFile.(Unknown Source)
at java.util.jar.JarFile.(Unknown Source)
at com.ibm.wala.dalvik.util.AndroidAnalysisScope.setUpAndroidAnalysisSco
pe(Unknown Source)
at de.infsec.tpl.LibraryIdentifier.createClassHierarchy(LibraryIdentifie
r.java:104)
at de.infsec.tpl.LibraryIdentifier.identifyLibraries(LibraryIdentifier.j
ava:138)
at de.infsec.tpl.TplCLI.main(TplCLI.java:155)

@Drjacky  remove the quotation marks and point to the jar file instead of the directory, e.g.
-a F:\Android\sdk\android.jar

Worked! :pray:
Unfortunately, the result in Command Prompt windows is not really readable and most of the texts are like this:

19:30:58 INFO  PackageTree               :     ظ¤é   ظ¤é   ظ¤£ظ¤ظ¤ d (3)

Thanks again. I'll figure out by myself to how to use more efficiently this tool in the Windows machine.

Alright, please file a new issue for this. Probably related to Windows and the special
characters used in the print function in
https://github.com/reddr/LibScout/blob/master/src/de/infsec/tpl/pkg/PackageTree.java (line 75ff)
The PackageTree gives you an overview on the package structure in the app. This does not affect the actual scanning results though.


onChange property on DefaultTabController

actually it can not be possible detect when a TabBarView change the current page with a swipe gesture, it only notifies in the onTap property of TabBar, this is frustrating because we can not sync up these events to trigger any function, so please add this feature in recent versions, i can make my own version of this pull request, but only if i set a custom TabController for TabBar and
TabBarView
int _tab = 0;

@override
void initState() {
 super.initState();

 _tabController = TabController(
  length: _tabs.length,
  vsync: this
 );

 _tabController.animation!.addListener(_tabListener);
}

void _tabListener(){
 if(_tab != _tabController.animation!.value.round()){
  setState(() {
   _tab = _tabController.animation!.value.round();
  });
 }
}

however i need set the listener in the initState of my widget, which means that if i use a state management approach and i need to change tabs lenght, the initState dont execute again and the controller does not update, so would be wonderful if you can add a function on DefaultTabController that handles the swipe page changes, thanks for all!.

@Velkamhell97
Check this similar issue which was fixed by adding an interactive example as how to listen for page updates using DefaultTabController and see if it helps to achieve your case.


Fix screenpos() not taking skipcol into account

Fix #12476

Fix #12476

Thanks.  I noticed that w_skipcol is subtracted unconditionally, but it
should only happen for w_topline.  Adding a test for this I found
another problem in plines_win_nofold() where w_skipcol also needs to be
subtracted.  The tests pass now, I hope this doesn't break another
corner case.
--
To be rich is not the end, but only a change of worries.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Why did you close this PR?  Fixed by another PR perhaps?

Oops, I thought this will soon be included in a larger patch.

I had already included it and made some changes on top.   Let me finish this and then please check it doesn't interfere with the other PRs.


Margin on .select2-container affects select2-dropdown

Master has introduced an unexpected behavior where the margin on the .select2-container causes additional padding to be placed on the dropdown.
You can see this reproduced here: http://jsfiddle.net/pivotaliex/Vt2A8/1/
The difference being that .first has no margin assigned, and .second does. The margin causes the dropdown size to become different to the select2-container.
We were able to rectify this on line 887
width = this.container.outerWidth(true),

becomes
width = this.container.outerWidth(false),

We've no idea of any side-effects of this change though.
Is there a documented testing strategy for select2?
Thanks.

It seems, that this bug(or similar) is back: http://jsfiddle.net/Paul_Kozlovitch/j9Lqw0Lo/1/

Doesn't actually appear to be a bug, as we don't set a margin on the container and one shouldn't be set manually.
The container class also wraps the dropdown, so there isn't much we can do to counteract the forced margin.


Merge JD's docs

[!Note]
This is the awesome work of @JerrettDavis

As mentioned in #113, it would be nice to have some sort of auto-generated documentation site for the library's API.
I updated some of the in-code documentation and created a Demo Site.
While reviewing the generated site, I altered the visibility of several classes to be internal. They appeared to largely be internal constructs only used by the OllamaSharp library itself.

Document Site
Demo Site Home Page:

Demo Site - Custom Docs

Demo Site - Auto Generated API Docs

The documentation is being generated using docfx. It is highly configurable, and should meet a wide variety of use cases.  I've done around the minimum amount of configuration necessary to get it up and running. I did add a plugin to make handing layouts a bit easier, and with that, I also added some CSS styles to help create more sophisticated layouts.
I wasn't sure what to use for the icon, and I didn't want to create confusion by using the official Ollama logo throughout. I created a simple, silly .NETish themed Ollama logo derivative. Please feel free to replace this with whatever appropriate branding you deem fit. I wanted to make sure it wasn't the default.

Class Access Modifiers
To minimize the scope of the documentation, I went through and adjusted several classes to have different access modifiers. I reduced their scope from public down to internal. The modified classes should be audited, and if they shouldn't be internal, it would be useful to add documentation around how one could extend those pieces of the library.

Documentation
I updated documentation throughout the library. In most of the places, the changes were limited to: adding documentation for return types, adding <see ref=""> and <see href=""> to relevant documentation, adding example code snippets, and clarifying verbiage.
Nullable Annotations
I noted several places where null-checking, null-asserting, or null reference type usage was inconsistent. In these locations, I changed the null-annotations by adding or removing a ! or ? to the affected code. In at least one area, I added a more explicit exception where a null could be passed into an area where one is not permitted.

JD, the merge is finally done (sorry it took so long) and the api docs are on GitHub pages

https://awaescher.github.io/OllamaSharp/

Awesome work once again, thanks a thousand times for your help!