Grabbit version empty on Windows.

(base) ~\Tools\grabbit\grabbit [master ≡ +3 ~0 -0 !]> .\grabbit.exe version
INFO: Version and build information
  builtBy: "devBuiltBy"
  commit: "devCommit"
  date: "devDate"
  version: "devVersion"

In an attempt to reproduce this, I downloaded the latest version from https://github.com/bbkane/grabbit/releases/tag/v2.1.4 on Jenny's surface. I unzipped and untarred it with zip, and ran:
PS C:\Users\bbk15\Downloads> .\grabbit.exe version
INFO: Version and build information
  builtBy: "goreleaser"
  commit: "e0f6f5eb9313304b049861247ab403c9293d9af8"
  date: "2020-10-15T18:37:23Z"
  version: "2.1.4"

Perhaps you ran this on the version you cloned and built? This info is added by goreleaser

Could you delete and redownload grabbit from the releases and see if this issue persists?

Built version that doesnt include gorealeser, this was in error.


Merge latest sentry changes to main branch

Description :sparkles:
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #1562 (2902cc9) into main (1f6d8a6) will decrease coverage by 8.23%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1562      +/-   ##
==========================================
- Coverage   64.97%   56.74%   -8.24%
==========================================
  Files        1037       55     -982
  Lines       28398     1297   -27101
  Branches     2983      195    -2788
==========================================
- Hits        18452      736   -17716
+ Misses       9492      515    -8977
+ Partials      454       46     -408

Impacted Files
Coverage Δ

...c/__tests__/utils/components/get-index-page-api.ts
99.24% <0.00%> (ø)

backend/benefit/applications/api/v1/views.py

backend/benefit/applications/enums.py

backend/benefit/applications/tests/factories.py

...efit/applications/tests/test_application_status.py

...enefit/applications/tests/test_applications_api.py

backend/benefit/calculator/api/v1/serializers.py

backend/benefit/calculator/models.py

...nd/benefit/calculator/tests/test_calculator_api.py

backend/benefit/helsinkibenefit/settings.py

... and 973 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Enabling IR Led Camera

I started to use HP Zbook 14u g5 notebook and this notebook comes with windows 10 pro by default and I wiped all disk data and I have installed fresh 18.04 ubuntu on this notebook. This notebook comes with  HD Camera, IR Camera, Webcam LED, IR Camera LEDs  (2) combination and when I was testing face recognition on windows IR Camera LEDs (2) were blinking during face recognition.
http://h20195.www2.hp.com/v2/getpdf.aspx/c05830243.pdf
After ubuntu installation, I have installed howdy application and Linux Os detected all video hw as 4 different device id. Howdy selected one of them and face detection but it was not working. I have changed howdy config file with trying all device IDs and I suppose I found correct device for IR Camera and howdy started working well. During face recognition Webcam LED is being ON state and IR Camera Leds are not working. It causes time to face detection failures due to environment light conditions. Is it possible to enable using IR Camera LEDs for better detection performance on howdy?

Try using the sudo howdy test command to see what's going wrong. If there's not circle around your face then it's not detecting you

Closing due to inactivity


⚠ Jenkins Plugins Artifactory has degraded performance

In b0bee13, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1169 ms

Resolved: Jenkins Plugins Artifactory performance has improved in f651ef9 after 15 minutes.


Update Search code based on AutoRest spec version e6fa7db9

Update referenced spec version to e6fa7db9
Update generated code
Hide a few model types - AnswerResult, Answers, CaptionResult, QueryLanguage, Speller
Expose struct CharFilterName
Enable skills - CustomEntityLookupSkill, DocumentExtractionSkill
Provide LexicalNormalizer as a search field
Fix RoundtripAllSkills test and add session record
Initialize normalizers collection in search index
Disable setters on collection properties from CustomEntity, CustomEntityLookupSkill and DocumentExtractionSkill
Update public API file

cc: @tg-msft


No hue-bridge discovery - error when pointing to bridge-ip i config

Home Assistant release (hass --version):
0.36.0
Python release (python3 --version):
3.4.2
Component/platform:
Discovery component / Philips Hue
Description of problem:
With a fresh HA-install on my updated Raspberry Pi3 (Raspbian Lite and following the HA-manual install guide) the discovery component doesn't discover my Philips Hue-bridge2 (newest firmware) even though it discovers my Chromecast and other devices connected to the same router.
Adding the Hue Bride manually in configuration.yaml gives me the following error messages in the log:
https://hastebin.com/olibatacek.sql
(pasted below)
`17-01-17 18:02:56 homeassistant.components.light: Error while setting up platform hue
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/phue.py", line 737, in connect
with open(self.config_file_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/homeassistant/.homeassistant/phue.conf'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 112, in setup_platform
setup_bridge(host, hass, add_devices, filename, allow_unreachable)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/hue.py", line 122, in setup_bridge
config_file_path=hass.config.path(filename))
File "/home/homeassistant/.homeassistant/deps/phue.py", line 629, in init
self.connect()
File "/home/homeassistant/.homeassistant/deps/phue.py", line 753, in connect
self.register_app()
File "/home/homeassistant/.homeassistant/deps/phue.py", line 707, in register_app
response = self.request('POST', '/api', data)
File "/home/homeassistant/.homeassistant/deps/phue.py", line 653, in request
connection.request(mode, address, data)
File "/usr/lib/python3.4/http/client.py", line 1090, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1086, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 924, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 859, in send
self.connect()
File "/usr/lib/python3.4/http/client.py", line 836, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.4/socket.py", line 509, in create_connection
raise err
File "/usr/lib/python3.4/socket.py", line 500, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host`
Expected:
Expected the hue-config to show up.
Problem-relevant configuration.yaml entries and steps to reproduce:
# Discover some devices automatically
discovery:

#Philips Hue lights
light:
  platform: hue
  host: [bride-ip]
  allow_unreachable: true

Additional info:
Same problem as described here: https://community.home-assistant.io/t/philip-hue-not-working/9726

Can't reproduce this with dev branch Home-assistant and a first generation Philips Hue bridge. Not sure what's going on. I see a connection error but also a file error.
The Hue component needs to write a phue.conf file in your config directory to store some information needed to connect to the bridge. Are you sure this is not caused by some reading or writing permission errors caused by your environment when this file is created?

I did some testing and I think the issue is linked to my router-configuration.
 This router is running DD-WRT with its own subnet (192.168.3.X) and is daisy chained to the 'main' router (<IP_ADDRESS>).
Now I have to figure out whether the problem is caused by the DD-WRT-configuration of the IoT-router or by some issues related to stacked/double-NAT and/or UPnP.


Calling escope.analyze with babel-eslint unnecessarily requires the opts argument

In eslint-plugin-mozilla, we're doing:
let scopeManager = escope.analyze(ast);

However, this fails with:
Cannot set property 'ecmaVersion' of undefined
TypeError: Cannot set property 'ecmaVersion' of undefined
    at Object.escope.analyze (/Users/mark/dev/normandy/recipe-client-addon/node_modules/babel-eslint/index.js:65:22)
    at Object.getGlobalsForFile (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint-plugin-mozilla/lib/globals.js:153:31)
    at importHead (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js:32:30)
    at EventEmitter.Program (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js:44:9)
    at emitOne (events.js:101:20)
    at EventEmitter.emit (events.js:191:7)
    at NodeEventGenerator.applySelector (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint/lib/util/node-event-generator.js:265:26)
    at NodeEventGenerator.applySelectors (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint/lib/util/node-event-generator.js:294:22)
    at NodeEventGenerator.enterNode (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint/lib/util/node-event-generator.js:308:14)
    at CodePathAnalyzer.enterNode (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint/lib/code-path-analysis/code-path-analyzer.js:602:23)
    at CommentEventGenerator.enterNode (/Users/mark/dev/normandy/recipe-client-addon/node_modules/eslint/lib/util/comment-event-generator.js:98:23)

If I change it to:
let scopeManager = escope.analyze(ast, {});

then it works & passes.
Since the former works with the main eslint, I'd expect it to work here as well.

Note #458 might make this issue go away, but there's been no comments on that yet, so I don't know if it'll land or not.
I will be changing eslint-plugin-mozilla to add the argument, but it seems a bit of a potential pitfall for other developers.

This is related to the fact the escope is monkey patched by babel-eslint on start up.
https://github.com/babel/babel-eslint/blob/master/index.js#L64-L73
We update the monkey patch to at least set the default value of opts to {} and that would solve your problem


Support for non-ESM projects

I'll not be adding support for non-ESM. However, you can use this in CJS projects:
const { generateTOTP, getTOTPAuthUri, verifyTOTP } = await import('@epic-web/totp')

Would you be interested in adding a little mention of that in the docs?

Yup for sure I can!

Top level dynamic imports aren't supported in remix v1 (they will be in v2), are there any other ways you think can be used as a workaround for remix projects still compiling to cjs? (Including in the serverBundle does't work either for some reason.)
Without adding to the server bundle:
Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>not supported.
Instead change the require of<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.

After adding to server bundle:
import_thirty_two.default.encode is not a function
TypeError: import_thirty_two.default.encode is not a function

You can't do top-level await in CJS modules. So instead you can simply import where you're using it. For example, here's where we use this in the epic stack:
https://github.com/epicweb-dev/epic-stack/blob/f6f12452afc9d2e670c039ffdbfe2d6402683e52/app/routes/_auth%2B/verify.tsx#L118
import { generateTOTP, verifyTOTP } from '@epic-web/totp'

// ...

export async function prepareVerification(/* stuff */) {
// ...
	const { otp, ...verificationConfig } = generateTOTP({
		algorithm: 'SHA256',
		period,
	})
// ...
}

