[Feature] Document some possible uses of each distribution or other feature (especially for those who don't know the math too well)

Is your feature request related to a problem? Please describe.
I find probability and statistics confusing and unintuitive; This library is easy, it's just a thin wrapper over ideas that mostly aren't. I'm already getting a lot out of some of the simpler concepts (like weighted distributions), but I bet that someone with a deep understanding of the math would get a lot out of this library.
I assume you have this deep understanding, since you wrote the thing. In college I got a C in probability.
Describe the solution you'd like
Documentation for each distribution (or other interesting aspect of this library) that outlines some game-related scenarios in which it would be useful. Doesn't need to be exhaustive, a couple of sentences would suffice.
Describe alternatives you've considered
A probability textbook.
Additional context
I'm assuming that you're developing this library for use in your own projects? In that case, simply writing about the things you're using this library for would go a long way.
The main impetus for me opening this issue is that I'm trying to model a particular event in my game but don't know which distribution to use. (The details probably deserve a separate thread.)

 Though you can find that information in the Internet, it'd be more convenient to have docs right inside the project. I'll try to do something.

@JesseTG Better late than never:-) It's really hard to describe all the situations where you can use this or that distribution. And honestly it's unlimited. I guess it's better to do this. In Readme you can find a wikipedia link to all the distributions and there are good examples of applications there.
Also, I'm going to add a script for easy testing your distributions just to see the result.


Error: TypeError: Cannot call a class as a function

