Callback not functioning properly in my code

The short version of what I'm trying to accomplish is to use a contact sensor on the subscribed "reedTopic" and have the output from that determine if it is safe to open the garage door or not. I do not want to use HomeAssistant, OpenHAB, or NodeRed because this should easily be accomplished via MQTT only... Anyway, here's my code. Thank you in advance for taking the time to check it out when you are able.
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPUpdateServer.h>

const char* ssid = "******";
const char* password = "******";
const char* host = "CarPresence";
const char* update_path = "/";
const char* update_username = "******";
const char* update_password = "******";

char* topic = "cmnd/GarageDoor/POWER";
const char* willTopic = "cmnd/GarageDoor/POWER";
char* reedTopic = "cmnd/GarageDoor/POWER2";
char* server = "<IP_ADDRESS>";
byte willQoS = 1;
const char* willMessage = "1";
boolean willRetain = false;
boolean retained = true;

ESP8266WebServer httpServer(80);
ESP8266HTTPUpdateServer httpUpdater;
WiFiClient wifiClient;
PubSubClient client(server, 1883, wifiClient);

void callback(char* reedTopic, byte* payload, unsigned int length) {
  Serial.print("Message arrived [");
 Serial.print(reedTopic);
 Serial.print("] ");
  for (int i=0;i<length;i++) {
    Serial.print((char)payload[i]);
 }
 if (strcmp((char* )reedTopic, "OFF") == 0) {
  client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage);
    client.publish(topic, "The Garage door is CLOSED... Opening...");
    client.publish(topic, "1");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Ah ah ah ah staying alive staying alive...");
    }
    }
  if (strcmp((char* )reedTopic, "ON") == 0) {
    client.publish(topic, "The Garage door is OPEN... Aborting...");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Dying... I'm dying...");
    }
  }
  Serial.println();
  }

String macToStr(const uint8_t* mac)
{
  String result;
  for (int i = 0; i < 6; ++i) {
    result += String(mac[i], 16);
    if (i < 5)
      result += ':';
  }
  return result;
}

void setup() {
  Serial.begin(115200);
  delay(10);

client.setCallback(callback);
  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  client.connect("CarPresence");
  client.subscribe(topic);
  client.subscribe(reedTopic, retained);
  Serial.println("");
  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

  httpUpdater.setup(&httpServer, update_path, update_username, update_password);
  httpServer.begin();

  Serial.printf("HTTPUpdateServer ready! Open http://%s%s in your browser and login with username '%s' and password '%s'\n", host, update_path, update_username, update_password);

  // Generate client name based on MAC address and last 8 bits of microsecond counter
  String clientName = "CarPresence";

  Serial.print("Connecting to ");
  Serial.print(server);
  Serial.print(" as ");
  Serial.println(clientName);

  if (client.connect((char*) clientName.c_str())) {
    Serial.println("Connected to MQTT broker");
    Serial.print("Topics are: ");
    Serial.println(topic);
    Serial.println(reedTopic);

    if (client.publish(topic, "Hello from ESP8266")) {
      Serial.println("Publish ok");
    }
    else {
      Serial.println("Publish failed");
    }
  }
  else {
    Serial.println("MQTT connect failed");
    Serial.println("Will reset and try again...");
    abort();
  }
}

void loop() {

  httpServer.handleClient();
  client.setCallback(callback);

      while (WiFi.status() != WL_CONNECTED) {
    delay(5000);
    Serial.print(".");
  }
}

Any insight from anyone who is knowledgeable of MQTT and its inner workings is appreciated.

You are not calling client.loop() in your main loop - so the client never gets a chance to check if there are any inbound messages.

Also, you shouldn't be calling client.setCallback(callback); in your main loop - you only need to set it once in your setup function which you are already doing.

After adding the client.loop() and removing the client.setCallback(callback); the ouput hasn't changed when watching the whole thing while subscribed under the cmnd/GarageDoor/# via the wildcard "#" or in the serial monitor.
Updated code below:
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPUpdateServer.h>

const char* ssid = "******";
const char* password = "******";
const char* host = "CarPresence";
const char* update_path = "/";
const char* update_username = "******";
const char* update_password = "******";

char* topic = "cmnd/GarageDoor/POWER";
const char* willTopic = "cmnd/GarageDoor/POWER";
char* reedTopic = "cmnd/GarageDoor/POWER2";
char* server = "<IP_ADDRESS>";
byte willQoS = 1;
const char* willMessage = "1";
boolean willRetain = false;
boolean retained = true;
//IPAddress ip(192, 168, 1, 22);
//IPAddress gateway(192, 168, 1, 1);
//IPAddress subnet(255, 255, 255, 0);

ESP8266WebServer httpServer(80);
ESP8266HTTPUpdateServer httpUpdater;
WiFiClient wifiClient;
PubSubClient client(wifiClient);

void callback(char* reedTopic, byte* payload, unsigned int length) {
  Serial.print("Message arrived [");
 Serial.print(reedTopic);
 Serial.print("] ");
  for (int i=0;i<length;i++) {
    Serial.print((char)payload[i]);
 }
 if (strcmp((char* )reedTopic, "OFF") == 0) {
  client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage);
    client.publish(topic, "The Garage door is CLOSED... Opening...");
    client.publish(topic, "1");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Ah ah ah ah staying alive staying alive...");
    }
    }
  if (strcmp((char* )reedTopic, "ON") == 0) {
    client.publish(topic, "The Garage door is OPEN... Aborting...");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Dying... I'm dying...");
    }
  }
  Serial.println();
  }

String macToStr(const uint8_t* mac)
{
  String result;
  for (int i = 0; i < 6; ++i) {
    result += String(mac[i], 16);
    if (i < 5)
      result += ':';
  }
  return result;
}

void reconnect() {
 // Loop until we're reconnected
 while (!client.connected()) {
 Serial.print("Attempting MQTT connection...");
 // Attempt to connect
 if (client.connect("ESP8266 Client")) {
  Serial.println("connected");
  // ... and subscribe to topic
  client.subscribe("ledStatus");
 } else {
  Serial.print("failed, rc=");
  Serial.print(client.state());
  Serial.println(" try again in 5 seconds");
  // Wait 5 seconds before retrying
  delay(5000);
  }
 }
}

void setup() {
  Serial.begin(115200);
  delay(10);

  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  client.connect("CarPresence");
  client.subscribe(topic);
  client.subscribe(reedTopic, retained);
  Serial.println("");
  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

  httpUpdater.setup(&httpServer, update_path, update_username, update_password);
  httpServer.begin();

  Serial.printf("HTTPUpdateServer ready! Open http://%s%s in your browser and login with username '%s' and password '%s'\n", host, update_path, update_username, update_password);

  // Generate client name based on MAC address and last 8 bits of microsecond counter
  String clientName = "CarPresence";

  client.setServer(server, 1883);
  client.setCallback(callback);
  Serial.print("Connecting to ");
  Serial.print(server);
  Serial.print(" as ");
  Serial.println(clientName);

  if (client.connect((char*) clientName.c_str())) {
    Serial.println("Connected to MQTT broker");
    Serial.print("Topics are: ");
    Serial.println(topic);
    Serial.println(reedTopic);

    if (client.publish(topic, "Hello from ESP8266")) {
      Serial.println("Publish ok");
        //while (WiFi.status() == WL_CONNECTED) {
    //delay(5000);
    //Serial.println(reedTopic);
    //client.publish(topic, "Ah ah ah ah staying alive staying alive...");
    //}
    }
    else {
      Serial.println("Publish failed");
    }
  }
  else {
    Serial.println("MQTT connect failed");
    Serial.println("Will reset and try again...");
    reconnect();
  }
}

void loop() {

if (!client.connected()) {
  reconnect();
 }
 client.loop();

  httpServer.handleClient();
  client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage);
      while (WiFi.status() != WL_CONNECTED) {
    delay(5000);
    Serial.print(".");
  }
}

You have added a client.connect(...) call into the loop - why? There is already the reconnect logic a few lines above. Get rid of that line.

I must admit, I'm a bit of a newbie as far as coding goes and this is my first big undertaking in MQTT/Arduino... Here's the cleaned up code. I'm sure you can tell by now that I've been mostly hacking away at various snippets trying to get this thing to work...
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPUpdateServer.h>

const char* ssid = "******";
const char* password = "******";
const char* host = "CarPresence";
const char* update_path = "/";
const char* update_username = "******";
const char* update_password = "******";

char* topic = "cmnd/GarageDoor/POWER";
const char* willTopic = "cmnd/GarageDoor/POWER";
char* reedTopic = "cmnd/GarageDoor/POWER2";
char* server = "<IP_ADDRESS>";
byte willQoS = 1;
const char* willMessage = "1";
boolean willRetain = false;
boolean retained = true;

ESP8266WebServer httpServer(80);
ESP8266HTTPUpdateServer httpUpdater;
WiFiClient wifiClient;
PubSubClient client(wifiClient);

void callback(char* reedTopic, byte* payload, unsigned int length) {
  Serial.print("Message arrived [");
 Serial.print(reedTopic);
 Serial.print("] ");
  for (int i=0;i<length;i++) {
    Serial.print((char)payload[i]);
 }
 if (strcmp((char* )reedTopic, "OFF") == 0) {
  client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage);
    client.publish(topic, "The Garage door is CLOSED... Opening...");
    client.publish(topic, "1");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Ah ah ah ah staying alive staying alive...");
    }
    }
  if (strcmp((char* )reedTopic, "ON") == 0) {
    client.publish(topic, "The Garage door is OPEN... Aborting...");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Dying... I'm dying...");
    }
  }
  Serial.println();
  }

String macToStr(const uint8_t* mac)
{
  String result;
  for (int i = 0; i < 6; ++i) {
    result += String(mac[i], 16);
    if (i < 5)
      result += ':';
  }
  return result;
}

void reconnect() {
 // Loop until we're reconnected
 while (!client.connected()) {
 Serial.print("Attempting MQTT connection...");
 // Attempt to connect
 if (client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage)) {
  Serial.println("connected");
  // ... and subscribe to topic
  client.subscribe("ledStatus");
 } else {
  Serial.print("failed, rc=");
  Serial.print(client.state());
  Serial.println(" try again in 5 seconds");
  // Wait 5 seconds before retrying
  delay(5000);
  }
 }
}