To make this work in CJS, you can do this:

// ...

export async function prepareVerification(/* stuff */) {
// ...
	const { generateTOTP } = await import('@epic-web/totp')
	const { otp, ...verificationConfig } = generateTOTP({
		algorithm: 'SHA256',
		period,
	})
// ...
}

Better idea is to upgrade to ESM.


Include types of certificates supported for custom certificate deployment

Proposed changes
https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/user-side-certificates/custom-certificate/ does not currently have limitations or supported types of certificates and encryption algorithms.
If they are all supported, then it should be called out as such, and if there are limitations, likewise.
Subject Matter
Custom certificate limitations
Content Location
https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/user-side-certificates/custom-certificate/
Additional information
No response

Closing this out as this is tracked internally by PCX-10982


Memory leak when using tf.linalg.expm in tf.keras.layers.Layer

System information

Have I written custom code: Yes
OS Platform and Distribution: Arch Linux
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 2.0.0 Beta 1
Python version: 3.7.3
CUDA/cuDNN version: 10.0.130 / 7.6.0
GPU model and memory: Nvidia GTX 1060, 6GB

Describe the current behavior
I'm currently working on a costum Keras Layer and need to use tf.linalg.expm several times.
While training my model I noticed that my system would be out of memory after a few minutes.
Reducing the Layer definition step by step I noticed that the error should be related to tf.linalg.expm.
Every time the layers call method is invoked more and more memory get's allocated.
Replacing return tf.linalg.expm(X) in the following code example with e.g. return tf.matmal(X,X) does not yield this extreme leak of memory.
Describe the expected behavior
The memory allocated by an invocation of acall method using tf.linalg.expm should be freed.

Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
import numpy as np
import tensorflow as tf
import os
import matplotlib.pyplot as plt
import psutil

def memory():
    pid = os.getpid()
    py = psutil.Process(pid)
    memory_use = py.memory_info()[0] / 2. ** 30
    return memory_use

class TestLayer(tf.keras.layers.Layer):

    def __init__(self, **kwargs):

        super(TestLayer, self).__init__(**kwargs)

    def build(self, input_shape):
        self.s = input_shape

    @tf.function
    def call(self, inputs, training=None):

        X = tf.matmul(tf.transpose(inputs),inputs)

        return tf.linalg.expm(X)

S = tf.keras.Input(shape=(1,), name="sequence", dtype=tf.float64)
T = TestLayer()(S)
model = tf.keras.Model(inputs=S,outputs=T)
dataset = tf.data.Dataset.from_tensors(tf.constant(1)).repeat().map(lambda x: tf.ones([tf.random.uniform([1], minval=100, maxval=3000, dtype=tf.int32)[0],1],dtype=tf.float64))

memory_usage = []

i = 0
for data in dataset:
    s = model(data)

    memory_usage.append(memory())

    if i == 1000:
        break

    i = i+1

plt.figure()
plt.plot(memory_usage)
plt.xlabel("iterations")
plt.ylabel("memory usage")
plt.show()

Other info / logs
Warning produced when using tf.linalg.expm:
    WARNING: Logging before flag parsing goes to stderr.
    W0707 13:40:07.108526<PHONE_NUMBER>43616 deprecation.py:323] From /home/darvin/.conda/envs/tf2/lib/python3.7/site-packages/tensorflow/python/ops/linalg/linalg_impl.py:280: add_dispatch_support.<locals>.wrapper (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
    Instructions for updating:
    Use tf.where in 2.0, which has the same broadcast rule as np.where

Could reproduce the issue with TF Version 2.0 beta.

@liemonade,
Could you please upgrade to TensorFlow v2.3 and check if you are still facing the issue? Thanks!


Making 1.9.7 the official release

Hello,
Thank you for this amazing lib. You did a great job. My servers feel better thanks to you !
Is there a chance that you put your 1.9.7 version as the new official release ? I'm dealing with Github API to get all last versions of plugins i use, and with yours, it bugged, since 1.9.5 is your official last release - it warns me every day about a conflict (1.9.5 != 1.9.7).
Thanks you
Best regards,
Vincent

Hello,
I guess you did something because it's fixed !
Thanks you :)


ChatOpenAI:  Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>

System Info
langchain==0.0.169
openai==0.27.6
Who can help?
@hwchase17
@agola11
@vowelparrot
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from langchain.embeddings import OpenAIEmbeddings
from dotenv import load_dotenv
load_dotenv('.env')
ChatOpenAI(temperature=0, max_tokens=500, model_name='gpt-3.5-turbo', openai_api_base = os.environ['OPENAI_API_BASE'] ).call_as_llm('Hi')
Expected behavior
[nltk_data] Downloading package stopwords to /home/sahand/nltk_data...
[nltk_data]   Package stopwords is already up-to-date!
[nltk_data] Downloading package punkt to /home/sahand/nltk_data...
[nltk_data]   Package punkt is already up-to-date!
Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.chat_completion.ChatCompletion'>
Invalid API key.

I have same issue when I use the Azure OpenAI Embedding service.
from langchain.embeddings.openai import OpenAIEmbeddings
embeddings = OpenAIEmbeddings(deployment="text-embedding-ada-002", model="text-embedding-ada-002")
text = "This is a test query."
query_result = embeddings.embed_query(text)
print(query_result)

