Large requests with data gap between begin_date and end_date may throw errors

Background:
NOAA tides&currents limits data request sizes (either 31 days or 365 days) based on the product type and the interval the user has requested the data.
As a result, when a large request is made (months to years of data) using coops.get_data(), then coops.get_data() handles the request by looping, with each loop making a separate request for a "block" of data. As coops.get_data() loops through, each block's begin_date and end_date is adjusted accordingly.
Issue:
When making large requests (e.g. 16 years as in example below), if there happens to be a "break" in the data record which is longer than the "block" size in each loop... then a ValueError is thrown since at least one of the dates falls inside the break, making the request invalid.
Example of Isssue:
Example below throws an error. Requesting wind from 2010 to 2016 (missing data somewhere between 2010 and 2012). Right now this needs to be split into two separate requests:
In [1]: from py_noaa import coops

In [2]: df_winds_KIP = coops.get_data(
   ...: begin_date="20000101",
   ...: end_date="20160101",
   ...: stationid="8632200",
   ...: product="wind",
   ...: interval="h",
   ...: units="english")
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-3-652ff01d4272> in <module>()
      5 product="wind",
      6 interval="h",
----> 7 units="english")

~\AppData\Local\Continuum\anaconda3\lib\site-packages\py_noaa\coops.py in get_data(begin_date, end_date, stationid, product, datum, bin_num, interval, units, time_zone)
    287                 stationid, product, datum, bin_num, interval, units, time_zone)
    288
--> 289             df_new = url2pandas(data_url, product)  # Get dataframe for block
    290             df = df.append(df_new)  # Append to existing dataframe
    291

~\AppData\Local\Continuum\anaconda3\lib\site-packages\py_noaa\coops.py in url2pandas(data_url, product)
    157     if 'error' in json_dict:
    158         raise ValueError(
--> 159             json_dict['error'].get('message', 'Error retrieving data'))
    160
    161     if product == 'predictions':

ValueError: No data was found. This product may not be offered at this station at the requested time.

Note: #29 was found to break the build (did not show up in Travis CI initially?) and therefore was reverted. This issue is still unsolved.


Splunk Logging Driver: formats and verifyconnection

--log-opt splunk-format=inline|json|raw allows to change how logging
driver sends data to Splunk, where
inline - default value, format used before, message is injected as a
line in JSON payload
json - driver will try to parse each line as a JSON object and embed it
inside of the JSON payload
raw - driver will send Raw payload instead of JSON, tag and attributes
will be prefixed before the message
--log-opt splunk-verifyconnection=true|false - allows to skip
verification for Splunk Url
Signed-off-by: Denis Gladkikh<EMAIL_ADDRESS>

does not seem like these failures related to my change.

👍
allowing KVP values to be extracted and allowing he driver to not stop the container from starting are both very common requests.

The existing options use a lot of dashes, so maybe splunk-verify-connection would be a better name.

@albers done!

design LGTM

Any updates here? Looking to use the JSON format.

@outcoldman @tophers42 yeah, it's probably good idea to resurrect this to get in 1.13.

Thanks! Much appreciated.

@outcoldman can you resolve the conflicts?

@LK4D4 @thaJeztah @albers I rebased and created new PR https://github.com/docker/docker/pull/25786 (it was bad idea to do a rebase, did not know that github does not support that for PR)

did not know that github does not support that for PR

hm, it should work, if you rebase, and force push, GitHub automatically updates the PR; what problem did you get when doing the rebase?

@thaJeztah this is what I see

@outcoldman it's expected after the branch was removed (or the PR closed), but if it's open, then rebasing and force pushing should work. Don't know what happened, but no problem :smile:


How can I set certain ranks to have 0 power?

Hello Adonis! My names Jay and I am developer for my ro-school. I have recently added Adonis admin into my game on roblox studio, tested the admin out with different ranks on my game and found out that the ranks I don't want to have admin, do have admin. So I looked on the script and it says something like “players - 0 power” but I don’t know where I can put these rank for them to have 0 power. How and where to I add certain ranks to have no admin commands at all?

Hello Adonis! My names Jay and I am developer for my ro-school. I have recently added Adonis admin into my game on roblox studio, tested the admin out with different ranks on my game and found out that the ranks I don't want to have admin, do have admin. So I looked on the script and it says something like “players - 0 power” but I don’t know where I can put these rank for them to have 0 power. How and where to I add certain ranks to have no admin commands at all?

settings.Ranks = {
	["Moderators"] = {
		Level = 100;
		Users = {
			--// Add users here
		};
	};

	["Admins"] = {
		Level = 200;
		Users = {
			--// Add users here
		};
	};

	["HeadAdmins"] = {
		Level = 300;
		Users = {
			--// Add users here
		};
	};

	["Creators"] = {
		Level = 900; --// Anything 900 or higher will be considered a creator and will bypass all perms & be allowed to edit settings in-game.
		Users = {
			--// Add users here (Also, don't forget quotations and all that)
		};
	};
};

Change Level = to 0


Archive unused image definitions

Move unused image definitions into a new archive folder to clearly indicate which images are actively developed. Remove the slc6 builds from the CI as they are no longer used.

Ok

Sure, go ahead.


Restructure the project along the new Phoenix v1.3 recommendations

Conforming with the latest best practices :grinning:

Coverage decreased (-1.7%) to 85.95% when pulling c50037db7ca73de6b6f7a6af273e44d5c2cc064b on phoenix-1-3-restructure into 00dd2ae14d9cceb9f22be80cf18b9f0cde0a7e10 on master.

Coverage decreased (-1.7%) to 85.95% when pulling 2f8a1b1a220d28ca214826ff4ccce9ccd831cf9b on phoenix-1-3-restructure into 00dd2ae14d9cceb9f22be80cf18b9f0cde0a7e10 on master.

Coverage decreased (-1.7%) to 85.95% when pulling 9b430794a6e316b487c57c4ca69c78c62b90cd9e on phoenix-1-3-restructure into 00dd2ae14d9cceb9f22be80cf18b9f0cde0a7e10 on master.

Coverage decreased (-1.7%) to 85.95% when pulling acb945684a5c44274e27e6e0ab8063357814f71f on phoenix-1-3-restructure into 00dd2ae14d9cceb9f22be80cf18b9f0cde0a7e10 on master.

Coverage decreased (-2.5%) to 85.124% when pulling cdbd1dd68abd97d0b06286cbb49398c0896bee3f on phoenix-1-3-restructure into 00dd2ae14d9cceb9f22be80cf18b9f0cde0a7e10 on master.

Coverage decreased (-1.7%) to 85.95% when pulling cdbd1dd68abd97d0b06286cbb49398c0896bee3f on phoenix-1-3-restructure into 00dd2ae14d9cceb9f22be80cf18b9f0cde0a7e10 on master.


Import from gltf breaks animation of rigidbody children

Godot version
3.4.4
System information
not revelant
Issue description
During import of scene Godot changes the name of rigid body (for example "Cube-rigid" -> "Cube"), but leaves this name in its child skeleton animation, so "Armature" becomes a child of "Cube" (Cube/Armature), but in AnimationPlayer all animations still belongs to Cube_rigid/Armature, so animation won't play.
Steps to reproduce
In Blender create mesh named "Cube-rigid", add child Armature object with child  character mesh, so structure would be Cube-rigid/Armature/Character-mesh. Animate bones, and export to gltf. Then in Godot import gltf file, open it and check AnimationPlayer animations, they belongs to Cube-rigid/Armature, but in the scene there is no more object named "Cube-rigid"
Minimal reproduction project
Rigid_bug..zip

Still present in 4.2.2.
I would like to add that this issue effects animated objects that are children of an object with import hints( -col in my case) in general, regardless of export format (.blend/glb, fbx tested) or use of an armature.


Ajax api call with relative url

