Besu on Goerli struggles to find peers

Description
Besu /v21.10.8/linux-x86_64/openjdk-java-11 in Docker, with default --nat-method and with --nat-method=DOCKER, struggles to find peers. 30303 tcp/udp is open, tested with yougetsignal.
execution_1           | 2022-01-17 16:41:59.195+01:00 | EthScheduler-Services-10 (importBlock) | INFO  | FastImportBlocksStep | Completed importing chain segment 4383001 to 4383200, Peers: 1
execution_1           | 2022-01-17 16:41:59.290+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.291+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.292+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.292+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.293+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.293+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.293+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.294+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.296+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.296+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.297+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:41:59.297+01:00 | nioEventLoopGroup-3-3 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 1
execution_1           | 2022-01-17 16:42:01.710+01:00 | nioEventLoopGroup-3-3 | INFO  | SyncTargetManager | Found common ancestor with peer Peer 0xa03f4447809bb24a62... at block 4383200
execution_1           | 2022-01-17 16:42:10.080+01:00 | EthScheduler-Timer-0 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 0
execution_1           | 2022-01-17 16:42:10.083+01:00 | EthScheduler-Timer-0 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 0

It does not recover from this, at least not during the time I observed it, maybe half an hour.
Frequency: Consistently this morning, though Besu had peers the previous day when it was first started.

This resolved by clearing the DB and starting over. Curious. Will monitor this new sync attempt.

Debug gives me a clue.
Peering with Geth fails.
execution_1  | 2022-01-17 17:46:12.416+01:00 | nioEventLoopGroup-3-4 | DEBUG | EthProtocolManager | Disconnect - Outbound - 0x10 SUBPROTOCOL_TRIGGERED - PeerInfo{version=5, clientId='Geth/v1.10.14-stable-11a3a350/linux-amd64/go1.17.5', capabilities=[eth/66, snap/1], port=0, nodeId=0x3057ff59534df145961b0261d84e9f9c6e3268b77f73f464ed5b3ff95ab331668e7533e28e118504f95b77356bc08eb9e8dd42b48bb94b5a80c51d44a676acbb} - 13 peers left

Inbound peering works generally: Inbound connection established
Inbound "too many peers" - is that by Besu?
Disconnect - Inbound - 0x04 TOO_MANY_PEERS - PeerInfo{version=5, clientId='besu/PegaSys/v21.10.2/linux-x86_64/corretto-java-11', capabilities=[eth/63, eth/64, eth/65, eth/66], port=30303, nodeId=0xb5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949} - 0 peers left

Seems to be showing besu disconnecting with "too many peers" reason even when that leaves it with 0 peers
Disconnect - Inbound - 0x04 TOO_MANY_PEERS - PeerInfo{version=5, clientId='besu/PegaSys/v21.10.2/linux-x86_64/corretto-java-11', capabilities=[eth/63, eth/64, eth/65, eth/66], port=30303, nodeId=0xb5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949} - 0 peers left

What's the best approach to replicate this @yorickdowne ? I'm thinking if you can isolate some of the peers that you think should be connecting but are throwing errors, we can use the node addresses as static nodes and see if we can replicate the errors that way?

What's the best approach to replicate this @yorickdowne ? I'm thinking if you can isolate some of the peers that you think should be connecting but are throwing errors, we can use the node addresses as static nodes and see if we can replicate the errors that way?

That's an interesting idea. I'd need some help from you guys to understand which of these disconnects are spurious. Is "too many peers" on the Besu side or remote side? If Besu, then that's something to look at.
How about subprotocol triggered? What is that, why does it connect to a peer then disconnect? Geth 1.10.14 seems a perfectly suitable peer to me - if you say to me that one should work, I can grep for it and we can make a short-list of a few of those.

After trying a fresh sync, back to the same spot: execution_1  | 2022-01-18 16:55:29.105+01:00 | nioEventLoopGroup-3-9 | INFO  | AbstractRetryingPeerTask | No peers available, waiting for peers: 4
Here's two peers with that too many peers message
execution_1  | 2022-01-18 16:57:02.217+01:00 | nioEventLoopGroup-3-7 | DEBUG | DeFramer | Peer enode://6b83a6d38da08610afaa55f04d51cf6cf6aed58b07cb69c4fd0f0ef05deab2ae7ff9fce64af6d61d1b78b0f9f0bee192c0f24e15f084e92f3386fb61bf226a44@<IP_ADDRESS>:30303 disconnected before sending HELLO.  Reason: 0x04 TOO_MANY_PEERS
execution_1  | 2022-01-18 16:57:02.217+01:00 | nioEventLoopGroup-3-7 | DEBUG | RlpxAgent | Failed to connect to peer 0x6b83a6d38da08610afaa55f04d51cf6cf6aed58b07cb69c4fd0f0ef05deab2ae7ff9fce64af6d61d1b78b0f9f0bee192c0f24e15f084e92f3386fb61bf226a44: org.hyperledger.besu.ethereum.p2p.network.exceptions.PeerDisconnectedException: Peer disconnected for reason: 0x04 TOO_MANY_PEERS
execution_1  | 2022-01-18 16:57:02.652+01:00 | nioEventLoopGroup-3-2 | DEBUG | HandshakeHandlerOutbound | Wrote initial crypto handshake message to /<IP_ADDRESS>:30303.
execution_1  | 2022-01-18 16:57:02.880+01:00 | nioEventLoopGroup-3-2 | DEBUG | DeFramer | Peer enode://9cb643adadd5b46efce8562224515bee14c79b481f1df74412f7259c94e159671c645a4535601ad10f8d664de750da07e7e2c9cb2421e434d03a33cf2693b757@<IP_ADDRESS>:30303 disconnected before sending HELLO.  Reason: 0x04 TOO_MANY_PEERS
execution_1  | 2022-01-18 16:57:02.880+01:00 | nioEventLoopGroup-3-2 | DEBUG | RlpxAgent | Failed to connect to peer 0x9cb643adadd5b46efce8562224515bee14c79b481f1df74412f7259c94e159671c645a4535601ad10f8d664de750da07e7e2c9cb2421e434d03a33cf2693b757: org.hyperledger.besu.ethereum.p2p.network.exceptions.PeerDisconnectedException: Peer disconnected for reason: 0x04 TOO_MANY_PEERS

Reproduction could be as simple as cloning an eth-docker with COMPOSE_FILE=besu.yml:ec-shared.yml in .env, then ./ethd up and let it sync Goerli and observe. Log level can be set in .env as well.

So thinking about that subprotocol thing. Protocol schedule created with milestones: [Petersburg: 0, Istanbul: 1561651, Berlin: 4460644, London: 5062605] ... Arrow Glacier somewhat obviously doesn't exist in Goerli, and, would it maybe be advertised anyway by Geth? With a block of 0? And could that cause issues?

Peering seems somewhat independent of maxpeers. Tried it with default 25 and then with a bumped 100. Even with maxpeers 100 I see 1-7 peers while catching up with chain, and a steady flow of 0x04 TOO_MANY_PEERS.

0x04 TOO_MANY_PEERS is being sent to Besu by the remote node.  Basically all the other nodes on Görli are already at their max peers and have formed a pretty stable network so it's hard for new clients to actually find peers.  Ensuring ports are open may help but my experience is that Görli can be quite difficult to find peers in general.
I'm not sure what's causing the SUBPROTOCOL_TRIGGERED messages though.

Thanks for chiming in. So 0x04 is expected, but that Besu can't keep peers at all after initial sync, that's not expected.

Yeah, I would expect that once you can connect to a useful peer you should be able to hold onto them. You may find some peers connect and fairly quickly disconnect - that tends to happen if they're actually on a different chain or for some other reason are found to not be useful.

Re the SUBPROCOL_TRIGGERED disconnect - looking at the code there's a few different reasons. If you enable DEBUG logging you should see the actual reason in the logs. eg matching network id ({}), but non-matching genesis hash
https://github.com/hyperledger/besu/blob/97bad4a7b76e1728ad6b392763ebc419d953d2f8/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/EthProtocolManager.java#L350

Right, I see a bunch of "mismatched network ID", which is legitimate. Stepping back, the issue is that Besu has 0 peers on Goerli after sync, and this is, as far as I can tell, not just a "well it's Goerli" problem: Geth on the same machine has peers.
Going through all 0x10 manually is extremely tedious. Let me see whether I can whip up something that counts disconnect reasons.

Okay, I can go through the logs and get all peers where I see a 0x10 disconnect, but no has mismatched or has matching line, so ones where there's not much information as to why 0x10. Which might mean in that case, the reason code was received from the other end?
Not sure where to go from here.
This issue of not having Goerli peers after initial sync completes is quite reproduceable here. Have you been able to reproduce it?

just to find out. Do you have logs on startup (dns error) that are displayed in the console ?

This is an example of a peer with 0x10 triggered but no indication as to why, which suggests it may have come from the remote end. Any way to dig further?
execution_1  | 2022-01-20 17:39:12.093+01:00 | nioEventLoopGroup-3-10 | DEBUG | RlpxAgent | Outbound connection established to peer: 0x6aea9a11e3da24058605f4edeb581dab349f553d651854faecd20d1d9e41b5660737c9bd9c19b421c7ada9db34565ee7f48c3f7fcdb30be16ba41c40bec3b4d3
execution_1  | 2022-01-20 17:39:12.094+01:00 | nioEventLoopGroup-3-10 | DEBUG | EthProtocolManager | Sending status message to Peer 0x6aea9a11e3da240586....
execution_1  | 2022-01-20 17:39:12.515+01:00 | nioEventLoopGroup-3-10 | DEBUG | EthProtocolManager | Disconnect - Inbound - 0x10 SUBPROTOCOL_TRIGGERED - PeerInfo{version=5, clientId='Geth/v1.6.0-EthoProtocol--NewHorizon-2728a9b7-20211212/linux-amd64/go1.16.11', capabilities=[eth/65, eth/66, snap/1], port=0, nodeId=0x6aea9a11e3da24058605f4edeb581dab349f553d651854faecd20d1d9e41b5660737c9bd9c19b421c7ada9db34565ee7f48c3f7fcdb30be16ba41c40bec3b4d3} - 3 peers left

@matkt , restarted Besu to check. I do not see a DNS error. Grepping for DNS, case-insensitive:
execution_1  | 2022-01-20 17:55:51.384+01:00 | main | DEBUG | DefaultDnsServerAddressStreamProvider | Default DNS servers: [/<IP_ADDRESS>:53] (sun.net.dns.ResolverConfiguration)
Will attach startup log, going as far as the first few peer negotiations
startuplog.txt
.

High-level again, the pattern is:

Besu finds peers on startup and syncs to chainhead
Besu cannot keep peers once at chainhead
Besu falls behind because of this
Rinse/Repeat on restart of Besu

