Core Panic

Whenever I send osc to my ESP32 using Arduino OSC it crashes. I get the following error.
lambda : <IP_ADDRESS> 61084 1 /lambda 3 Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x4014298c  PS      : 0x00060830  A0      : 0x800d1eda  A1      : 0x3ffb1ee0
A2      : 0x00000003  A3      : 0x00000001  A4      : 0x3ffbbaa8  A5      : 0x00000001
A6      : 0x3ffba72b  A7      : 0x3ffafedb  A8      : 0x00000004  A9      : 0x00000000
A10     : 0x00000000  A11     : 0x3f4000ba  A12     : 0x0000000a  A13     : 0x3ffafedb
A14     : 0x00ff0000  A15     : 0xff000000  SAR     : 0x00000010  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000003  LBEG    : 0x4014298c  LEND    : 0x4014299a  LCOUNT  : 0x00000003
Backtrace: 0x4014298c:0x3ffb1ee0 0x400d1ed7:0x3ffb1f10 0x400d3381:0x3ffb1f40 0x400d33b6:0x3ffb1f90 0x400d4b11:0x3ffb1fb0 0x4008e6f1:0x3ffb1fd0

Could you give me more information?

source code
esp32-arduino version
Arduino IDE or PlatformIO and version
ArduinoOSC version
etc.

Source: ArduinoOSC OscWIFi example program.
Esp32-arduino version: 1.0.1
Arduino IDE 1.8.9
ArduinoOSC version: 0.2.1
The board sends OSC messages just fine. It's only when receiving that it crashes. It seems to be related to the callback. It receives data just fine if I don't use a callback.

mmm... in the same configuration, my examples works fine w/ Max8.
Let me know more information:

Is arduino-esp32 repo in the latest master branch??
Which program do you use to send OSC?
Thank you for your cooperation!

Let me add :

Please give a source code. (Delete your WiFi info plz ;))

First off, thanks for helping. I'm pretty sure this problem is an ESP32 issue not a ArduinoOSC problem but let's try to get to the bottom of the problem.
Maybe there's a problem with the board. I have another ESP32 I can try it on later today.
I installed the arduino-esp32 with the board manager in the IDE as recommended. https://github.com/espressif/arduino-esp32
I'm using my own program SwiftOSC to send data. I even tried sending identical data to the board as you send out in the example code with the same problem. So I know for a fact it's not a formatting issue.
I'm using your OscWifi example with only changing Wifi info. I tried commenting out all the code in the callback so it happens somewhere between receiving the data and calling the callback.
#include <ArduinoOSC.h>

// WiFi stuff
const char* ssid = "your-ssid";
const char* pwd = "your-password";
const IPAddress ip(192, 168, 1, 201);
const IPAddress gateway(192, 168, 1, 1);
const IPAddress subnet(255, 255, 255, 0);

// for ArduinoOSC
OscWiFi osc;
const char* host = "<IP_ADDRESS>";
const int recv_port = 10000;
const int send_port = 12000;

void onOscReceived(OscMessage& m)
{
    Serial.print("callback : ");
    Serial.print(m.ip()); Serial.print(" ");
    Serial.print(m.port()); Serial.print(" ");
    Serial.print(m.size()); Serial.print(" ");
    Serial.print(m.address()); Serial.print(" ");
    Serial.print(m.arg<int>(0)); Serial.print(" ");
    Serial.print(m.arg<float>(1)); Serial.print(" ");
    Serial.print(m.arg<String>(2)); Serial.println();
}

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

    // WiFi stuff
    WiFi.begin(ssid, pwd);
    WiFi.config(ip, gateway, subnet);
    while (WiFi.status() != WL_CONNECTED) { Serial.print("."); delay(500); }
    Serial.print("WiFi connected, IP = "); Serial.println(WiFi.localIP());

    // ArduinoOSC
    osc.begin(recv_port);

    // TODO: TBD
    // osc.subscribe("/int32", i);
    // osc.subscribe("/float", f);
    // osc.subscribe("/string", s);
    // osc.subscribe("/blob", b);

    osc.subscribe("/callback", onOscReceived); // old style (v0.1.x)

    osc.subscribe("/lambda", [](OscMessage& m)
    {
        Serial.print("lambda : ");
        Serial.print(m.ip()); Serial.print(" ");
        Serial.print(m.port()); Serial.print(" ");
        Serial.print(m.size()); Serial.print(" ");
        Serial.print(m.address()); Serial.print(" ");
        Serial.print(m.arg<int>(0)); Serial.print(" ");
        Serial.print(m.arg<float>(1)); Serial.print(" ");
        Serial.print(m.arg<String>(2)); Serial.println();
    });
    osc.subscribe("/wildcard/*/test", [](OscMessage& m)
    {
        Serial.print("wildcard : ");
        Serial.print(m.ip()); Serial.print(" ");
        Serial.print(m.port()); Serial.print(" ");
        Serial.print(m.size()); Serial.print(" ");
        Serial.print(m.address()); Serial.print(" ");
        Serial.print(m.arg<int>(0)); Serial.println();

    });
    osc.subscribe("/need/reply", [](OscMessage& m)
    {
        Serial.println("/need/reply");

        int i = 12;
        float f = 34.56F;
        double d = 78.987;
        String s = "hello";
        bool b = true;

        osc.send(host, send_port, "/send", i, f, d, s, b);
    });

    // TODO: TBD
    // osc.publish(host, send_port, "/value", value);
    // osc.publish(host, send_port, "/millis", &millis);
}

