fix CLAPAudioCfg assertion error

When inferencing SD3 in Python3.11, with flag --inference_optimize 1 on, the program throws:
ValueError: mutable default <class 'paddlemix.models.audioldm2.clap_module.model.CLAPAudioCfg'> for field audio_cfg is not allowed: use default_factory

Problem lies on: paddlemix/models/audioldm2/clap_module/clap.py
from dataclasses import dataclass

@dataclass
class CLAPConfig:
    embed_dim: int = 1024
    audio_cfg: CLAPAudioCfg = CLAPAudioCfg()
    text_cfg: CLAPTextCfg = CLAPTextCfg()

maybe higher version python will throw this error, get fixed by:
from dataclasses import dataclass, field

@dataclass
class CLAPConfig:
    embed_dim: int = 1024
    audio_cfg: CLAPAudioCfg = field(default_factory=CLAPAudioCfg)
    text_cfg: CLAPTextCfg = field(default_factory=CLAPTextCfg)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Error while setting up the project

Describe the bug
On running the command pip3 install -e . I get the following error:

To Reproduce
Steps to reproduce the behavior:

Create a virtual env.
run pip3 install -e .

Expected behavior
The dependencies should get installed and set up should be complete without errors.
Desktop (please complete the following information):

OS: macOS Ventura v13.3.1

Hello,
I was facing the same issue.
Check the latest pull request dev_gymnasium, which is still not merged to the main branch. The waypoint_follow example is working for me now.

Could you please report your python versions? The current gym version in setup.py is the last one that supports the API that we're using.

My Python version is 3.8.8

Got it. The dev_gymnasium changes do work.

Can you try pip3 install --upgrade pip setuptools? This looks like a setuptools error.

Hi, I know this is closed, but according to this thread, do make sure you install pip3 install setuptools==58.2.0 if you are in Ubuntu 22.04 + ROS Humble. If not, the rest of your ROS workspace will not build!
This is because the installation method for Python has changed.


Multi-line menus - is it expected?

First of all - hello - I'm new to this forum! I was years in using BitBar and now moving to xbar (thanks for the great contributions!). So please, treat this as a "newbie question" as these are my first steps with this newly rewritten code.
I'm using mulit-line menu example script from the manual:

Here is the result from "legacy" BitBar:

Using latest version 2.0.28-beta I get following result (note that three fist lanes are not shown - even though are still cycled through):

Based on BitBar experience and the description above I would expect seeing 3 lines of output cycling and all 6 lines in menu.
Is it by design? Or this is a bug?
Thanks again!

Hi. According to https://github.com/matryer/xbar#writing-plugins it states:
If your output contains a line consisting only of ---, the lines below it will appear in the dropdown for that plugin, but won't appear in the menu bar itself.
That tells me that lines above it do not get displayed. You can certainly argue that it should but you'd need @matryer to confirm whether that's a good idea or not.

@jpwysocz thanks for your question.
I'm surprised to see that behaviour in BitBar. What version is that?
To be honest, I prefer the way xbar is doing it because it gives plug-in authors more choice.
Authors can always repeat the same lines after the --- to have it appear in both the cycling top item, and the drop down. Or they can opt not to for a neater experience.
Does that sound good?

Sure - sounds good.
My goal was to clarify the behavior - both approaches have pros and cons (as everything in life); once you know these, you can navigate... :-)
PS1> This is I believe the last version of the BitBar - 1.9.2
PS2> I think that it would help to clarify the line "Clicking the plugin menu item will show all lines" and match it with the description provided by @leaanthony (thanks!)
Thanks for the quick response!

@jpwysocz @leaanthony @ianfoo I'm not fully convinced on this yet. What do you think? Do people want to see the cycling items at a glance more often than not?

Could you add an optional metadata tag <xbar.defaults.dropdown> that lets the plugin specify whether dropdown defaults to true or false?

If cycle items change over time, what would showing them all mean? Would it get "busy"? I'm trying to think of the scenarios


severity vulnerabilities with lodash from plugin-warn-if-update-available

Hey!
Here is a screenshot, when I run npm audit:

It seems like, there should be done some updates to a package.
This is the part of my package.json:
"devDependencies": {"dotenv-vault": "^1.26.2"},
Can you reproduce that issue, because it appeared to two different projects on two different pcs?
Let me know, if you need further infos.

I imagine this is a very easy patch for dotenv-vault, could we get this in a patch release?


Bug: countAll() and countAllResults() not working with having()

        $invoiceModel = new Invoice();
        $inv = $invoiceModel->builder();

        $inv->having('juragan_id', 8); // skiped?

        echo $inv->countAll(); // show all records

        $invoiceModel = new Invoice();
        $inv = $invoiceModel->builder();

        $inv->having('juragan_id', 8);

        echo $inv->countAllResults(); // show exception : Unknown column 'juragan_id' in 'having clause'

See the comments on the code above.
CodeIgniter version 4.1.3
Context

OS: Windows 10
Web server : PHP Built-In
PHP version : 7.4.20

Correct me if I'm wrong, but don't you need a "GROUP BY" statement to use having()?

ah ...
thanks :)


After Node 8 release, "after" hook issue

I am not sure whether Node 8.0.0 broke Mocha or Node broke itself, but here is my problem:

For node-fetch we use mocha before and after hook to launch and stop a simple local test server. The code is deliberately simple.

function TestServer() {
	this.server = http.createServer(this.router);
	this.port = 30001;
	this.hostname = 'localhost';
	this.server.on('error', function(err) {
		console.log(err.stack);
	});
	this.server.on('connection', function(socket) {
		socket.setTimeout(1500);
	});
}

TestServer.prototype.start = function(cb) {
	this.server.listen(this.port, this.hostname, cb);
}

TestServer.prototype.stop = function(cb) {
	this.server.close(cb);
}

As you can see there is a stop() method that invokes server.close() with callback. This is how we actually use them.

describe('node-fetch', function() {

	before(function(done) {
		local = new TestServer();
		base = 'http://' + local.hostname + ':' + local.port;
		local.start(done);
	});

	after(function(done) {
		local.stop(done);
	});

//...

});

Now my issue: after Node 8.0.0 release, we realise what was working before now leaves an error on Travis CI.

node-fetch "after all" hook:
Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.

I can't imagine closing a server would take that long, so my guess is either:

Node 8.0.0 somehow changed how fast server is closed.
Mocha done() in after hook is somehow broken.

If anyone have been experimenting with this, please let me know, thx!

net.Server.close() only closes when there are no more connected sockets.  In my poking at your code (in Node.js 8), I see a nonzero number of connected sockets upon execution of "after all".  I'll leave it to you to figure out how to stop that from happening.  :wink:

interesting, this was not a problem in any previous version of Node (all the way back to  0.10). I will have to look deeper then.
(From my phone)

在 2017年6月3日，14:36，Christopher Hiller<EMAIL_ADDRESS>写道：
net.Server.close() only closes when there are no more connected sockets. In my poking at your code (in Node.js 8), I see a nonzero number of connected sockets upon execution of "after all". I'll leave it to you to figure out how to stop that from happening. 😉
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

For prosperity: Node 8 introduces a keep-alive pool and it now properly waits for connections to timeout before closing server, which is why we now have this problem.
(I choose to set server.keepAliveTimeout to a lower number, for the purpose of our tests it's ok.)
ref: https://github.com/nodejs/node/issues/2642


SIGILL when throwing an exception

Hi,
We found an odd crash of the ChakraCore interpreter (ch) when you "throw a float". It was tested in ArchLinux using revision 627e01bc65455b2dad495bd311a2eced7417e97f.
To reproduce:
$ echo "throw 1.1;" > sigill.js
$ gdb --args ./ch sigill.js
...
Thread 1 "ch" received signal SIGILL, Illegal instruction.
0x00007ffff48832fd in Js::FDblToRgbFast (dbl=1.1000000000000001,
    prgb=0x7fffffffd5a0 "\001\001\377\377\377\177", pwExp10=0x7fffffffd5e0, ppbLim=0x7fffffffd598,
    nDigits=-1) at /home/g/Work/Code/ChakraCore/lib/Common/Common/NumberUtilities_strtod.cpp:1592
1592	        if (wExp2 >= 1023 && wExp2 <= 1075 && dbl == floor(dbl))
(gdb) bt
#0  0x00007ffff48832fd in Js::FDblToRgbFast (dbl=1.1000000000000001,
    prgb=0x7fffffffd5a0 "\001\001\377\377\377\177", pwExp10=0x7fffffffd5e0, ppbLim=0x7fffffffd598,
    nDigits=-1) at /home/g/Work/Code/ChakraCore/lib/Common/Common/NumberUtilities_strtod.cpp:1592
#1  0x00007ffff4888483 in Js::NumberUtilities::FNonZeroFiniteDblToStr (dbl=1.1000000000000001,
    pchDst=0x7fffffffd610 u"1.1", cchDst=256)
    at /home/g/Work/Code/ChakraCore/lib/Common/Common/NumberUtilities_strtod.cpp:2452
#2  0x00007ffff51c14b1 in Js::JavascriptNumber::ToStringRadix10 (value=1.1000000000000001,
    scriptContext=0x555555910d10)
    at /home/g/Work/Code/ChakraCore/lib/Runtime/Library/JavascriptNumber.cpp:928
#3  0x00007ffff4eece7c in Js::JavascriptConversion::ToString (aValue=0xc00d99999999999a,
    scriptContext=0x555555910d10)
    at /home/g/Work/Code/ChakraCore/lib/Runtime/Language/JavascriptConversion.cpp:621
#4  0x00007ffff4424c17 in JsConvertValueToString::$_21::operator() (this=0x7fffffffdba8,
    scriptContext=0x555555910d10) at /home/g/Work/Code/ChakraCore/lib/Jsrt/Jsrt.cpp:1139
#5  0x00007ffff440026a in ContextAPIWrapper<true, JsConvertValueToString::$_21> (fn=...)
    at /home/g/Work/Code/ChakraCore/lib/Jsrt/JsrtInternal.h:139
#6  0x00007ffff440016d in JsConvertValueToString (value=0xc00d99999999999a, result=0x7fffffffdfd0)
    at /home/g/Work/Code/ChakraCore/lib/Jsrt/Jsrt.cpp:1132
