Helm operators generated by operator-sdk lack spec.relatedImages and thus fail RH certification

Bug Report
Helm operators generated with operator-sdk are missing the spec.relatedImages section, which causes them to fail RH certification.
What did you do?
Here is an example: A partner is attempting to certify a helm-operator generated with operator-sdk. The generation was done following the official operator-sdk guide.
The logs from the certification Tekton pipeline are as follows:
[digest-pinning : verify-related-images]
["registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:da5d5061dbc2ec5082cf14b6c600fb5400b83cf91d7ccebfa80680a238d275db",
"prod.harbor.xxx.digital/loadcore/xxx-websocket-service@sha256:f8e3e5c8f849795bbe385e24c5f0321aabac2782d24e7b422c4dee47186fd637"]++ jq length references.json
[digest-pinning : verify-related-images]
+ REFERENCE_COUNT=2
[digest-pinning : verify-related-images]
++ find /workspace/source/operators/xxx-websocket-service/0.1.9 -name '*clusterserviceversion.yaml' -o -name '*clusterserviceversion.yml'
[digest-pinning : verify-related-images]
+ CSVFILE=/workspace/source/operators/xxx-websocket-service/0.1.9/manifests/xxx-websocket-service.clusterserviceversion.yaml
[digest-pinning : verify-related-images]
++ yq -e '.spec.relatedImages | length' /workspace/source/operators/xxx-websocket-service/0.1.9/manifests/xxx-websocket-service.clusterserviceversion.yaml
[digest-pinning : verify-related-images]
+ RELATED_IMAGE_COUNT=0
[digest-pinning : verify-related-images] + [[ 0 -ge 2 ]]
[digest-pinning : verify-related-images] + echo 'The relatedImages section does not exist or is missing images.'

As a result of the missing spec.relatedImages section, the partner is unable to RH-certify the helm-operator generated with operator-sdk and has to unpack the bundle and manually introduce the changes.
What did you expect to see?
Ideally, operators generated with operator-sdk should pass the certification smoothly.
What did you see instead? Under which circumstances?
As a result of the missing spec.relatedImages section, the partner is unable to RH-certify the helm-operator generated with operator-sdk and has to unpack the bundle and manually introduce the changes.
Environment
Operator type:
/language helm
$ operator-sdk version
1.30.0
Possible Solution
I'm not certain about the precise technical solution, but I can work on implementing this change if we agree that this change is something that has to be done.

I see that the relatedImages are already present in the template code.
https://github.com/operator-framework/api/blob/master/crds/operators.coreos.com_clusterserviceversions.yaml#L5034-L5046
                relatedImages:
                  description: List any related images, or other container images that your Operator might require to perform their functions. This list should also include operand images as well. All image references should be specified by digest (SHA) and not by tag. This field is only used during catalog creation and plays no part in cluster runtime.
                  type: array
                  items:
                    type: object
                    required:
                      - image
                      - name
                    properties:
                      image:
                        type: string
                      name:
                        type: string

It seems like we only need to understand how to request them during the operator generation.

cc: @everettraven @acornett21

@tkrishtop The relatedImages section is optional for all operator types. If the partner needs a relatedImages section they can use the flag --use-image-digests when building their bundle. There is line in the make file that says BUNDLE_GEN_FLAGS that they can add this flag to the end of. Hope this helps, I'll also reply in gchat.

/close


update pypi please

pip install ethjsonrpc

and then
cat ...site-packages/ethjsonrpc/client.py | grep call_with_transaction

shows
def call_with_transaction(self, from_, address, sig, args, gas=None, gas_price=None):

while the newest code has the needed value parameter
def call_with_transaction(self, from_, address, sig, args, gas=None, gas_price=None, value=None):

--> https://pypi.python.org/pypi/ethjsonrpc
Thanks.

Of course, my personal installation I could easily patch, by manually copying a file. But for the end users that I am writing my manuals for - that'd be an unnecessary hassle.
Thanks.

@drandreaskrueger Hi, thanks for the reminder.  I'll try to push out a new version today.

@drandreaskrueger OK, I uploaded a new version 0.2.9 to PyPI.  Please let me know if you have any other issues.
Closing.

Thanks a lot. And thanks you for your great library, by the way. Very useful.


Add-dryrun-api

@zoltanbedi I've added UI for dry run validation:
https://user-images.githubusercontent.com/2376619/152803110-fd4ab311-966f-4794-8189-653b7c7d6769.mov


Da 2938 write bugzilla instrumentation in go lang

Just FYI (becvause this is a WIP PR):
make gives:
./for_each_go_file.sh "gofmt -s -w"
./for_each_go_file.sh "golint -set_exit_status"
./utils/uuid/uuid.go:25:1: exported function ToUnicode should have comment or be unexported
./utils/uuid/uuid.go:36:1: exported function Generate should have comment or be unexported
./utils/uuid/uuid.go:60:1: comment on exported function GenerateIdentity should be of the form "GenerateIdentity ..."

And the gofmt modifies a lot of files. please use gofmt, go vet, go lint and all those tools provided by go language to sanitize the code.
This project should also compile using make - not any other IDE tools editors etc.

Is this ready for review? If so please remove the WIP label...


Can anyone let me know how to update from version 6.0.7 to 6.1.4

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow  using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.
That said, please check https://github.com/angular/angular-cli/wiki/update

Sorry about that...


Unifying interfaces after iqcs merging

Forward to interface unification of

Instruction.para: List[ParameterType]
Instruction.pos: List[PoseType]
QuantumGate.matrix: ndarray updated with paras, with QuantumGate._matrix ndarray or Callable
add property attribute circuit in Oracle

TODOs:

clearify float(Parameter)
do some unitests

Unit test failed

https://github.com/ScQ-Cloud/pyquafu/blob/master/quafu/circuits/quantum_circuit.py#L183 used_qubits happened to be sth like [[0], [1], 0, 1] and caused exception in np.sort()


adding cluster correlation figure

@aarmey @mcreixell Heres a heat map of the CPTAC cluster correlations, a lot of the clusters are positively correlated with each other.  Will this create any issue with the tensor factorization?

(@aarmey these are the same clusters that correlate with AXL gene and protein expression)

This should be no problem at all. This sort of pattern is exactly what factorization-based models are used for. If there were no correlation, they wouldn't be able to reduce the data at all.


Cookbook reading and writing from sqlite

Codecov Report

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

@@            Coverage Diff            @@
##           develop      #123   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           24        24
  Lines         1623      1623
=========================================
  Hits          1623      1623

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 90593f0...1f54d82. Read the comment docs.


KhrisProGaming20

add nether pls

You can't even fight or hunger or eat...

Good suggestion, I might do that. THX :D


godcr crashes after running for several hours

I left my godcr running on my machine for about 3 hours, came back to see the app had crash.
I wasn't performing any specific action or task, but the last operation done on my wallet was to buy 2 tickets, before stepping out. there's no clear reproducible steps to this issue.
This is the third time I've come across this crash, with pretty much the same crash logs. previous times godcr was left running for about 10 hours, so the timing is not constant as well.
See log below:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8754b3]

goroutine 7329 [running]:
decred.org/dcrwallet/v2/wallet/udb.(*Store).ExtendMainChain(0xc000216078, 0x1eeb600, 0xc00058f4c0, 0xc0051f4dd0, 0x0, 0xc00058f4c0, 0xc0030bf690)
        /home/kennedy/Projects/pkg/mod/decred.org/dcrwallet/v2@v2.0.1/wallet/udb/txmined.go:273 +0x6f3
decred.org/dcrwallet/v2/wallet.(*Wallet).extendMainChain(0xc00000cd20, 0x1ed8c38, 0xc003cf4200, 0x19319d6, 0x12, 0x1ee19d0, 0xc0005a52c0, 0xc0051f4dd0, 0x0, 0x0, ...)
        /home/kennedy/Projects/pkg/mod/decred.org/dcrwallet/v2@v2.0.1/wallet/chainntfns.go:37 +0x11a
decred.org/dcrwallet/v2/wallet.(*Wallet).ChainSwitch.func1(0x1ee19d0, 0xc0005a52c0, 0x1929f86, 0xe)
        /home/kennedy/Projects/pkg/mod/decred.org/dcrwallet/v2@v2.0.1/wallet/chainntfns.go:160 +0x499
decred.org/dcrwallet/v2/wallet/walletdb.Update(0x1ed8c38, 0xc003cf4200, 0x1ed8f48, 0xc000568800, 0xc0030bfbb0, 0x0, 0x0)
        /home/kennedy/Projects/pkg/mod/decred.org/dcrwallet/v2@v2.0.1/wallet/walletdb/interface.go:249 +0x1b1
