Web UI incorrectly showing windows as open

Describe the bug
When I visit the TeslaMate web UI on port 4000, it always shows my windows as open (the icon in the top right). The windows are in fact not open, and the Tesla app shows the "Vent" button under controls, and not the label "Close" that appears when the windows are indeed open.
I manually queried the Tesla API, turns out one of the windows reports the value null while all other windows report the integer 0. Not sure if the sensor is broken or what. Opening and closing all windows didn't change this. In any case, TeslaMate should only show windows as open when at least one window has the value 1 in the API.
To Reproduce
Steps to reproduce the behavior:

Have API return value null for at least one window
Open TeslaMate web page
See the window open icon in the top right

Expected behavior
Ignore error values for the indicator, only show windows as open with a value of 1
Relevant entries from the logs
Nothing relating to windows
Operating environment

OS: Raspbian 10 (Buster)
TeslaMate Version: 1.14.1
Type of installation: Docker

	I see the same thing - I figured it's a bug in the API as part of the new update. Seems like that was rushed out to meet the expectations set by the CEO.

	Get Outlook for iOS

On Mon, Dec 30, 2019 at 2:26 PM -0800, "Kevin Galitzki"<EMAIL_ADDRESS>wrote:
Describe the bug
When I visit the TeslaMate web UI on port 4000, it always shows my windows as open (the icon in the top right). The windows are in fact not open, and the Tesla app shows the "Vent" button under controls, and not the label "Close" that appears when the windows are indeed open.
I manually queried the Tesla API, turns out one of the windows reports the value null while all other windows report the integer 0. Not sure if the sensor is broken or what. Opening and closing all windows didn't change this. In any case, TeslaMate should only show windows as open when at least one window has the value 1 in the API.
To Reproduce
Steps to reproduce the behavior:
Have API return value null for at least one window
Open TeslaMate web page
See the window open icon in the top right
Expected behavior
Ignore error values for the indicator, only show windows as open with a value of 1
Relevant entries from the logs
Nothing relating to windows
Operating environment
OS: Raspbian 10 (Buster)
TeslaMate Version: 1.14.1
Type of installation: Docker
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Oh cool, good to know nothing's wrong with my car. I only started using TeslaMate after installing 2<IP_ADDRESS>, so I didn't notice the change in the API. I guess Tesla will fix this soon, but it might still be a good idea to fix the condition that makes the icon appear in TeslaMate.

The windows are in fact not open, and the Tesla app shows the "Vent" button under controls, and not the label "Close" that appears when the windows are indeed open.

It doesn't seem to be the case for you, but in cold weather the windows are often shown as open. In such cases, they are actually slightly open, which the app will show accordingly.

In any case, TeslaMate should only show windows as open when at least one window has the value 1 in the API.

That’s exactly how it works:
https://github.com/adriankumpf/teslamate/blob/18beefbe694c74c1088ff6f87ef7b4c4190b451e/lib/teslamate/vehicles/vehicle/summary.ex#L99-L101
It's gotta be something else that’s causing it? Please let us know if something changes with the next update.

TeslaMate has always seemed to report this properly when I checked to see what the Tesla app showed. I had this issue with windows being open or Tesla thinking the windows were open or slightly open. A few times I found the windows cracked or the app would allow me to close the windows with the "vent" button (close windows).
If you search online this seems to be a common problem. Also you will see they recommend recalibrating the windows. You can find instructions in the manual. At first it didn't seem to help my situation but I did it a few times and I haven't had issues with the windows since.

When I open all windows, the Tesla API (vehicle_state) shows me the following when I query it manually:
"fd_window": 1,
"fp_window": 1,
"rd_window": 1,
"rp_window": null

When I close all windows, the values are as follows:
"fd_window": 0,
"fp_window": 0,
"rd_window": 0,
"rp_window": null

I only installed TeslaMate ~10 days ago, but it has always showed the icon that my windows are open. Not sure why the API returns null for the rear passenger window and also not sure why this makes the icon appear, the code snippet you linked to looks fine. I never used Elixir though, so I don't know how null values are handled.

When I open all windows, the Tesla API (vehicle_state) shows me the following when I query it manually:
"fd_window": 1,
"fp_window": 1,
"rd_window": 1,
"rp_window": null

When I close all windows, the values are as follows:
"fd_window": 0,
"fp_window": 0,
"rd_window": 0,
"rp_window": null

I only installed TeslaMate ~10 days ago, but it has always showed the icon that my windows are open. Not sure why the API returns null for the rear passenger window and also not sure why this makes the icon appear, the code snippet you linked to looks fine. I never used Elixir though, so I don't know how null values are handled.

Have you tried recalibrating your right passenger window? Worth a try.

