Hugging Face Local Pipelines EXAMPLE NOT WORKING ON CENTOS

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline

model_id = "gpt2"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer, max_new_tokens=10)
hf = HuggingFacePipeline(pipeline=pipe)

from langchain.prompts import PromptTemplate

template = """Question: {question}

Answer: Let's think step by step."""
prompt = PromptTemplate.from_template(template)

chain = prompt | hf

question = "What is electroencephalography?"

print(chain.invoke({"question": question}))

Error Message and Stack Trace (if applicable)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
[/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend) Optimized/test.ipynb Cell 2 line 1
     [12](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=11) template = """Question: {question}
     [13](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=12)
     [14](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=13) Answer: Let's think step by step."""
     [15](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=14) prompt = PromptTemplate.from_template(template)
---> [17](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=16) chain = prompt | hf
     [19](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=18) question = "What is electroencephalography?"
     [21](vscode-notebook-cell://ssh-remote%2B7b22686f73744e616d65223a224157532d4543322d41492d32227d/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/test.ipynb#W2sdnNjb2RlLXJlbW90ZQ%3D%3D?line=20) print(chain.invoke({"question": question}))

File [~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:436](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:436), in Runnable.__ror__(self, other)
    [426](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:426) def __ror__(
    [427](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:427)     self,
    [428](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:428)     other: Union[
   (...)
    [433](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:433)     ],
    [434](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:434) ) -> RunnableSerializable[Other, Output]:
    [435](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:435)     """Compose this runnable with another object to create a RunnableSequence."""
--> [436](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:436)     return RunnableSequence(coerce_to_runnable(other), self)

File [~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4370](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4370), in coerce_to_runnable(thing)
   [4368](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4368)     return cast(Runnable[Input, Output], RunnableParallel(thing))
   [4369](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4369) else:
-> [4370](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4370)     raise TypeError(
   [4371](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4371)         f"Expected a Runnable, callable or dict."
   [4372](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4372)         f"Instead got an unsupported type: {type(thing)}"
   [4373](https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a224157532d4543322d41492d32227d.vscode-resource.vscode-cdn.net/mnt/efs/fs2/LangChain-in-Kubernetes/chat-backend%20Optimized/~/.local/lib/python3.9/site-packages/langchain_core/runnables/base.py:4373)     )

TypeError: Expected a Runnable, callable or dict.Instead got an unsupported type: <class 'langchain.prompts.prompt.PromptTemplate'>

Description
I've tried to replicate the example on the site
https://python.langchain.com/docs/integrations/llms/huggingface_pipelines
I've installed all dependencies, and I've got that error
System Info
langchain==0.1.7
langchain-community==0.0.20
langchain-core==0.1.23
langchainplus-sdk==0.0.20
pythin 3.9.16
Platform RHEL & CenOS

I suspect you may not be using the langchain version you think you are, notebook envs can be tricky. if you run %pip show langchain in the notebook what does it return?

Sure
Name: langchain
Version: 0.1.7
Summary: Building applications with LLMs through composability
Home-page: https://github.com/langchain-ai/langchain
Author:
Author-email:
License: MIT
Location: /usr/local/lib/python3.11/site-packages
Requires: aiohttp, dataclasses-json, jsonpatch, langchain-community, langchain-core, langsmith, numpy, pydantic, PyYAML, requests, SQLAlchemy, tenacity
Required-by: langserve
I would like to add more information, since i was doing curl to the server, this is what I got in my server when running
LANGSERVE: ⚠ Using pydantic 2.6.1. OpenAPI docs for invoke, batch, stream, stream_log endpoints will not be generated. API endpoints and playground should work as expected. If you need to see the docs, you can downgrade to pydantic 1. For example, `pip install pydantic==1.10.13`. See https://github.com/tiangolo/fastapi/issues/10360 for details.

INFO:     <IP_ADDRESS>:56678 - "POST /llama_chain/invoke HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pydantic/v1/main.py", line 716, in validate
    value_as_dict = dict(value)
                    ^^^^^^^^^^^
ValueError: dictionary update sequence element #0 has length 3; 2 is required

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 116, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 186, in __call__
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 746, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 75, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
    raise exc
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
    await app(scope, receive, sender)
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 70, in app
    response = await func(request)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 299, in app
    raise e
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 294, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/langserve/server.py", line 464, in invoke
    return await api_handler.invoke(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/langserve/api_handler.py", line 699, in invoke
    config, input_ = await self._get_config_and_input(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/langserve/api_handler.py", line 675, in _get_config_and_input
    input_ = schema.validate(body.input)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pydantic/v1/main.py", line 718, in validate
    raise DictError() from e
pydantic.v1.errors.DictError: value is not a valid dict

does anything change if you update
from langchain.prompts import PromptTemplate

to
from langchain_core.prompts import PromptTemplate


Following mode and downloaded check

add future

option "-F" -> Download videos of people you are following.
Check Downloaded Video By Video-ID.

@momoandbanana22
This looks great! A big thank you for your contribution!


[Snyk] Security upgrade werkzeug from 2.2.3 to 3.0.6

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

examples/transformer/custom-transformer/requirements.txt

⚠ Warning
mlflow 1.30.1 requires scipy, which is not installed.
mlflow 1.30.1 has requirement pytz<2023, but you have pytz 2024.2.
botocore 1.33.13 has requirement urllib3<1.27,>=1.25.4; python_version < "3.10", but you have urllib3 2.0.7.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Directory Traversal
🦉 Allocation of Resources Without Limits or Throttling

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: code/snyk check is complete. No issues have been found. (View Details)


DS-4473: Configurable whitelist for Access-Control-Allow-Origin

References

https://jira.lyrasis.org/browse/DS-4473
Loosely related to https://github.com/DSpace/dspace-angular/issues/641 (withCredentials issues in Angular UI)

Description
This is a small improvement to our ApplicationConfig to ensure the existing rest.cors.allowed-origins both (1) works properly for Apache Commons Config (which treats comma-separated values as an array, and (2) defaults to the value of dspace.ui.url if unspecified.
It also updates rest.cfg to set rest.cors.allowed-origins=${dspace.ui.url} by default.
Instructions for Reviewers

This should be tested with the Edit Item Bitstreams UI to see if it solves the CORS error noted here: https://github.com/DSpace/dspace-angular/pull/577#issuecomment-607685503
This should ideally be tested with Shibboleth to see if the rest.cors.allowed-origins configuration can replace the special Apache configuration instructions listed here: https://wiki.lyrasis.org/display/DSPACE/DSpace+7+Shibboleth+Configuration#DSpace7ShibbolethConfiguration-SeparateRESTandAngularhostname

@tdonohue I've read through your code changes, and when comparing it with https://wiki.lyrasis.org/display/DSPACE/DSpace+7+Shibboleth+Configuration#DSpace7ShibbolethConfiguration-SeparateRESTandAngularhostname I noticed there are rules in here that are not present in https://github.com/DSpace/DSpace/blob/master/dspace-server-webapp/src/main/java/org/dspace/app/rest/Application.java#L132
If all the documented rules are required (I never tested using less of the rules), The Application.java would need to be extended as well.
It would also be useful to make this set of rules more configurable. The headers seem to be important for e.g. Shibboleth, but also for other features. It's perhaps something to make configurable as well.
I will also try to get my Shibboleth test installation operational again to test the setup without the Apache changes

@tdonohue I've been able to get my Shibboleth test box working again
This solution is indeed not sufficient yet to get Shibboleth working
You can see the difference using e.g.
curl -D - 'https://dspace7-test.atmire.com/server/api/authn/status' -H 'Accept: application/json' -H 'Content-Type: application/json; charset=utf-8'   -H 'Origin: http://localhost:3000'

It results in:
Access to XMLHttpRequest at 'https://dspace7-test.atmire.com/server/api/authn/status' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

The edit bitstream seems to work correctly though, but it doesn't need those additional headers

@tdonohue I've been able to get my Shibboleth test box working again
This solution is indeed not sufficient yet to get Shibboleth working
You can see the difference using e.g.
curl -D - 'https://dspace7-test.atmire.com/server/api/authn/status' -H 'Accept: application/json' -H 'Content-Type: application/json; charset=utf-8'   -H 'Origin: http://localhost:3000'

It results in:
Access to XMLHttpRequest at 'https://dspace7-test.atmire.com/server/api/authn/status' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Credentials' header in the response is '' which must be 'true' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.

The edit bitstream seems to work correctly though, but it doesn't need those additional headers

@benbosman : I've rebased this on the latest master and retested it.  I'm not able to reproduce the curl issues you noted after I update the rest.cors.allow-origins configuration appropriately.
For example, with default settings (which is rest.cors.allowed-origins = ${dspace.ui.url} and dspace.ui.url=http://localhost:3000), this command works for me (no CORS errors):
curl -D - 'http://localhost:8080/server/api/authn/status' -H 'Accept: application/json' -H 'Content-Type: application/json; charset=utf-8' -H 'Origin: http://localhost:3000'

But any other Origin that I pass in will fail with a "Invalid CORS request" error.
If I change the allowed-origins settings to have additional origins like this: rest.cors.allowed-origins = ${dspace.ui.url}, http://www.google.com, then the same curl command also works with Origin: http://www.google.com or Origin: http://localhost:3030.
So, I think this PR is doing exactly what it is supposed to do.  However, I'm not sure whether it solves all the issues behind the Shibboleth CORS problems (it might not and I unfortunately don't have a Shibboleth instance to test this on). But, I think it at least adds the capability to have a whitelist of allowed Origin values (which was the main goal of this PR).
Does this make sense?  Or am I missing something that still isn't working correctly?

I've tested the latest version, and it still doesn't support Shibboleth or exposing the list of login methods.
The curl request does not respond with Access-Control-Allow-Credentials:true which is required for Shibboleth
In order to use this for Shibboleth authentication , the Access-Control-Allow-Credentials header has to be set to true.
A configurable list of exposed headers would be the most flexible solution.
You can even see this without using Shibboleth in your net panel, the /server/api/authn/status request fails due to this CORS policy

@benbosman : Thanks for the additional testing & explanation. I didn't realize the issue was the lack of the "Access-Control-Allow-Credentials" header.  I've just pushed up a new commit to add support for a configurable "Access-Control-Allow-Credentials" header (and it now defaults to "true").
I'll also update the PR description as this was not part of the original goal of the PR, but it was simple enough to add in.
Please give this another try/review. Thanks!

Merging, as we decided this was one approval in today's meeting.


Create preparse-postformat.md

Added documentation for the preparse / postformat plugin (I noticed it was missing from the site).

Thanks, would you please update https://github.com/dayjs/dayjs-website/blob/master/website/sidebars.json as well? Just insert it in alphabet order.

@iamkun Done :)

THX


Deeper explanations and diverse examples

Please provide more coding explanations and more set of examples on how to add conditional formatting to custom visuals.
I have implemented it for a color attribute but apparently it is not being read correctly and there are not enough explanations on this documentation.

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

ID: b3300d18-dfe1-a0a0-597e-2f5760924ca1
Version Independent ID: 29fd380a-48fa-a99c-0e3a-4e3b314f99dd
Content: Conditional formatting in Power BI embedded analytics - Power BI
Content Source: powerbi-docs/developer/visuals/conditional-format.md
Service: powerbi
Sub-service: powerbi-custom-visuals
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi @djpirra, thanks for your comment. I have forwarded it on the the doc author for further consideration.

Thanks for your comment, @djpirra.
This looks like a support request or product question rather than documentation feedback.
You might find a solution in the Power BI Community. If not, try our support page.
@djpirra - can you also be more specific regarding your problem? If it's something simple perhaps we might be able to help.
@uve - do we have more examples for conditional formatting?
Thanks,
Kesem

Hi Kesem,
I actually disagree with the fact of being a support request. Actually my
point was to highlight the fact that I believe the documentation is poor
regarding this context.
There are many situations where the feature is not working, and the
examples given are incomplete to the point of not understanding how to
achieve it.
I do believe it should be improved and provided more context around how to
use conditional formatting when using different types of data roles in the
capabilities, and what is and is not supported at the moment.
Thank you
On Mon, 19 Apr 2021 at 3:16 PM Kesem Sharabi @.***>
wrote:

Thanks for your comment, @djpirra https://github.com/djpirra.
This looks like a support request or product question ratherthan
documentation feedback.
You might find a solution in the Power BI Community
https://community.powerbi.com. If not, try our support page
https://support.powerbi.com.
@djpirra https://github.com/djpirra - can you also be more specific
regarding your problem? If it's something simple perhaps we might be able
to help.
@uve https://github.com/uve - do we have more examples for conditional
formatting
https://docs.microsoft.com/power-bi/developer/visuals/conditional-format
?
Thanks,
Kesem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/powerbi-docs/issues/2980#issuecomment-822388511,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZ5Q5UXCRNXQBES2SUZQL3TJQGJLANCNFSM43D6GWPA
.

--
Melhores Cumprimentos,
Luis Simões

Hi @djpirra.
I just double checked with the development team, and we don't have any other examples for using conditional formatting, apart for SampleBarChart.
In the future we'll try and add additional examples and update the article.
In the meantime, you might find a solution for your problem in the Power BI Community. You can also try our support page.
If there's something specific that you think can be changed or added to the article, please let me know.
Thanks,
Kesem


Iteration Plan for Insomnia Core

This plan captures items we are focusing on in the core at a higher level. We will ship features as they are ready to be released. This list / post may change from time to time.
Plan Items

Mark
Description

:runner:
work in progress

:hand:
blocked task

:muscle:
stretch goal for this iteration

:red_circle:
missing issue reference

:large_blue_circle:
more investigation required to remove uncertainty

:black_circle:
under discussion within the team

General

[x] Update electron #1847 @gschier
[x] Change duplicate request mapping so it doesn't conflict with multi-select #685

Environments

[x] Scope responses to active environment #1895
[x] Grouping responses and tokens under environments #260 #669
[x] Filters cannot operate on values rendered from Template Tags #1809

Import / Export

[x] Support importing all Postman export types #691
[x] Export as OpenAPI v3 #1778
[x] Improve performance when importing large specs #1834
[x] Honor default variables when importing OpenAPI #1640

Networking

[x] ⚫ GRPC / Protobuf support
[x] Update node libcurl & support for HTTP/2 #997
[x] Add ability to configure/disable automatic URL encoding #605 #592 #604
[x] Friendlier JSON viewer in Preview mode #1802 (maybe with #494?)

Plugin System

[x] Add support for enabling / disabling plugins #1610 @develohpanda
[ ] Add support for accessing non-text based content from plugin context #1788
[x] Add support for cancel hooks #1608
[x] Ability to define action buttons on template tags #1456

Deferred Items

[ ] Add support for WebSockets #528 #1345 #1842
[x] 💪 Add preflight / cors check during requests #687
[ ] 💪 Add enum support #1806 #1802
[ ] 💪 Add ability to define UI plugins #1383
[x] 🔵 Multi-window support #667

GRPC / Protobuf Support happening in the near future would be awesome

🔵 Multi-window support #283

I don't think that's the issue number you're looking for.

@edbrannin thanks for pointing that out. Just updated the issue number to the correct one (#667)

Really Really need Team Collaboration (the $8,- one) support for Single Sign On (we use AzureAD but any openid-connect provider should be possible).
i cannot manage 80+ developer accounts in all tooling that my company uses :(
i want to move to insomnia for all our devs, but we really need this.

We hear you @m-v-k! 😄
We're aware of the issues larger orgs face by not supporting SSO and it's something we'll be working towards this year.

We were definitely overly-ambitious when we made this post originally. Updated accordingly, and it may get updated again with a proper timeline.

Any chance that #203 gets added to this roadmap?
It has a lot of upvotes and a glaringly missing feature of Insomnia.

Any chance that #203 gets added to this roadmap?

Looking into it to see if we can scope something out for the application.
For now, I'm wondering if this plugin would help?

Any chances that you port the git sync from the designer back to insomnia core? the designer in debug mode is basically insomnia core 😕

Any chances that you port the git sync from the designer back to insomnia core? the designer in debug mode is basically insomnia core 😕

We have plans for this but it will be later in the year

I think #1778 should be a priority, with that you improve the interoperability with Postman. We would import Insomnia collections in Postman.

+1 for gRPC, no other client supports gRPC yet (such postman, postwoman), this will bring insomnia to the next level.
(yet postwoman already supports websocket, mqtt, ..)

Apologies if this is the wrong place to raise this, but I'd like to work on:

Add support for WebSockets #528 #1345 #1842

I'm not actually sure if someone's currently working on it. I've read the contributing guide and through the relevant issues; is there an existing project or ticket to track the work + implementation plan?

I'm not actually sure if someone's currently working on it. I've read the contributing guide and through the relevant issues; is there an existing project or ticket to track the work + implementation plan?

Hi @joshpaulchan,
We haven't started one for Websockets just yet. The team and myself included have been working through GRPC, which has some similarities in the responses (streaming) which will guide the interface mocks and implementation details for this feature. Once we have solidified the mocks and implementation details for GRPC we can begin to tackle the same for Websockets.
That said, we are definitely open to proposals / RFCs for this featureset with wireframes / mocks.
Feel free to ping me on the Insomnia slack where I can share some existing wireframes for GRPC if you are interested.

@wdawson I'm going to close this one as I think it's since no longer applicable or displaying our current plans.
We can probably try some sort of  alternative for this, either creating something like a public GitHub Project, or creating some sort of public view of linear where we can show folks which major chunks of work we are doing or a public facing roadmap.
Some examples we could use for guidance:

VSCode
GitHub have.


fn: eviction resource correction

Previously evictor did not perform an eviction
if total cpu/mem of evictable containers was less
than requested cpu/mem. With this change, we
try to perform evictions based on actual needed cpu & mem
reported by resource tracker.

Seems good. I considered whether the "needed capacity" in the resource tokens could get out of date / stale, but in the worst case we just evict one more container because "at some point the capacity was needed", and I think that's acceptable.

i'm gonna move this into the resource thing as soon as I'm free :)


[SPARK-23834][test] Wait for connection before disconnect in LauncherServer test.

It was possible that the disconnect() was called on the handle before the
server had received the handshake messages, so no connection was yet
attached to the handle. The fix waits until we're sure the handle has been
mapped to a client connection.

Test build #88762 has started for PR 20950 at commit 2b5ca06.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1868/
Test PASSed.

Test build #88762 has finished for PR 20950 at commit 2b5ca06.

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

Merged build finished. Test PASSed.

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


[Bug]: "minimal" zot is very heavy dependency-heavy

zot version
5fcf01d8b8c3fa62fac87681e40120aec27fc17b
Describe the bug
Building a minimal zot binary is slower and more fragile than it could be. This is largely due to a large number of dependencies used by the zot extensions.
On my machine, running make binary-minimal with a hot cache (no binary but otherwise all dependencies already installed), takes ~6s elapsed time and produces a 65MB binary. Cgo is required, making cross-compilation not possible.  It's not possible to build with just go build ./cmd/zot. Building from scratch took over 2 minutes.
The go.mod file lists 58 direct module dependencies and 389 indirect dependencies. Most of those dependencies are not necessary to run the core zot functionality. The extra modules also affect the security profile of zot through use of the unsafe package and cgo.
As an experiment, I removed all the extensions. This resulted in a (working) binary that builds in ~1s elapsed time and is 38MB. No cgo dependence. Building from scratch, including downloading all modules, takes under 30s elapsed time.
Perhaps it would be possible to create a more minimal zot module that only has the dependencies strictly needed for the core functionality, and a module that builds on that to add extensions. That could also have a nice side effect of ensuring a strict separation between "extension" and "core" where currently there are quite a few places in the core that depend directly on extension packages, and also potentially making it possible for third parties to implement their own independent extensions.
To reproduce
make binary-minimal

Expected behavior
Smaller binaries; less dependencies.
Screenshots
No response
Additional context
No response

@rogpeppe This is fantastic work. We will take a closer look at pruning minimal build further.

full binary:

has 416 package deps
136MB size

minimal binary:

has 264 package deps
64MB size

Curious about your comment about cgo - we build with "env CGO_ENABLED=0"

Curious about your comment about cgo - we build with "env CGO_ENABLED=0", and we do cross-compile and that is how we publish our binaries.

That's a good point, sorry! I hadn't noticed the -tags containers_image_openpgp flag on the build command. It's a shame that the github.com/containers/image/v5/signature package doesn't use the cgo tag to build correctly when CGO_ENABLED=0.

Do you have a PR you can share?

Not a PR but you can check out the noextensions branch in https://github.com/rogpeppe-contrib/zot .
I really did it in about 10 minutes, just gratuitously hacking out everything to do with extensions, so it's really not how one might do it for real, just a proof of concept. The resulting binary does work fine though.
To do it properly would require some careful thought about the right kind of abstraction to be used for extensions.

https://github.com/rogpeppe-contrib/zot/commit/1de24e81a04d5b851440bf8cca7a4b4bac1b49a1

I filed much the same bug as a feature request.  @rchincha  can close that as a dupe of this if desired.
https://github.com/project-zot/zot/issues/1677

We were to able the size of minimal further from 65MB to 32MB
-rwxr-xr-x  1 rchincha ifc 138M Aug 19 20:22 zot-linux-amd64
-rwxr-xr-x  1 rchincha ifc  32M Aug 19 20:21 zot-linux-amd64-minimal

Thanks @Andreea-Lupu (PR #1712)

Another update was made in #1758. We probably can't reduce this further unless we replace some of our 3rd party libraries (thinking umoci and skopeo imports for example) with our own implementation, or we move some features out of the minimal build.

We can track further improvements in https://github.com/project-zot/zot/issues/1808


Feature Request: hific integration

I know this is maybe too much to ask but check this out.
https://hific.github.io/
This project basically integrates machine learning with compression. Results are truly impressive. Just look at those demo pictures. Even if they are ideal cases file sizes even doble or triple that size will be - well for lack of a better word miraculous. But I think for comics someone need to train the model specifically using comics. Thanks You.

Sorry, that seems way outside the scope of the project :)
Also, I'm happy supporting just the image formats available in chrome. They are the most commonly used ones and, as I'm using electron to make the program, I'm limited to what modern browsers like it are able to show, and libraries like sharp can convert to and from.

I'm by no sense a developer. But I deduced from the demo hific uses png as output. It simply recreates the image using Generative Adversarial Networks similar to that of stuff like upscalers like Real-ESRGAN (https://github.com/xinntao/Real-ESRGAN). Thus the output is completely free of any compression artifacts that you will get whatever method you choose to use when compressing. But you will need good model specifically trained for the type of image you want to optimise. And it is more gpu intensive to do I think.

I just had time to give it a quick look so I may be totally wrong, but I thought the pngs are raw reconstructions (much bigger in size) of the decoded image so they can visualized. I assume there's a custom encoder AND decoder... (I found a thread in reddit that seems to confirm that, as one of the authors mentions "The process to decode a PNG, compress with our method, decompress with our method and then compress a PNG is timed at 0.7 megapixels per second on a GPU.")
Anyway, my main point was implementing something like this, even if I was capable of, which I don't know (I didn't find a license, it's state-of-the-art and the code and libraries used are in python), would be too much work and outside the scope of the project. If someday there's an easy to integrate library for this that works well with electron/node I'd be up for giving it a go if I have the time, but for know I'm happy limiting myself to the commonly used formats and compression libraries.

No  worries :-)


Fix TravisCI tests

Upgrade to latest App Engine SDK
(note: running this build in a PR to see if it fixes things)

That was easy :+1:


simplify: InstanceKey.DisplayString() -> String()

See: https://github.com/github/orchestrator/pull/202.
Simplify by using InstanceKey.String() rather than having both DisplayString() and String().
A similar function InstanceKey.StringCode() has not been changed as requested in the referenced PR.

[x] contributed code is using same conventions as original code
[x] code is formatted via gofmt (please avoid goimports)
[x] code is built via ./build.sh
[x] code is tested via go test ./go/...

@sjmudd build fails, still missing replacement on
go/http/api.go:2211: topologyRecovery.SuccessorKey.DisplayString undefined (type *inst.InstanceKey has no field or method DisplayString)


Could you add the fuction to run .py scripts in the mission path?

mission path can get using this command

Hi @gytjd01122 , first sorry for the late reply. I'm currently working on a CDLC for Arma and I cannot devote as much time as I would like to to my mods.
Why do you really need such a feature? The last time someone was asking for it was because they needed to be able so easily reload the code, while developing.
If that's what you want, then adding reading code from missions is not going to work the way you want and the python code in memory will stay as it is, until you manually reload it, anyway.
To develop your mod, it's best to place your code in a module (as explained in the readme) and use the Pythia code reloader instead: https://github.com/overfl0/Pythia#code-reloader

Other than that I see more problems than benefits with having code in your mission path.
The biggest problem is that missions may be loaded and unloaded but the python code will stay loaded (forever). This may lead to surprises for the mission maker, who expected to have the namespace to be empty but finds that it contains old variables from the last time the same mission was run, in the memory.
Having the python code in a mod ensures it is clear that the code will stay in memory until Arma is closed.
Also, some other questions would have to be answered, like in what namespace to store the variables created by the code from the mission? The global namespace or something special? If global, then variable names may clash. And if not then what name? Etc...
There is an obscure python feature that could (in theory) help, which is subinterpreters per mission, maybe, but it's something that's not really used and normal access to the subinterpreters is planned to be added to python 3.10. Until now, the only way to access them was by directly calling C functions, from the cpython library.
All in all, it probably could be done, but I think the current state of Pythia makes it safer to write code that will not surprise you.

Hi @gytjd01122 , first sorry for the late reply. I'm currently working on a CDLC for Arma and I cannot devote as much time as I would like to to my mods.
Why do you really need such a feature? The last time someone was asking for it was because they needed to be able so easily reload the code, while developing.
If that's what you want, then adding reading code from missions is not going to work the way you want and the python code in memory will stay as it is, until you manually reload it, anyway.
To develop your mod, it's best to place your code in a module (as explained in the readme) and use the Pythia code reloader instead: https://github.com/overfl0/Pythia#code-reloader

Other than that I see more problems than benefits with having code in your mission path.
The biggest problem is that missions may be loaded and unloaded but the python code will stay loaded (forever). This may lead to surprises for the mission maker, who expected to have the namespace to be empty but finds that it contains old variables from the last time the same mission was run, in the memory.
Having the python code in a mod ensures it is clear that the code will stay in memory until Arma is closed.
Also, some other questions would have to be answered, like in what namespace to store the variables created by the code from the mission? The global namespace or something special? If global, then variable names may clash. And if not then what name? Etc...
There is an obscure python feature that could (in theory) help, which is subinterpreters per mission, maybe, but it's something that's not really used and normal access to the subinterpreters is planned to be added to python 3.10. Until now, the only way to access them was by directly calling C functions, from the cpython library.
All in all, it probably could be done, but I think the current state of Pythia makes it safer to write code that will not surprise you.

I'm going to close this issue because I don't think there currently is a reasonable way to implement this while making sure everything will work correctly when the mission restarts. Thanks for your input, though :)


minder: init at 1.5.0

Motivation for this change
Mind-mapping application for Elementary OS!
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@mmahut: should be good now, look good to you? :)

Looks good!


Try to figure out a way to attach errors thrown by module server back to the test code they came from

If I do:
await utils.runJS(`
  console.log('tooManyParens'))
`)

then ESBuild throws a parse error, which gets caught and displayed in the console, and the runJS will also throw because the HTTP server returned a 500 for the module.
The problem is that the actual error that ESBuild threw (with the line/col of the syntax error) doesn't get attached to the error thrown by runJS. This is mostly OK, but it makes debugging a little harder because the location of the logged error in the console thrown by ESBuild is not necessarily at the same place as the error thrown by runJS. Also, it means that we can't run error message snapshots for runJS.
Potential solution #1
One solution that I had experimented with was, when a 500 was thrown, attaching the error message from ESBuild into the response, and changing it to a 200 response, like transpiling the module to: throw new Error('SyntaxError from ESBuild: location, line/col, etc.'). The problem with this is that for static imports, the browser doesn't execute the module unless it contains the export names that were imported. Since the original module has syntax errors, we can't parse it to get the export names. I really liked this solution though, and it seems like it is very close to working. Maybe we could use a sketchy regex to detect the export names even if the module is not parseable? (a la cjyes). Or use a very forgiving parser that works with incorrect syntax like Typescript's?
Potential solution #2
Another solution would be to create the static module graph in memory in node as a set of promises, and then whenever a module fails to parse/transform/etc, reject all the promises for all the modules above it, bubbling up to the top-level module that gets imported by runJS. The rejection could be detected by runJS (or the top-level module could get awaited?), and then it could incorporate the error message into the output. (I think this won't work for dynamic imports, but we could combine it with solution #1 for dynamic imports?)
Potential solution #3
Rewrite all the imports to have a query parameter that is specific to the individual build. Then when an error is thrown, we can reject a promise corresponding to the build ID, which will cause runJS to reject with the error. This would work for dynamic imports, but probably not for dynamic imports which are not static strings

This should probably be tackled together with #175

I like #3 the best, I am going to try it out

#3 works! Didn't run into anything crazy. Cleaning up some changes, then I'll move some things around to knock out #175 as well

Turns out there is a problem: Having a query parameter that changes per-call of runJS leads to modules no longer being deduped by the browser. An example of this is multiple runJS's that import Preact will each get their own "instance" of Preact, which breaks things 😦
I think a potential solution would be to have a module cache in node and resolve to a cached module if it is already in the cache.

Narrator: he did not also solve #175


Parameters for reproducing the FID of the released XL/2

Hi Authors,
Thanks for the great work. I downloaded the released XL/2 ckpt and tried to run the evaluation. The obtained FID value is too high, around 7. Can you share the hyperparameters for evaluation? such as the sampling method, number of steps, cfg scale...
regards,
Yan

We used second-order Heun ODE solver with 125 steps (250 NFEs) and 1.5 cfg scale. All training and network hyperparameters follows DiT-XL.


Don't git ignore Gemfile.lock.release

As per https://github.com/ManageIQ/manageiq/pull/20545#discussion_r488069662
Gemfile.lock.release will be added to each branch when it gets closer to the GA release.


glog requires flag.parse() else it will error

This issue got fixed in https://github.com/kubernetes/kubernetes/issues/17162, would be great if we could fix it here as well!

I'm working on this issue ,
is there a single file where all the go flags can be set because I'm planning to add the flag in all the files in client go where the logs are being noisy?


create a horizontal prototype (use a tool like justinmind.com, figma, framer, or balsamiq)

I'll be doing that in XCode storyboards, trying to display pretty much all frontend features from https://github.com/mobileappdevhm19/apps4students-team-3/wiki/Design-Phase

Horizontal prototype was created. Code is pushed to the feature/horizontal branch. Also Screenshots are found in gh.pages Branch and showen in the wiki!


Secrets

We can chat about these on the 1:1 tomrrow, but I'm good with the changes.

We can chat about these on the 1:1 tomrrow, but I'm good with the changes.

sure Dave.


Incorrect URI scheme reported

As of some point within the last week the HTTPS version httpbin has started to report an incorrect URL with HTTPS swapped for HTTP, in its response JSON.
At a guess this the result of some reverse proxying? (use X-Forwarded-Proto?)
See example below, where https://httpbin.org/post becomes  http://httpbin.org/post.
$ curl -v -X POST "https://httpbin.org/post"
* Adding handle: conn: 0x6f7078
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x6f7078) send_pipe: 1, recv_pipe: 0
* About to connect() to httpbin.org port 443 (#0)
*   Trying <IP_ADDRESS>...
* Connected to httpbin.org (<IP_ADDRESS>) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: C:\Users\zool1112\AppData\Local\Atlassian\SourceTree\git_local\bin\curl-ca-bundle.crt
  CApath: none
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
*        subject: OU=Domain Control Validated; OU=EssentialSSL Wildcard; CN=*.httpbin.org
*        start date: 2015-01-16 00:00:00 GMT
*        expire date: 2016-01-16 23:59:59 GMT
*        subjectAltName: httpbin.org matched
*        issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA
*        SSL certificate verify ok.
> POST /post HTTP/1.1
> User-Agent: curl/7.30.0
> Host: httpbin.org
> Accept: */*
>
< HTTP/1.1 200 OK
* Server nginx is not blacklisted
< Server: nginx
< Date: Mon, 26 Jan 2015 10:30:03 GMT
< Content-Type: application/json
< Content-Length: 280
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
<
{
  "args": {},
  "data": "",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Host": "httpbin.org",
    "User-Agent": "curl/7.30.0",
    "X-Forwarded-Ssl": "on"
  },
  "json": null,
  "origin": "<IP_ADDRESS>",
  "url": "http://httpbin.org/post"
}
* Connection #0 to host httpbin.org left intact

I suspect this is related to @Runscope/owners moving httpbin's hosting off of Heroku and onto their own solution.

we'll take a look!
On Mon, Jan 26, 2015 at 2:42 AM, Laurence Hudson<EMAIL_ADDRESS>wrote:

As of some point within the last week the HTTPS version httpbin has
started to report an incorrect URL with HTTPS swapped for HTTP, in its
response JSON.
At a guess this the result of some reverse proxying? (use
X-Forwarded-Proto?)
See example below, where https://httpbin.org/post becomes
http://httpbin.org/post.
$ curl -v -X POST "https://httpbin.org/post"

Adding handle: conn: 0x6f7078
Adding handle: send: 0
Adding handle: recv: 0
Curl_addHandleToPipeline: length: 1

Conn 0 (0x6f7078) send_pipe: 1, recv_pipe: 0

About to connect() to httpbin.org port 443 (#0)
Trying <IP_ADDRESS>...
Connected to httpbin.org (<IP_ADDRESS>) port 443 (#0)
successfully set certificate verify locations:
CAfile: C:\Users\zool1112\AppData\Local\Atlassian\SourceTree\git_local\bin\curl-ca-bundle.crt
CApath: none
SSLv3, TLS handshake, Client hello (1):
SSLv3, TLS handshake, Server hello (2):
SSLv3, TLS handshake, CERT (11):
SSLv3, TLS handshake, Server key exchange (12):
SSLv3, TLS handshake, Server finished (14):
SSLv3, TLS handshake, Client key exchange (16):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSLv3, TLS change cipher, Client hello (1):
SSLv3, TLS handshake, Finished (20):
SSL connection using DHE-RSA-AES256-SHA
Server certificate:

   subject: OU=Domain Control Validated; OU=EssentialSSL Wildcard; CN=*.httpbin.org

   start date: 2015-01-16 00:00:00 GMT

   expire date: 2016-01-16 23:59:59 GMT

   subjectAltName: httpbin.org matched

   issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO RSA Domain Validation Secure Server CA

   SSL certificate verify ok.

POST /post HTTP/1.1
User-Agent: curl/7.30.0
Host: httpbin.org
Accept: /

< HTTP/1.1 200 OK

Server nginx is not blacklisted
< Server: nginx
< Date: Mon, 26 Jan 2015 10:30:03 GMT
< Content-Type: application/json
< Content-Length: 280
< Connection: keep-alive
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
<
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.30.0",
"X-Forwarded-Ssl": "on"
},
"json": null,
"origin": "<IP_ADDRESS>",
"url": "http://httpbin.org/post"
}
Connection #0 to host httpbin.org left intact

—
Reply to this email directly or view it on GitHub
https://github.com/Runscope/httpbin/issues/207.

This fix has been deployed to httpbin.org. Thanks for letting us know about it!

Thanks for the quick turnaround


getting error Because flutter_gallery depends on flutter_web_plugins any which doesn't exist (could not find package flutter_web_plugins at https://pub.dartlang.org), version solving failed.

Steps to Reproduce

I removed the pubspec.lock and run the command flutter update-packages --force-upgrade for project https://github.com/invoiceninja/flutter-client and getting the error "Because flutter_gallery depends on flutter_web_plugins any which doesn't exist (could not find package flutter_web_plugins at https://pub.dartlang.org), version solving failed."

Logs

Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 12bf95fd49b7456f08a1274078c4b55e675ad018...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
Downloading package sky_engine...                                   1.9s
Downloading common tools...                                         3.5s
Downloading common tools...                                         3.5s
Downloading windows-x64 tools...                                    5.0s
Upgrading packages...
WARNING: the following packages use hard-coded version constraints:
  - flutter_gallery_assets: 0.1.9+2
  - mockito: ^4.1.0
  - vm_service_client: 0.2.6+2
Running "flutter pub upgrade" in flutter_update_packages.18542cc0-211c-11ea-9673-c8f750a6b2b0...        30.7s
Running "flutter pub get" in automated_tests...                     1.2s
Running "flutter pub get" in complex_layout...                      1.1s
Running "flutter pub get" in macrobenchmarks...                     1.1s
Running "flutter pub get" in microbenchmarks...                     1.2s
Running "flutter pub get" in bots...                                1.0s
Running "flutter pub get" in customer_testing...                    0.7s
Running "flutter pub get" in devicelab...                           1.0s
Running "flutter pub get" in abstract_method_smoke_test...          0.6s
Running "flutter pub get" in android_embedding_v2_smoke_test...         0.8s
Running "flutter pub get" in android_semantics_testing...           1.0s
Running "flutter pub get" in splash_screen_kitchen_sink...          1.0s
Running "flutter pub get" in splash_screen_load_rotate...           0.8s
Running "flutter pub get" in splash_screen_trans_rotate...          1.1s
Running "flutter pub get" in android_views...                       1.4s
Running "flutter pub get" in channels...                            1.0s
Running "flutter pub get" in codegen...                             1.0s
Running "flutter pub get" in external_ui...                         1.0s
Running "flutter pub get" in flavors...                             1.0s
Running "flutter pub get" in flutter_driver_screenshot_test...        16.3s
Running "flutter pub get" in image_loading...                       1.0s
Running "flutter pub get" in flutterapp...                          0.8s
Running "flutter pub get" in named_isolates...                      0.6s
Running "flutter pub get" in platform_interaction...                1.0s
Running "flutter pub get" in release_smoke_test...                  0.8s
Running "flutter pub get" in simple_codegen...                      0.8s
Running "flutter pub get" in ui...                                  1.1s
Running "flutter pub get" in web...                                 0.7s
Running "flutter pub get" in web_compile_tests...                   0.7s
Running "flutter pub get" in manual_tests...                        0.8s
Running "flutter pub get" in snippets...                            0.9s
Running "flutter pub get" in gen_keycodes...                        0.7s
Running "flutter pub get" in vitool...                              0.8s
Running "flutter pub get" in tools...                               8.6s
Running "flutter pub get" in catalog...                             1.1s
Running "flutter pub get" in flutter_gallery...
Because flutter_gallery depends on flutter_web_plugins any which doesn't exist (could not find package flutter_web_plugins at https://pub.dartlang.org), version solving failed.

pub get failed (server unavailable) -- attempting retry 1 in 1 second...

Because flutter_gallery depends on flutter_web_plugins any which doesn't exist (could not find package flutter_web_plugins at https://pub.dartlang.org), version solving failed.

pub get failed (server unavailable) -- attempting retry 2 in 2 seconds...

[√] Flutter (Channel dev, v1.13.2, on Microsoft Windows [Version 6.1.7601], locale en-CA)
    • Flutter version 1.13.2 at C:\tools\flutter
    • Framework revision 4944622b5d (5 days ago), 2019-12-12 18:43:58 +0000
    • Engine revision 12bf95fd49
    • Dart version 2.7.0 (build 2.7.0-dev.2.1 8b8894648f)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\10052153\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.41.0)
    • VS Code at C:\Users\10052153\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.7.1

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

Hi @tanveer-ali
could you please provide your pubspec.yaml,
I'm not sure of the origin of the packages flutter_gallery and flutter_web_plugins
thank you

@iapicca thanks for the response. I no longer need to do the flutter update-packages --force-upgrade so it's all good.

thank you for letting me know @tanveer-ali

Experience the same issue. Any details how did you fix this issue? thanks @tanveer-ali @iapicca

Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.

I still have the same error when running flutter update-packages --force-upgrade`.
And the output of 'flutter doctor -v' as below
   • Flutter version 1.12.13+hotfix.8 at /Users/sitianyu/Dev/flutter
    • Framework revision 0b8abb4724 (4 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/sitianyu/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (1 available)
    • iPhone 11 Pro • 7B12A659-7419-4F6E-86AA-5C4478F2CDD8 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3
      (simulator)

Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


[zh] Sync changes from English site (6)

/assign xichengliudui

/lgtm
you have contributed a lot recently, thanks for the contribution.

you have contributed a lot recently, thanks for the contribution.

That is because 1.19 is to be archived in a few days ... getting things fixed for 1.19 would be much difficult.

/approve


data-match-height for tabs not working in foundation 6.3

data-match-height="true" option for tabs not working.

How to reproduce this bug:
Following is my test html:

Tab 1

Tab 2

Tab 3

Tab 4

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Vivamus hendrerit arcu sed erat molestie vehicula. Sed auctor neque eu tellus rhoncus ut eleifend nibh porttitor. Ut in nulla enim. Phasellus molestie magna non est bibendum non venenatis nisl tempor. Suspendisse dictum feugiat nisl ut dapibus.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

What should happen:
All Tab contents should have equal heights.
What happened instead:
Following is the error i am getting on firefox console:
TypeError: this.options is undefined
Stack trace:
_setHeight/<@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:5856:15
.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:365:10
jQuery.prototype.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:137:10
_setHeight@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:5854:9
singleImageLoaded@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:1851:9
onImagesLoaded/<@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:1835:9
.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:365:10
jQuery.prototype.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:137:10
onImagesLoaded@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:1832:5
_init@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:5626:13
Tabs@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:5535:7
Foundation.reflow/</<@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:193:34
.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:365:10
jQuery.prototype.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:137:10
Foundation.reflow/<@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:175:9
.each@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/jquery.js:365:10
Foundation.reflow@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:167:7
foundation@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/vendor/foundation.js:275:7
@file:///home/neeraj/Downloads/foundation-6.3.0-custom/js/app.js:1:1

Following is the error i am getting on chrome:
foundation.js:195 TypeError: Cannot read property 'panelActiveClass' of undefined
    at HTMLDivElement.<anonymous> (foundation.js:5856)
    at Function.each (jquery.js:365)
    at jQuery.fn.init.each (jquery.js:137)
    at Tabs._setHeight (foundation.js:5854)
    at singleImageLoaded (foundation.js:1851)
    at HTMLImageElement.<anonymous> (foundation.js:1835)
    at Function.each (jquery.js:365)
    at jQuery.fn.init.each (jquery.js:137)
    at Object.onImagesLoaded (foundation.js:1832)
    at Tabs._init (foundation.js:5626)
(anonymous) @ foundation.js:195

See possible solution in #9678

Fixed in #9685


debugger does not debug and also cannot be exited

Description
What steps will reproduce the problem?

just on any code, run debugger, it halts at line #2:
py3\temp.py(2)()
1 # -- coding: utf-8 --
----> 2 """
3 Spyder Editor
4
5 This is a temporary script file.
  and when pressing the red square, get an error as if i pressed ctrl+c:

--KeyboardInterrupt--
For copying text while debugging, use Ctrl+Shift+C
Traceback
  File "C:\ProgramData\Anaconda3\envs\tfcpu\lib\site-packages\qtconsole\base_frontend_mixin.py", line 138, in _dispatch
    handler(msg)
  File "C:\ProgramData\Anaconda3\envs\tfcpu\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py", line 338, in _handle_input_request
    if self._hidden:
AttributeError: 'ShellWidget' object has no attribute '_hidden'
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\envs\tfcpu\lib\site-packages\qtconsole\base_frontend_mixin.py", line 138, in _dispatch
    handler(msg)
  File "C:\ProgramData\Anaconda3\envs\tfcpu\lib\site-packages\spyder\plugins\ipythonconsole\widgets\debugging.py", line 338, in _handle_input_request
    if self._hidden:
AttributeError: 'ShellWidget' object has no attribute '_hidden'
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/rest'}}

Versions

Spyder version: 4.1.5
Python version: 3.8.12
Qt version: 5.9.7
PyQt5 version: 5.9.2
Operating System: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  4.0.0 (OK)
cloudpickle >=0.5.0            :  2.0.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.31.1 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  6.1.0 (OK)
numpydoc >=0.6.0               :  1.2 (OK)
paramiko >=2.4.0               :  2.8.1 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.8.0 (OK)
pygments >=2.0                 :  2.11.2 (OK)
pylint >=1.0                   :  2.9.6 (OK)
pyls >=0.34.0;<1.0.0           :  0.35.1 (OK)
qdarkstyle >=2.8               :  3.0.2 (OK)
qtawesome >=0.5.7              :  1.0.3 (OK)
qtconsole >=4.6.0              :  5.2.2 (OK)
qtpy >=1.5.0                   :  1.11.2 (OK)
rtree >=0.8.3                  :  0.9.7 (OK)
sphinx >=0.6.6                 :  4.4.0 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  22.3.0 (OK)

# Optional:
cython >=0.21                  :  None (OK)
matplotlib >=2.0.0             :  3.5.0 (OK)
numpy >=1.7                    :  1.21.5 (OK)
pandas >=0.13.1                :  1.3.5 (OK)
scipy >=0.17.0                 :  1.7.3 (OK)
sympy >=0.7.3                  :  None (OK)

Hey @tsintsenet, thanks for reporting. This error is already fixed in our latest version (5.2.2).
Since it's still not available in Anaconda, you have two options:

Use our Windows installer, which you can find here.

Create a new environment with conda-forge packages. For that, please close Spyder, open the Anaconda Prompt and run the following commands there:
 conda create -n spyder-cf -c conda-forge spyder
 conda activate spyder-cf
 spyder

After that, you can connect Spyder to your base environment by following these instructions:
http://docs.spyder-ide.org/current/faq.html#using-existing-environment

I'm still having this problem.

downloaded the .dmg file for MacOS
installed Spyder
tried running my code
get the same output as above:

  2 # -*- coding: utf-8 -*-

3
----> 4 """
5 Created on Thu Feb 10 13:21:34 2022
When I try to end the debug session get the following:
--KeyboardInterrupt--
For copying text while debugging, use Ctrl+Shift+C
version info

Spyder version: 5.1.5 None

Python version: 3.9.7 64-bit
Qt version: 5.9.7
PyQt5 version: 5.9.2
Operating System: Darwin 19.6.0

Why does the version have 5.1.5 instead of the 5.2.2 that was supposed to be downloaded?

Thanks!

This is where I downloaded from:
Spyder 5.2.2 Latest
Simple installation
The easiest way to start using Spyder is by downloading our own installers for Windows and macOS:
/Spyder_64bit_full.exe)
macOS (10.15+): [Spyder.dmg](https://github.com/spyder-ide/spyder/releases/download/v5.2.2/Spyder.dmg)

The problem is that when I enter debug mode, execution doesn't stop at the breakpoint:

print(i) in the code below.

#!/usr/bin/env python3
-- coding: utf-8 --
"""
Created on Thu Feb 10 13:21:34 2022
@author: bd111
"""
test_break = True
i = 1

print(i)

print("the end")

It seems you have Anaconda and also our macOS installer in your computer. Our installer is independent from Anaconda, and you need to run it using Spotlight. Please try that and let us know if it works for you.

Issues resolved. Started with a fresh installation of Spyder using pip; conda installation still couldn't stop at first breakpoint nor could the standalone version from the Spyder.dmg file.
Here is the version info:

Spyder version: 5.2.2 None
Python version: 3.9.7 64-bit
Qt version: 5.12.10
PyQt5 version: 5.12.3
Operating System: Darwin 19.6.0

I can't do Python without Spyder! At least not as effectively.
Thanks!

Great! I'm glad you were able to solve your problem.


VGG16 + Adam LR=0.0001

@pbaer Looks like there's something moving for the first time.
Thanks to Eric for his idea, I'm seeing the net actually learning something:

With refinement. Looks like overfitting and potentially not picking up the right training vs validation samples.
I'll check to see if I can upload the model to Github.

Hi Cris, did you figure out your overfitting suspicion? It also seems odd that your test accuracy would be higher than your train accuracy, no?
BTW I posted a connection string in the wiki you can use to upload models to blob storage.
Sent from Ninehttp://www.9folders.com/

From: Cristian Pop<EMAIL_ADDRESS>Sent: Wednesday, July 25, 2018 4:31 PM
To: Microsoft/arcticseals
Cc: Peter Baer; Mention
Subject: Re: [Microsoft/arcticseals] VGG16 + Adam LR=0.0001 (#17)
Merged #17https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Farcticseals%2Fpull%2F17&data=02|01|pbaer%40exchange.microsoft.com|235e3c6681d34bf1690208d5f286b8ca|72f988bf86f141af91ab2d7cd011db47|1|0|636681582801943625&sdata=gKEyYdV2iQZvbi%2Ff01Zy8VlkHShl%2BKVzYtdagLpe7Dg%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Farcticseals%2Fpull%2F17%23event-1753824647&data=02|01|pbaer%40exchange.microsoft.com|235e3c6681d34bf1690208d5f286b8ca|72f988bf86f141af91ab2d7cd011db47|1|0|636681582801943625&sdata=89a4YJNgvhNdEnyLDPK99M01CKq1w%2FIIiZGLEnQGW2M%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHIdVL2K5vyrt1qHnDzQoI-HqR-aByJNks5uKP_FgaJpZM4Vgf5b&data=02|01|pbaer%40exchange.microsoft.com|235e3c6681d34bf1690208d5f286b8ca|72f988bf86f141af91ab2d7cd011db47|1|0|636681582801953629&sdata=mWdN8eR2fMmrjN7ti3Jr7pRANnIeezqUvDpGai1L4uI%3D&reserved=0.

@pbaer sorry - lots of other work... getting through my email now.
I didn't yet, no: I'd like to try out some other transfer models and even build one from scratch. It is indeed odd that is happening.


Replace UCP controller with manager

Proposed changes
related to https://github.com/docker/orca/pull/6666

Unreleased project version (optional)
UCP 2.x
Related issues (optional)

Looks like all feedback has been resolved. Merging.


Refactor SqlQueryOptions/BackendQueryOptions and export the refactored QueryOptions type

Change-type: minor
Signed-off-by: Carol Schulze<EMAIL_ADDRESS>

@balena-ci I self-certify!


Unknown prisma-client function for field Query.XXXXXXXXX

Hi,
I'm using nexus-prisma to modify some types and add some custom mutations, but I'm getting an error and I don't know why.
Here are what I'm using:
nexus                    0.11.6
nexus-prisma              0.3.5
prisma                   1.34.5
prisma-client-lib        1.34.5

And my sumarized index.ts looks like this;
   import { enumTypes } from './internal/enum-types';
   import { argsTypes } from './internal/args/';
   import { prismaObjectTypes } from './internal/prisma-object-types';
   import { objectTypes } from './internal/object-types';
   import { prisma } from './generated/prisma-client';
   import datamodelInfo from './generated/nexus-prisma'

  const Query = prismaObjectType({
    name: 'Query',
    definition: t => t.prismaFields(['*'])
  });

  const Mutation = prismaObjectType({
    name: 'Mutation',
    definition(t) {
      // Keep all the mutations
      t.prismaFields(['*']);

      // Add a custom mutation
      t.field('updateSchema', {
        type: 'UpdatedSchema',
        args: argsTypes.environmentArgs,
        resolve: (parent, { environment }, ctx) => {
         // ....
         // Irrelevant code
        }
      })

  const schema = makePrismaSchema({
    types: [Query, Mutation, objectTypes, prismaObjectTypes, enumTypes],
    prisma: {
      datamodelInfo,
      client: prisma,
    },
    outputs: {
      schema: path.join(__dirname, './generated/nexus/schema.graphql'),
      typegen: path.join(__dirname, './generated/nexus/nexus.ts')
    },
  });

  const server = new GraphQLServer(
    {
    schema: schema,
    context: ({ request }) => ({
      ...request,
      prisma
    })
  });

server.start(() => console.log(`Server is running on http://localhost:4000`));

When I try to get the Item_BillingAccounts from prisma server directly (I have it in docker at localhost:4467) it works perfectly.

But if I want to get bypassing my node app running at localhost:4000  using nexus-prisma doesn't work.
Unknown prisma-client function for field Query.item_BillingAccount

My datamodel about this type:
type Item_BillingAccount @db(name: "Item_BillingAccount") {
  billingAccount: BillingAccount @relation(link: INLINE)
  createdAt: DateTime! @createdAt
  id: Int! @id(strategy: SEQUENCE) @sequence(name: "Item_BillingAccount_id_seq", initialValue: 1, allocationSize: 1)
  InvoiceBreakdowns: [InvoiceBreakdown]
  item: Item @relation(link: INLINE)
  updatedAt: DateTime! @updatedAt
  amount: Float!
  isPercentage: Boolean @default(value: true)
  order: Int!
}

Someone knows what I'm doing wrong or if it's a nexus-prisma bug or if I can fix easily?

Anyone?

@Weakky Could you tell me something about please?

Can you share the generated schema.graphql?

Hi @dillonparfitt
Here is my prisma graphql schema generated by prisma
prisma.graphql.txt
And here is my nexus graphql schema generated by nexus-prisma
schema.graphql.txt
Many thanks!

Can you try doing the same thing but changing the id to be type ID.
}

Hi @dillonparfitt, If I change Int to ID and I try to redeploy the server it throws a validation error
 Errors:   Item_BillingAccount     × The directive @sequence must only be specified for fields that are marked as id, are of type Int and use the sequence strategy. E.g. id: Int! @id(strategy: SEQUENCE).

Hi, ok just as a quick test remove the sequence related data so your id would just be:
‘’’
id: ID!
‘’’

Someone can help me?

Hi @Weakky, as I said you on slack by private message, now I have found out that for unknow reason it's renaming the function, in docker graphql is called item_BillingAccounts and in my nexus prisma client to itemBillingAccounts.. It's removing the underscore..

Closing, it's a typescript generator prisma bug.


Question on implicit transpose in HLO bitcast/copy/reshape instruction #2

In below dumped hlo instruction:
%bitcast.94 = f16[1,128,2,64]{3,1,2,0} bitcast(f16[1,2,128,64]{3,2,1,0} %bitcast.50)

both tensor shape and memory layout are permuted between dimension 1 and dimension 2.
However in this instruction
%copy.6 = f16[2,128,128]{2,1,0} copy(f16[2,128,128]{1,2,0} %bitcast.70)

Dimension 1 and dimension 2 have same size, I cannot infer from dumped IR about whether tensor share are permuted between dim 1 and dim 2.
May I ask how can I get complete information shape/layout permutation?

Hi @Saduf2019 ! Could you please look at this issue?

Copy always uses the same (logical) dimensions, but permutes the layout (physical) dimensions. So a copy actually moves dimensions around.
Bitcast however is a no-op, it does not copy any data. It can do that by changing the physical layout in the same way as the (logical) dimensions, so that it still is the same data as before. The bitcast you show here is in fact a Transpose op in disguise. For Transpose op, layout assignment always assigns a layout such that it becomes a bitcast.
Hope this makes it a bit clearer :)

@akuegel Thanks a lot!!! That makes me much more clear on this.
I have two further questions on these instructions:
Q1
I am still a little bit confused about Reshape instruction, consider:
%reshape.103 = f16[4,128,2,64]{3,1,2,0} reshape(f16[512,128]{1,0} %slice.20)

Looks this reshape.103 instruction is combined of two steps:

[512,128]{1,0} -> [4,128,2,64]{3,2,1,0}
[4,128,2,64]{3,1,2,0}

So, is it functionally equivalent to a Bitcast (step 1) followed by a Copy (step 2) instruction?
Q2:
In addition, I am also wondering about which instructions can incur underlying data change.
Consider Reshape/Transpose/Copy/Bitcast instructions. Underlying data change only happens on Copy and Reshape instructions as these two instructions both can permute layout (physical) dimensions in a way that is not aligned with logical dimension change. In contrast, Transpose and Bitcast do not change data, only change meta-data in HLO IR. Am  I understanding correctly in this regard?

Regarding question 1) yes, for reshape, layout assignment also assigns a layout such that the reshape is a bitcast (i.e. no data has to be moved around). It can happen that this chosen layout can be propagated to other ops so that we don't need the copy. In this case, it seems we still need the copy.
Regarding question 2) In fact, after layout assignment we should only have Copy which moves data. Reshape and Transpose become bitcasts, however we don't replace Transpose ops inside fusion nodes with bitcasts because that allows to generate more efficient code (we may be able to reuse multi-dimensional iteration variables if we know the no-op is a transpose, so we only need to permute the multi-dimensional index instead of recalculating it; the Bitcast op loses this information).

Thanks for the detailed explanation. Closing the issue now:)


Revert add lsp - java agent feature to product

These reverts commit 81bb5b8d
Fixes https://github.com/wso2/product-is/issues/11488

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/682842094

+1 to temporary remove the LSP feature as its usage is not fully incorporated.
We need to enable it back once tooling effort is re-ignited

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/682842094
Status: success


access: may-start-trybots

may-start-trybots group: https://go-review.googlesource.com/#/admin/groups/1030,members

I can't believe you didn't have this yet! CC @dmitshur @andybons

Done


How do i override Style?

hi @arendjr, this lib is nice.
but i dont know how to override style?
such as: override background color or width, height. I tried with style props:
style: {{backgroundColor: 'red' }} but its not run.
And please export clear docs api.
thank you.

Thanks, @hungdev. You can override the style by adjusting the CSS that comes with Selectivity. There's no support for using React props to adjust styling (which I'm afraid would be too limited anyway).
For questions, please refer to StackOverflow rather than creating issues.


List of items shifts up when in connection mode

This isn't happening when filtering, so it something must have changed with my own delegate.

Having stared into the abyss with this for some time now it's apparent that this is solely due to poor design on my part. In trying to do things as simply as possible I've shoehorned myself into a position where the connection input view happened to occupy the same space the title bar view did, but when I am not showing the title bar the previous padding is no longer kept and the main view is reflowed, losing pagination in the process as well.
I'm guessing I either have to create my own View() function, redesign in some other way, or pin to a previous version of bubbles, which I would rather not as it seems like a cop out :zipper_mouth_face:


Added --dump functionality

Added an argument -d or --dump which when specified dumps the json to the console rather than into a file. When this new argument is specified, --output is not needed, since we do not want to write to a file when using --dump. When --dump is not used, the else statement on line 71 picks up and restores regular --output functionality. This allows stdout to be captured from the console by other programs, rather than dealing with filesystems, the stdout with --dump can be quickly read and interpreted. This is also useful when people just want to test a query quickly from the CLI, and not deal with files.

Hi @patrickdundas
Don't you think it would be a simpler solution to print the results to screen when the -o / --output argument is not specified, instead of when an additional -d / --dump argument is specified?
Especially since you mention that the --output argument does not need to be specified, when the --dump argument is specified.
This is also something to think about: do you want to print to screen after all of the tweets have been captured, or per batch after each batch of tweets is retrieved?

Answering the second part of your comment, it is easier to handle all of the tweets at once in one object, rather than returning multiple objects and interpreting those as they come. Dumping in batches could be useful in some cases I'm sure, but in cases where you want the query to run and then dump the data, it makes sense to just have one object at the end of the process.
As for dumping when --output isn't specified, it seems like that could be a good solution, but I figured changing how --output handles a null value could mess up other user's existing implementations of --output. Although, if you think that is a better solution I could change the implementation of --dump if you would prefer.

If you can also update the readme file, I will merge the current implementation.

Hi. I need a new feature: a status field that indicates if the tweet is or
not a retweet. I took a look at the code and I think that the only part
that has to be changed is the Tweet class.
Is that right?
Best regards.
Em 9 de nov de 2017 15:47, "Ahmet Taspinar"<EMAIL_ADDRESS>escreveu:

If you can also update the readme file, I will merge the current
implementation.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/taspinar/twitterscraper/pull/55#issuecomment-343234906,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLsj5cpDl2rerYF7FyKNXqylLu1UT-tks5s0zqggaJpZM4QT7aw
.


I also have this question, how can I get the trained word embedding ?


Cannot read uid_map in dind-rootless unprivileged

I'm trying to run dind-rootless without privileged.
I'm aware, that the docs and different issues say, that the privileged flag is still needed to run dind-rootless.
But the docs also state, that it is only required to

disabling seccomp, AppArmor, and mount masks.

So, I wanted to give it a try by changing these settings upfront for a Kubernetes deployment:
apiVersion: v1
kind: Pod
metadata:
  name: dind-rootless-unpriv
  annotations:
    container.apparmor.security.beta.kubernetes.io/dind: unconfined
spec:
  securityContext:
    fsGroup: 1000
    runAsGroup: 1000
    runAsNonRoot: true
    runAsUser: 1000
    seccompProfile:
      type: Unconfined
  containers:
    - name: dind
      image: docker:20.10-dind-rootless
      env:
        - name: DOCKER_TLS_CERTDIR
          value: ""
      securityContext:
        privileged: false
        procMount: Unmasked
        readOnlyRootFilesystem: false
        capabilities:
          drop:
            - ALL
          add:
            - SETGID
            - SETUID

This is based on:
Ubuntu 20.04
containerd 1.5.2-0ubuntu1~20.04.2
k0s 1.21.3
uidmap 1:4.8.1-1ubuntu<IP_ADDRESS>
k0s has the --feature-gates=ProcMountType=true set to make the procMount: Unmasked work.
But I get this error during startup of dind-rootless:
[rootlesskit:parent] error: failed to setup UID/GID map: newuidmap 35 [0 1000 1 1<PHONE_NUMBER>6] failed: newuidmap: open of uid_map failed: Permission denied
: exit status 1

I came across this issue which mentions the same problem for img: https://github.com/genuinetools/img/issues/191
Adding the capability SYS_ADMIN, as mentioned in the above issue, didn't solve the problem. And this capability is actually not what I was aiming for.
And it is a different problem as mentioned in https://github.com/docker-library/docker/issues/296.
The write error can be fixed with the SETGID/SETUID capabilities.
The only other hint I could find is https://github.com/docker-library/docker/issues/151#issuecomment-483185972
There @AkihiroSuda states, that privileged is also needed to mount sysfs. Perhaps something is missing for this case?
I'm not certain whether this is really an issue, or works as designed. Reading the docs past the

--privileged is required

I was curious to give it a try.

Even with allowPrivilegeEscalation: true, the error for the uid_map persists.


Better documentation

The documentation is so much larger than just fitting in a code block. The documentation should be split somehow or converted to a Markdown table.

sorry noob question... does this work with vue2?

@rodrigoAbril yes it does

44ec95bb61a309cad2a9f23ef8ca1fb9eaef05f9 addresses the question above

Could you add the source code for the table shown in the README screenshot to the documentation? Would be handy to know how to do the delete action buttons.

@DMeechan Added in 023c900


Update Nitro docs

[x] Migrate Nitro docs from Jan
[ ] Update docs for new features
[x] Adding Community section (CoC, Support, Contributing)
[ ] ... (update later)

@0xSage, your scss file was ignore by this :joy:


Fix scanning of log output in GetIpAddress

Resolves #80.

This should pass and has the simplification with TrimRight you have suggested.

LGTM

ah, ok..this explains the sanity failures :relaxed:
LGTM, can merge once sanity passes


Remove commit - Content for "theresa-may" missing

What
As Content is missing for theresa-may a check removing a link has been added here. This commit needs to be removed once Content has been provided

Content has been populated. Closing.


Support Conditional Prometheus Configuration

Please describe the problem you have:
Detect whether prometheus is running in the cluster and automatically install the metrics configuration for Contour and Envoy.
/cc @jpeach

Post-v1alpha1.
Notes for Development:

The Contour Deployment and Envoy DaemonSet have metrics-related configuration.
The containerPort field that specifies the metrics container port is "informational" only, so the metrics service will be exposed if the contour binary exposes it. The Contour binary must have a flag to enable/disable the metrics service (<IP_ADDRESS>:8080 by default).
How should the operator "check if prometheus is running"? What RBAC is needed for the operator to perform this check.
The metrics port is incorrectly named debug until https://github.com/projectcontour/contour-operator/issues/73 is fixed.


Modify dns refresh rate default to 5m

A part of istio/istio#13710
5m default was discussed in the networking WG
This is needed in master and not just istio/installer as we are targeting a backport to 1.1.7

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: howardjohn
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: sdake
If they are not already assigned, you can assign the PR to them by writing /assign @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-security-k8s-presubmit-tests.sh
27a88409481b77b17f4bb412f9c80e3f132dfda6
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-security-k8s-presubmit-tests.sh
27a88409481b77b17f4bb412f9c80e3f132dfda6
link
/test integ-security-k8s-presubmit-tests-master

prow/istio-integ-k8s-tests.sh
27a88409481b77b17f4bb412f9c80e3f132dfda6
link
/test istio-integ-k8s-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Don't think we want this in 1.1 anymore


Exception is raised when encountering a pathlib.Path object

Describe the bug
When a pathlib.Path object is provided to operation parameters that expect a path (e.g. files.template's src arg), Pyinfra failes with the following error:
--> Loading config...
--> Loading inventory...

--> Connecting to hosts...
    [X.X.X.X] Connected

--> Preparing operations...
    Loading: examples/mandanov/enable_pxe.py
--> An unexpected exception occurred:

  File "/path/to/python/dir//site-packages/pyinfra/api/connectors/util.py", line 34, in escape_unix_path
    return UNIX_PATH_SPACE_REGEX.sub(r'\1\\ ', path)
TypeError: expected string or bytes-like object

To Reproduce
Provide a Path object to any operation's argument that expects a path. For example:
files.template(
    src=Path(__file__).parent / 'templates' / 'pxelinux.cfg' / 'machine.cfg',
    dest=Path('/') / 'var' / 'lib' / 'tftboot' / 'pxelinux.cfg' / f'{{machine.mac_address}}.cfg',

Expected behavior
It should not error out and just coerce the Path object into a string via str(<Path object>)
Meta

Include output of pyinfra --support.

System: Darwin
  Platform: Darwin-19.6.0-x86_64-i386-64bit
  Release: 19.6.0
  Machine: x86_64
pyinfra: v1.2.1
Executable: /Users/mark/.pyenv/versions/aircraft/bin/pyinfra
Python: 3.7.7 (CPython, Clang 11.0.0 (clang-1<IP_ADDRESS>))

How was pyinfra installed (source/pip)?

pip

Possible Fix
diff --git a/pyinfra/api/connectors/util.py b/pyinfra/api/connectors/util.py
index c5167257..c811a0b1 100644
--- a/pyinfra/api/connectors/util.py
+++ b/pyinfra/api/connectors/util.py
@@ -31,7 +31,7 @@ def escape_unix_path(path):
     Escape unescaped spaces in a (unix) path.
     '''

-    return UNIX_PATH_SPACE_REGEX.sub(r'\1\\ ', path)
+    return UNIX_PATH_SPACE_REGEX.sub(r'\1\\ ', str(path))

Now released in 1.3.1!

Now released in 1.3.1!


Dumping Gamecube games?

I have successfully dumped my very small Wii collection. However, I am having trouble dumping the two Gamecube games I own. Somehow I feel like the command that was acceptable for Wii dumps isn't as acceptable for Gamecube dumps. I am using a GDR8084N DVD Drive. A log of the cmd output of three attempted rips (two Wii games, one Gamecube game) is attached.
log.txt
.

Is this bug report? If yes, use "Bug report" not "Open a blank issue".

I'm honestly not sure if this is a bug report or not... perhaps it is. It's either a bug with the program (the exact command that works with Wii games should work with Gamecube games) or a bug with the instructions (there is an alternative command with the Gamecube's smaller size both GB wise and physically)

I'm honestly not sure if this is a bug report or not...

Ok, but I want to see 3 discs logs you dumped.

Do you want me to upload the _DMI.bin and _PFI.bin files as well as the .txt files?

This is a 7z containing all the zips, including the rawReadable txts.
https://drive.google.com/file/d/1bT9NviBbt-q6CAQNK_5ySBToqglPC3Zz/view?usp=sharing

GoldeneyeWii

Failed to analize _dec (Track xx).iso after .iso was decrypted.
========== NintendoOpticalDiscFS ==========
========== Disc Header ==========
	                                 Disc ID: m
	                               Game Code: o�
	                             Region Code: �
	                              Maker Code: "�
	                             Disc Number: 142
	                                 Version: 226
	                         Audio Streaming: 63
	                      Stream Buffer Size: 156
	                               Game Name: V��"�Qd8����Nt�*���W[�S�

	      offset of debug monitor (dh.bin) ?:<PHONE_NUMBER> (0xe751e5eb)
	        addr (?) to load debug monitor ?: 0x722eacb4
	offset of main executable DOL (bootfile):<PHONE_NUMBER> (0xbffa4418)
	             offset of the FST (fst.bin): 457698748 (0x1b47edbc)
	                             size of FST:<PHONE_NUMBER> (0xbd76e91e)
	                     maximum size of FST:<PHONE_NUMBER> (0xa65b3de1)
	                       user position (?): 0x80424ef4
	                         user length (?):<PHONE_NUMBER> (0xd5463cf4)
	                                 unknown:<PHONE_NUMBER> (0xe61b6e45)

structure of Disc Header
http://hitmen.c02.at/files/yagcd/yagcd/chap13.html#sec13.1
By the way, does LEGO Indiana Jones and James Bond: Golden Eye only have this problem? Are other wii discs no problem?

It seems like all of the Wii games I have struggle with the decoding
process, though I don't care all that much. Dolphin accepts the unscrambled
4.5GB ISOs just fine (at least with installed NAND? I don't know if that
makes a difference and I can't check this very second) and I could compress
the ISOs using it.
My main problem is with my two GameCube games more or less refusing to dump
at all.
On Wed, Aug 31, 2022, 3:48 AM saramibreak @.***> wrote:

GoldeneyeWii
Failed to analize _dec (Track xx).iso after .iso was decrypted.
========== NintendoOpticalDiscFS ==========
========== Disc Header ==========
                               Disc ID: m

                             Game Code: o�

                           Region Code: �

                            Maker Code: "�

                           Disc Number: 142

                               Version: 226

                       Audio Streaming: 63

                    Stream Buffer Size: 156

                             Game Name: V��"�Qd8����Nt��*���W[�S�

    offset of debug monitor (dh.bin) ?:<PHONE_NUMBER> (0xe751e5eb)

      addr (?) to load debug monitor ?: 0x722eacb4

offset of main executable DOL (bootfile):<PHONE_NUMBER> (0xbffa4418)
           offset of the FST (fst.bin): 457698748 (0x1b47edbc)

                           size of FST:<PHONE_NUMBER> (0xbd76e91e)

                   maximum size of FST:<PHONE_NUMBER> (0xa65b3de1)

                     user position (?): 0x80424ef4

                       user length (?):<PHONE_NUMBER> (0xd5463cf4)

                               unknown:<PHONE_NUMBER> (0xe61b6e45)

structure of Disc Header
http://hitmen.c02.at/files/yagcd/yagcd/chap13.html#sec13.1
By the way, does LEGO Indiana Jones and James Bond: Golden Eye only
have this problem? Are other wii discs no problem?
—
Reply to this email directly, view it on GitHub
https://github.com/saramibreak/DiscImageCreator/issues/144#issuecomment-1232585672,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCEGI5J6Z5YZGNDYN7LQ4DV34E4JANCNFSM572NHY4A
.
You are receiving this because you authored the thread.Message ID:
@.***>

DiscImageCreator_test.zip
Fixed. It was a clearly bug when I committed 22e5812b234d8db8d0ef132f6576ba38250a460d

This worked enough for me. the post unscrambling step is still buggy though lol. Has the code for this build been uploaded to github?

committed https://github.com/saramibreak/DiscImageCreator/commit/0285795bb3811c74ca981debbd5a840921ccb206

the post unscrambling step is still buggy

I dumped Metal Slug Complete (Japan), and it's no problem. I'll get LEGO Indiana Jones or James Bond: Golden Eye or other USA wii discs in the future.