void loop()
{
    osc.parse(); // should be called
}

I should add that I don't think it's a parsing problem. It doesn't crash when data is received.

I just tried out a different ESP32 board and it doesn't crash. There must be something wrong with the other board. Thanks for you help.


Question regarding usage

Hi, first of all thanks for the great paper and the implementation. I tried running the ipynb on IMDB dataset, when I run the user interactive (not oracle), I get the first 4 random questions but then it does not move forward, any idea what might be happening. Thanks again!

Hey. Thanks for checking out our project. Could you tell me
a) how exactly does it stop? E.g. Is the bar full at 4/4 or does a new status bar get initiated?
b) could you check on the console where you jupyter if any error messages appear?
I have a feeling this may be an issue with the multi-processing of the MLP ensemble, but I cannot be sure.

Yes that seems to be the issue, no error messages just stopped, It got stuck on 0/50 before but after setting numthreads = 1 it works. Thanks again!


Rewrite logic to find questionnaire item for EnableWhen evaluation

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1345
Description
See FHIR spec for how EnableWhen should work: https://www.hl7.org/fhir/questionnaire-definitions.html#Questionnaire.item.enableWhen.question
In this PR:

added a pre-order trace to keep track of questionnaire response items in pre-order
added a parent map to track questionnaire response items' parents
in the logic to find questionnaire response item of a certain linkId, try to find ancestor first (using the parent map), then find the nearest item preceding the item, and then the nearest item succeeding the item (using the pre-order trace)

Alternative(s) considered
The current approach uses a map from link id to questionnaires. But this might not work since it's possible to have multiple questionnaire responses to the same question with a link id.
Type
Bug fix
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

Thanks, @jingtang10 for this PR. :+1:
Looks good to me.

LGTM, thanks!

Looks good to me, do we have an issue created for the follow up to take care of updating the parent map and preorder list for nested answers?

https://github.com/google/android-fhir/issues/1500


running issues during extension installation

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\srivatsam\Downloads\Sh360SA\src\functions> node -v
v8.9.4
PS C:\Users\srivatsam\Downloads\Sh360SA\src\functions> func extensions install --package Microsoft.Azure.WebJobs.Extensions.CosmosDB --version 3.0.0-beta6
              %%%%%%
             %%%%%%
        @   %%%%%%    @
      @@   %%%%%%      @@
   @@@    %%%%%%%%%%%    @@@
 @@      %%%%%%%%%%        @@
   @@         %%%%       @@
     @@      %%%       @@
       @@    %%      @@
            %%
            %

Error: unknown argument extensions
Azure Functions Core Tools (1.0.8)
Function Runtime Version: 1.0.11510.0
Usage: func [context] [context]  [-/--options]
Contexts:
azure      Commands to log in to Azure and manage resources
function   Commands for creating and running functions locally
host       Commands for running the Functions host locally
proxy      Commands for managing function proxies
settings   Commands for managing environment settings for the local Functions host
templates  Commands for listing available function templates
Actions:
new     Create a new function from a template. Aliases: new, create
--language [-l] Template programming language, such as C#, F#, JavaScript, etc.
--template [-t] Template name
--name [-n]     Function name
init    Create a new Function App in the current folder. Initializes git repo.
--no-source-control [-n] Skip running git init. Default is false.
run     Run a function directly
 Function to run
