Combobox filter clear on open

I am not sure if this is proper place to file questions, but I will give it a try.  It currently doesn't seem possible to have the ComboBox clear when you open the dropdown and filtering is enabled.  Once an item has been selected, u must clear, then open to see the other items again.  It would be nice if there was the ability to have it clear the filter when you open so u can easily pick a new item. I am going to review the source code and see if there is some way to implement my desired behavior, but if anyone has any ideas please let me know!

I was able to effectively copy and paste the source code into my own component and make the necessary changes. Maybe ill submit a PR so other people can enjoy.

By filtering do you mean typing in some text, or a selected filter as seen in the MultiSelect component?
To articulate the UX you're describing another way:
Given there is a Combobox
When the user types in some characters
Then the dropdown opens with some visible filtered items
If so, then this seems to counter the usage guidelines for Dropdowns and Comboboxes. See the usage guideline for more details, and try the React Combobox to see how the experience should feel. If carbon-components-svelte is not following the usage guidelines or patterns, then there is a bug. Please let us know if that's the case.
If you're suggesting a new feature, I recommend attaching a video demonstrating your forked component and submitting a new ticket in the carbon repository for consideration.

I wrote two given when then sequences to indicate the actual behavior vs my desired behavior.  I don't know if it's within spec of the carbon design system, I just personally prefer this behavior and did make a slight change to make it behave that way.
Actual behavior
Given there is a Combobox
When shouldFilterItem is overridden and a user types in a value
Then the dropdown is properly filtered based on the matches and you can selected the item.
Then the user hits the open button and it only shows the selected item in the list, forcing you to clear the selection with the clear button, or deleting the value to pick a new selection.
Desired behavior
Given there is a Combobox
When shouldFilterItem is overridden and a user types in a value
Then the dropdown is properly filtered based on the matches and you can selected the item.
Then the user hits the open button and it shows all items to select from or u can refilter as necessary. If you click outside before making a change, the previo
https://user-images.githubusercontent.com/14092187/213928874-08da010e-22c0-48ec-ab22-c85ac06aa3d1.mov
us value is maintained.

Thanks for the helpful video! I understand your proposal and although I personally agree with it, it may require some research in the flagship Carbon repository. You can corroborate the spec by checking with https://carbondesignsystem.com/components/dropdown/usage/ and the flagship React library.
From what I gather:

Multiselect should filter items, and remain filtered when the dropdown reopens https://react.carbondesignsystem.com/?path=/story/components-multiselect--filterable
Combobox does not officially support filtering, but in carbon-components-svelte we have this functionality.

Maybe an audit needs to happen to get both component libraries aligned; I opened a ticket to get us started: https://github.com/carbon-design-system/carbon/issues/13026


Disable iterator_ops_test on Windows for 1.4 release

testRemoteIteratorUsingRemoteCallOpDirectSessionGPUCPU test is failing
with "TypeError: only integer scalar arrays can be converted to a scalar
index" on the Windows GPU Release bot. Disabling test.

Please also file a bug internally to track a fix for this.


Properly handles errors in requires functions during scheduling

We had a test that bugs in requires were properly caught and dealt with,
allowing scheduling to continue with other tasks. Unfortunately, this test
didn't really work properly because it assumed a depth-first scheduling but used
the breadth-first single-threaded scheduling. After adjusting the test to throw
an exception before the rest of the tasks were done scheduling, it failed.
In order to fix this, we wrap the call to deps in Worker._add to catch any
exceptions and log, e-mail, and not schedule the task or its dependencies. This
matches the behavior of errors in the complete function and prevents one bad
task from blocking an entire pipeline.

lgtm


Readme link is pointing to dev

Describe the bug
Readme link

or see the repository the documentation for each individual component

at root directory is pointing to dev. And hence our NPM package readme is also pointing to dev.
What is the expected behavior?
Should point to the master branch

Hello, how are you? I believe the #372 will solve this.


Allow an 'excluded' argument to skip certain file patterns from sync

Currently, .git and IDE folders (.vscode, .idea etc) are included in syncing. Some of these folders have led to the synced device getting into state where future syncs fail
I have added the ability to pass in an --excluded / -x parameter to be added so that these kind of files can be ignored.
e.g.
python cli.py -p com18 sync -l "G:\sync_dir" -i "G:\file_list_cache" -x ['.git*','.vscode*']
These files will be ignored when syncing.
Asterisk * wildcards at the beginning and end of the string are supported
目前，做同步时同步的文件包括 'git' 和 IDE （.vscode, .idea 等）文件家。这种文件夹会在目标设备上造成问题，然后后来的同步失败。
我贯彻了能收入--excluded/-x (排斥) 参数的功能。因此，可以排斥这种文件。
例如：
python cli.py -p com18 sync -l "G:\sync_dir" -i "G:\file_list_cache" -x ['.git*','.vscode*']
同步的时候不考虑这些文件。
可以在字符串前后面加星号(*)通配符。

这个想法不错~ 😄

你能看懂我的意思吗？我的中文不太好！

@SummerLife 你能看懂我的意思吗？我的中文不太好！

@SummerLife 你能看懂我的意思吗？我的中文不太好！

Both English and Chinese works for me, I think the changes you commit is great and I'll check it soon,  thank you :)

@chrissyast Hi, I notice the binary size was reduced by 80 percent. Is it possible that some code libraries are not included in the final binary file? How do you think about it?

@SummerLife Yes, I thought this was a little strange. I produced this binary by running
pyinstaller.exe -F .\cli.py -p ampy
from the repository root.
Like in this guide

@SummerLife Yes, I thought this was a little strange. I produced this binary by running
pyinstaller.exe -F .\cli.py -p ampy
from the repository root.
Like in this guide

Have you tested the function of the cli on windows platform and didn't encounter some problems like missing some library?

@SummerLife I have not seen any errors related to this, but I need to do some further testing because maybe I haven't explored all of the possible scenarios

@SummerLife I have not seen any errors related to this, but I need to do some further testing because maybe I haven't explored all of the possible scenarios

Great :)


Introduce Catch/Rollback exception strategies for improved logging and fault handling

Original issue 359 created by soi-toolkit on 2013-11-09T09:17:16.000Z:
The current ServiceExceptionStrategy-implementation (generated at the bottom of flows):
<custom-exception-strategy class="org.soitoolkit.commons.mule.error.ServiceExceptionStrategy"/>
lacks features:

Control over retry-handling: for which kind of exceptions should processing be retried/aborted?
Note: retry-handling currently falls back on individual transports, typically using JMS-inbound with retry-parameters.

Access to MuleMessage when exceptions occur: needed for logging error-context like message-headers, specifically correlationId for a flow.
Note: in current ServiceExceptionStrategy the MuleMessage is not available in all cases, like when a TransformerException occurs.

Resolved in 2.0.0-milestones for v2 generators.
Won't fix for v1 generators.


Shortcut does not work

I installed the plugin and I am using the default config:
    systray: {
        hotkey: "Ctrl+Space"
    },

The icon is there but the shortcut does not work. Using the overlay plugin, it does work. Any idea what the issue might be? (Running hyper 2.0.0)

Getting the exact same problem. @telekommander has this project's development been halted?


ISPN-7944 Encoders should not handle null references

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

There are failures in the compute commands, looking...

Fixed test failures in on compute commands.

CI looks OK

Looking ...

Integrated in master. Thanks @gustavonalle !


command module does not exist: task.logissue

Writing log using the following statement, it shows warning message on cross plat agent
System.out.printf("##vso[task.logissue type=error;code=PREREQ_QueryObjectsFailed;TaskId=%s;]\n",
Constants.TASK_ID);

It's task.issue.  New vsts-agent is consistent with win agent


Fix for issues with the alternative endpoint override

The alternative endpoint is set optionally in the update method if an
endpoint is provided in the options. If the next call doesn't provide an
alternative endpoint, it should use the instance's configured endpoint.
Also: a call to the query method may use the make_post_request method.
We should make sure to not keep any previous alternative endpoint.
Note: this commit not only fix the current issues with the alternative
endpoints, it also implements a new functionality: the possibility to
override the configured endpoint when calling the query method.

(I don't know if the failure of the CI on jruby is my fault? https://travis-ci.org/ruby-rdf/sparql-client/jobs/155090646 )

Coverage increased (+0.3%) to 94.61% when pulling 82530b90895a1c17fea4d85f08c23cc08e3324d7 on cecton:fix-alt-endpoint into 9f173a59ad4363d676d1aa64e1e3328ca969597c on ruby-rdf:develop.

The failure is JRuby's It should be added to the allow_failures in the .travis.yml file.

Ok :) should I make a change in the travis.yml?

@cecton Thanks for this. Looks good to me.
I really don't like our odd internal state changes to @alt_endpoint and might look at refactoring that out. Due to that awkward complexity, I want to test against some of the dependent gems to make sure this doesn't have odd side effects for them.
I think the travis configuration is already correct, and CI seems to have passed, despite the failed JRuby builds.


Dragging slider when light is off turns lights on to max brightness

Describe the bug
When lights are off, dragging the slider to a certain percentage turns the light to 100% brightness instead of the desired percentage.
To Reproduce
Steps to reproduce the behavior:

Turn light entity off.
Drag the slider to non 100 position.

Expected behavior
It should turn on the light and set brightness to the specific position.
YAML
If applicable, add any relevant YAML code.
Your code here