void setup() {
  Serial.begin(115200);
  delay(10);

  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }
  client.connect("CarPresence");
  client.subscribe(topic);
  client.subscribe(reedTopic, retained);
  Serial.println("");
  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

  httpUpdater.setup(&httpServer, update_path, update_username, update_password);
  httpServer.begin();

  Serial.printf("HTTPUpdateServer ready! Open http://%s%s in your browser and login with username '%s' and password '%s'\n", host, update_path, update_username, update_password);

  // Generate client name based on MAC address and last 8 bits of microsecond counter
  String clientName = "CarPresence";

  client.setServer(server, 1883);
  client.setCallback(callback);
  Serial.print("Connecting to ");
  Serial.print(server);
  Serial.print(" as ");
  Serial.println(clientName);

  if (client.connect((char*) clientName.c_str())) {
    Serial.println("Connected to MQTT broker");
    Serial.print("Topics are: ");
    Serial.println(topic);
    Serial.println(reedTopic);

    if (client.publish(topic, "Hello from ESP8266")) {
      Serial.println("Publish ok");
    }
    else {
      Serial.println("Publish failed");
    }
  }
  else {
    Serial.println("MQTT connect failed");
    Serial.println("Will reset and try again...");
    reconnect();
  }
}

void loop() {

if (!client.connected()) {
  reconnect();
 }
 client.loop();

  httpServer.handleClient();
      while (WiFi.status() != WL_CONNECTED) {
    delay(5000);
    Serial.print(".");
  }
}

The good news is that I can now see the subscribed topics from the callback in serial monitor. The bad news is that the if statements under it are not working...
#include <PubSubClient.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266HTTPUpdateServer.h>

const char* ssid = "******";
const char* password = "******";
const char* host = "CarPresence";
const char* update_path = "/";
const char* update_username = "******";
const char* update_password = "******";

char* topic = "cmnd/GarageDoor/POWER";
const char* willTopic = "cmnd/GarageDoor/POWER";
char* reedTopic = "cmnd/GarageDoor/POWER2";
char* server = "<IP_ADDRESS>";
byte willQoS = 1;
const char* willMessage = "1";
boolean willRetain = false;
boolean retained = true;
//IPAddress ip(192, 168, 1, 22);
//IPAddress gateway(192, 168, 1, 1);
//IPAddress subnet(255, 255, 255, 0);

ESP8266WebServer httpServer(80);
ESP8266HTTPUpdateServer httpUpdater;
WiFiClient wifiClient;
PubSubClient client(wifiClient);

void callback(char* reedTopic, byte* payload, unsigned int length) {
  Serial.print("Message arrived [");
 Serial.print(reedTopic);
 Serial.print("] ");
  for (int i=0;i<length;i++) {
    Serial.print((char)payload[i]);
 }
 if (strcmp((char* )reedTopic, "ON") == 0) {
  client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage);
    client.publish(topic, "The Garage door is CLOSED... Opening...");
    client.publish(topic, "1");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Ah ah ah ah staying alive staying alive...");
    }
    }
  if (strcmp((char* )reedTopic, "OFF") == 0) {
    client.publish(topic, "The Garage door is OPEN... Aborting...");
    while (WiFi.status() == WL_CONNECTED) {
    delay(5000);
    client.println(reedTopic);
    client.publish(topic, "Dying... I'm dying...");
    }
  }
  Serial.println();
  }

String macToStr(const uint8_t* mac)
{
  String result;
  for (int i = 0; i < 6; ++i) {
    result += String(mac[i], 16);
    if (i < 5)
      result += ':';
  }
  return result;
}

void reconnect() {
 // Loop until we're reconnected
 while (!client.connected()) {
 Serial.print("Attempting MQTT connection...");
 // Attempt to connect
 if (client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage)) {
  Serial.println("connected");
  // ... and subscribe to topic
  client.subscribe("ledStatus");
 } else {
  Serial.print("failed, rc=");
  Serial.print(client.state());
  Serial.println(" try again in 5 seconds");
  // Wait 5 seconds before retrying
  delay(5000);
  }
 }
}

void setup() {
  Serial.begin(115200);
  delay(10);

  Serial.println();
  Serial.println();
  Serial.print("Connecting to ");
  Serial.println(ssid);

  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
  }

  Serial.println("");
  Serial.println("WiFi connected");
  Serial.println("IP address: ");
  Serial.println(WiFi.localIP());

  httpUpdater.setup(&httpServer, update_path, update_username, update_password);
  httpServer.begin();

  Serial.printf("HTTPUpdateServer ready! Open http://%s%s in your browser and login with username '%s' and password '%s'\n", host, update_path, update_username, update_password);

  // Generate client name based on MAC address and last 8 bits of microsecond counter
  String clientName = "CarPresence";

  client.setServer(server, 1883);
  client.setCallback(callback);
  client.connect("CarPresence", willTopic, willQoS, willRetain, willMessage);
  client.subscribe(topic);
  client.subscribe(reedTopic, retained);
  Serial.print("Connecting to ");
  Serial.print(server);
  Serial.print(" as ");
  Serial.println(clientName);

  if (client.connect((char*) clientName.c_str())) {
    Serial.println("Connected to MQTT broker");
    Serial.print("Topics are: ");
    Serial.println(topic);
    Serial.println(reedTopic);

    if (client.publish(topic, "Hello from ESP8266")) {
      Serial.println("Publish ok");
        //while (WiFi.status() == WL_CONNECTED) {
    //delay(5000);
    //Serial.println(reedTopic);
    //client.publish(topic, "Ah ah ah ah staying alive staying alive...");
    //}
    }
    else {
      Serial.println("Publish failed");
    }
  }
  else {
    Serial.println("MQTT connect failed");
    Serial.println("Will reset and try again...");
    reconnect();
  }
}

void loop() {

if (!client.connected()) {
  reconnect();
 }
 client.loop();

  httpServer.handleClient();
      while (WiFi.status() != WL_CONNECTED) {
    delay(5000);
    Serial.print(".");
  }
}

Thank you for your help @knolleary ! Because of your assistance, I was finally able to solve for the missing pieces of my code and clean it up in the process. Cheers!
For anyone interested in the finished product, it can be found here.


error subquery for admin chart

when fixed the db the query are wrong for standars..
-- An exception occurred while executing 'SELECT stc_id, stc_dayts, oc_uid FROM (SELECT * FROM oc_storagecharts2 ORDER BY oc_uid,stc_dayts DESC) last GROUP BY oc_uid': SQLSTATE[42803]:

Grouping error: 7 ERROR: column "last.stc_id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT stc_id, stc_dayts, oc_uid FROM (SELECT * FROM oc_stor... ^

the query in question are:
SELECT stc_id, stc_dayts, oc_uid FROM (SELECT * FROM oc_storagecharts2 ORDER BY oc_uid,stc_dayts DESC) last GROUP BY oc_uid
on a gourping all the fileds must appears in the group by cluse..
so i'll repair the query to made available for all databases, so i tests under mysql and mysql soes not follow sql strict that's why the charts does not work for oracle, sqlite and postgres backends..

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/22152478-error-subquery-for-admin-chart?utm_campaign=plugin&utm_content=tracker%2F308690&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F308690&utm_medium=issues&utm_source=github).

reopened due #327

i  have the proper join.. i'll commit in hours after some tests in oracle and postgres (need wait until users registered some activity in space used by each one)


[DOC] wrong example for base64 upload

Documentation issue
Base64 Upload's example in Advanced Tutorials is showing a multipart upload example and not base64.

URL: https://refine.dev/docs/advanced-tutorials/upload/base64-upload/#example-1

Describe the thing to improve
Its example should be replaced with a base64 example.
Describe the solution (optional)
If I'm not mistaken, its example should be the same as this page:
https://refine.dev/docs/examples/upload/antd/base64/

Hey @haashemi thanks for the issue, would you like to work on it?

Yes! please assign me. I'll try.


Enhancing Readability and Reducing Complexity in NavMap sync and get_path Methods

Description:
This PR introduces several modifications to the NavMap sync and get_path methods, aiming to enhance readability and reduce complexity. The changes focus on improving code consistency, removing unnecessary complexity, and adding clearer documentation. Notably, these changes do not significantly alter existing behavior, except for one minor bug fix detailed below.
Key changes include:

Renamed regenerate_polys and regenerate_links to polygons_dirty and connections_dirty for improved consistency.
Removed Points class. Polygons now directly contain a list of Vector3 vertices, and the previously stored point key is computed on demand, simplifying the implementation.
Eliminated the Edge struct, integrating Connections directly into Polygons. This change simplifies the model and addresses it's a better representation, since Connections to NavLinks shouldn't belong to any Edge. This struct didn't serve any purpose as far as I could tell.
Promoted Connection to a top-level struct by removing its encapsulation within Edge.
Introduced an is_external field in the Connection struct for convenience. This field indicates whether the Connection is a cross region connection.
Renamed NavigationPoly to Node, better reflecting its role as a node in the AStar graph. Also:

Replacing:

int back_navigation_poly_id = -1;
int back_navigation_edge = -1;
Vector3 back_navigation_edge_pathway_start;
Vector3 back_navigation_edge_pathway_end;
With:
Connection last_connection;

Renamed self_id to id for clarity and consistency.

Updated navigation_polys to discovered_nodes, including documentation for clarity.
Changed to_visit to frontier_node_ids. Accompanied by explanatory documentation of the variable.
Adjusted the cost calculation for entering a region in nodes, addressing a bug. The cost is now considered before adding nodes to the frontier, ensuring accurate minimum cost node selection. The bug here is that currently the cost is only added after a node is removed from the frontier so it may not be the minimum cost node.
Renamed least_cost_id to node_id for clarity, this field simply indicates the selected node in the current iteration
Extracted the logic for updating connections from the sync method into a separate _update_connections function to improve credibility.

These changes collectively streamline the code, making it more intuitive and maintainable while preserving its core functionality.
This PR is my first step towards fixing some of the issues discussed in bug #84388

I suggest running some benchmarks before and after this PR to make sure performance hasn't regressed (or ideally, whether performance has improved).

I suggest running some benchmarks before and after this PR to make sure performance hasn't regressed (or ideally, whether performance has improved).

Sure, will do

So I measured the time get_path takes adding the by wrapping it with the following and then finding the min, max and average values from the console output:
uint64_t start_time = OS::get_singleton()->get_ticks_usec();
...
print_line(OS::get_singleton()->get_ticks_usec() - start_time);

Results from master:
min: 3271 max: 4359 avg: 3543