Boomerang is overriding url logic of jquery ajax call.
We use relative url to load static json file from the server with jquery ajax.
Let's say we have a json file with path:
http://www.example.com/json/my.json
var r_url = 'json/my.json'
$.ajax({
url: r_url,
type: "GET",
async: false,
timeout: 10000, // 10 seconds
success: function() {
},
error: function() {
});
Suppose current page is http://www.example.com/some/page
The actual url of the api becomes
http://www.example.com/some/page/json/my.json
We don't have this problem without boomerang library.
After investigating, we found that boomerang is making the ajax api call not jquery.
I think boomerang is overriding the relative url logic of jquery and cause the problem.
Thanks.

Shouldn't r_url be set to /json/my.json to make it an absolute url?

@cyang05 I couldn't get your test case to work (without Boomerang):
Try this: http://dev.nicj.net/auto-xhr/
The page has your code, as above.  The URL it's passing to $.ajax() is auto-xhr/test.json, which you're saying should go to http://dev.nicj.net/auto-xhr/test.json.
I agree with Philip, that a relative URL without a leading slash such as auto-xhr/test.json would be relative to the current path http://dev.nicj.net/auto-xhr, and thus should be http://dev.nicj.net/auto-xhr/auto-xhr/test.json.
Is this only in a specific browser you're seeing this behavior?
What if you switch to a leading /?

@yang05 Are you by chance using an Angular app?  I may see an issue, where the "relative url" for an angular app is / while the method we use to cleanup the URL in plugins/auto_xhr.js might consider the history state URL (/some/page)

We have a base tag inside our head element:

I think all relative url should be relative to host root.

And I think JQuery takes the base tag into consideration. I just tested your code with base tag, it worked.

@cyang05 I updated the repro at http://dev.nicj.net/auto-xhr, but I still can't seem to reproduce the problem.  Can you share the URL you're seeing the issue on?

Someone loads this js file in our repo:
https://c.go-mpulse.net/boomerang/QB2NF-KYJFR-YPPM5-YJF6X-LAMRA
After comment it out, our website goes back to normal. The code was never in production. We found the problem on our local testing server.
Since boomerang is in that js file, we speculate it's caused by boomerang and apparently it's not.
Thanks for your time, I really appreciate it.

It looks like you're using mPulse, which is the commercial service that uses boomerang.  The mPulse team is already in communication with your developers regarding this issue.

FYI, we have resolved this issue in mPulse and will be back-porting this to boomerang.js


sqlsrv_next_result() causes "The active result for the query contains no fields" error in v5.1.1

I have a generic class for executing queries and returning selected results. It worked fine with v5.1.0 and previous SQLSRV driver releases, but with v5.1.1 I am getting an error saying "The active result for the query contains no fields."
Before running the test script, create a Users table like this:
CREATE TABLE Users (
    user_id int IDENTITY PRIMARY KEY,
    name varchar(50) NOT NULL
);

Here's the code that demonstrates the problem. In v5.1.0 and prior, the call to sqlsrv_next_result() for the second query returned null, but in v5.1.1 it returns false.
$connection = sqlsrv_connect('Computer-Name\SQLEXPRESS', ['Database' => 'MyDatabase']);

// Still works
$result = query("INSERT INTO Users (name) VALUES (?); SELECT SCOPE_IDENTITY() AS RowID;", ['Michael']);
$affected = $result->getAffected(); // 1
$id = $result->getFirst()['RowID']; // e.g. 1

// Worked in v5.1.0 and previous releases, but in v5.1.1 causes the following error:
// "Failed to get next result: The active result for the query contains no fields."
$result2 = query("UPDATE Users SET name = ? WHERE user_id = ?", ['Christopher', 0]);
$affected2 = $result2->getAffected(); // should be 0

function query(string $sql, array $params): Statement
{
    global $connection;
    $stmt = sqlsrv_query($connection, $sql, $params);

    if ($stmt === false) {
        throw new Exception('Query failed: ' . sqlsrv_errors()[0]['message']);
    }

    $result = new Statement($stmt);
    $result->execute();
    return $result;
}

class Statement
{
    /** @var resource */
    private $stmt;
    private $affected;

    public function __construct($stmt)
    {
        $this->stmt = $stmt;
    }

    public function execute()
    {
        $next = null;
        $this->affected = -1;

        // get affected row count from results prior to select result
        do {
            $affectedRows = sqlsrv_rows_affected($this->stmt);

            if ($affectedRows === false) {
                throw new Exception('Failed to get affected row count: '.  sqlsrv_errors()[0]['message']);
            }

            if ($affectedRows === -1) {
                // reached SELECT result
                break; // so that getIterator will be able to select the rows
            }

            if ($this->affected === -1) {
                $this->affected = 0;
            }

            $this->affected += $affectedRows;
        } while ($next = sqlsrv_next_result($this->stmt));

        if ($next === false) {
            throw new Exception('Failed to get next result: ' . sqlsrv_errors()[0]['message']);
        }

        if ($affectedRows !== -1) {
            $this->close(); // no results, so statement can be closed
        }
    }

    public function getIterator(): \Generator
    {
        // only fetch rows if the statement is open
        if (is_resource($this->stmt)) {
            while ($row = sqlsrv_fetch_array($this->stmt, SQLSRV_FETCH_ASSOC)) {
                yield $row;
            }

            $this->close();
        }
    }

    public function getFirst(): ?array
    {
        $row = $this->getIterator()->current();

        if ($row !== null) {
            $this->close(); // don't leave the SQL statement open
        }

        return $row;
    }

    public function getAffected(): int
    {
        return $this->affected;
    }

    public function close()
    {
        if (!sqlsrv_free_stmt($this->stmt)) {
            throw new Exception('Failed to close statement:' . sqlsrv_errors()[0]['message']);
        }
    }
}

In case it helps, I'm using PHP 7.2 RC5 on Windows 10.

I think this is releated with each other, this issue has the same problems, i am having exact the same problem as mentioned here, only difference is that i run PHP7.1.11 on Windows 10

Hi @theodorejb and @jansor, the behaviour in the latest release was changed because of inconsistencies in the way null result sets were reported previously - details in issue #507. Now, if you try calling sqlsrv_next_result() or nextRowset() on a null result set, the error The active result for the query contains no fields is returned. This happens when the result set is null rather than empty - the difference is that a null result set has no rows or fields, while an empty result set would have no rows but a nonzero number of fields. An UPDATE statement would return a null result set, since nothing is being retrieved, for example, while a SELECT statement that returns no records would return an empty but non-null result since it would have fields associated with it.
If you are calling sqlsrv_next_result() on a result that is nonempty to begin with, the error won't be returned unless you first go past the end and then call sqlsrv_next_result (the first time you go past the end, sqlsrv_next_result() returns null rather than an error). If the result set is empty but non-null, sqlsrv_next_result would return null again. But if the result set is null to begin with, the error is returned immediately on calling sqlsrv_next_result. The do...while loop in your execute() function is fine, but you may want to change the if block that follows, as it will throw an exception whenever your statement returns a null result.

@david-puglielli How can I check whether the result set is null so I can avoid calling sqlsrv_next_result() and causing an error?

@theodorejb After discussing with the team we have concluded this new behavior is a regression in the 5.1.1-preview release. We will have this fixed in the next preview release near the end of the month. We apologize for any inconvenience.

Fixed and merged #595


Merge changes from official SDK 2019-12-27

This was manually reverted due to an incorrect commit message.


broker keeps dying due to keep alive timeout

I have aedes running as a broker locally, and whenever a keep alive timeout on the connect handler is missed, it fires an error, as I'd expect. However, that error kills the broker entirely, which is surprising me to me. Is this intended behaviour, and if so, why?

I would say it is a bug, and it should be easy to fix.Would you like to
send a PR?
Il giorno mar 24 nov 2015 alle 22:15 Jeremy Tregunna <
<EMAIL_ADDRESS>ha scritto:

I have aedes running as a broker locally, and whenever a keep alive
timeout on the connect handler is missed, it fires an error, as I'd expect.
However, that error kills the broker entirely, which is surprising me to
me. Is this intended behaviour, and if so, why?
—
Reply to this email directly or view it on GitHub
https://github.com/mcollina/aedes/issues/12.

Actually, this issue is a bit misleading, it involves the packet timeout, and I'm not entirely sure if aedes is doing something buggy or if the keep alive timeout in a packet just doesn't make sense for a QoS0 packet. When I change my packet's keep alive to 0, the problem disappears, client has no connection issues even over long time ranges with inactivity. I'm thinking this might be something I'm doing wrong. Will report back in the next 24 hours with more information, or close this as user error. :)

Aedes shuould not crash for a wrong packet. Can you please attach the
stacktrace?
Il giorno mar 24 nov 2015 alle 23:33 Jeremy Tregunna <
<EMAIL_ADDRESS>ha scritto:

Actually, this issue is a bit misleading, it involves the packet timeout,
and I'm not entirely sure if aedes is doing something buggy or if the keep
alive timeout in a packet just doesn't make sense for a QoS0 packet. When I
change my packet's keep alive to 0, the problem disappears, client has no
connection issues even over long time ranges with inactivity. I'm thinking
this might be something I'm doing wrong. Will report back in the next 24
hours with more information, or close this as user error. :)
—
Reply to this email directly or view it on GitHub
https://github.com/mcollina/aedes/issues/12#issuecomment-159427692.

Yeah it's below if it helps:
Error: keep alive timeout
    at keepaliveTimeout (/Users/jtregunna/Projects/hermes/node_modules/aedes/lib/handlers/connect.js:45:28)
    at timerWrapper [as _onTimeout] (/Users/jtregunna/Projects/hermes/node_modules/aedes/node_modules/retimer/retimer.js:21:16)
    at Timer.listOnTimeout (timers.js:92:15)

Also related:
client error null connect did not arrive in time
Error: connect did not arrive in time
    at null._onTimeout (/Users/jtregunna/Projects/hermes/node_modules/aedes/lib/client.js:87:24)
    at Timer.listOnTimeout (timers.js:92:15)
Error: connect did not arrive in time
    at null._onTimeout (/Users/jtregunna/Projects/hermes/node_modules/aedes/lib/client.js:87:24)
    at Timer.listOnTimeout (timers.js:92:15)

Confirmed the first one (that lead to a crash).
Here is the client to reproduce:
var mqtt = require('mqtt-packet')
var net = require('net')
var client = net.connect(1883)
var parser = mqtt.parser()

parser.on('packet', console.log)

client.on('data', parser.parse.bind(parser))

mqtt.writeToStream({
  cmd: 'connect',
  protocolId: 'MQTT',
  protocolVersion: 4,
  clean: true,
  keepalive: 1
}, client)

Actually this is not a bug, it's me that left a throw in the example (https://github.com/mcollina/aedes/blob/master/example.js#L13).
This disappears removing that throw.