--timeout [-t]   Time (in seconds) to wait until local Functions host is ready
--content [-c]   content to pass to the function, such as HTTP body
--file [-f]      File name to use as content
--debug [-d]     Attach a debugger to the host process before running the function
--no-interactive Don't prompt or expect any stdin.

@SrivatsaMarichi could you run this command and let me know what you get? I'd like to make sure I know what version of the func CLI you're using.
npm ls -g --depth=0

@bradygmsft I got this after running the above metioned command.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\srivatsam\Downloads\Sh360SA\src\functions> npm ls -g --depth=0
C:\Users\srivatsam\AppData\Roaming\npm
+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>

@bradygmsft The functions app worked now perfect. It was my bad that I had included https:// in the config.endpoint property in the dbconfig.js due to which it was failing. Now that I have replaced, the graph is shown beautifully 😎
Also I was able to install the package Microsoft.Azure.WebJobs.Extensions.CosmosDB --version 3.0.0-beta6 successfully. I guess due to the above error it was blocking me for adding the package.
Below are the 2 screenshots of my output for your reference. Let me know if this is how it's suppose to be.
Gremlin Graph in Cosmos DB

Azure Functions output in VS Code when tweeted

This is great to see. Glad things are working out. I will now close the issue, but should you see anything else pop up please don't hesitate to reach out with another issue. And as always, pull requests are awesome, too!


monorepo this

it’s already a monorepo. I’ve now just added packages/app for the electron app and packages/templates for gatsby idoc blueprint (and possibly other templates in the future).


npm install error

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: read ECONNRESET
gyp ERR! stack     at _errnoException (util.js:1022:11)
gyp ERR! stack     at TLSWrap.onread (net.js:628:25)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/Users/tablee/.nvm/versions/node/v8.10.0/bin/node" "/Users/tablee/.nvm/versions/node/v8.10.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/tablee/workspaces/code-push-server/node_modules/mmmagic
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

2018-09-08T07_53_26_000Z-debug.log

That's an npm/node-gyp error, so this would be better posted to one of their issue trackers. This addon's build script does not download anything. If I had to take a guess, npm/node-gyp is probably failing to download the node C++ headers tarball for the version of node you're using if this is the first addon you're compiling since switching to this version of node.


Inefficient ProxyDatabase slicing