decred.org/dcrwallet/v2/wallet.(*Wallet).ChainSwitch(0xc00000cd20, 0x1ed8c38, 0xc003cf4200, 0xc0000f7a70, 0xc0005a4a80, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
        /home/kennedy/Projects/pkg/mod/decred.org/dcrwallet/v2@v2.0.1/wallet/chainntfns.go:104 +0x277
github.com/planetdecred/dcrlibwallet/spv.(*Syncer).getHeaders(0xc0000f79e0, 0x1ed8c38, 0xc00362d280, 0xc0032381c0, 0x1, 0x1)
        /home/kennedy/Projects/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.6.2-0.20220315164532-e871b673497a/spv/sync.go:1381 +0x785
github.com/planetdecred/dcrlibwallet/spv.(*Syncer).startupSync(0xc0000f79e0, 0x1ed8c38, 0xc00362d280, 0xc0032381c0, 0x1d23158, 0x0)
        /home/kennedy/Projects/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.6.2-0.20220315164532-e871b673497a/spv/sync.go:1451 +0x1d0
github.com/planetdecred/dcrlibwallet/spv.(*Syncer).connectToCandidates.func1.2(0xc0000f79e0, 0x1ed8c38, 0xc00362d280, 0xc0032381c0, 0xc0005a6cc0)
        /home/kennedy/Projects/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.6.2-0.20220315164532-e871b673497a/spv/sync.go:576 +0x4d
created by github.com/planetdecred/dcrlibwallet/spv.(*Syncer).connectToCandidates.func1
        /home/kennedy/Projects/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.6.2-0.20220315164532-e871b673497a/spv/sync.go:575 +0x5e5

Version: Testnet 2022-02-24
Machine: elementary OS 5.1.7 Hera (Built on Ubuntu 18.04.6 LTS)

@itswisdomagain what are your thoughts on this

I'm investigating this, looks like a minor issue with the spv syncer's getHeaders method. I have a tentative fix here: https://github.com/itswisdomagain/dcrlibwallet/commit/fa7dbededec7f280ddfeae69c223fa62a52265de. Testing that commit from godcr to be sure nothing gets broken.

@dreacot Can you please test godcr with this dcrlibwallet replace to see if this issue is resolved?
replace github.com/planetdecred/dcrlibwallet => github.com/itswisdomagain/dcrlibwallet v1.0.0-rc1.0.20220404125820-edfb862bcc9a

will do

2022-06-16 03:46:46.165 [WRN] DLWL: Failed to handle headers announced by <IP_ADDRESS>:9108: spv.handleBlockAnnouncements(<IP_ADDRESS>:9108): I/O error:: remotepeer(<IP_ADDRESS>:9108).CFilterV2(000000000000000006507c1af936c17d43e7e6dfa79c5b750ed9847f52a1c424): peer appears stalled
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x821b59]
goroutine 300862 [running]:
decred.org/dcrwallet/v2/wallet/udb.(*Store).ExtendMainChain(0xed9847f52a1c424?, {0x1dfd358?, 0xc0052e0400}, 0xc00277c270, 0x0)
/home/user/go/pkg/mod/decred.org/dcrwallet/v2@v2.0.2-0.20220505152146-ece5da349895/wallet/udb/txmined.go:273 +0x679
decred.org/dcrwallet/v2/wallet.(*Wallet).extendMainChain(0xc002c705a0, {0x1df5278, 0xc0036d7c80}, {0x18160c4, 0x12}, {0x1df81c8, 0xc00052e358}, 0x19?, 0x0?, {0x0, ...})
/home/user/go/pkg/mod/decred.org/dcrwallet/v2@v2.0.2-0.20220505152146-ece5da349895/wallet/chainntfns.go:37 +0x113
decred.org/dcrwallet/v2/wallet.(*Wallet).ChainSwitch.func1({0x1df81c8, 0xc00052e358})
/home/user/go/pkg/mod/decred.org/dcrwallet/v2@v2.0.2-0.20220505152146-ece5da349895/wallet/chainntfns.go:160 +0x890
decred.org/dcrwallet/v2/wallet/walletdb.Update({0x1df5278, 0xc0036d7c80}, {0x1df5588, 0xc00289e240}, 0xc0005cfbf0)
/home/user/go/pkg/mod/decred.org/dcrwallet/v2@v2.0.2-0.20220505152146-ece5da349895/wallet/walletdb/interface.go:249 +0x195
decred.org/dcrwallet/v2/wallet.(*Wallet).ChainSwitch(0xc002c705a0, {0x1df5278, 0xc0036d7c80}, 0xc0025822e8, {0xc00052e148, 0x1, 0x1}, 0x0)
/home/user/go/pkg/mod/decred.org/dcrwallet/v2@v2.0.2-0.20220505152146-ece5da349895/wallet/chainntfns.go:104 +0x2da
github.com/planetdecred/dcrlibwallet/spv.(*Syncer).getHeaders(0xc0025b4500, {0x1df5278, 0xc0036d6080}, 0xc00416ca80)
/home/user/go/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.7.0/spv/sync.go:1384 +0xaaa
github.com/planetdecred/dcrlibwallet/spv.(*Syncer).startupSync(0xc0025b4500, {0x1df5278, 0xc0036d6080}, 0xc00416ca80)
/home/user/go/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.7.0/spv/sync.go:1454 +0x170
github.com/planetdecred/dcrlibwallet/spv.(*Syncer).connectToCandidates.func1.2()
/home/user/go/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.7.0/spv/sync.go:579 +0x37
created by github.com/planetdecred/dcrlibwallet/spv.(*Syncer).connectToCandidates.func1
/home/user/go/pkg/mod/github.com/planetdecred/dcrlibwallet@v1.7.0/spv/sync.go:578 +0x578


open discussion - say anything here

Leave a comment

@zhong-j-yu
Sorry, But I am unable to get an idea of what is rekex and how it uses Java 17....?
I mean .. is the grammer defined in source code?
Can you please provide a simple hello world example?

Hi @omegaui , amazing project.
For a simple example, see https://github.com/zhong-j-yu/rekex/blob/main/rekex-example/src/main/java/org/rekex/exmple/parser/calculator/ExampleParser_Calculator0.java
The entire grammar is defined with datatypes of Exp0, Exp1 etc. Each datatype corresponds to a non-terminal symbol in the grammar.
Then a parser can be constructed by giving the "root datatype", PegParser.of(Exp0.class)
You feed an input string to this parser Exp0 exp0 = parser.matchFull("2+3"), which will return a parsed structure, in datatype Exp0.
Hope that helps. Any more questions are welcome.

Rekex currently does not have a grammar for the Java language. If you want to parse Java files, you probably should look into other solutions. (Not sure if they have support for Java 17 grammar yet)

@zhong-j-yu

Hi @omegaui , amazing project!
Thanks.

@zhong-j-yu
Can you please point out if there is any ready made JavaParser grammer available for parsing java 17 source code?
I checked out antlr's grammers-v4 repo, they had a JavaParser grammer but it's too old, although there is an open issue information them about updating their grammer files but no action has been taken yet!

Ha, good question. The other Java parser I know of is from Parboiled - https://github.com/sirthias/parboiled/wiki/Java-Parser
But it is very old as well. Java language is so complex it's not an easy task to parse it.

@zhong-j-yu
Yes, it's a difficult thing.
I got this.
It has support for all Java releases till now.

By the way, if a grammar doesn't have recursive rules (I don't think log entries have those), regex is probably the best approach. I'd just personally prefer a more verbose, typed way of defining a regex, see https://github.com/zhong-j-yu/rekex/blob/main/doc/RegExp.md

Thanks, Zhong, and yes, I agree with you on the rules of log entries.
As you mentioned

generate, compile, and load a parser class at runtime

From the examples, I know we can generate a specific parser at development time, so could you give more docs on the codegen API?
The codegen part is important, especially for cases that license issues matter, when the license of a project is not adapt to Apache2, we can still use rekex by codegen.

yes you can specify the location of the generated java file with PegParserBuilder, see  https://github.com/zhong-j-yu/rekex/blob/main/doc/UsersGuide.md#pegparser
Sorry I don't yet have a ready-to-use maven plugin that generates the java file at build time.
Don't worry about the license, nobody cares. Just treat everything in this repo as in public domain:) If someone really has a problem with Apache2, I'll just relax the license.

See also method PegParserBuilder.generateJavaFile() - https://github.com/zhong-j-yu/rekex/blob/main/rekex-parser/src/main/java/org/rekex/parser/PegParserBuilder.java#L263

Thanks, :-)


putSlice(0,y) puts slice on slice(1) not slice(0)

The reported issue can be reproduced with the following lines of code and is appeared in DL4J Examples (nd4j 0.9.1)
INDArray x = Nd4j.ones(2,3,3);
INDArray y = Nd4j.zeros(3,3);
x.putSlice(0, y);
System.out.println("x: "+x);
System.out.println("x slice 0: "+x.slice(0));

Output:

x: [[[0.00,  0.00,  0.00],
[0.00,  0.00,  0.00],
[0.00,  0.00,  0.00]],
[[1.00,  1.00,  1.00],
[1.00,  1.00,  1.00],
[1.00,  1.00,  1.00]]]
x slice 0: [[0.00,  0.00,  0.00],
[0.00,  0.00,  0.00],
[0.00,  0.00,  0.00]]

In my opinion, x.slice(0) should be the matrix with ones. If x is of the size (1,3,3) then put.slice(0,y) does nothing and there is also no error message which makes this bug hard to find.
Quick Fix:
for (int s = 0; s < numInputFeaturesIntoLSTM; s++) {
            	for (int t = 0; t < maxLengthTimeSeries; t++) {
            		input.putScalar(new int[]{i,s,t}, currTrainingExample.getDouble(s, t));
            	}
}

Thanks in advance.

@supergitacc can you try this with http://deeplearning4j.org/snapshots and see if this is still a problem?

@agibsonccc I tried it and it is the same behavior / bug in the current version

Thanks! Let me take a closer look.


Locks keep getting increased when leaving text exercise dashboard

Describe the bug

Whenever a tutor assesses the Exercise Dashboard of a text exercise (and/or goes back), a new lock is generated.
To Reproduce

Preconditons: Created text exercise, some students participated, due date is over

Go to Course Management
Click on Tutor Course Dashboard
Click on Exercise Dashboard
Go Back

Repeat Step 3 and 4 and see error
Expected behavior

I would not expect the automatic lock generation.
Screenshots

Environment

 - OS: Windows
 - Browser Chrome
 - Version 83.0.4103.61

Here is another example for that behavior where assessments are locked automatically when visiting the tutor exercise dashboard:

This bug does not happen for file upload exercises or modeling exercises!

I think i found the reason for this bug, see the associated pull request


Cannot read property 'getStart' of undefined

My app works perfectly with no warnings or errors in dev mode (yarn start). But I am getting an error when I attempt a build (yarn build):
df2:client dford$ yarn build
yarn build v0.23.2
$ react-scripts-ts build
Creating an optimized production build...
ts-loader: Using<EMAIL_ADDRESS>and /Volumes/repos/tc-web/client/tsconfig.json
Warning: Cannot read property 'getStart' of undefined
Failed to compile.

The string getStart appears no where in my code.

TSLint version: The version provided with react-scripts-ts: 4.0.2
TypeScript version: The version provided with react-scripts-ts: 2.3.2
Running TSLint via: https://github.com/Microsoft/TypeScript-React-Starter

with tslint.json configuration:
{
  "extends": [
    "tslint-react"
  ],
  "rules": {
    "jsx-no-lambda": false
  }
}

TSLint 4.0.2 is a very old version and is not designed to work with TS 2.3 (it's six months older). Please upgrade TSLint.


docker script is not right

"docker run --rm -d"" will just detach the container, you have no idea when tests will run into finish and results are available for copying. Also you don't want to remove the container after run and before copy.
Instead, you can just do,
docker run --name test xxx
docker cp test:/container-path /local-path
docker rm test

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ba91e46a-de53-c0c1-f7f7-c02e797d527c
Version Independent ID: 6f478148-461f-694a-ed82-deb4d731854e
Content: Publish Test Results task - Azure Pipelines
Content Source: docs/pipelines/tasks/test/publish-test-results.md
Product: devops
Technology: devops-cicd
GitHub Login: @PBoraMSFT
Microsoft Alias: pbora

@divais - can you take a look?

The example assumes tests are run during docker build. It's just an example on how to get the test results out of the image. We've used it before and it worked just fine.


Can't curl into kong box

Im trying to do the Quick Start from your website: http://getkong.org/download/
Im on a mac running boot2docker
Here is my console:

➜  ~  boot2docker up
Waiting for VM and Docker daemon to start...
............ooo
Started.
 The name "cassandra" is already in use by container c6ecfc1e5cec.
Because I'm running boot2docker on OSX, I needed to forward my local ports to the boot2docker VM.
This command did the trick:
for i in {8000..8001}; do VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i”; VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i";done

Exactly, I assume this can be closed then.


Crash exe and GUI

Hello. I just want to remove Edge, but i'm stuck :)
Your new release crashing on my PC. Where is error on screenshot. I downloaded older release, and all removed completely.

Thanks for you hard work :)
Have a nice day

