spring oauth2 server returning html response

https://localhost:8443/Service/oauth/token?grant_type=client_credentials and i am passing client credentails in authorization header .
Case 1: when client credentials are correct Json response as it should be.
Case 2: client detailservice invoking multiple times .i have no idea why
Case 3: when client credentials are in correct html response why ? i am throwing throw new ClientRegistrationException(client) in loadclientbyId() if client not found in database. any suggestion what might be wrong .thanks.
Response :https://i.stack.imgur.com/051eB.png

problem solved if i pass client credentails in query .while if i pass client credentials in auth header problem still occurs.

adding a custom authentication entry point solves the problem


Flutter exit code 1

My app was perfectly fine my emulator was not opening I deleted created new in the android Studio AVD.
After that, I am continuously receiving this error my flutter doctor has no issue perfectly fine.

What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not resolve project :rate_my_app.
Required by:
project :app
No matching configuration of project :rate_my_app was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :firebase_analytics.
Required by:
project :app
No matching configuration of project :firebase_analytics was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :shared_preferences.
Required by:
project :app
No matching configuration of project :shared_preferences was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :audio_session.
Required by:
project :app
No matching configuration of project :audio_session was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :firebase_auth.
Required by:
project :app
No matching configuration of project :firebase_auth was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.
Could not resolve project :sqflite.
Required by:
project :app
No matching configuration of project :sqflite was found. The consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- None of the consumable configurations have attributes.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 52s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                       115.6s
Exception: Gradle task assembleDebug failed with exit code 1

@nomicool
Do you have any custom gradle build type in app/build.gradle  file ?

No i did install new fresh androdi studio and flutter on new system same source code works perfectly fine as I told earlier after deleting old adding new emulator face this issue . so I deleted flutter sdk on old system added new sdk update it it shows same error I think I need to install new windows fresh android studio with flutter. Is there any way to fix on current windows.?

@nomicool
Try flutter pub cache repair and see if it works for you.

Please close the issue i don't had time so I removed every sdk android flutter all file start new installations working fine now

Closing this based on above comment.


Remove 'compileOnBVM()' method in jballerina tests

Description:
Some of the tests uses compileOnBVM() during running tests in jballerina. Anything related to BVM shouldn't be used when migrating to JBallerina, as they are broken and no longer maintained. These will be removed soon.

#15884 introduces some of the changes required for this.

BRunUtil.invoke() accepting an Object[] for JVM values, instead of BValue[] - https://github.com/ballerina-platform/ballerina-lang/pull/15884/files#diff-3cf110e99a490c3490255df187a03265R268
This makes use of a private method that returns the JVM param type class based on the object - https://github.com/ballerina-platform/ballerina-lang/pull/15884/files#diff-3cf110e99a490c3490255df187a03265R272 - currently only identifies ObjectValue, XMLValue and String
BRunUtil.invokeOnJBallerina() and BRunUtil.invoke() accepting an Object[] and Class<?>[] instead of BVM values and types - https://github.com/ballerina-platform/ballerina-lang/pull/15884/files#diff-3cf110e99a490c3490255df187a03265R307, https://github.com/ballerina-platform/ballerina-lang/pull/15884/files#diff-3cf110e99a490c3490255df187a03265R372

The corresponding BVM based methods have been marked deprecated.
The following have also been migrated

test/java/org/ballerinalang/stdlib/mime/Util.java
test/java/org/ballerinalang/stdlib/utils/MessageUtils.java
test/java/org/ballerinalang/stdlib/utils/MultipartUtils.java
test/java/org/ballerinalang/stdlib/utils/TestEntityUtils.java

A new utils class was introduced to create JVM object values for HTTP - test/java/org/ballerinalang/stdlib/utils/ValueCreatorUtils.java

compileOnBVM() method and its usages are removed, and only migrating the remaining BVM values related references from the test cases is left. Since the original issue is fixed and the later is already tracked by #17443, I'm closing this one.


Increase timeouts to allow auth over slow connections

This is a pretty small change, but the issue always hamstrings me when I fly and I usually forget about it right after I land.
Currently either the TLS handshake (10s default) or subsequent connection can time out on a slow network - for example, airplane wi-fi. This makes those timeouts 60s apiece so those attempts have a better chance of getting through successfully.

I'm trying to think of what the downside is to such a long timeout. I guess if your network is truly down, it'd take a pretty long time for aws-okta to tell you that.
Anybody else have feelings? @systemizer?

Excellent - just adjusted with the constant change. Let me know if you want me to do anything else!


doc: Update description of BT_RECV_IS_RX_THREAD.

Clarify why this option is needed and which restrictions it has if disabled
Signed-off-by: Joakim Andersson<EMAIL_ADDRESS>

FYI: @jhedberg  @carlescufi

Codecov Report

Merging #7748 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7748      +/-   ##
==========================================
- Coverage   55.01%   55.01%   -0.01%
==========================================
  Files         483      483
  Lines       53952    53952
  Branches    10495    10495
==========================================
- Hits        29682    29681       -1
- Misses      19984    19985       +1
  Partials     4286     4286

Impacted Files
Coverage Δ

lib/posix/pthread.c
69.03% <0%> (-0.51%)
: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 b1e06f2...3527398. Read the comment docs.


Update method updates all records if criteria parameter is undefined

If the update receives undefined as the first parameter, it updates all records:
sails> User.update(undefined, { name: 'test' }, function (err, users) { console.log(err, users.length) })
undefined
sails> null 206

Is this intended behavior? Based on the docs listing it as a required param, I would expect to get an error instead of updating all records. Feels a bit dangerous since passing undefined is likely a programming mistake.

Version of waterline and adapter are you using?

Using waterline 0.10.26 and the postgres adapter 0.10.8

Thanks @ajkitson let's discuss in #1228

And then results a HUGE memory leak

For future reference, there's more information and tips on diagnosing memory leaks in Node apps, and on reproducing+reporting suspected memory leaks in Sails here: https://github.com/balderdashy/sails/issues/3782#issuecomment-238679052


[FR] User configurable pattern for order reference field

Ref: https://github.com/inventree/InvenTree/discussions/3163
Allow reference fields for orders (Build / Sales / Purchase) to follow a configurable pattern.
Currently we allow a regex pattern to be specified for the IPN (internal part number) field, which could be extended here.
The added complication is that the order reference field is shadowed with an integer copy, to allow for natural sorting of the references. So any regex (or similar) implementation would need to take that into account.

Implementation idea:

Add a global setting (one for each order type) such as PURCHASE_ORDER_REFERENCE_REGEX
This is a regex pattern that allows enforcement of custom reference value
The setting must either be empty (default) or have exactly 1 capturing group
e.g. (\d{4})-(?:.{4}) would match the custom pattern requested by @miggland
As there is a single capturing group (enforced) then we know how to extract the "incrementing" part of the reference

Refer to https://github.com/inventree/InvenTree/pull/3267


New spam

Hi Stevie,
please include:
tri-slona.org
electricwheelchairsarea.com
j-times.ru
telegramdownload10.com
monarhs.info
goo.gl
Furthermore in last line of the last update are is correct the last line SetEnvIfNoCase Referer ɢoogle.com spambot=yes  ?  or it is SetEnvIfNoCase Referer ?oogle.com spambot=yes copying SetEnvIfNoCase Referer ɢoogle.com spambot=yes from your .htacces file to my the it appears as SetEnvIfNoCase Referer ?oogle.com spambot=yes and than I get a 500 error.
Thank you for your help
Boris

Thanks Boris, you're right about the 500 error: i've added the "ɢ" to the language conversion script!


Cant type text on a form field in web-page

My app opens a webpage in browser after tapping on "Sign In" button. The user enters their username and password in respective fields. Is there any way I can type text in the form field inside webpage?

Web views are not supported. Mock your API.

@LeoNatan I am not talking about a webview. When the user tries to login a whole new app, the phone's default browser, is opened.

But that’s even less supported. Detox only supports testing your app, not system apps, such as the browser. You really should follow our docs regarding mocking.


kube-proxy talking to apiserver through public ip

After my cluster gets created on azure, I usually close the network security rules a bit, as the public ip is wide open for any incoming requests.
However if a node goes down, the proxy pod tries to reach the api server through that public ip address, even though they're on the same vnet/subnet.
 Not really, the only thing open is port 443 for the apiserver and it requires client certificates for security and mutual auth.
BTW, kubectl doesn't "discover nodes".

However if a node goes down, the proxy pod tries to reach the api server through that public ip address, even though they're on the same vnet/subnet.

Sure, you can send a PR to make it use the private ip of the master instead (I thought it already did, but I guess not).
But this is going to break your ability to admin your cluster from outside.... The apiserver requires auth, it's not like anyone can post to it if they know the IP...

The other problem is, a single kubeconfig file is currently used for both external connectivity and internal connectivity so you'll have to do some refactoring in order to make it so there is a kubeconfig internally that uses the private ip and another kubeconfig with the external ip for the rest of us that admin our cluster from outside.

Hi Cole,
yes only the 443 port and 22 are open, but that's still not the best for prod environment.
I do agree with you though, two separate kubeconfig files would be a good option. I'm not entirely sure what needs to change, I know that the server property could point to the internal master ip address. So that the proxy pods ping the api server through that rather then through the https expernal address. It should be ok for the nodes to chat within the same network as the master, rather then having to go outside.


Fix docker-commpose.yaml

Remove extra depends
Signed-off-by: MikeTheComrade<EMAIL_ADDRESS>

Thank you! looks great ❤


Current implementation of cook template priors