when I use pm2  to start up 4 aedes instanst,the aedes broker always print "client error SUB_1 keep alive timeout" (SUB_1 is my client.id),so I don,t know why it is !

your client is not sending a keepalive message in time.
Il giorno sab 7 mag 2016 alle 17:51 tianyayouxiaer<EMAIL_ADDRESS>ha scritto:

when I use pm2 to start up 4 aedes instanst,the aedes broker always print
"client error SUB_1 keep alive timeout" (SUB_1 is my client.id),so I
don,t know why it is !
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/mcollina/aedes/issues/12#issuecomment-217646446

Also related:
client error null connect did not arrive in time
Error: connect did not arrive in time
    at null._onTimeout (/Users/jtregunna/Projects/hermes/node_modules/aedes/lib/client.js:87:24)
    at Timer.listOnTimeout (timers.js:92:15)
Error: connect did not arrive in time
    at null._onTimeout (/Users/jtregunna/Projects/hermes/node_modules/aedes/lib/client.js:87:24)
    at Timer.listOnTimeout (timers.js:92:15)

I'm facing this issue. How did you resolve this issue ?


a single ren::Function declaration cannot be multiply instantiated

The REN_STD_FUNCTION trickery for defining ren::Function allows for a macro-generated lamba function to "latch onto" static state, identifying the table entry in which the std::function implementing it is.
However, if you have a non-static declaration of a ren::Function, and run the code multiple times, the second call will deadlock.  Because the function has already latched onto a table entry on the first run...so when the request to latch is made it handles it as if it were an intent to actually dispatch the function.

This could have just thrown an error and not allowed you to do it.  But it's possible to tolerate it, so going with that for now...although it's probably not the case that it's doing what you actually want.
There's an odd property that if you create functions in a loop using the REN_STD_FUNCTION trick, each iteration has the opportunity to give a new spec block.  Maybe that is useful?


Add delimiters to binary data view

When converting data to binary, add delimiters for easier identification, just as below:

Hi @gagmeng,
That's the default output from Math.js and I wouldn't want to change the default output as it might cause unexpected issues with other types of answers.
However, if you are up to it, you can define a custom function to format the output.  For example:

Open User functions and units dialog
Add following function which adds a space after every 4th characterformatBin: (bin) => bin.replace(/(.{4})/g, "$1 ")

Click save and now you can wrap the bin function with this custom formatter:

Hope this helps!
By the way, please make sure to upgrade to v4.4.2 as previous versions had a bug where user defined functions textbox would not allow you to use the space key.

Maybe the function should like that:
formatBin: (bin) => bin.replace(/.{1,4}(?=(.{4})*$)/g, "$& ")


SSL Certificate is not found in /var/lib/waagent/ for Linux Azure VM

I am trying to add an SSL certificate for my website hosted in a Linux Virtual Machine (Ubuntu 18.04). I added the certificate successfully doing this:
$certURL=(Get-AzureKeyVaultSecret -VaultName $keyVaultName -Name $key).id
$vm=Get-AzureRmVM -ResourceGroupName $resourceGroup -Name $vmName
$vaultId=(Get-AzureRmKeyVault -ResourceGroupName $resourceGroup -VaultName $keyVaultName).ResourceId
$vm = Add-AzureRmVMSecret -VM $vm -SourceVaultId $vaultId -CertificateUrl $certURL

Update-AzureRmVM -ResourceGroupName $resourceGroup -VM $vm

Then, I checked that the certificate was added successfully:
    az vm secret list --name $vmName --resource-group $resourceGroup
    [
      {
        "sourceVault": {
          "id": "/subscriptions/...."
        },
        "vaultCertificates": [
          {
            "certificateStore": null,
            "certificateUrl": "https://name.vault.azure.net:443/secrets/ssl/123456ABCDFG (example)"
          }
        ]
      }
    ]

However, when I check in /var/lib/waagent/, I can't find the certificate 123456ABCDFG. I don't know where it is?

Hi @pablof300, Happy to help! Please share a link to the Azure documentation you are referencing and we will investigate further.

@femsulu I was following this doc page: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/tutorial-secure-web-server
They use cloud-init since they are using a nginx web server, but I am using docker, so I will be launching my server with something like
docker run -v /var/lib/waagent/yourcert:/container/to/path/cert -d --name containerName yourImage
For that I need to find where my certificate is

@pablof300 Thank you for your question!
We have seen that you have posted the same question in this MSDN and it will have visibility across the community which is a better suited audience for such types of issues. And this MSDN post already has engagement from the community members.
Since this channel is for driving improvements towards MS Docs, and this issue is not related directly to the document we are closing this issue now


Possible fix for button problem

Fixes hopefully https://github.com/mit-cml/appinventor-sources/issues/1331

Issue can be watched here:
https://github.com/mit-cml/appinventor-sources/issues/1331

@NmdOfficial Do you have any way in Makeroid to create new buttons at runtime? I still don't see how this could logically follow in the core components, but if one had the ability to add/remove UI elements (versus simply changing their visibility), then I can imagine a scenario where a button can be clicked but isn't registered in the form environment. This would lead to unregistering the component, and thus causing the ConcurrentModificationException. However, in that scenario this fix would not correct the problem. Additional logic for why this is is provided in the comment on #1331.

Yes we have a component which can create buttons at runtime.

Since we believe that this doesn't affect App Inventor, and we have know way to replicate it in App Inventor, we are going to close this PR.


riscv architecture support?

I am wondering if this project would like to support the riscv architecture.
RISC-V is an open standard instruction set architecture (ISA) based on established reduced instruction set computer (RISC) principles. Unlike most other ISA designs, the RISC-V ISA is provided under open source licenses that do not require fees to use. (from Wikipedia)
Golang supports cross-compiling risc-v already (GOARCH=riscv64/GOOS=linux), and looking into this project I think adding a new architecture would be quite achievable.
As an early riscv docker user, most if not all docker images does not support riscv yet, and being able to run this tool from a riscv docker system would be great to know what arch is supported and what is not.

To clarify with supporting: to build and publish a docker image which can be executed on a riscv system.
Current image does not support linux/riscv:
$ docker run --rm mplatform/mquery debian:bullseye
Unable to find image 'mplatform/mquery:latest' locally
latest: Pulling from mplatform/mquery
docker: no matching manifest for linux/riscv64 in the manifest list entries.
See 'docker run --help'.

Looks like that was a pretty easy addition via #22; I'm going to test with a quick pre-release (that doesn't change the ":latest" tag for mquery) and probably will ask you to verify it since I don't have access to risc-v hardware :) Once we do that, then I can make a non-pre-release and it should work out of the box for risc-v.

@olof-nord would you mind trying the v0.5.0-rc.0 image to make sure it works?
It shows that it should support riscv now:
$ ./mquery-linux-amd64 mplatform/mquery:v0.5.0-rc.0
Image: mplatform/mquery:v0.5.0-rc.0 (digest: sha256:56c902130c84951b157b43bc4ebf9b48e11a856adee214325d0df8cfbaa342c7)
 * Manifest List: Yes (Image type: application/vnd.docker.distribution.manifest.list.v2+json)
 * Supported platforms:
   - linux/ppc64le
   - linux/amd64
   - linux/386
   - linux/s390x
   - linux/riscv64
   - linux/arm64/v8
   - linux/arm/v7
   - linux/arm/v6
   - windows/amd64:10.0.17763.2300
   - windows/amd64:10.0.14393.4770

You should be able to verify on riscv by running:
$ {whateverruntime} run mplatform/mquery:v0.5.0-rc.0 {someotherimage}

Of course, and I can report success!
Many thanks for this, I really appreciate it.
➜  ~ docker run --rm mplatform/mquery:v0.5.0-rc.0 debian:bullseye
Image: debian:bullseye (digest: sha256:45ee40a844048c2f6d0105899c1a17733530b56d481612608aab5e2e4048570b)
 * Manifest List: Yes (Image type: application/vnd.docker.distribution.manifest.list.v2+json)
 * Supported platforms:
   - linux/amd64
   - linux/arm/v5
   - linux/arm/v7
   - linux/arm64/v8
   - linux/386
   - linux/mips64le
   - linux/ppc64le
   - linux/s390x
➜  ~

Great! I tagged v0.5.0 this morning and pushed, so now the default mplatform/mquery image has the riscv support included. Thanks for suggesting the update and testing it!
Release: https://github.com/estesp/mquery/releases/tag/v0.5.0


Hook for sending APP packets

Hello, this is my proposition for #155
What do you think, @jrsnen?
I tested it and it works for me

Hi.
As a general idea, I think a hook based approach is the best solution for the APP, since I think it best mimics how details are gathered for other RTCP reports. That being said,

can you modify this, so you also keep the old function. As a library we try to not remove functionality if possible and maybe there is a scenario where that style of API is the best.

would install_send_app_hook be a better name? I started thinking that sending is a more important distinction than app, and therefore it would be nice if it was before app in name. Other name would be install_outgoing_app_hook().

I think giving the map as a parameter is somewhat more complicated than it needs to be from the user's perspective. I would do it so that the user could install multiple hooks, each for one packet. Something like: install_send_app_hook(std::function < std::shared_ptr<rtcp_app_packet>()> app_sending), which then would be saved to an array where each function would be called when sending an RTCP report.

can you add a function for removing the APP hook/all APP hooks?

