List all keys

Is there a way to list all keys? If not one should be created as this would allow for scanning over all cached data and seeing if it has been expired yet.

Hello,
There is currently no way to list all keys used in the cache. However, I loved your idea. Therefore, I will implement a method like "Future<List> keys()" to obtain all the keys as soon as possible.

Hello,
Currently, there is no way to list all keys used in the cache. However, I loved your idea. Therefore, as soon as possible, I will implement a method like Future<List<String>> keys() to get all keys.

That sounds great it will help tons with my project. Thank you.

@Ai-Kiwi ,
First of all, thanks for opening this issue.
I want to let you know that I've just released JsonCache 4.0.0 that, among other improvements, contains your suggested feature: list all keys — via method keys.
Check it out.

@Ai-Kiwi ,
First of all, thanks for opening this issue.
I want to let you know that I've just released  JsonCache 4.0.0 that, among other improvements, implements your suggestion: list all keys — via method keys.
Check it out.
Cheers!

Thank you so much. I will definitely look into using it when i get a chance.


Add back support for ports smaller than 1024

Fixes #194.

Included in #200, which has some more fixes to make Travis happy.


Validating webhook implementation

Description
The PR implements a validating webhook to GMC which makes the following validations:

Root node existence
StepName validation
nodeName existence
serviceName uniqueness

Issues
List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)

Dependencies
N/A
Tests
Unit test: https://github.com/opea-project/GenAIInfra/pull/274/commits/8096d89e6d686fb9bc880519b13fe6283ed931c5
E2E test: WIP

helm part (and only helm part) LGTM

Thanks for the review and the help on troubleshooting!

thanks for contributing @ichbinblau I left a comment but I think it can be added in next PR.
@irisdingbj I think unit tests are good enough for validator to cover the feature, e2e tests for validator are not necessary.

overall LGTM,  for e2e, we need add one case, like invalid gmc config has provided and the validaitonwebhook will check and reject the invalid config

overall LGTM, for e2e, we need add one case, like invalid gmc config has provided and the validaitonwebhook will check and reject the invalid config

Hi， @irisdingbj  where shall I put the e2e test? In the cicd script or in the test/e2e folder based on ginkgo?

Take a look at https://github.com/opea-project/GenAIInfra/tree/main/.github/workflows/scripts/e2e


Is this valid primitives.restler_fuzzable_int(['1', '2']) or primitives.restler_fuzzable_string(['abc', 'def']),

This is not being honered and can see the values being picked are beyond the range? (for example can see 0 as a value)

Hello @joshi-mohit,
Could you please clarify your goal - do you want just a particular part of the payload (instead of all fuzzable_int values, which would be set through the dictionary) to have the values [1, 2]?
If yes, and you want to edit the grammar directly, the syntax for this is to use restler_fuzzable_group as follows:
   primitives.restler_fuzzable_group("fuzzable_group_tag_can_be_any_string", ['1','2'],quoted=False)

The syntax you tried is not supported in the grammar, the fuzzable string or int is expected to have one value specified directly in the grammar.  For why you see 0 as a value, do you have zero in the dictionary by any chance?  Dictionary values are always used, and override the grammar defaults for fuzzable primitives (except fuzzable group as above).
It would be great if you can share your scenario in more detail, I'd like to understand if there is a way for you to specify these values without editing the grammar (which is typically preferred to avoid having to manually patch grammars as the specification changes).

Hello @joshi-mohit,
Could you please clarify your goal - do you want just a particular part of the payload (instead of all fuzzable_int values, which would be set through the dictionary) to have the values [1, 2]?
If yes, and you want to edit the grammar directly, the syntax for this is to use restler_fuzzable_group as follows:
   primitives.restler_fuzzable_group("fuzzable_group_tag_can_be_any_string", ['1','2'],quoted=False)

The syntax you tried is not supported in the grammar, the fuzzable string or int is expected to have one value specified directly in the grammar.  For why you see 0 as a value, do you have zero in the dictionary by any chance?  Dictionary values are always used, and override the grammar defaults for fuzzable primitives (except fuzzable group as above).
It would be great if you can share your scenario in more detail, I'd like to understand if there is a way for you to specify these values without editing the grammar (which is typically preferred to avoid having to manually patch grammars as the specification changes).

