Visual studio 2015 with TS 2.0 braces auto complication are not working

I installed vs 2015 update 3 and typescript 2.0

I have braces complition enabled

But int ts files braces complition still not working. I see this issue is closed #1484.

Can you confirm that you haven't enabled dev mode in Visual Studio, and what's the date modified of this file: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TypeScript\typescriptServices.js

Checked in a fix

@paulvanbrenk Cool :) Is it typescriptServices.js fix or visual studio itself? How I can get this update :) ?

@Anjmao This will be in the next release of TypeScript, it unfortunately required changes in the VS side of the code.


remainder='passthrough' fix for taxi demo

Last fix for this remainder='passthrough' series 😬

Task linked: DATA-101 fix saturn-cloud-examples taxi demo


Remove last reference to SummaryTracker

Fixes #3243
Also included another back-compat removal change needed in 0.34. It is a context reload compat test change needed as a result of hot-swap context removal by default. PR for back-compat change: #4765.

Going to hold this PR until 0.33 is released so that it goes into 0.34 instead.
Currently compatibility requirement is +/- 2 versions, and the original removal happened in 0.31.
Converting to a draft PR until then.

Going to hold this PR until 0.33 is released so that it goes into 0.34 instead.
Currently compatibility requirement is +/- 2 versions, and the original removal happened in 0.31.
Converting to a draft PR until then.

@arinwt can this go in now?

@arinwt can this go in now?


Couldn't reach

Describe the bug
Following command gives an ConnectionError.
Steps to reproduce the bug
disaster = load_dataset('disaster_response_messages')

Error
ConnectionError: Couldn't reach https://datasets.appen.com/appen_datasets/disaster_response_data/disaster_response_messages_training.csv

Expected results
It should load dataset without an error
Actual results
Specify the actual results or traceback.
Environment info

datasets version:
Platform: Google Colab
Python version: 3.7
PyArrow version:

It looks like the dataset isn't available anymore on appen.com
The CSV files appear to still be available at https://www.kaggle.com/landlord/multilingual-disaster-response-messages though. It says that the data are under the CC0 license so I guess we can host the dataset elsewhere instead ?


Initial setup error(s)

@tscholak and team, thanks a lot for let PICARD available for public. I am sure this help many NLP researchers life easy. I did many experiments with PICARD(HF environment) works awesome. I try to explore PICARD in two of my local environments:
Environments Configurations:

MAC M1 chip (aware there are issues with few python packages)
GCP E2-Standard "Linux box with 32GB RAM & 8vCPU").
Python 3.9 was installed on both machines.

