Warnings about NUMA while starting up the container

Hi,
I'm running the mongo image on a NUMA-enabled machine, and I get following warning from logs when MongoDB is starting:

WARNING: You are running on a NUMA machine.
We suggest launching mongod like this to avoid performance problems:
numactl --interleave=all mongod [other options]

How can I resolve this? Any help is appreciated, thanks.

Seccomp is preventing numactl from working correctly, because get_mempolicy and set_mempolicy syscall is restricted in docker containers. Possible workarounds include:

Run without seccomp: docker run --security-opt seccomp=unconfined mongo
Run with a custom seccomp profile: docker run  --security-opt seccomp=./seccomp.json mongo

Hope it helps other people who ran into the same problem. Maybe we can add it into docs? For reference: https://docs.docker.com/engine/security/seccomp/

Indeed, adding this to the documentation would be extremely appreciated.
Our current test already includes something like this (creating a custom seccomp profile on the fly): https://github.com/docker-library/official-images/blob/98d3a4d3cecc8b53e0ea547337eeff53ff58710e/test/tests/mongo-basics/run.sh#L6-L53

To improve on this, adding --cap-add SYS_NICE to your container arguments is sufficient to allow NUMA to do the right thing.


Cannot install some extensions in WSL

I export an Windows Subsystem Linux (WSL) of Ubuntu18.04 on another PC (OS Version: 18363.720 with wsl 1) as a "tar" file
Then I import the "tar" file into this PC (OS Version: 19041.208 with wsl 2)
I delete the origin .vscode-server  under my \home, then run the command code to reinstall the server of vscode
Open the VS Code in Windows, then try to install some extensions into WSL: Ubuntu-18.04, but only 4 of them successfully installed in the WSL, while the other 3 were failed, which named markdownlint, Python, and Visual Studio IntelliCode.

Update:
After a few hours, I tried again. And ALL extensions installed into WSL successfully.


Issue in creating a dataframe in spark using a tsv file, with some missing values

I need to create a dataframe using tsv file but in my raw file some value are missing. So, its failing to create a dataframe and shows an error on spark console as arrayindexoutofbound
Pasting the script , it is written in scala
import org.apache.spark.sql.types._
val outputSchema =StructType(Array(StructField("EmpID", IntegerType, nullable=false),StructField("EmpName", StringType, nullable=false),StructField("Salary", IntegerType, nullable=false),StructField("Designation", StringType, nullable=false)))
val input = sc.textFile("/path/employee.tsv")
import org.apache.spark.sql.Row;
val rowRDD = input.map(_.split("\t")).map(p => Row(p(0).trim.toInt, p(1), p(2).trim.toInt, p(3)))
rowRDD.collect().foreach(println)
val df = sqlContext.createDataFrame(rowRDD, outputSchema).options(nullValue='null')
df.show()
when trying to run rowRDD.collect().foreach(println) command getting error in spark console as
17/01/24 04:59:14 WARN TaskSetManager: Lost task 1.0 in stage 10.0: java.lang.ArrayIndexOutOfBoundsException: 3
My input file(employee.tsv)
1201	Gopal	45000	Manager
1202	Manisha	45000	Accountant
1203	Masthan	40000	Clerk
1204	Anita	40000
Please help me out to find the solutions
Thanks in Advance

If malformed lines are safe to be ignored you can use DROP_MALFORMED mode.

Thanks falaki ....:)
I don't want to miss any record.
Actually if my last column value are missing then only it gives an error. otherwise it works.
I have tested with my above scala code in spark from my side by removing value from salary column  and populating the designation column value, it works.
This is only the change, I have made to the input file.
My input file(employee.tsv)
1201	Gopal		Manager
1202	Manisha		Accountant
1203	Masthan		Clerk
1204	Anita	Professor
I think..... spark RDD is unable to read the complete row, spark read till it finds the last value in a row and leave all the none value after that.
Please help me to find the solution.
Thanks in Advance!!!!!!!!!!!!

BTW: your sample code is not using spark-csv. Please see the documentation of the package on how to use it. Also if you are using Spark 2.x spark-csv has been inlined.

Thanks Falaki...... :)
But i can't use the packages.
Can you suggest me some other options that would help me to get the solution.
Thanks in Advance!!!!!!!!!!!!


Chore/readme

What does this do?
Replaces mentions to obytes for Rootstrap, corresponding attribution is done at the readme, but we'll make this our own and the docs need to reflect that.
Why did you do this?
The readme still had a lot of information from the obytes original one, there are some sections that at this stage I don't think reflect Rootstrap's best interest like contribution to the template, there's still a long way to go before outsider contributors take interest on this template.
Who/what does this impact?
Documentation
How did you test this?
N / A

@fernandatoledo should the PR be pointed to chore/brand branch?


Doc touch up

After #1827, this commit adds the list of available pre-trained on the right side bar.
I liked the section presented in the before, but I think listing is more important and I do not know a way to have both.
Before

After

@nateanl  I found a better alternative.


Architecture

Requirement

Want to make Tech blog.
Overall design should feel like brunch or medium
Document should exist only in markdown format.
Doc editing should be available in real time. (preview needed)
Post CRUD, Comment CRUD should be available.

Tech Stack

Front: Vue.js 2, Nuxst.js, Vue-bootstrap
Backend: Django 3 with drf (django rest framework)
Cloud: AWS lightsail

Mock up

TBD

Link
Front

https://nuxtjs.org/docs/
https://vuejs.org/v2/guide/
https://bootstrap-vue.org/

Backend

https://docs.djangoproject.com/en/4.0/
https://www.django-rest-framework.org/

ToDo

[ ] Main Page
[ ] Post Read
[ ] Post Create
[ ] Login, Logout Feature

Additional ToDo

[ ] Comment feature
[ ] search text


Complete the header section

complete the header section by doing the following

add the company logo on the top left corner
add a search button and other buttons as designed in the mock-up phase

Use the "homepage" branch

Done and Dusted!


Nick: Watch disneyplusbegincodes.com

Nick requests the watch of the watch_keyword disneyplusbegincodes\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

disneyplusbegincodes\.com has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


[Bug] Clicking in wrong places / white space opens up query editor.

Description

Query editor needs to open up when user clicks on Create/Select/Update/Delete options. However, it opens up by clicking elsewhere as well, which seems unintended. Please check out the image attached. Clicking anywhere inside the red box opens up query editor.

Steps to reproduce the behaviour:

Create a datasource.
Create a new query for datasource.
Click in the area show by red box in the attached image.

Important Details

Version: Cloud
OS: Linux
Browser: Chrome

@sumitsum This design is to allow people to create a blank query by clicking in the white space. The other links are to allow users to use a template. Perhaps we should include 'Blank' as one of the options in the list below? It might make it more obvious.

@sumitsum This design is to allow people to create a blank query by clicking in the white space. The other links are to allow users to use a template. Perhaps we should include 'Blank' as one of the options in the list below? It might make it more obvious.

@areyabhishek yes it would be good to create another option, right now users may perceive it as a programming error.

@areyabhishek yes it would be good to create another option, right now users may perceive it as a programming error.

While this behavior is intended, I do remember a few people being confused by "how do I create a blank query?"

While this behavior is intended, I do remember a few people being confused by "how do I create a blank query?"

@Nikhil-Nandagopal Just adding one more point here to think over - all the query options - query / select / update / delete, they don't impose any conditions i.e. they are as good as a blank query - so is there any use providing different query options ?

@Nikhil-Nandagopal Just adding one more point here to think over - all the query options - query / select / update / delete, they don't impose any conditions i.e. they are as good as a blank query - so is there any use providing different query options ?

@sumitsum the use of the options is not for conditions but to give users a quick starting point for the syntax. This is especially useful for mongo where the query language is the non standard bson format.

@sumitsum the use of the options is not for conditions but to give users a quick starting point for the syntax. This is especially useful for mongo where the query language is the non standard bson format.

Should be fixed with #3628


Improve kubeadm documentation

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.9 Features: set Milestone to 1.9 and Base Branch to release-1.9
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: Please check the “Allow edits from maintainers” box (see image below) to
allow reviewers to fix problems on your patch and speed up the review process.
Please delete this note before submitting the pull request.
NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box. This is a temporary workaround to address a known issue with GitHub.

Edits, updates and improvements to the existing kubeadm docs.
cc @kubernetes/sig-cluster-lifecycle-pr-reviews

This change is

/lgtm

@zacharysarah Changes addressed.

LGTM :shipit:


New Pill style component

Is your feature request related to a problem? Please describe.
Various use cases for a 'pill' component to house content have become necessary.
Describe the solution you'd like
Enable a new wrapper styled with rounded edges and able to house content, with CSS styled to DS colours
Describe alternatives you've considered
Filter component exists but this could change style / pattern - see image below as one use case
Additional context

https://www.figma.com/file/LlGaslsnzKuEl0HuACXk5c/UKHO-Figma-Design-System?type=design&node-id=3865%3A5788&mode=design&t=2CTd4zbnNPVDigId-1

@UXdave-alexander
@KatiePUX
The Figma link is not working for me, sadly.

Placeholder numbered active

Header block

Katie has contacted Dan about use cases so that we can write/understand all the stories for this component

Conversation with Dan re: use cases for the pills. Dan explained that 'top level' uses have been in filtering, tags and status messages. Next step, write stories for these uses.


Exporting Marp Document fails with error code "Failure to export: [TypeError] Cannot read properties of undefined (reading 'encrypted')"

Version of Marp Tool
MARP for VSCode v2.4.1
Operating System
Windows
Environment

OS version: Windows 11 Insider Preview 25300.1000
Node.js version v20.0.0-nightly202302151b87cb6f39
VS Code version 1.76.0-insider
MARP for VSCode version: 2.4.1

How to reproduce

Create Marp file with css styling
Use the "Export Slide Deck" Feature in Marp for VSCode
Choose the export option (the choice here does not matter, pdf doesn't work, html doesn't work, etc.)
Get Error Message "Failure to export: [TypeError] Cannot read properties of undefined (reading 'encrypted')"

Notes:

Setting a custom path to my current version of Chrome doesn't change the behaviour
The browser doesn't open, I have set the path to Edge's.exe and Opera's.exe as well as Chrome Canary's.exe to test whether this changes things and it does not
The document also does not export without the browser opening, I have confirmed by checking the export location for any new files

Expected behavior

The Slide Deck should export after showing Export Options
The browser should open during this process

Actual behavior

The Slide Deck asks whether to export as PDF or PNG, HTML, etc.
No matter which option is chosen, it always fails with the error message "Failure to export: [TypeError] Cannot read properties of undefined (reading 'encrypted')"
It does not open any browser.
Copy/Pasting the exact same code into the Web Version of MARP and printing as PDF works as expected and is my current workaround.

