Error when using hxnodejs - works fine without hxnodejs (in Electron)

When I add the library hxnodejs to my compile, even if I don't specifically target any classes Electron will throw the following runtime error after calling LoaderQueue.load();  - This call is happening in the Renderer module - not the main module.
If I remove the library from compile, everything works as expected.
 events.js:182 Uncaught Error: socket hang up     at createHangUpError (_http_client.js:345)     at Socket.socketCloseListener (_http_client.js:377)     at emitOne (events.js:120)     at Socket.emit (events.js:210)     at TCP._handle.close [as _onclose] (net.js:549)

mloader has never been tested with nodejs context so it may very well be incompatible. Though the error is really odd - does that happen with a "hello world" nodejs app?

Yes - the following project will throw the error in Electron.  If you need the electron setup I can provide that too.
`package;
import js.Lib;
import mloader.Loader.LoaderEvent;
import mloader.XmlLoader;
/**

...

@author Phil Chertok
*/
class Main
{
static function main()
{
var l = new LoadTest();
l.loadConfig();
}

}
class LoadTest
{
public function new()
{

}

public function loadConfig()
{
	var pURL:String = "config.xml";

	var l=  new XmlLoader(pURL);

	l.loaded.add( onXMLLoaded );
	l.load();
}

function onXMLLoaded(e:LoaderEvent<Dynamic> ):Void
{
	switch(e.type){
		case Complete: {
			trace("Load complete");
		}
		case Fail(er):
			switch (er)
            {
                case Format(info): trace("Could not parse xml: " + info);
                case IO(info): trace("Descriptor URL could not be reached: " + info);
                default: trace(er);
            }
		default: trace(e.type);
	}
}

}`

Right, I see that the HttpLoader base class doesn't know how to deal with local filesystem in nodejs context.

Can you try https://github.com/massiveinteractive/mloader/pull/28
It works when running under nodejs; not sure about Electron.

That no longer produces the original error but now mloader spits out -
 Local file does not exist: config.xml
If I remove hxnodejs from the list of libs everything works normal.

What do you mean by removing hxnodejs from the libs? The loader works without?
Is that as part UI-side of an Electron app? Is there documentation describing how to load local files in vanilla JS?

Yes to clarify.  If you use mloader in the Renderer (UI) side of Electron it works perfectly fine. We've been using it for a couple of years here.  But we're trying to add hxelectron externs which rely on hxnodejs.  Simply adding hxnodejs to the list of libs in the hxml produces the errors described above.  Sorry about the confusion, hopefully this clarifies things.

Does using haxe.Http work normally to load local files? Do you have a -D electron?

Using - D electron makes no difference.
When hxnodejs is added to list of libraries haxe.Http produces the same error I originally reported

events.js:182 Uncaught Error: connect ECONNREFUSED <IP_ADDRESS>:80
    at Object.exports._errnoException (util.js:1024)
    at exports._exceptionWithHostPort (util.js:1047)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1150)
exports._errnoException @ util.js:1024
exports._exceptionWithHostPort @ util.js:1047
afterConnect @ net.js:1150
events.js:182 Uncaught Error: socket hang up
    at createHangUpError (_http_client.js:345)
    at Socket.socketCloseListener (_http_client.js:377)
    at emitOne (events.js:120)
    at Socket.emit (events.js:210)
    at TCP._handle.close [as _onclose] (net.js:549)
createHangUpError @ _http_client.js:345
socketCloseListener @ _http_client.js:377
emitOne @ events.js:120
emit @ events.js:210
_handle.close @ net.js:549
events.js:182 Uncaught Error: socket hang up
    at createHangUpError (_http_client.js:345)
    at Socket.socketCloseListener (_http_client.js:377)
    at emitOne (events.js:120)
    at Socket.emit (events.js:210)
    at TCP._handle.close [as _onclose] (net.js:549)

When hxnodejs is removed from the list of libs then haxe.Http works perfectly fine.   So I guess this is more related to hxnodejs than mloader.  I'll raise an issue there.    I'll probably just link to this one.

Electron does not require it.  It works just fine- just like the browser, but if you want the compiler checks you need the externs and simply adding that lib breaks electron for whatever reason.     I figured that was better than rewriting the loading module since I like using mloader (and thus haxe.Http)

What compiler checks? Are you accessing some Node APIs?

No I'm not. That's the point. I'd like to but simply adding -lib hxnodejs to the project when using haxe.Http produces the error even if no Node APIs are called, just like the example code.


Hindi translation

Added Hindi translation for ex5 of IBM Quantum computing challenge 2021 ex5-Hi.ipynb

 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.

Sorry for the delay. Thank you very much for your submission!


xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership: Parameter "DatabaseName" should be case insensitive

Details of the scenario you tried and the problem that is occurring:
The property DatabaseName should not use a case-sensitive test to determine whether a database name matches the specified value or pattern.
The DSC configuration that is using the resource (as detailed as possible):
Configuration SampleConfig
{
    Import-DscResource -ModuleName xSQLServer -Name xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership

    Node localhost
    {
        xSQLServerAlwaysOnAvailabilityGroupDatabaseMembership 'TestAG-Database-Members'
        {
            AvailabilityGroupName = 'TestAG'
            BackupPath = 'C:\SQL\Backup'
            DatabaseName = 'MyDB'
            SQLInstanceName = 'MSSQLSERVER'
            SQLServer = 'localhost'
            Ensure = 'Present'
        }
    }
}

This configuration should match any combination of case for the name "MyDB". However, only database matching the exact case are considered.
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
Operating System:  Windows Server 2012 R2
PowerShell Version:  5.0
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
SQLPS (130)
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
<IP_ADDRESS>

Working this one.


My steam installation has only one library dir (Ubuntu 23.04)

Fixes a failing test that assumes more than one library dir

Yeah, I don't like that tests depend on contributors setting things up in a specific way. My plan for going forward is to allow for setting up a fake installation that the tests can run against


Fade visited giveaways - does not fade everything

Description
This feature does not fade every giveaway. It doesn't work for example for GA with multiple copies and it also doesn't work for the "We Happy Few - Season Pass" (don't know why)
Steps to Reproduce
0. https://www.steamgifts.com/account/settings/profile?esgst=settings&id=gdttt_g

Activate the setting
Visit a GA with multiple copies on mainpage.
Go back to main page.
GA is not faded

Expected Behavior
A clear and concise description of what you expected to happen.
Console Errors
None
Screenshots

System (please complete the following information):

ESGST Version: Extension v8.7.2,
Browser + Version: Chrome Version 83.0.4103.44 (official Build) beta (64-Bit)

i also noticed that te fading doesnt work in bookmarks and in the GA extractor.
if you enter a GA inside the bookmarks/extractor it fades correctly. but if you refresh the page the fading is gone

NOTICE: This repository has been moved to GitLab. You'll find your issue at https://gitlab.com/rafaelgssa/esgst/-/issues/1593


Modify projects config so they run on different ports

One of the reasons we can't run e2e tests locally is that all projects are running on the same ports, so in this ticket, I'll work to change that.
I'll also create a new script that will target those different ports in the hope of running playwright tests locally.

@AMBacelar tried this as part of #8798 so I'll close this one as duplicate.


Security.md recommendation

Dear HashenUdara!
Based on Github Recommendation, please add a Security.md file to be able to contact you with details of discovered vulnerabilities of your application.
Thanks for your cooperation!
Looking forward to hearing from you!

I will do it as soon as possible


High CPU usage and unresponsive on raspberry pi

Running version 2.0.8
After about an hour or so of running perfectly on my raspberry pi with pihole, the dnscrypt-proxy process will spike to 100% cpu and refuse to resolve addresses until I restart the service. I ran an strace and see these messages scrolling rapidly:

clock_gettime(CLOCK_MONOTONIC, {tv_sec=167746, tv_nsec=153292986}) = 0
futex(0x1112d4d0, FUTEX_WAKE, 1)        = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167746, tv_nsec=156834847}) = 0
futex(0x60bf14, FUTEX_WAIT, 0, {tv_sec=1, tv_nsec=680652141}) = -1 ETIMEDOUT (Connection timed out)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167747, tv_nsec=839275881}) = 0
futex(0x609ab0, FUTEX_WAKE, 1)          = 1
futex(0x609a28, FUTEX_WAKE, 1)          = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167747, tv_nsec=843012735}) = 0
futex(0x1112d4d0, FUTEX_WAKE, 1)        = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167747, tv_nsec=845718629}) = 0
futex(0x60bf14, FUTEX_WAIT, 0, {tv_sec=3, tv_nsec=312564161}) = 0
futex(0x609ab0, FUTEX_WAKE, 1)          = 1
futex(0x609a28, FUTEX_WAKE, 1)          = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167748, tv_nsec=462146459}) = 0
futex(0x1112d4d0, FUTEX_WAKE, 1)        = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167748, tv_nsec=466667282}) = 0
futex(0x60bf14, FUTEX_WAIT, 0, {tv_sec=2, tv_nsec=482891670}) = -1 ETIMEDOUT (Connection timed out)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167750, tv_nsec=953857759}) = 0
futex(0x609ab0, FUTEX_WAKE, 1)          = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167750, tv_nsec=957305624}) = 0
futex(0x1112d4d0, FUTEX_WAKE, 1)        = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167750, tv_nsec=960209510}) = 0
futex(0x60bf14, FUTEX_WAIT, 0, {tv_sec=0, tv_nsec=198271272}) = -1 ETIMEDOUT (Connection timed out)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167751, tv_nsec=159614691}) = 0
futex(0x609ab0, FUTEX_WAKE, 1)          = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167751, tv_nsec=161604613}) = 0
futex(0x1112d4d0, FUTEX_WAKE, 1)        = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167751, tv_nsec=163297547}) = 0
futex(0x60bf14, FUTEX_WAIT, 0, {tv_sec=1, tv_nsec=683545038}) = -1 ETIMEDOUT (Connection timed out)
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167752, tv_nsec=848639462}) = 0
futex(0x609ab0, FUTEX_WAKE, 1)          = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167752, tv_nsec=851593346}) = 0
futex(0x1112d4d0, FUTEX_WAKE, 1)        = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=167752, tv_nsec=854350238}) = 0

Any idea why this might be happening?

[2018-04-04 13:40:40] [INFO] Server [cloudflare] returned error code [2] -- It might be experiencing upstream connectivity issues

This may be the root cause.
We got proper responses from the server, but 2 stands for SERVFAIL, i.e. the server responded but with an error.
I can reliably reproduce this just by sending more than 3 queries in a row on the same connection.
The number of maximum connections configured in the proxy is unrelated.
I suspect Cloudflare to be heavily rate limiting, or to enforce a cap of 3 in-flight queries on a single connection.
Just reported this to a friend working on Cloudflare DNS.