To echo @matkt - are you seeing any DNS errors on startup?
One of the avenues Besus uses to find peers is to recursively query the dns TXT record for the network you are attempting to join, e.g. for goerli<EMAIL_ADDRESS> For details see:
https://eips.ethereum.org/EIPS/eip-1459
https://github.com/ethereum/discv4-dns-lists
Without this, besu has to rely on discv4 discovery to sift through every p2p node in the DHT, and connect to each to find goerli nodes amongst them.  That can be a very slow and unreliable process when you are not on mainnet (most nodes are ethereum mainnet).
The first place I would look when diagnosing peering issues would be with DNS.  Figure out what your upstream dns server is and make sure it support TCP based dns lookups, and is not rate-limiting your lookups.

Interesting, thank you.

Closing this issue. I tried it on a host with the exact same DNS but more CPU, and it could get and hold peers just fine. I'll chalk this up to "Besu needs more compute than Geth, and if you starve it, nothing good happens".
Thank you for working through it with me. If nothing else, this boosted my confidence in Besu. Now to track down the sync snafu on main ...


Mobile client personal app

Pinning a personal tab app to the navigation bar on the mobile teams client requires activating developer preview mode. Is there a time line for when this will be out of preview? Or, is there a way to enable developer preview mode at a tenant level?

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

ID: 008da4e2-979e-c396-db28-4acf57deb530
Version Independent ID: f1413f77-5eb3-e1fd-9235-d322d6e4eb6c
Content: Developer Preview - Teams
Content Source: msteams-platform/resources/dev-preview/developer-preview-intro.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

@dastewa , There is plan to go G.A with LOB in upcoming quarter.

Awesome @Subhasish-msft , thanks for the update! Just to clarify, when this goes to GA, does it mean that activating developer preview mode will no longer be necessary for this feature?

yes, You are right. Developer preview is not needed, once it goes GA

Awesome, thank you! Closing.


Add fetch-bower to node-packages.json

Otherwise the fetchbower builder won't work. I guess nobody has used it before.
I do need someone to run npm2nix on this file and commit the results because git can't fetch anything on my machine. May be a Darwin specific problem.

I'm closing this as fetch-bower is now in nodePackages.


Improve documentation

Documentation should be significantly improved, to the point where this stuff can be understood by someone else.
Specifically, README.md should be extended quite a bit, including some theory about why this is important (eg. documenting the build process is good but automating it entirely is better), and particularly the hierarchy of configuration overlays: generic configs < device configs < node configs.

Pretty happy with the documentation now, everything is pretty simple and straightforward now.


[SPARK-24951][SQL] Table valued functions should throw AnalysisException

What changes were proposed in this pull request?
Previously TVF resolution could throw IllegalArgumentException if the data type is null type. This patch replaces that exception with AnalysisException, enriched with positional information, to improve error message reporting and to be more consistent with rest of Spark SQL.
How was this patch tested?
Updated the test case in table-valued-functions.sql.out, which is how I identified this problem in the first place.

@rxin, thanks! I am a bot who has found some folks who might be able to help with the review:@hvanhovell, @cloud-fan and @gatorsmile

cc @gatorsmile @ericl who originally wrote this.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1523/
Test PASSed.

Test build #93834 has started for PR 21934 at commit 514fd77.

LGTM

Test build #93834 has finished for PR 21934 at commit 514fd77.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93834/
Test FAILed.

Jenkins, retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/1535/
Test PASSed.

Test build #93849 has started for PR 21934 at commit 514fd77.

Test build #93849 has finished for PR 21934 at commit 514fd77.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93849/
Test PASSed.

Merged build finished. Test PASSed.


RuntimeError: Could not allocate tensor with 295289856 bytes. There is not enough GPU video memory available!

when i want to convert using a model i made before it gives me this error

that means you've not enough of gpu memory ( video ram ) to complete an inference.
it needs more memory, about ~282 mb. Are you doing it on a 4gb gpu? ( especially, amd, so - directml ? )
in case it's 4gb and amd - that's the constraints I suppose, does the same on my rx 570 4gb
in case it's 4gb nvidia - are you using crepe? try rmvpe or harvest instead


its perl-modules-5.22 in xenial

Looks good. Make sure to do a pull request upstream and chase the existing one so we can stop maintaining the fork


input reset size on content clear

when I remove all content from the field the field does not get smaller. Any idea how i can accomplish this?

I think the issue has to do with
Math.max(this.state.height, event.nativeEvent.contentSize.height) this is going to keep the input field the same height -- even if the content has shrunken

Yup changing this.state.height to this.props.defaultHeight will allow the input to not go lower than the default height -- making a PR now

Thanks for report and PR.

No problem man! Thanks for the package!
On Thu, May 26, 2016 at 1:41 PM Ivan Pusic<EMAIL_ADDRESS>wrote:

Thanks for report and PR.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/ivpusic/react-native-autogrow-input/issues/1#issuecomment-221942093


ACL LSTM API Usage

Hi,
I am trying to create a basic LSTM layer by using this article as a reference.
I have few queries regarding usage of the NELSTM layer API as below:

Above mentioned article explaining LSTM cell with four gate layers as follow- forget gate (ft), input gate (it), input candidate gate (Ct) and output gate (Ot). Here each gate has its own input weight files(4) and recurrent weight files(4). But ACL LSTM layer API has three input weight files saying forget, cell, output weight files. In this case what cell weight file refers to?

If i consider ARM  input_to_cell_weights as accumulated weight files of it and Ct then size of input to cell weight will be 2D tensor with [input_sizex2,  num_units] but LSTMLayer.h file describes size cell weight as [input_size,  num_units]. Could you please describe what exactly input cell weight file refers to?

What is scratch buffer in 13th argument?. I am not using Coupled Input and Forget Gate (CIFG) in my implementation, so can I use NULL instead of passing any buffer.

Thanks,
Hari

Hi @morgolock,
Is there any update on this?
Thanks,
Hari

The API that we follow is the AnroidNN API specification. More details can be found here:
https://developer.android.com/ndk/reference/group/neural-networks#group___neural_networks_1ggaabbe492c60331b13038e39d4207940e0ad0377e8c305e596fb7f64ff896671fc5
Hope this helps. If your questions persist then we will be happy to help you

Thanks for your response @GeorgeARM .
I will follow your reference and get back to you.

Hi @GeorgeARM ,
I had gone through the ACL LSTM API to solve sequence classification problem with no peep hole optimization and no CIFG.  I am facing few issues in using the API for this problem.
Below example describes expected input, output and weight file dimensions to the LSTM layer used in the sequence classification problem in general:

input_size : number of features that are observed at the each time step x sequence length -- 3x200
output_size : number of LSTM units -- 100
input_to_*_weights : number of features that are observed at the each time step x number of LSTM units -- 3x100(Note:* represents input/forget/cell/output gate)
recurrent_to_*_weights : number of LSTM units x number of LSTM units -- 100x100
*_gate_bias -  number of LSTM units -- 100
*_state_in -  number of LSTM units x batch_size -- 100x1
*_state_out -  number of LSTM units x batch_size -- 100x1

It is unclear how to configure the dimensions for the input_size , batch_size and input_to_*_weights in LSTM configure API specified in the NELSTMLayer.h file. Below are the cases with various input_size dimensions.

Case1 -
Could the input size be number of features that are observed at the each time step x sequence length [3x200] ? If Yes, then we weights sizes during configuration will over-shooted as shown below which may not result in the correct output.

ACL tensor shape of input_to_*_weights is specified as [input_size, num_units] [3x200,100]  then its size become  [number of features that are observed at the each time step x sequence length x number of LSTM units] [3x200x100] which is not true from the above mentioned example dimensions

Case2 -
Could the input size be number of features that are observed at the each time step(3)?If Yes, then we weights sizes during configuration will be same as in point 3 .

ACL tensor shape of input_to_*_weights is specified as [input_size, num_units] [3,100]  then its size become  [number of features that are observed at the each time step x number of LSTM units] [3x100] which is true from the above example dimensions
With the case 2, we could see that we are not handling the sequence length attribute of LSTM.
Could you let us know the appropriate usage of LSTM API with the given dimensions . You could disable peephole optimization and CIFG for this.
Any help would be highly appreciated.
I have attached standalone LSTM setup that I am working on for your reference.
Thanks,
Hari

Is there any update on this?

Finally i'm able use the ACL LSTM API. The fact is that ACL LSTM API supports only for sequence length=1. I'm explicitly running the LSTM API for sequence length time by copying the previous time step outputs to the current time step.
Is there any reason for not supporting sequence length parameter as like CUDNN API supports?

Hello @nhkrishna,
Yes its something that we are planning to do. We follow the AndroidNN spec, as you can see there are such operators. We are planning to add them in future releases.

Hi @GeorgeARM,
I have seen operators in AndroidNN spec. It has support for sequence length and Bi-Directional LSTMs.
Can i expect these features to be supported in next release?
Thanks,
Hari

Hello @nhkrishna,
Yes these are part of AndroidNN spec but they low at the moment in priority. Is this something of interest for you? Do you have network that utilize those?
Thanks,
George

Hi @GeorgeARM,
Thanks for your response.
I am using LSTM Networks with the combination of  input-->LSTM layer-->FC-->Softmax layers to process the vector sequence data. Also we can use LSTM layers along with convolution layers to process image sequence data.
Currently ACL supports single time step data prediction. So we are running the ACL API for sequence length times. Its good have the support for sequence length as an API argument so that API will capable of supporting other variants of LSTM such as Bi directional LSTMs.
Thanks,
Hari


Seeking Code for Converting to Cityscapes Format

Hello, I'm searching for the code that can help me convert data into the Cityscapes format. Could someone please direct me to the repository or source where I can find this code? Thank you!

I think any code to convert dataset as the format used in this repo, is included as shown in README.md


Singly LinkedList class Implementation  in CPP with all basic functions

Please assign this issue to me :)

can you make a readme as well @Rohanfizz for this? i have merged the program though.


Custom typings or type definition

Hi!
I'm finding that in both my first and second project I've had issues with transfering Date type over the trpc. Is there a way to define the type to be Date rather the string?
(Apologies for the autolabel)

It seems that the issue has been with how I was integrating superjson into my client therefore not getting correct types


Small improvements

Some formatting.
Changed the 15 individual if-statements to one single switch block and altered the Equals function of ByteMemoryEqualityComparer so there is only one return.

First off, thanks for contributing!
I did some microbenchmarks with BenchmarkDotNet against the changes. The change in GetHashValue results in an improvement of factor 2 for a single method call, so that is great, especially as equals is called very frequently :)
I expect all hashes to be lower-case, so it is probably a good idea to move the checks for the upper case characters to the bottom or even remove them completely.
The modified version of the Equals-Method performs worse than the original (about 20%). I did not look into the bytecode to see why yet, but this is an issue as this is a hot path.
Also I do not like the style change in this method, as the increased nesting makes it harder to read for me.
The whitespace-changes are ok, while I would prefer to keep this kind of change to a minimum to focus on the relevant changes and this is not something I pay much attention to.
Would you mind having a look at the issue with Equals or reverting that change?