Additional information
Here is the code stripped of all confidential information, I have also tried exporting this exact version and it does not work in Marp for VSC, but it does work with my workaround as detailed in "Actual Behavior"
`---
marp: true
theme: uncover

Department Notes / Handout
Department
by Author

Feedback:
Exampletext Lorem Ipsum Test
`

🚚 Transferred issue from Marpit framework to Marp for VS Code. A reported problem is the issue of VS Code extension, not Marpit framework.

Duplicated: #402 and marp-team/marp#391. Please report and truck the problem at #402.

Since this was closed and it seems to fit better into linked issue #402, I have added my own Stack Trace to the issue and added a permanent fix.
However, I also want to add this here if someone finds this issue instead and wants a quick resolution:
In Issue #402 it was found that having either Azurite  or Swagger Viewer installed causes the same issue I had.
I had neither of these two installed but I had vscode-spotify installed and that caused the issue.
Uninstalling the extension fixed my problem so it might do the same for anyone else with the same problem.
I will close this issue again now since it's been resolved.


Retry LWT statements when dealing with large batches

Is there a build #?

https://ocd.appscale.com:8080/job/Daily Build/2745/
Migration: https://ocd.appscale.com:8080/job/Migration/1016/


Unable to receive credential with a photo attribute

The app hangs at the credential offer with a photo at 38kb
Image Sizes:

Current production largest image size: 22k
Target/Supported largest image size: 50Kb (must)
What is the maximum/recommened supported attribute value size?

Resolved by: https://github.com/bcgov/bc-wallet-mobile/pull/1356

Where is this fix testable?

Tested in build 1179 with the help of Wade issuing a credential with a large image. Closing.


Bluetooth Isochronous Channels Support

Describe the solution you'd like
Support Bluetooth LE 5.2 Isochronous Channel in zephyr controller subsystem
Additional context
Isochronous Channel is a new addition in Bluetooth 5.2 specification it's the fondation for LE Audio
Is there any support planned ?

@DeltaEvo yes, this is an ongoing effort that is currently mostly taking place in a private repository because it's implementing profiles that are not publicly released yet. We will start backporting to master soon, the parts that can be made public.
Access to the private repo is reserved for Bluetooth SIG Associate members that are also members of the Zephyr project, since there are legal limitations to sharing of the code.

Will the backporting effort include Isochronous Channels ?

Will the backporting effort include Isochronous Channels ?

Well, yes, this is mainly what is being developed in the private tree. The rest of functionality is pushed directly to master in this repository.

Any news on Isochronous Channels support in the Controller? There is (LE Audio) Host code in the Zephyr 2.4 release but it is not supported by the controller.

this is an ongoing effort that is currently mostly taking place in a private repository because it's implementing profiles that are not publicly released yet.

Is it possible to decuple the controller from the profiles? Isochronous Channels in the controller are important to me but I'm not a Bluetooth member.

@carlescufi any news yet?

@carlescufi any news yet?

Yes, the current open source controller (and Host) already has basic support for both BIS and CIS. Please try it out and report issues as you find them.

@carlescufi any news yet?

Yes, the current open source controller (and Host) already has basic support for both BIS and CIS. Please try it out and report issues as you find them.

Thanks! I will try it out.

I have tried the iso_receive and iso_broadcast sample on both the nrf52dk_nrf52832 and the nrf53dk_nrf5340. I'm unable to start scanning on both platforms, I get:
*** Booting Zephyr OS build zephyr-v2.6.0-1623-g997bbcb000c3  ***
Starting Synchronized Receiver Demo
...
Start scanning... failed (err -5)
...
[00:00:00.514,495] <wrn> bt_hci_core: opcode 0x2041 status 0x01

Does the example require some configuration which I'm unaware of?


Add syntax to support object protected inheritance

This issue was originally filed by<EMAIL_ADDRESS>
From discussion thread:  https://groups.google.com/a/dartlang.org/group/misc/browse_thread/thread/6fd72014c119934d/6bed87932b58b762?lnk=raot#6bed87932b58b762
Some variant of protected inheritance would be useful, and a protected by object sort of inheritance would likely be better than protected by class, because class based protection leads to any subclass being able to mess with any other subclass in unexpected ways.  Because object protected methods could be statically bound, there is no need to require a prefix to identify them, so the concept could be orthogonal to library privacy.  Here is a proposed syntax:
class c {
  // This is publicly visible
  var publicFunc() {}
  // This can be accessed by any code in this library
  var _privateFunc() {}
  // This can only be invoked on this
  var this.protectedFunc() {}
  // This can only be invoked on this by code in this library
  var this._privateProtectedFunc() {}
}

We've added @protected to the meta package.  Hints implemented in analyzer: https://github.com/dart-lang/sdk/issues/25841.

the @protected new value is only emiting a warning
what it actually should be an error
I don't won't the project to be built if the warning appears

@YasserOJ you can configure the level yourself in analyzer_options.yaml

thank you for the response @zoechi
is this feature provided in any of the examples in the flutter repository ?

thank you for the response @zoechi
is this feature provided in any of the examples in the flutter repository ?
I didn't find key the that I should add to make this hint an error (example: "missing_required_param: error")
it not even provided in : https://dart.dev/tools/diagnostic-messages#glossary

thank you for the response @zoechi is this feature provided in any of the examples in the flutter repository ? I didn't find key the that I should add to make this hint an error (example: "missing_required_param: error") it not even provided in : https://dart.dev/tools/diagnostic-messages#glossary

A bit late, but the rule is called invalid_use_of_protected_member.


bumping controller tools to see if this fixes ci

I noticed that we were segmentation faulting on controller-tools. We were using quite an old version so I wanted to see if this will fix the CI.
I don't think this is a dind issue as I originally thought.

/approve
Thanks @kannon92 !

/lgtm

/cherry-pick release-0.3

@kannon92, hi, I'm facing the same issue in my repo. Just a general question, how did you generate the zz_generated.deepcopy.go after bumping up the controller-tools version? I ran make generate but nothing change in my local to commit, but my ci workflow indicates I need to update the zz_generated.deepcopy.go after I submit my PR.

@kannon92, hi, I'm facing the same issue in my repo. Just a general question, how did you generate the zz_generated.deepcopy.go after bumping up the controller-tools version? I ran make generate but nothing change in my local to commit, but my ci workflow indicates I need to update the zz_generated.deepcopy.go after I submit my PR.

I think I did both make generate manifests.


feat: trigerring release

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

v4.1.0
GitHub release

Your semantic-release bot :package::rocket:


CosmosClient does not work properly with emulator unless we provide ConnecMode options

This constructor will construct the object but the queries will throw exception
var client = new CosmosClient(connectionString);

Exception: Method not found: 'Void Microsoft.Azure.Documents.StoreClientFactory..ctor(Microsoft.Azure.Documents.Client.Protocol, Int32, Int32, Microsoft.Azure.Documents.UserAgentContainer, Microsoft.Azure.Documents.ICommunicationEventSource, System.String, Int32, Int32, Int32, Int32, Int32, Int32, Microsoft.Azure.Documents.PortReuseMode, Int32, Int32, Int32, Int32, Boolean, Microsoft.Azure.Documents.RetryWithConfiguration, CallerId, Boolean, Microsoft.Azure.Documents.IAddressResolver, System.TimeSpan, Int32)'.
While this constructor works file
var options = new CosmosClientOptions
                {
                    ConnectionMode = ConnectionMode.Gateway
                };
var client = new CosmosClient(connectionString, options);

Appeared in  Microsoft.Azure.Cosmos 3.19.0 or maybe Emulator  <IP_ADDRESS>

The issue is the SDK has 2 dlls and it seems that the one that contains most of the direct logic did not get updated. If you clean your solution and do a build it should work.


Can't directly read/write to channel

Hi! I'm getting started in a project where I'll need to run a SSH session to a remote device, run (mutliple) commands and get the output. However, with the code I've tried, I'm not capable of bidirectional interaction with the channel. Using exec works, but the context of the channel is not kept, which is a problem.
I'm currently testing with the following code:
use ssh2::Session;
use std::{net::TcpStream, io::{Write, Read}, str::from_utf8};

fn main() {
    let tcp = TcpStream::connect("redacted").unwrap();
    let mut ssh = Session::new().unwrap();
    let mut buf: Vec<u8> = Vec::new();

    ssh.set_tcp_stream(tcp);
    ssh.handshake().expect("can do the handshake");

    ssh.userauth_password("redacted", "redacted").unwrap();

    assert!(ssh.authenticated());
    println!("Authenticated!");

    let mut channel = ssh.channel_session().unwrap();
    println!("Opened channel");

    channel.request_pty("ansi", None, Some((500, 500, 500, 500))).unwrap();
    println!("Requested PTY");

    channel.shell().unwrap();
    println!("Requested SHELL");

    println!("Session blocking: {}", ssh.is_blocking());
    println!("Blocking directions: {:?}", ssh.block_directions());

    channel.write_all(b"cd /").unwrap();
    channel.write_all(b"ls -la").unwrap();

    println!("Starting to read...");
    channel.read_to_end(&mut buf).unwrap();
    print!("{}", from_utf8(&buf).unwrap());
    println!("Finished reading!");

    println!("Done, closing connections...");
    ssh.disconnect(None, "Closing connection", None).unwrap();
}

I can run it, but it hangs, the output:
❯ cargo run
   Compiling switchy v0.1.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.64s
     Running `target\debug\switchy.exe`
Authenticated!
Opened channel
Requested PTY
Requested SHELL
Session blocking: true
Blocking directions: None
Starting to read...

I'm obligated to enter CTRL+C to exit. I find interesting that there are no blocking directions when the channel is opened. It's probably my fault and a missing step, but any help would be greatly appreciated. I will continue to do testing, and I'll update this if I find something.
Thank you.

So I dug back into this problem, and apparently you could manually set EOF, see here.
However, I also found this and this, and it seems there are very long archaic issues with Libssh2 (maybe).
So I think the best bet would be to use a library like thrussh, which doesn't seem to have any issues. I don't know if I should close this, I might try to make EOF work at some point and document my findings here.

Thank you for looking into this on your own. Looking into things on my own, and based on your references, your code is working as expected.
If you want non-blocking or async behavior I would suggest using Session::set_blocking or using thrussh, as you already found.
I'm going to close this for now, but feel free to continue recording your findings here for others if you feel like it.


Timeouts for backend connections, handshakes.

r: @alokmenghrajani @mcpherrinm @stouset
Avoid blocking whenever possible:

we time out when dialing backend connections (both in client and server mode)
we time out if a TLS handshake is taking too long (forcibly kill via deadline)
perform handshake in background routine to not block accept loop

Got verbal LGTM


"upterm upgrade" fails with "no binary for your system"