dnscrypt-proxy closes the connection and temporarily switches to other servers (if there are more configured) when it starts receiving this kind of error.
It should probably wait a little bit before overreacting to that kind of response code, especially since this doesn't necessarily implies that the server is overloaded.
Gonna try to improve this for the next version.
Meanwhile, in proxy.go, you can replace
        if rcode := Rcode(response); rcode == 2 || rcode == 5 { // SERVFAIL // REFUSED

with
        if rcode := Rcode(response); rcode == 5 {  // REFUSED

Modifying proxy.go with your fix did help a little. It no longer spikes on my wife's VPN, but I can still get it to spike using mine. It will go back down to 0% usage a few minutes after I disconnect. I'm still unable to resolve queries during the CPU spike.
I wonder if it is related to #315 in that the HTTPS overhead is too high for the Pi. I don't have any CPU or resolving issues if I forgo using dnscrypt-proxy

ev-us2 uses the DNSCrypt protocol, which is always faster and requires less CPU than DoH.
With Cloudflare, it will be mitigated once Go merges support for TLS 1.3, that supports 0RTT reconnections.

There is something new for you in the configuration file:
## DoH: Use a specific cipher suite
## 49199 = TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
## 49195 = TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
## 52392 = TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305
## 52393 = TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305

### On non-Intel systems such as Raspberry Pi and other ARM systems, the following is recommended
### Everybody else should not set this parameter, and just use the default suite.

# tls_cipher_suite = [52392, 49199]

Same here with dnscrypt-proxy 2.0.9b2

[INFO] Server [cloudflare] returned error code [2] -- It might be experiencing upstream connectivity issues
[INFO] Server [cloudflare-ipv6] returned error code [2] -- It might be experiencing upstream connectivity issues


Fix translation

Thank you!

@DokuKaefer @AdSchellevis Fix was broken, please take more care next time :)

@fichtner oops, I totally missed that one...


Updates BEAM_CONTAINER_VERSION to 2.2.0.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @aaltay

LGTM, thank you

Run Python PostCommit

Retest this please.

Retest this please

Changes Unknown when pulling cc7b4da2f88c0e5fdfc27c0588d0cc66a489a928 on chamikaramj:update_container_version_2 into ** on apache:master**.


Have multiple developer working on the same project

Hi,
I have been trying to utilize abapGit to make it possible for multiple people to work on the same codebase concurrently and merge later. What I have tried is:

Create mulitple subpackges within the same packge
Clone the project into each of the individual subpackage
Doing so creates multiple copies within the SAP system thus allowing multiple people making edits.
However it seems that the package name is also attached to the repo, as only the most recent clone is viewable, all the previous attempts complains that the package name (shows as the subpackage of the most recent try) is unexpected.
Is there ways to get around this so I can sync the same project under different package names? Or alternatively is there other ways we could have multiple developer making edit to the same project, on one SAP server?
Thank you.

One program can only exist once in a ABAP system, this is a restriction in the kernel which abapGit does not solve.
In the 2nd screenshot program "ZDEV2TEST" occurs twice, however this should not be possible due to the structure in SAP. Try refreshing the package contents

I see, so the only way to have multiple developers working on the same program is to sync two copies on two different SAP servers?

I see, so the only way to have multiple developers working on the same program is to sync two copies on two different SAP servers?

Yes, at least to my knowledge. You could try to use docker... See https://github.com/tobiashofmann/sap-nw-abap-docker . Then, each developer could have their own docker instance

yes, this is a restriction in the ABAP kernel
This guy have some ideas on a workaround, see https://people.sap.com/jrg.krause#content:blog_posts however it is a lot of work

I see, thank you for the information.


fixed Menu prop is not documented, only works with MenuSurface

RMWC or MDC?
RMWC
Bugs
What RMWC Version are you using?
1.9.2
What browser(s) and React Version is this bug affecting?
any
What build system are you using?
webpack
What are the steps to reproduce the bug?
<MenuSurfaceAnchor>
  <Menu
    fixed=true
    open=true
  >
    <MenuItem>Cookies</MenuItem>
    <MenuItem>Pizza</MenuItem>
    <MenuItem>Icecream</MenuItem>
  </Menu>
</MenuSurfaceAnchor>

What is the expected behavior?
mdc-menu-surface--fixed class must be applied when fixed is true.
What is the actual behavior?
mdc-menu-surface--fixed is not applied to Menu component (but is applied to MenuSurface component).
Any other information you believe would be useful?
Menu's source code has the following code for the MenuSurfaceRoot component:
var MenuSurfaceRoot = exports.MenuSurfaceRoot = (0, _Base.simpleTag)({
  displayName: 'MenuSurfaceRoot',
  classNames: function classNames(props) {
    return ['mdc-menu-surface', {
      'mdc-menu-surface--fixed': props.fixed
    }];

but MenuRoot does not handle fixed:
var MenuRoot = exports.MenuRoot = (0, _Base.simpleTag)({
  displayName: 'MenuRoot',
  classNames: function classNames(props) {
    return ['mdc-menu', 'mdc-menu-surface'];
  },
  defaultProps: {
    tabIndex: '-1'
  }
});

Cool! Thank you!

Will be out in a patch today @cyberhuman. Look for 1.9.3


BALL MOVEMENT IN A MAZE!

PR Description 📜
INTRODUCTION - Tilting Maze is an exciting and challenging game that tests your dexterity and problem-solving skills.
OBJECTIVES -
The objective of a Tilting Maze game is to successfully navigate a ball or object through a maze by tilting the device to control its movement. The specific objectives can vary between different games, but they generally fall into the following categories:
Reach the Exit: The primary objective in many Tilting Maze games is to guide the ball from the starting point to the designated exit point of the maze. This requires carefully maneuvering through pathways, avoiding obstacles, and making strategic decisions to find the correct route.
Collect Items: Some Tilting Maze games introduce additional objectives where the player must collect specific items scattered throughout the maze. These items could be keys, gems, coins, or any other collectibles. The player needs to navigate the maze to find and gather all the required items before reaching the exit.
BEHIND LOGIC -
The logic behind a Tilting Maze game involves several key elements:

Accelerometer/Gyroscope Input
Physics Simulation
Maze Generation Algorithm
Collision Detection
Game Objectives and Rules

Fixes # <266>

Mark the task you have completed ✅

[ x ] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[ x ] I have performed a self-review of my own code or work.
[ x ] I have commented my code, particularly in hard-to-understand areas.
[ x ] My changes generates no new warnings.
[ x ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ x ] I have added screenshot for website preview in assets/images
[ x ] I have added entries for my game in main README.md
[ x  ] I have added README.md in my folder .
[ x ] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
Link- [https://drive.google.com/file/d/1jvpdgXAcTwrsb7f7THUFXAiUcZ16MIDy/view?usp=sharing]

Thank you soo much for contributing to our repository 💗

Thank you @jshobhit11 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @jshobhit11 👋!
@kunjgit here,
We have this annoucement to make 📢!!
During the time of PR don't alter main index file ! 🙂
In main Readme file just use * as a game number during the time we are merging we will add number !! 👀
Make sure you join our Discord🕹 if you haven't 😇
Thank you 💗!

Follow proper documentation and then raise a pull request you have to add image and also you have to make your game entry and also you have to make sure you tag issue  properly

Thank you  @jshobhit11 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

I have Updated the Proper Documentation and also mention Game Entry!
Please review it again!


using pubsubclient for connect to adafruit io

In Adafruit io tell that pubsubclient work whit its plataform of mqtt, https://learn.adafruit.com/adafruit-io/arduino but when I try cnonnect I recibe a error, failed, rc=5 , I am using the arduino due and the ethernet shield R3, an the code like this:
#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>

#define ADAFRUIT_USERNAME           "xxxxx"
#define AIO_KEY                     "xxxxtxxtxtxtxtxtxtxtx"
#define FEED_PATH1                   "xxxxxx/feeds/onoff1/"
#define FEED_PATH2                   "xxxxxxx∕feeds∕onoff2/"

void callback (char* topic, byte* payload, unsigned int length) {
  Serial.println(topic);
  Serial.write(payload, length);
  Serial.println("");
}

byte mac[] = {0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX};
byte ip[] = {192, 168, 10, 200};
EthernetClient ethClient;
PubSubClient mqttclient("io.adafruit.com", 1883, callback, ethClient);

void reconnect() {

  mqttclient.connect(ADAFRUIT_USERNAME, AIO_KEY, "");

  while (!mqttclient.connected()) {
    Serial.print("Attempting MQTT connection...");
    Serial.print(mqttclient.connected());
    if (mqttclient.connect(ADAFRUIT_USERNAME, AIO_KEY, "")) {
      Serial.println("MQTT Connected Adafruit");
      mqttclient.subscribe(FEED_PATH1);
      Serial.print("Suscrito a ");
      Serial.println(FEED_PATH1);
      mqttclient.subscribe(FEED_PATH2);
      Serial.print("Suscrito a ");
      Serial.println(FEED_PATH2);

    } else {
      Serial.print("failed, rc=");
      Serial.print(mqttclient.state());
      Serial.println(" try again in 5 seconds");
      delay(5000);
    }
  }

}

void setup(void)
{

  Serial.begin(115200);
  Serial.println("Iniciando....");
  Serial.println("Iniciando modulo ethernet");

  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    while(Ethernet.begin(mac) == 0){
      delay(200);
    }
  }
  delay(2000); //give the ethernet a second to initialize
  Serial.print("IP: ");
  Serial.println(Ethernet.localIP());

}

void loop(void) {

  if (!mqttclient.connected()) {
    reconnect();
  }
  mqttclient.loop();
  delay(250);
}

mqttclient.connect(ADAFRUIT_USERNAME, AIO_KEY, ""); is ok?

now I change
mqttclient.connect(ADAFRUIT_USERNAME, AIO_KEY, "");
to
mqttclient.connect("", ADAFRUIT_USERNAME, AIO_KEY, "");
but now  show error failed, rc=6 and this error no exist in the list!

int - the client state, which can take the following values (constants defined in PubSubClient.h):
-4 : MQTT_CONNECTION_TIMEOUT - the server didn't respond within the keepalive time
-3 : MQTT_CONNECTION_LOST - the network connection was broken
-2 : MQTT_CONNECT_FAILED - the network connection failed
-1 : MQTT_DISCONNECTED - the client is disconnected cleanly
0 : MQTT_CONNECTED - the cient is connected
1 : MQTT_CONNECT_BAD_PROTOCOL - the server doesn't support the requested version of MQTT
2 : MQTT_CONNECT_BAD_CLIENT_ID - the server rejected the client identifier
3 : MQTT_CONNECT_UNAVAILABLE - the server was unable to accept the connection
4 : MQTT_CONNECT_BAD_CREDENTIALS - the username/password were rejected
5 : MQTT_CONNECT_UNAUTHORIZED - the client was not authorized to connect

The 6 will be coming from the adafruit broker, not the client. You should check their docs for what that means as it isn't a standard MQTT return code and may identify a broker specific issue with your connection.


Add yarn (cli tool)

https://yarnpkg.com
Yarn is a command line tool for fast, secure dependency management of packages defined in a package.json file. It is a superior alternative to npm, the package manager bundled with node.

The official node:alpine image now includes yarn; closing this issue.


Change setup.py to use find_packages()

Description
As suggested by @jaimergp, this PR changes setup.py to use setuptools.find_packages() to automatically detect packages.
Status

[x] Ready to go

Closing this as a duplicate of a better one proposed by @jaimergp


Update index.md

Hey
I propose to make some changes in translation. Nevertheless, I am not living in Russia, but my mother language is Russian and I can see some not correct words/sentences. I am working as a business analyst alongside with APO, and it is my daily routine. I don't want to insult anyone, but from the translation seems that whoever translated it, he was using google.translate or something very similar.
Please let me know if you need any help with other translations.
I am not a regular user of GitHub (as I am not a developer yet and don't know for sure how it works) so if you want to contact me, please send to me email<EMAIL_ADDRESS>

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

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

@ArturasLT578 Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you.

We are restructuring a lot of the code and learning resources referenced in your pull request, so for now I am going to go ahead and close this pull request. Thanks again for opening this pull request and for contributing to the community.


  They will just turn back on at random.

Having the same issue :/

Same with Philips Hue integration lights.

Did this always happen or only since recent updates?

I would say within the last 5–7 days.

The latest update was 25 days ago.
Are you saying that this started happening since you updated Adaptive Lighting from an older version to the current version? Or has this always happened?
One thing is that if you are using Zigbee groups, this problem is more likely to occur.

It's quite possible it was 25 days ago. due to my job, I don't really have a good perception of time (long story) but it is interesting that you say Zigbee device groups could affect this as there is one light that is a Zigbee light but not in a group as such. Just a stand-alone light. I'll try taking it out of the adaptive lighting and see if it makes a difference tonight

I took it out of the group and restarted it and it didn't work:

I've been having the exact same issue (Sengled bulbs). It's been happening to me for a very long time, so it's nothing new with the latest release of AL.
I've uninstalled AL and the bulbs go off when requested and, more importantly, stay off.

I reverted to 1.0.19 a few days ago and did not observe the behavior since

@dkitsov, that is great to know!
That means that the problem must have been introduced in some of this code: https://github.com/basnijholt/adaptive-lighting/compare/1.0.19...1.1.0
Could someone else verify that using 1.0.19 solves the issue described here?

Just saw this. I've installed 1.0.19 and will do some testing, but I'm not holding out hope. I was previously on 1.0.15 (I think) and it wasn't working for me. Maybe it was fixed in .0.19 and broken again by .1.0

The "real" problem is not with Adaptive Lighting I think. The lights are probably reporting to Home Assistant that they are briefly on after they are turned off.

Three different brands of bulbs for three different users.
My bulbs work fine when they're not assigned in the AL integration (either as a group in the fixture or individually).
It is working in 1.0.19 (I turn them off and they stay off).

Is this not a duplicate of #246 ?
A few of us are stuck on 1.0.14 due to this bug.

Ah I am also experiencing this, where lights are randomly turning on. I will try a different version to see if the issue stops

1.0.19 seems to he working without the issue

As a work around I'm turning AL off in the script that turns lights off. Going to see if this prevents the error from occuring. Apparantly my living's light were all on last night while we were asleep.

I've only noticed this in the past month or so
On Tue, 27 Sept 2022, 13:24 Bas Nijholt, @.***> wrote:

Did this always happen or only since recent updates?
—
Reply to this email directly, view it on GitHub
https://github.com/basnijholt/adaptive-lighting/issues/343#issuecomment-1258935383,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5UBEDDHLRFDTHXJQVZPYTWAJVXTANCNFSM6AAAAAAQT27Y64
.
You are receiving this because you authored the thread.Message ID:
@.***>

As others have mentioned, this has been an ongoing issue in my experience as well. Im pretty sure its related to #246, but all of my automations regarding lights have to turn off Adaptive Lighting because of this. It was the only/best solution Id found at the time of noticing the behavior and trying to get it fixed. It'd be nice to have it fixed, but I may try rolling back to 1.0.14 if it doesn't have the issue as badco-nz implied.
All of my lights are Philips Hue going through the Hue Bridge

I updated to 1.2.1 a couple of days ago and have not had issues with lights turning back on when I manually turn them off.
I don't think there was any intentional effort made, but maybe, just maybe this has been resolved. I would suggest that others update and test out this latest release. Maybe I've gotten lucky, maybe it's actually fixed.

Interestingly it started happening for me now. But only after updating the firmware of my Shelly Dimmers.
I investigated and what happens is that the dimmer reports to HA that it is on (while it is not). Adaptive Lighting acts by changing the lights to the right color because it has just been turned on.

This seems to have gotten worse for over the past 2 weeks or so (I assume due to upgrading 1.2.1). It initially started happening for me (and driving my wife crazy) when I migrated from deCONZ to ZHA.

Ha! Serves ya' right!!!! LOL
No, just kidding... I have a couple of Shelly 1, but no dimmers. This only happens to me on my Zigbee bulbs. Again, though, I was having no issues with it on 1.0.19, updated to 1.2.1 and still am not having issues.
Having other issues with light temp not matching between two sets of bulbs, both controlled by AL, but that's a different issue that I'll have to document thoroughly...

What can we do, as users, to help troubleshoot this?
I've been following along for a while, and there seems to be no solution in sight. Are there logs or something we can provide?

Yes the debugging logs would be super helpful.

That is truly the only way that I can debug this. I would need to see what the locks say exactly when the lights turned on. Please post the logs from when it happened and just before it.
See https://github.com/basnijholt/adaptive-lighting/blob/master/README.md#having-problems

This is actually a duplicate of #10. I will post my findings there.


ISPN-8944 Maven profile traceTests no longer works

https://issues.jboss.org/browse/ISPN-8944

Fix the log4j2 config in the traceTests profile
Split trace log into one file per test

Added a custom purge policy.
Updated bin/filter_failed_logs.sh to take a failures log as an argument and move/rename the logs of the failed tests with a prefix.

@tristantarrant I found a way to change the GZipOutputStream compression level to 3, which should be 2x faster according to http://java-performance.info/performance-general-compression/. The file size should be ~ 30% bigger than with level 6, but fortunately I found that changing syncFlush from true to false more than made up for that.
I also did some experiments with no compression and with LZ4, and the run time was about the same (actually a bit higher with LZ4, but I only ran it once). So I think it's best to stick with gzip for now.


Fix: generated SQL using new cast() (needed for pgsql reg* columns)

Fix for generated queries for example for these cases:

context menu above table -> Generate SQL -> INSERT
context menu above row(s) -> Advanced Copy -> Copy As SQL

[build on / using #7946]

Please update your codebase, I've changed API a bit (cast->getTypeCastClause)

@serge-rider: And did you already rename cast() or should I update also sources from #7946 ? At this moment I don't see any changes of cast()...

It is already in the devel branch: https://github.com/dbeaver/dbeaver/blob/19c13f62f241da3cb024037ccbbfc4e0a610ebb6/plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/sql/SQLDialect.java#L264

@serge-rider: Sorry, I looked into branch master.. Code from this PR updated.


Simpler dark mode setup

Might be worth mentioning that with CSS variables you can get simple dark mode by replacing
.dark {
in the global CSS file (perhaps app/tailwind.css)
with
@media (prefers-color-scheme: dark) {
    :root {

and add the second closing brace below the variable names.
This doesn't require any React and works with server rendering (if you do want to upgrade to having a theme switcher, revert this change).

Hi @xixixao, the .dark class is used to make it work with TailwindCSS since the darkMode is set to class in the tailwind.config.js. If you want you change it to media and use the snippet you provided instead of the class-based one.

@dan5py Since I couldn't find any description for darkMode: ['class'] in the documentation, are the only two options class and media for darkMode?

Yes, you can check the TailwindCSS Docs for further info.

Hey @dan5py, you only need to change the tailwind config’s “darkMode” if you’re using the dark: modifier, whereas I was suggesting an approach with CSS variables.

In that way every components would change when you change the color scheme. Using the dark: selector lets you decide whether a component should have dark mode or not.

Agree this is absolutely worth documenting on the site in the dark mode section, would have saved a lot of time to find this earlier. Perfect for people doing SSR or SSG because there will be no flicker as opposed to a fully JS impl that only runs on the front end

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Sometimes can not grab and move

Short description
I added the FloatingPanel in the FloatingPanel's ContentView.
In this case, I sometimes can not grab and move the FloatinPanel.
It works in a tracked TableView.
Expected behavior
It should be able to move with GrabberView and Header part.
Steps to reproduce
class FloatingContentViewController: UIViewController {

     override func viewDidLoad() {
        super.viewDidLoad()

        fpc = FloatingPanelController()

        let contentVC = SecondContentViewController()
        fpc.set(contentViewController: contentVC)

        fpc.track(scrollView: contentVC.tableView)

        fpc.addPanel(toParent: self)
       }
}

Environment
FloatinPanel 1.7.2
Xcode 11.2.1
Mac OS 10.15.1 Beta（19B77a)
Installation method
CocoaPods
I attach the URL of the video.
https://imgur.com/a/ouRC62n

I'm wondering why the grabber handle is above the white surface. The panel's pan gesture is only active on the FloatingPanelController.surfaceView. Do you modify contentInsets, containerMargin' or grabber handle position of the FloatingPanelSurfaceView`?

I'm sorry, I forgot to describe, but I'm setting ContanerMargins.
surfaceView.containerMargins = .init(top: 24.0, left: 0.0, bottom: view.safeAreaInsets.bottom, right: 0.0)

Ok, I got it. Then I tried to reproduce this in the Maps sample app with below patch, but it's working well. So I think other conditions causes this issue 🤔
diff --git a/Examples/Maps/Maps/ViewController.swift b/Examples/Maps/Maps/ViewController.swift
index 73ea5e1..c8c0a9d 100644
--- a/Examples/Maps/Maps/ViewController.swift
+++ b/Examples/Maps/Maps/ViewController.swift
@@ -27,6 +27,7 @@ class ViewController: UIViewController, MKMapViewDelegate, UISearchBarDelegate,
             fpc.surfaceView.cornerRadius = 0.0
         }
         fpc.surfaceView.shadowHidden = false
+        fpc.surfaceView.containerMargins = UIEdgeInsets(top: 44.0, left: 0.0, bottom: 0.0, right: 0.0)

         searchVC = storyboard?.instantiateViewController(withIdentifier: "SearchPanel") as? SearchPanelViewController

I created a repository where the problem happens.
It happens from time to time.
I would be grateful if you could point out any implementation issues🙇♂
https://github.com/kohei1218/FloatingPanelSample

@kohei1218 Thank you so much for your work. That's helpful and finally I acknowledged this issue. I appreciate it.
I took a look at the problem, it looked that the pan gesture recognizer of the second panel sometimes doesn't work well because of both of the failure requirement and the captured are.
This should be same as #308. I will try to fix it.

I confirm this issue is fixed on fix-2nd-panel-pan-gesture branch! Could you try it?

It works great!!🙏
Thanks for the wonderful library.
When will this fix be released?

Glad to hear that 🎉  I've added a sample code based on your nice sample for this case.
So I'm going to release it until next weekend 👍

I've released v1.7.3 now. So I close this issue. Thank you for your contribution 👍

Thank you so much for the quick fix!!!!!
And thanks for the wonderful library👍


Added antlr exception for testng

attempting to fix #63

Current coverage is 72.68% (diff: 100%)

Merging #64 into master will decrease coverage by 0.15%

@@             master        #64   diff @@
==========================================
  Files            27         27
  Lines           637        637
  Methods           0          0
  Messages          0          0
  Branches         82         82
==========================================
- Hits            464        463     -1
- Misses          143        144     +1
  Partials         30         30

Powered by Codecov. Last update a036ede...5c6aa5e


Not possible to install using manifest link.

The zip also seems to lack parent folder name.

I can install it using the link in the release.

Where are you finding the manifest link, what is the link, and what happens when you try?


can't load agent ValueError: when compiling inner function

Hi,
I tried to run interaction.py and got this error when loading the agents
Traceback (most recent call last):
File "interact.py", line 132, in
name=params['model_name'])
File "/srv/users/X/KB-InfoBot/deep_dialog/agents/agent_simpleRL_allact.py", line 47, in init
ment=ment)
File "/srv/users/X/KB-InfoBot/deep_dialog/agents/agent_rl.py", line 58, in _init_model
pol_out = L.get_output(l_pol_rnn)[:,-1,:]
File "/srv/users/X/ret-env/local/lib/python2.7/site-packages/lasagne/layers/helper.py", line 185, in get_output
all_outputs[layer] = layer.get_output_for(layer_inputs, **kwargs)
File "/srv/users/X/ret-env/local/lib/python2.7/site-packages/lasagne/layers/recurrent.py", line 1407, in get_output_for
strict=True)[0]
File "/srv/users/X/ret-env/local/lib/python2.7/site-packages/theano/scan_module/scan.py", line 1041, in scan
scan_outs = local_op(*scan_inputs)
File "/srv/users/X/ret-env/local/lib/python2.7/site-packages/theano/gof/op.py", line 611, in call
node = self.make_node(*inputs, **kwargs)
File "/srv/users/X/ret-env/local/lib/python2.7/site-packages/theano/scan_module/scan_op.py", line 538, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 2) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.
`
I checked my Theano setting, and the configuration is already floatX=float32.
the instruction was displayed fine, the error was only after. how do I fixed this?

Can you try passing the floatX flag explicitly while running the command:
THEANO_FLAGS=device=cpu,floatX=float32 python interact.py

If this doesn't work, try updating your theano and lasagne versions to bleeding edge (instructions here).

ok it works. thanks @bdhingra

I tried to use the command you said but I still get the same error reports. @bdhingra


[BUG] Impossible to prebuild w/o having at least one gpu

Describe the bug
The goal is to cross-compile on a VM that has no GPUs for other VMs that have GPUs (preparing docker images for CIs). Currently the prebuilding fails.
To Reproduce
Steps to reproduce the behavior:
Normally when gpus are enabled all work., Now let's emulate no GPUs installed by adding CUDA_VISIBLE_DEVICES= and repeat the same prebuild command - and then it fails.
$ CUDA_VISIBLE_DEVICES= TORCH_CUDA_ARCH_LIST="6.1;8.0;8.6" DS_BUILD_CPU_ADAM=1 DS_BUILD_AIO=1  DS_BUILD_UTILS=1 pip install -e . --global-option="build_ext" --global-option="-j8" --no-cache -v --disable-pip-version-check 2>&1
WARNING: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
Using pip 22.0.4 from /home/stas/anaconda3/envs/py38-pt111/lib/python3.8/site-packages/pip (python 3.8)
Obtaining file:///mnt/nvme0/code/github/00optimize/deepspeed
  Preparing metadata (setup.py): started
  Running command python setup.py egg_info
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/mnt/nvme0/code/github/00optimize/deepspeed/setup.py", line 238, in <module>
      bf16_support = torch.cuda.is_bf16_supported()
    File "/home/stas/anaconda3/envs/py38-pt111/lib/python3.8/site-packages/torch/cuda/__init__.py", line 92, in is_bf16_supported
      return torch.cuda.get_device_properties(torch.cuda.current_device()).major >= 8 and cuda_maj_decide
    File "/home/stas/anaconda3/envs/py38-pt111/lib/python3.8/site-packages/torch/cuda/__init__.py", line 481, in current_device
      _lazy_init()
    File "/home/stas/anaconda3/envs/py38-pt111/lib/python3.8/site-packages/torch/cuda/__init__.py", line 216, in _lazy_init
      torch._C._cuda_init()
  RuntimeError: No CUDA GPUs are available
  No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.6'
  [WARNING] Torch did not find cuda available, if cross-compiling or running with cpu only you can ignore this message. Adding compute capability for Pascal, Volta, and Turing (compute capabilities 6.0, 6.1, 6.2)
  DS_BUILD_OPS=0
  Installed CUDA version 11.6 does not match the version torch was compiled with 11.5 but since the APIs are compatible, accepting this combination
  Install Ops={'cpu_adam': 1, 'cpu_adagrad': False, 'fused_adam': False, 'fused_lamb': False, 'sparse_attn': False, 'transformer': False, 'stochastic_transformer': False, 'async_io': 1, 'utils': 1, 'quantizer': False, 'transformer_inference': False}
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.

Expected behavior
I wonder if perhaps we need a new flag that tells the prebuild not to check if there is an actual GPU installed?
We are using TORCH_CUDA_ARCH_LIST to cross-compile for the target gpus.
ds_report output
JIT compiled ops requires ninja
ninja .................. [OKAY]
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
cpu_adam ............... [YES] ...... [OKAY]
cpu_adagrad ............ [NO] ....... [OKAY]
fused_adam ............. [NO] ....... [OKAY]
fused_lamb ............. [NO] ....... [OKAY]
sparse_attn ............ [NO] ....... [OKAY]
transformer ............ [NO] ....... [OKAY]
stochastic_transformer . [NO] ....... [OKAY]
async_io ............... [YES] ...... [OKAY]
utils .................. [YES] ...... [OKAY]
quantizer .............. [NO] ....... [OKAY]
transformer_inference .. [NO] ....... [OKAY]
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/home/stas/anaconda3/envs/py38-pt111/lib/python3.8/site-packages/torch']
torch version .................... 1.11.0+cu115
torch cuda version ............... 11.5
torch hip version ................ None
nvcc version ..................... 11.6
deepspeed install path ........... ['/mnt/nvme0/code/github/00optimize/deepspeed/deepspeed']
deepspeed info ................... 0.6.6+828ab718, 828ab718, master
deepspeed wheel compiled w. ...... torch 1.11, cuda 11.5

Screenshots
If applicable, add screenshots to help explain your problem.
System info (please complete the following information):

OS: [e.g. Ubuntu 21.10]
Python version 3.8

Thank you.
@jeffra
cc: @ydshieh, who originally reported this

So the problem comes from: torch.cuda.is_bf16_supported()
Do we have to run it during prebuild? e.g. this solves the problem
diff --git a/setup.py b/setup.py
index 4a0105f1..35ad747b 100755
--- a/setup.py
+++ b/setup.py
@@ -234,8 +234,8 @@ if torch_available and torch.version.cuda is not None:
         nccl_version = ".".join(str(torch.cuda.nccl.version())[:2])
     else:
         nccl_version = ".".join(map(str, torch.cuda.nccl.version()[:2]))
-    if hasattr(torch.cuda, 'is_bf16_supported'):
-        bf16_support = torch.cuda.is_bf16_supported()
+    # if hasattr(torch.cuda, 'is_bf16_supported'):
+    #     bf16_support = torch.cuda.is_bf16_supported()

Having this issue too is preventing me from building new containers based on the latest version.

This is preventing me from installing DeepSpeed, so I decided to pick it up.
Most of the contents of torch_info are obtained from the torch.version module, which is a version.py file that appears to be generated when the wheel is. DeepSpeed gets nccl_version from torch.cuda.nccl.version(), which appears to be decided at compile time: https://github.com/pytorch/pytorch/blob/55aa0b1a840e7bf5c53c8e457abf85ded92317eb/torch/csrc/cuda/nccl.cpp#L333-L344.
I agree that bf16_support is definitely the odd one out. The other variables do not change in a given PyTorch installation, but bf16_support depends on the hardware. I agree that it makes sense to decide at run time.
One way to stop torch.cuda.is_bf16_supported() from failing is to only run it if torch.cuda.is_available() is True. I will be releasing a PR soon with two commits: one that is the minimal version to get DeepSpeed installed and another that fully removes bf16_support from torch_info. If the second commit goes too far, it can be dropped before the PR is merged.
I just need to finish testing my changes to make sure they work.


Added definitions for "cors" and "tea-merge"

Thanks @mihhail-lapushkin !
Why cors isn't merged ?

I decide to merge! thanks.

Awesome, thank you. :+1:


No longer expose or display IDs

Description of change
Fixes https://github.com/meroxa/product/issues/225
depends on https://github.com/meroxa/meroxa-go/pull/105
Type of change

[ ]  New feature
[ ]  Bug fix
[x]  Refactor
[ ]  Documentation

How was this tested?

[x]  Unit Tests
[ ]  Tested in staging

Demo

before
after

Additional references

Documentation updated

I missed this bit in API (https://github.com/meroxa/platform-api/pull/982/files) which is causing the acceptance tests to fail.  I tested it in minikube.


use text nodes, not s, in support messaging

document.createTextNode()

i think we did this

⚠ COMMITS ARE CURRENTLY FAILING; STAND BY FOR UPDATES


Bring back the maxtime option

I remember using "-p maxtime=3600" to make sure my tests wouldn't run for more than 1 hour. It looks like the "maxtime" option got ripped out from YCSB.

Perhaps you're thinking of maxexecutiontime, which gives a max time in seconds for the benchmark to run?
Note that there is a known issue still wrt honoring the parameter:

Datastore drivers that lack timeouts may result in YCSB failing to honor the maxexecutiontime parameter. (see #618)

If there's still and issue with the referenced parameter please reopen.


AWS replace-vm does not honour IAM Roles

If you want to configure Ops Manager to use instance profiles rather an access key + secret key, you need to assign an IAM Role to the Ops Manager VM at creation time, so that it can pass the specified role to the BOSH machine it creates.
cliaas doesn't seem to apply the same IAM Role to a new Ops Manager instance created by replace-vm, resulting in broken pcf-pipelines (for example).

From what I can tell, ec2Client.DescribeInstances will return an IamInstanceProfile attribute, which could be grabbed by GetVMInfo and passed through to CreateVM for use in ec2.RunInstances? Unfortunately it's not a string... I could probably take a shot at a PR, but I'm pretty new to Go so it might be ugly!

Closing this issue as it's been delivered some time ago.


Will merge as-is


File model view

I added a view for models.File. It is similar to the Directory and Digest views.
Now, every file can be accessed with a unique id in the format "_file_<pk>", instead of a sha3 of its contents.
Solves #159

 Here's an example of what the API returns for a directory:
Before:
$ curl -L http://<IP_ADDRESS>:9990/snoop/collections/testdata/_directory_15/json

{
    "id": "_directory_15",

    ...

    "children": [{
        "id": "c0479bc7a3d445cab5e84c9e69275a77179f24562c727dd034b32e364c338c6d",
        "content_type": "message/rfc822",
        "filename": "broken-subject.eml"
    }],

    ...
}

After:
$ curl -L http://<IP_ADDRESS>:9990/snoop/collections/testdata/_directory_15/json

{
    "id": "_directory_15",

    ...

    "children": [{

        "id": "_file_7",
        "digest": "c0479bc7a3d445cab5e84c9e69275a77179f24562c727dd034b32e364c338c6d",
        "content_type": "message/rfc822",
        "filename": "broken-subject.eml"
    }],

    ...
}

As we can see, before, the sha3 was accessed through the "id" field. Now, it can be accessed through the "digest" field.
It's clear that when we only need the contents of the file, we do it through the "digest" field. But when we need other metadata (eg. absolute path), we should do it through the "id" field - and this hasn't been implemented yet on the client side.
There are still parts of the code that access the sha3 through the "id" field and only need the content of the file (eg. in hoover-ui). So, if this merge takes place, we should switch from "id" to "digest" in this cases, on the client side.
I think there are also places that don't need just the content of the file. They also need some metadata, like mentioned earlier,  but they still access the file through the sha3. Here, I think we should restructure how the client calls the API. They should rely on the File view instead of the Digest view. It think this approach should solve https://github.com/CRJI/EIC/issues/110

Technically, this solves https://github.com/CRJI/EIC/issues/110 and doesn't break the UI. But that's only because the File API replicates the Digest API.

merged in 0.12.0


When Kong rejects an mtls-auth CA certificate, link the error message to the plugin

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
When KIC (dbless) tries to sync an expired CA certificate for mtls, Kong rejects the update with HTTP 400 and the following error
time="2021-07-13T07:14:28Z" level=error msg="failed to update kong configuration: posting new config to /config: 400 Bad Request {\"fields\":{\"ca_certificates\":[{\"@entity\":[\"certificate expired, \\\"Not After\\\" time is in the past\"]},{\"@entity\":[\"certificate expired, \\\"Not After\\\" time is in the past\"]}],\"plugins\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{\"consumer\":{\"id\":\"missing primary key\"}}]},\"name\":\"invalid declarative configuration\",\"code\":14,\"message\":\"declarative config is invalid: {ca_certificates={{[\\\"@entity\\\"]={\\\"certificate expired, \\\\\\\"Not After\\\\\\\" time is in the past\\\"}},{[\\\"@entity\\\"]={\\\"certificate expired, \\\\\\\"Not After\\\\\\\" time is in the past\\\"}}},plugins={[18]={consumer={id=\\\"missing primary key\\\"}}}}\"}" component=controller
time="2021-07-13T07:14:28Z" level=error msg="failed to sync: posting new config to /config: 400 Bad Request {\"fields\":{\"ca_certificates\":[{\"@entity\":[\"certificate expired, \\\"Not After\\\" time is in the past\"]},{\"@entity\":[\"certificate expired, \\\"Not After\\\" time is in the past\"]}],\"plugins\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,{\"consumer\":{\"id\":\"missing primary key\"}}]},\"name\":\"invalid declarative configuration\",\"code\":14,\"message\":\"declarative config is invalid: {ca_certificates={{[\\\"@entity\\\"]={\\\"certificate expired, \\\\\\\"Not After\\\\\\\" time is in the past\\\"}},{[\\\"@entity\\\"]={\\\"certificate expired, \\\\\\\"Not After\\\\\\\" time is in the past\\\"}}},plugins={[18]={consumer={id=\\\"missing primary key\\\"}}}}\"}" component=sync-queue

Proposed Solution

Interpret Kong sync errors so as to link them back to the resources that caused trouble

The way I'm thinking is the following:

parser, when it creates resources in KongState stores a backreference to the k8s objects that resulted in the KongState object being created
when KIC tries to sync using either deck or /config, it gets feedback as to which specific resource in KongState failed to sync
~reporting flavor 1: when a KongState resource is known to have failed to sync, KIC prints a log line saying something like KongPlugin namespace/name failed to sync: <why>~
reporting flavor 2: KIC sets the status field of the resource in question to indicate an error

Additional information
Suggested approach: "flavor 2" as written up above.
Acceptance Criteria

[x] When CA certificate embedded in the CA certificate secret is expired, its synchronization to Kong is skipped and an appropriate message gets logged with the affected plugins listed
[x] KongPlugin has a warning event that indicates that the attached mtls-auth certificate has been rejected.

I prefer flavor 2, because when the it is set in status field, users can know the error happened directly from status of the resource.

IMHO, reporting flavor 2 might be a better solution for me since we can directly know that the KongPlugin resource is in a wrong status because of the expired CA certificate. I would implement in flavor 2.

I have prepared https://github.com/Kong/kubernetes-ingress-controller/pull/3063 as a first step to resolving this issue. It's ensuring CA cert validity in the parser, making it possible to skip the object's synchronization and log an error message with the affected plugins list (as was proposed in flavor 1 in the issue).

Given the CA certificate issues have been covered with warning events attached to the affected objects in https://github.com/Kong/kubernetes-ingress-controller/pull/3114, I think we can close this issue as done. I've changed the AC to not mention status updates, but events only for now.
Status updates are going to be added separately, probably not in the v2.8.0 release.


JsonResource.java:43-48: Continue making other Json...

The puzzle 114-bb7b9082 from #114 has to be resolved:
https://github.com/amihaiemil/docker-java-api/blob/ab0d78ec783de53306d63a66dd459598d58dc8c4/src/main/java/com/amihaiemil/docker/JsonResource.java#L43-L48
The puzzle was created by amihaiemil on 17-May-18.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@amihaiemil please pay attention to this new issue.

@amihaiemil/z please, pay attention to this issue


dev-guide: Mention distro support for ppc64le for rootfs creation

Fixes: #185
Signed-off-by: Nitesh Konkar<EMAIL_ADDRESS>

Nice, thanks!
lgtm


How to chage Inst instantiation in the parser to call ToCoverInst(which is a wrapper for AsmInst)

Hi Tareq, take a look to https://github.com/tareq97/swam/blob/1a74da08618feb727b38cfaa787f371272b0df49/runtime/src/swam/runtime/internals/instance/Instantiator.scala#L112 to line 118. This is how the memory instance is replaced by a wrapper if a tracer is declared in the Intantiator class. With the opcodes, it should be somehow the same.

Hi @Jacarte,
Committed the files related to coverage tool. Please find below commit links
https://github.com/tareq97/swam/commit/7d6af3db036b91111844660d4a112877bf0f66c1
https://github.com/tareq97/swam/commit/a7fe9cce28aac4f5f32da47f6231e1fa135f0a5f
The strategy used is as given below
                      Total no of executed Instruction for a function by Interpreter

coverage    =      ----------------------------------------------------------------------------- * 100
Total no of Instruction in function at compiled time
Currently, I have checked it only with fibo.sc. the results look as shown below.
scala> :load fibo.sc
scala> naive(1).unsafeRunSync()
scala> import coverage.Coverage._
import coverage.Coverage._
scala> displayCoverage
Coverage for Module Name : fibo , Function Name: naive , Covered Inst : 37.5/100
Coverage for Module Name : fibo , Function Name: inner , Covered Inst : 0.0/100
Coverage for Module Name : fibo , Function Name: clever , Covered Inst : 0.0/100

Perfect !, I will check it

Hi @tareq97
Try to merge with the Lucas repo master branch

Take a look at this https://github.com/Jacarte/swam/tree/feature/coverage branch examples

Hi @Jacarte,
Actually as per earlier suggestion i have taken the lastest repo updated it with changes you have checked in on Friday. I am trying to run the fibo.wat from the cli but getting error showed below. I am using  "sudo mill -i cli.run run --main naive --wat fibo.wat 1" command for the CLI. But getting below shown error in screenshot. Am I missing any arguments as such. Can u please let me know on which data file you have run the instrunction coverage. Sorry for the trouble.

Uhmm, the thing is that the called function is should have not arguments. For example, when you create a WASM with WASI arguments are read from libc WASI implementation and not passed through the main function call itself.

Hi @Jacarte ,
As per your guidance earlier made the changes to the code. Now trying to print everything in the  coverage.log file
78eaf5503a553e793e380e5982a82d5ca59cbc41
Attached log file generated for a few wasm_programs shared earlier. Kindly let me know the comments on the code.
coverage.log

Good work Tareq!
Now the next step is to annotate the log with the function names instead of the index.
Cheers

On 1 Jun 2020, at 08:45, Tareq Mohd Nazir<EMAIL_ADDRESS>wrote:
Hi @Jacarte https://github.com/Jacarte ,
As per your guidance earlier made the changes to the code. Now trying to print everything in the coverage.log file
78eaf55 https://github.com/tareq97/swam/commit/78eaf5503a553e793e380e5982a82d5ca59cbc41
Attached log file generated for a few wasm_programs shared earlier. Kindly let me know the comments on the code.
coverage.log https://github.com/tareq97/swam/files/4709763/coverage.log
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/tareq97/swam/issues/2#issuecomment-636644886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBD5W5QJYLUMVZAWY6SNO3RUNFA5ANCNFSM4MDT3K4Q.

Generated CSV file.
https://github.com/tareq97/swam/blob/master/Execute_HQ9%2B.ic.csv
Right now the files are created in the path of build.sc file. But I need to adapt the way you have created for tracer.


In service_manager, if tags of an association cannot be fetched, skip instead of error

What type of PR is this?
bug

Which issue does this PR fix:
In the scenario where

account A is managed by the lattice controller
account A shares a service to account B
account B associates this service to its own service network

Account A can be in a situation where does not have permissions to read the tags of that association
Therefore this results in an error during route reconciliation.
error during service synthesis failed ServiceManager.Upsert xxx due to NotFoundException: Resource was not found
	status code: 404, request id: a400c824-64e3-4694-94ce-1b5698e1ee35

What does this PR do / Why do we need it:
if the get tags of a service network association request fails, instead of erroring, skip deleting the association and log.
If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
see above scenario
Testing done on this change:

tested the fix in a staging environment (on top of most recent master) but open to suggestions on how test it via unit tests (looks like current tests don't touch on this scenario).
sample error message:
{"level":"warn","ts":"2024-02-26T01:47:25.568Z","logger":"controller.route","caller":"lattice/service_manager.go:232","msg":"skippin
g update associations  service: xxx, association:xxx, error: NotFoundException: Resource was not found\n\tstatus code: 404, request id: 086c
ba48-4421-4eda-bcae-c543acd81a85"}

Automation added to e2e:

Will this PR introduce any new dependencies?:
no
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
no, yes
Does this PR introduce any user-facing change?:

* fix reconciling lattice services that have service network associations created in a different account (via RAM)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@solmonk interesting. have not run into the same issue with vpc association but seems like the same issue. I will update the PR.

@solmonk @mikhail-aws @zijun726911
updated the PR, please take a look
some notes:

I was unable to reproduce the VPC problem. I do have my VPC association set up in another account, so I'm unsure why I'm not running into the same issue.  The controller has iam permissions for account A.
I tried checking for the error code but unfortunately it looks like getTags returns 404 NotFoundException which is different from ResourceNotFoundException which is already a static string in the vpclattice go sdk. For now I kept the err check and added a todo message. Alternatives would be to check against the status code 404 (but that's not exposed as part of awserr.Error) or to check for NotFoundException but temporarily define the string somewhere else. Please let me know what your preference is.

I was able to test the service association in my staging environment and saw the following error messages:
before while debugging (when inspecting the awserr.Error)
{"level":"error","ts":"2024-02-26T01:31:06.420Z","logger":"controller.route","caller":"lattice/service_manager.go:227","msg":"shulin
_was_here NotFoundException, %!w(*awserr.requestError=&{0xc01324f640 404 5cd0afde-496b-4343-abaa-e239df73eea7 []}), %!w(*awserr.requ
estError=&{0xc01324f640 404 5cd0afde-496b-4343-abaa-e239df73eea7 []})"}

after
{"level":"warn","ts":"2024-02-26T01:47:25.568Z","logger":"controller.route","caller":"lattice/service_manager.go:232","msg":"skippin
g update associations  service: lattice-tmapp-core-h-tmapp-core, association: arn:aws:vpc-lattice:us-west-2:253457385729:servicenetw
orkserviceassociation/snsa-0464504216e5b61d0, error: NotFoundException: Resource was not found\n\tstatus code: 404, request id: 086c
ba48-4421-4eda-bcae-c543acd81a85"}

@mikhail-aws @zijun726911 it seems the presubmit hook is stuck, any advice on how to fix it?

presubmit passed, will merge it

@zijun726911 We already created an internal build that includes this change. No rush on a release version.

I had to redact some fields from a comment I left earlier. Here is the comment:
some notes:
I was unable to reproduce the VPC problem. I do have my VPC association set up in another account, so I'm unsure why I'm not running into the same issue.  The controller has iam permissions for account A.
I tried checking for the error code but unfortunately it looks like getTags returns 404 NotFoundException which is different from ResourceNotFoundException which is already a static string in the vpclattice go sdk. For now I kept the err check and added a todo message. Alternatives would be to check against the status code 404 (but that's not exposed as part of awserr.Error) or to check for NotFoundException but temporarily define the string somewhere else. Please let me know what your preference is.
I was able to test the service association in my staging environment and saw the following error messages:
before while debugging (when inspecting the awserr.Error)
{"level":"error","ts":"2024-02-26T01:31:06.420Z","logger":"controller.route","caller":"lattice/service_manager.go:227","msg":"shulin
_was_here NotFoundException, %!w(*awserr.requestError=&{0xc01324f640 404 5cd0afde-496b-4343-abaa-e239df73eea7 []}), %!w(*awserr.requ
estError=&{0xc01324f640 404 5cd0afde-496b-4343-abaa-e239df73eea7 []})"}
after
{"level":"warn","ts":"2024-02-26T01:47:25.568Z","logger":"controller.route","caller":"lattice/service_manager.go:232","msg":"skippin
g update associations  service: REDACTED, association: REDACTED, error: NotFoundException: Resource was not found\n\tstatus code: 404, request id: 086c
ba48-4421-4eda-bcae-c543acd81a85"}


space-age: Add lightweight generics to foundation objects

See https://github.com/exercism/xobjective-c/issues/45

n/a


Add support to create a VM with a reference to an external SSH key for authentication

I want to create a linux VM where the SSH key is not generated by the module and has password authentication disabled
I am setting the following attributes (extract ...)

Getting the following error.
 # module.azure_virtual_machine["demo"].random_password.admin_password will be created
  + resource "random_password" "admin_password" {
      + bcrypt_hash      = (sensitive value)
      + id               = (known after apply)
      + length           = 22
      + lower            = true
      + min_lower        = 2
      + min_numeric      = 2
      + min_special      = 2
      + min_upper        = 2
      + number           = true
      + numeric          = true
      + override_special = "!#$%&()*+,-./:;<=>?@[]^_{|}~"
      + result           = (sensitive value)
      + special          = true
      + upper            = true
    }

Plan: 2 to add, 0 to change, 0 to destroy.
╷
│ Error: Missing required argument
│
│   with module.azure_virtual_machine["demo"].data.azurerm_key_vault_secret.admin_password[0],
│   on .terraform/modules/azure_virtual_machine/main.authentication.tf line 26, in data "azurerm_key_vault_secret" "admin_password":
│   26:   name         = var.admin_password_key_vault_secret_name
│
│ The argument "name" is required, but no definition was found.
╵
╷
│ Error: Missing required argument
│
│   with module.azure_virtual_machine["demo"].data.azurerm_key_vault_secret.admin_password[0],
│   on .terraform/modules/azure_virtual_machine/main.authentication.tf line 27, in data "azurerm_key_vault_secret" "admin_password":
│   27:   key_vault_id = var.admin_credential_key_vault_resource_id
│
│ The argument "key_vault_id" is required, but no definition was found.
╵

After analysing the main.authentication.tf it looks like the code does not support that scenario,
In that scenario, the random_password.admin_password should not be called either.

Thanks for catching this @LaurentLesle.  I'm working on a fix and will try to get it merged in the next few days.

Closing this issue as corrected in release v0.5.0.


MWPW-112433 Fetch Chart Data

Fetches chart data with basic processing
Outputs results in pre tag, to be replaced later with chart

Resolves: MWPW-112433
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/bmarshal/chart
After: https://fetch-chart-data--milo--adobecom.hlx.page/drafts/bmarshal/chart

@sanjayms01 @meganthecoder I'm not sure what the strategy is for testing, there's not much to test here since we don't have a chart yet so it would just be testing the processDataset function and that doesn't seem useful. I could check for the pre tag but then we would just have to change the test when we add the chart and I'm not sure how to mock the fetch request.


[WIP] High Voltage is only used by ui-classic and already depends on it

DEPENDS ON: https://github.com/ManageIQ/manageiq-ui-classic/pull/1396
:fire: :scissors:
/Users/joerafaniello/.gem/ruby/2.4.1/bundler/gems/manageiq-ui-classic-9f64aa7630d8/app/controllers/static_controller.rb:  include HighVoltage::StaticPage
See: https://github.com/ManageIQ/manageiq-ui-classic/blob/e810f4592f543070aad2f7befa09bca1a8bebf94/manageiq-ui-classic.gemspec#L29

ManageIQ/manageiq-ui-classic#1396 merged.  Removing wip label.


Automate xref maps generation

:sparkles: Add unity-xref-maps CI job https://github.com/NormandErwan/DocFxForUnity/commit/b8f06417991c240f5a3ec2d55308e427371a9966


Absent Refresh button in Custom Diagrams

Why did remove the Update and Save buttons on the toolbar, in the custom diagram window?
Hotkeys (ctrl+s, f5) still work, but this is not always convenient.
This is somehow related to problem issue /dbeaver-ee/issues/587. I have no access to this issue.
System information:

Operating system: Windows 10
DBeaver version: 21.3.2

@zuzzz Thank you for the report, it is indeed a bug, that occured during new feature implementation, we will fwork on that.

Please, track this issue here https://github.com/dbeaver/dbeaver/issues/13461. I'll close it as a duplicate.


Refactor to allow for mocking the Keypad

Keypad_mock has been created to start to allow for simulation of the device without running of of it. The test mode can be accessed from adding the command line argument -test:
python titration/titration.py -test
This will set the IS_TEST flag in constants.py to True. When interfaces.setup_interfaces() is run, setup_keypad() is called, which checks the status of IS_TEST. ui_keypad with be set to either the real class or mock class depending on whether IS_TEST is false or true respectively.
The mock class simply uses input() for getting input from the user. Any input that's not on the keypad will simply be ignored, making only 0-9 and A-D valid (case sensitive right now). The way input is currently handled is through two calls to ui_keypad.keypad_poll() in the interfaces.read_user_input() function. This is to detect both when the user presses a button and then releases the button  before accepting the input. To handle that for the mock, every other time the mock keypad_poll() is called, it will return None, which is what the real keypad_poll() returns when no buttons are pressed.


Can't open settings a second time

I installed this extension a few days ago, but when I went to set it up I forgot I had to walk to the bridge to hit the button as part of the setup process. I was about to go to sleep so I quit the setup process and planned to do it later. But now I'm getting the following crash:
The settings of extension<EMAIL_ADDRESS>had an error:
Error: Type name AddBridgeDialog is already registered

Stack trace:
registerGObjectType@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:542:50
registerWidgetType@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:92:39
_init/GObject.Object._classInit@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:515:33
_init/Gtk.Widget._classInit@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:75:31
registerClass@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:74:23
@/home/cam/.local/share/gnome-shell/extensions/hue-lights@chlumskyvaclav.gmail.com/prefs.js:59:33
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:129:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

Hi @ccope ! Thank you for reporting. Could you please share your Linux and gnome versions?
Could you also try to open dconf-editor and remove all in path: /org/gnome/shell/extensions/hue-lights/. Let me know if it helped.

I believe I know why it happened. A new version was released after your first attempt to add a bridge. Some objects from the previous version remain in the memory. I will maybe be able to change this behavior in general... I will investigate. For now, losing your session is the only way. I understand it is frustrating. I hope you will give a chance to this extension once you will relog:-).

I see, I figured maybe you could add some code to clean up incomplete setups. I did reboot yesterday and it works now though!

I am glad it finally works. It concerns more objects than just setup-related... I will not close this issue. It will serve as a reminder for investigation. Currently, the extension update usually needs user relog. I think I can see why now;-) Once I will have time, I would try to improve.

From what I checked, this is the gnome behavior. I can not fully resolve it. Sometimes it is necessary to relog on upgrade. I will close this now.


feat: Add<EMAIL_ADDRESS>

RMUTL has 2 email for student and teacher.
@rmutl.ac.th for teacher only
@live.rmutl.ac.th for Bachelor students and Vocational students

@mrwan200 I am sorry, the domain live.rmutl.ac.th is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Error while scrolling long directory

What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
foot
Did you try the latest main branch to see if the problem got fixed?
Tried, but the problem still
yazi --debug output

WARNING: `exec` will be deprecated in the next major version v0.3 and replaced by `run`.

Please replace all `exec = ...` with `run = ...`, in your `yazi.toml` and `keymap.toml`.

---
Add `disable_exec_warn = true` to your `yazi.toml` under `[headsup]` to suppress this warning.

Yazi
    yazi 0.2.4 (Arch Linux 2024-03-10)

Environment
    OS: linux-x86_64 (unix)
    Debug: false

Emulator
    Emulator.via_env: ("foot", "")
    Emulator.via_csi: Ok(Foot)
    Emulator.detect: Foot

Adaptor
    Adaptor.matches: Sixel

tmux
    TMUX: false

Zellij
    ZELLIJ_SESSION_NAME: None

Desktop
    XDG_SESSION_TYPE: Some("wayland")
    WAYLAND_DISPLAY: Some("wayland-1")
    DISPLAY: Some(":0")

Ueberzug
    Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

Describe the bug
crashing while scrolling log directories , shows  '<unknown>' has overflowed its stack                                      fatal runtime error: stack overflow
Expected Behavior
scrolling into next file
To Reproduce
scroll in a long directory
Configuration
No response
Anything else?
No response

How many items are in your directory?

120 items

Thank you for the report.
Could you please build Yazi in debug mode and upload the crash information, i.e., https://yazi-rs.github.io/docs/installation#build-from-source but without the --release flag?

builded from source, I think it works fine now
WARNING: `exec` will be deprecated in the next major version v0.3 and replaced by `run`.

Please replace all `exec = ...` with `run = ...`, in your `yazi.toml` and `keymap.toml`.

---
Add `disable_exec_warn = true` to your `yazi.toml` under `[headsup]` to suppress this warning.

Yazi
    yazi 0.2.4 (457c2a5 2024-03-13)

Environment
    OS: linux-x86_64 (unix)
    Debug: true

Emulator
    Emulator.via_env: ("foot", "")
    Emulator.via_csi: Ok(Foot)
    Emulator.detect: Foot

Adaptor
    Adaptor.matches: Sixel

tmux
    TMUX: false

Zellij
    ZELLIJ_SESSION_NAME: None

Desktop
    XDG_SESSION_TYPE: Some("wayland")
    WAYLAND_DISPLAY: Some("wayland-1")
    DISPLAY: Some(":0")

Ueberzug++
    Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: false

This issue only occurs in the pre-built binary for v0.2.4 and the latest main branch doesn't have this problem right?

Glad to hear the issue has gone in the latest main branch. Let me close this issue then


Wechaty with node server

Please make sure to check the following boxes creating your pull request, thank you very much!

[x] Add Blog Header, including title, author, image, categories, tags, etc.
For example:
---
title: Your Great Blog Title
author: your_github_id
categories: project
tags:
  - python
  - padlocal
image: /assets/2021/02-your-blog-slug/teaser.jpg
---

One line bio

Your blog post content Your blog post content
Your blog post content Your blog post content
Your blog post content Your blog post content

It will be easier to start drafting your post by using a existing post file as your template, for example, this one

[x] Keep all filenames lowercase, and use - to connect words instead of space. e.g. 2017-10-06-wechat-pc-impactor.md instead of 2017-10-06-WeChat PC Impactor.md

[x] Embed video/pdf from YouTube/Bilibili/local (if there's any) by using {% include iframe.html src="URL_or_PATH" %}. (Learn more about how to embed file/url in the post by reading this blog post

[x] Save photo to local before publishing, to a folder named by ${MONTH}-${YOUR_BLOG_SLUG}/ under /assets/2021/ directory.

[x] Select a beautiful and meaningful teaser image for your blog

[x] Create your contributor profile (if you are a first time contributor)
For excample:

jekyll/_contributors/lijiarui.md

---
name: Jiarui LI (李佳芮)
site: https://lijiarui.github.io
bio: 句子互动创始人 & CEO，微软人工智能最具价值专家 (AI MVP)
avatar: /jekyll/assets/contributors/lijiarui/avatar.png
email<EMAIL_ADDRESS>twitter: https://weibo.com/u/2175505900
---

Here is the example file:

lijiarui.md: https://github.com/wechaty/wechaty.js.org/blob/master/jekyll/_contributors/lijiarui.md
It will shown like this on wechaty website: https://wechaty.js.org/contributors/lijiarui/

To learn more about the contribute guideline, visit: https://wechaty.js.org/docs/contributor-program/

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: xiaowx2010:x: xiaowenxiangxiaowenxiang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for the sharing!
It seems that you are using an old version of Wechaty (v0.x instead of v1.x) with your blog post which is outdated.
Could you please update your article with Wechaty v1.x so that it can be more valuable for future readers?

Thank you very much for your contribution!
You are welcome to join Wechaty Contributor Program
1. Join Wechaty Organization

You've invited xiaowx2010 to Wechaty! They'll be receiving an email shortly. They can also visit https://github.com/wechaty to accept the invitation.

I have invited you to join our Wechaty GitHub Organization, please accept it by following the above message. (See also: wechaty/PMC#16)
2. Update Your Wechaty Contributor Profile

Please open Contributor Hall of Fame and add yourself to the end of the list, so that other contributors will know you better!
Please add yourself to our Website Contributors by creating a PR and refer to this PR link as well.

3. Join The Contributor Only WeChat Room
We also have a WeChat room for contributors only which can discuss Wechaty at a deeper level, you are welcome to join and if you are interested.
Please add @lijiarui wechat: ruirui_0914 and send her this pr link. She will invite you into Wechaty Contributor Room
Cheers!


Multiple Subscriptions Open Multiple Websockets

Describe the bug
Without any changes - after migrating to 1.0 the client will create multiple websockets for each subscription.
I have checked my client.ts code and the session and metadata does not change - I am not certain about the fetchParams - could using a different url for the websocket cause this?
const sub1 = graphql(`
    subscription Sub1($id: ID!) {
      sub1(id: $id) {
        id
        data
      }
    }
  `);
  $: raceUpdates.listen({ id: "variable" });

  const sub2 = graphql(`
    subscription Sub2($id: ID!) {
      sub2(id: $id) {
        id
        data
      }
    }
  `);
  $: runnerUpdates.listen({ id: "variable" });

Severity
serious, but I can work around it
Steps to Reproduce the Bug
Small reproduction: https://github.com/wattsjs/houdini-sub-debug
Reproduction
No response

Thanks for the reproduction! I'll take a look today 👍


Everything seems to have shifted by a couple of pixels at some point

I think after I made some changes to mat32.

I fixed this in the commits above; the problem was caused by a rounding error involving our TotalMargin and BoxSpace logic, and the solution was to round early whenever TotalMargin is used.


Iris: Add IrisWebsocketService

Checklist
General

[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I followed the coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[x] I documented the Java code using JavaDoc style.

Motivation and Context
 A service is needed to send an IrisMessage to the client over the websocket.

Description

-Added the IrisWebsocketService that can send an IrisMessage to the client over the websocket.
-Added a unit test to test this service
Steps for Testing

Review Progress

Performance Review

[ ] I confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[x] I confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test 1
[ ] Test 2

Test Coverage

Class/File
Line Coverage
Confirmation (assert/expect)

IrisWebsocketService.java
100%
✅

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-iris@af576e1). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@               Coverage Diff               @@
##             develop-iris    #6575   +/-   ##
===============================================
  Coverage                ?   80.54%
  Complexity              ?    13340
===============================================
  Files                   ?     2374
  Lines                   ?    90662
  Branches                ?    13360
===============================================
  Hits                    ?    73022
  Misses                  ?     9708
  Partials                ?     7932

Flag
Coverage Δ

client
76.51% <0.00%> (?)

server
85.02% <0.00%> (?)

Continue to review full report in Codecov by Sentry.

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


Fix sample rate for symphonia decoder

Resolves #379
Use the sample rate from the sample instead of the file metadata. Thanks @compenguy for finding the root cause.

I tested from the source branch, it works for me.


Generic Virtual Methods Hashtables

GVM dependency tracking analysis and GVM table building logic:
1) GenericVirtualMethodTableNode: Node that builds the GVM hashtable blob for GVMs on classes
2) InterfaceGenericVirtualMethodTableNode: Node that builds the GVM hashtable blob for GVMs on interfaces
3) MethodLdTokenNode: Analysis node that tracks dependencies of GVMs for derived types and variant interfaces
4) TypeGVMEntriesNode: Analysis node that scans an input type and computes the list of GVM entries that would be added to the hashtables. Also used to track dependencies of GVM table entries (ex: native layout signatures of methods).
Couple of additions to the typesystem:
1) New helper method to compute whether a type has generic virtual methods
2) Concrete constraints validation for types and methods.

@MichalStrehovsky @davidwrighton PTAL

Constraint validation should at minimum be a separate commit, but I would prefer a separate pull request. I can see a number of issues with it and I would prefer we don't lose focus due to the GVM changes:

ComputeTypeFlags on SignatureVariable doesn't look right. We need a better understanding about what's going on. ContainsGenericVariables is not used for anything right now and I've been meaning to delete it for a long time.
Special constraints are flags: you can have ReferenceTypeConstraint and DefaultConstructorConstraint at the same time. The code as proposed checks nothing in that case.
Nullable does not meet reference type constraints
We shouldn't intertwine the concept of constraint validation and general validation. E.g. List<void> is an invalid instantiation - not a failure to meet constraints of generic parameter 0.
Non-trivial typesystem code needs type system unit tests. At minimum, the constraint tests from the DynamicGenerics test should be ported to the type system unit test suite.
General purpose typesystem code should not have references to Canonical or RuntimeDetermined stuff. I would want to delete the constraint checking in src\System.Private.Reflection.Execution\src\Internal\Reflection\Execution\TypeLoader\ConstraintValidator.cs when this is checked in (and validate in the type loader), but the runtime type system doesn't include any of the .RuntimeDetermined.cs partial class files (because we don't need them). Constraint validation shouldn't rely on anything that's not in the Common directory of the TypeSystem.

Was this code ported from NUTC/reflection (so that we can compare it against that), or written from scratch?

I'll separate the constraints validation to a separate PR. You can ignore it from here.
This code is ported from NUTC.

In reply to: 273295123 [](ancestors = 273295123)

cc @yizhang82

:shipit:


Rust configuration

New features

New client module
Information struct is now a Message enumeration variant
Information no longer manages the region of responsibility
Configuration has been split into Configuration and NodeConfiguration
NodeConfiguration is an optional part of Configuration which holds server instance information
Fixed warnings in documentation (closes #106)

Note: exchange.rs contains commented code that will be either deleted or updated in further commits/PR
How to test
Nothing much to do other than checking that build, tests and benches runs correctly
In addition from previous PR also build the documentation to check it correctly does with no warnings

cargo clean
cargo build
cargo test
cargo bench
cargo doc --no-deps --open

@Hugues360 I made some changes since you first reviewed this PR, a quick review of the diff could be a good idea


ODB: OneDrive API does not report 'sharepoint links' when using /delta

Category

[ ] Question
[ ] Documentation issue
[X] Bug

Expected or Desired Behavior
When querying OneDrive API /delta or other applicable API's, SharePoint links should also be returned with viable data so that the links can be used and SharePoint Sites accessed
Observed Behavior
Consider the following OneDrive Business top folder structure:

When the following /delta query is called:
https://graph.microsoft.com/v1.0/drives/<driveId>/items/<itemId>/delta?select=id,name,eTag,cTag,deleted,file,folder,root,fileSystemInfo,remoteItem,parentReference,size

no SharePoint Link item is returned:
{
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/$metadata#Collection(driveItem)",
<EMAIL_ADDRESS>"https://graph.microsoft.com/v1.0/drives/b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd/items/01WIXGO5V6Y2GOREDACTED/delta?select=id%2cname%2ceTag%2ccTag%2cdeleted%2cfile%2cfolder%2croot%2cfileSystemInfo%2cremoteItem%2cparentReference%2csize&token=MzslMjM0OyUyMzE7Mzs0ZTQ3OTgyMi0xZjFkLTRhYjUtOGVjMi1hOWU0ZjUzMWYxYzA7NjM3NDY4NTYyMDc5MDAwMDAwOzEzMzY1NzY0OTslMjM7JTIzOyUyMzA",
	"value": [
		{
<EMAIL_ADDRESS>"#microsoft.graph.driveItem",
			"fileSystemInfo": {
				"createdDateTime": "2019-12-07T15:02:58Z",
				"lastModifiedDateTime": "2021-01-21T20:03:18Z"
			},
			"folder": {
				"childCount": 4
			},
			"id": "01WIXGO5V6Y2GOREDACTED",
			"name": "root",
			"parentReference": {
				"driveId": "b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd",
				"driveType": "business"
			},
			"root": {},
			"size":<PHONE_NUMBER>
		},
		{
<EMAIL_ADDRESS>"\"{46BEA6A6-4F2B-4031-BE63-3B6510A6A96B},1\"",
<EMAIL_ADDRESS>"#microsoft.graph.driveItem",
			"cTag": "\"c:{46BEA6A6-4F2B-4031-BE63-3B6510A6A96B},0\"",
			"eTag": "\"{46BEA6A6-4F2B-4031-BE63-3B6510A6A96B},1\"",
			"fileSystemInfo": {
				"createdDateTime": "2020-09-24T22:17:02Z",
				"lastModifiedDateTime": "2020-09-24T22:17:02Z"
			},
			"folder": {
				"childCount": 0
			},
			"id": "01WIXGO5VGU27EMK2PGFAL4YZ3MUIKNKLL",
			"name": "random_files",
			"parentReference": {
				"driveId": "b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd",
				"driveType": "business",
				"id": "01WIXGO5V6Y2GOREDACTED",
				"path": "/drives/b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd/root:"
			},
			"size": 184639808
		},
		{
<EMAIL_ADDRESS>"\"{A642CEB7-DB67-4E0B-BC06-C91A54BE5633},1\"",
<EMAIL_ADDRESS>"#microsoft.graph.driveItem",
			"cTag": "\"c:{A642CEB7-DB67-4E0B-BC06-C91A54BE5633},0\"",
			"eTag": "\"{A642CEB7-DB67-4E0B-BC06-C91A54BE5633},1\"",
			"fileSystemInfo": {
				"createdDateTime": "2020-09-24T22:17:53Z",
				"lastModifiedDateTime": "2020-09-24T22:17:53Z"
			},
			"folder": {
				"childCount": 0
			},
			"id": "01WIXGO5VXZZBKMZ63BNHLYBWJDJKL4VRT",
			"name": "random_images",
			"parentReference": {
				"driveId": "b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd",
				"driveType": "business",
				"id": "01WIXGO5V6Y2GOREDACTED",
				"path": "/drives/b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd/root:"
			},
			"size": 0
		},
		{
<EMAIL_ADDRESS>"\"{54CBF5F7-3668-495C-A890-A4493E87C5A7},1\"",
<EMAIL_ADDRESS>"#microsoft.graph.driveItem",
			"cTag": "\"c:{54CBF5F7-3668-495C-A890-A4493E87C5A7},0\"",
			"eTag": "\"{54CBF5F7-3668-495C-A890-A4493E87C5A7},1\"",
			"fileSystemInfo": {
				"createdDateTime": "2020-09-24T22:18:33Z",
				"lastModifiedDateTime": "2020-09-24T22:18:33Z"
			},
			"folder": {
				"childCount": 0
			},
			"id": "01WIXGO5XX6XFVI2BWLRE2REFEJE7IPRNH",
			"name": "random_videos",
			"parentReference": {
				"driveId": "b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd",
				"driveType": "business",
				"id": "01WIXGO5V6Y2GOREDACTED",
				"path": "/drives/b!bO8V7s9SSk6r7mWHpIjURotN33W1W2tEv3OXV_ReDaCtEd/root:"
			},
			"size": 0
		}
	]
}

Steps to Reproduce

Add a SharePoint link to 'My Files' using the 'Add shortcut to My files' function in OneDrive WebUI
Attempt to query OneDrive using /delta or other, and the newly created 'shortcut' to SharePoint drive is not available.

Thank you.
[ ]: http://aka.ms/onedrive-api-issues
[x]: http://aka.ms/onedrive-api-issues

@JeremyKelley
Are you able to provide some insight / analysis here regarding this API issue?

@JeremyKelley
Are you able to provide some insight / analysis here regarding this API issue?

Just want to make sure I'm understanding the question correctly (I think I read it wrong a few times and want to make sure I've got it right now).
When you call the delta query there's no item in the list that represents the "virtual" item that you created a link for in the target drive is that correct?

Just want to make sure I'm understanding the question correctly (I think I read it wrong a few times and want to make sure I've got it right now).
When you call the delta query there's no item in the list that represents the "virtual" item that you created a link for in the target drive is that correct?

@JeremyKelley
Correct - the 'link' as created on the OneDrive WebUI is not presented in any way via the API, thus, you cannot follow this link or item using the API, only a web browser.

@JeremyKelley
Correct - the 'link' as created on the OneDrive WebUI is not presented in any way via the API, thus, you cannot follow this link or item using the API, only a web browser.

@JeremyKelley
Any update here?

@JeremyKelley is this updated yet, so that @abraunegg can make an update to allow syncing of shared folders added via "Add Shortcut"? This would be an awesome feature and frankly it's really cumbersome on OneDrive to not be able to sync data shared among my collaborators without having to create a dedicated SharePoint library.

@JeremyKelley , @k-tsoi
Any update here?

@JeremyKelley @k-tsoi any update here? Strongly need this feature

Sharepoint share (specifically in my case Teams sync) is necessary because most organisations have a huge number of Teams (for example as an educator I have a Team for each class, for each research project etc.) Each Team has one or multiple shared folders which are currently important (say, purchasing documents for a project or submitted powerpoint files for a presentation). This list of folders may change over time, from semester to semester.
Currently one of the best ways to handle this (and the way recommended by my IT personnel) is to 'add shortcut to OneDrive' for relevant folders. These shortcuts can then be moved in the onedrive interface to produce a proper folder structure (grouping all my research student work in a folder for example). This works well as long as I'm using the web interface. However due to this not being exposed properly in the API, I'm not able to sync these files automatically to my main (Linux) machine.
Please update the API to support this feature ASAP.

@JeremyKelley , @k-tsoi , @microsoft
Any update on fixing the OneDrive API so that SharePoint Links, as created in the web browser, as visible and usable via the API ?

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.

Can you please try adding a prefer header to your request and see if that fixes your issue?
Prefer: Include-Feature=AddToOneDrive


tikv-ctl: Make error message of tikv-ctl scan more clear and accurate

Signed-off-by: yuqi1129<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #10962
Problem Summary:
What is changed and how it works?
Proposal: xxx
What's Changed:
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
None

@yuqi1129 it seems this message was changed along with a refactor https://github.com/tikv/tikv/commit/ea1499fef40cbb77669fbce0314a7a6e16dcc0fe, could you verify whether it is still valid; otherwise, we can close this one.

@tisonkun , I will verify this PR is valid or not , thanks

@tisonkun ，This problem have been fixed in the master, I close this PR


fix: typos in the new RDW

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

[x] it clear some of the tasks in #44845
[ ] it doesn't Close it

Nice catches ieahleen


custom-select shadow is not compatible with v4 shadows

as you can see, custom-select shadows on focus, is not compatible with v4 shadows. it's just like v3.x shadows when focusing on form-control s. even when both form-control and custom-select are using.
<select class="form-control custom-select">....</select>
<select class="custom-select">....</select>

You may try for yourself.

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.

This is a saved reply.

Duplicate of #25656.

Noting here that the first example is incorrect—don't mix those two classes—and that is likely a duplicate of the issues discussed across #25656.