az network private-dns record-set is not idempotent from CLI version 2.37.0

This is related to #10467.
Related command
az network private-dns record-set
Describe the bug
CLI version 2.36.0 runs this command in an idempotent way. If the record is to be duplicated, it acts as a No-op and returns code 0. In version 2.37.0 this command is no longer idempotent and logs a BadRequest.
To Reproduce
Run az network private-dns record-set in version 2.36.0 and 2.37.0 and notice the different results.
Expected behavior
I expect this command to be idempotent when adding a record that may already exist.
Environment summary
Ran in pipeline worker with ubuntu 20.04 image

network

What is returned (for reference):
ERROR: (BadRequest) The list of record sets of type 'A' may not contain multiple entries with the same 'ipv4Address'.
Code: BadRequest
Message: The list of record sets of type 'A' may not contain multiple entries with the same 'ipv4Address'.

@yonzhan Is this something that is/will be worked on?

@alanj1998, actually, there is no any changes between Azure CLI 2.36.0 and 2.37.0 for this functionality. It should be a change from service side, let's involve service team for help.

Hey is there any update on this?

Bump :)

@rajitaaa Could you please help us explain this behavior? Thanks.


Fix and unify channel and user list items

Summary
This PR tries to unify all the channel and user list items. This unify how they are presented, and fix some issues like the linked ticket.
Tested on Android, iOS and iPad. Not sure if everything is working as it used to do, but seems like everything (or most of it) is working and looks fine. 0/5 on whether we should send it to QA or UX, since things may have changed around.
Disclaimer:
There is another refactor I would like to do to simplify the items (mainly the channel item) that has to do with the background color. Right now, there is a lot of logic that before was about "isInfo" but that I renamed to "onCenterBg", which means that the element is on a white background (on denim theme) and the texts have to be related to that. The refactor I want to do is to handle this in a more beautiful way (probably inside the UserItem/ChannelItem component) instead of where it is now.
Ticket Link
https://mattermost.atlassian.net/browse/MM-45498
Release Note
Improve channel and user elements in lists.

Updated the description with:
Tested on Android, iOS and iPad. Not sure if everything is working as it used to do, but seems like everything (or most of it) is working and looks fine. 0/5 on whether we should send it to QA or UX, since things may have changed around.

Successfully triggered e2e mobile testing!
https://git.internal.mattermost.com/qa/mobile-e2e-testing/-/pipelines/308921

@larkox can you check the conflicts?

@M-ZubairAhmed done

conflicts need resolving and I'll wait for this to be merged in order to work on https://mattermost.atlassian.net/browse/MM-49383 as currently the snackbar is covered by the selected users panel and I don't want to be doing more than actually needed.

Adding screenshots:
Android: Practically the same as iPhone.
iPhone:

iPad:

@M-ZubairAhmed Not urgent, but it would be great if you could review this one. Kind of big one, so I would like to merge it before it becomes a merge hell :sweat_smile:

@M-ZubairAhmed Not urgent, but it would be great if you could review this one. Kind of big one, so I would like to merge it before it becomes a merge hell 😅

also keep in mind that I have a couple of tickets waiting for this to be merged ;)


[suggestion]change the key value of ChatGPT through command line

It would be great if we could change the key value of ChatGPT through command line, such as typing (or selecting) [change key value] in the terminal, and then inputting the new key to update the key value in the configuration file, which would be more convenient than editing the config file manually.😄

A great advice. We will try to provide a simple script for updating the config.json file.

A great advice. We will try to provide a simple script for updating the config.json file.

many thanks 😄

A script is added to update the config file throught command line.


Add additional crypto methods to PublicKey.

Note: tweak_add will NOT work without secp256k1. We shall add pure-python implementation for such cases.

Codecov Report

Merging #66 into develop will decrease coverage by 2.13%.
The diff coverage is 10.9%.

@@             Coverage Diff             @@
##           develop      #66      +/-   ##
===========================================
- Coverage    58.41%   56.28%   -2.14%
===========================================
  Files           19       19
  Lines         1171     1226      +55
===========================================
+ Hits           684      690       +6
- Misses         487      536      +49

Impacted Files
Coverage Δ

graphenebase/account.py
62.56% <28.57%> (-1.27%)
:arrow_down:

graphenebase/ecdsa.py
46.53% <8.33%> (-9.31%)
:arrow_down:

Continue to review full report at Codecov.

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

@jhtitor Is it possible that you provide unit tests for those?


Run the angular UI behind a proxy

In some environment server can access to internet only via a proxy, this actually prevent the SSR.
Describe the solution you'd like
It should be possible to configure angular to use a proxy for all the http requests. This article should be useful https://medium.com/ngconf/how-to-proxy-http-requests-in-angular-f873183880a4
This task should take approx 2-3 days

@abollini : I need some more information here... as this ticket doesn't have much details.   The article you linked to states that this problem can be fixed all via configuration (adding a proxy.conf.ts file which is referenced from angular.json).  However, your estimate says this will take 16-24 hours.  That seems like a long amount of time for a simple configuration change.
Could you better describe the problem you have seen (e.g. how to reproduce this, even in general terms) and what solution you feel is needed?  Is this more than a configuration issue?  Am I misunderstanding the solution you've estimated?

Sure, I will ask internally to provide more details. I guess the difficulty could be to dynamically configure the proxy.conf.ts on the basis of our dspace angular configuration file and maybe the test part.

@tdonohue
as said by @abollini  the difficult is to integrate with our webpack/angular configuration in order to have a the possibility to run the application with the proxy in the same way we launch the application now. I image a command like yarn run serve:ssr:proxy.
Moreover the difficult comes with the testing procedure because it's hard to try it locally, but it requires an environment configured properly.
So why the estimate is conservative.


[styles] Change dangerouslyUseGlobalCSS to only affect static style sheets

Closes #14087

Thanks for adding the unit test, it slipped my mind 😅


How to make all tagged/stories/etc go inside their user folder

I have it set to --dirname-pattern=Users/{profile}, however when I'm downloading tagged/stories/highlights/etc it will put it inside that /Users/ folder instead of the /Users/profile/ folder. Is there a way to to create the username folder, then have all their content in that folder only?
For example I could be downloading 2 users but end up with 50 folders in the Users folder.

I think by default Instaloader downloads each profile in separate folders with folder names in username format.
So let's say you are trying to download 2 profiles therock and tomcruise. If you don't specify --dirname-pattern attribute, there will be 2 folders created named therock and tomcruise for respective profiles and all other stuff will be download inside these folders.

I think by default Instaloader downloads each profile in separate folders with folder names in username format.
So let's say you are trying to download 2 profiles therock and tomcruise. If you don't specify --dirname-pattern attribute, there will be 2 folders created named therock and tomcruise for respective profiles and all other stuff will be download inside these folders.

I made a script with the commands, maybe help you: https://github.com/MrJmpl3/social-scraper-downloader-organizer

I made a script with the commands, maybe help you: https://github.com/MrJmpl3/social-scraper-downloader-organizer

I think by default Instaloader downloads each profile in separate folders with folder names in username format.
So let's say you are trying to download 2 profiles therock and tomcruise. If you don't specify --dirname-pattern attribute, there will be 2 folders created named therock and tomcruise for respective profiles and all other stuff will be download inside these folders.

That isn't what I meant.
Lets say you set a directory called 'users' and download "tomcruise"
With /users/ there will be every user that tagged tomcruise, etc instead what should happen is that all the tagged photos, highlights, etc goes inside /users/tomcruise
does that make sense? To test this create a folder called Users, and download TomCruise including highlights, stories etc. In a perfect scenrario the users folder should ONLY have 1 folder, and that is called "tomcruise" and inside THAT folder will be a "tagged" folder, "highlights" folder, etc.

I think by default Instaloader downloads each profile in separate folders with folder names in username format.
So let's say you are trying to download 2 profiles therock and tomcruise. If you don't specify --dirname-pattern attribute, there will be 2 folders created named therock and tomcruise for respective profiles and all other stuff will be download inside these folders.

That isn't what I meant.
Lets say you set a directory called 'users' and download "tomcruise"
With /users/ there will be every user that tagged tomcruise, etc instead what should happen is that all the tagged photos, highlights, etc goes inside /users/tomcruise
does that make sense? To test this create a folder called Users, and download TomCruise including highlights, stories etc. In a perfect scenrario the users folder should ONLY have 1 folder, and that is called "tomcruise" and inside THAT folder will be a "tagged" folder, "highlights" folder, etc.


vcluster: incorrect version reported

Describe the bug
$ nix run github:nixos/nixpkgs/nixpkgs-unstable#vcluster -- version
vcluster version 0.0.1

Expected this to show 0.15.6 instead of 0.0.1
Notify maintainers

@peterromfeldhk @berryp @QJoly
Metadata

system: "x86_64-linux"
host os: Linux 6.2.0-34-generic, Ubuntu, 22.04.3 LTS (Jammy Jellyfish), nobuild
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.12.0
channels(root): "nixpkgs"
channels(mauricio): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs

Upon a cursory review this seems like an issue with upstream and not nixpkgs.
See the search results for 0.0.1 in upstream @ https://github.com/search?q=repo%3Aloft-sh%2Fvcluster+%2F[^.]0\.0\.1[^%3A]%2F&type=code .

Pretty sure it's controlled by the RELEASE_VERSION env var, which the nix package currently doesn't seem to set.


GO:0019726, EC number linked to this term has been deleted

The EC number (EC <IP_ADDRESS>) has been deleted based on pmid:4463942 where the enzyme has been shown to actually belong to EC <IP_ADDRESS>. The change will become public in release 2024_01 scheduled for January 17 2024.

Dear all,
The proposal has been made to obsolete  GO:0019726 mevaldate reductase (NADPH) activity. The reason for obsoletion is that the associated EC number has been deleted (EC <IP_ADDRESS>), based on PMID:4463942 where the enzyme has been shown to actually belong to EC <IP_ADDRESS>.
There are no manual annotations to this term. This term is not in any subset.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/25880
Thanks, Pascale


Configuration issue Unknown error (0x80005000)

PassCore Server