Results from my branch:

min: 3248 max: 4752 avg: 3394
The results seem very comparable, both the output and the time it takes to compute it

The average does drop (by 4.2%) but the worst case does rise by a non-insignificant 9%

The average does drop (by 4.2%) but the worst case does rise by a non-insignificant 9%
I'd suggest doing more performance testing, otherwise I'd say this isn't a performance improvement

Ok, so I ran the test 5 times per each branch and here are the results:
my branch:

min: 3189, max: 4917, mean:  3361.7194407195
min: 3128, max: 4783, mean:  3427.0344506518
min: 3112, max: 4531, mean:  3413.8322218322
min: 3107, max: 4866, mean:  3412.6506410256
min: 3161, max: 4793, mean:  3380.8439620081

on master:

min: 3272, max: 5723, mean:  3607.1749781277
min: 3161, max: 5613, mean:  3572.880859375
min: 3239, max: 5370, mean:  3577.437849944
min: 3272, max: 5528, mean:  3590.0724029381
min: 3251, max: 5779, mean:  3602.119047619

This time I made sure to close all the other processes, and to time the test to 10 seconds each. I also switched between my branch and master each time to account for any background processes.
The results this time were consistently better on my branch, which to be honest I wasn't really expecting since this PR is not really intending to improve performance per se.


Autotrack don't work

If I copy paste the new JS snippet from mixpanel I can use the autotrack.
With the include of the package (mixpanel.js) the autotrack don't show up and I have a 404 error in the console.

Can you provide a screenshot of the console error? When testing this on my end it has worked. Please also provide the following information:

PHP version:
Mixpanel for Laravel package version:
Laravel version:

Sure sorry, wrote the issue quickly this morning. So there it is :
Php 7.1
laravel-mixpanel 0.7.0
laravel version 5.5
Here's the screenshot :
https://pasteboard.co/GRYfrru.png

Hi @elamotte, editor.min.js isn't part of the mixpanel package. That looks like it's something you are including in your app. I wonder if that is preventing further JavaScript from running, which is why mixpanel wouldn't work. Can you try excluding the editor.min.js from your project, and see if it works then? If that's the case, then there seems to be a conflict with between editor.min.js and the mixpanel package, which we would have to investigate more closely.

No actually editor.min.js is an external file, its loaded when you try to launch autotrack from mixpanel :
https://pasteboard.co/GRZ275h.png
So if I don't start the autotrack, it's working but that's my problem it's looks like Autotrack editor don't work with your package.

OK, let me go over this over the weekend. Thanks for providing the additional details. I will see if I can recreate it. By any chance do you have your code hosted on a public repo? That would be the best, if I can troubleshoot it directly. If not, I'll see if it errors out when I try to do it on my own project.

No actually it's on a private repo. But if I can i'll try to reproduce it simply on a fresh installation tomorrow and share the code with you.

