migrate code from googleapis/java-dataproc

samples: scaffold pom.xml files (#97)
chore(deps): update dependency com.google.cloud:libraries-bom to v4.3.0 (#109)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.13 (#110)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.14 (#117)
chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.0 (#119)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#124)
chore(deps): update dependency com.google.cloud:libraries-bom to v4.4.1 (#126)
chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#149)
chore(deps): update dependency com.google.cloud:libraries-bom to v5.1.0 (#150)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.16 (#157)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.17 (#161)
chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#171)
chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#175)
chore(deps): update dependency com.google.cloud:libraries-bom to v5.4.0 (#188)
chore(deps): update dependency com.google.cloud:libraries-bom to v5.5.0 (#198)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.18 (#216)
chore(deps): update dependency com.google.cloud:libraries-bom to v5.7.0 (#212)
chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#227)
chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#231)
chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#237)
chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#240)
chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#249)
samples: feat: adding CreateCluster sample for Dataproc (#1734)
samples: fix: small updates to dataproc sample, test and pom (#1738)
samples: feat: dataproc quickstart and createcluster (#1908)
samples: feat: add cli functionality to dataproc quickstart (#2047)
samples: feat: dataproc instantiate inline workflow sample (#2360)
samples: changed template tag (#2532)
samples: feat: adding hadoopfs and autoscaling samples (#3262)
samples(test): fix required dependencies for tests
docs: change relative URLs to absolute URLs to fix broken links. (#260)
chore(deps): update dependency com.google.cloud:libraries-bom to v9 (#266)
chore(deps): update dependency com.google.cloud:libraries-bom to v9.1.0
chore(deps): update dependency com.google.cloud:libraries-bom to v10
adding submit job sample and updating submit job in quickstart (#284)
removed extra old code (#285)
chore(deps): update dependency com.google.cloud:libraries-bom to v11
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#306)
chore(deps): update dependency com.google.cloud:libraries-bom to v12 (#310)
test(deps): update dependency junit:junit to v4.13.1
chore(deps): update dependency com.google.cloud:libraries-bom to v12.1.0 (#320)
chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#332)
chore(deps): update dependency com.google.cloud:libraries-bom to v13.1.0 (#338)
test(deps): update dependency com.google.truth:truth to v1.1 (#333)
chore(deps): update dependency com.google.cloud:libraries-bom to v13.2.0 (#344)
chore(deps): update dependency com.google.cloud:libraries-bom to v13.3.0 (#347)
chore(deps): update dependency com.google.cloud:libraries-bom to v13.4.0 (#356)
chore(deps): update dependency com.google.cloud:libraries-bom to v14 (#363)
chore(deps): update dependency com.google.cloud:libraries-bom to v15 (#366)
chore(deps): update dependency com.google.cloud:libraries-bom to v15.1.0 (#373)
chore(deps): update dependency com.google.cloud:libraries-bom to v16 (#382)
chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.0 (#406)
chore(deps): update dependency com.google.cloud:libraries-bom to v16.2.1 (#418)
test(deps): update dependency com.google.truth:truth to v1.1.2 (#424)
chore(deps): update dependency com.google.cloud:libraries-bom to v16.3.0 (#423)
chore(deps): update dependency com.google.cloud:libraries-bom to v16.4.0 (#438)
test(deps): update dependency junit:junit to v4.13.2 (#441)
chore(deps): update dependency com.google.cloud:libraries-bom to v17 (#452)
chore(deps): update dependency com.google.cloud:libraries-bom to v18 (#455)
chore(deps): update dependency com.google.cloud:libraries-bom to v18.1.0 (#467)
chore(deps): update dependency com.google.cloud:libraries-bom to v19 (#470)
chore(deps): update dependency com.google.cloud:libraries-bom to v19.1.0 (#482)
chore(deps): update dependency com.google.cloud:libraries-bom to v19.2.1 (#484)
fixing machine type for new default image (#490)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#495)
chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#506)
chore: update QuickstartTest to use StdOutCaptureRule (#376)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.1.0 (#513)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.2.0 (#532)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.4.0 (#542)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.5.0 (#559)
test(deps): update dependency com.google.truth:truth to v1.1.3 (#561)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.6.0 (#577)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.23 (#576)
chore: migrate to owlbot (#582)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.7.0 (#589)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.8.0 (#601)
chore(deps): update dependency com.google.cloud:libraries-bom to v20.9.0 (#613)
chore(deps): update dependency com.google.cloud:libraries-bom to v21 (#641)
chore(deps): update dependency com.google.cloud:libraries-bom to v22 (#654)
chore(deps): update dependency com.google.cloud:libraries-bom to v23 (#669)
chore(deps): update dependency com.google.cloud:libraries-bom to v23.1.0 (#707)
chore(deps): update dependency com.google.cloud:libraries-bom to v24 (#728)
chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.2.0 (#742)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.0 (#751)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.1 (#752)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.1.2 (#758)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.2.0 (#770)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.3.0 (#788)
build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.9 (#792)
build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.10 (#793)
build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.11 (#794)
chore(deps): update dependency com.google.cloud:libraries-bom to v24.4.0 (#805)
chore(deps): update dependency com.google.cloud:libraries-bom to v25 (#815)
sample: changes in three tests to resolve flaky tests and presubmit errors in samples (#819)
chore(deps): update dependency com.google.cloud:libraries-bom to v25.1.0 (#825)
build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.13 (#843)
chore(deps): update dependency com.google.cloud:libraries-bom to v25.2.0 (#845)
chore(deps): update dependency com.google.cloud:libraries-bom to v25.3.0 (#852)
chore(deps): update dependency com.google.cloud:libraries-bom to v25.4.0 (#866)
chore(deps): update dependency com.google.cloud:libraries-bom to v26 (#883)
build(deps): update dependency org.apache.maven.plugins:maven-deploy-plugin to v3 (#890)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.0 (#902)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.1 (#905)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.2 (#920)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.1.3 (#960)

Fixes #issue

It's a good idea to open an issue first for discussion.

[ ] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] API's need to be enabled to test (tell us)
[ ] Environment Variables need to be set (ask us to set them)
[ ] Tests pass:   mvn clean verify required
[ ] Lint  passes: mvn -P lint checkstyle:check required
[ ] Static Analysis:  mvn -P lint clean compile pmd:cpd-check spotbugs:check advisory only
[ ] Please merge this PR for me once it is approved.

Reverting inclusive language commit. Justification: that's the verbiage used by the com.google.cloud.dataproc.v1.ClusterConfig import (e.g. the setMasterConfig() method)


mec172xmodular_assy6930: add board support

Add board files and documentation for mec172xmodular_assy6930.
This is for MEC172x Modular Card support.
Signed-off-by: Frances Wu<EMAIL_ADDRESS>

Please review and approve this PR instead of PR #42652.  Thank you!

@rgundi  fyi original review done at https://github.com/zephyrproject-rtos/zephyr/pull/44229


[SUGGESTION] Add a developer mode warning

After a while, I realized that I had to enable developer mode to jailbreak, which wasn't exactly obvious. Just to prevent others from experiencing the same problem, perhaps a warning could appear while jailbreaking telling the user to enable developer mode?

Not needed, a future update will support jailbreaking without having dev mode enabled.


MT4 Dotnet Core

Good day,
I am trying to replicate what you have done for MT5 but to do it as well for MT4. When using the MtApiServiceNetCore I am able to connect, but somewhere I believe there is some issue with the data contract or something.
I get the following error:
System.ServiceModel.CommunicationException: 'Service connection failed! The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:GetQuotesResult. The InnerException message was 'There was an error deserializing the object of type System.Collections.Generic.List 1'[[MTApiService.MtQuote, MtApiServiceNetCore, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]]. The input source is not correctly formatted.'.  Please see InnerException for more details.'
and the inner exception.
{"The input source is not correctly formatted."}
Any suggestions on what could be the issue. When using the MtApiService directly does work fine (in dotnet framework).

Hi @maartenschalekamp, this also happens on my side, it is unrelated to mt4 or mt5. It has something to do with wcf versions >= 4.8.0. To better investigate this issue, I created the test server project for checking only the wcf communication. But recently I had no time for further analyzation, but it is on my Todo list. Sorry :(
To solve it on your end, you can just use the 4.7.0 wcf dependencies, with them I Do not face this issue and all is working as expected.

Maybe some additional background. The json payload is for some methods generated directly in mql5, for others not. The GetQuoteResults is called directly after a connection is established.

Thank you for confirming. I really though I was doing something wrong. I will try downgrading to 4.8.0. Really appreciated!
Migrating the server part seems to be a big project as well, but there seems to be some limited support for WCF now in core from a community project.

If you downgrade to 4.8.0, you have to re-add some workarounds. Just have a look at this commit for some details (e.g. the CallbackBehaviorAttribute). https://github.com/lazou/mtapi/pull/5/commits/91af1124c41a88b1f761086dc670cbeb584a7270

Migrating the server part seems to be a big project as well, but there seems to be some limited support for WCF now in core from a community project.

Yep, but requires a better understanding of the mtapi implementation. I think that would be a nice goal to achieve in combination 😉

@maartenschalekamp I did some debugging and found the issue for your observed exception. It is not related to the wcf dependencies (which still have another issue on versions greater than 4.8.0), but has something to do with the used .net core version. There is a regression in .net7, it will still work with .net6. Here are two issues I found for this behavior:

https://github.com/dotnet/runtime/issues/78913
https://github.com/dotnet/runtime/issues/79056

Thank you Lazou. I want able to work on my project for a while. I initially tried to just downgrade to 4.8.0 and then ran into other random issues. Downgraded to .net6 and it works now!

Hi maartenschalekamp and lazou
I have just come across MTAPI and hope to try it out this week on MT5. I much prefer C# programming than C++ and MQL, having spent a lot of effort creating my own EA on MQL4 many of its issues would be easily fixed through C#. I do not programme often enough for C++ to create a standalone app in C++. However, I am quite comfortable in C#.
I like the many changes lazou has done with his fork of vdemydiuk but the latter still has MT4.
My use case combines both MT5 and MT4. Unfortunately, your MT4 development does not appear to be public, so I am not sure what direction to take. What do you recommend?
Thanks

Hi @cshawky, I decided to remove MT4 since I only use MT5 and could not test MT4 for my own. Additionally it made the project setup easier. That said, I personnally recommend the usege of MT5. But at the end it is up to you :wink:

@lazou that makes perfect sense. However, I am supporting an EA for multiple clients who use MT4 exclusively and their favorite broker does not support MT5. To solve limitations with that EA, the magic sauce needs to be done outside of MT4. I myself have started using MT5 and do like it. For that use case I only need a private copy service.
I might reach out to VeriEasi and see when he/she is at. At least that clone of your repository seems to have maintained the MT4 build. However, has not kept the MT5 updates from you synchronised. This may actually be reasonably easy to merge with a little cooperation, even if portions are declared "untested" or "limited testing".
Thanks

Thanks, I've just started on this, with a fork. What is the current status for .net as I note a few different versions from .NET 5, 6 and framework 4.8 selected for different projects. Is it safe for .Net 7 yet or should one stick to an earlier version?

I think it is totally fine to use NET7, but I have no experience with it until now (still using NET5). So at the end it is up to you.


[Cleanup] Return single account for ConfidentialClientApplication

Per discussion in https://github.com/AzureAD/microsoft-authentication-library-for-go/pull/68#discussion_r516576827
The Accounts() method returns a slice of accounts in a confidential client app however there will always only be one account.
There is no singular Account() method at present.

@jhendrixMSFT normally Accounts() should not return any account if the cache is well implemented, as there should be one cache per account, and I don't think that Accounts() would know which account/Msal account ID to use? would it?


TypeError: scatter_add() missing 1 required positional arguments: "src"

Hi Chen,
I have tried to follow your instructions exactly, but the following happens when I run the pretrained model:
loading checkpoint ckpt-0-0...
loading checkpoint ckpt-42.508549-0...
/home/arnav-gulati/.local/lib/python3.6/site-packages/torch/nn/functional.py:1374: UserWarning: nn.functional.tanh is deprecated. Use torch.tanh instead.
  warnings.warn("nn.functional.tanh is deprecated. Use torch.tanh instead.")
Traceback (most recent call last):
  File "decode_full_model.py", line 169, in <module>
    args.max_dec_word, args.cuda)
  File "decode_full_model.py", line 87, in decode
    all_beams = abstractor(ext_arts, beam_size, diverse)
  File "/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/decoding.py", line 116, in __call__
    all_beams = self._net.batched_beamsearch(*dec_args)
  File "/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/model/copy_summ.py", line 125, in batched_beamsearch
    token, states, attention, beam_size)
  File "/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/model/copy_summ.py", line 245, in topk_step
    source=score.contiguous().view(beam*batch, -1) * copy_prob
TypeError: scatter_add() missing 1 required positional arguments: "src"

The command I used was:
python3 decode_full_model.py --path=/home/arnav-gulati/Documents/other_models/fast_abs_rl-master --model_dir=/home/arnav-gulati/Documents/other_models/fast_abs_rl-master/pretrained/acl --beam=5 --test
and I followed your instructions on exporting the data path with:
export DATA=/home/arnav-gulati/Documents/cnn-dailymail-master/finished_files/
I am not sure what causes the following line:
TypeError: scatter_add() missing 1 required positional arguments: "src"
Do you have any advice on what I should do? I believe I have installed all the dependencies, but just in case you want to see them, here they are:
boto            2.49.0    boto3           1.9.171   botocore        1.12.171  bz2file         0.98      certifi         2019.6.16 chardet         3.0.4     cytoolz         <IP_ADDRESS>   docutils        0.14      futures         3.2.0     gensim          3.7.3     idna            2.8       jmespath        0.9.4     numpy           1.16.4    pip             19.1.1    protobuf        3.8.0     pyrouge         0.1.3     python-dateutil 2.8.0     requests        2.22.0    s3transfer      0.2.1     scipy           1.2.2     setuptools      41.0.1    six             1.12.0    smart-open      1.8.4     tensorboardX    1.7       toolz           0.9.0     torch           0.4.0     urllib3         1.25.3    wheel           0.33.4
Any help would be appreciated!

Hi, I am pretty sure the API of scatter_add is source not src as seen in your error message. Please see here
I would suggest you to try to completely remove pytorch and reinstall the 0.4.0 version. I recommend using anaconda python and use conda to install pytorch. Hope this will resolve the issue.

Hi @A-Gulati,
I am using this model in my own repository. I upgraded to PyTorch 1.1, and I remember needing to change the scatter_add code to get it working.
I changed it from:
    lp = torch.log(
            ((-copy_prob + 1) * gen_prob
            ).scatter_add(
                dim=1,
                index=extend_src.expand_as(score),
                source=score * copy_prob

to
lp = torch.log(
            ((-copy_prob + 1) * gen_prob
            ).scatter_add(
                dim=1,
                index=extend_src.expand_as(score),
                src=score * copy_prob

Hi @A-Gulati,
I am using this model in my own repository. I upgraded to PyTorch 1.1, and I remember needing to change the scatter_add code to get it working.
I changed it from:
    lp = torch.log(
            ((-copy_prob + 1) * gen_prob
            ).scatter_add(
                dim=1,
                index=extend_src.expand_as(score),
                source=score * copy_prob

to
lp = torch.log(
            ((-copy_prob + 1) * gen_prob
            ).scatter_add(
                dim=1,
                index=extend_src.expand_as(score),
                src=score * copy_prob

This made it work.

@ChenRocks Thanks Chen!
@nickluijtgaarden Awesome, that did make it work, thank you!

@nickluijtgaarden Thanks for the solution. However, I found in the official doc here scatter_add still takes source as the argument. Do you have any idea what's happening? Maybe it's a pytorch bug worth reporting.

I think this might be a bug in PyTorch, indeed.


Create the Sieve of Eratosthenes exercise.

I'm giving it difficulty 8, which is "hard".
Also, a script to automate adding new exercises.
This touches the test-words.8th script, adding a new test word (compare arrays for equality, using numeric comparison for each element). To avoid a messy code review, I'll hold off copying it to all the other exercises until this exercise is ready for approval.

Looks good! My only thought is that the new test word has a better name, and probably test_eqa should become test_array_eq_str, and test_eqa2 should become test_array_eq_array_num(?). I agree with Bruce, the solution is interesting and I don't have any suggested improvements.

Hmm, naming things ...

current
perhaps ...

test_eq
test-num-eq

test_eqs
test-str-eq

test_true
test-true

test_false
test-false

test_null
test-null

test_eqa
test-arr-of-str-eq

test_array_eq_num
test-arr-of-num-eq

test_eqa2
test-arr-of-arr-of-num-eq

test_map_eq
test-map-num-eq

test_map_neq
test-map-num-neq

I'd be tempted to use is-... but dealing with skips and whatnot adds more meaning.

Rather than a:generate you could also use loop, viz
a:new ( drop true a:push ) 1 1000 loop with a bit of juggling to get your n into where the 1000 currently is.


Feature Lists Have Different Ordering In Python 3.5 vs. 3.6+

Feature Lists Have Different Ordering In Python 3.5 vs. 3.6+
Due to dictionaries retaining insertion order in python 3.6+, feature lists in Python 3.6 and 3.6+ have a different order. It is unknown where this creates issues other than serialization and deserializing between different versions

Since Featuretools has dropped Python 3.5, we no longer have this problem


FI amin into feature/WNP_ToastNotifications_L1

Forward integration main into our L1 feature branch
Few conflicts: Accepted incoming (from main) for almost everything but the solution file (accepted both)

/azp run

/azp run


Some optimizations

To get the code coverage, change <BRANCH_NAME> to the --separated branch name, e.g. feature/added-hooks --> feature-added-hooks

Description

Removed the need for a couple of extra loops, though the overall Time Complexity remains O(n^3). Also, instead of using the spread syntax, you can use Array.from to get some of that sweet, sweet JS Engine optimization.
Motivation and Context

Just used this neat tool the other day and decided to contribute.
Related Issue

😭 doesn't exist, sorry!
How Has This Been Tested?

npm test as well as comparing the demo to the original unchanged behavior.
Types 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 would cause existing functionality to change)
[x] Optimization and maintenance

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the contribution guidelines document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

prettier fucked a lot of that PR up... lmk if you want a cleaner version without all of the syntax changes

Looks great, thanks for this 🚀
I actually don't mind the prettier changes at all, but maybe you could include the prettierrc.json so we can keep the styling consistent for everyone?

added! cheers

sorry to bug but can we merge? potentially shipping something that's using the forked version, would be cool to just use the main one :)

ahhh, sorry about that - feel free to wrap up whenever you can. had some weird anxiety it was forgotten. i can ship w the patch and replace later :)

Works great @flbn, awesome work 🚀

Optimizations released in<EMAIL_ADDRESS>


add checked lambda funcs that can be easily demoted to standard lambdas

Allows two options for calls:
stream
  .filter(CheckedPredicate.demote(x -> checkedTest(x)))
  .map(CheckedFunction.demote(x -> checkedCall(x)))
  ...

or
stream
  .filter(Uncheck.pred(x -> checkedTest(x)))
  .map(Uncheck.func(x -> checkedCall(x)))
  ...

I'm not to particular about the specific labels for the methods, just that having 'short' calls will help readability a lot

I removed the static methods from the functional interfaces.  The only "demoting / unchecking" hooks are now in Uncheck.  This will make using these convenience functions more uniform.  We don't want folks sometime using CheckedFunction.demote  and sometimes using Uncheck.func ... might as well force people to use Uncheck.func because it is shorter & clearer.

Personally, I like where this is at -- bring in more folks before we commit to public api.


Misplaced green/red markers in diff view. Bug since upgrade to v1.10

VSCode Version: Code 1.10.1 (653f8733dd5a5c43d66d7168b4701f94d72b62e5, 2017-03-02T00:27:09.350Z)
OS Version: Darwin x64 16.4.0
Extensions:

Extension
Author
Version

code-settings-sync
Shan
2.5.1

vscode-theme-onedark
akamud
1.3.1

Bookmarks
alefragnani
0.11.0

npm-intellisense
christian-kohler
1.3.0

path-intellisense
christian-kohler
1.2.0

vscode-eslint
dbaeumer
1.2.7

githistory
donjayamanne
0.1.5

vscode-babel-coloring
dzannotti
0.0.4

flow-for-vscode
flowtype
0.5.0

string-manipulation
marclipovsky
0.0.2

Theme-1337
ms-vscode
0.1.2

color-highlight
naumovs
1.3.2

Lodash
oysun
1.0.0

vscode-icons
robertohuertasm
7.3.0

react-beautify
taichi
0.3.0

react-redux-es6-snippets
timothymclane
2.0.2

vscode-react-native
vsmobile
0.3.1

babelrc
waderyan
1.0.0

JavaScriptSnippets
xabikos
1.4.0

ReactSnippets
xabikos
1.2.1

Material-theme
zhuangtongfa
2.0.4

Steps to Reproduce:

Open Git side bar
Open a file that's changed
See attached. The first diff lines are correctly scrolled to, but the diff green/red markers in the scroll bar are misplaced to higher to where it should be.

First reported on https://twitter.com/garyfung/status/837129744105627648

The problem is that the file is somehow triggering the minified code detection logic (i.e. more than half of the characters in this file sit on a line longer than 1000 characters) and the file is forced to wrap. The diff editor should never wrap files.
Related #21674

Ya I can see it's the word wrapping that's the issue.
But a side issue. I like that the diff editor would word wrap now. So why should it never wrap?

@fungilation If we want to support wrapping in the diff editor, the "gaps" (the space rendered with diagonal lines) should have the height of the wrapped lines. Today, it has the height of the un-wrapped lines. The request to add this is tracked in #10572


B.M.I calculator    hacktoberfest hacktoberfest2020

Hello @shubham2704 , can I please work on the BMI calculator?

Hello @shubham2704 , can I please work on the BMI calculator?

Okay go ahead but read these instruction first and make the changes accordingly.
Add the below mention section to your PR message
Title
Number of files/folder added
changes made
check the options that you have completed,
I have;

[ ] Read contibuting.md
[ ] Followed all the guidelines
[ ] Linked my tool to the index.html file
[ ] updated readme.md
[ ] add your name in the footer of your tool.html file (if you created length conversion tool then add your name to length.html file you created)
[ ] provide below mentioned details if you want your name to be added in contributors.html
[ ] mail, twitter, github profile link.

@shubham2704  Bro is still open can i work on it ?

@programmerraja currently @2apreety18 is working on this. if he's unable to make the calculator i will  assign it to you. Until you can work on other issue. ✌


Counter

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/modify
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Can you please share more details about the issue you are running into?


ROM warm reset flow not implemented

Because the warm reset flow skips FW loading and ldevid/fmcalias key derivation some fields of the FHT are not populated:

manifest_load_addr
ldevid_tbs_size
fmcalias_tbs_size
Because FHT fields are not populated the FMC sees it as invalid and fails.

I think we'll want to just load the old FHT from DCCM. I've made a similar change for update reset: https://github.com/chipsalliance/caliptra-sw/pull/444

I created a PR with my attempt at implementing the warm reset flow: https://github.com/chipsalliance/caliptra-sw/pull/514
@mhatrevi If I use your modifications to the warm reset flow with my test it fails with "Handoff Error: Invalid RT Entry Point 0x000F0004" because the data vault is not repopulated.


CMP-2196: Update cluster role permissions for ingresscontrollers

We have a rule in the compliance content that will check the
ingresscontroller's TLS ciphers. It also comes with a remediation to
update the ciphers so they're either Recommended or Secure. However,
the remediation errors out when it's loaded after a scan because the
Compliance Operator doesn't have the necessary permissions to get the
ingresscontrollers, or apply the remediation.
This commit updates the Compliance Operator's cluster role so that it
has the ability to update the TLS cipher configuration for
ingresscontrollers.

/retest-required

/test e2e-aws-serial


Update best-practices.md

changes outlining strong hardware and software identifiers, with references to RFC 9393 and IEEE 802.1AR.

This should go in a new docusaurus version called "future", which we will rename to 2.2.0 when we release.

@hexsecs @jhdalek55 @tkfu does this work with docusaurus? pls check and lmk


Stop displaying the edit/view source link on synthetic pages

For example, the search.html page does not need it, and produces links yielding "404 Not Found" responses.
This patch intends to fix GH-437.

I've just invented the synthetic_page thing, right. ;]


Start debug session from command line

When debug a binary with gdb we can use
gdb --args ./my_binary ...

I hope vscode has similar capability, so we can directly start a debug session from command line like
code -debug --args ./my_binary ...

You can open a terminal in vscode and run gdb, I don't remember but I'm pretty sure vscode detects line references and allows you to automatically jump to lines. What you are asking is for someone to actually create a good debugger for binary files.

I didn't mean a new debugger.
I'm using vscode to debug a binary built outside of vscode. My current workflow needs to create a new configuration, fill in parameters, then start debugging. Usually I run the binary from command line, and the command line changes frequently. So each time I want to debug the code with vscode, I need to create a new configuration and fill in different parameters. I don't feel it's convenient. Instead I just prepend "gdb --args " to my command line and start debugging. So I hope vscode has similar command line to start a debug session (skip the configuration setup).
An example is KDevelop. I can use following command line to start a debug session
kdevelop -d gdb ./my_binary ...

/duplicate #10979

Mentioned in issue #10979 is this extension:
Please use this extension  https://marketplace.visualstudio.com/items?itemName=fabiospampinato.vscode-debug-launcher


Updated syntax to work with Python 2.6

When I tried to use pymux with Python 2.6.6, I got the below error:
Traceback (most recent call last):
  File "/home/hkrishna/python/bin/pymux", line 8, in <module>
    load_entry_point('pymux==0.11', 'console_scripts', 'pymux')()
  File "/home/hkrishna/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 318, in load_entry_point
  File "/home/hkrishna/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 2221, in load_entry_point
  File "/home/hkrishna/python/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1954, in load
  File "/home/hkrishna/python/lib/python2.6/site-packages/pymux/entry_points/run_pymux.py", line 28, in <module>
    from pymux.main import Pymux
  File "/home/hkrishna/python/lib/python2.6/site-packages/pymux/main.py", line 17, in <module>
    from .arrangement import Arrangement, Pane, Window
  File "/home/hkrishna/python/lib/python2.6/site-packages/pymux/arrangement.py", line 11, in <module>
    from .process import Process
  File "/home/hkrishna/python/lib/python2.6/site-packages/pymux/process.py", line 13, in <module>
    from .stream import BetterStream
  File "/home/hkrishna/python/lib/python2.6/site-packages/pymux/stream.py", line 142
    {event: getattr(listener, attr) for event, attr in source_dict.items()})
                                      ^
SyntaxError: invalid syntax

The patch makes the failing line backwards compatible.

Thanks for this! :) Merged in: https://github.com/jonathanslenders/pymux/commit/8cd31254bed82fe4055a22c713662613fad4bec1


Dataset

Thank you for this so interesting work.
Unfortunately, I cannot download the dataset with the link provided (SpaceML). Please, can you share it?
Thank you

Now it is available. Thank you!


[Question] Is there a way to dynamically change to a tab?

For instance, the last tab contains a summary of the previous tabs and if user sees something and would like to edit it, I'd like to have a button on the summary tab that allows the user to go to the correct tab rather than traverse back.

There have been 2 issues around this.
https://github.com/cristijora/vue-form-wizard/issues/16

There is an internal method for such situations
https://jsfiddle.net/bt5dhqtf/448/

changeTab (oldIndex, newIndex)

Usage:
<form-wizard ref="wizard">
</form-wizard>

this.$refs.wizard.changeTab(0,3)


[RFE] Add support for base64 encoded KONG_LICENSE_DATA string

Issue:
When writing IaC in a mix of HCL and json, passing license into container via environment variable can become problematic due to complexities of nested json.
Proposal:
Add conditional base64 encoded license ternary check to container entrypoint to decode license data string if found.

@usrbinkat why was that added to the Team Kubernetes board? I assume it was a misclick - please correct me otherwise.

I do not believe I've been in the Team Kubernetes board so I am unsure.
Closing for now


Fix swig tests

What is this pull request?
python and java tests do not pass
Why do you implement it? Why do we need this pull request?
Fix tests
How to use the features provided in the pull request?
Do you provide tests, or use case examples?
Describe how to use features in your pull request.
Details/Features

[x] Fix python tests
[x] Fix java tests

Codecov Report

Merging #823 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #823   +/-   ##
========================================
  Coverage    31.42%   31.42%
========================================
  Files          464      464
  Lines        13669    13669
  Branches      8707     8707
========================================
  Hits          4296     4296
  Misses        1518     1518
  Partials      7855     7855

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 acc537f...7ef83d2. Read the comment docs.


Uninstall and install from source

Can you please mention steps to uninstall this on windows in linux
also mention steps for build and install from source
Thanks

I am busy in the meanwhile, you are more than welcome to contribute one.


Open Pages/Index.cshtml in any text editor and replace all of the code with the following, then save the file.

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/modify
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Refresh the browser to see the change:

I can't see the error you're having @mahmoud-abdeltawab. Can you try to upload the screenshot one more time?


utils/proto: consolidate proto helpers

Description:
Consolidates helpers into a separate file in the
utils pkg for reusability. The proto marshalling
to YAML will be required in a subsequent change
that builds the envoy bootstrap config in a generic
way for code reuse between the injector and OSM
gateway.

Affected area:

Functional Area

Other
[X]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? no

Did you notify the maintainers and provide attribution?

Is this a breaking change? no

Codecov Report

Merging #3534 (ee23bc0) into main (4c390a5) will decrease coverage by 0.47%.
The diff coverage is 6.25%.

@@            Coverage Diff             @@
##             main    #3534      +/-   ##
==========================================
- Coverage   66.48%   66.00%   -0.48%
==========================================
  Files         169      170       +1
  Lines        8046     8090      +44
==========================================
- Hits         5349     5340       -9
- Misses       2667     2720      +53
  Partials       30       30

Flag
Coverage Δ

unittests
66.00% <6.25%> (-0.48%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/utils/proto.go
0.00% <0.00%> (ø)

pkg/injector/envoy_config.go
90.43% <100.00%> (+1.14%)
:arrow_up:

pkg/envoy/eds/response.go
37.77% <0.00%> (-32.23%)
:arrow_down:

pkg/catalog/catalog.go
92.85% <0.00%> (-7.15%)
:arrow_down:

pkg/envoy/cds/response.go
83.33% <0.00%> (-5.80%)
:arrow_down:

pkg/envoy/registry/services.go
81.81% <0.00%> (-3.04%)
:arrow_down:

pkg/envoy/proxy.go
87.32% <0.00%> (-1.91%)
:arrow_down:

cmd/cli/trafficpolicy_check.go
43.95% <0.00%> (-1.88%)
:arrow_down:

pkg/envoy/sds/response.go
88.39% <0.00%> (-1.79%)
:arrow_down:

cmd/cli/install.go
70.79% <0.00%> (-0.76%)
:arrow_down:

... and 10 more

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 4c390a5...ee23bc0. Read the comment docs.


added code for best time to buy sell stock

Added a file named buy_sell_stock_dp.cpp containing

The question at the top of the file.
Code solving the problem statement

Related issue #134
Solved the question on interviewbit with all the test cases passing.
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (change which fixes an issue with the algorithm)

[x] New Algorithm (non-breaking change which adds functionality)

[ ] Documentation

Checklist:
Go over all the following points, and put an x in all the boxes that apply.
If you're unsure about any of these, don't hesitate to ask. We're here to help!

[ ] My code follows the code style of this project.

[ ] My change requires a change to the documentation.

[x] I have updated the documentation accordingly.

[x] I have read the CONTRIBUTING document.

@tstreamDOTh removed references

@tstreamDOTh is there anything more required here?


Update QnA Maker Create and Update KB examples

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java

Can one of the admins verify this patch?

considering not released in sdk previously and sample looks good - merging


Merged proposed paragraph style feature branch of MewesK and the current master branch

Hi, I merged the current master branch into the feature branch with paragraph styles.

Thanks for bringing it up to date with master!
My comment from #168 remains, namely that Paragraph should stay immutable. I would also be happy to merge this piece-meal, e.g. if the refactoring of StyledTextAreaView into its own file came in as its own pull request.

Don't know if moving StyledTextAreaView in its own source file is what you wanted. But I made paragraphStyle immutable as you requested.

Looks mostly OK. See my inline comments. Also, have you tried it with the demo RichText editor app?

Made the suggested changes. I also tried the RichText demo app and it seems to work fine.

Looks good. Merging.

Turns out I was a bit too optimistic. The demo actually doesn't work for styling paragraphs (when applyToParagraph is set to true). I "fixed" updateParagraphStyleInSelection in 7a7df5b4, but StyledTextArea#setParagraphStyle is still not working.

Fixed in 8289b0fe.


Fetch language archives from GCS

Modify language archive URLs
Configure RVM's remote server

The build image's $rvm_path/config/db has rubies.travis-ci.org hard
coded at 2, so we will override that with our user configuration.
This is a potential source of future problems when the build images
change the underlying configuration.

I would suggest we leave the AWS urls in for now, and use only the GCS links on Prod for us. Over 50% of our on-prem customers use AWS.

Test with

TRAVIS_LANGUAGE_ARCHIVE_HOST=gcs: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/builds/737770#L97
TRAVIS_LANGUAGE_ARCHIVE_HOST undefined: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/builds/737772#L97

Ruby build with

TRAVIS_LANGUAGE_ARCHIVE_HOST undefined: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/jobs/737775#L174
TRAVIS_LANGUAGE_ARCHIVE_HOST=gcs: https://staging.travis-ci.org/BanzaiMan/travis_staging_test/jobs/737779#L174


Flaky benchmark for http2 with adaptive window

The benchmark for the http2 adaptive window is inconsistent across runs. This will cause CI to be marked as a failure occasionally whenever there is a drop in benchmark results.
See for example https://github.com/hyperium/hyper/actions/runs/7786695842/job/21232101297.

Yea, I think a problem with that benchmark is that it would most helpful when we can "control" the bandwidth. Currently, since it's a connection of localhost, it can blast all the bytes at full speed (fuller than real world), and then it's just based on the scheduler and other guests on the CI runner.


Dockerfile FROM caching

This statement
FROM gcr.io/google_appengine/debian8

Isn't guaranteed to pull in the latest image from GCR.  I believe it just uses the latest image that happens to be on the local Docker daemon.

Don't we build with docker caching disabled?

--no-cache is passed as a flag to docker build through the cloudbuild.yaml.
https://github.com/GoogleCloudPlatform/python-runtime/blob/master/cloudbuild.yaml.in#L8

Caching is enabled when building locally.  I'm going to disable it by default.  And/or just stop building locally.
Also I'm running into #59, referencing 'google_appengine' in one place and 'google-appengine' in another.

It looks like we should also pass in '--pull', unless cloudbuild does this automagically.

Also, --pull is implicit during cloudbuild, so we don't need to update the cloudbuild.yaml.in


Suppress warnings from skopt using deprecated sklearn API

Closes #12. The warning is due to https://github.com/scikit-optimize/scikit-optimize still using the deprecated sklearn API as of skopt v0.5.2 (2018-03-25).
Discussed in https://github.com/scikit-optimize/scikit-optimize/issues/774
They have two open PRs that address this, but they haven't been updated in months:

https://github.com/scikit-optimize/scikit-optimize/pull/776
https://github.com/scikit-optimize/scikit-optimize/pull/777

Hi @felker, thank you for your contribution, it will be much less annoying.


Indent all keyvals

Hi, thanks a lot for creating this package!
I have been playing around with it a bit today, but I have not been able to find a way that ensures that the keyvals always gets indented.
To illustrate what I mean, I've created this program:
package main

import (
	"os"

	"github.com/charmbracelet/log"
)

const (
	userId  = "31c572eb-abb8-4907-b4ad-9c66799c4895"
	orderId = "6b3508f9-cfbe-41d7-8c4d-d4c399bee604"
)

func main() {
	logger := log.New(os.Stdout)
	logger.Info("Successfully placed order.",
		"user_id", userId,
		"order_id", orderId,
	)
}

Running itprints the message as a single line like this:

However, I looked a bit at the code, and saw that there was an indentation separator. Is there a way to ensure that it gets applied to all keyvals without having to add newlines to each value like this:
logger.Info("Successfully placed order.",
	"user_id", userId+"\n",
	"order_id", orderId+"\n",
)

Perhaps we can add an option that allows you to do something like?
log.New().Multiline(true)

On the other hand @creativecreature, is there a particular reason you want to avoid adding new lines if that gives you the desired result?

I think that your proposed option would be great! I'm currently using a similar approach, though it does become a little tedious over time. The new lines does not really give me the result  I'm after, but it's better than having a really long line! With a Multiline option I think both the aesthetics and readability would be improved if the key and value would be aligned on the same line

Yes, chiming in here to say that this would be a huuuuuge usability win, especially for programs which have large traces with keyvals.


Add Google Analytics

Connect Google Analytics so can we can keep an eye on traffic, clicks, etc.

@nstringham  I need permission to do this or you can do it.
To link to Google Analytics, you need a specific set of permissions or role (like Owner or Firebase Admin) for this Firebase project.


Firefox nested flexbox + swiper

http://jsfiddle.net/qzwffujn/
Im expecting to see 10em width left column and a full width right column. On firefox left column is squished and right one's overflow is broken as well swiper. Not sure that this is swiper related bug or not.
Swiper container has some flex-box styles. Maybe worth of checking.

Nothing common with Swiper, this is how flex works. http://jsfiddle.net/ap3zppma/

ah, min-width for firefox. Missed that one. Thanks.

Thanks for posting this, I was pulling y hair out trying to figure this one out! Do either of you know why min-width: 0; fixes this? I don't really understand it, seems like that'd solve the reverse problem.

I second this. It was driving me insane. Why does it fix the issue?

@Interinactive so I can't explain it exactly, but it seems that min-width and min-height default to auto on flexed elements.
https://developer.mozilla.org/en-US/docs/Web/CSS/min-width


Configure a basic model for the database and integrate with the API

Configure a simple model (until we determine the proper model for the vector data) and script the creation of the relevant tables in the database.
Integrate this into the API using the TypeORM library and a corresponding object model for the tables in the database.
Acceptance Criteria

[x] A simple data model exists in the database
[x] The corresponding model objects exist in the code base
[x] An example endpoint exists querying the database using these models and displays the output (possibly just in logs for now).

Acceptance Criteria
A simple data model exists in the database - demo'd by Andy and later confirmed by me.
The corresponding model objects exist in the code base - saved at src\Database\DataModel_v1.xlsx
An example endpoint exists querying the database using these models and displays the output (possibly just in logs for now)  - demo'd by Andy and later confirmed by me.


gha: add macOS 14 to the build

https://github.com/actions/runner-images?tab=readme-ov-file#available-images
refs #6005

This pr did fail on the macOS 14 build but then it passed on master later.
I'm sorry I should have marked this as a draft


[AutoDiff] NFC: Remove a stale method declaration

As title.

@swift-ci please test tensorflow Linux CPU

@swift-ci please test tensorflow macOS


Add Svelte snapshot tests

@mandx can we please merge or remove this, there is no use to anyone having draft PRs sitting around


[ISSUE #3949] return acceptMessageTypes for querying topic route.

Make sure set the target branch to develop
What is the purpose of the change
In proxy model, return acceptMessageTypes for querying topic route.
Brief changelog
In proxy model, return acceptMessageTypes, which is already stored in TopicConfig.
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #4691 (44d6593) into develop (3602b45) will decrease coverage by 0.23%.
The diff coverage is 84.61%.

@@              Coverage Diff              @@
##             develop    #4691      +/-   ##
=============================================
- Coverage      44.59%   44.36%   -0.24%
+ Complexity      7522     7486      -36
=============================================
  Files            977      977
  Lines          67582    67593      +11
  Branches        8927     8927
=============================================
- Hits           30138    29985     -153
- Misses         33726    33884     +158
- Partials        3718     3724       +6

Impacted Files
Coverage Δ

...he/rocketmq/proxy/grpc/v2/route/RouteActivity.java
90.60% <83.33%> (-0.77%)
:arrow_down:

...g/apache/rocketmq/common/message/MessageConst.java
98.03% <100.00%> (+0.03%)
:arrow_up:

...rg/apache/rocketmq/common/stats/StatsSnapshot.java
84.61% <0.00%> (-15.39%)
:arrow_down:

.../broker/subscription/SubscriptionGroupManager.java
68.79% <0.00%> (-14.19%)
:arrow_down:

...n/java/org/apache/rocketmq/test/util/StatUtil.java
16.19% <0.00%> (-14.09%)
:arrow_down:

.../apache/rocketmq/common/stats/MomentStatsItem.java
38.09% <0.00%> (-9.53%)
:arrow_down:

...va/org/apache/rocketmq/store/FlushDiskWatcher.java
81.25% <0.00%> (-9.38%)
:arrow_down:

...ache/rocketmq/common/stats/MomentStatsItemSet.java
39.13% <0.00%> (-8.70%)
:arrow_down:

...va/org/apache/rocketmq/logging/inner/Appender.java
29.21% <0.00%> (-7.87%)
:arrow_down:

...va/org/apache/rocketmq/common/stats/StatsItem.java
50.83% <0.00%> (-4.17%)
:arrow_down:

... and 23 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

Coverage decreased (-0.2%) to 48.588% when pulling 44d65930dd5423597368e1ec07c64515ba720973 on lollipopjin:develop into 3602b450cfef72324404c7805be60bcd231ac24f on apache:develop.


feat(emulator): add support for storage emulator

Currently, we can't use firebase emulator with anonymous credentials due to request to real firebase and attempt to find a user and validate it's permissions. We can see this behaviour when running integrations test via pytest integration/test_storage.py --cert tests/data/service_account.json.
This PR should fix this and let use firebase emulator with fake credentials (and also run emulator integration tests on CI).
#570 #693

@lahirumaramba hi! Is there something I can do to help with this CL? Would you like more information about the problem? Perhaps some stack traces or other details?


Using https for http://ammonite.io/

Hi,
Could the ammonite website use HTTPS instead of HTTP?
Thanks for all your work on Ammonite!

I think the website is available under HTTPS: https://ammonite.io/
Do you mean the link the description?


Repeated code for phase shift

Seems like this could be unified between the 3 weighting schemes, saving some repeated code
https://github.com/virginia4/isomorphous_maps/blob/e40f32341a44a1924589f0d4bc0f5cffacc99c05/isom_maps_weights_v2/VA_weights_v5.py#L456

I am assuming you referring to line:
df_all.loc[(df_all['PHI'] > 180.0), 'PHI'] = df_all['PHI']-360.0
that was repeated three times in lines 459, 597, 554.
This is now moved in line 430: df_all.loc[(df_all['PHI_D'] > 180.0), 'PHI_D'] = df_all['PHI_D']-360.0
The condition you mentioned above is also repeated, but it depends on the Diff_OBS which is calculated for each method individually.


Question: unused Pin's

Are the unused pins the same and the same number of pins in all boards that the firmware supports? Are they based on the same microcontroller? Sorry I don't have this knowledge and haven't had time to check yet.
Can you list which of them are unused or tell me how to check (for example, the definition section in the files in the SRC directory or otherwise)?

defined pins are in boards_pinout.h , and this are the used ones for each function (radio, gps, oled and more).
as there are to many boards, you should look at the datasheet and info of the brand and product which will provide the required info

Thanks - thats all for the moment.


Several questions and feature requests on transaction building

I have several questions and feature requests related to the transaction building.

In common-scripts/sudt, the method issueToken does not support setting the receiver address, so I cannot issue the token to a user directly.
Assume that an account has a SUDT cell which capacity is not enough to create two SUDT cells, and this account also have a CKB cell with sufficient capacity. If I use transfer method in common-scripts/sudt, it will add the two cells as inputs, and create one SUDT output cell for the recipient, and another SUDT output cell for both the SUDT change and the CKB change. However, I expect two change cells, one for SUDT with just enough capacity, and another CKB change cell without type script for the remaining capacity.
In the example above, I cannot call payFee or payFeeByFeeRate on the generated txSkeleton, because it has already included all the cells in the account, although there's enough capacity in the change cell to pay the fee.
I tried to create a CKB transfer using the method transfer in common-scripts/secp256k1_blake160, it will burn the SUDT cells to provide enough capacity. What's the recommended way to create a simple CKB transfer transactions but filtering out input cells that have a type script?
The transfer method in common-scripts/sudt accepts any address in fromInfos, but it will not use the address to find input cells with the corresponding lock script. Instead, the method will use the args as a public key hash, and use it to find cells locked by the builtin system lock scripts. It seems a unnecessary dependency on the system lock scripts.

Thanks for your feedback

In common-scripts/sudt, the method issueToken does not support setting the receiver address, so I cannot issue the token to a user directly.

This feature seems a bit hard to define the parameters of issueToken, because the issueToken is different from the transfer. When we issue a token to an address, this usually requires some additional CKB for the token cell. I guess this is why sudt.transfer provide an optional parameter capacity to transfer CKB in a transaction.

I tried to create a CKB transfer using the method transfer in common-scripts/secp256k1_blake160, it will burn the SUDT cells to provide enough capacity. What's the recommended way to create a simple CKB transfer transactions but filtering out input cells that have a type script?

Which cellProvider in the txSkeleton in use? I recommend using the secp256k1.Collector to avoid collecting SUDT cell as transfer inputs

The transfer method in common-scripts/sudt accepts any address in fromInfos, but it will not use the address to find input cells with the corresponding lock script. Instead, the method will use the args as a public key hash, and use it to find cells locked by the builtin system lock scripts. It seems a unnecessary dependency on the system lock scripts.

This is because when common-scripts needs to know how to setupInputCell, For an unregistered lock, Lumos does not know how to prepare the signing entry


Alignment with secp256k1 public key spec?

Does bitcoin-ts conform with the latest Bitcoin Schnorr BIP-340 specification for Schnorr public keys as implemented in Bitcoin-Core in secp246k1? Now that this update has been merged into Bitcoin Core 0.21 final test releases, I feel confident that it has been sufficiently reviewed.
I looked at bitcoin-ts and it doesn't say anything about conformance with BIP-340 public keys, but https://github.com/guggero/bip-schnorr (another javascript library with demo at https://guggero.github.io/cryptography-toolkit/#!/schnorr) does properly say it isn't up-to-date anymore.
-- Christopher Allen

Any way to get a 2022 version of this that conforms to Bitcoin’s BIP-322 and test vectors?
In particular is supporting the x-only compressed public keys.
This is the version that has been implemented and has security reviews in https://github.com/bitcoin-core/secp256k1 which has now been merged into bitcoin-core, and is deployed by soft-fork last year.

/cc @wolfmcnally


Henry's law constant

Hi,
I wonder if I can use your package to get Henry's law constant for gaseous species in water (or other systems).
Best,
Amin

Hi Amin,
It has not been coded so far, primarily due to a lack of convenient data. The best data for water is in (https://www.atmos-chem-phys.net/15/4399/2015/) but it is a compilation only - it does not provide recommended values.
For other solvents, the data would need to be regressed from the literature.
Sincerely,
Caleb

Hi Caleb,
Thank you for your quick reply, and also for the reference. On another note - although irrelevant - if I have a large numpy array of temperature values (say a million-element long), other than calling thermo in a for loop, is there a vectorized way to extract properties from thermo?
Many thanks,
Amin


Fix/met formulas

Main improvements in this PR:
Fixes issue #19, by removing all () characters from metFormulas. Different criteria were taken: everything is documented in makeFormulasCompliant.m. After this, the model becomes valid according to http://sbml.org/validator/
I hereby confirm that I have:

[X] Tested my code with all requirements for running the model
[X] Selected devel as a target branch (top left drop-down menu)
[X] If needed, asked first in the Gitter chat room about this PR

@edkerk

Dolichol: As in other molecules that represent many (such as triglyceride), I thought it would be better to leave the formula representing only the backbone, as this will actually be consistent later with the SLIMEr formalism (to be introduced in v8.1.0).
CHEBIs: I would retain the CHEBIs as they are still representing the molecule correctly (the name has not changed). The problem is how are these molecules defined to begin with, as no SBML-compliant formula can represent them. Actually CHEBI also has a non-compliant formula for them, see (1->3)-β-D-glucan.

PS the yaml file proved so useful to quickly lookup all changed CHEBIs when drafting this answer ❤


Add autocomplete_fields in Admin and other updates

The update include

Add autocomplete_fields to foreign key fields to enable select2 ajax searchable foreign key field. This will reduce queries and optimize admin page when related objects are large in the count.
Add PricingAdmin. Required to add search_fields to add in autocomplete_fields.
Add list_filters. Add a few possible fields to the list_filters list.
Update verbose name. Updated verbose names of name, available, visible fields of Plan model to improve visibility in the filter list.
Add visible field to the Pricing model. Sometimes admin wants to hide a few pricing but can not delete it as there might be existing users under this pricing.

Codecov Report

Merging #100 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #100      +/-   ##
=========================================
+ Coverage   76.41%   76.6%   +0.19%
=========================================
  Files          36      36
  Lines        1819    1834      +15
=========================================
+ Hits         1390    1405      +15
  Misses        429     429

Impacted Files
Coverage Δ

plans/models.py
82.43% <100%> (+0.03%)
:arrow_up:

plans/admin.py
77.5% <100%> (+2.97%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for the patch,
However some stuff are missing:

Updating changelog.
Add more unit tests and use case of the the fields added in this patch.

Would like to know what @PetrDlouhy thinks of this changes as well.

Hi, I looked at this, but didn't test.

When the autocomplete_fields are added, the raw_only_fields have no effect and should be removed.
What does the is_recurring field do? Is first step in implemementation of recurring payments? It is very much appreciated functionality, but should be posted under separate PR.


Regex: Provide better highlight contrast/color

It's a bit difficult to see yellow on textbox white, especially when you're trying to distinguish between matches between characters. Would be great if perhaps this was another color (green?) and/or had grid lines.

Thanks for this feedback :) I will try to find a better color :D

TODO: Actually, let's use the Accent Color :)


[core] Use glob to find the test files in parseTest

Effect on mui-x: https://github.com/mui/mui-x/pull/8483
Revert https://github.com/mui/material-ui/pull/34789 (see https://github.com/sindresorhus/globby/issues/193)
On X, most of our tests are in files named {component}/tests/{feature}.{component}.test.tsx
For example src/TimeField/tests/editing.TimeField.test.tsx.
This allow us to have several test files per component, especially for big ones with often several thousands of lines of test.
In it's current form, parseTest does not support those test files, so our doc does not have the correct forwardsRefTo, inheritComponent and spread properties.
To fix that, I introduced a glob matching in parseTest.
But globby is pure ESM and our api builder process is not.
So I downgraded globby to the last version working correctly with our current infra.
If you have another solution, I'm interested because I am fully aware that downgrading a library like that is not great.
But on the other hand, migrating a thousand long set of scripts across 2 repo just for this use case will take a lot of time :/

Is using fast-glob instead feasible in your case?

@michaldudak seems to work fine indeed, thanks !

@michaldudak if you can please have a look at the PR :angel:


feat(fastapi): added ignored endpoints

According to "run_tests.sh" file - pytest ignored FastAPI tests.
Therefore I added fastapi_example.py for testing.

:tada: This PR is included in version 1.72.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


coredump:update memory region init

Summary
coredump:update memory region init
Impact
coredump
Testing
./tools/configure.sh sabre-6quad/coredump

[Experimental Bot, please feedback here]
This Pull Request is missing critical information and does not meet the NuttX requirements.
Here's why:

Summary is Insufficient:

It only provides a vague title.
It needs to explain WHY the change is necessary, WHAT part of the coredump functionality is affected, and HOW the memory region initialization is modified.

Impact is Incomplete:

It only mentions "coredump" without specifying the impact.
  Even if the answer is "NO", state it explicitly.

Testing Lacks Detail and Evidence:

It only shows a configuration command.
Provide:

Build Host Details:  Your OS, CPU architecture, compiler, and versions.
Target Details:  The specific architecture (simulator or real hardware), the board and its configuration.
Logs:  Actual "before" and "after" logs demonstrating the change in functionality. This is essential to prove your changes work.

To meet the NuttX requirements, you need to significantly expand on all sections of your PR description.


Bug: gutil.log() ignores "gulp --silent"

See https://github.com/sindresorhus/gulp-imagemin/issues/69
The log() method needs to respect gulps "--silent" argument.

PR or is this stale/not needed anymore? This is would be an easy thing todo if is done globally.

Not needed anymore since we have a new logger inbound and gulp-util is deprecated

great

Closing as a duplicate of #33


Add ability to ignore files/folders

It would be really useful to be able to add an array of glob patterns to the settings so that phpmd would ignore those files and folders. For example, I don't want it checking for issues in my vendor folder as these are packages I've installed via Composer.

+1

Is their any progress on this?

I expect it to be in the next release. Just to manage expectations here, the next release will probably be somewhere at the end of the summer of 2020.

@sandhje Any news on this? Would love to exclude the vendor folder…
Alternatively: What needs to be done? Maybe a PR would be possible?

+1


basis.project

Method "basis.project" gives different results for same function with different notations:
f(x) = 1 and f(x) = x*0 + 1
Looks strange....
def fx(x):
    return 1.0
def fx2(x):
    return x*0 + 1.0

m = MeshLine().refined(3).with_boundaries({"left": lambda x: x[0] == 0})
e = ElementLineHermite()
basis = Basis(m, e)
print("project of f = 1\n", basis.project(fx))
print("project of f = x * 0 + 1\n", basis.project(fx2))

Output:
project of f(x) = 1
[ 1.00000000e+00 -3.70794997e-14  1.00000000e+00  9.20331504e-14
  1.00000000e+00 -6.91455991e-15  1.00000000e+00 -2.24667056e-14
  1.00000000e+00  1.59679298e-14  1.00000000e+00 -2.26031293e-14
  1.00000000e+00 -1.44257381e-14  1.00000000e+00  4.61157504e-15
  1.00000000e+00  2.07234751e-14]
project of f(x) = x * 0 + 1
[ 8.00000000e+00 -6.04253487e-10  8.00000000e+00  3.56397997e-09
  8.00000000e+00 -1.39409141e-10  8.00000000e+00 -3.28115530e-10
  8.00000000e+00  3.37668490e-10  8.00000000e+00 -3.46579092e-10
  8.00000000e+00 -2.77698842e-10  8.00000000e+00  4.57013662e-11
  8.00000000e+00  8.68301240e-10]

Input to f is an array of quadrature points. Output must have one value per quadrature point. Do you propose there should be a guard against user providing incorrect f?

Yes, this works without warnings, returns values of same shape and could lead to wrong results.
Also it doesn't clear which projection is correct.
Thank you

In this case I would use
def f(x):  # x represents a vector field
    return 1 + 0 * x[0]  # output represents a scalar field

However, if the element was different, then those other options might be correct.
There are close to none guards within the library against incorrect user input. Sometimes it can be hard to decide what is ”correct” and what is ”incorrect” because so many use cases are possible. It can be confusing to new users.

Ok, thank you


Regenerate go files

It looks like the proto files were synced in https://github.com/qdrant/go-client/pull/31 for the 1.4.0 release, but the generated go client was never updated. This PR is just the output of ./tools/generate_proto_go.sh.

cc @agourlay and @generall from #31 since I'm not sure whether this repository is monitored

@camdencheek Thanks a lot for noticing this, it seems I clearly botched the last release :face_with_head_bandage:
It seems there are more data missing, running the sync. script again I get.
index ecf1407..4390db0 100644
--- a/proto/points.proto
+++ b/proto/points.proto
@@ -327,6 +327,45 @@ message CountPoints {
   optional bool exact = 3; // If `true` - return exact count, if `false` - return approximate count
 }

+message PointsUpdateOperation {
+  message PointStructList {
+    repeated PointStruct points = 1;
+  }
+  message SetPayload {
+      map<string, Value> payload = 1;
+      optional PointsSelector points_selector = 2; // Affected points
+  }
+  message DeletePayload {
+      repeated string keys = 1;
+      optional PointsSelector points_selector = 2; // Affected points
+  }
+  message UpdateVectors {
+    repeated PointVectors points = 1; // List of points and vectors to update
+  }
+  message DeleteVectors {
+    PointsSelector points_selector = 1; // Affected points
+    VectorsSelector vectors = 2; // List of vector names to delete
+  }
+
+  oneof operation {
+    PointStructList upsert = 1;
+    PointsSelector delete = 2;
+    SetPayload set_payload = 3;
+    SetPayload overwrite_payload = 4;
+    DeletePayload delete_payload = 5;
+    PointsSelector clear_payload = 6;
+    UpdateVectors update_vectors = 7;
+    DeleteVectors delete_vectors = 8;
+  }
+}
+
+message UpdateBatchPoints {
+  string collection_name = 1; // name of the collection
+  optional bool wait = 2; // Wait until the changes have been applied?
+  repeated PointsUpdateOperation operations = 3;
+  optional WriteOrdering ordering = 4; // Write ordering guarantees
+}
+
 // ---------------------------------------------
 // ---------------- RPC Response ---------------
 // ---------------------------------------------
@@ -438,6 +477,11 @@ message RecommendGroupsResponse {
   double time = 2; // Time spent to process
 }

+message UpdateBatchResponse {
+  repeated UpdateResult result = 1;
+  double time = 2; // Time spent to process
+}
+

I will sort this out and publish a new version of the driver :+1:

@camdencheek I have created a new tag for 1.4.1, please give it a try and keep me posted!


Late Binding Models from the Controller

I'm trying to figure out a way to leverage the existing model binding in the project.  To Bind to an entity at run time.
I have a stackoverflow question for it here
Basically I'm trying to resolve a type from a controller. e.g
public T ResolveType<T>(HttpContext httpContext, string parameterName)
{
      //How can I resolve the Type from the query string with the parameterName?
}

This issue was moved to aspnet/AspNetCore#17075


Flaky Test: BlockedHeartbeat*

  [xUnit.net 00:00:15.0820201]     BlockedHeartbeatDoesntCauseOverlapsAndIsLoggedAsError [FAIL]
  Failed   BlockedHeartbeatDoesntCauseOverlapsAndIsLoggedAsError
RUNDOTNET : error Message:  [/home/travis/.dotnet/buildtools/korebuild/2.2.0-preview1-17051/KoreBuild.proj]
   Assert.True() Failure
  Expected: True
  Actual:   False
  Stack Trace:
     at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.BlockedHeartbeatDoesntCauseOverlapsAndIsLoggedAsError() in /_/test/Kestrel.Core.Tests/HeartbeatTests.cs:line 43

  Failed   BlockedHeartbeatIsNotLoggedAsErrorIfDebuggerAttached
RUNDOTNET : error Message:  [/home/travis/.dotnet/buildtools/korebuild/2.2.0-preview1-17051/KoreBuild.proj]
   Moq.MockException :
  Expected invocation on the mock once, but was 2 times: h => h.OnHeartbeat(5/17/18 9:18:41 PM +00:00)

  Configured setups:
  h => h.OnHeartbeat(5/17/18 9:18:41 PM +00:00), Times.Exactly(2)

  Performed invocations:
  IHeartbeatHandler.OnHeartbeat(5/17/18 9:18:41 PM +00:00)
  IHeartbeatHandler.OnHeartbeat(5/17/18 9:18:41 PM +00:00)
  Stack Trace:
     at Moq.Mock.ThrowVerifyException(MethodCall expected, IEnumerable`1 setups, IEnumerable`1 actualCalls, Expression expression, Times times, Int32 callCount)
     at Moq.Mock.VerifyCalls(Interceptor targetInterceptor, MethodCall expected, Expression expression, Times times)
     at Moq.Mock.Verify[T](Mock`1 mock, Expression`1 expression, Times times, String failMessage)
     at Microsoft.AspNetCore.Server.Kestrel.Core.Tests.HeartbeatTests.BlockedHeartbeatIsNotLoggedAsErrorIfDebuggerAttached() in /_/test/Kestrel.Core.Tests/HeartbeatTests.cs:line 76
  [xUnit.net 00:00:17.1678332]     BlockedHeartbeatIsNotLoggedAsErrorIfDebuggerAttached [FAIL]

https://travis-ci.org/aspnet/KestrelHttpServer/jobs/380397601

No failures on the main CI. Re-open if you have additional hits for this on travis.

#2609


Functional self-test for Italy language

Hi AVS team,
Hi AVS team,
There are issues for functional self-tests under Italy language. (SDK 1.9.0)
Could you help to advice if these are known server site issue ?
[Section 2: User Interface]

Audible is not supported. Blocked all related tests.
case#215 Kindle book - Play :  Play command "Riproduci" doesn't work
case#220 Kindle book - Skip : [IT] Skip command "Salta" doesn't work
case#232 Named Timers : [IT] unable to set a named timer
case#243 Sports Update : [IT] unable to get sports update
Notifications : No Quate Maker support under Italy.
case#255 Shopping : [IT] unable to create an order.
case#260 Music - Verify unsupported MSP on device : incorrect error TTS for unsupported MSP SoundClound

Hi @zeusshuang , Italian is currently not supported by SDK.

Hi @zeusshuang , Ill be closing this issue. Please reopen if you have more questions regarding this.

Hi @visayamv ,
In functional test Italy language, the "case#220 Kindle book - Skip : [IT] Skip command "Salta" doesn't work" is still not working.


Automate Linting with Husky and lint-staged to Prevent CI Failures

What this PR does / why we need it?
This PR addresses the issue where linting was not being automatically executed before commits, despite Husky being installed. The previous setup had Husky installed at v8, but proper pre-commit hooks were not in place to ensure that linting occurred consistently. Since Husky v5, the configuration and usage have changed. For more details, refer to the the documentation of Husky.
Key changes include:

Adding the missing pre-commit configuration in the .husky folder, and ensure Husky works as expected to automate linting at the pre-commit stage.
Integrating lint-staged to only lint the files that are staged for commit, improving efficiency.

With these updates, developers will no longer need to manually run lint checks, as the process will be automated and enforced during the commit phase.
Any background context you want to provide?
This PR brings several improvements to the linting setup, along with updates to the Husky and lint-staged configurations.
1. Relocate lint Command to Root
As part of the monorepo migration (issue #648), the lint command was previously located in the sdk package, requiring developers to run pnpm sdk lint. However, this command is intended to lint the entire project, not just the sdk.
To address this, I’ve moved the lint command to the root package.json. Now, you can simply run pnpm lint to lint the whole project.
2. Ignore files in .eslintignore in lint-staged
To prevent unnecessary files from being linted, we use an .eslintignore file to specify which paths should be excluded. Since lint-staged doesn’t automatically respect .eslintignore by default, I’ve added the lint-staged.config.js file to ensure that the ignore rules are applied. This allows us to avoid linting files specified in .eslintignore during the pre-commit stage.
Alternatively, if we want to eliminate this step, we would need to upgrade ESLint to version 8.5.0 or later (we are currently using 8.19.0). For more information, refer to the lint-staged documentation.
Additionally, I’ve moved the .eslintignore file from the sdk package to the root, so it now applies to the entire monorepo. If you need to exclude specific files in other sub-projects, you can add them to this file.
# sdk
packages/sdk/src/api/yorkie/v1/yorkie_grpc_web_pb.d.ts
packages/sdk/src/api/yorkie/v1/yorkie_pb.d.ts
packages/sdk/src/api/yorkie/v1/resources_grpc_web_pb.d.ts
packages/sdk/src/api/yorkie/v1/resources_pb.d.ts
packages/sdk/test/vitest.d.ts
packages/sdk/dist

# devtools
... add files to prevent from being linted

3. Centralize ESLint Configuration in the Root
Since we are now working in a monorepo, it makes sense to centralize ESLint rules in a single configuration file at the root. To achieve this, I’ve created a root .eslintrc.js file, and sub-projects like sdk can extend from it. This ensures consistency across the entire codebase while allowing for project-specific overrides.
Here’s an example of how the sdk package extends the root ESLint configuration:
module.exports = {
  extends: ['../../.eslintrc.js'],
  // skipped
};

What are the relevant tickets?

Fixes #888
Checklist

[x] Added relevant tests or not required
[x] Didn't break anything

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced new ESLint configuration and ignore files to enhance code quality checks.
Added a pre-commit hook to enforce linting on staged files.
Simplified linting commands in the CI workflow.

Bug Fixes

Removed unnecessary TypeScript dependencies across multiple projects, streamlining the development environment.

Documentation

Enhanced code readability through improved formatting in various files.

Chores

Updated package.json files to reflect changes in dependencies and scripts.

Unfortunately, running build:docs failed. I think we need to reorganize the dependencies.
https://github.com/yorkie-team/yorkie-js-sdk/actions/runs/10711549054/job/29700444976

I've relocated TypeScript to the root directory to better manage the version in monorepo. However, it seems tsdoc is referencing the wrong TypeScript version not the root, which is causing typedoc compatibility issues. I'll revisit the problem and work on a solution.


Magic link doesn't send after changing user email with supabase.auth.admin.updateUserById

Bug report
Describe the bug
I have an obfuscate user function which changes the users email to<EMAIL_ADDRESS>When the user tries to create a new account with the original email they don't receive it
To Reproduce

Create a user with a magic link: supabase.auth.signInWithOtp({email<EMAIL_ADDRESS>Verify the account with the link / token
Change the email with supabase.auth.admin.updateUserById(id, { email<EMAIL_ADDRESS>})
Create a new user with the original email: supabase.auth.signInWithOtp({email<EMAIL_ADDRESS>No email is received

Expected behavior
The user should receive an email with a token
Additional context
Some observations, might or might not be related:

In the dashboard the email isn't changed in the "protected schemas > auth > identities" table, it still shows the old email
I tried to force the email to confirm right after changing it with supabase.auth.admin.updateUserById(id, { email_confirm: true })
If I force a magic link via the supabase dashboard they do receive the email

Hi @Lewitje, please feel free to reopen the issue if you are still facing this problem. You can also reach out to us at support and we can take a look at your project in detail.


Add filters to General and Evaluate tabs

Add input and output filters to dataset entries in the General and Evaluate tabs. We still need to add filters to dataset entry type in the General tab, and dataset entry provenance in the Evaluate tab.
Changes

Use enums to standardize filter field names between client and server
Add filters to General and Evaluate tabs
Move deployedFineTunes field from datasetEntries.testingStats to datasets.get

General Filters:

Evaluate Filters:

Oh one change that i think is pretty important: if any filters are applied in the url we should show filters by default. It's confusing to load a page with filters applied but the filter box is closed.

Oh one change that i think is pretty important: if any filters are applied in the url we should show the filter box on page load by default. It's confusing to load a page with filters applied but the filter box is closed.

Good thinking, I added that change


HIVE-27865: HMS in http mode drops down silently with no errors

What changes were proposed in this pull request?
Waits for the Jetty server to die.

Why are the changes needed?
Threads in the jetty pool are all daemon threads, such pool does not prevent the JVM from exiting when the main thread finishes his job.

Does this PR introduce any user-facing change?
No

Is the change a dependency upgrade?
No

How was this patch tested?
Manually test on my laptop.

PR is fine, just please fill out the PR description.
Btw why it did not work previously?

Done, filled the description.
The threads in the executor pool are daemon threads,
https://github.com/apache/hive/blob/master/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java#L394
If the main thread exits, threads in this pool will die as a consequence, which makes HMS drop down silently.
In HS2, we join the server while starting to serve,
https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/cli/thrift/ThriftHttpCLIService.java#L282


Update chatmemory.py

I slightly modified the description of openai's API. Compatible with new API.

thank you very much.


Changes to Export-DbaScript to resolve Issue 2914

Type of Change

[ X] Bug fix (non-breaking change, fixes #2914)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose

Approach

Commands to test

Screenshots

Learning

thanks so much, patrick! i have a presentation coming up on this very command, and will no doubt use the updated examples


ng-selectize with systemjs

Hi @NicholasAzar i'm trying this component with Systemjs, but it throws this error

I'm using the umd files. Do you have any idea what's happening?

After 2 days searching i found a way to use with systemjs. Thanks anyway.

Hi @BenevidesLecontes, i'm having same error.
Can you tell me how did you make it work?
Thanks!

@ismaelSilveira  you need to do this:
System.config.map
'ng-selectize': "ng-selectize/bundles/ng-selectize.umd.js",
"node_modules/ng-selectize": {
      "@angular/core": "@angular/core",
      "lodash.clonedeep": "lodash.clonedeep",
      "lodash.differencewith": "lodash.differencewith",
      "lodash.find": "lodash.find",
      "lodash.isequal": "lodash.isequal",
      "reflect-metadata": "reflect-metadata",
      "zone.js": "zone.js"
    },

System.packages
    'ng-selectize': {defaultExtension: 'js', format: 'cjs'},
    "lodash.clonedeep": {defaultExtension: 'js', main: 'index.js'},
    "lodash.differencewith": {defaultExtension: 'js', main: 'index.js'},
    "lodash.find": {defaultExtension: 'js', main: 'index.js'},
    "lodash.isequal": {defaultExtension: 'js', main: 'index.js'},

Works perfect!!
Thanks!

As of version 1.1.0, only lodash.clonedeep is required.


npm install 异常

操作系统MAC
npm install 遇到错误
npm install hiredis
`><EMAIL_ADDRESS>install /Users/**/fork/AnotherRedisDesktopManager/node_modules/hiredis

node-gyp rebuild

CC(target) Release/obj.target/hiredis-c/deps/hiredis/sds.o
CC(target) Release/obj.target/hiredis-c/deps/hiredis/read.o
LIBTOOL-STATIC Release/hiredis-c.a
CXX(target) Release/obj.target/hiredis/src/hiredis.o
In file included from ../src/hiredis.cc:1:
In file included from ../src/reader.h:1:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
X(Boolean)
^
../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext())
^
:213:1: note: expanded from here
ToBoolean
^
/Users//Library/Caches/node-gyp/12.13.1/include/node/v8.h:2567:3: note: 'ToBoolean' has been explicitly marked deprecated here
V8_DEPRECATED("ToBoolean can never throw. Use Local version.",
^
/Users//Library/Caches/node-gyp/12.13.1/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
In file included from ../src/hiredis.cc:1:
In file included from ../src/reader.h:1:
In file included from ../../nan/nan.h:222:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:40:1: warning: 'BooleanValue' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
X(bool, Boolean)
^
../../nan/nan_converters_43_inl.h:37:15: note: expanded from macro 'X'
return val->NAME ## Value(isolate->GetCurrentContext());
^
:220:1: note: expanded from here
BooleanValue
^
/Users//Library/Caches/node-gyp/12.13.1/include/node/v8.h:2605:3: note: 'BooleanValue' has been explicitly marked deprecated here
V8_DEPRECATED("BooleanValue can never throw. Use Isolate version.",
^
/Users//Library/Caches/node-gyp/12.13.1/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
In file included from ../src/hiredis.cc:1:
In file included from ../src/reader.h:1:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:37: error: too few arguments to function call, expected 2, have 1
return v8::StringObject::New(value).Asv8::StringObject();
~~~~~~~~~~~~~~~~~~~~~      ^
/Users//Library/Caches/node-gyp/12.13.1/include/node/v8.h:5426:3: note: 'New' declared here
static Local New(Isolate* isolate, Local value);
^
In file included from ../src/hiredis.cc:1:
In file included from ../src/reader.h:1:
In file included from ../../nan/nan.h:223:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:356:58: error: expected '(' for function-style cast or type construction
return v8::StringObject::New(value).Asv8::StringObject();
~~~~~~~~~~~~~~~~^
../../nan/nan_implementation_12_inl.h:356:60: error: expected expression
return v8::StringObject::New(value).Asv8::StringObject();
^
In file included from ../src/hiredis.cc:1:
In file included from ../src/reader.h:1:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraitsv8::Object >'
assert(persistent().IsNearDeath());
~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? _assert_rtn(func, FILE, LINE, #e) : (void)0)
^
In file included from ../src/hiredis.cc:1:
In file included from ../src/reader.h:1:
In file included from ../../nan/nan.h:2722:
../../nan/nan_object_wrap.h:127:26: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraitsv8::Object >'
assert(wrap->handle.IsNearDeath());
~~~~~~~~~~~~~ ^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/assert.h:93:25: note: expanded from macro 'assert'
(__builtin_expect(!(e), 0) ? __assert_rtn(func, FILE, LINE, #e) : (void)0)
^
2 warnings and 5 errors generated.
make: *** [Release/obj.target/hiredis/src/hiredis.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 18.6.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users//fork/AnotherRedisDesktopManager/node_modules/hiredis
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`

试下cnpm吧   https://github.com/qishibo/AnotherRedisDesktopManager/issues/130


feat: Support adding rotate counter suffix

Modify 'regex_pattern' to recognize move str with rotate count suffix like 'U2'
Modify '_rotate_once' to rotate multiple time according to the suffix

Recently, I've been trying to develop a tool to automatically reconstruct movements from a video of a cube-solving. I'm excited to see such a tool that helps visualize a cube using Python. Therefore, I made some modifications to ensure it meets my developmental needs.


[Feature Request] How to add a neutral component to the NavMenu (a logo for instance)?

Existing Component
Yes
Component Name
NavMenu
Description
Is there a way to add a neutral element at the leftmost position of a NavMenu element? I am thinking about a title, a logo, ... - an element which is not clickable

https://jsfiddle.net/oryga47u/


Retry conformance refactoring sketch

Note: this is completely untested.
I suspect that the resumable upload/download may not work - there was some code around names/groups that I didn't really understand.
I also suspect that TestResponse could potentially use some more work - I don't know what it looks like at the moment.

Closing now and deleting, in favor of #9209 (which still has this code as a first commit).


drilldowns fail on k get -w pods -l foo=bar -n default

k get pods -l foo=bar -n default
click on a row
see expected sidecar
k get -w pods -l foo=bar -n default (add -w to the first command)
try clicking on a row
error

error: the server doesn't have a resource type "vim"

this issue comes from yargs-parser treating -w as a 1-argument option, thusly swallowing the next parameter


[AIRFLOW-1641] Handle executor events in the scheduler

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[X] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1641

Description

[X] Here are some details about my PR, including screenshots of any UI changes:

While in Backfills we do handle the executor state,
we do not in the Scheduler. In case there is an unspecified
error (e.g. a timeout, airflow command failure) tasks
can get stuck.
Tests

[] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Should be added.
Commits

[X] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

cc @saguziel @aoen @criccomini

Codecov Report

Merging #2715 into master will increase coverage by 0.07%.
The diff coverage is 85%.

@@            Coverage Diff             @@
##           master    #2715      +/-   ##
==========================================
+ Coverage   72.38%   72.45%   +0.07%
==========================================
  Files         154      154
  Lines       11815    11838      +23
==========================================
+ Hits         8552     8577      +25
+ Misses       3263     3261       -2

Impacted Files
Coverage Δ

airflow/utils/dag_processing.py
88.84% <100%> (+2.65%)
:arrow_up:

airflow/executors/base_executor.py
96.87% <100%> (+0.44%)
:arrow_up:

airflow/jobs.py
78.95% <77.77%> (-0.11%)
: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 1ef2b6c...561cc8e. Read the comment docs.

cc @andylockran @JohnCulver ready for testing

LGTM but will defer to @saguziel for a final signoff

@gwax addressed your comments
@saguziel I updated the PR to only fail QUEUED tasks. I'm not convinced we should ignore RUNNING, as it is inconsistent with Backfills and I don't like that we are ignoring executor state here which functions as a monitor. But if it takes that to have it pass for now lets do that.

lgtm

The problem is that executor ends up not being consistent as it should, and we et state in other places typically.

@saguziel lets discuss that f2f soon

@bolkedebruin  @saguziel I'm running Airflow 1.10.3 and I experience from time to time problem with DAG is running but task is stuck on Queued state.
The task is running but then something happens and it produce the following error:
[2019-11-03 12:02:04,937] {logging_mixin.py:95} INFO - [2019-11-03 12:02:04,936] {jobs.py:2630} WARNING - State of this instance has been externally set to queued. Taking the poison pill.
[2019-11-03 12:02:04,940] {helpers.py:281} INFO - Sending Signals.SIGTERM to GPID 24891
[2019-11-03 12:02:04,940] {__init__.py:1416} ERROR - Received SIGTERM. Terminating subprocesses.
[2019-11-03 12:02:04,957] {__init__.py:1580} ERROR - Task received SIGTERM signal
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/airflow/models/__init__.py", line 1436, in _run_raw_task
    result = task_copy.execute(context=context)
  File "/usr/local/lib/python3.6/site-packages/wixflow/operators/emr.py", line 325, in execute
    hook.wait_for_step_completion(cluster_id, step_id)
  File "/usr/local/lib/python3.6/site-packages/wixflow/aws/emr_lib.py", line 55, in wait_for_step_completion
    'MaxAttempts': 60
  File "/usr/local/lib/python3.6/site-packages/botocore/waiter.py", line 53, in wait
    Waiter.wait(self, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/botocore/waiter.py", line 331, in wait
    time.sleep(sleep_amount)
  File "/usr/local/lib/python3.6/site-packages/airflow/models/__init__.py", line 1418, in signal_handler
    raise AirflowException("Task received SIGTERM signal")
airflow.exceptions.AirflowException: Task received SIGTERM signal

It sets the task to Queue state but it never reschedule it again.
The scheduler does schedule other DAGs.