and 3) need to be done for this to be accepted. I'm open to hearing opinions on 2). 4) would be nice, but can be left to a later date.

BR, Joni

This is deprecated and resolved by #187


-Identity is not documented

When running Connect-MicrosoftTeams the -Identity switch is available. This is not documented here. It is not documented in the help in the cmdlet either. But tab-completion reveals it and running the cmdlet with that parameter seems to kinda work.

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

ID: 1ee082c9-735d-3f8a-7bc4-b2d4f175c784
Version Independent ID: 50e0366c-46b0-71da-b6f6-f422adaad785
Content: Connect-MicrosoftTeams (teams)
Content Source: teams/teams-ps/teams/Connect-MicrosoftTeams.md
Service: teams-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

@officedocsbot assign @yogkumgit

Hello @Agazoth Axel, thanks for reporting, I will dig into this and get back.

Thanks for reporting @Agazoth. The connect cmdlet has some issues with the -Identity parameter. This is supposed to allow users to use an Azure Managed Identity to execute subsequently. I am surprised that it worked for you. Can you share details on how you configured your managed identity.
We should be fixing these issues in the command cmdlet in future releases when the documentation will also be fixed. cc @brandber

@get-itips  Thank you very much for the contribution and sharing this explanation. @Agazoth
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Signature Expired

Been getting this error, able to save now but get this when I try and upload. Any ideas?
Error: Signature expired: 20170721T074556Z is now earlier than 20170722T022954Z (20170722T023454Z - 5 min.)
at Request.callListeners (/Users/optimusprime/interactive-adventure-game-tool/node_modules/gulp-awslambda/node_modules/aws-sdk/lib/sequential_executor.js:107:43)

I have new keys and both are in the /.aws/credentials.
Not sure what else it could be.

Clock was off... set it to the correct time and it worked.


picosdk.discover.find_unit() does not find device

Setup

Example filename: block.py
Version of Python: 3.6.5 (Anaconda)
Pico Technology device model: Picoscope 4824
Driver name, version number and platform (32- or 64-bit): PicoScope 4000 series PC Oscilloscope <IP_ADDRESS> 64-bit
Operating system: Windows 7
USB port type	(e.g. 2.0): 3.0

Description
With device showing up in device manager and working in the PicoScope 6 software no device is found when running picosdk.discover.find_unit()
Steps to reproduce the issue

First install the PicoScope 6 software including drivers and connect device to USB 3.0 port to test functionality.
Download and install SDK files as per README.md
Installing according to README.md does not work smoothly in setup.py changed name from 'ps2000' to 'ps4000'. ctypes.util.find_library(name) does not find anything (could be because the SDK files were installed to C: drive but python library is on Z: drive but seems unlikely).
change name to full path of ps4000.dll file and pass to ctypes.WinDLL without call to ctypes.util.find_library()
Call setup.py install from Anaconda command prompt the output is
running install
running build
running build_py
running install_lib
warning: install_lib: 'build\lib' does not exist -- no Python modules to install
running install_egg_info
writing C:\Users\username\AppData\Locla\Continuum\anaconda3\Lib\site-packages\PicoSDK-1.0-py3.6.egg-info
Start new kernel and attempt to run block.py returns ModuleNotFoundError: No module named 'picosdk'
copy picosdk folder into the same folder as block.py and encounter same issue with find_library in library.py
Again change call to find_library to direct path to 'driver.name'.dll

Actual Result
DeviceNotFoundError: Could not find any devices on any drivers.
On one occasion (out of many) a loading bar appeared on the screen.
Expected Result
Capturing 6000 samples of data at 1 sample per microsecond
Notes
PicoScope 6 software was closed during Python tests
Calling
import win32com.client
strComputer = "."
objWMIService = win32com.client.Dispatch("WbemScripting.SWbemLocator")
objSWbemServices = objWMIService.ConnectServer(strComputer,"root\cimv2")
colItems = objSWbemServices.ExecQuery("SELECT * FROM Win32_PnPEntity")
returns a number of items. One item is
Name:PicoScope 4000 series PC Oscilloscope
Status:OK
DeviceID:USB\VID_0CE9&PID_1202\7&5AE10E1&0&1

I had a similar issue. I fixed it with two steps:

Picoscope 4824 uses the ps4000a.dll file
The Picoscope GUI, Picoscope 6, was also installed on my computer. find_library would find the path to the ps4000a.dll driver in the Picoscope 6 folder rather than the Picosdk folder. Though Picoscope 6 worked fine, when the sdk tried to load the driver in the Picoscope 6 folder,  it returned a windows bitness error (I have a 64 bit machine, apparently Picoscope 6 uses the 32 bit driver). When I uninstalled Picoscope 6 leaving only the driver in the picosdk folder, the example script worked.


Connect: permission denied socket Fedora 30

Hello, I can not run traefik on Fedora 30. I get the following error:
traefik    | time="2019-06-16T12:17:50Z" level=error msg="Failed to retrieve information of the docker client and server host: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.21/version: dial unix /var/run/docker.sock: connect: permission denied"

My docker.sock file has the following rights:
srw-r--r--. 1 root docker 0 16 juin  11:45 /var/run/docker.sock
And my docker-compose.yml file is:
version: '2'

services:
    traefik:
        container_name: traefik
        image: traefik:latest
        command: --docker
        restart: always
        ports:
            - "80:80"
            - "443:443"
            - "8080:8080"
        labels:
            - "traefik.enable=true"
            - "traefik.port=8080"
        volumes:
            - "/var/run/docker.sock:/var/run/docker.sock:z"
            - "/home/julien/docker/traefik/traefik.toml:/etc/traefik/traefik.toml:z"
            - "/home/julien/docker/traefik/acme:/etc/traefik/acme:z"

Thanks for your help.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI tells me this one is neither of them.
I encourage your to seek community support: join our Slack workspace and reach out to us on the #support channel.
Another option is to use Stack Overflow and tag your question traefik.
You can of course double check Traefik's documentation :sweat_smile:

@Slown61 once on Slack, mention me (same user id) so I might be able to help you.
FYI, I was not able to reproduce your issue, so there is definitively something in your Fedora setup that we have to tight down :)

I am having the same error by just running docker version on a brand new Fedora 30 using curl -fsSL get.docker.com | CHANNEL=test sh from https://github.com/docker/for-linux/issues/600#issuecomment-497513217
[rumcajs@localhost ~]$ docker version
Client: Docker Engine - Community
 Version:           19.03.0-rc2
 API version:       1.40
 Go version:        go1.12.4
 Git commit:        f97efcc806
 Built:             Wed Jun  5 01:40:59 2019
 OS/Arch:           linux/amd64
 Experimental:      false
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/version: dial unix /var/run/docker.sock: connect: permission denied

Running the command as root gives:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

User rumcajs is in the docker group.
I am unable to start the docker daemon.
[rumcajs@localhost ~]$ systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2019-06-17 20:49:53 CEST; 2s ago
     Docs: https://docs.docker.com
  Process: 28867 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
 Main PID: 28867 (code=exited, status=1/FAILURE)

Jun 17 20:49:53 localhost.localdomain systemd[1]: docker.service: Service RestartSec=2s expired, scheduling restart.
Jun 17 20:49:53 localhost.localdomain systemd[1]: docker.service: Scheduled restart job, restart counter is at 3.
Jun 17 20:49:53 localhost.localdomain systemd[1]: Stopped Docker Application Container Engine.
Jun 17 20:49:53 localhost.localdomain systemd[1]: docker.service: Start request repeated too quickly.
Jun 17 20:49:53 localhost.localdomain systemd[1]: docker.service: Failed with result 'exit-code'.
Jun 17 20:49:53 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.

I had no issues on Fedora 29. I wasn't using the test channel though.


[SPARK-10480] [ML] Fix ML.LinearRegressionModel.copy()

This PR fix two model copy() related issues:
SPARK-10480
ML.LinearRegressionModel.copy() ignored argument extra, it will not take effect when users setting this parameter.
SPARK-10479
ML.LogisticRegressionModel.copy() should copy model summary if available.

Merged build triggered.

Merged build started.

Test build #42093 has started for   PR 8641 at commit 8e1d219.

Looks OK. On the borderline of needing a JIRA. really this is a fix for SPARK-8538 / SPARK-8539 I think. CC @feynmanliang

Test build #42093 has finished for   PR 8641 at commit 8e1d219.

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

Merged build finished. Test PASSed.

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

Yep LGTM, just noticed that LogisticRegression doesn't copy the summary object, SPARK-10479 will track that work

@yanboliang how about fixing SPARK-10479 here too? it's very similar.

@srowen OK, I have updated this PR to fix both SPARK-10479 and SPARK-10480

Merged build triggered.

Merged build started.

Test build #42130 has started for   PR 8641 at commit 891d29e.

Test build #42130 has finished for   PR 8641 at commit 891d29e.

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

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

Merged build finished. Test PASSed.

Please add [SPARK-10479] to PR title

LGTM

Merged into master and branch-1.5. Thanks!


Recording & playback

To be able to record sound with the micro:bit and play it back with the on-board speaker.
Desired features:

Record audio
playback recorded audio
Change sample rate of playback
change sample rate of recording
play back samples (at different sample rates)

Example code in the MakeCode extension:
https://github.com/lancaster-university/pxt-codal-audio

I'm going to mark this as 'done' now, as we have working (sans some bugs) upstream code in both CODAL and MakeCode.
Bugs should now be filed under more specific issues.