Thanks Marina.
On the value being 0 -- you are right so since the value was in dictionary so as said it must be getting overridden.
I am trying to test the behavior of restler with a vulnerable-api server (https://github.com/jorritfolmer/vulnerable-api). The current open-api spec for the server is not too descriptive on dependencies or parsing the responses. For example /tokens when specified with username/password returns a token and in id to be used in future calls to the rest of the api's. Since I need to either modify the spec or the grammar. Since this only for basic validation, I decided to modify the grammar. Now example for fuzzing wanted to limit the tokens to a limited positive and negative sets
primitives.restler_fuzzable_group("AuthTokens", ['X-Auth-Token: ce66447eae74c0efbe554316bb5d4d52\r\n', 'X-Auth-Token: 8c9d047bd3aae24e2ffb0de19d81acc9\r\n', '123', '345'], quoted=False). This is failing (unfortunately even the log directory is not getting inside experiment<>.. is not getting created. I tried moving it in as part of url but similar behavior .. could be some basic thing missing..checking code in parallel
Do you also have some practical samples on restler_custom_payload (I am assuming in that case we can specify set of payloads which will be rotated/reused) and it there is any similar syntax for customer_headers

Thanks Marina.
On the value being 0 -- you are right so since the value was in dictionary so as said it must be getting overridden.
I am trying to test the behavior of restler with a vulnerable-api server (https://github.com/jorritfolmer/vulnerable-api). The current open-api spec for the server is not too descriptive on dependencies or parsing the responses. For example /tokens when specified with username/password returns a token and in id to be used in future calls to the rest of the api's. Since I need to either modify the spec or the grammar. Since this only for basic validation, I decided to modify the grammar. Now example for fuzzing wanted to limit the tokens to a limited positive and negative sets
primitives.restler_fuzzable_group("AuthTokens", ['X-Auth-Token: ce66447eae74c0efbe554316bb5d4d52\r\n', 'X-Auth-Token: 8c9d047bd3aae24e2ffb0de19d81acc9\r\n', '123', '345'], quoted=False). This is failing (unfortunately even the log directory is not getting inside experiment<>.. is not getting created. I tried moving it in as part of url but similar behavior .. could be some basic thing missing..checking code in parallel
Do you also have some practical samples on restler_custom_payload (I am assuming in that case we can specify set of payloads which will be rotated/reused) and it there is any similar syntax for customer_headers

Hi,

This is failing (unfortunately even the log directory is not getting inside experiment<>.. is not getting created.

If you see this type of failure, more error information can be found in the following log files in the task directory (e.g. the 'Test' directory):

EngineStdErr.txt
restler-*.log

If you're still hitting this, can you please attach these files to this issue?
I get a successful test run with your grammar element above - to confirm, the following line will be printed in the network log (network.testing.*.txt)
+ restler_fuzzable_group: ['X-Auth-Token: ce66447eae74c0efbe554316bb5d4d52\r\n', 'X-Auth-Token: 8c9d047bd3aae24e2ffb0de19d81acc9\r\n', '123', '345']

Do you also have some practical samples on restler_custom_payload
it there is any similar syntax for customer_headers

See a few examples in /docs/user-guide/FuzzingDictionary.md.    The custom headers are supported via restler_custom_payload_header has the same syntax as restler_custom_payload.    The typical usage of these is to add it to the dictionary before compilation - the compiler will then automatically generate the grammar elements to substitute the custom payload in the dictionary.  I will open a separate new issue to add more detailed usage examples for these.

Hi,

This is failing (unfortunately even the log directory is not getting inside experiment<>.. is not getting created.

If you see this type of failure, more error information can be found in the following log files in the task directory (e.g. the 'Test' directory):

EngineStdErr.txt
restler-*.log

If you're still hitting this, can you please attach these files to this issue?
I get a successful test run with your grammar element above - to confirm, the following line will be printed in the network log (network.testing.*.txt)
+ restler_fuzzable_group: ['X-Auth-Token: ce66447eae74c0efbe554316bb5d4d52\r\n', 'X-Auth-Token: 8c9d047bd3aae24e2ffb0de19d81acc9\r\n', '123', '345']

Do you also have some practical samples on restler_custom_payload
it there is any similar syntax for customer_headers

See a few examples in /docs/user-guide/FuzzingDictionary.md.    The custom headers are supported via restler_custom_payload_header has the same syntax as restler_custom_payload.    The typical usage of these is to add it to the dictionary before compilation - the compiler will then automatically generate the grammar elements to substitute the custom payload in the dictionary.  I will open a separate new issue to add more detailed usage examples for these.


authentication failed

Hi, I have set up everything, I get all green in checktls.com (my server is cepheus.grupocitec.com). The server receives ok the mails from other servers, and creates correctly the files in the mail dir, etc.
BUT: I continue getting the wrong password error. I have even tried:
testsaslauthd -u<EMAIL_ADDRESS>-p myPlainPassword smtp
and I get:
0: NO "authentication failed"
The user exists, but I cannot log in. I have tried all kinds of authentications mechanism (using all possible ones in thunderbird), but it doesn't work.
Any ideas?

Try like this: https://github.com/tomav/docker-mailserver/pull/50/files#diff-b8765e8e12fe5b90ee3f4f3a864b5d96R18

thanks, but nothing, still:
 0: NO "authentication failed"

could you paste here some account.cf file working? just a sample with dummy passwords or something, I suspect that I am doing something wrong in that file

Try with test data in test/ folder.

ok, I will, thanks

➜  docker-mailserver git:(master) make run
# Copy test files
cp test/accounts.cf postfix/
cp test/virtual postfix/
# Run container
docker run -d --name mail -v "`pwd`/postfix":/tmp/postfix -v "`pwd`/spamassassin":/tmp/spamassassin -v "`pwd`/test":/tmp/test -h mail.my-domain.com -t tvial/docker-mailserver:
e92bbe74e2609bd93282e38e70fb0755b7d9e44ec263580abd1a48d14cb77428
sleep 25

➜  docker-mailserver git:(master) ✗ docker exec mail testsaslauthd -u user2 -r otherdomain.tld -p mypassword
0: OK "Success."

#44 & #47

ok, now the test works, maybe I had bad file encoding or something. So test as you told me to do works, but not when I try to connect from the email client from another machine
The log is not very specific:
mail_1 | Jan 21 18:24:06 mail imapd: Connection, ip=[::ffff:<IP_ADDRESS>]
mail_1 | Jan 21 18:24:07 mail imapd: Disconnected, ip=[::ffff:<IP_ADDRESS>], time=1

You should see something like that when it works:
Jan 22 09:01:07 mail imapd-ssl: Connection, ip=[::ffff:<IP_ADDRESS>]
Jan 22 09:01:07 mail imapd-ssl: LOGIN<EMAIL_ADDRESS>ip=[::ffff:<IP_ADDRESS>], port=[55971], protocol=IMAP

Try:
telnet mail.domain.com 143
# then when connection is open
a1 LOGIN<EMAIL_ADDRESS>MyPassword
# you should see "a1 OK Logged in."

@citec does it work sing telnet?

yes, it works, so I guess I am doing something wrong in the mail client

ok, imap without sasl works from email client now. so the problem is with sasl, right ?

how do I test sasl login with telnet ? I remember there was some username:password hash

Easily testable using telnet for PLAIN and LOGIN.
I'm currently adding tests so you will soon have working example.
CRAM-MD5 and DIGEST-MD5 are more complicated to test manually because you have to compute data sent by the server before sending it back.
I'll let you know.

@citec you can have a look to http://www.fehcom.de/qmail/smtpauth.html
Working examples available here: https://github.com/tomav/docker-mailserver/blob/master/test/auth/smtp-auth-login.txt and https://github.com/tomav/docker-mailserver/blob/master/test/auth/smtp-auth-plain.txt

BTW, pull the latest image, I fixed a bug.

Hi, I won't have time till february now, but I will try it. Thanks very much.

@citec I'll let you reopen this is you have any problem.


Code Snippet & API Reference support for Python

Code Snippet & API Reference support for Python

Closing out in favor of https://github.com/stripe/vscode-stripe/issues/173 and https://github.com/stripe/vscode-stripe/issues/174


Xenotrade doesn't work with whispers from non-english languages

Hey there. If you recieve messages or send messages from an exile with a name that includes non-english characters (some exiles have cyrillic or thai characters due to the Garena realm merges), it won't appear in Xenontrade.!

I also experience this bug.


add helmrepo site, charts and encrypted keys

Description
Add helmrepo site, charts and encrypted keys for running under Kubernetes as a Statefulset.  The rust workflow was updated to include correct version number bumps and updating the ArtifactHub website via the http://helmrepo.pyrsia.io site.

Fixes pyrsia/pyrsia#907
Screenshots (optional)
PR Checklist

[X] I've read the contributing guidelines.
[X] I've read "What is a Good PR?"
[X] I've included a good title and brief description along with how to review them.
[X] I've linked any associated an issue.

Code Contributions

[X] I've built the code cargo build --all-targets successfully.
[X] I've run the unit tests cargo test --workspace and everything passes.
[X] I've made sure my rust toolchain is current rustup update.

@sbtaylor15 I think this PR goes after the PR that was related to adding service-per-pod, is that correct?

@sbtaylor15 I think this PR goes after the PR that was related to adding service-per-pod, is that correct?

@AbhijithGanesh  No, this PR is independent of the service-per-pod


Loader needs a delay property

Feature Request
Problem description
In some cases, loading happens immediately, in which case, we don't want the loading spinner to be rendered at all.
Proposed solution
Add a delay property to the Loader component to indicate how long to wait before showing it

delay prop exists in:

https://ant.design/components/spin/
https://evergreen.segment.com/components/spinner/
https://www.lightningdesignsystem.com/components/spinners/
https://atlaskit.atlassian.com/packages/core/spinner

It doesn't changes the behavior of the component and can be safely implemented.


memoization (function caching) in squad-client has inconsistent state when using filters

https://en.wikipedia.org/wiki/Memoization
A lot of fetching functions in squad-client look similar to the following:
    __tests__ = None

    def tests(self, count=ALL, **filters):
        if self.__tests__ is None:
            endpoint = '%s%d/tests/' % (self.endpoint, self.id)
            self.__tests__ = self.__fetch__(Test, filters, count, endpoint=endpoint)
        return self.__tests__

This type of function caching is called memoization and can be useful when returning the same values over and over (ie, fibonacci). However, I've found a case where this is not working correctly because I'm using filters and the memoization value is not cached against them.
An example:
group = Squad().group("lkft")
project = group.project("linux-next-master")
build = project.build("next-20201214")

test1 = build.tests(environment=2575).values()
# has all tests with environment 2575/arc

test2 = build.tests(environment=2583).values()
# has all tests with environment 2575/arc
# SHOULD HAVE all tests with environment 2583/arm64

How did the test suite not catch this?
Because for each test the setup function creates a new build object with a reset state. So if I do the following, everything should work
group = Squad().group("lkft")
project = group.project("linux-next-master")
build = project.build("next-20201214")

test1 = build.tests(environment=2575).values()
# has all tests with environment 2575/arc

new_build = project.build("next-20201214")
test2 = new_build.tests(environment=2583).values()
# has all tests with environment 2583/arm64

This type of functionality is in a lot of places in the code base and needs attention. I'd be happy to discuss what the best option might be to fix the issue and push a fix for it.

I think first thing google would tell me is "Did you mean memorization?"
Yeah, this is clearly a bug if you want to change filters. I'll work on this today

I think first thing google would tell me is "Did you mean memorization?"
Yeah, this is clearly a bug if you want to change filters. I'll work on this today


Reproduction Non-Stability on the loss calculation (DRMM, rank_hinge_loss),

Hi all,
Although tf, random and numpy seeds are set to some specific number (such as 49999), I could not get the same loss value for the same iteration index when I run the application 2 times for the DRMM - WikiQA ranking.
Would you please enlighten me how to get the same loss calculation on the same index/iteration for multiple times?
Thank you

Hi @jackalhan are you using 1.0 or experimenting with 2.0?

I am experimenting with 2.0

@jackalhan do you use the default configuration file as in wikiqa?

Yes


Updated: youtrack 2019.2.60865

${}

c31ee8e0-92e8-4f61-9827-879aed6fe02c

Newer version of youtrack (2019.2.60983) is now available in master. 9fa3a173ed873c3cd23ab9cbfdf0320873e7963b


Receiving invalid response at pkg URL

I tried adding the package dependency using the https://github.com/X901/FXSwipeAction.git link, but I'm getting the following error:
Received invalid response at https://github.com/X901/
FXSwipeAction.git. Please make sure it is a package collection URL.

Are you using Swift Package Manager ?

Got it, thank you very much.


NIFI-2944 check remote input hostname at startup

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically master)?

[X] Is your initial contribution a single, squashed commit?

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[X] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

I reviewed this (added a little bit more explanation to the error message and some unit test cases for empty string or missing remote input host values), ran all the tests, and merged.


__ARM_ARCH redefinition warning

#pragma GCC push_options
#pragma GCC target("arch=armv8.6-a+simd+bf16")
#pragma clang attribute push(__attribute__((target("arch=armv8.6-a+simd+bf16"))), apply_to = function)

void simsimd_kernel(...) { ... }

#pragma clang attribute pop
#pragma GCC pop_options

When compiling for Arm, pushing and popping attributes like we do causes warnings like:
In file included from /home/ubuntu/usearch/simsimd/include/simsimd/simsimd.h:107:
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:311:46: warning: "__ARM_ARCH" redefined
  311 | #pragma GCC target("arch=armv8.6-a+simd+bf16")
      |                                              ^
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:311:46: note: this is the location of the previous definition
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:434:9: warning: "__ARM_ARCH" redefined
  434 | #pragma GCC pop_options
      |         ^~~
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:434:9: note: this is the location of the previous definition
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:439:49: warning: "__ARM_ARCH" redefined
  439 | #pragma GCC target("arch=armv8.2-a+dotprod+i8mm")
      |                                                 ^
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:439:49: note: this is the location of the previous definition
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:589:9: warning: "__ARM_ARCH" redefined
  589 | #pragma GCC pop_options
      |         ^~~
/home/ubuntu/usearch/simsimd/include/simsimd/spatial.h:589:9: note: this is the location of the previous definition
/home/ubuntu/usearch/simsimd/include/simsimd/simsimd.h:306:40: warning: "__ARM_ARCH" redefined
  306 | #pragma GCC target("arch=armv8.5-a+sve")
      |                                        ^
/home/ubuntu/usearch/simsimd/include/simsimd/simsimd.h:306:40: note: this is the location of the previous definition
/home/ubuntu/usearch/simsimd/include/simsimd/simsimd.h:411:9: warning: "__ARM_ARCH" redefined
  411 | #pragma GCC pop_options
      |         ^~~
/home/ubuntu/usearch/simsimd/include/simsimd/simsimd.h:411:9: note: this is the location of the previous definition

I'm not seeing these warnings building usearch on a c7g instance.  The only warning I see is unused-function:
In file included from /home/ubuntu/usearch/simsimd/include/simsimd/simsimd.h:106:
/home/ubuntu/usearch/simsimd/include/simsimd/probability.h:71:21: warning: ‘simsimd_kl_f16_haswell’ declared ‘static’ but never defined [-Wunused-function]
   71 | SIMSIMD_PUBLIC void simsimd_kl_f16_haswell(simsimd_f16_t const* a, simsimd_f16_t const* b, simsimd_size_t n, simsimd_distance_t* divergence);

Which GCC version are you running? Can you also try building the Python bindings, @MarkReedZ?

Was this a compiler bug perhaps?
PR with the warning workaround removed: https://github.com/ashvardanian/SimSIMD/pull/164
I've removed the warning workaround for __ARM_ARCH and I no longer see any warnings.  If it was a bug on an older compiler and we want to keep the warning workaround we can alternatively just add #undef __ARM_ARCH each time that we set __ARM_ARCH:
Alternative fix if we want to keep the warning workaround:
#if defined(SIMSIMD_DEFAULT_TARGET_ARM)
#undef __ARM_ARCH
#define __ARM_ARCH SIMSIMD_DEFAULT_TARGET_ARM
#undef SIMSIMD_DEFAULT_TARGET_ARM
#endif

I was able to reproduce and confirm both fixes with a new c7g instance and the following commands:
    sudo apt-get update && sudo apt-get install cmake build-essential libjemalloc-dev g++-13 gcc-13
    git clone https://github.com/ashvardanian/SimSIMD.git
    cd SimSIMD/
    git checkout main-dev
    sudo apt install libopenblas-dev
    cmake -D CMAKE_BUILD_TYPE=Release -D SIMSIMD_BUILD_TESTS=1 -D SIMSIMD_BUILD_BENCHMARKS=1 -D SIMSIMD_BUILD_BENCHMARKS_WITH_CBLAS=1  -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -B bld
    cmake --build bld --config Release

I'm happy to try different setups if you have a suggestion as to what to try.   I just noticed you added this recently - do you recall the setup?
e975cc9e include/simsimd/simsimd.h (Ash Vardanian   2024-08-26 18:06:17 +0000  107) #define SIMSIMD_DEFAULT_TARGET_ARM __ARM_ARCH

It could be Clang or Apple Clang or GCC 12/13. Can try again in a couple of days.

I'll play around Sunday.  Adding the undefs has to be the answer then, but I'd like to see the original issue.  Has to be a bug, but I don't see anyone else hitting anything like it.  The gnu code looks fine to me - I can't see it throwing this warning on push/pop.

No warnings with my branch on Graviton3 with clang 18.1, gcc 12, or gcc 13.   Will revisit this when I have more test environments setup.
    git clone https://github.com/MarkReedZ/SimSIMD.git
    cd SimSIMD/
    git fetch && git checkout redefinition_fix

Let's close this for now and re-open if someone complains 😉


YARN-10302. Make FairScheduler node comparator configurable

Add yarn.scheduler.fair.node.comparator.class config to control the FairScheduler node comparator.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 31s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
25m 49s
trunk passed

+1 :green_heart:
compile
1m  4s
trunk passed

+1 :green_heart:
checkstyle
0m 45s
trunk passed

+1 :green_heart:
mvnsite
1m  5s
trunk passed

+1 :green_heart:
shadedclient
18m  1s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 31s
trunk passed

+0 :ok:
spotbugs
1m 44s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 40s
trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 45s
the patch passed

+1 :green_heart:
compile
0m 40s
the patch passed

+1 :green_heart:
javac
0m 40s
the patch passed

-0 :warning:
checkstyle
0m 29s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 10 new + 33 unchanged - 0 fixed = 43 total (was 33)

+1 :green_heart:
mvnsite
0m 44s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
15m 42s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 28s
the patch passed

-1 :x:
findbugs
1m 49s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

_ Other Tests _

+1 :green_heart:
unit
93m 23s
hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 27s
The patch does not generate ASF License warnings.

165m 37s

Reason
Tests

FindBugs
module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler$NodeAvailableResourceComparator implements Comparator but not Serializable  At FairScheduler.java:Serializable  At FairScheduler.java:[lines 1080-1087]

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2044

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux f4eb0fcea521 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 9fe4c37c25b

Default Java
Private Build-1.8.0_252-8u252-b09-1~18.04-b09

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/1/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/1/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.html

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/1/testReport/

Max. process+thread count
834 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/1/console

versions
git=2.17.1 maven=3.6.0 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
22m 45s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
19m 26s
trunk passed

+1 :green_heart:
compile
0m 47s
trunk passed

+1 :green_heart:
checkstyle
0m 39s
trunk passed

+1 :green_heart:
mvnsite
0m 52s
trunk passed

+1 :green_heart:
shadedclient
15m 19s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 35s
trunk passed

+0 :ok:
spotbugs
1m 42s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 39s
trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 49s
the patch passed

+1 :green_heart:
compile
0m 41s
the patch passed

+1 :green_heart:
javac
0m 41s
the patch passed

+1 :green_heart:
checkstyle
0m 31s
the patch passed

+1 :green_heart:
mvnsite
0m 46s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
16m  7s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
0m 32s
the patch passed

+1 :green_heart:
findbugs
1m 56s
the patch passed

_ Other Tests _

-1 :x:
unit
55m  5s
hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 34s
The patch does not generate ASF License warnings.

139m 59s

Reason
Tests

Failed junit tests
hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart

hadoop.yarn.server.resourcemanager.scheduler.policy.TestFairOrderingPolicy

hadoop.yarn.server.resourcemanager.TestRMAdminService

hadoop.yarn.server.resourcemanager.scheduler.TestSchedulerHealth

hadoop.yarn.server.resourcemanager.TestAppManager

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2044

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux b4953fc558fe 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 6288e15118f

Default Java
Private Build-1.8.0_252-8u252-b09-1~18.04-b09

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/2/testReport/

Max. process+thread count
810 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-2044/2/console

versions
git=2.17.1 maven=3.6.0 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Regarding the test4tests failure, this patch preserves backward compatibility and effects lines of code already tested, hence no new tests are added.
It seems like all the failing unit tests are getting OOM errors.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 18s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
20m 21s
trunk passed

+1 :green_heart:
compile
0m 58s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
0m 48s
trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
checkstyle
0m 39s
trunk passed

+1 :green_heart:
mvnsite
0m 57s
trunk passed

+1 :green_heart:
shadedclient
15m 33s
branch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 26s
hadoop-yarn-server-resourcemanager in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.

+1 :green_heart:
javadoc
0m 33s
trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+0 :ok:
spotbugs
1m 54s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 52s
trunk passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 50s
the patch passed

+1 :green_heart:
compile
0m 57s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

-1 :x:
javac
0m 57s
hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 1 new + 42 unchanged - 1 fixed = 43 total (was 43)

+1 :green_heart:
compile
0m 48s
the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
javac
0m 48s
the patch passed

+1 :green_heart:
checkstyle
0m 37s
the patch passed

+1 :green_heart:
mvnsite
0m 47s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedclient
14m  9s
patch has no errors when building and testing our client artifacts.

-1 :x:
javadoc
0m 24s
hadoop-yarn-server-resourcemanager in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.

+1 :green_heart:
javadoc
0m 31s
the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09

+1 :green_heart:
findbugs
1m 52s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
110m  9s
hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 31s
The patch does not generate ASF License warnings.

176m 16s

Subsystem
Report/Notes

Docker
ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2044/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2044

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 21bfe4df1734 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 05b3337a460

Default Java
Private Build-1.8.0_252-8u252-b09-1~18.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2044/3/artifact/out/branch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

javac
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2044/3/artifact/out/diff-compile-javac-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

javadoc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2044/3/artifact/out/patch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2044/3/testReport/

Max. process+thread count
870 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2044/3/console

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Environment installation

Hi, first of all thanks for your sharing. In addition, there is another question: Can you provide a tutorial for the installation of the environment? The installation environment provided in the project always has problems, and the provided requirements.txt file has many non-existing versions.

I think that there will be no critical problem even if you use the latest version of various Python libraries that you have prepared. However, please note that the official results were reported under Ubuntu 20.04.1 LTS, Python 3.8.8, PyTorch 1.11.0 and CUDA 11.4. Also, note that we additionally use SBD (Semantic Boundaries Dataset) for the pascal voc dataset.

Thank you for your patience


log_enabled where is it logging?

Hi
I'm sending topic notifications.
They work and stop working as I keep testing, without changing the code, just the message text. How can I debug it?
I always get success:
TopicResponse {#2310 ▼
  #topic: Topics {#2233 ▼
    +conditions: array:1 [▼
      0 => array:1 [▼
        "first" => "topic-1"
      ]
    ]
  }
  #messageId:<PHONE_NUMBER>448XXYYZZ
  #error: null
  #needRetry: false
  #logEnabled: true
}

At the firebase console, there are no logs that I can find, I thought I would be able to search for the notification using the messageId (changed last 6 digits just in case), but I couldn't find where to use it for searching.
In GROW/Notifications I can only see the notifications I send using the web console.
I'm a bit lost, don't know where to start looking for finding the reason for the random behaviour.
Thanks!
dhcmega

@dhcmega
.\storage\logs\laravel-fcm.log

Hi @ikosar
It logs in dev but not in prod. Where should I enable it for logging in prod env?
Thanks!
dhcmega


Separate Express adapter into plugin

As a developer,
I would like to have the Express adapter available as a Brisket plugin,
So that I can easily startup an app with Express,
So that I can use another routing framework if I wanted to
A.C.

Express not shipped with Brisket
Express plugin as easy to integrate as Hogan adapter

clearing this from the milestone because it seems like more of a nice to have that could come after 1.0.0

closing as no longer needed


Bug: TPCDS error Referenced column "substr(reason.r_reason_desc,Int64(1),Int64(20))" not found

Describe the bug
Run TPC-DS Benchmark Q85, Q79

Query Error Unable to query arrow: Unable to get schema: Binder Error: Referenced column "substr(reason.r_reason_desc,Int64(1),Int64(20))" not found in FROM clause!

This bug also affects MySQL. In MySQL, it appears as a bug in the ORDER BY statement, because it's wrapping it in backticks and trying to use it as a literal column name:
ORDER BY `substr(reason.r_reason_desc,Int64(1),Int64(20))`

Which sounds like the same problem as Postgres.

Pr with the fix has been sent: https://github.com/spiceai/datafusion/pull/41


Documentation for Windows

It would be nice to document how to build this project for developers using Windows.
I'm not sure what all the scripts are doing yet but the project at least builds with cargo build --all --release --bins --lib under WSL/Ubuntu 18.04.2 after having followed the steps in the Dockerfile.
It should be possible to use Docker for Windows via Hyper-V. If there is interest, I could try to write some equivalent powershell scripts to make this easier.

Cool! None of the project developers at Fastly use a windows machine currently. If the example code in README.md works under windows, and we can setup CI to make sure that the windows support doesn't break without us noticing, I'd be happy to make this part of our official docs.


Refactor things into files

I felt that just reading that huge file felt a bit unwieldy. When you're looking for something in particular I find it a lot easier to browse files. The naming of files usually gives a pretty good clue on what they will be about which makes it easier to find what you're looking for.

@rudyryk Is there any interest in this PR? Otherwise I will close this.

Hi @jonathan-s, thank you for your interest and wiling to contribute!
I'm not sure the structure you suggested is optimal. The more standard way would be:
peewee_async/
    ./__init__.py
    ... (etc)

Also I'd argue that splitting to many files is convenient at this point. The library is not mature enough so many may want to use patched version, even probably just copy-pasted-and-patched without forks. And It it's far easier to go this way and track diffs for one file than across many files. Not to mention the core peewee itself is one file library (without playhouse). So having everything in one file has its downsides and may be challenging but I think profits may overcome for now.


New package: Marconi v0.1.0

Registering package: Marconi
Repository: https://github.com/kiranshila/Marconi.jl
Created by: @kiranshila
Version: v0.1.0
Commit: 07dafa066a31480d8fef1c9404f2df8de3cc7b88
Reviewed by: @kiranshila
Reference: https://github.com/kiranshila/Marconi.jl/issues/3

Needs some compat, at least for Julia itself.

Added compat


Make analysis process exit with error code if analysis failed

Currently, if you pass a non-existent local package filepath to the analysis runner, it will attempt the analysis, fail (because the package file does not exist) but then return a zero error code. It would probably be good to make the process return a nonzero exit code

As a workaround, run_analysis.sh (this line) now checks for whether the local file exists, and if so, will print an error instead of running the analysis command.


Blogpost

Hey @conjuncts,
I'm not sure how else to reach you, but I wanted to let you know that our team recently published a blog post:
https://codesphere.com/articles/ai-table-extraction-gmft
If you're interested, we can connect and would love to get your feedback!

Thank you reaching out! That is phenomenal.

Feel free to contact me at galen dot wei at vanderbilt dot edu


Add tip and warning to README porstgresql database section

Another options is to double quote all columns names if not already quoted then queries will look like:
INSERT INTO todos ("id", "order", "title", "completed") values (?,?,?,?);
SELECT t."id", t."order", t."title",  t."completed", from todos where t."order"=?;

I updated to v1.14.15 and its working fine for columns names that are  postgresql key words.
I will open another issue related to filtering timestamp fields.
DevDb extension is really nice.
Good work!


Language.XLANG MutableMap.withDefault { null } causes serialization failure

Search before asking

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

Version
0.7.0
Component(s)
Java
Minimal reproduce step
class Test {
var id: Long? = null
var map: MutableMap<String, Any?>
constructor(map: Map<String, Any?>) {
    val camelCaseMap = mutableMapOf<String, Any?>()
    for ((k, v) in map) {
        // Change to camel case
        val prop = toCamelCase(k)
        camelCaseMap[prop] = v
    }
    this.map = camelCaseMap.withDefault { null }
}

fun toCamelCase(name: String): String {
    if (name.isEmpty()) {
        return ""
    }
    var camelCase = name.substring(0, 1).toLowerCase()

    if (name.length > 1) {
        var wordStart = false;

        for (i in 1..(name.length - 1)) {
            var currChar = name[i]
            if (currChar == '_') {
                wordStart = true
            } else {
                if (wordStart) {
                    camelCase += currChar.toUpperCase()
                } else {
                    camelCase += currChar.toLowerCase()
                }
                wordStart = false
            }
        }
    }
    return camelCase
}

}
fun main(args: Array) {
println("Hello World!")
// Try adding program arguments via Run/Debug configuration.
// Learn more about running applications: https://www.jetbrains.com/help/idea/running-applications.html.
println("Program arguments: ${args.joinToString()}")
val fury = Fury.builder()..withLanguage(Language.XLANG).build()
fury.register(Test::class.java)
val bytes = fury.serializeJavaObject(Test(mapOf("id" to "123")))
println(fury.deserializeJavaObject(bytes, Test::class.java))

}
What did you expect to see?
Able to serialize Test object and deserialize it to see the values of the properties with Language.XLANG
What did you see instead?
Class class kotlin.collections.MutableMapWithDefaultImpl doesn't have a no-arg constructor
java.lang.RuntimeException: Class class kotlin.collections.MutableMapWithDefaultImpl doesn't have a no-arg constructor\n\tat org.apache.fury.reflect.ReflectionUtils.getCtrHandle(ReflectionUtils.java:126)\n\tat org.apache.fury.serializer.collection.AbstractMapSerializer.newMap(AbstractMapSerializer.java:791)
Anything Else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Fury XLANG doesn't support kotlin yet, please use Language.JAVA instead. Currently FURY support kotlin by implementing JDK serialization interface, we have not check kotlin class type and optimize for kotlin types yet. The xlang serialization won't follow JDK serialization interface, so we do not support kotlin for xlang serialization yet


Remove pip-wheel-metadata/ from Python.gitignore

Reasons for making this change:
pip generated this folder for a few versions, as part of it's initial
implementation of PEP 517.
pip has not generated this folder for a few versions now, so it should
be OK to remove this from the standard gitignore file.
Links to documentation supporting these rule changes:
https://pip.pypa.io/en/latest/news/ I guess?
If y'all deem this to be "too early" for some reason, I'd appreciate it if you suggest a timeline and keep this PR open till then.

If y'all deem this to be "too early" for some reason, I'd appreciate it if you suggest a timeline and keep this PR open till then.

Knowing which versions are "good" and documenting them here would be great. Do you know when this was fixed?

This was fixed in pip 19.3. That's > 6 months ago.

The pip-wheel-metadata directory does not need to persist between invocations of pip, use a temporary directory instead of the current setup.py directory.

A gentle nudge on this.

This was fixed in pip 19.3. That's > 6 months ago.

Great, thanks for the specificity!

Whee! Thanks @shiftkey! ^>^


sys/sem.h: fix path to atomic.h

Use of old location produces a compiler warning.
Signed-off-by: Peter A. Bigot<EMAIL_ADDRESS>

At least it does for those of us who happen to have:
CONFIG_COMPAT_INCLUDES=n

Shouldn't we start using that in a build somewhere?

Shouldn't we start using that in a build somewhere?

actually i think we should just set it to no by default.


fatal error: ghc-api-version.h: No such file or directory

I'm using Emacs 26.3 and the lsp-ui install instructions on the ghcide README.
I can't get ghcide to work on itself! I get the error fatal error: ghc-api-version.h: No such file or directory.  That .h file is indeed in the repository in include/.  How can I persuade ghcide to find it?

Does it work if you run ghcide in a terminal? Maybe emacs is invoking it from the wrong directory or something like that?

@tomjaguarpaw i am gonna close this one, feel free to reopen if you continue experiencing the issue


Recombine Time Issue

It seems playerRecombineTime only works for values 30 and 0, and none in the inbetween, how can this be fixed?
If the recombine time is 1, it takes longer than 1 second, and same for 0.3, the recombine time is huge.

For instant merge, just set playerRecombineTime = 0
Otherwise playerRecombineTime defines minimum recombine time.
Actual time depends on the cell mass.

I'm having the same problem.
cell age. How do I use the normal way?


Flex layout not consistent with native device layouts

I'm aware of the "it's not ready for production" caveat, but I wanted to kick the tires and play with this lib a bit. I added react-native-dom to an application I'm working on, and I'm seeing some issues with layout. The layout in RNDom isn't matching iOS or Android, so I'm guessing there's something janky in how Yoga is being applied.
In this example, each row has two children, one for the title and one for this magnitude bar. The title is flex: 2 and the magbar is flex: 1. The RNDom version has inconsistent sizings from row-to-row.

@darthtrevino - any chance you could provide a code snippet?

Yeah, in order to triage this we're going to need a reproduction of the bug. If you can create a repo that showcases it that would be great!

https://github.com/darthtrevino/react-native-dom-layout-issue


 XXX-REDACTED-XXX                                                                                0.0%    55    1.7   0.4   0.1   5.8   0.8
 2. <IP_ADDRESS>                                                                                0.0%    55    0.3   2.1   0.2  27.1   4.4
 3. fra3.xe-0-0-0.accelerated.de                                                                     0.0%    55    1.1   2.1   0.3  25.6   3.7
 4. te0-0-2-3.c350.f.de.plusline.net                                                                 0.0%    55    3.2   2.8   1.3  11.0   1.9
 5. <IP_ADDRESS>                                                                                0.0%    55    3.5   4.3   0.9  84.9  11.7
 6. <IP_ADDRESS>                                                                                0.0%    54    0.9   1.9   0.9   7.8   1.6
 7. www.heise.de

@bjoernbessert Thank you for reporting this issue. actually, as I mentioned at another issue that you opened this is known issue as the ICMP developing (-I switch) is in progress for trace real-time.I'll keep this issue open until it implemented.

@bjoernbessert it fixed pls let me know if you still see any issue. Thanks!


eth_getTransactionReceipt returns empty result for some transactions

Describe the bug
I'm developing a product that scans all blocks and transactions. However, for some blocks, I observed a lot of empty transaction receipts in old blocks.
For example, I got an empty result from reth
curl http://localhost:8545/ \
  -X POST  \
  -H "Content-Type: application/json"  \
  --data '{"method":"eth_getTransactionReceipt","params":["0xb5bf9e2e13aadb921b06202d4c9dab146fb015b77ff7e292c8d80a378802c56f"],"id":1,"jsonrpc":"2.0"}'

{"jsonrpc":"2.0","result":null,"id":1}

But with a public node
curl https://docs-demo.quiknode.pro/ \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_getTransactionReceipt","params":["0xb5bf9e2e13aadb921b06202d4c9dab146fb015b77ff7e292c8d80a378802c56f"],"id":1,"jsonrpc":"2.0"}'

I got the following
{"jsonrpc":"2.0","id":1,"result":{"blockHash":"0x60da43f0613bb7a12c4a2d56454f2f2bc156d1cf69b045c4d24e1783a3e3a0cb","blockNumber":"0x11af333","contractAddress":"0x0a3340129816a86b62b7eafd61427f743c315ef8","cumulativeGasUsed":"0x80af6a","effectiveGasPrice":"0x10696bb4f3","from":"0xc1f2b71a502b551a65eee9c96318afdd5fd439fa","gasUsed":"0x80af6a","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":null,"transactionHash":"0xb5bf9e2e13aadb921b06202d4c9dab146fb015b77ff7e292c8d80a378802c56f","transactionIndex":"0x0","type":"0x2"}}

Steps to reproduce
curl http://localhost:8545/ \
  -X POST  \
  -H "Content-Type: application/json"  \
  --data '{"method":"eth_getTransactionReceipt","params":["0xb5bf9e2e13aadb921b06202d4c9dab146fb015b77ff7e292c8d80a378802c56f"],"id":1,"jsonrpc":"2.0"}'

Node logs
No response
Platform(s)
Linux (x86)
What version/commit are you on?
reth Version: 0.1.0-alpha.10 Commit SHA: 460b5f6f Build Timestamp: 2023-11-16T16:31:23.836829400Z Build Features: default,jemalloc Build Profile: release
What database version are you on?
Current database version: 1
Local database version: 1
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
No
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

If you want to scan all blocks and transactions, you should run an archive node for that
You're running a full node currently which doesn't store all history

To me the full mode is kind misleading, like everything in the history but it's not

Is there a way to convert a full node to an archive node? Just chancing CLI parameter doesn't sync previous transaction receipts

@JakkuSakura not at the moment, you would have to resync the node. re full vs archival node, geth has a great page explaining both https://geth.ethereum.org/docs/fundamentals/sync-modes. i can see tho how "full node" term might get confusing

@JakkuSakura also check out our book page about pruning: https://paradigmxyz.github.io/reth/run/pruning.html


Drop phrase IDs from title marker

Signed-off-by: Robert D Anderson<EMAIL_ADDRESS>
name: Pull request
about: Propose changes to fix an issue or implement a new feature

Description
Topic title content is generated within the title, but also within the <fo:marker> element ahead of the rendered title. The same content is used for both. If an ID is used on a phrase element inside of the title, that ID will appear in both the marker and in the normal content -- for example, if <ph id="test"> is used in a title, then the FO will have an ID similar to <fo:inline id="unique_2_Connect_42_test" that appears in both the marker and in the content.
We've had this problem before for duplicated content in short descriptions, which is why there is already a mode dropCopiedIds. The fix puts the marker content into a variable and then uses the existing mode to drop any ID from the marker, so that any links to the ID resolve properly to the heading.
Motivation and Context
The duplicate ID is technically invalid; we had some content several hundred titles that contain IDs, resulting in a lot of noise about duplicate IDs from the FO rendering step. If the first instance is used for links, it resolves to the marker, which doesn't make sense; the only instance of the ID should be the one in the actual title.
How Has This Been Tested?
Can be tested by putting <ph id="test"> around any topic title, and building to PDF -- if you look at the topic.fo file you'll find two instances of the same ID that ends in _test". (You can also run in verbose mode and check for warnings from the formatter).
With this fix, the problem is corrected.
Type of Changes

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that changes existing functionality)

Originally opened as #3331 against our last hotfix, but auto-closed when that branch was removed.


pack tonTyp struct

Code throughout seem to expect sizeof(tonTyp) to be exactly 5 bytes,
which is the case if gcc is used, but, while porting to Plan 9, it was
found that sizeof is 8 bytes with some compilers instead, resulting in
either crashes on loading a module, or incorrect playback.

Interesting, I thought this would be safe because it consists of bytes only.
I made my own commit because I wanted to add some comments and rearrange some stuff in ft2_replayer.h
Thanks for pointing out this issue!


Bitbucket Integration

I do most of my work on Bitbucket ( https://bitbucket.org/ ), it would be great to have the same integration as Github and Gitlab.
Thanks!

I added the Bitbucket web hook in the current development branch based on Gitlab and Github hooks.
However, only commits message seems to be supported by their webhook, I didn't find anything about the issue tracker.
At the moment, only closing a task from a commit message is supported (tested only with git, should work with mercurial too).
The documentation: https://github.com/fguillot/kanboard/blob/master/docs/bitbucket-webhooks.markdown

https://confluence.atlassian.com/display/BITBUCKET/Set+up+the+Issues+hook
How could this be integrated as well? Any ideias?

@bastiao issues hooks are for bitbucket internal issues tracker, not for external software.

you're right. I checked it later.

maybe, if we can include a external applications to polls the issues by RESTful API. Anyway, this is not related with the issue. Thanks for the help.


Did I mess up a device driver when running the script?

After doing a fresh install of Win 10 Pro, I ran the winutil script (the current version as of the day I did my build, June 22) with recommended settings and then ran O&OShutup, also using the recommended settings.
Now I've discovered that I can't plug in my iPad for syncing with the iTunes Win desktop app: it says that it is waiting for Windows to install an updated driver. When I check Device Manager, it is showing a driver for the iPad under "Portable Devices", but it still isn't recognized by iTunes. I've uninstalled and reinstalled iTunes, as well as the driver, many reboots, etc., but still no luck.
Win and the iTunes app are up to date.
Which part of Windows which I might have nuked in the debloating script that could be needed for this?  I'm investigating the debloat script since I did nothing else to give rise to this issue but it could certainly be something else.  Thanks

probably the windows drivers portion.
type sysdm.cpl in run and go to drive installation method, set that to default and you should be good to go.

Update:  Working this problem further, it’s turned into a giant headache and may not have anything to do with settings changes and debloating from running winutil.  It’s the widespread issue with “some settings are managed by your system administrator” that I can’t seem to turn off, even though I’m using the admin account.
I went through gpedit.msc and couldn’t find any settings that weren’t “not configured”.
I tried the gpedit.msc recommended tricks in other help forums, of
(1) enabling and then disabling “Do not include drivers Windows with windows updates” (in Administrative Templates > Windows Components > Windows Updates,
(2) turning telemetry on in gpedit.msc, then applying it, running gpupdate /force to update the settings and then undoing it.
Didn't work after reboot.
So far I haven’t figured out how to take back control of the settings that are blocked on my own PC. I feel confident that if I could ever turn off “Do not include drivers Windows with windows updates” my original problem of the iPad device driver would be resolved.
I’m using Bitdefender (paid) and some forums say that if it is allowed to use a “work” profile it prevent s changes. However, I have Bitdefender profiles turned off and I still get the issue if I turn Bitdefender off.
It’s weird, I have a separate laptop with Win 10 Pro and no settings are blocked for the admin account.

Sorry for the late response, just setting Windows Update to default in the script will fix the issue


Added Show Cppcheck XML Output action to show the latest XML output - refs #53

Can you please enable the option to "Rebase and Merge" on this repo? This allows to merge the PR without a merge commit and keeping the individual commits intact. Thanks.

Can you please enable the option to "Rebase and Merge" on this repo? This allows to merge the PR without a merge commit and keeping the individual commits intact. Thanks.

Thanking about it - that is not necessary. Having the merge commit is actually okay - no idea what I was thinking...


Look at your test results

It doesn't look good. The pictures are all dark.
why it doesn't work?

GANs often have stability issues, and this little demo setup is no exception! I had to play with quite a few parameters to get even the results that I did. I have found that if the learning rate is too high, the models completely fail, and you can get a black image problem.
It may also help to modify how the images are pre-processed. I believe I just left the mean of the input data at whatever it naturally is. If you modify the input data's distribution to [-1, 1], this could also help the models overcome the dark image problem:
images = images.astype(keras.backend.floatx())

# divide by the largest uint8 value, setting the distribution to [0, 2]
images *= 2/255

# shift the distribution to [-1, 1]
images -= 1

and to reset the data to uint8 for viewing:
# shift the distribution to [0, 2]
images += 1

# shift the distribution back to [0, 255]
images *= 255/2 # restore to uint8
images[images < 0] = 0
images[images > 255] = 255

images = np.uint8(images)


Layout is broken if bom page is saved from browser and reopened locally

It happens mostly because browser preserves split gutters on save and JS adds another one on page load, resulting in double gutter.
Fix is to clear the gutters beforehand. Ain't that a chore :)

Closed in c4b827e


Update prepare-to-deploy-software-updates.md

Re-wrote the slipstreamed media portion of the article to provide step by step instructions.

Appreciated!


Allow this module to work on systems when global repo_gpgcheck = 1

Some system hardening guides require the use of "repo_gpgcheck = 1" in yum.conf.  This setting breaks this puppet module because the repo files it generates cannot set a repo-specific repo_gpgcheck setting (i.e. set it to 0 for epel).
This patch sets a value of 0 for each supported epel repo and allows override via params/hiera.

It seems like the default is 1, not 0, as you describe. I believe it should be disabled by default based on my understanding of both the flag and the amount of metadata TH signs, but I could be wrong there (appears to have only been fixed with 7.4, did 6 repos get backported signatures?)

Neither EPEL 6 nor 7 contain signed repo metadata. Ref:

https://dl.fedoraproject.org/pub/epel/6/x86_64/repodata/
https://dl.fedoraproject.org/pub/epel/7/x86_64/repodata/

This patch makes sure repo_gpgcheck is disabled by default for the EPEL repo.  For hardened systems with "repo_gpgcheck=1" in yum.conf, the EPEL repo will no longer break.  Systems that aren't enforcing "repo_gpgcheck=1" in yum.conf will see no behavior changes.

Ah, so the local setting can override the global, makes sense. Sorry, it was early, I'm get it now :D

Thanks for the approval.  Are there any more steps before you can merge this?

I am horribly sorry this fell off my radar for so long! I've resolved the merge conflicts and merged this PR. Thank you so much for your patience.


Update doc string for python 3.12

Resolves test failure with python3.12:
Failed build and log
Fixed build and log

Hi @dschwoerer, thanks for your report.
This is a bit confusing. I've tried a Python shell session:
$ python3.12 --version
Python 3.12.0b2 (main, Jul  7 2023, 07:49:42) [GCC 7.5.0] on linux
$ python3.12
>>> from collections import OrderedDict
>>> OrderedDict({'major': 3, 'minor': 4, 'patch': 5, 'prerelease': None, 'build': None})
OrderedDict({'major': 3, 'minor': 4, 'patch': 5, 'prerelease': None, 'build': None})

>>> OrderedDict([('major', 3), ('minor', 4), ('patch', 5), ('prerelease', None), ('build', None)])
OrderedDict({'major': 3, 'minor': 4, 'patch': 5, 'prerelease': None, 'build': None})

Both syntax variants are possible with OrderedDict.  I'm just not sure why it doesn't work in the doctest. :thinking:
Any idea?

After I've fixed the long line issue, it seems the GitHub Actions are not so happy with your change. :wink:
Your "fix" may work for Python 3.12, but breaks the other versions. I'm sorry, but I can't accept this fix as it is.
We need to investigate further.

Ok, I digged deeper and there is a change between 3.12 and the other Python versions. It's in the __repr__ method.
In Python 3.12 you have this code (see source):
@_recursive_repr()
def __repr__(self):
  'od.__repr__() <==> repr(od)'
  if not self:
      return '%s()' % (self.__class__.__name__,)
  return '%s(%r)' % (self.__class__.__name__, dict(self.items()))

whereas in Python 3.11 you have this (see source):
@_recursive_repr()
def __repr__(self):
  'od.__repr__() <==> repr(od)'
  if not self:
      return '%s()' % (self.__class__.__name__,)
  return '%s(%r)' % (self.__class__.__name__, list(self.items()))

The last line is the culprit.
Seems we need to change the doctest somehow which does not relate to OrderedDict. I have something like this in mind:
>>> list(OrderedDict({'major': 3, 'minor': 4, 'patch': 5, 'prerelease': None, 'build': None}).items())
[('major', 3), ('minor', 4), ('patch', 5), ('prerelease', None), ('build', None)]

I do not know doc tests, so I only managed to get the fix for 3.12
As you claim to support 3.12 on pypi, I thought you may be interested :-)
It may be best to always return a dict?
They are sorted since python3.6. I don't think you need OrderedDicts, the benefit OrderedDicts provide are not likely useful.
Do you want me to change it to return dict? That way the doc test would not need to be conditionalised ...
Of course, using to list or something could also work ...

Thanks for your answer! I think I found a solution to this problem which I committed to 686ce67.

It may be best to always return a dict?

That could indeed an option. I haven't thought about that. :smile:  The OrderedDict was introduced due to Python 3.6 as the dict wasn't ordered. As we don't support this version anymore, we might use a simple dict.

Do you want me to change it to return dict? That way the doc test would not need to be conditionalised ...

Yes, please! That would be great! :+1: You need to adapt these files:

docs/usage/convert-version-into-different-types.rst
docs/usage/create-a-version.rst
src/semver/version.py

Look for my last commit to see which lines.

This PR can be closed as #419 is merged now. Thanks!


Moved things to clean interactive.gd

Made the interactive.gd have the bare minimal to be considered an object by the vm.

Moved everything basic for an interactive object to the interactive.gd and everything else to item.gd that should be cleaned next.
Made trigger.gd extend item.gd instead for now.

Generally I like the idea of this, good stuff!

I removed the function.  And I think I corrected the whitespace line.

@santouits I've been busy with paid work and pushing out an updated version of Iron Sky: A Lunar Adventure but hopefully I can rebase a game onto this PR and see what happens.
Sorry about the delay. I remember starting off with Escoria and how disheartening it could be to wait for feedback etc, but no one's directly paid to do any of this. Not even paid to make games per se. So we have to prioritize to get the bills paid.
Feel free to try Lunar Adventure while waiting ;)

Don't worry, take your time, there is no need to hurry, really.
I played your game and I liked the scifi feeling though I guess I missed references because I haven't watched the movie.

I went ahead and committed 3258ee7.
Good job, thank you, even if we didn't make trigger an item!


Custom Query Parsing Doesn't Mesh Well With Typescript

Reproduction
Unknown
Steps to reproduce the bug
When using vue-router with  qs.parse with Typescript I need to ignore the parseQuery typing.
I'm using
import qs, { type ParsedQs } from "qs"

export { type ParsedQs }

export function stringifyQuery(params: unknown): string {
  return qs.stringify(params, {
    arrayFormat: "brackets",
    strictNullHandling: true,
  })
}

export function parseQuery(search: string): ParsedQs {
  return qs.parse(search, {
    strictNullHandling: true,
  })
}

const routes = [
// some routes
]

const router = createRouter({
  history: createWebHistory(),
  // @ts-expect-error - Ignore router query format as Qs format is more flexible
  parseQuery,
  stringifyQuery,
  routes,
})

There is an additional irritation in that the types don't mesh in Vuetify HTML either.
e.g.
<template>
<!-- Some form with some fields for searching datasets -->
<v-btn
  :to="{ name: 'DatasetsPage', query: searchQuery }"
  >Search</v-btn
>
</template>

<script lang="ts" setup>
import { computed, ref } from "vue"

const keywords = ref<string[]>([])
const departmentId = ref<number>()

/**
 * As we are parsing with Qs, we are ignoring the invalid type information
 */
const searchQuery = computed(() => {
  return {
    where: {
      departmentId: departmentId.value,
      keywords: keywords.value,
    },
  } as unknown as LocationQueryRaw
})
</script>

Expected behavior
I would expect vue-router to either support passing in a custom type for parseQuery or auto-magically propagate the type returned by whatever function you pass to parseQuery.
Actual behavior
vue-router uses it's own LocationQueryRaw type which does not mesh well with custom query parsers.
This problem may also exist in Vuetify's VBtn#to, but it seems likely to me that vue-router would need to fix their typing first in either case.
Additional information
No response

@posva Is vue-router dropping Typescript support? I'd love to be able to tell my boss, so that I don't have to work with it either.

This is indeed a technical limitation. You will have to cast, ignore, or use functions to generate the types that are convenient to you

Apparently I didn't click send the comment. Fortunately, it was kept saved in local storage so I just sent it again 😄

@posva Is vue-router dropping Typescript support? I'd love to be able to tell my boss, so that I don't have to work with it either.

In the future, refrain from snarky comments like this. Thank you.


It's better to not include *.pdf in the repo

@simoncozens There are some *.pdf files, which are the output of  sile *.sil.
I think it's better to remove this *.pdf files, to take down the size of repo :)

To be honest the PDFs are not all that big - the biggest is 1.6M. There was a King James' Bible in there which wasn't a good example of anything so I've removed it now, but I think it's important to have the PDF output in there so that (a) people can quickly explore SILE's capabilities before they try playing with it, and (b) they know what they should be getting when they do play with it. So I shall be keeping them!


ci: update python versions in strategy matrix

Python 3.11 has been released on 24.10.2022 and we should aim to be fully compatible, thus test on 3.11 instead of 3.10. Also test on 3.9 instead of 3.8, because 3.9 is more widespread than 3.8 (e.g. 3.9 is packaged for Debian 11 (bullseye), most other distributions either use 3.9 or a newer release as well) and so we're back to the (test, skip, test, skip, test) pattern, where we skip testing on 3.8 and 3.10.

Makes sense and looks good to me

@FrankSchnicke Can you merge this as well?


Public constructor on an abstract class

Original issue created by<EMAIL_ADDRESS>on 2013-06-05 at 02:25 PM

A constructor on an abstract class should be declared as protected, there is never a need to declare it as public, since only subclasses can actually invoke it. There is, admittedly, not much negative consequence for this error, but I feel it is always a mistake, and one I'd be happy to see my compiler warn me about.
Positive case:
public abstract class AbstractReport {
  public AbstractReport(String reportName) {
    // ...
  }
  public abstract void runReport();
}
Negative case:
public abstract class AbstractReport {
  protected AbstractReport(String reportName) {
    // ...
  }
  public abstract void runReport();
}

This isn't a correctness issue, so it doesn't meet the bar for being an error. It might work as a warning or optional suggestion.


Cte updates

@hapatim
Can you review the proposed changes? They are extensive enough that they'll need to be moved into the private repo for staging and validation. Let us know if you'd like help doing that.
(If you would like us to take care of moving the commits, note that the file names for new images must be revised to follow the file naming guidelines before we can do so.)
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to process.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

i have reviewed the proposed changes, and i do think we would like help in moving to the private repo - do we need to change the filenames first?

I’ll make the changes.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Courtney Wales @.>
Sent: Wednesday, August 31, 2022 3:14:29 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Meryem Khribech @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Cte updates (PR #97839)
@hapatimhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhapatim&data=05|01|mkhribech%40microsoft.com|e8ff977bf99941bf0af008da8b9e2cd6|72f988bf86f141af91ab2d7cd011db47|1|0|637975808742471975|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=7DN51%2BWgIiZTOZCTclebl5lDUbzJ1Gtq60MjuCcqAZA%3D&reserved=0
No problem! Yes, the file names will need to be updated first. Here are the file naming guidelines from the Contributor guide: https://review.docs.microsoft.com/en-us/help/contribute/file-path-guidelines?branch=mainhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Freview.docs.microsoft.com%2Fen-us%2Fhelp%2Fcontribute%2Ffile-path-guidelines%3Fbranch%3Dmain&data=05|01|mkhribech%40microsoft.com|e8ff977bf99941bf0af008da8b9e2cd6|72f988bf86f141af91ab2d7cd011db47|1|0|637975808742471975|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tiN8KPpir%2BtNPPaGOxXk%2Bg%2FXP0adQM%2F3EEcMwLr8Iyg%3D&reserved=0.
Example:

Original: articles/communication-services/concepts/media/call-logs-images/Example 1_ P2P Call Aug22 update. same tenant.png
Revised: articles/communication-services/concepts/media/call-logs-images/example-1-p2p-call-same-tenant.png

—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F97839%23issuecomment-1233473969&data=05|01|mkhribech%40microsoft.com|e8ff977bf99941bf0af008da8b9e2cd6|72f988bf86f141af91ab2d7cd011db47|1|0|637975808742628189|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=4JUW7f4vV9YoqddDGFJBP%2Fyd5%2BEY2oncUir7jU7ksMc%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUNLATKWWBGSQXLC2WONXMTV37KMLANCNFSM6AAAAAAQBWNIF4&data=05|01|mkhribech%40microsoft.com|e8ff977bf99941bf0af008da8b9e2cd6|72f988bf86f141af91ab2d7cd011db47|1|0|637975808742628189|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=DttJ3D96mzMVimvozqsfmfL5wh46cggCioXQpbx8WYs%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Courtney,
I updated the PR as per the recommendations here is the link update cross tenant OS and SDK redaction by mkhribech · Pull Request #210487 · MicrosoftDocs/azure-docs-pr (github.com)https://github.com/MicrosoftDocs/azure-docs-pr/pull/210487
Please review and let me know the next steps

From: Courtney Wales @.>
Sent: Wednesday, August 31, 2022 2:08 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Meryem Khribech @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Cte updates (PR #97839)
@hapatimhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhapatim&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=CBnNlHjxBGM4dNGANoTj%2FBI1ckbCdzYouWYRE4BVxKA%3D&reserved=0
Can you review the proposed changes? They are extensive enough that they'll need to be moved into the private repo for staging and validation. Let us know if you'd like help doing that.
(If you would like us to take care of moving the commits, note that the file names for new images must be revised to follow the file naming guidelines before we can do so.)
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to process.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-teamhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forgs%2FMicrosoftDocs%2Fteams%2Fpublic-repo-pr-review-team&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=SIx8rciBVMYaUPVMW%2B6MtgiUnWN4ezfsFySHOylMp7o%3D&reserved=0
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F97839%23issuecomment-1233422929&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=6Lc7jq4NoOylng6E9nXElAFzwdkVV2ChZ6aC%2BmIzGTY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUNLATMXQQ4DYEOWJKVUWQLV37CUDANCNFSM6AAAAAAQBWNIF4&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=fAWQ3OZMBNBGhjdNqd1mgNzcROcxN613YxkuHGCXJMM%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Courtney,
I updated the PR as per the recommendations here is the link update cross tenant OS and SDK redaction by mkhribech · Pull Request #210487 · MicrosoftDocs/azure-docs-pr (github.com)https://github.com/MicrosoftDocs/azure-docs-pr/pull/210487
Please review and let me know the next steps

From: Courtney Wales @.>
Sent: Wednesday, August 31, 2022 2:08 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Meryem Khribech @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Cte updates (PR #97839)
@hapatimhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhapatim&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=CBnNlHjxBGM4dNGANoTj%2FBI1ckbCdzYouWYRE4BVxKA%3D&reserved=0
Can you review the proposed changes? They are extensive enough that they'll need to be moved into the private repo for staging and validation. Let us know if you'd like help doing that.
(If you would like us to take care of moving the commits, note that the file names for new images must be revised to follow the file naming guidelines before we can do so.)
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to process.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-teamhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Forgs%2FMicrosoftDocs%2Fteams%2Fpublic-repo-pr-review-team&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=SIx8rciBVMYaUPVMW%2B6MtgiUnWN4ezfsFySHOylMp7o%3D&reserved=0
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F97839%23issuecomment-1233422929&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=6Lc7jq4NoOylng6E9nXElAFzwdkVV2ChZ6aC%2BmIzGTY%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUNLATMXQQ4DYEOWJKVUWQLV37CUDANCNFSM6AAAAAAQBWNIF4&data=05|01|mkhribech%40microsoft.com|e0b4721221f34434d43008da8b94ed32|72f988bf86f141af91ab2d7cd011db47|1|0|637975769011336247|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=fAWQ3OZMBNBGhjdNqd1mgNzcROcxN613YxkuHGCXJMM%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Update CHANGELOG for 1.7

Killed the builds manually because ci skip does not work with Jenkins atm.


debian the problem run game version GLIBC_2.29 not found

Godot version:
youtube godot engine 3.1
OS/device including version:
debian 10
Issue description:
users probably uses ubuntu 19.04 godot engine Linux export through debian launch impossible due to version GLIBC_2.29
download via youtube file link after Linux it is impossible to start because of libc6 debian, I believe 2.28-10 you need version GLIBC_2.29 there is a problem
https://www.youtube.com/watch?time_continue=42&v=jTmppCifnYE
Terminal
XXXXXX:~/Downloads/bw_game_lin64$ ./afg.x86_64
./afg.x86_64: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./afg.x86_64)
XXXXXX:~/Downloads/bw_game_lin64$ sudo apt install -t testing libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version (2.28-10).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

https://packages.debian.org/en/bullseye/libc6 (debian 10)
https://packages.ubuntu.com/disco/libc6 (ubuntu 19.04)
Steps to reproduce:
Minimal reproduction project:
https://danilw.itch.io/particle-game-demo (Linux x64 zip)

That's not a Godot issue, the same would happen with any self compiled Linux binary from a too recent distro.
You should report this to the Dev of that demo. Official Godot binaries are built on Ubuntu 14.04 and don't have this compat issue.


Pass journal_file_names as command line arguments

Seems to have been a random launch Fluent test failure, re-running tests


"meta" is used inconsistently

The problem
There are three different ways nouns described with "meta" are written in the docs:

meta$noun
meta-$noun
meta $noun

Suggestions
There should only be one way, and there should be tests that ensure that.

We can use a test we already have for that. Thanks for the report.

Looks like this test is now failing on one of the instances of "meta".

@coke the new regex includes the test that is commented out. And yes, there are IIRC 36 tests that are failing. I didn't have time to check if they are actually errors and fix them.

Well, it's an author test...  But allright, I'll do that. Thanks for the
recommendation.

This line:
__PACKAGE__->meta->make_immutable;

is a false positive in faq.pod6.
Not sure how to handle this. Ideally, we should eliminate code from these checks.

We shouldn't eliminate all code, because code includes comments and user defined names. I can work on updating the regex here.


Delete contract with invalid ID returns 200 OK, nor 404 Not Found

Using the API, an attempt to DELETE a contract for a listing where the value passed for the id argument is invalid will cause the response to be a status 200 / OK.
Expected would be a 404 Not Found, as described here:
http://www.restapitutorial.com/lessons/httpmethods.html
Operating System (OS and version): Ubuntu 14.04
OpenBazaar version: 0.2.1
Reproducible: Always
Steps to reproduce:
1. $ python testdeleteinvalid.py
Observed Behavior:
There were no exceptions thrown.
Expected Behavior:
    assert r.status_code == 200
AssertionError

Additional info (links, images, etc go here):
testdeleteinvalid.py is attached, and is available here as a gist:
Additional info: testdeleteinvalid.py script: https://gist.github.com/sgornick/077bc0fdec64813cf725ec3835026dcb#file-testdeleteinvalid-py, or saved as .txt since github doesn't support .py attachments.
testdeleteinvalid.py.txt

A related issue might be Issue #465.


When deploying to heroku, mongodb by mlab url is not set to DATABASE_URI

Cause:
When deploying to heroku, mongodb env of mlab is named MONGODB_URI, but the parse server expects url from DATABASE_URI. So users will encounter error access to mongodb from localhost of heroku app, this makes client not able to read or write any data.
Solution:

Manually set DATABASE_URI to content of MONGODB_URI
Try read MONGODB_URI when deploying to heroku

Br,
Nick

After reading the source code of index.js,
The real cause of the issue might be the name change of mlab mongodb env name from MONGOLAB_URL to MONGODB_URL.
Br,
Nick


fix(cli): kubectl version command errors out if server is un reachable

Description
This pull request changes the following:

In fstnetman init dependency check should make use of kubectl version --client,
without this if a k8s server in default context is not reachable it fails with an error
and falsely reports that 'kubectl' is not found

Related Issues

Closes #530

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


exec won't pass return code to callback when used with async.js

Hi,
I'm using NodeJS v6.8 with ShellJS v0.7.4 (npm) on a MacbookPro 13' running macOS Sierra.
The problem using AsyncJS v2.1.1 to run an external git command through exec is the following:
var shell = require('shelljs');
var waterfall = require('async/waterfall');

waterfall([
  function(callback) {
    shell.exec('git clone<EMAIL_ADDRESS>/Users/kstratis/Documents/myrepos/',
    {silent:false, async:true},
    callback);
  },
  function(code, stdout, stderr, callback) {
    console.log('The code is: ' + code);
    console.log('stdout is: ' + stdout);
    console.log('stderr is: ' + stderr);
    callback(null, 'completed');
  }], function (err, msg) {
        if (err) throw err;
        console.log('All tasks successfully' + msg);
      });

code is always an empty value
stdout is stdout
no stderr. In its place is the callback function as parameter.

Any help?
Thanks.

from gitter

waterfall expects the callbacks of tasks to be called in the form (err, ...results) however, it looks like it's being called like (code, stdout, stderr). Therefore, waterfall will always error. You are going to have to wrap the call to that callback to be consumed by async.waterfall

Yep

Yep, exactly what @megawac said... ShellJS calls the callback incorrectly. Based off that, I'm going to close this, but feel free to reopen if I've misunderstood.


fix to execute_mars call

change to execute_mars function needs to be propagated to all calls

@EddyCMWF do you want this in the today's release?


Environment setup problem

Thank you for your contribution, but I meet lots of troubles when I want to reproduce your project and I really need some help. Here are some issues I met.

I tried set up the environment with the yaml file, but the mirror source ustc link is already closed and there are two packages "  - pytorch=1.3.1=py3.6_cuda10.1.243_cudnn7.6.3_0

torchvision=0.4.2=py36_cu101" were already obsoleted by Anaconda.  I couldn't find them anywhere, is it possible for you to upload those two packages on github?

the project need to use inplace-abn package, I found it is incompatible with python 3.6. It need at least python 3.7(pip told me). I wonder the environment.yaml file is correct or not, could you please check it? Thank you very much!

Hi, thanks for your question.
Since this environment may be difficult to configure now, you can try the environment provided by PLOP first, which may cause some performance differences, but it will not cause a big impact.


Kong zipkin plugin on 1.2.0rc1 errors/problems

I specifically see this error printing over and over:
2019/05/29 16:29:56 [error] 36#0: *2801 lua coroutine: runtime error: .../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:26: attempt to index field 'conf_to_tracer' (a nil value)
--
  | stack traceback:
  | coroutine 0:
  | .../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua: in function 'get_tracer'
  | .../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:48: in function 'initialise_request'
  | .../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:87: in function 'get_context'
  | .../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:97: in function <.../local/share/lua/5.1/kong/plugins/zipkin/opentracing.lua:93>
  | coroutine 1:
  | [C]: in function 'resume'
  | coroutine.wrap:21: in function <coroutine.wrap:21>
  | /usr/local/share/lua/5.1/kong/init.lua:665: in function 'access'
  | access_by_lua(nginx.conf:139):2: in function <access_by_lua(nginx.conf:139):1>, client: 10.xxx.xx.x, server: kong, request: "GET /ping HTTP/1.1", host: "gateway-dev-core.company.com"

Code snippit the nil call fails on:
local tracer = self.conf_to_tracer[conf]

Note the /ping endpoint has the request termination plugin on it and makes it throws a 200 success with http body of Success in kongs standard { message : Successs } json.
Due to the error this endpoint actually stops functioning:
With zipkin errors a flying:
/ $ curl localhost:8000/ping
curl: (52) Empty reply from server

No Zipkin:
/ $ curl localhost:8000/ping
{"message":"Success"}

Was on Kong 1.0.3 prior and it was working fine there.
OS: Docker Kong Alpine 3.6
Kong version: 1.2.0rc1
Zipkin was enabled globally fyi.
Thanks,
Jeremy

Hunch for future readers (haven't checked any of this):
We ensure backwards-compatibility to execute old plugins' :new() handler here: https://github.com/Kong/kong/blob/next/kong/db/dao/plugins.lua#L273-L278
However, iirc, Zipkin has some sort of multiple inheritance, so the getmetatable(handler) == BasePlugin condition may not be true. In which case, maybe we need to call is().

Fix in #4671

As per usual dropping a fix in under 24 hours 💯 . Good stuff, will test on the next bintray drop.

@thibaultcha confirmed rc2 fixes this as well on my end. Closing the issue!


Swedish translation

Please merge Swedish translation of stretchly.

Hi and many thanks ;]
Did you have chance to run it locally?

Codecov Report

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

@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
- Coverage   82.64%   82.23%   -0.42%
==========================================
  Files          10       10
  Lines         242      242
  Branches       29       29
==========================================
- Hits          200      199       -1
- Misses         42       43       +1

Impacted Files
Coverage Δ

app/utils/untilMorning.js
95.83% <0%> (-4.17%)
: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 212fd31...64c0238. Read the comment docs.

@jony0008 sorry but one more change that I forgot to mention:
please edit settings3.html and welcome.html. You will need to add Swedish language there ;] That should be it!