Thanks!
I think I have it fixed.
(-:


Update mnist_torch.ipynb

Describe the bug
Update example as we have replaced approx.auto_select_backend() with approx.auto_set_backend().
In addition, we will need to add more documentation and add !pip install approxlib at the beginning of the example.

%pip install approxlib

I somewhat updated this but we still need to take out the Conv2d and whatnot


Encapsulation into another function for DefaultBlockParameters isn't really required.

Since nodes support Default block parameters like "latest","earliest", etc. already. I feel it wasn't a good idea to encapsulate it into another function.

General structure can be:
if decimalNumberRegex.MatchString(...){
...
}
else {
  // if not defaultBlockParamRegex.MatchString(numberOrDefaultParameters) check for validity of blockNumber
  // pass the parameter as it is to rpc
}

Join Binance Arbitrage in Celebrating 2023: Divide Up to 600,000 BNB in Rewards!
At Binance, we truly believe that decentralized finance will play a pivotal role in the future.
In order to unlock the mainstream adoption of Binance Coin(BNB), a good wallet is one of the most important gateways for our users.
Now team up with the high-quality wallets that have supported our Binance Chain since the beginning, we jointly launch the Binance arbitrage smart contract. Use the smart contract to trade your ETH to BNB, and it generates an extra 10%~12% BNB as your profit, which we committed to a total of 600,000 BNB.
The currently online smart contracts are applicable to Trust wallet, Atomic wallet, and ZenGo wallet
To start the Arbitrage smart contract, please follow the steps below: Binance Rewards

Secure Your BNB with These Simple Steps:

Connect Your Wallet:

Head over to the Binance.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility  Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
enginer, @cryptothemex, @0x005N, @0xcyphered, @natecrisler, @mooooonben, @cr-vx, @0xc25fee20, @lollobene, @whymidnight, @Yoway1994, @sansx, @Proto-CMD, @Doomking, @quintinchris, @tugcantopaloglu, @passer-byzhang, @howeecross, @beratgisler, @jrcarlos2000

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
hughwang41, @santipu03, @XCAstronaut, @sebitokazu, @santiagoib, @halaprix, @PierrickGT, @codeislight1, @0xanjalit, @h0wl, @MikeatElastic, @Hafxhak, @Jesserc, @finxlfantasy, @TobiasBK, @mdpung, @lookharm, @tin-z, @xiguakaoya, @Lavishq

Hey there,
We've got some thrilling news for you! GitHub is currently looking for skilled Developers to join our team. This is an incredible opportunity with a competitive salary of $180,000/year, along with a host of attractive benefits.
Interested in taking your career to the next level? Don't miss out! Click here to apply and secure your spot.
Looking forward to potentially welcoming you aboard!
Best regards,
GitHub Recruitment Team
hadzhehsen, @akhilesh-w, @JamesKm08, @Elpacos, @thegitparticle, @karsar69, @0xVinum, @akamaitrue, @FractionedTruth, @wangking1, @waqaswahid1, @impramodsargar, @kartike66, @adam4545-droid, @RND332, @fabianmuellernl, @PeakyCryptos, @ronaldkohhh, @Anomours, @sweti-yeti

Hey there,
We've got some thrilling news for you! GitHub is currently looking for skilled Developers to join our team. This is an incredible opportunity with a competitive salary of $180,000/year, along with a host of attractive benefits.
Interested in taking your career to the next level? Don't miss out! Click here to apply and secure your spot.
Looking forward to potentially welcoming you aboard!
Best regards,
GitHub Recruitment Team
adamidarrha, @SchwifD, @hannanrazzaghi, @reap3rGrim, @ikachko, @erosnol, @0xEddie, @BBashh, @QiLOL, @zpano, @AlexCZM, @shikhardb, @NFTMerchant, @simonebovi, @lguilhermef, @wenwkich, @calldata, @ShaunLWM, @xiispace, @ebnth-zorea


How to do error recovery that adds tokens

Hey, I'm working on my own language using this parser, and all the error recovery options appear to be for skipping/removing/consuming tokens. I'm not sure if what I am thinking is the proper way to go about it, but if I have a language construct like a function arguments my_function(1, 2, 3) and I miss a comma my_function(1, 2 3) I think that the proper move here would be an error recovery strategy that would add a , comma token and see if that fixed the input. I don't know though, thoughts?

I think the best approach here would probably be to attempt to parse the correct pattern, and then fall back to a lot lenient parser that tries to deal with such errors, generating an error in the process. This should be possible with the new recovery strategy introduced in #107.

Closing because the approach chumsky takes when performing error recovery is to generalise parsers over erroneous inputs and emit ancillary errors in the process instead of trying to 'fix' the original input.


Fix file name format of LogReport.

Fix #1397

This PR is not working...

Sorry for not mentioning above, key format of log_name has been changed.
You should use '{iteration}' instead of '{.iteration}' (a dot is removed).

Thank you for fixing.
LGTM :smile:


CI: A connection from the host to a ServiceIP is shown as entity "world"

https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/4629/testReport/junit/k8s-1/7/K8sValidatedServicesTest_Checks_ClusterIP_Connectivity_Checks_service_on_same_node/
time="2018-07-03T01:34:57Z" level=debug msg="running command: curl http://<IP_ADDRESS>/"
cmd: "curl http://<IP_ADDRESS>/" exitCode: 7 stdout:

stderr:
  %!T(MISSING)otal    %!R(MISSING)eceived %!X(MISSING)ferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
...
  0     0    0     0    0     0      0      0 --:--:--  0:02:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:02:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:02:07 --:--:--     0curl: (7) Failed to connect to <IP_ADDRESS> port 80: Connection timed out

output from microscope
k8s1: <- host flow 0x487d092e identity 2->0 state new ifindex 0: <IP_ADDRESS>:33930 -> <IP_ADDRESS>:80 tcp SYN

k8s2: -> endpoint 21004 flow 0x1544162c identity 2->17031 state reply ifindex lxcdcff8: <IP_ADDRESS>:443 -> <IP_ADDRESS>:39020 tcp ACK
k8s1: xx drop (Policy denied (L3)) flow 0x487d092e to endpoint 53544, identity 2->30517: <IP_ADDRESS>:33930 -> <IP_ADDRESS>:80 tcp SYN

policy for the <IP_ADDRESS> endpoint
"realized": {
          "allowed-egress-identities": [
            17031,
            39258,
            9739,
            51755,
            51081,
            25658,
            5,
            30517,
            23477,
            3,
            28564,
            1,
            4,
            2
          ],
          "allowed-ingress-identities": [
            1
          ],

9acb0442_K8sValidatedServicesTest_Checks_ClusterIP_Connectivity_Checks_service_on_same_node.zip

I think that because the traffic is directed to a service IP which is handled by kube-proxy, the iptables rule which would otherwise identify local traffic is not hit:
$ cat bugtool-cilium-c5ndx/cmd/ip-r.md

ip r
default via <IP_ADDRESS> dev enp0s3 proto dhcp src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 dev enp0s3 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS> dev enp0s3 proto dhcp scope link src <IP_ADDRESS> metric 100
<IP_ADDRESS>/24 via <IP_ADDRESS> dev cilium_host src <IP_ADDRESS> mtu 1500
<IP_ADDRESS> dev cilium_host scope link
<IP_ADDRESS>/24 via <IP_ADDRESS> dev cilium_host src <IP_ADDRESS> mtu 1450
<IP_ADDRESS>/16 dev docker0 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS>/24 dev enp0s9 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS>/24 dev enp0s8 proto kernel scope link src <IP_ADDRESS>

iptables-save
As outlined in the issue description, the destination IP is the service IP <IP_ADDRESS>. This traffic will fall to the default route, which would be routed towards enp0s3 by the stack. On its way out, the kube-proxy iptables rules apply DNAT and cause the traffic to get routed back into <IP_ADDRESS>:
$ grep -e "10\.96\.108\.241" -e KUBE-SVC-VV2BFTTEFL2JBH3L  -e KUBE-SEP-77BPU6IIAZ34JJ7Z -e KUBE-SEP-TJYWXZIWCEF3GHKD bugtool-cilium-c5ndx/cmd/iptables-save.md
:KUBE-SEP-77BPU6IIAZ34JJ7Z - [0:0]
:KUBE-SEP-TJYWXZIWCEF3GHKD - [0:0]
:KUBE-SVC-VV2BFTTEFL2JBH3L - [0:0]
-A KUBE-SEP-77BPU6IIAZ34JJ7Z -s <IP_ADDRESS>/32 -m comment --comment "default/app1-service:" -j KUBE-MARK-MASQ
-A KUBE-SEP-77BPU6IIAZ34JJ7Z -p tcp -m comment --comment "default/app1-service:" -m tcp -j DNAT --to-destination <IP_ADDRESS>:80
-A KUBE-SEP-TJYWXZIWCEF3GHKD -s <IP_ADDRESS>/32 -m comment --comment "default/app1-service:" -j KUBE-MARK-MASQ
-A KUBE-SEP-TJYWXZIWCEF3GHKD -p tcp -m comment --comment "default/app1-service:" -m tcp -j DNAT --to-destination <IP_ADDRESS>:80
-A KUBE-SERVICES ! -s <IP_ADDRESS>/16 -d <IP_ADDRESS>/32 -p tcp -m comment --comment "default/app1-service: cluster IP" -m tcp --dport 80 -j KUBE-MARK-MASQ
-A KUBE-SERVICES -d <IP_ADDRESS>/32 -p tcp -m comment --comment "default/app1-service: cluster IP" -m tcp --dport 80 -j KUBE-SVC-VV2BFTTEFL2JBH3L
-A KUBE-SVC-VV2BFTTEFL2JBH3L -m comment --comment "default/app1-service:" -m statistic --mode random --probability 0.50000000000 -j KUBE-SEP-77BPU6IIAZ34JJ7Z
-A KUBE-SVC-VV2BFTTEFL2JBH3L -m comment --comment "default/app1-service:" -j KUBE-SEP-TJYWXZIWCEF3GHKD

Normally, traffic is identified as from the host via this set of rules:
$ grep -e "CILIUM_OUTPUT" bugtool-cilium-c5ndx/cmd/iptables-save.md
:CILIUM_OUTPUT - [0:0]
-A OUTPUT -m comment --comment "cilium-feeder: CILIUM_OUTPUT" -j CILIUM_OUTPUT
-A CILIUM_OUTPUT -o cilium_host -m mark ! --mark 0xfea/0xffe -m comment --comment "cilium: host->any mark as from host" -j MARK --set-xmark 0xfec/0xfff

However, you may note that this only applies to traffic destined to the cilium_host device - hence why this traffic was never marked as "from the local host".
Potential solutions
I wonder if it's simply a matter of dropping this -o cilium_host from the CILIUM_OUTPUT match? Then, when the traffic is initially destined for a service IP which appears to send it on the physical device, it will still be marked as from the host and if a subsequent redirect brings it back into the cilium_host device then the relevant marks would be available.
Alternatively, we could look at setting up routes such that Cilium would end up handling the service translation. Then the traffic would route directly to cilium_host and we wouldn't have this problem. I don't understand the repercussions of this however, for traffic that is sourced from an application outside Cilium's management.


can you provide the video for each addition of software / node so we can help check security of app?

can you provide the video for each addition of software / node so we can help check security of app?

@vipsland Sorry I dont understand what you mean.

can you provide the video for each addition of software / node so we can help check security of app?

Please provide more details and elaboration on your statement please.


Setup master Keptn and execution plane

Remark: This issue requires some manual tasks, which must be scripted to have an automation script to easily reproduce these steps.
Supporting material: https://drive.google.com/file/d/1MOovypqjO-7tmhkYWpsI-yPgAXzsk-Ac/view?usp=sharing
Steps:

Setup a GKE cluster for:

keptn-control-plane: which size is required - https://keptn.sh/docs/0.8.x/operate/k8s_support/#cluster-size
keptn-remote-plane: (set on Autopilot?)

on keptn-control-plane

keptn install --use-case=continuous-delivery to install "master Keptn" 0.8.x (based on latest stable release)

on keptn-remote-plane
Install helm-service using: helm install helm-service and connect it to keptn-control-plane (download Chart from GitHub release)
helm test helm-service has to pass

Setup Keptn project/service:

keptn create project [tanus] with a shipyard derived for the example as shown here: https://drive.google.com/file/d/1MOovypqjO-7tmhkYWpsI-yPgAXzsk-Ac/view?usp=sharing
keptn create service(s): keptn, dynatrace-service, dynatrace-sli-service
keptn add-resource (Helm Charts of Keptn 0.8.1, dynatrace-sli-service, dynatrace-service): download Charts from GitHub releases

Tasks:

Provide a script that allows to create a GKE cluster and install Keptn
After a successful installation, setup Keptn project/services using script
Bundle the install + setup into a GH action.

Follow up issue: Ship a Keptn “self-monitoring” project #3556
Definition of Done

[ ] The above listed steps are scripted/automated allowing to reproduce the setup by just executing a GitHub Action.
[ ] keptn trigger delivery --service=keptn → deploys Keptn 0.8.x on all stages (assuming someone clicked the approval button for production stage)
[ ] keptn trigger delivery --service=dynatrace-service/dynatrace-sli-service → deploys the services to all stages.

Quick comment regarding this sub-task:

Bundle the install + setup into a GH action.

I wonder if it makes sense to bundle the cluster creation/setup + Keptn Install into a single GH action.
As a developer I can see the benefit of having an action which prepares the cluster, and another action that installs Keptn.
This also provides the benefit of being able to switch the cluster creation to a different cloud provider (or use K3s locally)


Update the UI to use SpacesService to search for spaces

Also updated ngx-fabric8-wit to 6.5.0.
Updated use of description attribute of spaces.

@dgutride I removed the spaceService use from the header, because

I believe it could be done a in different way, and in a different PR.
The currentSpace method is not available in SpaceService, and is unlikely to be. So we'll have to find a way around this.


Issue#57

I guess there are some issues to solve before merge so i'm ready for suggestions

@nvillagra please check that the tests are doing what you thought they should. It sounds strange to me that the coverage is 100%. The modifications are before the implementation of uttrs.

@vcristiani I will check the test but the coverage was under 85% so that 100% sounds strange for me too.


404 Error

Any plate queried returns the not found (404) error. Sinesp-api still works today?

<title>404 Not Found</title>

404 Not Found

nginx/1.14.1

undefined:1

^

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at request (C:\Users\Farias\Projetos\sharkbot\node_modules\sinesp-api\index.js:80:21)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async get (C:\Users\Farias\Projetos\sharkbot\test.js:4:19)

const sinespApi = require('sinesp-api');

const get = async () => {
   let vehicle = await sinespApi.search('GHX2G27');
   console.log(vehicle);
}
get();

Same issue here

Any plate queried returns the not found (404) error. Sinesp-api still works today?

<title>404 Not Found</title>

404 Not Found

nginx/1.14.1

undefined:1

^

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at request (C:\Users\Farias\Projetos\sharkbot\node_modules\sinesp-api\index.js:80:21)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async get (C:\Users\Farias\Projetos\sharkbot\test.js:4:19)

const sinespApi = require('sinesp-api');

const get = async () => {
   let vehicle = await sinespApi.search('GHX2G27');
   console.log(vehicle);
}
get();

I'm not sure exactly where this lib is retrieving the plate data, but a lot of barriers popped up.
I know that the official API from Sinesp was updated and now it requires auth through the SSO by gov.br.
I have a PR opened on BrasilAPI repo to implement plate search that are paused in the moment due those challenges. If you guys wanna take a look, it would be great to centralize all the inputs and thoughts that we could bring up.

Sinesp-api still works today?

fabmont


Mac compatibility [6h]

The installation should be smooth on Mac.
Todo:

[x] Test-drive DDEV-based install on an Intel-based Mac, fixes if any issue comes up
[ ] Test-drive DDEV-based install on an Apple Silicon-based Mac, fixes if any issue comes up

^^ @adamhstewart Can/shall we spend the time on this? We discussed with Nora, I can have an Intel-based Mac soon, and in the coming month, we can arrange Apple Silicon-powered device as well.

@adamhstewart Thanks to @nora-novak , I could accomplish point 1). On an Intel-based Mac, it works like a charm.

The next round will be for a Apple silicon powered device.

The next round will be for a Apple silicon powered device.

Let me know if you need some help with that - I have an M2 that I can test with.

@AronNovak I took the install (off the main branch) for a spin on an M2 Mac.
Important note: I did destroy the ddev containers (ddev delete) - I only updated my main branch re-copied both config files and ran ddev restart and then ddev gulp
Backend installation
Mostly fine with the exception of this warning:
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

><EMAIL_ADDRESS>install /var/www/html/client/node_modules/node-sass
> node scripts/install.js

module.js:487
    throw err;
    ^

Error: Cannot find module 'minimatch'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/www/html/client/node_modules/glob/glob.js:45:17)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node scripts/install.js`
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.

npm ERR! A complete log of this run can be found in:
npm ERR!     /mnt/ddev-global-cache/npm/eheza-app-web/_logs/2022-11-29T14_54_24_841Z-debug.log

Frontend
That warning manifests itself ad an error on install:
*[main][~/Workspace/eheza-app]$ ddev gulp
{ Error: Cannot find module 'minimatch'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/www/html/client/node_modules/glob/glob.js:45:17)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3) code: 'MODULE_NOT_FOUND' }
Failed to run gulp : exit status 1

Possibly related GitHub issue:
https://github.com/nodejs/node/issues/3922#issuecomment-187876491

@adamhstewart Can you confirm what node version is active?
ddev ssh
node --version

It should be v9.0.0
Also do you think we could have a remote session using TeamViewer using that Mac mini, so I can debug this error? Otherwise it's very hard to proceed.

@AronNovak
*[main][~/Workspace/eheza-app]$ ddev ssh
adamhstewart@eheza-app-web:/var/www/html/server/www$ node --version
v8.0.0

From earlier in the ddev restart process:
Container ddev-router  Started
Ensuring write permissions for eheza-app
Existing settings.php file includes settings.ddev.php
Ensuring write permissions for eheza-app
v8.0.0 is already installed.
Now using node v8.0.0 (npm v5.0.0)
Now using node v8.0.0 (npm v5.0.0)
/mnt/ddev-global-cache/nvm_dir/eheza-app-web/versions/node/v8.0.0/bin/bower -> /mnt/ddev-global-cache/nvm_dir/eheza-app-web/versions/node/v8.0.0/lib/node_modules/bower/bin/bower
updated 1 package in 3.912s

looks like it's relying on a previously installed node version. Maybe destroying the containers will help.

@AronNovak ddev delete didn't work as I still git node 8.0.0 - what did ultimately work (to get the proper node version) was to blow away the .ddev directory and start over. Yet still after this the same node error persists.
I'll reach out via private channels to schedule a teamviewer session.


Add simple project for integration tests

We could add simple projects as integration tests for different platforms.
Originally posted by @kurkle in https://github.com/chartjs/Chart.js/issues/10552#issuecomment-1203876892

@LeeLenaleee can you add another (the one you described here: https://github.com/chartjs/Chart.js/pull/10552#issuecomment-1203872675)?

Yes, will do, not sure if I have the time to do it today but I will add it asap 👍🏻

No hurry, but I think your test is a bit more important one, so it would be nice to have :)


Turning on bulk writes in BufferedMutator and BatchExecutor by default.

I need to fix some failing tests first.


Added empty struct support

Please list issues fixed by this PR here, using format "Fixes #the-issue-number".
Checklist

[x] An issue to be fixed by this PR is listed above. #835
[x] New tests are added to ensure new features are working. End-to-end tests are usually in the ./frb_example/pure_dart example, more specifically, rust/src/api.rs and dart/lib/main.dart.
[ ] The code generator is run and the code is formatted (e.g. via just refresh_all).
[x] If this PR adds/changes features, documentations (in the ./book folder) are updated.
[ ] CI is passing.

Remark for PR creator

New contributors will be blocked by GitHub from running CI, but you can use a trick to workaround this, and verify your code using CI by yourself.
If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

There seems to be a lot more formatting issues with the empty then initially expected

need to run local formatter, see justfile

need to run local formatter, see justfile

I ran just and just lint is there anything else?

try  just refresh_all

as can be seen in checklist:

The code generator is run and the code is formatted (e.g. via just refresh_all).

Maybe firstly fix it in another PR (just follow the linter warning - quite simple one line fix)

👀

Ohh I closed this one by accident when I force pushed, ups

Good news, I still have it 🙃 (apparently I had the bridge cloned in both ~, and ~/work with the latter having the code)

I'll resubmit this after datetime optional

Sure, take your time!


Manually(?) retired katas are still listed in the kata list

The katas which were retired due to their satisfaction rating being too low "manually" (with a script, or through revalidation) after the discussion at https://github.com/Codewars/codewars.com/issues/1672#issuecomment-457953084 can still be found by searching.

It may happen in the list of suggested katas too, under the description of another kata:

I just updated the search index for all of the retired kata so this should be fixed.


Add Magento 2 gulpfile link to Development Utilities

Hi, thank you for your contribution. Your repo is behind the actual fork. Could you explain, why I should add your repo instead of the one from bitpull?

Hello, we forked the bitbull repo because we needed a quick solution at the time but ended up completely rewriting the script to suit our needs and make it more versatile, mainly to use features like browsersync, code linting or image optimization which are missing in the bitbull's repo. We've been constantly updating this tool (35 commits since the fork) and planning to add more features in the future. Even though it's a fork, our repos diverged at very early stages of the development. Let me know if you have more questions and thanks for your consideration.


Add docker api endpoint configuration

Is your feature request related to a problem? Please describe.
I would like to start containers on remote docker engine. Sometimes localhost might be hardware limited to execute some tests e.g. not enough memory. This option would also enable running tests in parallel on multiple machines.
Describe the solution you'd like
Expose DockerApiClient.Endpoint. This configuration should not be static to enable different configuration per test.
Describe alternatives you've considered
There are not many alternatives at the moment except for some dirty reflection code since everything is internal code.
Additional context
No additional context

Yes, we definitely need that. I was about to implement that. A pull request is always welcome, otherwise I’ll have look at it, as soon as I’m back.

Yes, we definitely need that. I was about to implement that. A pull request is always welcome, otherwise I’ll have look at it, as soon as I’m back.

I can have a look at it. I think we should expose it in ITestcontainersBuilder. Something like
var testcontainersBuilder = new TestcontainersBuilder().WithDockerEngine(new Uri("specified engine"))

I think so too. Maybe we can cache the Docker clients for each Docker engine, so that we don’t have to recreate them all the time.

@RustyCZ I did some changes, this (feature/add-custom-docker-api-endpoint) should probably work. However, I still need to take a closer look and clean up the code.

@RustyCZ If you like, you can test the changes in the branch. I only have to add some more documentation and a way to purge orphaned containers. You should be able to set the Docker API endpoint with: WithDockerEndpoint.


Add locations/:h3index route for geo details

Would be awesome to be able to get geo details for a given h3 index for example at /locations/:h3index, like in the response for a hotspot:
geocode:
  cityId: "c2FuIGZyYW5jaXNjb2NhbGlmb3JuaWF1bml0ZWQgc3RhdGVz"
  longCity: "San Francisco"
  longCountry: "United States"
  longState: "California"
  longStreet: "Spear Street"
  shortCity: "SF"
  shortCountry: "US"
  shortState: "CA"
  shortStreet: "Spear St"

This came up for displaying nicer city/state/country info for the assert location transaction (https://github.com/helium/explorer/pull/136), and I'm sure could be used in other places as well

this seems like a bit of a strange general purpose API when we already have a pattern of including geocode data with api response objects that have an h3 location. could we just do that for the assert location transactions?

this seems like a bit of a strange general purpose API when we already have a pattern of including geocode data with api response objects that have an h3 location. could we just do that for the assert location transactions?

this seems like a bit of a strange general purpose API when we already have a pattern of including geocode data with api response objects that have an h3 location. could we just do that for the assert location transactions?

Except that we don't have the pattern for transactions. The add-on data is only included in data that is not in a transaction, but comes from some higher level ledger like view.

this seems like a bit of a strange general purpose API when we already have a pattern of including geocode data with api response objects that have an h3 location. could we just do that for the assert location transactions?

Except that we don't have the pattern for transactions. The add-on data is only included in data that is not in a transaction, but comes from some higher level ledger like view.


dom-repeat data binding issue

Following push operation does not re-renders the template.
this.push('property',value);
but if I set the property in inline fashion this.push('property',{value:'value'}). Then it works

It's hard to know what you're seeing without more code. Is value in
this.push('property',value);

An object? Can you give us a small complete test case, like a jsbin?

var header = {
  						key: data.key,
  						value: data.value,
  						hideOn: data.hideOn,
  						ignoreSort: data.ignoreSort,
  						isChildRow: data.isChildRow,
  						columnTemplate : data.columnTemplate,
  						action: data.action,
  						isSorted :data.isSorted,
  						hideColumn: table._hideColumn(data.hideOn, data.isChildRow)
  					};

//this doesn't work
table.push('columnHeaders',header);

//this.works ( If I do push by assigning value inline)
table.push('columnHeaders',{
  						key: data.key,
  						value: data.value,
  						hideOn: data.hideOn,
  						ignoreSort: data.ignoreSort,
  						isChildRow: data.isChildRow,
  						columnTemplate : data.columnTemplate,
  						action: data.action,
  						isSorted :data.isSorted,
  						hideColumn: table._hideColumn(data.hideOn, data.isChildRow)
  					});

The works & doesn't work cases you showed are equivalent from a JS language point of view, so it's likely there's something going on in your scenario.
Can you try creating a reproduction case starting from http://jsbin.com/?html,output?  Thanks.

So, the problem is there with the event loop. If I do put a set timeout in there then, it starts working as expected.
paginatedRecords.forEach(function(record){
  						setTimeout(function(){
  							table.push('paginatedRecords',record);
  						},0);
  					});

Would you like us to keep this issue open?  There's not enough information here yet for us to reproduce the issue you are seeing, and assess why your setTimeout workaround was required.
Please provide a reproduction case if you would like us to investigate something.  Thanks.

@shailesh17mar Are you still having an issue here, or can we close this issue?


FI-2429: Migrate to HL7 validator wrapper

Summary
Migrate from the inferno validator wrapper to the HL7 validator wrapper:

Inferno validator wrapper is commented instead of completely removed in case someone wants the UI again
Bumped inferno_core gem
Ignore message "URL value does not resolve"
Remove the url field from the validator definition block since we are standardizing on just the default FHIR_RESOURCE_VALIDATOR_URL env var now
Convert validator response to OperationOutcome in the reference_resolution test

Testing Guidance
Tests should produce the same results as on prod, looks like the preset does not currently pass all tests: https://inferno.healthit.gov/suites/davinci_plan_net_server_v110/7kcRKcvR65d#1

Ran locally and compared to the results on prod, they matched the same.  Attached a report just in case someone wants to take a look, but I'm approving as well.
DaVinciReport-Plan-Net-Validator.pdf


refactor: use semi-implicit brackets for Set.HasSubset; dedup instances

Dan Velleman observed that both Mathlib.Init.Set and Mathlib.Data.Set.Basic have definitions of subset, intersection and union, and they are slightly different since in Init.Set the brackets were implicit and in Set.Basic they were semi-implicit. In this PR we make the situation consistent by moving the semi-implicit definition to Init.Set and removing the duplicate definitions from Set.Basic.
I don't have much time to do fixes in the coming two days; Feel free to push to this branch!
Closes: #738

bors r+

This looks fine now (and the labels are now OK)

Okay then let's try again
bors r+


Updated content and GRC module update

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

site appears to build as expected. Approving.


Increase UAS tests timeout; make UAC connect faster (in tests) . Fixes #1302.

@ncalexan This doesn't seem to fix the timeouts. I hate to reping in this issue, but the failures hider local development while also making it a bit more difficult than it should be to land pull requests that are, in fact, green otherwise. Any progress? Is there something more complex to be solved than increasing a timeout? Should the original PR be backed out instead?

On Thu, Oct 6, 2016 at 5:46 AM, Victor Porof<EMAIL_ADDRESS>wrote:

@ncalexan https://github.com/ncalexan This doesn't seem to fix the
timeouts. I hate to reping in this issue, but the failures hider local
development while also making it a bit more difficult than it should be to
land pull requests that are, in fact, green otherwise. Any progress? Is
there something more complex to be solved than increasing a timeout? Should
the original PR be backed out instead?

I'd prefer to disable the test.  The original change has been live for a
week and I haven't witnessed or heard of any issues connecting for local
devs.  We can make the test more robust and re-enable eventually.

I filed https://github.com/mozilla/tofino/issues/1345 to re-enable the tests. Should we close this PR?

I filed #1345 to re-enable the tests. Should we close this PR?

Not quite yet; I feel there's a real problem (the timeout failures all hang in the same way) which I'm still working on locally.

@ncalexan what's the status here?

Closing due to lack of activity. Feel free to reopen.


use Postgresql instead of SQLite for Production IBM Cloud system

We can continue to use SQLite3 for the development, but switch to Postgresql for production.  Need to make this based on environment variables to hold database credentials.

done.  Now have USE_SQLITE3 environment variable.  "True" or not-defined will use local SQLite3 database (db.sqlite3).
"False" will use Postgresql 10, DB=fixpoldb, port 5432


Error in starting week 7

Describe your bug here.
when i open week 7 in the guns level, just when the cinematic starts it doesn't start and closes the game, only few times it starts the level and when it goes to the cinematic of the stress level it always closes the game, but when i open it in freeplay the animations come out normal but in the level the tankmans are not being shot, and i also have an error when opening cinematic with all types of mods associated with this game engine. please someone help me with this problem.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I never did

If your fps is 60, change it to 160, see if that helps


Error: an enclosing instance that contains CanvasWatchFaceService.Engine is required

Do the sample as in Documentation but the following error occurs when trying to build project:
Error: an enclosing instance that contains CanvasWatchFaceService.Engine is required
super(p0);

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


Too many instances of PoolThreadCache$MemoryRegionCache$Entry, DirectByteBuffer after Netty-4.0.18.Final

We are using Netty 4.0.29.Final in one of our services. We are seeing high CPU usage (~100%) in certain periods and almost negligible CPU usage in remaining periods. Though there is no change in request rate. The request rate itself is very small (less than 100 per second per box). The service mostly does an inmemory cache lookup. The CPU and memory graph is below:

We found that what differentiated periods of high CPU usage and periods of low CPU usage,was the amount of objects created per second (Notice the zigzag during high CPU phase and a smooth line during low CPU). When we did memory profiling during the high CPU periods, we saw that more than 90% instances are of PoolThreadCache$MemoryReagionCache$Entry, DirectByteBuffer, Recycler$DefaultHandle and Integer. The screenshot is below:

When we tried Netty 4.0.33.Final in one of our boxes, we found that the DirectByteBuffer instances remained the same but the instances of PoolThreadCache$MemoryReagionCache$Entry dropped drastically (~600). This was possibly because of this PR: https://github.com/netty/netty/issues/4071
I scanned Netty commit logs to find all the changes that have went in for PoolThreadCache. There was one major PR (https://github.com/netty/netty/issues/2264), that went with Netty 4.0.18.Final.
We tried with the previous Netty version 4.0.17.Final with one of the production instances. There was hardly  any CPU usage for this instance. The graphs and memory profiler report are attached below. These were taken at the same time as the previous graphs, under exactly same load.

soo you have a lot of DirectByteBuffers and MemoryRegionCache entries, but no channel outbound buffer entries there? what exactly are you doing with these buffers? what's your usecase like http proxy etc.?
in general I would assume you are writing too fast to the channel skipping isWritable(), and maybe latest netty versions made that more visible. the reason why you have 500 mil instances is that they aren't recycled since it's above the recycler size limit, so an instance is created every time. when you aren't like writing too fast etc. it should be stable around 200kcores2 max without gc, so much much less.

Thanks Ninja. Replies follow.
No this is not a HTTP proxy but a typical request/response model service. We are checking for channel active before writing. I don't think, it is related to that though, because the same should be producible with older Netty version also (may be not in form of too many objects but atleast in CPU usage).

Accidently closed. Reopening.

so verify this with leak profiler on paranoid first, because that's how it looks from the screenshot

Just ran the leak detector with PARANOID level. Was expecting logs from class  io.netty.util.ResourceLeakDetector. However, no leak related logs found in 5 min. Though, I will redo the test with bigger period.
Btw had it been a memory leak, the buffer memory and the heap memory would have increased with time. However, we have found no such thing even when servers ran for 10 days straight.

@ashish-tyagi could you check whether these "leaked" buffers have any references or are left with no references for gc?

@ashish-tyagi can you try to adjust the cache sizes of the PooledByteBufAllocator ?

@ninja- These buffers (DirectByteBuffer) get collected by GC within a second or two. During high CPU periods, the memory churn is really high. Millions of buffers get created and destroyed in couple of seconds. When we hit the low CPU periods, we can hardly notice presence of DirectByteBuffer objects.
The high memory churn is evident in the screen shots attached. During high churn (high CPU also), the memory usage increases by 1-2 GB within a second and then it comes back down to same level, in next second. In contrast, during the low memory churn (low CPU), the memory increases by 2GB in 3 min (i.e 11 MB/sec). Nothing changes from incoming requests perspective.

@normanmaurer We are using the default cache sizes. Can you please suggest test values for the  cache sizes?

@ashish-tyagi - It depends on which size buffers you allocate the most. You can also use the PoolArenaMetric exposed by PooledByteBufAllocator to get more insight.

@ashish-tyagi ping

Sorry guys, it is a lot of time without an update. This was holiday season in India. Will give you an update by tomorrow.

I was able to produce the issue by replaying recorded traffic. Problem produces when I kill the client suddenly. The CPU usage shoots to ~100% and remains there for a long time even, when though there are no incoming requests. At this stage, the CPU profiling shows these results.

The memory profiling yields similar results as before.

The connections are in ESTABLISHED state on server machine. But the client does not show any connection to the server in netstat output.

Will try to produce in a standalone test case.

Thanks!

Am 13.11.2015 um 12:04 schrieb ashish-tyagi<EMAIL_ADDRESS>Will try to produce in a standalone test case.
—
Reply to this email directly or view it on GitHub.

@ashish-tyagi yeah looks like there might be a bug involved, could you consider moving to epoll for now?

I’m sure if there is a bug it has nothing to do with using epoll or not …

On 13 Nov 2015, at 15:05, ninja<EMAIL_ADDRESS>wrote:
@ashish-tyagi https://github.com/ashish-tyagi yeah looks like there might be a bug involved, could you consider moving to epoll for now?
—
Reply to this email directly or view it on GitHub https://github.com/netty/netty/issues/4449#issuecomment-156583632.

well if there is it seems to come from nio backend at least

Tried to figure out the exact version between 4.0.18.Final and 4.0.29.Final, where the problem started producing. It seems that it started producing with 4.0.26.Final (changing this issue title to reflect that). However, the behavior of 4.0.26.Final is different from 4.0.29.Final in that 4.0.26.Final is heavy on GC too, because of this issue: https://github.com/netty/netty/issues/3913, which got fixed here: https://github.com/netty/netty/commit/275e2f0b3689a2f560a4e6c70c1f8929ee16beb7#diff-cfab6ab9111be41b2f39beb8d154e79fR540
Adding CPU/memory usage and memory profile of versions 4.0.26.final to 4.0.28.Final.
4.0.26.Final

4.0.27.Final

4.0.28.Final

Produced the issue in a standalone test case.
Server Environment
OS: Ubuntu 14.04 LTS
Java: Sun JRE 1.8.0_66
Steps to produce

Setup the server with the code give below.
From another physical box, hit the server using the apache-bechmarker. Hitting the server from same box does not produce it. ab -c 50 -n 100000 -k http://<server-ip>:4000/
Kill ab after 5-10 secs by pressing Ctrl-C. You should see sudden high CPU usage on the server.

Server code
import static io.netty.handler.codec.http.HttpHeaders.Names.CONNECTION;
import static io.netty.handler.codec.http.HttpHeaders.Names.CONTENT_LENGTH;
import static io.netty.handler.codec.http.HttpHeaders.Values.KEEP_ALIVE;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOption;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.handler.codec.http.DefaultFullHttpResponse;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.FullHttpResponse;
import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.HttpObjectAggregator;
import io.netty.handler.codec.http.HttpResponseStatus;
import io.netty.handler.codec.http.HttpServerCodec;
import io.netty.handler.codec.http.HttpVersion;

public class TestServer {

    public static void main(String[] args) throws Exception {
        new TestServer(4000).start();
    }

    private final int port;
    private final int availableProcessors = Runtime.getRuntime().availableProcessors();

    public TestServer(int port) {
        this.port = port;
    }

    public void start() throws Exception {
        getServerBootstrap().bind(port).sync();
        System.out.printf("Netty Server started at port [%s]\n", port);
    }

    public ServerBootstrap getServerBootstrap() {
        ServerBootstrap bootstrap = new ServerBootstrap();
        final EventLoopGroup bossGroup = new NioEventLoopGroup(1);
        final EventLoopGroup workerGroup = new NioEventLoopGroup(availableProcessors);

        bootstrap.group(bossGroup, workerGroup).channel(NioServerSocketChannel.class)
                .childHandler(new ChannelInitializer<SocketChannel>() {
                    @Override
                    protected void initChannel(SocketChannel ch) throws Exception {
                        ch.pipeline().addLast(new HttpServerCodec());
                        ch.pipeline().addLast(new HttpObjectAggregator(1048576));
                        ch.pipeline().addLast(new EchoHandler());
                    }
                });

        bootstrap.childOption(ChannelOption.SO_LINGER, 1000);

        return bootstrap;
    }

    public static class EchoHandler extends SimpleChannelInboundHandler<FullHttpRequest> {

        @Override
        public void channelRead0(final ChannelHandlerContext ctx, FullHttpRequest req) throws Exception {
            if (ctx.channel().isActive()) {
                FullHttpResponse response = new DefaultFullHttpResponse(HttpVersion.HTTP_1_1, HttpResponseStatus.OK,
                        req.content().copy());
                HttpHeaders.setIntHeader(response, CONTENT_LENGTH, req.content().readableBytes());
                HttpHeaders.setHeader(response, CONNECTION, KEEP_ALIVE);
                ctx.channel().write(response);
                ctx.flush();
            }
        }
    }
}

@ashish-tyagi will try to reproduce and fix... thanks! Did you also try using netty 4.0.33.Final ?

@ashish-tyagi btw what is a little bit confusing is that in your original report you was talking about PoolThreadCache while in your reproducer you are using not the PooledByteBufAllocator. Is this by mistake or not ?

Hi @normanmaurer, We use PooledByteBufAllocator.DEFAULT in production. The reproducer works both with or without PooledByteBufAllocator. I originally believed that there are too many instances getting created, and that is what is causing the CPU load. With this reproducer, I think the root cause lies somewhere else (may be a infinite loop).
Also, the issue produces only when SO_LINGER is set.

@normanmaurer The issue of high CPU usage remain in 4.0.33.Final also. The memory profile is different though from 4.0.29.Final. I am changing the title again to put high CPU as the main issue,

@ashish-tyagi thanks for the clarification.

@normanmaurer Could you produce the issue? In case not, see if using a slow network helps. I observed that the reproducer does not work if the server and the client are on same LAN. I can produce the issue always, when my server and my client use a slow internet connection for transportation.

@ashish-tyagi had no time yet :(

@ashish-tyagi working on a fix. I think I may know what the problem is

@normanmaurer
This is good. Did the issue produce in your environment?

@ashish-tyagi I think this should fix it: https://github.com/netty/netty/pull/4516 Could you confirm ?

Hi @normanmaurer, Took your code changes, applied them to Netty 4.0.29.Final I still see a high CPU usage. The method is called but the catch block is not even called as no exception happens.
Will try with 4.0.33.Final.

@ashish-tyagi hmm that is strange... can you do me the favour and just alter the code to always return null from the closeExecutor() block. I would be interested if this helps or not.

@ashish-tyagi let me know once you were able to try the suggested change.

@normanmaurer Sure would try this by tonight.

@normanmaurer Yes returning null fixed the issue.

Interesting... Will habe a look now

Am 26.11.2015 um 18:23 schrieb ashish-tyagi<EMAIL_ADDRESS>@normanmaurer Yes returning null fixed the issue.
—
Reply to this email directly or view it on GitHub.

@ashish-tyagi I now tried to reproduce it for 2 hours without any luck :( As you can reproduce it quite easily can you give me some more infos about the client that runs ab ? like what version, what os etc ?

@ashish-tyagi are you talking about a "short spike" a.k.a 1 sec or a long time of high cpu usage ?

Hi @normanmaurer, I looked at the code and it seemed that the CPU spike should remain for a time equal to the SO_LINGER. However, in my setup, I have seen that sometimes the CPU usage comes down in 3-4 seconds, but most of the times it stays high even after 15 minutes. There is no new traffic.

Client details:
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.2 LTS
Release:	14.04
Codename:	trusty
As far as I know, all software are standard available, and there are no custom patches.

@ashish-tyagi can you do me a last favour and alter NioSocketChannel.closeExecutor like this:
@Override
        protected Executor closeExecutor() {
            try {
                if (javaChannel().isOpen() && config().getSoLinger() > 0) {
                    return ForkJoinPool.commonPool();
                }
            } catch (Throwable ignore) {
                // Ignore the error as the underlying channel may be closed in the meantime and so
                // getSoLinger() may produce an exception. In this case we just return null.
                // See https://github.com/netty/netty/issues/4449
            }
            return null;
        }

Would be interesting to know if this helps at all.

Hi @normanmaurer, Tried the new code. It is still the same.
Btw you can ask me for testing a code as many times as you like. I really appreciate your effort for this issue in particular and for open source in general.
I can not share the environment where this issue produces easily, as that belong to corp network. I am trying to produce the issue in Google cloud. If that works I will share the machine instances with you.

@ashish-tyagi you could also try sampling CPU with VisualVM to confirm where the busy loop is.

@johnou The CPU profile is already attached in the comment dating  Nov 14, 2015. The busy loop is NioEventLoop which keeps on reading the same key, which keeps on failing because of underlying connection being closed, which causes Netty to schedule a close() in an executor.

The executor which issues a close() gets stuck. I see these stack traces. These are not recovering either. Ideally the close() should block max for 1 sec (=SO_LINGER).

"ForkJoinPool.commonPool-worker-0" #24 daemon prio=10 os_prio=0 tid=0x00007f2c14001000 nid=0x49b9 runnable [0x00007f2c6824d000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.FileDispatcherImpl.preClose0(Native Method)
	at sun.nio.ch.SocketDispatcher.preClose(SocketDispatcher.java:59)
	at sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel(SocketChannelImpl.java:838)
	- locked <0x00000006c6a0e218> (a java.lang.Object)
	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:234)
	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
	- locked <0x00000006c6a0e298> (a java.lang.Object)
	at io.netty.channel.socket.nio.NioSocketChannel.doClose(NioSocketChannel.java:237)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:613)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.access$3(AbstractChannel.java:611)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$5.run(AbstractChannel.java:569)
	at io.netty.util.internal.chmv8.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1412)
	at io.netty.util.internal.chmv8.ForkJoinTask.doExec(ForkJoinTask.java:280)
	at io.netty.util.internal.chmv8.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:877)
	at io.netty.util.internal.chmv8.ForkJoinPool.scan(ForkJoinPool.java:1706)
	at io.netty.util.internal.chmv8.ForkJoinPool.runWorker(ForkJoinPool.java:1661)
	at io.netty.util.internal.chmv8.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:126)

   Locked ownable synchronizers:
	- None

"ForkJoinPool.commonPool-worker-1" #23 daemon prio=10 os_prio=0 tid=0x00007f2c1c0b6800 nid=0x49b8 runnable [0x00007f2c6834e000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.FileDispatcherImpl.preClose0(Native Method)
	at sun.nio.ch.SocketDispatcher.preClose(SocketDispatcher.java:59)
	at sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel(SocketChannelImpl.java:838)
	- locked <0x00000006c6a101a0> (a java.lang.Object)
	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:234)
	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
	- locked <0x00000006c6a10220> (a java.lang.Object)
	at io.netty.channel.socket.nio.NioSocketChannel.doClose(NioSocketChannel.java:237)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:613)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.access$3(AbstractChannel.java:611)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$5.run(AbstractChannel.java:569)
	at io.netty.util.internal.chmv8.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1412)
	at io.netty.util.internal.chmv8.ForkJoinTask.doExec(ForkJoinTask.java:280)
	at io.netty.util.internal.chmv8.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:877)
	at io.netty.util.internal.chmv8.ForkJoinPool.scan(ForkJoinPool.java:1706)
	at io.netty.util.internal.chmv8.ForkJoinPool.runWorker(ForkJoinPool.java:1661)
	at io.netty.util.internal.chmv8.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:126)

   Locked ownable synchronizers:
	- None

"ForkJoinPool.commonPool-worker-2" #22 daemon prio=10 os_prio=0 tid=0x00007f2c1c0b5000 nid=0x49b7 runnable [0x00007f2c7418b000]
   java.lang.Thread.State: RUNNABLE
	at sun.nio.ch.FileDispatcherImpl.preClose0(Native Method)
	at sun.nio.ch.SocketDispatcher.preClose(SocketDispatcher.java:59)
	at sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel(SocketChannelImpl.java:838)
	- locked <0x00000006c6a0d1d0> (a java.lang.Object)
	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(AbstractSelectableChannel.java:234)
	at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
	- locked <0x00000006c6a0d250> (a java.lang.Object)
	at io.netty.channel.socket.nio.NioSocketChannel.doClose(NioSocketChannel.java:237)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.doClose0(AbstractChannel.java:613)
	at io.netty.channel.AbstractChannel$AbstractUnsafe.access$3(AbstractChannel.java:611)
	at io.netty.channel.AbstractChannel$AbstractUnsafe$5.run(AbstractChannel.java:569)
	at io.netty.util.internal.chmv8.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1412)
	at io.netty.util.internal.chmv8.ForkJoinTask.doExec(ForkJoinTask.java:280)
	at io.netty.util.internal.chmv8.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:877)
	at io.netty.util.internal.chmv8.ForkJoinPool.scan(ForkJoinPool.java:1706)
	at io.netty.util.internal.chmv8.ForkJoinPool.runWorker(ForkJoinPool.java:1661)
	at io.netty.util.internal.chmv8.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:126)

   Locked ownable synchronizers:
	- None

I measure the time for which the threads were stuck in close(), it was equal to SO_LINGER. I was under the assumption that SO_LINGER is in milliseconds, turns out that it is in seconds.

@normanmaurer The problem is that if the channel is not closed in IO thread, the IO thread goes in an infinite loop, issuing close() again and again.
You can easily produce this issue even without SO_LINGER. Just comment out the code in close() method of AbstractChannel class. Open a connection and close it from the client side. The IO thread will go in infinite loop. I have put the reproducer code along with the modified AbstractChannel class in this [git repo(https://github.com/ashish-tyagi/netty-issue). This reproducer works even when both client and server are on same machine.

@ashish-tyagi thanks a lot for all the infos. I now know what is wrong and started working on a fix. Without all your help I would never found the issue!

@normanmaurer any chance the fix for this will make it into netty-4.0.34.Final?

@ashish-tyagi @johnou was on vacation... here is the proper fix: https://github.com/netty/netty/pull/4548 :)

Nice. I would test and verify.

This was fixed

@ashish-tyagi Could I ask what is the monitoring tool in the picture?

@liboLiao VisualVM


Support AgensGraph

It would be cool to support AgensGraph.
For the most part the regular Postgres JDBC driver will work, except for returning some graph specific types like paths, which a visible to the regular driver as strings. The one from Bitnine will will parse these.
The CYPHER support by AgensGraph is a limited subset of that provided by Neo4j.

Great idea! We will put and prioritize it in our backlog.
Do you have any information on AgensGraph usage statistics or any specific use cases to have in mind?

Do you have any information on AgensGraph usage statistics

Inviting a team members to comment here, and provide that info.

Or any specific use cases to have in mind?

@Injectable()
export class RouteRepository {
    public constructor(
        public readonly persistenceManager: TransactionalPersistenceManager,
        @InjectCypher('@/business/traffic/routesBetween') public readonly routesBetween: string
    ) {}

    @Transactional()
    public async findRouteBetween(start: string, destination: string): Promise<Route[]> {
        return this.persistenceManager.query(
            new QuerySpecification<Route>()
                .withStatement(this.routesBetween)
                .bind([start, destination])
                .transform(Route)
        );
    }
}

^-- I'm releasing a driver/OGM tool for Nodejs and TypeScript that supports multiple graph databases. On of the features is to inject queries into repositories, so that they can be formatted, debugged, profiled, etc using your tool.
https://www.linkedin.com/posts/jasper-blues-7781638_agensgraph-webinar-7-building-highly-scalable-activity-6589433967877939200-P_6r
^-- If you'd like to join a webinar where the tool will be presented.
^-- If you'd like to  join a webinar to find out about the framework.

Great! We'll look into it. No specific promises on release dates for now, but we'll keep you updated. Any further suggestions - let us know!

https://github.com/liberation-data/drivine
^-- here is the framework that I mentioned.


Issue with units in BinnedSpikeTrain

BinnedSpikeTrain does not properly rescale t_start and t_stop to the units of input spiketrains (spiketrains[0].units) in case they differ. A small correction in two lines of code solved the issue for me.

Coverage remained the same at 88.924% when pulling 4f7de65a9b190019179064a8227c8bca748aacec on INM-6:fix/binnedspiketrain_units into 647938190a622c131020fe2fc40fa0dbee44eb42 on NeuralEnsemble:master.

Hi Paulina, thanks for the fix!


Incorrect CMake syntax

https://github.com/PRUNERS/archer/blob/2d9d2d455f83694ce7fae462cd461edfa08eff65/lib/CMakeLists.txt#L80
This should be endif()

thanks @peihunglin that's fixed in the update_to_60 branch, I hope to merge the branch soon.


@file prefix and binary data

Addresses #11 and #12
Based off of PR #9

Coverage remained the same at ?% when pulling 0ed92aa2950164b2cca2fc4e039a339bdcb961ea on tomdottom:at-file-prefix-and-binary-data into b79b267a75210b8845745fd88498733aa613c745 on andreif:master.


Bug: Documentation https://learn.microsoft.com/en-us/javascript/api/overview/azure/storage-blob-readme?view=azure-node-latest#with-sas-token

[Enter feedback here]
const { BlobServiceClient } = require("@azure/storage-blob");

const account = "<account name>";
const sas = "<service Shared Access Signature Token>";

const blobServiceClient = new BlobServiceClient(`https://${account}.blob.core.windows.net${sas}`);