OS: [Windows]
Provider: [Active Directory]
Settings file (without sensitive information):
"UseAutomaticContext": false, // Set true to allow PassCore to reset password using the same credentials, or false if you will fill the credentials below
"RestrictedADGroups": [
"Administrators",
"Domain Admins",
"Enterprise Admins"
], // Set the AD groups to restrict the use of PassCore
"AllowedADGroups": [], // Set the AD Groups to allow PassCore, if the array is empty all the groups no-restricted above are allowed
"IdTypeForUser": "UPN", // Possible values are "DN", "GUID", "Name", "SAM", "SID" and "UPN" (Default UPN)
"UpdateLastPassword": false, // Set true to allow PassCore to  update the last password timestamp
// The following options are for LDAP Provider (remove if you don't use this Provider)
"LdapSearchBase": "OU=myOU,DC=domain,DC=com",
"LdapSecureSocketLayer": true, // Default for AD is true when using LDAPS 636
"LdapStartTls": true, // Default for AD is true when using LDAP 389
"LdapChangePasswordWithDelAdd": true,
"LdapSearchFilter": "(sAMAccountName={Username})", // Another value: "(&(objectClass=person)(cn={Username}))"
// General options (valid for both providers)
"LdapHostnames": [ "dc.domain.com" ], // Set your hostname(s)
"LdapPort": 389, // Default for AD is 389, for LDAPS 636
"LdapUsername": "PwdReseter", // Set the username or distinguish name (DN) to bind the LDAP server
"LdapPassword": "PwdPass", // Set the password for the username
"DefaultDomain": "domain.com" // Set your default AD domain here, or non "@" logins will not work! Use empty value to allow user to set the domain. This option is ONLY available with UPN.
Log file (without sensitive information):

Describe the bug
I am not able to change password of an user. User can be found but when I am changing password I am receiving error Unknown error (0x80005000).
I have read that it can be because of inproper tls setting as changing password is requiring tls
Expected behavior
Possible to change password
Desktop (please complete the following information):

OS: Windows 10
Browser chrome

I have the same problem on the mac {errors: [{errorCode: 8, fieldName: null, message: "Unexpected null exception"}], payload: null}

Same issue here
Passcore 4.2.0 on .NET Core 3.0.3 on Windows Server 2016 Core
Using plaintext LDAP and "UseAutomaticContext": false

It seems by rolling back to .NET Core 3.0.0 I was able to resolve the issue.
That, or I fat fingered the JSON in the configuration.

Same issue.  PassCore v4.2.0 on Windows server 2016 Microsoft.NETCore.App 3.0.0

I am having the same issue on Windows Server 2016 Microsoft.NETCore.App 3.0.0. Running Passcore v4.2.0 and regular LDAP over 389/tcp with a service account. I tried switching to LDAPS and upgrading from 3.0.0 .NetCore to 3.1.4, but both changes failed with the same Unknown error (0x80005000).
Running with no service account and changing "UseAutomaticContext" to true does work, but I am looking for a solution to reset expired passwords and need a service account

Same issue here. 2016 4.2.0

I have the same issue
really keen to use this site . it would be a life saver!


Bibtex export

993ef63e30ab6dd9ba358654015961a810bd0e9d

It's almost ready https://github.com/openjournalsoftware/BibTexBundle/commit/9da9a0c94669c30c7f7de098c3e1243b74903175

My plan was 2 day for bibtex but it is actually huge feature.  Very Hard to finish on time :'(