Informations (please complete the following information):

OS: IOS
Browser/App: Chrome
Bubble Card version: 2.3.0-beta.8
Home Assistant version: 2024.11.3

Thank you! 🍻

Apologies, this seem to be a setting issue when used together with adaptive lighting!


Convert to csharp

Godot 4 uses the .NET 6 SDK, which alongside C# has has been high on my "to do" list, so now seems like the perfect time to switch.

Dude, this is amazing! You might just be the best developer ever!


Unable to subscribe post app launch

Im using this package to mange android native implementation of a React Native App.
I have everything setup successfully, and those interests that I subscribe to onCreate are working fine.
I have however setup a RN native module to allow subscriptions to be managed via JS.
Through debugging these modules are working fine, however subscriptions are not following through.
I have created a pusher wrapper to handle both onCreate and native modules, so I cant so the issue being setup related.
Console is printing
D/PusherPushNotifReg: Trying to SUBSCRIBE to: interest
but then thats it, I am not getting a success or fail callback
Has anyone experienced this before?
Edit: I have also found that at pendingSubscriptions.add(subscription); in PushNotificationRegistration.java the interest is being added, however the interest are not being processed and unloaded, so the queue keeps growing.

Disregard, found that creating a new instance of PushNotificationRegistration meant subscriptionManger wasnt initialised yet.


Confusing examples

The sample machine names that are used in this article are confusing.  Please update them to something that can be more comprehensible to avoid confusion for the reader.  Here is a sample:
Active Directory Domain (Netbios): contoso
Gateway machine name: MYGATEWAY
Gateway service account: contoso\GatewaySvc (account display name: Gateway Connector)
SQL Server data source machine name: MYSQLServer
SQL Server data source service account: contoso\SQLService

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

ID: 41b25ab3-f22b-e70b-e262-6266dd132692
Version Independent ID: e5cbbdd4-0c02-6c05-91f4-016b767eb233
Content: Use Kerberos on the on-premises gateway for SSO (single sign-on) from Power BI to on-premises data sources - Power BI
Content Source: powerbi-docs/service-gateway-kerberos-for-sso-pbi-to-on-premises-data.md
Service: powerbi
GitHub Login: @mgblythe
Microsoft Alias: mblythe

Hi, @RSteeno -- again, the author is away and will get back to you when he returns. Thanks for your attention!

Thanks @RSteeno -- I will address week of 8/20.

@arthiriyer - we'll look at this now we're doing a gateway docs update.

@mgblythe this issue should be closable now -- I address it in the revisions that were recently merged in.

Thanks @AdamBJ. This content is now updated and in https://docs.microsoft.com/en-us/power-bi/service-gateway-sso-kerberos.


Create Fuse blog

Please review

This looks really good. I appreciate the effort this has taken!

Thanks for this!


minor edits

Codecov Report

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

@@            Coverage Diff            @@
##             master    #6233   +/-   ##
=========================================
  Coverage          ?   83.22%
  Complexity        ?    12508
=========================================
  Files             ?     1450
  Lines             ?    47388
  Branches          ?     5812
=========================================
  Hits              ?    39439
  Misses            ?     5253
  Partials          ?     2696

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 d6767a3...9bfbfbe. Read the comment docs.


[incubator/spring-cloud-data-flow] Update to new SCDF version 1.6.1

What this PR does / why we need it:

update app version to 1.6.1
update chart version to 0.2.5
update skipper to 1.0.9

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

/ok-to-test

/lgtm

/lgtm


[Library Genesis] ... I can't download any book in raycast

Extension
https://www.raycast.com/yz3440/library-genesis
Description
I can't download any book. When I try it, I get error.
Steps To Reproduce
I try to download any book but I keep receiving this message:
At: request to https://download.library.lol/main/3205000/3c229dbbc4b034896b91cd7e75537e22/Christopher Leonard - The Lords of Easy Money_ How the Federal Reserve Broke the American Economy (2022).epub failed, reason: certificate has expired
I don't know how to solve it.
Current Behaviour
No response
Expected Behaviour
No response

I think it has nothing to do with the extension, but with the library.lol website. If the certificate is expired, it will give an error in the browser as well.
We might be able to fix it by ignoring certificate errors. I'll make a possible bugfix

Please, I love this extension but I can't use it, if you fix it just let me know ok? Thank you so much @j3lte

@gu-eth I have created an option to ignore errors, BUT... There is also another way to fix this:

Open your extension preferences and select a different Gateway. If you choose Cloudflare for example, downloads work as well.

I will also add this instruction in the error handling.

Problem solved with last update

@raycastbot close this issue


Enforce usage of bokeh 2.x

Temporary fix for #64

@benmwebb this PR doesn't change the python code, only dependencies.txt, so failure on flake8 shouldn't be a barrier for merge.


fixes validation of join conditions

it was possible to use a symbol of a not yet defined relation
as a join condition, like e.g.
from t1 join t2 on t1.id = t3.id join t3 on...

@dobe pls review

lgtm


How to connect to wiremock server instance to add mappings?

Hi,
let's say I don't want to add mappings on start of the docker container by using "-v $(pwd)/example/wiremock:/wiremock" but i would rather add mappings dynamically from code.
I have a wiremock server running on localhost:8888, if I hit http://localhost:8888/__admin/mappings from my browser I can see there are no mappings
{   "mappings" : [ ],   "meta" : {     "total" : 0   } }
I would like to add some mappings now so I am using the following code (first I am trying to fetch existing mappings expecting an empty list)
[Test]
        public async Task Test1()
        {
            // Create an implementation of the IWireMockAdminApi and pass in the base URL for the API.
            var api = RestClient.For<IWireMockAdminApi>("http://localhost:8888");

            var mappings = await api.GetMappingsAsync();
            Console.WriteLine($"mappings = {JsonConvert.SerializeObject(mappings)}");
        }

