Custom onboarding pages

I'm implementing custom onboarding pages.
Im thinking that pages should be created using markdown. This allows for non-technical persons to still use this feature.

I see this is still a work in progress but thank you @albinmedoc for tackling this! Great to see someone actively wanting to contribute.

I have come quite far with this task now. But I have a couple of questions.
How do I create a database migration? A new table needs to be created. The migration files do not appear to be written manually.
I also have a problem with the carousel on the help page. Longer texts are broken...
There seems to be something strange with the computed value "carouselHeight" in the carousel component which.

You can find the migration files here:
https://github.com/wizarrrr/wizarr/tree/master/apps/wizarr-backend/wizarr_backend/app/migrator
I’m not too sure what carousel you’re referring to as I haven’t got the repository on my computer at present due to a system format.

@JamsRepos
This is now ready for review.
I will later create a new PR and add functionality to upload images to the onboarding pages.

I added the upload image feature in this PR. It's related to this functionality.

There is currently two errors upon trying to run this from scratch. It seems you've not installed the editor you've used and you've also got a backend error with the onboarding API.
Error: While importing 'app', an ImportError was raised:
Traceback (most recent call last):
  File "C:\Users\James\AppData\Local\pypoetry\Cache\virtualenvs\wizarr-backend-GqWDfgbm-py3.12\Lib\site-packages\flask\cli.py", line 219, in locate_app
    __import__(module_name)
  File "C:\Users\James\Documents\GitHub\wizarr\apps\wizarr-backend\wizarr_backend\app\__init__.py", line 4, in <module>
    from api import *
  File "C:\Users\James\Documents\GitHub\wizarr\apps\wizarr-backend\wizarr_backend\api\__init__.py", line 1, in <module>
    from api.routes import *
  File "C:\Users\James\Documents\GitHub\wizarr\apps\wizarr-backend\wizarr_backend\api\routes\__init__.py", line 31, in <module>
    from .onboarding_api import api as onboarding_api
  File "C:\Users\James\Documents\GitHub\wizarr\apps\wizarr-backend\wizarr_backend\api\routes\onboarding_api.py", line 9, in <module>
    from app.models.database.onboarding import Onboarding as OnboardingDB