Hi all,
I attempted to run the cook template priors script example on this page: https://github.com/ntustison/antsCookTemplatePriorsExample
But I found that antsMalfLabeling.sh isn't a part of the master branch anymore and I get these errors plus a lot after that.
./antsCookTemplatePriorsCommand.sh: line 35: /usr/local/pkg/ANTs//antsMalfLabeling.sh: No such file or directory
./antsCookTemplatePriorsCommand.sh: line 56: ThresholdImage: command not found
It looks like antsCookTemplatePriors.sh is the replacement, but I'm not sure how to use it in a similar way.  I want to generate the tissue probability priors mentioned in the -p option of antsCookTemplatePriors.sh using a template I made from my subjects using antsMultivariateTemplateConstruction2.sh using the OASIS/IXI/etc. templates.  Any help is much appreciated!

Should be fixed now.

Alright I'll give that a try, thanks Nick.

Getting this error with JLF:
/ihome/jhanson/bth22/jhanson/cookpriors_mri/Output/job_ADNI_template_masked_0.sh
Exception Object caught:

itk::ExceptionObject (0x374ee80)
Location: "unknown"
File: /ihome/jhanson/bth22/antsbin/ITKv4-install/include/ITK-4.12/itkImageMomentsCalculator.hxx
Line: 156
Description: itk::ERROR: ImageMomentsCalculator(0x374dce0): Compute(): Total Mass of the image was zero. Aborting here to prevent division by zero later on.

Any ideas?

https://github.com/ntustison/antsCookTemplatePriorsExample/commit/78519eb5e767c43727290be97b7a13b4a1b5049b

Yup that was my next issue, looks like the script completed now, thanks for everything!


⚠ Fortnite has degraded performance

In e188f7a, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1561 ms

Resolved: Fortnite performance has improved in a49b8e1.


Make sure crypto-mdebug-backtrace must be enabled explicitely

As it was until now, crypto-mdebug-backtrace was enabled by default
and only disabled if crypto-mdebug was disabled.

+1

Merged


IW3 png resume attempts to parse thumbs.db and crashes

When resuming an iw3 interpolation operation, the system checks the rgb folder to detect where to pick up from. This check somehow is sweeping up the thumbs.db file autogenerated by windows to house generated thumbnails for Explorer and causes an int() error

issue could likely be patched if a check was implemented to verify that the extension on latest_checkpoint_filename matches the user-set Image Format.

Fixed https://github.com/nagadomi/nunif/commit/c221ab0509905c46ef377779e58f2579f8e55563
I haven't actually tested it on Windows, but it should be fixed.


Implemented addon blueprint for ember-cli-mirage that installs bower …

…deps and copies default structure into tests/dummy/app. Fixes #108

Looks like this now creates it in app/mirage (from the ember-cli-mirage blueprint) as well as in tests/dummy/app/mirage (from the ember-cli-mirage-addon blueprint). It needs to only install into tests/dummy/app/mirage :/. Let me see if I can think of a solution.

Fixed the issue noticed ^^^ by switching to root and adding the attr under fileMapTokens.

Also, tests/dummy/app/(fixtures | factories)/__path__.js can now be created by specifying the --dummy flag. (Ex: ember g fixture user --dummy creates tests/dummy/app/fixtures/user.js).

ping @samselikoff

lgtm, thanks so much!

so, how would one install this in an addon?

You can run the blueprint like normal, ember g ember-cli-mirage, or you can install the addon using ember install ember-cli-mirage. Either way will work. For factories and fixtures you'll probably want the --dummy option.


Fix: relURL missing / Issue #22

Adding relURL, so that a website laying in a subfolder is also shown properly
Issue #22 was not completly fixed
Description

I added relURL or .Site.BaseURL at places necessary.
Furthermore, I adopted the line wrapping in favicon.html to the new style proposal

Motivation and Context
If the website is not hosted at a primary domain like https://example.com/ , but instead on a subdomain like https://example.com/subdomain, some links were not resolved properly.
Further fix for issue  #22
How Has This Been Tested?
Tested on my own setup:

Tested with hugo server locally
Tested via a deployment to Gitlab pages with subdomain.

Hugo Version: 0.30.2
Browser(s): Firefox, Chromium, Chrome
Screenshots (if appropriate):
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation, including theme.toml, accordingly.
[x] I have read the Contributing Document.

Welcome and thank you for your additions!
Since we are addressing url related things, can you go ahead and change the example site base url to "/"? This will comply with the new theme rules from the hugoThemes site.

@pacollins Sorry, what do you mean with changing the example site base url to "/"?
If you mean if I have tested it with the example site sitting at "/" Yes, I did this test.
It sounds like an easy fix what you want, so maybe just do the fix by yourself?

@mharrend I went ahead and made the edit. I avoid making changes myself to other PRs because then it gives me partial credit even though you did the work. More of a courtesy thing.
PR Approved.


Update dcos_installer/backend.py::calculate_aws_template_storage_region_name to handle empty value for us-east-1

The aws s3 api will return an empty value when the buckets region is us-east-1 [1]. calculate_aws_template_storage_region_name has been updated to return the value us-east-1 when this happens.
[1] http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html#RESTBucketGETlocation-responses-response-elements

/cc @mellenburg

:ship: Gotta love the special region

ship-it. I am fine with this change.
My code-review comments were from the perspective of the reader trying to guess the value of the loc if it was None or an empty string, and trying to be explicit.


✨Label: allow html children

Requested by @FredrikMWold
Change Label prop type from String to ReactNode to allow html as children for label. His particular use case was to add a red "required star" (which will be added natively with eds 2.0), but there could be other use cases as well such as highligthing specific words etc.


cp -R dir/ target fails to copy hidden files in dir

The code for cp appends '*' to the source directory name if it ends with '/'. This causes the resulting file lookup to overlook hidden files in the source directory and fail to copy them.

Workaround: do the same shell.cp again, but add '.*' to the source

Once #275 is merged, I can write up a very quick fix for this.

Is this fixed in 0.7.0?

I forget when we fixed this, but this test case covers it, so this should be fixed now.
@s-panferov Thanks for pointing out this stale issue!


tests(rpc): Add fixed test vectors for z_getsubtreesbyindex from zcashd to zebra

Motivation
We want to test the z_getsubtreesbyindex against fixed test vectors obtained from zcashd and see if they match zebra.
Close https://github.com/ZcashFoundation/zebra/issues/7446
Solution
The idea is to add json outputs from zcashd into the zebra-test crate and then create a test that could compare this fixed outputs with answers from zebrad made in real time.
In order to test this in high heights we need a pretty much synchronized cache state for zebra.
Locally, i run this test as:
export ZEBRA_CACHED_STATE_DIR="/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zebra"
export RUST_LOG="info"
cargo test rpc_z_getsubtreesbyindex_zcashd_test_vectors -- --nocapture --ignored

Review
This is not ready yet because i don't have the right outputs from zcashd. In order to use the getsubtreesbyindex i had to reindex and that actually ended up downloading all the blocks again so i have a couple of days at least to be in sync again with zcashd.
But i pushed so other people can take a look to the overall structure and let me know if this is a good or bad idea. Thanks!
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

Follow Up Work

Just to be clear: I think doing this test manually with test vectors should also work. But it might take more effort to get working, or to maintain if the RPC changes.

Just to be clear: I think the way this PR does the test manually with test vectors should also work. But it might take more effort to get working, or to maintain if the RPC changes.

I think this is the wrong way to see it. The effort to make it work is already done. I can accept that it could be harder to maintain if the rpc changes.

We need to run this test with a cached Zebra state, but we're also trying to limit the number of CI jobs we have.
So I suggest adding it as another test in the same job as the existing Zebra RPC test:
https://github.com/ZcashFoundation/zebra/blob/5b0bc700981c39989f46a099d328e00b2166ebac/docker/entrypoint.sh#L88
You could copy that one line and change the test name, then make sure two test are being run in that CI job.

I added the tests mentioned here to this PR.
All the responses for the test vectors added by now are the same as zcashd:
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex sapling 0 1
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228239

Request:
z_getsubtreesbyindex sapling 0 1

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,002s
user	0m0,002s
sys	0m0,000s

Querying zcashd v5.6.1 main chain at height >=2228239...