The above code fails on
Newtonsoft.Json.JsonSerializationException : Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IList`1[WireMock.Admin.Mappings.MappingModel]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'mappings', line 2, position 14.

   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at RestEase.JsonResponseDeserializer.Deserialize[T](String content, HttpResponseMessage response, ResponseDeserializerInfo info)
   at RestEase.Implementation.Requester.Deserialize[T](String content, HttpResponseMessage response, IRequestInfo requestInfo)
   at RestEase.Implementation.Requester.RequestAsync[T](IRequestInfo requestInfo)
   at WireMockTest.Tests.Setup() in /Users/martinco/Work/WireMockTest/WireMockTest/WireMockTest/UnitTest1.cs:line 26
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaitable)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunSetUpOrTearDownMethod(TestExecutionContext context, MethodInfo method)
   at NUnit.Framework.Internal.Commands.SetUpTearDownItem.RunSetUp(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.SetUpTearDownCommand.<>c__DisplayClass0_0.<.ctor>b__0(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

csproj details
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>

    <IsPackable>false</IsPackable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="NUnit" Version="3.12.0" />
    <PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
    <PackageReference Include="WireMock.Net.RestClient" Version="1.4.5" />
    <PackageReference Include="WireMock.Net.Abstractions" Version="1.4.5" />
  </ItemGroup>

</Project>

I tried other methods such as GetSettingsAsync() with the same result.
What I am missing here please? The documentation says, it uses wrapper around Wiremock server so I assume WireMock.Net.RestClient should work?
Thanks for clarification in advance.

I found the answer https://github.com/WireMock-Net/WireMock.Net/issues/588 meaning I won't be able to use this from .Net project

I found the answer WireMock-Net/WireMock.Net#588 meaning I won't be able to use this from .Net project

Hi @mcopjan ! Thanks for the question. If I got it right you can't use WireMock.Net client library but you still can interact with the Wiremock API directly through the regular HTTP client.

@Adven27 that's right, I could not use the mentioned library because for some reason it uses a custom WireMock model which is not in line with the one from Wiremock.org (the one being used by this project as well). I used NSwag and WireMock openAPI spec from http://wiremock.org/assets/js/wiremock-admin-api.json and generated c# client hence I can communicate with your solution and get/set stubs which is what I needed.


Crash on Thread Join on Ubuntu 16.04 and 18.04

Alright, so this is a bit of a heisenbug. I put the test code in this repo so that you can test it (should compile on all desktop platforms fine).
On Ubuntu 16.04 and 18.04 on both gcc-5 and clang-6.0 there is a crash somewhere within jump_fcontext. The asm says the segfault is on the first line. pthread_join is always on the callstack on the main thread. This manifests as a segmentation fault if you are running it under gdb, but just causes the program to spin indefinitely if run outside of the debugger.
There's unfortunately not much more information I can provide. You can run the preprocessor on it to remove all the preprocessor magic, and if it helpful I can provide a cpp file with the preprocessesing of the crazy macros already done. However, I highly doubt it's a macro problem, as it is just doing what you would normally do without macros.
If you need any more information, let me know. Thanks for this lovely library

Thanks for the repory amd the example code. I'll take a look later tonight

Wonderful thank you! Forgot one of the most important things, the crash only happens on release mode on both gcc/clang. Both MSVC debug and release pass cleanly. ~I have attached a debug symbol'd build with core dump. put it inside of a build folder and sources should match.~ I now can't get the damn thing to crash. I did run it with the thread sanitizer however, and I have attached the output there.
errors.txt

So you might need to ignore those thread sanitizer warnings, they appear to be false positives due to TSan's handling of atomics. Reference.
I did get it to rash with clang-6.0 on my laptop. I have attached the files below. :)
core-dump.zip

Alright, I manged to get some more information through valgrind. Here are the logs for both gcc and clang.
CMake Call (clang):
cmake ../fiber_tasking/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-g" -GNinja -DFTL_VALGRIND=On -DCMAKE_ASM_FLAGS="-g" -DCMAKE_CXX_COMPILER=clang++-6.0 -DCMAKE_C_COMPILER=clang-6.0

CMake Call (gcc):
cmake ../fiber_tasking/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-g" -GNinja -DFTL_VALGRIND=On -DCMAKE_ASM_FLAGS="-g" -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7

Valgrind call (both)
valgrind --track-origins=yes ./fiber_tasking 2> valgrind-clang.txt

valgrind-gcc.txt
valgrind-clang.txt

Adding -fno-omit-frame-pointer seems to help valgrind give a better output. Updated valgrind results below.
valgrind-gcc.txt
valgrind-clang.txt

It looks like a similar issue is still cropping up: https://travis-ci.org/RichieSams/FiberTaskingLib/jobs/432645417
I'm not sure if it's related.

Alright, it might be. I'll check in when I get home. Though the fact that the later builds passed is a bit weird and might indicate it's an unrelated crash.

It might be a threading / race bug, that only occurs intermittently on runs.

TravisCI containers have 2 cores.
It's struck again, this time on g++5 over g++7 https://travis-ci.org/RichieSams/FiberTaskingLib/jobs/432724121

Optimistically fixed with 89cfa5153fbb5ae28b0f51f39d1fb8ef1fc5e35c


TypeError: The annotations loaded from annotation file should be a dict, but got <class 'list'>! The intention of why not directly making "dict .pkl"?

What is the feature?
Currently I'm implementing my own dataset in mmdetection3d for point cloud segmentation task. I got this error when testing pointnet2.
TypeError: The annotations loaded from annotation file should be a dict, but got <class 'list'>! when testing pointnet2.
I checked all the issues and found that the current .pkl file should be a "dict" not a "list" as before, but I'm so confused how this could happen cause I just forked the newest mmdet3d and implemented my dataset from scratch. So I went through all the files that related to data preparation, and found something that's difficult to understand:
Take s3dis dataset for eg:
In create_data.py, why in s3dis_data_prep function, a update_pkl_infos is compulsorily used to convert "list .pkl" to "dict .pkl" instead of directly making "dict .pkl" files in indoor.create_indoor_info_file ?  Could you pls help me explain the intention here?
Really appreciate mmdet3d's dedicated work so far, and many thx!!!
Any other context?
No response

how to change that to dict?

how to change that to dict?

I believe you can use the update_infos_to_v2.py to change it. As below:
python tools/dataset_converters/update_infos_to_v2.py --dataset ${DATA_SET} --pkl-path ${PKL_PATH} --out-dir ${OUT_DIR}
Example usage: python update_infos_to_v2.py --dataset kitti --pkl-path \data\kitti\kitti_infos_train.pkl --out-dir \data\kitti_updated


Incompatible versions of Swift

i get this error on building! using xcode 10.2 (swift 5), i've imported PaperOnboarding framework (compiled by carthage):
The following binaries use incompatible versions of Swift:
/Users/myuser/myproject/PaperOnboarding.framework/PaperOnboarding
/Users/myuser/Library/user/Xcode/DerivedData/MyProject-dycjmjvsalcurmajlltsedlqwdne/Build/Products/Debug-iphonesimulator/MyProject.app/Frameworks/PaperOnboarding.framework/PaperOnboarding

the issue resolved after remove all PaperOnbaording references from my project and add them again.


[ISSUE-98] fix async state writer bug

Description
当前 AsyncKvStoreWriter 默认启动 2 个异步线程 flush metric，但是由于在计算 sleep gap 时有 bug，会导致计算出负值，形成 while true 循环，导致 2 个线程占用过多的 CPU。
The current AsyncKvStoreWriter starts two asynchronous threads by default to flush metric. However, due to a bug in calculating the sleep gap, negative values may be computed, which leads to an infinite while-true loop and causes the two threads to consume too much CPU.
Solution
‒ flush 之后强制 sleep，不再占用 CPU 资源
‒ 将 flush 线程数改为 1 个
‒ 将 flush interval 改为 1s

Force sleep after flush to release CPU resources.
Change the number of flush threads to 1.
Change the flush interval to 1 second.

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


Returning[Object][Object]

Hello,
I am getting [object][object] when i select loaction:'Kathmandu, NP'. Also, I have tried woeid:'12742081'. But returning same issue.
Why is this happening??

Same Problem here.
It just stopped working one Day.

You might have to change the woeid or location settings

Yahoo's API was down for some time but seems to be working again now.


compiled files missing in release

Maybe you want use:
https://github.com/FriendsOfShopware/platform-plugin-dev-docker
Or commit compiled files :thinking:

Ah that's what I was looking for. I knew I had seen a docker image to build plugins in CI somewhere, but was unable to find it when I was setting up the Github Actions.
Thanks! I'll be looking into this!

It looks like my test release went through perfectly 🥳
I'll be looking at the PR later and will then create a new release with the correct builds.

Woops, referenced the wrong issue in my commit. But the action is running, and this should be fixed now :D


[web] Web app - request to save generated file on user's computer.

Is there a way to prompt a standard "Save as" browser dialog from the Flutter Web app? The files I want to export are generated in runtime (CSV, XLSX, etc) and are not uploaded to cloud storage (don't have download URL). It would be also nice to have this feature working while offline.
If the question is dumb, please advise a proper way of doing such a thing 🙏

For anyone interested - here are a couple of answers https://stackoverflow.com/questions/59663377/how-to-save-and-download-text-file-in-flutter-web-application


Error on Pollard_p_1 attack

[*] Performing Pollard_p_1 attack.
Traceback (most recent call last):
File "/home/kali/pentest/tools/RsaCtfTool/RsaCtfTool.py", line 488, in
attackobj.attack()
File "/home/kali/pentest/tools/RsaCtfTool/RsaCtfTool.py", line 391, in attack
getattr(self, attack.name)()
File "/home/kali/pentest/tools/RsaCtfTool/RsaCtfTool.py", line 369, in Pollard_p_1
self.pub_key.p, self.pub_key.q = pollard_P_1(self.pub_key.n)
TypeError: 'int' object is not iterable

i have other problem.
./RsaCtfTool.py --publickey ./key.pub --uncipher ./flag.enc
[*] Warning: Modulus too large for SIQS attack module
[-] Sorry, cracking failed

Interestingly this problem does not arise in previous versions like this fork -> https://github.com/sourcekris/RsaCtfTool


[UI/Eslint] Enabled important eslint checks + removed all the errors

Description
[UI/Eslint] Enabled important eslint checks + removed all the errors
This PR fixes #5953
Notes for Reviewers
I took the reference from this offical doc to remove the corresponding errors while applying eslint checks
https://developer.mozilla.org/en-US/docs/Web/API/Request/credentials
Signed commits

[x] Yes, I signed my commits.

There are one or two errors that needs to be resolved: https://github.com/meshery/meshery/runs/8106013611?check_suite_focus=true

@Abhishek-kumar09 is this what you're looking for?

need to fix eslint errors here: https://github.com/meshery/meshery/runs/8267015723?check_suite_focus=true

@Abhishek-kumar09 I will resolve 2 of them but other 2 occur as you had asked me to revert the changes done on duplicate keys . So what should I do with them .
Reference ->  ui/.eslintrc.js file

Okay okay, you must have told me that those were duplicates keys you had removed from eslintrc, yeah, sorry, please remove them from the eslintrc also.

@Devansu-Yadav you might have a look here and offer any comments.

Wohoo :balloon:  all the eslint errors have passed :) @Abhishek-kumar09

@Devansu-Yadav you might have a look here and offer any comments.
Changes look fine to me and it seems like @legendarykamal was able to make all the ESlint checks run successfully after all 😄


Minor issue with definition of ‘Geospatial Ellipse’

The definition begins with ‘A Geospatial Boundary that is’. However, since geospatial ellipse is a child class of geospatial line string and only an indirect subclass of geospatial boundary, it should instead start with ‘A Geospatial Line String that is’.

Hadn't seen this issue before, but it looks wrong to be subclass of geospatial line string.  Caught my attention because of commit 175009cf60713b4e4c4c758f04671a2e70bf1508.  An ellipse has no straight lines.
Also, the grandparent label is too broad. It should be something like one dimensional geospatial boundary, since the label geospatial boundary could equall be applied to a surface, such as that delimiting air rights.

I adjusted the label of the grand parent, reclassed ellipse, and adjusted other definitions that were not in proper genus-species format in this same part of the hierarchy.


Handle images in multiple folder for files reader and handle uppercase extension

Fixed file loss when there are images with the same name in different folders
Added uppercase extension suffix to identify certain images named with uppercase letters

https://github.com/rom1504/clip-retrieval/issues/321

Thanks


[Issue]: Support link broken in Documentation

Problem Description
At: https://rocm.docs.amd.com/projects/install-on-windows/en/latest/how-to/install.html
the "Support" menu at the top of the page leads to a 404 on GitHub
Operating System
irrelevant
CPU
irrelevant
GPU
AMD Instinct MI300X
ROCm Version
ROCm 6.0.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

Thanks for highlighting this.  Will pass this on.

The support link seems to work and no longer getting 404.  Closing issue.  Please re-open, if necessary.


Script to generate simulated data for valid submission

#56 Created an R script that defines a function to make simulated data with default settings for quick use. There's also a sample parquet file ready for use. There's an example validation run at the end of the script.

@trobacker Added a short note inline, but the longer version is that the R environment in this repo is managed by renv, which means that part of the workflow when introducing new package requirements is to capture them via the renv::status() command.
renv::status() will update the renv.lock file to reflect the new packages (and updates to existing packages). I did that exercise and pushed a commit with the updated renv.lock.
This group (including myself) usually doesn't use renv as part of our R workflow, but it's important for ensuring that the hub's scheduled jobs are reproducible.
Pushing the updated renv.lock fixed things on my machine, but to test it yourself:

Pull the branch's updates and open the RStudio project in repo's src/ directory
From the R console, run renv::status()

Hopefully, you'll get a message that the project is in a consistent state and will be able to run your code (once the file paths are fixed up to assume that src is the working directory.

I accepted some of the suggested commits above.

@trobacker Added a short note inline, but the longer version is that the R environment in this repo is managed by renv, which means that part of the workflow when introducing new package requirements is to capture them via the renv::status() command.
renv::status() will update the renv.lock file to reflect the new packages (and updates to existing packages). I did that exercise and pushed a commit with the updated renv.lock.
This group (including myself) usually doesn't use renv as part of our R workflow, but it's important for ensuring that the hub's scheduled jobs are reproducible.
Pushing the updated renv.lock fixed things on my machine, but to test it yourself:

Pull the branch's updates and open the RStudio project in repo's src/ directory
From the R console, run renv::status()

Hopefully, you'll get a message that the project is in a consistent state and will be able to run your code (once the file paths are fixed up to assume that src is the working directory.

Thanks for this explanation, Becky!


promise.any()

I've been using promise in my every project, including this one: pg-promise, until I ran into the necessity of using promise.any() logic in my test cases, so I had to use Bluebird for testing, while keeping Promise for the production, which is awkward.
And now that I find I need promise.any in more than one case, it is becoming unfortunate that I have to move to Bluebird completely.
Please, add promise.any, it is a very important promise function!

It's not a very commonly used promise function, and it's non-standard, so I'm not sure I want to add it to the core library.
It would not be too difficult to implement as a separate library, something like:
function promiseAny(promises) {
  if (!Array.isArray(promises)) return Promise.reject(new TypeError('promises must be an array'));
  if (promises.length === 0) return Promise.reject(new TypeError('Cannot call any on array of length 1'));
  return new Promise(function (resolve, reject) {
    var fulfilled = false, rejections = [];
    function onFulfill(result) {
      fulfilled = true;
      resolve(result);
    }
    function onReject(err) {
      if (fulfilled) return;
      rejections.push(err);
      if (rejections.length === promises.length) {
        // TODO: implement AggregateError
        reject(new AggregateError(rejections));
      }
    }
    promises.forEach(function (promise) {
      promise.then(onFulfill, onReject);
    });
  });
}

I think given how bluebird is currently about the only library to implement this and I've never had need of it myself, I'm not inclined to add it to the promise library.

@ForbesLindesay Perhaps you are not doing any development that requires logical search patterns, because the pattern where one successful attempt in a set indicates overall success is in fact a very common one.

@ForbesLindesay How does this differ from Promise#race, which does appear to be part of ES6?

Consider:
var rejected = Promise.reject(new Error('Whatever'));
var fulfilled = new Promise(function (resolve) {
  setTimeout(() => resolve('success'), 500);
});

var any = Promise.any([rejected, fulfilled]);
// => fulfilled with 'success' after 500ms

var race = Promise.race([rejected, fulfilled]);
// => immediately rejected with `new Error('Whatever')`


render() function doesn't appear to ever be called before done is true

Hello!
We've recently updated this library and yesterday we noticed that our beautiful, beautiful spinners were gone!
A quick debug session revealed that the render() function of each route was being called only once, and that was when done was true. This means that we never render our spinner :(
Is there anything that we missed in the transition from render{Loading,Fetched,Failed} to just render, or is it a bug?
Cheers!! :heart:

Did you follow the docs: https://github.com/relay-tools/react-router-relay/tree/v0.13.3#render-callback ?

Are you spinners not working after route transition? You don't expect them to spin on the initial render, right? The initial render happens only after all the data is loaded.

Sorry for taking a while, these have been such stressful weeks!
I do not indeed expect them to display in the initial render. That one already has all the data and a full static-html response on the page, so it would be worrysome if they did display :)
We've been investigating some more, and I've started suspecting that it's not okay for history to be version 3. I went and updated that because I wanted history.get but it may be causing this issue. Still on the case, but that looks really fishy.


Multiple breezers with single esp32 board only

👋 Hi there,
is it possible to control multiple breezers only with single board? It seems not supported by configuration yaml?
I've had a 4 x Tion Lite with externals CO2/Temp sensors. I would like to control they from one esp32.
Thanks!

Yes, it is possible but maximum is 3. This is limitation of ESP framework.
This is sample configuration:
ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    ...
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion2_ble_client
    ...

climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion 1"
    ...
  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion 2"
    ...

Hi there, I'm trying to add config with 3 tion lite and got this issue:
% tion-lite.yaml
ble_client:
  - mac_address: DD:7C:AA:8D:99:17
    id: tion1_ble_client
  - mac_address: CO:F4:AO:DD:60:44
    id: tion2_ble_client
  - mac_address: FC:DA:40:F6:4B:CA
    id: tion4_ble_client

% esphome run tion-lite.yaml
INFO Reading configuration tion-lite.yaml...
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

sensor.ble_rssi: [source .esphome/packages/6525b20a/packages/rssi_signal.yaml:2]
  platform: ble_rssi

  MAC Address must consist of 6 : (colon) separated parts.
  mac_address: $tion_mac_address
  name: tion-controller RSSI
  filters:
    throttle_average: 60s
  entity_category: diagnostic
ble_client: [source tion-lite.yaml:47]
  - mac_address: DD:7C:AA:8D:99:17
    id: tion1_ble_client
  -
    MAC Address parts must be hexadecimal values from 00 to FF.
    mac_address: CO:F4:AO:DD:60:44
    id: tion2_ble_client
  - mac_address: FC:DA:40:F6:4B:CA
    id: tion4_ble_client

If I switch only to 1 breezer, but changed config to custom id in ble_client:
ble_client:
  - mac_address: $tion_mac_address
    id: tion1_ble_client

vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client

I've got an error:
% esphome run tion-lite.yaml
INFO Reading configuration tion-lite.yaml...
Failed config

ota: [source .esphome/packages/6525b20a/packages/common.yaml:32]
  on_begin:
    - then:
        -
          Couldn't find ID 'tion_ble_client'. Please check you have defined an ID with that name in your configuration. These IDs look similar: "tion1_ble_client", "tion1_ble_vport".
          lambda: !lambda |-
            id(tion_ble_client).set_enabled(false);
  safe_mode: True
  port: 3232
  reboot_timeout: 5min
  num_attempts: 10

Please provide your config, I will edit it for you.

$ cat tion-lite-all.yaml
substitutions:
  # tion mac address.
  tion1_mac_address: DD:7C:AA:8D:99:17
  tion2_mac_address: CO:F4:AO:DD:60:44

  # name of the node.
  node_name: esp-tion-lite
  # name for main climate entity and prefix for all others.
  name: $node_name
  # add suffix for node name to have one firmware for many devices.
  node_add_mac_suffix: "false"
  # setup your board or leave it asis.
  board: esp32dev
  # wifi settings.
  wifi_ssid: "MyWiFI"
  wifi_password: "MyPassPass"

packages:
  ## Enable additional RSSI signal sensor. Comment next line to disable.
  rssi_signal: github://dentra/esphome-tion/packages/rssi_signal.yaml
  ## Enable additional WiFi signal sensor. Comment next line to disable.
  wifi_signal: github://dentra/esphome-tion/packages/wifi_signal.yaml
  ## Enable additional Uptime sensor. Comment next line to disable.
  uptime: github://dentra/esphome-tion/packages/uptime.yaml
  ## Uncomment next line to enable additional restart button.
  # restart: github://dentra/esphome-tion/packages/restart.yaml
  ## Uncomment next line to enable persistent connection runtime control switch.
  # persistent: github://dentra/esphome-tion/packages/persistent.yaml
  ## Uncomment next line to enable additional connect switch useful for debugging.
  # connect: github://dentra/esphome-tion/packages/connect.yaml
  ## Uncomment next line to enable additional debug information.
  # debug: github://dentra/esphome-tion/packages/debug.yaml
  ## Uncomment next line to if you wish to compile via ESP IDF.
  # idf: github://dentra/esphome-tion/packages/idf.yaml
  # Common configuration parameters. Do not comment or remove!
  common: github://dentra/esphome-tion/packages/common.yaml

# WiFi hotspot configuration.
# Comment next 3 lines to enable manual WiFi conviguration via access point.
wifi:
  ssid: $wifi_ssid
  password: $wifi_password

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

# Virtual port configuration
vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

  - platform: tion_ble
    id: tion2_ble_vport
    ble_client_id: tion2_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

# Main climate component configuration.
climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion Lite 1"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion Lite 2"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

$ esphome run tion-lite-all.yaml
INFO Reading configuration tion-lite-all.yaml...
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see sensor->2->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

sensor.ble_rssi: [source .esphome/packages/6525b20a/packages/rssi_signal.yaml:2]
  platform: ble_rssi

  MAC Address must consist of 6 : (colon) separated parts.
  mac_address: $tion_mac_address
  name: esp-tion-lite RSSI
  filters:
    throttle_average: 60s
  entity_category: diagnostic
ble_client: [source tion-lite-all.yaml:45]
  - mac_address: DD:7C:AA:8D:99:17
    id: tion1_ble_client
  -
    MAC Address parts must be hexadecimal values from 00 to FF.
    mac_address: CO:F4:AO:DD:60:44
    id: tion2_ble_client

Sorry for a long delay for answer:
substitutions:
  # tion mac address.
  tion1_mac_address: DD:7C:AA:8D:99:17
  tion2_mac_address: C0:F4:A0:DD:60:44

  # name of the node.
  node_name: esp-tion-lite
  # name for main climate entity and prefix for all others.
  name: $node_name
  # add suffix for node name to have one firmware for many devices.
  node_add_mac_suffix: "false"
  # setup your board or leave it asis.
  board: esp32dev
  # wifi settings.
  wifi_ssid: "MyWiFI"
  wifi_password: "MyPassPass"

  # framework settings: esp-idf or arduino
  framework_type: arduino

  tion_version: 2022.10.1

esphome:
  name: $node_name
  name_add_mac_suffix: $node_add_mac_suffix
  project:
    name: "dentra.tion"
    version: "$tion_version ($framework_type)"
  min_version: 2022.12.8

esp32:
  board: $board
  framework:
    type: $framework_type

preferences:
  flash_write_interval: 10min

# WiFi hotspot configuration.
wifi:
  ssid: $wifi_ssid
  password: $wifi_password
  ap:
    ssid: "$name Fallback Hotspot"

api:
ota:
logger:

esp32_ble_tracker:

external_components:
  - source<EMAIL_ADDRESS>    components: [crash_info, etl, otax, vport, esp32_usb_dis]
  - source: github://dentra/esphome-tion@$tion_version

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

# Virtual port configuration
vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

  - platform: tion_ble
    id: tion2_ble_vport
    ble_client_id: tion2_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

# Main climate component configuration.
climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion Lite 1"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion Lite 2"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

substitutions:
  # tion mac address.
  tion1_mac_address: E1:3B:67:5D:D6:45
  tion2_mac_address: F6:ED:29:9D:03:68

  # name of the node.
  node_name: esp-tion-lite-atom
  # name for main climate entity and prefix for all others.
  name: $node_name
  # add suffix for node name to have one firmware for many devices.
  node_add_mac_suffix: "false"
  # setup your board or leave it asis.
  board: m5stack-atom
  # wifi settings.
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password

  # framework settings: esp-idf or arduino
  framework_type: esp-idf

  tion_version: 2022.10.1

esphome:
  name: $node_name
  name_add_mac_suffix: $node_add_mac_suffix
  project:
    name: "dentra.tion"
    version: "$tion_version ($framework_type)"
  min_version: 2022.12.8

esp32:
  board: $board
  framework:
    type: $framework_type

preferences:
  flash_write_interval: 10min

# WiFi hotspot configuration.
wifi:
  ssid: $wifi_ssid
  password: $wifi_password
  manual_ip:
    static_ip: <IP_ADDRESS>
    gateway: <IP_ADDRESS>
    subnet: <IP_ADDRESS>
    dns1: <IP_ADDRESS>
    dns2: <IP_ADDRESS>

ota:
logger:

esp32_ble_tracker:

external_components:
  - source<EMAIL_ADDRESS>    components: [crash_info, etl, otax, vport, esp32_usb_dis]
  - source: github://dentra/esphome-tion@$tion_version

ble_client:
  - mac_address: $tion1_mac_address
    id: tion1_ble_client
  - mac_address: $tion2_mac_address
    id: tion2_ble_client

# Virtual port configuration
vport:
  - platform: tion_ble
    id: tion1_ble_vport
    ble_client_id: tion1_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

  - platform: tion_ble
    id: tion2_ble_vport
    ble_client_id: tion2_ble_client
    # Optional, How often query device state. Default: 60s.
    update_interval: 60s
    # Optional, Do not disconnect after receiving state. Default: false.
    persistent_connection: false
    # Optional, Timeout to reconnect if no state answer received. Default: 15s.
    state_timeout: 15s
    # Optional, Allow to disable other BLE device scanning when breezer is already connected. Default: false.
    disable_scan: false

# Main climate component configuration.
climate:
  - platform: tion_lt
    vport_id: tion1_ble_vport
    name: "Tion Lite Bedroom"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

  - platform: tion_lt
    vport_id: tion2_ble_vport
    name: "Tion Lite Childroom"
    # Optional, Buzzer control switch.
    buzzer:
      name: "$name Buzzer"
    # Optional, Led control switch.
    led:
      name: "$name Led"
    # Optional, Temperatire of air before heater, °C (celsius).
    outdoor_temperature:
      name: "$name Outdoor Temperature"
    # Optional, Heater power, W (watt).
    heater_power:
      name: "$name Heater power"
    # Optional, Total airflow counter, m³ (cubic meters).
    airflow_counter:
      name: "$name Airflow counter"
    # Optional, Filter time left counter, days.
    filter_time_left:
      name: "$name Filter Time Left"
    # Optional, Filter warning state.
    filter_warnout:
      name: "$name Filter Warnout"
    # Optional, Tion firmware version.
    version:
      name: "$name Version"
    # Optional, Enable presets. Default: <empty>
    # Awailable configurable presets: home, away, boost, comfort, eco, sleep, activity.
    # Defaults:
    #   home    : { fan_speed: 2, target_temperature: 20, mode: heat }
    #   away    : { fan_speed: 1, target_temperature: 10, mode: fan_only }
    #   boost   : { fan_speed: 6, target_temperature: 10, mode: fan_only }
    #   comfort : { fan_speed: 2, target_temperature: 23, mode: heat }
    #   eco     : { fan_speed: 1, target_temperature: 16, mode: heat }
    #   sleep   : { fan_speed: 1, target_temperature: 18, mode: heat }
    #   activity: { fan_speed: 3, target_temperature: 18, mode: heat }
    # Boost is a special preset that runs for a period defined by boost_time and then switches back to the previous preset.
    presets:
      # enable and override "home" preset
      home: { fan_speed: 2, target_temperature: 16, mode: heat }
      # enable "away" preset
      away:
      # enable "boost" preset
      boost:
      # enable and override "sleep" preset
      sleep: { fan_speed: 1, target_temperature: 18, mode: heat }
    # Optional, configure boost time
    boost_time:
      name: $name Boost Time
    # Optional, display remaining boost time
    boost_time_left:
      name: $name Boost Time Left

@facetheheat, have you successfully used provided config ?
Hi Nikolay, I ended up choosing separate devices for each breezer. For me it would be more convenient to have 1 esp for 1 breezer.

I'am trying to add 3 breezers but I cannot validate .yaml
Here is my yaml:
3_breezers.txt
During valiation, I'm getting this error:
INFO ESPHome 2024.9.2
INFO Reading configuration /config/tionlite.yaml...
WARNING Found '$tion_mac_address' (see sensor->1->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see sensor->1->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

sensor.ble_rssi: [source /config/.esphome/packages/87dfe8f6/packages/rssi_signal.yaml:2]
  platform: ble_rssi
  id: tion_ble_rssi

  MAC Address must consist of 6 : (colon) separated parts.
  mac_address: $tion_mac_address
  name: RSSI
  filters:
    throttle_average: 60s
  entity_category: diagnostic

If I comment packages/rssi_signal.yaml
I get this:
  INFO ESPHome 2024.9.2
INFO Reading configuration /config/tionlite.yaml...
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
WARNING Found '$tion_mac_address' (see ble_client->0->mac_address) which looks like a substitution, but 'tion_mac_address' was not declared
Failed config

ble_client: [source /config/.esphome/packages/87dfe8f6/packages/esp32_ble.yaml:20]
  -
    MAC Address must consist of 6 : (colon) separated parts.
    mac_address: $tion_mac_address
    id: tion_ble_client
  - mac_address: CD:XF:88:XE:74:X6
    id: tion1_ble_client
  - mac_address: F4:X7:D2:X3:91:XF
    id: tion2_ble_client
  - mac_address: F9:1X:87:XE:97:XA
    id: tion3_ble_client


Bad abstraction about Desnse region checker

This operation needs a proper refactor as is badly implemented. This checker returns a Option[Boolean] but it clearly needs to return a simple Booleanbut DenseRegionChecker apply method must return an Eitherwith a proper exception or the checker object properly loaded as without the data file this implementation does not make sense.

@peatroot , you may want to have a read to this quick blog post about those.

Also, you may also want to consider using Try here instead of either Either or Option. Happy to see which way you stick to.


Compiled CSS Organization

I've noticed that the way the compiled CSS works is from bottom to top. Meaning that any custom styles I add on my app are compiled first, thus appear first on my final CSS, where as if I include commons.scss at the root of my document, the final CSS version has those styles right at the end of my CSS.
I think the compiled CSS should have the inverse order for this. We are basically having ~normalize be the last section of our compiled CSS, which doesnt make any sense.
Is there a way to modify this behaviour ?
I noticed this issue because I was trying to create some kind of overwrites file, with a few minor resets of my own. But I was unable to make it work normally because normalize is the last part of my CSS and it trumps whichever styles I created ( unless i used specificity ).

Hi @coljung!
I guess it all depends on your build tool. You can always boost a little of priority just assigning a class on top of your customized component.
Also I think there is no way to control this from the library but normalize being added at the bottom is definitively an issue. I've tried some different configurations in webpack and what you require first gets bundled first but probably there is no guarantee on that.
Let's keep this open a bit in case somebody figured out a way to set up the order :)

Thanks for the reply.
What i did in order to have a global overwrites file was:
On my entry point to the App, where we import react-toolbox/lib/commons.scss i added:
import 'react-toolbox/lib/commons.scss';
require('./styles/overwrites.scss');

This then fixes my problem with having a global overwrites rewritten by normalize.
Now, the problem persists where common.scss ( and my overwrites file ) are compiled AFTER the rest of the CSS of my application.

Yeah exactly, that makes sense. I guess that you are doing both imports at the top of your app and then requiring App.js later? If that's the case if should work the same

Please @coljung try out this:
https://twitter.com/javivelasco/status/810763888690163712
This plus<EMAIL_ADDRESS>should solve the issues

Great, thanks again!


Create Website

[ ] register domain

[ ] host on GoDaddy

[x] use drone photos

Sections

[ ] About

[ ] Contact

[ ] Available Rentals

[ ] Rental Application

[ ] Update colors and fonts with logo styles

[ ] Add logo

[ ] Add hrefs

[ ] Add Google Analytics

https://plus.google.com/u/0/photos/albums/pijfpe30sg2242ucaa8o1ev42lagngua7?pid=6454838410265138930&oid=116492094340385144482
title padding 15rem to fix mobile ui issue


feat(charts): add css vars

Close #1866

Deploy preview for pf-next ready!
Built with commit 5aa6656e6bc1f5e4b87daf9093063271830fc8b1
https://deploy-preview-1868--pf-next.netlify.com

Looks good overall. How about we separate out so that the SCSS vars are in an include file to match what we do with our other stylesheets. Something like this:
_chart-globals.scss // SCSS vars
patternfly-charts.scss // @import 'chart-globals'; w/ CSS defined below
patternfly-charts.css // auto-generated from patternfly-charts.scss

That also gives the ability for people to import _chart-globals.scss if they just want the SCSS and no CSS.

Can this be merged now that rc2 is out?

@dlabrecq merged

:tada: This PR is included in version 2.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Documentation

Hey @Niharika-Guthikonda . I created the repo and added the README file, but I could really use help with creating a better and clearer documentation section for this project.

Hi @SureshJohnWesly99
Thank you for creating the repository and adding the initial README file. I'd be happy to help improve the documentation for our project. Here's what I propose we do:

Review the current README content
Expand the documentation structure to include:

Introduction
Overview
Market Analysis
Goals and Objectives
Features
Technologies Used
Development Timeline
Methodologies
Evaluation Criteria
Implementation Strategy
Future Enhancements
Conclusion

Enhance each section with detailed information
Add visual elements if needed (e.g., screenshots, diagrams, tables)

I'll create a new branch called "improve-documentation" to work on these updates. Once I've made the changes, I'll submit a pull request for your review.

Thank you @Niharika-Guthikonda


updateAnnotation event does nothing

I am using annotorious in Vue.js 2, there is a problem with updateAnnotation event.
It is doing nothing is there any reason for that?
I just want to start callback function -> getSelections() when update fires up.
(i am carried instance to data object on Vue.js Options API for use it everywhere.)
export default {
  data() {
    return {
      annoInstance: {}
   },
   mounted() {
     this.annoInstance = new Annotorious({
        image: 'image-labelling-image',
        widgets: [{ widget: 'TAG', vocabulary: ['something'] }]
     })
     this.annoInstance.on('updateAnnotation', () => this.getSelections())
   },
   methods: {
     getSelections() {
       try {
         const annotations = this.annoInstance.getAnnotations()
         this.selections = annotations
       } catch (err) {
         console.log(err)
       }
   },
}

Hi,
I just confirmed that the updateAnnotation event is properly working. E.g.:
anno.on('updateAnnotation', function(annotation, previous) {
  console.log('updated', previous, 'with', annotation);
});

Can you confirm that it's really the handler function that's not called in your example? Or something about getSelections()?

P.S.: which version of Annotorious are you using?

I am using:
"dependencies": {
    "@recogito/annotorious": "^2.3.3",
    ...

Sorry maybe it is my bad :/ I am trying..
(Update)
It is my bad it working with your way like:
anno.on('updateAnnotation', function(annotation, previous) {
  console.log('updated', previous, 'with', annotation);
});

and
this.annoInstance.on('updateAnnotation', () => this.getSelections())

Yes good point. I think this and arrow functions generally don't play week together.


Fix the make test-coverage for s390x arch

What type of PR is this?
/kind bug
What does does this PR do / why we need it:
support make test-coverage for s390x arch
Which issue(s) this PR fixes:
Fixes #3756
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

/ok-to-test

@zhengxiaomei123 I think you messed up your commit history ...
you might want to do a separate commit

@zhengxiaomei123 I think you messed up your commit history ...
you might want to do a separate commit

Yes, I am not sure how to delete this PR and request again.


Create cost model for proposed Multi-Region

Describe the issue
If we create additional OUs or even another ASEA installation, this will multiply our network costs.  We want to make sure the cost matches the demand, and present this to exec for approval if it's going to be expensive.
Additional context

Multi-region DR is being scoped out per PO with fair warning from AWS (document in risk register)
intermediate solution to address non-vpc
US-East-1 lamda at edge (ok without vpc), lambda, CloudWatch logs (will happen in whichever region is closest to the requestor, so in theory, logs could show up in Oregon)
Canada only project-set vs Multi-Region project-set
Proposed is setting up default-MR, then using detective processes to warn MPOs to make sure that their PIAs have the extra outside-of-canada assessment doc
Julian was initially intending to perform this due to experience with cost modelling. Take a stab at it and he can help polish it when he returns from holiday.

Definition of done

Get information on what is unclass exactly
Create a sensitivity analysis spreadsheet showing business as usual, OUs for non-VPC services, OUs for network-requiring services and a whole separate ASEA.
Factor in demand for non-US services in order to determine if they require non-VPC services or if they actually need network-supported services (containers, VMs) - see linked ticket
Show to exec

not relevant


RWKV increase streaming and RWKV needs to stop when \n\n

Your PR Title (What it does)

Fixes # (issue)
Before submitting

Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

@yangzehan Hi , could you, please, resolve the merging issues? After that ping me and I push this PR for the review. Thanks!

Closing because the PR wouldn't line up with the current directory structure of the library (would need to be in /libs/langchain/langchain instead of /langchain). Feel free to reopen against the current head if it's still relevant!


feat: updated extension to show generative apps

Ticket
[FE] Update Chrome Extension to Show Generative AI Apps
Changes
Updated existing Chrome extension to show generative AI apps
How to test

Download this branch to your PC
npm install && npm run build
Open Chrome
Go to Chrome Extensions tab chrome://extensions/
Switch at Chrome Extensions tab to Developer mode
Load extension from /build folder that was made at point 2.
test manually

Screenshot

test


Update exporters intro with key advantages of OTLP

try to resolve https://github.com/open-telemetry/opentelemetry.io/issues/3295

Thanks for initiating this. I'd have some copyedits, but I feel that there are more important questions to be answered first, e.g., see #3295 (comment).

sure. I will close this one.


Mismatch between types allowed by h2non/filetype and Google Photos

Repro:

Have a .3gp file; try to upload it
h2non/filetype reckons it as a video file so gphotos-uploader-cli attempts to upload it
Google Photos doesn't see it as a video file and rejects it
gphotos-uploader-cli grinds to a halt.

gphotos-uploader-cli should not be halting if it tried to upload a file that was rejected due to it being an unsupported format. It should mark that in the database and move on.

Solved in v0.4.0+


No error message in UI when opening entry-point fails

Describe the bug
Opening a package entry-point can fail for a multitude of reasons, but in no case we display an error message in the UI.
To Reproduce
Steps to reproduce the behavior:
0. Open UI

Install a package that has an entrypoint (e.g. cyclops)
Stop the package-operator
Delete all deployments in the package namespace
Click "open"

Expected behavior
An error message that no pod is ready to handle the entrypoint.
Cluster Info (please complete the following information):

Type: Kubernetes
Version: v1.28.3
Provider: minikube

Glasskube Info (please complete the following information):

Package Operator version: 0.0.4
CLI version: 0.0.4

Hey @kosmoz this looks like a great issue, Let me get my hands on to this.

Here I think we should create a Status bar in the package-detail page which should indicate the status of the Pod
or
Simply a Status which checks the Pod Readiness

Hi @hanshal101!
I think what you suggest would be a neat feature that we definitely want to do in the future.
For this task, I think it would be better to display an alert somewhere on the page that contains the original error message from the opener, since it already contains all the info we need, e.g.:

could not open argo-cd: could not open entrypoint [anonymous]: no ready pod found for service argocd-server

Here is the documentation for Bootstrap alerts: https://getbootstrap.com/docs/5.3/components/alerts/
To show the alert based on the result of the opener one could probably use HTMX swap.
I think in the future it would be even better to have a global "notifications" or "toast" area where we can stream in the alerts via HTMX and websocket but that would definitely be out of scope for this issue.
What do you think? Do you want to give it a go? Or do you have any questions?

Ok great! Let me know if you have any questions!

Hey, where do we have to display the error? In the detailed page of a package or the overview page? Because the open function runs on the overview page. Also according to me it should be showing an error message in the detailed page.

Hey, where do we have to display the error? In the detailed page of a package or the overview page? Because the open function runs on the overview page. Also according to me it should be showing an error message in the detailed page.

That's a good question. I think it would make sense to display the error message on the same page where the "open" button was clicked. Since it is possible to click "open" on both the overview and details pages, this means it should be possible to display the error message on both pages.
One possibility for this would be to add an area in the layout template (internal/web/templates/layout/base.html) where HTMX can swap alerts in (also see the hx-swap reference I linked above). What do you think?


Quotes around rank

Description
Quotes around rank in sql requests
Use case
Rank without quotes doesn't work for Mysql8
Benefits
Able to run Mysql8 tests
Possible Drawbacks
Not found
Testing
No
Have you run the entire test suite and no regression was detected?
Yes, all local tests are fine

Coverage decreased (-0.04%) to 78.644% when pulling 17bca4abd6cf70eca9924978c5a1ec2ef09e40cc on Feature/Mysql8_102 into a6b36b7a6ec297a107feda2b4b5f9711e0256abf on release/102.

@magaliruffier  fixed, has put quotes for all fields at all places

Same commit applied, all fields quoted


Merge secp256k1 updates up to 452d8e4

Despite what github says, this branch does not apply cleanly to master.  We can use the procedure we used for the Univalue update which is to prepare the subtree merge manually and close this PR when complete.

Done, see 92e4e492c8334dfb390bb28d7d0cfee7671cbc54.


Math element syntax: match mrow instead of md; allow all attributes

<md> doesn't contain math, it contains one or more <mrow> elements, so don't apply math syntax highlighting to <md> contents. Instead, match mrow.
Allow other attributes besides @permid when matching math-containing elements. (This is for <mrow> in particular.)

Nice fixes.  Thanks.


Upgrade cflinuxfs3 version to 0.343

What
Update cflinuxfs3 version 0.343. Not the latest, but the latest the current release of cloud foundry is using.
How to review
This has been tested in dev04.
https://deployer.dev04.dev.cloudpipeline.digital/teams/main/pipelines/create-cloudfoundry/jobs/pipeline-lock/builds/22

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

Not the latest, but the latest the current release of cloud foundry is using.

Normally we haven't been this conservative and just bumped to the latest-latest.. wonder if we should though?

Conclusion from slack is to just go all the way, so I'll bump this and re-test.


Problem loading UI

Using SwashBuckle v5.6
I can get Swagger working in a "toy" web application, but not in my real one
In my real one when I visit the swagger UI I see the main window, but the only content I get is this message:
"fetching resource list: http://localhost:53649/swagger/docs/v1; Please wait."
The javascript console says "Unable to get property 'parameters' of undefined or null reference" swagger-ui-min-js (8,1384)
The URL mentioned does have data that I thought looked good, but there are entries where parameters is null, and someone in the Swagger group said that was illegal!!
See attached for what http://localhost:53649/swagger/docs/v1 returns
docsv1.json.txt
There are plenty of entries in there where "parameters" are null

Can you create minimal project reproducing this issue?
Strange those nulls, are you using a custom json parser?
I have many non-toy web-api projects all working without any issues, and none have those nulls.
Here are a few:
http://offleaseonly.azurewebsites.net/swagger
http://turoapi.azurewebsites.net/swagger
http://swashbuckletest.azurewebsites.net/swagger

If I create a minimal project, all is well, isn't that always the way.
One possibility I can think of... my web api is in a different DLL to the main web application, I don't know if that has an effect.
I am in an older project, not all routes are explicit through annotation, although most are
I did have to do these two
c.UseFullTypeNameInSchemaIds();
c.ResolveConflictingActions(apiDescriptions => apiDescriptions.First());
or it barfs earlier
I guess I should download the source and crack on with debugging
Is it true there should never be a null for parameters? I think this happens on the many methods I have that have no parameters
Any suggestions on where to go next to debug this?
FYI, I also tried Swagger-Net and had problems there too, I all all but certain this is something to do with my WEB API

not just any minimal project...
a minimal project reproducing this issue

OK, will work on it, I can copy in some of my real web API into the known good project, I know the ones that relate to NULL values, maybe I will get lucky

There is definitely a problem in the UI, nulls should not cause a problem, I already filled a bug with the UI team, let's see what they have to say about it...
If you are going to "download the source and crack on with debugging" start directly with swagger-ui the potential bug is there...
But there must be something on your config that is making those nulls to show up.

Sorry the UI team closed the issue as won't fix, you can read that issue there for more details...
Also take a look at this issue in stackoverflow:
https://stackoverflow.com/questions/46812860/swashbuckle-custom-jsonserializer-settings
see if that is related to your issue

Thanks, will check the references, but if nothing obvious emerges, I have to pull the plug too, too many hours spent on what I expected to be easy, I tried to repro from the bottom up, and never saw the issue,
No Swagger for us until I get that server rewrite started!

Wow, got it!
System.Web.Http.GlobalConfiguration.Configuration.Services.Replace(typeof(IContentNegotiator), new JsonContentNegotiator(jsonFormatter));
Commenting that out fixes Swagger, but now I need to see what is impacted by that change...


Made AttrDict weakref'able

Made AttrDict weakref'able.

Codecov Report
Base: 80.65% // Head: 80.58% // Decreases project coverage by -0.07% :warning:

Coverage data is based on head (528a635) compared to base (717ed9d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #207      +/-   ##
==========================================
- Coverage   80.65%   80.58%   -0.08%
==========================================
  Files          38       38
  Lines        1096     1097       +1
==========================================
  Hits          884      884
- Misses        212      213       +1

Flag
Coverage Δ

linux
80.58% <100.00%> (+0.01%)
:arrow_up:

linux-extra_libs
?

windows
?

windows-extra_libs
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

oteapi/models/genericconfig.py
87.17% <100.00%> (+0.16%)
:arrow_up:

oteapi/utils/paths.py
88.88% <0.00%> (-5.56%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I am unsure of this change. It seems to destroy the whole purpose of having AttrDict, namely to have a dynamic dictionary, at least from reading the documentation. Not to mention self.__dict__ is referenced several times in this class' methods.

I added "__dict__" to __slots__. That should fix possible issues.

Plus pydantic (the parent BaseModel class) implements its own __slots__, I'm unsure if that fiddles with anything?

In that case pydantic fails to add "__weakref__" to __slots__ which makes AttrDict non-weakable. That is used by oteapi-dlite to ensure that the underlying collection associated to the session lives as long as the session exists. Ok, it is not as simple, because the session is actually created and destroyed for each call the initialize() and get() strategy methods. However, the two otelib PRs ensure that the get() method of the pipeline return the session. Hence, when the user calls the get() method of a pipeline, a session is first created. Since the session doesn't contain a collection_id, a new collection is created, whos lifetime is bound to the session using weakref.finalize().  Finally the session is returned to the user. The result is as long the user keep a reference to the session, the collection will stay alive. But when the session is garbage collected, the collection will also be deleted.
If you want to remove this feature, please provide an alternative implementation to manage the lifetime of resources connected to the session. Also make sure that the SDKdemo continues to work.

"Weakref'ability is important for oteapi-dlite to ensure that the underlying collection associated to the session lives as long as the session exists."
I must admit I'm a bit confused here. DLite should really manage its own state and cache without relying on the configurations and session. The session is a means of communicating changes to the specific datamodel configurations of the strategies. DLite might need to save and restore its own state for each strategy if needed.

No urgent need for this anymore after PR https://github.com/EMMC-ASBL/oteapi-dlite/pull/84


New version: MoM_Kernels v0.1.1

Registering package: MoM_Kernels
Repository: https://github.com/deltaeecs/MoM_Kernels.jl
Created by: @deltaeecs
Version: v0.1.1
Commit: 8188cd1161a888bff48140ed347f350ba832d98b
Reviewed by: @deltaeecs
Reference: https://github.com/deltaeecs/MoM_Kernels.jl/commit/8188cd1161a888bff48140ed347f350ba832d98b#commitcomment-141612326
Description: A Julia package for kernel functions of Method of Moments (MoM) and Multi-level Fast Multipole Algorithm (MLFMA).

merge approved

abort this pr for new one


Typings and integration with Express

Hello,

Are there any declaration files for the current version of the lib ?
Considering that I'm using express generic routing for CRUD (please have a look here : https://github.com/OlteanuRadu/Nova/blob/master/src/core/webApi/webApiBaseService.ts) is there any easy way to integrate it with odata?

Hi @OlteanuRadu,

newest version is written in README.
you can use OData Function to implement it, it's almost same as router.


add dateRejected to Published.cveMetadata

In the Published.cveMetadata object, when “state” is “PUBLISHED”, “datePublished” can be used to find the date when the CVE was published. But when “state” is “REJECTED”, there is no corresponding date.
We propose to add “dateRejected” to fill this gap.

Agree. Few other date fields from PUBLISHED subschema make sense in REJECTED subschema such as dateAssigned, datePublished, datePublic. The timeline object may also make sense.

Should this be closed given that https://github.com/CVEProject/cve-schema/pull/91/files is merged? Thanks!

rc3 takes care of this.


Search is broken

It did work locally, but it appears when deployed we get a CORS error with a custom domain.

Fixed by disabling "rocket loader" on Cloudflare. 🤘


Make buttons more accessible

Buttons are a bit hard to push now, as the touchable region is just the icon at the center.
Task: make the whole button touchable.

@jbrigitta, could you please take a look?


Chiclet Slicer Tests: 2838 Add sanity test for Chiclet Slicer

Chiclet Slicer Tests: 2838 Add sanity test for Chiclet Slicer

Hi @DenisKudelin, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Denis Kudelin (Akvelon)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Reviewed, lgtm


Add Hub/Lab/Notebook navigation buttons to VNC top bar

This PR adds navigation buttons to the VNC client top bar.
Without it there are no links to navigate elsewhere or stop the container.

The CSS is a bit forced since buttons are using position: fixed with pixel level alignment.
CC'ing @titansmc

Nice idea!
We should bear in mind this extension can be used outside JupyterHub, and also that lab or notebook may not be installed, so I think it's better not to build the full navigation menu in this extension, that should really be the role of the parent application.
How about if instead it's just a single Home button that goes to the user's starting location ../?

../ redirects back to the VNC session so doesn't work as intended.
../../../hub/home sends you to the JupyterHub control panel.
I'm happy to remove the other buttons.

Could you use javascript to construct the URL to the parent folder and perform the redirect instead? For example
const pathParts = window.location.href.split('/');
window.location = pathParts.slice(0, pathParts.length - 2).join('/');

Seems like the binder setup is a little different from the one we have in-house and we end up with different URLs. My initial PR doesn't work on binder but works locally. @manics suggestion works on binder but not here.
@manics can you elaborate why a relative URL wouldn't work and we need to use JavaScript for this one? JavaScript seems overkill but I'm probably missing a use-case.

Quite a bit later, but this is superseeded by https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/78 and https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/79.

Done in https://github.com/jupyterhub/jupyter-remote-desktop-proxy/pull/79!


Add possibility to configure tolerations for calico-typha deployment

There already is an option to configure tolerations for ingress-nginx, kubernetes-dashboard and other plugins. Probably it's reasonable to add the same option for calico-typha deployment.

Implemented in https://github.com/Netcracker/KubeMarine/pull/283


Cleanup nodes routes

This PR introduces routes for tabs on the node detail page
Before:

After:

Code looks good! I found two issues while testing:
Loading is off center:

This might've already been an issue before, if so, feel free not to fix. But we're losing the /health/ segment

Nice finds! Fixed both!


custom logging level for numba internals.

Numba could do with a custom logging level to use internally so that developers of numba can switch on logging but it doesn't impact consumers of numba with e.g. logging.DEBUG enabled.

The task here is to create a custom logging level for Numba (something below logging.DEBUG) and then use that throughout the code base where ever logging is currently writing into the logging.DEBUG level.

Happy to take this one on!

Great, thanks @benjaminr

Hi,
I am having an issue with Numba for some time now. Whenever I run pytest and some test fails, Numba produces an unwieldy amount of logging information. Here is a tiny sample:
DEBUG    numba.core.ssa:ssa.py:178 Running <numba.core.ssa._GatherDefsHandler object at 0x0000025067900160>
DEBUG    numba.core.ssa:ssa.py:180 on stmt: $60load_global.0 = global(AssertionError: <class 'AssertionError'>)
DEBUG    numba.core.ssa:ssa.py:180 on stmt: $const62.1 = const(str, internal dict error during lookup)
DEBUG    numba.core.ssa:ssa.py:180 on stmt: $64call_function.2 = call $60load_global.0($const62.1, func=$60load_global.0, args=[Var($const62.1, dictobject.py:735)], kws=(), vararg=None)
DEBUG    numba.core.ssa:ssa.py:180 on stmt: <static> raise <class 'AssertionError'>('internal dict error during lookup')
DEBUG    numba.core.ssa:ssa.py:149 ==== SSA block analysis pass on 70
DEBUG    numba.core.ssa:ssa.py:178 Running <numba.core.ssa._GatherDefsHandler object at 0x0000025067900160>
DEBUG    numba.core.ssa:ssa.py:180 on stmt: $70load_global.0 = global(_nonoptional: <intrinsic _nonoptional>)
DEBUG    numba.core.ssa:ssa.py:180 on stmt: $74call_function.2 = call $70load_global.0(val, func=$70load_global.0, args=[Var(val, dictobject.py:731)], kws=(), vararg=None)
DEBUG    numba.core.ssa:ssa.py:180 on stmt: $76return_value.3 = cast(value=$74call_function.2)
DEBUG    numba.core.ssa:ssa.py:180 on stmt: return $76return_value.3
DEBUG    numba.core.ssa:ssa.py:141 defs defaultdict(<class 'list'>,

Is this related to this issue?

@tobiasraabe yes

Does anyone know how this is going? I can't help but get a huge logging every time I execute my script. It's messing up my CI runners
I am using umap-learn==0.5.1 and numba==0.53.1.
Thanks in advance!

As a workaround, I am setting the following before importing umap (which imports numba):
import logging
logging.getLogger('numba').setLevel(logging.WARNING)

I just stumbled over this issue and recalled there was a discussion about this on Gitter last year, so I thought I'd just cross link that here: https://gitter.im/numba/numba?at=5ed533094c9b0f060d39ada5
For what it's worth: Personally I am not convinced that custom loglevels are the proper way to screen users of numba from log messages. Using the abilities of the logging module as suggested by @ugm2 or the filter suggested in the Gitter chat feel more like the solution intended by the devs of the logging module to me. I think custom levels should only be used if there is a feeling that numba itself needs more fine grain control over its own log messages.

Just adding my 2c. Agree with @HPLegion in general, custom log levels seem to be discouraged in the logging module docs. One thing I note is that numba is "special" compared to (some) other modules that use logging, in that its logger doesn't seem to appear in logging.Logger.manager.loggerDict. In a project which imports numba and some other stuff, I can use:
print(list(logging.root.manager.loggerDict.keys()))

to grab all (?) the other logger names:
['PIL.Image', 'PIL', 'PIL.PngImagePlugin', 'matplotlib.ticker', 'matplotlib']

It would be convenient if numba could add itself in there, then we (users) can use our debug logging while blocking all of those.
It's all a bit of a mess, because logging doesn't provide a way to operate using a whhitelist rather than a blacklist. But that's unlikely to change anytime soon, so this could be a "workaround" to make it easier.

I am looking for an issue for my first contribution . Can you help me here.

Is this task still open? Happy to take this on as it is affecting my work :stuck_out_tongue_closed_eyes:  The steps I would take:

Clone this repo
Understand how numba does logging
Read through Python's logging docs to know any recommendations / how other packages uses it.
Ensure that numba follows the same approach as other packages

This would ensure that developers don't get surprised by numba following a different approach to other packages
Acceptance Criteria

[ ] numba users are not surprised by numba's approach to logging
[ ] numba core developers have a path to switch logging easily

@stuartarchibald thoughts?

@stuartarchibald @sklam @esc @gmarkall thoughts?

Nothing is stopping you from trying!

The numba loggers now appear in logging.root.manager.loggerDict (numba 0.60):
>>> import numba
>>> print(list(logging.root.manager.loggerDict.keys()))
['concurrent.futures', 'concurrent', 'asyncio', 'prompt_toolkit.buffer', 'prompt_toolkit', 'parso.python.diff', 'parso.python', 'parso', 'parso.cache', 'numba.core.types
.functions', 'numba.core.types', 'numba.core', 'numba', 'numba.core.transforms', 'numba.core.byteflow', 'numba.core.interpreter', 'numba.core.typeinfer', 'numba.core.ent
rypoints', 'numba.core.ssa', 'numba.core.decorators']
>>> numba.__version__
'0.60.0'

This should make filtering more intuitive for the users (like me). I wonder if that makes this issue obsolete.

Thanks for linking to this @adigitoleo. Given that from the discussion it seems that custom logging levels are discouraged, would you conclude that this issue can now be closed?

@gmarkall From my point of view, I'm happy with the current functionality. For numba developers, I would assume that setting the logging levels of the various numba loggers should be sufficient for debugging, but I have not (yet) contributed so I'm not sure if the original request is still valid. Perhaps @stuartarchibald can confirm.

Thanks, will see if @stuartarchibald still would like it to be added at some point.


Enable the disabled test with lang-lib change

Description:
There are several test-modules have been commented out from the testng.xml. There should be more than ~5200 unit tests running but currently only ~4500 are running as of now.

There are no tests excluding due to "brokenOnLangLibChange" So we can close this issue, after removing "brokenOnLangLibChange" label