I'm running upterm (v0.6.7) locally, and trying to run upterm upgrade results in:
Error: no binary for your system
Usage:
  upterm upgrade [flags]

Examples:
  # Upgrade to the latest version
  upterm upgrade

  # Upgrade to a specific version
  $ upterm upgrade 0.2.0

Flags:
  -h, --help   help for upgrade

FATA[0000] no binary for your system

That's an odd error (it's just a regular amd64 system), and the error message doesn't really provide enough information to be actionable.

Please refer to https://github.com/owenthereal/upterm/pull/97 for a fix. I will cut a release in a bit. You may need to redownload the upterm depending on how you install it.

https://github.com/owenthereal/upterm/releases/tag/v0.6.8


Remove multiple best tip blocks for actions, if they exist

Description:
This PR addresses an issue with fetching action data in the case where multiple blocks are returned at the best tip. It introduces a temporary fix that filters out blocks at the best tip, ensuring that we only work with a single best tip block.
Changes:
Added distanceFromMaxBlockHeight to the blockInfo object in the FetchedActions type and in the getActionsQuery.
Implemented a temporary fix that filters out multiple best tip blocks, if they exist, while fetching actions. This fix will be removed once the related issue in the Archive-Node-API repository (https://github.com/o1-labs/Archive-Node-API/issues/7) is resolved.
This change helps improve the reliability of fetching action data and ensures that the fetched data is consistent with the latest network state.

Nice! Quick and simple fix

This fix will be removed once the related issue in the Archive-Node-API repository (o1-labs/Archive-Node-API#7) is resolved

I wonder if it's worth waiting, whats the estimate on that?

Good question! To implement the best-tip selection algorithm that's used, we need a redeployment of Berkeley to happen. The Archive Node schema needed two required fields to compute the algorithm, so currently, we can't do it. Once we redeploy Berkeley and migrate the block data for the old blocks, we can implement the algorithm.


If Network manager is not used to establish MQTT connection, program crashes while establishing MQTT connection.

Hi Team,
I am using AWS FreeRTOS version 202007 and ESP32.
I am trying to connect to the AWS IOT core independent of the config header files and MQTT demo.
I do not want to use Network Manager at all in my code.
If Network manager is not used to establish MQTT connection, program crashes while establishing MQTT connection.
The program crashes in the function IotMqtt_Connect.
Please find my code snippet as follows.
int InitializeMqtt()
{
int status = EXIT_SUCCESS;
IotMqttError_t mqttInitStatus = IOT_MQTT_STATUS_PENDING;
// Custom declares.
IotNetworkServerInfo_t xServerInfo = { 0 };
IotNetworkCredentials_t xCredentials = AWS_IOT_NETWORK_CREDENTIALS_AFR_INITIALIZER;
IotNetworkInterface_t* pNetworkInterface = IOT_NETWORK_INTERFACE_AFR;

/* Set the server info. */
xServerInfo.pHostName = clientcredentialMQTT_BROKER_ENDPOINT;
xServerInfo.port = clientcredentialMQTT_BROKER_PORT;

if (xServerInfo.port == 443)
{
    xCredentials.pAlpnProtos = socketsAWS_IOT_ALPN_MQTT;
}
else
{
    xCredentials.pAlpnProtos = NULL;
}

printf(" xServerInfo.pHostName = %s \r\n", xServerInfo.pHostName);
printf(" xServerInfo.port = %d \r\n", xServerInfo.port);

/* Set the server certificate for a secured connection. Other credentials
 * are set by the initializer. */
xCredentials.pRootCa = ROOT_CERTIFICATE_PEM;;
xCredentials.rootCaSize = sizeof( ROOT_CERTIFICATE_PEM );
/* Disable SNI. */
xCredentials.disableSni = true;
/* ALPN is not needed. */
xCredentials.pAlpnProtos = NULL;

/* Strong mutual authentication to authenticate both the broker and
* the client. */
xCredentials.pClientCert = CLIENT_CERTIFICATE_PEM;
xCredentials.clientCertSize = sizeof( CLIENT_CERTIFICATE_PEM );;
xCredentials.pPrivateKey = CLIENT_PRIVATE_KEY_PEM;
xCredentials.privateKeySize = sizeof( CLIENT_PRIVATE_KEY_PEM );;

/* Set the members of the network info not set by the initializer. This
 * struct provided information on the transport layer to the MQTT connection. */
networkInfo.createNetworkConnection = true;
networkInfo.u.setup.pNetworkServerInfo = &xServerInfo;
networkInfo.u.setup.pNetworkCredentialInfo = &xCredentials;
networkInfo.pNetworkInterface = pNetworkInterface;
networkInfo.disconnectCallback.function = prvNetworkDisconnectCallback;

#if ( IOT_MQTT_ENABLE_SERIALIZER_OVERRIDES == 1 ) && defined( IOT_DEMO_MQTT_SERIALIZER )
networkInfo.pMqttSerializer = IOT_DEMO_MQTT_SERIALIZER;
#endif
/* Set the members of the connection info not set by the initializer. */
connectInfo.cleanSession = true;
connectInfo.awsIotMqttMode = true;
connectInfo.keepAliveSeconds = KEEPALIVE_SECONDS;
connectInfo.clientIdentifierLength = (uint16_t)strlen(deviceID);
connectInfo.pClientIdentifier = deviceID;

/* Initialize the MQTT library.*/
if (status == EXIT_SUCCESS)
{
    mqttInitStatus = IotMqtt_Init();

    if (mqttInitStatus != IOT_MQTT_SUCCESS)
    {
        /* Failed to initialize MQTT library.*/
        status = EXIT_FAILURE;
    }
}

return status;

}
int _establishMqttConnection(IotMqttConnection_t* pMqttConnection)
{
IotMqttError_t connectStatus = IOT_MQTT_STATUS_PENDING;
/* Establish the MQTT connection. */
    connectStatus = IotMqtt_Connect(&networkInfo,
        &connectInfo,
        otaCONN_TIMEOUT_MS,
        pMqttConnection);

    if (connectStatus != IOT_MQTT_SUCCESS)
    {
        IotLogError("MQTT CONNECT returned error %s.",
            IotMqtt_strerror(connectStatus));

        status = EXIT_FAILURE;
    }
return status;

}
Please let me know as soon as possible.
Thanks, Regards,
Kumar.

Hi Team,
Kindly help me in the above issue as soon as possible, because it is a crash issue.
Thanks, Regards,
Kumar.

From the code snippet above xCredentials and xServerInfo are declared as local variables on the function stack InitializeMqtt() and a pointer to their addresses is used in _establishMqttConnection() function  within IotMqtt_Connect(). If the _establishMqttConnection is not called from within InitializeMqtt() then these pointers are invalid as the stack space for InitializeMqtt() is already reclaimed.
Could you move the declarations of the variables to _establishMqttConnection as follows:
int _establishMqttConnection(IotMqttConnection_t* pMqttConnection)
{
IotMqttError_t connectStatus = IOT_MQTT_STATUS_PENDING;
// Custom declares.
IotNetworkServerInfo_t xServerInfo = { 0 };
IotNetworkCredentials_t xCredentials = AWS_IOT_NETWORK_CREDENTIALS_AFR_INITIALIZER;
IotNetworkInterface_t* pNetworkInterface = IOT_NETWORK_INTERFACE_AFR;

/* Set the server info. */
xServerInfo.pHostName = clientcredentialMQTT_BROKER_ENDPOINT;
xServerInfo.port = clientcredentialMQTT_BROKER_PORT;

if (xServerInfo.port == 443)
{
    xCredentials.pAlpnProtos = socketsAWS_IOT_ALPN_MQTT;
}
else
{
    xCredentials.pAlpnProtos = NULL;
}

printf(" xServerInfo.pHostName = %s \r\n", xServerInfo.pHostName);
printf(" xServerInfo.port = %d \r\n", xServerInfo.port);

/* Set the server certificate for a secured connection. Other credentials
 * are set by the initializer. */
xCredentials.pRootCa = ROOT_CERTIFICATE_PEM;;
xCredentials.rootCaSize = sizeof( ROOT_CERTIFICATE_PEM );
/* Disable SNI. */
xCredentials.disableSni = true;
/* ALPN is not needed. */
xCredentials.pAlpnProtos = NULL;

/* Strong mutual authentication to authenticate both the broker and
* the client. */
xCredentials.pClientCert = CLIENT_CERTIFICATE_PEM;
xCredentials.clientCertSize = sizeof( CLIENT_CERTIFICATE_PEM );;
xCredentials.pPrivateKey = CLIENT_PRIVATE_KEY_PEM;
xCredentials.privateKeySize = sizeof( CLIENT_PRIVATE_KEY_PEM );;

/* Set the members of the network info not set by the initializer. This
 * struct provided information on the transport layer to the MQTT connection. */
networkInfo.createNetworkConnection = true;
networkInfo.u.setup.pNetworkServerInfo = &xServerInfo;
networkInfo.u.setup.pNetworkCredentialInfo = &xCredentials;
networkInfo.pNetworkInterface = pNetworkInterface;
networkInfo.disconnectCallback.function = prvNetworkDisconnectCallback;
#if ( IOT_MQTT_ENABLE_SERIALIZER_OVERRIDES == 1 ) && defined( IOT_DEMO_MQTT_SERIALIZER )
networkInfo.pMqttSerializer = IOT_DEMO_MQTT_SERIALIZER;
#endif

/* Set the members of the connection info not set by the initializer. */
connectInfo.cleanSession = true;
connectInfo.awsIotMqttMode = true;
connectInfo.keepAliveSeconds = KEEPALIVE_SECONDS;
connectInfo.clientIdentifierLength = (uint16_t)strlen(deviceID);
connectInfo.pClientIdentifier = deviceID;

/* Establish the MQTT connection. */
    connectStatus = IotMqtt_Connect(&networkInfo,
        &connectInfo,
        otaCONN_TIMEOUT_MS,
        pMqttConnection);

    if (connectStatus != IOT_MQTT_SUCCESS)
    {
        IotLogError("MQTT CONNECT returned error %s.",
            IotMqtt_strerror(connectStatus));

        status = EXIT_FAILURE;
    }
return status;
}

Hi Ravi,
I spent one day completely on this, it still crashes, exactly at the same place in the function IotMqtt_Connect.
Kindly help me in this as soon as possible, because it is a crash issue. This is really urgent.
Please find the code as follows
static int _establishMqttConnection(IotMqttConnection_t* pMqttConnection)
{
int status = EXIT_SUCCESS;
IotMqttError_t mqttInitStatus = IOT_MQTT_STATUS_PENDING;
IotMqttError_t connectStatus = IOT_MQTT_STATUS_PENDING;
// Custom declares.
IotNetworkServerInfo_t xServerInfo = { 0 };
IotNetworkCredentials_t xCredentials = AWS_IOT_NETWORK_CREDENTIALS_AFR_INITIALIZER;
IotNetworkInterface_t* pNetworkInterface = IOT_NETWORK_INTERFACE_AFR;
IotMqttConnectInfo_t connectInfo = IOT_MQTT_CONNECT_INFO_INITIALIZER;

/* Set the server info. */
xServerInfo.pHostName = clientcredentialMQTT_BROKER_ENDPOINT;
xServerInfo.port = clientcredentialMQTT_BROKER_PORT;

if (xServerInfo.port == 443)
{
    xCredentials.pAlpnProtos = socketsAWS_IOT_ALPN_MQTT;
}
else
{
    xCredentials.pAlpnProtos = NULL;
}

printf(" xServerInfo.pHostName = %s \r\n", xServerInfo.pHostName);
printf(" xServerInfo.port = %d \r\n", xServerInfo.port);

/* Set the server certificate for a secured connection. Other credentials
 * are set by the initializer. */
xCredentials.pRootCa = ROOT_CERTIFICATE_PEM;

xCredentials.rootCaSize = sizeof( ROOT_CERTIFICATE_PEM );
/* Disable SNI. /
xCredentials.disableSni = true;
/ ALPN is not needed. */
xCredentials.pAlpnProtos = NULL;
/* Strong mutual authentication to authenticate both the broker and
* the client. */

xCredentials.pClientCert = CLIENT_CERTIFICATE_PEM;
xCredentials.clientCertSize = sizeof( CLIENT_CERTIFICATE_PEM );
xCredentials.pPrivateKey = CLIENT_PRIVATE_KEY_PEM;
xCredentials.privateKeySize = sizeof( CLIENT_PRIVATE_KEY_PEM );
/* Set the members of the network info not set by the initializer. This
* struct provided information on the transport layer to the MQTT connection. */
networkInfo.createNetworkConnection = true;
networkInfo.u.setup.pNetworkServerInfo = &xServerInfo;
networkInfo.u.setup.pNetworkCredentialInfo = &xCredentials;
networkInfo.pNetworkInterface = pNetworkInterface;
networkInfo.disconnectCallback.function = prvNetworkDisconnectCallback;
#if ( IOT_MQTT_ENABLE_SERIALIZER_OVERRIDES == 1 ) && defined( IOT_DEMO_MQTT_SERIALIZER )
networkInfo.pMqttSerializer = IOT_DEMO_MQTT_SERIALIZER;
#endif
/* Set the members of the connection info not set by the initializer. */
connectInfo.cleanSession = true;
connectInfo.awsIotMqttMode = true;
connectInfo.keepAliveSeconds = otaKEEPALIVE_SECONDS;
connectInfo.clientIdentifierLength = (uint16_t)strlen(deviceID);
connectInfo.pClientIdentifier = deviceID;

/* Initialize the MQTT library.*/
if (status == EXIT_SUCCESS)
{
    mqttInitStatus = IotMqtt_Init();

    if (mqttInitStatus != IOT_MQTT_SUCCESS)
    {
        /* Failed to initialize MQTT library.*/
        status = EXIT_FAILURE;
    }
}

/* Establish the MQTT connection. */
if (status == EXIT_SUCCESS)
{
    printf("Establish MqttConnection \r\n");

    connectStatus = IotMqtt_Connect(&networkInfo,
        &connectInfo,
        otaCONN_TIMEOUT_MS,
        pMqttConnection);

    if (connectStatus != IOT_MQTT_SUCCESS)
    {
        IotLogError("MQTT CONNECT returned error %s.",
            IotMqtt_strerror(connectStatus));

        status = EXIT_FAILURE;
    }
}

return status;

}
Please find the crash log as follows
Establish MqttConnection
4 295 [OTA_Update_wifi] [INFO ][MQTT][2950] MQTT library successfully initialized.
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Hi Ravi,
One clue, if I turn off wifi I mean if I turn off access point, program does not crash. The following is the log.
Establish MqttConnection
1058 2176 [OTA_Update_wifi] [INFO ][MQTT][21760] MQTT library successfully initialized.
1059 2176 [OTA_Update_wifi] [ERROR][NET][21760] Failed to resolve a17ekevi1yo7w4-ats.iot.us-east-1.amazonaws.com.
1060 2176 [OTA_Update_wifi] [ERROR][MQTT][21760] Failed to establish new MQTT connection, error NETWORK ERROR.
1061 2176 [OTA_Update_wifi] [ERROR][DEMO][21760] MQTT CONNECT returned error NETWORK ERROR.
1062 2176 [OTA_Update_wifi] [ERROR][DEMO][21760] ERROR:  MQTT_AGENT_Connect() Failed.
This means the culprit is this guy.
IotNetworkInterface_t* pNetworkInterface = IOT_NETWORK_INTERFACE_AFR;
networkInfo.pNetworkInterface = pNetworkInterface;
I guess this information should be more than sufficient for you to solve the problem immediately.
Please let me know how to proceed.
Thanks, Regards,
Kumar.

Hi @kumarfirmware
There are other steps after a successful TCP connection is made - creating a TLS handshake with the broker,  sending an MQTT CONNECT message and receiving back a CONNACK as acknowledgement, before which the function returns success.
It can fail at any of these steps. Could you run this through the debugger and check at which step tis crashing by stepping in through it ? More details on debugging on ESP32 can be found here.
Also few other things you could try:

Enable debug logs for MQTT API and Network Interface by editing the iot_config.h file as follows:

#define IOT_LOG_LEVEL_NETWORK                   IOT_LOG_DEBUG
#define IOT_LOG_LEVEL_MQTT                      IOT_LOG_DEBUG

Create a TLS connection prior to calling IotMqtt_Connect() to check if its succeeding TLS handshake. You can create a TLS connection  as follows:

void * pNetworkConnection = NULL;
IotNetworkError_t xNetworkStatus;
xNetworkStatus = pNetworkInterface->create( &xServerInfo, &xCredentials, &pNetworkConnection);
configASSERT(xNetworkStatus == IOT_NETWORK_SUCCESS);

//Pass the connection directly to MQTT library.
networkInfo.createNetworkConnection = false;
networkInfo.u.pNetworkConnection = pNetworkConnection;
networkInfo.pNetworkInterface = pNetworkInterface;
networkInfo.disconnectCallback.function = prvNetworkDisconnectCallback;

Did you make sure network info structure is initialized properly as:

IotMqttNetworkInfo_t networkInfo = IOT_MQTT_NETWORK_INFO_INITIALIZER;

Did you check if the stack size for the task is adequate for TLS connection ?

Hi Ravi,
This is fixed. Please close the issue.


Travis-CI build jobs only uses PHP 7.2 instead of 5.6-7.4

Issue Summary
During reviewing the failure of my last PR (which was caused by expired certificate, but is solved), I discovered that every build job was executing using PHP 7.2(.15).
Issue introduced by #960 which uses different configuration.
See build job log which sets 'version=7.4' environmental variable (which is last entry in env block of .travis.yml):
Setting environment variables from .travis.yml
$ export version=7.4

But instead of reuse this environment variable, default (?) 7.2 is assigned via phpenv global and used.
$ phpenv global 7.2 2>/dev/null
pearrc
Writing /home/travis/.pearrc
$ phpenv global 7.2
[...]
$ php --version
PHP 7.2.15 (cli) (built: Feb 11 2019 23:22:17) ( ZTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.15, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans

Happens when filing a PR using up-to-date master branch.

The Travis env PHP version is not really used. The version env var determines which PHP docker image to pull which is where the tests actually get run. Referenced in the Dockerfile here: https://github.com/sendgrid/sendgrid-php/blob/master/Dockerfile#L2

The php --version command output in the build log was confusing me, but I'm confident the right version is selected although it isn't shown clearly.
Used logs of version 7.4:
Step 1/9 : ARG version=latest
Step 2/9 : FROM php:$version
7.4: Pulling from library/php
[...]
Status: Downloaded newer image for php:7.4

In addition to this, the PR I've created has conditional tests for PHP>=7.1. In the 5.6 and 7.0 version logs a few assertions have been skipped.
Sorry for this confusion - will close it because it's not a bug :)


Makefile does not run "go" tests

Running make does not run the go tests.
Even if I try to directly run make go, I just get the following:
make: `go' is up to date.

Looking more into this, it turns out that this is happening because we have a directory checked in called go.
Because targets are interpreted as names for files, when we run make or make go, make finds that we already have a target called go and thinks there's nothing left to be done here.
This can be fixed by marking targets as .PHONY.

This was fixed in 742d173d07809aef8293ab31f5279e7ae8147d12.


AutoIdleOnAFK Could not be constructed

AutoIdleOnAFK: Could not be constructed.
at Object.initializeAddon (:4:306851)
at Object.loadAddon (:4:268341)
at Object.loadAddon (:4:305889)
at FSWatcher. (:4:266190)
Happened after what I assume is a new Discord/BD update. Reinstalling BD did not fix.

same here

i have the issue on my side as well. Will push a fix by today

the construction error is resolved in commit 0cc9d7de2f13787c97ea62831bf3c19808268466, but discord changed the way user settings (like status) are changed, so the plugin cant change status from online to idle right now.
It might take me a while to figure out how to get that part working

to use the fixed version you need to redownload the plugin, since BetterDiscord does not show update banners for construction errors.
you can either wait for BD plugin site to approve the update there or download from this repo


Mongo driver eliminates Liquibase logging

Environment
Liquibase Version: latest master build: 718eb6375f37ff2c215ce1e762d46cfbea98ddc6
Liquibase Integration & Version: CLI
Liquibase Extension(s) & Version:
Database Vendor & Version: N/A
Operating System Type & Version: Windows 10 (but probably doesn't matter)
Infrastructure Type/Provider: None
Description
Putting the mongo driver in your lib directory makes logging not work at all.
Steps To Reproduce
Get the latest Liquibase master build.
Put the mongo driver in your lib directory. (issue occurs with https://search.maven.org/artifact/org.mongodb/mongodb-jdbc/2.0.2/jar all.jar)
Run any liquibase command with logging set at fine, and see that you get no logs.
Actual Behavior
No logs.
Expected/Desired Behavior
Logs.
Screenshots (if appropriate)
Additional Context
The mongo driver contains a logging.properties file that sets the handlers to an empty list. This is likely the cause of the problem.
Was originally an internal Liquibase ticket: DAT-13514

I don't see any use of logging.properties in our code. I was wondering if it was our CLI code that was explicitly checking for that in the classpath. But, it must be something in the general java.logging system?

The problem seems to be at https://github.com/mongodb/mongo-jdbc-driver/blob/655fdf34c83ad00348bfdd7866599c9cdb0cf35e/src/main/java/com/mongodb/jdbc/MongoDriver.java#L113 where MongoDriver explicitly reconfigures the logging when it is classloaded.
With them explicitly changing the logging setup, I don't think there's anything we can do to know the difference between "rogue" reconfiguration we want to ignore and wanted/expected reconfiguration that we want to support.
That seems like a not-commonly used and/or not very well supported driver vs the regular mongo driver?

That seems like a not-commonly used and/or not very well supported driver vs the regular mongo driver?

Could very well be. Our documentation points to it, which sounds like an error on our part.

Closing this issue, since MondoDB documentation has been updated. Thank you, @adrian-velonis1 for making these required updates.


[WIP]: Make HelloService a bit more varied/conversational

Fail is due to arc4random not being available on linux, the following should work:
#if os(Linux)
import Glibc
#else
import Darwin.C
#endif

fileprivate extension Array {
    var randomElement: Element {
        #if os(Linux)
        let index = Int(random() % self.count)
        #else
        let index = Int(arc4random_uniform(UInt32(self.count)))
        #endif
        return self[index]
    }
}

but check out Int.random(min:max) first and see if that might also work?

Yeah, that was one of the things that I knew I was going to have to address. Hadn't looked for the cross-platform Swift way yet.

My plan was to move that extension to Common, after I make it crossplatform

awesome! 👍 😎

So, Int.random(min:max:) works, but that comes from Vapor. So I'd need to add Vapor as a dependency to Common, in order to move it there. Which would you rather: do the #if os dance or add the dependency?
I'm leaning toward the dance, seems like a giant hammer for a thumbtack.

ahh you're right.. I removed my Int.random due to a conflict - add the randomElement extension - if it builds on linux I'll move it to Common

I was already mid-PR creation so... there. :)


jira command not accepting action argument

As part of https://github.com/robbyrussell/oh-my-zsh/pull/6367 the jira command no longer sets $action based on ${1} but now only uses the default action.
Adding action=${1:=$action} after the if chain seems to fix this but I haven't looked into it properly.

Same problem, ashirley's fix works for me


BUG: Heatmap starts on different days

The heatmap on the dashboard now starts mondays if community and saturday if redaktion. Please change to monday.

Looks great now.


grid side menu is gone

In the dev branch (not main) the side view menu "grid" is gone"

How it should be:

Sorry, I forgot I added Grid as a submenu of Group, so nevermind this issue.


Support workspace controller

Why are these changes needed?
Address part of https://github.com/ray-project/kuberay/issues/103
Design doc: https://docs.google.com/document/d/1EB97Efyq8L_jZiWp-LOqOsPbcBrmMP7b_GQfizsHG5E/edit?usp=sharing
This PR adds a new workspace controller to spawn a Jupyter notebook which would be used as the Ray development environment. This is just the first phase. We will add notebook plugin support later to better improve the development experiences.
The PR has two parts

workspace controller
workspace docker images

Related issue number
https://github.com/ray-project/kuberay/issues/103
Usage
apiVersion: ray.io/v1alpha1
kind: Workspace
metadata:
  name: workspace-sample
  namespace: rays-system
spec:
  template:
    spec:
      containers:
        - image: kuberay/workspace:v0.1.0
          name: notebook
          resources:
            requests:
              cpu: 1
              memory: 1000m

kubectl apply -f config/samples/ray_v1alpha1_workspace.yaml

# port forward the port to 8888

curl http://localhost:8888/kuberay/workspace

Checks

[x] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[x] Manual tests
[ ] This PR is not tested :(

I feel RayStudio might be a better name.

I will close this PR at this moment and concentrate on the downstream version. Whenever we need it, I will contribute it back.


Remove duplicate depth directory in pollen_py

This addresses #90 . make test passes for me, but I am having issues with make slow-odgi-test even on the main branch, so unless someone else can confirm that the slow-odgi tests still pass on their computer, I will wait to merge this PR until I can get slow-odgi working!

Hm indeed, something bad has slipped through. It should not be too hard to dive in and check where things went awry. It happened in the last couple days for sure.

I've merged Adrian's fix into main and then merged main into this branch. @susan-garry if all looks well now, please go ahead and merge! 🚀


Username?

Is there really any value to the username? I'm wondering if we shouldn't hard code in the username, or at least set a default one, that way users can just discover the bridge and go.

Resolved by #73


Can support ImGuiConfigFlags_ViewportsEnable?

I test it in qt5 and it works perfect.
Can you support Viewports and docking, I really like this two features.
Thanks.

Excellent - great to hear it works with Qt 5!
The backend is designed to work with Qt graphics contexts defined external to ImGui. With multi-viewports, ImGui manages the viewports and graphics contexts. I played around with it briefly, but I wasn't able to find a good way to separate that functionality and make them externally managed. The solution I had was to create an ImGui context for each widget, and that seemed to work well for my purposes. That said, I'm open to alternate solutions.
I think docking might be a little bit easier to achieve. First, instead of creating an ImGui context per widget, you'd have to return to sharing a single ImGui context (this should work decently, I've tested this part). In addition, you'll need to enable docking via the enable flag using the docking branch. Per the Docking documentation, that should get you 90% of the features. While it's a starting point, I'm skeptical, as I haven't tested it with this backend. I do have some code that checks whether input occurred on a given widget, and I suspect this might need some tweaking.
I'm not sure what an entire-screen docking approach would look like, I would imagine there's a way to create an invisible Qt OpenGL widget over the entire screen as your main viewport.
There has been at least some discussion around a similar use case:
https://github.com/ocornut/imgui/issues/4298

Yes! I checkout imgui to docking branch and test DemoWindow. It looks works.


Failed to generate commit message

Hello, I have encountered a problem where the plugin prompts 'failed to generate commit message'. I have checked my configuration several times but I don't know what is causing this issue.

Could you paste the output channel of GPTCommit?

Could you paste the output channel of GPTCommit?

COMMAND: C:\Users\degdev\.cargo\bin\gptcommit.exe prepare-commit-msg --commit-msg-file C:\Users\degdev\AppData\Local\Temp\vscode-gptcommit-bfc6d8b2-7b65-4fe5-99d0-e46a87419a6b.txt --commit-source commit --git-diff-content C:\Users\degdev\AppData\Local\Temp\vscode-gptcommit-bfc6d8b2-7b65-4fe5-99d0-e46a87419a6b.diff
STDOUT: 🤖 Skipping gptcommit since we're amending a commit. Change this behavior with `gptcommit config set allow_amend true`

STDERR:
DEBUG: gptcommit failed to generate commit message, message file not generated

I tried to run this command gptcommit config set allow_amend true，But failed.

What are the versions of your vscode-gptcommit and gptcommit?

Thank you, I am using the latest version. I reinstalled vscode-gptcommit and gptcommit, and today I was able to use it normally.


python311Packages.pydantic-compat: init at 0.1.2, python311Packages.app-model: 0.2.2 -> 0.2.4

Diff: https://github.com/pyapp-kit/app-model/compare/refs/tags/v0.2.2...v0.2.4
Changelog: https://github.com/pyapp-kit/app-model/blob/v0.2.4/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 277722 run on aarch64-darwin 1

6 packages marked as broken and skipped:

napari
napari.dist
python310Packages.napari
python310Packages.napari.dist
python311Packages.napari
python311Packages.napari.dist

8 packages built:

python310Packages.app-model
python310Packages.app-model.dist
python310Packages.pydantic-compat
python310Packages.pydantic-compat.dist
python311Packages.app-model
python311Packages.app-model.dist
python311Packages.pydantic-compat
python311Packages.pydantic-compat.dist

Result of nixpkgs-review pr 277722 run on x86_64-linux 1

12 packages built:

napari (python311Packages.napari)
napari.dist (python311Packages.napari.dist)
python310Packages.app-model
python310Packages.app-model.dist
python310Packages.napari
python310Packages.napari.dist
python310Packages.pydantic-compat
python310Packages.pydantic-compat.dist
python311Packages.app-model
python311Packages.app-model.dist
python311Packages.pydantic-compat
python311Packages.pydantic-compat.dist


Add an ordering for cuDSS

@frapac @sshin23 @michel2323

@sshin23 How can I test this new option with the following tests:
https://github.com/MadNLP/MadNLP.jl/blob/master/lib/MadNLPGPU/test/madnlpgpu_test.jl#L4-L8
?

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

Project coverage is 69.80%. Comparing base (fcbbbda) to head (9b04271).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #317   +/-   ##
=======================================
  Coverage   69.80%   69.80%
=======================================
  Files          39       39
  Lines        3888     3888
=======================================
  Hits         2714     2714
  Misses       1174     1174

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

We have a segmentation fault with cuDSS if we provide our own permutation... :(

Hmm... maybe1-based indexing is causing an issue again? If it is possible to turn off the ordering, manual ordering is always an option.
https://github.com/MadNLP/MadNLP.jl/blob/master/lib/MadNLPGPU/src/cusolverrf.jl#L237-L252

Hmm... maybe1-based indexing is causing an issue again? If it is possible to turn off the ordering, manual ordering is always an option.
https://github.com/MadNLP/MadNLP.jl/blob/master/lib/MadNLPGPU/src/cusolverrf.jl#L237-L252

cuDSS uses METIS internally but we want to compare the linear solvers on CPU / GPU with the same ordering.
The goal of this PR is to provide a permutation determined outside cuDSS.

Right. That can be implemented by turning off the ordering from the CUDSS side (if possible) and manually reordering the matrix before sending it to CUDSS, based on whatever ordering method we want to apply

Right. That can be implemented by turning off the ordering from the CUDSS side (if possible) and manually reordering the matrix before sending it to CUDSS, based on whatever ordering method we want to apply

We can't turn off the ordering with the version 0.1.0 or 0.2.0. I will send an email to ask this feature for the next release.

@sshin23 @frapac
The issue was that SparseMatrixCSC was not exported, so AMD/METIS were not called, and the permutation was Cint[]. CUDSS didn't like this permutation, and due to the segmentation fault, the error related to SparseMatrixCSC was not displayed...


Fixing crash when changing render distance

This fixes a bug in Planet.cpp which caused crash when lowering the render distance.
As of my observations, it is fixed by this commit.
It was caused by deleting from a map which we were iterating through.
The crash is shown in this screenshot:

And this is the call stack:

ScuffedMinecraft.exe!std::_List_const_iterator<std::_List_val<std::_List_simple_types<std::pair<ChunkPos const ,ChunkData *>>>>::operator++() Line 160	C++
ScuffedMinecraft.exe!std::_List_iterator<std::_List_val<std::_List_simple_types<std::pair<ChunkPos const ,ChunkData *>>>>::operator++() Line 246	C++
ScuffedMinecraft.exe!Planet::ChunkThreadUpdate() Line 108	C++

LGTM


Update logging

Code coverage is breaking because I removed a few logging in the PR. Merging it though.


ETM model corpus size

OCTIS version: 1.10.4
Python version: 3.9.12 (main, Apr  4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]
Operating System: Windows 10

Description
Hello,
I’m currently working with the ETM model using two different corpora. While for the smaller corpus the model works well (corpus 10 MB, vocabulary 1.5 MB), the larger corpus (corpus 95 MB, vocabulary 27 MB) cannot be used to train the model, as the notebook crashes. I suppose this has to do with the size of the corpus, as the data is preprocessed exactly the same. How can this be solved so the ETM model can be applied to the larger corpus as well? Thank you in advance!
Best,
Thomas
What I Did
The line:
model_output = model.train_model(dataset)

returns the following error message:

RuntimeError: [enforce fail at C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\c10\core\impl\alloc_cpu.cpp:81] data. DefaultCPUAllocator: not enough memory: you tried to allocate<PHONE_NUMBER> bytes.

Hello,
how many words does the larger vocabulary contain approximately? We integrated ETM in OCTIS but we kept the original implementation, which is not optimized for large corpora. My suggestion would be to perform an additional preprocessing on the data to remove infrequent words and thus reduce the vocabulary size. But it is possible that is not only a problem of the vocabulary size, but of the number of documents.
Hope this helped,
Silvia

Dear Silvia,
thank you for the quick response. The corpus contains 603 documents comprising 15.789.485 tokens. The vocabulary consists of 2.491.259 tokens.
Best,
Thomas


Update README.md graph

the image seems not right

Hi, Scarlett  This picture had been replaced.


OpenGov delaying

#8694x7htp

Task linked: CU-8694x7htp Android. OpenGov Improvements. Add prediction of time for current result of referendum


Fix for issue #12

Fix's the issue where the base url also contains the slug name (e.g. /registration/business/buy-referral/referral) and properly returns the base url.

Oh, I also updated some dependances that where out of date and causing buildout to fail.

I had an earlier Pull Request the used rfind to fix this issue. Try it out and let me know. I will up the version number so the buildout will work again.


add Roblox Os

Description
If you're suggesting a new feature then just a description will suffice.

[x] Does this issue still occur in the master branch? (Required if issue)

Neofetch version
Screenshot
Config file
Verbose log

Run neofetch -vv 2> neofetchlog
Upload the contents of neofetchlog to pastebin, gist or equivalent.

srry text

pls


add IsShowArrow

Sometimes the menu needs a look without a pull arrow, so a switch has been added to hide it.
However, when encountering hidden elements and expanding them on the style, it will cause a change in the menu width. I directly modify the style to worry about affecting other components. If this evaluation is valuable, please help to address the style issue.

Hey @TimChen44,
Maybe ShowArrow only is better name for such property.

Renamed ShowArrow


Normalize Grant Numbers in Pass Support

Normalize the grant award numbers in pass support. The implementation is done in the pass-data-client module. The two known use cases for it is when loading grants into pass-core in the grant-loader and loading the award numbers from PMC using the nihms-loader. This will ensure that the grant award numbers are normalized in the following format: [A-Z0-9]{3}\s[A-Z0-9]{8} e.g. K23 HL153778
The normalizer will attempt to normalize grant numbers that are close to the standard format, but there are some cases which cannot be normalized for example:

"K23 HL153778-1A1" is a known grant number that should normalize to: "K23 HL153778"

However

"K23 HL15353434778" is not a known grant number and does not follow the pattern for a standard grant number

Ticket: https://github.com/eclipse-pass/main/issues/659

It looks like DoE award numbers do not follow this structure, see https://pamspublic.science.energy.gov/WebPAMSExternal/interface/awards/AwardSearchExternal.aspx
So the normalization should be flexible for the different classes of award numbers.
Looking through how the NIH defines grant numbers, https://www.era.nih.gov/erahelp/Commons/Commons/understandGrantNums.htm, I see that year and extension fields are stripped off. But are these things that the user wants to see when shown the grant number? We may want to search ignoring those fields, but the user may want to see them. If that is the case, then we would either have to live with prefix searching and try to make the database optimize appropriately or perhaps add a new field that contains the normalized award number for searching.

@markpatton Ah yes, the DOE are different than the NIH ones. Perhaps we can remove the normalization from the grant loader and keep the normalization only applied to searching for grant award numbers in the nihms loader. This was the original implementation I had done in the research ticket and I can refactor it back to this, so it wouldn't be too much to do.


Use cucumber-expressions to generate the match in fake-cucumber

Summary
We've added default step definitions in the messages generated by fake-cucumber recently, but the choice of the step definition used for a TestStep was random.
Now it uses cucumber-expression to make real match and generate the testStepMatchArgument messages.
Still TODO:

check how to correctly handle the ambiguous statuses.

Details
Motivation and Context

Types of changes

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

Checklist:

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[x] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Open question: previously, fake-cucumber gave type "fake" to the arguments. Should it still do the same or do we keep "" as generated by cucumber-expressions ?
Or should we only replace the empty ones by "fake" ?
The html-formatter has tests where it expects fake so I'm wondering.

Open question: previously, fake-cucumber gave type "fake" to the arguments. Should it still do the same or do we keep "" as generated by cucumber-expressions ?
Or should we only replace the empty ones by "fake" ?
The html-formatter has tests where it expects fake so I'm wondering.

We should use the parameter type name reported by cucumber-expressions (which will be int, word etc). We should avoid using anonymous parameter types here. And we should update the html-formatter tests accordingly.


bump @remixicon/react to 4.3.0

Is your feature request about the Usage? Please describe.
Could you update @remixicon/react's version to 4.3.0? in npm registry latest is 4.2.0

@remixicon/react is now 4.3.0


❔ Is there any difference between node-updown & updown.io?

Hi @woubuc!
Could you tell me the difference between your node-updown client and @ffflorian's updown.io please?  🤔
If they're about the same, maybe you guys could join forces? 🤔
I've asked the same question in the other repo, see ffflorian/api-clients#318

At first glance,  node-updown (this project) is somewhat smaller and more modular. It uses the built-in Fetch API when running in a browser, and it supports a treeshakeable functional API. This makes it more browsers-friendly than updown.io which is entirely class-based and uses axios for its HTTP requests.
Additionally, node-updown is MIT licensed while updown.io is GPL. This can make a difference to some users, though it generally won't make much of a difference.
I haven't maintained this module as well as I could have in the past, and for a while it wasn't fully compatible with changes made to the Updown API itself. So a year ago I would've said to use the other library. But I've since updated node-updown and I'm sure both modules will work just fine.
Performance aside, I think it's mostly a matter of which API you prefer and whether you're targeting a browser or not.
I fully agree that there shouldn't be a need for two libraries that do essentially the same. I would be open to discussing if and how we could merge the libraries and create an API client that is supported by both developers (which would benefit everyone). @ffflorian what are your thoughts on this?

Copying my answer from https://github.com/ffflorian/api-clients/issues/318:
Hi @MichaelDeBoey,
my library uses axios while @woubuc's uses cross-fetch. Beside that, my library has a bit more documentation I think, but in general there is no real difference as we both don't really have tests :smiley:

If they're about the same, maybe you guys could join forces? :thinking:

Sure, I'm totally up for that! I just wouldn't know where to start. Maybe @woubuc has some ideas :slightly_smiling_face:

I was about to comment in your issue, but it's probably better to keep the thread in one place 😃
The first question should probably be how far you would want to go with this collaboration - do you just want to share ideas to improve both our projects, or are you open to merging the two libraries entirely?
I think merging would likely improve the library, but we'd need to make some choices and probably discard some work since there is going to be a lot of overlap. And then there's the issue of conflicting licenses. So this would take some preparation and figuring this out (at least on my part, since I usually work solo on these kinds of libraries), but I think it could be interesting to explore this further.

Would be awesome if you guys could figure something out together and join forces! 🙂

So this would take some preparation and figuring this out (at least on my part, since I usually work solo on these kinds of libraries), but I think it could be interesting to explore this further.

I agree! Maybe you or @MichaelDeBoey already has some ideas about what he likes/dislikes in our libraries? IMO I like in node-updown that it has a functional API and in updown.io I like the JSDoc documentation :slightly_smiling_face:

I like node-updown's functional API, but I think the typings could be a bit better (i.e. more "business logic" inside the types themselves).
Haven't used updown.io, so can't really give comments on that one.
Just found out there are 2 different packages doing exactly the same, so would be a waste of time/effort if 2 people are doing the same time separately.

@MichaelDeBoey What do you mean with "business logic"? What specific logic are you missing in node-updown?
@ffflorian So I haven't really received an answer to my first question, are you interested in merging the two libraries or not? If you are, I think we should start by outlining the goals for our shared library and then see how we can fit our new merged library into those goals.
Some of the goals of my library are that it should be minimal & transparent (a 1-to-1 representation of the API) and that it should be as compact & lightweight as possible, especially when used in the browser. What are your goals for updown.io?

@woubuc If you look at the real data (not only at the API docs),  the GroupedMetrics type for instance could be improved like:
export type MetricsGroup = 'host' | 'time';

type MetricsByHost = Metrics & {
  host: Pick<Node, 'city' | 'country' | 'country_code' | 'ip'>;
};
type MetricsGroupedByHost = { [key in Location]: MetricsByHost };
type MetricsGroupedByTime = { [key: string]: Metrics };

export type GroupedMetrics<Group extends MetricsGroup> = Group extends 'host'
  ? MetricsGroupedByHost
  : MetricsGroupedByTime;

Instead of just Record<string, Metrics>;

Interesting! I don't really use the grouped metrics so I didn't look into them too much when adding the types, but that definitely looks like an improvement. Could you submit a PR with those changes (and any other types you find lacking)?

I'll create a PR later this weekend 🙂
I'll probably change some function signatures too

@woubuc

are you interested in merging the two libraries or not? If you are, I think we should start by outlining the goals for our shared library and then see how we can fit our new merged library into those goals.

Yes, I am definitely interested! I just don't have enough time right now to work on that, sorry. I'll save this for later and will come back to you as soon as I have more time for that.

@woubuc @ffflorian  Any news on this?

No news so far.

No news so far.

Yes


Reimplemented colourful addon code that was missing in the 1.19.3 port

Colourful Chalk will now only show if the colourful addon is present

Reimplemented colourful addon code that was missing in the previous pull request. (due to porting from the 1.18 branch)
Updated version number to 2.1.1.
Updated remappedSrc to the 1.19.3 port.

(Sorry for missing out the colourful addon code last time!)

No problem at all! I stumbled about the same issue yesterday, but gut interrupted while readding them. But alas, you readded it, already as I was back.
I'll just change one minor thing: When neither fabric or quilt are detected not trying to query the FabricLoader-API, since the class probably isn't present then, resulting in a crash. Makes the Loader detection useful, already (no idea if that would ever happen, but nice to have).


ENH: signal: SOS LTI systems

We want second order sections to be first class scipy.signal citizens, so I started working on giving them their own lti subclass. This is very much a work in progress, but I wanted to start a place to have relevant discussions.
Specifically, the usual argument-counting scheme really falls down for sos. (Reminder: we often identify what form the LTI system tuple takes with len(system), 2=TF, 3=ZPK, 4=SS) However, since the cascading sections are specified as an ndarray with shape [n, 6], when we call len(system), we can get literally any integer. This doesn't just affect instantiation of lti objects, but also the input arguments of freqresp, step, lsim, etc. What should we do?
Here is an incomplete list of other TODOs:

[ ] Docstrings
[ ] Simulation functions
[ ] do we need to support multiple inputs/outputs? (Q: What is current suport in other LTI classes?)
[ ] Add sos support to cont2discrete
[ ] Add some kind of _sos_normalize function
[ ] Tests

An alternative, which I believe @endolith has mentioned, is to instead create general cascaded LTI systems. Then, SOS systems are just cascaded second order TF systems. I don't think I've come across other kinds of cascaded systems though.
(As a side note, I moved the lti conversion functions that lived in filter_design to lti_conversion for my own sanity. Even after the moves, filter_design is over 3kloc.)

What should we do?

Can't you just check if the input has shape [n, 6]?

Or maybe even if isinstance(x, np.ndarray) and x.shape[1] == 6?

(... and x.ndim == 2 and x.shape[1] == 6 I mean)

I guess the only problem with this approach is that in only works with ndarrays, but not a 2D list. This is unfortunate, but not a tragedy.
I also note that this feature will have to include a fix for gh-5668.

That seems like an acceptable tradeoff so long as it's documented behavior.
Our generation functions create them that way anyway.

Hi @e-q , with respect to this PR and gh-11030, are they in need of a new champion, or do you think that they are no longer relevant?


Please add text chat

Hello
Great work, but it would be even better if there was a text chat!

i have added it but it was so much of work that i thought let this repo be a POC for the possibility (a simple clean code) for webRTC and have uploaded another repo at
https://github.com/pkyad/libreERP-webConnect
, here is a screenshot

@HassenMaamri

OK.I will check the new repo then.Thanks


[CH-70][CH-82][CH-69] Upgrade spark 3.2.2 and delta for ClickHouse Backend

Upgrade spark 3.2.2 and delta for ClickHouse Backend:

Upgrade Spark 3.2.2
Upgrade Delta
Support AQE for ClickHouse Backend

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@zzcclp verified this PR locally on TPC-DS.


Comprehensive DPS/TDO Spreadsheet

Work on missing features of the TDO Spreadsheet from v1

v1 https://pogo.gamepress.gg/comprehensive-dps-spreadsheet
v2 https://pokemongo.gamepress.gg/comprehensive-dps-spreadsheet

Migrate jsons to use v2 database,

[x] cpm.json

[x] move-data-full-PoGO.json

[x] pogo_data_projection_10.json

[x] pokemon-data-full-en-PoGO.json

[x] raid-boss-list-PoGO.json

[x] Fix search queries, done    https://github.com/gamepress/pokemongo/commit/800a8c41d6da2f9c5657550c7faf21604082b864

[ ] User pokemon box support

[ ] Import user pokemon box from v1

close by https://github.com/gamepress/pokemongo/commit/ea1d6a74ac7efd133aebae6201562383c3745e24


Add account privacy information to subscription confirmation page

In [1] we removed the first time sign up page that asked users for
consent to use cookies, to email them for feedback, and displayed
privacy information about how we use the data associated with their
account.
We're not going to be collecting consent for cookies or feedback
centrally in the account any more, so that doesn't need moving, but we
do need to show users the privacy information at some point in the
creation journey.
Add this information to the confirmation page instead, so users can
read it before finalising their subscriptions.

DO NOT MERGE until the PR to remove the first time sign in page is ready. These need to be deployed at the same time

Trello
Figma design
⚠  This repo is Continuously Deployed: make sure you follow the guidance ⚠

The new content (details expanded):

Here's a short recording of the journey with this and https://github.com/alphagov/frontend/pull/3224 on integration:
https://user-images.githubusercontent.com/6362602/168086367-a4811971-24c7-44bc-ac76-dfaaf3844282.mov
Note there's no first time sign in page any more, and the account privacy details are on the subscription confirmation page.


'python setup.py install' error

RuntimeError: Scikit-learn requires Python 3.9 or later. The current Python version is 3.8.18 installed in /home/fky/.conda/envs/open-mmlab/bin/python.

I am having the same issue acutally

I am having the same issue acutally

have you solved this? plz help me

哈哈，我尝试了很长时间，应该解决了这个问题，同时我把配置期间可能出现的其他问题和解决方案也一并列出。
当我运行e. Install mmdet3d from source code.中的“python setup.py install”指令时，发生了如下的报错：
error: Couldn't find a setup script in /tmp/easy_install-xuyx54hk/scikit_image-0.22.0.tar.gz

	参考https://github.com/fundamentalvision/BEVFormer/issues/176解决。再次运行“python setup.py install”指令时，又发生了如下的报错：
RuntimeError: Scikit-learn requires Python 3.9 or later. The current Python version is 3.8.18 installed in /home/fky/.conda/envs/open-mmlab/bin/python.

	这里的报错大概意思指的是没有安装Scikit-learn库。参考《安装scikit-learn的详细过程》解决。
	然后再次运行“python setup.py install”又发生了关于numpy版本的报错。参考https://github.com/fundamentalvision/BEVFormer/issues/203解决。
	然后再次运行“python setup.py install”又发生了关于panda版本的报错。参考https://github.com/fundamentalvision/BEVFormer/issues/113解决。
	至此解决。

If anyone has had success configuring it according to the method I provided, could you reply below? I'm not sure my method will work for everyone.

哈哈，我尝试了很长时间，应该解决了这个问题，同时我把配置期间可能出现的其他问题和解决方案也一并列出。
当我运行e. Install mmdet3d from source code.中的“python setup.py install”指令时，发生了如下的报错：
error: Couldn't find a setup script in /tmp/easy_install-xuyx54hk/scikit_image-0.22.0.tar.gz

 参考 #176 解决。再次运行“python setup.py install”指令时，又发生了如下的报错：
RuntimeError: Scikit-learn requires Python 3.9 or later. The current Python version is 3.8.18 installed in /home/fky/.conda/envs/open-mmlab/bin/python.

 这里的报错大概意思指的是没有安装Scikit-learn库。参考《安装scikit-learn的详细过程》 解决。
 然后再次运行“python setup.py install”又发生了关于numpy版本的报错。参考#203 解决。
 然后再次运行“python setup.py install”又发生了关于panda版本的报错。参考#113 解决。
 至此解决。

This solved my problem. Thx

When you try to run"python setup.py install" to install mmdet3d, there are always some problems:

I met:"error: Couldn't find a setup script in /tmp/easy_install-ian85kkj/scikit_image-0.24.0.tar.gz"
Just use "pip install scikit_image"
after that run "python setup.py install" again.

Then I met some same problem about the version of:"network, Scikit-learn, numpy, pandas..."

(1) About the :"error: numpy 1.19.5 is installed but numpy >=1.22.0 is reqrired...."
I modify the "numpy<1.20.0" into "numpy==1.22.0" in the /mmdetection3d/requirements/runtime.txt
And then I  run "python setup.py install" again.
(2)About the :"RuntimeError: Scikit-learn requires Python 3.9 or later. The current Python version is 3.8.18 installed in"
Just use "pip install Scikit-learn"
after that run "python setup.py install" again.
(3)About the :"networkx 2.2 is installed but networkx>=2.8 is required by {'scikit-image'}"
Just use "pip install networkx"
after that run "python setup.py install" again.
(4)About the same problem about pandas
Just use "pip install pandas"
after that run "python setup.py install" again.
And you run "python setup.py install" untill it shows:"Finished processing dependencies for mmdet3d==0.17.1"


lib/backend/repository: handle http and https gracefully

If docker2aci is passed the --insecure flag, don't directly use http but
try https first and then http.
Helps with https://github.com/coreos/rkt/issues/2036

Tested with:

Official Docker registry with and without --insecure
Works
Local HTTP registry without --insecure:
Error: conversion error: Get https://localhost:5000/v2: tls: oversized record received with length 20527
Local HTTP registry with --insecure:
Works
quay with forced v1 API with and without --insecure:
Works

Updated

Alright, LFAD from a bystander. ;)

Thanks!


Is this repository officially supported by Apple?

As title^.
Is this repository officially supported by Apple? or a community effort?

They aren't mutually exclusive 😄
I am an Apple employee but there are a ton of community contributions.


PerunMinDeposit prevents (one-sided) zero funding

Location:
https://github.com/perun-network/perun-polkadot-node/blob/95ba0c94d55098c069e6b3d0c567044bb3359d4a/node/runtime/src/lib.rs#L274
Problem:
Due to PerunMinDeposit set to 10 (Plancks), it is impossible to, e.g., open a payment channel with one participants funding being zero.
Proposal:
Set PerunMinDeposit to 0.

https://github.com/perun-network/perun-polkadot-pallet/blob/39a6176cb4a78aac329bddd6d9dc8b307b03fea7/src/lib.rs#L226
This is the place where it fails.
But I think the real problem is that the funder should never call deposit if the balance is 0.
https://github.com/perun-network/perun-polkadot-backend/blob/1cf5c72ae46f387cacdf7083ca38da44db8ddfab/channel/pallet/funder.go#L56


feat(components): Add test id in components

Description 📄

Update components on yoga with data test id
Platforms 📲

[x] Web
[ ] Mobile

Type of change 🔍

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? 🧪

[Enter the tips to test this PR]

[ ] Unit Test
[x] Snapshot Test

Checklist: 🔍

[ ] My code follows the contribution guide of this project Contributing Guide
[ ] Layout matches design prototype: FIGMA
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

Screenshots 📸

[Upload your screenshots here]

Before
After

Hey, @CaioAugustoR! Congratulations on this PR! 🎉
Just a question: couldn't we pass the data-testid as a prop directly to the component? From what I saw, we are spreading the props on components, so I am afraid that this behavior is already implemented;
What do you think? Please, let me know if what I am saying make sense or not.
Cheers,
Caio 😁

Hey Caio,
It's a great idea, I'm going to make some changes so we don't have to send another props


MessageConversionException/ClassCastException is not thrown while parsing the message, so the message is not sent to the DLQ

Describe the issue
While consuming an event using Kotlin + data classes + Spring Cloud Function and the payload can not be correctly parsed the framework does not throw a MessageConversionException or a ClassCastException, rather the exception is swollen null is returned in the internals, the message is consumed and no DLQ message is published.
I attached an example re-creating the same situation in the official documentation here to prove this issue while using Kotlin + Spring Cloud Function + Spring Cloud Stream.
To Reproduce
Steps to reproduce the behavior:

You need to have a RabbitMQ locally running
Start the example attached
Go to the RabbitMQ management console or any other RabbitMQ client and send a message to [log-in-0.loggingconsumer
The contents of the message should be a wrongly JSON representation of the Person class, as follows {"name":[]}
No error is shown, the message is consumed and no message is published to the DLQ

Version of the framework
spring-boot: 2.7.2
spring cloud stream: 3.2.4
Kotlin: 1.6.21
Expected behavior
An exception should be throw when the parsing of the message is impossible
Screenshots
Additional context
Here is the link to the repo with the example code: link

Transferred to s-c-function

Fixed and back-ported


Respect hidden attribute when converting to CSV, fixes #755

Fixes #755

Looks good! can you squash down to one commit and keep the one-line summary to 50 chars?  Something like:
`skipHidden` option for sheet_to_csv (fixes #755)

Note: Excel CSV conversion includes hidden rows and columns by default

@SheetJSDev Sure.
What is tests/core.js file for? I've copied tests to this file too, but I don't know how to run it.

@the-spyke that file holds the browser tests.  Those are usually run before each release.
(this is mentioned in https://github.com/sheetjs/js-xlsx#browser -- if something is missing or unclear, please suggest fixes :)
If you want to run the tests:

Run a web server in the tests directory.  The included Makefile has a target ctestserv:

.PHONY: ctestserv
ctestserv: ## Start a test server on port 8000
	@cd tests && python -mSimpleHTTPServer

Go to the page.  python -mSimpleHTTPServer serves on port 8000 by default, so you can access http://localhost:8000/ from your web browser.

That page also powers the sauce labs cross-browser tests.  You probably noticed a big badge in the README:

The details, including screen recordings, of the last few runs are available at http://saucelabs.com/u/sheetjs

@the-spyke  did you intend to close this?

@SheetJSDev I've completely messed up with squashing and branches. Now trying to make another branch. I'm sorry.

@the-spyke no rush and no need to apologize :)


[BUG] Pre-request script in collection not triggered if query from collection is run

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If I add a pre-request script to the collection and then run a query from that collection, the pre-request script of that collection is not executed.
Expected Behavior
If I add a pre-request script to the collection and then run a query from that collection, the pre-request script of that collection is executed.
Steps To Reproduce

Add a query to a collection
Add a pre-request script to that collection
Run the query in that collection
Pre-request script is not executed

Environment
- OS: Ubuntu 24.04
- Browser: /
- Platform: Snap from Ubuntu Store
- Version: 7.3.4

Additional context
No response

Okay, by reading the code, I figured out, that you need to enable the checkbox on the query level for the collection pre-request script to take effect.
This seems like a bug to me, because I enable a checkbox on the query level, where the editor is empty to run a script on the collection level?
If this is by intention, I think it would be good to mention this in the docs very prominently.

Fair point. It also seems reasonable to me that the pre-request script enabled on the collection should not depend on the query level check, but I can also see the current behavior as expected 🤔

If there's no further discussion on this issue, I'm going to close it as won't do


Change Alpha Diversity Metric

This pull request changes the alpha diversity metric used in the stool report from observed_features to shannon and updates supporting text accordingly.

Thanks for the quick review, @wasade

Should there be changes to the translation materials?

I hold on all translation updates until a single, pre-deployment step to minimize back-and-forth and the potential for translating text that might change again before a release is cut.


GA Migrations Python PreCommit Sharding Parquet IO

As part of the migration of Precommit and Postcommit Jobs from Jenkins to GA in self-hosted runners, this PR contains:
Migrated workflow job-precommit-python-parquet-io.yml
The migrated workflow was added to CI.md
DO NOT MERGE until the effort to use self-hosted runners is completed https://github.com/apache/beam/pull/22703
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM!


update dependency versions

Merge after all the repos released (charon, balana, wss4j, rampart and amber)


Finish event sometimes does not happen after filesLimit

Sometimes when I try to upload more files than limit allows, server does not accept all data. Browser status bar stops at  Uploading (some%)  and the Finish event does not happen.
'use strict';

const http = require('http');
const fs = require('fs');
const Busboy  = require('busboy');

http.createServer((req, res) => {
    if (req.url !== '/upload') return;
    if (req.method === 'GET') {
        return res.end(`
            <form action="/upload" method="post" enctype="multipart/form-data">
                <input type="file" name="files" multiple required>
                <input type="submit" name="submit">
            </form>
        `);
    }

    let busboy = new Busboy({
        headers: req.headers,
        limits : {
            files: 2
        }
    });

    busboy.on('file', (fieldname, fileStream, filename, encoding, mimetype) => {
        let writeStream = fs.createWriteStream('./files/' + filename);
        fileStream.pipe(writeStream);
    });

    busboy.on('finish', () => {
        console.log('busboy finish');
    });

    busboy.on('filesLimit', () => {
        console.log('limit');
    });

    req.pipe(busboy);
}).listen(80);

When it happens req stream stay on pause after filesLimis event.
This does not happen every upload, but often enough.

You're sending a response from any of your event handlers, such as 'finish' or 'filesLimit'.

I know. This pseudocode. Response does not change anything.

I tested this code on different hardware and os. Nothing changed

If you can provide a minimal reproduction against the current master branch, let me know.


Explicitly return errors if some variable is there, on jsonplaceholder.typicode.com

How about showing errors in response besides 404 at https://jsonplaceholder.typicode.com/?
There might be a variable like showError=401  (or any other error) that would force jsonplaceholder to show it in response.

+1 https://jsonplaceholder.typicode.com/error/501


Lost auto complete in switch expression with version 1.3.0

environment：win10 x64 vscode rescript-vscode1.3.0

As the screen recording gif(recording by this website), auto complete is losting after | operator in switch expression.

@Mng12345 thanks a lot for reporting this. Spot on!
The PR mentioned above solves it, as well as documents, by way of experiment, all the steps from investigating the test cases to coming to a solution.

Thanks!


[SPARK-33412][SQL] OverwriteByExpression should resolve its delete condition based on the table relation not the input query

What changes were proposed in this pull request?

Make a special case in ResolveReferences, which resolves OverwriteByExpression's condition expression based on the table relation instead of the input query.
Why are the changes needed?

The condition expression is passed to the table implementation at the end, so we should resolve it using table schema. Previously it works because we have a hack in ResolveReferences to delay the resolution if outputResolved == false. However, this hack doesn't work for table accepting any schema like https://github.com/delta-io/delta/pull/521 .
Does this PR introduce any user-facing change?

No
How was this patch tested?

existing tests

Test build #130869 has started for PR 30318 at commit 1ca8062.

cc @rdblue @dongjoon-hyun  @imback82  @HeartSaVioR

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35476/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35476/

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/SparkPullRequestBuilder-K8s/35476/
Test PASSed.

Test build #130869 has finished for PR 30318 at commit 1ca8062.

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/130869/
Test FAILed.

Test build #130885 has started for PR 30318 at commit b174196.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35490/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35490/

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-K8s/35490/
Test FAILed.

Test build #130885 has finished for PR 30318 at commit b174196.

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

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/SparkPullRequestBuilder/130885/
Test PASSed.

Test build #130904 has started for PR 30318 at commit f092c58.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35510/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35510/

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/SparkPullRequestBuilder-K8s/35510/
Test PASSed.

Merged to master. It has conflict with branch-3.0. @cloud-fan mind opening a PR for branch-3.0?

Test build #130904 has finished for PR 30318 at commit f092c58.

This patch fails due to an unknown error code, -9.
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/130904/
Test FAILed.

PR for 3.0: https://github.com/apache/spark/pull/30328


[SPARK-27873][SQL] columnNameOfCorruptRecord should not be checked with column names in CSV header when disabling enforceSchema

What changes were proposed in this pull request?
If we want to keep corrupt record when reading CSV, we provide a new column into the schema, that is columnNameOfCorruptRecord. But this new column isn't actually a column in CSV header. So if enforceSchema is disabled, CSVHeaderChecker throws a exception complaining that number of column in CSV header isn't equal to that in the schema.
How was this patch tested?
Added test.

Test build #106021 has started for PR 24757 at commit 55abb5b.

cc @HyukjinKwon @cloud-fan

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/11273/
Test PASSed.

I would prefer another solution - passing a schema without columnNameOfCorruptRecord to the checker. In that case, you don't need to modify the checker at all. For example, https://github.com/apache/spark/blob/02e9f933097107d870dba87cc03f6003af9b0efa/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/csv/CSVPartitionReaderFactory.scala#L49-L69 should be changed to:
    val ds = StructType(dataSchema.filterNot(_.name == parsedOptions.columnNameOfCorruptRecord))
    val rs = StructType(readDataSchema.filterNot(_.name == parsedOptions.columnNameOfCorruptRecord))
    val parser = new UnivocityParser(
      ds,
      rs,
      parsedOptions)
    val schema = if (columnPruning) rs else ds
    val isStartOfFile = file.start == 0
    val headerChecker = new CSVHeaderChecker(
      schema, parsedOptions, source = s"CSV file: ${file.filePath}", isStartOfFile)

Test build #106021 has finished for PR 24757 at commit 55abb5b.

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

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/SparkPullRequestBuilder/106021/
Test PASSed.

Test build #106062 has started for PR 24757 at commit c69b92d.

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/11313/
Test PASSed.

Test build #106062 has finished for PR 24757 at commit c69b92d.

This patch fails due to an unknown error code, -9.
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/106062/
Test FAILed.

retest this please

Test build #106063 has started for PR 24757 at commit c69b92d.

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/11314/
Test PASSed.

Test build #106063 has finished for PR 24757 at commit c69b92d.

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

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/SparkPullRequestBuilder/106063/
Test PASSed.

Merged to master and branch-2.4.

@viirya, mind creating a PR to backport into branch-2.4?

@HyukjinKwon OK. Will do. Thanks.


MinCount and MaxCount assertion

I've faced a use case where I should check length of a \Countable. I see two methods for such checks:

Assert::minCount is like Assert::minLength but for \Countable
Assert::maxCount is like Assert::maxLength but for \Countable

Also an assertion that the passed in argument is a \Countable can be added.
The question is: are the maintainers interested in such methods inside of the library? Is so I could provide a PR with their implementation.

I don't see any argument against. All three assertions seem valid to me. :)
For sake of completeness, I'd add countBetween() too then.