Based on following format:
@article{seligman01impact,
 author = {Len Seligman and Arnon Rosenthal},
 title = {{XML}'s Impact on Databases and Data Sharing},
 journal = {Computer},
 volume = {34},
 number = {6},
 year = {2001},
 issn = {0018-9162},
 pages = {59--67},
 doi = {http://dx.doi.org/10.1109/2.928623},
 publisher = {IEEE Computer Society Press},
 address = {Los Alamitos, CA, USA},
 }


improve typing of hasMany relations in generateTypeDefinitionFromSql method

export type NonEmptyArray<T> = [T, ...T[]];

export type PossiblyEmptyArray<T> = T[];

we can use NonEmptyArray when uses in doing an inner join
ie:
select u.name, p.title, p.content from users u inner join posts p on u.id = p.user_id

would be typed as
 {
  name: string;
  posts: NonEmptyArray<{
    title: string;
    content: string;
  }>;
}

and we can use PossiblyEmptyArray when uses in doing an left join
ie:
select u.name, p.title, p.content from users u left join posts p on u.id = p.user_id

would be typed as
{
  name: string;
  posts: PossiblyEmptyArray<{
    title: string;
    content: string;
  }>;
}

implemented in #42


Manual Cassette Controller

Adds a controller entity that can be added to a room to allow the player to manually cycle the cassette blocks.
Attempts to remove/prevent the addition of a CassetteBlockManager, and throws an exception if one is still present.
Features a "secret" in the form of a 1/100 chance to use a different icon in Ahorn

Looks good.


Runtime transpilation fails for circuit with reset in it

Describe the bug
Attempting to execute a circuit with a reset in it via the Estimator gives the following transpiler error:

RuntimeJobFailureError: 'Unable to retrieve job result. TRANSPILERERROR: "UNKNOWN OPERATION TYPE FOR DAGOPNODE(OP=INSTRUCTION(NAME='RESET', NUM_QUBITS=1, NUM_CLBITS=0, PARAMS=[]), QARGS=(QUBIT(QUANTUMREGISTER(27, 'Q'), 1),), CARGS=()).'

Steps to reproduce
The circuit comes from here: https://quantum-enablement.org/events/skku-2022/Dynamical-decoupling.html#example-wormhole-teleportation
Expected behavior
I expect to be able to compute the observable 'ZIIIII' with no issue.
Suggested solutions
Additional Information

qiskit-ibm-runtime version: latest
Python version:
Operating system:

I tried to build a small test case similar to yours, using Estimator, with a reset but did not get a failure. I couldn't use your circuit because it doesn't use Estimator as far as I could see (also because it is a huge example :).
Can you provide a small example that is failing?

I see now that it fails when running on a real device. On the simulator it passes. I will investigate further.

The problem appears to be in qiskit_ibm_primitives. I will open an issue there.

I'm following up on this issue. I'm not sure this is the same error as reported, but here is a small piece of code that illustrates the same compiler error. Even though FakeAlmadenV2 is a V2 backend, it does not include the reset operation, which causes the transpilation to fail.  This could be a problem with the provider as written, or maybe with the BackendV2Converter? The initialize command apparently includes a reset.  (Transpilation works with a V1 backend (e.g., FakeAlmaden) and with the GenericBackendV2.)
This is with qiskit 1.0.2, and qiskit-ibm-runtime 0.22.0.
from qiskit import QuantumCircuit, QuantumRegister, transpile
from qiskit.providers.fake_provider import GenericBackendV2
from qiskit_ibm_runtime.fake_provider import FakeAlmadenV2
from qiskit.quantum_info import Statevector
sv = Statevector.from_label("001100")
qc = QuantumCircuit(6, name='prep')
qc.initialize(sv.data, list(range(0,6)))
backend = GenericBackendV2(20)
print(f'GenericBackendV2 operations: {backend.operation_names}')
tqc = transpile(qc, backend)  # this works
backend = FakeAlmadenV2()
print(f'FakeAlmadenV2 operations: {backend.operation_names}')
tqc = transpile(qc, backend)  # this fails because backend has no reset operator
---- OUTPUT
GenericBackendV2 operations: ['cx', 'id', 'rz', 'sx', 'x', 'reset', 'delay', 'measure']
FakeAlmadenV2 operations: ['u3', 'measure', 'u2', 'cx', 'id', 'u1', 'delay']

I think this was fixed, but someone should test it.

Confirmed this has been fixed


Please add dark mode or customise preview controller!!!

Now, there's colors in the code (PreviewViewController, LivePreviewViewController, VideoPreviewViewController) and they're not dependent on the subject

Please help me doing so!!!!!!!!


Fix TLS in docker

Problem

Our docker containers can't talk to other nodes that are using https
Solution

Add cacert to the correct place.
This PR also moves our dependencies to buildInputs and just keeps cacert in propagatedBuildInputs which makes our closure slightly smaller. Let me know if we want to move this to a separate PR.

@aguillon we're using https in the testnet running in kubernetes. I think using https is something we want to support by default? At least for making requests.
Note that we're not running the deku node with https but we have a reverse proxy (actually a ingress) that terminates the tls before sending the request to the node.

@aguillon Added comments in github that describes why the changes are made

Works for me, thanks!


Server Side Blazor - Can I serve the "index.html" content from a Controller action or Razor page?

Hi, I have been playing around trying to have Azure AD authentication in a Server Side Blazor app and have tried the following:
I made it work (sort of) using the "child app" approach that others have pointed to in other issues, like so
app.Map("/app", childApp =>
{
    childApp.UseAuthentication();
    childApp.UseServerSideBlazor<App.Startup>();
});

But using that approach I have to check if the user is authenticated in the App.cshtml OnInit method and while it works, I would like to simply not "start" the Blazor app if the user is not authenticated, but I can't really figure out if that is possible.
The other thing I have tried, to solve that, is having an MVC controller with an /app route where I would return the index.html content instead of it being served by a static file provider from the wwwroot folder. But that did not work as I immediately get the following error.

The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.

So I'm a little lost here on how to approach this. Is it possible or am I one the wrong track?

I'm sure its not the best approach, but I could make it work.
This is the pipeline setup:
//
app.UseAuthentication();

// mvc
app.UseMvc(options =>
{
    options.MapRoute("Admin", @"admin", new { area = "Admin", controller = "Home", action = "Index" });
    options.MapRoute("AdminSpa", @"admin/{*url:regex(^[^.]*$)}", new { area = "Admin", controller = "Home", action = "Index" }); //
});

// blazor
app.Map("/admin", branch =>
{
    branch.UseBlazor<Admin.Client.Program>();
});

This is the controller action:
[Authorize]
[Area("Admin")]
public class HomeController : Controller
{
    [HttpGet]
    [IssueAntiforgeryToken]
    public IActionResult Index()
    {
        return View();
    }
}

The IssueAntiforgeryToken is a custom attribute, it sets the CSRF token in a cookie with the response.
Hope it helps.

Thanks @Peter-Juhasz, are you using this for server side blazor? branch.UseBlazor<Admin.Client.Program>(); looks like it's the web assembly version?
I have played around with it some more and found a way to get authentication working while still just serving the static index.html file. I have it here: https://github.com/christiansparre/BlazorServerSideAzureAd
The main part is the branched pipeline:
app.Map("/app", childApp =>
{
    childApp.UseAuthentication();
    childApp.Use(async (context, next) =>
    {
        if (!context.User.Identity.IsAuthenticated)
        {
            context.Response.Redirect("/signin?redirectUri=" + context.Request.GetEncodedUrl());
            return;
        }
        await next();
    });
    childApp.UseServerSideBlazor<App.Startup>();
});

where I enable authentication and then check if each request is authenticated and if not then redirecting to a controller action that does the challenge and redirects back to the blazor app. It works, but I expect that the team will come up with a more integrated way of doing it down the line.

Our use case is a public blog-like website, where all the public pages are rendered server-side using regular MVC/Razor, while the admin area is more like an "app", so it is built as a SPA by Blazor. And these two areas are hosted in the same app at the end.
For authentication we use Azure Active Directory, but since it is handled by the Authorize attribute and then the built-in Identity module, the code is completely independent of the authentication provider, so you don't have to reimplement the redirection and all the other flows.
One thing I forgot to mention is that we don't use the static index.html from the Blazor project. That is a view in the host project rendered using MVC/Razor/cshtml. It may feel like it distracts the Blazor project, but it has a lot of advantages over a static file as well. For example, you can use tag helpers for asset versioning, SRI, environment switches and so on.

@christiansparre Looks like you were able to answer you're own question. We are tracking adding a more integrated authentication and authorization story with issue #64.

I am still quite new to Asp.Net Core (only been using it a year professionally), however, I am used to the traditional action filters. These don't apply to Blazor outside the scope of the SPA app.
I found this is the only source on how I could "not run the Blazor app at all" and redirect the user to a sign-in page. This allows me to protect the DLLs that make up my shared code base from potential attackers who wish to reverse-engineer my dashboard.
I feel like this could be made easier to find for anyone else with similar use cases. I initially thought this would be very easy to find online, but it has taken more at least a few hours.
Thanks for the valuable documentation!


opinion

Wsg noob I would like to ask u what to improve/opinion on my new roblox fast flags collection website which is a collection of fast flags from everywhere
https://fastflagforge.github.io/Docs/

add credits. pretty good fflag list, where did you get the tsb fflags? are they paid? are they rare? or what?

tsb fflag cant be used, change the numbers.

Label | Type | Description
-- | -- | --
Flag | bool | A boolean variable that can be either true or false.
Int | int | An integer variable used to store whole numbers.
String | string | A variable used to store a sequence of characters.

which  one is for avatar speed by scale.

Thanks for telling me the issues and what I must add to my fast flag list much thanks

maybe use github aswell?

my list is kinda what ur doing but with fflags ive made


Google Map - Legal Notices

About the "Legal Notice", is it only necessary to call the method "getLicenseInfo()" and display its information, for instance, in a menu item, and the app is ready to go?
Btw, is there any way to check when the info was all fetched? So I can use a "loading" while waiting.

Since Google requires  to show the license attributes in your app, you must show the license. At least you need to provide the menu.
https://developers.google.com/maps/documentation/android-api/intro#attribution_requirements

Btw, is there any way to check when the info was all fetched? So I can use a "loading" while waiting.

It's depends on your environment. Not programming problem.

Is it also normal, that the "getLicenceInfo()", besides "The Android Open Source Project", also shows other information like "Copyright (c) 2014 Chris Banes", or "Copyright 2006-2012, the V8 project authors", among others?

You need to display all strings that are obtained from getLicenceInfo() everything. That's all.

Ok. It is what I'm doing. Thanks


Naught and Logging

Hi,
I'm trying to create a null logger as follows:
require "naught"
require "logging"

log = Logging.logger["test"]
log.info

NullLog = Naught.build do |config|
  config.mimic log.class
end

null_log = NullLog.new
null_log.info

But I get the following error:
in <main>': undefined method info' for null:Logging::Logger:NullLog (NoMethodError)
Does this have to do with the way Logging defines methods? It seems to do some magic.

Closing this issue. Please reopen it if it’s still an issue.


profile on right side not scaled properly to the box

I made a temporary fix. I will delete it as soon as the pull request gets merged. Use this URL:
https://raw.githubusercontent.com/PinkSerenity/LilyPichu/temp/lilypichu.theme.css

fixed!

Yay, thank you :3


Check already streamed instances in addition to new descendants.

Similar to how :queryChanged returns a record of all records prior to the first call to queryChanged, it would be useful for the result of useStream to do an initial check for any entities that streamed prior to my initial call.

I agree that this can be useful, but I need to take time to consider the exact place in the API and release schedule this should take, so it may be a little while before I get to approving it.

Might take a little longer - I ended up finding a bug in this related to workspace.SignalBehavior.Deferred - For some reason, in some cases, an instance will never be passed that has been replicated to the client. I have no thoughts on why this is, but am looking into it.

I'm not sure if you want to close this pull request, but the only thing I found was to use CollectionService which works as expected.


[CodeCompletion] Disable module system headers validation

This validation may call many stat(2). Since we don't expect system files are edited. Disable it for code completion, even if they are edited, they are validated when the user manually build the project.
rdar://problem/58550697

@swift-ci Please smoke test


fix for compiling on ppc64le

I tried using %2 instead of specifying register r0, but for some reason kept getting errors like:

/home/u0018756/xhprof/extension/xhprof.c: In function ‘hp_mode_hier_beginfn_cb’:
/home/u0018756/xhprof/extension/xhprof.c:1245:3: error: unknown register name ‘ ’ in ‘asm’
asm volatile(

also added top-level Makefile for the impatient, and added a few clues to the README. there are a lot of errors compiling under PHP7.0; many functions now use different numbers of args.

maintainers: I have permission to add your public key to the OSU-provided VPS so you can test the code.


add ba analysis report script

Bundle Adjustment Analysis Tool
Overview
Added a comprehensive analysis tool for evaluating bundle adjustment results through reprojection error analysis. This tool provides detailed insights into the quality of Structure from Motion (SfM) reconstructions by analyzing reprojection errors across images and 3D points.
Key Features

Basic statistical analysis of reprojection errors
Per-image error analysis and visualization
Detection and analysis of outlier points
Analysis of correlation between point counts and reprojection errors
Camera pose quality assessment
3D point observation analysis
Automated report generation with visualizations
Identification and storage of problematic images

Technical Details

Implemented using Python with numpy, matplotlib, and opencv
Supports both command-line usage and module import
Generates comprehensive HTML reports with embedded visualizations
Includes error distribution analysis and statistical metrics
Provides automated recommendations based on analysis results

Usage

LGTM


Move Babel deps to dev only

Noticed these were being pulled in when installing the package, so moving to dev dependencies since they aren't referenced in the source.
:bug: Bug Fix

Move Babel dependencies to dev only.

👍


SQL queries notebook bug

Damien Desfontaines found error in the SQL queries notebook:

https://twitter.com/TedOnPrivacy/status/1263453728394395649 see thread for some debugging of this by him

@eedeleon: flagging this, may be old


[DEV-9918] Switch to PNPM

Do you have these warnings when you run pnpm build?

Yes, switched to old lock file format

Works well now! Great! :+1:
Also, let's squash all these commits (too many commits with crappy descriptions
).

Also, let's squash all these commits upon merge (too many commits with crappy descriptions).

I will merge with squash

@aspirisen My apologies for the delay. I'll review it today and merge. Thank you :pray:


Provide a label for every module

Basically so @hsyyid is not left asking which module does (put feature here) goes under :wink:

Okay

No. There really is no need, the modules are still up for change.
On Fri, 4 Mar 2016 at 19:08, HassanS6000<EMAIL_ADDRESS>wrote:

Closed #45 https://github.com/EssencePowered/Essence/issues/45.
—
Reply to this email directly or view it on GitHub
https://github.com/EssencePowered/Essence/issues/45#event-578220904.

Ok, now I've actually got access to my computer, I have more to say on this.

The issues in question were quickly added during a break at work today and I only had time to quickly put down my thoughts, I know that they were sparse, but sometimes that is also because I do not know which module they should be in. Modules can be chopped and changed right now anyway, and I trust that @hsyyid can use his best judgement if I haven't provided everything. He'll make decisions I question, I'll make decisions he questions - we don't always need the other's approval.
A label for every module does not seem helpful to me. They are very fluid at this present time.
@kinggoesgaming - I would really appreciate it if you stop opening issues for such organisational things. Some of these issues feel like you are almost telling us what we should do (when you aren't even officially part of the project team), and while I accept that I could have put more information down, bear in mind that I am super busy at times and I am doing my best to at least give some signposts as to what needs to be done. I have written and offered this codebase with the best of intentions as a volunteer.
I understand you are excited about this project, I really do, but trying to tell us what to do (even if that's not the intention) is really not helpful to me, and if anything, it looks as if you are trying to look relevant when the time can be better spent not critising the fact I've missed details and is better spent contributing ideas and possibly code. I have had plently of experience in being part of professional software projects and I do not need to be told how to run them.
TL;DR: Putting up issues like this do not help - if anything, they detract from what is going on. Please restrict opening issues to things relavent to the plugin itself.


New ContentType.EXCLUDE_HEADER functionality

From<EMAIL_ADDRESS>on April 17, 2013 01:06:09
This is an enhancement request that can be treated as a low priority since there is a workaround by using HttpClient.
The request is for a functional expansion of the ContentType enumeration where a new value ContentType.EXCLUDE_HEADER causes the API to omit the transmission of the content-type header.
Below is a summary of the issue as originally posted to the Google Groups list.
I am using REST assured to test against a vendor's REST interface.  There is a particular operation that requires submitting some custom headers via a PUT operation with a zero content length body.  When I attempt to do this, no message is transmitted and I encounter an org.apache.http.client.ClientProtocolException,  I believe that I narrowed it down to the presence of the Content-Type=/ header which I think is being injected automatically by REST assured.  I came to this conclusion by coding the REST call directly using Apache HTTP client and the call acted as expected. Additionally, I used WireShark to verify that the HttpClient code was not transmitting Content-Type, and that it was transmitting Content-Length: 0.  Is there a way to prohibit the Content-Type header from being submitted?  Below I included the REST assured code that threw the exception, the HttpClient code that was successful, and lastly the stack trace.
REST assured code
response = RestAssured.
with().
log().all().
header("customHeader1", "SomeValue1").
header("customHeader2", "SomeValue2").
header("Content-Length", "0").
expect().
log().all().
statusCode(201).
when().
put(url);
Apache Http Client code
AbstractHttpClient httpClient = new DefaultHttpClient();
HttpPut httpPut = new HttpPut(url);
httpPut.addHeader("customHeader1", "SomeValue1");
httpPut.addHeader("customHeader2", "SomeValue2");
    HttpResponse httpResponse = null;
    httpResponse = httpClient.execute(httpPut);

    int statusCode = httpResponse.getStatusLine().getStatusCode();
    assertThat(statusCode, equalTo(HttpStatus.SC_CREATED));

Stack Trace
org.apache.http.client.ClientProtocolException
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:909)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.apache.http.client.HttpClient$execute.call(Unknown Source)
at com.jayway.restassured.internal.RequestSpecificationImpl$RestAssuredHttpBuilder.doRequest(RequestSpecificationImpl.groovy:1350)
at com.jayway.restassured.internal.http.HTTPBuilder.doRequest(HTTPBuilder.java:489)
at com.jayway.restassured.internal.http.HTTPBuilder.request(HTTPBuilder.java:438)
at com.jayway.restassured.internal.http.HTTPBuilder$request.call(Unknown Source)
at com.jayway.restassured.internal.RequestSpecificationImpl.sendHttpRequest(RequestSpecificationImpl.groovy:926)
at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$sendHttpRequest(RequestSpecificationImpl.groovy)
at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$sendHttpRequest.callCurrent(Unknown Source)
at com.jayway.restassured.internal.RequestSpecificationImpl.sendRequest(RequestSpecificationImpl.groovy:793)
at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$sendRequest(RequestSpecificationImpl.groovy)
at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$sendRequest.call(Unknown Source)
at com.jayway.restassured.internal.filter.RootFilter.filter(RootFilter.groovy:28)
at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at com.jayway.restassured.filter.Filter$filter$0.call(Unknown Source)
at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:47)
at com.jayway.restassured.filter.log.StatusCodeBasedLoggingFilter.filter(StatusCodeBasedLoggingFilter.java:95)
at com.jayway.restassured.filter.log.ResponseLoggingFilter.filter(ResponseLoggingFilter.java:31)
at com.jayway.restassured.filter.Filter$filter$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at com.jayway.restassured.filter.Filter$filter$0.call(Unknown Source)
at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:47)
at com.jayway.restassured.filter.log.RequestLoggingFilter.filter(RequestLoggingFilter.java:134)
at com.jayway.restassured.filter.Filter$filter$0.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at com.jayway.restassured.filter.Filter$filter.call(Unknown Source)
at com.jayway.restassured.internal.filter.FilterContextImpl.next(FilterContextImpl.groovy:47)
at com.jayway.restassured.filter.FilterContext$next.call(Unknown Source)
at com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:731)
at com.jayway.restassured.internal.RequestSpecificationImpl$invokeFilterChain.callCurrent(Unknown Source)
at com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1115)
at com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
at com.jayway.restassured.internal.RequestSpecificationImpl$this$2$applyPathParamsAndSendRequest.callCurrent(Unknown Source)
at com.jayway.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy:137)
at com.jayway.restassured.specification.RequestSender$put.call(Unknown Source)
at com.jayway.restassured.internal.ResponseSpecificationImpl.put(ResponseSpecificationImpl.groovy:232)
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=226