ModuleNotFoundError: No module named 'app.models.database.onboarding'
Warning: run-commands command "poetry run flask run --debug" exited with non-zero status code
Failed to resolve import "md-editor-v3" from "apps\wizarr-frontend\src\md-editor.ts". Does the file exist?
18:27:59 [vite] Internal server error: Failed to resolve import "md-editor-v3" from "apps\wizarr-frontend\src\md-editor.ts". Does the file exist?
  Plugin: vite:import-analysis
  File: C:/Users/James/Documents/GitHub/wizarr/apps/wizarr-frontend/src/md-editor.ts:1:23
  1  |  import { config } from "md-editor-v3";
     |                          ^
  2  |  import "md-editor-v3/lib/style.css";
  3  |  import gettext from "@/i18n";
      at formatError (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:44062:46)
      at TransformContext.error (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:44058:19)
      at normalizeUrl (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:41844:33)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:41998:47
      at async Promise.all (index 0)
      at async TransformContext.transform (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:41914:13)
      at async Object.transform (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:44352:30)
      at async loadAndTransform (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:55026:29)
      at async viteTransformMiddleware (file:///C:/Users/James/Documents/GitHub/wizarr/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:64430:32)

Once both of these are fixed ping me and i'll review it further. 😀

@JamsRepos
I found the problems. They should now be resolved.

It might even be worth adding a "Finish" button at the end screen of the onboarding as I know a few people have got confused in the past where it just gives the impression its stuck on a page.

It might even be worth adding a "Finish" button at the end screen of the onboarding as I know a few people have got confused in the past where it just gives the impression its stuck on a page.

I like that idea. But what should happen when you press that button? Redirect to the root path (insert invitation code page)?

That could work yeah or maybe we even hard code a finish page, that could also be something worthwhile.
What approach do you suggest?

I want this PR as small as possible. So I can add a redirect to the root path.
Later on we can create a new PR if we see the need of a separate finish page.
I have pushed new code for a finsh-button

Approved and merged! Thanks for your contribution! 🥳


Update readme to reflect move from incubator to stable for cockroachdb

CockroachDB is now in stable. Updated the install section, and one more place referring to the incubator.
/cc @a-robinson Does this look ok?

/assign @mattfarina

The build failed because I didn't bump the chart version. I've only updated README.md should I still update the chart version? If I do, I'll wait for #3769 to be merged first.

Thanks @hvaara! This LGTM. Feel free to use the same version number as #3769, I can update that one if this gets in first.
/ok-to-test
/lgtm
/approve

@a-robinson Thanks a lot for taking a look! I've updated the chart version.

/lgtm


Display Accounting values in cells

In the docs it mentions numbers will be formatted if accounting=True.
So I would expect negative numbers would be represented in accounting terms e.g. a cell with value of 2 would be represented as (2)
I don't see a clean example on how to use this API?

Thanks for reporting this. I had a look at the documentation and this appears to be a mistake. There is the repeated line:
"This option is disregarded when using notation with 'accounting = True'"
We don't yet have accounting notation implemented in the relevant numeric formatting methods.
I think the best course of action right now is to remove all mention of this in the docs and create an issue that tracks the implementation of accounting notation.


make sure there is a trailing slash on the discourse url

When I initially setup my discourse site in the _config.yml file, I didn't include a trailing slash / on the end of the url. I had 'http://discuss.blakeerickson.com` and I needed to have 'http://discuss.blakeerickson.com/'.
WIthout the slash the comments won't work.

File.join might come in handy here, no?

I think it might!


foundation - shadow overview

[ ] create description for shadow overview
[ ] create box shadow example like card
[ ] create text shadow example like stage

move to https://github.com/baloise/design-system/issues/792


WakaTime for Xcode Download Link not working

Hi,
The link to install the plugin in Xcode is not working: https://wakatime.com/xcode
https://github.com/wakatime/macos-wakatime/releases/latest/download/WakaTime.zip
Thanks.

Fixed in #144.


[BUG] ReflectionException (-1) Class App\City does not exist

Version information

Laravel: v5.1
Voyager: v1.2.1
PHP: 7.0.9
Database: [MySQL] [5.0.12]

Description

ReflectionException (-1)
Class App\City does not exist
Steps To Reproduce
Steps to reproduce the behavior:

Go to 'MySQL database', and create table 'cities' using table structure in below-given screenshot 01
Visit Voyager admin and Click on 'Database'
Look for  to 'cities' and click on 'Add bread to this table'
See error

Expected behavior
Bread should be created after submitting bread details. How to rectify the error using voyager control panel?
Screenshots
If applicable, add screenshots to help explain your problem.

MySQL database "cities" table structure

Table structure screenshot at voyager panel

Create bread option

Error after clicking on Submit at "Add BREAD to this table"

Additional context
Add any other context about the problem here.

I don't really understand what you think the bug is.
The BREAD says your model is App\City which does not exist.

Not a bug. You just need to create the model (or select the option to have Voyager do it for you when creating the BREAD)

Not a bug. You just need to create the model (or select the option to have Voyager do it for you when creating the BREAD)

It resolved my issue, but now it's throwing an error "Illuminate \ Database \ QueryException (42S22)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'created_at' in 'order clause' (SQL: select * from countries order by created_at desc)" as my table does not have "created_at" column.  Any solution?

https://laravel.com/docs/eloquent#eloquent-model-conventions
Also, your php/laravel/mysql versions are very old. You shouldn't be able to install Voyager at all.


Make available on Maven Central

Similar to https://github.com/couchbase/couchbase-lite-android/issues/378
Please push officially supported builds to Maven Central for distribution.
Requirements are as follows:
https://docs.sonatype.org/display/Repository/Central+Sync+Requirements
More information about making your project available on Central is available here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html

I have a Maven project where I will use couchbase-lite-java.
It will be used as a library on multiple systems and I am questioning myself how should I distribute it because for making it work on my system (OS X) I had to recompile the couchbase-lite-java so the native libraries were built for my system. So I wasn't able to use the dependency directly from the Maven Repository and I don't know if building jars on all platforms is the best idea to distribute my project. Just consider that some guy that will use my library wants to do a cross platform app and he uses one of my built jars, it will only work on the platform he got the jar for.
Do you think that there will be a solution for this in the future and users will be able to get the library with the right native artifacts that couchbase-lite-java use?
I am really newbie regarding this topic so I might say stupid things but maybe you can point me to some readings regarding how should I tackle this problem.

Building cross platform jar file that contains native library is challenging. I am considering to build native libraries separately for all major platforms. When build jar file, make jar file contains all platform dependent native libraries in one jar file. Currently our build system does not solve this problem.

v1.2.0 is on Maven Central.  I will close this ticket.
NOTE: Deployment on Maven Central is not automated. It is still  manual process.


ng test succeeds despite component compilation failures

🐞 bug report
Affected Package
Not sure - probably something to do with testing or the CLI.
Is this a regression?
Not as far as I know.
Description
Currently, when running tests using ng test, the compile-time error-checking applied to components appears to be significantly laxer than what happens in other CLI workflows such as ng serve and ng build.
I was able to find several ways to write an Angular template incorrectly, which result in (expected) compile errors when you run ng serve or ng build, but when you run ng test, tests which compile these components and make assertions about the resulting DOM succeed without any problems at all.
I found it very surprising that tests of this type would succeed when the components completely fail to compile in other contexts. At first I thought I must be doing something very obvious wrong, but I was able to reproduce the problem with a very simple component using the out-of-the-box configuration generated by ng new --strict at the latest version.
I searched online, and I was surprised to be unable to find any references to this problem. I did find a couple of similar-looking issues where errors in a template did not result in the test failures one would expect, but these are for non-existent HTML elements:
https://github.com/angular/angular/issues/36171
https://github.com/angular/angular/issues/36430
So either this is a different but similar-looking problem, or these previously-reported problems are broader than these existing issues suggest. I tried setting enableIvy = false in my repro (see below), and it made no difference, so this problem does not appear to be Ivy-specific; since the issues above do appear to be Ivy-specific, I suspect this is a different problem.
Either way, such significant discrepancies between test and non-test behaviours raise concerns about the usefulness of Angular tests for ensuring the code quality of components.
🔬 Minimal Reproduction
I created the following GitHub repository to reproduce this issue:
https://github.com/amdw/templates-test-repro
There are two branches, master and nonstrict. In both cases, ng serve fails with a compile error, but ng test succeeds, despite the fact that the tests compile the broken MyComponent and make assertions about the contents of its DOM.
I would expect both commands to fail with a compile error - or at the very least, this behavioural discrepancy should be prominently mentioned in testing-related documentation such as this, with a description of how tests can be configured to have the same compilation behaviour as these other workflows.
The master branch just uses the default compiler settings generated by ng new --strict. MyComponent has an incorrect HTML template: myinput can be undefined according to the component type signature, but one of its fields is being unconditionally dereferenced. Running ng serve or ng build results in a compile error, as expected:
ERROR in src/app/mycomponent/mycomponent.component.html:7:27 - error TS2532: Object is possibly 'undefined'.

However ng test results in 100% success, with no mention in the logs that there is any problem at all.
Initially I thought this might be a problem with the new-ish strictTemplates settings, since that is the context in which I discovered the problem (I was trying to convert an existing application to use strictTemplates; I got to a stage where my tests were 100% green, and thought I must be nearly done, but when I ran ng serve I got a flood of errors caused by type-checking failures in my HTML templates).
However, I did a little more experimentation and found that is not the case. The nonstrict branch switches strictTemplates and strictInjectionParameters to false, and introduces another template error, referencing a component attribute which does not even exist. Once again, ng build and ng serve result in the expected failures:
src/app/mycomponent/mycomponent.component.html:6:39 - error TS2339: Property 'nonexistent' does not exist on type 'MycomponentComponent'.

However, once again, ng test results in 100% success.
🔥 Exception or Error
N/A - the problem is that tests pass when I believe they shouldn't.
🌍  Your Environment
Angular Version:
Angular CLI: 10.0.1
Node: 12.16.3
OS: linux x64

Angular: 10.0.2
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1000.1
@angular-devkit/build-angular     0.1000.1
@angular-devkit/build-optimizer   0.1000.1
@angular-devkit/build-webpack     0.1000.1
@angular-devkit/core              10.0.1
@angular-devkit/schematics        10.0.1
@angular/cli                      10.0.1
@ngtools/webpack                  10.0.1
@schematics/angular               10.0.1
@schematics/update                0.1000.1
rxjs                              6.5.5
typescript                        3.9.6
webpack                           4.43.0

Anything else relevant?
I'm not aware of anything. I've only tried this on Fedora Workstation 32, but I find it hard to believe this would be OS or browser specific.

Hi @amdw,
This is currently is the expected behaviour. Both ng serve and ng build are built in AOT mode, while ng test uses the JIT compiler. Under the hood, when using JIT, we use the TypeScript compiler to compile the application instead of the Angular compiler. This however, has the drawback of not providing Angular related diagnostics.
There is an experimental PR to enable AOT compilations for tests. https://github.com/angular/angular-cli/pull/16369

@alan-agius4 - many thanks for your prompt explanation! I look forward to this being addressed.
If you prefer to track this some other way, please feel free to close this issue.

I have the same issue.
This would be a really useful feature. This issue was hard to find in Google for me (and probably for others too). Additionally, it is hard because most of the related PRs are closed without clear information by the bot. Furthermore, the issue is so subtle that it is not found easily especially in smaller projects.
What I am currently thinking about to work this around is run ng build as part of the test script, but this feels like an overkill.

Hi @amdw,
This is currently is the expected behaviour. Both ng serve and ng build are built in AOT mode, while ng test uses the JIT compiler. Under the hood, when using JIT, we use the TypeScript compiler to compile the application instead of the Angular compiler. This however, has the drawback of not providing Angular related diagnostics.
There is an experimental PR to enable AOT compilations for tests. #16369

Thanks for the explanation! Do you know how the current state is on the PoC (Final decision on the outcome)?

Closing as this is working as expected since tests are build in JIT mode.
Running tests in AOT outside of G3 is currently not planned.


Update to 2.25.1

Hello,
you did a great job with those images, thank you really much!
Could it be possible to update mantisbt from 2.24.4 to 2.25.1.
a lot of debug and security issue fix has been done in 2.25.0+ and it would be great to have those.
Thank you

Yup, sorry, was away for some time, will update now. Thanks for the report!


changing header for continuity

Pull Request Testing

[x] Describe testing already performed for these changes:. This issue had to be re-opened due to confusion about the best way to label index.rst files.  They are treated differently depending on where they are located.  Below are notes from @jprestop.

https://github.com/dtcenter/METviewer/pull/502#event-10836296932
@lisagoodrich Thanks for all of your work on this task. I added a few suggestions that you can just accept the changes for, however, for the top level docs/index.rst, could you please change those headers back to what they were? Let me know if you want to talk about this again, but we had discussed how the top level index wasn't really a "part" whereas the User's Guide's and Contributor's Guide's index.rst files were "parts". So, we decided just to leave the top level index.rst files alone. You can verify this by looking at the already merged METplotpy file (https://raw.githubusercontent.com/dtcenter/METplotpy/develop/docs/index.rst) and the already merged METplus file (https://raw.githubusercontent.com/dtcenter/METplus/develop/docs/index.rst). METcalcpy was also completed but it looks like it is not the same as the others and needs to be fixed as well (https://raw.githubusercontent.com/dtcenter/METcalcpy/develop/docs/index.rst) - apologies for missing that in PR review of METcalcpy.

[x] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions: Confirm the header change is correct, using = instead of #.
Please squash and merge and close the branch.  I don't have permission to do this.

[x] Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [No errors]

[ x Do these changes include sufficient testing updates? [Yes]

[x] Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:

[x] Please complete this pull request review by [11/13/23].

Pull Request Checklist
See the METplus Workflow for details.

[ ] Add any new Python packages to the METplus Components Python Requirements table.
[ ] Review the source issue metadata (required labels, projects, and milestone).
[ ] Complete the PR definition above.
[ ] Ensure the PR title matches the feature or bugfix branch name.
[ ] Define the PR metadata, as permissions allow.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes
[ ] After submitting the PR, select the :gear: icon in the Development section of the right hand sidebar. Search for the issue that this PR will close and select it, if it is not already selected.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

@lisagoodrich I changed the Project from METplus-Wrappers-6.0.0 Development to METplus-Analysis-6.0.0 Development since this PR is for METcalcpy and not for METplus wrappers.  I also changed the Milestone from METcalcpy-2.1.1 Bugfix to METcalcpy-3.0.0 since this isn't a bugfix but rather a change for the upcoming release.

@jprestop who do I ask to Merge this pull request?  I'm unable to merge it.  Thank you for making corrections to the projects and developments.

HI @lisagoodrich.  I'm sorry, I always forget that you do not have squash and merge permissions here.  :( I will take care of it.


Updated actix-web dependency to 4.0.0-beta.18

Feels weird to pin the dep in a library. I feel that it should be delegated to the end consumer.

It's a trade-off - it leads to more churn on the library but the compiler error message is quite clear.
Leaving it unpinned often leads to compilation errors related to the breaking changes and users who don't follow actix-web super closely don't know what to make of it.


Add exclude feature

Add the ability to exclude certain keys from the Benchmarks and ignore them across the process

We also want to add an include feature. The user could define one or both, with the support of regular expressions.


Adding object detection notebook

I get an error when opening these notebooks:
Unreadable Notebook: /home/ec2-user/SageMaker/efs/algos_frameworks_2018-07-11_launch_notebooks/Final/objdet/amazon-sagemaker-examples/object_detection_pascalvoc_coco/object_detection_image_json_format.ipynb NotJSONError('Notebook does not appear to be JSON: \'{\\n "cells": [\\n {\\n "cell_type": "m...',)

A bit difficult to track down where the malformed JSON might be.  Did you make a manual text edit somewhere that might have caused this?

Moved the object detection into the introduction_to_amazon_algorithms directory. Fixed the notebook json error.

Removed the testing bucket name.


Inputstream failing

@Frizlab I have tried this logic and tried
func searaliseBsonStream() {
    let request = self.getRequest()
    Alamofire.request(request as URLRequestConvertible).stream { (response) -> Void in
        print(response)
        let inputStream = InputStream(data: response)
        do {
            inputStream.open()
            while inputStream.hasBytesAvailable {
                let data = try BSONSerialization.bsonObject(with: inputStream)
                print(data)
            }
        }
    }
}

It works for some time and then throwing the following error
noMoreData
16384 bytes
invalidElementType(114)
16384 bytes
invalidElementType(54)
8768 bytes
invalidElementType(116)
3992 bytes
invalidElementType(115)
However if i put a debugger inside the bsonObject function and run the code, its reading more documents and throwing less errors.
I wonder if there is a thread issue or something.. Appreicate your help.. We been stuck on this for a while now and not sure what to do?
Hi Sorry I had to create a new issue as i couldnt find a way to re open the current issue..

I’m lacking a bit of context to help you there.
Would you mind trying to create a reproducible test case showing this error? Or just send me the data that fails.

hi @Frizlab  I created a buffered stream instead of passing the inputstream directly and then breaking the stream document by document..  its working finally now.. thanks again for the help.. i will close this issue now..


NaN values during 3D feature extraction

I was extracting the 3D collage features for my volume and mask file which are in .nii format. I created a collage object with this mask and image, declared a haralick window size of 3 and then called the execute function. But, the variable (collage_output) had NaN values for both dominant angles. I'll share my files with you shortly via email. It would be great if you could look into this.

@pavi1303 How were you running collage? In our docker container or in a python file?

Also, which version of collageradiomics do you have running (if being run outside of docker).

I am running it as a python file. I declared use_3D as True and then created a collage object with my mask, image and used a haralick window size of 3. Then called the collage execute function.  I'm currently using the version 0.3.3. I installed them via the pip module.

@pavi1303 Apologies for the delay, I was put out of commission by the storms in Texas. I will be able to communicate promptly now.
When I try those files I see data in the masked region, e.g. at collage_output[238,117,103], for example. In the non-masked areas I see NaN values. Are you seeing the same on your end?


Make Elastic Search calls asynchronous

Hello,
We recently had some issues with Elastic Search backend for conductor server and that made the ExecutionService fail for some requests, and eventually, some workflows became stuck.
We were thinking of changing any calls to ES to be asynchronous so it will not be a hard dependency for the ExectionService. In addition to that, calls to conductor server will be much faster because we will be writing to the operational data store (mysqly, redis ....).
One way of implementing this is to extend the IndexDaoInterface and wrap all the calls to ES5 (and/or ES6) implementations.
Do you see any bigger problems that can result of that of this? ... If you think it makes sense, I can work on it.

Hi @mohelsaka It is already there but not released. Please check https://github.com/Netflix/conductor/blob/dev/core/src/main/java/com/netflix/conductor/core/config/Configuration.java#L56.

@mohelsaka @manan164 This was released as part of v2.16.0


How to perform signout?

how do I perform signout using this library?

sorry, you mean
import { authContext } from './adalConfig';
handleLogout() {
authContext.logOut();
}
?
or get the AuthenticationContext from 'react-adal' again ?


coprocessor: fix metrics.

Avoid call with_label_values for every row in table/index scan.
with_label_values is CPU bound, so we shouldn't call it too frequently.
Maybe other places in TiKV have same problem too, you can check that by
grep -w inc src/* -Rn|grep with_label_values

@AndreMouche @overvenus PTAL thanks.

CC #2581

@AndreMouche @overvenus PTAL again thanks.

@AndreMouche @siddontang  PTAL thanks.

@AndreMouche @siddontang PTAL, thanks.

@AndreMouche @siddontang PTAL thanks.


boost app startup

What's the Problem?
opening the application sometimes is slow
Solution/Idea
inspired from ms edge.
you can implement a service that initializes the resources needed by the app at system startup, so when user opens the app, it allocates only new resources and the application would be faster.
Alternatives
Anything just as fast as native file explorer🥺
Priorities

Capability
Priority

faster startup
Must

Files Version
<IP_ADDRESS>
Windows Version
Windows 10 19043.1266
Additional comment
No response

We're excited to share that startup performance will be significantly improved in the upcoming release of version 3. You can download the preview version from our website https://files.community/download.


ZohoVault: save cookies to skip the login the next time

When ZV is used more than 20 times a day it uses up all the "full logins" for the day. This could be improved by saving the cookies similar to what the browser does and reusing them the next time around. This should save some of those precious full logins.

Fixed in f970f5ebf7a028ba0eadcc69c005b6c594d1bf48


Allow private objects to be accessed within the object scope

Purpose
Fixes #13186

Codecov Report

Merging #13497 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master   #13497      +/-   ##
============================================
- Coverage     63.97%   63.96%   -0.01%
  Complexity      661      661
============================================
  Files          2149     2149
  Lines         94349    94349
  Branches      12436    12436
============================================
- Hits          60357    60354       -3
- Misses        29112    29114       +2
- Partials       4880     4881       +1

Impacted Files
Coverage Δ
Complexity Δ

...ng/compiler/semantics/analyzer/SymbolResolver.java
84.86% <100%> (ø)
0 <0> (ø)
:arrow_down:

...lerinalang/compiler/semantics/model/SymbolEnv.java
87.15% <100%> (ø)
0 <0> (ø)
:arrow_down:

...a/org/ballerinalang/bre/bvm/GlobalMemoryBlock.java
78.43% <0%> (-1.97%)
0% <0%> (ø)

...org/ballerinalang/bre/bvm/WaitCallbackHandler.java
82.88% <0%> (-1.81%)
0% <0%> (ø)

...llerinalang/stdlib/socket/tcp/SelectorManager.java
70.08% <0%> (-1.71%)
0% <0%> (ø)

...et/http/actions/httpclient/AbstractHTTPAction.java
78.29% <0%> (-0.86%)
0% <0%> (ø)

...e/src/main/java/org/ballerinalang/bre/bvm/BVM.java
80.99% <0%> (+0.03%)
0% <0%> (ø)
:arrow_down:

...a/org/ballerinalang/bre/bvm/WorkerDataChannel.java
83.95% <0%> (+2.46%)
0% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


cookiecutter "external dependencies" message not themed

Text appears black in the dark theme, making it nearly unreadable.

The search text box is not themed either.

Already been resolved


Upload VolAir Coin

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

@volair-ross
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


Add convenience methods for broadcast ops

INDArray z = Nd4j.getExecutioner().execAndReturn( new BroadcastDivOp(x, y, z, <dimensions> ));
could have a convenience method like:
INDArray z = Nd4j.exec().broadcastAdd(x,y,z,<dimensions>)
or perhaps even better:
INDArray z = Broadcast.add(x,y,z,<dimensions>)

https://github.com/deeplearning4j/nd4j/pull/2058


Multiple cvevents force a page break

Multiple cvevents force a page break:
MWE:
\documentclass{article}
\usepackage{bubblecv}

\begin{document}

\begin{cv}[avatar]{James Bond}{Secret Agent}

\cvsection[summary]{Profile}  %-----------------------------------------------------------

Highly skilled secret agent with a license to kill.
Bringing together outstanding combat and intelligence abilities with a charismatic and persuasive personality.
A dedicated and adaptable professional committed to global security.

\cvsection[work]{Work experience}  %------------------------------------------------------

\begin{cvevent}[1962][present]
    \cvname{Secret Agent}
    \cvdescription{MI6 Intelligence Agency, London}
    \begin{itemize}
        \item Covert intelligence operations for national security.
        \item Infiltration from high-risk environments.
        \item Utilization of advanced espionage techniques and gadgets.
        \item Surveillance, analysis, and threat prevention.
    \end{itemize}
\end{cvevent}
\begin{cvevent}[1962][present]
    \cvname{Secret Agent}
    \cvdescription{MI6 Intelligence Agency, London}
    \begin{itemize}
        \item Covert intelligence operations for national security.
        \item Infiltration from high-risk environments.
        \item Utilization of advanced espionage techniques and gadgets.
        \item Surveillance, analysis, and threat prevention.
    \end{itemize}
\end{cvevent}

\cvsection[education]{Education}  %------------------------------------------------------

\begin{cvevent}[1958][1962]
    \cvname{Intelligence Academy}
    \cvdescription{MI6 Training Facility, London}
    \textbf{Courses and Achievements:}
    \begin{itemize}
        \item Mastered advanced techniques for discreetly gathering intelligence and conducting covert operations.
        \item Trained extensively in planning and executing covert operations and infiltrating high-security areas.
        \item Received rigorous combat training in martial arts, firearms handling, and tactical skills.
        \item Proficient in surveillance methods, counter-surveillance techniques, and analyzing gathered intelligence.
    \end{itemize}
\end{cvevent}

\cvsection[target]{Missions}  %----------------------------------------------------------

\begin{cvevent}[2002]
    \cvname{Die Another Day}
    Uncovered a North Korean general's plan to use a satellite weapon to create a war between North and South Korea.
\end{cvevent}

\cvseparator[2]
\begin{cvevent}[1999]
    \cvname{The World Is Not Enough}
    Protected an oil heiress from a terrorist plotting to exploit her family's resources and trigger a global meltdown.
\end{cvevent}

\cvseparator[2]
\begin{cvevent}[1997]
    \cvname{Tomorrow Never Dies}
    Investigated a media mogul's plot to provoke a war between the UK and China for increased ratings and power.
\end{cvevent}

\cvseparator[2]
\begin{cvevent}[1995]
    \cvname{GoldenEye}
    Prevented the use of the GoldenEye satellite weapon system by a rogue agent to cause global financial chaos.
\end{cvevent}

\cvsidebar %-----------------------------------------------------------------------------

\cvsection[contact]{Contact}  %----------------------------------------------------------

\begin{cvitem}[Envelope][4]
    \textbf{Email}\\
    \href{mailto:james.bond<EMAIL_ADDRESS>\end{cvitem}

\cvseparator[3]
\begin{cvitem}[Phone][4]
    \textbf{Phone}\\
    \href{tel:+442071234567}{\texttt{+44<PHONE_NUMBER>}}
\end{cvitem}

\cvseparator[3]
\begin{cvitem}[Home][4]
    \textbf{Address}\\
    MI6 Headquarters\\ London, United Kingdom
\end{cvitem}

\cvseparator[3]
\begin{cvitem}[Globe][4]
    \textbf{Website}\\
    \href{https://www.mi6.gov.uk}{\texttt{www.mi6.gov.uk}}
\end{cvitem}

\cvsection[skills]{Skills}  %-----------------------------------------------------------

\begin{cvitem}
    Espionage Techniques
\end{cvitem}

\cvseparator
\begin{cvitem}
    Surveillance
\end{cvitem}

\cvseparator
\begin{cvitem}
    Combat Training
\end{cvitem}

\cvseparator
\begin{cvitem}
    Infiltration
\end{cvitem}

\cvseparator
\begin{cvitem}
    Problem Solving
\end{cvitem}

\cvseparator
\begin{cvitem}
    Effective Communication
\end{cvitem}

\cvseparator
\begin{cvitem}
    Adaptability
\end{cvitem}

\cvseparator
\begin{cvitem}
    Teamwork
\end{cvitem}

\cvsection[languages]{Languages}  %--------------------------------------------------------

\cvskill{English}{Fluent}{1.0}
\cvskill{French}{Intermediate}{0.6}
\cvskill{Russian}{Basic}{0.3}

\end{cv}

\cvfootnote{
    \tiny I agree to the processing of personal data provided in this document for realizing the recruitment process pursuant to the Personal Data Protection Act of 10 May 2018 (Journal of Laws 2018, item 1000) and in agreement with Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation)
}

\end{document}

Hi thanks for your issue! I found problem in hard spaces. To solve this, replace all occurrences of "space*" to "space" (just without *) in cvbubble.sty file.
Give me info that it helped you.
I will upload a fix soon.

Thanks for the quick fix. Is there a way to increase the margin to the top of the page on the second page.
You can see it at the top of the second page. The second "Secret Agent" cvevent seems to stick at the top of the page which makes it look very condensed.

I think that you can put \vspace*{5mm} above the second "Secret Agent" or change "\cvtopmargin" in style file. In future I will figure out better solution for this.

I think that you can put \vspace*{5mm} above the second "Secret Agent"

Yeah, I went that route

or change "\cvtopmargin" in style file. In future I will figure out better solution for this.

Which will also move the top image further down. This also doesn't look to good. Best solution IMHO would be to set a different page geometry for the first page. Subsequent pages will/should have a wider top margin than the first.
PS: Thanks for your nic CV style.


Update WindowImplX11.cpp

Small mistake (using MouseButtonPressed instead of MouseButtonReleased in case XCB_BUTTON_RELEASE) correction.

http://en.sfml-dev.org/forums/index.php?topic=17223.msg123895

s:undecided

LoL

Tank is working on this, as such I can't confirm if your PR will be used or if it's the correct bugfix, thus "undecided".
Thanks though, for the quick possible fix! :smiley:

Tank is working on this

this = ...? The XCB and/or Linux code?

All the current XCB/Linux related issues/tasks.

This can be merged, thanks for the fix. Would be nice if you leave a hint in the proper forum thread next time, so that we don't fix this twice. ;)

Would be nice if you leave a hint in the proper forum thread next time, so that we don't fix this twice. ;)

What?

Seems like you did. I haven't seen both links and thought there's only one showing the wrong line.

Merged in c303d1f73ba5b99f7a360cc28630eee0936fd049


Setup should migrate an existing boot2docker vm.

Waiting on a change upstream in docker-machine before implementing this.

Thanks Jeff! Interested to see how this goes!

Have there been any news about using the existing boot2docker vm with kitematic in the meantime?

searched for this issue and pulled it up specifically to request the same as @nikom

Toolbox does this now.


Fixing errors caused in staging deployment

Uploading direct-demo-json.mov…

https://user-images.githubusercontent.com/31253215/152022294-d665b885-0a3a-447d-a2f4-1170f6ab59f9.mov


Serene Seasons compatibility for weather

Description:
Winter in serene seasons currently cools down biome temperatures during winter, allowing snow to fall in normally temperate biomes like regular forests and plains, and excludes these temperature changes from already cold or hot biomes like deserts, ice spike plains, etc. What I noticed while I was playing through my first winter in a regular forest biome was that while snow did accumulate on the ground while precipitation was falling, the precipitation itself was still rain.
Would it be possible to make the type of precipitation that falls respond to biome temperature changes as well as the type of biome?

The moved the season support out of Tough as Nails and into a standalone mod.  I need to make changes to DS to account for this split.  DS supports this via TaN prior to the split.

Ok, cool. I haven't used TaN in a long time, so I haven't been keeping track of it's progress.
I hope everything goes smoothly. 😉

Speaking of which @OreCruncher, how far along with it are you? I remember you mentioned something about taxes.

@Sunconure11 Yeah.  Got taxes done then ran into health issues.  I will be working on it tomorrow.

@OreCruncher take care of yoursel ! :)
Thanks for taking care of this issue !

Pushed v<IP_ADDRESS> to CurseForge with compat changes.


Selection Sort Algorithm

Description
Algorithm of selection sort
Programming language

[ ] C
[x] C++
[ ] Java
[ ] Python

Are you contributing under any open-source program ?
Hacktoberfest

It's already there,maybe you can add  code in other languages!

It's already there,maybe you can add code in other languages!

So I have to add the java code in existing file ?

Yaa you can !

Could you pls assign this to me. shall do it in cpp

@siddhi-244 are you merging this??

Can you assign this issue to me. I want to add its python code


Update MSRV to Rust 1.66.0

As RHEL-9 has Rust Toolchain 1.66.1 now, it is possible to update the CI MSRV to Rust 1.66.0

The nightly run failed, but it seems it's because of a test, not because of the build steps.

Let's get this one in first and then I'll take care of the test error in a separate PR?


board stm3210c_eval openocd cfg file

boards/arm/stm3210c_eval/support/openocd.cfg
st3210c_eval.cfg -> stm3210c_eval.cfg

sorry, I don't know how to remove the merge commits, and how to rebase on top of last tree
I just fork and pull request again
xcmg@ubuntu:~/zephyr$ git remote -v
gerrit  https://github.com/zephyrproject-rtos/zephyr.git (fetch)
gerrit  https://github.com/zephyrproject-rtos/zephyr.git (push)
origin  git@github.com:kontais/zephyr.git (fetch)
origin  git@github.com:kontais/zephyr.git (push)
xcmg@ubuntu:~/zephyr$ git branch -a

master
remotes/gerrit/arm
remotes/gerrit/bluetooth
remotes/gerrit/core
remotes/gerrit/master
remotes/gerrit/net
remotes/gerrit/v1.5.0-branch
remotes/gerrit/v1.6.0-branch
remotes/gerrit/v1.7-branch
remotes/gerrit/xtensa
remotes/origin/HEAD -> origin/master
remotes/origin/arm
remotes/origin/bluetooth
remotes/origin/core
remotes/origin/master
remotes/origin/net
remotes/origin/v1.5.0-branch
remotes/origin/v1.6.0-branch
remotes/origin/v1.7-branch
remotes/origin/xtensa

git pull gerrit  master
git push origin master  --> will emit the merge comment
who can help me?
<EMAIL_ADDRESS>From: Anas Nashif
Date: 2017-05-01 21:14
To: zephyrproject-rtos/zephyr
CC: kontais; Author
Subject: Re: [zephyrproject-rtos/zephyr] board stm3210c_eval openocd cfg file (#5)
@nashif requested changes on this pull request.
please remove the merge commits from your PR, rebase on top of latest tree and push again. We should not have merge commits inside the PR.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Updated AppBar action button during validate callback in TextFormField

Internal: b/292548353
Requirement:
When TextFormField validate callback detects an error, update the AppBar in the Scaffold to disable an action button.
I was trying to call setState in the validate callback to trigger another widget.build() call. Unfortunately I get "setState() or markNeedsBuild() called during build." error.
What is the correct way to do this behavior.
I am doing a work around by attaching an onChange callback inside a Form widget that wraps the TextFormField. Call validate() on the TextFormField's FormState and setState that way.
Since Form is not required for TextFormField, this doesn't seem like the correct way of doing this.

Asked another way, how do you idiomatically set a button to be enabled/disabled based on form validation? Form could probably use an onValidated callback to accomplish this.

Does scheduleMicrotask(() => setState(() {...})) work for you? That would move the execution of setState out of the middle of the current build call. Not sure if it's the best solution.

@robertoscaramuzzi reminder to sync up with @HansMuller on this

@robertoscaramuzzi @DaveShuckerow Please sync up and see if there's a leafy solution to this since afaicr, they did not run into this issue due to putting the entire scaffold inside their form.

@robertoscaramuzzi and I discussed this. The Leafy approach doesn't use Flutter's Form at all, which means that this issue, which depends on the internal behavior of the FormState, doesn't apply to the Leafy design.  It also means that the Leafy approach can't be quickly adopted in Mulligan.
The underlying problem is that the formfields' validator() callbacks are invoked during build, and so if they contain a setState() call, they will crash.  This is done here: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/form.dart#L112
The form calls every validator it contains as part of its build process when it auto-validates.
Short-term, the resolution to this is to schedule the setState() calls for after build is completed.  One approach is to use scheduleMicrotask() to wrap all setState() calls in validators.  The other approach is the one that Mulligan has used.
On Flutter's side, I think we should consider if there is a way we can streamline the Form's logic so that it does not call validator() callbacks during build.  I imagine a common use case for our forms is to update some state based on whether or not a field is valid or if the whole form is valid.  When we make calls to validator() during build, that use case becomes difficult for users to manage.

Found in 1.21.0-1.0.pre.

 Complete sample code
import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(home: MyApp()));

class MyApp extends StatefulWidget {

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool _enabledButton = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        actions: <Widget>[
          IconButton(
            icon: Icon(Icons.security),
            onPressed: _enabledButton ? () {} : null,
          )
        ],
      ),
      body: Center(
        child: TextFormField(
          autovalidate: true,
          validator: (v) {
            if(!v.contains('@')) {
              if (_enabledButton) {
                setState(() => _enabledButton = false);
              }
              return 'invalid email';
            }
            setState(() => _enabledButton = true);
            return null;
          },
        ),
      ),
    );
  }
}

 Logs
W/IInputConnectionWrapper( 4908): beginBatchEdit on inactive InputConnection
W/IInputConnectionWrapper( 4908): getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper( 4908): getTextAfterCursor on inactive InputConnection
W/IInputConnectionWrapper( 4908): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper( 4908): endBatchEdit on inactive InputConnection

════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following assertion was thrown building TextFormField(dirty, dependencies: [_LocalizationsScope-[GlobalKey#a29a0], _InheritedTheme], state: _TextFormFieldState#fd7d9):
setState() or markNeedsBuild() called during build.

This MyApp widget cannot be marked as needing to build because the framework is already in the process of building widgets.  A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: MyApp
  state: _MyAppState#f980e
The widget which was currently being built when the offending call was made was: TextFormField
  dirty
  dependencies: [_LocalizationsScope-[GlobalKey#a29a0], _InheritedTheme]
  state: _TextFormFieldState#fd7d9
The relevant error-causing widget was:
  TextFormField file:///Users/pedro/dev/projects/hello_flutter/lib/main.dart:26:16
When the exception was thrown, this was the stack:
#0      Element.markNeedsBuild.<anonymous closure> (package:flutter/src/widgets/framework.dart:4167:11)
#1      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4182:6)
#2      State.setState (package:flutter/src/widgets/framework.dart:1253:14)
#3      _MyAppState.build.<anonymous closure> (package:hello_flutter/main.dart:35:13)
#4      FormFieldState._validate (package:flutter/src/widgets/form.dart:392:36)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

 flutter doctor -v
[✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-AO)
    • Flutter version 1.21.0-1.0.pre at /Users/pedro/dev/SDKs/flutter_dev
    • Framework revision f25bd9c55c (8 days ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/pedro/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe)
    ! /Applications/Google Chrome.app/Contents/MacOS/google-chrome-unsafe is not
      executable.

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] Android Studio (version 4.0)
    • Android Studio at /Users/pedro/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/193.6514223/Android
      Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.1

[✓] Connected device (2 available)
    • macOS (desktop)  • macos      • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server (web) • web-server • web-javascript • Flutter Tools

! Doctor found issues in 1 category.

Verified using latest versions and issue reported is replicable.

 runnable code sample

import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(home: MyApp()));

class MyApp extends StatefulWidget {

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool _enabledButton = false;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        actions: <Widget>[
          IconButton(
            icon: Icon(Icons.security),
            onPressed: _enabledButton ? () {} : null,
          )
        ],
      ),
      body: Center(
        child: TextFormField(
          autovalidateMode: AutovalidateMode.always,
          validator: (v) {
            if(!v!.contains('@')) {
              if (_enabledButton) {
                setState(() => _enabledButton = false);
              }
              return 'invalid email';
            }
            setState(() => _enabledButton = true);
            return null;
          },
        ),
      ),
    );
  }
}

 log

======== Exception caught by widgets library =======================================================
The following assertion was thrown building TextFormField(dirty, dependencies: [UnmanagedRestorationScope, _InheritedTheme, _LocalizationsScope-[GlobalKey#8212a]], state: _TextFormFieldState#6fefa):
setState() or markNeedsBuild() called during build.

This MyApp widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: MyApp
  state: _MyAppState#57d19
The widget which was currently being built when the offending call was made was: TextFormField
  dirty
  dependencies: [UnmanagedRestorationScope, _InheritedTheme, _LocalizationsScope-[GlobalKey#8212a]]
  state: _TextFormFieldState#6fefa
The relevant error-causing widget was:
  TextFormField TextFormField:file:///Users/dhs/Documents/NCFlutter/test_app/lib/main.dart:26:16
When the exception was thrown, this was the stack:
#0      Element.markNeedsBuild.<anonymous closure> (package:flutter/src/widgets/framework.dart:4634:9)
#1      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4646:6)
#2      State.setState (package:flutter/src/widgets/framework.dart:1153:15)
#3      _MyAppState.build.<anonymous closure> (package:test_app/main.dart:35:13)
#4      FormFieldState._validate (package:flutter/src/widgets/form.dart:448:43)
#5      FormFieldState.build (package:flutter/src/widgets/form.dart:499:11)
#6      StatefulElement.build (package:flutter/src/widgets/framework.dart:5080:27)
#7      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968:15)
#8      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133:11)
#9      Element.rebuild (package:flutter/src/widgets/framework.dart:4690:5)
#10     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2743:19)
#11     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:867:21)
#12     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#13     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1275:15)
#14     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1204:9)
#15     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1062:5)
#16     _invoke (dart:ui/hooks.dart:145:13)
#17     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:338:5)
#18     _drawFrame (dart:ui/hooks.dart:112:31)
====================================================================================================

 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 3.3.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.3.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d9111f6402 (10 hours ago), 2022-10-19 12:27:13 -0700
    • Engine revision 3ad69d7be3
    • Dart version 2.18.2
    • DevTools version 2.15.0

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.5.0-12.0.pre.45, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.5.0-12.0.pre.45 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c2edb20f3d (53 minutes ago), 2022-10-31 21:18:37 -0700
    • Engine revision f721db653d
    • Dart version 2.19.0 (build 2.19.0-356.0.dev)
    • DevTools version 2.18.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

From above in https://github.com/flutter/flutter/issues/17704#issuecomment-398911428:

I think we should consider if there is a way we can streamline the Form's logic so that it does not call validator() callbacks during build.

I agree with that. We probably shouldn't be calling validate inside of the build method here:
https://github.com/flutter/flutter/blob/557a959547258f6edb912fae552d606c93ac8052/packages/flutter/lib/src/widgets/form.dart#L272-L275


Add descriptive_stats to all tasks

I've added descriptive statistics to almost all tasks, but I need help running some of them. To do this, you can run the script from the v2.0.0 branch.
import mteb
from tqdm import tqdm

for task_name in tqdm(
    [
        "FEVER",
        "HotpotQA",
        "MSMARCO",
        "MSMARCOv2",
        "TopiOCQA",
        "MIRACLRetrieval",
        "MrTidyRetrieval",
        "BrightRetrieval",
        "MultiLongDocRetrieval",
        "NeuCLIR2022Retrieval",
        "NeuCLIR2023Retrieval",
        "BibleNLPBitextMining",
        "FloresBitextMining",
        "SwissJudgementClassification",
        "MultiEURLEXMultilabelClassification",
        "MindSmallReranking",
        "WebLINXCandidatesReranking",
        "VoyageMMarcoReranking",
        "MIRACLReranking",
    ]
):
    task = mteb.get_task(task_name)
    stat = task.calculate_metadata_metrics()

cc @imenelydiaker

Hi @Samoed, thanks for all the efforts you put in! I'll run what's missing :)

@Samoed question: do you know why we don't have the number of qrels for retieval datasets?
e.g., MIRACLRetrievalHardNegatives, we have num_queries and num_samples but not the number of qrels. We can maybe infer an average from average_relevant_docs_per_query, any idea why we don't have the exact number?
{
 'number_of_characters': 983901912,
 'num_samples': 2460458,
 'num_queries': 11076,
 'num_documents': 2449382,
 'min_document_length': 5,
 'average_document_length': 0.1694358005407078,
 'max_document_length': 176,
 'unique_documents': 2449382,
 'min_query_length': 1,
 'average_query_length': 88794.41124954858,
 'max_query_length': 48538,
 'unique_queries': 11076,
 'min_relevant_docs_per_query': 1,
 'average_relevant_docs_per_query': 2.3643011917659806,
 'max_relevant_docs_per_query': 20,
 'unique_relevant_docs': 98836,
 'num_instructions': None,
 'min_instruction_length': None,
 'average_instruction_length': None,
 'max_instruction_length': None,
 'unique_instructions': None,
 'min_top_ranked_per_query': None,
...
}

I forgot to add them😅. Can you add missing fileds? I can recompute rest of the stat

@imenelydiaker how is this one going? do you need any help with that?

@imenelydiaker how is this one going? do you need any help with that?

Launched it one hour ago, it's running I'm at MSMarcov2, the datasets are quite huge. Maybe we can split? Do you think you can do datasets starting from Neuclir*?

@dokato if you still want to run some datasets, you'll need the code I added here to get the number of qrels.

So just checkout to this branch above and run the script above from Neuclir? Sure, I can do that!

@imenelydiaker @Samoed
So in this PR I added 7/10 of datasets from my part (starting from NeuCLIR2022Retrieval). Sadly, those datasets below failed repeatedly due to lach of memory:

"NeuCLIR2022Retrieval",
"NeuCLIR2023Retrieval",
"FloresBitextMining".

Currently, I have only access to D8s_v3 VM with 32gb of RAM and 8CPUs, 120gb SSD, so I'd say not too bad. So maybe some optimizations are needed, or even more beefy machine. I'll be OOK for the next 4 days, can take a look back at those if you have some pointers.

I can try to run them on working machine

I found a bug in the statistics calculation (I accidentally swapped docs and queries when calculating lengths) and will recalculate the incorrect stats


File to import not found or unreadable: bootstrap-sprockets.

Anyone know how to fix this error?

I'm having the same issue, and restart server


Revert "Let's commit as owner? Translate content/en/releases/notes.md in uk"

Reverts kubernetes-i18n-ukrainian/k8s-website-transifex#2

фівапфівпа


FlatFileRecordReader is not available in the Reader Class

Hi,
The Hello World example displays the below method:
Job job = new JobBuilder()
            .named("hello world job")
            .reader(new FlatFileRecordReader(dataSource))

The **FlatFileRecordReader ** is not available. Can you please confirm?

Hi,
The FlatFileRecordReader is in the easybatch-flatfile module.
Have you added this module to your dependencies? If you follow the instructions on how to run the tutorial (section 6), everything should be correctly imported.
Please let me know if you were able to run the sample.
Kind regards
Mahmoud

Yes adding that dependency worked. I was trying to get the output in
Eclipse IDE itself. and wasnt aware that there were other modules that had
to be added in dependency.
Thanks
Anil
On Thu, Feb 25, 2016 at 6:15 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi,
The FlatFileRecordReader is in the easybatch-flatfile module.
Have you added this module to your dependencies? If you follow the
instructions on how to run the tutorial (section 6), everything should be
correctly imported.
Please let me know if you were able to run the sample.
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-189080222
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Glad to hear it works for you now.
Don't hesitate to ask for support if needed! I would love to help.
Kind regards

Hi Mahmoud,
Thanks for the prompt reply. This is the first time am trying Easybatch.
now i am stuck at another place.
My Code:
public static void main( String[] args ) throws FileNotFoundException
{
System.out.println( "Hello World!" );
    File dataSource=new File("Sample");
    System.out.println(dataSource.getAbsolutePath());
    System.out.println(dataSource.canRead());
    DelimitedRecordMapper datamapper=new

DelimitedRecordMapper(N01MemberPermissions.class, Listed all fields here");
datamapper.setDelimiter("|");
    Job job= JobBuilder.aNewJob()
    .named("Hello World Job")
    .reader(new FlatFileRecordReader(dataSource))
    .filter(new StartWithStringRecordFilter("FH"))
    .filter(new StartWithStringRecordFilter("FT"))
    .mapper(datamapper)
    .validator(new BeanValidationRecordValidator<Sample>())
    .writer(new StandardOutputRecordWriter())
    .build();

    JobReport report=JobExecutor.execute(job);
    System.out.println(report);
}

}
Error:
org.easybatch.core.mapper.RecordMappingException: Unable to create a new
instance of target type com.test.bean.Sample
On Fri, Feb 26, 2016 at 1:59 AM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Glad to hear it works for you now.
Don't hesitate to ask for support if needed! I would love to help.
Kind regards
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-189200703
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Hi,
Your record mapper tries to map StringRecords to instances of N01MemberPermissions.class. Looks like the mapper is not able to create a new instance of the com.test.bean.Sample type. Is this class public? Is it nested in the N01MemberPermissions.class? This can be the reason of the issue.
Also, note that the output of the mapper is the input of the validator according to your job description. Since the mapper will produce N01MemberPermissions.class objects, the validator should then validate N01MemberPermissions.class objects (not Sample objects):
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())

Do you see?
Kind regards
Mahmoud

Hi,
Sorry for the confusion. You could replace Sample with N01MemberPermissions
int he code i sent above. But it still gives me the same error. And the
class N01MemberPermissions is public.
On Sun, Feb 28, 2016 at 1:06 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi,
Your record mapper tries to map StringRecords to instances of
N01MemberPermissions.class. Looks like the mapper is not able to create a
new instance of the com.test.bean.Sample type. Is this class public? Is
it nested in the N01MemberPermissions.class? This can be the reason of
the issue.
Also, note that the output of the mapper is the input of the validator
according to your job description. Since the mapper will produce
N01MemberPermissions.class objects, the validator should then validate
N01MemberPermissions.class objects (not Sample objects):
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
Do you see?
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-189946266
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Ok Another update on this problem. The issue with instantiating is resolved.
Reason : I was missing the constructor in the N01MemberPermissions class.
It had only the parametrized constructor. Adding the below resolved that
problem.
public N01MemberPermissions(){
}
The new error is :
WARNING: No public setter found for field , this field will be
set to null (if object type) or default value (if primitive type)
On Mon, Feb 29, 2016 at 9:41 AM, Anil Kulkarni<EMAIL_ADDRESS>wrote:

Hi,
Sorry for the confusion. You could replace Sample with N01MemberPermissions
int he code i sent above. But it still gives me the same error. And the
class N01MemberPermissions is public.
On Sun, Feb 28, 2016 at 1:06 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi,
Your record mapper tries to map StringRecords to instances of
N01MemberPermissions.class. Looks like the mapper is not able to create
a new instance of the com.test.bean.Sample type. Is this class public?
Is it nested in the N01MemberPermissions.class? This can be the reason
of the issue.
Also, note that the output of the mapper is the input of the validator
according to your job description. Since the mapper will produce
N01MemberPermissions.class objects, the validator should then validate
N01MemberPermissions.class objects (not Sample objects):
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
Do you see?
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-189946266
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Hi ,
This issue is completely resolved. Ma able to process and do basic
validation of the records from the file.
My Actual purpose:
Read records from file
Validate each record
1) Not null and size conditions
2) Validate if that specific fields is already present in DB - How
do i implement this validation any idea?
Apart from job report, return clean records and return error records as
well.
Thanks
Anil
On Mon, Feb 29, 2016 at 10:00 AM, Anil Kulkarni<EMAIL_ADDRESS>wrote:

Ok Another update on this problem. The issue with instantiating is
resolved.
Reason : I was missing the constructor in the N01MemberPermissions class.
It had only the parametrized constructor. Adding the below resolved that
problem.
public N01MemberPermissions(){
}
The new error is :
WARNING: No public setter found for field , this field will be
set to null (if object type) or default value (if primitive type)
On Mon, Feb 29, 2016 at 9:41 AM, Anil Kulkarni<EMAIL_ADDRESS>wrote:

Hi,
Sorry for the confusion. You could replace Sample with N01MemberPermissions
int he code i sent above. But it still gives me the same error. And the
class N01MemberPermissions is public.
On Sun, Feb 28, 2016 at 1:06 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi,
Your record mapper tries to map StringRecords to instances of
N01MemberPermissions.class. Looks like the mapper is not able to create
a new instance of the com.test.bean.Sample type. Is this class public?
Is it nested in the N01MemberPermissions.class? This can be the reason
of the issue.
Also, note that the output of the mapper is the input of the validator
according to your job description. Since the mapper will produce
N01MemberPermissions.class objects, the validator should then validate
N01MemberPermissions.class objects (not Sample objects):
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
Do you see?
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-189946266
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Hi Anil,
Looks like your use case is a bit similar to this tutorial: read data -> filter -> map -> validate -> write. This may help you.
I know that your resolved your mapping issue, but just FYI, Easy Batch mappers expect a standard Java bean as target object (ie, your bean must provide a default constructor and a public setter for each property).
Now to answer your question on database validation, you can implement the RecordValidator interface with your custom validation logic, being against a database or other storage and register it in the pipeline. You can register as many validators as you want:
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
.validator(new MyCustomDbValidator())

Easy Batch will apply all validators in declaration order and reject invalid records. (See "Validators" section in the user guide)
Kind regards
Mahmoud

Thanks for the support.
I will work on the Custom Validator and get back if i have more questions.
Thank you so much!
On Mon, Feb 29, 2016 at 9:01 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi Anil,
Looks like your use case is a bit similar to this tutorial
http://www.easybatch.org/tutorials/loading-data.html: read data ->
filter -> map -> validate -> write. This may help you.
I know that your resolved your mapping issue, but just FYI, Easy Batch
mappers expect a standard Java bean as target object (ie, your bean must
provide a default constructor and a public setter for each property).
Now to answer your question on database validation, you can implement the
RecordValidator interface with your custom validation logic, being
against a database or other storage and register it in the pipeline. You
can register as many validators as you want:
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
.validator(new MyCustomDbValidator())
Easy Batch will apply all validators in declaration order and reject
invalid records. (See "Validators" section in the user guide
http://www.easybatch.org/documentation/components-reference.html)
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-190547509
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Hi Mahmoud,
Would you be able to share any code where you have implemented any Custom
Validator?
I created a Custom Validator like the below. But i am unable to extract
field by field and do my validation. The payload returns the entire
delimited line from the file,
public class MyCustomValidator implements
RecordValidator<GenericRecord> {
public GenericRecord processRecord(
GenericRecord record)
throws RecordValidationException {
// TODO Auto-generated method stub
System.out.println(record.getPayload());
return record;
}
}
.filter(new StartWithStringRecordFilter("FH"))
.filter(new StartWithStringRecordFilter("FT"))
.mapper(datamapper)
//.processor(new DelimitedRecordMarshaller(Sample.class,
Fieldsarray,"|"))
.validator(new BeanValidationRecordValidator())
.validator(new MyCustomValidator())
Assume that Sample is my Bean. I would like to access specific fields to do
custom validation in my CustomValidator.  Any help on this would be great.
On Mon, Feb 29, 2016 at 9:01 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi Anil,
Looks like your use case is a bit similar to this tutorial
http://www.easybatch.org/tutorials/loading-data.html: read data ->
filter -> map -> validate -> write. This may help you.
I know that your resolved your mapping issue, but just FYI, Easy Batch
mappers expect a standard Java bean as target object (ie, your bean must
provide a default constructor and a public setter for each property).
Now to answer your question on database validation, you can implement the
RecordValidator interface with your custom validation logic, being
against a database or other storage and register it in the pipeline. You
can register as many validators as you want:
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
.validator(new MyCustomDbValidator())
Easy Batch will apply all validators in declaration order and reject
invalid records. (See "Validators" section in the user guide
http://www.easybatch.org/documentation/components-reference.html)
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-190547509
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Mahmoud,
I resolved the issue soon after i sent you the email. I dont think you need
spend your time on this.
Thank you
On Thu, Mar 3, 2016 at 4:53 PM, Anil Kulkarni<EMAIL_ADDRESS>wrote:

Hi Mahmoud,
Would you be able to share any code where you have implemented any Custom
Validator?
I created a Custom Validator like the below. But i am unable to extract
field by field and do my validation. The payload returns the entire
delimited line from the file,
public class MyCustomValidator implements
RecordValidator<GenericRecord> {
public GenericRecord processRecord(
GenericRecord record)
throws RecordValidationException {
// TODO Auto-generated method stub
System.out.println(record.getPayload());
return record;
}
}
.filter(new StartWithStringRecordFilter("FH"))
.filter(new StartWithStringRecordFilter("FT"))
.mapper(datamapper)
//.processor(new DelimitedRecordMarshaller(Sample.class,
Fieldsarray,"|"))
.validator(new BeanValidationRecordValidator())
.validator(new MyCustomValidator())
Assume that Sample is my Bean. I would like to access specific fields to
do custom validation in my CustomValidator.  Any help on this would be
great.
On Mon, Feb 29, 2016 at 9:01 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hi Anil,
Looks like your use case is a bit similar to this tutorial
http://www.easybatch.org/tutorials/loading-data.html: read data ->
filter -> map -> validate -> write. This may help you.
I know that your resolved your mapping issue, but just FYI, Easy Batch
mappers expect a standard Java bean as target object (ie, your bean must
provide a default constructor and a public setter for each property).
Now to answer your question on database validation, you can implement the
RecordValidator interface with your custom validation logic, being
against a database or other storage and register it in the pipeline. You
can register as many validators as you want:
.validator(new BeanValidationRecordValidator< N01MemberPermissions>())
.validator(new MyCustomDbValidator())
Easy Batch will apply all validators in declaration order and reject
invalid records. (See "Validators" section in the user guide
http://www.easybatch.org/documentation/components-reference.html)
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-190547509
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni

Hello, no problem.
If you like the project and want to support it, please give it a little star on github and speak about it :smile:
Also, If you have any feedback, don't hesitate to file bugs or request feature or documentation update.
Kind regards
Mahmoud

This helped me a lot. I am definitely giving it a star. and post some
examples on my blog too.
Thank you
On Thu, Mar 3, 2016 at 8:43 PM, Mahmoud Ben Hassine <
<EMAIL_ADDRESS>wrote:

Hello, no problem.
If you like the project and want to support it, please give it a little
star on github and speak about it [image: :smile:]
Also, If you have any feedback, don't hesitate to file bugs or request
feature or documentation update.
Kind regards
Mahmoud
—
Reply to this email directly or view it on GitHub
https://github.com/EasyBatch/easybatch-framework/issues/176#issuecomment-192100651
.

--
Cheers,
Anil Kulkarni
about.me/anilkulkarni
[image: Anil Kulkarni on about.me]
http://anilwrites.blogspot.com/ http://about.me/anilkulkarni


enableTrading() Function

This function launches the Uniswap V2 Liquidity Pool with the tokens in the contract and ETH in the contract.

Here is that function in my old contract standard:
https://github.com/roberts/standard/blob/79b0478c808c8f09438345ebe87bdfe02e6ca8b3/old.sol#L1284C1-L1314C6


Please make a new release so that you can use tonejs in svelte without having to modify the package.json

If you use tonejs in svelte you get an error on build. This is because vite uses nodejs and tonejs hates nodejs.

I'm using Vite + Electron + Tone without any issue. The renderer builds correctly when importing Tone ESM bare module.
Maybe it's something with the configuration of your project?

I'm using it just fine in svelte as well.

I haven't used it in months now so if it's fixed I'll close the issue


pinniped: update dex config to issue refresh tokens

Signed-off-by: Monis Khan<EMAIL_ADDRESS>@ankeesler @sabbey37 @benjaminapetersen this is untested and meant as a example for how to handle upcoming changes in Pinniped 0.13+
xref: https://github.com/vmware-tanzu/tanzu-framework/pull/1145

Closing this PR due to inactivity. If you'd still like to make these improvements, please re-create a PR against main.
Additionally we do recommend opening an issue describing the desired changes before opening a PR.


[BEAM-3715] Explicitly exclude some troublesome optional deps

The optional dependencies of elasticsearch-hadoop, pulled in by hadoop-input-format, appear to be getting fetched by Gradle. For some reason we have explicitly excluded three of them (also in the Maven config) even though they should already be left out. To fix the build, this explicitly excludes those that I have seen flake.

Follow this checklist to help us incorporate your contribution quickly and easily:

[n/a] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[n/a] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.

[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@lukecwik

I actually introduced flagrant style violations into master and it has no effect on the spotlessJavaCheck. From what I can tell spotless actually does not do anything in our build at the moment. The checkstyleMain and checkstyleTest are the things that actually check the formatting.

Thus having an empty spotless { java { } } versus just applying the plugin, or whatever, doesn't really matter. I would suggest removing the plugin for now unless you know something that is not obvious here.

I think your above comments are for the wrong PR.

Yea, got my tabs mixed up it seems. Lots of gradle fixes waiting.


Use updated reduced-size clDNN

This PR updates clDNN to the newest version, which is stripped from boost. The updated version, when built, is only ~7MB, while the current - 350MB.

Does this mean that boost is not used?

Yes, they got rid of boost completely. In an email thred where I was included, they suggested to remove those lines from our cmake file for clDNN.


Add Heroku instructions

Add instructions we have so far for development using the Heroku infrastructure.
/cc @edx/ospr

Current coverage is 33.07% (diff: 100%)

Merging #82 into master will not change coverage

@@             master        #82   diff @@
==========================================
  Files            14         14
  Lines          1016       1016
  Methods           0          0
  Messages          0          0
  Branches        168        168
==========================================
  Hits            336        336
  Misses          671        671
  Partials          9          9

Powered by Codecov. Last update ed9a9ac...6dac5da

@nedbat

:+1:


Navigation items misaligned on Layout super nav component

https://components.publishing.service.gov.uk/component-guide/layout_super_navigation_header
The "Departments" text is 1px misaligned with the two drop downs either side of it:

There’s also a 1px misalignment on the search box toggle when open and focused vs closed and focused (note the black bar on the X image):

Firstly, thanks for reporting these visual issues.
The misalignment of "Departments" should hopefully be fixed in the coming week or so.
The black line on the button is deliberately placed to differentiate between the cookie banner and open section:

This small border isn't an ideal solution - it's going to be iterated on to find something that doesn't look so glitchy when the cookie banner isn't present but doesn't make the cookie banner and an open section look connected.

I'm closing this as the alignment was fixed in https://github.com/alphagov/govuk_publishing_components/pull/2401 - which has now been released in the gem and then bumped in the application that renders the header.


How are masks created ? maybe out of topic

This is from the DUTS Dataset. just out of curiosity how is such a mask created ?

some annotation tool like LabelMe or Amazon mechanical turk


Uses JSON.generate instead of to_json on client call method

Following this PR on the official sparkpost gem: https://github.com/SparkPost/ruby-sparkpost/pull/27
I see this same error occurring with this gem, and I tested with JSON.generate and works fine.

Close duplciate of https://github.com/leadmachineapp/simple_spark/pull/10


MSPSDS-604: case page header

Pull Request Test Coverage Report for Build 689

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.6%) to 86.915%

Files with Coverage Reduction
New Missed Lines
%

../presenters/investigation_presenter.rb
1
66.67%

../helpers/activities_helper.rb
1
66.67%

test/controllers/activities_controller_test.rb
2
88.89%

test/controllers/investigations_controller_test.rb
2
93.75%

Totals

Change from base Build 684:
-0.6%

Covered Lines:
1003

Relevant Lines:
1154

💛  - Coveralls


Move library to .net standard 2.0

The tests seem to pass locally in the latest version of VS. This seems more succesful than the V1.6 branch.
TODO:

[ ] Make a decision on making internals visible on the tests or keeping things public
[x] Wait for NCrunch to support .Net Core 2.0
[ ] Wait for more info from AppVeyor on getting the CI running again
[ ] Wait for GitVersion to support .Net Core 2.0 projects
[x] Get tests running on .net core

NCrunch now runs but appears to have a race condition with some of the tests. Need to have a look.

Tests are now good (And actually isolated)


Store service provider cert in DB instead of the keystore

According to the current service provider implementation, certificates upload into SPs are added to tenant's keystore. When the SPs are created in super tenant space, current model has few drawbacks ..

In a IS cluster deployment, keystore syncing mechanism is required between nodes.
Server restart is needed since keystore changes are read only at server startup

Therefore, suggested improvement is to keep SP certs in DB instead of in keystore (similart to IdP certs)

The next immediate release after reporting this fix was IS 5.4.1. Since it is a patch release it has been decided to ship this feature in IS 5.5.0


Keyboard navigation, accessibility, miscellaneous fixes

Fixes #62

Adds tabbing between input fields
Fixes some accessibility issues
Triggers form submit on enter keypress
Replaces some occurrences of 'any' with 'unknown'

@nimishbongale can you resolve the merge conflict, thanks :)


Python operators (not and in) not being syntax highlighted

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
See screenshots below
Environment
Zed: v0.113.0 (preview)
OS: macOS 14.0.0
Memory: 64 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Zed:

VS Code:

Sublime:

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

brackets highlight would help as well. In general better highlighting would be appreciated.


Ignore window file

Ignore window file

.exe files are a better fit for your global .gitignore, not in a project .gitignore.

Agree w/ @mark-rushakoff.  You can also add them to your .git/info/exclude file as well.

@jwilder I've made this same comment in a couple places, so maybe it's time to clean up the .gitignore and put a big comment up top about using global .gitignore.


Upgrade lienzo core to 2.0.277 and lienzo tests to 1.0.0-RC3.

Upgrade lienzo artifacts to latest versions as done in latest kie parent POM. See https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/commit/2cfb9acadaf0630045870625044c5170dff01ca2
@manstis Here it is! :)

Hi @manstis , just added a new commit with the comments you say, good point! About adding the supporting dependencies... wiell I dont see it really necessary unless some uf code depends on those, so then maven enforcer should complain...
I had to add those in the kie parent pom as I'm using explicitly some of the lienzo nativetools classes on stunner, so maven enforcer rules were complaining. But in UF, if the build doesn't complain means that there are no concrete classes usage, so no really need to add those here, isnt it?  Just lemme know what you think, np for adding those as well if necessary. Thanks!

@romartin Agreed (if the transient dependencies are not used in Uberfire, then no need to include them).

@manstis yes would prefer adding those if really necessary... thanks for your consideration!!! :)

+1 thanks @romartin


Makefiles: make all test targets .PHONY

Signed-off-by: Michael Adam<EMAIL_ADDRESS>

This change is

LGTM


fix: fixes storage samples

@frankyn agreed it's super subtle and easy to miss. Hopefully this explains it:
// this results in a JSON array, which is recognized by the API, and so policies are updated as expected
var_dump(json_encode([0 => 'foo', 1 => 'bar'], true));
// OUTPUT: string(13) "["foo","bar"]"

// this results in a JSON object, which is not recognized by the API, and so all policies are removed
var_dump(json_encode([0 => 'foo', 2 => 'bar'], true));
// OUTPUT: string(21) "{"0":"foo","2":"bar"}"

I'll add a comment in the sample as well

Oh wow, is that why you'd like to get PolicyBuilder back into these samples? Seems like a easy thing to miss if the library doesn't do it for users.


Simulation on a single core for ask and tell interface

If we limit optimizer interfaces to ask-and-tell, we can run the simulation with only the main process.

Addressed


docs: updated docs domain to fuel.network

Updated docs links to the fuel.network domain

from: https://fuellabs.github.io/fuels-ts
to: https://docs.fuel.network/docs/fuels-ts

closed in favour of #1685


added workflow as mentioned in issue #

Description
This feature aims to address the problem of delayed and inconsistent communication following the raising of PRs. By automatically commenting on PRs as soon as they are raised, it ensures that contributors receive immediate feedback and acknowledgment for their efforts. This fosters a positive and supportive environment for collaboration, encouraging continued participation and engagement from contributors.
Fixes:  #714

Type of change

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

Checklist:

[X] I have made this from my own
[ ] I have taken help from some online resourses
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings

@huamanraj please review and merge this PR
Also, please add labels to this PR


feature/1.3.0

The only comment I have is that the classes have been named after the models in the swagger (v2, v3, etc) but we have already flagged that to the community that the model names need to be redone. Not sure if that change will impact the code or not. It won't materially change the standard so there is no real reason to change the code but the model names will be inconsistent with the standards.
We won't do this until 1.3.1 though we could just defer it until then.

Yep, the next planned release is 1.3.1. We'll include those changes in there.


Edit wording/examples on PHP array documentation

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Hi @exiam
It seems that similar changes have already been accepted earlier for this article you're editing, sorry about that. 😓
If you feel you have more to add, please feel free to open up a new PR.
Thanks again! 😊

If you have any questions, feel free to reach out through Gitter or by commenting below. 💬

Congrats @exiam on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


[Q] how to resume other data from the previous training?

Hi,
I trained and saved a model under the directory "offline-run-20210316_100104-2ywaztas", I know the id is 2ywaztas.
The directory "offline-run-20210316_100104-2ywaztas" also includes other logs.
Now I want to resume the training process, so I used:
id="2ywaztas"
wandb.init(id=id, resume="allow")
weights = torch.load(os.path.join(wandb.run.dir, "model-latest.pth"))

Error happened in the last line:
FileNotFoundError: [Errno 2] No such file or directory: '/folder/wandb/offline-run-20210316_111531-2ywaztas/files/model-latest.pth'
I think maybe it is related to the wandb.run.dir. It automatically creates a new folder offline-run-20210316_111531-2ywaztas rather than resuming offline-run-20210316_100104-2ywaztas .
My requirement is to recover all the data that is generated by the previous training,  such as the saved loss.
Could you help me?
By the way, when I call wandb.log({'loss':loss}), where do the log files store?
Thanks a lot.

The data is stored in the wandb file within the offline-run-20210316_111531-2ywaztas directory.  You can only access data that's been logged to a server.  You need to run wandb sync NAME_OF_DIRECTORY to send the data to a server.  If you resume a run from a server, you need to download the file before reading it with wandb.restore("model-latest.pth").  This enables you to use cloud infrastructure and resume runs from different computers on your network.

Thank you for your quick reply.
Can I set the current training directory to be the previous one?  That is offline-run-20210316_100104-2ywaztas.  Because I want the loss curve to be continued.  For example,  suppose that I have trained the model for 200 epochs.  Then I hope the new resumed losses can append to the previous losses.
I think wandb.restore("model-latest.pth") can only restore model weights.  I want to resume the logs.

Besides, when I run wandb sync NAME_OF_DIRECTORY, I got another error:
wandb: ERROR Error while calling W&B API: Error 1062: Duplicate entry '111531-2ywaztas' for key 'PRIMARY' (<Response [409]>)
I have no idea how to solve this problem.

Hey @cs123951 specifying id="2ywaztas" and resume="allow" is what allows you to resume the logs.  The error you're seeing means the run is already synced.  Simply calling wandb.log after init will append logs to the previous run.  In the example above you tried to read the model-latest.pth file.  That file will not exist because we create a new directory when resuming.
If you just need to read logs from a previous run you can use our public api.

Thanks, I got it~


SW Build System

Create a build system for SW:

separate from the HW build system
build objects separate from source
Proper dependency tracking
Meson/Ninja based?

Done. CMake.


config: disable label_sync for tiup

After some discussion, we decided to disable this feature for tiup.

/cc @lucklove  @AstroProfundis
PTAL~

/assign @Mini256
PTAL~ Thanks!

/merge


Cross directory as git submodule

Seems like a lot of projects use /cross, but changes to that folder need to be ported to other repositories.
In order to centralize that common part, I think that the creation of a repository and then add the /cross folder as a git submodule should work pretty well.
https://github.com/dotnet/coreclr/pull/20202#issuecomment-425836152

Centralizing the cross scripts is tracked by https://github.com/dotnet/arcade/issues/53. The plan of record isn't to use submodules, but rather to share the infra that is being set up to centralize all the basic build scripts.