tidying the ftp directory and building JBrowse config

List of how to refer to specific data set types

Human readable
file names

Variation
Variation

Poly(A) sites
PolyA

Replication profiling
Replication_profiling

Intron branch point
Intron_branch_point

Chromatin binding
Chromatin_binding

Nucleosome positioning
Nucleosome_positioning

Transcripts
Transcripts

CV of assay types

Assay type

DamID / tiling array

HT sequencing

mRNA end sequencing

NGS

RNA-seq

tiling microarray

Old to new file name conversion
file naming convention    datatype_author_studyID_PMID

old name
new name

BindingSites

Bitton_IBP_24709818/
Intron_branch_point_Bitton_GSE50246_PMID:24709818 (GEO)

DJeffares_Diversity/
There should be three datasets: 1. Sequence_variation_Jeffares_PRJEB2733&PRJEB6284 (ENA) (the variation track says "all data sources" so I presume is it two datasets conglomerated into one track) 2. SNPs_variants_Jeffares_974514578-974688138 (NCBI dbSNP) 3. Indels_Jeffares_974702618-974688139 (NCBI dbSNP)

Daigaku/
??_Daigaku_GSE62108_PMID:25664722 (GEO) replicative polymerase usage, not shown in browser?

GSM1519714/
??_Daigaku_GSE62108_PMID:25664722 (GEO) replicative polymerase usage, not shown in browser?

GSM1519715/
??_Daigaku_GSE62108_PMID:25664722 (GEO) replicative polymerase usage, not shown in browser?

GSM1519716/
??_Daigaku_GSE62108_PMID:25664722 (GEO) replicative polymerase usage, not shown in browser?

GSE62108/
??_Daigaku_GSE62108_PMID:25664722 (GEO), replicative polymerase usage, not shown in browser?

ERP001075/
Wilhelm_E-MTAB-5_PMID:18488015 (ArrayExpress)

ERP001483/
Transcripts_Marguerat_E-MTAB-1154_PMID:23101633 (ArrayExpress)

GSE24360/
Chromatin_binding_Woolcock_GSE24360 (GEO)

GSE41773/
Transcripts_Soriano_GSE41773_PMID:24256300 (GEO)

GSE41773/
Nucleosome_positioning_Soriano_GSE41773_PMID:24256300 (GEO)

HuaLiTSS/
?? I am taking a wild swing here, could this be it? Transcription_start_sites_Li_E-MTAB-3188_PMID:25747261 I don't think this is shown in the genome browser

JuanMata_polyA/
PolyA_Mata_E-MTAB-1642_PMID:23900342 (ArrayExpress)

MSchlackow_polyA/
PolyA_Schlackow_OMICS_06155_PMID:24152550 (omictools)

NRhind_RepProfile/
Replication_profiling_Xu_SRP009399_PMID:22531001 (SRA)

NRhind_Transcriptome/
Transcriptome_Rhind_? Broad FTP https://www.broadinstitute.org/scientific-community/science/projects/fungal-genome-initiative/schizosaccharomyces-genomes-project

JBrowse config file
DataType|  PMID | Author (first)| Author (final) | Assay | Track
------------ | ------------- | ------------- | -------------

I have added
Bitton
Schlakov
Mata
to the Google spreadsheet in the required format.
@Antonialock  could you add the others.
I listed anything that needs to be clarified at the top  as a question related to the dataset
Eventually once we have reconciled everything we can delete the spurious columns and this can become the JBowse config file.

Leave the Jaffares variation data out  for now as I don't know if we can do anything with variation data in JBrowse.

I have moved the binding site file to pombe-embl/ftp_site/pombe/feature_coordinates/TF_binding_motifs.bed (feature_coordinates is a new subdirectory, with a new README that leaves room for us to add more files if we want), so the BindingSites directory can vanish into history (or /dev/null/, as you prefer).

I have moved the binding site file to

Thanks.
I've changed the web server configuration so that the files in the "pombe" directory are also available via HTTPS.  That works better with JBrowse.
So that binding site file is also here:
https://www.pombase.org/pombase_datasets/genome_sequence_and_features/feature_coordinates/TF_binding_motifs.bed
The external datasets are available from URLs like: https://www.pombase.org/external_datasets/ERP001483/ERS146817.bam

so err, this wasn't straight forward....see question marks in the updated original comment

I also added the PMID and what database the dataset is located in for ref. we can keep what we like

to quote a famous 'politician' BIG MESS

I think I prefer on balance to have name and PMID as the file name, and put the
database accession  in standard format
DB:accession  into the  Google doc
https://docs.google.com/spreadsheets/d/13STLSIvYcqKVaFxz_g3XKOkd-huwbu8qrdQWn9jVN8w/edit?usp=sharing
so that we can display the accession as one of the configuration options.
It will be far more consistent.
Also,
Can't have semicolons in file names. will need to do PMID_1234

Daigaku
https://www.ncbi.nlm.nih.gov/pubmed/25664722
(I know Ensembl definitely hosted this dataset)

http://listserver.ebi.ac.uk/pipermail/pombelist/2015/004291.html

Next step is to get the mapping of individual files to tracks from Ensemlb (who wants to ask first? @kimrutherford  could you try CCIng bith Steve and Paul)?