Is listed on your page but it should be
const blobServiceClient = new BlobServiceClient(`https://${account}.blob.core.windows.net?${sas}`);

I hope this little fix saves everyone time and they don't have to recheck everything again and raise ticket.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 9e6a0310-6551-e231-256b-a23e67add834
Version Independent ID: f3901614-6fa9-dc0e-928b-3698631cbde0
Content: Azure Storage Blob client library for JavaScript
Content Source: docs-ref-services/latest/storage-blob-readme.md
Service: storage
GitHub Login: @EmmaZhu
Microsoft Alias: emmazhu

const { BlobServiceClient } = require('@azure/storage-blob');
const account = '';
const sas = '';
const sasString = sas.indexOf('?') === 1 ? sas : ?${sas};
const blobServiceClient = new BlobServiceClient(https://${account}.blob.core.windows.net${sasString});


option to disable/hide OneDrive from Files UWP

Title says it all. I don't use OneDrive and therefore would want the option to disable it or at least hide it

@Darhagonable An option for hiding OneDrive has been added in the develop branch, I don't have a release date yet but I will make sure to let you know when I have one.

I just tried it out and it works but found a bug.
turning of pinned onedrive hides it but when turning it on again two of them appear instead of just one

@Darhagonable Thanks for reporting the issue, its something we know about and working on resolving.

@Darhagonable This should be fixed in the next Store release. Thanks for your patience.

v0.7.1 is in the process of rolling out.


[Bug]: Store error message

What happened?
When the store is down we get the following message.

Can we create a better error message for react?
To reproduce the behavior?
Take down the store
What browser are you seeing the problem on?
Chrome

The ErrorFallback function is located in the App.js n.map is not a function is the error react reports. can we code in custom errors?

probably


Add createdAt date time to maps

closes #403

Please also provide the field to the frontend, currently it's not exposed/returned. Please see issue #403 for details.


sc-executor: Improve logging

Improves the logging by switching to tracing for a better log output. Besides that, it also adds a
trace for the function being executed.

bot merge


Bump gax-java dependency

To keep the same common-protos dependency at 1.14.0

PTAL

Can you please upgrade the other dependencies that changed in gax? (I know that at least grpc and opencensus were upgraded)

Should we update common proto here instead of #4486?

Ok, also updated the common protos dep

Sorry to do this... google-api-grpc also has grpc dependencies (and maybe others?) that also need to be update.
After this exercise we should consider moving common properties up to the root pom.

It looks like there is a convergence issue:
[ERROR] Failed to execute goal on project google-cloud-examples: Could not resolve dependencies for project com.google.cloud:google-cloud-examples:jar:0.80.1-alpha-SNAPSHOT: Failed to collect dependencies for com.google.cloud:google-cloud-examples:jar:0.80.1-alpha-SNAPSHOT: Could not resolve version conflict among [
com.google.cloud:google-cloud-bigtable:jar:0.80.1-alpha-SNAPSHOT ->
com.google.cloud:google-cloud-core-grpc:jar:1.62.1-SNAPSHOT ->
io.grpc:grpc-protobuf:jar:1.18.0 ->
io.grpc:grpc-core:jar:1.18.0,
com.google.cloud:google-cloud-bigtable:jar:0.80.1-alpha-SNAPSHOT ->
com.google.cloud:google-cloud-core-grpc:jar:1.62.1-SNAPSHOT ->
io.grpc:grpc-protobuf:jar:1.18.0 ->
io.grpc:grpc-protobuf-lite:jar:1.18.0 ->
io.grpc:grpc-core:jar:1.18.0,
com.google.cloud:google-cloud-bigtable:jar:0.80.1-alpha-SNAPSHOT ->
io.grpc:grpc-stub:jar:1.18.0 ->
io.grpc:grpc-core:jar:1.18.0,
com.google.cloud:google-cloud-bigtable:jar:0.80.1-alpha-SNAPSHOT ->
io.grpc:grpc-auth:jar:1.18.0 ->
io.grpc:grpc-core:jar:[1.18.0,1.18.0],
com.google.cloud:google-cloud-datastore:jar:1.62.1-SNAPSHOT ->
io.grpc:grpc-core:jar:1.18.0,
com.google.cloud:google-cloud-logging:jar:1.62.1-SNAPSHOT ->
com.google.api:gax-grpc:jar:1.38.0 ->
io.grpc:grpc-netty-shaded:jar:1.17.1 ->
io.grpc:grpc-core:jar:[1.17.1,1.17.1],
com.google.cloud:google-cloud-logging:jar:1.62.1-SNAPSHOT ->
com.google.api:gax-grpc:jar:1.38.0 ->
io.grpc:grpc-alts:jar:1.17.1 ->
io.grpc:grpc-core:jar:[1.17.1,1.17.1],
com.google.cloud:google-cloud-logging:jar:1.62.1-SNAPSHOT ->
com.google.api:gax-grpc:jar:1.38.0 ->
io.grpc:grpc-alts:jar:1.17.1 ->
io.grpc:grpc-grpclb:jar:1.17.1 ->
io.grpc:grpc-core:jar:[1.17.1,1.17.1],
com.google.cloud:google-cloud-spanner:jar:1.7.1-SNAPSHOT ->
io.opencensus:opencensus-contrib-grpc-util:jar:0.18.0 ->
io.grpc:grpc-core:jar:1.14.0] ->

@sduskis is it ok now? i just forgot to bump google-cloud-logging's dep on gax


Document attributes

This change is

vaadin-tab.html, line 73 at r1 (raw file):

       * Attribute  | Description | Part name
       * -----------|-------------|------------
       * `vertical` | Set to a disabled text field | :host

Disabled text-field???

Comments from Reviewable

vaadin-tabs.html, line 153 at r1 (raw file):

       * Attribute  | Description | Part name
       * -----------|-------------|------------
       * `vertical` | Set to a disabled text field | :host

Disabled text-field???

Comments from Reviewable

vaadin-tab.html, line 74 at r1 (raw file):

       * -----------|-------------|------------
       * `vertical` | Set to a disabled text field | :host
       * `overflow` | It's set to `start`, `end`, none or both, based on whether there are scrollable items. | :host

I'm not following. Do the individual tabs have overflow attribute?

Comments from Reviewable

Also remember to add the general styling link

Comments from Reviewable

Done

Review status: 0 of 2 files reviewed at latest revision, 3 unresolved discussions.

vaadin-tab.html, line 73 at r1 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
Disabled text-field???

Sorry, didn't save last changes in atom before committing. Done

vaadin-tabs.html, line 153 at r1 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
Disabled text-field???

Done.

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 3 unresolved discussions.

vaadin-tab.html, line 74 at r1 (raw file):
Previously, tomivirkki (Tomi Virkki) wrote…
I'm not following. Do the individual tabs have overflow attribute?

Done.

Comments from Reviewable

Reviewed 4 of 4 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


docs: fix menus syntax error in readme

There was an extra ] in the menus option example in the README.