Traceback (most recent call last):
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/embedding.py", line 55, in <module>
    main()
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/embedding.py", line 44, in main
    query_result = embeddings.embed_query(text)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 300, in embed_query
    embedding = self._embedding_func(text, engine=self.deployment)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 266, in _embedding_func
    return embed_with_retry(
           ^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 64, in embed_with_retry
    return _embed_with_retry(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 314, in iter
    return fut.result()
           ^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 401, in __get_result
    raise self._exception
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 62, in _embed_with_retry
    return embeddings.client.create(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
    ) = cls.__prepare_create_request(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 83, in __prepare_create_request
    raise error.InvalidRequestError(
openai.error.InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'>

llm = AzureOpenAI(
deployment_name="text-davinci-003",
model_name="text-davinci-003",
temperature=0,
openai_api_base=openai.api_base,
openai_api_key=openai.api_key
)
chain = load_qa_chain(llm, chain_type="stuff")
lchain_result = chain.run({"input_documents": documents, "question": query, "return_only_outputs": True} )
Check the doco https://python.langchain.com/en/latest/modules/models/llms/integrations/azure_openai_example.html

Hi everyone,
I don't know if this topic has been resolved, in my case I added the parameter "engine" into the function call
chat = ChatOpenAI(temperature=0.0, engine="gpt-35-turbo")
chat

And i got this warning.
WARNING! engine is not default parameter.
                    engine was transferred to model_kwargs.
                    Please confirm that engine is what you intended.

But it worked for me... and the AzureOpenAI servce answered correctly.
Regards

In order to ignore this warning, you can specify the engine as a dictionary format to model_kwargs.
llm = AzureChatOpenAI(temperature=0.9,
model_kwargs= {'engine' : 'gpt-35-turbo'})

I have same issue when I use the Azure OpenAI Embedding service.
from langchain.embeddings.openai import OpenAIEmbeddings
embeddings = OpenAIEmbeddings(deployment="text-embedding-ada-002", model="text-embedding-ada-002")
text = "This is a test query."
query_result = embeddings.embed_query(text)
print(query_result)

Traceback (most recent call last):
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/embedding.py", line 55, in <module>
    main()
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/embedding.py", line 44, in main
    query_result = embeddings.embed_query(text)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 300, in embed_query
    embedding = self._embedding_func(text, engine=self.deployment)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 266, in _embedding_func
    return embed_with_retry(
           ^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 64, in embed_with_retry
    return _embed_with_retry(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 314, in iter
    return fut.result()
           ^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 401, in __get_result
    raise self._exception
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 62, in _embed_with_retry
    return embeddings.client.create(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
    ) = cls.__prepare_create_request(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 83, in __prepare_create_request
    raise error.InvalidRequestError(
openai.error.InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'>

Anyone able to fix this issue with the OpenAI Embedding service?

you only need this:
embeddings: OpenAIEmbeddings = OpenAIEmbeddings(
    openai_api_base= f"https://{AZURE_OPENAI_SERVICE}.openai.azure.com",
    openai_api_type='azure',
    deployment='text-embedding-ada-002',
    openai_api_key=AZURE_OPENAI_API_KEY,
    chunk_size=1,
)

query_result = embeddings.embed_query("is this issue solve?")

My deployment name and model name are the same: text-embedding-ada-002

embeddings: OpenAIEmbeddings = OpenAIEmbeddings(
openai_api_base= f"https://{AZURE_OPENAI_SERVICE}.openai.azure.com",
openai_api_type='azure',
deployment='text-embedding-ada-002',
openai_api_key=AZURE_OPENAI_API_KEY,
chunk_size=1,
)

this worked for ,e

This worked for me, I added openai_api_type and I had to remove openai_api_version
return OpenAIEmbeddings(
    deployment="deployment-name",
    model="text-embedding-ada-002",
    openai_api_type='azure',
    chunk_size=1,
)

@levalencia or @mrbusche are you experience this bus?
https://github.com/hwchase17/langchain/issues/7841

openai_api_type='azure',

Yes, Adding openai_api_type='azure', fixes the issue
langchain==0.0.232

I have same issue when I use the Azure OpenAI Embedding service.
from langchain.embeddings.openai import OpenAIEmbeddings
embeddings = OpenAIEmbeddings(deployment="text-embedding-ada-002", model="text-embedding-ada-002")
text = "This is a test query."
query_result = embeddings.embed_query(text)
print(query_result)

Traceback (most recent call last):
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/embedding.py", line 55, in <module>
    main()
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/embedding.py", line 44, in main
    query_result = embeddings.embed_query(text)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 300, in embed_query
    embedding = self._embedding_func(text, engine=self.deployment)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 266, in _embedding_func
    return embed_with_retry(
           ^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 64, in embed_with_retry
    return _embed_with_retry(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 289, in wrapped_f
    return self(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 379, in __call__
    do = self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 314, in iter
    return fut.result()
           ^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 401, in __get_result
    raise self._exception
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/tenacity/__init__.py", line 382, in __call__
    result = fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/langchain/embeddings/openai.py", line 62, in _embed_with_retry
    return embeddings.client.create(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/embedding.py", line 33, in create
    response = super().create(*args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 149, in create
    ) = cls.__prepare_create_request(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tedzhang/Work/AI_Code/ChatWithPDF/.venv/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 83, in __prepare_create_request
    raise error.InvalidRequestError(
openai.error.InvalidRequestError: Must provide an 'engine' or 'deployment_id' parameter to create a <class 'openai.api_resources.embedding.Embedding'>

I have the same issue exactly. did you find any solutions?

embeddings: OpenAIEmbeddings = OpenAIEmbeddings(

openai_api_base= f"https://{AZURE_OPENAI_SERVICE}.openai.azure.com",

openai_api_type='azure',

deployment='text-embedding-ada-002',

openai_api_key=AZURE_OPENAI_API_KEY,

chunk_size=1,

)
this worked for me
I think open AI SDK changed, because my code was working in the past.

Yes here

Hello Everyone, I am getting same error when I am trying to use GPT-4 from OpenAI directly.

I finally solved it. Azure related variables were also loaded so it was making the library to raise Azure related requirements,

The solutions are given for OpenAIEmbeddings. But I want to solve this error when I use  HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2") and openai_api_type='azure'
can anyone help me? @levalencia

passing the model deployment name like this worked for me:
chat = ChatOpenAI(temperature=0.0, model_kwargs={"engine": model_name})

Hi,
I haven't faced this issue anymore since new versions of langchain!
Best,
Sahand
On Fri, Feb 9, 2024 at 8:03 AM dosubot[bot] @.***>
wrote:

Hi, @sahand68 https://github.com/sahand68,
I'm helping the LangChain team manage their backlog and am marking this
issue as stale. The issue is related to the ChatOpenAI module, where users
are encountering an error message "Must provide an 'engine' or
'deployment_id' parameter to create a <class
'openai.api_resources.chat_completion.ChatCompletion'>". There have been
discussions and code snippets shared by several users, suggesting adding
the 'engine' parameter or the 'openai_api_type' parameter to the function
call. Additionally, one user mentioned that Azure related variables were
causing the library to raise Azure related requirements. The issue is
currently unresolved.
Could you please confirm if this issue is still relevant to the latest
version of the LangChain repository? If it is, please let the LangChain
team know by commenting on the issue. Otherwise, feel free to close the
issue yourself, or the issue will be automatically closed in 7 days. Thank
you!
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langchain/issues/5000#issuecomment-1936188349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJRG4YWTQL24ZAVBHQOYKZ3YSZCFDAVCNFSM6AAAAAAYIGMNWCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGE4DQMZUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>


[vscode-extension] Suggested change to convert npm script to use wireit

When the cursor is on an npm script, we can propose a change that converts that script to a wireit script (just copies the command text to the "command", converts the npm text to just "wireit")

Fixed by #174


Make deathmatch a "survival" mode

Since this isn't exactly deathmatch, even though it follows similar rules, it could be called survival in the menu. This won't change configuration name and will not use the "custom" gamemode. Unless a real deathmatch mode is created, this will take its place. Think of L4D's survival mode.
Also opens up an avenue to customize the experience for a more co-operative experience (but not the cooperative gamemode 😛)

This cannot be named survival since that's now an official mode. Umm... "Endless"?

 It's currently a really hard mode, and the bot AI is kinda dumb, they gotta roam around more. See what you can do.

mp_teammates_are_enemies
When set, your teammates act as enemies and all players are valid targets.
Add these to deathmatch config so that it becomes free-for-all now that Valve has improved bot brains in FFA mode!


[Compile] Support build with clang

Support build Doris BE with clang
Currently, thirdparty could only be build with GCC

Maybe provide clang in thrid-party or docker image?
And make build with clang  an optional args?

Maybe provide clang in thrid-party or docker image? And make build with clang an optional args?

Currently, could only build be with clang, And I don't want it to be an optional args because I think we should use clang as default build tool chain in the future.

It seems that --clean  and incremental compilation is not support in this pr;
Every time I need to clean manually


uv sync does not respect UV_PROJECT_ENVIRONMENT

I set UV_PROJECT_ENVIRONMENT environment variable to an absolute path (I want to have venv folder outside my project). Then I run uv sync, but it insists on creating .venv folder and install packages to this folder, instead of installing to the folder I provided via UV_PROJECT_ENVIRONMENT.

My environment:

uv v0.5.1
Shell: Fish v4.0b1
OS: Ubuntu 24.04

echo $UV_PROJECT_ENVIRONMENT does not prove that you have set the environment variable.

@FishAlchemist Thanks, I forgot to export the variable.


[SPARK-18044][STREAMING] FileStreamSource should not infer partitions in every batch

What changes were proposed in this pull request?
In FileStreamSource.getBatch, we will create a DataSource with specified schema, to avoid inferring the schema again and again. However, we don't pass the partition columns, and will infer the partition again and again.
This PR fixes it by keeping the partition columns in FileStreamSource, like schema.
How was this patch tested?
N/A

Test build #67331 has started for PR 15581 at commit ad7ef81.

CC @zsxwing @brkyvz @yhuai

Test build #67331 has finished for PR 15581 at commit ad7ef81.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
  case class SourceInfo(name: String, schema: StructType, partitionColumns: Seq[String])

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/67331/
Test PASSed.

LGTM. Merging to master and 2.0. Thanks!

@cloud-fan there are conflicts with 2.0. Could you submit another PR for that?

yea of course, I'll do it soon

@zsxwing shall we backport this first? Seems in 2.0 we don't support partitioned file source.

@zsxwing shall we backport this first? Seems in 2.0 we don't support partitioned file source.

Done. I also merged this one into branch 2.0.


your job is excellent, but I still find some problem about leftViewWidth

I change leftViewWidth to 50 ,then openLeft and closeLeft , leftView goes 270 from left to right, but goes 50 from right to left (it should be 50 from left to right and 50 from right to left), then it was like the image above,I only changed the leftViewWidth, is there anything I should do or is there a bug in your code ?
thanks again!

sorry ,the picture may not be clear ,here it clear is

Same problem here.

Save problem

@ruixingchen
How do you set before instance of the SlideMenuController?

Thats what I did.
    slideMenuController = SlideMenuController(mainViewController: mainViewController!, leftMenuViewController: leftViewController)
    SlideMenuOptions.contentViewOpacity = 0
    SlideMenuOptions.leftBezelWidth = 20.0
    SlideMenuOptions.contentViewScale = 1
    SlideMenuOptions.hideStatusBar = false
    SlideMenuOptions.panFromBezel = false

@dekatotoro
in AppDelegate
    window?.rootViewController = SlideContainer(mainViewController: UIStoryboard(name: "Main", bundle: NSBundle.mainBundle()).instantiateViewControllerWithIdentifier("ClassTable") as! ClassTableViewController, leftMenuViewController: UIStoryboard(name: "Main", bundle: NSBundle.mainBundle()).instantiateViewControllerWithIdentifier("Left") as! LeftViewController)

//slideContainer is a subclass of SlideMenuController
    SlideMenuOptions.contentViewScale = 1.0
    SlideMenuOptions.hideStatusBar = false
    SlideMenuOptions.leftBezelWidth = 50

    window?.makeKeyAndVisible()

@filipepipeline
@ruixingchen
Please try to configure the settings in SlideMenuOptions before the instantiation of SlideMenuController.

Since confusing, it will stop the static option, I guess had better to pass the option in init..

@dekatotoro
configure slideMenuOption before instantiation solves ,thank you ,and set option in init is a good idea but may cause a huge slice of code, that is really annoying

SlideMenuOptions.leftViewWidth = (self.window?.frame.width)! * 0.75
let slideMenuController = SlideMenuController(mainViewController: main,leftMenuViewController: left)

Setting the slide menu options before setting up the controller will solve your problem, I would also recommend setting the width relative to the current width of the screen so it looks similar for all screen sizes rather than setting a constant width.


[PRM-476] - Added bullet point on tech issues honesty declaration page for LPP and changed 'why VAT was return/paid late' url

https://github.com/hmrc/penalties-performance-tests/pull/25


Solution Migration Chages for Azure active directory identity protection

Change(s):
See guidance below
Reason for Change(s):
This PR is part of template spec solution migration for solution Azure Active Directory Identity Protection.
See guidance below
Version Updated:
2.0.1
See guidance below
Testing Completed:
The link for test results is
https://microsoftapc.sharepoint.com/:w:/r/teams/SentinelCATTeam/_layouts/15/Doc.aspx?sourcedoc={AC767352-16DB-452A-9775-BD27044185A9}&file=Sentinel Solution Migration -TemplateSpec - AzureActiveDirectoryIdentityProtection.docx&action=default&mobileredirect=true&share=IQFSc3as2xYqRZd1vScEQYWpATR1sIQFLOwMRR99jVPB4F4
See guidance below
This is a 1P solution.

@v-mchatla I see below playbook is for Teams and not for Azure active directory identity protection. Refer below image from inventory sheet. Also fix the merge conflict by taking Update from Master.
cc: @v-atulyadav @v-dvedak

Also add playbook paths as shown in below image which is in Tools\Create-Azure-Sentinel-Solution\V2\MigratedContent folder:

First comment is not relevant, the playbook is part of the same solution only. Second comment  is fixed in a different PR


how to speed up cmvn computation

seems the cmvn computation stage is single process,  it takes days for our dataset, around 17000 hour, and mostly 60 secs per clip.
is it possible to make it run parallelly ?

yes it is possible to make it run parrallelly. For example, for each speaker you can start a thread.

Thanks for the reply. But our data won't have specific speakers..so I have to compute the global cmvn ? i.e. cannot run it parrallelly?

You should compute global cmvn in your case. We don't support parallel cmvn computation at this moment, but you can always divide dataset into chunks and use multithread computation.
Feel free to implement it and make a pull request~

Thanks. I'll try


Update dependencies: io.circe, io.grpc, io.netty and avro4s

This PR has updates on the dependencies that didn't require code changes. From what I've understood the other ones require some more code changes that will be best on separate PRs to be more contained.
I've updated avro4s to the minor version referenced on the issue (#452), but to the major also requires some bigger code changes, I believe it is also best to separate it.
This fixes #437, #438, #439, #447, #450, #453, #454 , #455, #456, #457, #458, #459, #460 and #461

Hi @mbeatrizmagalhaes, thanks for the PR. We can't upgrade to avro4s 1.9.0, there is some strange behavior with that version, you can check the details in the issue #288.


Labeling of text-based icons not possible

There is already the possibility to add a text based label to an existing style.
This does not work when the layer style is text-based itself. See this example:
    {
      "type": "WFS",
      "lid": "gas-wfs",
      "name": "Gas Stations WFS",
      "url": "https://ows-demo.terrestris.de/geoserver/osm/wfs",
      "typeName": "osm:osm-fuel",
      "version": "2.0.0",
      "maxFeatures": 50,
      "formatConfig": {},
      "format": "GML3",
      "loadOnlyVisible": true,
      "visible": true,
      "selectable": true,
      "style": {
        "textIcon": "local_gas_station",
        "font": "normal 30px Material Icons",
        "fillColor": "blue",
        "label": {
          "attribute": "name",
          "outlineColor": "white",
          "outlineWidth": 2,
          "fillColor": "black",
          "offsetX": 0,
          "offsetY": 15,
          "align": "center"
        }
      },
      "attributions": "© OpenStreetMap contributors.",
      "columnMapping": {
        "name": "Name"
      },
      "doAppendSelectStyle": true
    },

The label style replaces the icon which causes the layer to look like this:
(The points are the labels "Aral", "Mr Wash", "Shell", "Agip")

I'm recently running into some limitations with the StyleFactory, which has also confirmed by my dear colleague J.Kaeflein.
I was searching, how we could make the app-conf layer style declarations a little more generic. Writing your own customized style language and then translating it to OpenLayers is apparently a long and stony process, so we should look for something existing / simplistic.
The obvious choice would be to pick a kind of JSON serialization format of ol/style/Style. I found this little github project. From looking at the code its fairly similar to what we're doing but allows some more nested constructs (Disclaimer: I had not time to test it yet). Maybe there are some other project as well that follow a similiar pattern.

Some general words up in front: First of all the limitations of the StyleFactory rely on the fact the Wegue was initially designed as little shiny app template and not an all-signing-all-dancing :notes: :dancers: configurable webmapping application framework (I'll give a more detailed public statement on that within the next time). Therefore it was merely thought to implement project specific things - also styles - on your own. The StyleFactory was a little convenience layer to have simple styles out of the box. It was never intended to be a fully fledged OL Style libs.

Writing your own customized style language and then translating it to OpenLayers is apparently a long and stony process, so we should look for something existing / simplistic.

True, if we want to support generic style configs.

The obvious choice would be to pick a kind of JSON serialization format of ol/style/Style.

That's what its all about

I found this little github project.

This seems very old and nor more maintained. Apart from that there are more sustainable approaches to solve the problem of having a serializable style format for OpenLayers layers:

using mapbox styles with ol-mapbox-style
or using mapbox styles with GeoStyler parsers for Mapbox and OpenLayers
or maybe there will be an OpenLayers native support in the future: see https://github.com/openlayers/openlayers/pull/12873


It should be "Windows server license" meter rather than "Windows IP" meter. Please kindly revise it.

Regarding the content below, it should be "Windows server license" meter rather than "Windows IP" meter. Please kindly revise it. Thank you.
A reserved instance purchase covers only the compute part of your VM usage. For Windows VMs, the usage meter is split into two separate meters. There's a compute meter, which is same as the Linux meter, and a Windows IP meter.

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

ID: 46c0b618-094a-d1c9-f475-c7c9d12a9eda
Version Independent ID: 92c56a66-b596-52f0-8238-91038172fd02
Content: Prepay for Azure virtual machines to save money - Azure Virtual Machines
Content Source: articles/virtual-machines/prepay-reserved-vm-instances.md
Service: virtual-machines
Sub-service: billing
GitHub Login: @vikramdesai01
Microsoft Alias: vikdesai

@Jenny-Chiu
Thanks for your feedback! We will investigate and update as appropriate.

@Jenny-Chiu
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


make update-cb3 pr

@conda-forge-admin, please update for conda-build 3

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I updated the recipe for conda-build 3 in conda-forge/r-linselect-feedstock#4.


virtualenv fails: no module named packaging.version

# virtualenv --system-site-packages -p python /srv/puppetboard/virtenv-puppetboard && /srv/puppetboard/virtenv-puppetboard/bin/pip wheel --help > /dev/null 2>&1 && { /srv/puppetboard/virtenv-puppetboard/bin/pip wheel --version > /dev/null 2>&1 || wheel_support_flag='--no-use-wheel'; } ; { /srv/puppetboard/virtenv-puppetboard/bin/pip --log /srv/puppetboard/virtenv-puppetboard/pip.log install   $wheel_support_flag --upgrade pip setuptools || /srv/puppetboard/virtenv-puppetboard/bin/pip --log /srv/puppetboard/virtenv-puppetboard/pip.log install    --upgrade pip setuptools ;}
Running virtualenv with interpreter /bin/python
New python executable in /srv/puppetboard/virtenv-puppetboard/bin/python
Installing Setuptools.............................................................................................done.
Installing Pip....................................................................................................................................done.

Usage:
  pip install [options] <requirement specifier> ...
  pip install [options] -r <requirements file> ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --no-use-wheel
Downloading/unpacking pip from https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9
  Downloading pip-9.0.1.tar.gz (1.2MB): 1.2MB downloaded
  Running setup.py egg_info for package pip
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)

    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.mailmap'
    warning: no previously-included files found matching '.travis.yml'
    warning: no previously-included files found matching '.landscape.yml'
    warning: no previously-included files found matching 'pip/_vendor/Makefile'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files found matching 'dev-requirements.txt'
    warning: no previously-included files found matching 'appveyor.yml'
    no previously-included directories found matching '.github'
    no previously-included directories found matching '.travis'
    no previously-included directories found matching 'docs/_build'
    no previously-included directories found matching 'contrib'
    no previously-included directories found matching 'tasks'
    no previously-included directories found matching 'tests'
Downloading/unpacking setuptools from https://pypi.python.org/packages/d5/b7/e52b7dccd3f91eec858309dcd931c1387bf70b6d458c86a9bfcb50134fbd/setuptools-34.3.3.zip#md5=696941b10b15f0717be957a4d6cfc12e
  Downloading setuptools-34.3.3.zip (622kB): 622kB downloaded
  Running setup.py egg_info for package setuptools
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "setuptools/__init__.py", line 12, in <module>
        import setuptools.version
      File "setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "pkg_resources/__init__.py", line 70, in <module>
        import packaging.version
    ImportError: No module named packaging.version
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "setuptools/__init__.py", line 12, in <module>

    import setuptools.version

  File "setuptools/version.py", line 1, in <module>

    import pkg_resources

  File "pkg_resources/__init__.py", line 70, in <module>

    import packaging.version

ImportError: No module named packaging.version

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /srv/puppetboard/virtenv-puppetboard/build/setuptools
Storing complete log in /root/.pip/pip.log
Traceback (most recent call last):
  File "/srv/puppetboard/virtenv-puppetboard/bin/pip", line 9, in <module>
    load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
  File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/pip/__init__.py", line 148, in main
    return command.main(args[1:], options)
  File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/pip/basecommand.py", line 176, in main
    logger.fatal('Storing complete log in %s' % log_fn)
  File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/pip/log.py", line 48, in fatal
    self.log(self.FATAL, msg, *args, **kw)
  File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/pip/log.py", line 75, in log
    backwardcompat.fwrite(consumer, rendered)
  File "/srv/puppetboard/virtenv-puppetboard/lib/python2.7/site-packages/pip/backwardcompat/__init__.py", line 90, in fwrite
    f.write(s)
ValueError: I/O operation on closed file

I am using that module. it runs the above command - which fails as described. I then tried to rerun the command by hand - and it fails the same wayas shown above.

Figured as much what's the environment.

centos 7. It worked a few months ago, when I last did it..

It's not failing on PuppetBoard but on setuptools.

I ran into the same problem. I didn't really look into the Puppet side of the solution but for me the solution was to install all requirements manually.
source /srv/puppetboard/virtenv-puppetboard/bin/activate
pip install -r /srv/puppetboard/puppetboard/requirements.txt

@ju5t Yeah, that's not quite the same since puppet-puppetboard is doing an --upgrade pip.

This issue is referring to Python 2 for which support has been dropped long time ago. Therefore I am closing it. Please reopen if you have a similar problem with the current version of Puppetboard using Python 3, @KlavsKlavsen .


Expose xmllint arguments through a global variable

At my organisation we don't use DTD's, which leads to hundreds of validity errors (e.g. "no declaration for element div") per file. (In fact, about one per line.)
I've added the ability to override the CLI arguments for xmllint, so my vimrc reads:
let g:syntastic_xml_xmllint_cli_args = '--noout'

" [...]
execute pathogen#infect('bundle/{}')

Ok, done (properly) in 3ea613f.  Please read the manual and see the wiki for details.

Sweet, thanks!


Enter stops working

Key Enter randomly stop working.
i try to reinstall VSCode but the problem still there
( Ctr+Enter and Shift+Enter work correctly)

In the editor? In the Command Palette? Where does ENTER stop working?
Also, do you use a screen reader?

Are you using the vscode-styled-components extension? If so, try disabling it.

Are you using the vscode-styled-components extension? If so, try disabling it.

yes, thank you very much that work again


Democratic Governance

Project Abstract
Encointer has started the development of a pallet that facilitates democratic voting based on Proof-Of-Personhood and we would like to continue working on this pallet. We believe that this work can be a basis for Proof-Of-Personhood based governance protocols for varios applications such as DAOs or parachains, which could benefit from improved legitimacy when using a democratic over a plutocratic design. We are interested in building this project as it builds on top of our expertise with Proof-Of-Personhood and it lays an important foundation to facilitate non-plutocratic governance in Web3.
Grant level

[x] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or Polkadot (USDC & USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @_______:matrix.org (change the homeserver if you use a different one)

I have read and hereby sign the Contributor License Agreement.

Hi @pifragile, sorry for the inconvenience, but we just started requiring KYC/KYB checks for all potential grantees. Could you please provide the information outlined under this link? Let me know if you have any questions or issues.

Hi @pifragile, sorry for the inconvenience, but we just started requiring KYC/KYB checks for all potential grantees. Could you please provide the information outlined under this link? Let me know if you have any questions or issues.

ok done!

Thanks @pifragile this looks interesting, and at this price I'm willing to approve it as well. Good luck!

Thanks @pifragile this looks interesting, and at this price I'm willing to approve it as well. Good luck!

thank you very much😄🥳


Issue with PS

Found 2 issues in the Power Shell execution
first:

second:

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

ID: 6b036445-58f3-bd8e-103e-17c60041a545
Version Independent ID: fa53a263-a15a-2449-207a-51b59afbec4c
Content: Configure an existing virtual network for Azure SQL Database Managed Instance
Content Source: articles/sql-database/sql-database-managed-instance-configure-vnet-subnet.md
Service: sql-database
Sub-service: managed-instance
GitHub Login: @srdan-bozovic-msft
Microsoft Alias: srbozovi

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

I am showing that the correct ordering of args for New-AzureRmNetworkSecurityRuleConfig is the following:

New-AzureRmNetworkSecurityRuleConfig
-Name
[-Description ]
[-Protocol ]
[-SourcePortRange <System.Collections.Generic.List1[System.String]>]    [-DestinationPortRange <System.Collections.Generic.List1[System.String]>]
[-SourceAddressPrefix <System.Collections.Generic.List1[System.String]>]    [-DestinationAddressPrefix <System.Collections.Generic.List1[System.String]>]
[-SourceApplicationSecurityGroupId <System.Collections.Generic.List1[System.String]>]    [-DestinationApplicationSecurityGroupId <System.Collections.Generic.List1[System.String]>]
[-Access ]
[-Priority ]
[-Direction ]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]

Versus the ordering in the current PS script.

    $rule = New-AzureRmNetworkSecurityRuleConfig `
        -Name prepare-allow-management-inbound `
        -Description "Allow inbound TCP traffic on ports 9000,9003,1438,1440,1452" `
        -Direction Inbound -Priority 110 -Access Allow -Protocol Tcp `
        -SourceAddressPrefix * -DestinationAddressPrefix * `
        -SourcePortRange * -DestinationPortRange @(9000, 9003, 1438, 1440, 1452)

And the second screen capture show an exception at line 631 which is the same cmdlet being called. Forwarding to the content owner to evaluate and update as appropriate. @CarlRabeler for awareness.

script was updated 2 days ago - see https://github.com/microsoft/sql-server-samples/blob/master/samples/manage/azure-sql-db-managed-instance/prepare-subnet/prepareSubnet.ps1
#please-close


Update README.md

Description
This PR includes the following proposed change(s):

CCCM-123 adding spaces

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[x] New and existing unit tests pass locally with my changes

We didn't want that space


Support for Electrolux wash and dry

Hi
Electrolux wash and dry home bridge plug-in running on raspberry pi 3B+ please
Thank you

Hi @BIDA2023 Would you able to change your password to the Electrolux app and send me credentials to my email tomekkleszcz[at]icloud.com? Since I don't own this appliance, I'm unable to support it without your help.


Cell and can logger health checks

Additional health checks for a can and cell logger. Also moved all containers over to a unless-stopped restart policy as we discussed in a previous meeting
~Currently seeing a strange issue where the docker hub version does not seem to have been updated~ I'm dumb it works

Can't verify can-logger because it does not work in it's current state but the code is almost identical to cell-logger so it should be alright. Screenshot of everything else working:

Can't verify can-logger because it does not work in it's current state but the code is almost identical to cell-logger so it should be alright. Screenshot of everything else working:

That version of can-logger has issues with DB inserts, so that's probably the reason it is crashing. That issue has been solved and will be merged in an upcoming PR.

Awaiting @facastiblancor's changes to the cell-logger so I can ensure my health checks are compatible with his changes to the cell-logger

So merged master into this branch for testing and found that can-logger is unhealthy if there are messages appearing on one bus and no messages appearing on the other even if the logger itself is working fine.
I am tempted to say that this situation is a configuration error and the unhealthy status is correct, but I could also watch the rx_bytes file and only check if that is incrementing. That would add some complexity as this should be stateless and I am not sure at the moment how to cheat that. Also at some point I am rewriting all of the logic in can-logger which kind of defeats the purpose of a simple health check
@facastiblancor thoughts?

The implement bus may go long periods of time with nothing on it and then someone attach an implement with a controller.

Good point. I'll plan on fixing this next week

Tests look good on my end, this should be ready for review


M17xR4 issue

Hi, I was testing it on my alienware 15 laptop which has M17xR4 device. When I try to apply the profile, I get a popup error saying "AlienFX error. Error occured while trying to communicate with the AlienFX device: Data length should be 9 but was -9".

Yea I am getting this too.  I corrected this about a year ago but did not upload the code and lost my fixed version.  I am looking for a copy somewhere.  If I remember right it is 2 changes in the LEDController.  I will do a pull request if I remember what I did.

I forked the repo and made the corrections to fix the error and to fix the broken color controls.  I made a pull request to the author for him to review and make the changes of use my code to begin his changes in order to fix.  You can wait for him to do the fix or you can pull my fork of the project and use that to control your Alienware until he is able to adjust.

Thanks for this contribution @qwarlock - I have tried it for 15 r4 but unfortunately it fails with the error: "Device unknown: no controller available"


Non-Bailador @*ARGS getting rejected when passing arguments to a script that wraps baile

Here is an example of what I am getting at:
# baile-test.pl6

#!/usr/bin/env perl6

use v6;

use Bailador;

sub run-baile($extra) {
    # do something important with $extra
    # ...
    get '/' => sub { "hello world" }
    baile;
}

sub MAIN(:$extra = "default extra") {
    say "Using: $extra";
    run-baile($extra);
}

Running that script like this works fine:
./baile-test.pl6
Running it like this:
./baile-test.pl6 --extra="passed extra"
Throws this error:
Using: passed extra
--extra=passed extra not yet implemented. Sorry.
  in method get-command at /home/sam/.perl6/sources/A498112AD57B80B85FC619CAF9A94E97B75FA5D2 (Bailador::Commands) line 25
  in sub baile at /home/sam/.perl6/sources/F4CABBDF706A3C25D26ADB4440340E40CC98DAF9 (Bailador) line 124
  in sub run-baile at ./baile-test.pl6 line 9
  in sub MAIN at ./baile-test.pl6 line 14
  in block <unit> at ./baile-test.pl6 line 12

Currently all tests pass without the @*ARGS referenced in App.pm. Can you explain how you want to utilize @*ARGS -> $*ENV? I will then build some test coverage around the intended usage and work from there.

There are now different commands located in Bailador::Command. The idea behin that is quite Mojo like. Each command behaves differently, There is easyfor HTTP::Easy, there is p6w which returns a p6w app (for example for crustup) and there is watch which actually watches changes on your local file system.
the watch command has a paramter -w that can be used to specify which folders to watch for changes.
My unseccusssful fiddling around with this @*ARGS was a try to  invoke different commands ( the @*ARGS.shift ) and set paremters for your Bailador::Configuration.
bin/bailador has a watch command; I think other commands could/should be introduced this way.
For configuration settings Bailador currently checks for %*ENV and parses this string. This string is a key value list. I think bin/bailador just needs a --config parameter which appends? (maybe replaces) this "key - value - list - thingy".
hope this helps,
(ps: feel free to join our slack channel which is mentioned in the readme)

Thanks for the explanation. I will join the slack channel later tonight. As an example usage for bailador, you are thinking something along these lines:
bailador --w=views,public  \
    --config=debug,host:<IP_ADDRESS>,port:5000,miscextra=somethingextra,command=p6w

And then we either add those to %*ENV or some config hash that is passed around?

for the watch command (where -w is available) it could be something like:
bailador watch app.pl -w views,public --config=mode:development,port:5000

in general i was thinking of
bailador <command> --paramters...
to be a bit closer to your example where you stated command=p6w, there is a default-commandin the configuration: https://github.com/Bailador/Bailador/blob/dev/lib/Bailador/Configuration.pm#L21
if you set this value, for example if you invoke this example on a shell
> BAILADOR="default-command:p6w" perl6 your-app.pl6
you would ask bailador to return a p6w app, ( https://github.com/Bailador/Bailador/blob/dev/lib/Bailador/App.pm#L88 )  which would of course not make much sense, because there is no http server to execute your p6w app
for example this should work and make sense:
> BAILADOR="default-command:watch" perl6 your-app.pl6

ok, thanks. That clarifies most of the questions I had. What about capturing misc user config options that they want to pass through to their app? I think Dancer2 does something like that.

Fixed


Dedicated Host Group support

Using Azure Dedicated Hosts for nodes with your AKS cluster has the following benefits:

Hardware isolation at the physical server level. No other VMs will be placed on your hosts. Dedicated hosts are deployed in the same data centers and share the same network and underlying storage infrastructure as other, non-isolated hosts.
Control over maintenance events initiated by the Azure platform. While most maintenance events have little to no impact on your virtual machines, there are some sensitive workloads where each second of pause can have an impact. With dedicated hosts, you can opt in to a maintenance window to reduce the impact to your service.

https://docs.microsoft.com/en-us/azure/aks/use-azure-dedicated-hosts

Building the UI for this is going to be a lot of effort, suggest that we down-scope this to just the bicep changes.


Add caching

Instead of filtering by MatchSettings, cache the list and re-cache if necessary.

Implemented in 2.0


Flutter Inspector doesn't open selected widget inside Text Editor

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
On latest Flutter version, when a project is opened inside Android Studio and Flutter Inspector is open, selecting a widget with the inspector doesn't open the Dart file inside the Text Editor where the widget is written. It just shows the selected widget inside the Widget Tree Hierarchy.
Flutter - channel stable - 3.13.2
Android Studio Giraffe | 2022.3.1 Patch 1
Build #AI-223.8836.35.2231.10671973, built on August 17, 2023
Expected results
Dart file containing the widget is open inside the text editor.
Actual results
Nothing happens, the widget is selected inside the widget tree.
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @davor-layer-four. This doesn't seem like a flutter issue, issues with the flutter intellij plugin should be reported on their dedicated repo over on https://github.com/flutter/flutter-intellij.
Closing from here as the intellij plugin has its own repo.
Thank you


fix: CAD serviceaccount

This commit fixes a few issues in the CAD serviceaccount:

resources and verbs had to be swapped
namespace had to be removed

Fixes: OSD-11806

/lgtm

/lgtm


Instances: Teams view

Only teams that are added to the instance should be here - using the Get All Instance's Teams endpoint (https://accounts-api.zesty.org/?version=latest#e507fba0-a188-4d93-8bf5-10473487d677). Additionally, it only needs to have the ability to be deleted here. No need for edit or invite -- that should be done on the teams' page:

the Add Team button should hit the Add Team to Instance endpoint here(https://accounts-api.zesty.org/?version=latest#01889bbf-4529-4e6e-a8d0-193172837719)

teams should also have an area that describes the role&permissions access because you assign a team a role:

Also see https://github.com/zesty-io/website/issues/906


Add awesome-lint

Hi,
First thank you for this awesome list.
Secondly do you accept a PR if I add a linter created by Sindre?
https://github.com/sindresorhus/awesome-lint

PRs are always welcome and Awesome lists are great for the community. However, I don't understand how a longer is relavent to Unicode. Hopefully I'm the one misunderstanding.
Thanks for your interest Zckrs.


How to copy heapprof callstack frame name (or function name)

Hi, I want to copy function name, But Callstack panel  not support copy and Selected function: just show part of name.
Do you have plan to support copy function names or have idea to copy function names in this case ?

This is already fixed on gbe autopush version of the UI where there is a fully rewritten version of flamegraph which supports copying the function name.

Where can I find this autopush version ?

my chrome shows, current perfetto UI are :

and

none of them can copy.

Go to flags, the top flag should be a version selector. Select autopush reload and then you should be using the new flamegraph.

Very good job! Thanks!

Please keep the so path!
From stable version:

But, the autopush version,  I find so path not show any more, it will help us differentiate callstack libraries, please keep them on:

Thanks for the feedback. Reintroduced the mapping name in https://r.android.com/3184803 which should land next week.


Fixing typo on RPM package file name

Description
Fixed wrong RPM file name

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

@christiano Please click CLA button in that comment: https://github.com/FerretDB/FerretDB/pull/2628#issuecomment-1546631349

@christiano Please click CLA button in that comment: #2628 (comment)

CLA assigned

Thank you!


Implemented Vorkath Plugin

Implemented an other Vorkath Plugin (With images from the sprite-manager)!
It's a simple plugin that keeps track of the states, upcoming fase and counts the amount of poison bolts left in the tick fase.
Demo video: https://www.youtube.com/watch?v=XI8_Z-WiQQY&feature=youtu.be

What I would do to reduce the clutte is:

Display counter on the image, so simple number above icon for how many attack remaining till spec
For the bolts (or w/e they are called) in poison phase, I would do the same, so just display the decreasing counter on top of poison phase icon

Maybe even display the specs in order, so e.g always 2 icons next to each other

Updated the plugin slightly (reduced paddings in overlays, simplified code).
Here is how it looks now (in undecided state):

Some feature suggestions:

Hightlight "Zombified Spawn" (using NPC object, unlike the old method)
Maybe draw tile outline for woox walking with dhcb/bp? Can be done with Tile Indicator plugin, but maybe user doesn't know the correct distance (from vork) to mark the tiles?

@tr33s I went ahead and added a highlight to the zombified spawn locally, but it's unlikely that having the highlighting done specifically through the Vorkath Plugin would be added (since you can just type in 'Zombified Spawn' into the NPC Indicators Plugin and it does the same thing afaik). If it is decided that highlighting the spawn through this plugin is a good idea, I don't mind providing the code for it that I've already typed up. I would go ahead and add woox walking tiles in locally as well, but I haven't quite figured out how to woox walk properly. I doubt my local changes to add spawn highlighting are desired for this PR, but if they are just let me know and I'll provide the code.

@DannysPVM yeah I know you can just do that, but for example the Pest Control plugin highlights spinners, so I guess it is a little inconsistent.

Thats a fair points @tr33s. This is what the plugin looks like with the spawn highlighting done through the vorkath plugin and with an overlay added to the crumble undead spell when you need to use it.
https://streamable.com/ra5m8
I talked with Dewinster (original creator/Pr'er lol) on discord and we agreed it'd be best to let this get merged before adding anything else to it. Any thoughts?

Yeah I would not add anything on top of this probably. We dont even have opinion from @Adam- , he was unsure about this plugin.

Oh alright, thats fair. Just throwing out the possibility :p

What happened to this?

Still waiting to get merged I think?

It has conflicts

It had been up to date for months with no update if it was getting merged or not, I was told to just leave it be until someone makes up their mind, but if there is no interest for it I will just close the merge request...

I've been sitting on this because I think it might be interpreted from the community as OP and also it is kind-of-sort-of similar to the Zulrah plugin in that it is for a boss and it counts things. Though I do not see anything actually wrong/OP with this as it is simply counting attacks. I guess I do not feel too strongly about it either way if DB wants to pull it.


Samles dont't work

I tried the sampley but they don't work. Neither with the example token from http://tools.ietf.org/html/draft-jones-json-web-signature-04#appendix-A.2 nor with a token and public key from our authentication server. Can somebody determine what the problem is?

The sample seems to work fine.
http://kjur.github.io/jsrsasign/sample_jwsverify.html
regards,


Unset the http_proxy environment variable before running tests.

Unset the http_proxy environment variable before running tests.
Description
Two connection tests (test_constructor and test_connection_to_unusual_port)
assume that there is no external real proxy in the test environment. Turns
out LibcloudConnection() will honor a http_proxy shell variable if it's set,
so if the test suite is run in such an environment, these tests will fail:
self = <libcloud.test.test_connection.BaseConnectionClassTestCase testMethod=test_connection_to_unusual_port>

    def test_connection_to_unusual_port(self):
        conn = LibcloudConnection(host='localhost', port=8080)
>       self.assertEqual(conn.proxy_scheme, None)
E       AssertionError: 'http' != None

libcloud/test/test_connection.py:107: AssertionError

self = <libcloud.test.test_connection.BaseConnectionClassTestCase testMethod=test_constructor>

    def test_constructor(self):
        conn = LibcloudConnection(host='localhost', port=80)
>       self.assertEqual(conn.proxy_scheme, None)
E       AssertionError: 'http' != None

libcloud/test/test_connection.py:80: AssertionError

I also added a test for this behavior (the honoring of http_proxy) to the existing test_constructor test.
Status

done, ready for review

Checklist (tick everything that applies)

[ ] Code linting (required, can be done after the PR checks)
[ ] Documentation
[x] Tests
[ ] ICLA (required for bigger changes)

Turns out I was able to do it now. Thanks @panlinux! Merged in trunk.


A warning message with NPE appears when a new table is created

System information:

Operating system (distribution) and version Win10
DBeaver version 21.0.4 EA

Connection specification:

Database name and version Oracle

Steps to reproduce, if exist:

Open Error log
Create a new table via UI

Expected: the table is created without any message in Error log
Actual result: the table is created and a warning message appears after creating the first column
Include any warning/errors/backtraces from the logs

.log

Fixed in DBeaver 21.0.5

verified


GPU with stanMathCL [WIP]

Submission Checklist

[ ] Run unit tests: ./runTests.py test/unit
[ ] Run cpplint: make cpplint
[ ] Declare copyright holder and open-source license: see below

Summary:
Brings in GPU based functions for

Multiplication
Cholesky Decomposition
Matrix Inversion
Passing data back and forth from the GPU
error checking

Intended Effect:
Users will be able to access the GPU based functions
How to Verify:
TODO
Side Effects:
Unknown
Documentation:
TODO
Copyright and Licensing
Please list the copyright holder for the work you are submitting
@rok-cesnovar can you fill this part in
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

ftr, once I get everything working I will break this PR into several smaller PRs for review

@SteveBronder, is there any specific thing that you could use help with?

@syclik not yet, apologies for the delay I was on a business trip all week

No worries. Just wanted to make sure there wasn’t something that you needed.

On Oct 22, 2017, at 7:37 PM, Steve Bronder<EMAIL_ADDRESS>wrote:
@syclik not yet, apologies for the delay I was on a business trip all week
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Equipment feed

Similar to people feed. Protected by GUID. Retrieve info about equipment from serial number or name.

Done, not sure which pr


Android not building pre96

error: cannot find symbol com.mapbox.mapboxsdk.maps.MapboxMap.OnCameraIdleListener
symbol:   class OnCameraIdleListener
location: class MapboxMap	testMapBox.Android	...\testMapBox.Android\obj\Debug\android\src\mono\com\mapbox\mapboxsdk\maps\MapboxMap_OnCameraIdleListenerImplementor.java
I try to run the sample you've done but I've got this error. If i try to install mapboxSDK android, I have java conflict.
This bug comes with 6 more, OnCamera...Listener

Plz make sure your dev machine is up-to-date. Then clean and build the code. I have no issue.
Cheers.

I clean the project, and now I have
Error java.lang.IllegalArgumentException: already added :  Lokio/AsyncTimeout;	testMapBox.Android

After full Nugget re-installation, it works.
God, Xamarin is so bugged by dependences ...

@heraknos when you say "full Nugget re-installation" you mean to delete and reinstall all the packages needed for your app (one by one)? I'm facing the Exception issue right now.

It's better to add the library by Nuget package, then copy the code over if you need. Otherwise, just use it in your project.
Cheers.

This problem ocurred in my project, but in the end, I managed to compile it by deleting references and add them again.


Need 360° Free Orbit Rotation for 3D Model in All Directions Without Constraints

I am developing a 3D model rendering app using Flutter, and everything is working well except for one issue. We need our model to rotate freely in 360° in all directions without restrictions. Currently, the model rotates infinitely on the horizontal axis, but vertically, it is limited to 180°, causing the rotation to lock beyond that point.
What we're aiming for is trackball-style movement, but right now, we only have turntable-style movement. We've been trying various methods to resolve this issue for the past 3 weeks without success, and we're feeling quite exhausted. Any help or suggestions would be greatly appreciated.
Like this website has -- https://app.emb3d.com/3dviewer [View Point - Trackball]
Can anyone help me regrading this issue

@RajatDBazaar
Please raise support questions on stackoverflow or Flutter's reddit help page.
Closing from here, as this repo is for tracking bugs and feature requests against the sdk.


Remove referance in OS to date and time functions

Since they moved to Time
Fixes: #66613

Looks good! Could you squash the commits? See PR workflow for instructions.

Thanks!


NodeJS v.5.0.0 support

It looks that it is not possible to install Karma with NodeJS v.5.0.0 without errors in console

Fixed


ohai command outputting wrong color

For some reason, the change in #22762  change makes all cask ohai commands displayed as white for me - instead of bold black.  Reverting this change fixes the problem.
The ohai commands issued by homebrew formulas are still the correct color.  Just the cask ones.  You can see this in action by running brew cask info zulu (or any other cask that has "Caveats") and notice the incorrect color of the Caveats line.

Similar issue here with light Terminal theme:


Minor updates to Cryptol specs

Description of changes:
The changes to tls13 make the spec forward-compatible with pending Cryptol changes. This should help prevent disruption when SAW versions are eventually updated.
The DRBG_properties file also needed some minor changes; it apparently was already several Cryptol versions behind.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2034 into master will increase coverage by 24.68%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #2034       +/-   ##
===========================================
+ Coverage   57.26%   81.95%   +24.68%
===========================================
  Files         150      222       +72
  Lines       11141    16265     +5124
===========================================
+ Hits         6380    13330     +6950
+ Misses       4761     2935     -1826

Codecov Report

Merging #2034 (1076cc1) into main (efbb48b) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2034   +/-   ##
=======================================
  Coverage   81.84%   81.85%
=======================================
  Files         268      268
  Lines       18300    18299    -1
=======================================
  Hits        14978    14978
+ Misses       3322     3321    -1

#2374 contains all the changes in this one and has been merged in.


Bug: Sleep command button does not do anything

I created a Command for Sleep as a Button.
Pressing it in HA doesn't have any results. Checked the logs, and don't see any mention of it.
What does it do in the background, and in which user context (service or agent/user)

This was apparently my fault. I had a desktop shortcut that I used which basically executes: (Since I always RDP into this machine, and doing a Start -> Power -> Sleep does NOT work over RDP. Despite the option being there)
C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState 0,1,0
And that no longer worked either.
I then remembered I saw in the docs that hybernate had to be off, so I had executed a powercfg /h off earlier today. Which apparently broke remote sleep ability.
After running powercfg /h on, both my sleep shortcut and the HA button work normally.

Interesting, thanks for letting me know!

@JvdMaat after executing "powercfg /h on" the sleep command button actually hibernates the computer instead of putting it to sleep, did you find out why the sleep command does not work when hibernate is off?

I did not. This is some Microsoft thing. I'm not in the desktop side of things as much anymore to know what is going on.


feat: handle test login for business bceid between legacy and new spar

Description
Closes #446
Changelog
New

None

Changed

Frontend AuthProvider;

Removed

None

How was this tested?

[ ] 🧠 Not needed
[x] 👀 Eyeball
[ ] 🤖 Added tests

No post-deployments tasks.
What gif/image best describes this PR or how it makes you feel?

Thanks for the PR!
Any successful deployments (not always required) will be available below.
Frontend
Backend
Oracle-API
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

oops, Cypress failed

It looks like the username/pasword are not correct. Can you double check?
I've extracted this from the failing videos:

oops, Cypress failed

It looks like the username/pasword are not correct. Can you double check?
I've extracted this from the failing videos:

It works fine on test and local :/
Maybe it's the environment change?


Event BarcodesDetected not called

Hi,
I'm struggling to call the event. I've followed all the steps as detailed in documentation (add call in MauiProgram, call an event from the xaml file and defining the event function. But when I try to read a barcode with my Android device no event is executed (I'm using FreshMvvM on my projecte, I dont' know if it is causing any compatibility probles with zXing). Am I missing something?
(I attach pictures of my code)
MauiProgram.cs

ValidationPage.xaml

ValidationPage.xaml.cs (event not called)

test setting WidthRequest and HeightRequest values to barcodeView.... When they are not set, the component have some problems

Hallo, i have the same issue, on IOS i don't get any results while scanning. and i tryed setting WidthRequest and HeightRequest.


Use a prefix for css class names

As the title suggest this issue is about using a css prefix in md_proc to avoid any potential bugs that can come from using common names such as display or math.
My first idea for a css class prefix names would md- or md-proc- to avoid any potential collisions.
See issue #13 for more discussion.

Fixed in 0.7.5.

Fixed in 0.7.5.


ARROW-13050: [C++][Gandiva] Implement SPACE Hive function on Gandiva

Implement SPACE Hive function on Gandiva

@augustoasilva can you review it, please?

@jpedroantunes build is failing in appveyor. can you look

@projjal is appveyor failure expected?

@projjal is appveyor failure expected?

I rebased the branch, and now Appveyor is working perfectly. The other failing builds are unrelated


[Docs] Create Newcomer's Meeting Attendance Folder for Week of 09/09/2024

Description:
This pull request addresses issue #11929 by creating a new folder for the Newcomer's Meeting attendance records for the week of September 9, 2024.
Changes made:
Created a new folder under the appropriate directory structure for storing meeting attendance records.
Added a README.md file in the new folder explaining its purpose and how to use it.
Ensured the folder naming convention follows the established pattern (e.g., "2024-09-09_newcomers_meeting").
 You might be in a position to review some upcoming PRs for the other open issues on this topic.
We actually need a few more issues opened using the same format found in https://github.com/meshery/meshery/issues/11929 for upcoming weeks. // @hargunkaur286


Flow control bugs

There's at least one bug in the flow control or if-then-else logic.  Here are a number of code snippets that don't do what they're supposed to.
This echoes Hello World, when it shouldn't.  This bug seems to be based on the combination of contains and boolean operators, since it goes away if I remove either of those:
    if contains("AA","B") && !contains("AA","B") then {
        echo Hello World.
    }

This echoes only A and B, when it should also echo D.  It seems to be caused by a deeply nested conditional failing:
    if 0=0 then
    {
        echo A
        if 1=1 then
        {
            echo B
            if 2=3 then
            {
                echo C
            }
            echo D
        }
    }

This echoes A, D and F when it should echo A, C, D and F.  I have no idea how it's getting to D without C:
    echo A
    if 1 = 2 {
        echo B
    }
    else {
        echo C
        if 0 != 1 then {
            echo D
        }
        else {
            echo E
        }
    }
    echo F

Thanks for these examples!
Unfortunately right now negate operators (!) are not supported.
As per your last example, I have noticed there is a parsing issue with nested if/else blocks.  Top level blocks should work fine, though once you start nesting things can get a little wonky.
I have some code in my local copy that works with some negate operators, though in general the whole if/then/else needs to be overhauled.

One thing I forgot to mention - I believe if you add extra lines between some of the commands then the parsing doesn't get as confused.

Good news - the new script engine correctly does flow control for these examples.  It does not support multiple functions (contains, matchre, etc.) in if commands yet, but it'll get there...


Uploaded image become gabled

Successfully using examples from /aws-cpp-sdk-s3-integration-tests/BucketAndObjectOperationTest.cpp to upload txt file to a bucket, and successfully uploading image file to a bucket but that uploaded image file becomes garbled and cannot be read. Here is part of the code to upload an image file to S3, which is the same as the original code to upload a txt file except that "text/plain" was changed to 'image/jpeg". Is there anything else I need to change?
putObjectRequest.SetContentType("image/jpeg");
Aws::String fullBucketName = CalculateBucketName(PUT_OBJECTS_BUCKET_NAME);
    CreateBucketRequest createBucketRequest;
    createBucketRequest.SetBucket(fullBucketName);
    createBucketRequest.SetACL(BucketCannedACL::private_);

    CreateBucketOutcome createBucketOutcome = Client->CreateBucket(createBucketRequest);
    ASSERT_TRUE(createBucketOutcome.IsSuccess());
    const CreateBucketResult& createBucketResult = createBucketOutcome.GetResult();
    ASSERT_TRUE(!createBucketResult.GetLocation().empty());

    WaitForBucketToPropagate(fullBucketName);

    PutObjectRequest putObjectRequest;
    putObjectRequest.SetBucket(fullBucketName);

    std::shared_ptr<Aws::IOStream> objectStream = Aws::MakeShared<Aws::StringStream>("BucketAndObjectOperationTest");
    *objectStream << "Test Object";
    objectStream->flush();
    putObjectRequest.SetBody(objectStream);
    putObjectRequest.SetContentLength(static_cast<long>(putObjectRequest.GetBody()->tellp()));
    putObjectRequest.SetContentMD5(HashingUtils::Base64Encode(HashingUtils::CalculateMD5(*putObjectRequest.GetBody())));
    putObjectRequest.SetContentType("image/jpeg");
    putObjectRequest.SetKey(TEST_OBJ_KEY);

    PutObjectOutcome putObjectOutcome = Client->PutObject(putObjectRequest);
    ASSERT_TRUE(putObjectOutcome.IsSuccess());

Does the answer here (https://github.com/aws/aws-sdk-cpp/issues/225) help?

I don't see here where you are uploading an actual image. It appears you are uploading the text "Test Object" with a content type of image/jpeg (which would certainly be garbled).
Be sure you use the std::ios_base::binary when you are actually uploading binary data.
Please reopen if you still have problems after addressing the above concerns.


Detroit - Listing Import Script - Basic Data

Notes

We'll want to import a bunch of listing data into the database for Detroit. There is seed information in the spreadsheet below.
We'll want to do this on the new staging, which will be our proxy for production
We'll in the future need to do the unit groups, and pre-fill some information like default rent based on a rent table, but those will come in LATER issues, I'm including the ID to connect the unit groups to the listings

Small Imports
We will also need to import a few things, also on staging so it's clean and seeds

Jurisdiction: Should only be Detroit
Programs - Seniors 62+, Residents with Disabilities, Veterans, Seniors 55+, Senior, Homelessness System Supportive Housing, Families
For the ones above, originally we were thinking those would be community types but we think they might make more sense as programs

Listing Model Updates

We'll need to add a field for Management website if it doesn't already exist

Seed Spreadsheet
https://docs.google.com/spreadsheets/d/15KIX_wSuKmrtjYYrgRgb-LN1cdxIIJ9RSffPJ7SQ7j4/edit#gid=481883099

Running the basic data import script:

Merge https://github.com/CityOfDetroit/bloom/pull/997
Merge https://github.com/CityOfDetroit/bloom/pull/1019
Go to https://docs.google.com/spreadsheets/d/15KIX_wSuKmrtjYYrgRgb-LN1cdxIIJ9RSffPJ7SQ7j4/edit#gid=481883099 to tab "Basic Import Script Seed" and in File -> Download -> as .csv
Copy .csv to bloom/backend/core directory
Go to backend/core directory and run:yarn run import:listings Detroit\ MVP\ Opportunities\ -\ Basic\ Import\ Script\ Seed.csv


Error for mygene when trying to filter padlocks

Hi,
I'm currently generating df_padlock_filtered in read_blast_queries.ipynb but I'm encountering this error when running the code block:
HTTPError: 429 Client Error: Too Many Requests for url: http://mygene.info/v3/query/?species=human&size=20&q=UNC5D
Is there any way to get around this?
Thank you!

Hi Levia,
I couldn't replicate your exact issue when I tried with random genes. Perhaps if you send me a copy of your df_padlock file I can recreate it. In the meantime, I've tried adding a backoff factor on the HTTP requests which hopefully will solve that issue. Please try it out and let me know how it goes.

Hi Alex,
Thank you for your reply. Unfortunately, I'm still getting the same issue, even with the backoff factor. Here is my df_padlock file!
df_padlock.csv

Strange, I still couldn't replicate the issue. Some googling suggests that some sites will block certain IPs that have had high request rates in the past, perhaps its a university IP issue? You could try changing your IP address if you want to use it again in the future. The rate limiter should prevent problems.
For this specific df_padlock I've run it for you on my working setup and got this result:
df_gene_filtered_leviay.csv
df_padlock_filtered_leviay.csv
There's some offtarget genes here for many of the padlocks you generated. I would first check the df_filtered output and see what the severity of these offtarget site are. If you sort by e-value, what is the smallest e-value you find? (or send the df_filtered and I can take a look)

Amazing thanks so much!
df_filtered.csv
It looks like the smallest e-value I have is 0.000366.
I've also just filtered out the offtarget padlocks from the original padlocks that I generated, is this okay to do?

Great, just looked over the csv. Looks like all those offtarget hits are weak which is good. You certainly can just filter the offtarget padlocks out from the original padlock list as the safest way to go.
However if you find that you don't have enough padlocks left for a specific gene, you can be sure that these offtarget hits shown here are weak enough to reintroduce some of those filtered out padlocks back in if necessary. Given the original criteria for defining non-specific hits (found in the 3rd cell of read_blast_queries:
# Exclude hits with less than 50% coverage and less than 80% homology
#df = df.loc[df[2] > 80]
#df = df[df[3] > 2armlength0.5]
# Penalise gaps in the hits
#df = df.loc[df[6] < armlength - 4]
#df = df.loc[df[7] > armlength + 5]

I think all of the offtarget hits found here would not pass those thresholds and wouldn't be classed as a true offtarget site. You can try that yourself to make sure.
Good luck with the padlocks!

Thank you!


tracers/xray: Add source IP address to XRay trace

Signed-off-by: Neal Patel<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description: This PR adds additional fields to the XRay trace for the client IP address:

http.request.client_ip
http.request.x_forwarded_for

For details, see: https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html#api-segmentdocuments-http
Note that the upstream IP address is already present in the trace (it is currently a custom attribute).
Risk Level: Low
Testing: Updated unit tests, built on mac os, and built on ubuntu 18.04
Docs Changes: n/a
Release Notes: n/a

 / ____| |  | |_   _|  __ \  |_   _|__   __|
| (___ | |__| | | | | |__) |   | |    | |
 \___ \|  __  | | | |  ___/    | |    | |
 ____) | |  | |_| |_| |       _| |_   | |
|_____/|_|  |_|_____|_|      |_____|  |_|

🚢


fix(controller): Support int64 for param value. Fixes #4169

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] My organization is added to USERS.md.
[x] I've signed the CLA.
[x] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.

Fixes #4169

run make crds then fix FAIL: TestFunctionalSuite/TestParameterAggregation

FAIL: TestFunctionalSuite/TestParameterAggregation
FAIL: TestFunctionalSuite/TestParametrizableAds
FAIL: TestFunctionalSuite/TestParametrizableLimit

run make swagger

I've found a MUCH simpler way of doing this.

Abandoning this work.

This will resolve naturally over time as users correct their workflows.
It will introduce new bugs.
It creates long-term maintanance.

This creates problems in any system where we have installed v2.10.

@sarabala1979 with @simster7 AFK, could you please review?

@alexec I came across similar issues and found this PR. Would it be easier to also support float parameters?


Each hub should be it's own device

Rather than hard code the number of bridges, there should be a bridge device type which is then selected when adding a new device.
This is definitely something that's a longer-term item but I wanted to capture it.

Jay
Thanks for testing. I am not using all the functions yet so it is difficult to  test All aspects.
Looking at the code.  There was a ton of redundant sections.  I am trying to streamline it step by step.
And yes I know re devices.
But the hub parameters were hard coded Into config and that way it was the easiest way to do it.  I got 2 bridges as I have 78 bulb devices and growing.  I needed a quick fix.
And on another sides it is unlikely that anyone will ever have more than 2 bridges  it allows for 9 now.
Karl

On 10.03.2022, at 21:29, Jay Martin @.***> wrote:

Rather than hard code the number of bridges, there should be a bridge device type which is then selected when adding a new device.
This is definitely something that's a longer-term item but I wanted to capture it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Here's another reason for this: if one of your hubs becomes unavailable, you get repeated messages about the hub being gone. You need some way to disable one hub (and it's associated devices) such that it behaves like an unavailable/error state device. The user needs to be able to visualize this somehow, and to be able to disable and enable the hub and all it's devices as well as disabling individual devices.