I raised the following bug in cucumber.js repo and I got  a response "It appears protractor-cucumber-framework is not compatible with the 2.0 release candidates of cucumber-js. Please create an issue there" So raising a bug here.
https://github.com/cucumber/cucumber-js/issues/755
dev dependencies in package.json
"devDependencies": {
"appium": "^1.6.3",
"babel-preset-es2015": "^6.18.0",
"babel-preset-latest": "^6.16.0",
"babel-register": "^6.18.0",
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"cucumber": "^2.0.0-rc.7",
"globby": "^6.1.0",
"mocha": "^3.1.2",
"mochawesome-screenshots": "^1.4.7",
"protractor": "^4.0.11",
"protractor-cucumber-framework": "^0.6.0",
"rimraf": "^2.5.4",
"wd": "^1.1.1",
"wd-bridge": "0.0.2",
"yargs": "^6.5.0"
}
My protractor cucumber config file
exports.config = {
framework: 'custom',
frameworkPath: require.resolve('protractor-cucumber-framework'),
specs: ['./specs/protractor-cucumber/features/.feature'],
cucumberOpts: {
require: './specs/protractor-cucumber/step-definitions/.js',
tags: false,
format: 'pretty',
profile: false,
'no-source': true
},
capabilities: {
browserName: 'chrome'
},
getPageTimeout: 60000 * 2,
allScriptsTimeout: 60000 * 2,
onPrepare: function() {
require('babel-register')({
    "presets": ["latest"]
});

let chai = require('chai'),
    globby = require('globby'),
    rimraf = require('rimraf');

chai.should();
chai.use(require('chai-as-promised'));
global.EC = protractor.ExpectedConditions;
browser.driver.manage().window().maximize();

}
}
When I run the protractor protractor.cucumber.config, I get error
Error: TypeError: Cannot call a class as a function
at exports.default (D:\Apps.UI.Tests.Copy\node_modules\babel-runtime\helpers\classCallCheck.js:7:11)
at Object.Cli (D:\Apps.UI.Tests.Copy\node_modules\cucumber\lib\cli\index.js:64:34)
at D:\Apps.UI.Tests.Copy\node_modules\protractor-cucumber-framework\index.js:31:16
at Function.promise (D:\Apps.UI.Tests.Copy\node_modules\q\q.js:682:9)
at D:\Apps.UI.Tests.Copy\node_modules\protractor-cucumber-framework\index.js:24:14
at _fulfilled (D:\Apps.UI.Tests.Copy\node_modules\q\q.js:834:54)
at self.promiseDispatch.done (D:\Apps.UI.Tests.Copy\node_modules\q\q.js:863:30)
at Promise.promise.promiseDispatch (D:\Apps.UI.Tests.Copy\node_modules\q\q.js:796:13)
at D:\Apps.UI.Tests.Copy\node_modules\q\q.js:556:49
at runSingle (D:\Apps.UI.Tests.Copy\node_modules\q\q.js:137:13)
at flush (D:\Apps.UI.Tests.Copy\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
[16:51:53] E/launcher - Process exited with error code 100

@coolnixy This is a duplicate of #64 (which could probably be renamed as "Support for cucumber v2" some similar).
There's been some work at resolving this in PR #66 by @darrinholst.
I believe the main thing we're waiting for is (or as far as I know, the only thing we need is) a way to test against and support both versions of Cucumber in the same package. See discussion on issue #64. @darrinholst Is there anything else we want/need to add before we can merge your PR?
I tried to do a little work on that (testing against both versions of Cucumber), but ran into some difficulty just setting up the package in dev mode. Either something to do with developing on Windows, or setting up Selenium, or a combination. :/

That pr is not waiting on anything. It's backwards compatible between cucumber 1 and 2. It would be nice to have tests for both versions, but it's not mandatory.

@darrinholst Can you pls merge the PR? I have tested it against both the cucumber versions 1 & 2 and with protractor 5(latest) it is working fine. I am working on the tests, soon I would be sending a PR which would have tests ,examples etc. with latest & older versions of protractor,cucumber. If the users face any issue they could raise an issue and we could address them. We should not be holding off https://github.com/mattfritz/protractor-cucumber-framework/pull/66 for so long.

@igniteram I wish I could push the button, but afaik @mattfritz is the only one with commit rights here and he's gone dark 😉

Thanks guys for your response. Now it's just a wait before @mattfritz commits the changes.

You can use that pr branch directly from github in the meantime. That's what I've been doing.
    "protractor-cucumber-framework": "darrinholst/protractor-cucumber-framework#cucumber-2",

I published this under https://www.npmjs.com/package/%40darrinholst%2Fprotractor-cucumber-framework

@darrinholst Thank you for your work!
Might want to update repository.url in the package.json, so that the page on npmjs.com points to the right repository.

@darrinholst Thanks darrin, appreciate your efforts!

cucumber 2 support is in v1.0.0 now


Alternative way to quote parameters

Especially in case of JSON values there is a need to use a large number of double-quotes ", e.g.: { "parameter1": "value1", "parameter2": "value2" }. If I want to use such *JSON* as parameter, than I have to escape every one "` character. It would very useful to have possibility to use parameter quotes other than double-quotes, e.g. single quotes.

One way to do this would be to put this JSON segment in a file and use the (file parameter)[http://getgauge.io/documentation/user/current/specifications/parameters.html] that Gauge supports.
Changing the parameters to support single quotes is one way to achieve this, but I feel having JSON embedded within a step takes away the readability aspect that markdown tries to bring in.
Thoughts?

It would be great if a string quoting like in ruby would be possible.
For example:
* I am a step that requires json %#{"key": "value"}# data
* I am a step that requires an array %w[with 3 values] as data

I feel like this would be easily solved through the use of regex's similar to cucumber. It would allow for the capturing of data in an un-opinionated fashion.

Introducing JSON, string syntax, regexes affects the readability of specification.
Gauge recommends using special parameters or custom parameters https://github.com/getgauge/gauge/issues/7


Plans to update to .NET 8

Any plans to update to .NET 8?
With all the improvements they've made to use Span etc, I'm sure text editing could greatly benefit from these updates
Anyways, love the product and continue the good work

Thanks for checking in. I have posted an announcement about planned future development at https://github.com/OmniSharp/omnisharp-roslyn/issues/2647


unable to find uaac login credentials

i am running uaa server on localhost. I have run following command.
uaac target http://localhost:8080/uaa
Next, i need to get token using command below.
uaac token get username password.
From where will i get the above username and password?  I read that the credentials are in cloud foundry deployment manifest file. But i don't know where the file is located in the system.

@ShradhaSangtani  When you deploy UAA locally, only one user is created out of the box. Its marissa with password as koala
You can create more users through the UI by clicking on Create Account on the login page or by using the API for creating a new user.
http://docs.cloudfoundry.org/api/uaa/#create50
Users can also be created via UAAC.  For this you need be logged in with the Admin Client
Perform uaac token client get admin
The Password is admin-secret and then perform create user command in UAAC


fix: pass GCC_PREPROCESSOR_DEFINITIONS flag to skip flipper on test ios job

This PR resolves []
Description
Follow up from https://github.com/artsy/eigen/pull/9133
Fix broken tests due to missing flipper, adding a flag as we did here to avoid from happening again

#nochangelog

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against aedc2ad3df7c597e7a36f8897cbd7100bade282f


Provide an option to inverse the generated tf

Hi George,
Thank you for this handy odom to tf tool. It saved my day!
I added a new feature to allow users to create an inversed tf (base_link to odom), which could be helpful for the tf tree structure in certain cases.
Let me know what you think.
Kind regards,
Song

Hey Song, thanks for the interest and the PR. I am glad that the package helped you!
I am not negative on merging this PR, but could you please provide me with a real-life example on how this inversion would help?
Thanks!

Hey Song, thanks for the interest and the PR. I am glad that the package helped you!
I am not negative on merging this PR, but could you please provide me with a real-life example on how this inversion would help?
Thanks!

Hey George,
Thank you for the promp reply! Sure, here is the case I encountered.
In my case, I want to simulate a robot in Gazebo. The robot could localise itself with sensors like IMU and GPS. This localisation by internal sensors is represented by a transformation of map/odom -> base_link. Besides, I also have an odometry topic provided by the Gazebo p3d as the ground truth localisation result, where the frame_id is world and the child_frame_id is base_link.
Because the base_link frame cannot have two parent frames, I cannot host world, map/odom, and base_link frames together to compare the world and map/odom.  A workaround could be broadcasting an inversed tf of the ground truth odometry topic, which provides a complete tf tree with all required frames as: map/odom -> base_link -> world. Such a tf tree could reveal the error of the localisation system in a very straightforward way.
Let me know if you think this feature suits the context of the package.
Thank you!

Thanks for the explanation, Song. I don't see any real reason not to offer the option for future users. I will come back with an overall formatting commit and merge your PR, asap! Thanks for your effort!

A year later, I have submitted your updates to rosdistro, @ma-shangao. Sorry for the HUGE delay and thanks again!


Slow builds due to checkstyle

Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

i know we're editing existing files here, but it really bugs me that the checkstyle xml files are checked in at the top directory.
checkstyle.xml checkstyle_report_test.xml checkstyle_test.xml should be put under .build/


Fix pausing

When pausing a song, then pressing play again, previous location is lost and the song is started from the beginning.

#62


[auto-merge] bot-auto-merge-branch-22.06 to branch-22.08 [skip ci] [bot]

auto-merge triggered by github actions on bot-auto-merge-branch-22.06 to create a PR keeping branch-22.08 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

SUCCESS - auto-merge


Window for entering prompt to code modification stays there forever

VS Code Version: 1.80.0-insider
OS Version: Ubuntu 20.04.6 LTS
Logs: Idk which is the log you need.

Steps to Reproduce:

Select +1300 lines and ask it to do something with it
Press enter

It wont go away.

Can you check the log of the window via F1 > Show Logs > Window...

Similar problem here.  Even when i move windows.

tried to accept the solution and this got frozen.  Here are the logs

https://github.com/microsoft/vscode-copilot-release/issues/270#issuecomment-1603510749

@wynged Based on the screen captures it seems that you are used a old version of VS Code. Please update (VS Code and chat) and check if this still occurs.
Also, for the future please include version numbers and please avoid commenting "seeing the same" until an issue is confirmed. Often same symptoms have different causes and it's best to keep them separate until we know for sure


openai: 0.26.1 -> 0.26.2

Description of changes
Update to latest version. No changes that effect build (https://github.com/openai/openai-python/compare/v0.26.1...v0.26.2)
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.


Re-evaluate the JSON-related mixins

Do we even still need them? Can we update them to use Django's JsonResponse instead of HttpResponse?

we need to cross check django JsonResponse docs and tests and ths library mixin to decide what the mixin is offering


Hello, I have submitted the application to apple and when they try to test the app the app crashed on the country textfield and when i test the app there is no crashing. What seems to be the issue ??

Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If your issue concerns the CocoaPods error, "...transitive dependencies that include static binaries", please take a look at any of the following issues and see if your problem is solved: #48, #47, #46, #34, #23.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a GitHub issue.
For general technical questions, post a question on StackOverflow tagged appropriately.
For general Firebase discussion, use the firebase-talk google group
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

Objective C or Swift: ____
iOS version: _____
Firebase SDK version: _____
FirebaseUI version: ____
CocoaPods Version: ____

Step 3: Describe the problem:
Steps to reproduce:

Observed Results:

What happened?  This could be a description, log output, etc.

Expected Results:

What did you expect to happen?

Relevant Code:
// TODO(you): code here to reproduce the problem

Hey, looks like this issue doesn't really fit the format for the issue template. Consider asking the same question on a website like StackOverflow, or emailing Apple directly and asking them for more details on the environment that caused the crash. At the very least you should ask them for the crash's stack trace.
Chances are they're using a different language/localization combination that you're not running into.

@Zeeshan90
Kindly update latest firebaseUI SDK to resolve this issue.
pod 'FirebaseUI/Phone', '~> 8.1.0'
It's worked for me. Thanks


Orienteer presentation

We need to have good presentation about orienteer: goals, pros and cons.

Done here: https://gitpitch.com/OrienteerBAP/Orienteer/


App crash after clicking 'Take photo' (Android)

Description
Hello,
Some Android devices (samsung A5, Android 7.0) crash just after clicking "Take photo" in the dialog box. (Choose picture from library works well.)
Please find the crash logs:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.facebook.react.bridge.ReadableMap.hasKey(java.lang.String)' on a null object reference
       at com.imagepicker.ImagePickerModule.parseOptions(ImagePickerModule.java:707)
       at com.imagepicker.ImagePickerModule.launchCamera(ImagePickerModule.java:233)
       at com.imagepicker.ImagePickerModule.launchCamera(ImagePickerModule.java:206)
       at com.imagepicker.ImagePickerModule$2.onTakePhoto(ImagePickerModule.java:162)
       at com.imagepicker.utils.UI$1.onClick(UI.java:54)
       at android.support.v7.app.AlertController$AlertParams$3.onItemClick(AlertController.java:807)
       at android.widget.AdapterView.performItemClick(AdapterView.java:343)
       at android.widget.AbsListView.performItemClick(AbsListView.java:1664)
       at android.widget.AbsListView$PerformClick.run(AbsListView.java:4075)
       at android.widget.AbsListView$10.run(AbsListView.java:6557)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:154)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$3.run(MessageQueueThreadImpl.java:194)
       at java.lang.Thread.run(Thread.java:762)

How to repeat issue and example
Here is the source code I use to open the image picker dialog:
const photoOptions = {
      title: '',
      cancelButtonTitle: 'Annuler',
      takePhotoButtonTitle: 'Prendre une photo...',
      chooseFromLibraryButtonTitle: 'Choisir une photo...',
 };

showImagePicker(photoOptions, response => {
      if (!response.didCancel && !response.error && !response.customButton) {
        const imageSource = {
          uri: response.uri,
          name: response.fileName ? response.fileName : 'image.JPG',
          type: 'image/jpg',
        };

        this.setState({ imageSource });
      }
 });

Solution
The null pointer appears here in the image-picker source code (ImagePickerModule.java):
private void parseOptions(final ReadableMap options) {
  noData = false;
  if (options.hasKey("noData")) {    **<==== HERE, options is null, but I can figure out why !?**
    noData = options.getBoolean("noData");
  }
  imageConfig = imageConfig.updateFromOptions(options);
  pickVideo = false;
  if (options.hasKey("mediaType") && options.getString("mediaType").equals("video")) {
    pickVideo = true;
  }
  videoQuality = 1;
  if (options.hasKey("videoQuality") && options.getString("videoQuality").equals("low")) {
    videoQuality = 0;
  }
  videoDurationLimit = 0;
  if (options.hasKey("durationLimit")) {
    videoDurationLimit = options.getInt("durationLimit");
  }
}

Is it possible to add a NPE check on options variable ?
Thanks.
Additional Information

React Native version: 0.54.2
React Native Image Picker version: 0.26.7
Platform: Android
Development Operating System: MacOS High Sierra 10.13.4
Dev tools: Android Studio

+1
This solution didn't apply for me, but can help someone else.
Go to Settings > Developer options.
Scroll Down till you find "Don't keep activities". Usually it should be under "App" heading.
Disable it IF it's enabled. (If its disabled, then this solution is not for you)
Try running the file upload now. It should work.

I am facing this situation as well

@appli-intramuros : I think I find out the problem, because your android application provider authorities doesn't mach with this lib {applicatinId}.provider.
you have change change to some like this below
          android:name="android.support.v4.content.FileProvider"
          android:authorities="<your app package name>.provider"
          android:exported="false"
          android:grantUriPermissions="true"
          tools:replace="android:authorities">
          <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/filepaths"
              tools:replace="android:resource"/>
      </provider>```

@skyforeverGE I don't get the point. Can you detail your solution ?

@skyforeverGE I precise that I don't have provider defined in my AndroidManifest.xml. I have to add one ?

@appli-intramuros: try adding a provider under your AndroidManifest

@appli-intramuros : btw, add one line <uses-feature android:name="android.permission.BLUETOOTH" />, that's what I found also

@skyforeverGE sorry for late reply. I added the file provider to my manifest. But I can't test now because I don't reproduce the issue on my phone. The issue was reported by my crashlytics. So I will let you know if the error still occurs after deploying the new version of my app on the play store.
Thanks.

@appli-intramuros : don't forget <uses-feature android:name="android.permission.BLUETOOTH" />, this lib needs

@skyforeverGE  I can't figure out why this lib is needed ?!

@appli-intramuros : me, neither.

I already tried all those solutions and none of them works for me when I run on Moto G3 device. In other devices, it's run properly.

@appli-intramuros : sorry, I don't have that modal of device.

+1
We are also facing the same issue

Any solution with this issue?  I'm getting this is some devices.

Any solution with this issue? I'm getting this is some devices.

Same. react-native-image-library 1.0.2 . RN 0.60.4  . adb logcat don't reveal any exception. It's weird.

i was in the same situation .after take picture and confirm the app crashes even i get response
i think there's a plugin who is crash the app in my case was react-native-location-enabler
i wish it will help someone

I'm crying. Have everyone fixed it??

I Migration to v3 and i crash app in android when i use launchCamera. Pls, Have any solution to fix it????

if the issue is with app restarting,
go to settings and select your app & set the fullScreenMode true. This fixed the app restart on Redmi Devices


Handle the "Overlap" part of the user name in the app bar

Changes done
I specified a width of 250 for the Text component in TitlePrivate. This width will make sure that the truncated part (ellipsis "...")  doesn't overlap with the InfoButton of the app bar.
Before

After

Fixes: #4469

Actually, I don't have an android simulator on my Macbook right now. So it would be very helpful for anyone to reproduce this issue and explicitly check by specifying the width of 250 in src/styles/navStyles.js This will help us know that specifying the particular width is solving issue both on iOS and Android.

@Gautam-Arora24 can you check if the fix works in landscape mode ?

@Maskedman99 In landscape mode the user's name still gets truncated, which I think should not be the case? Here is the screenshot of the user's name getting truncated in landscape mode.

Actually, I don't have an android simulator on my Macbook right now. So it would be very helpful for anyone to reproduce this issue and explicitly check by specifying the width of 250 in src/styles/navStyles.js This will help us know that specifying the particular width is solving issue both on iOS and Android.

@Gautam-Arora24 I checked and it's working alright. 👍

Thanks @rajprakash00 for reviewing. One thing that is not working here is when a user changes his orientation to landscape mode, the width still remains 250 which shouldn't be the case. So in order to do so, I am using Dimensions API of RN which will tell to truncate only if the device is in portrait mode.

Thanks for the PR, @Gautam-Arora24! I've just responded in chat; please take a look. 🙂

@chrisbobbe After the latest revision, the name looks absolutely good in both Landscape and Portrait mode.
Here are the screenshots ->
In Portrait Mode

In Landscape Mode

Also if, by chance, the name gets too bigger for the landscape mode too. Here is how it looks in that mode as well.

Thanks, @Gautam-Arora24! Merged, with a few tweaks to the commit message, including:

Removed the space in Title Private
Used my text editor's automatic word wrapping, set to the proper line length, so the line ends look more regular (I expect this is supported in all text editors)
Used my habitual footnote-style format for including a link in a commit message, separating the link from paragraphs and decreasing line length
A few grammatical fixes

Thanks @chrisbobbe! Will keep in mind these points and try not to do these mistakes in future.


fix(provider): validate the ingress hostname

This puts basic validation on the content of the ingress hostname. Only runs on startup.

I am going to move the logic I have here for sanity checking a hostname into a utility function and make sure it doesn't use any regexes

@troian updated this PR to use the function from the Golang source repo


SOLR-16291 : Decay function queries gauss,linear,exponential

https://issues.apache.org/jira/browse/SOLR-16291
Description
This is a Solr version of the Decay functions  [available in Elasticsearch ] (https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-decay )
Decay functions score a document with a function that decays depending on the distance of a numeric field value of the document from a user given origin. This is similar to a range query, but with smooth edges instead of boxes.
Solution
implemented as ValueSourceParsers
Tests
Test are in org.apache.solr.search.function.decayfunction for testing exponential, gauss and linear implementations
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[ ] I have run ./gradlew check.
[x] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

@risdenk Why do you think it is doing too much? As I interpret this, it will only parse the values for date (d) and geo fields (km), which is very user friendly. But if you wish you could still use it on pure numeric field and combine with other functions?

Hi all, this seems like a really nice addition to Solr...   Assuming @danrosher is still up for adding the Ref Guide docs, this seems like a good capablity.    Not sure how strongly you feel @risdenk on this versus the positive indication from @janhoy ?   Be curious if there are some specificis that could be made to get this to a LGTM !


Add check_install.sh script

https://github.com/ReproNim/DGPA_workshop_2022/blob/main/check_install.sh

Did that


[testsdk] add location parameter for VirtualNetworkPreparer

Description

Sometimes we need to configure vnet location according to requirement
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

testsdk


Support defaults on supertypes

If supertypes have builders, we can construct the builder to determine what the default values should be.

Things to worry about:

conflicting defaults if two interfaces overlap


Enable to build glew with clang-15

Context
With clang-15, zen fails to build GLEW like so.
../subprojects/glew-2.2.0/src/glew.c:10017:54: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static GLboolean _glewInit_GL_AMD_draw_buffers_blend ();
                                                     ^
                                                      void
../subprojects/glew-2.2.0/src/glew.c:10018:68: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static GLboolean _glewInit_GL_AMD_framebuffer_multisample_advanced ();
                                                                   ^
                                                                    void
../subprojects/glew-2.2.0/src/glew.c:10019:64: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static GLboolean _glewInit_GL_AMD_framebuffer_sample_positions ();
                                                               ^
                                                                void
../subprojects/glew-2.2.0/src/glew.c:10020:56: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
static GLboolean _glewInit_GL_AMD_interleaved_elements ();
                                                       ^
                                                        void
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[42/191] Compiling C object zwnroot/libzwnr.a.p/src_region_node.c.o
ninja: build stopped: subcommand failed.

Summary

Add '-Wno-strict-prototypes' to compiler arguments of building GLEW.

To officially support clang-15, we still need to add clang-15 build test to CI.
How to check behavior
Build it with clang-15.
CC=clang-15 CXX=clang++-15 meson build
ninja -C build

I tried this by clang 15.0.7


[Program]: Write a Perl program to find the trace of a matrix

Description
Write a Perl program to find the trace of a matrix
The trace of a square matrix is the sum of the elements on the main diagonal (from the upper left to the lower right).
Input  :
1 2 3
4 5 6
7 8 9

Output :
15

How to contribute

Save the solution in program/program/find-the-trace-of-a-matrix/program/find_the_trace_of_a_matrix.pl file

!assign


add DocC

It is simply the code to apply the DocC to the package, and I think we need to write more documents.

you right, and this is progressing pr. haha.


Proof of concept for design tokens

TODO

[x] CommonJS module for the colour ramp
[x] Read the W3C community 1st public editor's draft on design tokens
[x] Custom JSON transform in Style Dictionary for exporting to Figma
[ ] Figma Tokens plug-in integration
[ ] Build a web page
[ ] Explore documentation/comments in token file

Outcomes

Common understanding of how we can tackle design tokens

Deliverables

presentation to the team
poc

Estimated Effort

[ ] XS: 1 to 2 hours
[ ] S: half a day
[ ] M: 1-2 day
[x] L: 1 week
[ ] XL: Move to an epic

Out of scope

typography, size, space, time, assets, motion, icons tokens.
integration of design tokens into mobile platforms and other non-web frameworks.

research and experimentation

working on sync between web page and figma

got custom format to work with figma.
This week working on integrating it in central spot so that designers can change things in figma and dev can get output from github.

For reference: the work that david is doing is here: https://github.com/cds-snc/gc-design-tokens


[BUG] Moon phases on wrong dates

Describe the bug
I am setting up a Barovian lunar calendar where there are 12 months with 28 days in each month. I've excluded leap years for simplicity and I'm just trying to config it so that the 1st day of every month is a Full Moon as is described in the campaign module. In order to achieve this, I just declare the New moon on the 1st month 14th day.
I can somewhat get this to work correctly however as you move through the calendar months, you start seeing all sorts of issues where a phase icon may appear twice in two consecutive days, or the full moon starts to shift forward or backward over time. Not really sure what is the cause of this. It almost seems like there is a hard coded set of assumptions in using the calculations to place moon phases on the calendar. Either that, or it's operator error and I just can't figure it out. See attached images.
I also used Find the Culprit with just Simple Calendar enabled and the issue was still present.
To Reproduce
Steps to reproduce the behavior:

Import this calendar json below
Open the calendar
Cycle through the months and you'll observe that the moon phases are all over the place as you move through months

Expected behavior
With this setup, I would expect every month that the Full Moon land on the 1st of every month and a New month to be on the 14th every month. Additionally, I would expect the waxing/wanning icons to fall on the day in the middle a a 6 day period. See config json below
Screenshots

Foundry Information

Foundry Version: v10.291
Game System: Dnd5e v2.1.4
Simple Calendar Version: v2.1.80
Simple Calendar Configuration:
{"exportVersion":2,"globalConfig":{},"permissions":{"id":"d043387f","addNotes":{"player":false,"trustedPlayer":false,"assistantGameMaster":false},"changeDateTime":{"player":false,"trustedPlayer":false,"assistantGameMaster":false},"reorderNotes":{"player":false,"trustedPlayer":false,"assistantGameMaster":false},"viewCalendar":{"player":true,"trustedPlayer":true,"assistantGameMaster":true},"changeActiveCalendar":{"player":false,"trustedPlayer":false,"assistantGameMaster":false}},"calendars":[{"id":"default","name":"Barovian Lunar Calendar","currentDate":{"year":750,"month":1,"day":5,"seconds":37653},"general":{"gameWorldTimeIntegration":"self","showClock":true,"noteDefaultVisibility":false,"postNoteRemindersOnFoundryLoad":true,"pf2eSync":true,"dateFormat":{"date":"MMMM DD, YYYY","time":"HH:mm:ss","monthYear":"MMMM YAYYYYYZ"},"compactViewOptions":{"controlLayout":"quick-increment"}},"leapYear":{"id":"c935d140","rule":"none","customMod":0},"months":[{"id":"d077a012","name":"Yinyavr (Cold Moon)","description":"","abbreviation":"Yin","numericRepresentation":1,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"6b50f517","name":"Fenravr (Wolf Moon)","description":"","abbreviation":"Fen","numericRepresentation":2,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"ea0f65f9","name":"Martavr (Raven Moon)","description":"","abbreviation":"Mar","numericRepresentation":3,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"55c7d7a5","name":"Prylla (Rain Moon)","description":"","abbreviation":"Pry","numericRepresentation":4,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"4b9fff78","name":"Mada (Maid Moon)","description":"","abbreviation":"Mad","numericRepresentation":5,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"474f9395","name":"Eyun (Summer Moon)","description":"","abbreviation":"Eyu","numericRepresentation":6,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"e203bfa6","name":"Eyul (War Moon)","description":"","abbreviation":"Eyu","numericRepresentation":7,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"54b8791b","name":"Ugavr (Wine Moon)","description":"","abbreviation":"Uga","numericRepresentation":8,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"a2899380","name":"Sintavr (Harvest Moon)","description":"","abbreviation":"Sin","numericRepresentation":9,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"309e6737","name":"Ottyavr (Hunter's Moon)","description":"","abbreviation":"Ott","numericRepresentation":10,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"78c36c","name":"Neyavr (Rot Moon)","description":"","abbreviation":"Ney","numericRepresentation":11,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"cf7866f9","name":"Dekavr (Winter Moon)","description":"","abbreviation":"Dek","numericRepresentation":12,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null}],"moons":[{"id":"bf48f457","name":"The Moon","cycleLength":28,"firstNewMoon":{"yearReset":"none","yearX":0,"year":750,"month":0,"day":13},"phases":[{"name":"New Moon","length":1,"icon":"new","singleDay":true},{"name":"Waxing Crescent","length":6,"icon":"waxing-crescent","singleDay":false},{"name":"First Quarter","length":1,"icon":"first-quarter","singleDay":true},{"name":"Waxing Gibbous","length":6,"icon":"waxing-gibbous","singleDay":false},{"name":"Full Moon","length":1,"icon":"full","singleDay":true},{"name":"Waning Gibbous","length":6,"icon":"waning-gibbous","singleDay":false},{"name":"Last Quarter","length":1,"icon":"last-quarter","singleDay":true},{"name":"Waning Crescent","length":6,"icon":"waning-crescent","singleDay":false}],"color":"#ffffff","cycleDayAdjust":0}],"noteCategories":[],"seasons":[{"id":"65a44e19","name":"Winter 3","description":"","startingMonth":1,"startingDay":0,"color":"#00d5ff","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"66a5be01","name":"Spring 1","description":"","startingMonth":2,"startingDay":14,"color":"#258e25","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"fe747fca","name":"Spring 2","description":"","startingMonth":4,"startingDay":0,"color":"#258e25","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"4a4402cd","name":"Spring 3","description":"","startingMonth":5,"startingDay":14,"color":"#f5e000","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"32561040","name":"Summer 1","description":"","startingMonth":6,"startingDay":20,"color":"#f02400","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"44e5fc49","name":"Fall 1","description":"","startingMonth":7,"startingDay":0,"color":"#b12e2e","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"835ef64d","name":"Fall 2","description":"","startingMonth":7,"startingDay":14,"color":"#b1692e","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"2c05eddd","name":"Fall 3","description":"","startingMonth":8,"startingDay":14,"color":"#b1692e","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"83cf471","name":"Fall 4","description":"","startingMonth":9,"startingDay":0,"color":"#b99946","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"83584861","name":"Winter 1","description":"","startingMonth":10,"startingDay":14,"color":"#0091ff","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"cb7a9413","name":"Winter 2","description":"","startingMonth":11,"startingDay":14,"color":"#024cf7","icon":"none","sunriseTime":0,"sunsetTime":0}],"time":{"id":"5db8207f","hoursInDay":24,"minutesInHour":60,"secondsInMinute":60,"gameTimeRatio":1,"unifyGameAndClockPause":false,"updateFrequency":1},"weekdays":[{"abbreviation":"Va","id":"d39f720e","name":"Vasarnap","description":"","numericRepresentation":1,"restday":false},{"abbreviation":"He","id":"75f62c5d","name":"Hetfo","description":"","numericRepresentation":2,"restday":false},{"abbreviation":"Ke","id":"387c6d2","name":"Kedd","description":"","numericRepresentation":3,"restday":false},{"abbreviation":"Sz","id":"2ce1891c","name":"Szerda","description":"","numericRepresentation":4,"restday":false},{"abbreviation":"Cs","id":"ecbd0b87","name":"Csutorok","description":"","numericRepresentation":5,"restday":false},{"abbreviation":"Pe","id":"52468ff8","name":"Pentek","description":"","numericRepresentation":6,"restday":false},{"abbreviation":"Sz","id":"d7721e2","name":"Szombat","description":"","numericRepresentation":7,"restday":false}],"year":{"id":"e32775bc","numericRepresentation":750,"prefix":"","postfix":"","showWeekdayHeadings":true,"firstWeekday":0,"yearZero":1,"yearNames":[],"yearNamingRule":"default","yearNamesStart":0}},{"id":"default","name":"Barovian Lunar Calendar","currentDate":{"year":750,"month":1,"day":5,"seconds":0},"general":{"gameWorldTimeIntegration":"self","showClock":true,"noteDefaultVisibility":false,"postNoteRemindersOnFoundryLoad":true,"pf2eSync":true,"dateFormat":{"date":"MMMM DD, YYYY","time":"HH:mm:ss","monthYear":"MMMM YAYYYYYZ"},"compactViewOptions":{"controlLayout":"quick-increment"}},"leapYear":{"id":"c935d140","rule":"none","customMod":0},"months":[{"id":"d077a012","name":"Yinyavr (Cold Moon)","description":"","abbreviation":"Yin","numericRepresentation":1,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"6b50f517","name":"Fenravr (Wolf Moon)","description":"","abbreviation":"Fen","numericRepresentation":2,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"ea0f65f9","name":"Martavr (Raven Moon)","description":"","abbreviation":"Mar","numericRepresentation":3,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"55c7d7a5","name":"Prylla (Rain Moon)","description":"","abbreviation":"Pry","numericRepresentation":4,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"4b9fff78","name":"Mada (Maid Moon)","description":"","abbreviation":"Mad","numericRepresentation":5,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"474f9395","name":"Eyun (Summer Moon)","description":"","abbreviation":"Eyu","numericRepresentation":6,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"e203bfa6","name":"Eyul (War Moon)","description":"","abbreviation":"Eyu","numericRepresentation":7,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"54b8791b","name":"Ugavr (Wine Moon)","description":"","abbreviation":"Uga","numericRepresentation":8,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"a2899380","name":"Sintavr (Harvest Moon)","description":"","abbreviation":"Sin","numericRepresentation":9,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"309e6737","name":"Ottyavr (Hunter's Moon)","description":"","abbreviation":"Ott","numericRepresentation":10,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"78c36c","name":"Neyavr (Rot Moon)","description":"","abbreviation":"Ney","numericRepresentation":11,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null},{"id":"cf7866f9","name":"Dekavr (Winter Moon)","description":"","abbreviation":"Dek","numericRepresentation":12,"numericRepresentationOffset":0,"numberOfDays":28,"numberOfLeapYearDays":28,"intercalary":false,"intercalaryInclude":false,"startingWeekday":null}],"moons":[{"id":"bf48f457","name":"The Moon","cycleLength":28,"firstNewMoon":{"yearReset":"none","yearX":0,"year":750,"month":0,"day":13},"phases":[{"name":"New Moon","length":1,"icon":"new","singleDay":true},{"name":"Waxing Crescent","length":6,"icon":"waxing-crescent","singleDay":false},{"name":"First Quarter","length":1,"icon":"first-quarter","singleDay":true},{"name":"Waxing Gibbous","length":6,"icon":"waxing-gibbous","singleDay":false},{"name":"Full Moon","length":1,"icon":"full","singleDay":true},{"name":"Waning Gibbous","length":6,"icon":"waning-gibbous","singleDay":false},{"name":"Last Quarter","length":1,"icon":"last-quarter","singleDay":true},{"name":"Waning Crescent","length":6,"icon":"waning-crescent","singleDay":false}],"color":"#ffffff","cycleDayAdjust":0}],"noteCategories":[],"seasons":[{"id":"65a44e19","name":"Winter 3","description":"","startingMonth":1,"startingDay":0,"color":"#00d5ff","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"66a5be01","name":"Spring 1","description":"","startingMonth":2,"startingDay":14,"color":"#258e25","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"fe747fca","name":"Spring 2","description":"","startingMonth":4,"startingDay":0,"color":"#258e25","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"4a4402cd","name":"Spring 3","description":"","startingMonth":5,"startingDay":14,"color":"#f5e000","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"32561040","name":"Summer 1","description":"","startingMonth":6,"startingDay":20,"color":"#f02400","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"44e5fc49","name":"Fall 1","description":"","startingMonth":7,"startingDay":0,"color":"#b12e2e","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"835ef64d","name":"Fall 2","description":"","startingMonth":7,"startingDay":14,"color":"#b1692e","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"2c05eddd","name":"Fall 3","description":"","startingMonth":8,"startingDay":14,"color":"#b1692e","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"83cf471","name":"Fall 4","description":"","startingMonth":9,"startingDay":0,"color":"#b99946","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"83584861","name":"Winter 1","description":"","startingMonth":10,"startingDay":14,"color":"#0091ff","icon":"none","sunriseTime":0,"sunsetTime":0},{"id":"cb7a9413","name":"Winter 2","description":"","startingMonth":11,"startingDay":14,"color":"#024cf7","icon":"none","sunriseTime":0,"sunsetTime":0}],"time":{"id":"5db8207f","hoursInDay":24,"minutesInHour":60,"secondsInMinute":60,"gameTimeRatio":1,"unifyGameAndClockPause":false,"updateFrequency":1},"weekdays":[{"abbreviation":"Va","id":"d39f720e","name":"Vasarnap","description":"","numericRepresentation":1,"restday":false},{"abbreviation":"He","id":"75f62c5d","name":"Hetfo","description":"","numericRepresentation":2,"restday":false},{"abbreviation":"Ke","id":"387c6d2","name":"Kedd","description":"","numericRepresentation":3,"restday":false},{"abbreviation":"Sz","id":"2ce1891c","name":"Szerda","description":"","numericRepresentation":4,"restday":false},{"abbreviation":"Cs","id":"ecbd0b87","name":"Csutorok","description":"","numericRepresentation":5,"restday":false},{"abbreviation":"Pe","id":"52468ff8","name":"Pentek","description":"","numericRepresentation":6,"restday":false},{"abbreviation":"Sz","id":"d7721e2","name":"Szombat","description":"","numericRepresentation":7,"restday":false}],"year":{"id":"e32775bc","numericRepresentation":750,"prefix":"","postfix":"","showWeekdayHeadings":true,"firstWeekday":0,"yearZero":1,"yearNames":[],"yearNamingRule":"default","yearNamesStart":0}}],"notes":{"default":[{"name":"New Note","folder":"548UlTxhoCKhqNaC","flags":{"core":{"sheetClass":"foundryvtt-simple-calendar.NoteSheet"},"foundryvtt-simple-calendar":{"noteData":{"calendarId":"default","startDate":{"year":750,"month":1,"day":5,"hour":0,"minute":0,"seconds":0},"endDate":{"year":750,"month":1,"day":5,"hour":0,"minute":0,"seconds":0},"allDay":true,"repeats":0,"order":0,"categories":[],"remindUsers":[]}},"scene-packer":{"hash":"8180498bb0026b10574555994d1f3860f98e23e3"}},"ownership":{"QX10ZeYBS8udRBR8":3,"Gp8sup0POr81PAwj":0,"mzmfcBD23kzOpftR":0,"67FyeQ5wZOn2UKQB":0,"O4lE6ZMmWvlMgtiq":0,"3I7HuKfnGcNDTfpL":0,"82FygCw2VpqWnxYn":0},"pages":[{"text":{"content":"","format":1},"name":"Details","_id":"Rfhz0uMzNovKbJqU","type":"text","title":{"show":true,"level":1},"image":{},"video":{"controls":true,"volume":0.5},"src":null,"system":{},"sort":0,"ownership":{"default":-1},"flags":{}}],"sort":0,"_stats":{"systemId":"dnd5e","systemVersion":"2.1.4","coreVersion":"10.291","createdTime":1675741987083,"modifiedTime":1675741987099,"lastModifiedBy":"QX10ZeYBS8udRBR8"},"_id":"Vs7DClZGckmlyDp8"}]}}

Browser (please complete the following information):

Browser Chrome  v109.0.5414.120 (Official Build) (64-bit)

Hey sorry about the long delay in getting back to you.
Moons are an area that I want to rework to make it better or easier to set up. I think I got it set up to how you want it to be set up. What I changed

Cycle Adjustment: I set this to 0.5 I have found that doing this will reduce/eliminate the phases appearing on multiple dates (more on why that happens below).
New Moon Month and Day: I set this to Yinyavr (Cold Moon) 15 which will bump the full moon to be on the first of every month.

That is it in terms of changes, the next few years appear to have the full moon only on the first day of the month and all the other phases follow as expected.
Why phases can appear on more than one day has to do with math rounding when doing to computation on what phase should appear on what day. The 0.5 helps push that rounding error to be less of an issue.
I do plan on updating the moon stuff but I have a few other enhancements I am currently working on at the moment so not sure exactly when it will get looked at.

@vigoren Thank you for the response! Those adjustments got the main four moon phases of the full , first quarter, last quarter, and new moon to work consistently. Now it's just the Waxing/Wanning Gibs/Cresc that are sporadic but they at least appear in the right areas of the calendar when they choose to. Thanks for the explanation of the Cycle Adjustment. I would have never figured out that workaround on my own as I was avoiding it thinking that I have no adjustments since it's a constant 28 lunar cycle calendar month.


[BUG] Replying to webhook messages shows nothing in game

Versions:
Latest Forge and Fabric.
What happens:
I reply to a webhook message in discord and no message appears in game.
Expected behavior:
I reply to a webhook message in discord and that message appears in game.
Appears to be related to the webhook message not having a proper author, so the reply message breaks

Fixed in 3.0.1 Beta


Fix broken headings in Markdown files

GitHub changed the way Markdown headings are parsed, so this change fixes it.
See bryant1410/readmesfix for more information.
Tackles bryant1410/readmesfix#1

Thanks for your work.


Please censor collection log popups so we don't have to go into settings each time we cox

There was an update so that the collection log popup occurs before you open the chest so there's no way to censor it with that enabled.

just wanted to bump this one for support since we just had our tbow spoiled this way :(

Fixed in newest update, will be public when merged into RuneLite

Thanks, I appreciate the fix!


Update README.md

Fix Windows config path location on the README to prevent confusion

LGTM. Manually merged and commit message adjusted to conform to conventional commits, thanks!


did actor.scalar_colors disappear?

I have some old code that used actor.scalar_colors to specify the color for the vertices.
Workes fine in vedo 2021.0.3 but breaks in later versions. Has this been replaced by something else?

Uhm.. are you sure.. I cannot remember anything called like that.. is actor a Mesh?

what you can do now is e.g.:
from vedo import *
import numpy as np

settings.interpolateScalarsBeforeMapping=False

s=Sphere().clean().lw(1)
colors = np.random.randint(0,255, size=(s.N(), 3)).astype(np.uint8)

s.pointdata['vertex_colors'] = colors
s.pointdata.select('vertex_colors')

show(s,axes=1)

Uhm.. are you sure.. I cannot remember anything called like that.. is actor a Mesh?

sorry, used c.pointColors(scalar_colors) :
Old code
import numpy as np
from vedo import *

c = Cube()

n = len(c.points())
scalar_colors = np.random.randint(0,255, size = (n,1))

c.pointColors(scalar_colors, vmin=-2500, vmax=2500, cmap='rainbow)

show(c)

Upgraded to:
import numpy as np
from vedo import *

settings.interpolateScalarsBeforeMapping=False

c = Cube()

n = len(c.points())
scalar_colors = np.random.randint(0,255, size = (n,1))

# c.pointColors(scalar_colors)
c.pointdata['vertex_colors'] = scalar_colors
c.pointdata.select('vertex_colors')
c.cmap('rainbow', vmin=-2500, vmax=2500)

show(c)

works, thanks @marcomusy

If it's a simple scalar to be mapped you can consider the following simplification:
import numpy as np
from vedo import *

np.random.seed(0)
settings.interpolateScalarsBeforeMapping=False

c = Cube()
scalars = np.random.randn(c.NPoints())
c.cmap('flag', scalars).addScalarBar()#.print()
show(c)

The array is automatically added with name "PointScalars". Note the effect of interpolateScalarsBeforeMapping.


src/storage/Repository.ts(32,37): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/Repository.ts(41,38): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/Repository.ts(52,26): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/Repository.ts(57,46): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/Repository.ts(67,52): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/Repository.ts(71,81): error TS2304: Cannot find name 'JSON'.
src/storage/Repository.ts(90,51): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/Repository.ts(94,73): error TS2304: Cannot find name 'JSON'.
src/storage/StorageService.ts(4,43): error TS2304: Cannot find name 'Partial'.
src/storage/StorageService.ts(4,51): error TS2304: Cannot find name 'ReturnType'.
src/storage/StorageService.ts(18,20): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/StorageService.ts(26,22): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/StorageService.ts(34,22): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/StorageService.ts(43,63): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/StorageService.ts(50,50): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/storage/StorageService.ts(58,72): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/HttpOutboundTransport.ts(5,24): error TS7016: Could not find a declaration file for module 'node-fetch'. '/home/user/Documents/Learnings/aries-learning/aries-javascript-trial/aries-framework-javascript/node_modules/node-fetch/lib/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/node-fetch if it exists or add a new declaration (.d.ts) file containing declare module 'node-fetch';
src/transport/HttpOutboundTransport.ts(7,33): error TS2307: Cannot find module 'abort-controller' or its corresponding type declarations.
src/transport/HttpOutboundTransport.ts(20,37): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/HttpOutboundTransport.ts(29,24): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/HttpOutboundTransport.ts(34,16): error TS2697: An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.
src/transport/HttpOutboundTransport.ts(47,18): error TS2304: Cannot find name 'setTimeout'.
src/transport/HttpOutboundTransport.ts(54,17): error TS2304: Cannot find name 'JSON'.
src/transport/HttpOutboundTransport.ts(58,9): error TS2304: Cannot find name 'clearTimeout'.
src/transport/HttpOutboundTransport.ts(79,31): error TS2304: Cannot find name 'JSON'.
src/transport/InboundTransport.ts(4,24): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/InboundTransport.ts(5,11): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/OutboundTransport.ts(7,50): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/OutboundTransport.ts(9,24): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/OutboundTransport.ts(10,11): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/WsOutboundTransport.ts(6,28): error TS2307: Cannot find module 'ws' or its corresponding type declarations.
src/transport/WsOutboundTransport.ts(16,27): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/WsOutboundTransport.ts(16,56): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/WsOutboundTransport.ts(23,37): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/WsOutboundTransport.ts(33,16): error TS2697: An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.
src/transport/WsOutboundTransport.ts(35,34): error TS7006: Parameter 'socket' implicitly has an 'any' type.
src/transport/WsOutboundTransport.ts(41,16): error TS2697: An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.
src/transport/WsOutboundTransport.ts(54,5): error TS2571: Object is of type 'unknown'.
src/transport/WsOutboundTransport.ts(54,29): error TS2304: Cannot find name 'JSON'.
src/transport/WsOutboundTransport.ts(59,7): error TS2571: Object is of type 'unknown'.
src/transport/WsOutboundTransport.ts(104,21): error TS2304: Cannot find name 'JSON'.
src/transport/WsOutboundTransport.ts(121,7): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/WsOutboundTransport.ts(122,16): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/transport/WsOutboundTransport.ts(122,25): error TS7006: Parameter 'resolve' implicitly has an 'any' type.
src/transport/WsOutboundTransport.ts(122,34): error TS7006: Parameter 'reject' implicitly has an 'any' type.
src/transport/WsOutboundTransport.ts(131,25): error TS7006: Parameter 'error' implicitly has an 'any' type.
src/transport/WsOutboundTransport.ts(138,24): error TS2697: An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.
src/utils/BufferEncoder.ts(11,43): error TS2304: Cannot find name 'Uint8Array'.
src/utils/BufferEncoder.ts(29,43): error TS2304: Cannot find name 'Uint8Array'.
src/utils/BufferEncoder.ts(56,42): error TS2304: Cannot find name 'Uint8Array'.
src/utils/BufferEncoder.ts(60,47): error TS2304: Cannot find name 'Uint8Array'.
src/utils/HashlinkEncoder.ts(7,24): error TS2307: Cannot find module 'js-sha256' or its corresponding type declarations.
src/utils/HashlinkEncoder.ts(40,22): error TS2304: Cannot find name 'Uint8Array'.
src/utils/HashlinkEncoder.ts(46,36): error TS2304: Cannot find name 'Object'.
src/utils/HashlinkEncoder.ts(59,37): error TS2339: Property 'split' does not exist on type 'string'.
src/utils/HashlinkEncoder.ts(63,17): error TS2304: Cannot find name 'Error'.
src/utils/HashlinkEncoder.ts(76,35): error TS2339: Property 'split' does not exist on type 'string'.
src/utils/HashlinkEncoder.ts(87,22): error TS2304: Cannot find name 'Uint8Array'.
src/utils/HashlinkEncoder.ts(92,22): error TS2304: Cannot find name 'Uint8Array'.
src/utils/HashlinkEncoder.ts(99,29): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/utils/HashlinkEncoder.ts(101,23): error TS2304: Cannot find name 'Object'.
src/utils/HashlinkEncoder.ts(103,25): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ urls: number; contentType: number; }'.
src/utils/HashlinkEncoder.ts(103,40): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Metadata'.
src/utils/HashlinkEncoder.ts(105,19): error TS2304: Cannot find name 'Error'.
src/utils/HashlinkEncoder.ts(121,23): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/utils/HashlinkEncoder.ts(122,25): error TS7006: Parameter 'value' implicitly has an 'any' type.
src/utils/HashlinkEncoder.ts(122,32): error TS7006: Parameter 'key' implicitly has an 'any' type.
src/utils/HashlinkEncoder.ts(128,21): error TS2304: Cannot find name 'Error'.
src/utils/HashlinkEncoder.ts(133,17): error TS2304: Cannot find name 'Error'.
src/utils/JsonEncoder.ts(38,12): error TS2304: Cannot find name 'JSON'.
src/utils/JsonEncoder.ts(47,12): error TS2304: Cannot find name 'JSON'.
src/utils/JsonEncoder.ts(64,45): error TS2304: Cannot find name 'Uint8Array'.
src/utils/JsonTransformer.ts(1,68): error TS2307: Cannot find module 'class-transformer' or its corresponding type declarations.
src/utils/LinkedAttachment.ts(1,22): error TS2307: Cannot find module 'class-transformer' or its corresponding type declarations.
src/utils/LinkedAttachment.ts(2,26): error TS2307: Cannot find module 'class-validator' or its corresponding type declarations.
src/utils/LinkedAttachment.ts(41,41): error TS2339: Property 'split' does not exist on type 'string'.
src/utils/MessageValidator.ts(1,34): error TS2307: Cannot find module 'class-validator' or its corresponding type declarations.
src/utils/MultiBaseEncoder.ts(1,23): error TS2307: Cannot find module 'multibase' or its corresponding type declarations.
src/utils/MultiBaseEncoder.ts(13,32): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiBaseEncoder.ts(26,39): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiBaseEncoder.ts(26,60): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiBaseEncoder.ts(31,15): error TS2304: Cannot find name 'Error'.
src/utils/MultiBaseEncoder.ts(42,40): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiHashEncoder.ts(1,28): error TS2307: Cannot find module 'multihashes' or its corresponding type declarations.
src/utils/MultiHashEncoder.ts(13,32): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiHashEncoder.ts(13,67): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiHashEncoder.ts(25,30): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiHashEncoder.ts(25,51): error TS2304: Cannot find name 'Uint8Array'.
src/utils/MultiHashEncoder.ts(30,15): error TS2304: Cannot find name 'Error'.
src/utils/MultiHashEncoder.ts(41,31): error TS2304: Cannot find name 'Uint8Array'.
src/utils/attachment.ts(2,31): error TS2307: Cannot find module 'multibase' or its corresponding type declarations.
src/utils/base58.ts(1,18): error TS2307: Cannot find module '@multiformats/base-x' or its corresponding type declarations.
src/utils/base58.ts(10,40): error TS2304: Cannot find name 'Uint8Array'.
src/utils/base64.ts(2,17): error TS2339: Property 'replace' does not exist on type 'string'.
src/utils/buffer.ts(1,24): error TS2307: Cannot find module 'buffer/' or its corresponding type declarations.
src/utils/did.ts(22,33): error TS2304: Cannot find name 'RegExp'.
src/utils/did.ts(22,61): error TS2339: Property 'source' does not exist on type '{}'.
src/utils/did.ts(22,96): error TS2339: Property 'source' does not exist on type '{}'.
src/utils/did.ts(55,40): error TS2339: Property 'split' does not exist on type 'string'.
src/utils/did.ts(64,26): error TS2339: Property 'split' does not exist on type 'string'.
src/utils/did.ts(75,28): error TS2339: Property 'test' does not exist on type '{}'.
src/utils/did.ts(84,35): error TS2339: Property 'test' does not exist on type '{}'.
src/utils/did.ts(102,20): error TS2339: Property 'test' does not exist on type '{}'.
src/utils/did.ts(111,31): error TS2339: Property 'test' does not exist on type '{}'.
src/utils/indyError.ts(88,23): error TS2304: Cannot find name 'Number'.
src/utils/indyError.ts(89,10): error TS2304: Cannot find name 'isNaN'.
src/utils/indyError.ts(89,30): error TS2304: Cannot find name 'Object'.
src/utils/messageType.ts(3,79): error TS2304: Cannot find name 'Record'.
src/utils/messageType.ts(7,75): error TS2304: Cannot find name 'Record'.
src/utils/messageType.ts(15,19): error TS2339: Property 'startsWith' does not exist on type 'string'.
src/utils/messageType.ts(16,24): error TS2339: Property 'replace' does not exist on type 'string'.
src/utils/messageType.ts(26,19): error TS2339: Property 'startsWith' does not exist on type 'string'.
src/utils/messageType.ts(27,24): error TS2339: Property 'replace' does not exist on type 'string'.
src/utils/mixins.ts(12,76): error TS2304: Cannot find name 'InstanceType'.
src/utils/mixins.ts(12,89): error TS2304: Cannot find name 'ReturnType'.
src/utils/mixins.ts(12,100): error TS2536: Type 'number' cannot be used to index type 'T'.
src/utils/mixins.ts(31,21): error TS2339: Property 'reduce' does not exist on type 'T'.
src/utils/mixins.ts(31,29): error TS7006: Parameter 'extended' implicitly has an 'any' type.
src/utils/mixins.ts(31,39): error TS7006: Parameter 'extend' implicitly has an 'any' type.
src/utils/path.ts(8,15): error TS2339: Property 'substring' does not exist on type 'string'.
src/utils/path.ts(8,28): error TS2304: Cannot find name 'Math'.
src/utils/path.ts(8,42): error TS2339: Property 'lastIndexOf' does not exist on type 'string'.
src/utils/path.ts(8,65): error TS2339: Property 'lastIndexOf' does not exist on type 'string'.
src/utils/promises.ts(14,41): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/utils/promises.ts(15,10): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/utils/promises.ts(16,14): error TS2339: Property 'map' does not exist on type '{}'.
src/utils/promises.ts(16,19): error TS7006: Parameter 'p' implicitly has an 'any' type.
src/utils/promises.ts(19,12): error TS7006: Parameter 'value' implicitly has an 'any' type.
src/utils/promises.ts(26,12): error TS7006: Parameter 'reason' implicitly has an 'any' type.
src/utils/promises.ts(36,43): error TS2304: Cannot find name 'Array'.
src/utils/promises.ts(38,26): error TS7006: Parameter 'e' implicitly has an 'any' type.
src/utils/promises.ts(41,42): error TS2304: Cannot find name 'Array'.
src/utils/promises.ts(43,26): error TS7006: Parameter 'e' implicitly has an 'any' type.
src/utils/sleep.ts(2,14): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/utils/sleep.ts(2,23): error TS7006: Parameter 'res' implicitly has an 'any' type.
src/utils/sleep.ts(2,31): error TS2304: Cannot find name 'setTimeout'.
src/utils/timestamp.ts(3,38): error TS2304: Cannot find name 'Uint8Array'.
src/utils/timestamp.ts(4,14): error TS2304: Cannot find name 'Date'.
src/utils/timestamp.ts(8,11): error TS2339: Property 'push' does not exist on type '{}'.
src/utils/timestamp.ts(11,10): error TS2304: Cannot find name 'Uint8Array'.
src/utils/transformers.ts(1,47): error TS2307: Cannot find module 'class-transformer' or its corresponding type declarations.
src/utils/transformers.ts(2,26): error TS2307: Cannot find module 'luxon' or its corresponding type declarations.
src/utils/transformers.ts(17,23): error TS7031: Binding element 'value' implicitly has an 'any' type.
src/utils/transformers.ts(17,30): error TS7031: Binding element 'type' implicitly has an 'any' type.
src/utils/transformers.ts(20,16): error TS2304: Cannot find name 'Object'.
src/utils/transformers.ts(21,12): error TS7006: Parameter 'accumulator' implicitly has an 'any' type.
src/utils/transformers.ts(21,25): error TS2488: Type '[any, any]' must have a 'Symbol.iterator' method that returns an iterator.
src/utils/transformers.ts(21,26): error TS7031: Binding element 'key' implicitly has an 'any' type.
src/utils/transformers.ts(21,31): error TS7031: Binding element 'attribute' implicitly has an 'any' type.
src/utils/transformers.ts(29,16): error TS2304: Cannot find name 'Object'.
src/utils/transformers.ts(30,12): error TS7006: Parameter 'accumulator' implicitly has an 'any' type.
src/utils/transformers.ts(30,25): error TS2488: Type '[any, any]' must have a 'Symbol.iterator' method that returns an iterator.
src/utils/transformers.ts(30,26): error TS7031: Binding element 'key' implicitly has an 'any' type.
src/utils/transformers.ts(30,31): error TS7031: Binding element 'attribute' implicitly has an 'any' type.
src/utils/transformers.ts(47,44): error TS2304: Cannot find name 'Date'.
src/utils/transformers.ts(48,26): error TS2304: Cannot find name 'Date'.
src/utils/transformers.ts(49,29): error TS2304: Cannot find name 'Date'.
src/utils/transformers.ts(49,38): error TS2304: Cannot find name 'isNaN'.
src/utils/transformers.ts(54,16): error TS2304: Cannot find name 'Date'.
src/utils/transformers.ts(56,14): error TS2304: Cannot find name 'Date'.
src/utils/type.ts(1,46): error TS2304: Cannot find name 'Pick'.
src/utils/type.ts(1,51): error TS2304: Cannot find name 'Partial'.
src/utils/type.ts(1,68): error TS2304: Cannot find name 'Omit'.
src/utils/uuid.ts(1,20): error TS7016: Could not find a declaration file for module 'uuid'. '/home/user/Documents/Learnings/aries-learning/aries-javascript-trial/aries-framework-javascript/node_modules/uuid/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/uuid if it exists or add a new declaration (.d.ts) file containing declare module 'uuid';
src/wallet/IndyWallet.ts(5,38): error TS2307: Cannot find module 'indy-sdk' or its corresponding type declarations.
src/wallet/IndyWallet.ts(7,35): error TS2307: Cannot find module 'tsyringe' or its corresponding type declarations.
src/wallet/IndyWallet.ts(65,16): error TS2697: An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.
src/wallet/IndyWallet.ts(94,52): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(124,50): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(173,26): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(212,25): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(245,83): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(278,16): error TS2697: An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your --lib option.
src/wallet/IndyWallet.ts(286,50): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(297,14): error TS2304: Cannot find name 'Record'.
src/wallet/IndyWallet.ts(300,6): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(310,53): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(324,52): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/IndyWallet.ts(332,79): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(8,43): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(9,12): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(10,13): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(12,40): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(13,37): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(14,17): error TS2304: Cannot find name 'Record'.
src/wallet/Wallet.ts(14,91): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(15,40): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(16,39): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(17,66): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/Wallet.ts(18,20): error TS2583: Cannot find name 'Promise'. Do you need to change your target library? Try changing the lib compiler option to 'es2015' or later.
src/wallet/error/WalletDuplicateError.ts(4,92): error TS2304: Cannot find name 'Error'.
src/wallet/error/WalletError.ts(4,60): error TS2304: Cannot find name 'Error'.
src/wallet/error/WalletInvalidKeyError.ts(4,92): error TS2304: Cannot find name 'Error'.
src/wallet/error/WalletNotFoundError.ts(4,92): error TS2304: Cannot find name 'Error'.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run build stderr:
error Command failed with exit code 1.
error Command failed with exit code 1.
lerna ERR! yarn run build exited 1 in '@aries-framework/core'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Ah wow that is a long log. Did you by any chance edit the tsconfig? Did you also install all the node modules?
It might help if you could link a minimal repository with instructions to reproduce this error.
It could also be a mismatch in typescript versions (i.e. you are using older/newer global version instead of the local version).

Hi @blu3beri , I have added the commits in my repo here :- https://github.com/HarshMultani/aries-framework-javascript,
you can take a look,
I had done an npm install,
but I also had to add a type check in the catch block.
After then only, all the issues were resolved and I was able to do a yarn build

@HarshMultani It seems like you've added a lot of dependencies to the root package.json. This is not needed, the suppackages handle this. Could it be that you used npm install instead of yarn install? This project uses yarn to manage dependencies and due to workspaces being used it is not possible to use npm to install dependencies.
This should also prevent the error that requires if (error instanceof Error) as it will use the correct typescript version.

Hi @TimoGlastra, Yes that was the reason.
I did a Yarn install, and everything worked.
Thanks for the quick response.


Crash when adding newline at end of file

We started seeing this when incremental changes was taken into use in OmniSharp VSCode

Fixed in #117


Collect recent errors and make them available

Currently when the dev tools pops up it only shows the top of the stack for the errors that were logged.
This can make it hard to tell which package caused it and you have to do the whole open the dev tools first, reproduce the error, get the stack dance.
So start collecting the last 10 or so and make the log-able from dev tools using something like printRecentErrors().
This method could even check the stack and tell you which package it came from by looking for ~/.atom/packages in the stack.

This issue was moved to atom/atom#18144


Cleanup temporary files generated by tests

Some tests generate temporary files but they are not cleaned.
One example is bin/oli/tests/cp.rs.
async fn test_basic_cp() -> Result<()> {
    let dir = env::temp_dir();
    fs::create_dir_all(dir.clone())?;
    let src_path = Path::new(&dir).join("src.txt");
    let dst_path = Path::new(&dir).join("dst.txt");
    let expect = "hello";
    fs::write(&src_path, expect)?;

    let mut cmd = Command::cargo_bin("oli")?;

    cmd.arg("cp")
        .arg(src_path.as_os_str())
        .arg(dst_path.as_os_str());
    cmd.assert().success();

    let actual = fs::read_to_string(&dst_path)?;
    assert_eq!(expect, actual);
    Ok(())
}

If we run this test on Linux, src.txt and dst.txt are crated in /tmp  but they are not automatically deleted.

Thanks!


Show finder and beneficiary's identity where existed

Finally we may store the identity info to our DB, but currently read on-chain is OK. Please refer here for how to read the on-chain identity.

#91


docker-compose  up failed

can not create juno's tables

Thanks for your feedback, I'll look into this ASAP.

@CNDrwei fixed in #64 :-)


Does not work on platforms aside from x86_64-linux

This line seems to prevent this from working on other systems.
Any reason why it is this way?  I tried cloning the repo, uncommenting the line, and building the example on x86_86-darwin.  Seemed to work just fine.

It's possibly due to docker images not being able to be built on darwin (at least not without extra work setting up a remote builder). However manifest generation should work just fine (as long as you don't use the docker module).

Agreed.  Also what about ARM systems?

any architecture supported by nix should be ok since manifests can be created with nix eval (nix build is only needed if you want to convert generate json to yaml).

Thanks for the report, @khaled (and for the added details @adrian-gierakowski).
I'm not entirely certain as the commit which introduced that change has no details.
However, the parent commit introduced new checks and failed its CI execution which was then fixed by the commit in question. So, if I had to guess, the x86_64-linux restriction was likely introduced because the GH runners were unable to build those checks for the other platforms.

Good find. First I'm hearing of IFD but that certainly appears to be the case as ./tests/k8s/imports.nix (evaluated during checks) sets kubernetes.imports which calls importYAML, a wrapper around importJSON, which calls readFile and therefore qualifies as IFD per that wiki page.
Not yet sure what a decent resolution is here.
No idea on the darwin failure though; no surprise that it evaluates fine on linux:
nix-repl> builtins.match "(  |)+" ""
[ "" ]

Presumably it's using a different regex engine but will have to do some work before I can get to a place to test.

./tests/k8s/imports.nix (evaluated during checks) sets kubernetes.imports which calls importYAML, a wrapper around importJSON, which calls readFile and therefore qualifies as IFD per that wiki page.

Just to clarify, the IFD is due to the call to readFile on the output of pkgs.runCommand  withi importYaml. runCommand produces a derivation, and so readFile ends up loading the content of the output of building that derivation from the /nix/store.
importJSON itself doesn't cause IFD (as long as it's called with a path to a file which exists at evaluation time, and not a derivation, which needs to be built first by nix).
The way to get rid of IFD here would be to implement a yaml parser in pure nix (or have it implemented as nix builtin). Alternatively you could convert you yaml manifests to json and use importJSON instead of importYaml.

Ah! Thanks, that makes sense.
A quick search doesn't reveal much in the way of complete parsers in pure nix (and I'm not particularly itching to try and write one). I don't use either of the import functions myself but I can see importYaml being useful (instead of requiring users to convert to json beforehand, e.g.).
There is a recent MR inflight to implement fromYAML. So maybe a proper solution isn't far off.
I'm tempted to just disable the yaml test for the time-being so users on other platforms can at least still use the project.

I'm tempted to just disable the yaml test for the time-being so users on other platforms can at least still use the project.

👍

Cool -- thanks for the sanity check. I've disabled the import test (didn't help to only disable yaml without json) in https://github.com/hall/kubenix/commit/7201c3229f0d9f21e3d7e018dd5f4f9d245bed58 and switched to eachDefaultSystem in https://github.com/hall/kubenix/commit/7af982c404f26bc299e27872308aea411f0f1502.
@khaled, closing as this should be complete but let us know if it doesn't work as expected.

Thanks @hall and @adrian-gierakowski!  nix flake check now succeeds on x86_64-linux.  The regex failure is still a problem on darwin, but I guess that's a separate bug :)

Yeah, feel free to open another issue for that. Best I can do is help you debug on darwin. The idea is that regex is removing "empty" lines (where that includes whitespace characters). It appears to be a known issue that there are inconsistencies between platforms.
You might try the following diff :shrug: (this line also appears in the istio generator in the same parent directory)
❯ git diff jobs/generators/k8s/
diff --git a/jobs/generators/k8s/default.nix b/jobs/generators/k8s/default.nix
index 43ec4b9..e712742 100644
--- a/jobs/generators/k8s/default.nix
+++ b/jobs/generators/k8s/default.nix
@@ -21,7 +21,7 @@ with lib; let
       then "null"
       else builtins.toString value;

-    removeEmptyLines = str: concatStringsSep "\n" (filter (l: (builtins.match "(  |)+" l) == null) (splitString "\n" str));
+    removeEmptyLines = str: concatStringsSep "\n" (filter (l: (builtins.match "[[:space:]]*" l) != []) (splitString "\n" str));

     mkOption = {
       description ? null,

You can either test in nix repl (e.g., builtins.match "[[:space:]]*"  "") or execute nix run '.#generate' and if there's no diff under ./modules/generated, then it works as expected.

I am trying to implement a change to the Helm module we discussed (implement filtering/modifying the objects).
I am trying to get the currently commented out test working on my machine, a aarch64-darwin but with x86_64-darwin support through Rosetta and also x86_64-linux and aarch64-linux remote builders configured.
If I understand correctly the commented out tests prevent running the checks even on aarch64-linux, right? That doesn't seem right, I agree.
What I am unsure about though is what the expectation is about Darwin:

Do you expect that Darwin users without a Linux remote builder configured are able to execute all tests?

I think that shouldn't be the case as then integration tests, like are already present, are out of the picture right?

nix flake check executes checks for the current arch, right? So would it make sense that on Darwin nix flake check only does the manifest tests but on Linux additional integration tests are executed?

But: How could developers on Darwin with remote builders configured run the Linux tests then? Does nix flake check allow to specify the system? I tried nix flake check .#checks.x86_64-linux and some variations of that but that doesn't seem to work.

If I understand correctly the commented out tests prevent running the checks even on aarch64-linux, right?

Since the commented out tests use IFD, it forces evaluation on every platform the flake supports (i.e., the ones defined by eachDefaultSystem). That means whenever running nix flake check, access must be available to a set of machines which cover every system. So anyone without access to at least one builder in eachDefaultSystem will fail the checks.
Ideally, we'd remove the use of IFD and nix flake check would execute only for the local platform.
You're saying that existing integration tests don't support darwin? It's unclear to me in general how well nix is supported on darwin. Which tests? Can you provide an example or links to docs?
I haven't tried running the checks for a specific platform; maybe nix flake check --system x86_64-linux?

Since the commented out tests use IFD, it forces evaluation on every platform the flake supports

Hmm, are  you sure that this is really true? Wouldn't it also mean that it would try to evaluate x86_64-darwin on x86_64-linux? Even on the revision of flake-utils currently used by this project the default systems contained the darwin systems (see flake-utils)

Ideally, we'd remove the use of IFD and nix flake check would execute only for the local platform.

I think that sounds like a good idea as it seems that IFD is sort of a discouraged. Maybe this might also reduce resource usage of kubenix? I previously tried running nix flake check on a small Linux VM and nix flake check got killled as it quickly used >2GB RAM.

You're saying that existing integration tests don't support darwin?

I don't know to be honest. But I assume so? Because the integration tests actually test against a real Kubernetes cluster running in a VM I assume? Using NixOS VM testing capability? Or is that assumption wrong?
NixOS VM tests currently don't work properly on macOS as they are optimized for speed: they share the /nix store with the host which is hard or impossible to implement on macOS AFAIK.
I haven't looked through all tests but those that are currently commented out due to IFD are definitely integration test, right? Are there any other integration tests that aren't commented out?
As of right now nix flake check succeeds on my Darwin machine, with Linux builders configured.

It's unclear to me in general how well nix is supported on darwin.

I would say Darwin support is very good already and only getting better (partly due to e.g. https://opencollective.com/nix-macos)
We use it as an alternative to brew. Except for e.g. heavy GUI tools like Slack, Docker Desktop, ... all the CLI tools come from Nix. Most of nixpkgs is also available on Darwin and most of it is also built and cached by Hydra.
If I stumble into a random nix-shell out there most of the time it also works on Darwin, which is great!
For working with NixOS servers though you most of the time need to have a Linux remote builder configured. In my case this was a container running in Docker for Desktops VM but I am in the process of migrating that into the "official" darwin.builder that nixpkgs recently added.

nix flake check is only supposed to be executed by people working on the kubenix project itself, right? Not downstream users of the library? In this case I think it would be okay to assume someone to need a Linux builder configured for that on Darwin. This way developers on all platforms would only need to execute nix flake build to execute the whole test suit.

Since the commented out tests use IFD, it forces evaluation on every platform the flake supports

Hmm, are you sure that this is really true? Wouldn't it also mean that it would try to evaluate x86_64-darwin on x86_64-linux?

see: https://github.com/NixOS/nix/issues/4265
although there seems to be a fix in the works: https://github.com/NixOS/nix/pull/7759

Ideally, we'd remove the use of IFD and nix flake check would execute only for the local platform.

Helm module does IFD, there is no other way to do what it does and we definitely want tests to cover it.
The other place I'm aware of IFD being used is converting json to yaml (as mentioned above). This is not an essential feature imho.
Anyway, with the fix mentioned above we can stop worrying about IFD

nix flake check got killled as it quickly used >2GB RAM.

I don't think that is related to IFD, but rather the fact that it spins up nixos tests which run in a VM

You're saying that existing integration tests don't support darwin?

I don't know to be honest. But I assume so? Because the integration tests actually test against a real Kubernetes cluster running in a VM I assume? Using NixOS VM testing capability? Or is that assumption wrong?

That is correct.

NixOS VM tests currently don't work properly on macOS as they are optimized for speed: they share the /nix store with the host which is hard or impossible to implement on macOS AFAIK.

I believe this has been solved recently.

nix flake check is only supposed to be executed by people working on the kubenix project itself, right? Not downstream users of the library?

yes

Helm module does IFD, there is no other way to do what it does and we definitely want tests to cover it.

Makes sense!

I don't think that is related to IFD, but rather the fact that it spins up nixos tests which run in a VM

True, that is more likely to be the reason. I just remember playing around with IFD myself sometime ago and running into very slow evaluation times as well but I may have jumped to conclusions here 😄

I believe this has been solved recently.

Ah yeah, that's right. Hmm, I think I remember though that building the SquashFS for the root partition can be quite slow. If a Linux builder is available, the edit-test-cycle is probably quicker using that, compared to always having to build a whole new image.
I will try to get the Helm integration test working on Darwin when I have time 😃

I'm tempted to just disable the yaml test for the time-being so users on other platforms can at least still use the project.

Cool -- thanks for the sanity check. I've disabled the import test (didn't help to only disable yaml without json) in https://github.com/hall/kubenix/commit/7201c3229f0d9f21e3d7e018dd5f4f9d245bed58 and switched to eachDefaultSystem in https://github.com/hall/kubenix/commit/7af982c404f26bc299e27872308aea411f0f1502.

But a prerequisite for re-enabling that test would be to find a different workaround than disabling the test, right? I'll play around with that as well.


Modifying the segmentation network

💡 Your Question
Hi, I am looking to customize the output of PP_Lite_Seg, so that it spits out some geometric information in addition to the segmentation mask. Is there any sample code that shows do this? If not, could you point me to the file where the network is constructed so that I can change it? Thank you!
Versions
No response

I'm not sure I'm following your question regarding geometric information..
But the PPLiteSeg is here.


I don't understand this error.


State object returns from PlayCookieStore as String

I'm working on a PR to fix this issue and any others that crop up in the debugging process. Currently it looks like I'll need to check during get() calls if key.contentEquals("oidcStateAttribute") and if it does, cast the object to a String, then wrap it in a State constructor before returning it.

This is very strange: objects should be restored with their original type.
I'm wondering if we should not implement a different algorithm and only use the JwtGenerator for the user profiles.
Something like:

if the value is a String, save it as "#str" + value
if the key is the user profiles, generate a JWT and save it as "#jwt" + jwt
otherwise, serialize the value and save it as "#ser" + serialized value

Okay, so I'm working on implementing the solution you've suggested. I have some questions:
is every (non-profile) Object that we'll be working with Serializable?
in cases where we get a map of user profiles (for multi-profile sessions) should I make a JWT of the whole map, or does it make more sense to make a JWT of each profile, then serialize the whole map?
Other than those things, I think I fully understand how to implement that design.

I guess so. Every object put in the session should be serializable.
Good point: we have a map of profiles and not only one user profile, so we need to make a JWT out of the whole map (it should be easier that way).

@entropicdrifter I'd like to release play-pac4j v2.6.2 before starting version 3 (based on pac4j 2). Do you think you can finish that this week or should I revert your changes and wait for a brand new PR?

You should revert it. I think I might have a way to finish it, but if I'm right it would mean you can't use the PlayCookieStore and the SecurityFilter at the same time.

If you'd like me to make a PR with the solution I have right now, I can. I could spend the rest of the week making it prettier for release and adding documentation talking about its limitations.

That's strange: why the PlayCookieStore would not work with the SecurityFilter?
Let's try to finish that this week and at worst, I'll remove it next week before the release if things are not quite satisfactory.

Where are we on this? Still planning to work on this?

Yes, sorry, my main project has had me pretty busy the last few months. I do still plan to figure this out.

No problem. I do some cleaning sometimes, let's keep it open then ;-)

What's the status on this issue?

what's the status on this?

if the issue is still present I assume this is the issue with JWTGenerator deserialization.
maybe we can live as is if that works with most common auth methods.
I'll try to test it with Forms & SAMLv2.


[Dev support]: validating each chat

I want to validate whether a user has a 3rd party license during each chat turn with the bot.
this validation should occur even before the authentication check.
I understand that app.OnActivity() can be used for this purpose, but I’m working on a project similar to the 04.ai.a.teamsChefBot example where OnActivity() is not explicitly defined.
Is there a way to check on every turn, ensuring that only licensed users can proceed with the conversation?

I think what you want is to use app.turn('beforeTurn', ...) https://github.com/microsoft/teams-ai/blob/main/js/packages/teams-ai/src/Application.ts#L980

@aacebo  Is it ths event in dotnet sdk ?
 app.OnBeforeTurn((context, turnState, _) =>
 {

     return Task.FromResult(true);
 });