Ok I reproduced it with the same behavior of my private repo :
https://github.com/elamotte/mixpanel-test/commits/master
You can test it (I can invite you on my mixpanel project as well we'll be easier for you to test).
I finally success to make it works but by disabling your JS snippet and replace it by the official from mixpanel. You can test the autotrack with both method (comment / uncomment the both in the welcome.blade.php header).
Why don't directly use this snippet JS code from mixpanel in your package ?
It will always go fetch the last mixpanel-2-latest.min.js on mixpanel servers.

@elamotte thanks for your help. I was able to reproduce the problem and fix the issue. Can you give version 0.7.2 a try and let me know if it works now? Thanks!

@mikebronner thanks, I confirm that It works well.
Thanks a lot for the quick fix, I'll continue with 0.7.2!

Awesome! Thanks again for letting me know about the issue. Just released 0.7.3 with some refactoring and starting to add unit tests.


allow passing down options to createDatabase

there's no way to define a single sharding database using this library since the /_api/database request produced by createDatabase doesn't pass an options object as supported by the api.
https://www.arangodb.com/docs/stable/http/database-database-management.html#create-database
i'll happily make a pr, i hope that's something that can be fixed and deployed asap.

This is supported in the v7 branch: http://arangodb.github.io/arangojs/7.0.0-preview.1/classes/database.database.html#createdatabase

any estimation on the release date?


Possibly, add in the roadmap MediaPackage endpoints as a possible input for the VOD solution

This would add Live2VOD capability to the solution with a different cost model (CDN costs vs MediaPackage costs) compared to the out of the box capability in MediaPackage (harvest job)

Request has been add tour backlog, closing old issue


non-p2pkh address can be selected as contract sender

description
In Disallow P2SH addresses as sender in contract rpc calls we have a check for sender address, but when we call createcontract or sendtocontract without specifying sender address, Qtum Core wallet might choose a non-p2pkh address to the first place of inputs.
how to reproduce

create a new wallet
get a p2sh address by qtum-cli getnewaddress "" "p2sh-segwit"
send some coins to this address from outside
create a contract without specifying sender address

the p2sh address was selected as sender

Fixed here: https://github.com/qtumproject/qtum/pull/759


Adding School NPS Koramangala

I have added my school file in the correct location please add the domain to the website

@Coconut-water Pull request merged. Thank you!


Add domain unicla.edu.mx

Add Universidad Contemporánea de las Américas
Website: https://unicla.edu.mx/
Email address sample<EMAIL_ADDRESS>

@codeelab First stage of verification passed, official domain is unicla.edu.mx as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@codeelab I have to close this request without merging, because you requested to add a non-existent domain to this repository: ;; connection timed out; no servers could be reached Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


add bubble sort with c++

@nauman99 contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


Click listener for children views of item that extends AbstractBindingItem

This is my Item class:
class ChannelItem : AbstractBindingItem<ChannelListItemBinding>() {
    lateinit var channel: ChannelEntity

    override val type: Int
        get() = R.id.channel_list_item

    override fun bindView(binding: ChannelListItemBinding, payloads: List<Any>) {
          ...
    }

    override fun createBinding(
        inflater: LayoutInflater,
        parent: ViewGroup?
    ): ChannelListItemBinding {
        return ChannelListItemBinding.inflate(inflater, parent, false)
    }
}

I want to set click listener for views inside of my item, I followed your sample but I can't access to ViewHolder of ChannelItem:

@runo280 it looks like you are mixing up Item vs. ViewHolder the ChannelItem is the construct holding the data and defining the binding logic, whereas the ViewHolder holds the views displayed in the RecyclerView

You want to adjust the type check to the ViewHolder instead

@runo280 this abstract item is not designed to access the viewHolder, as it abstracts its existence away.
You can look at it's implementation though and adjust it for your needs: https://github.com/mikepenz/FastAdapter/blob/develop/fastadapter-extensions-binding/src/main/java/com/mikepenz/fastadapter/binding/AbstractBindingItem.kt

So it is not possible to use AbstractBindingItem  with  addEventHook?

Same problem here
how to access the ClickEventHook with a AbstractBindingItem ? the ViewHolder don't exist...
Thanks !

@sebastianperdomo there is a ViewHolder but it's of the type: BindingViewHolder<ViewBinding>

It's a bit late but maybe it will still help: I used this suggested extension to resolve this without switching item type to ViewHolder
class ClickEvent(private val listener: Listener) : ClickEventHook<FavoriteEmptyItem>() {

        override fun onBindMany(viewHolder: RecyclerView.ViewHolder): List<View> {
            val viewList = listOf(
                viewHolder.asBinding<ItemEmptyBinding> {
                    it.buttonItemEmptyDestination
                },
                viewHolder.asBinding<ItemEmptyBinding> {
                    it.imageViewItemEmptyRemove
                }
            )
            return viewList.filterNotNull()
        }

        override fun onClick(v: View, position: Int, fastAdapter: FastAdapter<FavoriteEmptyItem>, item: FavoriteEmptyItem) {
            when (v.id) {
                R.id.buttonItemEmptyDestination -> listener.onEmptyItemDestinationClick(item, position)
                R.id.imageViewItemEmptyRemove -> listener.onEmptyItemRemoveClick(item, position)
                else -> Timber.w("Unknown FavoriteEmptyItem view id")
            }
        }
    }

Not sure if it's perfect but it works 👌

fastAdapter.addEventHook(object : ClickEventHook<ChannelItem>(){

    override fun onBind(viewHolder: RecyclerView.ViewHolder): View {
        return ChannelListItemBinding.bind(viewHolder.itemView).xxx
    }

    override fun onClick(
        v: View,
        position: Int,
        fastAdapter: FastAdapter<ChannelItem>,
        item: ChannelItem
    ) {

    }
})


Reintroduce sigv4 default

This depends on aws/aws-cli#2671
We ran into some flaky test issues that were exacerbated by the switch to sigv4 by default so we had to revert. The cli pr fixes those, and this reintroduces the default. This is exactly the same as #1208 except I removed an unused import.

Codecov Report

Merging #1222 into develop will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1222      +/-   ##
===========================================
+ Coverage    98.01%   98.06%   +0.04%
===========================================
  Files           45       45
  Lines         7306     7335      +29
===========================================
+ Hits          7161     7193      +32
+ Misses         145      142       -3

Impacted Files
Coverage Δ

botocore/client.py
99.73% <100%> (+0.01%)
:arrow_up:

botocore/args.py
100% <100%> (ø)
:arrow_up:

botocore/auth.py
98.08% <100%> (ø)
:arrow_up:

botocore/credentials.py
98.29% <0%> (+0.56%)
: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 cc85fc1...f389306. Read the comment docs.


Updated deprecation message of noseedbackup

According to the recent discussion noseedbackup is not deprecated.
This change clarifies the message about deprecation.
Closes #4499
Pull Request Checklist

[ ] If this is your first time contributing, we recommend you read the Code
Contribution Guidelines
[ ] All changes are Go version 1.12 compliant
[ ] The code being submitted is commented according to Code Documentation and Commenting
[ ] For new code: Code is accompanied by tests which exercise both
the positive and negative (error paths) conditions (if applicable)
[ ] For bug fixes: Code is accompanied by new tests which trigger
the bug being fixed to prevent regressions
[ ] Any new logging statements use an appropriate subsystem and
logging level
[ ] Code has been formatted with go fmt
[ ] Protobuf files (lnrpc/**/*.proto) have been formatted with
make rpc-format and compiled with make rpc
[ ] For code and documentation: lines are wrapped at 80 characters
(the tab character should be counted as 8 characters, not 4, as some IDEs do
per default)
[ ] Running make check does not fail any tests
[ ] Running go vet does not report any issues
[ ] Running make lint does not report any new issues that did not
already exist
[ ] All commits build properly and pass tests. Only in exceptional
cases it can be justifiable to violate this condition. In that case, the
reason should be stated in the commit message.
[ ] Commits have a logical structure according to Ideal Git Commit Structure

OK, done.

Thanks, changes look good now!
Would be nice if you could squash the two commits and prefix the commit message with config:  to make it conform to our guidelines.

No problem, done.


refactor: impl scalar value for kcl result

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

refactor: impl scalar value for kcl result

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-9 of 28 (67.86%)  changed or added relevant lines in 1 file are covered.
14 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 63.032%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/kcl/api.go
19
28
67.86%

Files with Coverage Reduction
New Missed Lines
%

pkg/kcl/api.go
14
45.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
3127

Relevant Lines:
4961

💛  - Coveralls


Split line and node counts by file extension

Continue to show only a summary for --diagnostics.

@RyanCavanaugh asked for these numbers a while back.  In local GH experiments, they showed that most projects are mostly .d.ts files.  (I believe my summary at the time was that 80% of projects are 90% .d.ts.)


The components folder should be removed

I think this folder should be removed. The examples could reference a public angularjs cdn, or the dependencies could be fetch using bower for the example.
Reason for removing: it wastes space and increases maintenance.

Agreed, remove that and put the components folder into the .gitignore so it doesn't happen again.

Finished, removed the folder and then had to implement a hook into travis to run bower install first before it executed anymore scripts.

Thanks for the suggestion, got this closed up.


Fixed broken links to Trenchbroom's Setup Guide

I've fixed two broken links to setup guide which were using domain name without protocol (resulting in invalid link in the final rendered page: https://qodotplugin.github.io/docs/beginner's-guide-to-qodot/qodotplugin.github.io/docs/beginner's-guide-to-qodot/trenchbroom-setup.html). There's also one working hardcoded link to beginner's guide.
I've changed those links to relative markdown files (which should be converted by markdown renderer, just like in other parts of the docs).

There's also #17 which fixes the same problem, but I think using relative markdown links and relying on documentation renderer to use them is a preferred way, rather than hardcoding public URL.


MetaPathBasedLoader: Python3.8 PyInterpreterState

On Python 3.8, the definition of PyInterpreterState has been
moved to internal headers.

Example at https://build.opensuse.org/package/show/home:jayvdb:python38-static:packages-Nuitka/python-story-clang
(ignore the 'static' in the URL; static disabled to verify this patch)
I'm happy to have this sit in waiting until we get Python 3.8 test rig happening.  Happy to help get the test rig working on Python 3.8, but cant help much this coming week.

The last Python3.8 that worked for me was beta3 btw, on both Linux and Windows, I think.
I have updated to rc1 on Windows, and did not encounter this, although very likely, I might not have done standalone mode, now that I am thinking of it. I am currently updating on Linux, where compilation will take a while though.

@kayhayen , I was thinking it is better to keep this very local so we would find any other bits that depend on internals, and avoid polluting the global namespace.

@jayvdb you have a valid point there, also because I am not yet even aware, why the meta path based loader needs that level of access and the rest does not.

So, the Python 3.8 test suite was pushed, and I am working a bit on it. It found a crash in test_asyncgen with Python 3.8 showing a failed assertion and Python 3.7 showing a corruption.
Executing new tests with old Python sometimes reveals unfixed bugs of CPython, but often also bad error handling. I will try and narrow these down. Also running the test suite with "all" to get a feeling for how good everything is, should be on the agenda. I am aiming at working on and off on 3.8 support until my private life becomes stable again. That mostly is busy work and can be interrupted at any point.

I found the reason it crashed with 3.7 and even 3.6 (asyncgen go no earlier) and fixed it. This is why it's always good to go first for old version with new tests, and then new version with old tests. I am doing the 3.8 tests for 3.8 only as the last thing. Surely I do not like to mix new test bugs with changes in the Python implementation, but to stand on stable grounds first.

So, I am merging this now, btw factory is a very nearly good 3.8 support then, once I rebase on this I suppose, got most of the stuff implemented. I setup my CI, and this is indeed needed for non-Windows CI, to get at the flags to use for dlopen.
Nuitka does its own shared library loading, so it can handle special needs.


Compute quantiles with groupby

It might be nice to be able to compute quantiles after a groupby command, maybe in a syntax similar to this:
(
    df
    .filter(variable="Emissions|CO2")
    .compute.groupby("category")
    .quantiles([0.05, 0.95])
    .plot(color="category", fill_between=True)
)

I like the idea! The main question is how to name the model/scenario/variable/region values of the computed data such that the returned object can be again an IamDataFrame.

This is how we solved this in scmdata (although ignore the type hints, they're broken): https://github.com/openscm/scmdata/blob/30b8ce9037af634551c9199f411fe5743b8e2e63/src/scmdata/run.py#L1628
We let the user specify the outputs for e.g. model/scenario with the op_col variable and say whether they want to try casting back to an ScmRun object with the as_run variable. You don't have to do it that way of course, you could also always try to cast back to IamDataFrame and use something like op_col to let users pass in the extra data needed to make that conversion valid


Memory leak when archive large files and network is slow at the same time

Description

memory go up when archiving big file

Reproduce

when archive and download a big floder using jupyter_archive
and the network is slower than the speed of archive
the memory will go up and there is no limit !!!

solution

I think it is because the is no limit on the buffer
both _write_buffer of RequstHandler, as well as _write_buffer of IOStream, which is base of tornado framework, should be limited
limit the buffer can solve this issue, and I will do a pull request

Closed by #62


ironic image patching removed

ironic image patching removed.

/test ?

/test-metal3-fullstack

/test-integration-metal3-dev-tools-centos
/test-integration-metal3-dev-tools-ubuntu

/test-integration-metal3-dev-tools-ubuntu

/approve

Nice, just please remove the link to the job as that will become unavailable after some time,
/lgtm
Also please don't forget to add the customization options for source based install in a followup .

/test-integration-metal3-dev-tools-ubuntu

/test-integration-metal3-dev-tools-ubuntu

See https://github.com/kubernetes/k8s.io/pull/4837

/test-integration-metal3-dev-tools-centos
/test-integration-metal3-dev-tools-ubuntu

/lgtm

/approve


"theme:compile" command fails with Google Storage as FS

PHP Version
8.0/8.1
Shopware Version
<IP_ADDRESS>
Expected behaviour
I'd expect that the "theme:compile" command successfully compiles the theme and copies all files to the Google Storage bucket.
Actual behaviour
The command fails with the following exception:
League\Flysystem\Filesystem::putStream expects argument #2 to be a valid resource.

How to reproduce
The issue can be reproduced with a default installation. Just use Google Storage as FS and try to compile the theme.
In my case, it failed when copying the fonts to the themes folder. (Because it has multiple target files?)
After some debugging, I've resolved the issue for my case with the following:
It seems that the fopen stream from CopyBatch will be consumed multiple times in some cases. So a quick fix was to move the fopen into the second foreach-loop.

I will close this issue as we have changed the complete filesystem behaviour in next major version


Question: On Android: how to find out the ConnectWifi() response?

Hi,
I was playing with your nice WifiManager class and tried to automatically open a web page whenever a specific Wifi was connected (I am using Android). However, I cannot seem to get a useful response in the
var status = await CrossWifiManager.Current.ConnectWifi(...);
call - it seems to always return an empty NetworkData object, regardless if connect was successful or not (e.g. wrong password).
I've digged a bit through the code and found that the task seems to complete, before the Android callback is called...
In WifiNetworkService,android.cs, in function ConnectWifi(), for my version of Android the RequestNetwork()-function is called - and this does not await any event, it just returns the (current/previous) _networkData member...
As I am only learning MAUI and Android, I wonder, if you could give me a hint on how to change the code to return a real (awaitable) Task object - or how to catch the _connectivityManager event from the client (user of the CrossWifiManager class) side...?
Thanks and best regards!

Have you obtained the necessary permissions from the users and also added them to your Manifest file?

Sure! I am able to list SSIDs and connect - everything seems to be working fine! I also see the _callback.NetworkAvailable (line 42 of WifiNetworkService.android.cs) being called (using the debugger running on a physical device).
However, the _callback.NetworkAvailable callback is called after (~1 second or so) the call await CrossWifiManager.Current.ConnectWifi(...) completes (I can see this in the debugger, too). The return value of the status = await ConnectWifi(...) function is empty, the parameter for the _callback.NetworkAvailable called a second later then has the correct data...
I suspect, that it is not really completing a task in ConnectWifi(...), but that's currently too difficult for me to understand (working on it). I Would expect that the ConnectWifi(...) should return a "running" task object, which will be set to "completed" in the _callback.NetworkAvailable function - but there is no code in there.
That's why I was asking for one of the follwoing:

A hint on how to bubble up the  _callback.NetworkAvailable to my user code (e.g. provide an interface to registering a callback in the WifiManager class, which then can be called from _callback.NetworkAvailable)
Understand why the Task object returned from ConnectWifi(...) immediately completes

Thanks!

Added task to get network info after the connection is established with this

Nice! After a quick test, this seems to work pretty well for Android R. I've tried to understand your change to add this for Android Q, too - but without success so far...
Any chance, you can take a look into this, too?

Finding Android 10 devices here is quite challenging. Let me try to locate one and test the issue.

Sorry, I did not want to bug - please don't put too much effort into this.
I am still trying to understand the mechanics of asyncronous/tasks, but maybe I should start with a simpler thing first.

Add ConectWifi() response for Android 10 with the release. 1.0.4


Titlebar on KDE Linux shows the generic X11 icon.

Are there any related issues?
No, I could not find any similar issues, either open or already closed.
What operating system are you using?
Linux, Fedora 25, KDE Plasma 5 Desktop Environment.
What version of N1 are you using?
0.4.402, according to $ nylas -v
--
Bug?
Do you have any third-party plugins installed? If so, which ones?
No. Only the default plugins are installed
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
No. This issue is completely independent of the email provider
Is the issue reproducible with a particular attachment, message, signature, etc?
N/A
--
Feature Request?
Does this feature exist in another mail client or tool you use?
N/A
--
I am running Fedora 25, with the KDE Plasma 5 desktop environment. The top left icon in the system tool bar shows a generic X11 icon instead of a Nylas or N1 icon. Since I am fairly certain that is not intentional, I believe this is a bug. I have attached a screenshot to show the issue; look at the top left.

Same issue here. Any updates?


Dynamically linking fstat & co

While testing crystal i on linux, I encountered an issue with linking fstat at runtime FFI (see https://github.com/crystal-lang/crystal/pull/10910#issuecomment-909380602).
dlsym was unable to locate the symbol fstat in libc.
This can be reproduced using the following code:
def load_symbol(library, name)
  handle = LibC.dlopen(nil, LibC::RTLD_LAZY | LibC::RTLD_GLOBAL)
  if handle.null?
    raise "dlopen failed for lib: #{library}: #{String.new(LibC.dlerror)}"
  end
  sym = LibC.dlsym(handle, name)
  if sym.null?
    raise "dlsym failed for lib: #{library}, name: #{name.inspect}: #{String.new(LibC.dlerror)}"
  end
  sym
end

p! load_symbol("libc", "fstat")

On Debian/Ubuntu, this fails with undefined reference to fstat'` but it works on some other Linux systems (I tried Arch and Fedora).
And indeed, objdump shows no fstat symbol in libc.so on Debian/Ubuntu.
fstat and similar methods are wrappers around internal functions like __fxstat (you can see that in stat.h). It seems that some libc instances still have symbols for those methods which makes it work. Others don't. And I haven't found an explanation for this different behaviour.
Conufisingly however, when linking a compiled program, it actually works even on Debian/Ubuntu. Even stdlib links fstat.
A minimal example would be this:
# crystal build --prelude=empty
lib LibC
  fun fstat(fd : Int32, buf : Void*): Int32
end

LibC.fstat(1, Pointer(Void).new(0_u64))

When linking with ld instead (--cross-compile, replace cc with ld, remove -rdynamic), the symbol can't be found either. Apparently, the linker frontend (gcc in my case) somehow takes care of resolving these wrapper symbols.
So, the fact that the stdandard library bindings work for compiled programs depends on linker behaviour. In interpreted mode, we'll need to handle that differently. And it might not be a bad idea to do the same for compiled mode, because that should work the same way and we'd keep both closely aligned.
The crystal i branch already contains a binding to __fxstat as a quick workaround. This definitely works. It's not great because we're linking an internal symbol. Stability is probably not an issue, but still it's not really a documented feature.
An alternative would be to use the syscall fstat directly, completely ommitting libc. That would be possible with #10777. It might require some more work on our end, but it seems pretty straightforward actually.

So, the fact that the stdandard library bindings work for compiled programs depends on linker behaviour. In interpreted mode, we'll need to handle that differently.

Definitely!
Other examples of these that I found:

When I tried the interpreter with crystal-db and sqlite3 it didn't work: it can't find the lib for sqlite3. There's nothing there in pkg-config either. But compiling it somehow works 🤷
In compiled mode you can link against an .o file with ldflags. We'll have to find a way to make that work in interpreted mode, but I don't know how. I don't think you can dlopen a .o. Maybe we can produce a shared library on the fly out of that .o.

The issues you're mentioning are about discovery of library files. That's a separate topic. The current approach is just jerry-rigged to make it somewhat working. But it is clearly insufficient for more complex situations.
For that we need to implement a proper discovery mechanism for libraries that resembles the lookup behaviour of ld.
dlopen can definitely open object files, that should be no problem.

dlopen can definitely open object files, that should be no problem.

Could you include a snippet on how to do that? I can't seem to make it.

Sorry, it appears that was false information. dlopen can only open shared libraries. But apparently, you can name a shared library .o 😆

Somehow I completely missed that the same applies to stat, not just fstat and lstat. Seems logical, but 🤷

I'm having this issue while running the interpreter (1.4.0-dev). I'm not seeing definitions for LibC.__xstat so, for instance, running crystal i on
LibC.__xstat(1, Pointer(Void).new(0_u64))

fails, but if I define it
lib LibC
  fun status = __xstat(fd : Int32, buf : Void*): Int32
end

it works fine. Shouldn't this be defined?

Apparently I forgot the actual lib bindings in #11536 🤦♂

Correction, we all did... :sweat_smile:


Scrollable element: Right-hand side is always capturing mouse events, even when not needed

cc @alexandrudima for review: https://github.com/Microsoft/vscode/commit/d0853f2f0b074c727b14f95078a109125c2d16b1

LGTM


Fix error in dst time diff

if (time_diff > stwa.syncDifferentFileAllowableTime) && !isSyncOptionIgnoreDstDifference() --> diff = true

thanks, your last commit is now ok


Missing field for cart_tax_country_iso in the store edit form

It's missing the field to enter the cart_tax_country_iso for the store edit form

Please submit a PR to add it.
However, much of the store#edit logic is already in core, you could also identify the bits that are missing and port them over. The long-term plan is to sunset this extension.

The missing fields in store form should be fixed with #72


Add transition effect in events card.

Current Behavior
there is not transition effect in the box shadow.
Desired Behavior
I will add transition effect that will make it more attractive.
Screenshots / Mockups

I will transition effect on it.

I have raised a PR  #203 regarding this. Please assign this issue to me under gssoc. Please review the PR and mention me  if any changes are required.

Thanks Aarav, we have merged your PR:)


Implementation of Agents for Kubernetes APIs

This change sets adds two new services:

ClusterAgents
ClusterAgentTokens

The former is already available in 14.9 and the latter is anticipated to land in 15.0, see https://gitlab.com/gitlab-org/gitlab/-/merge_requests/85704/
I suggest to wait for a merge of this PR until everything is merged and available on gitlab.com.

The MR on GitLab has been merged and the API is this one: https://docs.gitlab.com/ee/api/cluster_agent_tokens.html

@svanharmelen ready for your review!


options aren't stored in settings.json

I've used commands like 'set colorscheme simple', 'set tabsize 8' etc, and they all work in the editor during the session, however the settings aren't saved to ./config/micro/settings.json when exiting, instead the file only contains 'null' .
I'm on Arch Linux 64bit, Go 1.7
I've tried the latest release binary from here and also used 'go get -u github.com/zyedidia/micro/...' to successfully build the binary locally.
Any idea of what might be the problem ?

confirmed, this happens when you have an empty or non-existent "settings" file.
As a workaround, create $HOME/.config/micro/settings with a default configuration, e.g.
{
    "colorscheme": "zenburn"
}

then you'll be able to save your colorscheme setting. Seems that only config entries already in the file are persisted, in this example tabsize setting will be not saved. Bug or feature ?

You should probably remove the settings.json file you have now, and micro will create a new one which works after the most recent commit.


OpenAI integration to search for visits and other events

OpenAI has an official Python library and would lead to some interesting integrations if we can index the synchroised database to be indexed and the user can pose questions like:

Dev Mukherjee's last visit to the pool

or event reporting such as:

How many times does Dev Mukherjee goto the pool a month

Design
The first portion of this would be to analyse how the OpenAI platform works from an API standpoint and if it's useful to present this as part of the cli and tui interfaces.
Note that the API key will have to be vendored in by the user of the tool, but this is ok as the interfaces are designed for an advanced user.
Once we are comfortable with what the OpenAI API does, then we can expand on the specific requirements of this ticket.
Technical considerations
Not that this should make a difference but @openai use rye as the package management tool for the Python package.

See ticket where we are moving to hatch

Explore the possibility of using a local LLM to ensure the library and utility is decoupled from a commercial service.
Rationale: what we are trying to do is not that difficult in terms of language models and could without depending on a third party service.


[WIP] Use new API client

Move to the new API client by @karelhala and @Hyperkid123
to be rebased after https://github.com/ManageIQ/sources-ui/pull/57 is merged

@karelhala, @Hyperkid123 : I updated the PR based on your feedback. Please, check.
Thx!


Try use Google Cloud Storage and Google Datastore

Try use this technology for store multimedia data and have direct access from anywhere. It's good idea for large scale service and very hard integration with our current solution.

We release this feature in new build :)
Datastore - cache for customer information and hyperlinks
Storage - storage for waterfall and personal music library


Fix badly formatted sample.json file in simple-add sample

Existing Sample Changes
Description
It's all about the commas! Several "array of strings" were missing commas and had excess commas. Resulting in sample aggregator errors.
External Dependencies
Sample aggregator, see statement above.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[x] Sample aggregator.

@praveenkk123 -- this PR fixes some problems with commas in the sample.json file. The aggregator is sending emails regarding this problem. Must be fixed before it will show up in the oneapi-cli -u "https://iotdk.intel.com/samples-iss/master/" feed.


Add Mac address to interface table and sync  data

NetBox Librenms Plugin version
v0.2.3
NetBox version
V4.1
Feature type
New functionality
Proposed functionality
Add interface Mac address to the interface sync table and sync data.
Use case
Useful and unique interface data
External dependencies
No response

@donmart85

Hi,
I'm trying to learn python (with ChatGPT help XD).
I would propose modified file for syncing mac address (tables.py and utils.py).
In my lab it seems working.
Could you check it?
Thanks.
Regards.
modifica mac address.txt


Draw fog

a way to draw fog on with an actor would be great or a way to clear the current written fog

Any word on this being implemented any time soon?
If you could point me in the right direction I can write the patch and create a pull request


About flops of yolov7-tiny

yolov7-tiny's GFlops is 5.2 in Chien-Yao's paper. But it's 13.7 in damo-yolo table.8.
I want to know the difference.

Hi @wjnxjtu, thanks for your issue.😊
I rechecked Chien-Yao's paper. I think yolov7-tiny with "GFLOPs 5.2" you mentioned might be YOLOv4-tiny-3l model with an input size of 320 in Table 1 of Chien-Yao's paper.
But in our paper, we compared our models with YOLOv7-T-silu, which is YOLOv7-tiny-SiLU with an input size of 640 in Table 2 of Chien-Yao's paper.
Maybe you can check again later. And please get in touch with us anytime if you have any further confusion~


Syntax error in the README

The output json should be like this:
{
	"html": "",
	"blockarr": [],
	"blocks": [
		{
			"id": 1,
			"parent": 0,
			"data": [
				{
				"name": "blockid",
				"value": "1"
				}
			],
			"attr": [
				{
				"id": "block-id",
				"class": "block-class"
				}
			]
		}
	]
}

Some quotes 1 closing bracket were missing.

Fixed


EFNF construction of XMLDecl in doc comment incorrectly previewed as empty string

Does this issue occur when all extensions are disabled?: Yes

Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:47:05.613Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.1.35
Sandboxed: No

Linux Version: NixOS 23.05 (Stoat) x86_64
Steps to Reproduce:

/**
 * XMLDecl   ::=   '<?xml' VersionInfo EncodingDecl? SDDecl? S? '?>'
 */
function foo() {
    //
}

foo();

a friend pointed out wrapping the comment line in backticks works around the issue. it seems to think it is actual xml markup and strips it out, as many markdown parsers do, leaving only the surrounding single quotes

Yes this is expected and the proper fix is to use backticks. Otherwise it will be parsed as an invalid html element and stripped out


Fix dependency version specs

Also, make the following CI changes:

Test with -Zdirect-minimal-versions
Use the cargo cache
Use "cargo check" instead of "cargo build", since there are no tests anyway

minver ci is fail, could you fix it so i can merge this pr?

Should be fixed.  Even though I wrote "direct-minimal-versions" in the commit message, I actually put "minimal-versions" in the .cirrus.yml file.


gitstatus: patch fewer characters

This is a followup to https://github.com/NixOS/nixpkgs/pull/76744.
The patch is still too aggressive because it captures additional local
variables declared in the same line. It should stop when it hits
whitespace.
Even better, patching in the GITSTATUS_DAEMON variable seems like a more stable
solution than doing inline replacements.
See https://github.com/romkatv/gitstatus/pull/92.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@mmlb

Works for me! Thank you for fixing this.

Looking at gitstatus' source code is seems to also have a non-zsh version of this which could be installed as well in the future


Change F1...F12 to Brightness Control...Not working in OS X 10.11.4

I have box checked but settings not applied. External keyboard. Reinstalled. Tried beta version. Restarted computer. Plugged keyboard in again.

What is your keyboard hardware?

My keyboard is a DBPower USB keyboard.
On Feb 21, 2016 21:21, "Takayama Fumihiko"<EMAIL_ADDRESS>wrote:

What is your keyboard hardware?
—
Reply to this email directly or view it on GitHub
https://github.com/tekezo/Karabiner/issues/583#issuecomment-186982429.

Thank you for information.
I believe Karabiner can change the f1-f12 keys on your keyboard.
Please confirm the follows:

Is your keyboard shown in EventViewer > Devices tab?
https://pqrs.org/osx/karabiner/document.html.en#eventviewer

Did you enabled this setting?
There are similar settings in prepared settings.
Be careful to select "F1,F2 to XXX". (not "XXX to F1,F2")

Thank you very much for your support. I completely removed everything and then installed the latest beta and it appears to be working. I wish I knew why it wasn't, but it is now. :)


Allow all plugins (utilities, custom plugins, etc.) to be configured in Meltano UI

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3364
Originally created by @aaronsteers on 2022-03-30 22:39:52

The proposal here would be to expand the Meltano UI config experience to support interactive configuration of all plugin types.
Essentially the UI would operate the same way as today, except that any plugin could be configured using the same interface.

Closing as no longer relevant on account of the removal of the UI for Meltano 3.0


Broken overload in z.record().

There's a bug in the overloads for z.record() that lets you to pass in an arbitrary schema as the key schema into z.record()...whoops.
const schema = z.record(z.object({ name: z.number() }), z.number());
// no TS errors

The expected behavior is that the first argument should conform to type KeySchema = ZodType<string | number | symbol, any, any>; but it currently doesn't.
In order to fix it I need to remove the "single argument" shorthand: z.record(z.number), which will land in Zod 4.

const User = z.object({ name: z.string() });

const UserStore = z.record(z.string(), User);

I don't think so? What do you thin it should be?

@colinhacks looks like this could be fixed like this:
static create<Value extends ZodTypeAny, Params extends RawCreateParams>(
  valueType: Value,
  params?: Params extends ZodTypeAny ? never : Params
): ZodRecord<ZodString, Value>;

Not super ideal but it will complain about it will never if the 2nd param is a ZodTypeAny forcing TS to choose the other overload


Bot

I'm not entirely sure what this PR is supposed to achieve. Could you give it a more descriptive title and give us a description of what you want to do with this PR? Thanks!


Migrate TSLint to ESLint

TSLint has been deprecated. The migration for vscode already happened with microsoft/vscode#87644. Extension authors are also encouraged to migrate according to the docs, so the samples should be migrated accordingly.

Looks like @mjbvz and @octref have added most tslint.json-files and have therefore inherited ownership...
I agree that having uniform styles is good for our samples, but I think it is wrong to put that in each and every project, instead this should be enforced from the outside. This is important when we author those samples, but not when someone reads a sample.

Thanks @mjbvz


Add Recovery Codes for User Account

Note: This branches off #8, but this should come first. Still in draft mode until the UI and functionality is working.
Enable recovery codes for if the MFA token is lost. This just creates
them and allows checking, but doesn't actually include the UI to check
yet or the actual resetting of the credentials yet.

We now have an interface.


新插件

1、增加实时日志上报插件
2、CLEAN DIST PLUGIN

Codecov Report

Merging #29 into master will decrease coverage by 6.41%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   94.73%   88.32%   -6.42%
==========================================
  Files          62       65       +3
  Lines         988     1182     +194
  Branches      264      324      +60
==========================================
+ Hits          936     1044     +108
- Misses         43      105      +62
- Partials        9       33      +24

Impacted Files
Coverage Δ

packages/wxa-validate/src/utils/index.js
83.33% <0%> (-5.31%)
:arrow_down:

packages/wxa-redux/src/index.js
96.06% <0%> (-3.94%)
:arrow_down:

...ckages/wxa-core/src/decorators/class.decorators.js
100% <0%> (ø)
:arrow_up:

packages/wxa-core/src/utils/wxapi.js
100% <0%> (ø)
:arrow_up:

packages/wxa-mbox/src/index.js
5.4% <0%> (ø)

packages/wxa-mbox/src/utils.js
0% <0%> (ø)

packages/wxa-redux/src/registry.js
100% <0%> (ø)

packages/wxa-core/src/wxa.js
91.59% <0%> (+2.44%)
: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 89d3903...4dfe15e. Read the comment docs.

Auto cover some personal key element is preferred.

Auto cover some personal key elements is preferred.
自动对客户信息进行脱敏应该会比较有用😄

https://github.com/wxajs/wxa/pull/34


Error: Can't resolve './app.module.ngfactory';; angular 5

getting this issue with ionic 3.9.2 angular 5.
if i uninstall it, project is working fine
Module not found: Error: Can't resolve './app.module.ngfactory' in 'E:\Working Project\test\testpiderweb\src\app'
resolve './app.module.ngfactory' in 'E:\Working Project\test\testpiderweb\src\app'
  using description file: E:\Working Project\test\testpiderweb\package.json (relative path: ./src/app)
    Field 'browser' doesn't contain a valid alias configuration
  after using description file: E:\Working Project\test\testpiderweb\package.json (relative path: ./src/app)
    using description file: E:\Working Project\test\testpiderweb\package.json (relative path: ./src/app/app.module.ngfactory)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        E:\Working Project\test\testpiderweb\src\app\app.module.ngfactory doesn't exist
      .ts
        Field 'browser' doesn't contain a valid alias configuration
        E:\Working Project\test\testpiderweb\src\app\app.module.ngfactory.ts doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        E:\Working Project\test\testpiderweb\src\app\app.module.ngfactory.js doesn't exist
      .json
        Field 'browser' doesn't contain a valid alias configuration
        E:\Working Project\test\testpiderweb\src\app\app.module.ngfactory.json doesn't exist
      as directory
        E:\Working Project\test\testpiderweb\src\app\app.module.ngfactory doesn't exist

In order to get info about the error run:
$ ./node_modules/.bin/ngc
Error at /home/bogomips/my_project/node_modules/ionic2-auto-complete/ionic2-auto-complete.d.ts.AutoCompleteComponent.html(42,23):  ("mplate
                      [ngTemplateOutlet]="template || defaultTemplate"
                      [ERROR ->][ngOutletContext]="
                        {attrs:{ data: suggestion, keyword: keyword, labelAttribu")
Error at /home/bogomips/my_project/node_modules/ionic2-auto-complete/ionic2-auto-complete.d.ts.AutoCompleteComponent.html(40,15):  ("gestion of suggestions" (tap)="select(suggestion);$event.srcEvent.stopPropagation()">
              [ERROR ->]<ng-template
                      [ngTemplateOutlet]="template || defaultTemplate"
                 ")

There's already a branch for resolving all the angular 5 issues, please stay tight :)

Iv'e published an experimental version with ng5 support<EMAIL_ADDRESS>I am a bit short in time at this period, and unfortunately don't have enough time to test myself , so I'll be glad to get some feedback from you :)

I am closing this for now, lets continue this discussion in #128


Parameter for filter not being supplied

When I execute a LINQ query using a filter on the context I recieve and error of:
The parameterized query '(@p__linq__0 int)SELECT
[Extent1].[OrderID] AS [OrderID], ' expects the parameter '@p__linq__0', which was not supplied.
The filter looks like this:
_context.Filter<Order>(q => q.Where(i => i.Shipper.CompanyId == userData.ShipperId));
The query has this at the end [Extent1].[ShipperID] = @p__linq__0)
If I change the userData.ShipperId to be a literal of 1 the query works.  It appears the that value is not being passed in for some reason.  I have global filters enabled to handle soft deletes but I have disabled them and still have this issue.

Thank you @ljfolino ,
We successfully reproduce this issue.
The issue starting to appear in the Query Filter revamp to use Interceptor for supporting Lazy Loading, Include, etc.. starting from version 1.4.x

This did work at one point.  Any idea what could have introduced this issue?  I had the same code running and tested with the 1.4.0 version.

Hello @ljfolino ,
Just to give you an update. We now understand why this is happening. Unfortunately, we tried this weekend, but we didn't successfully found how to fix it. We will try for sure again to find a solution before next week, but we cannot promise anything since this kind of issue is sometimes very hard to fix.

I reverted to the 3.x version and am using that for the time being.

Hello @ljfolino ,
We finally found some time to work on this issue and we are getting closer to a resolution.
We have found a good workaround which fixes this issue by using constant value instead of the parameter (exactly like if you was using a literal in your filter expression).  There is some work to do to make sure this fix is our best options available, but we are pretty sure a fix will be available on Monday.
I will let you know updated.

Hello @ljfolino ,
The v1.4.8 has been released.
Can you try again with the new version and let me know if this issue is fixed?
Best Regards,
Jonathan

Sorry I will not be able to test this any time soon.  I did not want to not respond though.

Hello @ljfolino ,
To reduce the number of thread in the Issue Tracker, we will close this issue since we believe we have fixed it in v1.4.8.
If you still get the issue, just re-open it when you will have the time to test it.
Best Regards,
Jonathan

I think that this error from Linq, userData.ShipperId should be a const value, look like this:
var shipperId = userData.ShipperId;
....... //next code

Hello @sessionliang ,
This error was our fault not handling variable correctly. It should have been fixed in v1.4.8


Undertake a review of insights and feedback shared by users on selected components and patterns

Brief
To start this brief, #4281 must be completed in order to establish which components and patterns to look at first.
In this brief, a small disciplinary squad will review the community backlog and our repositories, reviewing insights and feedback from users and creating proposal iterations.
The squad should identify iterations which are low risk, and which need further research, with a view to making iterations in the next cycle.
As part of this brief, we should also establish a regular cadence of reviewing all our components and patterns, and create an OKR to help us achieve this.
Epic lead
Kelly
Driving role(s)
Owen, Hazal, Calvin
Needs awareness
Share findings with whole team
### Tasks
- [ ] Review all open issues on govuk-design-system and govuk-frontend repositories and add labels to any issues which are related to Checkboxes, Accordion, Button, Character count or Tabs
- [ ] Priority order for review: Accordion (week 1), Tabs & Checkboxes (week 2), Button & Character count (week 3)
- [ ] Async review of each component, with insights and feedback collated on spreadsheet
- [ ] Whole group discussion of feedback
- [ ] Identify possible iterations, or where we need further evidence to make a decision
- [ ] Share with the team for feedback
- [ ] Document in GitHub as future brief or small story

Week 2: Tabs & Checkboxes
Monday:
Async review of Tabs backlog
Tuesday:
Discuss findings on Tabs & identify iterations
Wednesday:
Async review of Checkboxes backlog (non-meeting day)
Thursday:
Team away day
Friday:
Discuss findings on Checkboxes & identify iterations

Week 2: Button & Character count
Monday:
Async review of Button backlog
Tuesday:
Discuss findings on Button & identify iterations / Async review of Character count backlog
Wednesday:
Discuss findings on Character count & identify iterations
Thursday:
Create briefs and small stories / Show & tell
Friday:
Document process and decide whether it's repeatable


Append "(new personal best)" to round time message when new pb achieved

Title, just a thought to make pbs more visible and more like the official boss pbs (I have no idea whether this is feasible)

The plugin doesn't currently announce wave end time, but would be easy to implement announcing the wave end time. Might be confusing having Ba Minigame + This Plugin + Base runelite Plugin announcing the wave time.
Might be good to look into integrating this feature(Pbs) into Ba Minigame or reflecting Ba Minigame's methods to only announce one round time

Integrating into ba-minigame might not be necessary if we can intercept and modify the message it spits out (same for other plugins that announce round time). There are people out there who have multiple plugins enabled that print different times, but maybe it's not worth accounting for them: could just append it to the first one or all of them, doesn't really matter.
I've also realized since filing this that the plugin uses its own timer, which might not match with the outputted times from other plugins. Not really sure what you'd want to do if inconsistencies happen there (e.g., user sees a new pb as reported by ba-minigame but the pbs plugin doesn't pick that up).
Also occurred to me that differentiating between role pbs and overall pbs in the message could be done, too


My voice heard by myself in IOS

I am making a cordova app for video chat and voice chat. Everything is fine except when i speak in ios device i can heard my voice again after a second or so.
In android everything is fine but in IOS i can hear my voice again and again on every time i speak.
Please reply if anyone has a solution..

what version of sdk's are you using? This was a known bug in older sdk's
On 27 May 2016 at 13:40, ranjan agarwal<EMAIL_ADDRESS>wrote:

I am making a cordova app for video chat and voice chat. Everything is
fine except when i speak in ios device i can heard my voice again after a
second or so.
In android everything is fine but in IOS i can hear my voice again and
again on every time i speak.
Please reply if anyone has a solution..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/songz/cordova-plugin-opentok/issues/223, or mute the
thread
https://github.com/notifications/unsubscribe/ABhvS3KGzUszMIPX88bsD62CfO9Zx2i7ks5qFuZFgaJpZM4IodmI
.

I am using latest cordova cli with latest ios platform..and i have downloaded this plugin by its name given here..
How can i check the sdk you are referring to??

You might want to checkout one of the more uptodat forks of this project.
This project default is to use opentok 2.4. they're now on 2.8 and it's
improved a lot...
On 27 May 2016 18:10, "ranjan agarwal"<EMAIL_ADDRESS>wrote:

I am using latest cordova cli with latest ios platform..and i have
downloaded this plugin by its name given here..
How can i check the sdk you are referring to??
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-222201737,
or mute the thread
https://github.com/notifications/unsubscribe/ABhvS_arffJq4ZXM1Vzcwj5NlZt1qqZrks5qFyVxgaJpZM4IodmI
.

Hi martyzz, its silly to ask but i dont know how to find a latest fork. Can you please help me out.
What i have done is i have create my cordova app and i have installed the plugin using cordova plugin add cordova plugin add https://github.com/songz/cordova-plugin-opentok/
Then i have added my code in the app and added ios platform. Then i have build the app using xcode and installed in iphone.
Same i have done for android and installed in my android phone. Then i made connection between these two devices only and i am having the problem.

try one of these forks
https://github.com/IjzerenHein/cordova-plugin-opentok
or this one
https://github.com/mergein/cordova-plugin-opentok
I haven't tried either, but I can se they're both being activiely contributed to and include much newer opentok sdks (2.7)
Also it is possible to update to 2.8, but you'd have to do this manually yourself, by making a fork and pathching the changes. There's information on how to do this in the open issues on this fork.
There is a known problem with the older sdks communicating with a chrome 50 browser....

see https://github.com/songz/cordova-plugin-opentok/issues/222
&
https://github.com/songz/cordova-plugin-opentok/issues/220

Both of the plugins didn't worked for me.
When i install plugin using:
cordova plugin add https://github.com/IjzerenHein/cordova-plugin-opentok
I am not able to add ios platform, there is some problem with opentok.framework.
When i install plugin using:
https://github.com/mergein/cordova-plugin-opentok
I am not able to connect to opentok in both android or ios cordova app.
Is there any other way to convert it to opentok sdk 2.8.1 in both android and ios.

yes, look at those issues I linked above. Make just those changes to this
version
On 28 May 2016 at 10:09, ranjan agarwal<EMAIL_ADDRESS>wrote:

Both of the plugins didn't worked for me.
When i install plugin using:
cordova plugin add https://github.com/IjzerenHein/cordova-plugin-opentok
I am not able to add ios platform, there is some problem with
opentok.framework.
When i install plugin using:
https://github.com/mergein/cordova-plugin-opentok
I am not able to connect to opentok in both android or ios cordova app.
Is there any other way to convert it to opentok sdk 2.8.1 in both android
and ios.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-222298645,
or mute the thread
https://github.com/notifications/unsubscribe/ABhvS709S-2dWiwr36n8BnUPn1L3uDu5ks5qGAY6gaJpZM4IodmI
.

YES, i got it working to the perfect level.
If you want best usage of opentok in cordova use these plugins.
For Android Use:   cordova plugin add https://github.com/songz/cordova-plugin-opentok/
For IOS Use:   cordova plugin add https://github.com/IrinaCodixis/cordova-plugin-opentok

I'm glad it worked for you but I'm not sure I'd agree that this is the best solution. You're still using 2.4 SDK's from opentok. These are old and buggy...

@ranjanagarwal1991 Can you please help me in this regards, i'm also stuck with several options of OpenTok plugin?

Where are you stuck?
Which platform you are using for the app?

@rajan i am using it on top of ionic framework. I used this sdk and it works fine on ios but im unable to get a sound output from device to my pc on android. Do you have any working sample for both platforms that i could use? That would be really great as i am stuck on this for sometime now. Thanks in advance

Ios to Pc works fine, android to pc gives no audio on pc but only on the android device.

Well i have never used my code for pc to android or pc to ios. But i will surely provide you a working example by one or two days.

Thank you, i will wait for your reply

Hello there everyone.
I managed to make opentok work in Ionic but only on Android. @smuaq can you share how you made it work on iOS? also, are you on cordova or Ionic? Thank you :)

@andreportaro I'm on ionic, you can use my fork, it has some extra checks in both layers & also uses the latest opentok version.
Link: https://github.com/smuaq/cordova-plugin-opentok

Thank you @smuaq
I'm having trouble understanding - all these forks use deviceready callback, but I understand its meant to be used in cordova, am I wrong? Where should I put it inside an Ionic app, inside the controller that has the video?
It would be so helpful to have a small description on using it inside a Ionic app.
I'll keep trying, but if you have any other info its much apreciated :)

I can definitely help you on that if you want! Well that logic would go inside the controller. You really don't need a deviceready callback for opentok initialization, it already only works on devices.

I'm thinking about putting out my own plugin for this since I see many other stumbling across such basics & I definitely feel their pain ^_^

Please do!
I feel bad that this is considered basic; but I do know I'm kinda venturing
in a whole new turf and may be beating my head in the wrong direction. If
you have an example of a working ionic app with this plugin, I'd appreciate
it very much.
Right now I'm at the point that I can see only the video of the user on the
screen, but can't subscribe to anything.
:)
2017-10-24 16:06 GMT-02:00 Usman<EMAIL_ADDRESS>
I'm thinking about putting out my own plugin for this since I see many
other stumbling across such basics & I definitely feel their pain ^_^
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-339080231,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFObisRp11kPixPr2jUbRGE4R4DVYirCks5svicwgaJpZM4IodmI
.

--
André Portaro Tzermias
55 12 9 9653 1200

Ah! sure I will share the code with you, by the way make sure you are initializing everything correctly.  Give me a day, I will put out the sample code with my integrated plugin that will be helpful.

@andportaro here you go: https://github.com/smuaq/cordova-opentok-sample
Sample app with basics setup for a proper video session. Let me know if it works out.

@andreportaro here you go: https://github.com/smuaq/cordova-opentok-sample
Sample app with basics setup for a proper video session. Let me know if it works out.

Thank you so much @smuaq .

Thanks a lot Usman and sorry for the delay. Actually I didnt manage to make
it work, even with your example :(
I guess it would be better for us all if we moved this chat to a new issue
or another repo?
Thanks!!
2017-10-25 7:50 GMT-02:00 Usman<EMAIL_ADDRESS>
@andreportaro https://github.com/andreportaro here you go:
https://github.com/smuaq/cordova-opentok-sample
Sample app with basics setup for a proper video session. Let me know if it
works out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/songz/cordova-plugin-opentok/issues/223#issuecomment-339276652,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFObiqmQsLkDSi22KtHCLIQ7mEWGSokGks5svwRJgaJpZM4IodmI
.

--
André Portaro Tzermias
55 12 9 9653 1200

@andreportaro sure, you can reach to me on skype as well if you need live:smuaq


Create an about page with implemented scenarios, in progress scenarios, questions

@hdrury1 to provide current content first, avoiding the developer's point of view.

Happy for the platform to link out to this document:
https://docs.google.com/document/d/1sKjhRy55kLaNv3a4vK1PsEPTFfivKbJRvJPwNx0HOS4/edit?usp=sharing

Happy for the platform to link out to this document:
https://docs.google.com/document/d/1sKjhRy55kLaNv3a4vK1PsEPTFfivKbJRvJPwNx0HOS4/edit?usp=sharing


Error building for   Rust1.43 nightly

Please provide details. What is the full error output? What version of num-rational are you building, and with which exact nightly? (rustc -Vv)

multiple errors    windows 10 + 1.43 nightly
however i have changed to stable version and no error at all
sorry for no logs provide, because this is my friends computer

Well, there's not much I can help with until you have more information. However, if it works on stable and only fails on nightly, that could very well be a compiler regression.
My development is on Linux, but I tried rustc 1.43.0-nightly (442ae7f04 2020-02-06) on both the master branch and num-rational-0.2.3, both native x86_64-unknown-linux-gnu and cargo check --target x86_64-pc-windows-msvc, and I don't get any errors.

thanks anyway ~  i‘ll close this issue


Custom fields in signUp of user management module

@VirajRG Right now there are no provisions to add your own fields while using the user management api (db.signUp()). You can add fields by issuing an update query on the users table / collection though.
Also, in SQL (where we have a fixed table schema), you can add as many columns as you like. However, the user management module will only use the id, name, email, pass and role columns.
Currently the user management module returns the entire record / document when a user signs in. You should store private information is the users table / collection.
@Jayesh333 maybe we should restructure the user management module and make it production ready?

Should we reflect on having an user management module in the first place? The only additional benefit it is providing now, over the user implementing the user management functionalities himself via the crud (which is more flexible) is avoiding the sign-in logic.

That does makes sense. Ideally Space Cloud must have modules which integrates with other technologies. Shouldn't be anything more.
@Jayesh333 maybe we should see how authentication is done in other systems?

We won't be doing this


on destroy exception

throw new Error('You called Tooltipster's "'+ args[0] +'" method on an uninitialized element');

Why would you do that?


Updates README files to work properly with studio and sample page

Fixes README so sample page (and Android Studio) properly show the text.
It doesn't support HTML/markdown for either, so I moved that content down to the introduction section and revised the one sentence intro.

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。


Increase the logging queue size in Xilinx microzed (#2043)

Pull Xilinx demo logging fix of #2043 to release-candidate branch
Description

Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cbmc run checks


[BUG] Mobile View: Excessive Right Padding Overflow

Issue Description:
In the mobile view of the website, there is a significant amount of right padding, causing the page to scroll to the right. This misalignment impacts the user experience negatively.
Video Attachment:
https://github.com/abhay-raj19/FitBody/assets/122528380/a99ed0cc-4f4e-4621-8a9b-999e44a798e5
Request for Assignment:
I'd like to work on this issue and contribute a fix. Could you please assign this issue to me? Additionally, I'd like to tag this issue with "Hacktoberfest."
Future Contributions:
I'm enthusiastic about contributing more to this repository beyond this issue. I look forward to being an ongoing contributor and helping to improve the project.

Sure @Nishanth019 you can go for it.

@abhay-raj19


JWT Authentication failed to fetch remote jwks after updating docker

Envoy version: 1.17
I've just updated Docker Desktop to RC3 version for apple silicon and now I get error Jwks remote fetch is failed. Before it was working well, still maybe there are some issues with my config. Any ideas?
Config:
static_resources:
  listeners:
  - name: backend_listener
    address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 80
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          tracing:
            provider:
              name: envoy.tracers.zipkin
              typed_config:
                "@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
                collector_cluster: jaeger
                collector_endpoint: "/api/v2/spans"
                shared_span_context: false
                collector_endpoint_version: HTTP_JSON
          stat_prefix: ingress_http
          codec_type: AUTO
          access_log:
          - name: envoy.access_loggers.file
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog
              path: /dev/stdout
          route_config:
            name: backend_route
            virtual_hosts:
            - name: backend
              domains: ["*"]
              routes:
              # Order is important
              - match:
                  prefix: "/api"
                route:
                  cluster: web_cluster

              - match:
                  prefix: "/"
                route:
                  cluster: web_cluster

          http_filters:
          - name: envoy.filters.http.jwt_authn
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication
              providers:
                cognito_provider:
                  issuer: "https://cognito-idp.<region>.amazonaws.com/<user-pool-id>"
                  forward_payload_header: x-jwt-payload
                  remote_jwks:
                    http_uri:
                      uri: https://cognito-idp.<region>.amazonaws.com/<user-pool-id>/.well-known/jwks.json
                      cluster: cognito_jwks_cluster
                      timeout: 5s
                    cache_duration:
                      seconds: 600
              rules:
              # Order is important
              - match:
                  prefix: /api
                requires: { provider_name: cognito_provider }
          - name: envoy.filters.http.router
            typed_config: {}

  clusters:
  - name: web_cluster
    connect_timeout: 30s
    type: logical_dns
    dns_lookup_family: V4_ONLY
    load_assignment:
      cluster_name: web_cluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: web
                port_value: 80

  - name: cognito_jwks_cluster
    connect_timeout: 5s
    type: logical_dns
    dns_lookup_family: V4_ONLY
    load_assignment:
      cluster_name: cognito_jwks_cluster
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: cognito-idp.<region>.amazonaws.com
                port_value: 443
    transport_socket:
      name: envoy.transport_sockets.tls

  - name: jaeger
    connect_timeout: 2s
    type: STRICT_DNS
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: jaeger
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: jaeger
                port_value: 9411

Maybe your new docker doesn't have SSL root certfificate files?   It seems that your remote jwks requires SSL, and you did not specify root CA.
Could you add following into your congnito_jwks_cluster
        "transportSocket": {
          "name": "envoy.transport_sockets.tls",
          "typedConfig": {
            "@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext",
            "commonTlsContext": {
              "validationContext": {
                "trustedCa": {
                  "filename": "/etc/ssl/certs/ca-certificates.crt"
                }
              }
            },
            "sni": "cognito-idp.<region>.amazonaws.com"

Thank you. Now everything works fine 👍

I want to ask you another one question:
Now I want to replace zipkin tracing with native jaeger tracing to not propagate b3 headers in my system. I just did this Dockerfile:
FROM envoyproxy/envoy:v1.17-latest

RUN apt-get update && apt-get -q install -y curl
COPY ./envoy.yaml /etc/front-envoy.yaml
RUN curl -Ls https://github.com/tetratelabs/getenvoy-package/files/3518103/getenvoy-centos-jaegertracing-plugin.tar.gz \
              | tar zxf - -C /usr/local/lib \
         && mv /usr/local/lib/libjaegertracing.so.0.4.2 /usr/local/lib/libjaegertracing_plugin.so
CMD ["/usr/local/bin/envoy", "-c", "/etc/front-envoy.yaml", "--service-cluster", "front-proxy"]

and now I'm getting this error
/usr/local/lib/libjaegertracing_plugin.so: cannot open shared object file: No such file or directory

I understand what it mean but how it's possible?
Another one question: if I build the latest version of jaeger (which is 0.7.0) will it work fine?

The error mans your c binary doesn't compatible with std runtime libraries from the system. It is better to re-build it with the same base image or OS:  it means your developing, or compiling host should be the same as target host,  or the one envoy docker image is based on.

Ok, I get it, thank you very much.


iOS project is not compiling

Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Could not run pkg-config.

Hi,
try to find openssl.pc on your host machine. If it's missing, probably the package needs to be installed. Then if the compiler still cannot resolve it, add the dir containing the .pc file to the PKG_CONFIG_PATH.

Hi, try to find openssl.pc on your host machine. If it's missing, probably the package needs to be installed. Then if the compiler still cannot resolve it, add the dir containing the .pc file to the PKG_CONFIG_PATH.

I also have the same problem. I use "export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" in terminal. it's no problem, but what need i do in xcode for this problem?


auth: Fix up AzureAD Oauth2 docs and config.

This commit brings AzureAD config in line with other backends:

SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET gets fetched in computed_settings.py
instead of default_settings, consistent with github/gitlab/etc.
SOCIAL_AUTH_AZUREAD_OAUTH2_KEY gets fetched in default_settings via
get_secret(..., development_only=True) like other social backends, to
allow easier set up in dev environment, in the dev-secrets.conf file.
The secret gets renamed from azure_oauth2_secret to
social_auth_azuread_oauth2_secret to have a consistent naming scheme with
other social backends and with the SOCIAL_AUTH_AZUREAD_OAUTH2_KEY
name. This is backwards-incompatible.

The instructions for setting it up are updated to fit how this is
currently done in AzureAD.

Merged, after adding an upgrade notes entry. Thanks @mateuszmandera!


snapToPanel gets called too many times

The first time it's called is from the user's scrollStop event, but then it gets called again from the snapping scrollStop event. That is, when it finishes snapping, it triggers animate's "complete" callback, sets the isSnapping to false, and the dom triggers scrollStop again. One way to fix this is to delay setting isSnapping=false, e.g. in the animate "complete" callback:
setTimeout(function() {
self.isSnapping = false;
}, 100);

Delaying this a bit as it's not crucial to the functionality, and fixing it involves more than delaying the snapping release.

Fixed with b3e8678304e20084bf9dcb8786742b0b521a7a38


Relax version pin for boto3

Covalent's braket extras requires >=1.28.5 which is incompatible with the strict pin here.

Closing this one cc. @kessler-frost