Fix theme generation bug

What Changed
When removing the UA parser, some code that ran on import was causing themed CSS builds to fail. That code is now fixed.
Why
What might be impacted
Todo:

[ ] Add tests
[ ] Add docs

Build Info
Your PR was successfully deployed by CircleCI #342
Storybook

Bundle Size Report

name
master
pr
+/-
%

@devtools-ds/object-parser
2.47 kB
2.47 kB
0.00 Bytes
0%

@devtools-ds/port-controller
11.03 kB
11.03 kB
0.00 Bytes
0%

@devtools-ds/themes
30.69 kB
6.01 kB
-24.68 kB
-80%

@devtools-ds/object-inspector
71.96 kB
23.92 kB
-48.05 kB
-67%

Total
116.15 kB
43.42 kB
-72.73 kB
-63%

✅ No size breaking changes detected

Courtesy of your bundle-size bot :package::rocket:

:rocket: PR was released in v1.0.3 :rocket:


Adding OpenLDAP sssd support

We are transitioning OpenLDAP support from nslcd to sssd to ensure a consistent authentication setup across different environments.

This PR having unwanted code changes. So, Closing it.


Dual R3 errors in homebridge

I'm using Sonoff Dual R3 in the motor mode for the Garage door
I'm just getting this error message in the log every time
Setup:
Raspberry Pi 4 B v1.5, Homebridge 1.6.1, node.JS [18.16.1]
homebridge-ewelink version - 10.4.0
Config:
"multiDevices": [
{
"label": "Garage",
"deviceId": "1001d8eaeb",
"deviceModel": "dualr3_motor",
"showAsMotor": "garage",
"overrideLogging": "default"
}
[02/07/2023, 18:58:53] [eWeLink] [Garage] receiving update {"current_00":0,"voltage_00":21131,"actPow_00":0,"online":true,"updateSource":"WS"}.
[02/07/2023, 18:58:53] [eWeLink] [Garage] device update failed as Cannot read properties of undefined (reading 'value') at default.externalUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/device/motor.js:284:28).

Hi @rafht
Could you update to the beta version of the plugin to see if you still get this message in the logs?
https://github.com/bwp91/homebridge-ewelink/wiki/Beta-Version
Ideally you will no longer see this in the logs!

same with the beta version:
[04/07/2023, 20:44:49] [eWeLink] [Garage] receiving update {"current_00":0,"voltage_00":20915,"actPow_00":0,"online":true,"updateSource":"WS"}.
[04/07/2023, 20:44:49] [eWeLink] [Garage] device update failed as Cannot read properties of undefined (reading 'value') at default.externalUpdate (file:///var/lib/homebridge/node_modules/homebridge-ewelink/lib/device/motor.js:284:28).

@rafht your latest logs still show that the error is happening on line 284 of the file, which means that the beta version has not installed properly.
Please make sure that you have installed the beta version using the link I provided above and restart homebridge, and let me know if you still have the issue

thanks for confirming @rafht
can you try the newest beta?

Now it's like this @bwp91

Hi @bwp91 I found what was the problem, I added my username and password of ewelink to the plugin and also by mistake added the device ID in multi-channel devices. I cleared added devices and now that error message is gone, but the Garage door is now replaced with a curtain 😆 (I mean R3 motor mode by default from ewelink showing as a curtain)

You probably had it correct in the first place, but please still update to the new beta version.
Multi channel device config is correct for this device, you can add a config like this:

and choose garage door

Now it works correctly, thank you very much! On the latest beta, everything is ok

awesome good to hear it’s working!


Feat: Search algorithms for 2d matrix

Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[x] Added tests and example, test must pass
[x] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

Are the changes ok? Or should I make some other changes ?


Migrate app from Shopify App Bridge 1.x to Shopify App Bridge 2.0

A new search parameter called host has been introduced with the release of App Bridge 2.0.
Getting notification from shopify - Please update the apps to App Bridge 2.0.
Version of App Bridge lower than 1.x which will be removed from Shopify on Jan 1, 2022.

Can you post the whole notice?

Can you post the whole notice?

https://shopify.dev/changelog/easdk-being-removed-and-embedded-apps-must-migrate-to-app-bridge

Can you post the whole notice?

https://shopify.dev/changelog/easdk-being-removed-and-embedded-apps-must-migrate-to-app-bridge

On the Shopify App forum a Shopify Rep. replied that during this week the Shopify App platform will start using the new "host" parameter on redirect. (It seems that after releasing App bridge 2 this param was somehow missing )
Does any body knows what would be the short procedure for supporting App Bridge 2 before May 1th? ... Or is there any chance to get a new version of this Laravel extension before May 1th?

I implemented a quick workaround for dealing with the new 'host' param.
I noted that the param will be loaded in the Request object after launching the APP from 'admin' site.
So in the controller that is handling the lading page I did the following:
    $params = $request->all();
    $host = session('shopifyHost');  //Just in case the host was already set

    if(isset($params["host"])){
        session(['shopifyHost' => $params['host']]);  //Setting the host if it is present in the params
    }else{
        if($host == null){
            $url = "https://".$shop->name.'/admin/apps/'.env("SHOPIFY_API_KEY");
            logger("redirect because there was no host..."); // force a redirect for getting the new host param on start
            return redirect()->away($url);
        }
    }

Then, on the bridge configuration I pass the host value from session:
<script>
    var AppBridge = window['app-bridge'];
    var createApp = AppBridge.default;
    var app = createApp({
        apiKey: '{{ config('shopify-app.api_key') }}',
        **host: '{{ session('shopifyHost') }}',**
    });
</script>

This solution might cause CSP issues but you can create a middleware for adding the following header to every incoming request, by adding this line to the response:
$response->header( 'Content-Security-Policy', 'frame-ancestors '.$shop);

change the config does not work for me
'appbridge_version' => env('SHOPIFY_APPBRIDGE_VERSION', '2')
I have the same issue

'appbridge_version' => env('SHOPIFY_APPBRIDGE_VERSION', '2.0.3')
works for me

@mikeastral Not sure I'm following, shouldn't @pengbo37877 suggestion work fine? Or is there backend changes needed?

Given ENV setting exists, we should be fine. Closing for now.

As of right now I have an app running on production that has been approved by Shopify. It is using AppBridge version "2":
>>> config('shopify-app.appbridge_version')
=> "2"

Hi everyone,
Someone knows how I solve this? Where Can I put this configuration?
Requirements that must be met before initial screening
App must set security headers to protect against clickjacking.
Your app must set the proper frame-ancestors content security policy directive to avoid clickjacking attacks. The 'content-security-policy' header should set frame ancestor to frame-ancestors https://cambridgetestshop.myshopify.com https://admin.shopify.com.
More information here
@mikeastral Can you put more details? Thanks

Hi everyone,
Someone knows how I solve this? Where Can I put this configuration?
Requirements that must be met before initial screening App must set security headers to protect against clickjacking. Your app must set the proper frame-ancestors content security policy directive to avoid clickjacking attacks. The 'content-security-policy' header should set frame ancestor to frame-ancestors https://cambridgetestshop.myshopify.com https://admin.shopify.com.
More information here
@mikeastral Can you put more details? Thanks
I have the same error as you, can someone help me

I have this issue as well

I have this issue as well

I fixed this error.
I was add Content-Security-Policy', 'frame-ancestors in header
example:
return response()->view('index')->header( 'Content-Security-Policy', 'frame-ancestors '.Auth::user()->name);

@damquanghieu yes it works. I solved it putting the code below above your app.blade.php html (or any layout base) and works too.
<?php
  header("Content-Security-Policy: frame-ancestors https://".auth()->user()->name);
?>

@damquanghieu yes it works. I solved it putting the code below above your app.blade.php html (or any layout base) and works too.
<?php
  header("Content-Security-Policy: frame-ancestors https://".auth()->user()->name);
?>

Hello,
In which file we have to add this?
When we are adding the above code in my shopify php file, it is throwing error.
Can you please help me to solve this.


Update dns-private-resolver-get-started-powershell.md

The domain name in the example needs a trailing dot.

@greg-lindsay
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


[BACKLOG-33339] Update ValueMetaConverter to convert timestamps to

integers in nanoseconds; follows implementation in PDI-18369.

:white_check_mark: Build finished in 18m 3s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:ok_hand: All tests passed!
Tests run: 4761, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


Nested or condition can not generate sql correct

Can not generate sql correctly when using nested OR condition

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.
Steps:

code:
ands := make([]predicate.MakerOrder, 0)
	for colAddr, tokenIDs := range tokenIDMaps {
		for _, tokenID := range tokenIDs {
			ands = append(ands, makerorder.And(makerorder.CollectionAddressEQ(colAddr), makerorder.TokenIDEQ(tokenID)))
		}
	}
	q = q.Where(makerorder.Or(ands...))

Current Behavior 😯

Expected Behavior 🤔
(a=1 and b=1) or (a=2 and b=2) or (a=3 and b=3),but now is  ((a=1 and b=1) or (a=2 and b=2)) or (a=3 and b=3)

Tech
Version

Go
go version go1.17 darwin/amd64

Ent
0.10.0

Database
MySQL

Driver
https://github.com/go-sql-driver/mysql

Hey @MikyChow 👋🏻
Thanks for reporting this. Can you please provide an example with ent/bug to reproduce this? Thanks
https://github.com/ent/bug


Allow :with to be given as a {module, function} tuple

I've been building an app where various forms contain multiple liveviews for particularly interactive sections. I've been passing the form into the session, and using normal form functions inside the liveview which has worked fine.
This afternoon I added cast_assoc to a changeset and suddenly my liveviews exploded with ** (ArgumentError) cannot deserialize #Function<15.129553521/2 in Ecto.Changeset.on_cast_default/2>, the term is not safe for deserialization errors, because as it turns out the :with option of cast_assoc implicitly creates an anonymous function.
Therefore this pull request circumvents the problem by allowing the :with option to be given as a tuple of {module_name, changeset_function_name}, thereby making the changeset serializable if necessary.

Hi Dave, can you please use {module, function, args} as the tuple where the
changeset is prepended? That’s the most common format. Also, can you please
add a test? Thank you.
José Valim
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

Hi Jose,
Just to check, do you mean to specifically pass in the changeset and params at the point that cast_assoc is used, like this?
def changeset(todo_list, params \\ %{}) do
  before_cast_changeset =
    todo_list
    |> cast(params, [:body])

  before_cast_changeset
  |> cast_assoc(:todo_items, with: {TodoItem, :changeset, [before_cast_changeset, params]})
end

@ccapndave the usage should be like this:
before_cast_changeset
|> cast_assoc(:todo_items, with: {TodoItem, :changeset, [params]})

but under the hood it would be called like that: TodoItem.changeset(before_cast_changeset, params)

I'm just looking at this now, and Ecto does some cleverness with extracting the relevant bit of the attributes to pass into the associated changeset function.  I guess we don't want the user to have to duplicate this logic, so shall I instead prepend both the changeset and the attrs to the passed parameters?
That means that in general the third argument would be an empty list, unless the changeset function actually takes extra arguments.

Yes, sounds good. We would do something like {module, fun, args} and call it as apply(module, fun, [changeset, attrs | args]).

I never knew you could prepend multiple items to a list with that syntax.  How about that :)