real	0m0,006s
user	0m0,005s
sys	0m0,000s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.R63LEBv9BJ.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "sapling",
  "start_index": 0,
  "subtrees": [
    {
      "root": "754bb593ea42d231a7ddf367640f09bbf59dc00f2c1d2003cc340e0c016b5b13",
      "end_height": 558822
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex sapling 0 11
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228239

Request:
z_getsubtreesbyindex sapling 0 11

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,002s
user	0m0,001s
sys	0m0,000s

Querying zcashd v5.6.1 main chain at height >=2228239...

real	0m0,002s
user	0m0,000s
sys	0m0,001s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.g132P9v08V.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "sapling",
  "start_index": 0,
  "subtrees": [
    {
      "root": "754bb593ea42d231a7ddf367640f09bbf59dc00f2c1d2003cc340e0c016b5b13",
      "end_height": 558822
    },
    {
      "root": "03654c3eacbb9b93e122cf6d77b606eae29610f4f38a477985368197fd68e02d",
      "end_height": 670209
    },
    {
      "root": "e2bf698f5ac10b44da560d11a5e1d5c191a82a968a2be0a6948aa8748b545160",
      "end_height": 780364
    },
    {
      "root": "e71be1fd3963a2d700ed374d01fdd4a70d8dda8189a8f6602e5fe66c2c66a11d",
      "end_height": 839994
    },
...
      "end_height": 1056197
    },
    {
      "root": "163838d11a0525898f410397ae6ec627fa18b3184a021e088806947b3c5ca718",
      "end_height": 1109360
    },
    {
      "root": "089a1f9d50a037cc66aba4400b1703bcbb66f5f2993fd0dd3bb726e359409167",
      "end_height": 1169471
    },
    {
      "root": "0fc8a6ad74e65764d9bc2fcd13866b994731dfda821e6618a1a308bb1eccf51a",
      "end_height": 1256932
    },
    {
      "root": "cdd92a1e884cf1914dae8345423203832ec7bbf9d95ae50b82e4327b39d6d912",
      "end_height": 1363036
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex sapling 17 1
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228239

Request:
z_getsubtreesbyindex sapling 17 1

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,004s
user	0m0,004s
sys	0m0,000s

Querying zcashd v5.6.1 main chain at height >=2228239...

real	0m0,002s
user	0m0,002s
sys	0m0,000s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.QvmdYXCO7r.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "sapling",
  "start_index": 17,
  "subtrees": [
    {
      "root": "89ac51fcf846eacb2e7bca32d9bf3793792d2d952c1fec11e52b56d7674c1c36",
      "end_height": 1703171
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex sapling 1090 6
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228239

Request:
z_getsubtreesbyindex sapling 1090 6

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,005s
user	0m0,000s
sys	0m0,004s

Querying zcashd v5.6.1 main chain at height >=2228239...

real	0m0,030s
user	0m0,003s
sys	0m0,000s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.R7U1U2vWZZ.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "sapling",
  "start_index": 1090,
  "subtrees": [
    {
      "root": "507ebccc63e2ca45bd254975ca2b75f2a221a0167d514077472dc7ef1e04a638",
      "end_height": 1857525
    },
    {
      "root": "0240b333e243a38583b692b9ce5b2fbdfde41cfdd3f3067b5c7d94fda5387666",
      "end_height": 1860908
    },
    {
      "root": "bf299f8446bea806854e9b363ed890f83423cececd53293c81df92ff112aa43f",
      "end_height": 1866377
    },
    {
      "root": "4a4778e6242b3e708f040b4a373c8cdedd14c5c415ab20f32e46430507b1a346",
      "end_height": 1889548
    },
    {
      "root": "c1cffa22d637cb194102a1b02a57d2b47c67f54094f6773a38b2e53d3becb45f",
      "end_height": 1997495
    },
    {
      "root": "0ee7328354ad588ee9581b25a3e2b94dbb03db647b79538c8805d793c61b822d",
      "end_height": 2056616
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex orchard 0 1
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228239

Request:
z_getsubtreesbyindex orchard 0 1

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,002s
user	0m0,002s
sys	0m0,000s

Querying zcashd v5.6.1 main chain at height >=2228239...

real	0m0,002s
user	0m0,001s
sys	0m0,000s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.Yijqpe8TRh.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "orchard",
  "start_index": 0,
  "subtrees": [
    {
      "root": "d4e323b3ae0cabfb6be4087fec8c66d9a9bbfc354bf1d9588b6620448182063b",
      "end_height": 1707429
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex orchard 338 1
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228239

Request:
z_getsubtreesbyindex orchard 338 1

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,002s
user	0m0,000s
sys	0m0,001s

Querying zcashd v5.6.1 main chain at height >=2228239...

real	0m0,002s
user	0m0,001s
sys	0m0,000s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.aZVC2z7zpl.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "orchard",
  "start_index": 338,
  "subtrees": [
    {
      "root": "52c8d1ea6ef49c6e0d6bb6fef4520e1e3851895a04b52bfac1b1cc0fbbb3f709",
      "end_height": 1888929
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$ ./zcash-rpc-diff 6666 z_getsubtreesbyindex orchard 585 1
Checking first node release info...
Checking second node release info...
Connected to zebrad v1.2.0+24.g199c2bb.modified (port 6666) and zcashd v5.6.1 (./zcash-cli -rpccookiefile=/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash/.cookie zcash.conf port).

Checking zebrad v1.2.0+24.g199c2bb.modified network and tip height...
Checking zcashd v5.6.1 network and tip height...

WARNING: comparing RPC responses from different heights:
zebrad v1.2.0+24.g199c2bb.modified is at: 2228238
zcashd v5.6.1 is at: 2228240

Request:
z_getsubtreesbyindex orchard 585 1

Querying zebrad v1.2.0+24.g199c2bb.modified main chain at height >=2228238...

real	0m0,002s
user	0m0,001s
sys	0m0,000s

Querying zcashd v5.6.1 main chain at height >=2228240...

real	0m0,002s
user	0m0,000s
sys	0m0,001s

Response diff between zebrad v1.2.0+24.g199c2bb.modified and zcashd v5.6.1:
RPC responses were identical

/tmp/tmp.9jfRh8iB2V.rpc-diff/zebrad-main-2228238-z_getsubtreesbyindex.json, limited to 40 lines:
{
  "pool": "orchard",
  "start_index": 585,
  "subtrees": [
    {
      "root": "43c86869520ada7a2cd0deeecf3650f337f90bd4328b16144b0a278ad9fdaa08",
      "end_height": 2000126
    }
  ]
}
oxarbitrage@oxarbitrage:/media/oxarbitrage/4eb53770-4e4f-4d80-a830-0914f3f5b89a/chain/zcash$

The fully-synced-rpc failure looks like bug #7564:

tee: 'standard output': Broken pipe

https://github.com/ZcashFoundation/zebra/actions/runs/6207948275/job/16854306976?pr=7515#step:9:280

The run-lwd-grpc-wallet failure seems to be caused by an invalid cached state from a previous CI run:

2023-09-16T15:57:12.977740Z  INFO zebra_state::service::finalized_state::disk_format::upgrade: trying to open current database format running_version=Version { major: 25, minor: 2, patch: 0 }
...
2023-09-16T15:57:19.426808Z ERROR zebra_state::service::finalized_state::disk_format::upgrade::add_subtrees: missing subtree index=564

https://github.com/ZcashFoundation/zebra/actions/runs/6207948275/job/16854295441?pr=7515#step:9:185
That cached state is:

Description: Created from commit c187e2a with height 2227996 and database format v25-2-0 changing to v25-2-1
Selected Disk: lwd-cache-7566-merge-c187e2a-v25-mainnet-tip-u-152354

Which means the bug is in PR #7566. I'll fix the bug and delete those cached states.

Locally this test hanged with the latest changes but i want to check in the CI.


bst push will report success even if the local artifacts don't exist (and therefore aren't pushed)

See original issue on GitLab
In GitLab by [Gitlab user @tlater] on Jul 25, 2018, 16:25
Summary
Similar to #501, BuildStream will currently happily print SUCCESS with bst push, even when it doesn't do anything.
In this case, BuildStream won't push a non-existent artifact, but it will succeed anyway. This seems wrong.
Steps to reproduce

Have a project with no cached artifacts
Run bst push on any element

What is the current bug behavior?
BuildStream will print SUCCESS doing nothing (all to-be-pushed elements will be "waiting").
What is the expected correct behavior?
BuildStream should probably print FAILED, and SKIPPED for any artifact it doesn't push.
Relevant logs and/or screenshots
Possible fixes
Other relevant information

BuildStream version affected: /milestone %"BuildStream_v1.2"

In GitLab by [Gitlab user @Qinusty] on Aug 30, 2018, 16:39
mentioned in merge request !765

In GitLab by [Gitlab user @Qinusty] on Sep 20, 2018, 13:15
closed


Database?

I don't actually need a database b/c I can just store the votes in memory for a real-time poll. But what if I want to restart the server and not lose the votes? Currently I'm using nedb just as a simple beginner-friendly database example, please add your suggestions and thoughts to this thread!

Some suggestions (for using with NeDB):

Better Poll object

const poll = {
  question: "What should we do now?",
  description: "this may not be required",
  options: {
    a: "Live Poll Overlay",
    b: "Twitter API",
    c: "Tenor GIF API",
    d: "Spin the Wheel!"
  },
  votes: {
    a: 7,
    b: 2,
    c: 5,
    d: 8
  },
  _id: "sdhjgdhdkjfhlhuwkhshsm"
}
// options and votes can also be Arrays, that way inserting a new option will be a bit easier

Add a route"/votes/:pollId/live" (or something similar), where the actual graph will be shown (response.sendFile?).
Access the pollId from client by using window.location.href
Voting UI will be at  "/:pollId"?

I have made a super-simple database called keyvaluedb: https://npmjs.com/package/kvaluedb
Poll IDs as the keys, options as the values

SQLite might be a good option since it's light-weight and fairly simple to use. I can volunteer for making an simple abstraction -- it's hacktober, after all

@dipamsen this is a great idea, would gladly accept a pull request!!!! 💫

please explain this project

@crunchypi are you familiar with https://enmap.evie.dev/ by any chance? I see it is based on sqlite and started playing around with it.

@all-contributors add @dipamsen for ideas!

@shiffman apologies for the late reply, the notification got caught by the spam filter somehow :< Haven't tried enmap, unfortunately; is your impression that it could replace nedb in this repo? Would happily create a performance comparison in the near future after I've wrapped up another project (~a week).


False positive for used variables

Hi,
When I write a comment after the initialization of a variable used later (in the same line) it appears as unused:

but If set the comment before the variable initialization in a new line it works correctly:

Thanks!


use javax.lang.model for validation

for example: Param.isList should either take a VariableElement or a TypeMirror

resolved in 1.8


Missing documentation for some (probably newly added) aspnetcore 3.0 packages

Seems to me that the documentation for at least some packages of aspnetcore-3.0 not being part of Microsoft.AspNetCore.App framework are missing.
I don't know a list, examples are Microsoft.AspNetCore.SPAServices and Microsoft.AspNetCore.Authentication.Certificate, for example.

@webczat Please check the docs in https://github.com/dotnet/AspNetCore.Docs .  If not found, then please move this issue to that repo.


fix: get_columns_in_relation for LAMBDA catalogs

Description

When using a catalog of type LAMBDA (e.g. federated query) you will get errors like the following:
03:51:33    Parameter validation failed:
Invalid type for parameter CatalogId, value: None, type: <class 'NoneType'>, valid types: <class 'str'>

It's because we set the catalog ID to None when we actually need to not-pass it.
You would probably get the same problem using HIVE type but I haven't tested that.
Models used to test - Optional

Trying to show some kind of reprex here, the full config is a bit much for a PR description. Let me know if you want to see more.
Create some Lambda function that host the Athena federated query app:
resource "aws_lambda_function" "athena_postgres" {
  function_name    = "my_postgres_fdw"
  handler          = "com.amazonaws.athena.connectors.postgresql.PostGreSqlMuxCompositeHandler"
  runtime          = "java11"
  timeout          = 900
  memory_size      = 10240
  role             = var.iam_role_arn

  // https://github.com/awslabs/aws-athena-query-federation/releases
  filename = "${path.module}/../terraform/athena-postgresql-2024.15.2.jar"

  reserved_concurrent_executions = 10 // don't blow up your account limit!

  vpc_config {
    subnet_ids         = var.subnet_ids
    security_group_ids = var.security_group_ids
  }

  environment {
    variables = merge({
      disable_spill_encryption = "false"
      spill_bucket             = var.spill_bucket_name
      spill_prefix             = "fdw-spill/postgres"
      default                  = "postgres://jdbc:postgresql://${var.db_host}:${var.db_port}/?$${${var.db_credentials_secret_name}}"
      default_scale            = 0
    })
  }
}

Create the Athena catalog:
resource "aws_athena_data_catalog" "postgres" {
  name        = "postgres"
  type        = "LAMBDA"

  parameters = {
    "function" = aws_lambda_function.athena_postgres.arn
  }
}

Create the source:
version: 2
sources:
  - name: postgres
    description: |
      Foreign data wrapper implemented by some Lambda.
    database: postgres # athena catalog name
    schema: public # athena database name, postgres schema name

Create a model:
select * from {{ source('postgres', 'orders') }} // or whatever table in public schema

Checklist

[x] You followed contributing section
[x] You kept your Pull Request small and focused on a single feature or bug fix.
[?] You added unit testing when necessary
[?] You added functional testing when necessary

Dubious if this is worth functional+unit test or not, it's quite a lot of setup for a very small change and obviously not a lot of people are using dbt-athena + athena federated query otherwise they would have bumped into this.

@antonysouthworth-halter nice catch.
Thanks to providing the tf infra to make the setup reproducible.


Only record a diagnostic for a duplicate argument error

Instead of triggering error recovery from a duplicate argument error, only record a diagnostic. This ensures that we don't throw away any other definitions in the file when there's only a duplicate argument present.
Motivation
This should help us avoid taking the slow path in a case where duplicate arguments are detected.
Test plan

Existing tests should be sufficient

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_R6y6E4iFuSU4Ag
→ https://go/builds/bui_R6y6MAp0z7uxWe
→ https://go/builds/bui_R6y6kf4gvc4Nq9


Laboratories do not accept AAI/Krastorio Basic Tech Cards

The laboratories added by "5Dim's mod - New Automatization" do not accept AAI/Krastorio Basic Tech Cards. Even with "5Dim's mod - New Compatibility" installed along side. Is there a setting I am missing or are the Basic Tech Cards just not compatible?

Was about to open a new issue reporting the same. Anything above the most basic lab won't accept Basic Tech Cards from Krastorio 2 at all. There's no slot for them.


How  to call GPU to calculate?

I successfully load model and predict the result in Cpp flow, but the Task manager showed it runs on CPU instead of  GPU. So it predicted slowly. Do you know any way to call GPU in Cpp flow? Thanks!

I am also facing the same issue, Code is running on CPU instead of GPU. @ricolx can you help me out , if you solve it.


Add a “getAddressAbstracts” method for both NeoScan and Dora providers #750

I need to implement a “getAddressAbstracts” for both NeoScan and Dora providers that will return address abstracts data by using the “get_address_abstracts”.

what does this method serve to do? At this point, it seems like you are just implementing the full API interface. Does it need to go into the common provider interface? Why not just restrict all future updates to only Dora since it is the only supported interface for all the extra calls.

what does this method serve to do? At this point, it seems like you are just implementing the full API interface. Does it need to go into the common provider interface? Why not just restrict all future updates to only Dora since it is the only supported interface for all the extra calls.

Hi Snowy! We need to enhance neon-js to provide this information because its currently used by Neon Wallet Mobile (we currently obtain it through our direct integration with Neoscan).
As for why we are updating the common provider interface, we understand that neoscan, as a provider for neon-js, is going to be deprecated eventually but since all methods related to it are still available to be used on neon-js, we didn't feel like it would be good to perform this enhancements just on DORA's interface. To summarize it, while neoscan is still useable through neon-js, we would be mirroring all updates we need to do on DORA's interface to Neoscan's interface as well.
If we were to bring new enhancements to neon-js in the future and notice that Neoscan interface was not accessible anymore, then we would not mirror these updates to that interface anymore.
What do you think? If you understand that we should already stop mirroring these enhancements to Neoscan interface, we can change our PRs (and future approaches) so that only Dora interface is updated.

Hi Snowy! We need to enhance neon-js to provide this information because its currently used by Neon Wallet Mobile (we currently obtain it through our direct integration with Neoscan).

Sure I can see that and it is perfectly fine.

As for why we are updating the common provider interface, we understand that neoscan, as a provider for neon-js, is going to be deprecated eventually but since all methods related to it are still available to be used on neon-js, we didn't feel like it would be good to perform this enhancements just on DORA's interface. To summarize it, while neoscan is still useable through neon-js, we would be mirroring all updates we need to do on DORA's interface to Neoscan's interface as well.

Beyond Dora/neoscan, you are also updating the Provider interface. The addressabstract concept seems to be something that is specific to neoscan/dora. This does not really fit into the generic Provider interface as the blockchain itself does not define nor provide support for this concept. I am fine with adding the support into the specific clients but not to the generic interface. For services that depend on the address abstract, they should then just look for the specific implementation rather than try to depend on the Provider interface as that is meant for services that can use all possible combinations. I have previously accepted adjustments to the Provider interface for custom provider-specific methods but this is getting out of hand.

Hi Snowy! We need to enhance neon-js to provide this information because its currently used by Neon Wallet Mobile (we currently obtain it through our direct integration with Neoscan).

Sure I can see that and it is perfectly fine.

As for why we are updating the common provider interface, we understand that neoscan, as a provider for neon-js, is going to be deprecated eventually but since all methods related to it are still available to be used on neon-js, we didn't feel like it would be good to perform this enhancements just on DORA's interface. To summarize it, while neoscan is still useable through neon-js, we would be mirroring all updates we need to do on DORA's interface to Neoscan's interface as well.

Beyond Dora/neoscan, you are also updating the Provider interface. The addressabstract concept seems to be something that is specific to neoscan/dora. This does not really fit into the generic Provider interface as the blockchain itself does not define nor provide support for this concept. I am fine with adding the support into the specific clients but not to the generic interface. For services that depend on the address abstract, they should then just look for the specific implementation rather than try to depend on the Provider interface as that is meant for services that can use all possible combinations. I have previously accepted adjustments to the Provider interface for custom provider-specific methods but this is getting out of hand.

ok, I understood, I gonna implement the functionality of a new way, tks for your review @snowypowers


Add a configuration option to modify the filename containing hosts

In some instances (e.g. Laravel Homestead) there is a file called aliases used for other purposes.

👍  Can't use this plugin because of this

@brentmullen This has been added to the latest release (0.2.3). Please update using vagrant plugin update and enjoy. :)


Map keypress with modifier to multiple keypress

I'm looking to recreate the following macro I had set up in Karabiner under 10.11:
<autogen>
    	__KeyToKey__ KeyCode::ESCAPE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_OPTION,
    	KeyCode::A, KeyCode::B, KeyCode::C, KeyCode::RETURN
</autogen>

Is this not yet possible with the new syntax?

Dupe of #16 ?


Parse multiple mounts correctly

Part of: https://github.com/creek-service/creek-system-test/issues/172
...initial drop was adding, rather than setting, mounts. If there are two mounts Picocli calls the method with 0, 1 then 2 entries in the map.  If adding, the result is a list of 3 mounts, with the first one duplicated.  Code needs to set the list.
Reviewer checklist

[ ] Read the contributing guide
[ ] PR should be motivated, i.e. what does it fix, why, and if relevant, how
[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage: 98.8% (+0.002%) from 98.798% when pulling a98a148b57bcf6f23bb461cd1f43628fd54572f7 on parse-multiple-correctly into 1233cd75236a3bc8fe166af3b618ed7ae72ba408 on main.


'Could not deserialize null!' When update WikiPage

When I run this code:
`            _manager = new RedmineManager(host, apiKey);
var user = _manager.GetCurrentUser();
        var projectName = "vitplayground";
        var wikiPageName = "API created page";

        var page = _manager.GetAllWikiPages(projectName).Where(o => o.Title == wikiPageName).FirstOrDefault();
        if (page == null)
        {
            page = new WikiPage { Text = $"{DateTime.Now.TimeOfDay} This is a test", Comments = "This is a comment" };
        }
        else
        {
            page.Text = $"{DateTime.Now.TimeOfDay} This is a test";
        }

        _manager.CreateOrUpdateWikiPage(projectName, wikiPageName, page);`

I'm getting a Redmine.Net.Api.Exceptions.RedmineException: 'Could not deserialize null!' on the CreateOrUpdateWikiPage method. But it only happens if the page already exists. I have no idea what i'm doing wrong. Creating a new page works but when i'm adding a new file to the page i'm getting the same exception.

I'll check it and let you know. What version of redmine are you using?

Our redmine is hosted by Planio and they say it runs on version 3.3.2

So I just figured out that calling GetAllWikiPages() and filtering out the page you want returns an incomplete page. I think this is part of the main problem. There is a lot of page information (text, author and more) missing after fetching the pages like this.
When I use the GetWikiPage() method, it works just fine.

Right now I'm refactoring the entire library and I already solved quite a few issues. I will check this one as well.


Add support for .sasslintrc

Related: #533.

In the discussions it sounds like the agreed-upon name of the file was .sasslintrc (you even mention that in your comments. Why, then, does the code use .sassrc? Perhaps that's a typo?

@benthemonkey Yup that was a typo, thanks :)

Hey - could you add a Developer Certificate of Origin

DCO 1.1 Signed-off-by: Nicolas Gryman<EMAIL_ADDRESS>

I'll be very happy if it will come in next update :smile:

Hey @ngryman - Could you update this branch with the latest code on develop and fix any conflicts? Thanks.

Hey, I submitted this 3 months ago.
If the codebase has changed so much, I think one of you guys is better placed to do this no?
I don't know the project enough to do this quickly.
Thanks!

Im continuing this work in #755 thanks @ngryman for getting this started, sorry it's taken us so long to get around to it but we wanted to fix a lot of other stuff before adding this functionality.


Application crashing after updating Firebase SDK

I updated my Firebase SDK from and to
Xamarin.Firebase.iOS.Analytics 6.4.1 updating to 6.9.0
Xamarin.Firebase.iOS.Core 6.6.6 updating to 6.10.4
Xamarin.Firebase.iOS.InstanceID 4.3.3 updating to 4.8.0
Xamarin.Firebase.iOS.PerfomanceMonitoring 3.1.11 updating to 3.3.0
It compiled and builded. With no errors. But when Xamarin is opening the simulator or device it will crash after 3 seconds. It also does not leave any logs on visual studio's application output.
I've tried installing all other Xamarin.Firebase.iOS SDK incases in had dependencies on other SDK. It still crash after 3 seconds on simulator or device
I've uploaded sample repo with only 3MB file size
https://github.com/mvbrazas/firebaseupdatecrash

Finally solved my issue. The issue is with my Plugin.FirebasePushNotification 3.3.10 SDK. It has unlogged issue when I updated the other Firebase SDK. After I removed it my application stopped crashing.
To fixed the issue without removing Plugin.FirebasePushNotification I just have to install Xamarin.Firebase.iOS.CloudMessaging 4.7.1


Could you release the reproduction data for your result

I'm testing the pass rate evaluation, could you offer the reproduction data like Toolbench?
Thanks for your reply

Hi! Thank you for your interest in our work.
We are planning to publish our model inference results soon. However, OpenAI updated their gpt-4-turbo models this month. With the new model as the evaluator, the performance will systematically drop. We used gpt-4-turbo-preview in our experiments but the behaviour of this model also changed a lot. We will soon update the model performance with gpt-4-turbo-2024-04-09. We are also training our own evaluator model with an open-source model to replace these closed-source models.

Hi, thanks for your great job of StableToolBench. Is there any update on the release plan of model inference results?
I'm working on StableToolBench to build benchmark with other evaluation metrics. However, it's expensive to rerun all the model inference results. While the evaluation setup may change, is it possible to release the inference results first? It seems that the inference results will be always consistent during the whole evaluation process.


Feature handler timeout now overrides default timeout regardless of value

Description
Previously handlerTimeout could only overwrite the default timeout if it was lesser than the default timeout, this is problematic in instances where we need a greater timeout than default timeout as in
https://github.com/MatrixAI/Polykey/pull/589#event-10717978415
This PR aims to override this by allowing handlerTimeout to have priority over normal timeout irrespective of value, this is implemented as so.
     const timeout = this.defaultTimeoutMap.get(method);
      if (timeout != null) {
        // Reset handlerTimeout with new delay if it is less than the default
        timer.reset(timeout);
      } else {
        // Otherwise refresh
        timer.refresh();
      }

With this we hope to be able to have custom timeout for handlers even if we need to extend the timeout to be more than the default value.
Issues Fixed

Fixes https://github.com/MatrixAI/Polykey/issues/588

Tasks

[x] 1. Rename handlerTimeout
[x] 2. Change implementation from overriding when timeout is only lesser to always
[x] 3. Fix jests

Final checklist

[x] Domain specific tests
[x] Full tests
[x] Updated inline-comment documentation
[ ] Lint fixed
[ ] Squash and rebased
[ ] Sanity check the final build

This needs a test for the overriding behaviour, both lesser and greater.
Also remember to squash.

Is the best way to reset the timer vs just setting the overriding the actual timeout value?

Is the best way to reset the timer vs just setting the overriding the actual timeout value?

Idk what you mean by this

Is the best way to reset the timer vs just setting the overriding the actual timeout value?

Idk what you mean by this

Can we override the timeout number?

I think you need to show in a test very clearly.

Timeout at the call site overrides everything, overrides default client timeout.
Timeout for the method handler overrides default server timeout.

I don't see 1. in the test.

Don't check the final checklist until the very end.

Let's expand the scope of this PR a bit, it really should ensure that localised timeouts override global timeouts for both client and server.

@amydevs can you take over this PR since the js-rpc actually requires consideration of the timeout architecture properly - I would want this the entire thing to be documented on the README.md the overriding order of priority.
Plus the name of the timeout parameters... is very weird, can you make them consistent between RPCServer and RPCClient.

@amydevs see the comment here: https://github.com/MatrixAI/Polykey/pull/589#issuecomment-1767668744

Make the timeout parameters consistent between client and server.

Add server timeout check for positive timeouts only.
Should throw an exception if timeout is 0 or negative.

Server has a timeout to 100.
Client has timeout set to 50.
50 should take priority
When handler handles, it should take 50 as timeout.

Client timeout is 100.
Server timeout is 50.
Lesser timeout becomes the default timeout for both.

Call timeout ctx timer
This timeout will override rpcClient timeout. - This is already present.

Handler has timeout, Handler.timeout.
Handler should override the server timeout no matter the value. - This is already present.

JSON spec doesn't have Infinity.
Type of timeout property has to be null or number.
Null means Infinity in JSON.
When Parsing JSON, if timeout is null, parse it to Infinity.

Add server timeout check for positive timeouts only.

Should throw an exception if timeout is 0 or negative.

Server has a timeout to 100.

Client has timeout set to 50.

50 should take priority

When handler handles, it should take 50 as timeout.

Client timeout is 100.

Server timeout is 50.

Lesser timeout becomes the default timeout for both.

Call timeout ctx timer

This timeout will override rpcClient timeout. - This is already present.

Handler has timeout, Handler.timeout.

Handler should override the server timeout no matter the value. - This is already present.

JSON spec doesn't have Infinity.

Type of timeout property has to be null or number.

Null means Infinity in JSON.

When Parsing JSON, if timeout is null, parse it to Infinity.

This is a good start, but this information needs to be condensed into a requirement and put into the spec. We want it clear and easy to find that this is how we want the RPC to behave as a requirement.

@addievo write up the spec in a better way onto the README.md. Use a list or table.

Requires rebase?

I'm going to merge now and do a release.


Set stroke width?

Is there a way to set the stroke width of the lines on a line chart?

Ah, turns out I found out by myself!
->setStroke(2, [], 'smooth')


Buttons - Visual design

Buttons

Default transition for all hover states should be .1s ease.

[ ] Add Small variant

[ ] add small variant parsing to Button.js
[ ] move styles to theme-ui.js
[ ] fix link styling
[ ] add new primary styling
[ ] add new secondary styling
[ ] add new small styling

@shea-fitz Should buttons containing external links display an arrow icon svg on the right, like they did before?

@isaacpearl Icons within buttons should be left-aligned as shown

Closed by #222


Deployment commit for prod-stable

Merged main branch to prod-stable.
Use latest commit to update namespace ref in app-interface repo. Don't use merge commit, SHAs must be unique when images are created for each branch.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.96%. Comparing base (202b712) to head (ca0dfc9).

Additional details and impacted files
@@             Coverage Diff              @@
##           prod-stable    #1214   +/-   ##
============================================
  Coverage        76.96%   76.96%
============================================
  Files               68       68
  Lines              673      673
  Branches           100      100
============================================
  Hits               518      518
  Misses             155      155

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Output Provisioning for large files very slow

Feature Request
While working around #580  writing files to tmp and then uploading with s3cmd adds considerable time to a process due to dockstore copying files out of datastore to the 'final' location before they are available.  68 GB file adds ~2.5 hours to process.  Copy seems remarkably slow under java.
Desired behaviour
Option for fast copy without progress meters in FileProvisioning.copyFromInputStreamToOutputStream?
Possible that a larger value than Util.DEFAULT_COPY_BUFFER_SIZE (1k by the look of it) may help but copying to memory is always going to make it slower.
private void copy(String in, String out) throws Exception {
    FileChannel fin = new FileInputStream(in).getChannel();
    FileChannel fout = new FileOutputStream(out).getChannel();

    fout.transferFrom(fin, 0, new File(in).length());

    fin.close();
    fout.close();
}

Steps to reproduce the behaviour
Anything that copies a large file into the output locations.
Environment (Browser or OS and Dockstore version)
Dockstore Client 1.1.2

Sounds like a good thing to tune/look into.

Should be functional on staging.dockstore.org (1.2.0 beta)


chore: release main

:robot: I have created a release beep boop
node-versions: 2.0.8
2.0.8 (2024-10-25)
Bug Fixes

update available Node.js versions (3d22d99)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

node-versions-v2.0.8

:sunflower:


EKS-D patches and configuration for 1.25-eksd

This PR introduces the necessary changes for 1.25-eksd.

Any changes of this file we may want to have in this branch too https://github.com/canonical/microk8s/pull/3602/files#diff-74a164875ba8f7095e02f4594d9e06d0a7649aa7a17d9a34e442645ff73539b4 ?


Removing duplicate "Videos" Item from "Resources" section of TOC

Affected Page URL: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends
There is duplicate "Videos" item under Resources in TOC.
Both the "Videos" redirect to the same URL.
Removed one "Videos" item and kept the one having sort filter.

@SunnyOswal : Thanks for your contribution! The author, @, has been notified to review your proposed change.

Good catch, thanks for submitting this PR. #sign-off

@JSeb225: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off

@vasivara-MSFT: I'm sorry - only the author of this article, @, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Missing autocomplete for icons?

What happened?
Hi @owenvoke!
We have this issue that there is no autocomplete for the icons from this package, while there is for e.g. hero-icons.

The icons do work fine though!
Do you experience this yourself as well?
Library version
2.6.0
PHP version
8.3.8
What operating systems are you seeing the problem on?
macOS
Notes
No response

i have the same problem on

Ubuntu 24.04
PHP 8.3.9
Laravel 11
PhpStorm 2024.1

What happened?
Hi @owenvoke!
We have this issue that there is no autocomplete for the icons from this package, while there is for e.g. hero-icons.
The icons do work fine though!
Do you experience this yourself as well?
Library version
2.6.0
PHP version
8.3.8
What operating systems are you seeing the problem on?
macOS
Notes
No response

try this https://github.com/moh-slimani/blade-fontawesome


Can't compile R package in WSL (Ubuntu 16.04)

Specs:

Operating System: Ubuntu 16.04 (WSL)
R version: 3.5
Compiler: gcc 5.4
Commits tried: master (dc69957), 497e60e (before master), 4967709 (R 3.5 fix)

It seems gcc in WSL is more strict on types.
I'm trying to compile the R package under WSL, and I'm getting the following errors:
Lolo@Laurae-Server:/mnt/e/WSL/R/LightGBM/R-package$ R CMD INSTALL --build . --no-multiarch
* installing to library ‘/mnt/e/WSL/R-lib/R-3.5.0’
* installing *source* package ‘lightgbm’ ...
** libs
installing via 'install.libs.R' to /mnt/e/WSL/R-lib/R-3.5.0/lightgbm
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/e/WSL/R/LightGBM/R-package/src/build
Scanning dependencies of target _lightgbm
[  3%] Building CXX object CMakeFiles/_lightgbm.dir/src/c_api.cpp.o
[  6%] Building CXX object CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o
In file included from /mnt/e/WSL/R/LightGBM/R-package/src/include/LightGBM/lightgbm_R.h:8:0,
                 from /mnt/e/WSL/R/LightGBM/R-package/src/src/lightgbm_R.cpp:14:
/mnt/e/WSL/R/LightGBM/R-package/src/include/LightGBM/R_object_helper.h:36:9: error: ‘ptrdiff_t’ does not name a type
 typedef ptrdiff_t R_xlen_t;
         ^
/mnt/e/WSL/R/LightGBM/R-package/src/include/LightGBM/R_object_helper.h:107:3: error: ‘R_xlen_t’ does not name a type
   R_xlen_t length;
   ^
/mnt/e/WSL/R/LightGBM/R-package/src/include/LightGBM/R_object_helper.h:108:3: error: ‘R_xlen_t’ does not name a type
   R_xlen_t truelength;
   ^
cc1plus: warning: unrecognized command line option ‘-Wno-ignored-attributes’
CMakeFiles/_lightgbm.dir/build.make:86: recipe for target 'CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o' failed
make[3]: *** [CMakeFiles/_lightgbm.dir/src/lightgbm_R.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/_lightgbm.dir/all' failed
make[2]: *** [CMakeFiles/_lightgbm.dir/all] Error 2
CMakeFiles/Makefile2:116: recipe for target 'CMakeFiles/_lightgbm.dir/rule' failed
make[1]: *** [CMakeFiles/_lightgbm.dir/rule] Error 2
Makefile:175: recipe for target '_lightgbm' failed
make: *** [_lightgbm] Error 2
Error in eval(ei, envir) : Cannot find lib_lightgbm.so
* removing ‘/mnt/e/WSL/R-lib/R-3.5.0/lightgbm’

@Laurae2 can you try this pr #1386 ?

@guolinke Works with #1386 (tested also lgb.train example).


Add backup feature like as in Soul Browser.

It would be really good to backup our settings to device and restore it, right?
Like this

Duplicate of #122

Duplicate of #122

What makes you think that this issue is "duplicate"?

Because it's the same feature request.


Inconsistency between DDC and dart2js the Selection class did not implement the toString method to return the selected text

Inconsistency between DDC and dart2js the Selection class did not implement the toString method to return the selected text, at the moment toString returns the selected text only in DDC and in Dart2JS it returns "Instance of 'Selection'"
Dart version 2.12.4
var sel = window.getSelection();
      var textSel = sel.toString();
      print('seleção $textSel');

I'm not able to reproduce this problem myself with your code sample. Could you provide more details about the setting where you experience this error?

I have the same problem with an angulardart project on Dart SDK 2.12.

@nshahan
I did the same test with the Dart version 2.10.0 , 2.13.0 and 2.14.0. In all cases, the same error appears.

project with example: https://github.com/GMChristo/richTextExampleBugDart
important: error only in dart2js, in DDC is working

in line 27680 of this file the class Selection does not implement the toString() method, I believe it is just implementing this method and launching a path to dart 2.12 to solve the problem.
https://raw.githubusercontent.com/dart-lang/sdk/main/sdk/lib/html/dart2js/html_dart2js.dart
to solve the problem temporarily, just do this.
import 'dart:js_util' as js_util;
import 'dart:html';

extension ToString on Selection {
  String asString() {
    var result = js_util.callMethod(this, 'toString', []);
    return result.toString();
  }
}

var sel = window.getSelection();
var textSel = sel.asString();
print('seleção $textSel');

It still seems like there is some other issue going on here because with a more basic example I still can't reproduce the issue. This program works as expected when compiled with dart2js:
<!DOCTYPE html>

Hello World!

import 'dart:html';

main() {
  document.onMouseUp.forEach((element) {
    var sel = window.getSelection();
    print('Selected Text: >>> $sel <<<');
  });
}

I tried using your example app and I'm not sure how to trigger the issue. I entered text into the text box, highlighted it and clicked the "bold" button. The highlighted text was printed to the console using window.getSelection() https://github.com/GMChristo/richTextExampleBugDart/blob/14a331f0cb527c3778fdefd1836aa7697be5d42a/lib/src/rich_text_editor/rich_text_editor.dart#L313.

I run your basic example and the error continues. I tried in Windows 10 with dart sdk 2.12 and in Debian 10

This is very interesting! Can you share the command you used to compile with dart2js?

 dart2js .\main.dart -o main.js

as can be seen in print

Thanks for this report and your patience as I tried to reproduce the issue. Part of the problem was that there was another change I didn't realize was hiding this bug and I wasn't going back far enough in time with my local Dart SDK to avoid that. We now have a working reproduction and @srujzs is looking into a solution that works well for all native types coming from the browser.


fix: all test passed

All javascript code errors are removed and each test is passed

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Update or replace django-sortedm2m

We use the package django-sortedm2m in edx/course-discovery, edx/credentials. It hasn't yet added support for Django3.2. Please follow the guidance in https://openedx.atlassian.net/wiki/spaces/AC/pages/3036972032/Handling+Outdated+Dependencies to resolve the problem this poses for the Open edX Django 3.2 upgrade.

@natabene  A PR that adds support for Django 3.2 was already merged into master, but there hasn't been a new release since then. I have created an issue to make a new release of the package to enable this upgrade https://github.com/jazzband/django-sortedm2m/issues/188

@natabene Django 3.2 is supported now with the release 3.1.0. However, this new version has not been published to PyPi.  I already left another comment to see if they are going to publish it any time soon

@magajh Great, thanks so much for an update. @Jawayria At which point do we mark it in the Dependencies table as done?

@natabene yes 3.2 support is added but still there is no PR so we can add a comment in sheet, but no need to change the status.

we can close this new release is available.

This is done now.


App crashes on some devices with firebase.firestore.util.AsyncQueue

My app crashes on some of my clients devices. Used to run just fine till my last update.
I suspect it is not related to any of my code, but rather to this issue:
https://stackoverflow.com/questions/56901458/note-cloud-firestore-overrides-a-deprecated-api
Pubspec and Gradle files can be seen there as well
Steps to Reproduce

Unfortunately there's no minimal code that I can supply that demonstrates the issue.
I do know that it happens when my clients try to write to Firestore DB.
Logs
Crash log (from Google Play Developer Console):
java.lang.RuntimeException: at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$5(com.google.firebase:firebase-firestore@@19.0.0:379)
  at com.google.firebase.firestore.util.AsyncQueue$$Lambda$5.run (Unknown Source:2)
  at android.os.Handler.handleCallback (Handler.java:794)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loop (Looper.java:176)
  at android.app.ActivityThread.main (ActivityThread.java:6651)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:824)
Caused by: java.lang.RuntimeException:
  at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$3
  at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run (Unknown Source:4)
  at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
  at java.util.concurrent.FutureTask.run (FutureTask.java:266)
  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
  at com.google.firebase.firestore.util.AsyncQueue$DelayedStartFactory.run
  at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.IllegalArgumentException:
  at com.google.firebase.firestore.model.FieldPath.fromServerFormat
  at com.google.firebase.firestore.remote.RemoteSerializer.decodeDocumentMask
  at com.google.firebase.firestore.remote.RemoteSerializer.decodeMutation
  at com.google.firebase.firestore.local.LocalSerializer.decodeMutationBatch
  at com.google.firebase.firestore.local.SQLiteMutationQueue.decodeInlineMutationBatch
  at com.google.firebase.firestore.local.SQLiteMutationQueue.lambda$getNextMutationBatchAfterBatchId$4
  at com.google.firebase.firestore.local.SQLiteMutationQueue$$Lambda$5.apply (Unknown Source:4)
  at com.google.firebase.firestore.local.SQLitePersistence$Query.firstValue
  at com.google.firebase.firestore.local.SQLiteMutationQueue.getNextMutationBatchAfterBatchId
  at com.google.firebase.firestore.local.LocalStore.getNextMutationBatch
  at com.google.firebase.firestore.remote.RemoteStore.fillWritePipeline
  at com.google.firebase.firestore.remote.RemoteStore.enableNetwork
  at com.google.firebase.firestore.remote.RemoteStore.start
  at com.google.firebase.firestore.core.FirestoreClient.initialize
  at com.google.firebase.firestore.core.FirestoreClient.lambda$new$2
  at com.google.firebase.firestore.core.FirestoreClient$$Lambda$2.run (Unknown Source:8)
  at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$4
  at com.google.firebase.firestore.util.AsyncQueue$$Lambda$4.call (Unknown Source:2)
  at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$3

Futter doctor
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-IL)
    • Flutter version 1.5.4-hotfix.2 at /Users/ez/flutter
    • Framework revision 7a4c33425d (10 weeks ago), 2019-04-29 11:05:24 -0700
    • Engine revision 52c7a1e849
    • Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/ez/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • ios-deploy 1.9.4
    • CocoaPods version 1.7.3

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.0.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

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

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
    • iPhone Xʀ                 • 95E911DA-92AE-4543-8D3B-AACAED989FC8 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator)

• No issues found!

java.lang.RuntimeException: at com.google.firebase.firestore.util.AsyncQueue.lambda$panic$5(com.google.firebase:firebase-firestore@@19.0.0:379)
at com.google.firebase.firestore.util.AsyncQueue$$Lambda$5.run (Unknown Source:2)
at android.os.Handler.handleCallback (Handler.java:794)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:176)
at android.app.ActivityThread.main (ActivityThread.java:6651)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:824)
Caused by: java.lang.RuntimeException:
at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$3
at com.google.firebase.firestore.util.AsyncQueue$$Lambda$3.run (Unknown Source:4)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:457)
at java.util.concurrent.FutureTask.run (FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:301)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
at com.google.firebase.firestore.util.AsyncQueue$DelayedStartFactory.run
at java.lang.Thread.run (Thread.java:764)
Caused by: java.lang.IllegalArgumentException:
at com.google.firebase.firestore.model.FieldPath.fromServerFormat
at com.google.firebase.firestore.remote.RemoteSerializer.decodeDocumentMask
at com.google.firebase.firestore.remote.RemoteSerializer.decodeMutation
at com.google.firebase.firestore.local.LocalSerializer.decodeMutationBatch
at com.google.firebase.firestore.local.SQLiteMutationQueue.decodeInlineMutationBatch
at com.google.firebase.firestore.local.SQLiteMutationQueue.lambda$getNextMutationBatchAfterBatchId$4
at com.google.firebase.firestore.local.SQLiteMutationQueue$$Lambda$5.apply (Unknown Source:4)
at com.google.firebase.firestore.local.SQLitePersistence$Query.firstValue
at com.google.firebase.firestore.local.SQLiteMutationQueue.getNextMutationBatchAfterBatchId
at com.google.firebase.firestore.local.LocalStore.getNextMutationBatch
at com.google.firebase.firestore.remote.RemoteStore.fillWritePipeline
at com.google.firebase.firestore.remote.RemoteStore.enableNetwork
at com.google.firebase.firestore.remote.RemoteStore.start
at com.google.firebase.firestore.core.FirestoreClient.initialize
at com.google.firebase.firestore.core.FirestoreClient.lambda$new$2
at com.google.firebase.firestore.core.FirestoreClient$$Lambda$2.run (Unknown Source:8)
at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$4
at com.google.firebase.firestore.util.AsyncQueue$$Lambda$4.call (Unknown Source:2)
at com.google.firebase.firestore.util.AsyncQueue.lambda$enqueue$3

Well, I told you on StackOverflow that it is unrelated to the warnings. However, I am also seeing these crashes from users. I will create another issue trying to pack all the issues I am seeing together.
In my case it is not connected to writing.

Hello @zaidman !
Did you manage to solve the issue? Does the problem still persist in the latest stable version?

@janmoppel Probably, check https://github.com/firebase/firebase-android-sdk/issues/629. This should be a https://github.com/FirebaseExtended/flutterfire issue now.

@janmoppel the crash was caused by a problem in my code (calling Firebase with a null key).
As for the warnings themselves - still getting them, but I now know that they do no harm, not now anyway. Hope that helps

Got it, thank you, @creativecreatorormaybenot !
Glad to hear that, @zaidman ! Then I'm closing this issue, as it was resolved.

@zaidman
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1217. Any further collaboration will be done there.


Lots of console errors

I am using fresh laravel install and manged to make editor work (e.g., editor initializes and code is displayed correctly), but it produces error messages like this (and they keep appearing on mouse hover):
Uncaught Error: Cannot read property 'getText' of null

TypeError: Cannot read property 'getText' of null
    at Object.findDocumentLinks (html.worker.js:25914)
    at HTMLWorker.<anonymous> (html.worker.js:29225)
    at step (html.worker.js:29156)
    at Object.next (html.worker.js:29137)
    at html.worker.js:29131
    at new Promise (<anonymous>)
    at __awaiter (html.worker.js:29127)
    at HTMLWorker.findDocumentLinks (html.worker.js:29221)
    at EditorSimpleWorker.fmr (html.worker.js:9078)
    at SimpleWorkerServer._handleMessage (html.worker.js:6696)

TypeError: Cannot read property 'version' of null
    at Parser.parseStylesheet (css.worker.js:35538)
    at CSSWorker.<anonymous> (css.worker.js:47080)
    at step (css.worker.js:47034)
    at Object.next (css.worker.js:47015)
    at css.worker.js:47009
    at new Promise (<anonymous>)
    at __awaiter (css.worker.js:47005)
    at CSSWorker.doComplete (css.worker.js:47076)
    at EditorSimpleWorker.fmr (css.worker.js:9078)
    at SimpleWorkerServer._handleMessage (css.worker.js:6696)

TypeError: Cannot read property 'languageId' of null
    at getScanner (css.worker.js:40918)
    at computeFoldingRanges (css.worker.js:40943)
    at Object.getFoldingRanges (css.worker.js:40907)
    at CSSWorker.<anonymous> (css.worker.js:47179)
    at step (css.worker.js:47034)
    at Object.next (css.worker.js:47015)
    at css.worker.js:47009
    at new Promise (<anonymous>)
    at __awaiter (css.worker.js:47005)
    at CSSWorker.getFoldingRanges (css.worker.js:47175)

I am puzzled about what to do. Any hints?

Looks like maybe you have made a model which is null? I think you need probably to share your editor's code for someone to help you with any certainty

For anyone else who stumbles upon the same issue - I figured it out. I somehow expected that I can freely use editor API to create and switch models (with different languages) on the fly for tabbed navigation. As it turns out, it does not work that way. It kinda works, editor works fine itself, but the problem is with workers.
Since error messages were not helpful, there is no proper documentation, no real demos (for how use multi-model instance), to solve my issue, I had to view source code of https://microsoft.github.io/monaco-editor/ page itself and to copy-paste their code. It turns out that you have to create all models for every language at the start and that way it works fine. If you create new models with different languages afterwards, then workers fails to work properly.

To my surprise, it turns out that you have to create all models for every language at the start and that way it works fine. If you create new models with different languages afterwards, then workers fail to work properly.

It would be very helpful if you could add a snippet that reproduces this so we can fix the bug you are running into.

I wish there was a documentation for how to use mutiple tabs with different languages or at least one proper demo. That would have saved me a lot of time (initially, I thought this maybe is laravel/mix/webpack issue, but it is not).

This is the only sample that shows how to use a model across two editors -- https://github.com/microsoft/monaco-editor-samples/tree/main/browser-amd-shared-model . PR welcome to improve it to do tabs or to add another one that shows how tabs can be built.


chore: update react-helmet-async to v2

Upgrade react-helmet-async to the latest release.

Weird, CI failed, can you look?

Yes, I'm going to look into it


Add some initial examples

Signed-off-by: Joshua Packer<EMAIL_ADDRESS>Placement examples:

cluster-list
cluster-replicas
dr-placement
noop-scheduler

/lgtm


Assert size_of type parameter greater than zero

Partial fix for: https://github.com/polyfractal/bounded-spsc-queue/issues/15
I couldn't figure out how to make this a compile-time error. It may be possible to do something with CTFE when that is more fleshed out.

Heya @spearman, sorry for letting this rot.  Do you think this is still relevant?  I haven't kept up with Rust lately, and haven't used the library actively for a while so you're a better judge than me :)

There has been some progress in constant evaluation in the last few Rust versions, and there is now a static_assertions crate with some convenience macros: https://crates.io/crates/static_assertions, but I was not able to get this to work in this case for generic 'T':
fn make<T>(capacity: usize) -> (Producer<T>, Consumer<T>) {
const_assert!(std::mem::size_of::<T>() != 0);
...
---
error[E0277]: the trait bound `T: std::marker::Sized` is not satisfied
`T` does not have a constant size known at compile-time

One thing that appears to work at least for unit and zero-sized arrays is using an auto trait:
#![feature(optin_builtin_traits)]

pub auto trait Nonzero {}
impl !Nonzero for () {}
impl<T> !Nonzero for [T; 0] {}

...

fn make<T: Nonzero>(capacity: usize) -> (Producer<T>, Consumer<T>) {
...

So that covers only unit and zero-sized arrays, but not any user-created zero-sized types.
Really the main thing with this pull request is the assertion prints out a more informative error message, whereas before the program will just Segfault without explanation.


feat(service_integration): add source and destination project names

Add aiven_service_integration resource field destination_service_project: Destination service project name
Add aiven_service_integration resource field source_service_project: Source service project name
Add aiven_service_integration datasource field destination_service_project: Destination service project name
Add aiven_service_integration datasource field source_service_project: Source service project name

The test is skipped by default, because it requires two projects.

[tests]](https://github.com/aiven/terraform-provider-aiven/actions/runs/12279059664)


Implement Accessibility Ids for Settings Screen

A followup task to Issue https://github.com/willowtreeapps/vocable-ios/issues/351.
Finish adding the AX identifiers for the Settings Screen into the AXIdentifier/AccessibilityID+Settings file.
Propagate into any tests that are affected.
A list of elements to id is in the SettingsScreen.swift page object file.
Acceptance Criteria
All tests run successfully

I got a little work started on this. You can use this branch if you want or just start your own. There's not much done.
automation/671-ax-ids-for-settings-screen


textInput and other components inside InputAccessoryView do not show on initial rendering

Description
All components (including textInput) inside InputAccessoryView do not show initially. Only when you input anything, it will show. After navigating back to this page again later, the keyboard will not show. here is the code inside InputAccessoryView:

 this.inputRef = ele}
                            style={styles.textInput}
                            placeholder="Search BAYA ... "
                            placeholderTextColor='grey'
                            autoFocus={true}
                            onChangeText={text => this._searchItems(text)}
                            clearButtonMode='always'
                            onSubmitEditing={text => this._submitAndClear}
                            blurOnSubmit={true}
                        />

## React Native version:
Run `react-native info` in your terminal and copy the results here.
System:
    OS: macOS 11.4
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 1.52 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.17.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 30.0.3
      System Images: android-28 | Intel x86 Atom_64, android-29 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_291 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
## Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
export default SearchProduct

After navigation into this page, the search section doesn't show.
Only after typing anything, the search section will show.
After navigating back to this page, the keyboard doesn't show.

Expected Results
The keyboard and searchSection should be always visible on this page.
Snack, code example, screenshot, or link to a repository:
Here is the code:
import React from 'react';
import {
StyleSheet, View, TextInput, Pressable, FlatList, Text, Button, InputAccessoryView
} from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
import searchTerms from '../data/searchTerms';
class SearchProduct extends React.Component {
constructor(props) {
    super(props);
    this.state = {
        data: [],
        inputText: 'Search Baya',
    };
};

//Dummy data
_renderSeparator = () => {
    return (
        <View
            style={{
                height: 1,
                width: '100%',
                backgroundColor: '#CED0CE',
            }}
        />
    );
};

_searchItems = text => {
    if (text.length <= 0) { return; }
    let newData = searchTerms.filter(item => {
        const itemData = `${item.key.toUpperCase()}`;
        const textData = text.toUpperCase();
        return itemData.startsWith(textData);
    });
    this.setState({
        data: newData,
        inputText: text
    });
    console.log("Inputed: " + text + " but state is: " + this.state.inputText);
    //        console.log(this.state.data);

};

_navigation = (text) => {
    //        console.log('search product: ' + text);
    this.props.navigation.navigate('ProductRelated', { name: text });
}

_onPressSearchedText = (name) => {
    //        console.warn('Item Pressed ' + name);
    this.setState({
        inputText: name
    });
    //        console.log("Presseed: " + name + " Input state is: " + this.state.inputText);
    this._navigation(name);
};

_submitAndClear = () => {
    console.log('In SearchProduct submit clear. state:' + this.state.inputText)
    this._navigation(this.state.inputText);
};

componentDidMount() {
    //this.inputRef.focus();
    this.setState({
        inputText: ''
    });
    console.log('componentDidMount ' + this.state.inputText);
    if (this.inputRef.current) {
        setTimeout(() => this.inputRef.current.focus(), 500);
    }

};

render() {
    return (
        <View>
            <FlatList
                data={this.state.data}
                renderItem={({ item }) => (
                    <Pressable onPress={() =>
                        this._onPressSearchedText(item.key)}>
                        <Text style={styles.searchedText}>{item.key} </Text>
                    </Pressable>
                )}
                keyExtractor={(item, index) => item.key}
                ItemSeparatorComponent={this._renderSeparator}
                keyboardShouldPersistTaps={'handled'}
            />
            <InputAccessoryView backgroundColor="#fffffff7">
                <View style={styles.searchSection} >
                    <Icon style={styles.searchIcon} name='search' size={20} color='#000' />
                    <TextInput
                        ref={ele => this.inputRef = ele}
                        style={styles.textInput}
                        placeholder="Search BAYA ... "
                        placeholderTextColor='grey'
                        autoFocus={true}
                        onChangeText={text => this._searchItems(text)}
                        clearButtonMode='always'
                        onSubmitEditing={text => this._submitAndClear}
                        blurOnSubmit={true}
                    />
                    <Button
                        onPress={
                            this._submitAndClear
                        }
                        title="Search"
                    />
                </View>
            </InputAccessoryView>
        </View>
    );
};

}
const styles = StyleSheet.create({
container: {
flex: 1,
},
searchSection: {
flexDirection: 'row',
backgroundColor: '#fff',
borderColor: 'grey',
borderWidth: 2,
height: 40,
borderRadius: 5,
flex: 1,
},
searchIcon: {
margin: 5,
alignItems: 'center',
},
textInput: {
height: 30,
flex: 1,
},
searchedText: {
fontSize: 25,
padding: 10,
},
})

Hey,
We're cleaning up the React Native issue tracker to make sure we focus on the most important issues first.
I'm closing this one because it's stale and related to a version of React Native we no longer support. If the issue persists on the latest version, please re-open a new issue and reference this one.
Thank you.

Do you still experience this issue?
I have four years of experience maintaining facebook/react-native and I specialize in the Text and TextInput components. I currently have 58 facebook/react-native PRs.
If you still experience this issue, I will prepare a patched release with the fix.
Thanks a lot


fix(challenges): Improve wording of description

changed the description of the challenge to make campers understand the
task better
Closes #14306

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #14306

Description

Improved the wording of the description of the challenge quoting-strings-with-single-quotes.Specifically, I just implemented @erictleung 's write-up in the issue tracker as I couldn't find a better explanation.Credit goes to him.

@shubhshrma Awesome! Thank you for your contribution. Merged!


Remove legacy stuff

No one maintains MacVim_legacy.xcodeproj and PSMTabBarControl_legacy.xcodeproj. It seems no one builds MacVim on OS X 10.6 or earlier. So we can remove these and also 10.4, 10.5 and 10.6 stuff from the code, for example, MMAtsuiTextView.m.
I'll create macvim-dev/macvim-tiger or whatever if anyone wants to maintain MacVim for 10.4, 10.5 and 10.6. Please let me know.

Just don't remove the non-native fullscreen mode.  It really has nothing to do with Tiger/Leopard/Snow, except indirectly.  (It is the only kind of fullscreen mode that can be used on Tiger/Leopard/Snow).  It works beautifully on all newer OS versions.  It is also superior to native fullscreen mode in almost every respect.

I know and will fix https://github.com/macvim-dev/macvim/issues/7.

For MacPorts, we received one report of build errors on OS X 10.6. At least there still seem to be users around, but it does not even build in the current snapshot release.

I'll merge #178 soon anyway. I'll create macvim-dev/macvim-tiger or whatever if anyone wants to maintain MacVim for 10.4, 10.5 and 10.6. Please let me know.

Hi, 10.6 user here (the last snapshot build I can compile as-is is 80). I found this thread while trying to restore 10.6 support to a more recent build; there are probably plenty more qualified people to be maintainers of a legacy branch but I'd like to help.

@rhendric the first thing, could you create a pull request for updating MacVim_legacy.xcodeproj and PSMTabBarControl_legacy.xcodeproj? I don't merge #178 if you maintain pre-10.7 code actively in the master branch.

Are the legacy xcodeprojs for 10.6? My reading is that they're only for 10.4 and 10.5, which I can't test.
A 10.6 build based on snapshot 88 appears very achievable with a minimum of edits/conditionals, by the way. The biggest issue is the new qlstephen subproject, which I just dropped altogether. If MacVim_legacy.xcodeproj becomes for 10.6 instead of for 10.4 and 10.5, then that's easily addressed; otherwise, it's the only change I'm not sure how to package up for a PR.

No one wants to maintain 10.4 and 10.5. I'll remove 10.4 and 10.5 stuff and _legacy.xcodeproj.


TE0 |E| fields looks like TE1

In the mpb plugin tutorial
The effective index looks correct for the first order TE mode TE0
However the |Ey| field for TE0 is much smaller than |Ex|, which is weird for a TE mode, so the total |E| field profile looks like TE1
@smartalech and Simon @simbilod , let me know what you think

I think the issue was just the normalization of the fields
I started using tidy3d as my main solver now
https://gdsfactory.github.io/gdsfactory/notebooks/plugins/tidy3d/01_tidy3d_modes.html