From<EMAIL_ADDRESS>on May 14, 2013 00:04:04
Status: Accepted

From<EMAIL_ADDRESS>on July 05, 2014 10:08:25
Issue 341 has been merged into this issue.

From<EMAIL_ADDRESS>on January 25, 2015 04:22:03
This feature is much needed. We need to support requests without content type header in our product and we need to be able to test it. In addition, being Rest Assured a test library, it should have the ability to send requests without certain headers just to check the behavior of your poduct in such scenario.

From<EMAIL_ADDRESS>on January 25, 2015 04:32:30
Finally someone agree with me :)

From<EMAIL_ADDRESS>on January 25, 2015 09:46:23
I definitely agree that it should be possible. It just haven't been a priority to implement since it's a pretty small corner case. Don't know how much effort that may go in to fix it. I'm on parental leave right now so pull requests are very welcome.

From<EMAIL_ADDRESS>on January 26, 2015 02:15:51
What I noticed in my case (I'm using version 1.7.1) is that, if no content-type is specified, Rest Assured tries to guess it and adds a content-type header.
But the guessing is wrong as it guessed "text/plain"  when it actually was a JSON payload.
I would add an option to disable content-type guessing altogether. If the user hasn't specified any content type header, no content-type header should be sent at all.
I'll work on that in a fork and let you know what I get.

From<EMAIL_ADDRESS>on March 25, 2015 13:46:15
I don't know if it's part of this same issue, but I'd like to be able to suppress the Content-Length header. Should I request that as a separate issue?

We're trying to write tests that verify our gzip encoding logic. The problem we run into is that rest-assured always adds and "Accept-Encoding: gzip,deflate" header so there is no way to test the negative case (no header). To verify this was what was going on, I ran my rest-assured tests through a reverse-proxy to let me see what was really being sent.
Reported by Reverse Proxy
GET /status HTTP/1.1
Content-Type    application/json; charset=UTF-8
Accept  */*
Content-Length  0
Host    <IP_ADDRESS>:8400
Connection  Keep-Alive
User-Agent  Apache-HttpClient/4.5.1 (Java/1.8.0_60)
Accept-Encoding gzip,deflate

Reported by rest-assured
Request method: GET
Request path:   http://<IP_ADDRESS>:8400/status
Proxy:          <none>
Request params: <none>
Query params:   <none>
Form params:    <none>
Path params:    <none>
Multiparts:     <none>
Headers:        Accept=*/*
                Content-Type=application/json; charset=UTF-8
Cookies:        <none>
Body:           <none>

I tested this using rest-assured 2.8.0 and 2.9.0. Both produce the same result.

Use the DecoderConfig to remove GZIP has default encoder. Something like:
given().
        config(RestAssured.config().decoderConfig(decoderConfig().noContentDecoders())).
when().
        get("...").
...

By default REST Assured will add GZIP and INFLATE.

@lukemayes Btw please use the mailing list for asking questios


Disable shorthand markup parsing inside CODE and PRE

Bikeshed is choking on things like A|B|C or [D] inside CODE and PRE because it thinks this is some kind of markup. Please make it treat everything other than actual tags as literals inside CODE and PRE. :(
(I'm pretty sure most specs are not expecting Bikeshed to eat random bits of punctuation in their code blocks and that this is causing unnoticed breakage.)

Temporarily worked around in it css-pseudo-4 by replacing A|B|C with A\|B\|C. I don't think this is documented anywhere, but it does seem to work.


Intellisense doesn't update on tsconfig.json setting changing

I have installing<EMAIL_ADDRESS>by npm in my project.
After I change tsconfig.json setting like adding or removing "dom" in compilerOptions.lib, I need to restart VS Code for updating the Intellisense system.
Is there any hot key or method to refresh the Intellisense instantly after I set tsconfig.json to avoid restart VS Code application?
Thanks.

VSCode Version: 1.5.3
OS Version: Windows 7 64bits SP1

Hey @stan0227 thanks for opening this issue. This question might be better asked in Stack Overflow tag:vscode. That being said there might be a feature request here.
One thing you could do is attach key bindings to one of the following three commands.

Reload Window is essentially restarting VS Code, so you should try one of the other two. See here for how to setup keybindings.
Let me know if this will work for you. If it doesn't, let's talk through the ask and see if there is something we can do here to improve your experience.

Hi @waderyan ,
Thanks for your reply. The reply resolves my question. Thanks.


Improve packer build for Vagrant

I have found the packer build hard to work with. I tried to spin up a multi node cluster with one server and several agents. This was not possible so I have tried to improve.

The k3OS config is not longer fetched from another repository. This makes commits consistent int itself and removed the risk of builds failing because the other repository has moved on.
Updated to v0.2.2-rc2
Removed the runtime files generated during the build. So when a new vagrant box gets started, k3s gets initialised from scratch.
Added a usage example with some explanations.

What I was not able to do:

Install the Virtualbox Guest Additions which prevents to configure a lot of stuff like file sync and networking.

While I was not able to achieve my initial goal, I find the changes I have made worth sharing.

Hi @corvus-ch,
Thank you for this contribution. Can you update it to include the newly-released v0.3.0?

Sure thing, I have update to v0.3.0. I have also improved it so that the version (and the checksum) can no be set as Packer variables.


Do you have megaface dataset?

hi, foamliu,
I cannot find megaface, could you share this dataset?
thank you.

You can download here.
http://megaface.cs.washington.edu/dataset/download.html

Thanks @kimnamu


Named urls added

Coverage decreased (-0.3%) to 74.267% when pulling 1571a2b759eb8688fa737c32c1c4bf1e26577c61 on AnjaneyuluBatta505:NamedUrls into c6da9f13d5135e33821defd6fb2569a21403a82f on MicroPyramid:master.

Coverage increased (+0.3%) to 76.16% when pulling 4e88cac99f534d8a6d17691ccf40498263d7043a on AnjaneyuluBatta505:NamedUrls into e16e0e6483296e78610f3f2e8494d9332514ee0d on MicroPyramid:master.


Using GLPK_MI solver with huber loss in objective raises SolverError in 1.1.13, but not in 1.1.12

Describe the bug
Using GLPK_MI solver with huber loss in objective raises SolverError in 1.1.13, but not in 1.1.12
To Reproduce
import cvxpy as cp
import numpy as np

n = 3
m = 5

D = np.random.random((n, m)) - .5

S = cp.Variable((n, m), boolean=True)

huber_loss = cp.sum(cp.huber(cp.multiply(D, S) @ np.ones(m)))

# Constraints
constraints = [
    S @ np.ones(m) == 1,
    S >= 0,
]

prob = cp.Problem(objective=cp.Minimize(huber_loss), constraints=constraints)
prob.solve()

# On cvxpy==1.1.12: works fine
# On cvxpy==1.1.13:
#  SolverError: Either candidate conic solvers (['GLPK_MI']) do not support the cones output by the problem (SOC, NonNeg, Zero), or there are not enough constraints in the problem.

Version

OS: macOS 11.4
CVXPY Version: 1.1.12 and 1.1.13

It was never using GLPK_MI in 1.1.12. It was using ECOS_BB, which we removed as a default solver because it has correctness issues. You can still call it via prob.solve(solver=cp.ECOS_BB).

@SteveDiamond Thanks for responding. With 1.1.12 I still get results using GLPK_MI. For example (from the MWE above):
>>> prob.solve(solver=cp.GLPK_MI, verbose=True)

shows
===============================================================================
                                     CVXPY
                                    v1.1.12
===============================================================================
(CVXPY) Jun 09 01:25:59 PM: Your problem has 15 variables, 2 constraints, and 0 parameters.
(CVXPY) Jun 09 01:25:59 PM: It is compliant with the following grammars: DCP, DQCP
(CVXPY) Jun 09 01:25:59 PM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Jun 09 01:25:59 PM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
-------------------------------------------------------------------------------
                                  Compilation
-------------------------------------------------------------------------------
(CVXPY) Jun 09 01:25:59 PM: Using cached ASA map, for faster compilation (bypassing reduction chain).
(CVXPY) Jun 09 01:25:59 PM: Finished problem compilation (took 2.823e-03 seconds).
-------------------------------------------------------------------------------
                                Numerical solver
-------------------------------------------------------------------------------
(CVXPY) Jun 09 01:25:59 PM: Invoking solver GLPK_MI  to obtain a solution.
      0: obj =  -3.499775548e+00 inf =   2.207e+01 (6)
     10: obj =   3.000000000e+00 inf =   0.000e+00 (0)
Long-step dual simplex will be used
+    10: mip =     not found yet >=              -inf        (1; 0)
+    14: >>>>>   3.000000000e+00 >=   3.000000000e+00   0.0% (5; 0)
+    14: mip =   3.000000000e+00 >=     tree is empty   0.0% (0; 9)
-------------------------------------------------------------------------------
                                    Summary
-------------------------------------------------------------------------------
(CVXPY) Jun 09 01:25:59 PM: Problem status: optimal
(CVXPY) Jun 09 01:25:59 PM: Optimal value: 2.626e-01
(CVXPY) Jun 09 01:25:59 PM: Compilation took 2.823e-03 seconds
(CVXPY) Jun 09 01:25:59 PM: Solver (including time spent in interface) took 4.921e-04 seconds

I can confirm that it's possible to invoke GLPK_MI on this problem in cvxpy 1.1.12. Since 1.1.12 is out of date this isn't really actionable. Although it would be good to know why this was able to happen in the first place.
For completeness, here's the code I ran on my laptop, with cvxpy 1.1.12. (Any further investigation into this issue should probably fix the random seed used to construct the problem.)
(cvx1415) riley@borneophant:~/Desktop$ python
Python 3.8.5 (default, Sep  4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cvxpy as cp
>>> import numpy as np
>>>
>>> n = 3
>>> m = 5
>>>
>>> D = np.random.random((n, m)) - .5
>>>
>>> S = cp.Variable((n, m), boolean=True)
>>>
>>> huber_loss = cp.sum(cp.huber(cp.multiply(D, S) @ np.ones(m)))
>>>
>>> # Constraints
>>> constraints = [
...     S @ np.ones(m) == 1,
...     S >= 0,
... ]
>>>
>>> prob = cp.Problem(objective=cp.Minimize(huber_loss), constraints=constraints)

Solve with MOSEK
>>> prob.solve(verbose=True)
===============================================================================
                                     CVXPY
                                    v1.1.12
===============================================================================
(CVXPY) Jun 09 06:28:19 PM: Your problem has 15 variables, 2 constraints, and 0 parameters.
(CVXPY) Jun 09 06:28:19 PM: It is compliant with the following grammars: DCP, DQCP
(CVXPY) Jun 09 06:28:19 PM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Jun 09 06:28:19 PM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
-------------------------------------------------------------------------------
                                  Compilation
-------------------------------------------------------------------------------
(CVXPY) Jun 09 06:28:19 PM: Using cached ASA map, for faster compilation (bypassing reduction chain).
(CVXPY) Jun 09 06:28:19 PM: Finished problem compilation (took 5.076e-03 seconds).
-------------------------------------------------------------------------------
                                Numerical solver
-------------------------------------------------------------------------------
(CVXPY) Jun 09 06:28:19 PM: Invoking solver MOSEK  to obtain a solution.

Problem
  Name                   :
  Objective sense        : min
  Type                   : CONIC (conic optimization problem)
  Constraints            : 36
  Cones                  : 3
  Scalar variables       : 36
  Matrix variables       : 0
  Integer variables      : 15

Optimizer started.
Mixed integer optimizer started.
Threads used: 4
Presolve started.
Presolve terminated. Time = 0.00
Presolved problem: 30 variables, 15 constraints, 54 non-zeros
Presolved problem: 0 general integer, 15 binary, 15 continuous
Clique table size: 3
BRANCHES RELAXS   ACT_NDS  DEPTH    BEST_INT_OBJ         BEST_RELAX_OBJ       REL_GAP(%)  TIME
0        1        1        0        NA                   -1.0888880908e-09    NA          0.0
0        1        1        0        5.2088723300e-01     -1.0888880908e-09    100.00      0.0
0        1        1        0        5.0754009889e-01     -1.0888880908e-09    100.00      0.0
Cut generation started.
0        1        1        0        5.0754009889e-01     -1.0888880908e-09    100.00      0.0
Cut generation terminated. Time = 0.00
9        13       6        2        5.0754009889e-01     6.0726470507e-03     98.80       0.0
12       16       7        3        6.0109691382e-02     6.0726482059e-03     89.90       0.0
20       21       5        4        2.0819418723e-02     6.0726484946e-03     70.83       0.0
An optimal solution satisfying the relative gap tolerance of 1.00e-02(%) has been located.
The relative gap is 0.00e+00(%).
An optimal solution satisfying the absolute gap tolerance of 0.00e+00 has been located.
The absolute gap is 0.00e+00.

Objective of best integer solution : 2.081941872331e-02
Best objective bound               : 2.081941872331e-02
Construct solution objective       : Not employed
User objective cut value           : Not employed
Number of cuts generated           : 0
Number of branches                 : 31
Number of relaxations solved       : 29
Number of interior point iterations: 219
Number of simplex iterations       : 0
Time spend presolving the root     : 0.00
Time spend optimizing the root     : 0.00
Mixed integer optimizer terminated. Time: 0.04

Optimizer terminated. Time: 0.04

Integer solution solution summary
  Problem status  : PRIMAL_FEASIBLE
  Solution status : INTEGER_OPTIMAL
  Primal.  obj: 2.0819418723e-02    nrm: 1e+00    Viol.  con: 5e-09    var: 0e+00    cones: 0e+00    itg: 2e-06
-------------------------------------------------------------------------------
                                    Summary
-------------------------------------------------------------------------------
(CVXPY) Jun 09 06:28:19 PM: Problem status: optimal
(CVXPY) Jun 09 06:28:19 PM: Optimal value: 2.082e-02
(CVXPY) Jun 09 06:28:19 PM: Compilation took 5.076e-03 seconds
(CVXPY) Jun 09 06:28:19 PM: Solver (including time spent in interface) took 5.547e-02 seconds
0.020819417866180766

Solve with GLPK_MI.
>>> prob.solve(solver='GLPK_MI', verbose=True)
===============================================================================
                                     CVXPY
                                    v1.1.12
===============================================================================
(CVXPY) Jun 09 06:28:53 PM: Your problem has 15 variables, 2 constraints, and 0 parameters.
(CVXPY) Jun 09 06:28:53 PM: It is compliant with the following grammars: DCP, DQCP
(CVXPY) Jun 09 06:28:53 PM: (If you need to solve this problem multiple times, but with different data, consider using parameters.)
(CVXPY) Jun 09 06:28:53 PM: CVXPY will first compile your problem; then, it will invoke a numerical solver to obtain a solution.
-------------------------------------------------------------------------------
                                  Compilation
-------------------------------------------------------------------------------
(CVXPY) Jun 09 06:28:53 PM: Compiling problem (target solver=GLPK_MI).

-------------------------------------------------------------------------------
                                Numerical solver
-------------------------------------------------------------------------------
(CVXPY) Jun 09 06:28:53 PM: Invoking solver GLPK_MI  to obtain a solution.
      0: obj =  -1.170347971e+00 inf =   1.591e+01 (6)
     11: obj =   3.000000000e+00 inf =   0.000e+00 (0)
+    11: mip =     not found yet >=              -inf        (1; 0)
+    11: >>>>>   3.000000000e+00 >=   3.000000000e+00   0.0% (1; 0)
+    11: mip =   3.000000000e+00 >=     tree is empty   0.0% (0; 1)
-------------------------------------------------------------------------------
                                    Summary
-------------------------------------------------------------------------------
(CVXPY) Jun 09 06:28:53 PM: Problem status: optimal
(CVXPY) Jun 09 06:28:53 PM: Optimal value: 1.060e-01
(CVXPY) Jun 09 06:28:53 PM: Compilation took 2.138e-02 seconds
(CVXPY) Jun 09 06:28:53 PM: Solver (including time spent in interface) took 5.963e-04 seconds
0.10598497519960229

Ah, cool. So the SolverError in 1.1.13 is correct, and the "solve" in 1.1.12 is a bug. Thanks for confirming 👍


hot module replacement fails

look at the example 'es6-tests-webpack'

@qinyadong do you have a suggestion for a fix?

closed due to inactivity,  feel free to reopen


Remove VS 2017 as GitHub Actions compiler

Description
As discussed in #1937, due to poor C++17 support in VS 2017, we'll remove VS 2017 from the build pipeline

Well yeah, kind of hard to create binaries if the compiler can't build them 😄


[2365] Allow subjects to be set in course creation

Context
Changes proposed in this pull request
Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Add subjects to new course flow


refactor: Removing extra feature flag for dapps screen

Description
dappsExplorerEnabled is removed, now we check if dappListApiUrl is defined to show the Dapps Screen. (see: https://github.com/valora-inc/wallet/pull/1784#discussion_r789935054)
Tested
Locally in the emulator.

Hey @MuckT please let us know what need to be tested here so we can provide our feedback accordingly


Give Range a proper docstring

It was just a regular string.

Bad luck, coveralls was down for maintenance when the CI was triggered. The test suite passed.


Preprocessing and Postprocessing Hooks?

I have a metalsmith site I'd like to move over or integrate with contentlayer.
Unlike CL, Metalsmith has straightforward ways of looking at the whole collection while processing individual documents. This allows, for example, ensuring that all internal website links are to documents that already exist. MS also has a large library of useful plugins.
Is there a way to hook metalsmith into content layer reloading, so it is run first before content layer? Or more directly use metalsmith to process files within content layer itself. As a work around, I suppose, I could use metalsmith to generate a directory of json files that is then used as input to content layer. But this requires basically managing two content systems.
Alternatively, is there a way to hook into the contentlayer process with content processors that can transform individual documents while having access to all collections?

Thanks for opening this issue @swamidass. Those are some really interesting ideas and use case.
Unfortunately I don't have the capacity right now to investigate/research these use cases further myself but I'd encourage you or other community members to dig into this further and create a proposal how this could work and/or what would be necessary on Contentlayer's side to enable this use case.


feat: btc indexer poc, update types and tables

:tada: This PR is included in version 0.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


gatling: Add version 3.3.1

Adds gatling version 3.3.1
Closes #3217
Gatling DEPENDS on Java, but I added it as a "suggest" because it doesn't look like "depends" can allow the user to choose whether to use the oracle version or openjdk version.
Also, I've put it here in extras instead of main because gatling recorder is not a commandline tool and pops a window application open (unlike k6)

You are not persisting user-files and results. What are these folders for?

I missed the user-files and results folders from the zip... they are used as the entry point where to include the files with the code for the requests to execute (user-files) and as the output folder with the stats from the load test results (results). I'll fix the manifest to persist them.

Since 3.0, Gatling requires Scala 2.12. Gatling is not compatible with Scala 2.11 nor Scala 2.13.

Gatling supports 64bits OpenJDK 8 and OpenJDK 11 with HotSpot. Other JVMs such as JDK 12+, client JVMs, 32bits systems or OpenJ9 are not supported.

You are suggesting oraclejdk, which is clearly not supported with this description.

That's the requirement for the Java plugin (Maven/Gradle), not for the Gatling Bundle (which is what this manifest is intended for).
The requirement for the bundle is the following:

In order to run Gatling, you need to have a JDK installed. Gatling requires at least JDK8. Then, we recommend that you use an up-to-date version.


Change the cartography table's screen handler type field to CARTOGRAPHY

This matches it with the crafting table's screen handler type identifier and field, as the background texture identifiers and screen class names of both use the 'table' suffix.

The id of this screen handler over network is minecraft:cartography_table. Don't change it! Total nonse imo.

I'd rather do the reverse, naming all the CRAFTING to CRAFTING_TABLE tbh.

Uh no this is sheer nonsense. I am closing it. If you want to refute comment down here and I will reopen it.

@shedaniel read this
public static final ContainerType<CraftingTableContainer> CRAFTING = register("crafting", CraftingTableContainer::new);

You might probably want to look at Registry to make it consistent then.

aka PAINTING_MOTIVE

See this table. We either have to fix this one naming issue or have inconsistent mappings.

i am working on fixing that locally

Things should've been organized in #1166


Why does everything shift by one?

What happened?
If I create records, I cannot get results for today. But if I increase the value in the database by one, then the results are displayed.
For example, I created a record that will be called every month on the 15th. Today is the 15th and I want to get this record, but I get an empty collection. But if I shift it to 16, then I will get the result in 15. And this applies not only to days, but to everything.

Package Version
0.7.0
PHP Version
8.3.12
Laravel Version
11.35.00

It remains unclear why you organized the requests in this way, and did not do them through eloquent

It remains unclear why you organized the queries this way rather than making them through the Eloquent methods.

I always store all dates in UTC and then work with them, so I don't use a time zone offset. I did it for myself this way:


Trying to upload python requirements.txt file,

$ gemnasium dependency_files p --files=packages.txt
Sending files to Gemnasium: json: cannot unmarshal string into Go value of type models.DependencyFile

File has 204 line in it, some are package names like:
Django==1.9.13

Others like:
-e git+https://github.com/evonove/django-oauth-toolkit.git@707a6016a3023fe423ede53db707c55273b0f6d0#egg=django_oauth_toolkit

Removing the https lines returns the same error.
Is there a requirement that the text files be named with requirements in them?

@gravis Any ideas?

The short answer is: yes, Python requirements files should be named either requirements.txt or requires.txt. Renaming the file or using a symlink should fix the problem.
If you still have issues after renaming the file, please contact us via http://support.gemnasium.com. All we need is the project slug and the approximate time you last tried to upload the dependency files of your projects.
That said, there's a mismatch here because Gemnasium.com returns HTTP 200 (or 204) along with something that can't be unmarshalled into a map[string][]DependencyFile. In a word, Toolbelt got something it didn't expect. See dependency_files.go.


add support for gateway compression

Due to the hardcoded gateway URL, it's not possible to disable compression as of now btw

Merge conflicts aaaaaaaa


⚠ Hartman Foundation has degraded performance

In 4313129, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2659 ms

Resolved: Hartman Foundation performance has improved in 4b9a06c.

Resolved: Hartman Foundation performance has improved in 4b9a06c.


Authorised redirect URIs

Fantastic library @jeremyephron, thanks!
One difficulty - I kept getting invalid credentials errors from simple-gmail even though I had a valid json file. When creating the Google API credential you also have to specify an "Authorised redirect URI" for communicating back with the client, i.e.
http://localhost:8090/
Suggest adding this to your readme.md instructions for others.
best regards

I haven't seen that one before. I will look into it and add the appropriate steps. Thanks for the suggestion!

I added more information and a link to Google's page with the OAuth2.0 requirements for different kinds of applications.  Commit: 7cad7c12d6c1a4e606dda09635a85e7e1cd516a8


Blurry font rendering in the visualizer on Windows with zoom

Bicep version
0.3.539
VSCode about
Version: 1.56.2 (user setup)
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:13:13.157Z
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042

Describe the bug
I usually have my VSCode zoom set to ~90%. On Windows, this causes the Visualizer to display with blurry fonts. I haven't tested this on other platforms.
Normal (100%) zoom:

90% zoom:

To Reproduce

Open Visualizer
Run "View: Reset Zoom" - visalizer fonts display cleanly
Run "View: Zoom Out" - visualizer fonts are blurry

Good find! However, I cannot reproduce this on my surface pro 4. I'll try it again on my other dev machine when I'm back in the US.


Dude please switch back or provide the old version of the dumper my hack is aids now because of this we loved the old way of the dumper and now you have ruined it.

please switch back or provide the old version of the dumper

I need the client.dll offsets :(
Managed to get this ones:
constexpr ptrdiff_t dwLocalPlayerPawn = 0x17361E8;
constexpr ptrdiff_t dwEntityList = 0x18C1DB8;
constexpr ptrdiff_t dwViewAngles = 0x192F940;
constexpr ptrdiff_t dwViewMatrix = 0x19231B0;

But still looking for this values:
constexpr ptrdiff_t m_hPlayerPawn = 0x7E4;
constexpr ptrdiff_t m_bPawnIsAlive = 0x7EC;
constexpr ptrdiff_t m_iTeamNum = 0x3CB;
constexpr ptrdiff_t m_iHealth = 0x334;
constexpr ptrdiff_t m_sSanitizedPlayerName = 0x748;
constexpr ptrdiff_t m_iCompetitiveRanking = 0x768;
constexpr ptrdiff_t m_iCompetitiveWins = 0x76C;
constexpr ptrdiff_t m_vOldOrigin = 0x127C;
constexpr ptrdiff_t m_flDetectedByEnemySensorTime = 0x1440;

I agree with all of yall for a switch or upload the old one.

CS DUMPER.zip
Here is my old version but client.dll is throwing empty output anyways, probably signatures must be updated or something

I went to one of the newest forks and built the old ver

CS DUMPER.zip Here is my old version but client.dll is throwing empty output anyways, probably signatures must be updated or something
Here you can get the file when it's uploaded after analyzed if you doubt about it's origin and stuff: https://www.unknowncheats.me/forum/4039142-post2.html

Also can u upload this to your github for me to download??

CS DUMPER.zip Here is my old version but client.dll is throwing empty output anyways, probably signatures must be updated or something
Here you can get the file when it's uploaded after analyzed if you doubt about it's origin and stuff: unknowncheats.me/forum/4039142-post2.html

Also can u upload this to your github for me to download??

https://github.com/Kuhicop/CS2-DUMPER-OLD

thinks but since client.dll aint working some issues arise

also i thought this was old

@a2x  BRO PLEASE>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I agree new version is ass and broke everything


Unexpected token of {

Hi, I am receiving an error of Unexpected token of "{" on
Media.configureVideo = function (session, uploadId, caption, durationms, delay, {

U need to close right brace right there:
delay) {
     ^
     |

What version of node are you using? I had the same issue and after I upgraded to the latest LTS the problem went waya.


[TextField] focus underline renders black when {userAgent: 'all'}

Description
TextField renders a black underline (when focused) iff userAgent is set to all when calling getMuiTheme.
Images & references
Here is the problem TextField and it's styles:

Problem description
I suspect something about the way the user agent option generalizes the CSS, the coloring gets stripped out of the generated CSS.
Link to minimally-working code that reproduces the issue
Here's some pseudo code:

// in theme creation
getMuiTheme({...}, {userAgent: 'all'});

// later, instantiating TextField
<TextField />

Versions

Material-UI: 0.16.6
React: 15.4.2
Browser: Chrome OS X (latest)

Here are the styles generated by prepareStyles(focusedUnderline) in TextFieldUnderline.js:
When {userAgent: 'all'}:

When no userAgent set:

Here are the styles (on Chrome) on the <hr> when {userAgent: 'all'}:

And when userAgent is not set:

For additional context:
My first parameter passed to getMuiTheme looks like this:
{
  palette: {
    primary1Color: '#d0021b'
  }
}

and this issue occurs both when NODE_ENV=production and when it is not.

For some reason I can't reproduce it with the docs but can with webpackbin.
I have no idea what's going on here.

@oliviertassinari Not sure if it's any help, but I opened your webpackbin in Firefox and Safari on OS X and the issue wasn't present.

I just encountered the same issue in Chrome and couldn't find the root cause. I solved the problem by not setting userAgent on the client side. I've accidentally had that default to all, but I guess that's an invalid setting anyway, since it shouldn't be set on the client side.

it shouldn't be set on the client side

@amannn Having userAgent: all on the client side should be working. However, it's significantly increasing rendering time. I would avoid using it.

We have been porting the component on the next branch. We reimplemented it from the ground-up. While we haven't tested it, I think that the issue is most likely fixed on that branch. Hence, I'm closing it.


Update README to use "AccessKey" instead of "Key"

A small mistake in the docs I think?

Yes please, I just ran into this as well. Caused me a brief moment of :crying_cat_face:

:+1: Thanks!


Refreshing a folder with PDFs crashes the app

-->
Explanation of the bug
If you have a folder in Documents only with PDFs which will be opened with Microsoft Edge PDF Reader and start refreshing the folder too many times very fast, Files will crash..
To reproduce

Go to 'Documents'.

Click on 'Refresh' too many times in a row.
The app crashes.

Expected behavior
Not to crash.
Logfile
debug.txt
System Information
-OS version: Windows 10 Pro 20H2 19042.870

App version: <IP_ADDRESS>

Additional comment
This problem happens after restarting the app. With other folders it didn't happens.

Is the folder in Details layout mode or Grid/Tiles mode?

I had it on Gride/tiles mode. The app is pretty but some crashing problems and issues with the folders made me uninstall it.

Thanks, we are working to release a big update to Files which have this and other issues fixed (and it's quite faster).
If you wish to give the app another spin you can join the beta testing program:

Join the insider flight group
You can fill out this form to get access to the preview builds in the Microsoft Store https://forms.office.com/r/UsaBmzC99n. It can take a couple of days until you're added to the flight group, but once added, you will start receiving updates to the regular Files app through the Microsoft Store.

Another problem its that when you want to draw a file to upload it, it doesnt work


Elliptic keys not usable

We cannot create node with elliptic keys (ES256); it requires RSA keys (but these are heavier for some small devices such as Simatic IOT20xx).
As a workaround, I can patch google-iot-core.js as follows to force usage of ES256 algorithm:
--- google-iot-core.js.orig     2018-01-23 05:24:54.000000000 +0000
+++ google-iot-core.js  2020-02-07 19:13:08.867902125 +0000
@@ -50,7 +50,7 @@
             'exp': Math.round(Date.now() / 1000) + 60 * 60,  // 60 minutes
             'aud': projectId
         };
-        return jwt.sign(token, privateKey, { algorithm: 'RS256' });
+        return jwt.sign(token, privateKey, { algorithm: 'ES256' });
     }

     function MQTTBrokerNode(n) {

However I guess it should be implemented in GUI while editing this node.

This is fixed in node-red-contrib-google-iot-core-custom-auth fork