Operations on a ProxyDatabase that loop over all records slow down/do not have constant iteration time (as measured by tqdm's it/s), which is especially noticeable for large databases. Take for example slicing:
https://github.com/fzhu2e/cfr/blob/a99c13bfeae4643b64c63be339894b48abd7f5ef/cfr/proxy.py#L1730-L1746
The operation new += spobj calls .refresh() every time, which itself iterates over all proxies. Therefore, it is O(n^2), while it could easily be O(n) if they were added to a dictionary first, then converted to a ProxyDatabase at the end. Is there a reason this is not being done?

Hi Dominik, thanks for pointing this out! I'm sure the performance of the codebase is not optimal and lots of improvements could be done. I developed most of the infrastructure from scratch in a relatively short time period, and the runtime speed was usually not the priority as long as it's not significantly slowing down the major tasks. Now that this project is open to the community, you are mostly welcome to implement those improvements and submit PRs. Once there is sufficient upgrade of the codebase in terms of features and performance, we may submit another manuscript to report the updates.

Thanks for clarifying, I'll submit a PR for this issue!


Force a rebuild after ./hack/sync-to-origin.sh

I don't know if it's go's fault or godep or our Makefiles or what, but something isn't very good about noticing that Godeps/_workspace/src/github.com/openshift/openshift-sdn/ has changed, so I tend to have to "make clean; make" after doing a sync-to-origin. This patch "fixes" things by deleting the openshift-sdn .a files after a sync so that the next origin make will have to rebuild them. (I thought about trying to make this a bit more clever about which .a files it deletes, but openshift-sdn is small enough that it doesn't take that much time to rebuild all of it anyway...)
@openshift/networking PTAL

LGTM


Research how to do orchestration in Azure DevOps

Possible options to look into are DevOps Releases or a Durable function.

Done. We will use Azure DevOps release for this.


gometalinter: error: user: Current not implemented on linux/amd64

I have used the --debug flag to get more debug information, while it is still outputing the error message:
root@0dfa93f4ca83:/# gometalinter --debug --disable-all --skip vendor -E gofmt ./...
gometalinter: error: user: Current not implemented on linux/amd64

The way I install
curl -L https://git.io/vp6lP | sh

any updates on this one? I've got this issue too..

Error appears to be related to not being able to determine what the $GOPATH should be. If I set either  $USER or $GOPATH, the error goes away.


Attempt to fix the CI Errors related to senna and stanford

Hi @stevenbird,
I modified jenkins.sh to download and creat environment variables which is needed for correctly finding the .jar file. Hope this will fix the problems listed in CI server for

Senna package
Stanford package

Thanks @longdt219. But I see you are reverting some changes in senna.py and stanford.py that involve the u prefix for strings, that is not appropriate for Python 3, or for Python 2 where we have from __future__ import unicode_literals. Is your PR based on the head revision?

Hi @stevenbird,
I run doc test locally but it said that the test fail because of u prefix for string. That's why I modify the doc test. Should I revert them to the original ?

There should be no u prefixes, but your patch is adding u prefixes in some places (e.g. stanford.py).

@longdt219 how are you running tests locally? Running them just with doctest.testmod(optionflags=doctest.NORMALIZE_WHITESPACE | doctest.ELLIPSIS) may not work; there are issues with doctests & Python 2/3. See https://github.com/nltk/nltk/blob/develop/web/dev/local_testing.rst for more info. There is a nose plugin (https://github.com/nltk/nltk/blob/develop/nltk/test/doctest_nose_plugin.py) that makes tests work if the output only differs in 'u'.

Thank you @kmike. Your comments are very helpful.

Hi @stevenbird,
I saw that you pulled jenkins.sh file. Could you please pull other files. i.e.

nltk/internals.py (so that if stanford package fail again I will have some clues)
nltk/tokenize/stanford.py (fix a bug shown in CI)


swag init throws error with can not find schema type: "api.json"

Describe the bug
I'm using swag to control my website api doc, and it was v1.6.2, when I turn to use the latest version, which is v1.6.5, and execute swag init, it throws error below:
➜  mywebsite git:(master) ✗ swag init
2020/02/06 20:42:05 Generate swagger docs....
2020/02/06 20:42:05 Generate general API Info, search dir:./
2020/02/06 20:42:05 ParseComment error in file internal/server/api/app.go :can not find schema type: "api.json"

Expected behavior
Generate docs as usual
Screenshots
/
Your swag version
v1.6.5
Your go version
go 1.13.7
Desktop (please complete the following information):

OS: macOS
Browser: Chrome
Version: 79.0.3945.130

Additional context
When I back to v1.6.2, it works fine, so I wonder whether the latest version introduced break changes?

sorry for reply lately, can you provide an example repo to reproduce it?

when using @Success 200 {string} json  will throw this error

when using @success 200 {string} json will throw this error

请问你解决了吗，我也是使用  @success 200 {string} json 报同样的错误


[Event Request] Table 5080 To do - OnValidateTeamCodeOnBeforeCheckIfWorkerAssigned

Hi Team,
In table 5080 we need possibility to replace and avoid using standard code with our own. Having event with handling in the beginning of OnValidate trigger on field Team Code :

[IntegrationEvent(false, false)]
local procedure OnValidateTeamCodeOnBeforeCheckIfWorkerAssigned(var Todo: Record "To-do"; var xTodo: Record "To-do"; var isHandled: boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Encountering a run time error .

Error
1s
Current runner version: '2.294.0'
Operating System
Virtual Environment
Virtual Environment Provisioner
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: Unable to resolve action `oracle-actions/run-oci-cli-command@v[1](https://github.com/RahulMR42/oci-devops-githubactions-deploy/runs/7392607794?check_suite_focus=true#step:1:1)`, unable to find version `v1`

Config - https://github.com/RahulMR42/oci-devops-githubactions-deploy/blob/main/.github/workflows/oci_iam.yml
Please guide us .Thanks alot .

Docs fixed via https://github.com/oracle-actions/run-oci-cli-command/commit/e175c640a93ff701cadc1806c2ec816e461c52d5.


[6.x] Fix missing statement preventing deletion

The MorphPivot delete method was missing a statement which prevented the deletion of many to many polymorphic custom pivot models.
This pull request is related to #33647 and should fix the issue.

Could you add a test covering this?

Sorry, I am a beginner and I really don't know how to write tests

@taylorotwell It looks like the original PR was https://github.com/laravel/framework/pull/32421. I'm not sure why 7.x was targetted instead of 6.x. The author didn't explain their choice of branch, and it wasn't discussed.

Yes that's the same problem I had

So, this is just a bug fix backport?

@taylorotwell Yes, I think so

I still don't follow why there is an int cast.

The code comes originally from the AsPivot trait

I still don't follow why there is an int cast.

Maybe in case to make sure what this function is returning is int and to prevent any further exceptions.


Can't Connect to Local Node in Chrome with Beta versions v<IP_ADDRESS>70 or v<IP_ADDRESS>10

As of v<IP_ADDRESS>70 (Beta) and v<IP_ADDRESS>10 (Beta) IPFS Companion can't connect to my local node under Chrome, and yet Firefox works just fine.

Switching to the custom gateway instantly shows that the gateway is offline and switches to the internal js-ipfs node by default.
Disabling automatic switching keeps the extension in external mode, showing the gateway and API address correctly but version and peer appears offline, and fails to work.
As tested on Firefox with the extension as well as just by directly accessing the local node's API from the same Chrome instance, everything is working fine on my end.

Versions:

Xubuntu 18.04 LTS
Chrome 70.0.3538.77 (Official Build) (64-bit)
Firefox 63.0 (64-bit)
Go-IPFS 0.4.18
IPFS Companion

v<IP_ADDRESS>70 (Beta)
v<IP_ADDRESS>10 (Beta)

When I enabled error logging for the extension in Chrome I get the following:

Fresh install with default automatic external/internal switching enabled:

:warning: Error while ipfs.swarms.peers: SyntaxError: Unexpected number in JSON at position 4
Chrome's extension error log doesn't hang.

Thereafter, with automatic mode disabled and switched to external node (but with DNSLink enabled by default):

:exclamation:  Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/

Context: dist/background/background.html
Stack Trace: dist/bundles/backgroundPage.bundle.js:2 (readDnsLinkFromTxtRecord)

Chrome's extension logging page immediately hangs the tab, and reaches 100% CPU usage.
This is clearly related to the DNSLink functionality which has also always worked for me even before it was enabled by default.

Disabling DNSLink removes the error and doesn't hang the error logging page.

Thereafter, with DNSLink disabled, but still on the custom node.

Just the JSON error as before, and nothing else.

I just tested out the extension with a separate Chrome profile, and it fails similarly there as well.

@lidel I've just set the CORS config as instructed and it's now connecting under Chrome as before!

@5310 FYI I've just released bugfix as v<IP_ADDRESS>60 (Beta) v2.6.1 (Stable) and it should work again even with vanilla go-ipfs config.

Awesome! Thanks again for super helpful info in https://github.com/ipfs-shipyard/ipfs-companion/issues/615#issue-378147694 it saved me a lot of time :)


Add validation for AZMode property on CacheCluster objects

Regarding the AZMode property on CacheCluster objects, the AWS documentation states :
If you specify multiple Availability Zones in the PreferredAvailabilityZones
property, you must specify cross Availability Zones for this property.

This patch introduces validation on the CacheCluster object and ensures that AZMode is set to cross-az if more than one Availability Zone is specified in the PreferredAvailabilityZones property.

Thanks!


Add api handler for registering fonts

What are we planning on doing as far as the Makeswift config file? Was the decision not to use that for fonts so we can leverage importing TypeScript files, etc.?

Yes, that's the main reason. I'm not sure that we could support importing @next/font directly, but if we could support that, then we can't put the font registration in the config file.


prl-4499/respondent-tab-naming

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-4499
Change description
Changes to the naming of the respondent tabs.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Closing dummy PR


Tenant wrong connection

Description
Teanant only connects to main database, so accessing from subdomain app is connected only on server database

Information

hyn/multi-tenant version: 3.*
laravel version:5.4
database driver and version: 10.1.25-MariaDB-1
webserver software and version: Apache/2.4.18 (Ubuntu)
php version:7.1

Can you clarify your set up. This is far too little to go on and provide valuable feedback from.

Everything looks ok configured, i dont know if im missing something here, when i connect to example.mydomain.com is not connecting to example database, just the main database.
I have configured Eloquent for tenant but seems not to be working for me ('Eloquent'  => Hyn\Tenancy\Abstracts\Models\TenantModel::class,).
I made anothere laravel instalation and installed hyn/multi-tenant version: 2.* and when extending model to Hyn\Tenancy\Abstracts\Models\TenantModel its working fine but not in version 3.*

I'll look into it. Thanks for reporting!

Hi @albanny, I have that same problem. Do you found some solution?

Hi @Versoo , i did get back to version 2 which is stable version, didn't have much time to check on it.

Verified working by using a test.

I am having the same issue, it's not picking up tenant database connection. Instead of it, it's using the main connection. Any suggestions.
hyn/multi-tenant version: 3.*
laravel version:5.5
webserver software and version: Apache/2.4.18 (Ubuntu)
php version:7.1

In my Tenant Models I just set the connection. And working fine.
protected $connection = 'tenant';

@julesbloemen I am using 'Eloquent' => Hyn\Tenancy\Abstracts\Models\TenantModel::class, in config/app.php. so I think I don't need this. but I tried your suggestion and it didn't help.

@sharabh are you able to identify what connection your model uses?

It's using the connection named tenant which was manually created in database.php file

also tried to switch to MariaDB from mysql but it didn't help.

@sharabh you can't configure the tenant connection settings in the database.php manually, they are set automatically during run time.
Nevertheless the code should override those during code execution. I'd love to hear more about your set up.

@luceos Looks like it's not overriding tenant connection when I try to remove it from database.php I get an error. PLease let me know what kind of information you need to help me in resolving the issue.

@sharabh This is interesting, did you modify anything about how tenant identification works?
Also can you give me the information about your versions? Laravel and multi-tenant?

We changed the settings in tenancy.php and webserver.php only, we are following https://hyn.readme.io/v3.0/docs/
Laravel version 5.5
Multi-tenant version 3.0

Could you try moving to 5.x on hyn/multi-tenant? I've dropped development on 3.x and 4.x and as you're using Laravel 5.5 you should be on the 5.x version anyway.. I think the 3.x version you are using is pretty outdated.

just updated it to 5.0.0-beta.8, should I run any command after the update?

@sharabh no, not likely. The 5.x code is based on the 3.x code. You might need to change some classes etc which have been renamed.

I am just uninstalled it and re-installing it from scratch, hope that will work

@sharabh let me know if it did. Feel free to create a new issue if you encounter any issues.


lib: use CXX_MODULE_NAME constant for module identifier (NFC)

Use the well known specifier for explicit references to the Cxx module rather than re-spelling the name at the various sites.

@swift-ci please test

@swift-ci please test


[Platform Engineering with Meshery's Extension Points] - Grammar adjustment

Current State of the Meshery.io site
Link: Platform Engineering with Meshery's Extension Points
Currently, this sentence reads as follows: "The great number of extension points in Meshery make it ideal as the foundation of your internal deleloper platform."
Desired State
For increased readability and user experience the sentence could read as follows: "The great number of extension points in Meshery make it ideal as the foundation of your internal developer platform."
Screenshot

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@sandramsc I would like to work on this

@Raj100679  I have assigned this to you.

@sandramsc Will raise a PR till midnight, Thanks :)


When will "Authentication for users with admin/read only rights using TLS" be implemented?

Do you have an estimate when "Authentication for users with admin/read only rights using TLS" will be implemented? Our private Docker registry uses TLS with username/password authentication. So I really need this.
At the moment I can't find any other Docker registry UI that implemented authentication.

The example states that a username and password can be configured in registry.yml.
So is a private registry with TLS and username/password authentication already supported?
In the GUI I see registries 0. Is there a way that I can increase the logging?

I finally figured it out. In registries.yml I used dots (the domain name) in the registry key. In the logs it fails silently. I replaced the dots with dashes and it worked!


Software Engineer

It would be much clearer in Figure 2, if there were color legend to represent individual partition. In addition, example scenario with 10 partitions is too overwhelm. Prefer to have much smaller number number of partitions and color legend provided to make easy people understand visualize what the partition is all about.

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

ID: 553c01c6-2e91-cf8e-d658-9669f4c91fd4
Version Independent ID: 05e7540a-969b-1f45-2193-4a2d721a32b6
Content: Partitioning Service Fabric services
Content Source: articles/service-fabric/service-fabric-concepts-partitioning.md
Service: service-fabric
GitHub Login: @msfussell
Microsoft Alias: msfussell

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@MicahMcKittrick-MSFT I think that should be assigned to be @msfussell as the doc author instead, please.

Thanks @iainfoulds! Sorry about that!

Thanks for the feedback--updating diagrams is on our content backlog. #please-close


Support the web browser formats compatible with the mpegts.js player library

Describe the feature
Currently, mediamtx supports the WHEP protocol; since it seems to still be in development stage, would it possible to support the simpler(?) web protocols compatible with the mpegts.js player library?
For reference, they support:

MPEG2-TS over HTTP
HTTP FLV
MPEG2-TS/FLV over WebSocket

Hello, all the protocols you listed are less versatile and slower than Low-latency HLS, which can be played with hls.js.
Regarding WebRTC/WHEP, there's a reference JS implementation available from the author of the specification.


How to decode Lorawan Payload?

Hi @brocaar ,
How to decode node payload if we know all the keys?
Thanks.

This is handled by https://github.com/brocaar/lora-app-server (see also https://docs.loraserver.io/lora-app-server/features/), which uses https://godoc.org/github.com/brocaar/lorawan#EncryptFRMPayload for decryption.

@dashracer  if you just want to decode LoRaWAN frame for single node, could also refer this tool https://github.com/jiapengli/lorawan-parser


[BUG] Cook section of a potluck install fails

Describe the bug
I get an error in every potluck I try to install.
Normal pot creation is fine
I run Freebsd 14.1
This the output:
Step 23: Clean cook artifacts
Step 24: Install pot local
Step 25: Set file ownership on cook scripts
chown: /usr/local/bin/cook: No such file or directory
chown: /usr/local/share/cook: No such file or directory
ERROR: Set file ownership on cook scripts failed

and step 23-> 25 is:
step "Clean cook artifacts"
rm -rf /usr/local/bin/cook /usr/local/share/cook

step "Install pot local"
tar -C /root/.pot_local -cf - . | tar -C /usr/local -xf -
rm -rf /root/.pot_local

step "Set file ownership on cook scripts"
chown -R root:wheel /usr/local/bin/cook /usr/local/share/cook
chmod 755 /usr/local/share/cook/bin/*

To Reproduce
Steps to reproduce the behavior:

Use this potluck: https://github.com/bsdpot/potluck/tree/master/mariadb
Run this command:  mariadb.sh
See error as shown above in the bug section
I expect the tar -C /root/.pot_local -cf - . | tar -C /usr/local -xf - fails

Expected behavior
The pot is created and mariadb is installed
System configuration - if possible

/usr/local/etc/pot/pot.conf
(not needed I presume as the normal pots are created as I expect and work fine)

** If network related **
not related to network issues, a normal pot works fine with my network settings

Dang...
Missed a bit in the instruction:
copy recursive the files to the flavour directory and
pot create -p mariadb -b 14.1 -N public-bridge -t single -f mariadb
One question: why not create subdirectories for all the flavour files for (in this case)  mariadb in stead of the root of /usr/local/etc/pot/flavours ??

Hi @heyudude,
I was in the middle of responsing to you while you figured it out yourself. So I still kept my answer, but made it a bit more interesting by using layered images (so the resulting mariadb pot is a bit smaller):
cp -a freebsd-potluck/freebsd-potluck* /usr/local/etc/pot/flavours/.
pot create -p freebsd -f fbsd-update -f freebsd-potluck -t single -b 14.1
cp -a mariadb/mariadb* /usr/local/etc/pot/flavours/.
pot clone -P freebsd -p mariadb -F -v -f fbsd-update -f mariadb

If you want to build images in a clean environment, you could to take a look into https://github.com/bsdpot/potman (it's a bit of effort to get it going though).
The flavours file system structure is due historic reasons (@pizzamig did this in the very beginning). Documentation improvements are welcome.

Thanks for the quick answer! Thanks for the mariadb tips
I am still exploring all flavors of jails assistants, appjail, bastille, cbsd. This one is up to now the most easy to use, especially in the networking portion. It works out of the box using bridges and epairs.
Although it is a pity that the documents and the code are somewhat lagging behind. Glad to help whenever I can.

Do I need a Consul server instance? Seems so.

I don't know this specific image in detail, but looking at it, it seems like it registers node-exporter, mysql-exporter and mariadb services using consul, so they can be resolved using DNS (so it probably also works nicely with nomad). The exact requirements depend on the flavour and are documented in its README.md.


Fancy image uploads

Aure's design calls for images to be uploaded via a slick UI with thumbnails:

We're using react-json-schema-form, which does only old-school style file uploads. (Click a button to open native OS file selector.)
So there are multiple ways to go:

Break image uploading into its own step in listing-create.js. (One idea would be to use the same react-json-schema-form, but hide the image part when entering details, and hide everything BUT the image step when uploading photos.)
Perhaps use a natve FileReader() to do the upload, and inject the results into the react-json-schema-form. (Docs)
Use HTML5 image uploader to show preview of uploaded images, and possibly even resize them.

Thanks Nikk! Again, sorry for the delay--this came in midst of a ton of pull requests and just as the website repo was needed a ton of attention. Feel free to ping me on slack too.

we should have a handler which can read from the state and decide where to go next based on the state, so, ex:
I feel a goToNextStep() abstraction could be premature optimization for such a small app, but go for it if you like.

The STEP.UPLOAD_PHOTOS step could then just use html5 apis for photo handling and once completed, write the file blob back to the formData
Yes, this seems exactly the way to do it!

Probably would want to change the type of pictures in the json to input[type=hidden] rather than input[type=file], since we'll just be assigning the string result from the upload photos step back to the formData.
The schema json needs to best represent the data being stored, and shouldn't bend to UI considerations. My early thought on this was to use css to hide the image field on STEP.DETAILS, or see if react-jsonschema-form has some way to selectively hide fields. Other ideas?

It's worth keeping in mind that onDetailsEntered currently checks the state of the entire formData object...
onDetailsEntered() should be paired with STEP.DETAILS as it's completion handler and validation. Then STEP.UPLOAD_PHOTOS would have its own, e.g. onPhotosUploaded(), which is where the photo size check should happen. I.e. each step of process should do it's own validation.

I'll also get you access to the full Zeplin graphic of Aure's flow design.

@nikkwong thanks for the thorough research / game plan on this one. Are you still planning to implement it?

This should handle adding AND removing one image at a time in both the listing creation form and the messaging form.

This should also handle re-ordering the images, probably via drag-and-drop or something.

This is mostly resolved by https://github.com/OriginProtocol/origin/pull/731, but we would need to pull images out into its own step to make it work like Aure's designs. I'm thinking we should close this ticket and create a new one if/when we decide to do that...


Make optimize continue from last checkpoint after crash

When running optimize, my process somehow crashed after 4h (was estimated to take 10h).
Now I have to restart it from scratch.
Could you add a checkpointing feature such that it automatically continues with the last chunk?

Hey cgebbe,
Do you know why it crashed ?

it was an out of memory error, but I don't have the logs anymore.
Found it a bit strange that it only happened after several hours. Didn't have other tasks running.

Hey @cgebbe.
We can support this. The writer keeps track of the chunk info there: https://github.com/Lightning-AI/litdata/blob/main/src/litdata/streaming/writer.py#L253 and we have already some logic to merge the index json file: https://github.com/Lightning-AI/litdata/blob/26bf6b2553a0ec72ab77418988e33e4d639f6f85/src/litdata/streaming/writer.py#L395.
In reality, you could even process your dataset by chunk and just combine them at the end.
Would you be interesting in trying to contribute this feature ?


Field values based on values of other field

Example: I have a dropdown menu where  i want to have values of a list field as options to choose.

Yep, this is a huge one for me as well, I just haven't had much free time but had thought of implementing it myself.
This is a duplicate of #160]


:globe_with_meridians: Changed map link url

@mcheung-nhs Are you able to test this on an Android device? I've checked on desktop and an iOS device and it is working as I would expect with Google Maps being used on the iOS device and the website on the desktop

Confirmed to be working on a Moto E, Nexus 5 and Samsung Galaxy S4 devices.
Checked on Browserstack with Samsung Galaxy S7 and S6 and S5 and works for these too.


Windows Store is still on 3.11

Hi, I downloaded this from the windows store recently, and it's still on 3.11.
Not sure if you are the one maintaining that package or not :)

Thanks for the reminder.
Just submitted to the store, but can take a few days for it to show up.


valid data length for mysql timestamp binary encoding

In decode.rs:
https://github.com/datafuselabs/opensrv/blob/68aa6a05c7d31b292592d73fa87d994bdde36042/mysql/src/value/decode.rs#L236-L239
The code asserts that v must have length of either 7 or 11.
However, it seems that 0 and 4 are also valid:

from https://mariadb.com/kb/en/resultset-row/#timestamp-binary-encoding
Any specific considerations why this assertion only makes 7 and 11 valid here?

cc @PsiACE for a check.

The main reason is that, initially, only the encoding and decoding of data conforming to chrono::NaiveDate were considered. This was basically inherited from msql-srv. I think we need to carefully consider this case and point out why there are parts that are not fully compatible with the mysql protocol.
Later, I will conduct some tests to ensure that it does not disrupt existing behaviors.
Thank you very much for your Issue and PR.

ping @BohuTANG @PsiACE PTAL


Searchlist result fix

It is not possible to merge, it has to be rebased manually by author. Please take care to rebase in order.