Requested changes implemented.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


layout omr detection with pencil or pen

OpenCV R&D for supporting pencil or pen OMR bubble filling


Wrong Result for Rebellion, Eurostreaming, IMDB/TMDB Based.

Hello, I just wanted to report that Stremify finds the wrong result for tt4699982, Rebellion. Instead of the first episode, it finds an episode of Emily in Paris.
That is weird since the search itself, on the website, with the IMDB, work as expected. Moreover, the video file on the site is what it is supposed to be.
https://eurostreaming.my/stream/3196-rebellion-streaming.html

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

I am pretty sure Eurostreaming is intentionally doing it because it does it on all shows. I’ll swap them for another provider or rewrite the scraper soon.

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

Fixed, eurostreaming had a wrong domain haha.

Tried now on TV Series "Snowpiercer 4x01" and also appears emily in paris


Remove/Replace examples based on chondro

As chondro is removed from hypseSpec.

Dataset chondro is removed from the devel version of hyperSpec thus this package is not compatible with hyperSpec 0.100.0 or newer as it extensively uses chondro in examples and vignettes. Thus, I added hySpc.chondro as a dependency (2ebd1ba, 9a67761).
If this is not the desired behavior, please do something about this. Otherwise, close the issue.


HBASE-22975 Add read and write QPS metrics at server level and table level

HBASE-22975

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 44s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:yellow_heart:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-1 Compile Tests _

:blue_heart:
mvndep
5m 53s
Maven dependency ordering for branch

:green_heart:
mvninstall
3m 22s
branch-1 passed

:green_heart:
compile
1m 11s
branch-1 passed

:green_heart:
checkstyle
2m  8s
branch-1 passed

:broken_heart:
shadedjars
0m 13s
branch has 10 errors when building our shaded downstream artifacts.

:green_heart:
javadoc
0m 59s
branch-1 passed

:blue_heart:
spotbugs
2m  8s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
3m  9s
branch-1 passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 11s
Maven dependency ordering for patch

:green_heart:
mvninstall
1m 54s
the patch passed

:green_heart:
compile
1m  9s
the patch passed

:green_heart:
javac
1m  9s
the patch passed

:broken_heart:
checkstyle
0m 11s
hbase-hadoop-compat: The patch generated 6 new + 0 unchanged - 0 fixed = 6 total (was 0)

:broken_heart:
checkstyle
0m 13s
hbase-hadoop2-compat: The patch generated 2 new + 1 unchanged - 0 fixed = 3 total (was 1)

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:broken_heart:
shadedjars
0m 12s
patch has 10 errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
4m 47s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

:green_heart:
javadoc
0m 58s
the patch passed

:broken_heart:
findbugs
0m 36s
hbase-hadoop2-compat generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

_ Other Tests _

:green_heart:
unit
0m 23s
hbase-hadoop-compat in the patch passed.

:green_heart:
unit
0m 31s
hbase-hadoop2-compat in the patch passed.

:broken_heart:
unit
116m 45s
hbase-server in the patch failed.

:broken_heart:
asflicense
1m  3s
The patch generated 2 ASF License warnings.

155m  7s

Reason
Tests

FindBugs
module:hbase-hadoop2-compat

Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.MetricsTableQPSImpl.getOrCreateTableMeter(String)  At MetricsTableQPSImpl.java:may not be atomic in org.apache.hadoop.hbase.regionserver.MetricsTableQPSImpl.getOrCreateTableMeter(String)  At MetricsTableQPSImpl.java:[line 60]

Failed junit tests
hadoop.hbase.regionserver.TestCompactionWithCoprocessor

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/586

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux e0a56bcbf623 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-586/out/precommit/personality/provided.sh

git revision
branch-1 / 157ffae

Default Java
1.8.0_222

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/branch-shadedjars.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/diff-checkstyle-hbase-hadoop-compat.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/diff-checkstyle-hbase-hadoop2-compat.txt

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/patch-shadedjars.txt

findbugs
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/new-findbugs-hbase-hadoop2-compat.html

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/testReport/

asflicense
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
4586 (vs. ulimit of 10000)

modules
C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/1/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 39s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  1s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:yellow_heart:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-1 Compile Tests _

:blue_heart:
mvndep
5m 55s
Maven dependency ordering for branch

:green_heart:
mvninstall
3m 15s
branch-1 passed

:green_heart:
compile
1m  5s
branch-1 passed

:green_heart:
checkstyle
2m  2s
branch-1 passed

:broken_heart:
shadedjars
0m 13s
branch has 10 errors when building our shaded downstream artifacts.

:green_heart:
javadoc
1m  0s
branch-1 passed

:blue_heart:
spotbugs
2m  6s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
3m  0s
branch-1 passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 11s
Maven dependency ordering for patch

:green_heart:
mvninstall
1m 47s
the patch passed

:green_heart:
compile
1m  6s
the patch passed

:green_heart:
javac
1m  6s
the patch passed

:broken_heart:
checkstyle
0m 12s
hbase-hadoop2-compat: The patch generated 2 new + 1 unchanged - 0 fixed = 3 total (was 1)

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:broken_heart:
shadedjars
0m 11s
patch has 10 errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
4m 36s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

:green_heart:
javadoc
0m 56s
the patch passed

:broken_heart:
findbugs
0m 36s
hbase-hadoop2-compat generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

_ Other Tests _

:green_heart:
unit
0m 25s
hbase-hadoop-compat in the patch passed.

:green_heart:
unit
0m 30s
hbase-hadoop2-compat in the patch passed.

:green_heart:
unit
110m 24s
hbase-server in the patch passed.

:broken_heart:
asflicense
1m 13s
The patch generated 2 ASF License warnings.

147m 33s

Reason
Tests

FindBugs
module:hbase-hadoop2-compat

Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.hbase.regionserver.MetricsTableQPSImpl.getOrCreateTableMeter(String)  At MetricsTableQPSImpl.java:may not be atomic in org.apache.hadoop.hbase.regionserver.MetricsTableQPSImpl.getOrCreateTableMeter(String)  At MetricsTableQPSImpl.java:[line 60]

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/586

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 4b4d25d74244 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-586/out/precommit/personality/provided.sh

git revision
branch-1 / 352344c

Default Java
1.8.0_222

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/artifact/out/branch-shadedjars.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/artifact/out/diff-checkstyle-hbase-hadoop2-compat.txt

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/artifact/out/patch-shadedjars.txt

findbugs
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/artifact/out/new-findbugs-hbase-hadoop2-compat.html

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/testReport/

asflicense
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
4318 (vs. ulimit of 10000)

modules
C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/2/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 40s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:yellow_heart:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-1 Compile Tests _

:blue_heart:
mvndep
6m 42s
Maven dependency ordering for branch

:green_heart:
mvninstall
3m 16s
branch-1 passed

:green_heart:
compile
1m  6s
branch-1 passed

:green_heart:
checkstyle
2m  0s
branch-1 passed

:broken_heart:
shadedjars
0m 12s
branch has 10 errors when building our shaded downstream artifacts.

:green_heart:
javadoc
0m 59s
branch-1 passed

:blue_heart:
spotbugs
2m  2s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
3m  0s
branch-1 passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 11s
Maven dependency ordering for patch

:green_heart:
mvninstall
1m 47s
the patch passed

:green_heart:
compile
1m  7s
the patch passed