#7  0x00005555555685a8 in ChakraRTInterface::JsConvertValueToString (value=0xc00d99999999999a,
    stringValue=0x7fffffffdfd0) at /home/g/Work/Code/ChakraCore/bin/ch/ChakraRtInterface.h:304
#8  0x000055555556e2cb in WScriptJsrt::PrintException (fileName=0x5555558db860 "sigill.js",
    jsErrorCode=JsErrorScriptException) at /home/g/Work/Code/ChakraCore/bin/ch/WScriptJsrt.cpp:1006
#9  0x000055555555e34c in RunScript (fileName=0x5555558db860 "sigill.js",
    fileContents=0x5555558cfc10 "throw 1.1;\n", bcBuffer=0x0,
---Type <return> to continue, or q <return> to quit---
    fullPath=0x7fffffffe520 "/home/g/work/code/chakracore/buildlinux/debug/sigill.js")
    at /home/g/Work/Code/ChakraCore/bin/ch/ch.cpp:342
#10 0x000055555555f4f6 in ExecuteTest (fileName=0x5555558db860 "sigill.js")
    at /home/g/Work/Code/ChakraCore/bin/ch/ch.cpp:587
#11 0x000055555555f5e0 in ExecuteTestWithMemoryCheck (fileName=0x5555558db860 "sigill.js")
    at /home/g/Work/Code/ChakraCore/bin/ch/ch.cpp:635
#12 0x000055555555fb20 in main (argc=2, c_argv=0x7fffffffe868)
    at /home/g/Work/Code/ChakraCore/bin/ch/ch.cpp:862

This issue was found using QuickFuzz.
Regards,
Gustavo.

@gaa-cifasis I'm unable to reproduce this issue on Ubuntu, OSX, Fedora.
From your comment; looks like it fails on floor call.
It might be because of the OS itself ?

I dont know. Just in case, i'm compiling using gcc 6.2.1 and ChakraCore is failing here:
(gdb) x/i $rip
=> 0x7ffff48832fd <Js::FDblToRgbFast(double, unsigned char*, int*, unsigned char**, int)+509>:
roundsd $0x9,%xmm1,%xmm2

Could you please send the outputs for the commands below;
/sbin/ldconfig -p

cat /proc/version

Thanks

Sure thing!
ldconfig.txt
proc-version.txt

I have installed arch-linux during the weekend and tested the case above.
It works without a problem. I also see ChakraCore tests cases are passing on Arch-Linux.
I'm really happy to see ChakraCore works on one another Linux distro.
Linux version 4.8.6-1-ARCH (builduser@tobias) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Mon Oct 31 18:51:30 CET 2016

One thing for sure, ArchLinux (latest) defaults to clang 3.9 on pacman.
We have a compatibility issue with Clang 3.9 and I'm about to send a PR for that fix.
Thanks for the report. At this point I'm unable to do anything else. I suggest you to update to latest Arch-Linux (if it is possible and sync to latest master after the Clang 3.9 PR)

@gaa-cifasis FYI; https://github.com/Microsoft/ChakraCore/pull/1930


Feature Request: Add GPG encryption of callback data with OpenPGP.js

Add GPG encryption of callback data with OpenPGP.js
This can be done with  something similar to https://github.com/rs-loves-bugs/xsshunter/blob/main/probe.js#L28

Thanks for this suggestion. I already have it on my todo list, and I'm planning to add this to 4.2 release.

I've taken my time to look into this issue.
As said before, there are 2 ways to implement this. I think the first method I suggested is not really improving much, so that is out of the way.
The second method could be cool, but I still wonder if it is worth the recoding of ezXSS.
Encrypting and storing the encrypted value would need a new table for encrypted reports. This probably also needs a new page for encrypted reports. These can then be clicked to only view the encrypted value, which can be decrypted locally to retrieve the JSON. Also an option could be make to decrypt and view the data within the ezXSS platform.
I tried some things out, but it looks like a lot of work for a little feature. I also don't believe you need to store this data encrypted, even tho it sounds good. In the regular situations I do not expect the database or the code to leak any data.
I will close this issue for now, since it is just not worth it. If this gets requested more in the future, I might think about it again, but for now this will not be included in the new ezXSS.
Thanks for the suggestion.


dts: arm: stm32g4: Add i2c4

Add DTS configuration for i2c4.
Signed-off-by: MORGER Patrick<EMAIL_ADDRESS>

I will merge the two commits into one...


Cards on MWL are always showing in deckbuilder, even if their pack is excluded

Repro steps:
Start building a deck
Go to collection tab and untick some datapacks, eg everything except core set and TD
Go to build tab and toggle on all factions and card types
MWL cards eg Faust are appearing, when they shouldn't be.

I can't reproduce. Are you sure your World Champion decks are unselected?