then  @Antonialock  could you populate the Google spreadsheet (with an additional column for the database accession
(always format DB:accession)
You can probably pre populate quite a lot of the spreadsheet  without the file names

Next step is to get the mapping of individual files to tracks from Ensemlb

And fixing the chromosome IDs in the files.  I'm working on that now.

@kimrutherford could you try CCIng bith Steve and Paul

Will do.

After a bit of digging I found the Ensembl Genomes pombe configuration file.  I've added it to SVN as: website/ensembl_schizosaccharomyces_pombe.ini
Are the Ensembl Genomes tracks the same as we had in the browser for PomBase V1?  If so, that file should be all we need.  If not, at least we know the name of the file to ask for.  I've checked the archive they sent us and it doesn't contain any config files like that.
The config file was buried in: ftp://ftp.ensemblgenomes.org/pub/current/virtual_machines/EnsemblGenomes_38_Browser.ova
The file name in that image was "schizosaccharomyces_pombe.ini"

Here is an example of a track configuration.
The GSE24360_01 is the internal track ID.  I suggest we keep using those IDs as it's one less thing to change.  They are for internal use only and won't be visible to the users.
Ensembl has source_name, description and label which are shown in different places.
JBrowse has a key for each track which is shown in the menu at the left and on top of the track.  I think the Ensembl source_name will be too long for that so we'll need to come up with something shorter of each track.  We can show the source_name (and any text we like) in the "About this track" pop-up.
I'm writing a bit of Perl that will parse the whole Ensembl config and create a table with all the useful attributes for each track.  We can edit that and create the JBrowse config from it.
It looks like the variant section on the Ensembl pages isn't configured with this config file.  My guess is that they query the variant databases rather than configuring.  So we'll need to add those manually.
[GSE24360_01]
source_name = Chromatin binding - DamID / tiling array - Swi6 binding sites, unfused Dam used as experimental control, repeat 1 - Woolcock (2011)
description =
EuropePMC: Woolcock et al 2011
GEO: GSE24360
caption     = Woolcock (2011)
source_url  = http://ftp.ebi.ac.uk/pub/databases/pombase/DATASET/GSE24360/GSE24360_expr_M_CorV2_01.bw
source_type = bigWig
display     = off
colour      = #263B21

Two sections are commented out.  Should I include these in the table I make?
[MSchlackow_13_ssc_P]
source_name       = Poly(A) sites - RNA-Seq - strand specific cycling (forward strand) - Schlackow (2013)
description       =
EuropePMC: Schlackow et al 2013
caption           = Schlackow (2013)
source_url        = http://ftp.ebi.ac.uk/pub/databases/pombase/DATASET/MSchlackow_polyA/Strandspecific_cycling_P.bw
source_type       = bigWig
display           = off
colour             = #263B21

[MSchlackow_14_ssc_N]
source_name       = Poly(A) sites - RNA-Seq - strand specific cycling (reverse strand) - Schlackow (2013)
description       =
EuropePMC: Schlackow et al 2013
caption           = Schlackow (2013)
source_url        = http://ftp.ebi.ac.uk/pub/databases/pombase/DATASET/MSchlackow_polyA/Strandspecific_cycling_N.bw
source_type       = bigWig
display           = off
colour            = #263B21

I've just noticed there are about 30 other tracks that are in the config file but are disabled.  They're all from "Wilhelm (2008)".  They aren't visible in the Ensembl Genomes browser either.  Does anyone know the story behind that?
They look like:
[ERS078438]
source_name        = Transcripts - RNA-Seq - run34_s3 (ERS078438) - Wilhelm (2008)
caption            = Wilhelm (2008)
description        =
High throughput sequenceing of fission yeast to survey the dynamic repertoire of a eukaryotic transcriptome at the single nucleotide resolution (Study ERP001075)
EuropePMC: Wilhelm 2012
ArrayExpress: E-MTAB-5
source_url         = http://ftp.ebi.ac.uk/pub/databases/pombase/DATASET/ERP001075/ERS078438.bw
source_type        = bigWig
display            = off
colour             = #263B21

I'm writing a bit of Perl that will parse the whole Ensembl config and create a table

I've had a go at that.  I've pulled out what I can and tried to break the different bits into separate columns.  It's it Dropbox: Dropbox/pombase/PomBase_website/ensembl_track_config.tsv
I'm likely to overwrite that file as I tweak the Perl script so if you edit that file the changes will be lost.
Once we're happy with what we've got from the Ensembl config it will be quite straight forward to generate JBrowse track configuration.
The "description" from the Ensembl config is HTML.  I've attempted to pull the useful stuff out into the columns labelled:

short_description
first_author_and_date
pubmed_id
array_express_id
geo_id
ena_study_id

first_author_and_date

That's now two columns:

first_author
pub_date

great, these are the infor I was trying to collate here.
https://docs.google.com/spreadsheets/d/13STLSIvYcqKVaFxz_g3XKOkd-huwbu8qrdQWn9jVN8w/edit#gid=0
If you can populate as many as possible, @Antonialock  will probably only need to populate the
track description manually.

I would put the PMID in its own column, but other Ids in one column comma separated ?
We could probably just use the ID for the primary submission?

Gosh I'm remembering the horror of trying to impose consistency on  this stuff.

Ignore variation data for now. I'm not sure if GBrowse does anything useful with it (or can even handle it).  Variation data is tricky. We can look into that later. It maybe that we just point people to Ensembl for variation data .....

Two sections are commented out. Should I include these in the table I make?

that accounts for why I could not match up the tracks with the directory.
I think it was because some tracks were redundant. However, I don't think these were the correct ones to hide. It's all a bit confusing because  the names don't really make sense. Some
are described as strand specific and some as all data, but some described as "all data" have a forward or reverse strand caption.
I suggest , for now, include them all. Once we have the set up we can ask the authors to check.
Or @Antonialock  can check with them as she snity checks the descriptions in the spreadhseet are corrent

I think the Willhelm dataset was one we were trying to get hosted next  (I was trying to get all of the trancriptome data next  so we could assess the best  UTR predictions), but it got sidelined because of the Drupal migration.....
Include it and see what happens.

but other Ids in one column comma separated ?

It's easier to get link-outs working from JBrowse if we keep them separate.

Ignore variation data for now.

JBrowse can handle VCF files so it should be able to do something with the variation data.

Once we have the set up we can ask the authors to check.

Could we ask the authors to contribute descriptions for the files/tracks in the cases where we have trouble?

Could we ask the authors to contribute descriptions for the files/tracks in the cases where we have trouble?

we can check with the authors. Usually we did. but things got mangled....

We could probably just use the ID for the primary submission?

I don't understand that.  The IDs are for the primary submission.  The primary submission ID is the "study ID" isn't it?

Sorry that wasn't clear.
we could probably just use one  database ID per  dataset.
Things in Array Express have a GEO ID and vice versa,  and  and ENA ID (for AE) or a SRA ID (for GEO) I think maybe we only need one accession....and that should always be the AE or GEO where the dataset was submitted?
and we should report the GEO/AE accession which hold all of the meta data, not the ENA/SRA which are the nucleotide repositories.

Just to make sure, I'm waiting for a list of tracks that I will then add missing descriptions to?

wait until Kim has got as much data into the spreadsheet automated.
Then need to add any missing data/fields (it might only be  tweaking  the track display name if you are lucky)

goodie goodie (I'd be surprised :p )
On Fri, Feb 2, 2018 at 10:13 AM, Val Wood<EMAIL_ADDRESS>wrote:

wait until Kim has got as much data into the spreadsheet automated.
Then need to add any missing data/fields (it might only be tweaking the
track display name if you are lucky)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pombase/website/issues/672#issuecomment-362544706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMI00i5lVw2TGZXruOoZdnRDF579l1kjks5tQt_MgaJpZM4R1bhu
.

--
Antonia Lock, PhD
PomBase Biocurator, http://www.pombase.org
Department of Genetics, Evolution and Environment,
The Darwin Building,
University College London
London WC1E 6BT, UK

wait until Kim has got as much data into the spreadsheet automated.

I think I've extracted all I can from the Ensembl config into here:
Dropbox/pombase/PomBase_website/ensembl_track_config.tsv
Perhaps we could add any extra information as columns in that file?  Some of the information is duplicated so we can probably remove some columns too.
MIght be good to talk about that on Thursday.  Once we add a bit more to that file I'll write a little script to create the JBrowse configuration from it.

OK we can go through this tomorrow. It seems that you have made good progress.

I think we are all in here for this:
https://github.com/pombase/website/issues/691


Refs #24590 -- Ensured isolation between autodetector tests

Ticket: https://code.djangoproject.com/ticket/24590

Looks good, I usually use "Refs" for follow-up commits to distinguish from the main fix.

Changed. Thanks Tim.


new-chartspark doesn't show labels properly

when I use this pieve of code:
New-HTMLChart -Title 'User eperience issues reported' -TitleAlignment left {
    New-ChartCategory -Name $7days
    New-Chartspark -Name 'Poor Experience' -Value @(foreach ($1 in 1..7){get-random -Minimum 10 -Maximum 100})
    New-Chartspark -Name 'Bad Experience' -Value @(foreach ($1 in 1..7){get-random -Minimum 10 -Maximum 100})
}

the names aren't shown properly, the numbers are but the names show as series-1 etc

Should be working in next release. You just need to make sure to add New-ChartAxisX
New-HTML -TitleText 'My charts' -Online -FilePath $PSScriptRoot\Example-ChartSpark.html {
    New-HTMLTabOptions -SlimTabs
    New-HTMLPanelOption -BorderRadius 0px
    New-HTMLSectionOption -BorderRadius 0px
    New-HTMLTab -Name 'Sparklines Charts' -IconRegular chart-bar {
        New-HTMLSection -HeaderText 'Sparklines - Defaults' {
            New-HTMLPanel {
                New-HTMLChart {
                    New-ChartSpark -Name 'Test1' -Value 12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14 -Color Red
                    New-ChartSpark -Name 'Test2' -Value 15, 19, 20, 20, 11, 13, 70, 30, 45, 20, 18 -Color Yellow
                }
            }
            New-HTMLPanel {
                New-HTMLChart {
                    $Categories = @(
                        'Testing1'
                        'Testing2'
                        'Testing3'
                        'Testing4'
                        'Testing5'
                        'Testing6'
                        'Testing7'
                        'Testing8'
                        'Testing9'
                        'Testing10'
                        'Testing11'
                    )
                    New-ChartAxisX -Type category -Names $Categories
                    New-ChartSpark -Name 'Test1' -Value 12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14
                }
            }
            New-HTMLPanel {
                New-HTMLChart {
                    New-ChartSpark -Name 'Test1' -Value 12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14
                }
            }
            New-HTMLPanel {
                New-HTMLChart {
                    New-ChartSpark -Name 'Test1' -Value 12, 14, 2, 47, 42, 15, 47, 75, 65, 19, 14
                }
            }
        }
    }
} -ShowHTML


i have a problem with my code that disconects the tcp connection after few minutes

`/**

OnDemandConfigPortal.ino
example of running the configPortal AP manually, independantly from the captiveportal
trigger pin will start a configPortal AP for 120 seconds then turn it off.

*/
// بتاريخ 1/6/2024
// moshklet el connection beyfsl ba3d 2 minutes stopped with line firebase ready
// but another problem exists is the retrieve the data from the firebase with brainstorm of doing a stream for the data from the firebase
#include <Arduino.h>
#if defined(ESP32)
#include <WiFi.h>
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#elif defined(ESP8266)
#include <ESP8266WiFi.h>
#endif
#include <Firebase_ESP_Client.h>
//Provide the token generation process info.
#include "addons/TokenHelper.h"
//Provide the RTDB payload printing info and other helper functions.
#include "addons/RTDBHelper.h"
// select which pin will trigger the configuration portal when set to LOW
#define TRIGGER_PIN 0
int timeout = 120; // seconds to run for
#define API_KEY "AIzaSyCiIe1cxteVJtZFQl-7BKXX_6PJWcxed5Y"
// Insert RTDB URLefine the RTDB URL */
#define DATABASE_URL "https://grad2023-bbcb3-default-rtdb.firebaseio.com/"
#define Led_1 33
#define Led_2 4
#define Led_3 25
#define Led_4 26
#define Led_5 27
#define Led_6 14
#define Led_22 32
#define Input_1 34
#define Input_2 35
#define button1Pin 36
// Define Firebase Data object.
FirebaseData fbdo;
// Define firebase authentication.
FirebaseAuth auth;
// Definee firebase configuration.
FirebaseConfig config;
//======================================== Millis variable to send/store data to firebase database.
unsigned long sendDataPrevMillis = 0;
//const long sendDataIntervalMillis = 3000; //--> Sends/stores data to firebase database every 10 seconds.
bool signupOK = false;
unsigned long lastButtonPressTime = 0;
const unsigned long debounceDelay = 200;
int chstate=0;
int chstate1=0;
String  Engine_State="0";
String  cstate="0";
String DOOR_lOCK_state1;
String DOORUNLOCK;
String Caralarm;
String TrunkOpen;
String DOOR_lOCK_state;
String Emergency_state;
String Stopper_Button_State;
int LED_01_State;
int intValue;
float floatValue;
void setup() {
WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
// put your setup code here, to run once:
Serial.begin(115200);
WiFiManager wm;
bool res;
while (WiFi.status() != WL_CONNECTED){
Serial.print(".");
delay(5000);
res = wm.autoConnect("AutoConnectAP","password"); // password protected ap
// WiFi.reconnect();
}
// res = wm.autoConnect(); // auto generated AP name from chipid
// res = wm.autoConnect("AutoConnectAP"); // anonymous ap
if(!res) {
    Serial.println("Failed to connect");
    // ESP.restart();
}
else {
    //if you get here you have connected to the WiFi
    Serial.println("connected...yeey :)");
}

pinMode(TRIGGER_PIN, INPUT_PULLUP);
pinMode(Led_1, OUTPUT);
pinMode(Led_2, OUTPUT);
pinMode(Led_3, OUTPUT);
pinMode(Led_4, OUTPUT);
pinMode(Led_5, OUTPUT);
pinMode(Led_6, OUTPUT);
pinMode(Led_22, OUTPUT);
pinMode(Input_1, INPUT);
pinMode(Input_2, INPUT);
pinMode(button1Pin, INPUT);
digitalWrite(Led_1,HIGH);
digitalWrite(Led_2,HIGH);
digitalWrite(Led_3,HIGH);
digitalWrite(Led_4,HIGH);
digitalWrite(Led_5,HIGH);
digitalWrite(Led_6,HIGH);
// Assign the api key (required).
config.api_key = API_KEY;
// Assign the RTDB URL (required).
config.database_url = DATABASE_URL;
// Sign up.
Serial.println();
Serial.println("---------------Sign up");
Serial.print("Sign up new user... ");
if (Firebase.signUp(&config, &auth, "", "")){
Serial.println("ok");
signupOK = true;
}
else{
Serial.printf("%s\n", config.signer.signupError.message.c_str());
}
Serial.println("---------------");
// Assign the callback function for the long running token generation task.
config.token_status_callback = tokenStatusCallback; //--> see addons/TokenHelper.h
Firebase.begin(&config, &auth);
Firebase.reconnectWiFi(true);
config.timeout.wifiReconnect = 60 * 1000; // 1 minute
config.timeout.socketConnection = 30 * 1000; // 30 seconds
config.timeout.serverResponse = 30 * 1000; // 30 seconds
config.timeout.rtdbKeepAlive = 120 * 1000; // 2 minutes
config.timeout.rtdbStreamReconnect = 60 * 1000; // 1 minute
config.timeout.rtdbStreamError = 10 * 1000; // 10 seconds
Firebase.RTDB.setMaxRetry(&fbdo, 3);
fbdo.setBSSLBufferSize(4096 /* Rx buffer size in bytes from 512 - 16384 /, 1024 / Tx buffer size in bytes from 512 - 16384 */);
//
fbdo.setResponseSize(2048);
}
void loop() {
 if (WiFi.status() != WL_CONNECTED) {
    Serial.println("wifi disconected");

    delay(200);
}

int buttonState = digitalRead(button1Pin);
if (Firebase.RTDB.getString(&fbdo, "/CarController/Engine_Start")) {
if (fbdo.dataType() == "string") {
        cstate= fbdo.stringData();
        if(cstate!= Engine_State )
        { Engine_State =cstate;
        chstate=1;
        }

    } }

if (buttonState == HIGH) {
    // Button is pressed
    if (Engine_State == "1") {
        Engine_State = "0"; // Change from 1 to 0
          chstate=1;
          chstate1=1;
    } else {
        Engine_State = "1"; // Change from 0 to 1
        chstate=1;
        chstate1=1;
    }

// if (Firebase.ready()) {
if (Firebase.ready() ){
    // Update the Engine State in Firebase
    if(chstate1==1){
    Firebase.RTDB.setString(&fbdo, "/CarController/Engine_Start", Engine_State.c_str());
    Serial.print("Engine_State changed to: ");
    Serial.println(Engine_State);
    chstate1=0;

    }
    }

// }
// Retrieve Engine State from Firebase

delay(100); // for button rebounce
}
// Control LED based on Engine State
if(chstate==1){
Serial.println("chstate is 1 ");
if (Engine_State == "1") {
digitalWrite(Led_22, HIGH);
//Serial.println("LED ON");
} else {
digitalWrite(Led_22, LOW);
// Serial.println("LED OFF");
}
chstate=0;
}
// Other code or operations can be added here if needed
delay(50); // Debouncing delay to avoid multiple readings due to button press
} ` this is a debug of  a code that show the problem
B⸮!⸮B⸮Oc)3B⸮⸮!⸮[  5678][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: <IP_ADDRESS>, MASK: <IP_ADDRESS>, GW: <IP_ADDRESS>
*wm:connectTimeout not set, ESP waitForConnectResult...
[  6288][V][WiFiGeneric.cpp:362] _arduino_event_cb(): STA Disconnected: SSID: Ap, BSSID: 6e:b0:35:52:ea:e4, Reason: 202
[  6289][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 5 - STA_DISCONNECTED
[  6295][W][WiFiGeneric.cpp:1057] _eventCallback(): Reason: 202 - AUTH_FAIL
[  6302][D][WiFiGeneric.cpp:1077] _eventCallback(): WiFi Reconnect Running
[  6381][V][WiFiGeneric.cpp:97] set_esp_interface_ip(): Configuring Station static IP: <IP_ADDRESS>, MASK: <IP_ADDRESS>, GW: <IP_ADDRESS>
[  7020][V][WiFiGeneric.cpp:355] _arduino_event_cb(): STA Connected: SSID: Ap, BSSID: 6e:b0:35:52:ea:e4, Channel: 1, Auth: WPA2_PSK
[  7021][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 4 - STA_CONNECTED
[  7047][V][WiFiGeneric.cpp:369] _arduino_event_cb(): STA Got New IP:<IP_ADDRESS>
[  7047][D][WiFiGeneric.cpp:1035] _eventCallback(): Arduino Event: 7 - STA_GOT_IP
[  7050][D][WiFiGeneric.cpp:1098] _eventCallback(): STA IP: <IP_ADDRESS>, MASK: <IP_ADDRESS>, GW: <IP_ADDRESS>
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: <IP_ADDRESS>
connected...yeey :)
---------------Sign up
Sign up new user... [  7101][V][WiFiClientImpl.h:317] tcpConnect(): Starting socket
ok
[  8971][V][WiFiClientImpl.h:317] tcpConnect(): Starting socket
chstate is 1
Engine_State changed to: 0
chstate is 1
Engine_State changed to: 1
chstate is 1
Engine_State changed to: 0
chstate is 1
[125729][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 104, "Connection reset by peer"
[125730][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125736][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
Engine_State changed to: 1
chstate is 1
[125805][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125807][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125813][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125871][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125873][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125879][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125937][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125939][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[125945][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[126003][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[126005][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[126011][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[126069][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
[126071][E][WiFiClientImpl.h:468] tcpWrite(): fail on fd 48, errno: 128, "Socket is not connected"
please help me to handle this problem

May be a router or AP problem, you should try other AP.

May be a router or AP problem, you should try other AP.

I want the code if there is aproblem in connection they try again until internet comes again with consider that internet connection is stable in my wifi

It's not because of your code and Firebase library but your network issue related to your AP (router) device or your ESP device.
In some case of ESP32, the outdate WiFi library bugs on old core SDK causes the problem when using WiFi.reconnect function.
This function was used in library internally.
If you use ESP32, you have to update the ESP32 Arduino Core SDK to lates to fix the bug.

firstly i would to thank you for your comment
, secondly i did the updated for the sdk and for all libraries used here and still face same problem if there any way to make reopen the tcp connection again if any problem exists to solve this problem
and thank you again

It's not because of your code and Firebase library but your network issue related to your AP (router) device or your ESP device.
In some case of ESP32, the outdate WiFi library bugs on old core SDK causes the problem when using WiFi.reconnect function.
This function was used in library internally via Firebase.reconnectWiFi.
If you use ESP32, you have to update the ESP32 Arduino Core SDK to lates to fix the bug.

firstly i would to thank you for your comment
, secondly i did the updated for the sdk and for all libraries used here and still face same problem if there any way to make reopen the tcp connection again if any problem exists to solve this problem
and thank you again

I all examples, you will see this comment (if you use it carefully)
https://github.com/mobizt/Firebase-ESP-Client/blob/51a66259128d9bbc1be61eb9ceb28adc4eaf1a0a/examples/RTDB/Basic/Basic.ino#L118-L119

a

I all examples, you will see this comment (if you use it carefully)
https://github.com/mobizt/Firebase-ESP-Client/blob/51a66259128d9bbc1be61eb9ceb28adc4eaf1a0a/examples/RTDB/Basic/Basic.ino#L118-L119

thanks for your comment, actually i did the test again but without wifi manager and face same problem

I all examples, you will see this comment (if you use it carefully)
https://github.com/mobizt/Firebase-ESP-Client/blob/51a66259128d9bbc1be61eb9ceb28adc4eaf1a0a/examples/RTDB/Basic/Basic.ino#L118-L119
i just notice another point the the code didnt take the button high effect only when effect when i click for such a second

You should test with library example alone, if you still get the issue your device or router is the problem.

Actually, there is no problem with all library examples as I intensively test 24/7 for many years in many devices.
When integration use with third party library, you have to debug it yourself.


Update WebApp dependencies to latest

Summary
Update project dependency to latest:
 @formatjs/intl-pluralrules                   3.2.3  →    3.4.8
 @formatjs/intl-relativetimeformat            6.2.3  →    7.2.8
 bootstrap                                    3.4.1  →    4.5.2
 highlight.js                                10.1.2  →   10.2.1
 jasny-bootstrap                              3.1.3  →    4.0.0
 katex                                       0.11.1  →   0.12.0
 localforage                                  1.7.3  →    1.9.0
 localforage-observable                       2.0.1  →    2.1.1
 pdfjs-dist                                 2.1.266  →  2.5.207
 prettier                                     2.0.5  →    2.1.2
 react-hot-loader                           4.12.21  →   4.13.0
 react-inlinesvg                              1.2.0  →    2.1.1
 react-intl                                   5.3.2  →    5.8.4
 react-overlays                               1.2.0  →    4.1.0
 react-select                                 2.4.4  →    3.1.0
 redux-persist                               4.10.2  →    6.0.0
 superagent                                   5.2.2  →    6.1.0
 tinycolor2                                   1.4.1  →    1.4.2
 typescript                                   3.9.7  →    4.0.3
 @babel/cli                                  7.10.5  →   7.11.6
 @babel/core                                 7.10.5  →   7.11.6
 @babel/plugin-proposal-object-rest-spread   7.10.4  →   7.11.0
 @babel/preset-env                           7.10.4  →   7.11.5
 @storybook/addon-actions                    5.3.19  →   6.0.22
 @storybook/addon-knobs                      5.3.19  →   6.0.22
 @storybook/addon-links                      5.3.19  →   6.0.22
 @storybook/addon-notes                      5.3.19  →   5.3.21
 @storybook/addons                           5.3.19  →   6.0.22
 @storybook/react                            5.3.19  →   6.0.22
 @testing-library/react                      10.4.9  →   11.0.4
 @types/enzyme                               3.10.5  →   3.10.7
 @types/history                               4.7.7  →    4.7.8
 @types/jest                                26.0.12  →  26.0.14
 @types/marked                                0.7.4  →    1.1.0
 @types/node                                14.0.23  →  14.11.2
 @types/react-bootstrap                     0.32.22  →  0.32.24
 @types/react-select                         3.0.19  →   3.0.21
 @typescript-eslint/eslint-plugin             3.6.1  →    4.3.0
 @typescript-eslint/parser                    3.6.1  →    4.3.0
 babel-jest                                  26.1.0  →   26.3.0
 babel-plugin-typescript-to-proptypes        0.17.1  →    1.4.1
 browser-resolve                             1.11.3  →    2.0.0
 copy-webpack-plugin                          6.0.3  →    6.1.1
 css-loader                                   3.6.0  →    4.3.0
 enzyme-adapter-react-16                     1.15.4  →   1.15.5
 enzyme-to-json                               3.5.0  →    3.6.1
 eslint                                       7.4.0  →   7.10.0
 eslint-import-resolver-webpack              0.12.2  →   0.13.0
 eslint-plugin-cypress                       2.11.1  →   2.11.2
 eslint-plugin-header                         3.0.0  →    3.1.0
 eslint-plugin-import                        2.22.0  →   2.22.1
 eslint-plugin-react                         7.20.6  →   7.21.2
 file-loader                                  6.0.0  →    6.1.0
 html-loader                                  1.1.0  →    1.3.1
 html-webpack-plugin                          4.3.0  →    4.5.0
 image-webpack-loader                         6.0.0  →    7.0.1
 jest                                        26.1.0  →   26.4.2
 jest-canvas-mock                             2.2.0  →    2.3.0
 jest-cli                                    26.1.0  →   26.4.2
 jest-junit                                  11.0.1  →   11.1.0
 mini-css-extract-plugin                      0.9.0  →   0.11.2
 sass-loader                                  8.0.2  →   10.0.2
 webpack                                     4.43.0  →   4.44.2
 webpack-node-externals                       1.7.2  →    2.5.2

Ticket Link

Related Pull Requests

Has server changes (please link here)
Has redux changes (please link here)
Has mobile changes (please link here)

Screenshots

Thanks @GuyKh for the pull request!
Per the CONTRIBUTING.md file displayed when you created this pull request, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
This is a standard procedure for many open source projects. Your form should be processed within 24 hours and reviewers for your pull request will be able to proceed.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

Signed the CLA

/check-cla

Thank you @GuyKh for the contribution!
@crspeller I wasn't sure what our process is for dependency updates, so pinging you for this PR.

Hi @GuyKh. Thanks for your interest! However our dependencies are not in quite enough order to be able to blindly update them like that. A bunch of those updates have known problems. As well, for security, we usually only allow core committers to perform dependency updates.
If you are looking for good ways to contribute to Hacktoberfest with us, a good place to start is: https://mattermost.com/hacktoberfest/
Going to close this.


Verbose security log message for yanked release

Fixes #8564
This PR is a very straightforward one and with no tests since it's just HTML. So, as a minimal proof that it's working, here's a print screen from my local env:

Do we know if event.additional.canonical_version and event.additional.submitted_by are present on all existing events? (were they added in the same PR as the yanked events themselves ?
Otherwise this may create problems.


Fix prbot e2eTestsCustomSelector param

PR for issue
What is being addressed
A prior change introduced a new line in a string that is causing an issue as shown here.
How is this addressed

Fix prbot yaml file to strip any new line breaks from the string

/test-force-approve
pr bot isn't tested...


PoolAcquirePendingLimitException, Pending acquire queue has reached its maximum size of 1000

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

clone this
https://github.com/Azure-Samples/azure-spring-boot-samples/tree/tag_azure-spring-boot_3.6.0/eventhubs/azure-spring-cloud-sample-eventhubs-binder

posting thousands of messages to the event hub

and run mvn spring-boot:run

Any log messages given by the failure

2021-08-18 18:04:52.407  INFO 5196 --- [tition-pump-1-2] c.a.s.s.e.b.EventHubBinderApplication    : New message received: '{user_id=uid001, last_updated=578925754902300, subtitle=KR, content_id=ID35685, progress=on, category=cat1}', partition key: null, sequence number: 24326, offset:<PHONE_NUMBER>, enqueued time: 2021-08-18T07:45:54.149Z
2021-08-18 18:04:52.407 ERROR 5196 --- [     parallel-1] c.a.s.s.e.b.EventHubBinderApplication    : Exception found
reactor.netty.internal.shaded.reactor.pool.PoolAcquirePendingLimitException: Pending acquire queue has reached its maximum size of 1000
at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.drainLoop(SimpleDequePool.java:363) ~[reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.pendingOffer(SimpleDequePool.java:549) ~[reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool.doAcquire(SimpleDequePool.java:266) ~[reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.netty.internal.shaded.reactor.pool.AbstractPool$Borrower.request(AbstractPool.java:399) [reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.netty.resources.DefaultPooledConnectionProvider$DisposableAcquire.onSubscribe(DefaultPooledConnectionProvider.java:213) ~[reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.netty.internal.shaded.reactor.pool.SimpleDequePool$QueueBorrowerMono.subscribe(SimpleDequePool.java:674) ~[reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.netty.resources.PooledConnectionProvider.lambda$acquire$1(PooledConnectionProvider.java:137) ~[reactor-netty-core-1.0.7.jar:1.0.7]
at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:57) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.lambda$subscribe$0(HttpClientConnect.java:269) ~[reactor-netty-http-1.0.7.jar:1.0.7]
at reactor.core.publisher.MonoCreate.subscribe(MonoCreate.java:57) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.FluxRetryWhen.subscribe(FluxRetryWhen.java:76) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoRetryWhen.subscribeOrReturn(MonoRetryWhen.java:46) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.netty.http.client.HttpClientConnect$MonoHttpConnect.subscribe(HttpClientConnect.java:272) ~[reactor-netty-http-1.0.7.jar:1.0.7]
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.FluxRetryWhen.subscribe(FluxRetryWhen.java:76) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoRetryWhen.subscribeOrReturn(MonoRetryWhen.java:46) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:57) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:64) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoDelaySubscription.accept(MonoDelaySubscription.java:52) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoDelaySubscription.accept(MonoDelaySubscription.java:33) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.FluxDelaySubscription$DelaySubscriptionOtherSubscriber.onNext(FluxDelaySubscription.java:130) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoDelay$MonoDelayRunnable.propagateDelay(MonoDelay.java:270) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.publisher.MonoDelay$MonoDelayRunnable.run(MonoDelay.java:285) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68) ~[reactor-core-3.4.6.jar:3.4.6]
at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28) ~[reactor-core-3.4.6.jar:3.4.6]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_272]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_272]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_272]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_272]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_272]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_272]
Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

as listed in the maven build file

Mention any other details that might be useful
same situation at the customer, i was trying to reproduce it with the example posted here, but same error

Thanks! We'll be in touch soon.

hi @euchungmsft,thanks for reaching us, we will look into it and reply to you soon.

Hi @euchungmsft , could you provide below information to help us investigate this issue?

How do you post messages to the event hub?
Hope you could provide your configuration of checkpointing,e.g., the application.yaml/application.properties for checkpointing and also the code. We would like to know if you use your customized way of checkpointing.

Hi @yiliuTo

Simply pushed it to EH, source code is over here,
https://github.com/euchungmsft/azure-examples/blob/main/az-eventhub-native/src/main/java/com/eg/az/eh/nat/Sender.java

Almost no changes from the example, source code is over here,
https://github.com/euchungmsft/azure-examples/tree/main/azure-spring-cloud-sample-eventhubs-binder

You can reproduce the issue by simply running the example here
https://github.com/Azure-Samples/azure-spring-boot-samples/tree/tag_azure-spring-boot_3.6.0/eventhubs/azure-spring-cloud-sample-eventhubs-binder

@yiliuTo  could you please share the status of this to me ? it's almost the time to move on to next step with this

Thank you so much for the feedback, customer's now ready to test this again. It's right on time
@yiliuTo  partition count is already 32 at its max, 2 was already done when I was raising this issue, let me test with 3
I'll get back to you soon, thanks

Let's close this for now, I'll get back to you @yiliuTo once there's further request from them. Thans !!


Link to deeplizard CNN short video lecture added.

In this video, the concept of convolutional neural networks are explained, how they’re used, and how they work on a technical level. Also the details behind convolutional layers and filters are discussed.
Link to YouTube video lecture added.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @menpj
Thank you for your PR but currently, we do not merge PRs that only add to the More Information section.
You can refer to the Contributing Guide here to see why we close certain PRs.


Add support for BatchClient

Google has added BatchClient for reading large amount of data in parallel from Cloud Spanner. This client should also be accessible from the driver.

Support for the batch read-only client has been added. The use of it can be activated by setting the connection property BatchReadOnlyMode. This can be done with a method on the connection object or by executing the statement 'set_connection_property BatchReadOnlyMode=true/false'. Subsequent calls to the Statement#execute(String) and PreparedStatement#execute() methods will be executed as partitioned queries possibly returning multiple result sets. These result sets are lazily executed, meaning that the actual execution of the query will only take place once a method is called on this result set. The processing of the different result sets can therefore be distributed over multiple workers.


Produce block: filter out incompatible shuffling attestations

Motivation
Lodestar includes incompatible shuffling attestations when producing a block, see https://github.com/ChainSafe/lodestar/issues/4333#issuecomment-1191471214
Description

Filter out incompatible shuffling attestations based on forkchoice and attester dependent root in state
Refer to lighthouse's implementation: https://github.com/sigp/lighthouse/blob/21dec6f603edd53ad8d2372941c77ab8098d3b5a/beacon_node/beacon_chain/src/beacon_chain.rs#L1933

Closes #4333
TODOs

[x] Deploy to a node
[x] Issue curl to produce blocks, make sure there are enough attestations returned

I was able to produce blocks with enough attestations on contabo-18, ready for review


Macvlan and LACP

Not sure if this is a bug or a feature ;)
I'm running vMX on docker as a lab environment to test our automation. In the real world we have LACP between some routers, so in the lab I wanted to do the same.
My understanding of macvlan was that is acted as a layer 1 connection. So I've got 2 vMX's with 2 networks, both macvlan. And in some level, it does work. LACP is up and running. However, I get no unicast. I do see ARP traffic when tcpdumping, but no ICMP.
When I remove the LACP bundle, ping does work.
If this is something that "just doesn't work", I'm fine with that. Although I was hoping to recreate our real life environment in the lab as much as possible.
$ docker inspect vmx_02-rt1-rt2-1
[
    {
        "Name": "vmx_02-rt1-rt2-1",
        "Id": "b3f87a63bd47ffca99b3f6d095ae52b3b8fbdd8e4b87504e3080a31a22af4b36",
        "Created": "2021-03-05T11:11:20.532045287Z",
        "Scope": "local",
        "Driver": "macvlan",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/26",
                    "Gateway": "<IP_ADDRESS>"
                }
            ]
        },
        "Internal": false,
        "Attachable": true,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "1ddc62eadca9435761bf3eb40e3c99da3879135511754c60bf1b13d704508568": {
                "Name": "vmx_rt001i_1",
                "EndpointID": "2b85a40ed5fc207da718004f32f2ca14fab1bef182f276f0f5d580bd3242dcfc",
                "MacAddress": "02:42:ac:1d:10:42",
                "IPv4Address": "<IP_ADDRESS>/26",
                "IPv6Address": ""
            },
            "5c1b9df87936f54814d6ecb586570656fc9bbaa3f348854cc374ed1fb8505a27": {
                "Name": "vmx_rt002i_1",
                "EndpointID": "f0121e83823920fdee262aa64dbeb31dfd50c06df48672c011e5384a2701f8f1",
                "MacAddress": "02:42:ac:1d:10:43",
                "IPv4Address": "<IP_ADDRESS>/26",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {
            "com.docker.compose.network": "02-rt1-rt2-1",
            "com.docker.compose.project": "vmx"
        }
    }
]
$ docker inspect vmx_03-rt1-rt2-2
[
    {
        "Name": "vmx_03-rt1-rt2-2",
        "Id": "86035e40cee857c0cbce231b3432abfdd98276dd991bd8302c1ed890d93add27",
        "Created": "2021-03-05T11:11:20.618603232Z",
        "Scope": "local",
        "Driver": "macvlan",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": null,
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/26",
                    "Gateway": "<IP_ADDRESS>"
                }
            ]
        },
        "Internal": false,
        "Attachable": true,
        "Ingress": false,
        "ConfigFrom": {
            "Network": ""
        },
        "ConfigOnly": false,
        "Containers": {
            "1ddc62eadca9435761bf3eb40e3c99da3879135511754c60bf1b13d704508568": {
                "Name": "vmx_rt001i_1",
                "EndpointID": "37195e5e9a4ddcd465bbf49c4e083dac7406363dece065eaa6898bdd8c1e8bef",
                "MacAddress": "02:42:ac:1d:10:82",
                "IPv4Address": "<IP_ADDRESS>/26",
                "IPv6Address": ""
            },
            "5c1b9df87936f54814d6ecb586570656fc9bbaa3f348854cc374ed1fb8505a27": {
                "Name": "vmx_rt002i_1",
                "EndpointID": "8e2256e3d01d69cadd446dc41cfd87ce6d9d44d7e2225955fef0dc803ac96fbc",
                "MacAddress": "02:42:ac:1d:10:83",
                "IPv4Address": "<IP_ADDRESS>/26",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {
            "com.docker.compose.network": "03-rt1-rt2-2",
            "com.docker.compose.project": "vmx"
        }
    }
]

root@vmx_rt001i_1> show configuration interfaces
ge-0/0/0 {
    description vmx_02-rt1-rt2-1;
    gigether-options {
        802.3ad ae0;
    }
}
ge-0/0/1 {
    description vmx_03-rt1-rt2-2;
    gigether-options {
        802.3ad ae0;
    }
}
ae0 {
    aggregated-ether-options {
        minimum-links 1;
        lacp {
            active;
        }
    }
    unit 0 {
        family inet {
            address <IP_ADDRESS>/24;
        }
    }
}

That's expected behavior (only BUM traffic passing over ae interfaces when using macvlan). Reason is how macvlan works: it steers traffic based on MAC address towards interfaces, allowing multiple virtual interfaces to share a single parent interface. The ae0 interface has a new, vmx auto-generated mac address, unknown to macvlan.
Alternatively, you can assign a physical interface into a container and use it that way (requires some trickery via linux network namespaces) or use veth pairs, e.g. via https://github.com/mwiget/link-containers, which doesn't have the restriction and allows LAG's with LACP to work.

@mwiget Thanks for clearing that up!


diff function returns negative zero (-0)

in theoretical math you can have negative zero while representing movement around zero. In computer science you can also have negative zeros when negative quantity underflows to zero
Should diff function return integer w/o negative zero?
code:
    let days_left = moment(this.props.task.get('due_date')).diff(moment(), 'days');
    console.log('days_left: ', this.props.task.get('due_date'), days_left, moment().toDate().toISOString());

console output:
days_left:  2016-06-08T21:00:00.000Z -1 2016-06-10T08:12:06.820Z
days_left:  2016-06-09T21:00:00.000Z -0 2016-06-10T08:12:06.845Z
days_left:  2016-06-10T21:00:00.000Z 0 2016-06-10T08:12:06.869Z

to have better visual, screenshot of console:

Runnable code to reproduce:
moment('2016-06-09T21:00:00.00Z').diff('2016-06-10T08:12:06.845Z', 'days')

As a general rule, we don't want anything returning negative zero. Computer scientists have their reasons for making floating point as they do. Our users though, mostly just want to format the difference between dates in a way that makes sense to their users.

closed in favor of #3232


just, value, and return vs of

In the name of reducing the API surface area. I'd like to remove just, value, and return (I think we already removed just) in favor of using of.
In order to make of more comparable to value or return, we could return a ScalarObservable if of is just one value.

Getting rid of return/just doesn't make sense from a perf perspective at least in my mind because you're talking about a recursive scheduling versus a single onNext/onCompleted.

@mattpodwysocki .. you're correct, but what I was going to do is simply check arguments.length === 1 and return an ScalarObservable, which is exactly what you'd want.

The performance tests show no measurable difference between Observable.of() checking argument length and returning a scalar, vs Observable.return, value or just.

In fact, I'd wager we can remove fromPromise and fromArray and just use from, based on this same sort of premise.


USHIFT-1781: Add unprivileged router tests

Which issue(s) this PR addresses:

Closes #

/hold

/lgtm


Implement okid

This PR implements okid=observer_kalman_identification.
The api should be the same or very similar to that of ct.markov.
An additional goal is for ct.okid and ct.era to work well together.
T = np.linspace(0, 10, 100)
U = np.ones((1, 100))
T, Y = ct.forced_response(ct.tf([1], [1, 0.5], True), T, U)
H = ct.okid(Y, U, 3)

T = np.linspace(0, 10, 100)
U = np.ones((1, 100))
response = ct.forced_response(ct.tf([1], [1, 0.5], True), T, U)
H = ct.okid(response, 3)

coverage: 94.041% (-0.6%) from 94.629%
when pulling ae2aea7644d650d78e804b3860c5526571207262 on KybernetikJo:implement_okid
into da64e0e8a7136f5e538fb6fede946a6d4c07129e on python-control:main.

@KybernetikJo This PR needs to be rebased on main (and okid should be expanded to observer_kalman_identification (or observer_kalman_id to keep things a bit shorter?).

@KybernetikJo I will be doing a release of python-control in the coming days.  If you have time to update this PR prior to that, we can include in v0.10.1.  Otherwise, it can go in the next release.

@murrayrm

@KybernetikJo I will be doing a release of python-control in the coming days. If you have time to update this PR prior to that, we can include in v0.10.1. Otherwise, it can go in the next release.

Sorry for the late reply, I didn't have time at all.
State of okid:

I think code is OK, docstring is OK, example is OK!

But:

I have to think about the m parameter again. In the paper, the algorithm estimates (m+1) parameters, but it should be consistent with makrov's m parameters.
-I am not satisfied with my unit tests, maybe someone has suggestions for improvement.


Revert "Correct a few typos"

Reverts react-boilerplate/react-boilerplate#2133

Coverage remained the same at 100.0% when pulling a8a7f811eadba24ec8d04980eb0d15123d7c492b on revert-2133-patch-1 into 9b3b7351f013aa5aff1404e73db794ce8298b400 on master.

Coverage remained the same at 100.0% when pulling a8a7f811eadba24ec8d04980eb0d15123d7c492b on revert-2133-patch-1 into 9b3b7351f013aa5aff1404e73db794ce8298b400 on master.


Adding byte metering andd logging to TCP connections

Signed-off-by: Joseph Straceski<EMAIL_ADDRESS>Updating the TCP Wire Bytes access logging refrence
Signed-off-by: Joseph Straceski<EMAIL_ADDRESS>Documented changes made to TCP byte metering
Signed-off-by: Joseph Straceski<EMAIL_ADDRESS>/assign @kbaichoo

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @KBaichoo

ping @ggreenway PTAL

/assign @zuercher
think greg is actual OOO though calendar doesn't reflect it


ACC Fixes

These are the same ACC fixes as with tesla_devel. Tested and working fine on 0.6.3. I have some upcoming fixing for ACC not disabling sometimes when braking.

Instead of bringing in all of these merge pull commits into this branch, I recommend instead you create a new branch off of tesla_alpha and then cherry-pick the one merge commit from tesla_devel. This makes for a much cleaner branch pr.

Will do.


Update README.md to reflect 0.9.3 changes

Closes issue #97

Merge. Tag master branch as v0.9.3. Create and test the mosrs-setup/0.9.3 module.


Contributors Roles in Product Evaluations

Sponsor (of the evaluation): This is the body responsible for requesting and usually financing an evaluation.

Derived in part from <IP_ADDRESS>.e of CC Part 1 (CC:2022):
Sponsor: Entity responsible for requesting and supporting an evaluation
Do we want that to be entity or entities?

Decided to be: Any entity that is responsible for requesting and/or supporting an evaluation.

Closed in workshop.


Hard-coded bash path

Changed '#!/bin/bash' to '#!/usr/bin/env bash'.
There do not exist bash in most Unix system, like bsd family.

Can one of the admins verify this patch?

I signed it!

@tensorflow-jenkins test this please

The Linux CPU test has failed //tensorflow/tools/docs:gen_docs_test. @iblis17 can you fix it please?

Hi @jendap
Please test it again, tnx!

@tensorflow-jenkins test this please

LGTM, thank you @iblis17


Are maps spoilers or helpful?

As I play through adventures, I'm creating maps for my own benefit. Just location names and visible exits.
I'm not well versed in the IF world. Is sharing these maps to source code a beneficial addition or a faux pas?

I think it's usually OK to include spoilers as long as there's a warning to the user, so they don't accidentally see anything they don't want to. Some of the in-game hints have spoilers, which I blurred out until the user clicks them.
It would probably be fairly easy to include PDFs or even Trizbort map files as downloadable links from the adventure page. There's already a way to store assets within the adventures, currently only used for this image which appears on the Caves of Treasure Island intro screen: https://github.com/kdechant/eamon/blob/master/adventure/static/adventures/the-caves-of-treasure-island/treasure-island-map.png
If I had all the time in the world, I would try to implement an in-game automap, which would be really cool and also sounds like a ton of work. Margaret Anderson (author of several Eamon adventures) actually built one on the Apple II a few years ago, but I don't know how to get the source code.

Maps for nearly every adventure are already available online at http://www.eamonag.org/maps/eamon_maps2.htm
I tend to regard the making of a map part of the joy of the exploration, and only use the published maps  if I'm irredeemably stuck. The reason I avoid them when exploring is that maps show secret passages, destroying the joy of looking for and finding those features.  As such, I regard them as spoilers and wouldn't want them to be routinely included.
But like the potential spoilers in the hints, they can head off frustration as well.  When you miss the clues to a secret passage the first time you enter a room, it can be very tedious to look or examine every room description to find the secret that was missed.  So I agree that treating the same way as the existing hints has merit.
I wish I had the time and programming skills to help write an automapping feature. It does sound really cool.


WPP.contac.list Bug

The data structure obtained from WPP.contact.list() has been modified, causing the properties or methods such as isUser, isMyContact, formattedPhone, and others to be used incorrectly. Please fix this issue.Tks.
Environment

**WhatsApp version: web.whatsapp.com
**WA-JS version(s): 2.24.4
**Browser: Chrome 114
**OS: OSX

I have the same problem, I am not able to list my contacts through "await WPP.contact.list({onlyMyContacts: true})"


Updating the saveFiles.js to check if account is private

I was getting an error downloading my profile because it was private (DOH!), which might not be obvious to others projects implementing this library (https://github.com/rtorr/universal-static-instagram for example).
Running DEBUG=instagram-download:* babel-node server/data/fetch.js in https://github.com/rtorr/universal-static-instagram will now produce
 instagram-download:options OPT dir /Users/rtorr/rtorr/universal-static-instagram/_cache +0ms
  instagram-download:options OPT client 21de5de8375348309375aef95239de57 +3ms
  instagram-download:options OPT secret 15f686934ae14d32b6c5f5f6a940c99f +2ms
  instagram-download:options OPT user 919141 +0ms
  instagram-download:options OPT domain i.rtorr.com +0ms
  instagram-download:options OPT _  +0ms
  instagram-download:download User dir /Users/rtorr/rtorr/universal-static-instagram/_cache/919141 +2ms
  instagram-download:download Json dir /Users/rtorr/rtorr/universal-static-instagram/_cache/919141/json +1ms
  instagram-download:download Media dir /Users/rtorr/rtorr/universal-static-instagram/_cache/919141/media +0ms
  instagram-download:options OPT dir /Users/rtorr/rtorr/universal-static-instagram/_cache +31ms
  instagram-download:options OPT user 919141 +0ms
  instagram-download:read Reading directory /Users/rtorr/rtorr/universal-static-instagram/_cache/919141/json +1ms
  instagram-download:download Fetching since<PHONE_NUMBER>453381884_919141 2015-09-10T18:11:09.000Z +149ms
  instagram-download:api API calls left undefined +280ms
APINotAllowedError
  instagram-download:api Its possible the user's account you are trying to download is private +0ms
  instagram-download:api API error Error: APINotAllowedError: you cannot view this resource +1ms```

Which can be helpful.

Sweet! Thanks @rtorr!

Published as v1.1.4


docs: add Reference docs structure and add first signal proposal

Description

closes: #147
Tasks

[ ] Add Reference docs structure
[ ] Add first signal proposal

References

Reference docs in cosmos-cash project

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Appropriate labels applied
[ ] Targeted PR against correct branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

LGTM


How to configure different weekly collections

Before you submit a new bug report, please check that

[X] I have read frequently asked questions and limitations

Write your question here
Can this cater for weekly collections that alternate each week?
e.g. our collections are weekly, but alternate between recycled (pink bags) and non-cycled (black bags).

Thanks

Yes. Configure 2 integration entities, one for pink, one for black. Both with collection every n days, with period 14 days, with different first date (or you can do even and odd weeks, but these are based on the week number, that resets each year).

Thanks for this. I set up 2 entities as described and that's fine.
Although, I have a small problem that if I set the entities to verbose mode, no text is shown. I left the defaults for the formatting etc.
However, ideally I'd like one UI icon to show either a pink bag icon or black one depending on what's coming next. How would I achieve that?


⚠ Bofrost.es has degraded performance

In babd5d5, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1667 ms

Resolved: Bofrost.es performance has improved in f10b4ef after 9 minutes.


Using RequiredAcksNone causes panic when writing to kafka.

Here is my code:
awriter.broker, err = kafka.Dial(myEndpoints, kafka.NewBrokerConf("myapp"))
count, err = awriter.broker.PartitionCount("metricTopic")
if err != nil {
  return
}
conf := kafka.NewProducerConf()
conf.RequiredAcks = proto.RequiredAcksNone  // If I use proto.RequiredAcksLocal, then no panic.
producer := awriter.broker.Producer(conf)
awriter.producer = kafka.NewRoundRobinProducer(producer, count)

When I later call
awriter.producer.Distribute("myApp", msgs...)

It panics with the following:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x61ef4d]

goroutine 2657 [running]:
github.com/optiopay/kafka.(*producer).produce(0xc82e351e80, 0xc8200f6420, 0xb, 0xc800000000, 0xc835ce4000, 0x3e8, 0x3e8, 0x0, 0x0, 0x0)
        /home/bill/mygo/src/github.com/optiopay/kafka/broker.go:816 +0x128d
github.com/optiopay/kafka.(*producer).Produce(0xc82e351e80, 0xc8200f6420, 0xb, 0x0, 0xc835ce4000, 0x3e8, 0x3e8, 0x0, 0x0, 0x0)
        /home/bill/mygo/src/github.com/optiopay/kafka/broker.go:742 +0xcb
github.com/optiopay/kafka.(*roundRobinProducer).Distribute(0xc82e378a40, 0xc8200f6420, 0xb, 0xc835ce4000, 0x3e8, 0x3e8, 0x0, 0x0, 0x0)
        /home/bill/mygo/src/github.com/optiopay/kafka/distributing_producer.go:85 +0xf7

Best I can tell is in broker.go around line 800, the call to resp, err := conn.Produce(&req) is probably returning both a nil resp and a nil error.

Which version are you using? Your stack trace is saying that broker.go:816 is line where (*producer).produce is called, but HEAD looks differently https://github.com/optiopay/kafka/blob/master/broker.go#L813-L816

Ill do a pull tomorrow
On Thursday, February 18, 2016, Piotr Husiatyński<EMAIL_ADDRESS>wrote:

Which version are you using? Your stack trace is saying that broker.go:816
is line where (*producer).produce is called, but HEAD looks differently
https://github.com/optiopay/kafka/blob/master/broker.go#L813-L816
—
Reply to this email directly or view it on GitHub
https://github.com/optiopay/kafka/issues/54#issuecomment-186071994.

After doing the pull, this problem went away. Closing.


feat: Async execution API workflow

Somewhat related to #1 - we need persistence layer to implement async execution.
Right now the only way to exec the flows is the CLI - which is great. But with a long-running, async flows - like waiting for an email etc. an event based architecture would be way better.
I think it would be ideal if we can define the simple API per Team (maybe let's give a way to define the endpoints while defining a Team @grabbou ?) - the default endpoints that came to my mind are:

team/kickoff - to start a new task for the team - returns the unique workflowId (used within the persistence layer to store the context)
team/[workflowId]/step - execute a next step
team/[workflowId]/status - get the status
team/[workflowId]/callstack - get the debug information (JSON logs - what steps were executed by which agents)


the problemdata

Hello, thank you very much for your method to help me. At the beginning, I ran part of the data without any problem, but later I added the new data, and some problems occurred. After the query, I found that the mask after resize was all 0, but there was some mask in the original one. How can I change this mistake?

You can try skipping image/label pairs with all-zero masks after the resize operation by using an online judgment. However, we do not recommend adopting this approach because skipping a significant number of images would greatly reduce the training image count, which can impact the final experimental results. To implement the mentioned functionality, you can add the following condition at the corresponding position in the DataLoader.py file:
augments = transforms(image=image, mask=pre_mask)
image_tensor, mask_tensor = augments['image'], augments['mask'].to(torch.int64)
if mask_tensor.sum() == 0:
    return self.__getitem__(np.random.randint(self.__len__()))


Add "shambashib20"

Can you help me???

This has been already merged into the main repository.

Can you help me?

How can I help? 🙂

@shambashib20 In the latest PR this was fixed. So, I am closing this PR. Let us know if you need any further help :)


[ADP-286] Enable tagging latest container

Issue Number
ADP-286
Overview

https://jira.iohk.io/browse/ADP-286
Adds a GitHub action that, on release, triggers a Buildkite action
to tag the latest docker image with the "latest" tag.
Note I've also added a "Buildkite_Token" GitHub secret so the action
can talk to BuildKite.
Note I've also added the pattern "latest" to the Branch Filter
Pattern of this repo's Buildkite pipeline. This is so when Buildkite
receives the tag "latest", it triggers a build.

Thanks for this PR @sevanspowell @craigem.
Because of the tag naming scheme in cardano-wallet, we can tweak the buildkite ref filter so that tag builds work. So no further action required.

Ideally, we could remove the buildkite branch filters, but they are required to prevent the hydra-eval-errors script from failing.
The trigger-pipeline-action looks handy though. I have used it in #1610.


Explorer.FileNesting improvements needed for Business Central projects

I'm trying to take advantage of these new configurations in the Business Central projects (with AL language) that I work with...
I have made these 3 patterns configurations over the standard BaseApp sources:

With this, the nesting of objects of type Page under the objects of type Table / TableExt with which it is related starts working fine...

... the nesting of objects of type Report too...

but there are also some unwanted side effects like these:

Seeing these cases, I think that at least 2 improvements would be necessary:

Maintain the order of precedence in the declaration of patterns (in the examples: set first nesting for the Table and its related Pages)
Being able to establish omission patterns that prevail over inclusion patterns (in the examples: avoid to nest Pages under Reports)

It would also be very nice to be able to use the * as a wildcard several times in the defined pattern, both in the "key" part and in the "value" part of the JSON object of this setting because in BC the related standard objects have not always been named the same ...
NOTE.- Something perhaps too specific to the AL language is that Pages have a property that identifies the table on which they are built, regardless of the name of the object/file:

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Port MadNLP to MOI 0.10 and JuMP 0.22

MadNLPGraph is not yet compatible with JuMP 0.22
MINLPTests's tests have been commented out: they are passing, but MINLPTests requires JuMP 0.22 too

For MINLPTests: https://github.com/jump-dev/MINLPTests.jl/pull/34

MadNLPGraph is now working with JuMP 0.22 and Plasmo 0.4.3. However, I am not sure to understand where does the current error comes from in the tests ...

Just a notice that we will release JuMP v1.0 in a few days

Thanks for the reminder! This PR is ready to merge, we can make a new release for MadNLP with MOI 1.0 in the next few days.

Codecov Report

Merging #117 (dbe8465) into master (0580d80) will decrease coverage by 6.30%.
The diff coverage is 72.85%.

@@            Coverage Diff             @@
##           master     #117      +/-   ##
==========================================
- Coverage   87.56%   81.26%   -6.31%
==========================================
  Files          31       31
  Lines        3377     3389      +12
==========================================
- Hits         2957     2754     -203
- Misses        420      635     +215

Impacted Files
Coverage Δ

src/Interfaces/MOI_interface.jl
72.48% <71.21%> (-11.60%)
:arrow_down:

lib/MadNLPGraph/src/plasmo_interface.jl
93.21% <100.00%> (+0.03%)
:arrow_up:

lib/MadNLPGPU/src/lapackgpu.jl
0.00% <0.00%> (-80.18%)
:arrow_down:

lib/MadNLPGPU/src/kernels.jl
0.00% <0.00%> (-65.00%)
:arrow_down:

src/utils.jl
58.33% <0.00%> (-15.36%)
:arrow_down:

src/KKT/dense.jl
100.00% <0.00%> (ø)

src/interiorpointsolver.jl
95.56% <0.00%> (+0.48%)
:arrow_up:

src/MadNLP.jl
62.50% <0.00%> (+12.50%)
:arrow_up:

Continue to review full report at Codecov.

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

Finally, tests are passing!


[CMake] Add default build type

Add default build type.
This is a part of a series of PRs aimed at better CMake support. In order to not introduce merge conflicts, this should be merged until other CMake-related PRs are introduced.
References: #48

Close this pull request and make your changes on #50 because both of your pull requests reference the same issue.


Auto-adding "" {} ''

If are writting a ", ', ( or { character, the IDE will close it for you. There are two behaviours useful included in other languages in intelliJ:
If you write the close character just after typing the opening character, it won't write it again, just move after that character. It is useful for people that is not used to autocompletion and will prevent stuff like """". That also breaks the coloring.
The other behaviour: If you delete one of the "" it will remove the other. That helps if you typed it by error. Also makes it harder to breaking autocompletion like the other case.

This is a basic feature of IDEA and controlled via the editor settings: File->Settings->Editor->Smart Keys->Insert Pair Bracket, and Insert Pair Quote.


Fix UT Issue #603

Fix UT Issue #603

Going forward, we are using the commit titles to generate the change log using something like the following command:
git log previousrelease..HEAD --pretty=format:'%s %h' | sls "merge pull|merge branch" –NotMatch
Can you try to make sure Android commits look nice when output that way.


GridMap enhancement - A signal or callback for on_cell_changed()

The GridMap node would be an order of magnitude more powerful if I could have an editor script be able to detect whenever a cell has changed.
This could be achieved by any of a number of options. I'm not sure which would be the most appropriate method:

A notification that i could check for in _notification()
A signal (not sure if having signals that fire in editor/tool mode would be appropriate?)
A method that could be overridden in a tool mode script that extends GridMap, maybe _on_cell_changed(cell_pos)

With this simple addition, I could write an auto-tile editor script in GDScript that I could share with everyone. You could have variation in tiles occur automatically; ie, place a tree tile and have a random one of six tree models spawn. You could have tiles automatically rotate in specific ways.
There would be lots of possibilities opened up by this.

Keep in mind that if you do auto-tiling, it implies changing neighbor tiles, and that will trigger on_cell_changed too, because that signal fires anyways without knowing what happens.
For tile variations, it also means you want this signal to fire before the tile is set, and also if you set it after, it will trigger the signal again and you'll get an infinite loop unless you work around with some boolean... IMO, in the context of auto-tiling, such a signal doesn't sounds like a clean idea.

what about _on_cell_change(Vector3 cell_pos, int new_id) ? or old_id, or both. I'm not sure which would be more useful. But there has to be a solution here somewhere. Or possibly if the engine detected when the new id was different from the old one, and only fired if true, that would stop any infinite loops, and if you're autotiling, only the cells one space away from the edge being tiled would receive the signal, because further back, the values wouldn't change.

Still in the use case of auto-tiling, I was more thinking about a different path to set tiles in an auto-tiling way, something more specialized than a generic "a tile changed". I remember there was an existing issue where people were discussing this?
As soon as you think about auto-tiling, there is a distinction to be made between "abstract tiles" and "final tiles". For example, you may place grass (abstract tile), but it can place one in many grass tiles, or modify neigbors to connect (final tiles). A "final" tile can be considered a "master" tile though, as long as there is only one of a given kind.

Yes! Actually, when making an autotile system, i reserve the first handful of tiles in a set for "air, material 1, material 2, etc", rather than the 32 different tiles / orientations that could represent them. So you paint in materials, and let the auto tile script define the actual tiles. I believe this is exactly what you're also describing. 😄
It would obviously be ideal to have this entire concept baked right into the engine implementation. But with a simple notification of some sort that i can respond to in script, i can hack together something that works.
As long as it is either only called when a cell's index actually changes, or is called with the old/new state passed as a parameter.

Yeah that's my point: on_cell_changed doesn't know if the change is the one you want to place or the one done by auto-tiling, because it's too generic. It may help hack something indeed, but you'll have to deal with the limitation unless Godot gets aware of auto-tiling ;)

There have been various PRs for this (current one that could be merged is #33832), but I'm still unclear about the use case for this signal.
See discussion in https://github.com/godotengine/godot/pull/40044#issuecomment-652833357.
Signals are normally not emitted for actions that are taken knowingly by the developer, as you can emit your own signal at the same time as you change the cell yourself. Similarly, TileMap doesn't emit any signal when you change cells, as this is something that is always done by yourself.

We rediscussed this today in a PR review meeting, and the conclusion is pretty much the same as what I commented above. I do see a use case for this but that's something which requires more design discussion to be implemented in a similar way for both TileMaps and GridMaps. As I understand it the only use case is for tool scripts/editor plugins to implement things like auto-tiling, in which case that's something which would likely be best implemented via EditorPlugin or similar APIs, instead of in the core GridMap.
I think the discussion should be moved to https://github.com/godotengine/godot-proposals to assess such a proposal, see what's the "right" design for this. Then the implementation should be fairly straightforward once we reach consensus.


Spyder 6.0 rc2 release

This is an issue to track comments, questions, pending things, and general changes regarding dependencies done for the Spyder 6 rc2 release.
New/updated dependencies:

[x] spyder-kernels >= 3.0.0b9 - (pending release: https://github.com/spyder-ide/spyder-kernels/milestone/72)

Other pending things:

[x] Sync logic for completion interpreter update when changing current console: https://github.com/spyder-ide/spyder/pull/22350#issuecomment-2297233109 and https://github.com/spyder-ide/spyder/pull/22364
[x] Changes for remote client plugin server related commands: https://github.com/spyder-ide/spyder/pull/22368
[x] Fix splash screen bug on Windows: https://github.com/spyder-ide/spyder/pull/22370
[x] Any other element over milestone: https://github.com/spyder-ide/spyder/milestone/147

Spyder-kernels 3.0b9 is both in Conda-forge and PyPI: https://github.com/conda-forge/spyder-kernels-feedstock/pull/108
So, the only thing missing is PR https://github.com/spyder-ide/spyder/pull/22364, which should be ready in a couple of hours.

Reopening this one because it's not ready yet.

Seems like there are no pending things so closing this to proceed with the release 🎉


DOC: Update pip + venv instructions in the contributor documentation to include missing dependencies

Reference issue
Addresses documentation build errors discussed in https://github.com/scipy/scipy/issues/17819#issuecomment-1413275216 as part of #17819.

What does this implement/fix?

This pull request adds missing Python package dependencies to the pip + venv instructions in both the "Development environment guide (Ubuntu)" and "Contributor quickstart guide" so that the build instructions execute successfully.
In addition, this pull request fixes a minor error in the virtual environment creation step of the pip + venv instructions in the "Contributor quickstart guide", and modifies the python -m venv commands in both the "Contributor quickstart guide" as well as the "Development environment guide (Ubuntu)" to use absolute paths. It's easy to overlook an instruction like "Change the directory to your home folder and create a directory .venvs there" when debugging the "Contributor quickstart guide" directions. A beneficial side effect of using absolute paths in the python -m venv commands is that potential contributors that copy the terminal commands without paying close attention to the surrounding text are less likely to create inadvertently a virtual environment within their local copy of the SciPy repository.
Additional information

It might be a good idea to recommend that users install pooch in the virtual environment provisioning step because running python dev.py test will emit errors unless pooch is installed, and attempting to build the project documentation will emit several warnings unless pooch is installed.

The documentation build step will also emit warnings if pooch is not installed; not sure if that matters either.

I wasn't aware of any way to control the number of jobs ninja uses via pip and the meson-python build backend;

Per https://meson-python.readthedocs.io/en/latest/reference/config-settings.html
You should be able to pass --config-settings compile-args=-j2 to pip. Kind of ugly, though.

@melissawm I think you are currently looking into this problem, figuring out which deps user need to install and how to document. Can you have a look at this?

@melissawm Ping to check on the status of this PR.


Exercise 14 - Pandas - Already completed

Hi Louis and Navid,
It appears as though Exercise 14 - Pandas has already been completed- all the outputs are there.
Are you able to reset?
Thanks
Faye

[https://tr.cloudmagic.com/h/v6/emailtag/tag/2.0/1619762468/e0463a85314d353cd65b915287a67da9/5/56e0546f227d5dd9cd487b5bee1a3fe2/c4904163a4b36ae09bb8e1d09dca12ad/9efab2399c7c560b34de477b9aa0a465/newton.gif]
I would suggest “clear all cells” in the notebook I don’t want to risk creating git conflicts until we are all together to fix things.
Prof Louis Moresi
<EMAIL_ADDRESS>(m) +61 4 0333 1413tel:+61403331413
(us) +1<PHONE_NUMBER>tel:+15053494425
www.moresi.infohttps://tr.cloudmagic.com/h/v6/link-track/1.0/1619762486261732-908c3b89-92e3-c3c9-ddb3-8637a3fe07ad/1619762468/e0463a85314d353cd65b915287a67da9/c4904163a4b36ae09bb8e1d09dca12ad/9efab2399c7c560b34de477b9aa0a465?redirect_uri=http://www.moresi.info/
geo-down-under.geoscience.educationhttps://tr.cloudmagic.com/h/v6/link-track/1.0/1619762486261744-a3776fd9-e3b7-bace-d1a7-aeaddfd5ac79/1619762468/e0463a85314d353cd65b915287a67da9/c4904163a4b36ae09bb8e1d09dca12ad/9efab2399c7c560b34de477b9aa0a465?redirect_uri=https://geo-down-under.geoscience.education/
@LouisMoresihttps://tr.cloudmagic.com/h/v6/link-track/1.0/1619762486261750-2a0ca344-5d5c-7fa5-a965-1676f1c86f1e/1619762468/e0463a85314d353cd65b915287a67da9/c4904163a4b36ae09bb8e1d09dca12ad/9efab2399c7c560b34de477b9aa0a465?redirect_uri=https://twitter.com/LouisMoresi
On Fri, Apr 30, 2021 at 15:59, Faye Williamson<EMAIL_ADDRESS>wrote:
Hi Louis and Navid,
It appears as though Exercise 14 - Pandas has already been completed- all the outputs are there.
Are you able to reset?
Thanks
Faye
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://tr.cloudmagic.com/h/v6/link-track/1.0/1619762486261755-00f99fbb-5c38-9aee-e3cf-5dd5b3ed96b2/1619762468/e0463a85314d353cd65b915287a67da9/c4904163a4b36ae09bb8e1d09dca12ad/9efab2399c7c560b34de477b9aa0a465?redirect_uri=https://github.com/ANU-RSES-Education/EMSC-4033/issues/29, or unsubscribehttps://tr.cloudmagic.com/h/v6/link-track/1.0/1619762486261761-5b02d7df-39cd-d504-e7cf-61dcb382ce42/1619762468/e0463a85314d353cd65b915287a67da9/c4904163a4b36ae09bb8e1d09dca12ad/9efab2399c7c560b34de477b9aa0a465?redirect_uri=https://github.com/notifications/unsubscribe-auth/ADABPI5JAEPXSO4KIVFZ6YTTLJBKBANCNFSM433QU7IA.


FIX: app args passing

fixes opening single file or multiple from file manager. #20

Note: this is now released to 1.0. Apologies for the delay.


add a voting cog

when it is time to vote for a new game we should be able to vote with the bot.
this would/should be treated as a new feature.
must: set up a voting options
should: time gate voting
could: announce winner
wont: apply winner to the ratings

must only here, decided to keep it simple with the poll bot


feat(mkdocs): fix mathjax rendering

Description
Equations in this page were not rendered, so I fixed it.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The Reviewers must check the checkboxes below before approval.

[X] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[X] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

It looks like regardless of this PR the documentation page should be reloaded to render math equations.

I confirmed that compared to current main branch page, the deployed page works on

firefox@iPhone
google chrome@Ubuntu22
by visiting how to guides and then moving to "Customizing for differential drive vehicle" part manually and checking the mathjax


fix(bar): showBackground bug when update with no previous background elements

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?

Fix 13009
Remove unnecessary var declaration, according to #13084
Fixed issues
Switch 'options -> series -> showBackground' from false to true will no longer throw exceptions. (something like calling useStyle from undefined, more detailed described in #13009 )
Details
Before: What was the problem?
Switch 'options -> series -> showBackground' from false to true will throw exceptions.
After: How is it fixed in this PR?

Switch 'options -> series -> showBackground' from false to true works well.
Usage
Are there any API changes?

[ ] The API has been changed.

No
Related test cases or examples to use the new APIs
NA.
Others
Merging options

[x] Please squash the commits into a single one when merge.

Other information

Mainly same as #13084, but also fix a small mistakes about duplicate var declaration issue which is raised by reviewers AFTER PR closed.

Thank you! You're flying to solve this.


Axial to planar gradiometer transformation

For axial gradiometer data, e.g. from CTF 275 systems, a transformation to virtual planar gradiometers would be helpful. This is a standard procedure in many data analysis pipelines for axial systems. It would facilitate plotting and subsequent interpretation.
The issue has been briefly discussed during the office hour on 2021-07-23.
@britta-wstnr

Thanks @PiusKern.
I agree, some methods for this would be useful. During the office hours, we also briefly touched upon how to solve this computationally. As discussed, I will check in detail what FieldTrip does and report back, then we can discuss how we want to proceed.

FieldTrip supports different methods on how to compute planar from axial grads: sourceproject using a minimum current estimate, fitplane using the neighborhood structure, and sincos using the neighborhood structure as well, but more flexibly than the fitplane option. sincos is default here.
For the combination of the vertical and horizontal parts, using an SVD is one option,  sum (sqrt(horizontal ** 2 + vertical ** 2)) and complex are others.

I would start with just the sourceproject method since we have it implemented already and I think @agramfort suggested it should be the best in principle. We can assume YAGNI on the others until we see otherwise (especially if the values aren't that different, or they do differ but the sourceproject is better for example in round-trip test to a different system/sensor type and back).

FWIW, there is some rather old opinion by Robert, referring to simulations, saying the sincos method outperforms the others. See here: https://mailman.science.ru.nl/pipermail/fieldtrip/2005-August/026154.html
But I agree, if it's there, let's start with it and then we can always add this (and compare again, if we are feeling adventurous :wink: )

@larsoner What would be a good API for this / where should this live?

We have inst.interpolate_bads as a mixin for raw/epochs/evoked, I think it should be part of that same mixin as a new method:
def interpolate_to(self, sensors=None, dev_head_t=None):

where sensors can be (to start) only None, 'ctf planar grad', 'ctf', and 'neuromag'? If sensors is None then it's useful just for transforming to a new dev_head_t.
I suggest just these three string options to start because in this issue 'planar grad' is desired, and I could see people wanting to know what their data would look like if they had been acquired on these other systems. Having ctf and neuromag is also nice because we can round-trip from actual Neuromag data to CTF and back to Neuromag and check the agreement, same with CTF to Neuromag to CTF.
Under the hood this should use the same underlying machinery as interpolate_bads -- it's actually quite simple hopefully as we "just" need to set info_to properly by replacing some info_from['chs'] with the known canonical ones for the given system.
I like sensors as the name because in theory we could eventually support remapping other channel types (e.g., EEG) someday. But for now the function should operate only on MEG data.

Thanks for the detailed overview @larsoner ! I hope to give this a shot soon, maybe together with @PiusKern ?

I forgot we had come up with an API for this! Just one more hint to add to what I wrote above, I think internally you should "just" need an appropriate call to _map_meg_or_eeg_channels to do the heavy lifting here, as it's what's used by interpolate_bads.

nice, thanks @larsoner !

Hi, I am wondering if there has been a function to transform axial gradiometers to virtual planar gradiometers? I have tried the as_type() function. However, it fails on my CTF275 data.

No it has not been implemented yet, still needs a volunteer to give it a shot

Hi all, after a discussion with @britta-wstnr I would like to take over this issue.

We have inst.interpolate_bads as a mixin for raw/epochs/evoked, I think it should be part of that same mixin as a new method:
def interpolate_to(self, sensors=None, dev_head_t=None):

@larsoner do you still think this is still a good API?
Additionally, I see that you decided on sourceproject method. Shall we still proceed with this method?

I would start with just the sourceproject method since we have it implemented already and I think @agramfort suggested it should be the best in principle. We can assume YAGNI on the others until we see otherwise (especially if the values aren't that different, or they do differ but the sourceproject is better for example in round-trip test to a different system/sensor type and back).

@larsoner, could you point me to where the sourceproject method is implemented in the mne repo?


pkg/polymer/test/event_handlers_test fails on drt in dart2js compiled version in checked mode

 Issue by ricowind
Originally opened as dart-lang/sdk#19190

See e.g.,
http://build.chromium.org/p/client.dart/builders/dart2js-drt-linux-csp-be/builds/1332/steps/dart2js-drt tests --csp --checked failures/logs/stdio
I will suppress this in the status files

 Comment by jmesserly

Added Area-Pkg, Triaged labels.

 Comment by jmesserly

Thanks Rico!

 Comment by sigmundch

Removed this from the Later milestone.

 Comment by sigmundch

Added Polymer-P-2 label.

 Comment by sigmundch

Removed Polymer-P-2 label.
Added Polymer-Milestone-Later label.

 Comment by sigmundch

Added this to the Later milestone.
Removed Priority-Unassigned label.
Added Priority-Low label.

 Comment by sigmundch

Removed Polymer-Milestone-Later label.
Added PolymerMilestone-Later label.

this test no longer exists


Crash on startup with Promenade 2.6.2

MC 1.18.2
BCLib 1.4.6
Promenade 2.6.2
When BCLib is installed together with Promenade 2.6.2 (specifically that version), the game crashes on startup. Initially reported to Promenade, but was suggested to report here instead - https://github.com/DawnTeamMC/Promenade/issues/83#issuecomment-1138523591.
Logs: https://gist.github.com/Footage2-Amply-Pounce/e9120c27dfe1f30304f7c92ab23b4751

After another report on my mod, it seems like it is a mistake of mine. I will not be able to investigate the issue further for the next 5 hours. I will contact you when I will find the exact source of the issue.

Hm, I looked into BCLib code at this position and seems like there is no check that key-value is complete or not (as by default they are always complete), so some small changes in Biome API should fix this (and other similar potential errors from other mods)

It fixes crash on startup, but world will crash on creation due to missing registry entries. Looks like all biomes have keys, but don't have values in registry

The biome that was causing the crash actually gets its value from Promenade's datapack, hence why it has no value before creating a world. Does your code fire before or after the Fabric API loads mod datapacks on the "Create World" screen?

Does your code fire before or after the Fabric API loads mod datapacks

Loader that works with Fabric Biomes API applies on post-init, and datapacks biome loader applies on server/level startup. Originally it was created when Fabric Biome API applied only to hardcoded biomes, was this changed?

It seems like they need to be hardcoded, but their API only requires registry keys as input, so it would make sense that it would support json biomes

This should work fine in 1.4.7 and in future versions too, so I'm closing this


Bootstrap

👷 Deploy Preview for zippy-otter-3c7f8b processing.

Name
Link

🔨 Latest commit
ab956bd34a8f8c0a49846e51515758c061dcd0aa

🔍 Latest deploy log
https://app.netlify.com/sites/zippy-otter-3c7f8b/deploys/6370ffdeabca260009f313d1


Fix avg and max DQN dueling types

They used to subtract the avg / max computed over the whole batch, instead of over actions for each sample in a batch
For reference see https://arxiv.org/abs/1511.06581 eq. 8 & 9

@delallea Have you generated results for the following PR?

@delallea, Any updates on my review.

@delallea , any updates on my review?

@mirraaj sorry, but github says there is “no reviews”


Update package names in root README

Aligns package names in the root README with the GA naming in NPM.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thank you for this PR.


Robot Update: Alert When Disconnected During Update

As a Run App user, I would like to be alerted if my app disconnects from my robot unexpectedly during a robot update, so that I can reconnect to my robot and continue to monitor update progress.
Acceptance Criteria

[ ] If app loses connection to the robot during update, display an alert modal informing using of the connection failure
[ ] User can dismiss modal

Build root update requests are individual requests, not a persistent connection. If the app is unable to make any one of these requests, the regular error handling logic in #3563 will be triggered. Closing this ticket as not applicable to the update process


⚠ ClamAV has degraded performance

In c446362, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 206 ms

Resolved: ClamAV performance has improved in d863588.


\ not working?

When i run keyd 2.4.2 with the following config:
[ids]
*
or:
[ids]
*
[main]
\ = \
The \ key produces #
When i run it with:
[ids]
*
[main]
\ = ?
It produces ?
I'm puzzled about this behavior.
How do i get a \?

What i forgot to mention was that i'm running on a US keyboard with
setxkbmap -model pc104 -layout us
keyd reports that \ is pressed, but the \ is just not echoed and # instead

keyd outputs device keycodes, not keysyms (it doesn't care about your X map). You can find the generated keycodes using keyd monitor. For best results use a qwerty keymap in your display server.