:green_heart:
javac
1m  7s
the patch passed

:green_heart:
checkstyle
1m 57s
the patch passed

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:broken_heart:
shadedjars
0m 12s
patch has 10 errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
4m 32s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2.

:green_heart:
javadoc
0m 58s
the patch passed

:green_heart:
findbugs
3m 14s
the patch passed

_ Other Tests _

:green_heart:
unit
0m 24s
hbase-hadoop-compat in the patch passed.

:green_heart:
unit
0m 30s
hbase-hadoop2-compat in the patch passed.

:green_heart:
unit
109m 47s
hbase-server in the patch passed.

:broken_heart:
asflicense
1m 13s
The patch generated 2 ASF License warnings.

147m 29s

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/586

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux d1d8c05d7ccc 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-586/out/precommit/personality/provided.sh

git revision
branch-1 / 352344c

Default Java
1.8.0_222

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/3/artifact/out/branch-shadedjars.txt

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/3/artifact/out/patch-shadedjars.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/3/testReport/

asflicense
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/3/artifact/out/patch-asflicense-problems.txt

Max. process+thread count
4314 (vs. ulimit of 10000)

modules
C: hbase-hadoop-compat hbase-hadoop2-compat hbase-server U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-586/3/console

versions
git=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


Baseline data and code for two leaf model

Description
This PR adds pyrealm_build_data/twoleaf, containing some input data files, some notebooks / scripts containing draft implementations of the Two Leaf model and then some parallel outputs to try and align development efforts. This new directory is likely to get reduced and revamped in the near future, but seemed like a good place to share stuff.
The key file is probably the two_leaf_python Myst Markdown notebook (can be run in jupyter-lab) which provides draft TwoLeafIrradiance and TwoLeafAssimilation classes that are structured to work with the existing PModel and SubdailyPModel classes (although it turns out there are some internal inconsistencies in those two class structures!).
Fixes #239
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[ ] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

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

Project coverage is 95.23%. Comparing base (290938a) to head (68288b4).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #240   +/-   ##
========================================
  Coverage    95.23%   95.23%
========================================
  Files           28       28
  Lines         1701     1701
========================================
  Hits          1620     1620
  Misses          81       81

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


prettier not work

prettier is not working.
It always tell me that it cannot format 'xxx' files, like the pic below.

I've try my other projects, and they all work fine, so I do not think it is vscode error or prettier settings error.

Sorry, it is my mistake.
There are nested folder in my vscode editor, and .prettierrc file is not at root.

Hi @kurt-liao
I've installed prettier extension in my vscode but it's not working in this template.
I've checked in other projects but well.
First of all, I can't find prettier in formatter list.

How can I fix?

Thank  you.

I just changed prettier.enable as true and it's working.


Crash (Ubuntu / WSL2): yuv (G8_B8R8_2PLANE_420) not supported!

[gui] glfwGetVersionString() : 3.3.6 X11 GLX EGL OSMesa clock_gettime evdev shared
[gui] monitor [0] XWAYLAND0 at 0 0
[gui] vk extension required by GLFW:
[gui]   VK_KHR_surface
[gui]   VK_KHR_xcb_surface
[ERR] yuv (G8_B8R8_2PLANE_420) not supported!
[ERR] init vulkan failed
[ERR] failed to init gui/swapchain

I've tried to run vkdt on a fresh WSL2 Ubuntu installation on Windows 11. I've got the binary from Suse.
My monitor is currently running as YUV 4:2:0[^1], so the crash message does make sense.
EDIT: I've double checked with RGB / without chroma subsampling and that didn't change anything.
The GPU is an old GTX 960, I guess maybe it doesn't support the needed Vulkan extensions / texture formats
[^1]: Yeah I know that's terrible for image editing

hi,
this is unrelated to your screen setup. yuv textures are used to accelerate handling of some webcams. i should probably make this thing optional, although gpuinfo.org indicates that your gpu should in theory support the texture format (not sure about the exact features in detail). also possible that something between the cracks of windows and the subsystem layer doesn't report the right vulkan features, i will never find out.
i really don't know much about windows but i was hoping that filling in a few gaps like here should make a more native/msys2 build possible for this platform.

i see no way i could work on this. either it's a translation layer problem or the gpu is too old. anyways a native windows binary will likely be better.


Updating link under 'Additional resources' to point to the latest Mic…

…rosoft Teams Certified Phones. @dougand-MSFT

@jambirk Can I merge this?


⚠ Update VC controller-runtime

This is a relatively large change unfortunately, cause controller runtime's APIs changed a fair amount, adding context support throughout. Also as of v1.20.x kubelet doesn't support redirects anymore only streaming configs which I have filed https://github.com/kubernetes-sigs/cluster-api-provider-nested/issues/69 to which needs to be followed up on.
Related
closes #27

/assign @Fei-Guo

/cc @weiling61

/kind cleanup
/milestone v0.1.x

/test pull-cluster-api-provider-nested-test

Awesome work. This change bumps up Kubernetes dependency to 1.20 as well.

We still don't support the one annoying thing about the ClusterVersion CR where if you regenerate it using the proper version of controller-gen for the version of controller runtime we use then you end up with a huge ClusterVersion CRD and run into issues, so for now in the make file I've disabled generating the CRD manifests so that we continue to use the current working ones.

LGTM. (Most changes are due to runtime package switch, no major logic modification)

@weiling61 yup, thanks for giving this a read-through. Something to take into consideration is how the new MCController is implemented note I've broken the implementation for List and Get and removed ListByObjectType and GetByObjectType. Instead using Get and List which take in a pointer to client.Object or client.ObjectList respectively which allows us to populate that object instead of having to return the object back and do type assertions. I've also made one other change to remove us having to have a custom scheme now all "core" types are supported out of the box without us having https://github.com/kubernetes-sigs/cluster-api-provider-nested/pull/70/files#diff-f9cddd7f54205f0c3f3483eb332fb22f9fa9c1184b76ec5223af230b5ab7c14b

“I've also made one other change to remove us having to have a custom scheme now all "core" types are supported out of the box without us having”
Will this make syncing CR resources (not CRD) harder or break existing CR synchronization?

Will this make syncing CR resources (not CRD) harder or break existing CR synchronization?

@Fei-Guo this should make it easier to manage these for folks cause we can leverage a lot of the tools that have been built already like controller-runtimes SchemeBuilder which is preconfigured for all kubebuilder/controller runtime projects. This would allow you to take a package like https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata/project-v2/api/v1 and all you'd need to do is:
import (
  "sigs.k8s.io/kubebuilder/testdata/project-v2/api/v1"
  "sigs.k8s.io/cluster-api-provider-nested/virtualcluster/pkg/syncer/util/scheme"
)

func init() {
  // custom scheme we want to add
  v1.AddToScheme(scheme.Scheme)
}

This will use the SchemeBuilder from https://github.com/kubernetes-sigs/kubebuilder/blob/master/testdata/project-v2/api/v1/groupversion_info.go#L27-L36 and takes in a defined *runtime.Scheme to add those new types and GVK for you.

As I was reviewing that I did make one mistake which I've just cleaned up the var Scheme = runtime.NewScheme() was supposed to use https://github.com/kubernetes/client-go/blob/v0.21.1/kubernetes/scheme/register.go#L72 instead which is the client-go scheme that has everything defined already. So I've just updated that. Just waiting on tests to build.

/test pull-cluster-api-provider-nested-test

thanks for your job! controller runtime style client makes everything simple 😄

Awesome, thanks @zhuangqh. Looks like we just need someone to /lgtm and we'll get this merged.

/approve
/lgtm


Environment reset time should be tracked seperately from step time.

Currently there is a trace for timing how long environments take per step, but it is not tracking reset separately. which makes environment bottlenecks slightly harder to find (if they are between reset and step)

Tracking initial reset would be relatively easy, would just need to add tracing here: https://github.com/entity-neural-network/incubator/blob/415210e48cdb025f20a375c00f74f11bbc682f0b/enn_ppo/enn_ppo/rollout.py#L83
To track all reset even during episodes will probably require rethinking the tracing system a bit. The resets (and various other things we might want to track) happen inside the VecEnv act method, which isn't currently aware of tracing. We could push the tracing object down further into the VecEnv's, but I'm not sure we actually want to make it a part of the API. The current tracing implementation is very barebones, before embedding it more deeply we might want to revisit or switch to a more standard library.
Though, VecEnv is sort of an implementation detail anyway at the moment, so might be OK to just add it. Another option would be to have a global or thread local tracing context that our VecEnv implementations can just retrieve without requiring an additional parameter, which would make tracing API a bit nicer overall.
Another possible complication is how the tracing would work with ParListEnv where resets are happening in parallel and in different processes. But we'd capture a lot of the benefit already even if it only works when using a single process.


Consider writing endpoint to SPARQL

The JSON could further extended to include the endpoint URL. Doing so provides further information to the caller of the JSON output, be that immediate consumption, or like in Siegfried's case, from a file on disk.

Related to: https://github.com/ross-spencer/siegfried/pull/2