Followed below steps as per instructions given in README and issue(#36)
- git clone git@github.com:ElementAI/picard.git
- cd picard
- git submodule update --init --recursive
- poetry shell
- poetry install

installation throw below error on both environments:
  **ValueError**
  picard is not a package.

Note: Please find the screenshot below
I did notice others also reported similar issue #36 . As per @tscholak recommendation I did "poetry install --no-root"
No errors. But when I try to run python seq2seq/run_seq2seq.py getting below error. Any idea what needs to be done to resolve this issue?
(py) ➜  picard git:(main) ✗ python seq2seq/run_seq2seq.py
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Traceback (most recent call last):
  File "seq2seq/run_seq2seq.py", line 20, in <module>
    from transformers.models.auto import AutoConfig, AutoTokenizer, AutoModelForSeq2SeqLM
ImportError: cannot import name 'AutoModelForSeq2SeqLM' from 'transformers.models.auto' (/Users/nav/opt/anaconda3/envs/py37/lib/python3.7/site-packages/transformers/models/auto/__init__.py)

Looks like I am missing something? I am happy to provide more information if needed.

Hi, the code in this repository is not compatible with non-x86 architectures, unfortunately.

Hi, the error is also there for x86.

Even I am facing the similar issue.
Is this resolved?


GIL in cursor.execute() if using prepared statement params

I'm using a FastAPI webserver server (with uvicorn, single process), which handles non-async requests in separate threads (loop.run_in_executor()).
I create the turbodbc DB connections separately in each request. So if I have 6 different concurrent request 6 different connections will be used, one in each thread. This way I have 6x(1 request, 1 thread, 1 connection, 1 cursor, 1 execute() and no fetch). The problem is if I have a slow query in one of the endpoints, the cursor.execute() call locks up the 5 other requests too, the server becomes unresponsive until the result is returned.
I see that this was an issue previously (https://github.com/blue-yonder/turbodbc/pull/222, https://github.com/blue-yonder/turbodbc/pull/80) but it supposed to be fixed now, shouldn't it?

The GIL should be released here: https://github.com/blue-yonder/turbodbc/blob/80a29a7edfbdabf12410af01c0c0ae74bfc3aab4/cpp/turbodbc_python/Library/src/python_bindings/cursor.cpp#L12-L15
Could it be that some other function is holding the GIL? I know this is hard to debug/profile thus I'm unsure how to verify/reproduce this without having your exact setup.

I'll try to create a small example, but I'm 99,9% sure it's the cursor.execute() as all other requests take exactly that amount of time as the longest execute().

I can reproduce it only using prepared statements, if there are no extra params to execute() (but I simply build the query instead) the lock doesn't happen.

Nice that actually is a part where the GIL isn't released and cannot fully be released. We should though be able to release once the params were converted to C++ objects.

Still, having an example that triggers this would be big step forward to get this fixed.

Output:
Total without params: 2.05
Total with params: 4.03

Script:
import asyncio
from time import time

from shared.db import db_connection

def slow_query_without_params():
    connection = db_connection()
    cursor = connection.cursor()
    cursor.execute("SELECT SLEEP(2)")

def slow_query_with_params():
    connection = db_connection("Vertica", "wqdbinsighthist")
    cursor = connection.cursor()
    cursor.execute("SELECT ?::int, SLEEP(2)", [1])

async def main():
    start = time()
    loop = asyncio.get_running_loop()
    task1 = loop.run_in_executor(None, slow_query_without_params)
    task2 = loop.run_in_executor(None, slow_query_without_params)
    await asyncio.gather(task1, task2)
    print(f"Total without params: {round(time() - start, 2)}")

    start = time()
    loop = asyncio.get_running_loop()
    task1 = loop.run_in_executor(None, slow_query_with_params)
    task2 = loop.run_in_executor(None, slow_query_with_params)
    await asyncio.gather(task1, task2)
    print(f"Total with params: {round(time() - start, 2)}")

asyncio.run(main())

@xhochy I have zero C++ or pybind11 experience, so likely I won't be able to provide a patch, but let me know I can help with the python part or testing.

@alippai Maarten made a nice blog post about GIL detection / profiling: https://www.maartenbreddels.com/perf/jupyter/python/tracing/gil/2021/01/14/Tracing-the-Python-GIL.html
Maybe you could give this a try here? Once we know where the GIL is held, it should be much simpler to get rid of it.

@alippai Maarten made a nice blog post about GIL detection / profiling: https://www.maartenbreddels.com/perf/jupyter/python/tracing/gil/2021/01/14/Tracing-the-Python-GIL.html
Maybe you could give this a try here? Once we know where the GIL is held, it should be much simpler to get rid of it.

This is supercool! I don't have a system where I can run this now, but I'll set it up on my PC - sadly it'll take me a month to get to this fun :/

This is supercool! I don't have a system where I can run this now, but I'll set it up on my PC - sadly it'll take me a month to get to this fun :/


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_a95ysktew1/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_a95ysktew1/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_a95ysktew1/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
INFO: /tmp/abs_a95ysktew1/clone/recipe/meta.yaml:34: invalid_url: https://docs.microsoft.com/en-au/azure/key-vault/ : URL domain redirect docs.microsoft.com ->  learn.microsoft.com
WARNING: /tmp/abs_a95ysktew1/clone/recipe/meta.yaml:40: missing_description: The recipe is missing a description
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_7ey50j5aj8/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_7ey50j5aj8/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_7ey50j5aj8/clone/recipe/meta.yaml:31: missing_pip_check: For pypi packages, pip check should be present in the test commands
INFO: /tmp/abs_7ey50j5aj8/clone/recipe/meta.yaml:34: invalid_url: https://docs.microsoft.com/en-au/azure/key-vault/ : URL domain redirect docs.microsoft.com ->  learn.microsoft.com
WARNING: /tmp/abs_7ey50j5aj8/clone/recipe/meta.yaml:40: missing_description: The recipe is missing a description
Errors were found


USage of requestLegacyExternalStorage together with this app?

Could you clarify how requestLegacyExternalStorage with true of false would concern this app.
Would true make this lib not necessary, at least until Android R?

If you use true then you can use your app without any change of course, but it's a really short-term solution. In addition, even if you use true you can the library anyway.


Add golangci-lint to Go Code reviews

golangci-lint is an alternative to gometalinter which performance improvements and additional features that make it easy to introduce into an existing code-base.

Further note on this one as Gometalinter has now been marked depreciated by the project owner. Given this are we happy for me to update the PR to remove it from the guidance https://github.com/alecthomas/gometalinter/issues/590

@DanMass are you happy for me to update to golangci-lint now gometalinter has been depreciated?

Quick nudge on this one: Who is the reviewer for golang stuff?

I do approve this changes 😉
@lawrencegripper

@lawrencegripper the playbook has undergone a facelift/structural change, could you please rebase and update the PR?

@fnocera done :)

I've fixed up some more as gometalinter is no more so have removed.


Developer

For newbies, it would be helpful to have a collapsed area that could be expanded to show the associated C/AL Globals and other information needed, or perhaps also downloadable text files that would contain the query and sample codeunit. These could then be imported for a full working copy.

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

ID: 2f79f280-f218-14ec-5978-2d14d7113eb3
Version Independent ID: 4a3c1d00-8742-263e-e2d6-2915b86fdd5d
Content: TOPNUMBEROFROWS Function - Dynamics NAV
Content Source: dynamics-nav/TOPNUMBEROFROWS-Function.md
Service: unspecified
Product: dynamics-nav-2018
GitHub Login: @jswymer

Thanks for the feedback! We can definitely see the value in providing "full" code examples - either embedded in the article or available as downloadable text files. For some articles, we have provided the full sample code (for example see https://docs.microsoft.com/en-us/dynamics-nav/external-tables#Examples), but it not something we do generally. We are currently reworking our content model and will take this into consideration as part of this work.


Greenrooms not supported?

Hey Nort,
I just wanted to ask whether greenrooms are fully supported since I am able to connect to it but unable to send messsages and the messages within the greenroom is not shown either.
Thanks,
Tech

In tinychat.py try to remove/comment out line 201 and line 202


OpenAuth 2

Any directions or pointers on how to incorporate OpenAuth in Aqua?

Thanks for opening an issue. Since Aqua uses hapi, your best bet is to search hapi modules that provide this support.

https://github.com/hapijs/bell (supports OAuth/2)
https://www.google.com/search?q=hapi+oauth2


Fix broken hiding of X Premium icon.

Fixed outdated href that broke hiding of X Premium icon.

It changed again, so I'm fixing it in a more solid way, but thanks!


Add Exoscale to Infrastructure

As a IaaS provider Exoscale should be added to the Infrastructure section. We have a PR ready for that if you like.

the logo is included in our press kit in several formats, including vector:
https://www.exoscale.ch/static/files/press-kit.zip

Simple cloud computing for cloud native teams | Exoscale
https://www.exoscale.ch/
How Exoscale compares to DigitalOcean and Amazon
https://www.exoscale.ch/compare/

Hi @ste-m we really appreciate the request, however unfortunately, we are dealing with limited real estate in this format and due to a large number of hosting companies (doing great work), we have to allocate infrastructure to the largest overall infrastructure companies/members. I apologize again and know that Exoscale has good momentum. We hope to have a dynamic version soon which will allow us to add Exoscale to Infrastructure! Hope that clarifies and thanks for understanding.

Thanks @ste-m and @Hillside502, closing as this update was included in the most recent version https://github.com/cncf/landscape#current-version


hydra-router require guarantee of running node during route match

The router seems to be accepting the first URL match without guarantee that such service have a running node instance. In my case I just started a hapi-service-test service and the response from the router is this:
{
 "statusCode": 503,
 "statusMessage": "Service Unavailable",
 "statusDescription": "The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay",
 "result": {
   "reason": "HR: [ol0r2s8oml] Unavailable express-service-test instances"
 },
 "tracer": "ol0r2s8oml"
}

Meaning that the hydra-router is considering old routes from the express-service-test service that I have ran in the past.
Regards, Rolando

@jkyberneees on startup, your hapi-service-test should have sent a message to hydra-router with its updated routes.

Hi @cjus, it does it. However the issue appears when multiple services have registered the same route.
IMO the router should decide for the service that match the route but also is online.

@jkyberneees I looked into this. I don't see a way to address it. I think it's up to the service builder to ensure that routes are not reused by other services.  Meaning two different services should not both register v1/{serviceName}/endpoint. I also think that service registries have to expire at some point. Perhaps a router that ends up with a 503 might flush the service registry or perhaps a Lua script in Redis.

Hi @cjus, I can suggest you to check for service presence before accept the route match.
You can see an example here: https://github.com/jkyberneees/hydra-plugin-http/blob/master/libs/proxy.js#L35
I agree on the flush of the routes if 503 is detected, that would keep the router more performant and consistent.
Regards.

Hello
This discussion is old, but I have the same issue with hydra-router.
I used the different command for clean and refresh:
hydra-cli refresh
hydra-cli refresh node list
but hydra-cli routes show me the old dead services and then hydra-router cannot work correctly.
Is it something I am missing for cleaning/refresh ?

@arn-the-long-beard which version of hydra-cli are you using? How comfortable are you with Redis? Is this happening locally or on a production server?

Hello @cjus  :)
I am using<EMAIL_ADDRESS>For now this is happening locally. I am a very newbie to Hydra and Redis also. I am building micro services for a distributed system for the startup I am working.

Same problem here. I'm using<EMAIL_ADDRESS>hydra-cli refresh and hydra-cli refresh node listkeeps old routes, is not cleaning properly


Create its-roadsideunit

We follow the ETIS IT-S V2C separating vehicles (mobile) to road side units (static)

What would its-roadsideunit be supposed to do, exactly? What messages (schema?) is it supposed to send? To what queue, at which frequency, etc...?


Accessibility

I'm wondering if this is actually to be used in prod? Do you consider to work on accessibility for this? Replicating DOM inside of canvas tag seems somewhat a good practice, better than nothing.
This is related to similar issue on react-canvas.

It does not replicate DOM it replaces it visually, but DOM is at place and is clickable and selectable. You do not see selection highlight (which will be fixed), but you still can select and copy/paste. So lets keep this issue and close when selection highlight will be imlemented

True, there's no system outline on focusable elements.

I know a simple thing to hide the DOM elements by using javascript old way.
It works like this: page loads>DOM is taking it's time to generate>Canvas already made and should know whats inside to replace>JavaScript hides the DOM Elements if you did this on a onload page it should work as well.
Down-side: you'll have to hide all the packs you make in a different tag.
JS old way: we are used of using *.style.display="none"; for hidding elements that are not needed at moments that tou don't use them.


How to reset the number of commits and collaborators?

Hi! If I fork this repo to use it as a baseline for my own website, is it possible to clear the number of commits and collaborators (and set the later to 1)?
Thanks!

I don't think so. If I recall correctly, the number of collaborators is derived from commit authors. You could perform a shallow clone locally, amend the last commit with yourself as the author, and continue from there.
This would be a 1 commit from 1 author here.

You could try the following:

Fork and clone the repository.
git clone git@github.com:your-username/lanyon.git

Nuke the history of the repository.
rm -rf .git
git init

Add an initial commit.
git add .
git commit -m "Fork from pooly/lanyon#ac85a31"

The main issue with doing this is that you'll lose the ability to easily merge any changes made here back into your repository (i.e. fixes or updates to the theme).
Is there a reason you're looking to do this?

@jackwilsdon not really, I was just thinking that it seems a bit weird to have a "personal" website with 18 contributors. Not sure if the idea suggested by @mafagafogigante could work better.

It isn't weird. It has 18 contributors as the theme isn't the gift of a deity but a collaborative work and acknowledging that seems a perfectly reasonable.
I would rather do it my way (if I was going to do it at all). However, I think both will leave you with roughly the same result for all practical purposes.


selenium latePageScript Javascript

Hi there
I am trying to crawl a Site with Norconex V3, this site:

use a lot of JS to make interaction and content, I am trying to crawl content however I am not able to figure out the click on late script, could you please point me an documento or an example?, of ways to interact with the Selenium driver.
thanks a lot
angelo

The WebDriverHttpFetcher does not really offer ways to directly interact with Selenium.  Instead, it lets you write JavaScript that can simulate user behaviour.  In your case, you seem to want to simulate a button click.  It could look somewhat like that.
window.onload = function() {
      let button = document.getElementById(id);
      button.click();
};

It could get tricky to get the timing right (when your script is triggered vs when the DOM will be read by the crawler).  Since <latePageScript> will be added after a page has been loaded, it is possible it launches after the crawler has read the loaded page DOM already.  If this happens, you may want to use <earlyPageScript> instead. Given the example script I shared, it will be added before the page is done loading, but executed when all elements are loaded.


feat: support custom client id for token fetch

Currently the client used to fetch token is set to const containerd-client. Make it changeable and fix the TODO comment

This still doesn't seem meaningful, because there is no public function to provide a custom client ID.

IIUC, we should delete the TODO if allow setting custom client id is meaningless?

And please explain why you need a custom client ID

I'm not, just want to fix that todo

I'm fine adding the feature itself. According to RFC 6749;

The authorization server issues the registered client a client
identifier -- a unique string representing the registration
information provided by the client.  The client identifier is not a
secret; it is exposed to the resource owner and MUST NOT be used
alone for client authentication.  The client identifier is unique to
the authorization server.

While most of container registries don't do that today, we are currently enfocing all containerd package user to use containerd-client, which doesn't make much sense.
That being said, just adding a member in the struct is not enough. We may need to provide something like WithOAuthClientID() to actually make the field customizable.

/ok-to-test


getResource should support Leaf with a URI ending with '/'

Assume I need to load the QUDT ontology:
getResource("https://qudt.org/schema/qudt/").read().then(result => {
  console.log(result);
}

This displays an error "Error: Response from https://qudt.org/schema/qudt/ is not compliant with the Solid Specification: No link header present in request."
I can see why this is happening: LDO is assuming, from the URI, that the resource will be a container. So it checks for the link header with rel="typ" to ldp:Container, and complains about it not being there. That's a reasonable default, but there are cases where it should be overridable.
Indeed, not all RDF resources are complying with the Solid protocol (in particular, with Solid's Slash semantics), and they are still useful in a Solid application.
My suggestion is to add an optional parameterforceLeaf to getResource, which would force it to consider the resource as a Leaf, regardless of its URI.
I can try to make a PR for this if you think this is a good idea.

I only use @ldo/ldo and @ldo/solid, not the @ldo/solid-react. Since getResource is defined on LdoSolidDataset it makes sense that it follows the (very unfortunate :angry:) 'slash semantics'.
Do you need to have the resource that is not hosted in a solid storage in your LdoSolidDataset?
Since there is no access control, using regular fetch and parseRdf might be enough.

Since getResource is defined on LdoSolidDataset

That's something that I overlooked. In solid-react, you obtain getResource from a method named useLdo, so it looks like a simple LDO concept, not necessarily related to Solid...

it makes sense that it follows the (...) 'slash semantics'.

Fair enough.

the (very unfortunate 😠) 'slash semantics'

Let's not dive into that rabbit hole :wink:

Do you need to have the resource that is not hosted in a solid storage in your LdoSolidDataset?

Yes, because my Solid resources refer to things in the ontology, and my graph of shapes "span" across the boundaries between Solid and non-Solid resources.

Since there is no access control, using regular fetch and parseRdf might be enough.

I can do that. But then @ldo/solid should do that too :imp:. One instance of this issue happens with my WebID, which is https://champin.net/#pa, during login (and therefore out of my control).


Moving styles to variables

Intended to help with #336. Please let me know what you think of my changes.

Looks good, although I prefer #fff to white personally

There was also a mistake where you accidentally changed the slider indicator color to grey, but I've fixed that. Thanks!


only retrain when enough new data is available

if there is no or not much training data then avoid kicking off a retraining job doesn't add much value. We should have a min threshold for starting the training batch jobs.

https://github.com/zooniverse/kade/blob/a3271fa99cc045cf2f0fcb79068a65c658fed0c1/app/sidekiq/retrain_zoobot_job.rb#L29-L33


Docker build error, need swift v4.0.0

Error: backgroundExecute(code: 1, error: "swift-package: error: Package requires minimum Swift tools version 4.0.0. Current Swift tools version is 3.1.0\n", output: "") ERROR: Service 'app' failed to build: The command '/bin/sh -c vapor build' returned a non-zero code: 1
maybe Dockerfile need to update?

Dockerfile has been updated and it works now


Connection Warning: Can not create connection with improper name: '/#jtB_gSh1AU_Njcf2AAAC'

Node v5.4.0
easyrtc v1.0.15 & v1.0.16 beta
roomCreate fired! Trying to create: default
warning - EasyRTC: Can not create connection with improper name: '/#R5YGrskH2YTJ97suAAAA'
error   - EasyRTC: [/#R5YGrskH2YTJ97suAAAA] General authentication error. Socket disconnected.
Stack Trace:
Connection Warning: Can not create connection with improper name: '/#R5YGrskH2YTJ97suAAAA'
at Object.appObj.createConnection (/home/API_CHAT/apichat/node_modules/easyrtc/lib/easyrtc_public_obj.js:2466:22)
at async.waterfall.connectionObj (/home/API_CHAT/apichat/node_modules/easyrtc/lib/easyrtc_default_event_listeners.js:271:20)
at fn (/home/API_CHAT/apichat/node_modules/async/lib/async.js:582:34)
at Immediate._onImmediate (/home/API_CHAT/apichat/node_modules/async/lib/async.js:498:34)
at processImmediate as _immediateCallback
What's wrong?

Yeah,We can fix it, Change version socket.io, because easyrtc dont support socket.io v1.4.x. We just install socket.io v1.0.x.
It's Work fine! :)
Thank Easyrtc!

I've ran into this error too.
But, npm keeping "amitter...network" while I removed the new version and trying to install the former version .
I've tried @1.0  @1.0.1 @1.0.* @1.0.x
all the same.
my trace back:

warning - EasyRTC: Can not create connection with improper name: '/#E2GvdFSNNZM_IUQ2AAAJ'
error   - EasyRTC: [/#E2GvdFSNNZM_IUQ2AAAJ] General authentication error. Socket disconnected.
Stack Trace:

Connection Warning: Can not create connection with improper name: '/#E2GvdFSNNZM_IUQ2AAAJ'
at Object.appObj.createConnection (/home/xiaodan/node.js/node_modules/easyrtc/lib/easyrtc_public_obj.js:2466:22)
at async.waterfall.connectionObj (/home/xiaodan/node.js/node_modules/easyrtc/lib/easyrtc_default_event_listeners.js:271:20)
at fn (/home/xiaodan/node.js/node_modules/async/lib/async.js:582:34)
at Object._onImmediate (/home/xiaodan/node.js/node_modules/async/lib/async.js:498:34)
at processImmediate [as _immediateCallback] (timers.js:354:15)

it seems that it is 0.9.16 since it is pointted out in the package.josn

it works

Still we need to upgrade socket.io to 1.4.5 ASAP.
@dryswabbie @EricDavies

+1 for upgrading to a more recent version of socket.io. I just had a situation where I was getting warnings
warn - unknown transport: "undefined"
when I tried to connect with socket.io-client 1.4.8.
Workaround is

Change socket.io version to 1.4.x in package.json
npm update
In easyrtc_default_options.js, replace
option.easyrtcidRegExp = /^[a-z0-9_.-]{1,32}$/i; // EasyRTC socket id (easyrtcid)
with
option.easyrtcidRegExp = /^/{1}#{1}[a-z0-9_.-]{1,32}$/i;

(credit: https://easyrtc.com/forums/viewthread/169/#170)

@alangibson
When I try your work around, i get an error.  The first { on the regex?
`/var/www/html/domain/node/easyrtc/lib/easyrtc_default_options.js:68
option.easyrtcidRegExp 	    = /^/{1}#{1}[a-z0-9_.-]{1,32}$/i;
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/var/www/html/domain/node/easyrtc/lib/easyrtc_private_obj.js:10:23)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)`


DNS on the EC2 instance seems to have overridden the root DNS stored on Route 53

I have a domain, and on that domain is a website (using Amplfiy).
I have installed the mailserver as per the readme (great tutorial, did exactly what I needed, thanks).
Problem is, this stack seems to use it's own DNS server on the EC2 instance of Ubuntu, but I can't find the settings for this!
Can you tell me:
A. Where the DNS settings are (is it Bind9)?
B. How to remove the main domain DNS settings and keep only the subdomains need for the mail server?
When I've done this before I've usually done it on a subdomain (like mailserver.example.com or box.example.com) and that doesn't touch the root domain settings. Might need a warning on the readme or a change to the stack, unless I've missed something (which is likely).
Thanks

Thanks for your comment David.
Mail-in-a-box comes with a DNS server installation you can use to manage DNS for your domain.
The sample / blog describes the case where this capability is used to manage your entire domain, i.e., we do not use any external DNS service such as Route53 Resolver / Public Hosted Zones. We only use Route53 to register the domain, but not as act as a DNS server for it (by creating a PHZ). With this approach, at your registrar you set your NS entries (also referred to as "Glue Records") to the IP address of the box. Any DNS request for your domain will then be handled by the box going forward.
If you don't intend this behavior, you essentially can take two approaches, both of which involve setting up a DNS service external to Mail-in-a-box ( e.g. configuring and using a Route53 Public Hosted Zone to handle your DNS):

You can delegate a subdomain to your Mail-in-a-box installation. In context of Route53 Public Hosted Zones, this means you configure an NS entry for subdomain.yourdomain.com and point that to your box and have the DNS server on the box only handle the subdomain.
You do not use the DNS capability of Mail-in-a-box at all, bur rather configure external DNS. With that approach, you copy your DNS records to your external DNS service (Route53). There is a page on the WebUi of Mail-in-a-box admin interface from where you can copy these records that you then need to add to Route53.

Hi @mmeidlinger
Option 2 sounds like the cleaner choice of these 2, as option 1 will end up with sub.sub.example.com.
However, for simplicity and time constraints I may need to use option 1.
Is the best way to achieve option 1 to:

Destroy all as shown in the cleaning up section
Create a subdomain in Route 53
Wait for DNS to propagate and test all working
Start the process again using the subdomain

or is there a simple way to do this?
Thanks

Just in case anyone finds this, the answer was to use the external DNS (option 2), not using a subdomain.
The page in the Mail in a Box System->External DNS explains most of this, but Route 53 will error when you add the zonefile, so you will have to manually remove the erroring values and manually add them back in later (e.g. txt needed splitting).
Also, Route 53 has a missing type (SSHFP) so that will error too.
Not sure what this missing type will mean for the future, I'll need to look into that.
Good luck all and thanks again @mmeidlinger, amazing bit of kit and well written docs.


CmsEnvelope decryption ECCP256 / AES128CBC failed

HI
The error msg:
checksum failed at Org.BouncyCastle.Crypto.Engines.Rfc3394WrapEngine.Unwrap(Byte[] input, Int32 inOff, Int32 inLen)
			in BouncyCastle\\crypto\\src\\crypto\\engines\\RFC3394WrapEngine.cs:line 171
  at Org.BouncyCastle.Cms.KeyAgreeRecipientInformation.UnwrapSessionKey(DerObjectIdentifier wrapAlgOid, KeyParameter agreedKey)
     in BouncyCastle\\crypto\\src\\cms\\KeyAgreeRecipientInformation.cs:line 159
 at Org.BouncyCastle.Cms.KeyAgreeRecipientInformation.GetSessionKey(AsymmetricKeyParameter receiverPrivateKey)
    in BouncyCastle\\crypto\\src\\cms\\KeyAgreeRecipientInformation.cs:line 179

when i try to decrypt a cms envelope where the key uese ECC P256
I try to do this:
// My private key
MemoryStream stream = new MemoryStream( certificateRawData );
st.Load( stream, CertPassword.ToCharArray() );
AsymmetricKeyEntry k = st.GetKey( (String) a );

// recipients from msg:
CmsEnvelopedData ced = new CmsEnvelopedData( encryptedData );
RecipientInformationStore rec = ced.GetRecipientInfos();
foreach (RecipientInformation r in rec.GetRecipients())
 {
...
                    byte[] res = r.GetContent( k.Key );

Envelope encrypted with 2.16.8<IP_ADDRESS>.4.1.2 (Aes128Cbc)
KeyEcryption AlgOid: <IP_ADDRESS>.11.1 (SHA256)
PublicKeyParamSet	{1.2.840.10<IP_ADDRESS>}	256-bit Elliptic Curve Cryptography
the UnwrapSessionKey(wrapAlgOid, agreedWrapKey);
WrapOID: {2.16.8<IP_ADDRESS>.4.1.5} AES128 fo wrapping
agreedKey.m_key:	71,240,93,144,182,231,203,68,70,11,69,126,109,174,71,72
calls:
byte[] sKeyBytes = keyCipher.Unwrap(encKeyOctets, 0, encKeyOctets.Length);
in this, at the end:
if (!Arrays.FixedTimeEquals(a, m_iv))
throw new InvalidCipherTextException("checksum failed");
this is failed.
"a" = 46,166,,123,149,177,43,148,153
but m_iv is loaded with 166 , all the 8 bytes.

I have the same issue, do you have any solution for this yet?

As I see the 166 (8 times )is the DefaultIV in RFC3394WrapEngine.cs line 51 : Array.Copy(DefaultIV, 0, m_iv, 0, 8); if I modify the contents of m_iv here so that the comparison is good later, I get an error later, when calling the pkcs7 pad block:
throw new InvalidCipherTextException("pad block corrupted");
Stack trace:
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding.PadCount(byte[] input) Line 53	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.DoFinal(byte[] output, int outOff) Line 316	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Crypto.BufferedBlockCipher.DoFinal(byte[] input, int inOff, int inLen) Line 336	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Crypto.IO.CipherStream.ReadAndProcessBlock() Line 360	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Crypto.IO.CipherStream.FillInBuf() Line 332	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Crypto.IO.CipherStream.Read(byte[] buffer, int offset, int count) Line 91	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Utilities.IO.FilterStream.Read(byte[] buffer, int offset, int count) Line 58	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Utilities.IO.Streams.CopyTo(System.IO.Stream source, System.IO.Stream destination, int bufferSize) Line 37	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Utilities.IO.Streams.PipeAll(System.IO.Stream inStr, System.IO.Stream outStr, int bufferSize) Line 100	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Utilities.IO.Streams.PipeAll(System.IO.Stream inStr, System.IO.Stream outStr) Line 90	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Utilities.IO.Streams.ReadAll(System.IO.Stream inStr) Line 133	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Cms.CmsUtilities.StreamToByteArray(System.IO.Stream inStream) Line 111	C#
BouncyCastle.Cryptography.dll!Org.BouncyCastle.Cms.RecipientInformation.GetContent(Org.BouncyCastle.Crypto.ICipherParameters key) Line 96	C#


Aqara Wireless Switch(Double,not in wall) LEFT button FAILURE

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
**Home Assistant release (hass --version):0.50.2
**Python release (python3 --version):3.4.2
**Component/platform:xiaomi
**Description of problem:I have 6 Aqara Wireless Switches(Double), to pair my Aqara Wall Switch (Double) to do a Both_sides light switch control. During the installation, I have 4 Aqara Wireless Switches(Double) with the problem of LEFT Button Failure. I use the XiaoMi offical app's automation, works well. But in the Home-assistant, right button automation all succeed, and the left button always failure with 4 Aqara Wireless Switch, only 2 switch left button succeed.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:
- alias: "test left single click"
   trigger:
    - platform: event
      event_type: click
      event_data:
        entity_id: binary_sensor.wall_switch_left_158xxxxxxx67
        click_type: single

  action:
    - service: switch.toggle
      entity_id: switch.wall_switch_left_158xxxxxxxx3d
- alias: "test right single click"
  trigger:
    - platform: event
      event_type: click
      event_data:
        entity_id: binary_sensor.wall_switch_right_158xxxxxxx67
        click_type: single

  action:
    - service: switch.toggle
      entity_id: switch.wall_switch_right_158xxxxxxxx3d

1.
2.
3.

**Traceback (if applicable):**
```bash

**Additional info:I also use command "sudo journalctl -fu home-assistant.service"
Right button pushed can made log as follows, left button with nothing.
Aug 12 17:13:43 orangepizero hass[26536]: 2017-08-12 17:13:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state automation.test_right_single_click=on; friendly_name=test right single click, last_triggered=2017-08-12T14:27:10.917467+08:00 @ 2017-08-12T14:21:23.036794+08:00>, new_state=<state automation.test_right_single_click=on; friendly_name=test right single click, last_triggered=2017-08-12T17:13:43.021135+08:00 @ 2017-08-12T14:21:23.036794+08:00>, entity_id=automation.test_right_single_click>

Hi,
I'm having the same problem with OpenHab since last update of the Xiaomi Gateway 2 firmware (1.4.1_149).
It seems a problem with the Gateway because I’ve done a tcpdump listening for packages from the Xiaomi Gateway on the OpenHab machine and I detect UDP packages when I press the right button and both but none when I press the left button.
The left button does work with MiHome software with automations.
Lets hope Xiaomi repairs this...
Luis

Thanks for reply. I'm from China. I will contact XiaoMi comoany tech-support tomorrow.
Cheers.

it is the same with the single switch version.

I can confirm this problem. It's happening here also.

Hi again,
@hhalibo it would be great if you could post any progress with Xiaomi tech support. I send them an email but their answer was dissapointing saying that "the product you have mentioned is not available for sale in your locality through our official website. So, assurance could not be provided for the service in our service center and we would not be able to assist you technically."
Thank you very much!

I'd like to confirm this issue, is there any possible solutions?

I have the same problem: right switch works fine, but left one and "both click" (binary_sensor.wall_switch_both_158dxxxxxxxxxx) don't.

Hi, I have the exact same problem. Regretting the update a lot since it made my wall switches useless. Please keep this post updated with new information so all of us can solve this issue.
Thank you!!

@pandemixxx I think there's no solution unless Xiaomi repairs the bug in the firmware. Unfortunately, as I commented, I tried to contact Xiaomi with the problem and they didn't help because of my country, replied to their email and had no response since.
@hhalibo said he's from China and would contact Xiaomi but haven't heard from him since, let's hope Xiaomi takes notice.
I suppose it wouldn't hurt if anybody else from China would contact Xiaomi to make a little pressure...

I'm not sure it is a bug with xiaomi, as they work in the Mi Home, just they aren't registered in HA for the single version and the left and both click on the double.

@markrennie71, sure it works with their own products, but the "local area network communication protocol" that the Xiaomi Gateway provides, and that is responsible for sending the events, does not work since last firmware update.
It's not a problem with any of the home automation sw, and it happens in all of them. And worse, to me it seems imposible to overcome this problem other than with an update of the Xiami Gateway firmware.
Regards.

fair point.. I stand corrected.  I just hope it doesn't start happening to more products and HA as everything else works perfectly (i.e. motion sensors) except 2 switches listed in this topic. I have only just started to move all my stuff to Xiaomi and spent loads of money :D

This guy seems to have the email address of the Xiaomi Gateway firmware developer:
https://community.home-assistant.io/t/beta-xiaomi-gateway-integration/8213/1146
I just contacted him pointing to this thread.

That's great news @Chronocento, hope they can solve this. Please keep us posted with any new news.
Thank you!

any news?

@luismmg no xioami gateway updates leads to no news unfortunately

Damn, mine gateway and switches just arrived. I updated the firmware during setup and only the right channel is working :( hope there's an update to this soon! Thanks all

still nothing?

nothing.. I got a new gateway and didn't upgrade to the new firmware so I could use my wall switches.

@theo-69 I bet there going to be a discussion after you'll see .150 update on your gateway, nothing will change before.

@pandemixxx @luismmg @markrennie71 @joaosilvareed @Chronocento Hi there，Xiaomi technician told me that the bug be found! they will publish the new firmware resolve it next week! maybe the version will be 1.4.1_149.0150, PLS be patient，happy automating.

I hope you are right and thank you for this as I would love to update my 2nd gateway so I can use the newer motion sensors with it

Fingers crossed

Thanks for the check, and hope Xiaomi can publish new firmware to fix this!

Thanks for the info @hhalibo, hope everything goes back to working soon.

still no update

Guys new update from xiaomi appeared on the app.
Gonna try it latter tonight, and post if the bug was fixed. It was a long wait let's hope it's fixed!! :)

I confirm .150 update, just checked, everything is back to normal, LEFT CLICK WORKS!!!
Finally fixed.

do other functiobns  like detectors and so on still work properly after updating the gateway software?

My round wireless button doesn't work yet... maybe I have to tweak the settings a little bit. Keep you posted.

@thundergreen if you mean movement detectors - they work well

my app updated but it says I am on the latest firmware 1.4.1

Just checked a button - works as well

Ahh yeah good point. Still 149 for me

All good on my part as well, everything works as expected...Finally!!

Any new feature ?

Still waiting for the upgrade. Is there any way to force the fw upgrade? (Not just by clicking check firmware)

Same here, clicked on check firmware still indicating on the latest
firmware of 149.
Best Regards,
Zach
On Wed, Sep 20, 2017 at 7:38 AM, Ordep<EMAIL_ADDRESS>wrote:

Still waiting for the upgrade. Is there any way to force the fw upgrade?
(Not just by clicking check firmware)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/issues/8935#issuecomment-330650544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUNF4ONiH1sW3y19JOX4FBlMsYplNDNNks5skBgqgaJpZM4O1XEL
.

This issue could be closed (@hhalibo, @Danielhiversen). It's fixed with firmware 1.4.1_150.0143. If your Mi Home App doesn't provide the update yet please be patient. It will show up soon!


What is different between oidc-token-manager and oidc-client?

It seems they are the same.

the client wraps the oidc/oauth protocol interactions. The token manager adds token management to it - like renewing a token etc.


Merge into go-libp2p repo?

This would make the examples more discoverable and could even make them runnable with tests to make sure they continue working.

@shazow good point. I'll do this

done!

Excellent. :)


problem with simmessages.send logic

This problem applies to both pxt-microbit and pxt-arcade. The following code will cause a second instance of a mbit/arcade simulator to appear:
const data = Buffer.fromUTF8("hello")
control.simmessages.send("foobar", data)

This is because all simmessages sent the above way have
the broadcast bit set, which is used to determine if a
new simulator can be created;
if the logic for new simulators doesn not match a
simulator extension, the default behavior is to start a
if you send a message that doesn't match
to a simulator extension ("jacdac", "robot", etc.)
you will get a second mbit simulator
Repro with arcade: https://makecode.com/_38FRkP531hjj
Repro with mbit: https://makecode.microbit.org/_ETPMjLM6D717
The send function is declared as follows in pxt-common-packages/libs/base/controlmessage.ts:
    //% shim=pxt::sendMessage
    export declare function send(channel: string, message: Buffer, parentOnly?: boolean) : void;

The default value for parentOnly is false; if it is set to true, no new simulators will be created at all.
the implementation is in pxsim.pxtcore as
    // general purpose message sending mechanism
    export function sendMessage(channel: string, message: RefBuffer, parentOnly?: boolean) {
        if (!channel) return;

        Runtime.postMessage({
            type: "messagepacket",
            broadcast: !parentOnly,
            channel: channel,
            data: message && message.data
        } as SimulatorControlMessage)
    }

Here we can see how the broadcast bit is set based on !parentOnly.

Not sure what the action for this is other than better documentation, but it seems odd that the fall through behavior is to create a new instance of the code simulator (mbit or arcade).


Problem with redirects

I'm trying to request google.com using a raw request:
Python 3.9.5 (default, May  4 2021, 03:36:27)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests_raw
>>> res = requests_raw.raw(url='https://google.com/', data=b"GET / HTTP/1.1\r\nHost: google.com\r\n\r\n")
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 969, in send
    self.sock.sendall(data)
  File<EMAIL_ADDRESS>line 1201, in sendall
    with memoryview(data) as view, view.cast("B") as byte_view:
TypeError: memoryview: a bytes-like object is required, not 'NoneType'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/requests_raw/api.py", line 12, in raw
    return request(__title__, url, data=data, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests_raw/api.py", line 7, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests_raw/__init__.py", line 29, in __request
    return _request(self, method, url, *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 237, in resolve_redirects
    resp = self.send(
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File<EMAIL_ADDRESS>line 1253, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File<EMAIL_ADDRESS>line 1299, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/site-packages/requests_raw/connection.py", line 94, in endheaders
    self.send(message_body)
  File<EMAIL_ADDRESS>line 975, in send
    raise TypeError("data should be a bytes-like object "
TypeError: data should be a bytes-like object or an iterable, got <class 'NoneType'>
>>>

When checking the result in my proxy I see that the following request and response have been sent:
GET / HTTP/1.1
Host: google.com
Connection: close

HTTP/1.1 301 Moved Permanently
Location: https://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Thu, 08 Jul 2021 14:26:35 GMT
Expires: Thu, 08 Jul 2021 14:26:35 GMT
Cache-Control: private, max-age=2592000
Server: gws
Content-Length: 220
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Set-Cookie: CONSENT=PENDING+741; expires=Fri, 01-Jan-2038 00:00:00 GMT; path=/; domain=.google.com; Secure
P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Connection: close

<meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE>

301 Moved

The document has moved
here.

Following the redirection manually works:
res = requests_raw.raw(url='https://www.google.com/', data=b"GET / HTTP/1.1\r\nHost: www.google.com\r\n\r\n")

I don't understand enough about this library to debug this further, but it seems that there is a problem with handling redirects.

Can you specify the version of requests_raw and the version of requests?
On Thu, 8 Jul 2021 at 17:29 Jan-Jaap Korpershoek @.***>
wrote:

I'm trying to request google.com using a raw request:
Python 3.9.5 (default, May  4 2021, 03:36:27)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import requests_raw
res = requests_raw.raw(url='https://google.com/', data=b"GET / HTTP/1.1\r\nHost: google.com\r\n\r\n")
Traceback (most recent call last):
File @./3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 969, in send
self.sock.sendall(data)
File @./3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1201, in sendall
with memoryview(data) as view, view.cast("B") as byte_view:
TypeError: memoryview: a bytes-like object is required, not 'NoneType'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.9/site-packages/requests_raw/api.py", line 12, in raw
return request(title, url, data=data, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests_raw/api.py", line 7, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.9/site-packages/requests_raw/init.py", line 29, in __request
return _request(self, method, url, args, kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, send_kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 677, in send
history = [resp for resp in gen]
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 677, in
history = [resp for resp in gen]
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 237, in resolve_redirects
resp = self.send(
File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, kwargs)
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, httplib_request_kw)
File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File @./3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1253, in request
self._send_request(method, url, body, headers, encode_chunked)
File @./3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1299, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/site-packages/requests_raw/connection.py", line 94, in endheaders
self.send(message_body)
File @./3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 975, in send
raise TypeError("data should be a bytes-like object "
TypeError: data should be a bytes-like object or an iterable, got <class 'NoneType'>

When checking the result in my proxy I see that the following request and
response have been sent:
GET / HTTP/1.1
Host: google.com
Connection: close
HTTP/1.1 301 Moved Permanently
Location: https://www.google.com/
Content-Type https://www.google.com/Content-Type: text/html; charset=UTF-8
Date: Thu, 08 Jul 2021 14:26:35 GMT
Expires: Thu, 08 Jul 2021 14:26:35 GMT
Cache-Control: private, max-age=2592000
Server: gws
Content-Length: 220
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Set-Cookie: CONSENT=PENDING+741; expires=Fri, 01-Jan-2038 00:00:00 GMT; path=/; domain=.google.com; Secure
P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Connection: close

301 Moved
301 Moved
The document has moved
here.

Following the redirection manually works:
res = requests_raw.raw(url='https://www.google.com/', data=b"GET / HTTP/1.1\r\nHost: www.google.com\r\n\r\n")
I don't understand enough about this library to debug this further, but it
seems that there is a problem with handling redirects.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/realgam3/requests-raw/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKOSGENRZLQH25DVGQPVL3TWWY55ANCNFSM5AA3ZFRQ
.

pip freeze | grep requests
requests==2.25.1
requests-raw==1.0.0

https://github.com/realgam3/requests-raw/commit/26e9e2f1a918d89e3f7e3a0508bcce249c79cb09
its a partial fix (it will not crash)
Because the issue is the response code 301, if you get 302 it will translate the request into get request but when you get 301 it will take the method and cookies, headers, etc and send the same request the only thing I can do is to return the original response code and let you fix the next request....
In a later commit I have changed the allow_redirect default option to false when sending raw requests.

Version 2.0.0 released:
https://github.com/realgam3/requests-raw/releases/tag/v2.0.0


Any way to add gradient stops?

The current implementation seems to have a start and end color but nothing for intermediary colors. It'd be great to see an implementation similar to what I can do on here.

Currently there's no feature to do so. Also wondering how that would work in e.g. XAML. Would probably need to create a different type of object to handle these that takes a color and starting point into account. Might be worth exploring at some point.

Just a heads up on how it's done in WPF.
<!-- This rectangle is painted with a horizontal linear gradient. -->
<Rectangle Width="200" Height="100">
  <Rectangle.Fill>
    <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
      <GradientStop Color="Yellow" Offset="0.0" />
      <GradientStop Color="Red" Offset="0.25" />
      <GradientStop Color="Blue" Offset="0.75" />
      <GradientStop Color="LimeGreen" Offset="1.0" />
    </LinearGradientBrush>
  </Rectangle.Fill>
</Rectangle>

Maybe you can draw some inspiration from this :)

Implemented this in 1.0.25-beta. I did receive some comments regarding naming though. I have Offset named Location in mine. Not coming from a WPF/UWP world that made most sense to me. Also every platform names it differently:
iOS: Location
Android: Position
UWP: Offset

I know that Forms tends to choose the naming in one platform when faced with a situation like that. It'd be fine if you chose Offset or Stop.

Will be in in the next release as Offset.


"Manifest parsing has failed" on install of app when manifest includes the "context" property

I'm trying the new "context" property within the manifest, and have my Teams app in "Developer Preview" mode.  I've added the appropriate "context" property elements from the guide, but when I try uploading my zip file when installing my app into Teams, it shows the "Manifest parsing has failed" message.
I also notice that in VSCode, I'm seeing a problem: "Property context is not allowed."
Might the documentation for adding this to the manifest be incorrect?

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

ID: b60eeacc-a71e-9644-b869-3e0a4f1506d8
Version Independent ID: 313bf83f-5325-f9f4-5780-9bc81e315c1e
Content: Create apps for teams meetings - Teams
Content Source: msteams-platform/apps-in-teams-meetings/create-apps-for-teams-meetings.md
Product: msteams
GitHub Login: @laujan
Microsoft Alias: lajanuar

Could you please share your App Manifest? Also, did you try using Developer preview manifest schema

@Wajeed-msft "Also, did you try using the Developer preview manifest schema".  That was the issue!  Once we used that, we were able to get the manifest to upload successfully. We're still not able to see the right galley in the meeting experience, though, so we'll need to review that further internally.
Thank you.

That was the issue! Once we used that, we were able to get the manifest to upload successfully.

Awesome. I am updating the docs so that others won't face the same issue. (https://github.com/MicrosoftDocs/msteams-docs/pull/2136)

We're still not able to see the right galley in the meeting experience, though, so we'll need to review that further internally.

Please raise new issue so that it can be tracked better.


feat: Implement breadcrumbs in Drill By modal

SUMMARY
This PR implements breadcrumbs component in the Drill By modal in order to:

Show the history of drillings (currently applied groupings and filters)
Allow user to undo drilling actions

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/15073128/231499232-10a47d5b-ef0f-4b6a-9a65-ad28ee38e576.mov
TESTING INSTRUCTIONS

Enable DRILL_BY feature flag
Perform drill by action
Verify that breadcrumbs display the history of drilling - in the format groupby1 (filter1) / groupby2 (filter2) / current_groupby

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Required feature flags: DRILL_BY
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

CC @kasiazjc

@villebro @lilykuang Thanks for comments. I decided to do a bit of refactoring so that currentColumn can only be Column | undefined, not an array, as was originally intended. I think the code and flow is simpler now since we eliminated a special case which would only occur if user clicked on the first breadcrumb of a chart that was initially grouped by 2 columns.
Also, added unit tests for breadcrumbs


display output of apollo-integration task

missed printing the Gradle task output in the previous PR

com.apollographql.apollo.ApolloWatcherTest > testQueryWatcherUpdated_SameQuery_DifferentResults_cacheOnly FAILED     java.util.concurrent.TimeoutException at ApolloWatcherTest.java:298
seems flaky.


Loading alerts does not work on 0.19.0

What did you do?
Upgrade from 0.16.1 to 0.19.0 with upgraded quay.io/coreos/prometheus-config-reloader:v0.0.2 to v0.0.4.
What did you expect to see?
Alerts to be loaded from configmap as before.
What did you see instead? Under which circumstances?
Suddenly alerts did not show up anymore. Changing to version 0.18.1 with reloader v0.0.3 works however.
Environment
kops aws

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.6", GitCommit:"6260bb08c46c31eea6cb538b34a9ceb3e406689c", GitTreeState:"clean", BuildDate:"2017-12-21T06:34:11Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.12", GitCommit:"5d26aba6949f188fde1af4875661e038f538f2c6", GitTreeState:"clean", BuildDate:"2018-04-23T23:09:30Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

kops

Manifests:

apiVersion: v1
items:
- apiVersion: monitoring.coreos.com/v1
  kind: Prometheus
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"monitoring.coreos.com/v1","kind":"Prometheus","metadata":{"annotations":{},"labels":{"prometheus":"k8s"},"name":"k8s","namespace":"monitoring"},"spec":{"alerting":{"alertmanagers":[{"name":"alertmanager-main","namespace":"monitoring","port":"web"}]},"externalUrl":"https://control-plane.staging1.romcore.cloud/prometheus","replicas":2,"resources":{"limits":{"cpu":"4","memory":"4Gi"},"requests":{"cpu":"2","memory":"4Gi"}},"retention":"360h","routePrefix":"/","ruleSelector":{"matchLabels":{"prometheus":"k8s","role":"prometheus-rulefiles"}},"serviceAccountName":"prometheus-k8s","serviceMonitorSelector":{"matchLabels":{"prometheus-monitor":"true"}},"storage":{"volumeClaimTemplate":{"spec":{"resources":{"requests":{"storage":"20Gi"}},"storageClassName":"prometheus"}}},"version":"v1.8.2"}}
    clusterName: ""
    creationTimestamp: 2017-12-29T13:31:42Z
    deletionGracePeriodSeconds: null
    deletionTimestamp: null
    generation: 0
    labels:
      prometheus: k8s
    name: k8s
    namespace: monitoring
    resourceVersion: "51710214"
    selfLink: /apis/monitoring.coreos.com/v1/namespaces/monitoring/prometheuses/k8s
    uid: 9b34611c-ec9c-11e7-ad95-0ad30971fa92
  spec:
    alerting:
      alertmanagers:
      - name: alertmanager-main
        namespace: monitoring
        port: web
    externalUrl: https://control-plane.staging1.romcore.cloud/prometheus
    replicas: 2
    resources:
      limits:
        cpu: "4"
        memory: 4Gi
      requests:
        cpu: "2"
        memory: 4Gi
    retention: 360h
    routePrefix: /
    ruleSelector:
      matchLabels:
        prometheus: k8s
        role: prometheus-rulefiles
    serviceAccountName: prometheus-k8s
    serviceMonitorSelector:
      matchLabels:
        prometheus-monitor: "true"
    storage:
      volumeClaimTemplate:
        spec:
          resources:
            requests:
              storage: 20Gi
          storageClassName: prometheus
    version: v1.8.2
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

can you share the alert configmap and logs from the prometheus server as well as the config reloader?

After retrying the scenario to gather all the logs. It seemed that a second reload some 3 minutes after startup does load the alerts correctly. This got me confused as in previous versions the loading of the alerts was almost instant.
See the following logs:

level=info ts=2018-05-11T08:27:14.535725487Z caller=reloader.go:77 msg="started watching config file for changes" in=/etc/prometheus/config/prometheus.yaml out=/etc/prometheus/config_out/prometheus.env.yaml
level=error ts=2018-05-11T08:27:15.231970419Z caller=runutil.go:43 msg="function failed. Retrying" err="trigger reload: reload request failed: Post http://localhost:9090/-/reload: dial tcp [::1]:9090: connect: connection refused"
level=info ts=2018-05-11T08:27:20.164077901Z caller=reloader.go:182 msg="Prometheus reload triggered" cfg_in=/etc/prometheus/config/prometheus.yaml cfg_out=/etc/prometheus/config_out/prometheus.env.yaml rule_dir=/etc/prometheus/config_out/rules
level=info ts=2018-05-11T08:30:21.154994962Z caller=reloader.go:182 msg="Prometheus reload triggered" cfg_in=/etc/prometheus/config/prometheus.yaml cfg_out=/etc/prometheus/config_out/prometheus.env.yaml rule_dir=/etc/prometheus/config_out/rules

This got me confused as in previous versions the loading of the alerts was almost instant.

@stijndehaes recent changes moved the reload to a time based interval. This will improve with https://github.com/coreos/prometheus-operator/pull/1333.

@mxinden That improvement looks very nice!


goJohnyGo

Is that ok?

Great job @AnthonyNet. I have one recommendation => do not use special characters in branch names, it might be dangerous and cause problems.


Repeated errors and incorrect diags

Type: Bug
I changed to VSCode on Linux to get away from Visual Studio 2022 on windows which has become almost unusable.
Now I find that VSCode on Linux is riddled with errors as well. I am continually getting false errors telling me objects are duplicated etc etc. In the space of an hour, I will have to completely close and reopen vscode at least 4 or 5 times. Closing the editor clears the errors and I can continue from another 15 minutes or so. Currently I am battling with using namespaces not resolving.
VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:29:17.766Z)
OS version: Linux x64 5.15.0-58-generic snap
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz (1 x 2294)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: disabled_off

Load (avg)
1, 1, 1

Memory (System)
7.68GB (4.99GB free)

Process Argv
--no-sandbox --force-user-env --unity-launch --crash-reporter-id be1ca426-62db-44af-9c94-687f13d3f2e2

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

Extensions (11)

Extension
Author (truncated)
Version

namespace
adr
1.1.2

gitignore
cod
0.9.0

csharpier-vscode
csh
1.3.6

rest-client
hum
0.25.1

nuget-reverse-package-search
jes
0.1.68

jwt-decoder
jfl
1.2.0

vscode-nuget-package-manager
jmr
1.1.6

vscode-csharp-snippets
jor
1.1.0

csharp
ms-
1.25.4

markdown-preview-enhanced
shd
0.6.7

vscode-icons
vsc
12.2.0

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848:30577860
nodejswelcome1:30587005
2e4cg342:30602488
89544117:30613380
pythonsymbol12cf:30657549
2i9eh265:30646982

Items that appear in the Problems tab of the Panel typically come from an extension. If the extension is providing incorrect information, or is failing to remove its entries when you have corrected the problem, then please contact the extension author.

What language is this for? C#?

/extC#

I have the C# extension installed
On Tue, 7 Feb 2023 at 19:33, Matt Bierner @.***> wrote:

/extC#
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/173695#issuecomment-1421263636,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWYCBFTAKNFA5IZAGMI3DWWKIP7ANCNFSM6AAAAAAUUDCWMM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Regards
Gregory WHITE
+33 786 09 40 46

It looks like this is caused by the C# extension. Please file the issue to the C# extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

@wgrs please explain why you think your issue is caused by the VS Code core and not by the extension implementing C# support.


Minor changes related to support for unix sockets

Minor style changes
Changes to ServerAddress parsing to support the syntax suggested here: https://github.com/aspnet/KestrelHttpServer/pull/157#discussion_r37570739

Looks good to me :+1:

@lodejard

This completes https://github.com/aspnet/KestrelHttpServer/issues/156


Placeholder text not showing up on chat screen

Even though I have specified sender placeholder text, it does not show up on the chat box

Hi!
Could you attach your code to see what it might be wrong ?


CSS not working

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-flexdatalist/2.2.4/jquery.flexdatalist.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-flexdatalist/2.2.4/jquery.flexdatalist.js"></script>
<div>
    <input type="text" class="flexdatalist" >
</div>

-> jsfiddle
Change nothing to the form... what does i miss ?

Ok, i understand that css doesn't include text input style...


simple-cipher: fix the description

The framing for this exercise can be frustrating, confusing.  Here's a laundry list of things that, if fixed, would improve that experience:

The reference to image of Caesar Cipher is broken.  If that plotline is kept, fix the reference (e.g. link to a stable source).
The goal and supporting plotline are a bit scattered.  There's a hint of a plotline of keeping your little sister from reading something; perhaps go all-in on that narrative and trim off others?
This exercise is suddenly overwhelming in size with no explanation.  Motivate the 3 iteration exercise — or at least telegraph the general structure of the exercise.
The description runs-on into the the concatenated "how-to-run-the-tests" chunk that follows. Given that this is a multi-parter, put an ---- at the bottom to separate the last section from track-specific instructions.

I would like to add an issue here.  Currently the simple-cipher assumes that crypto-square will follow.  Not all tracks order the exercises this way. I know mine is a simple change, but if there are no arguments against the proposed improvements from @jtigger, then I will give all the points a go.  Please let me know if there are more burning complaints with the current format of this exercise, so I/we can implement them now.

Here's another concern. The description presents the exercise as a Caesar Cipher, but in fact the tests (and much of the description) are for a Vigenère Cipher

Another issue is that there's an error in one of the examples.
In Step 2, the problem reads
Given the key "ddddddddddddddddd", encoding our string "iamapandabear" would return
the obscured "lpdsdqgdehdu"

The return value given is incorrect. The correct value is "ldpdsdqgdehdu" (note the missing d at index 1).


Automated cherry pick of #807 #811

Cherry pick of #807 #811 on release-0.4.
#807: Catch edge case where the CN and DNSNames on a Certificate
#811: Don't bundle the CA certificate when selfsigned

/release-note-none


Support collecting all values of valued arguments

Support collecting all values of valued arguments when they are specified multiple times.
So, you can make a new Option('a', null, GetOpt::REQUIRED_ARGUMENT | GetOpt::MULTIPLE_ARGUMENT). Then for
./my-script.php -a str1 -a str2
the option value for option a is an array containing all values that were provided.

Thanks for this change, you saved me from using pure getopt() :)
Sad that it does not get accepted...

Glad you found it helpful!


Add Exceptions & Anomaly Collections

Before you submit a new bug report, please check that

[X] I have read frequently asked questions and limitations

Is your feature request related to a problem? Please describe.
Add a feature where you can add exceptions like bank holidays, to compensate for bank holidays anomaly collection dates be added.
e.g. Exceptions ignore a collection
1 Jan (Holiday) -> 4 Jan (Alternate date)
Describe the solution you'd like
Ignoring set dates and adding out-of-schedule dates
Describe alternatives you've considered
Even adding out-of-dates collection would allow my automations to run smoothly.
Additional context
No response

This feature has been removed, and replaced by an option to control the dates with automations. There are few blueprints that can be used and modified based on different requirements.


CentOS 7 - mod_fcgid error

Cookbook version
0.4.0
Chef-client version
12.12.13
Platform Details
CentOS 7 (fully up-to-date)
Scenario:
Running the application Request Tracker behind httpd.
This requires mod_fcgid, or at least that's the one I'm trying to configure at the moment.
Documentation on this can be found here: https://docs.bestpractical.com/rt/4.4.1/web_deployment.html
Steps to Reproduce:
I have the following setup using a wrapper cookbook in front of the httpd cookbook.
# Create httpd instance
httpd_service 'webserver' do
  listen_ports ['80', '443']
  action [:create, :start]
end

# Install a few modules
%w{ssl unixd fcgid}.each do |mod|
  httpd_module mod do
    instance 'webserver'
    action :create
  end
end

# Create a vhost
httpd_config 'vhost1' do
  config_name 'vhost1'
  source 'vhost1.cnf.erb'
  instance 'webserver'
  notifies :restart, 'httpd_service[webserver]'
  action :create
end

When running I get the following error, this happens during the module installation (or so I think at least).
      Error executing action `start` on resource 'service[httpd-webserver]'

Thus, httpd can't start.
Expected Result:
I would expect everything to start without errors.
Actual Result:
The httpd service can't start. below the root cause of this problem:
systemctl status httpd-webserver -l
● httpd-webserver.service - The Apache HTTP Server
   Loaded: loaded (/etc/systemd/system/httpd-webserver.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since di 2016-07-19 11:28:16 CEST; 4min 54s ago
  Process: 17800 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
  Process: 17178 ExecReload=/usr/sbin/httpd-webserver -f /etc/httpd-webserver/conf/httpd.conf -k graceful (code=exited, status=0/SUCCESS)
  Process: 17798 ExecStart=/usr/sbin/httpd-webserver -f /etc/httpd-webserver/conf/httpd.conf -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 17798 (code=exited, status=1/FAILURE)

jul 19 11:28:16 webserver.local systemd[1]: Starting The Apache HTTP Server...
jul 19 11:28:16 webserver.local httpd-webserver[17798]: httpd-webserver: Syntax error on line 19 of /etc/httpd-webserver/conf/httpd.conf: Syntax error on line 1 of /etc/httpd-webserver/conf.modules.d/fcgid.load: Cannot load /usr/lib64/httpd/modules/mod_fcgid.so into server: /usr/lib64/httpd/modules/mod_fcgid.so: undefined symbol: ap_unixd_setup_child
jul 19 11:28:16 webserver.local systemd[1]: httpd-webserver.service: main process exited, code=exited, status=1/FAILURE
jul 19 11:28:16 webserver.local kill[17800]: kill: cannot find process ""
jul 19 11:28:16 webserver.local systemd[1]: httpd-webserver.service: control process exited, code=exited status=1
jul 19 11:28:16 webserver.local systemd[1]: Failed to start The Apache HTTP Server.
jul 19 11:28:16 webserver.local systemd[1]: Unit httpd-webserver.service entered failed state.
jul 19 11:28:16 webserver.local systemd[1]: httpd-webserver.service failed.

This gives an error on loading mod_fcgid which is pointing to mod_unixd: "undefined symbol: ap_unixd_setup_child"
After some googeling this has to do with the order in which the modules are loaded.
This can be solved by changing the filenames in the directory "/etc/httpd-webserver/conf.modules.d". Being able to set names like e.g. 10-unixd and 20-fcgid would solve this issue.
I've tried doing this with the cookbook in it's current state, but that didn't give me the expected result (it changed the loadmodule line).
This is the snippet:
counter = 0
%w{ssl unixd fcgid}.each do |mod|
  counter = counter + 10
  httpd_module "#{counter}-#{mod}" do
    filename "#{counter}-#{mod}"
    module_name mod
    instance 'webserver'
    action :create
  end
end

This didn't do what I wanted, but if we were allowed to change the filename in conf.modules.d then this would be a way of setting the load order for these modules.

As a reference, this is how the default httpd module configuration is done on CentOS 7:
ls -la httpd/conf.modules.d/
totaal 44
drwxr-xr-x. 2 root root 4096 19 jul 10:44 .
drwxr-xr-x. 5 root root   86 19 jul 10:43 ..
-rw-r--r--. 1 root root 3739 18 jul 17:22 00-base.conf
-rw-r--r--. 1 root root  139 18 jul 17:22 00-dav.conf
-rw-r--r--. 1 root root   41 18 jul 17:22 00-lua.conf
-rw-r--r--. 1 root root  742 18 jul 17:22 00-mpm.conf
-rw-r--r--. 1 root root  957 18 jul 17:22 00-proxy.conf
-rw-r--r--. 1 root root   41 18 jul 17:22 00-ssl.conf
-rw-r--r--. 1 root root   88 18 jul 17:22 00-systemd.conf
-rw-r--r--. 1 root root  451 18 jul 17:22 01-cgi.conf
-rw-r--r--. 1 root root  448 17 sep  2014 02-perl.conf
-rw-r--r--. 1 root root   45 10 jun  2014 10-fcgid.conf

That's basically what I'm trying to achieve in order to resolve the issue I'm having.

Ok, I've hacked my way into fixing this issue for myself.
The following snippet ensures the correct order for unixd and fcgid:
httpd_module 'fcgid' do
  instance 'webserver'
  action :create
  notifies :run, 'execute[fix_unixd-fcgid]', :immediately
end

execute 'fix_unixd-fcgid' do
 command '/usr/bin/mv /etc/httpd-webserver/conf.modules.d/unixd.load /etc/httpd-webserver/conf.modules.d/10-unixd.load && /usr/bin/mv /etc/httpd-webserver/conf.modules.d/fcgid.load /etc/httpd-webserver/conf.modules.d/20-fcgid.load'
 action :nothing
end

Note: unixd is loaded by default, thus any reference using httpd_module for unixd is ignored.
It's rather ugly, but it works. So my issue (for now) is resolved. The ugly part is that it will create and move the unixd and fcgid config files during every chef run (in our case every 15 minutes). This doesn't seem to trigger a reload of the httpd service, so it's limited to file creation/move.
Thus that only leaves a feature request to do this in a nice way without doing a hack in this manner.

@bgroenendal Thank you so much for the detailed report and sharing your testing. We'll take a look at this in the next 2 weeks and try to come up with a better way to do this.

@bgroenendal I just ran across a similar situation and adding package_name 'httpd' fixed it for me, so:
Install a few modules
%w{ssl unixd fcgid}.each do |mod|
httpd_module mod do
package_name 'httpd'
instance 'webserver'
action :create
end
end

Still don't have a fix for this, but please be aware that this is something we're still looking into.


Show toggle admin checkbox only if current user is admin

before any user could see toggle admin checkboxes
Changes:

pass isAdmin as props into Users, User and UsersTableHeader components
show checkbox only if currently logged used is admin
update specs

Accepted :+1: Don't forget about checking privileges to change this attribute on the backend side.


Lobby Packets

uint is netEvent.Peer.Id
string is player name

These packet names are slightly out of date. Please talk to me for the updated info. Thanks.


[Request] WebView implementation for Windows platform

Is your feature request related to a problem? Please describe.
At the moment there is no implementation of WebView for the Windows platform builds. The only implementations that exist are for iOS and Android.
The WebView is useful in many ways, but for this particular case, for use in Facebook Login/Sign in with Apple, where they offer no native Windows SDKs for this purpose.  The WebView would be loaded, the user signs in, and the WebView would be used to extract the response from the server response.
Describe the solution you'd like
A WebView implementation that works for Windows x86/x64.
Describe alternatives you've considered
At the moment looking into implementations for WebView that can serve the purpose.  I'm just wondering if anyone here has any suggestions.
Additional context
There was a Cocos2d-x Win32 WebView implementation that was removed from the code-base because of a dependency on Microsoft ATL. You can see it here: https://github.com/cocos2d/cocos2d-x/pull/8743/files#diff-578e2caf44a8dbea13c56a75517b9e5d45d7157f37776c6357d62ae8fde07e05

I'm going to test out re-adding the code that was removed, but would you the dependency on ATL be an issue for ADXE?

I wan't to know, does the implemtation webview browser kernel is Internet Explorer, since Microsoft mark Internet Explorer as deprecated, and removed in windows 11, we shouldn't use it anymore.

I'm not sure, but I'll find out.  Hopefully it's using chromium or Microsoft Edge WebView2.

Here is the edge webview2 guide: https://docs.microsoft.com/en-us/microsoft-edge/webview2/get-started/win32

By the look of things, the old cocos2d-x Win32 WebView implementation in UIWebViewImpl-win32.cpp is based on Internet Explorer (using the DWebBrowserEvents2 interface), so we definitely cannot use that.
I'll see what I can do with updating it to Edge webview2, but this isn't high up on my priority list at the moment, so it may be a while before I get to it.

I've got a reasonable implementation working, and it no longer requires Microsoft ATL.  It does require the Microsoft.Web.WebView2 NuGet package to be installed during the CMake process, and all paths set up to the headers and libraries.  The issue with that is Microsoft hasn't added certain features for NuGet in C++ vcxproj files, so the work around is to add this:
    find_program(NUGET_EXE NAMES nuget)
    if(NOT NUGET_EXE)
        message("NUGET.EXE not found.")
        message(FATAL_ERROR "Please install this executable, and run CMake again.")
    endif()

    exec_program(${NUGET_EXE}
        ARGS install "Microsoft.Web.WebView2" -Version 1.0.992.28 -ExcludeVersion -OutputDirectory ${CMAKE_BINARY_DIR}/packages)
    target_link_libraries(${ADXE_CORE_LIB} ${CMAKE_BINARY_DIR}/packages/Microsoft.Web.WebView2/build/native/Microsoft.Web.WebView2.targets)

The nuget.exe file has to be downloaded from https://www.nuget.org/downloads, put in a folder, and add that folder to the environment path.  I'm not sure if there's a way to automate this via CMake, or if the licensing allows for the NuGet.exe to be added to ADXE, so it may have to be a manual step that the developer needs to do.  Microsoft doesn't provide that nuget.exe CLI as part of any other distribution, so this is the only way to get it.
If you know of a better way to automate the download of NuGet.exe, specifically from this path, https://dist.nuget.org/win-x86-commandline/latest/nuget.exe, and it go into the generated build folder, then we won't need to add it to the environment path, since we can just pass the correct path to the cmake exec_program.
I'll create a PR sometime in the next week with the WebView2 changes.

What about use setup.py download it to tools/nuget/?

That should work, as long as the downloaded nuget.exe isn't directly in the environment path, just in case the developer uses a different version that machine.
So, for example, if we download it to tools/nuget/nuget.exe , then we can refer to it by that full path. Is that ok? It would mean we always use the one we downloaded, and not any other version that may exist on the PC.

It turns out NuGet is under the MIT license, as detailed here, and redistribution is allowed, so can be included in the ADXE repo if that's a better option.  The only issue with that is keeping it up-to-date.

I have implemented webview on windows and linux in my own branch with cef implementation.
I implemented videoplayer using vlc.
But they both have significant drawbacks.

they are both too heavyweight.
My code is not very well written.

If you are interested, you can go to: https://github.com/wzhengsen/StarryX/tree/Develop/cocos/ui

1. they are both too heavyweight.

What do you mean by that? Is there something wrong with CEF?

The dynamic library of cef is too big, about 100M

I didn't know that, and you're right, it is excessive.

@halx99 Would there be any issue in adding WinRT/C++ headers? The WinRT/C++ require C++17 support, which ADXE already has, and it simplifies access to the Windows COM interfaces.

Added initial support for Windows WebView using WebView2 Edge chromium in #514
It works fine, but cookies support isn't implemented yet.  The class structure is based on the original implementation that was removed from Cocos2d-x due to ATL, but the actual implementation now is based on the https://github.com/webview/webview project.

@halx99 Would there be any issue in using WinRT/C++ headers? WinRT/C++ requires C++17 support, which ADXE already has, and it simplifies access to the Windows COM interfaces.
If not, the fallback is to just use QueryInterface, which isn't too bad.

No issue.

But, QueryInterface is better

QueryInterface worked out just fine, so unless there is complex COM code to write, we won't need WinRT/C++ at the moment.

@wzhengsen
Unfortunately, there are a few issues with that.  Firstly, I don't use Linux, so I can't do much for that platform, and for Mac, I don't build for that platform (only for iOS), so allocating resources to work on an implementation may take quite a while.
Perhaps using the CEF implementation that you've already created for the time being on Linux is better than nothing.  Does it work on Mac too?

Yes the https://github.com/webview/webview implementation would work fine, just needs someone to port the code over and adapt it to the ADXE UIWebView.  If and when I have some time, I'll attempt the Mac version first, and if that works, I'll see what I can do about installing Linux and sorting that one out too, but again, I can't promise when I'll get around to it.


Datetimepicker

Awesome library, well done!
Do you have an ETA on the datetimepicker? :)

Is in the plan but I been under a lot of work hope to have time for this next week but no promises

@alfonsobries Thank you for all the hard work on this library!
I'd like to follow up on the timepicker progress and kindly ask if we can expect a release anytime soon? If so, would you be able to provide any estimate on this?

@DamianGlowala ill do my best to have it next week, already started

good news @DamianGlowala @Reached I just released the time picker feature, just update to  ^2.2  and check the documentation https://www.vue-tailwind.com/docs/datepicker#timepicker

@alfonsobries well done!!


[Bug] Coop mode not working

Checklist

[X] I will only use English in my report.
[X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

Questions

[X] xCloud officially supports my country/region.
[ ] The bug doesn't happen when I disable Better xCloud script.
[ ] The bug didn't happen in previous Better xCloud version (name which one).

Device
TV
Device
LG 50nano80SQA
Operating System
Webos 7
Android app/Browser Version
I dont know
Better xCloud Version
Latest 5.8.5
Game list
Fc 24 AND other cooperative games
Reproduction Steps
I puto the 2 controles AND only detecta one but y van control this controller with the other teo gamepads
Screenshot/video
No response

Please help me @redphx

This feature doesn't work on the webOS version and will be removed in later version


Strange behavior when rendering chart in a table

[X] I am using English in this issue. 在这个 Issue 中我使用了英文（强烈建议）。

General Questions

[X] Required: I have read the document and examples and tried to solve it by myself. （必填）我读过了文档和教程，并且曾试图自己解决问题。
[X] Required: I have searched for similar issues and that didn't help. （必填）我搜索过 issue 但是没有帮助。
[X] Required: I have tried with the latest version of ECharts and still have this problem. （必填）我试过最新版本的 ECharts，还是存在这个问题。

In this issue, I have provided information with: 在这个 issue 中我提供了以下信息：

[X] Required: issue type；（必填）issue 类型
[X] Required: one sentence description in issue details；（必填）一句话的问题描述
[X] Required: demo；（必填）能反映问题的例子（如果你想提问或报 bug）
[X] Required: ECharts version；ECharts 版本

Issue Type

[ ] I have a question to ask about how to use ECharts to ...；我想提问如何使用 ECharts 实现某功能
[X] I have a bug to report；我想要报 bug
[ ] I have a feature to request, e.g.: I'd like a new feature that ...；我需要一个新功能
[ ] I have a feature to enhance, e.g.: The current feature should be improved in the way that ...；我希望改进某个功能
[ ] There's something wrong with the documents；文档有些问题
[ ] Others, or I'm not sure which issue types to choose here；其他，或我不知道应该选什么类型

Issue Details

When a line chart (not sure about the others) is rendered on a table, it randomly moves across the cells and vary its width, even with the same data.
Expected Behavior

All the charts, along with the table cells, should have the same width and position when they have the same data
Current Behavior

The charts are rendered in random positions and with random width.
Online Example

Using React: https://codepen.io/kimuraz/pen/OrPPRr
Using Vue: https://codepen.io/kimuraz/pen/XoJrXE?editors=1111

Note: I tested both because I supected it was something about Vue's rendering, but the same occured on React.

Topics

[ ] Legend
[ ] Tooltip
[ ] Event
[ ] Performance
[ ] SVG
[ ] Map
[ ] ECharts GL
[ ] Third-party libraries, e.g.: Vue.js, React

Anything Else We Need to Know

I've tested with both SVG and Canvas rendering.
Environment

ECharts version；ECharts 版本: {4.1.0}

[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题，请提供相应环境信息：{BROWSER_VERSION_OR_OS_INFORMATION_HERE}

If you log the width of the container in mounted, you may find that the width of them are not the same:
console.log(this.$refs.chart.clientWidth)
// prints 477, 633, 654, 655 in my case

This is because the width of a column is decided by content width of each columns. And it changes when content changes.
In your case, I'd suggest setting <td> width using CSS to be fixed, like 40% or 200px. Hopefully that will help.

Thanks for the quick reply!
It simply worked: https://codepen.io/kimuraz/pen/OrPPRr


add  0.12 release note

@qiujian16 for managed-serviceaccount addon:

we added a new version v1beta1 for managed service account API: https://github.com/open-cluster-management-io/managed-serviceaccount/pull/78
support using addon template to deploy agent: https://github.com/open-cluster-management-io/managed-serviceaccount/pull/69

@qiujian16 No significant upgrades in cluster-proxy

@qiujian16 for managed-serviceaccount addon:

we added a new version v1beta1 for managed service account API: add v1beta1 managed service account managed-serviceaccount#78
support using addon template to deploy agent: support using addon template to deploy agent managed-serviceaccount#69

@zhujian7 could you propose a change on the existing PR? thanks!

all is resolved @mikeshng would you like to take another look and tag it?

all is resolved @mikeshng would you like to take another look and tag it?

Oops. I used the GitHub UI to commit suggestion and now it's failing DCO. Could you help force push please? Thanks.

updated

Sorry, I wasn't fast enough 😢

I've created a followup PR to address the review comments:

https://github.com/open-cluster-management-io/open-cluster-management-io.github.io/pull/390


Prepare repository for next .github release and SBT build improvements

What has been done in this PR?
Prepare project for next .github release

Add ci-publish command alias that will be used instead of ci-release for publishing artifacts.
Move docs templates to docs folder (as mdoc is expected).
Move microsite files to microsite folder.
Run github before ci-docs & ci-publish.
Remove ci-microsite (it gets inline in ci-docs).
Add actions.yml file that will be used by next .github release workflows to read pre/post conditions to run before/after ci-* commands.

Simplify SBT build

Re-order settings.
Remove unneeded settings.
Remove old sbt-org-policies markers.
Add sbt-remove-test-from-pom to avoid publishing test dependencies to POM.
Add sbt-codecov to run tests with coverage and auto-upload to Codecov.

Update versions

Update plugins to latest versions.
Update some dependency versions.

Fixed in https://github.com/higherkindness/mu-scala/pull/927/commits/2992daf3bac87b5aced7426356bbb28f7bdb5260 . Thanks @alejandrohdezma


Add information on workshops

Schedule page:
http://drop.bdvs.info/19HP8/2TdUBD7I
Tickets page:
http://drop.bdvs.info/RLIx/4EDEVfI5
Speaker pages (Brian and Vitaly):
http://drop.bdvs.info/14STs/1HpXajwj
http://drop.bdvs.info/lwWO/5DjsnWvW

The schedule should show that you need to buy tickets to the workshops. So it's obvious that it's not included in the JSConf ticket.

Good enough for dev


Fix: Tweak to EditableTextArea

Only on Firefox, if you press "enter" in a field with placeholder text the focus indicator animates below the border that sits under the placeholder text instead of across the top of it.
Bug: https://share.getcloudapp.com/Z4uzP2YG
Fix: Move the border onto the textarea instead of the parent div to resolve the issue. This then caused problems across all browsers with the fader covering up the border, so I shifted the fader's position 1px. This caused a problem only on Firefox where you could see some unfaded text peeking between the bottom of the fader and the border, which was resolved when I removed a style specific to Firefox that was adding an additional 3px to the height of the textarea parent.

Pull Request Test Coverage Report for Build 2682

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2681:
0.0%

Covered Lines:
21

Relevant Lines:
21

💛  - Coveralls

Closing b/c it turns out we only need to remove the FF style rule with margin-bottom and the rest of the changes aren't necessary  -- since there's another open PR that is adding validation, we're folding this small change into that.


Unions with destructors.

r? @Manishearth

 Warning

These commits modify unsafe code. Please review it carefully!

@bors-servo r+

:pushpin: Commit ed92708 has been approved by Manishearth

:hourglass: Testing commit ed92708 with merge f64606f...

:sunny: Test successful - status-travis


Whitelist support

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6882a63). Click here to learn what that means.
The diff coverage is 78.43%.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   82.05%
=========================================
  Files             ?        2
  Lines             ?       78
  Branches          ?        0
=========================================
  Hits              ?       64
  Misses            ?       14
  Partials          ?        0

Impacted Files
Coverage Δ

tests/test_run.py
100% <100%> (ø)

spellrst.py
80.28% <75%> (ø)

Continue to review full report at Codecov.

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


fix member naming to match the convention

CI gfxreconstruct build queued with queue ID 8569.

CI gfxreconstruct build # 1274 running.

CI gfxreconstruct build # 1274 passed.