Ah, oops :( Yep, I had failed to untick them. Sorry!


[@twind/next] Update package.json to support Next12

This PR is in reference to issue #22, where NextJS 12 needs to be added as a peer dependency to @twind/next to be installed correctly.
Going by the NextJS upgrade guide here: https://nextjs.org/docs/upgrading, the minimum Node version may also have to be bumped up to 12.22.0, although I'm guessing that's more on the end-user of this library to worry about.

Thanks a lot!

Published as v1.0.9


Update install-unifi.sh

Latest version of the unifi controller - URL change

Tested update e install
Approved!

Can’t merge while the PR is a draft…

Latest version of the unifi controller - URL change

Update PR to Open

There is #157 with a more updated version!

wanting to move this into a docker img

Superseded


Text/KB layouts bug

If I launch game with Russian keyboard layout selected, I can't type anything in game. Search, login doesn't work. I can't change a layout into English in game, so I have to restart the game. How to fix it? It would be great if cyrillic writing system and changing KB layout support were added. Sorry for my mistakes, my English is bad.
I don't know how to show it.
I use Windows 8.1 32-bit in windowed mode

Duplicate of #238


Feature/GitHub authorized keys

Convert role to accept a sublist of "github_authorized_keys", representing github usernames, and use the uri module to pull public ssh keys for those users and concatenate into a list.  Remove the directory of public keys since we'll be using github as the repo.
@cmurtaugh
@arthurian

:+1:


Do you read what you post?

This "Credential Guard" isn't activated by default just on Windows 11 Enterprise as you say.  It's activated on Windows 11 Pro as well.  As of yesterday all of sudden I have all these new pop-ups to the dozens of servers I connect to.

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

ID: 41c2cb44-269d-3334-019a-726eb5432f1c
Version Independent ID: 251024cc-b818-18c6-a112-4ac0276cb4b1
Content: Manage Windows Defender Credential Guard (Windows) - Windows security
Content Source: windows/security/identity-protection/credential-guard/credential-guard-manage.md
Product: m365-security
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Hello @panos415 thank you for your feedback. I am awaiting confirmation from the feature owners on the expected behavior. We will update the documentation once we have more information

@panos415  did your machine upgraded automatically to Enterprise edition by any chance? That would happen if you have an E3/E5 license, for example

I updated two Win11 Pro machines and they're both exhibiting the same behavior regarding the "Credential Guard."  These are both Windows 11 Pro machines with OEM PKs that say "Windows 11 Pro" in the settings (see below).  The personal account that I log in with is tied to my MSDN/VS subscription and a work account that is connected to the system has an E3/E5 license but none of that should be related.I'm attaching two screenshots as well, going from Ari20 to Whitecastle.  I RD to different machines dozens of times each day, with different accounts with saved credentials, and this change is extremely noticeable.  Happens where I'm logging in with my MS account or any domain account.Machine Ari20:Edition	Windows 11 Pro Version	22H2Installed on	9/30/2022OS build	22621.521Experience	Windows Feature Experience Pack 1000.22634.1000.0Machine Whitecastle:Edition	Windows 11 Pro Version	22H2Installed on	10/1/2022OS build	22621.521Experience	Windows Feature Experience Pack 1000.22634.1000.0On Oct 3, 2022, at 3:06 PM, Paolo Matarazzo @.> @. did your machine upgraded automatically to Enterprise edition by any chance? That would happen if you have an E3/E5 license, for example—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Service not available

Hi, sorry but I'm not sure what you expect me to be able to do with this screenshot. Hope it works for you now


in single schema a second query and mutation section is ignored by schema compiler

Describe the bug
in single schema a second query and mutation section is ignored by schema compiler.
To Reproduce
create schema.graphql:
type A@model(queries: null, mutations: null) { id: ID!, name: String }
type B@model(queries: null, mutations: null) { id: ID!, name: String }
type Mutation {
createA(id: ID!): A
}
type Query {
getA(id: ID!): A
}
type Mutation {
createB(id: ID!):  It would be better if it merged them, but I think the correct behavior is to throw an error so the programmer can correct the file.
Thank You.

This is resolved as part of GraphQL Transformer v2. We now through this error:
🛑 Schema validation failed.

There can be only one type named "Mutation".

GraphQL request:7:6
6 | type B@model(queries: null, mutations: null) { id: ID!, name: String }
7 | type Mutation {
  |      ^
8 | createA(id: ID!): A

GraphQL request:13:6
12 | }
13 | type Mutation {
   |      ^
14 | createB(id: ID!): B

Thanks @renebrandel - does that include support for the "extend" keyword?


HeaderNavigation for chat page

Description
I create new api getChannelMembersByChannelId. If we don't have a title for the channel, this channel is private and in Header Navigation we have a user name and user image. Now we don't have images for rooms (channels) I add a default image for now.
Fixes # (issue)
How to test?
localhost/3000/channel/:channelId
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] This PR is ready to be merged and not breaking any other functionality

Yes it is

There is a merge conflict


Expose ability to customize pressed state of a tab bar item

Currently, when a tab bar item is pressed, there is no feedback at all. It would be great to be able to customize the tab bar item (change icon color, background of the item, etc, much like how buttons have a pressed state).

@leoskye Thanks and sorry for late update. We have updated the module by adding a lot of feature and more flexibility. Please feel free to reopen this ticket if you have the same problem!


Feature: Possibility to send assets with different trust between chains

Currently a user can’t send two assets with different “trust assumptions” between a system parachain (origin) and a parachain (destination). For example, if a user tries to send USDT and GLMR to Moonbeam, the API will return and error. This is because we need a teleport call to transfer GLMR while a reserve backed transfer is needed for USDT.
It would be nice to allow this functionality, so that if the user chooses a destination chain and several assets with different trust between origin and destination, the API will construct two calls with the corresponding assets in them.
Note that:

There should be a maximum number of assets to be chosen for transfer, this value has to be smaller than MAX_ITEMS_IN_MULTIASSETS (currently set to 20) of the XCM protocol.
Connected to the prev point, currently there is a MAX_ASSETS_FOR_TRANSFER limitation (currently set to 2)
Given the asset multilocation and the destination parachain, we can always infer the trust relationship between the system parachain and said destination chain for the given asset. Hence the API should be always able to construct the right XCM call.
When more than one call is returned as the API output, the user can batch them in a single extrinsic with the utility.batch(calls) call. The API could do this call batching by default too.

Note: This would be a breaking change for the API since it would require returning back an Array for createTransferTransaction. It would also require us to rework our error validation layer.
I do think that this would be a huge enhancement though. It would definitely allow users to create all calls at once.


Task: Added resizer bar and spiff container

Added the resizer bar in the middle between the left and right divs to adjust the size.
Added spiff and the container for Spiff.
Added text to show the size of Spiff's container.

Made code editor side background white
Made spiff 30x30 px
Content box has height of 700px


fix nested topics/topics folder

The following topic is nested in topics/topics:
https://github.com/openshiftio/appdev-documentation/blob/master/docs/topics/topics/OBST-wf-swarm-crud-deploy-to-openshift-pipeline.adoc
move this file to be in the same dir as the other topics and fix any affected includes.

fixed in: https://github.com/openshiftio/appdev-documentation/pull/48


LUCENE-10311: Make FixedBitSet#approximateCardinality faster (and actually approximate).

This computes a pop count on a sample of the longs that back the bitset.
Quick benchmarks suggest that this runs 5x-10x faster than
FixedBitSet#cardinality depending on the length of the bitset.

Since we made the method abstract, let's just have it forward to exact-cardinality for the JavaUtilBitSet used in the unit tests? It should fix the test issues.
I agree with making the method abstract too. I think it is a better choice for performance-sensitive, lower-level classes like this.

also, another random suggestion for another day. I think it would be fine to have some logic like this at some point:
if (length < N) {
  return cardinality(); // for small bitsets, don't be fancy
}

But I'm not concerned either way. Just thought if we need to iterate and introduce benchmarks, then ignoring tiny cases is an easy way to really zone in on good perf.


fix link to examples in readme

Noticed the link was broken in commit ea5deb54fbad04d3fac5896ce2ebc05ef3abbf6a. This fixes it.

Thanks!


fix allow memory access between devices

Allow memory access between devices should be cutorch.setKernelPeerToPeerAccess(true), not cutorch.getKernelPeerToPeerAccess(true), according to the cutorch document.

Thank you, the typo was always there it seems.
@jsenellart-systran Do we actually want to enable this flag?
From cutorch documentation:

cutorch.setKernelPeerToPeerAccess(f): by default, kernels running on one device cannot directly access memory on another device. This is a check imposed by cutorch, to prevent synchronization and performance issues. To disable the check, call this with f true. Kernel p2p access is actually only allowed for a pair of devices if both this is true and the underlying getPeerToPeerAccess for the pair involved is true.

actually we don't want it. in multi-gpu mode, the only operation authorized without the flag set and used by the code is the copy operation. Any other operation has a huge performance cost.

@voidmagic Could you then simply delete the line so that we can merge your patch?

OK, I pulled a new requests.


⚠ Bofrost.de has degraded performance

In 643961b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 951 ms

Resolved: Bofrost.de performance has improved in d865f00 after 8 minutes.


bad_wifi executed if wifi not connected at library start

I guess this is a minor issue in the real application but if you are trying stuff and the microcontroller happens to be disconnected from the wifi, bad_wifi will be executed although it would just need to connect to the wifi as the credentials are stored.
Not sure if this should be fixed or just added to the README.

So you're suggesting:
    async def _run(self, loop):
        s = self._sta_if
        s.connect()
        # rest of code

Seems reasonable.

I just checked the behaviour of connect() with wrong credentials and it seems reasonable to try to connect at program start. With wrong credentials it just tries to connect to the network ever second.
Don't know how it reacts with no credentials stored.


module syntax line not correctly ended

module Foo
open Bar
open Baz

will not correctly highlight the first open. However,
module Foo (* quux *)
open Bar
open Baz

will correctly color everything. I assume this means the module region isn't correctly ending.

The nextgroup for fstarModule is fstarPreDef, which looks like this:
fstarPreDef start="."me=e-1 matchgroup=fstarKeyword end="\l\|=\|)"me=e-1
I feel like this region (start on any character, end on lowercase, =, or ) is wrong.

Ah, no, I think the actual fix for this is to change fstarModule's end from end="\<\u\(\w\|'\)*\>" to end="\<\u\(\w\|'\)*\>"me=e-1 to prevent the word-ending \> match from consuming the newline.


RequesterCharged property of CopyObjectResponse is null

Expected Behavior

x-amz-request-charged:requester in response
Current Behavior

I enabled the requester pays property for my bucket.
(cross-account access to objects enabled for this bucket!)
Then I was trying to copy file from my requester pays bucket to another bucket. But RequesterCharged property  in CopyObjectResponse was always null. And I also used fiddler to find x-amz-request-charged, I couldn't find it.
Could you please tell me how I can check the requester pays is worked for my bucket?
Your Environment

AWSSDK.Core version used: <IP_ADDRESS>
Service assembly and version used: AWSSDK.S3 v <IP_ADDRESS>

.NET Core Info

.NET Core version used for development: 2.1

x-amz-request-charged is only added to the response if the requester was actually charged.  When you were checking with the SDK and Fiddler, were you using a different account or your own?  If you are the bucket owner of the requester pays bucket and you made the copy object request, you shouldn't see the request charged header.
Since Fiddler showed that the service also wasn't returning the header, I'm going to close this soon unless you can verify that the issue is in the SDK.  If you need more help with the service, please try the AWS Forums.

@klaytaybai , thanks for quick response.
I have 2 aws accounts .
First account has bucket with enabled Requester pays, enabled Cross account functionality and this bucket has file that I was trying to copy to second bucket. The second bucket is in second account.
I made Copy request to copy file from first bucket(on Requester pays , First account) to second bucket(Second account).
I excepted to get x-amz-request-charged:requester in response, because I set always RequesterPayer property in my requests.

@klaytaybai do you understand my case that I was trying to do?

Hi @andrei-zubkovich, thanks for reporting this.  You're right.  The CopyObject operation isn't returning the RequesterCharged property (GetObject is working).  I'll work internally to get this resolved.

Hi @klaytaybai . Thanks for response I'll wait fix. Could you please give me ETA?
Could you please tell me another ways to check RequesterPays functionality is working correctly?

@klaytaybai , are there news?

Reproducible using following steps:

Setup cross account S3 copy using the instructions at [How can I copy S3 objects from another AWS account?]
(https://aws.amazon.com/premiumsupport/knowledge-center/copy-s3-objects-account/)
Make sure to enable Requester pays setting in the source bucket.
Use the following code to Copy Object:

using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using System;
using System.Threading.Tasks;

namespace S3CopyObjectRequesterPaysTest_Issue1526
{
    class Program
    {
        private const string sourceBucket = "<<source-bucket-name>>";
        private const string destinationBucket = "<<destination-bucket-name>>";
        private const string objectKey = "<<source-key>>";
        private const string destObjectKey = "<<destination-key>>";
        // Specify your bucket region (an example region is shown).
        private static readonly RegionEndpoint bucketRegion = RegionEndpoint.USEast2;
        private static IAmazonS3 s3Client;

        public static void Main()
        {
            s3Client = new AmazonS3Client(bucketRegion);
            Console.WriteLine("Copying an object");
            CopyingObjectAsync().Wait();
        }

        private static async Task CopyingObjectAsync()
        {
            try
            {
                CopyObjectRequest request = new CopyObjectRequest
                {
                    SourceBucket = sourceBucket,
                    SourceKey = objectKey,
                    DestinationBucket = destinationBucket,
                    DestinationKey = destObjectKey,
                    CannedACL = S3CannedACL.BucketOwnerFullControl
                };
                CopyObjectResponse response = await s3Client.CopyObjectAsync(request);
            }
            catch (AmazonS3Exception e)
            {
                Console.WriteLine("Error encountered on server. Message:'{0}' when writing an object", e.Message);
            }
            catch (Exception e)
            {
                Console.WriteLine("Unknown encountered on server. Message:'{0}' when writing an object", e.Message);
            }
        }
    }
}

RESULT:
CopyObjectResponse.RequestCharged This is because only the following headers are returned by the S3 service:

x-amz-id-2
x-amz-request-id
Date
Server
Content-Type
Content-Length

Notice that there is no header with name x-amz-request-charged as mentioned in CopyObject API reference.
NOTE: .NET SDK CopyObjectResponseUnmarshaller has logic to process value for header x-amz-request-charged. If present, it is set as value of CopyObjectResponse.RequestCharged property.
Need to check with service team on why the x-amz-request-charged is not returned when the setting Requester pays is enabled in source bucket.

V390312875

Hi @AndrewZu1337,
Good evening.
Based on analysis in , per service team, x-amz-request-charged header is not returned if source account is used to copy objects to destination bucket. Could you please confirm if you used source account to copy object or the destination account? In case you are using the destination account, then it is an existing issue which is being fixed by service team.
Thanks,
Ashish

Hi @ashishdhingra. Yes, I confirm that

Hi @ashishdhingra. Yes, I confirm that

@AndrewZu1337 Did you use source account?

@ashishdhingra , I used destination account to send something to source account. And it didn't work.

@ashishdhingra , I used destination account to send something to source account. And it didn't work.

@AndrewZu1337 Thanks. It's a bug aa per service team and they are working on it for fix. I will keep you posted.

@ashishdhingra  thanks!

@AndrewZu1337 Per service team, the source and destination bucket needs to be owned by separate accounts in order to get x-amz-request-charged response header. The fix was issued by by service team recently. In case the buckets are owned by the same account, this header doesn't make any sense, hence it is not returned. Please test the scenario using the mentioned guidance and confirm if it works.


Output init manifests

Describe the problem/challenge you have
To install starboard via GitOps, we need the YAML manifests to install. Would be great if the init command could optionally just output the manifests to stdout.
Describe the solution you'd like
Anything else you would like to add:
Happy to help with a PR if this sounds good and there's a preferable cmd line argument to trigger this (e.g. starboard manifests)
Environment:

Starboard version (use starboard version):
Kubernetes version (use kubectl version):
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc):

Thank you @billyshambrook for bringing the GitOps use case. I think it's reasonable to allow getting the manifests in the init command as you described. To some extent it's also related to #23
I'd suggest adding the --dry-run and --output flags to the existing init command:
$ starboard init --dry-run -o yaml

We want to stay as close to the kubectl syntax as possible, so the above mentioned command would resemble a build-in kubectl commands:
 $ k create deploy nginx --image nginx:1.16 --dry-run -o yaml

WDYT? If that sound's good I'm happy to assign you @billyshambrook to this one.

@danielpacak I have been digging around the code on this one.
Based on the brief above, I am planning on possibly breaking this up into 2 PRs (1 for the dry-run and the other for yaml generation). I propose to mimic the kubectl behaviour for dry-run to show which objects are to be created (it is sort of an extension to work done in #164)
Currently, I have the following resources working in dry-run mode:

$ starboard init --dry-run
Creating CRD "vulnerabilityreports.aquasecurity.github.io" (dry run)
Creating CRD "ciskubebenchreports.aquasecurity.github.io" (dry run)
Creating CRD "kubehunterreports.aquasecurity.github.io" (dry run)
Creating CRD "configauditreports.aquasecurity.github.io" (dry run)
Creating Namespace "starboard" (dry run)
Creating ConfigMap "starboard/starboard" (dry run)

Investigating the service account, cluster role and cluster role binding (and the relationship between #23)
and obviously the YAML objects when -o yaml is included.
WDYT? Does that sound like a reasonable approach?  If so I am happy for you to assign it to me.

@danielpacak I have been digging around the code on this one.
Based on the brief above, I am planning on possibly breaking this up into 2 PRs (1 for the dry-run and the other for yaml generation). I propose to mimic the kubectl behaviour for dry-run to show which objects are to be created (it is sort of an extension to work done in #164)
Note: That should address the concern that Duffie mentioned in TGI Kubernetes 121: Starboard
Currently, I have the following resources working in dry-run mode:

$ starboard init --dry-run
Creating CRD "vulnerabilityreports.aquasecurity.github.io" (dry run)
Creating CRD "ciskubebenchreports.aquasecurity.github.io" (dry run)
Creating CRD "kubehunterreports.aquasecurity.github.io" (dry run)
Creating CRD "configauditreports.aquasecurity.github.io" (dry run)
Creating Namespace "starboard" (dry run)
Creating ConfigMap "starboard/starboard" (dry run)

Investigating the service account, cluster role and cluster role binding (and the relationship between #23)
and obviously the YAML objects when -o yaml is included.
WDYT? Does that sound like a reasonable approach? If so I am happy for you to assign it to me.

@shaunmclernon I think it's reasonable approach to implement --dry-run flag in one PR and then follow up with another PR to output YAML.
Regarding the output we can maybe make it even closer to the kubectl by printing the fully qualified resource name as prefix. WDYT?
k create deploy tomcat --image tomcat:8 --dry-run=client
deployment.apps/tomcat created (dry run)

This issue has gone stale but for GitOps we provide Starboard Operator with static YAML, Helm chart, and OLM installers. Feel free to reopen if you want to contribute and have it also done for Starboard CLI.


Player is buggy

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other

Hello
In short the audio player is buggy. Sometimes I press play, nothing happens, sometimes it works if I press play from the list but sometimes only if I press play from the bottom media navigator. Then also on some verses it works on some it doesn't.
Then, sometimes after a couple of verses the player stops and freezes, requiring a full reload and restart for somehting to play again. Besides these, the verse scroller is not working. I have visited this website two years ago, and now, and these problems were the same. Otherwise it would be a really cool player, maybe the best. I would suggest a deep revision of the player architecture. Hope it will be fixed.
Anything else:
Chrome Version 80.0.3987.122 (Official Build) (64-bit)
Some errors from the console:
content.js:143 Uncaught ReferenceError: platform is not defined
at content.js:143
at content.js:143
41:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22

I have encountered both of these issues today. With the first one audio not playing, I was able to get around this by clicking the gear and the selecting a reciter, then it was able to play. The second issue OP mentioned with scrolling is challenging, basically to restate the issue as I experienced it. When you are continuously playing it will jump to an incorrect section of the page when going from one verse to the next.


Caching

https://github.com/rfink/sequelize-redis-cache
At least for reporting page, with a reasonable ttl (10min)
Maybe a good approach would be to update a cache of the counts at the same time, rather than depend on db reports/counts.

closing from #59 pull request


missing case for 11K metaltop rule

It seems that the current metaltop rule misses a case for the 11K variant of the top level metal layer (introduced in https://github.com/RTimothyEdwards/open_pdks/issues/342):
https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pr/blob/main/rules/klayout/drc/rule_decks/metaltop.drc#L52-L53
@atorkmabrains  can you confirm that those are the same for 9K and 11K as implied by the comment.
/cc @msaligane

@proppy Yes they are according to the DRM:
https://gf180mcu-pdk.readthedocs.io/en/latest/physical_verification/design_manual/drm_07_16.html

@FaragElsayed2 Please make this modification to make sure we include "11K" into account.

Fixed in https://github.com/mabrains/globalfoundries-pdk-libs-gf180mcu_fd_pr/pull/116


Remove PIPELINES_RUN_URL environment variable

Instead of having to define BACKEND_URL, MODELS_RUN_URL and PIPELINES_RUN_URL, now we only need to define AIXPLAIN_ENV to set the desired environment (dev, test or platform).
Task: M-4576168247

Instead of having to define BACKEND_URL, MODELS_RUN_URL and PIPELINES_RUN_URL, now we only need to define AIXPLAIN_ENV to set the desired environment (dev, test or platform). Task: M-4576168247

Given the problems of creating an environment variable to determine the environment, this PR is updated only to remove PIPELINES_RUN_URL.

@lucas-aixplain what's the status of this unmerged PR?

@krishnadurai we can merge this PR, I think we didn't before because I was going to fix the unit tests first, but I'm working on other tasks for now.


Fixes/misc

This might fix issue #172

Coverage decreased (-0.2%) to 85.151% when pulling e6c887fbe20e48924ca015a7730ef0bbd64861a5 on fixes/misc into ba03145bc82ba285c69fc5a99119c5b41619891c on master.


Graphite Web UI not responding when CLUSTER_SERVERS member is unavailable

Hi,
we're using graphite 0.15 and CentOS 6.7.
also using carbon-c-relay.
when any member from the cluster is down our web UI is loading slowly and we can't open the Metrics tree.
are we doing anything wrong?
local_settings.py conf :
#Cluster Configuration
CLUSTER_SERVERS = ['server_dns1:8080',''server_dns2:8080',''server_dns3:8080',''server_dns4:8080',''server_dns5:8080']
REMOTE_STORE_FETCH_TIMEOUT = 30   # Timeout to fetch series data
#REMOTE_STORE_FIND_TIMEOUT = 2.5  # Timeout for metric find requests
#REMOTE_STORE_RETRY_DELAY = 60    # Time before retrying a failed remote webapp
#REMOTE_FIND_CACHE_DURATION = 300 # Time to cache remote metric find results
##Remote rendering settings
#Set to True to enable rendering of Graphs on a remote webapp
#REMOTE_RENDERING = True
#List of IP (and optionally port) of the webapp on each remote server that
#will be used for rendering. Note that each rendering host should have local
#access to metric data or should have CLUSTER_SERVERS configured
#RENDERING_HOSTS = []
#REMOTE_RENDER_CONNECT_TIMEOUT = 1.0

It's a known issue in graphite 0.9.x and it fixed in master now - https://github.com/graphite-project/graphite-web/commit/c6cf8244862ec15bf25b4cb4b01a29e45f59e2eb
Not sure if possible to backport that to 0.9.x because of a codebase in the master is quite different.

Any idea why next release [1.0] will be published?

When it will be ready, @Pita123
Now we still have major issues with it, unfortunately - https://github.com/graphite-project/graphite-web/milestone/2

BTW 1.0.0 is at RC-phase now, please test it, if you want, @Pita123

Thank you, we will test it soon


Sanitize request body too long or binary or unseekable

Error: escapeshellarg(): Argument exceeds the allowed length of 2097152 bytes

Thanks for reviewing, looks good to me!

Thanks for the PR. it would have been great if we could add some tests for the update.
I'm tagging it as 4.0.

Tagged v4.0. Thanks.


Documents - StyleM, Attributes, wrong type signature

Attributes map is missing optional. Therefore any client code believes that this map will always yield an attribute.

The task is to patch it and fix all places where this code is used.

Fixed by Sebastian


Concurrent Rune .run() does not resolve

The following example does not resolve both .run() calls inside Promise.all. Only one .run() calls is resolved but the other never resolves.
I observed this issue using CAPI inside React components, where there could be many components making concurrent .run() calls.
import { polkadotDev } from "@capi/polkadot-dev"
import { createDevUsers } from "capi"

const { alexa, billy } = await createDevUsers()

const [alexaAccountInfo, billyAccountInfo] = await Promise.all([
  polkadotDev.System.Account.value(alexa.publicKey).run().finally(() => console.log("alexa")),
  polkadotDev.System.Account.value(billy.publicKey).run().finally(() => console.log("billy")),
])

console.log("Alexa Account info:", alexaAccountInfo)
console.log("Billy Account info:", billyAccountInfo)

Is this only in react or does it happen in a simple ts file as well?

I observed it using React and I created an example that seems to reproduce the same behavior.

When importing createDevUsers it breaks even though the users arent used.
import { polkadotDev } from "@capi/polkadot-dev"
import { createDevUsers } from "capi"

const { alexa, billy } = await createDevUsers()

await Promise.all([
  polkadotDev.Timestamp.Now.value().run().finally(() => console.log("first")),
  polkadotDev.Timestamp.Now.value().run().finally(() => console.log("second")),
])

console.log("done")


cors_rule problem

Description
I wan't to create one S3 bucket with cors_rule rule information, but getting error.
Versions

Terraform:Terraform v0.12.7
Terragrunt: terragrunt version v0.28.18
Provider(s): don't have idia, bevause installet only terraform and terragrunt using brew install
Module: source = "git::git@github.com:terraform-aws-modules/terraform-aws-s3-bucket.git?ref=v1.6.0"

Reproduction

Steps to reproduce the behavior:

create aws test account
create user for s3 without any roles assing as wit application access
copy arn ot the user
save my code and replace user arnin ${dependency.apple-iam.outputs.s3-user-ui_arn}
try run terragrun apply in . with my code

Code Snippet to Reproduce
terraform {
  source = "git::git@github.com:terraform-aws-modules/terraform-aws-s3-bucket.git?ref=v1.6.0"
}

dependencies {
  paths = ["../aws-data" , "../apple-iam"]
}

dependency "apple-iam" {
  config_path = "../apple-iam"
}

include {
  path = find_in_parent_folders()
}

###########################################################
# View all available inputs for this module:
# https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws/1.6.0?tab=inputs
###########################################################
inputs = {
  # (Optional, Forces new resource) The name of the bucket. If omitted, Terraform will assign a random, unique name.
  # type: string
  bucket = "terraform-apple-ui"

  # (Optional) If specified, the AWS region this bucket should reside in. Otherwise, the region used by the callee.
  # type: string
  #region = "eu-central-1"

  block_public_acls = false

  block_public_policy  = false

  ignore_public_acls = false

  restrict_public_buckets = false

  attach_policy = true

  #example of json:
  # jsonencode("${variable}/text bla bla bla")
   policy = jsonencode({
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "",
            "Effect": "Allow",
            "Principal": {
                "AWS": "${dependency.apple-iam.outputs.s3-user-ui_arn}"
            },
            "Action": "s3:*",
            "Resource": [
                "arn:aws:s3:::terraform-apple-ui/*",
                "arn:aws:s3:::terraform-apple-ui"
            ]
        },
        {
            "Sid": "",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": [
                "arn:aws:s3:::terraform-apple-ui/*",
                "arn:aws:s3:::terraform-apple-ui"
            ]
        }
    ]
})

cors_rule = [
    {
      allowed_methods = ["PUT", "POST"]
      allowed_origins = ["https://modules.tf", "https://terraform-aws-modules.modules.tf"]
      allowed_headers = ["*"]
      expose_headers  = ["ETag"]
      max_age_seconds = 3000
      }, {
      allowed_methods = ["PUT"]
      allowed_origins = ["https://example.com"]
      allowed_headers = ["*"]
      expose_headers  = ["ETag"]
      max_age_seconds = 3000
    }
  ]

}

Expected behavior
should create S3 with filled cors_rule from field cors_rule in terracgrunthcl
Actual behavior
error on terragrunt apply or\and terragrunt apply-all
Error: Invalid function argument
on main.tf line 25, in resource "aws_s3_bucket" "this":
25:     for_each = length(keys(var.cors_rule)) == 0 ? [] : [var.cors_rule]
|----------------
| var.cors_rule is tuple with 2 elements
Invalid value for "inputMap" parameter: must have map or object type.
ERRO[0014] Hit multiple errors:
Hit multiple errors:
exit status 1
Additional context
thanks

v1.24.0 has been just released.

Additional information only after todays Anton stream, i realized that i can try migrate to terraform 13.1, i've done it and with jsonencode() this part start wokring fine.
part of the code for cors_rule:
cors_rule = jsonencode([     {       allowed_methods = ["PUT", "POST"]       allowed_origins = ["https://modules.tf", "https://terraform-aws-modules.modules.tf"]       allowed_headers = ["*"]       expose_headers  = ["ETag"]       max_age_seconds = 3000       }, {       allowed_methods = ["PUT"]       allowed_origins = ["https://example.com"]       allowed_headers = ["*"]       expose_headers  = ["ETag"]       max_age_seconds = 3000     }   ])
any way, thanks Anton for new release and todays stream on youtube on your channel.

I am glad that it works for you now.
Here is the link to the stream where I was fixing this - https://youtu.be/hDRjCDsnyYI?t=3333


Feature: Ability to expand the window (task execution and inventory)

Related to
Web-Frontend (what users interact with)
Impact
better user experience
Missing Feature
Sometimes the window are just too small, the ability to expand the window or put it in full screen would be very appreciated
E.g. we have a static inventory file with hundreds of devices, and adding a new device in the correct group sometimes is painful :)

Implementation

Design
No response

For the width of the window I have found that the max-width can be changed to something like 60-70% of the window size and already that help to see it better, now is fixed at 450px, I haven't figured out how to expand the window vertically...
In the beginning just a fixed size (but bigger than now) would help a lot without the necessity to have a dynamic window.


Can I choose to change the sgemm kernel implementation?

Hi , I wanna to use the kernel with the sve version in order to test the sgemm performance  for the sve sets . like path as ComputeLibrary-19.02\src\core\NEON\kernels\arm_gemm\kernels\sve_interleaved_fp32_mla_3VLx8, is there any advice? Any reply would be appreciated.

Hi @knjwhn
The function NEGEMM will query the CPU capabilities at runtime and choose the best kernel for the underlying hardware, take a look at the code in:
https://github.com/ARM-software/ComputeLibrary/blob/master/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp#L499
NEGEMM will do the job for you.

Hello @knjwhn,
First of all to enable this you have to build ComputeLibrary with arm64-v8.2-a-sve as your target architecture.
This will enable all the sve kernels and the gemm dispatcher as @morgolock mentioned will pick the most appropriate kernel.
Hope this helps.

Hello @knjwhn,
First of all to enable this you have to build ComputeLibrary with arm64-v8.2-a-sve as your target architecture.
This will enable all the sve kernels and the gemm dispatcher as @morgolock mentioned will pick the most appropriate kernel.
Hope this helps.

Thanks, I used gdb to follow processing of the sgemm and I made a test by changing the kernel defined in src/core/NEON/kernels/assembly/NEGEMMNativeWrapperKernel.cpp and it works when I change to  sgemm_12x8 kernel.  Does it right? and I have a quesstion , is the Acl only used in inference and don't support training? Hope your reply !

Hi @knjwhn
Yes, ACL is only used for inference.


Feature/user interface

I created and finished a new component [ ProfileSettings ] and implemented it into the profile page
I created and finished a new component [ ProfileStatistics ] and implemented it into the profile page

fix: small issue breakpoint
some enhancement

Thanks bro, looks good


ICA AROMA normalization

Hello,
I am using ICA-AROMA for motion artefact removal as described in the original Pruim 2015 paper. I minimally preprocess my functional data using the feat gui: motion correction, estimation of linear and nonlinear warping parameters for registration of functional to MNI space (the usual: T1 to EPI with FLIRT and EPI to MNI with FNIRT), and smoothing. I apply ICA-AROMA in native space, and the output is a denoised functional image in native space. Now, I must re-apply the warping parameters estimated in the initial preprocessing to get this denoised image into MNI 152 space.
Is this the correct pipeline that Pruim et al 2015 proposed (it was unclear to me based on my reading of the paper)?
& Is below the correct code for applying registration with pre-estimated parameters?
applywarp --ref=${FSLDIR}/data/standard/MNI152_T1_2mm --in=${rest_dir}/ICA_AROMA/denoised_func_data_nonaggr.nii.gz --warp=${rest_dir}/reg/highres2standard_warp --premat=${rest_dir}/reg/example_func2highres.mat --out=${rest_dir}/ICA_AROMA/warped_denoised_func_data_nonaggr.nii.gz
Also, do I need to check the outcome of the functional --> MNI registration again, even though I checked it during preprocessing prior to ICA AROMA? Since I am using the same warping parameters that were generated during preprocessing, should the registration quality be just as good as I saw it in the feat report?
Thank you,
Dina Dajani

yes, this is the correct pipeline
yes, that is the correct command
yes, you should always check your data. Even though the parameters did not change, you are resampling your data. This could go wrong in many ways, while this is a rare event, you want to make sure you checked it to avoid having to go on a fishing expedition when something looks off later on in your pipeline. Happy analyzing!

thanks so much!


Tree View clear selection

[x] bug
[ ] feature request
[ ] enhancement

Expected behavior

When using a button to clear the tree view selection, the selected nodes should be unchecked on the view.
Actual behavior

I tried to clear the tree view selection by clicking on a button (set selection = [ ]) , also i tried to loop over the selection array and set all the selected field to false; but it seems like the two way binding ( [(clrTreeSelected)]="selection" ) doesn't work as expected; Would someone take a look on my Plunker example code below.
Reproduction of behavior

https://plnkr.co/edit/9y7IQl5BHHdyjrOWaY1T

Environment details

Angular version: 2.0.X / 4.0.1

Clarity version: 0.9.0

OS and version: Windows 10

Browser: Chrome

Oh, wow, looking at the bug this is an obvious bug. I have no idea how we missed that, it's definitely something we need to fix.
Thanks for reporting it. Once the fix is in, you can expect your first solution (set selection = [])  to work.

@youdz: I thought we discussed that the TreeSelection array was only going to be used to initialize the tree. If the user wants to completely reset the selection, then they go through the root nodes and uncheck the selection using the clrTreeNodeSelected input.

I have a one line change that addresses this issue. But, @adityarb88 pointed out that it reuses something that was originally intended to be used onceTreeView.populateTree(...). My change is pretty simple, it adds logic to it and calls it in the setter for the @Input selected setter. @adityarb88 had the above question wrt expecting the user to uncheck root nodes so we brought the discussion here.
As I see it to resolve this issue I can proceed in one of three ways:

Add logic to the TreeView.populateTree function and call populateTree in the selected setter with the @Input value given
Ask the user to handle it by unchecking all the parent nodes
Add functionality to the service that can handle updates to the selection [] in a general way

I think 1/3 are easier for users of the TreeView and #1 is probably a bit faster to implement (its already done) than #3.

@jabirfth: We recently release 0.10.0-alpha with refactored Tree View to tackle issues raised here: https://github.com/vmware/clarity/issues/917. We won't be supporting global selection anymore because the new Tree lazy loads all child nodes. To clear selection you can now simply set the selection of root node to false. Selection has been moved to the node level in the new tree view. Please refer to the release notes for more details: https://vmware.github.io/clarity/news/0.10.0-alpha. I am closing this issue but feel free to reopen the issue if you have any more questions/feedback. Thanks!


LintDiff throws AutoRest exception when default tag is not defined in README; error is too general and Avocado does not report failure

Details here:
https://github.com/Azure/azure-rest-api-specs-pr/pull/17975#issuecomment-2101196466

Another instance:

Teams chat wit @bdefoy
https://github.com/Azure/azure-rest-api-specs-pr/pull/18436/checks?check_run_id=25808213191


Panic when returning a struct to JS

🐛 Bug description
I have some simple code:
#[wasm_bindgen]
pub struct TextStatistics {
    pub ari: f32,
    pub coleman_liau: f32,
    pub flesch_kincaid: f32,
    pub fog: f32,
    pub smog: f32,
    pub num_words: u32,
    pub num_sentences: u32,
    pub num_characters: u32,
    pub num_syllables: u32,
    pub num_complex_words: u32,
    pub num_polysyllables: u32,
}

#[wasm_bindgen]
pub fn extract_counts(text: &str) -> TextStatistics {
    let basic_counts = BasicCounts::new(text);
    return TextStatistics {
        ari: basic_counts.ari(),
        coleman_liau: basic_counts.coleman_liau() ,
        flesch_kincaid: basic_counts.flesch_kincaid(),
        fog: basic_counts.fog(),
        smog: basic_counts.smog(),
        num_words: basic_counts.words,
        num_sentences: basic_counts.sentences,
        num_characters: basic_counts.characters,
        num_syllables: basic_counts.syllables,
        num_complex_words: basic_counts.complex_words,
        num_polysyllables: basic_counts.polysyllables,
    };
}

I have verified that the all the calculation components do not panic. The tests for this function (written with #[wasm_bindgen_test]) all succeed.
The function panics when trying to return TextStatistics. This used to work previously, but broke recently.
Partial Stacktrace:
panicked at /rust/deps/dlmalloc-0.2.6/src/dlmalloc.rs:1198:13:
assertion failed: psize <= size + max_overhead

Links to https://github.com/rustwasm/wasm-pack/issues/1389
🤔 Expected Behavior
No panic and to return the struct (converted to a class on the JS end).
👟 Steps to reproduce
Copy code as above and just change all of the function calls to floating point constants. Build the rust project and call from JS.
🌍 Your environment
Include the relevant details of your environment.
wasm-pack version: 0.13.0
rustc version: 1.79
Current versions in Cargo.lock:
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3

[[package]]
name = "bumpalo"
version = "3.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"

[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"

[[package]]
name = "console_error_panic_hook"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc"
dependencies = [
 "cfg-if",
 "wasm-bindgen",
]

[[package]]
name = "core_lib"
version = "0.1.0"
dependencies = [
 "csv",
 "phf",
 "serde",
 "unicode-segmentation",
]

[[package]]
name = "csv"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac574ff4d437a7b5ad237ef331c17ccca63c46479e5b5453eb8e10bb99a759fe"
dependencies = [
 "csv-core",
 "itoa",
 "ryu",
 "serde",
]

[[package]]
name = "csv-core"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5efa2b3d7902f4b634a20cae3c9c4e6209dc4779feb6863329607560143efa70"
dependencies = [
 "memchr",
]

[[package]]
name = "itoa"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"

[[package]]
name = "js-sys"
version = "0.3.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"
dependencies = [
 "wasm-bindgen",
]

[[package]]
name = "log"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"

[[package]]
name = "memchr"
version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"

[[package]]
name = "once_cell"
version = "1.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"

[[package]]
name = "phf"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"
dependencies = [
 "phf_macros",
 "phf_shared",
]

[[package]]
name = "phf_generator"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0"
dependencies = [
 "phf_shared",
 "rand",
]

[[package]]
name = "phf_macros"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b"
dependencies = [
 "phf_generator",
 "phf_shared",
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "phf_shared"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
dependencies = [
 "siphasher",
]

[[package]]
name = "proc-macro2"
version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
dependencies = [
 "unicode-ident",
]

[[package]]
name = "quote"
version = "1.0.36"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
dependencies = [
 "proc-macro2",
]

[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
 "rand_core",
]

[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"

[[package]]
name = "ryu"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"

[[package]]
name = "scoped-tls"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"

[[package]]
name = "serde"
version = "1.0.207"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5665e14a49a4ea1b91029ba7d3bca9f299e1f7cfa194388ccc20f14743e784f2"
dependencies = [
 "serde_derive",
]

[[package]]
name = "serde_derive"
version = "1.0.207"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6aea2634c86b0e8ef2cfdc0c340baede54ec27b1e46febd7f80dffb2aa44a00e"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "siphasher"
version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"

[[package]]
name = "syn"
version = "2.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af"
dependencies = [
 "proc-macro2",
 "quote",
 "unicode-ident",
]

[[package]]
name = "unicode-ident"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"

[[package]]
name = "unicode-segmentation"
version = "1.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"

[[package]]
name = "wasm-bindgen"
version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
dependencies = [
 "cfg-if",
 "wasm-bindgen-macro",
]

[[package]]
name = "wasm-bindgen-backend"
version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"
dependencies = [
 "bumpalo",
 "log",
 "once_cell",
 "proc-macro2",
 "quote",
 "syn",
 "wasm-bindgen-shared",
]

[[package]]
name = "wasm-bindgen-futures"
version = "0.4.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c02dbc21516f9f1f04f187958890d7e6026df8d16540b7ad9492bc34a67cea03"
dependencies = [
 "cfg-if",
 "js-sys",
 "wasm-bindgen",
 "web-sys",
]

[[package]]
name = "wasm-bindgen-macro"
version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
dependencies = [
 "quote",
 "wasm-bindgen-macro-support",
]

[[package]]
name = "wasm-bindgen-macro-support"
version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "wasm-bindgen-backend",
 "wasm-bindgen-shared",
]

[[package]]
name = "wasm-bindgen-shared"
version = "0.2.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"

[[package]]
name = "wasm-bindgen-test"
version = "0.3.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e6e302a7ea94f83a6d09e78e7dc7d9ca7b186bc2829c24a22d0753efd680671"
dependencies = [
 "console_error_panic_hook",
 "js-sys",
 "scoped-tls",
 "wasm-bindgen",
 "wasm-bindgen-futures",
 "wasm-bindgen-test-macro",
]

[[package]]
name = "wasm-bindgen-test-macro"
version = "0.3.37"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecb993dd8c836930ed130e020e77d9b2e65dd0fbab1b67c790b0f5d80b11a575"
dependencies = [
 "proc-macro2",
 "quote",
]

[[package]]
name = "wasm-readability"
version = "0.1.3"
dependencies = [
 "console_error_panic_hook",
 "core_lib",
 "wasm-bindgen",
 "wasm-bindgen-test",
 "web-sys",
]

[[package]]
name = "web-sys"
version = "0.3.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b"
dependencies = [
 "js-sys",
 "wasm-bindgen",
]

I'm also currently trying to debug allocator panics but in wee_alloc, and it appeared after upgrading web_sys to 0.3.70. I guess there is something broken in wasm-bindgen. Also, have you tried downgrading rust to 1.77? Cause there is this issue

In the end, I cleaned up some of the dependencies and then deleted Cargo.lock and re-generated from
[dependencies]
console_error_panic_hook = { version = "0.1.7", optional = true }
core_lib = { path = "../core-lib" }
wasm-bindgen = "0.2.93"

[dev-dependencies]
wasm-bindgen-test = "0.3.43"

I also updated to latest verison of wasm-pack. This is currently working without issues.


Does MAMMOTH framework plan to focus on evaluations?

Thanks for the work!
Is there any plan to focus on evaluations beyond traditional train/val/test splitting of data and running certain metrics? For example are there any plans to have model-based translation evaluation, i.e, a separate model trained solely to evaluate translation, possibly reference-free (similar to COMET). Or another language model instruction tuned to choose which translation is better (given several options) and explain the reasoning?

Understood! Thanks for your reply!


Unable to login. Make sure to login and keep your browser open. This error may also be due to OpenAI servers down or that it's throttling the requests. Error: Error Failed to launch the browser process! spawn C:\Program Files\Google\Chrome\Application\chrome.exe ENOENT TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Type: Bug
Unable to login. Make sure to login and keep your browser open. This error may also be due to OpenAI servers down or that it's throttling the requests.  Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

[image: image.png]
I try to login and get message like that
On Sat, 21 Jan 2023 at 00:11, VSCode Triage Bot @.***>
wrote:

Thanks for reporting this issue! Unfortunately, it's hard for us to
understand what issue you're seeing. Please help us out by providing a
screen recording showing exactly what isn't working as expected. While we
can work with most standard formats, .gif files are preferred as they are
displayed inline on GitHub. You may find https://gifcap.dev helpful as a
browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling
screencast mode for the recording (Developer: Toggle Screencast Mode in
the command palette). Lastly, please attach this file via the GitHub web
interface as emailed responses will strip files out from the issue.
Happy coding!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/171867#issuecomment-1399011976,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBTUXV24WM5OCWCI2ETZD3WTMERDANCNFSM6AAAAAAUB4LT5Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

Unfortunately, if you respond via email with the image it doesn't show up. Can you reattach on the web?

To fix this issue, you have to state the current location of your chrome browser base path.
By default it should be like this C:\Program Files\Google\Chrome\Application\chrome.exe
but for me it is -> C:\Program Files\Google\Chrome\Application\chrome.exe
Once you have access to that path, go to the chatbot extension setting and add your current path address for your chrome browser base path.

I hope this helps

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!

Thanks a lot!
It's really the solution.
Many thanks!!!
On Wed, 25 Jan 2023 at 08:17, Crackboomlaboom @.***>
wrote:

[image: Screenshot_1]
https://user-images.githubusercontent.com/70096835/214493779-a3037931-e246-461c-b182-0af01f4f4ef9.png
To fix this issue, you have to state the current location of your chrome
browser base path.
By default it should be like this C:\Program
Files\Google\Chrome\Application\chrome.exe
but for me it is -> C:\Program Files\Google\Chrome\Application\chrome.exe
Once you have access to that path, go to the chatbot extension setting and
add your current path address for your chrome browser base path.
[image: Screenshot_12]
https://user-images.githubusercontent.com/70096835/214493904-173f6944-cf66-45f9-a8a4-5906762d2bbe.png
I hope this helps
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/171867#issuecomment-1403149901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBTUXSIOZLUCA4HA2GORA3WUDARDANCNFSM6AAAAAAUB4LT5Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

Unable to login. Make sure to login and keep your browser open. This error may also be due to OpenAI servers down or that it's throttling the requests. Error: kw Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object
Any solution please?


Examples showing how to build a graph

Hi, I'm really interested in this library. Do you have any examples that demonstrate how to build up a json-ld graph? I can see the structures in there just looking for some examples. Thanks!

Hi @scisci,
Thank you for your interest! You are right, I should add some more sophisticated examples.
Working with JSON-LD documents is really easy. You just need to either unmarshall your JSON document into interface{} or use a URL directly (see this example as a template for most of operations), and then invoke one of the standard operations from JSON-LD API spec, i.e. expand, compact, flatten, normalize and so on.
If you are interested in building a graph from JSON-LD document, the easiest way is probably to transform it into triples (using this library) and then use your favourite triple processor. I added a new example here: e5de40227e8d1b93e1af02416da8d9295d189589.

Hi @kazarena, thanks thats awesome! Those are good examples for going from json-ld to rdf or some other go structure.
What I need to do, is go the other way: from our internal graph structure (specific to our database) out to json-ld.
Would you suggesting I take our internal graph format (made up of vertexes and edges) and represent each edge relationship using a quad?
func NewQuad(subject Node, predicate Node, object Node, graph string)

I could then use the json-ld api to write the RDFDataset
func (api *JsonLdApi) FromRDF(dataset *RDFDataset, opts *JsonLdOptions) ([]interface{}, error)

or
func (jldp *JsonLdProcessor) FromRDF(dataset interface{}, opts *JsonLdOptions) (interface{}, error)

And then compact it and Marshal to JSON?
Hopefully that makes sense, I'm still getting my head around json-ld in general.

@scisci, it depends on your internal format. If it's easier to produce an RDF dataset then yes, the methods you mentioned would do. Otherwise, JSON-LD is just normal JSON, that's the beauty of it. The way I would approach this task is as follows (actually, I'm doing it at the moment with one of my proprietary database which is somewhat graph-like:

If you data is already in JSON, consider retrofitting JSON-LS schema/context on top of your existing data. The main benefit of this approach is that you don't need to apply any transformations to your data at all. Then either leave it as is (it'll be JSON-LD already) or apply 'Compact' operation to turn it into a new shape.
if your data is not in JSON, start with defining a JSON-LD context which describes your data best. It will require a bit of learning if you haven't done it in the past. Once it's ready, produce a dump of your data in JSON and attach your context to it.

That's it!
P.S. No, I woildn't be using NewQuad(...). Consider it internal function until you need to do something which doesn't fit into the standard API functions from JSON-LD spec. In 95% of case that would be enough!


fix: Implemented a very rough version of input detection using all inputs

Fixes:
https://github.com/decentraland/unity-explorer/issues/1027
https://github.com/decentraland/unity-explorer/issues/1069
https://github.com/decentraland/unity-explorer/issues/1070
https://github.com/decentraland/unity-explorer/issues/1085
What does this PR change?
Mamma mia what a problem! :italianHand:
So turns out that in e@ we were only sending to the CRDT the input events that were registered in the PBPointerEvents SDK component. Which meant that we ignored every other input.
Turns out that it should not have been that way xD
A lot of functionalities on scene side depend on listening to any input and responding to only certain ones, but they are mostly not defined on the PointerEvents unless they wanted to display a tooltip.
So, the logic should be the following:

IF the entity has a PointerEvent component, it will receive all the input events IF they are at the interaction distance defined in the component. If not, those events will be sent as global through the SCENE_ROOT_ENTITY.
If the entity doesnt have a PointerEvent component, the input events will be just sent directly as global through the SCENE_ROOT_ENTITY.

How to test?
The issues fixed for now are all in the summit of the plaza, where the carrousel would not be properly interactable. Now it should be. Note that this does not fix other issues with the carrousel (wrongly placed  buttons and stuff like that), only the interactions. So now you can select elements in the carrousel with the mouse pointer and flip right or left using F and E.
Also, the can shooting scene in goerli also is working now, except the top can that for some reason cannot be shot at 🤷

🟡 There are still issues present:
-The cards poping up without the image in front
-The location of the E and F buttons
https://github.com/decentraland/unity-explorer/assets/139157886/059d71c4-38a4-4ed3-bec1-8b9c99c50610


Migrate contract functionality

Migrate contract functionality from market-creator to trader repository. Market creator will use the corresponding packages from trader as dependencies.
This is required to avoid a lot of code duplication when trying to implement the redeem functionalityon market creator.

LGTM, there's an unrelated issue on CI. Please skip and open an issue if you do not address it.
Did you run the agent after the changes?

I didn't run the agent, but given that I am adding contract calls that are not referenced anywhere in this service, I assume there will not be any issue.

Gitleaks is complaining about file packages/valory/services/trader_omen_gnosis/service.yaml in another branch.


Error importing a re-exported MUI icon

Which project does this relate to?
Start
Describe the bug
Spin up the basic TanStack Start example, install @mui/icons-material@5 @emotion/react @emotion/styled and on any page add -
import { Print } from '@mui/icons-material'

and
<Print />

and it works as expected.
However, create an Icons.tsx file with -
import PdfIcon from '@mui/icons-material/Print'

export { PdfIcon }

and update the page to use -
import { PdfIcon } from '~/components/Icons'

and
<PdfIcon />

and the icon no longer renders and the following is shown -
Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

Your Example Website or App
https://stackblitz.com/edit/tanstack-router-fnmojlvh?file=app%2Froutes%2Findex.tsx,package.json,app%2Fcomponents%2FIcons.tsx&preset=node
Steps to Reproduce the Bug or Issue

On the Welcome page see that directly using the MUI print icon renders successfully
In the index.tsx file import and render PdfIcon instead
The icon fails to render and an error displays -

ServerFn Response: 500
 - Payload: {"$error":{"message":"Context is not available","stack":"Error: Context is not available\n    at Obj...

Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

Expected behavior
I was hoping that re-exporting the MUI icon would work the same as it has for me within other Next and Vite apps
Screenshots or Videos
No response
Platform

OS: MacOS 15.2
Browser: Chrome 131 and Opera 114

Additional context
No response

If I switch to using a named import in the Icons.tsx file it works -
import { Print as PdfIcon } from '@mui/icons-material';

export { PdfIcon };

most likely a dead-code-elimination bug

during SSR, vite uses ESM. the @mui/icons-material has an esm folder, but it misses an exports section in the package.json.
There are a few solutions to resolve this, one would be to manually configure vite to use the correct ESM files:
import { defineConfig } from '@tanstack/start/config'

export default defineConfig({
  vite: {
    resolve: {
      alias: {
        '@mui/icons-material': '@mui/icons-material/esm',
      },
    },
    ssr: {
      noExternal: ['@mui/icons-material'],
    },
  },
})

Another option is to patch the package.json of the packge to include the exports section.


setTimeout in seeding

@atherosai ,
Thanks for a great demo.
Quick question: How come you do a 50ms timeout when seeding the database? Wouldn't it be better to just return Promise.all( mapResult )?

Hi, thanks for writing I have not noticed the issue. I have closed this now as it was updated to creating objects in bulk, which should be faster once working with a real database.


Wont let me in

DebugInfo.log
I can't login. It attempts to read my stashes and then fails.

Make sure to login to the POE website and get a fresh PoeSessionId

Just did that, tells me the same thing. added log, from after trying.
DebugInfo.log

Did it one more time today, refreshed the ID by logging in and out. Now. Same thing, can't get in
DebugInfo.log

I've double-checked your debuginfo.log
I'm assuming that you are a PS4 player as you are logging into the PS4 realm, is this what you were intending to do? Make sure you have the correct realm selected.

Yeah. I am, I logged into the website with my ps4 login, fetched the SessionID, and then entered ps4 in the program. Am I in the wrong here or?

The only other thing I can think is that you are requesting "Standard" league data. I don't know how the leagues mechanics work on the console realms so make sure you create a dummy character on standard and put "Something" in the stash.
I developed the console support blind as I don't own any consoles.

Hmm.. I could try and make one at standard, but my current toon on pathofexile.com is listed in the current league. The software doesn't provice an option to choose between standard and current league. The requesting standard stash part it does on it's own. I've done nothing else but fet the session ID from the legaue toon, and insert my psn..

Update:
It worked just fine on my PC account, still not on my ps4 account.
Sadly i'm not using my pc account this league. :D

You can change the league it connects to by editing the settings.xml file.

Look around line 86 in the application folder

Tried that. Didn't work either.
Even refreshed the sessionID and all that. Still nothing. The idea of removing the other leagues was a good idea though, but even so, it still crashes at the same place.

That is curious, can you pass me your latest debuginfo.log and if you have any "Bin" files in your "AccountName" folder that would be much appreciated

DebugInfo.log
it wont let me attach the characterdata.bin files, which are the only bin files that I have.
Also, sry for the late answer. Life happened :D

characterdata.txt
Hmm, after converting it to .txt and reading it. It appears that it's fetching the toon I have on standard called XetLul, while still saying it's going for league legion. The only toon I have currently have in the league is called Xetstab.


ValidationFault for Invoices

Issue:
QuickBooks returns a ValidationFault error when POSTing Invoices.
Sample Response:
{u'type': u'ValidationFault', u'Error': [{u'Message': u'Request has invalid or unsupported property', u'code': u'2010', u'Detail': u'Property Name:Can not instanti specified is unsupported or invalid'}]}
Information on this error here
Sample code that generates this error:
invoice = Invoice()
invoice.CustomerRef = unicode(61)
invoice.save()
Analysis:
It seems that the package is either failing to instantiate the Invoice object itself, or is mistakenly sending an additional 'field' called Can not instanti with its POST call. I think that the former is most likely, but I haven't been able to nail down where the error is occurring. I've tried setting the CustomerRef value to:

A simple integer
Unicode of integer
An actual Customer object

but I get the same behavior for each approach. Removing the CustomerRef and attempting to POST an Invoice with no other attributes causes QuickBooks to return a Required param missing error. I am successfully able to POST and GET Customer objects, so I do not believe that this is an issue with credentials, environment settings, etc. Any help would be greatly appreciated - it is entirely possible that I am simply misusing the Invoice object in a way that I can't identify.

CustomerRef is a Ref object. Either query quickbooks for a Customer and use the to_ref method or create a Ref object and set it's value property to the customer id. Examples below:
customer = Customer.get(1, qb=client)
invoice.CustomerRef = customer.to_ref()

customer_ref = Ref()
customer_ref.value = 61
invoice.CustomerRef = customer_ref

This is perfect - thank you very much @ej2 ! Would you be amenable to me adding a section to the README.rst for working with Ref objects?

I went ahead and wrote a quick section using your examples in a branch - how would you like me to contribute @ej2 ? I'm happy to just post the edits to the README here if you prefer that over a branch and a PR.


Support for jsonl

Any opportunity to support jsonl files? https://jsonlines.org/ some logs are stored with this format.

@ikks This is available in the new release, please provide feedback if you have any questions.😄

Thank you, works like a charm https://igor.tamarapatino.org/samples/asciinema/index.html?video=otree .


Could we get a time keeping system?

I am in the middle of designing a new program that will have time requirements for all participants. One way I would like to incentive them is with ribbons/awards (I am still learning all of the workings of the award system). If they practice for x number of hours they will get the first tier ribbon, next tier will be more hours, and so on. So this would give me a way to keep track of individuals time spent.
Plus, the program is intended to help improve individual flight skills, so being able to easily measure their hours spent could also be a good boost to their own morale.

I am still determining how relevant this one is, but I'll add it here anyway so we can keep track of it.


Django 3 compatibility

Django 3 has removed the django.utils.six module:
https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis
As they recommend, you probably want to add an explicit dependency on the six package and use that directly.
The error manifests itself like this when you use Django 3:
Traceback (most recent call last):
  ...
  File ".../python3.6/site-packages/djangosaml2/views.py", line 35, in <module>
    from django.utils.six import text_type, binary_type, PY3
ModuleNotFoundError: No module named 'django.utils.six'

Already fixed in https://github.com/knaperek/djangosaml2/commit/b2c266f8fe3693ac91efc953d73f5c361ac15483

Ah, right enough. When is the next release? That will incorporate this change?

Not sure. The maintainer, @knaperek, doesn't seem to be too active anymore

Sorry to keep you waiting guys. It's released now, enjoy and thanks for all the help, I barely had to move my fingers :-)

@knaperek Like I said in #173, the tests are failing since that got merged and I'm getting 403s whenever I try to login with v0.18.0 that might very well be becuase of that. I think that https://github.com/knaperek/djangosaml2/commit/d0e4abe70d4968e71f2373420191015e05a737d4 should either be reverted or fixed in a v0.18.1 as soon as possible.

Fixed in #178


Upgrade numaflow version to 1.2

fixes: #7
Verified the changes with below command
$ helm install numaflow --namespace numaflow-system .
NAME: numaflow
LAST DEPLOYED: Tue May  7 21:42:30 2024
NAMESPACE: numaflow-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace numaflow-system -l "app.kubernetes.io/name=numaflow-ux" -o jsonpath="{.items[0].metadata.name}")
  export CONTAINER_PORT=$(kubectl get pod --namespace numaflow-system $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
  kubectl --namespace numaflow-system port-forward $POD_NAME $CONTAINER_PORT
  echo "Visit http://<IP_ADDRESS>:$CONTAINER_PORT to use your application"

Output:
$ k get po -n numaflow-system
NAME                                   READY   STATUS    RESTARTS   AGE
numaflow-controller-6cdb7df867-ghs6p   1/1     Running   0          3m56s
numaflow-dex-server-56c5d5546b-l2fzq   1/1     Running   0          3m56s
numaflow-server-56b5db4f54-lmlqj       1/1     Running   0          3m56s
numaflow-webhook-54f5848fb8-6wgpw      1/1     Running   0          3m56s

We might need to add README steps for local development and publishing/release etc if any

We need to come up with a list of scenarios/ testing strategies so that we can test changes here. Need to investigate common practices for this

2. We need to come up with a list of scenarios/ testing strategies so that we can test changes here. Need to investigate common practices for this.

List of scenarios/testing strategies for verifying the helm changes

Verify the installation of recent release version, also it should not affect the installation of all previous version
Verify the upgrade from previous or latest version of numaflow helm chart
Deploy a sample pipeline to verify the installation

The above scenarios can be automated with e2e test
@kohlisid what's your opinion for above approach/process ?


Changelog for Sprint 17

First draft of changelog based on presentation slides

Need input from @Fryguy @gmcculloug @dclarizio @blomquisg @kbrock @tenderlove @roliveri @abellotti

One notable UI bug fix:
Fixed code to not allow deletion of locked domains. #1263

Added:
- UI
  - Add donut chart support
- SCVMM: Virtual DVD drives for templates
- Amazon:
  - Added new AWS Region EU Frankfurt
  - Added inventory collection for AWS CloudFormation
  - Added parsing of parameters from orchestration templates
- Provisioning: Allow removing keys from :clone_options by setting value to nil

Changed:
- Changed classification seeding to only add classification if missing.

Removed:
- Support for repository refreshes, since they are not used.
- Support for Host-only refreshes.  Instead, an ESX/ESXi server should be added as an EMS, if that is desired.

Notable fixes:
- UI: Fixed code to not allow deletion of locked domains
- OpenStack: Fixed image pagination issue where all of the images would not be collected
- RHEVM/oVirt: Ignore user login failed events to prevent event flooding.
- SCVMM: Fixed refresh when Virtual DVD drives are not present.
- Fleecing: Fixed handling of nil directory entries and empty files
- Fixed virtual column inheritance creating duplicate entries.

Everyone please review these.


Will you include ButtonGroup like what bootstrap provides.

Probably not because this is supposed to be like UIButton. If you want a button group, use SegmentedControl: https://facebook.github.io/react-native/docs/segmentedcontrolios.html

SegmentedControl is exactly what I need, thanks.


The bundled binary failed to call dns resolver

Another issue, the dns resolver failed with error "lookup localhost: device or resource busy", strace shows it fail to load some dynamic libraries like exe/../lib/libnss_files.so.2, exe/../lib/libnss_dns.so.2.
Can work around with LD_LIBRARY_PATH=/path/to/bundle/lib:/usr/lib/aarch64-linux-gnu.
part of strace logs:
33230 03:16:19.046628 openat(AT_FDCWD, "/chain/.cronosd/cosmovisor/genesis/exe/../lib/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000015>
33230 03:16:19.046669 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.046708 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/aarch64/atomics/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.046746 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/aarch64/atomics", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.046783 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/aarch64/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.046821 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/aarch64", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.046858 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/atomics/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.046896 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/atomics", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.046933 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.046971 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/tls", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.047008 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/aarch64/atomics/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.047045 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/aarch64/atomics", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.047082 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/aarch64/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.047120 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/aarch64", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.047157 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/atomics/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000013>
33230 03:16:19.047194 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/atomics", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.047231 openat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) <0.000014>
33230 03:16:19.047273 newfstatat(AT_FDCWD, "/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.33-123/lib", 0xffffc37724d0, 0) = -1 ENOENT (No such file or directory) <0.000012>
33230 03:16:19.047316 futex(0x4000092950, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
33232 03:16:19.047338 <... futex resumed>) = 0 <0.002249>
33230 03:16:19.047347 <... futex resumed>) = 1 <0.000025>
33232 03:16:19.047357 nanosleep({tv_sec=0, tv_nsec=3000},  <unfinished ...>
33230 03:16:19.047397 write(2, "Error: post failed: Post \"http:/"..., 103) = 103 <0.000023>

Can you share what you're trying to bundle so I can try to reproduce?

Something is being nuke-refed that should have been copied and patched instead :thinking:

Can you share what you're trying to bundle so I can try to reproduce?

https://github.com/crypto-org-chain/cronos/releases/tag/v0.7.0
the rocksdb version binares here is bundled this way, it's a golang application. the libnss_*.so are indeed not show up in ldd output, I guess they are really dynamically loaded somehow.

Ah interesting. Yes if patchelf --print-needed is not reporting these as dependencies then my bundler doesn't know it should be bundling them. But I also don't have a reliable way to replace those paths in the exe with ones from my bundle (are they just strings compiled into the exe?). However, since I nuke-refs on these binaries, they no longer have the correct nix paths either.
This is a situation where nix-bundle would probably do a better job. It uses chroot so that binaries don't need to be modified at all and therefore it work work with just about any situation. The downside, of course, is that it doesn't work on macOS.

If you feel this tool is still a better than nix-bundle, then we can discuss stop-gap measures to make it work better.

If you feel this tool is still a better fit than nix-bundle, then we can discuss stop-gap measures to make it work better for these kinds of cases.

I think your approach is still simpler and less magical than the nix-bundle.
We can always mitigate the dns resolver issue by enable golang resolver at build time, I'll probably investigate the issue later to see what happened and if there's a solution to the root cause.
Regarding the recent interpreter change, it seems to work on some machines that we had libc version conflicts previously. I'm trying to understand the portability implication of that, the ldd shows:
interpreter => /lib64/ld-linux-x86-64.so.2

So I guess it always use the system builtin linker, right?

Trying running the exe directly and it shouldn't work. At least that's what I observed. The wrapper script ensures the correct interpreter is used.

Trying running the exe directly and it shouldn't work. At least that's what I observed. The wrapper script ensures the correct interpreter is used.

oh, I see, nice trick.
exec /path/to/ld-linux.so /path/to/exe

Yep. Obviously should have done it that way to begin with!
I also observed ldd "guessing" what the full path was, but I think ldd is just wrong.

For the libnss dynamic modules, I guess user can always add extra arbitrary files into the bundle by wrap or override the derivative. I'll close this issue for now.


Do not display message when using no-watch flag

What type of PR is this:
/kind bug
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #6103
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

[FAILED] [126.513 seconds]
odo add binding interactive command tests
/go/src/github.com/redhat-developer/odo/tests/integration/interactive_add_binding_test.go:16
  when running a deployment
  /go/src/github.com/redhat-developer/odo/tests/integration/interactive_add_binding_test.go:300
    when binding to a service in a different namespace
    /go/src/github.com/redhat-developer/odo/tests/integration/interactive_add_binding_test.go:551
      [It] should error out if service is not found in the namespace selected
      /go/src/github.com/redhat-developer/odo/tests/integration/interactive_add_binding_test.go:574

Flaky test
/override ci/prow/v4.10-integration-e2e