Example output might be:
{
  "endpoint": "http://wikibase.uri/proxy/wdqs/bigdata/namespace/wdq/sparql?",
  "head": {
    "vars": [
      "uri",
      "uriLabel",
      "puid",
      "extension",
      "mimetype",
      "encoding",
      "referenceLabel",
      "date",
      "relativity",
      "offset",
      "sig"
    ]
  },


[Publisher][DevPortal][API Lifecycle] Error when viewing published API in devportal

Description:
A REST API is created (without publishing) and then published using life cycle tab. When the API is viewed/opened from the dev portal, the page turns blue, and the browser console logs errors.  However, if we deploy a new revision of the published API, the API can be viewed from the dev portal successfully.
Steps to reproduce:

Create a REST API from publisher
Publish the API from life cycle tab
Open the API from dev portal

Observation: The API starts to load but then the page turns blue and the following errors are logged in the browser console.

Affected Product Version:

Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

This behaviour is observed for new versions created and deployed as well

Could not reproduce in the latest pack


Folder icons on side bar should be normal folders

Is your feature request related to a problem?
The replacement for the sidebar icon currently look bad.
Describe the solution
It should be the normal folder icons in the navigation area. They should be double the size they currently are.
Additional comment

can i know the reason this has been closed

The icons are just placeholders and will be changed in a future update.


for tooltip being passed input fields, no way to differentiate clicks inside rendered tooltip vs outside

I am passing children to some of my tooltips so they can be used to say quickly edit a value for the element the tooltip is bound to. For example  I am using a tooltip on a slider component (ion range slider) that should allow you to double click on the max value on the slider ruler in order to pop open a tooltip that allows the max to be adjusted.
I am able to pass an input to the tooltips just fine, with event='dblclick' and eventOff='click'. However, when you click on any of the contents of the tooltip, it fires a click event detected by eventOff and closes.
My workaround for this is to append an id=this.props.id attribute to the render function of your index.js script, which allows me to specifically identify the rendered tooltip wrapper using a componentDidMount for the parent, and then bind an event emitter for an 'anywhere else click' so that eventOff='anywhere else click'.
Unless there is an easier way to do this, I'd recommend adding an id=this.props.id to the render function. I can fire off a pull request in the case where I've not horribly mangles the useage of this package and this is indeed a real issue.
edits in index.js (440:453)
    if (html) {
      return (
        <wrapper className={`${tooltipClass} ${extraClass}`}
          {...ariaProps}
          data-id='tooltip',
          id=this.props.id,  // inserted
          dangerouslySetInnerHTML={{__html: placeholder}}></wrapper>
      )
    } else {
      return (
        <wrapper className={`${tooltipClass} ${extraClass}`}
          {...ariaProps}
          data-id='tooltip',
          id=this.props.id // inserted
          >{placeholder}</wrapper>
      )
    }

oh, and of course, I've set pointer-events:auto in style.js

Hello @deconstructionalism! Sorry for the long reply!
Your use case seems reasonable.
Have you tried to use ReactTooltip.hide instead?
import {findDOMNode} from 'react-dom'
import ReactTooltip from 'react-tooltip'

<button onClick={() => { ReactTooltip.hide(findDOMNode(this.refs.foo)) }}>Hide</button>
<ReactTooltip />

I don't mind including this in the library, but is it really required?
If ReactTooltip.hide doesn't fit your requirements, could you fetch ReactTooltip element using something like document.querySelectorAll('.${extraClass}')? Is there performance issues?

I believe I'm having the same issue. If I click on a button within the tooltip the tooltip goes away. It seems that if someone clicks on something within the tooltip container that should not cause it to close. It should stay open.

Can you fix this by preventing event propagation? I'm not sure whether it would work, but you might be able to stop the event from bubbling in the button click handler.


⚠ Processors has degraded performance

In 08ad6bd, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: Processors performance has improved in 3567a0c.


Can't stop the broadcast

I am using javascript webview to start and stop broadcast. Broadcast starts promptly, but when I try to stop my broadcast, it shows the log "Broadcast Stopped", which I added after I close and dispose my rtmp stream, but doesn't stop the broadcast. What am I doing wrong in here ?
    let sentData = message.body as! NSDictionary
    let sampleRate:Double = 44_100
    let rtmpConnection:RTMPConnection = RTMPConnection()
    let rtmpStream:RTMPStream = RTMPStream(connection: rtmpConnection)

    rtmpStream.syncOrientation = true
    rtmpStream.captureSettings = [
        "sessionPreset": AVCaptureSessionPreset1280x720,
        "continuousAutofocus": true,
        "continuousExposure": true,
    ]
    rtmpStream.videoSettings = [
        "width": 720,
        "height": 1280,
    ]
    rtmpStream.audioSettings = [
        "sampleRate": sampleRate
    ]
    rtmpStream.attachAudio(AVCaptureDevice.defaultDevice(withMediaType: AVMediaTypeAudio))
    rtmpStream.attachCamera(DeviceUtil.device(withPosition: .back))

    let command = sentData["cmd"] as! String
    if command == "startBroadcast"{
        guard let streamName = sentData["streamName"] as? String else{
            return
        }

        rtmpConnection.connect(streamURL)
        rtmpStream.publish(streamName)
        print("Broadcast Started")

        //var lfView:LFView = LFView(frame: view.bounds)
        //lfView.videoGravity = AVLayerVideoGravityResizeAspectFill
        //lfView.attachStream(rtmpStream)

        //response["count"] = count as AnyObject?
    }else if command == "stopBroadcast"{
        rtmpStream.close()
        rtmpStream.dispose()
        print("Broadcast Stopped")
    }

Are "startBroadcast" rtmpStream and "stopBroadcast" rtmpStream same instance?
It seems another instance....

There is just one instance declared above. What do you suggest ?
On Sat, 25 Feb 2017 at 7:34 pm shogo4405<EMAIL_ADDRESS>wrote:

Are "startBroadcast" rtmpStream and "stopBroadcast" rtmpStream same
instance?
It seems another instance....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/shogo4405/lf.swift/issues/194#issuecomment-282472740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC5qcNlkQVUDhiUp2PN_E9JN2N6rxFbwks5rf_WygaJpZM4MJkHa
.

Have to same instance.
Actually, I'm not sure how to use a webview. I can't suggest you.

Is there a way to identify an instance id ?
On Sat, 25 Feb 2017 at 7:53 pm shogo4405<EMAIL_ADDRESS>wrote:

Closed #194 https://github.com/shogo4405/lf.swift/issues/194.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/shogo4405/lf.swift/issues/194#event-977043156, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AC5qcG76rsWGNi1F3auZgxsQL-L6-ffkks5rf_oVgaJpZM4MJkHa
.


file not downloaded

When filling in the details it's finding the things. It's also showing a green check mark after you've pushed the download button. I made sure I created the folder and also tried different names and also using an absolute folder name. I'm using octopi in docker.

Closed. As it isn't a bug. The docker that I'm using, which is crosslinked. Doesn't support slic3r nor cura.


Spi master: remove public hidden APIs, add Config/apply_config

Not the nicest PR, I didn't take the concept to its extremes yet. But the doc(hidden) APIs are gone so that might be a valid first step.
cc #2416 and #1919
There are a few bugfixes included as well.

What should we do with interrupts? We only expose GDMA DMA interrupt flags, not SPI peripheral interrupt flags (meaning none for PDMA devices). IMHO since set_interrupt_handler refers to peripheral interrupts, we should expose the peripheral interrupt flags. However, the underlying DMA's interrupt flags and handler are inaccessible.

However, the underlying DMA's interrupt flags and handler are inaccessible.

This is part of why I want to split them out into a separate object.

Yeah a separate .peripheral_interrupts()/.dma_interrupts() returning &InterruptControl would work. But returning either of them isn't trivial - which one to return, what if the user wants both? Do we end up with a single split_interrupt_control that returns all, or multiple ones? Neither of them sound ideal.

Do we end up with a single split_interrupt_control that returns all

This is probably best imo. At least for the PDMA case where the interrupt registers are shared between the DMA and peripheral. I definitely don't see this being a chip-agnostic API.

mmm I removed uart config to allow uart::Config, but spi::master::Config/i2c::master::Config is somewhat annoying 😅 oh well...

mmm I removed uart::config to allow uart::Config, but spi::master::Config/i2c::master::Config is somewhat annoying 😅 oh well...

at least master/slave adds some context, the config prefix on UART was just extra characters to type :D.

I have elected to pick a random option and resolve the CI warnings. We'll have to touch the code anyway if we figure out what to do about #2416 so I'll take the tech debt and move on.


Adds RoomLodgingTransactionEvent defintion

Also adds endpoints for summary and detailed room reports

Per discussion on slack, adding property scoping to the request.


[iOS] Remove bitcode support

https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes

Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.

Related: https://github.com/flutter/flutter/issues/15288

https://github.com/flutter/flutter/issues/46707#issuecomment-1147962206
We should probably wait until the tool enforces Xcode 14 as the minimum to do this.  If we need to do it sooner we would break add-to-app/watchOS companion app developers.

Closing in favor of the more detailed https://github.com/flutter/flutter/issues/107887


Use getTransactionStatus in wait_for_tx

blocked by https://github.com/foundry-rs/starknet-foundry/issues/1326
We should use new getTransactionStatus endpoint to fetch txs status in wait_for_tx, as this endpoint correctly marks txs as rejected.

unblocked by https://github.com/foundry-rs/starknet-foundry/pull/1274


Update send-messages.rst

Docs for https://github.com/mattermost/mattermost-webapp/pull/11069

@esethna - Is this feature available in mobile v2.x as well? Or only via web/desktop for now?

Webapp only