Turns out there was a typo in the guard clause (see https://github.com/adriankumpf/teslamate/issues/329#issuecomment-570337426). So instead of checking whether rp_window was a number fp_window was checked twice!
I didn't know about recalibrating the windows either. Good to know, @timguy99!


RPM git short hash has one too many characters

When building all Traffic Control RPMs, the Traffic Router and Monitor RPMs contain an additional character in the git short hash. Ensure that the resulting hash matches across all RPMs.
e.g.: traffic_monitor-1.5.0-3027.8d600a8e6.el6.x86_64.rpm should be traffic_monitor-1.5.0-3027.8d600a8e.el6.x86_64.rpm

Looks like Traffic Ops has the same issue.

Doesn't appear to be that way on my side:
traffic_monitor -> 8d600a8e6 = 9
traffic_router -> 8d600a8e6 = 9
traffic_ops -> 8d600a8e = 8
traffic_ops -> 8d600a8e = 8
traffic_ops_ort -> 8d600a8e = 8
traffic_ops_ort -> 8d600a8e = 8
traffic_stats -> 8d600a8e = 8
traffic_stats -> 8d600a8e = 8


reload http server when cert has changed

in case we see a new certificate we want to ensure we reload http server

Unfortunately https://github.com/giantswarm/aws-admission-controller/pull/116 hasn't worked out, so I integrated a watch library for certs which ensures whenever certificates are replaced, we reload the http server to use the new ones.

Tested in gauss

Example logging which I enabled shortly to see if it works.
2020/11/05 13:41:15 certman: watch event: "/certs/ca.crt": CHMOD
2020/11/05 13:41:15 certman: certificate and key loaded
2020/11/05 13:41:15 certman: watch event: "/certs/ca.crt": REMOVE
2020/11/05 13:41:15 certman: certificate and key loaded
2020/11/05 13:41:15 certman: watch event: "/certs/tls.key": CHMOD
2020/11/05 13:41:15 certman: certificate and key loaded
2020/11/05 13:41:15 certman: watch event: "/certs/tls.key": REMOVE
2020/11/05 13:41:15 certman: certificate and key loaded

that's neat!


Fix #28 #38

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://guh.guru:8080/job/guh-webinterface-pull-request/36/
Test PASSed.


[BUG] Marqo returns 500 when creating an index if index_defaults are not specified

Describe the bug
Marqo returns a 500 if you specify number of shards but no index defaults
mq.create_index("hello", settings_dict={"number_of_shards": 5})
Returns:
INFO:     <IP_ADDRESS>:42168 - "POST /indexes/ffindex HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/usr/local/lib/python3.8/dist-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/fastapi/applications.py", line 270, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/exceptions.py", line 75, in call
raise exc
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/exceptions.py", line 64, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.8/dist-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/usr/local/lib/python3.8/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 680, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 275, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 65, in app
response = await func(request)
File "/usr/local/lib/python3.8/dist-packages/fastapi/routing.py", line 235, in app
raw_response = await run_endpoint_function(
File "/usr/local/lib/python3.8/dist-packages/fastapi/routing.py", line 163, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "/usr/local/lib/python3.8/dist-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/usr/local/lib/python3.8/dist-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "/app/src/marqo/tensor_search/./api.py", line 106, in create_index
return tensor_search.create_vector_index(
File "/app/src/marqo/tensor_search/tensor_search.py", line 83, in create_vector_index
_check_model_name(index_settings)
File "/app/src/marqo/tensor_search/tensor_search.py", line 148, in _check_model_name
model_name = index_settings[NsField.index_defaults].get(NsField.model)
KeyError: 'index_defaults'
Expected behavior
A clear and concise description of what you expected to happen.
Ideally it should return a successful and create the index with the number of shards specified and default settings.

looks like this is a duplicate of this one https://github.com/marqo-ai/marqo/issues/289
Closing this ticket for now


Improved drive selector modal

Removing this from the MVP as this won't be in Etcher Pro.

Closing stale issues


position-relative typo

Hello,
There is a small typo in position-relative statement.
The css only works when you type "postition" instead of "position"
https://codepen.io/Bytide/pen/PoGpZaJ
Greetings, MKB

There are no typos here. Using position-relative apply the css property. You need to fix your html/css.


thing_page_paths should be a user defined arg

thing_page_paths is instantiated when running this script, but it would be better to have it as an arg in this function so we know exactly what it's using as thing_page_paths

closed by #15


How to set the answer's size (max token size)?

currently, to stop the reply we have
"stop": [
"\n",  "###"
]
What I want is,
like open AI, we have
max_tokens=50,
like Llama.cpp, we have
-n N, --n_predict N   number of tokens to predict (default: -1, -1 = infinity)

from llama_cpp import Llama
model = Llama(model_path=model_path,  n_ctx=2048, n_threads=12)

prompt = "### Human: Tell me a joke. ### Assistant:"

output = model( prompt,
                       max_tokens=50,
                       stop=["###"],
                       temperature=0.1,
                       top_p=0.2,
                       top_k=10,
                       repeat_penalty=1,2,
                       )

from llama_cpp import Llama
model = Llama(model_path=model_path,  n_ctx=2048, n_threads=12)

prompt = "### Human: Tell me a joke. ### Assistant:"

output = model( prompt,
                       max_tokens=50,
                       stop=["###"],
                       temperature=0.1,
                       top_p=0.2,
                       top_k=10,
                       repeat_penalty=1,2,
                       )

{   "prompt": "\n\n### Instructions:\nWhat is the capital of France?\n\n### Response:\n",   "stop": [     "\n",     "###"   ],   "max_tokens" 200 }

thanks a lot.

Or edit /usr/local/lib/python3.10/dist-packages/llama_cpp/server/app.py
Line 412

This really needs to be a flag on the server cli options. I was fighting with why the output got cut off after ~10 words for forever

@dillfrescott, yee, I'm 100% agree with you. I was frustrated as well...

You can see the value of the 'usage' key in the generated output dict, below the 'text' values.

Yeah, can we change the default? Seems like this is a pretty common hangup for folks using this package.
See, e.g., here.

Importantly, it would be nice to have a None value such that when using Langchain ChatOpenAI one can simply specify None as in the original OpenAI API.
Currently, when setting None, the pydantic validator complains because the number is not an integer.

This really needs to be more visible in the API spec. Just wasted 20 minutes looking for this.

is it "max_tokens" or "max_new_tokens"?

from llama_cpp import Llama
model = Llama(model_path=model_path,  n_ctx=2048, n_threads=12)

prompt = "### Human: Tell me a joke. ### Assistant:"

output = model( prompt,
                       max_tokens=50,
                       stop=["###"],
                       temperature=0.1,
                       top_p=0.2,
                       top_k=10,
                       repeat_penalty=1,2,
                       )

I am a bit confused with setting the max_tokens. I created my model as follows, so is max_tokens here at the wrong place?:
def build_llm():
    # Local CTransformers model
    # for token-wise streaming so you'll see the answer gets generated token by token when Llama is answering your question
        callback_manager = CallbackManager([StreamingStdOutCallbackHandler()])

        n_gpu_layers = 1  # Metal set to 1 is enough.
        n_batch = 512  # Should be between 1 and n_ctx, consider the amount of RAM of your Apple Silicon Chip.
        llm = LlamaCpp(
        model_path=cfg.MODEL_BIN_PATH,
        temperature=0.2,
        f16_kv=True,
        max_tokens = 100,# nur ausprobiert
        n_ctx=8000, # davor 2048
        n_gpu_layers=n_gpu_layers,
        n_batch=n_batch,
        callback_manager=callback_manager,
        verbose=False, # Verbose is required to pass to the callback manager
        #echo=False,
        #max_new_tokens = 2000,
        top_p=0.75,
        top_k=40,
        repetition_penalty=1.1,
        )

        return llm

I am using the model in a rag application, so do I have to set max_token here in 'llm = build_llm("MAX_TOKEN_HERE?")
qa = RetrievalQA.from_chain_type(llm=build_llm(),
                                 chain_type="stuff",
                                 return_source_documents=True,
                                 chain_type_kwargs=chain_type_kwargs,
                                 retriever=big_chunks_retriever)


docs(guide/Internet Explorer Compatibility): Add ng-attr-type workaround for buttons in IE

Resolves #14117

I signed it!

Incorporated comment and squashed commits


metrics filesystem cleanup can crash go-carbon

version: go-carbon.0.10.0_beta1-1
os: Red Hat Enterprise Linux Server release 6.4 (Santiago)
Twice now I've crashed go-carbon by removing stale metrics from the filesystem.  The logs don't show any errors.
I'm sorry that I don't have a lot of information.  I don't have an environment where I can safely try to reproduce it, at the moment.

Do you use carbonserver?

How do you detect stale metrics? Are they being written during the cleaning process?

We are also noticing a unidentified crash with 0.10.0_beta1-1 and also do filesystem-level cleanup.  Our cleanup process simply looks for old modify time stamps and removes whisper files.   Prior to 0.10 (i think we were on 0.7.0) we did not have any crashes.  We did turn on carbonserver with 0.10 and use carbonapi in front of it.

If it crashes, there should be a panic trace or something about that. It would be really useful to obtain that

My setup is:
carbon-c-relay -> go-carbon tcp:2003 for writes
carbon-api -> carbonzipper -> go-carbon (carbonserver) for reads.
The relay/api layer is 4 VMs, and the go-carbon layer is 3 physical machines using carbon_ch hash.
I was just manually identifying hosts which had gone away, and removing the metrics manually. They were not writing at the time.  (Double checked, and no new whisper files were created.)

Checked my logs again, and there's no panic trace.  (I'm running at INFO level logging, so I'd expect something.)
I have about a minute gap in the logs between the last fetch, and then carbonserver startup when I manually restarted the service. (Truncated lines with ...)
{"level":"INFO","timestamp":"2017-05-31T11:29:36.689-0700","logger":"access","message":"fetch served","handler":"render","url":"/render/?format=protobuf&from=1496244576.....
{"level":"INFO","timestamp":"2017-05-31T11:30:21.650-0700","logger":"carbonserver","message":"starting carbonserver","whisperData":....

If panic is unhandeled, it will be printed out in stdout of the daemon

Where does stdout go for RHEL6 init.d service go?  I grepped through /var/log/messages, and I didn't see anything.  I'll look more.

Looking at the init script, stdout isn't captured anywhere unfortunately.

We are running on centos 7 with the systemd unit file.  I cannot find any trace of a panic in journal output, I am currently attempting to reproduce the crash while watching all log output (journal + go-carbon.log)

@nisc-acooper any luck in reproducing?

Can you please check if crash is happening in the PR #175 ?
Also in that PR even if there is a bug in the code, it should log it properly.

Any chance you could package a beta2 RPM which contains this fix?  (Or post a linux x86_64 binary somewhere.) I don't have a good build environment right now.

Any chance you could package a beta2 RPM which contains this fix? (Or post a linux x86_64 binary somewhere.) I don't have a good build environment right now.

beta2 version has been released

I installed beta2, and did a whole bunch of namespace cleanup.  I was not able to trigger the crash.

This is related to https://github.com/lomik/go-carbon/issues/186 as well

This is related to #186 as well

No, this issue was fixed and released in 0.10.0


support min function.

Please answer these questions before submitting pull request

Why submit this pull request?

[ ] Bug fix

[x] New feature provided

[ ] Improve performance

Related issues
support Minimum aggregation and fix some unit test case.

Bug fix

Bug description.

How to fix?

New feature or improvement

Describe the details and related test reports.

First, could you share why adding this func?

First, could you share why adding this func?

simplely want to aggregation some metrics as follows:
service_latency_min = from(Service.latency).min();
endpoint_latency_min = from(Endpoint.latency).min();

Interesting, but make sense in some cases.

Yeah, and we also got endpoint_latency_max metrics by Max function, but found there is no Min function.

Codecov Report

Merging #4072 into master will increase coverage by 0.01%.
The diff coverage is 56.25%.

@@            Coverage Diff             @@
##           master    #4072      +/-   ##
==========================================
+ Coverage   26.83%   26.85%   +0.01%
==========================================
  Files        1134     1136       +2
  Lines       24986    25002      +16
  Branches     3607     3610       +3
==========================================
+ Hits         6705     6714       +9
- Misses      17685    17692       +7
  Partials      596      596

Impacted Files
Coverage Δ

...server/core/analysis/metrics/MinDoubleMetrics.java
0% <0%> (ø)

...p/server/core/analysis/metrics/MinLongMetrics.java
100% <100%> (ø)

Continue to review full report at Codecov.

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

@JaredTan95 Please take care of #3752


use prun content overflowed

I can't reproduce this problem, maybe because of gum configuration related issues, I will temporarily close this issue


Log display rework

added dependency pug
rewrote part of webserver.js to work with pug
NOTE This build does not work as the logs only show up as [object Object] right now

oops didn't mean to do this


There is no sigmoid function

I tried to convert my pytorch model to caffe but failed in a block which contains a sigmoid function

Yes,there are so many layers that I do not add to this repo.Maybe you can do it by yourself.

@xuxiaoyuxuxiaoyuxuxiaoyu
How to deal with the problem when a block contains a sigmoid function ???


Unable to retrieve the decryption key when using X509 certificate to protect keys

I am using .ProtectKeysWithCertificate(X509Certificate2) to protect the keys at rest with an X509 certificate. Creation and encryption of the initial key works fine - but it cannot be decrypted.
Subsequent restarts just add more keys that fail to decrypt.
AspNetCore.All v2.0.3
DPAPI configuration:
services.AddDbContext<DataProtectionDbContext>(
    opts =>
    {
        var dpapiMigrationsAssembly = typeof(DataProtectionDbContext).GetTypeInfo().Assembly.GetName().Name;
        opts.UseSqlServer(dpapiConnectionString, b => b.MigrationsAssembly(dpapiMigrationsAssembly));
    },
    ServiceLifetime.Transient); // I don't think that Scoped would be a good idea when the repository is most likely registered as a singleton

var intermittentBuilder = services.BuildServiceProvider();
services.AddDataProtection()
    .ProtectKeysWithCertificate(GetCertificate()) // GetCertificate() loads an X509Certificate2 from disk
    .AddKeyManagementOptions(options => options.XmlRepository = new SqlDatabaseXmlRepository(intermittentBuilder)) // custom IXmlRepository, needs to resolve DataProtectionDbContext hence passing IServiceProvider

Errors:
Microsoft.EntityFrameworkCore.Infrastructure:Information: Entity Framework Core 2.0.1-rtm-125 initialized 'DataProtectionDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: MigrationsAssembly=Senseforce.Authentication.Web
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [k].[XmlData]
FROM [dpapi].[DataProtectionKeys] AS [k]
Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager:Information: Creating key {1f208812-c07e-4c45-b231-ab7923ea4bbd} with creation date 2017-11-27 12:55:08Z, activation date 2017-11-27 12:55:08Z, and expiration date 2018-02-25 12:55:08Z.
Microsoft.EntityFrameworkCore.Infrastructure:Information: Entity Framework Core 2.0.1-rtm-125 initialized 'DataProtectionDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: MigrationsAssembly=Senseforce.Authentication.Web
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (24ms) [Parameters=[@__friendlyName_0='?' (Size = 450)], CommandType='Text', CommandTimeout='30']
SELECT TOP(2) [k].[FriendlyName], [k].[XmlData]
FROM [dpapi].[DataProtectionKeys] AS [k]
WHERE [k].[FriendlyName] = @__friendlyName_0
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (1ms) [Parameters=[@p0='?' (Size = 450), @p1='?' (Size = -1)], CommandType='Text', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [dpapi].[DataProtectionKeys] ([FriendlyName], [XmlData])
VALUES (@p0, @p1);
Microsoft.EntityFrameworkCore.Infrastructure:Information: Entity Framework Core 2.0.1-rtm-125 initialized 'DataProtectionDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: MigrationsAssembly=Senseforce.Authentication.Web
Microsoft.EntityFrameworkCore.Database.Command:Information: Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
SELECT [k].[XmlData]
FROM [dpapi].[DataProtectionKeys] AS [k]
Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager:Error: An exception occurred while processing the key element '<key id="1f208812-c07e-4c45-b231-ab7923ea4bbd" version="1" />'.

System.Security.Cryptography.CryptographicException: Unable to retrieve the decryption key.
   at System.Security.Cryptography.Xml.EncryptedXml.GetDecryptionKey(EncryptedData encryptedData, String symmetricAlgorithmUri)
   at System.Security.Cryptography.Xml.EncryptedXml.DecryptDocument()
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor.Decrypt(XElement encryptedElement)
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.XmlEncryptionExtensions.DecryptElement(XElement element, IActivator activator)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement)
Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver:Warning: Key {1f208812-c07e-4c45-b231-ab7923ea4bbd} is ineligible to be the default key because its CreateEncryptor method failed.

System.Security.Cryptography.CryptographicException: Unable to retrieve the decryption key.
   at System.Security.Cryptography.Xml.EncryptedXml.GetDecryptionKey(EncryptedData encryptedData, String symmetricAlgorithmUri)
   at System.Security.Cryptography.Xml.EncryptedXml.DecryptDocument()
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor.Decrypt(XElement encryptedElement)
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.XmlEncryptionExtensions.DecryptElement(XElement element, IActivator activator)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.DeferredKey.<>c__DisplayClass1_0.<GetLazyDescriptorDelegate>b__0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyBase.get_Descriptor()
   at Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptorFactory.CreateEncryptorInstance(IKey key)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyBase.CreateEncryptor()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.CanCreateAuthenticatedEncryptor(IKey key)
Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver:Warning: Key {1f208812-c07e-4c45-b231-ab7923ea4bbd} is ineligible to be the default key because its CreateEncryptor method failed.

System.Security.Cryptography.CryptographicException: Unable to retrieve the decryption key.
   at System.Security.Cryptography.Xml.EncryptedXml.GetDecryptionKey(EncryptedData encryptedData, String symmetricAlgorithmUri)
   at System.Security.Cryptography.Xml.EncryptedXml.DecryptDocument()
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor.Decrypt(XElement encryptedElement)
   at Microsoft.AspNetCore.DataProtection.XmlEncryption.XmlEncryptionExtensions.DecryptElement(XElement element, IActivator activator)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.IInternalXmlKeyManager.DeserializeDescriptorFromKeyElement(XElement keyElement)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.DeferredKey.<>c__DisplayClass1_0.<GetLazyDescriptorDelegate>b__0()
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.CreateValue()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyBase.get_Descriptor()
   at Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.CngGcmAuthenticatedEncryptorFactory.CreateEncryptorInstance(IKey key)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyBase.CreateEncryptor()
   at Microsoft.AspNetCore.DataProtection.KeyManagement.DefaultKeyResolver.CanCreateAuthenticatedEncryptor(IKey key)

What I've been able to figure out so far is:

XML is encrypted via CertificateXmlEncryptor
CertificateXmlEncryptor uses EncryptedXml.Encrypt(XmlElement, X509Certificate2)

…which adds KeyInfoX509Data for a certificate to the XML

The certificate used is stored, in full, raw, in the <X509Certificate> element.

This tells me that the certificate must have a protected private key

<CipherData> contains a random RSA session key, encrypted with the certificate's public key

The actual key is encrypted with the randomly generated RSA session key
Encrypted XML is stored in repository
Encrypted XML can be read from repository
Encrypted XML defines that the encrypted secret is to be decrypted with Microsoft.AspNetCore.DataProtection.XmlEncryption.EncryptedXmlDecryptor

EncryptedXmlDecryptor uses System.Security.Cryptography.Xml.EncryptedXml.DecryptDocument()

calls GetDecryptionKey(EncryptedData, null), which most likely calls DecryptEncryptedKey(EncryptedKey)
…which calls Utils.BuildBagOfCerts(KeyInfoX509Data, CertUsageType.Decryption)

…which builds a X509IssuerSerial
and uses X509Store to load the certificate

which renders using .ProtectKeysWithCertificate(X509Certificate2) abolutely useless because the certificate has to be loaded from the cert store anyway (which is not really feasible for our use case - docker swarm, different certs for each environment + having to set up each dev-environment etc.)

Why do you even offer that overload?

This is a failing in the underlying framework unfortunately. We can encrypt with a cert loaded from a PFX, but not decrypt. Decrypt is limited to search the store for a matching certificate. We could look at deleting that overload, but it's not going to help you much if you say you can't use the certificate store.

Thank you

abolutely useless because the certificate has to be loaded from the cert store anyway (which is not really feasible for our use case - docker swarm, different certs for each environment + having to set up each dev-environment etc.)

If you have the x509certificate file on disk, you should be able to load it into the store so EncryptedXml can use it. Try adding this when loading the certificate:
var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadWrite);
store.Add(new X509Certificate2(filePathToYourCert, certFilePassword, X509KeyStorageFlags.Exportable));
store.Close();

See https://github.com/aspnet/Home/issues/2321#issuecomment-366023574

Fixed in aspnet/DataProtection#299


Just trying to figure out what kind of functionality this actually has.

Hello, I recently came across this project after looking into brackes-server and finding out it isn't supported anymore. Anyways, it seems like a great idea, but Iam getting the feeling after long hours of trying to install it properly that it isn't very functional.
Is this an alpha stage project? I can't see any way of getting a live view of the project (basically an index.html file I created). In fact, I can't find any way of actually getting the index.html file to load into my browser at all. I've tried all the ports that your docs use during the docker setup. One gives me the ide, the other gives me the xterm that the ide can't seem to pull up, and the other two do nothing.
Also, it can't install extensions through the extension manager.
I tried to go to the spinup site to see how a version of this that is completely built and setup works, but the site isn't working.
I'm not trying to complain, I just want an idea of what sort of functionality this thing is actually supposed to have working right now. There must be a way to load the files created in the project into a browser to see them. Otherwise, what's the point.
Thank you.

Oh, by the way, I cloned it down onto my remote server and built the docker image instead of pulling it down. I started out by pulling it down, but when it wasn't working, I changed. I installed the brackets-nodespeed-custom extension and bascially stopped there. The extension added some menu items that don't work. Also, the documentation in other extensions say they can be installed through the extension manager, but that is not correct. First, I can't find them in the manager and every attempt to install an extension through it fails.
After that, I saw no purpose in trying to install more extensions as the system so far isn't working.

Hi @haddow777,
Yes, you could this an alpha stage project. It is an open source version of our own internal project that we used to build the nodeSpeed development environment for the Spinups platform. The current version of the nodeSpeed IDE project is meant as a starter to try and get things going with involvement from others. As you have found, there are still a few kinks to sort out in this version which is outside the context of our own managed environment.
I can see there are some permissions issues if you follow the simple docker based setup and use a data container for your projects, extensions etc. I will be pushing some scripts that can be used to set this.
The extensions that are listed on the project are not published to npm or to the brackets registry. So you will have to install these manually for now. This is easily done using git clone in /projects/.brackets-server/extensions/user. You may need to run npm installfor each extension after that.
With regards to Preview, we have not been using the Brackets preview feature - so this is intentionally disabled. We have been using node projects (e.g. a simple express project to serve html files) that are running on port 3000 - and then use this port as the preview port.
Once I have done some further testing locally,  will update the readme and push an update that will make it easier to get going with an initial build.
Thanks for looking at this. I hope that with some feedback from us and updates to sort out the issues we find, that you will find the project useful - and maybe also help in moving it forward.

Please see the updated readme with better explanations on some of the issues you have raised.
I have also added a couple of scripts that can be used to set directory permissions on a docker data container and to install the suggested extensions using git clone.
Hope this helps and gets you off to a better start with nodeSpeed IDE.


why is :redirect-strategy needed for :follow-redirects?

Hi, I'm using version "3.5.0" of the library and I need to make a request that does not follow redirects (I expect to get a 302 response and a populated location header). To do so I've tried setting :follow-redirects false in the options, but that seems to be ignored unless I set :redirect-strategy to either :none or :graceful. I didn't see the strategy option mentioned in the README, so I'm wondering why is it needed for the follow-redirects option to work.

Hmm.. that doesn't seem like it should be required as you say. I think this is a bug. I think :follow-redirects false should do whatever is necessary to ignore redirects

I see. Some code to reproduce the behavior (apparently only :redirect-strategy :none makes the option work):
user> (:status (http/get "http://httpbin.org/redirect/1"))
200
user> (:status (http/get "http://httpbin.org/redirect/1" {:follow-redirects false}))
200
user> (:status (http/get "http://httpbin.org/redirect/1" {:follow-redirects false :redirect-strategy :none}))
302
user> (:status (http/get "http://httpbin.org/redirect/1" {:follow-redirects false :redirect-strategy :graceful}))
200

Thanks for posting this, it just tripped me up too.

This also works:
=> (:status (http/get "http://httpbin.org/redirect/1" {:max-redirects 0 :redirect-strategy :graceful}))
302

Sorry about that, this trips people up because there's currently two ways of doing redirects. Since the 3.x.x branch, there are two pieces of code that handle redirects:

the old clj-http middleware (deprecated)
the new way (by configuring the Java HTTP Client)

So, unfortunately the only way to turn off redirects is to turn off both systems of following redirects:

disable the clj-http middleware :follow-redirects false
disable the Java HTTP Client Config :redirect-strategy :none

@dakrone What are your thoughts around this? I think we should get rid of the deprecated redirects middleware. The old :follow-redirects flag could be translated into :follow-redirects :graceful (it was meant to preserve the old behaviour). We should warn users if they try to use both :follow-redirects and :redirect-strategy in the same options map though, because we would not be able to figure out which one has precedence.

This definitely seems like a bug either in the implementation or the documentation (at least in 3.7.0).  :follow-redirects by itself seems to be useless.  Thanks for the :redirect-strategy :none tip on this ticket!

I added a PR to address some of the documentation issues. Would love if folks could read it over to see how it could be improved to onboard folks to the library better :)

With that PR the documentation isn't misleading anymore, but I got to say, while I understand the new API opens up flexibility to handle more sophisticated cases, it feels it got less readable and intuitive for the most frequent cases (at least the ones I found frequently).

I think by default you want to follow redirects.
Sometimes you'll want to turn them off, and get the 30x status response instead. In that case :follow-redirects false perfectly reflects your intention; :redirect-strategy :none, not so much.
Maybe you want to follow a given number of redirects, before getting the 30x status. :max-redirects 3 conveys it, but now you have to add :redirect-strategy :graceful if you don't want to get exceptions, which sounds like a better default.
If you do want exceptions, then :throw-exceptions true makes it clear.

I'm not saying you should drop the redirect strategies, just that as a library user I would prefer defaults closer to what the previous versions did.

@facundoolano Completely agree with your first two points! I liked the old defaults (hence adding a :graceful strategy).
One of the things that made it complicated is that 3.x changed the redirect behaviour and to make it better more compatible to 2.x -- it would mean breaking 3.x again. Kind of a bind :/
Maybe this is something we can look forward to if clj-http goes to the 4.x where we can break the APi and make the defaults better.

@facundoolano I agree with you, it's definitely a tradeoff of the flexibility with more complexity

Maybe this is something we can look forward to if clj-http goes to the 4.x where we can break the APi and make the defaults better.

I'd love for folks to weigh in with what they'd like to see (for 4.x, so assuming you can break options) that retains the power but is a simpler interface for users!


django container fails to start on Windows

ig-api-django   | exec ./entrypoint.sh: no such file or directory
This also causes the proxy to fail.
Turns out to be damn line endings: https://stackoverflow.com/questions/44460825/entrypoint-file-not-found
What's the most user friendly way to document or solve this? Telling people to modify their git config or expecting them to figure out how to do this in whatever editor they are using are both troublesome.
Can the dockerfile just fix line endings as part of the build or something similar that's robust?

This one is tricky (and pretty unbelievable). I'm going to bump this but feel free to reprioritise.

default windows git installation should change this locally, but commit correctly.


Audio/Video calls are not working on the macOS app (v2.9.0)

My Setup

Operating System: macOS High Sierra 10.13.1 Beta (17B35a)
App Version: Version 2.9.0

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description

Current Behavior

Everytime I am willing to call anyone via the macOS app - it doesn't work. Neither the audio nor the video call. I can see my own image in the video call and a black square of the person I'm talking to, no audio, nothing. If I do the same in a browser (Chrome Version 61.0.3163.100 (Official Build) (64-bit)) - it succeeds without any issues.
Expected Behavior

Calling via the app should work exactly like the website in browser tab does.
Happy to provide any logs if requried.

Same issue on latest released Fedora client on FC26.  It keeps asking me to
install a plug-in but doesn't seem to do anything when I click on install.
Maybe RPM to install plug-in?  FF/Chrome are great though.
On Oct 12, 2017 8:24 AM, "Andrei Lopatenco"<EMAIL_ADDRESS>wrote:

My Setup

Operating System: macOS High Sierra 10.13.1 Beta (17B35a)

App Version: Version 2.9.0

I have tested with the latest version

I can simulate the issue easily

Description Current Behavior
Everytime I am willing to call anyone via the macOS app - it doesn't work.
Neither the audio nor the video call. I can see my own image in the video
call and a black square of the person I'm talking to, no audio, nothing. If
I do the same in a browser (Chrome Version 61.0.3163.100 (Official Build)
(64-bit)) - it succeeds without any issues.
Expected Behavior
Calling via the app should work exactly like the website in browser tab
does.
Happy to provide any logs if requried.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RocketChat/Rocket.Chat.Electron/issues/561, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AfC_QW6dGbSM1k58RnyqYuVk_Jdnt6lJks5srgUOgaJpZM4P27G1
.

For me it doesn't even show a video image - only a blank (white) screen.


Dynamic max length

Is there a dynamic maximum length support by country? Thanks.

@mustafakoleli We use libphonenumber-js to validate and format phone number behind the scene. So unless it has something to set the max length dynamically (which I think it doesn't), we won't have it.


Customization in top nav bar ?

Why I can't customize in the top navigation bar as I want to change the icon of messages and add new icons with different functions ?

You will have to write some custom CSS to get these things customized.


[DH-1149] Add reference code field to companies

For now just to store legacy organisation references from CDMS.

Codecov Report

Merging #622 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #622      +/-   ##
===========================================
- Coverage    96.42%   96.41%   -0.01%
===========================================
  Files          127      127
  Lines         3858     3853       -5
  Branches       334      332       -2
===========================================
- Hits          3720     3715       -5
  Misses          97       97
  Partials        41       41

Impacted Files
Coverage Δ

datahub/company/models/company.py
97.08% <100%> (+0.02%)
:arrow_up:

datahub/omis/notification/constants.py
100% <0%> (ø)
:arrow_up:

datahub/search/company/serializers.py
98.95% <0%> (ø)
:arrow_up:

datahub/omis/notification/client.py
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Selenide-Appium

The problem
I about to test mobile application. I thought of using selenide-appium. Is there any examples in maven.
How to run it on CI/CD using teamcity?
Details
If necessary, describe the problem you have been experiencing in more detail.
Tell us about your environment

Selenide Version: 6.15.0
Chrome\Firefox\IE Version: 116
Browser Driver Version: 113
Selenide-Appium Version: -
IOS\Android\WEB version: Android
Selenium Version:  4.1
OS Version: Windows 10

you can find reference project below using maven but CI is configured with github actions. You can customise it for teamcity.
https://github.com/amuthansakthivel/TheOneFramework/blob/main/.github/workflows/run-mobile-tests.yml
https://github.com/amuthansakthivel/TheOneFramework/blob/main/.github/workflows/run-mobile-tests-in-lambda-test.yml
https://github.com/amuthansakthivel/TheOneFramework

Hi @nicholaswkc34 !
Project selenide-appium contains its own integration tests. It's absolutely not important if you use Maven or Gradle for building your project.

https://github.com/selenide/selenide/tree/main/modules/appium/src/test/java/it/mobile
https://github.com/selenide-examples/selenide-appium


set the explorer font to monospaced

Type: Feature Request
Vscode Version: 1.81.1
OS: Darwin arm64 22.6.0
Setting "editor.fontFamily" to a monospaced font does not take effect on the font used in the Explorer panel.

/duplicate of #519

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Add Package.json for NPM

Required for:
https://github.com/machineboy2045/angular-selectize/issues/78
I've published the module:
https://www.npmjs.com/package/angular-selectize2
Send me npmjs username if you'd like to be added to collaborators to publish tags to it

Thanks! I just created an NPM account: machineboy2045


Add a timer for next time to show a tip

As a developer, you usually open many tabs in a short period of time, so you can't always read all the tips. Actually, I did try but sometimes I ended forgetting what I was about to do. So, it would be awesome if I can set a timer for when I want the next tip to appear
Cheers!

Hey man, thanks for the proposal but actually that problem sounds very specific. I suppose its not something most people would struggle with and not sure on how the timer would be incorporated into the extension from the usability side. Not sure it would be a wise UX move to add such a specific feature this early into the life of a project.
I'm sorry, but I will have to close this issue for now and maybe get back to it once the extension is on stable legs and has proven itself as an MVP.

Oh, no problem, actually, this is more like feedback than a feature proposal (although it's a feature proposal :p). Nice work btw

Hahha actually the problem you described I would call an accidental feature. It just means that the UX is doing its job keeping your focus and interest for the extension alive :P :D
Anyway, as I said maybe in the future, I'll add it but currently I don't see it as an option.
And thank you!


is there any receiving audio code as well from client?

In the repository we have the code to send audio from one user to the device having another user. Is there any code to do the reverse i.e. sending audio from device to the pc, where the audio gets decoded into wav type or plays on PC

Latest updates include some capability for receiving audio in addition to sending it.


[AGE-270] [Bug] Evaluation fails when using .gh docker container

The backend cannot reach the llm app containers (even when logging in to the backend container you cannot ping the llm app containers).
AGE-270

Todo:

[ ] Check whether this is still relevant

I was able to reproduce the error:
The celery container fails with the following error:
Usage: celery [OPTIONS] COMMAND [ARGS]...
Try 'celery --help' for help.
Error: Invalid value for '-A' / '--app':
Unable to load celery application.
While trying to load the module agenta_backend.main.celery_app the following error occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/celery/bin/celery.py", line 58, in convert
    return find_app(value)
  File "/usr/local/lib/python3.9/site-packages/celery/app/utils.py", line 383, in find_app
    sym = symbol_by_name(app, imp=imp)
  File "/usr/local/lib/python3.9/site-packages/kombu/utils/imports.py", line 59, in symbol_by_name
    module = imp(module_name, package=package, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/celery/utils/imports.py", line 109, in import_from_cwd
    return imp(module, package=package)
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'agenta_backend.main'


feat(jsx): sel property

@mightyiam split the jsx-global.d.ts file move from #494

Happy New Decade @mightyiam , Take 2

kind ping @paldepind / @mightyiam ^

@mightyiam merged with master and review feedback, ready for another pass/merge

According to our policy, this requires approval from @paldepind, right?

its a super minor thing tho, policy says major things right?
anyways @paldepind , please ^

@nojvek seems to me that it will be a commonly used part of the JXS feature.
And the way I interpret the policy is anything "more substantial" than

Maintenance, documentation, configuration, linting, dependencies, bug fixes, etc.

Requires @paldepind.

@mightyiam / @paldepind wanna have another look please ?

@mightyiam 👀 please.
 It seems we have a ton of git commit hooks (editorconfig was getting stuck, karma couldn't download firefox). Pretty terrible experience.

Didn't quite realize how hostile working from Africa is.

@paldepind :bell: :bulb: :zap: :fireworks: :pray:

Would love to see this merged and a new snabbdom release cut :D

Hey folks, any update here?
Thanks for Snabbdom btw, love it.

current status is that feat jsx is blocked in @paldepind.
Landing jsx has been more than a 3 month journey. I guess if @paldepind is still AWOL for another week or two, we can make a new npm package.

any luck getting to this @paldepind ?

@paldepind kind ping. I hope you're keeping safe with the ongoing pandemic. We've been waiting on you for 4 months.  Would love to see this land before the virus gets to me.

Another kind ping @paldepind ^

Closing this PR: Moved all the relevant JSX bits to a new npm module
See https://github.com/nojvek/snabbdom-jsx-lite
Supports sel, jsx, jsx fragments and has a perf test to ensure it remains blazing fast.


Working with opnsense 21.1 ?

Is this plugin totally orphaned ?
Is it working with opnsense 21.1 ?
Thanks for answers

Hi - the plugin is not abandoned, however we do not have enough time to test for each OPNsense release at the moment - if you do happen install and test please do report back, that would be awesome - N

Hello,
I can try it on my 21.1.
All I have to do is to compile it by following the "build-at-remote.sh" script content ?
Because I don't see any others compilations instructions in this repo.
Thanks

@ndejong I tried to pkg add https://github.com/verbnetworks/packages/raw/master/opnsense-plugin-autossh/os-autossh-devel-0.1_1.txz but it's still for FreeBSD 11, and now opnsense 21 is based on FreeBSD 12.
So i got the "pkg: wrong architecture: FreeBSD:11:amd64 instead of FreeBSD:12:amd64" message.

Hi @PhilippeRaven
Long time between updates here; see #3 packages for OPNsense 21.1 through the latest 22.7 are all available.


[FEATURE] Add even better custom tokens

Is your feature request related to a problem? Please describe.
The current custom tokens are all of the same type, all with a type, content, inner and position field, which makes accessing type specific information harder.
Describe the solution you'd like
More custom tokens with fields such as left, operator and right for expressions such as 1 + 1.
Describe alternatives you've considered
Keeping it this way and accessing all information with inner tokens or the content.

Will probably include more grammar features too.

Tokens are 90% done

Tokens are mostly finished, I need to add common token stuff tho.

I have decided to ditch pest parsing, in favor of more customization options. This means I will add a new lexer and parser. I will still try to use grammar files though, as they are extremely useful.

This means the update will be delayed by a month

Closed in favor of #91.

Closed in favor of #91.


Checking for name collisions wasn't handling case properly.

The example issue was datasetValue vs dataSetValue.
We would end up with a name collision in the exports due to a difference
in casing only. Modifing the check to look for name.lowerCase() resolves
this and the definitions propogate throughout the rest of the files
appropriately.

Hi,
thank you for creating PR. I'm not sure how other generators (e.g. java wsimport) handle this case.
IMHO, it should be an issue with tool that generates wsdl file.
Could you provide some test wsdl with that case ? I would like to test it first....

Will add option for case-sensitive parsing to CLI


Cannot close the application from the Ubuntu unity launcher

OS:
Ubuntu 16.06.1 with Unity
Issue Descriptions:
I cannot close Google Play Music Desktop Player from the unity launcher. Nothing happens. I must use the system tray icon to quit.
Steps to Reproduce:
Just open the application normally and try to close it with the launcher, nothing happen.

I believe there is an option in settings for minimize to tray on close. When enabled closing the application in the tray is equivalent to pressing the close icon in the title/menu bar. Is that option enabled?

@Gontran08 This has come up before and it a unity issue.
Basically they are firing window close requests instead of application quit requests.  If you disable "minimize to tray" in settings.  The button will work for you.

I see. In that case, the problem is that you minimize the window instead of closing it. The window stay in the launcher. If I compare the behavior with Skype, when I close the window, it is closed and the only way to open Skype again is to use the system tray icon. The window do not stay in the launcher, so the context menu is not accessible. It's a trivial problem, but I think it explains my misunderstanding.

The program tries to skip the task bar on linux, but unity doesn't play nicely.
See here: https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/blob/master/src/main/features/core/controlBar.js#L27


Difficuluties during installation to VS 2017 RC project

Create such project - great idea, should be very useful for new "npm users". Thank you. But it is still very hard to understand how it suppose to work.
Could you append documentation or just consult us there with those topics?

Is it possible to get JavaScriptServices project with Target Framework not "Core" but ".NET Framework 4.6.2"?
a) the way "Installation into existing projects" through nuget "Microsoft.AspNetCore.SpaServices" ?
b) the yoman way  ?
c) since I can't just switch Target Framework in "Project Properties" (it suggests to change core 1.1 to 1.0 core) may be you can document how it can be safely changed through json files (I know about project.json "frameworks" property, but now I even not sure that project.json suppose to work with new csproj... also I have changed it to "net462"; dotnet restore works but "Project properties" still show "Core" target framework)?

please add some sentence how to check that project is ready (after nuget or yoman install).
I have a new node_modules folder in project folder with all packages including webpack. But what aslo should be done by yoman script? Even several words will be very useful to describe what should going on.

3a) add to the documentation line that warnings user that he will need to delete .xproj file after migration to .csproj (otherwise dotnet run deny to work).
3b) dotnet run return an error (after first run one, after second another)
PM> dotnet run
dotnet : The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.
At line:1 char:1
+ dotnet run
+ ~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (The specified f... was not found.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

  - Check application dependencies and target a framework version installed at:
      C:\Program Files\dotnet\shared\Microsoft.NETCore.App
  - The following versions are installed:
      1.0.0
      1.0.1
  - Alternatively, install the framework version '1.1.0'.

PM> dotnet run
dotnet : A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in
'D:\cot\Vse\AdminkaV1\Web.Client\bin\Debug\netcoreapp1.1'.
At line:1 char:1
+ dotnet run
+ ~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (A fatal error w...netcoreapp1.1'.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

Run through visual studio "IIS Express" returns modal error message box "Unable to run your project. The 'RunCommand' property is not defined."
What is wrong?
Info:
PM> dotnet --version
1.0.0-preview4-004233
PM> npm -v
3.10.10

Yes, it works with .NET Framework as well as .NET Core (but only with ASP.NET Core, which itself works on both .NET Framework and .NET Core). There's documentation about how to add the NuGet packages and use them in existing projects here: https://github.com/aspnet/JavaScriptServices/blob/dev/src/Microsoft.AspNetCore.SpaServices/README.md#installation-into-existing-projects

Sorry, I'm not sure what you mean by that. Perhaps you are unfamiliar with Yeoman. Note that Yeoman is only used when creating new projects. Don't use Yeoman with existing projects - please follow the docs linked above for that.

3a. I understand your point, but I don't know where such documentation would go, since this project doesn't address anything about migrating from xproj to csproj - it's a separate concern entirely. Also one that will disappear soon as people will no longer be on xproj.
3b. It's saying you need to install .NET Core 1.1.0. You can get it from https://www.microsoft.com/net/download/core#/current
Hope that helps!

Q: Is it possible to get JavaScriptServices project with Target Framework not "Core" but ".NET Framework 4.6.2"?
A: There's documentation about how to add the NuGet packages ...

In document you point there are no explanation what is .NETCoreApp target framework. There is no "word" target at all.
When I have realized that this is a new sort of proxy for "core" and "framework" targets (like  "standard" ?) Only then I was able to get more information from there:
https://jonhilton.net/2016/09/07/using-asp-net-core-against-net-4-6/
But it was wroted before VS 2017 RC. Is it still relevant?
Q: user ... will need to delete .xproj
A:  Also one that will disappear soon as people will no longer be on xproj.

How it can dissapear if yoman generates exactly xproj?
P.S. I can't understand why all Core teams are so quick in closing issues...  It looks like "race for nice stats". I have never have such filling with other github projects. Can I use the same topic to continue asking if I still have questions.

How it can disappear soon if yoman generates xproj+json ?

As of the latest version of generator-aspnetcore-spa, you get the choice of whether to generate xproj+json or simply csproj. People using VS2017 should choose csproj.

I'm asking to provide documentation what should be generated . How the generation result should look in file system (xproj? csproj?)

The choice between xproj and csproj is up to you. People using VS2017 should choose csproj.

The link you provide is assisting to install VS RC 2017,

From the link I provided, please download and install the Windows version of .NET Core 1.1 SDK (not the VS2017 tools - sorry for the ambiguity).

P.S. I can't understand why all Core teams are so quick in closing issues... It looks like "race for nice stats"

We don't have any such stats that I'm aware of. Issues are only closed if it no longer appears that there's action to take on them. This is to keep focus on issues where there is action to take. You can certainly continue on the same topic to ask further questions even if it's closed :)

The choice between xproj and csproj is up to you. People using VS2017 should choose csproj.
Today update of generator-aspnetcore-spa helped me. Thank you.

But I still can't understand how to configure .NETCoreApp target to use exactly .NET Framework 4.6.2 ?
What should be changed instead of project.json in previous versions? I feel that is not SpaServices question, but may be you still can help me or point where to read? It is not obvious.


Documentation for Cron time zone support

https://buildkite-docs-review-pr-477.herokuapp.com/docs/pipelines/scheduled-builds

Was this one waiting on anything @ticky? Or can we ship it? 😄

The feature itself needs a few fixes! The docs won’t change, but they’re not yet ready to send out!


Main dec31

PR into Azure/mlops-project-template
Checklist
I have:

[x] read and followed the contributing guidelines

Changes

fixes #

Review the Commit: https://github.com/Azure/mlops-project-template/pull/121/commits/11c5957592b648a6acd44685382c7277162bd07b before merging the PR.


Bundler could not find compatible versions for gem "stripe"

The current stripe gem is 1.20.4 and there seems to be a dependency on 1.20.1 in the latest version of this gem:
In Gemfile:
    stripe-ruby-mock (~> 2.1.1) ruby depends on
      stripe (= 1.20.1) ruby

    stripe (1.20.4)

This currently prevents installation.

I'm having the same issue

I believe the version was locked until compatibility with newer versions of Stripe can be worked out.

I am using stripe (1.21.0) and have the same issue.

newest version of stripe - 1.21.0. We have branch stripe-1.21.0 because new Stripe contains breaking changes. I recommend  switch to new branch or wait merging 1.21.0 to master.

Is there something specific blocking us from merging the stripe-1.21.0 branch into master, unlock the Stripe gem and release a new version? I would like to use the latest version of the Stripe Gem.
Happy to help if there is anything that can be done to make it happen. :smile:

@louim Stripe has new version of API. And merge newest branch breaks a lot of tests. Many developers use old version.

@alexmamonchik I understand this. I will test the branch, however, I thought it had been created specifically to patch the bugs with the new version of the Stripe API.
On the other hand, that's what semantic versioning is for. Rolling a new version of the gem supporting the newest Stripe API should be done once the tests are passing. People can alway lock to the gem version that correspond to their older API version.

you right. That what I want. I started new branch (stripe-1.21.0, Stripe has more versions) but didn't finish yet. Any new PR from you helps, welcome. Current gem locked to 1.20.1 because version 1.20.3 and newest break most of tests. stripe-1.21.0 is not ready to merge, sorry. @kathyonu is working on this branch. Thanks to all developers. I'll join you when I have more free time.

Stripe gem is now 1.22, should I use 1.21 branch?

@juanpastas Stripe gem is now 1.26. I have a running version locally with the spec fixed, I plan on doing a pull request soon.

Thanks. Do you have that in a public repo?

@juanpastas  before updating to 1.26 I decided to update to 1.21. I still haму errors with charge tests.@louim also is working on this branch - very thanks. I'll continue soon when I have more free time.

@juanpastas @alexmamonchik the PR is up #259

@louim thanks!

Hi All! Big update:

new release of gem 2.2.0
now support stripe 1.27.1


cleanup: improve the use of filter

Please provide a description of this PR:
improve the use of slices.Filter

Hi @yeedove. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

/ok-to-test


Training and testing TransFusion-L with openpcdet version 0.2.0 (ST3D)

Hi, I am currently using the pcdet 2.0 which is from the ST3D repo, may I ask if it's possible to add transfusion-L to it?
I also noticed thatit has been supported by the latest pcdet, and I am not sure if I can simply create a new environment with the latest pcdet (without the need of re-preparing the datasets) so that I can use transfusion-L there?
Many thanks

Thank you! I will try soon.

May I confirm that I need to change these codes as you committed? 4dc1849

Certainly, to begin, you can test with the provided checkpoints.

Hi @chenshi3 , I have firstly tried to reproduce the results of TransFusion-L on current pcdet version (0.6.0), however my results are quite different from the reported ones:
2023-07-26 10:58:18,835   INFO  ----------------Nuscene detection_cvpr_2019 results-----------------
***car error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.20, 0.18, 0.21, 0.43, 0.22 | 67.56, 78.67, 82.59, 85.03 | mean AP: 0.7846314779117628
***truck error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.40, 0.24, 0.26, 0.45, 0.26 | 25.21, 44.90, 53.47, 57.96 | mean AP: 0.45383654553284947
***construction_vehicle error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.75, 0.45, 1.16, 0.14, 0.34 | 0.49, 7.56, 16.16, 27.64 | mean AP: 0.12961399733232265
***bus error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.43, 0.23, 0.24, 1.28, 0.28 | 28.09, 54.43, 69.15, 72.58 | mean AP: 0.5606204998406492
***trailer error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.63, 0.26, 1.06, 0.46, 0.23 | 4.13, 20.90, 35.82, 45.82 | mean AP: 0.26669573720829554
***barrier error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.35, 0.29, 0.12, nan, nan | 33.25, 52.40, 60.15, 62.77 | mean AP: 0.5214156825794469
***motorcycle error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.23, 0.26, 0.55, 1.22, 0.21 | 33.32, 40.71, 42.72, 46.18 | mean AP: 0.40736125116755956
***bicycle error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.19, 0.27, 0.69, 0.43, 0.01 | 25.16, 26.90, 27.53, 28.58 | mean AP: 0.2704486481612039
***pedestrian error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.32, 0.29, 1.37, 0.83, 0.23 | 53.19, 61.95, 64.88, 67.60 | mean AP: 0.6190817176746111
***traffic_cone error@trans, scale, orient, vel, attr |<EMAIL_ADDRESS>1.0, 2.0, 4.0
0.18, 0.37, nan, nan, nan | 54.19, 55.85, 58.78, 63.03 | mean AP: 0.5796267687608527
--------------average performance-------------
trans_err:	 0.3669
scale_err:	 0.2831
orient_err:	 0.6275
vel_err:	 0.6534
attr_err:	 0.2234
mAP:	 0.4593
NDS:	 0.5142
mAP: 0.4593
mATE: 0.3669
mASE: 0.2831
mAOE: 0.6275
mAVE: 0.6534
mAAE: 0.2234
NDS: 0.5142
I train the model with batch size = 4 and lr = 5e-5 for 20 epochs, following the settings from original transfusion (they use batch size = 2*8 and lr = 1e-4).
Could you please check if such settings are suitable?

You can begin by testing with the provided checkpoints to validate the correctness of code and dataset. The results are obtained using a batch size of 4*8 and a learning rate of 1e-3. For your setting, I recommend adjusting the lr to 1e-4 and decreasing the number of epochs in DisableAugmentationHook.

Hi @chenshi3 , I modified the lr to 2.5e-4 with batch size = 8, and also reduce the disableAugmentationHook epoch to 3.
The performance of epoch 20 is improved a bit (from 45.9 to 52.6),  but still far from the reported ones. I have tested the provided checkpoint which achieves 64.55 AP, indicating that the code and dataset are without problems. Do you have any suggestions on this? Thank you!

I also disabled the balanced_resampling in nuscenes_dataset.yaml to save time, but I am not sure if such change will cause the heavy performance drop.

sabled the balanced_resampling in nuscenes_dataset.yaml to save time, but I am not sure if such change will cause the heavy performance d

Firstly,  the balanced_resampling in nuscenes_dataset.yaml significantly impacts performance to performance. Secondly, I recommend reducing the disableAugmentationHook epoch to 1 or 2 for better results..

Hi @chenshi3 , thank you for your help and I have implemented transfusion on pcdet2.0. However, I only want to train and test with car class instead of the 10 classes in nuScenes. Do you have any suggestions on modifying the config file based on this? For example, should I reduce the number of proposals from 200 to 20?


Encoding error with python2

$ translate -d ru "test"
Traceback (most recent call last):
  File "/usr/local/bin/translate", line 44, in <module>
    main()
  File "/usr/local/bin/translate", line 40, in main
    pronunciation=pronunciation)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)

works well with python3

Hello, I fixed an error where the UnicodeEncodeError occurred in Python 2.x, please check it again with master branch of py-googletrans.
Regardless of whether or not this is fixed, please let me know.


422 Nats timeout when an instance does not have Flux configured

Discovered as part of the service-ui on-boarding improvements. When an instance does not have Flux configured, requests to the /api/flux/v3/services?namespace= route return 422s.
We are trying to use the presence of services to validate whether or not the user has Flux configured. If a user does not have Flux configured, we want to take them to a configuration page.
Since the timeout takes ~5 seconds, navigation appears very slow. I am currently working around this by validating whether or not the git repo credentials are present, which is not ideal since the user can have services present without a git repo configured.
Reproduce:

Create an instance
Navigate to /flux/dawn-lake-16/services

Expected:
Return an empty array to indicate no services are present.
Actual:
Calls to /services time out with nats timeout

You probably want the /api/flux/v4/ping endpoint, which checks if the daemon is connected. Should return 404 NotFound, if the daemon is not connected, and No Content if it is connected.
If it is slow and timeout-ey (I suspect it will be), please post here, as it shouldn't be.

@paulbellamy /api/flux/v4/ping is doing the same thing, but with a 500 instead of a 4XX. I still get a nats: timeout response body

Unfortunately that is the nature of networks: you cannot tell whether something is never going to respond, or just taking its time to respond.
We could store connection state in consul, say, a bit like Scope does. But we would still have the problem that it would be out of date (the connection can go away without us noticing; messages can be delayed arbitrarily; etc.).
If you just want to record whether a daemon has ever connected (and therefore has been given correct configuration), that's relatively easy. We can distinguish between this and the case of "has connected, but apparently not so at the minute" in any way that's convenient.

afaik, there is a heartbeat on the connection, so we could loosen the check to just "is there a tcp socket open to this daemon?"

To add more context, the question we are trying to answer on the front-end is "Should we take the user to the intro/setup flow, or should we take them to their instance?".

We can distinguish in the API between this and the case of "has connected, but apparently not so at the minute" in any way that's convenient.

I think this is a good approach. Could we add a key to the /config response body that will indicate that we have seen a daemon connect for this instance?


Can't use Shared or Bridged Network Mode with macOS Internet Sharing turned on

Describe the issue
if you try to open a vm with network and you have the internet sharing turned on in System Preferences > Sharing, you will get an error
Configuration

UTM Version: 3.0.4
OS Version: 12.2.1
Apple Silicon

Crash log
Device 'vmnet-macos' could not be initialized

I think is a qemu problem, but it can be useful have a warning if utm find that

@osy This is interesting. Do you know if Internet Sharing use vmnet.framework internally?

No but both use the same underlying technology. I believe this is a known issue that only Apple can fix.

On Fri Feb 18, 2022 at 10:44 AM +08, osy wrote:

No but both use the same underlying technology. I believe this is a known issue that only Apple can fix.

I see. Thanks.

I can not display my shared directory after the 1st reboot. Is this thread the discussion?

@aisobe No, you likely need to install the guest tools.

@conath I did that, the shared folder Z drive in Win11 Arm Preview is gone after several reboots. Why?

I don’t know. Please create a separate issue, thanks.


Create benchmarking framework that automatically runs tests and saves data

Pretty much just the current implementation of benchmarking, but with more automation. Futher features like "test the provided algorithms, or test all algorithms if not provided" would also be helpful

Fixed by #20


Updated en,md

Added a Note: When using SXA with JSS ensure the site and app node are commented in the Sitecore .config file in /sitecore/config. Since this will be handled by SXA Site manager. We faced this issue and took two weeks with Sitecore to figure out the issue. https://sitecore.stackexchange.com/questions/29221/using-page-designs-or-partial-designs-in-sxa-jss-site

Description / Motivation

Testing Details

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update (non-breaking change; modified files are limited to the /docs directory)

Thank you for this PR. I believe this information is covered in the appropriate docs here. @ancaemcken what are your thoughts?

Thank you for this PR. I believe this information is covered in the appropriate docs here. @ancaemcken what are your thoughts?

@CobyPear I'll pass along the information to the owner of the SXA docs. @bala-one  thanks for spotting this.

@bala-one @CobyPear The SXA folk are looking to confirm/test the solution on their end. We will update the relevant documentation (JSS and SXA).

@CobyPear I think we can close / discard this PR because of having moved the docs out of the repo and the fact that it is documented in the SXA docs.


Fixed session close operator log session dir not deleted

Why are the changes needed?
Operator log Session dir not deleted when the session is closed，

As time goes on, more and more directories are created, which is a big risk
How was this patch tested?
1、open session

session operator dir

2、Closing the session directory is deleted

@winfys, could you please add the unit tests for the changes?

@SteNicholas ok,I'm going to add

Codecov Report

Merging #2208 (cbcee43) into master (8f2b735) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head cbcee43 differs from pull request most recent head 46725f0. Consider uploading reports for the commit 46725f0 to get more accurate results

@@             Coverage Diff              @@
##             master    #2208      +/-   ##
============================================
- Coverage     61.69%   61.69%   -0.01%
  Complexity       69       69
============================================
  Files           332      332
  Lines         15947    15952       +5
  Branches       2027     2027
============================================
+ Hits           9838     9841       +3
- Misses         5289     5290       +1
- Partials        820      821       +1

Impacted Files
Coverage Δ

...ala/org/apache/kyuubi/session/SessionManager.scala
85.71% <100.00%> (+0.59%)
:arrow_up:

.../org/apache/kyuubi/engine/hive/HiveSQLEngine.scala
75.00% <0.00%> (-2.78%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
94.11% <0.00%> (-1.97%)
:arrow_down:

Continue to review full report at Codecov.

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

thanks, merging to master


Governance.SiteUsageReport missing App.config

Hi, I downloaded the latest version of PnP, the Solutions/Governance.SiteUsageReport is missing the App.config file.

Hi, thanks for reporting this.
I have created a pull request: App config fix #483

fixed in #483


API: Ability to Set Log Level of an output channel

Use case:
From @dbaeumer
I actually ran in a comparable problem: I have a setting for LSP clients that let users configure the granularity of the trace level messages. Valid values are for example: off, 'message, 'verbose, json, ...
Now if a user changes the setting from off to verbose still nothing will show up in the channel since it log level is still set to debug. So to enable logging now for LSP clients the user needs to:

change a VS Code setting
Use a command to enable tracing

It would be nice if I could set the log level programmatically so that I can set it to trace when the user changes the setting.

+1 for GHPRI.

@alexr00 This might be just a workaround for you right? If #167528 is fixed, you do not need this?

If #167528 is supported, then you do not need the setting itself right? You can ask users to set the log level using the UI provided by VS Code.

@sandy081 that's true. It would just be nice to have to migrate the setting then.

@sandy081 I can do that but as a consequence I would need to remove the setting and teach everyone that uses the LSP client that the setting is not supported anymore. So for example @aeschli as to remove the setting from the JSON server (and all the other servers he has) since changing the setting it will have no effect.
So I am a little afraid about the ripple that this will cause.


Improve %pex_load error reporting.

The issue over in #37 was more confusing than need be because full stderr output of a failed venv creation in a PEX load was not presented in the notebook.

I find the error output is actually all there:

@horuswoo that pink STDERR output was not conveyed in #37, just the lower CalledProcessError text. Do you know if you also had the pink text? Perhaps you just scrolled past it?

My repro used:
FROM ubuntu:16.04

RUN apt update && \
    apt install -y software-properties-common && \
    add-apt-repository -y ppa:deadsnakes/ppa && \
    apt update && \
    apt install -y python3.7-venv

RUN python3.7 -mvenv /jupyter.venv && \
    /jupyter.venv/bin/pip install -U pip && \
    /jupyter.venv/bin/pip install jupyter pants-jupyter-plugin

EXPOSE 8888
ENTRYPOINT ["/jupyter.venv/bin/jupyter", "notebook", "--allow-root"]

$ docker build -t issues:38 .
$ docker run --rm -it -p 8888:8888 --network host -v $HOME/Downloads:/downloads issues:38

@horuswoo I'm going to close this as an answered question since it appears the error output from Pex is all there. If you have contrary evidence though, please speak up and provide as many details as you can.


Change hard-coded query language option in the semantic reranker into a variable

In the file /app/backend/approaches/chatreadretrieveread.py, there is some Python code to configure hybrid semantic search using the semantic reranker. The configuration of the query language on line 228 in that file is currently hard-coded to "en-us". Could you please make use of configurable variables instead of hard-coded strings?
query_language="en-us",
 # query_language=self.query_term_language,

@marcopostmovares, we are working on more explicit language support in our next release. I have marked this a bug and assigned to @ArpitaisAn0maly who is working on this feature.

Hello @marcopostmovares,
A PR for this merged into VNext-Dev.
https://github.com/microsoft/PubSec-Info-Assistant/pull/470
Please note that query_language is no longer needed for Semantic Reranking as it is language agnostic now.

Resolved with latest release v1.1


Fix unit test that gets skipped if not on Windows

There's a unit test that gets skipped if the platform isn't Windows in order to test some functionality of getLLDBLibPath(). Use mockGlobalValue() here to set the value of process.platform so that the test can run on all platforms.

Try rebasing this, a few test stability fixes are in that should resolve the CI failure seen here.


Missing default permissions in Getting Started with Snowflake - Zero to Snowflake

Getting Started with Snowflake - Zero to Snowflake -> Section 3. The Snowflake User Interface & Lab Story
Under the subheading "warehouse" it states the the sysadmin role has access to the Compute_WH by default. However, this was not the case for me.
I'm unsure if this should be fixed on the backend or the documentation should include a step for adding the permission. I went and added my own permission and am happy to submit a request for the edit to the documentation.
https://quickstarts.snowflake.com/guide/getting_started_with_snowflake/index.html#2

I agree that this is an error in the Zero to Snowflake document.  The COMPUTE_WH was created under the ACCOUNTADMIN id and not sysamdin.  Instead of adding a permission to sysadmin, I just used ACCOUNTADMIN for the rest of the document.


Add MITT

Added animation file for "Matt's Infotainment Two-Thousand"
Last year Matt was a bit disappointed that the animation of the so-called scanner of one of the main "characters" of David Hasselhoff's '90s show wasn't working. As I have some fond memories of this TV show myself (and my main animation project seems done so far), I jumped deep into this rabbit hole of information and legends. Turns out that the animation isn't just a moving light or line. There is much more... These are eight individual halogen lights that more or less turn on immediately, but they have some afterglow and that is what makes the light sequence so special/iconic.
I'm not a electronics engineer or chemist by any means, so I approached the task more programmatically and tweaked the parameters until it looked good. Actual halogen bulbs might look totally different but for the sake of a (quite low-res) Christmas tree, this should look just fine.
see generator-source
see simulator example
If your simulator can handle the (still in pull-request-state) feature of variable frame times (a.k.a. if the simulator ignores the first column), you can link to this animation. If not, then this file might break your simulator. Honestly, I could have done this without the new variable frame times, because the animation doesn't actually use them, but at least once I wanted to try to give Matt's tree a hint of the desired animation speed. If the tree is quicker, my animation will still be at around 30 fps.
I guess no-one would have come after me for using the name "KITT" but I liked he idea of making this a more standupmaths and Christmas themed animation, hence the different color choice and the new name.

Hey @d-albrecht 👋  Since we haven't settled on a solution for variable frame times, did you want to upload a version without that column? It seems to run ok at https://santiagodg.github.io/mptree/ but I can't promise the extra column would work on the tree.
All of that said - the effect looks great! Like your detailed writeup too.

Honestly, I could but I don't want to right now. The thing here is, that I used the first column for this trick. If the python code ignores this column completely, then the frame timings should just get ignored, too, and the remaining file content is 100% compatible with the default format definition.
I chose to implement it that way to exactly prevent cases where the format isn't compatible. If the old runner-code is used then the first column is ignored (and the frame timings is whatever the RPi can manage to achieve), and if the new runner-code is used then the frame timings are used to achieve a specific animation speed. The only incompatibilities I had were with some tree simulators that checked the file more thoroughly than the python-code ever did (hence established their own format definitions).
So, I'm pretty sure, that this animation will work no matter what (unless you use a completely different runner-code that assumes another, different format definition). In that sense, this version is just as close to the format definition than a not-timed animation would be. Hence, please just go ahead and merge.


Makes sure we don't strip authData or session token from users using masterKey

When querying for Auth, the RestQuery would strip out sessionToken and authData from the response. This fix makes sure we keep the authData and the session token when using the masterKey so the user is fully available in cloud code.

@flovilmart updated the pull request.

[Current coverage][cc-pull] is 91.81%

Merging [#2348][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master      #2348   diff @@
==========================================
  Files            94         94
  Lines         10479      10479
  Methods        1275       1275
  Messages          0          0
  Branches       1713       1713
==========================================
  Hits           9621       9621
  Misses          858        858
  Partials          0          0

Powered by Codecov. Last updated by [ab3b4ad...492c4cb][cc-compare]
[cc-base-branch]: https://codecov.io/gh/ParsePlatform/parse-server/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/ParsePlatform/parse-server/compare/ab3b4addbfbd96a19eb0f447f3938d01a445db04...492c4cb4ade309dabcc1b6062d0c45f3413513d4?src=pr
[cc-pull]: https://codecov.io/gh/ParsePlatform/parse-server/pull/2348?src=pr


Add RGB support for the Logitech G502 Proteus Spectrum Mouse

Aurora seems to not detect this mouse (Afaik it should be bundled for rgb effects with my G933 headset, but it only follows the Logitech utility.).

This might be an issue with Logitech SDK. The mouse should work, as it's treated as an RGB device. And I already update those. I'll check it out in the dev branch.

Doldol do you have a rgb logitech keyboard? those devices are linked to a sdk enabled device rather than been sdk controlled directly.

@SilentZen Yes G910. Like I explained, there is definitely an issue as my G933 headset gets controlled by Aurora, while the mouse is not.

I have the same issue

Try this.  Close Aurora, and replace the "LogitechLed.dll" file with the one I provided. The file is located in Aurora's directory. This might fix the issue, it's one of the latest LED SDK files, I haven't updated the one used in Aurora for quite some time now.
Let me know if this helps.
LogitechLed_8_85_215_x64.zip

Hi
Just tested and it fixed issue
(G502 Mouse working with this dll)
Thanks and much appreciated
Brad
On 2 September 2016 at 21:30, Anton Pupkov<EMAIL_ADDRESS>wrote:

Try this. Close Aurora, and replace the "LogitechLed.dll" file with the
one I provided. The file is located in Aurora's directory. This might fix
the issue, it's one of the latest LED SDK files, I haven't updated the one
used in Aurora for quite some time now.
Let me know if this helps.
LogitechLed_8_85_215_x64.zip
https://github.com/antonpup/Aurora/files/452858/LogitechLed_8_85_215_x64.zip
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/antonpup/Aurora/issues/122#issuecomment-244480156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APge0Nvva3WU5c3o6kHk1UZYaMpc0o_dks5qmId2gaJpZM4Juipu
.


[Bug]: Button icons in Dark mode

Prerequisites

[X] I have searched the backlog for duplicate or closed feature requests

Your test device
Any
OS Version
Any
App version
v1.0.0(132)
Describe the issue
the icon is not visible in dark mode

Expected Behavior
change the color in dark mode

resolved


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1061 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 341c429 after 13 minutes.


Variable can be used before it is defined

This example program builds and runs fine, even though variable "bar" is undefined when it is used.
I am using roc nightly pre-release, built from commit 3abc276 on Fri Jul  5 09:11:06 UTC 2024.
Operating system: macOS.
app [main] {
    cli: platform "https://github.com/roc-lang/basic-cli/releases/download/0.11.0/SY4WWMhWQ9NvQgvIthcv15AUeA7rAIJHAHgiaSHGhdY.tar.br",
}

import cli.Stdout

foo = \value -> value

main =
    x = foo bar
    bar = 17
    Stdout.line! "Value: $(Num.toStr x)"

This is actually expected in current roc. Since there are only immutable values and not actual variables, this is totally. That said, we do have plans to make it a warning in the future.

Well, if it is by design, then we can close this issue. But it was a bit surprising to me, so I would certainly appreciate a warning.


Update installation doc page with 0.6.0 links.

To merge once binaries have been built.

I think we can merge this anyway.


Export makeRequests

Export makeRequests
this is useful in case generated function are used both by SSR and CSR. SSR is not using react query, but I still want to be able to get just the Axios functions

[x] I have added or updated unit tests for this change.
[x] I have updated the changelog with info about the changes in this PR

Hi @noamcohen97 , the raw requests are already accessible outside the context of react query. They are returned when calling the initialize() function. Ex: const { requests } = initialize(axiosInstance);
Is that what you're looking for?

Accessing requests via initialize will cause a redundant call to makeQueries, and I would like to avoid that.
I don't really like the idea of having client side code running in SSR context

@noamcohen97 are there any errors being thrown when calling initialize on the server?
I hesitate to expose the internal private functions like makeRequests to be publicly accessible because once they are public then it will make it harder to change them in the future as they will need to be backwards compatible for the most part.
If using the requests from initialize are causing errors or causing other performance problems then I will consider it, but if not I don't think we should do this. Calling initialize should only be done once, so I don't think it's a performance problem, and running the small makeQueries function shouldn't cause any problems in SSR too afaik