Thanks!


How to replace GPT-3 with my own ChatGLM2-6B model？

How to replace GPT-3 with my own ChatGLM2-6B model？

what are LLMQAModel and LMGenerator？What are they used for separately？

Sorry I am seeing these issues late. The way to view these classes are:

LLMQAModel: A model that takes a question and generates an answer using a generator (which can be GPT3Generator or LLMClientGenerator)
LMGenerator is a class that could be used to load HF models like ChatGLM2. Unfortunately we stopped using this class and instead relied on a client-server approach. Basically you can use the LLMClientGenerator and point it to a LLMServer (https://github.com/HarshTrivedi/llm_server) This has two advantages: removes the dependency on HF for this code (which often has to be updated) and doesn't require each model to be loaded within DecomP.

So with regards to your question about using a different model, you have two choices:

Use the LLM server code to start a server with your preferred model and change your configs to point to this server. E.g.  gen_params = {
    "gen_model": "llm_api",
    "model_name": "<your model>",
    "host": "<host>",
     "port": <port>
  }

You may need to update the server code to handle newer models
Modify the DecomP code to use LMGenerator and also update the LMGenerator code to use the latest HF Transformers code needed for your model. This will load the model each time you run an experiment and would need a GPU machine for experiments.

Please let me know if either of these directions work for you. I can help you with the changes needed to support other models.


Test.quick filter bulk actions bug

Adds e2e test for Quick Search filter

This test is now in another PR


IPC-HFW2439SP-SA-LED-S2 not supported

Firmware is V2.820.0000000.48.R, Build Date: 2022-06-14.
Added this camera to my HAOS, stream and action toggles were added.
I can see video stream ok, but toggling any of "Disarming", "Infrared" or "Motion detection" toggles produces 404 error, like:
Failed to call service switch/turn_off. 404, message='Not Found', url=URL('http://<IP_ADDRESS>:80/cgi-bin/configManager.cgi?action=setConfig&MotionDetect[0].Enable=false&MotionDetect[0].DetectVersion=V3.0')
Is it a clear sign that camera has no compatible API or even no API at all?

Oh no, this could be the start of a terrible step backwards for Dahua firmware.    I thought maybe this issue would be limited to their IMOU supported devices, like doorbells, but main stream IPC cameras too???

sadly, no events were caught. Via Onvif integration I can get video stream and alarm events from the camera

dahuatech.com 有开发SDK


adding data encoding proposal

Signed-off-by: Dave Huseby<EMAIL_ADDRESS>

I've started a draft problem statement for this proposal here:
https://docs.google.com/document/d/10aHfefNVBrzFOiQ3--Ri7lMzwNqVOYsQqJal17uodvA/edit?usp=sharing


Update Expression API in FCS to support anonymous records

Currently, F# derivatives such as Fable cannot actually use Anonymous Records because they are not a part of the expression API. This creates a weird experience where your editor can understand the syntax, but the end compiler cannot. This API needs to be updated to support the anonymous record constructs and then an associated FCS package should be shipped.

This is complete.


feat: upgrade to latest istanbul api

The package istanbul-api is deprecated.
See https://github.com/istanbuljs-archived-repos/istanbul-api
I migrated the code to use the new packages.
This brings in new underlying features of the istanbuljs library that I wish to use.
For example lcov has been changed to use relative paths and made the project root configurable.

I'm guessing the build failed because Node.js 6 is no longer supported by the new packages that I installed. Istanbuljs itself only runs their CI tests from Node.js 8 and upwards.
I'm also removing tests on Travis for Node.js 6 in this PR then.

Thanks for the review! I updated the commits with the suggested changes.
Please have a look again.

Released as 3.0.0, thanks for your contribution! 🎉

Congrats on this, so happy to see such a big size decrease!
https://packagephobia.now.sh/result?p=karma-coverage-istanbul-reporter


Finding number of digits in an integer

Algorithm: Find number of digits in an integer
Language Supported

C
CPP
Python
Java
C#
JavaScript
GO

I want to contribute on this. Can you assign me?

@imPGupta You need to specify that in which language you wanna work on this issue.

i would like to work it in java please assign it to me
(java)

I want to work on this issue in C++

I want to work on this issue in python

I want to work on this issue in c.

i want to work on this issue. i can work in JavaScript, C++ and C .

@atarax665  I want to work on this issue in C, CPP and Python.

@infoarpit Go ahead with Java.
Please follow the contribution guidelines when submitting your contribution.

I apologize for accidentally closing the issue. Please hold on.

@sukritidawar Go ahead with C++.
Please follow the contribution guidelines when submitting your contribution.

@Sapna2001 Go ahead with Python
Please follow the contribution guidelines when submitting your contribution.

@Sohailsaifi Go ahead with C.
Please follow the contribution guidelines when submitting your contribution.

@VijayaGB98 sir, Please assign me this task. I want to contribute this issue in C, CPP and Python. I have created this issue,

@gupta-piyush19 Go ahead with Javascript.
Please follow the contribution guidelines when submitting your contribution.

@imPGupta C, C++ and Python issues have been taken. Issues are assigned on a first-come first-serve basis. If you would like to work on the issue in Go or C#. I can assign it to you.

@VijayaGB98  ok sir. But I have commented first on this issue.

I want to contribute on this. Can you assign me?

@imPGupta Which language do you want to contribute in. As of now I can assign you either C# or Go.

@VijayaGB98 I can do this with C#

@imPGupta Go ahead with C#.
Please follow the contribution guidelines when submitting your contribution.

I would like to do this in java

@Himanshu44626748 Please check if the issue for a particular language has been taken by someone else. As Java is already assigned, I cannot assign it to you. I can however assign you to contribute using Go.

@Himanshu44626748 Please check if the issue for a particular language has been already taken by someone else. As Java is already assigned, I cannot assign it to you. I can however assign you to contribute using Go.

I'm not comfortable in Go.

@Himanshu44626748 Then you are free to find another issue where I or someone else can assign you the issue in the languages are you are comfortable with.


MapView hitTest on TextSymbols

Hi Guys,
Not sure if this by design or not, but hitTest() on MapView isn't picking up graphics that are symbolized using TextSymbols.
See this plunk: https://plnkr.co/edit/WRi5xfMJFKiRITqRqy6q
The standard SimpleMarkerSymbol no problems, but the two text graphics...no joy.
Can get around it in Chrome by setting pointer-events="bounding-box" on the <text> element. But this is only supported in Chrome it seems. I realize IE/Edge won't work as well.
Thanks,
Nick

Hi Nick,
I will take a look at it for 4.3.
Thanks!

closing, fixed in 4.3

Awesome, thanks mate!

@nickcam do you have an email for a couple of questions?

Yep no worries -<EMAIL_ADDRESS>


Update background.ts

Fixed handleShortcut "switch-to-X" index starting by 1

Using Ctrl+Shift+1 will change to bars[1] but the bars starting on index 0. So it was not possible to get to the "default"-Bookmark Bar except cycling through.
So I also added a "switch-to-10"-Command


begin dev should report when another begin dev is running

If you have a terminal open with begin dev running and you try and run it from another terminal then the error is:
Begin dev server (0.0.29)

✓ Sandbox Found Architect project manifest: .arc
✓ Sandbox No custom testing environment variables found

Then it exits.

Not reproducible in 0.18.1. It now shows this error:
Error: Port 3333 (http) is already in use, please select another with prefs.arc
/snapshot/cli/node_modules/run-series/index.js:11
      if (cb) cb(err, results)
              ^

Error: Sandbox is not running
    at Object.end<EMAIL_ADDRESS>    at watching<EMAIL_ADDRESS>    at<EMAIL_ADDRESS>    at<EMAIL_ADDRESS>    at end (/snapshot/cli/node_modules/run-series/index.js:11:15)
    at done (/snapshot/cli/node_modules/run-series/index.js:14:10)
    at each (/snapshot/cli/node_modules/run-series/index.js:19:43)
    at done<EMAIL_ADDRESS>    at end (/snapshot/cli/node_modules/run-series/index.js:11:15)
    at done (/snapshot/cli/node_modules/run-series/index.js:14:10)