Add density units used in clinical chemistry

Add density units used in clinical chemistry (g/L, g/dL and g/mL).

Hi Andreas, I've pushed another commit to address the issues you raised.

Perfect, thanks.

Nuget 3.62 is out.

That's great. Thanks Andreas.
On 8 May 2017 at 22:37, Andreas Gullberg Larsen<EMAIL_ADDRESS>wrote:

Nuget 3.62 is out.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/anjdreas/UnitsNet/pull/251#issuecomment-299998377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM8fVpLnlpdccqJXHbSKhnZX_x7zPWmhks5r34sugaJpZM4NR75T
.


'Flutter run' in terminal cannot connect to VM Service, connection refused

If I run 'Flutter run' in my terminal after a while it says:
Connecting to the VM Service is taking longer than expected...
Still attempting to connect to the VM Service...
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = <IP_ADDRESS>, port = 50940
This was attempt #50. Will retry in 0:00:01.600000
But if I run it in X Code it works..
I have no clue what I am doing wrong,
flutter doctor -v doesn't give any exceptions (see screenshot)
I also attached a screenshot of flutter run --verbose and the pubspec.yaml
Apparently it is not a Flutter issue but a Firebase issue that's why I'm asking here..
Anyone that could help me out?

Hi @Annelein,
Since you are also getting the error while creating a new project (flutter create demo) which doesn't have any Firebase related plugins, this doesn't seem to be specific to Firebase.  As we are already discussing this issue here, I am closing this one to avoid duplication.
Thanks.


Turn into search-as-you-type widget

This should all be turned into a simple widget, because of multiple reasons, as explained here
It will be simpler, more elegand and less bug prompt to just have a searchbox where the user starts typing in and results appear in a list just bellow it.
Otherwise, if we want to show a full list of results on the page + list of pages, we have to take care of how the dom will be affected, if it will look alright etc. And it's very likely that the user would need to do a lot of adjustments to make everything look good and fit in.

started on branch 12

done in #13


ResourceManager in .NET core does not fallback to unspecfic resource when using an unlocalized culture

Version: .NET Core App 1.1
OS Windows 7 (German)
Assembly System.Resources.ResourceManager, Version=<IP_ADDRESS>
from %userprofile%.nuget\packages\system.resources.resourcemanager\4.3.0\ref\netstandard1.0\System.Resources.ResourceManager.dll
I have a simple Resource named TestRes.resx plus three culture specific resources TestRes.de.resx, TestRes.en.resx and TestRes.it.resx.
There is one single key named "Test" with values indicating the used culture
Value from "de" resx
Value from "en" resx
Value from "it" resx
Value from unspecific resx.
Everything works just fine as long a I am using those cultures for which resx files do exist. But when calling GetString with another culture (i.e. "fr") the result (on my German OS) is: Value from "de" resx instead of Value from unspecific resx
This behaviour is different from the .NET framework where using a culture for which no resx is given yields the value from the "default" resx (that without a culture suffix).
Am I missing something? Is this by design?
I've attached a zip file demonstrating the issue. There are two projects: a .NET Core Console App. The second one is a NET461 console app I added for comparison.
LocalizationIssue.zip

Sorry for not having mentioned the .NET Core version in the title!

@tarekgh can you take a look? Should we reopen this is corefx?

@Drapondur I'll take a look. I'll move the issue to corefx repo too.

Issue moved to dotnet/corefx #21983 via ZenHub


Support TCP Fast Open

TcpListener
All of Linux, OS X and Windows are the same, call setsockopt with TCP_FASTOPEN option
// For Linux, value is the queue length of pending packets
int opt = 5;
// For the others, just a boolean value for enable and disable
int opt = 1;

// Call it before listen()
int ret = setsockopt(socket, IPPROTO_TCP, TCP_FASTOPEN, &opt, sizeof(opt));

TcpStream
This is a bit more complicated than TcpListener, because we have to send SYN with the first data packet to make TFO works. APIs are completely different on different platforms:
Linux
Before 4.11, Linux uses MSG_FASTOPEN flag for sendto(), doesn't need to call connect()
// Send SYN with data in buf
ssize_t n = sendto(socket, buf, buf_length, MSG_FASTOPEN, saddr, saddr_len);

After 4.11, Linux provides a TCP_FASTOPEN_CONNECT option
int enable = 1;

// Enable it before connect()
int ret = setsockopt(socket, IPPROTO_TCP, TCP_FASTOPEN_CONNECT, &enable, sizeof(enable));

// Call connect as usual
int ret = connect(socket, saddr, saddr_len);

BSDs (except Darwin)
Uses sendto() as Linux without MSG_FASTOPEN flag
// Set before sendto()
int ret = setsockopt(socket, IPPROTO_TCP, TCP_FASTOPEN, &opt, sizeof(opt));

// Call sendto() without flags
ssize_t n = sendto(socket, buf, buf_length, 0, saddr, saddr_len);

Darwin (OS X)
Darwin supports TFO after OS X 10.11, iOS 9.0, tvOS 9.0 and watchOS 2.0.
It supports with a new syscall connectx.
sa_endpoints_t endpoints;
memset(&endpoints, 0, sizeof(endpoints));
endpoints.sae_dstaddr = &saddr;
endpoints.sae_dstaddrlen = saddr_len;

int ret = connectx(socket,
                   &endpoints,
                   SAE_ASSOCID_ANY,
                   CONNECT_DATA_IDEMPOTENT | CONNECT_RESUME_ON_READ_WRITE,
                   NULL,
                   0,
                   NULL,
                   NULL);

SYN will be sent with the first write or send.
Windows
Windows supports with ConnectEx, since Windows 10. https://docs.microsoft.com/en-us/windows/win32/api/mswsock/nc-mswsock-lpfn_connectex
// TCP_FASTOPEN is required
int ret = setsockopt(socket, IPPROTO_TCP, TCP_FASTOPEN, &opt, sizeof(opt));

// Get LPFN_CONNECTEX
LPFN_CONNECTEX ConnectEx = ...;

// Call it with the first packet of data, SYN will send with this packet's data
LPDWORD bytesSent = 0;
int ret = ConnectEx(socket, saddr, saddr_len, buf, buf_length, &bytesSent, &overlapped);

Challenge
As we can see for those OSes' APIs, (except OS X and Linux > 4.10) connections are made with the first write(), which means that if we want to support TFO, we have to put those code in the first call of std::io::Write::write or tokio::AsyncWrite::poll_write.
There is no other way except customizing a TcpStream from socket() and call different APIs on different OSes while sending the first data packet.
I want to open a discussion here for how in Rust's world to support TFO gracefully.
Related API PRs

connectx for OS X: https://github.com/rust-lang/libc/pull/1635
TCP_FASTOPEN_CONNECT for Linux: https://github.com/rust-lang/libc/pull/1634
TCP_FASTOPEN for Windows: https://github.com/retep998/winapi-rs/issues/856

I don't know much about this myself, but PRs are most welcome to explore the design space here!

@zonyitoo still interested in contributing this?

I made a few steps but couldn't find a good design for it.

We could just expose the system calls/flags if we can't get a nice cross-platform API.

@zonyitoo do you still think this should go into Socket2? Or is your library a better place to keep it?

Well, setting the TCP_FASTOPEN flag could be in socket2, but the whole TFO process (client making connection, server setting up acceptor socket) may have to be put in tokio-tfo.
I am ok to make a PR for setting TCP_FASTOPEN for sockets.

Well, setting the TCP_FASTOPEN flag could be in socket2, but the whole TFO process (client making connection, server setting up acceptor socket) may have to be put in tokio-tfo.
I am ok to make a PR for setting TCP_FASTOPEN for sockets.

Sounds good.

https://github.com/zonyitoo/tokio-tfo/blob/3e23d00c4258884db73cba49753fa37f5f9fa7ca/src/sys/unix/linux.rs#L388-L419
There is a problem about how to design a unified API. Linux's TCP_FASTOPEN accepts an integer value reprecenting the length of TFO accept queue. On the other platforms, including Windows, macOS, FreeBSD, it is only a switch with 0 and 1.

We could document the behaviour, i.e. 0 disables, >= 1 enables, on Linux it changes the queue length.


chore(dep): Upate dependencies

Coverage decreased (-0.007%) to 77.114% when pulling 638a07fdd478a4a004c5dd9a0bafd60c98825a01 on chore/update_dep into fc3e6af572e6fd4f2404ed1127906b7718a2130c on master.


Add detection of WSL when starting the debug container

The current code for warden debug does not detect WSL based environments and instead identifies them as standard Linux. This becomes a problem when trying to configure the Xdebug remote connect address. The Windows version of Docker has the magic "host.docker.internal" hostname that the Linux version of Docker does not have. Additionally, the fallback method of remote IP detection fails to generate the correct IP address on a WSL setup. This test is the suggested way of detecting a WSL Linux system.
https://github.com/microsoft/WSL/issues/423#issuecomment-221627364

Windows, HA

@LeeSaferite When you tested this, was it on WSL1 or WSL2?

This is on WSL1.
The release name contains microsoft-standard on WSL2.

Verified this doesn't change behavior on either macOS nor on Fedora 31. Looks good. Thanks for the contribution @LeeSaferite


[Feature]Serial also ignores errors and can continue to perform subsequent tasks

When I perform multiple serial tasks, I don't care whether there is an error or not.Can it be implemented that when a node encounters an error, the other nodes can continue to perform subsequent tasks?

of course you can ,  when start the workflow, you can set the task failure strategy: contine or failure

That's not what I'm saying. Like this, if c makes a mistake, B should keep going.Existing functions can only achieve parallel tasks do not terminate, serial can not。
I want to realize that serial tasks can also ignore the state of the front node.The business scenario is that both A and C need to be executed, but eventually B must be executed, and only once.
我想实现，串行任务也可以忽略前置节点状态。业务场景是A和C都需要执行，但最终一定要执行B，且只执行一次。

which version do you use?
as I know , DolphinScheduler should support this operation

I have such a need too,  and I wonder if any plan of this feature?
Similar request of this issue #4115
Or I have to use the condition node to implement it?


GPU memory growth

I run
CUDA_VISIBLE_DEVICES=3 python pretrain.py --train ../train.txt --vocab ../jtnn/vocab.txt --hidden 450 --depth 3 --latent 56 --batch 32 --save_dir pre_model/

But after ~10-20 iterations script fails with
Traceback (most recent call last):
  File "pretrain.py", line 108, in <module>
    loss.backward()
  File "/home/kkochetov/nfp_conda/lib/python2.7/site-packages/torch/autograd/variable.py", line 167, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, retain_variables)
  File "/home/kkochetov/nfp_conda/lib/python2.7/site-packages/torch/autograd/__init__.py", line 99, in backward
    variables, grad_variables, retain_graph)
RuntimeError: cuda runtime error (2) : out of memory at /opt/conda/conda-bld/pytorch_1518238409320/work/torch/lib/THC/generic/THCStorage.cu:58

I tried gc.collect() and torch.cuda.empty_cache(), but there is an another strange problem. After each batch gpu memory was freed to minimum, but when model.forward() was called after that more and more memory allocated from gpu. More and more until at some moment model allocates more memory, than GPU have (>12Gb).
What the problem? Can anyone help?

@kirtov you can follow at #10

@wengong-jin I found, that big memory growth refers to big MolTrees objects. There is no big complex molecules in ZINC dataset, so there is no problem too. But If I pass big molecule, MolTree object will be very big and It cause GPU memory issues. Can you help me, where I can find tensors/variables related to this problem? Maybe I can optimize it somehow without just dropping big molecules?

Hi,
You can try three things:

reduce batch size
reduce hidden size from 450 -> 300, for instance.
In chemutils.py, change MAX_NCAND to smaller value.
Please also check the size of list node.cands of a MolTreeNode object node. For big molecules, the size might be large.

What is the ideal settings for running jtnn with molecular weight ranging from 200-1000 ?

Have been you JTVAE-trained for compounds with molecular weights ranging from 200 to 1000? If so, please share the network configuration. I am extremely grateful to you.


Agent responses are erratically don't show

I've got the following intent handler:
  async function expenseLogHandler(agent) {
    const value = agent.parameters["value"];
    const currency = agent.parameters["currency"] || "SGD";
    const timestamp = Number(new Date());

    const payload = {};
    payload.quick_replies = [{
      content_type: 'text',
      payload: 'log more',
      title: 'log more'
    }]

    try {
      const expense = await db.collection("expenses").add({
        value, currency, timestamp
      });
      console.log('Logged expense: ', expense);
      payload.text = `ok done: ${currency} ${value} added`;
      // Remove and move this outside of try/catch sometime
      agent.add(new Payload(agent.FACEBOOK, payload))
    } catch(err) {
      console.error('Error logging expense: ', err);
      payload.text = `Something went wrong: ${err.toString()}`;
      // Remove and move this outside of try/catch sometime
      agent.add(new Payload(agent.FACEBOOK, payload))
    }
  }

Every single time it's invoked, an expense is instantly being created in Cloud Firestore - it reflects within Firebase and also on the Cloud Function's logs.
However the Facebook message payload erratically doesn't show 30% of the time (there is no error, and the expense is always created), just the error doesn't show.
What could I be doing wrong?

It seems like you're hitting the 5 second limit Dialogflow has for a response to be returned. If nothing is returned in 5 seconds, the default response will be sent but the function will finish running in the background.

@nathanjliu's assessment seems reasonable @sarupbanskota can you confirm this is causing your issue?

That's right @nathanjliu and @matthewayne, appears to be the 5s limit.
I was aware of the DF limit itself, but didn't realise how/when the cold boot problem would affect a cloud function. So while my original question is answered, I'm curious if there's an easy way to check what node dependency versions might be cached within cloud functions infra?

For future reference for anyone else who runs into a similar issue, I found the following helpful:

https://cloud.google.com/functions/docs/bestpractices/tips
https://medium.com/@duhroach/improving-cloud-function-cold-start-time-2eb6f5700f6


DDS Router invalid when the network is bad(or disconnected)

Hello, I am using DDSRouter recently, but I encountered a problem. I configured dds router on both my server and client, but when the network condition is very bad（or disconnected）, sometimes ddsrouter will stop routing valid data. At this time, restart dds router on the client side, and the data can be transmitted again. I would like to ask what is the reason for this problem?

Hi @luzw5
We will need to know more details to help you. What do you mean by "stop routing valid data"? What are the YAML configurations you are using? Is this connection through WAN or in a LAN?
Best regards

Thank you for your reply, I will provide you with more information.

Robot1
builtin-topics:
  - name: robot_state
    type: FreeFleetData::RobotState

  - name: task_result
    type: TaskResult::ResultData

  - name: mode_request
    type: FreeFleetData::ModeRequest

  - name: path_request
    type: FreeFleetData::PathRequest

  - name: destination_request
    type: FreeFleetData::DestinationRequest

  - name: photo_task_request
    type: PhotoTask::PhotoTaskRequest

  - name: task_request
    type: TaskRequest::RequestData

version: v3.0
participants:

  - name: SimpleParticipant
    kind: local
    domain: 44

  - name: echo_participantD1
    kind: echo
    data: true
    verbose: true
    discovery: true

  - name: WanParticipantD1
    kind: wan
    connection-addresses:
      - domain: server
        port: 9010
        transport: tcp

Robot 2
builtin-topics:
  - name: robot_state
    type: FreeFleetData::RobotState

  - name: task_result
    type: TaskResult::ResultData

  - name: mode_request
    type: FreeFleetData::ModeRequest

  - name: path_request
    type: FreeFleetData::PathRequest

  - name: destination_request
    type: FreeFleetData::DestinationRequest

  - name: photo_task_request
    type: PhotoTask::PhotoTaskRequest

  - name: task_request
    type: TaskRequest::RequestData

version: v3.0
participants:

  - name: SimpleParticipant
    kind: local
    domain: 42

  - name: echo_participantD1
    kind: echo
    data: true
    verbose: true
    discovery: true

  - name: WanParticipantD1
    kind: wan
    connection-addresses:
      - domain: server
        port: 9017
        transport: tcp

Server
version: v3.0
builtin-topics:
  - name: robot_state
    type: FreeFleetData::RobotState

  - name: task_result
    type: TaskResult::ResultData

  - name: mode_request
    type: FreeFleetData::ModeRequest

  - name: path_request
    type: FreeFleetData::PathRequest

  - name: destination_request
    type: FreeFleetData::DestinationRequest

  - name: photo_task_request
    type: PhotoTask::PhotoTaskRequest

  - name: task_request
    type: TaskRequest::RequestData

participants:

  - name: ParticipantServer
    kind: local
    domain: 4

  - name: EchoParticipantServer
    kind: echo
    discovery: true
    data: true
    verbose: true

  - name: WanParticipantServerD1
    kind: wan
    listening-addresses:
      - ip: <IP_ADDRESS>
        port: 9010
        transport: tcp

  - name: WanParticipantServerD2
    kind: wan
    listening-addresses:
      - ip: <IP_ADDRESS>
        port: 9017
        transport: tcp

The specific phenomenon is that when the network is not good, the DDS data sent by the Server can no longer be transmitted to Robot1 or Robot2. However, when I restart the  docker container of Robot1 or Robot2, that is, re-run the ddsrouter program, it works normally again. Sorry, I'm not sure what's causing it. Could you please provide me with some debugging methods?

Thank you! A couple more questions and suggestions for you to try:

By looking at your diagram, I interpret that you have 3 different machines (2 robots and a server), and a docker container is run in each of them. Then you are using host's network stack (--net=host) to communicate within your LAN (or WAN? That IP address looks public). Am I right?
This looks like a transport issue to me. UDP transport usually outperforms TCP, and we always recommend to use it whenever that's an option. I believe that's the case for your scenario if I'm not mistaken, could you please try with UDP?
If you wish to communicate both clients through the server, it would be enough to have a WAN repeater participant in the server instead of two. Please have a look at Repeater DDS Router for more information.

I think I can try to modify qos and udp now to solve my current problem. In addition, if I don't want the two robots to communicate directly, is my current configuration valid?

With your configuration the two robots should not communicate directly, but through the server. What I meant is that there is no need of having two WAN participants in the server's router, and connect each of them with a different robot. You can connect the two robots to a WAN repeater participant in the server, and both will still be able to communicate (indirectly, through the server).
If you wish not to have any communication between the robots, then you would also need to connect both to the same WAN participant in the server's router, but this time configured with repeater: false.


TagUI RPA software (commercial use and license conditions) - Apache 2.0

Dear Sir,
I am looking for RPA tool for my organization need, I found TAGUI open source RPA tool.
I did few feasibility checks of requirement with TAGUI RPA tool.
If I want to use TAGUI in my organization, can you please let us know which license I need to check avoid any legal impact?
Thank you.
Best Regards

Hi @saketlopes TagUI is licensed under Apache 2.0. It can be used freely for commercial purposes, including charging money for RPA services to implement TagUI, or building on TagUI to offer another paid RPA product or service.
You can find details of the license, its permissions, limitations, and conditions here -
https://github.com/kelaberetiv/TagUI/blob/master/LICENSE.md
Mainly, besides crediting the source of the software to AI Singapore and / or this GitHub page, the license and copyright notice above should be included in deployments, and if changes are made to the code they should be documented as part of the deployment or distribution. There is no liability or warranty for use of TagUI, and the TagUI trademark belongs to AI Singapore, so users can't develop a new software and call it TagUI to sell.
Let me know if you have more questions, of have further roadblocks in using TagUI in your organisation. You can post to this issue or create a new issue for specific usage / feature / bug questions.

Thanks , kensoh.
You have created a wonderful tool.
I have created various automation cases with TAGUI.
With this information I can deploy automation to other users in my organization.


[formrecognizer] Remove sleep time between tests

Fixes #23381

API change check
API changes are not detected in this pull request.

/azp run python - formrecognizer - tests


Android build failed

I'm try make android from untouched example, Here's what I got so far.
Gradle 2.3
Android SDK Tools  21.1.2
Android Build Tools  22
./gradlew djinni
:djinniBuild UP-TO-DATE
:djinniGen UP-TO-DATE
:djinniOutSyncCpp UP-TO-DATE
:djinniOutSyncJava UP-TO-DATE
:djinniOutSyncJni UP-TO-DATE
:djinniOutSyncObjc UP-TO-DATE
:djinniOutSync UP-TO-DATE
:djinni UP-TO-DATE

BUILD SUCCESSFUL

Total time: 3.82 secs
ANDROID_BUILD_TOP=dirname  deps/gyp/gyp --depth=. -f android -DOS=android --root-target libmx3_android -Icommon.gypi mx3.gyp
cd example_android && ./gradlew app:assembleDebug && cd ..
WARNING [Project: :app] Current NDK support is deprecated.  Alternative will be provided in the future.

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/pirsquare/bit/mx3/example_android/app/build.gradle' line: 44

* What went wrong:
A problem occurred evaluating project ':app'.
> Neither path nor baseDir may be null or empty string. path='null' basedir='/Users/pirsquare/bit/mx3/example_android/app'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.796 secs
make: *** [android] Error 1

iOS is build fine anyway, Any help would be appreciated.
Thanks

Hmm, do you have an ./example_android/local.properties file?
This is what mine looks like:
➜  mx3 git:(master) cat ./example_android/local.properties
## This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file should *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/Users/steven/android-sdk
ndk.dir=/Users/steven/android-ndk

This should obviously be documented much better, I'm sorry it wasn't.  Let me know if that fixes things for you.  You'll need to download and install the android sdk and ndk.

Aw snap! seem like I didn't install android-ndk on this Mac yet only android-sdk and installation step didn't say so, and also log said Current NDK support is deprecated. so i think it's already there just not support lol
now is build fine, btw about local.properties should be doc too,
lucky me i mess with gradle before so I know what is missing.
Many thanks, @skabbes sorry for wasting your time. looking fw to play with this new toy :D
let me know if you want me to add missing installation step there from my noob point of view lol
Cheers!

Nah, no one should be expected to know that.
I'm going to add a blurb about adding a local.properties, but I'd absolutely love if you could document things as you come across them.

Hope this helps:
https://github.com/libmx3/mx3/commit/d6c0797934c3bde3e9aef5cadd2520717e3d42b1


Working with connected office groups

It would be great if you would provide some examples of working the members of the Office Groups that are connected to SPO sites.

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

ID: 0096189e-b3e3-e26e-2d55-711323ab2a5f
Version Independent ID: 50d5393d-2dac-869a-8ade-dc2fc3d7a4cf
Content: Manage SharePoint Online users and groups with Office 365 PowerShell
Content Source: Enterprise/powershell/manage-sharepoint-users-and-groups-with-powershell.md
Service: o365-administration
Product: unspecified
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

Thanks for the suggestion, Dean! We'll look into this.

@DeanGross Hi Dean, I am looking into this and have added it to my work items going forward. Thanks for letting us know this was needed. Joe


Deferred validation hitting multiple times

In many of my models I've a 'disabled' field, I need to validate if the record being disabled can be disabled (cheking if the record is referenced from some table in database).
As I've a "SuperController" from all my controllers inherits, I want to put the validation logic in this "SuperController" so it can be implemented once.
For this I'm registering a javascript code in my actionUpdate in "SuperController" and inside of this javascript I make an ajax request to "/current-controller-can-disable/";
This is my test code.
$('#tipos-de-relacionamentos-form').on('beforeValidate', function (event, messages, deferreds) {
    if($('#tiposderelacionamentos-desabilitado').prop('checked')){
        deferreds.add(function(def) {
              $.post("<?= \yii\helpers\Url::to(['can-disable']); ?>")
              .done(function(data) {
                     messages['tiposderelacionamentos-desabilitado'].push('Error message');
                     def.resolve();
            })
        });
  }
    return true;
});

References:
https://github.com/samdark/yii2-cookbook/blob/master/book/forms-activeform-js.md#custom-validation
https://github.com/yiisoft/yii2/blob/master/docs/guide/input-validation.md#deferred-validation-

In the form, the 'disabled' is a check box  and I validate it only in update and if it is checked.
The issue is that the validation works fine, the request is made and the form 'waits' the response before submiting.
If I check the checkbox, the validation show an error when the record can not be disabled, but when I uncheck the checkbox and hit submit, it submits the form twice.
In true, if I hit the submit two times with the checkbox checked the form is not submited but when I uncheck the checkbox the form is submited 3 times (and so on), so I think there is an issue with deferred validation.
Additional info

Q
A

Yii version
2.0.11-dev

PHP version
5.6.24

Operating system
Windows 10 ( Xampp )

Currently there are no tests for yii.activeForm.js. Hopefully I'll write it soon and such issues will be easier to detect. I will try to verify this issue.

Thank you @arogachev. I'm new to Yii and don't know where to investigate so let me know  if you need more info.

There is nothing wrong with Deferred validation. The issue was in an third party extension that I use for modal cruds:
            // Submit form when user clicks submit button
            $(modalFormSubmitBtn).click(function (e) {
                var data;

                // Test if browser supports FormData which handles uploads
                if (window.FormData) {
                    data = new FormData($(modalForm)[0]);
                } else {
                    // Fallback to serialize
                    data = $(modalForm).serializeArray();
                }
                $(modalForm).data('yiiActiveForm').submitting = true;
                $(modalForm).yiiActiveForm('validate');
                $(modalForm).on('submit', function (e) {
                    e.preventDefault();
                    instance.doRemote(
                        $(modalForm).attr('action'),
                        $(modalForm).hasAttr('method') ? $(modalForm).attr('method') : 'GET',
                        data
                    );
                });
            });

As the on('submit'...) is inside a click handler, i changed it to:
           [...]
                $(modalForm).off('submit.modalremote').on('submit.modalremote', function (e) {
           [...]
                });


Move contracts to src

Describe Changes
We are transitioning to Foundry which uses src as the default contracts directory so in an effort to be consistent with that project layout

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] Code styles have been enforced
[ ] All Hardhat tests are passing

I have made all the suggested changes. I am going to merge this because so I can cleanly create a new branch off of it


Landing: add links to diskCache, job, and security controllers

Added security to the HTML so that only users logged in with proper credentials can see the admin, diskCache, and security pages


Replace yarn run and yarn install with yarn, remove building with npm instructions

Replaced yarn run ... with yarn ...

From https://github.com/Khan/KaTeX/pull/1522#discussion_r205983374:
I thought only certain commands can pass through, but it seems every commands can pass through:

It’s also possible to leave out the run in this command, each script can be executed with its name.
Note that built-in cli commands will have preference over your scripts, so you shouldn’t always rely on this shortcut in other scripts.

One place where our script may clash with built-in commands is clean, but Yarn won't be using it: https://github.com/yarnpkg/yarn/issues/2438.

Replaced yarn install with yarn

Default Command
Running yarn with no command will run yarn install, passing through any provided flags.

Updated node.md: remove building with npm instructions, it's impossible to build without Yarn installed and for reproducible builds

@edemaine I removed the npm part from the Building from Source.


Adds option to disable date picker for given days in a  month

Adds option to disable datepicker for specific days for every month.
Example config
disabled: {
  daysOfMonth: [15, 16, 30]
}

Coverage increased (+0.008%) to 98.929% when pulling 48b776ae062b5fc8d066bd4b3701895102387db7 on cybrilla:master into bf34da4a726a8f175646fb8c76edde825c4346c5 on charliekassel:master.

Thank you - a nice addition 👍


[FEATURE] Placeholders in messages.yml

Is your feature request related to a problem? Please describe.
Can't use %betterTeams_tag% in chat.syntax in messages.yml
Describe the solution you'd like
The ability to use Better Teams placeholders (and possibly PAPI placeholders) in messages.yml
Describe alternatives you've considered
Instead of [%teamtag%] %player% > %message%, I just use [TEAM] %player% > %message% (TEAM doesn't parse to anything)

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Bump (to prevent automatic-closure)

Just tested this out and it seems to work fine. I believe this issue is already resolved. Messages.yml supports papi placeholders including betterteam's placeholders.
Related methods:
https://github.com/booksaw/BetterTeams/blob/a949af5371d6d2ce507b73eb45d02d66c1dc0e66/src/main/java/com/booksaw/betterTeams/Team.java#L1010-L1017 https://github.com/booksaw/BetterTeams/blob/a949af5371d6d2ce507b73eb45d02d66c1dc0e66/src/main/java/com/booksaw/betterTeams/message/MessageManager.java#L248-L259

Yes, I have checked the changelog and it seems to have been added. I am closing this issue, please feel free to either raise a new issue or reopen this one if you encounter any problems.


allow setting of disk cache mode

Small patch that allows to define a disks cache mode as documented here:
https://doc.opensuse.org/documentation/leap/virtualization/html/book.virt/cha.cachemodes.html

-> some FMT errors .. will resubmit.


Example API changes programmatic extension defintions

create interfaces for different extension points
ensure that extensions do not leak into core wiremock

References
#2553

Submitter checklist

[ ] Recommended: Join WireMock Slack to get any help in #help-contributing or a project-specific channel like #wiremock-java
[ ] The PR request is well described and justified, including the body and the references
[ ] The PR title represents the desired changelog entry
[ ] The repository's code style is followed (see the contributing guide)
[ ] Test coverage that demonstrates that the change works as expected
[ ] For new features, there's necessary documentation in this pull request or in a subsequent PR to wiremock.org

@tomakehurst I updated the PR. The proposed ParameterisedExtensionDefinition is in there but created specific implementations to ensure type safety: I want to prevent that an event listener definition is registered as matcher.
I'm working on a usage thereof in the state extension. Will link to it once it's in a presentable state..


fix header params print is not complete

New Pull Request Checklist

[ ] I have read the Documentation
[ ] I have searched for a similar pull request in the project and found none
[ ] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)
[ ] I have added the required tests to prove the fix/feature I am adding
[ ] I have updated the documentation (if necessary)
[ ] I have run the tests and they pass

This merge request fixes / refers to the following issues: ...
Pull Request Description
...
Fixes #556

if use StringBuffer append it was too many word, but print  method can not print complete.


Unable to remove labels

I am trying to remove the uuid label from our metrics.  It shows up as #1 in the High Cardinality report and I don't see the value in having it since it is a unique value and has no value in filtering.
I am using version 0.2.2 of the helm chart.
This is the configuration I am using.  I am adding the "foo/barx" label so I can validate that the new rules are being processed.
        metrics:
          extraRelabelingRules: |-
            rule {
              action = "replace"
              replacement = "bar9"
              target_label = "foo"
            }
            rule {
              action = "labeldrop"
              regex  = "uid"
            }

The metrics I see are like this:
kube_pod_status_phase {
  cluster="cloud-sandbox",
  foo="bar9",
  instance="k8s-monitoring-kube-state-metrics.monitoring.svc:8080",
  job="integrations/kubernetes/kube-state-metrics",
  namespace="argo-cd",
  phase="Failed",
  pod="argo-cd-argocd-application-controller-0",
  uid="60555d25-21d5-413a-a32c-91eb20622c7c"
}

That worked!  Thank you.

Yay! Glad that helped. I'll make an issue to better clarify the difference between extraRelabelingRules and extraMetricRelabelingRules in the values file and/or docs.


TestPathCommand and several others removed in PowerShell 7.2 SDK

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Using C# SDK, I updated Microsoft.PowerShell.Commands.Management from 7.1.5 to 7.2.1.
The SDK no longer has references to the following commands:

JoinPathCommand
TestPathCommand
GetChildItemCommand
GetItemCommand
SetItemCommand

If this was intentional, how should I be referencing these commands?
Expected behavior
I need to import the commands listed under steps to reproduce

Actual behavior
I can now longer use the commands listed under steps to reproduce

Error details
No response
Environment data
Key                       Value
---                       -----
PSVersion                 7.2.1
PSEdition                 Core
GitCommitId               7.2.1
OS                        Linux <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021
Platform                  Unix
PSCompatibleVersions      {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion      <IP_ADDRESS>
WSManStackVersion         3.0

Visuals
No response

Related - https://github.com/PowerShell/PowerShell/issues/16141

Further, if you try to include Microsoft.PowerShell.Commands.Management from NuGet you get the error:
Assembly 'Microsoft.PowerShell.Commands.Management' with identity 'Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Management.Automation' with identity 'System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

@SeeminglyScience
There are 2 problems:

Microsoft.PowerShell.SDK is missing an assembly reference to Microsoft.PowerShell.Commands.Management.dll, Microsoft.PowerShell.Commands.Diagnostics, Microsoft.PowerShell.Security, and Microsoft.WSMan.Management
Microsoft.PowerShell.Commands.Management references System.Management.Automation.dll <IP_ADDRESS> while Microsoft.PowerShell.SDK references <IP_ADDRESS>0

Personally, I don't really care about 2 because I only needed it due to the missing reference in Microsoft.PowerShell.SDK
Problem 1

I believe to fix it we need to the missing assemblies to the $supportedRefList array to this block of code:
https://github.com/PowerShell/PowerShell/blob/07175ae0ff8eb7306fe0b0fc7d19bdef4fbf2d67/tools/packaging/packaging.psm1#L2265-L2267
and also to
https://github.com/PowerShell/PowerShell/blob/07175ae0ff8eb7306fe0b0fc7d19bdef4fbf2d67/tools/packaging/packaging.psm1#L2456-L2460
Problem 2
If you are interested in also fixing the mismatch in problem 2, if you add a hintpath you can get Visual Studio to tell you more information about the issue:
Before
<ItemGroup>
    <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.1.5" />
    <PackageReference Include="Microsoft.PowerShell.Commands.Management" Version="7.1.5"/>
</ItemGroup>

After
<ItemGroup>
    <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.1.5" />
    <PackageReference Include="Microsoft.PowerShell.Commands.Management" Version="7.1.5">
      <GeneratePathProperty>True</GeneratePathProperty>
    </PackageReference>
  </ItemGroup>

  <ItemGroup>
    <Reference Include="Microsoft.PowerShell.Commands.Management">
<HintPath>$(PkgMicrosoft_powershell_commands_management)\runtimes\unix\lib\net6.0\Microsoft.PowerShell.Commands.Management.dll</HintPath>
    </Reference>
  </ItemGroup>

Found conflicts between different versions of "System.Management.Automation" that could not be resolved.
There was a conflict between "System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "System.Management.Automation, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35".
    "System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was chosen because it was primary and "System.Management.Automation, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" was not.
    References which depend on "System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [C:\Users\DKattan.IN\.nuget\packages\system.management.automation\7.3.0\ref\net7.0\System.Management.Automation.dll].
        C:\Users\DKattan.IN\.nuget\packages\system.management.automation\7.3.0\ref\net7.0\System.Management.Automation.dll
          Project file item includes which caused reference "C:\Users\DKattan.IN\.nuget\packages\system.management.automation\7.3.0\ref\net7.0\System.Management.Automation.dll".
            C:\Users\DKattan.IN\.nuget\packages\system.management.automation\7.3.0\ref\net7.0\System.Management.Automation.dll
    References which depend on "System.Management.Automation, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" [].
        C:\Users\DKattan.IN\.nuget\packages\microsoft.powershell.commands.management\7.3.0\runtimes\unix\lib\net7.0\Microsoft.PowerShell.Commands.Management.dll
          Project file item includes which caused reference "C:\Users\DKattan.IN\.nuget\packages\microsoft.powershell.commands.management\7.3.0\runtimes\unix\lib\net7.0\Microsoft.PowerShell.Commands.Management.dll".
            Microsoft.PowerShell.Commands.Management
1>CSC : error CS1705: Assembly 'Microsoft.PowerShell.Commands.Management' with identity 'Microsoft.PowerShell.Commands.Management, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'System.Management.Automation, Version=<IP_ADDRESS>0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Management.Automation' with identity 'System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
1>Done building project "TestPowerShell73Dependency2.csproj" -- FAILED.

@dkattan Could you please provide the full csproj? I would like to see the target framework.
If targeting NET6 -> use Microsoft.Powershell.SDK v 7.2.7
If targeting NET7 -> use Microsoft.Powershell.SDK v 7.3.0
v7.1.x is out of support and should not be used. Also, v7.0.x is out of support.

@dkattan Could you please provide the full csproj? I would like to see the target framework.
If targeting NET6 -> use Microsoft.Powershell.SDK v 7.2.7 If targeting NET7 -> use Microsoft.Powershell.SDK v 7.3.0
v7.1.x is out of support and should not be used. Also, v7.0.x is out of support.

TestPowerShell73Dependency2.zip
csproj
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.PowerShell.SDK" Version="7.3.0" />
  </ItemGroup>

</Project>

Program.cs
// See https://aka.ms/new-console-template for more information
using System.Management.Automation.Runspaces;

Console.WriteLine("Hello, World!");
var iss = InitialSessionState.CreateDefault2();
iss.Commands.Add(new SessionStateCmdletEntry("Resolve-Path", typeof(Microsoft.PowerShell.Commands.ResolvePathCommand), null));

@SeeminglyScience  I saw some work done in https://github.com/PowerShell/PowerShell/issues/18782 v7.4.0-preview.1 related to nuget packages, any chance we can get some traction on this? I just updated my test project to Microsoft.PowerShell.SDK v7.4.0-preview.1 and the problem persists.

Hey @adityapatwardhan  Any update on this?

@adityapatwardhan we are having this issue too. Any update?

This issue is not fixed yet. I am working on it and hopefully will be done soon. Thank you for your patience.

@adityapatwardhan  We are also seeing this issue. Any luck with a timeline on this?

Still an issue on 7.3.2, SDK is unusable

@SeeminglyScience  @adityapatwardhan @andschwa

@adityapatwardhan Can you look at my merge request and perhaps test it since you have access to the required DevOps environment? https://github.com/PowerShell/PowerShell/pull/19033

This PR should fix the problem: https://github.com/PowerShell/PowerShell/pull/19302
We plan to release the next PowerShell Preview with this change.

This PR should fix the problem: #19302
We plan to release the next PowerShell Preview with this change.

Yaaass. While you’re in there, any love for SourceLink or Debug symbols? 🥺

Not right now at least.  But maybe in a separate PR.

Not right now at least. But maybe in a separate PR.

Like perhaps this one you created 5 years ago?
https://github.com/PowerShell/PowerShell/issues/8184

@dkattan The Microsoft.PowerShell.SDK version v7.4.0-preview.2 will be available on NuGet.org in sometime. Could you please help validate that your scenario is fixed by that?

@dkattan The Microsoft.PowerShell.SDK version v7.4.0-preview.2 will be available on NuGet.org in sometime. Could you please help validate that your scenario is fixed by that?

I'm trying but I'm not yet seeing it in nuget.

@dkattan The Microsoft.PowerShell.SDK version v7.4.0-preview.2 will be available on NuGet.org in sometime. Could you please help validate that your scenario is fixed by that?

I'm trying but I'm not yet seeing it in nuget.

I found it, I didn't have the Include Prerelease box checked.
Evidently it requires .NET 8 which requires Visual Studio 2022 17.6 Preview. Got all that installed.
When I attempt to install Microsoft.PowerShell.SDK or Microsoft.PowerShell.Commands.Utility I get:
Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1102	Unable to find package Microsoft.CodeAnalysis.CSharp with version (>= 4.6.0-2.23152.6)
  - Found 142 version(s) in nuget.org [ Nearest version: 4.6.0-1.final ]
  - Found 0 version(s) in Microsoft Visual Studio Offline Packages	TestPowerShell73Dependency2	C:\Users\DKattan\source\repos\TestPowerShell73Dependency2\TestPowerShell73Dependency2\TestPowerShell73Dependency2.csproj	1

System.Management.Automation, Microsoft.PowerShell.Commands.Diagnostics and Microsoft.PowerShell.Commands.Management install fine.
Installing Microsoft.PowerShell.Commands.Management 7.4.0-preview.2 does solve the problem for TestPathCommand.

The was fixed by https://github.com/PowerShell/PowerShell/pull/19302 and should be available on the latest versions of v7.2, v7.3 and v7.4.0-preview.X
Please re-open if you still see the issue.

The was fixed by #19302 and should be available on the latest versions of v7.2, v7.3 and v7.4.0-preview.X
Please re-open if you still see the issue.

Nuget package microsoft.powershell.sdk 7.3.4 is including refs to 7.3.3 causing  my project to not build

This appears to be fixed in 7.4.0-preview.3 but we aren't on .net 8 yet, can we get this backported?

The was fixed by #19302 and should be available on the latest versions of v7.2, v7.3 and v7.4.0-preview.X
Please re-open if you still see the issue.

Nuget package microsoft.powershell.sdk 7.3.4 is including refs to 7.3.3 causing my project to not build

This appears to be fixed in 7.4.0-preview.3 but we aren't on .net 8 yet, can we get this backported?

Turns out the version mismatch was not actually causing a problem.
The full error was a BadImageFormatException from ReinforcedTypings
Reinforced.Typings : Assembly loading warning RT0014: Assembly Microsoft.PowerShell.Commands.Utility (from C:\Users\DKattan\.nuget\packages\microsoft.powershell.sdk\7.3.4\ref\net7.0\Microsoft.PowerShell.Commands.Utility.dll) failed to load: System.BadImageFormatException: Could not load file or assembly 'Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Reference assemblies cannot be loaded for execution. (0x80131058)

Reinforced.Typings : Unexpected error RT0999: Could not load file or assembly 'Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.

This was not preventing the build from working, simply preventing our TypeScript from being generated post build.
I believe this would have actually been an error in 7.4 had I actually upgraded our project.
ReinforcedTypings has some known issues with reference packages but I was able to workaround it by adding Microsoft.PowerShell.Commands.Utility and System.Management.Automation nuget packages to the project containing Reinforced Typings, generating path property to them and then referencing that in the ReinforcedTypings.Config.xml so it could find the unix/win (non-reference) assembly.
No action necessary.


Grav installation - Blank page despite sufficient permissions

There's 775 permission for all folders and files.
My PHP version is 5.6.21.
But I've blank page and I can't use shell script, because I've shared web hosting service without ssh access.
What should I do?
Thanks in advance.

Are you sure it's a blank page because of permissions? It could be any PHP error.  Have you checked the php error logs?

I have this error : ".htaccess : Invalid command 'Prevent', perhaps misspelled  or defined by a module not included in the server configuration.
What should I do ?

The only time Prevent is mentioned in the stock .htaccess is in the comments: https://github.com/getgrav/grav/blob/develop/.htaccess#L72 did you modify that?

Closing to due to inactivity


No preview whatsoever,

Describe the bug
I can't seem to see any of the preview of the code I tried to generate. I don't know much about coding myself on that matter so I might be missing something but it's still hard to generate something that doesn't appear in the end :/
I don't know if this bug report will help you but here is the link that I got when asking for the website to be deployed : https://leafy-entremet-6b9392.netlify.app (Nothing appears)
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-tuwhmu
Steps to reproduce
Click on Preview.
Blank appears.
Expected behavior
I expected for my example of a "portfolio website" to appear, at least traces of it even in a localhost set-up :)
Screen Recording / Screenshot
![image](https://github.com/user-attachments/assets/c9

0ed574-1e81-4ff2-85c8-0a6c2c3dfbac)
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 OPR/<IP_ADDRESS> (Edition std-1)
performance.memory = {
  "totalJSHeapSize": 60061225,
  "usedJSHeapSize": 53072821,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = PdB-GadfiZz
Chat ID = fa5266e5c5a0

Additional context
No response

Hi,
Could you set your Bolt project to "Secrete (accessible by URL)" by clicking the lock icon next to the project title so we can take a closer look? Thanks.


Modified the config.yml file for Welcome Bot

Fixes: #85
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.

@swapnilsparsh Please review and merge this pr.

@swapnilsparsh Please review and merge this pr.

@swapnilsparsh

Also, please update my points on the leaderboard

Also, please could you update my points on the leaderboard @swapnilsparsh .

It will get updated automatically after some time.


Installation Failure

Version of the custom_component
2.3.0

Configuration
None
Describe the bug
When trying to add the integration it fails with this error: Config flow could not be loaded: 400: Bad Request
I have had an old version of this integration installed and had tried to use it.  I had removed the integration.  I then upgraded the component in HACS to 2.3.0 and when I try to install the integration it fails.
Debug log
Nothing useful

Add your logs here.

Hello @kadaan ,
Thank you for your report. Because you are the only one reporting this issue, I guess there is something on your side which prevent the integration to load.
Is there something special in your environment haos ? Docker ? locale ? temperature units / metrics ?
Have you tried to remove the integration, reboot HA (to be sure all is clean) and then re-install ?
Can you put the integration in debug mode, try to restart the installation and send me the booting log until the message "Config flow could not be loaded: 400: Bad Request" ?
To put it into debug mode you have to add this line in your logger.yaml:

logs:
  custom_components.versatile_thermostat: debug

Please adapt to your configuration.

HOAS: No
Units: Fahrenheit, pounds
Home Assistant is running in Docker
These are the only logs:
2023-03-01 09:08:36.388 DEBUG (MainThread) [custom_components.versatile_thermostat.config_flow] CTOR BaseConfigFlow infos: {}

Uninstall, restart, HACS install, and integration install result in the same error with the single log line as listed above.

Strange. Very strange.
Can you check that you don't have any remaining configuration entries. This is in the file core.config_entries or core.entity_registry in your config repo of HA.
search for versatile_thermostat and remove the block if you find one.
This look like this in my home:
{
        "entry_id": "dcb48e2a03dbc60b562ccafae0bc2bb6",
        "version": 1,
        "domain": "versatile_thermostat",
        "title": "Thermostat musique",
        "data": {
          "name": "Thermostat musique",
          "heater_entity_id": "switch.radiateur_musique",
          "temperature_sensor_entity_id": "sensor.temperature_musique",
          "cycle_min": 7,
          "proportional_function": "tpi",
          "proportional_bias": 0.25,
          "eco_temp": 15.0,
          "away_temp": 15.0,
          "boost_temp": 20.0,
          "comfort_temp": 19.0,
          "power_temp": 12.0,
          "window_delay": 30,
          "motion_delay": 30,
          "motion_preset": "comfort",
          "no_motion_preset": "eco",
          "power_sensor_entity_id": "sensor.total_puissance_instantanee",
          "max_power_sensor_entity_id": "input_number.chauffage_puissance_delestage",
          "device_power": 2.0,
          "external_temperature_sensor_entity_id": "sensor.meteo_beynes_temperature",
          "tpi_coefc": 0.6,
          "tpi_coeft": 0.04,
          "presence_sensor_entity_id": "binary_sensor.maison_occupee",
          "no_presence_preset": "away",
          "tpi_coef_int": 0.4,
          "tpi_coef_ext": 0.05,
          "eco_away_temp": 12.0,
          "boost_away_temp": 17.0,
          "comfort_away_temp": 16.0,
          "temp_min": 12.0,
          "temp_max": 25.0,
          "minimal_activation_delay": 10,
          "security_delay_min": 60
        },
        "options": {},
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": null,
        "disabled_by": null
      },

I will try with your config Fahrenheit, pounds to see if it related. I have added the fahrenheit support before last week.

Cool, let me know!

Hello, I test in my test env with your configuration:

And I can create new VersatileThermostat without trouble:

The newly created thermostat have the right configuration:

I cannot reproduce your issue. Very sorry for that.
May be you can send me some screenshot so that I will be able your process and maybe something will alert me.

I added a log line before each block in the config flow and it fails to log anything after https://github.com/jmcollin78/versatile_thermostat/blob/6e40a152627fd78d7d1bd58e201a7d1226777d42/custom_components/versatile_thermostat/config_flow.py#L183

This is the error:
2023-03-07 10:02:08.054 DEBUG (MainThread) [custom_components.versatile_thermostat.config_flow] 6: extra keys not allowed @ data['translation_key']

Oh fine. I will have a look with this error.

This Line is correct. Have you a recent Home assistant installation ? If not i Guess you should do an update

Update of Home Assistant fixed it.  Thanks!


Add -ContentType Parameter, helps #386

Description of the Change
This PR adds a ContentType parameter to Set-PodeResponseAttachment.
I initially wanted to validate the input based on a full set of valid options... but there's way more than is tidy/practical to include.
Instead I've used a regex pattern to make sure it matches the format of "category/type". When this check fails the output isn't pretty, a follow up PR could be to move this over to ValidateScript with a nicer custom error message.
Related Issue
#386
Examples
Set-PodeResponseAttachment -Path './data.txt' -ContentType 'application/json'

This command specifies that the content stored in data.txt should be considered as JSON data rather than plain text.

There are indeed a lot of content types! Going for the regex was a good idea.
The error message is OK; but agreed it can be changed in a separate PR to something more descriptive.

Awesome thanks for the quick review @Badgerati! Changes have been made. Escaped both the + and the . and added the beginning and end anchors.

All looks good, I'll get this merged; thanks!


How is help text added to function aliases?

With
dx -r1 Debugger.State.FunctionAliases

I get
    dflow            [!dflow [<address>]
Shows the instructions of the function containing [<address>] which influence the source operands of that instruction.]
    dis              [!dis [<address>]
Disassembles instructions starting at [<address>] using the data model disassembler.]
    printExceptionStack        <- my function

When registering my own function, it only shows the name of the function.
How can I add help texts?
Regards
Windbg Preview
Debugger client version: 1.2202.7001.0
Debugger engine version: 10.0.22549.1000

The commands descriptions come from the extension gallery manifest.
For example, we have this in the manifest file amd64\OptionalExtensions\DbgModelApiXtn_GalleryManifest.xml:
        <ScriptComponent Name="CodeFlow" Type="Engine" File=".\CodeFlow.js">
            <FunctionAliases>
                <FunctionAlias Name="dflow">
                    <AliasItem>
                        <Syntax>
                            <![CDATA[!dflow [<address>]]]>
                        </Syntax>
                        <Description>
                            <![CDATA[Shows the instructions of the function containing [<address>] which influence the source operands of that instruction.]]>
                        </Description>
                    </AliasItem>
                </FunctionAlias>
                <FunctionAlias Name="dis">
                    <AliasItem>
                        <Syntax>
                            <![CDATA[!dis [<address>]]]>
                        </Syntax>
                        <Description>
                            <![CDATA[Disassembles instructions starting at [<address>] using the data model disassembler.]]>
                        </Description>
                    </AliasItem>
                </FunctionAlias>


function compareFiles issue

After phantomjs upgrading (2.0) function compareFiles doesn't compare my .png files.
I also tried to run demo test and i get an uncaughtError:
FAIL TypeError: Attempted to assign to readonly property.
type: uncaughtError
file: demo/testsuite.js:1966
error: Attempted to assign to readonly property.
at
at
at
at
at
at
at [native code]
at
at demo/testsuite.js:93:19
at
stack: not provided
After downgrade of phantomjs to 1.9.8 everything works ok. Since we have a lot of flexbox css on our pages, version 2.0 is needed to make screenshots, otherwise they are almost empty... I'd really appreciate help here..
BR, Damir

I'm holding back on PhantomJS 2 support until 2.1, partly because I don't have the time right now.  I'll accept a PR of course.

I think this is solution: https://github.com/Huddle/PhantomCSS/pull/148


Refactor To Guard Against Memory High Water Mark

Refactor the SubProcess class to actually use threading instead of subprocesses.  Then run each invocation of the scheduled function in its own process.  This will force python to release memory to OS after each run of the scheduled function.

Went a different route, but high watermark avoidance now implemented.


Milestone 4 Todo List

[x] 1. Github issues: TA's feedback & Peer feedback (Elina)

[x] 2. Playing around with histograms: overlaying historgrams, density, & outline aesthetic (Ela)

[x] 3. reflection-milestone4.md (Ela, Rachel)

[x] 4. Docstrings (Ela, Elina, Lu)

[x] 5. canvas-submission.html: Release & Auto-deployed Heroku PR (Rachel)

Link to the milestone 4 requirement:
https://github.ubc.ca/MDS-2020-21/DSCI_532_viz-2_students/blob/master/release/milestone4/milestone4.md

Done all action items.


Feature request: Reexport compatibility

Awesome package!
Feature request: I'm not sure this is even possible (and it's not a big deal either way) but I wonder if @reexport could be skipped over? Right now the following code
module MyLibrary
@reexport import .MyInternalModule: foo
...
end

will flag foo as a stale explicit import even though foo is exported.

interesting, we currently rely on parsing the raw export foo statements to notice that foo is being used. I think we could detect exports programmatically (via names + Base.isexported) and automatically mark them as non-stale.

That sounds good to me. If it makes things simpler I think it's probably fine to just add special behavior for @reexport. I don't know of any other tools which perform an export via a macro so the general case might not be worth it.

special casing would be harder actually, since that involves modifying the hairy parsing stuff. Doing it at the dynamic level is a lot easier in fact

Awesome, that was fast!! 😃


Return object from dart function

How can we return object from dart functions to hetu script and then use it's returned value from hetu, something like LuaValue of Luaj lib.

Just return the value from Dart within the external functions.
I modified the example to show you how to get a value/object from dart:
import 'package:hetu_script/hetu_script.dart';

void main() async {
  var hetu = await Hetu.init(externalFunctions: {
    'dartHello': (HT_Instance instance, List<dynamic> args) {
      return {'dartValue': 'hello'};
    },
  });
  hetu.eval(
      'external fun dartHello\n'
      'proc main {\n'
      '  var dartValue = dartHello()\n'
      '  print(typeof(dartValue))'
      '  print(dartValue)'
      '\n}',
      invokeFunc: 'main');
}

Thank you for reply, it's all my need now.
In the second snippet, could you explain more how to pass pointer a instance of class to Hetu.
With Luaj, I could use something like this to coerce a Java type to LuaValue, and could use public members of that object.
Globals globals = JsePlatform.standardGlobals();    globals.set("image", CoerceJavaToLua.coerce(         new BufferedImage(30,40,BufferedImage.TYPE_INT_RGB))); LuaValue chunk = globals.load(         "print(image:getWidth(), image:getHeight());");
With Hetu script, if I want to expose some method of a userapi, I could use externalFunctions, ex:
var hetu = await Hetu.init(externalFunctions: {     'userapi_method1': (HT_Instance instance, List<dynamic> args) {       ...     },  'userapi_method2': (HT_Instance instance, List<dynamic> args) {       ...     },   });
It's very helpful if we could expose object with externalFunctions, I could return object from the code like this and call public members of returned object.
var hetu = await Hetu.init(externalFunctions: {     'get_user': (HT_Instance instance, List<dynamic> args) {       ...     }   });

If you omit the type annotation in Hetu, you get an object of dynamic type, which can be assigned with any value (even an unknown object from Dart).
And you can declare external functions globally or within a class.
In fact, Hetu's core right now is just a wrapper above Dart, for example, the List in Hetu is a List Object of Dart.
class List extends Value {

	external get length: num

	get isEmpty: bool {
		return length == 0
	}

	get isNotEmpty: bool {
		return length != 0
	}

	get first: any {
    if (length > 0){
      return elementAt(0)
    }
	}

	get last: any {
    if (length > 0){
      return elementAt(length - 1)
    }
  }

	fun contains(value): bool {
		return indexOf(value) != -1
	}

	external fun add(... args)

	external fun clear()

	external fun removeAt(index: num)

	external fun indexOf(value): num

	external fun elementAt(index: num): any
}

You can check Hetu's library in the 'hetu_lib' folder, which is basically how to wrap Dart object and use them in Hetu.
As you can see, Hetu is very simple, It's just for learning purpose, It's not an efficient language VM like lua right now. It is usable only if you don't have any heavy tasks with performance requirements.

Thank you for your code, I think now I could try to porting my simple android crawler app currenly used Lua to define rules when parsing html.

Thank you for your code, I think now I could try to porting my simple android crawler app currenly used Lua to define rules when parsing html.

There are some bugs in the current source, I have fixed them, but you might need git pull.

Hello,
How to register custom class like List or Map, I've read and follow the code from repo, but I didn't understand much.
Could you please review my code, I could not instance HTVal_User class, so when I run the code, I get:
null, null
import 'package:hetu_script/hetu_script.dart';
import 'package:hetu_script/src/lexicon.dart';

void main() async {
  var hetu = await Hetu.init(externalFunctions: {
    'dartHello': (HT_Instance instance, List<dynamic> args) {
      return {'dartValue': 'hello'};
    },
    ...MyBaseBinding.dartFunctions
  });

  for (final file in myCoreLibs.keys) {
    hetu.eval(myCoreLibs[file], fileName: file);
  }

  hetu.evalf("./test/user.ht", invokeFunc: 'main');
}

// dart class wanted to expose to hetu script
class User {
  String _time;

  User() {
    _time = DateTime.now().toIso8601String();
  }

  String getTime() {
    return _time;
  }
}

// binding
class MyBaseBinding {
  static Map<String, HT_External> dartFunctions = {
    'User.getTime': HTVal_User._getTime
  };
}

final Map<String, String> myCoreLibs = const {
  'user.ht': r'''class User extends Value {
    external fun getTime(): any
  }'''
};

class HTVal_User extends HTVal_Value {
  String valueType;

  HTVal_User(User value, int line, int column, Interpreter interpreter,
      {this.valueType})
      : super(value, HT_Lexicon.CLASS, line, column, interpreter) {
    valueType ??= HT_Lexicon.ANY;
  }

  static dynamic _getTime(HT_Instance instance, List<dynamic> args) {
    var userObj = (instance as HTVal_User);
    User user = userObj?.value;

    return user?.getTime();
  }
}

hetu script file user.ht
proc main {
  var user = User()
  print(user.getTime())

  var user2 = User()
  print(user2.getTime())
}


Added the code to fetch the assigned doctor's information from the da…

…tabase.

@hodansh Hi Hoda, I will close this pull request because I just created a Redux Store which sends requests to the database to access the assigned Doctor's info (from Client-app) and saves those info to the store so that we can use it in any component we wish (via 'Selectors').
I also updated the <DoctorInfo /> component. For all the previously hardcoded values, I added [hardcoded] string in front of it so that we know the values are hardcoded (because we don't have that many details so show about the doctor right now).


Google-map does not update tiles while touch-dragging

When dragging the map via touch gestures, no new tiles get loaded until the touchEnd event occures.
Reproduction: Emulate a touch enabled device within Chrome Dev-Tools and drag the map. This is is major bummer if this component gets used within cordova wrapped mobile applications.
Also see http://stackoverflow.com/questions/22403890/google-maps-does-not-update-tiles-while-dragging

Does this real device problem?
Or just device emulator within chrome?

Yes, AFAIK it's the same handling on all touch devices (ios and android), as it's the default handling of the google maps JavaScript API on touch devices (potentially to prevent heavy data loading on mobile?)
However, it would be cool if your component would provide a way to workaround this (e.g. by forcing a redraw on touchdrag - configurable via a prop - through one of those fixes mentioned in the above stackoverflow thread).

Read this https://github.com/istarkov/google-map-react/issues/31
You can access to google map instance and do all what you want.

Ah ok, I thought we should continue to treat the real maps instance as internal and not use it directly. Good to know that this won't break in future releases.
Great, I'll answer back as soon as I have a proper solution.

It look's like this feature will break in future releases.
But it will looks like const inst = await ref.getGoogleMapInstace();

https://github.com/istarkov/google-map-react#ongoogleapiloaded-func


frontend design for precompiles

Previously, we use layered circuit built from gates like mul3 / mul2 / add / add_const as the abstraction / frontend to program keccak circuit. This abstraction (defined in a line of works on GKR) is not efficient as we expected.
In this issue, we want to extract out ideas in the prototype made by @spherel in https://github.com/scroll-tech/ceno/tree/new-gkr-keccak so as to allow us write other precompiles in a easy way.

Please provide some context and elaborate what's supposed to be done for this issue.

Added. ☝


change crystfel parser stddev key to 'SigI'

Codecov Report

Merging #91 (853a966) into main (19aab86) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 853a966 differs from pull request most recent head f1e207c. Consider uploading reports for the commit f1e207c to get more accurate results

@@           Coverage Diff           @@
##             main      #91   +/-   ##
=======================================
  Coverage   98.87%   98.87%
=======================================
  Files          40       40
  Lines        1514     1514
=======================================
  Hits         1497     1497
  Misses         17       17

Flag
Coverage Δ

unittests
98.87% <ø> (ø)

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

Impacted Files
Coverage Δ

reciprocalspaceship/io/crystfel.py
94.77% <ø> (ø)

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 19aab86...f1e207c. Read the comment docs.


AMBARI-23017. [PERF] Deployment of PERF stack leads to Out of Sync (a…

What changes were proposed in this pull request?
Add PU related changes for versionAdvertisement to work.
How was this patch tested?
e2e deploy of perf stack

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/678/
Test FAILed.
Test FAILured.

recheck rerun retest

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/687/
Test FAILed.
Test FAILured.

builds are failing in ambari-web module. Other modules were successful. So definitely not something related to this patch.


fix: fix slice init length

The intention here should be to initialize a slice with a capacity of  len(aiLogs)  rather than initializing the len(units) of this slice.
The online demo: https://go.dev/play/p/q1BcVCmvidW

This change is

@wangjingcun Thanks for the fix.


Episema Editing

Add in the functionality to add in episemas on neumes that have already been inserted

Fixed in f8f131d

Just realized that toggling the episemas does not save to the MEI file. Will fix this.

Looking at the MEI files, there may be an even deeper issue in which the episemas are not being deleted properly when notes are being deleted. It seems that the   and  tags are being deleted, but there are a lot of floating episema files. The entire saving/loading/deleting code of episemas will need to be thoroughly checked to ensure proper functionality.

fixed in 03f1deb


Broken links

A bunch of the job links for CDAs are broken, please fix.

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

ID: 94615642-7eb7-83dd-52f1-ef6b78c687cf
Version Independent ID: 69e13745-a61d-9309-96b8-c102d01a70ec
Content: Join our team and make the world better for developers!
Content Source: teamblog/awesome-jobs.md
Product: team-blog
GitHub Login: @jeffsand
Microsoft Alias: jeffsand

There is an outstanding PR for this - thanks for the feedback @shehackspurple

This has now been fixed, thank you for the feedback!


"latest" command with no versions causes panic

If the changie latest command is run in a project that contains no versions, the command panics.
reproduction:
tmp=$(mktemp -d) && cd $tmp && changie init && changie latest; rm -rf $tmp

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/miniscruff/changie/cmd.latestPipeline(0x7bb040, 0x9a74d0, 0x74f6ab, 0x4, 0x74f64b, 0x4)
	/home/user/src/go/src/github.com/miniscruff/changie/cmd/latest.go:84 +0x785
github.com/miniscruff/changie/cmd.runLatest(0x971600, 0x9a74d0, 0x0, 0x0, 0x0, 0x0)
	/home/user/src/go/src/github.com/miniscruff/changie/cmd/latest.go:40 +0x3d
github.com/spf13/cobra.(*Command).execute(0x971600, 0x9a74d0, 0x0, 0x0, 0x971600, 0x9a74d0)
	/home/user/src/go/src/github.com/spf13/cobra/command.go:850 +0x47c
github.com/spf13/cobra.(*Command).ExecuteC(0x971de0, 0x74f1a1, 0x1, 0x74f410)
	/home/user/src/go/src/github.com/spf13/cobra/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
	/home/user/src/go/src/github.com/spf13/cobra/command.go:895
github.com/miniscruff/changie/cmd.Execute(...)
	/home/user/src/go/src/github.com/miniscruff/changie/cmd/root.go:19
main.main()
	/home/user/src/go/src/github.com/miniscruff/changie/main.go:14 +0x9d

Oh, yea it seems I need a len(...) > 0 check.
However, that brings up another question, what should latest output when you have no releases?
Would you expect an empty string, a generic output like "no-release", maybe "v0.0.0"?

I'm not yet sure what I would expect as the output since I wasn't able to see what a normal output would be with existing releases. I was just starting to explore the interface. Is latest expected to be used programatically to capture the output and use the release version string? If so, I guess "v0.0.0". Otherwise I might expect either no output or something like "unreleased".

Yea it is aimed at storing the latest release for other commands, for example if you are using goreleaser. Changie uses it in the release workflow here https://github.com/miniscruff/changie/blob/main/.github/workflows/release.yml#L22.


[Enhancement] Pipeline placement

Parameters: p=step_attn, q=step_exp
Let Attn_i and Expert_j be the attention for layer i and all experts for layer j respectively.
First we get virtual mapping:
V_0:        [Attn_0, Attn_p, Attn_{2p}, ...]
V_1:        [Attn_1, Attn_{p+1}, Attn_{2p+1}, ...]
...
V_{p-1}:    [Attn_{p-1}, Attn_{2p-1}, Attn_{3p-1}, ...]

V_p:        [Expert_0, Expert_q, Expert_{2q}, ...]
V_{p+1}:    [Expert_1, Expert_{q+1}, Expert_{2q+1}, ...]
...
V_{p+q-1}:  [Expert_{q-1}, Expert_{2q-1}, Expert_{3q-1}, ...]

For each virtual group V_k, we use TP or EP inside the group.
Then we have:
[V_0, V_{p-1}] -> [G_0, G_{p * TP_SIZE - 1}]
[V_p, V_{p+q-1}] -> [G_{p * TP_SIZE}, G_{p * TP_SIZE + q * EP_SIZE - 1}]
where G_i indicates the actual GPU with id i.
Ideally, we still need a further physical mapping to minimize cross-node communication.

#24

Now support get_model_placement(model_config, cluster_config, "pipeline", step_attn=4, step_expert=1, zigzag_attn=True), where zigzag_attn=True or False, step_attn>=1.
I have only tested step_expert=1, don't know if any errors might happen when step_expert>1.

Closed by #25


gccgo: git-lfs doesn't build with due to unsupported _C_int

Another Go package which doesn't build with gccgo is git-lfs:
golang.org/x/net/context
github.com/davecgh/go-spew/spew
github.com/spf13/pflag
golang.org/x/sys/unix
# github.com/kr/pty
src/github.com/kr/pty/pty_linux.go:39:8: error: use of undefined type ‘_C_uint’
  var n _C_uint
        ^
src/github.com/kr/pty/pty_linux.go:48:8: error: use of undefined type ‘_C_int’
  var u _C_int
        ^
github.com/git-lfs/git-lfs/t/cmd
github.com/git-lfs/gitobj/pack
github.com/git-lfs/gitobj/storage
golang.org/x/sync/semaphore
github.com/ThomsonReutersEikon/go-ntlm/ntlm
github.com/git-lfs/git-lfs/errors
github.com/git-lfs/git-lfs/filepathfilter
github.com/git-lfs/gitobj
github.com/stretchr/testify/assert

Full log at: https://buildd.debian.org/status/fetch.php?pkg=git-lfs&arch=sparc64&ver=2.8.0-1&stamp=1564065645&raw=0
CC @ianlancetaylor

That's a bug in the github.com/kr/pty package.  Writing _C_int used to work with cgo, but that was a mistake.  The documented and only supported approach is to write C.int.

Does it mean it will also fail with a current version of Google's Go compiler?

Yes, I believe it will.

Okay, good. This means that the git-lfs maintainers will notice this bug at some point ;).
Thanks for the quick feedback!

I don't see the relevant file in github.com/kr/pty so I'm assuming it's redirecting to github.com/creack/pty where it's not a cgo type. It's defined in files like https://github.com/creack/pty/blob/master/ztypes_amd64.go
package pty

type (
	_C_int  int32
	_C_uint uint32
)


Allow to disable automatically sending PING acks.

Motivation:
There are situations where the user may want to be more flexible when to send the PING acks for various reasons or be able to attach a listener to the future that is used for the ping ack. To be able to do so we should allow to manage the acks manually.
Modifications:

Add constructor to DefaultHttp2ConnectionDecoder that allows to disable the automatically sending of ping acks (default is to send automatically to not break users)
Add methods to AbstractHttp2ConnectionHandlerBuilder (and sub-classes) to either enable ot disable auto acks for pings
Add unit test

Result:
More flexible way of handling acks.

This only question about this is if we also need to somehow ensure we ack back in the same order or if its the responsibility to do... I mean I can even not find it really called in the RFC that it needs to be in the same order but I would expect that a lot of implementations may break if it is not the same order..
/cc @ejona86 @Scottmitch @carl-mastrangelo
So for example what we could do is have a queue with longs and on each ping ack verify that the payload is the same as for the ping and if not fail the write or tear down the connection with a connection error.

After thinking more about this (and talking with @ejona86) I think it should just be the users responsibility to ensure correct ordering :)

@ejona86 want to take a look as well ?

Yeah, I'll take a look.


Do not run on client

Hello!
Is there a option to don't run on client?

Can you provide an example of the behavior you're looking for? If you don't want to render updates on the client... don't send any updated props to your <Helmet/> instance.


Add tables interpretation

Add tables to MarkdownToHtmlConverter.

First implementation done
some case must be fixed, Issue will be closed when 100% finished


Multiple fixes

Fixed additive message combination (where m1 would have itself and m2 would have m1 and m2, etc)
Fixed memory leaks surrounding use of net/http.Client
Pulled client into struct and separate method for client.Do to avoid websocket PING/PONG being blocked until timeout
Added a flag to let LogMessages be parsed as JSON and ingested in LogInsight as fields if desired (INSIGHT_HAS_JSON_LOG_MSG env var or --insight-has-json-log-msg flag)

Testing:
Ran in lab for 18 hours with 8.9 million events (all types), with no heap growth or app crashes.

Thanks! @jghiloni @dustinruehle


python310Packages.aioazuredevops: 1.3.5 -> 1.4.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.aioazuredevops is: "Get data from the Azure DevOps API"
meta.homepage for python310Packages.aioazuredevops is: "https://github.com/timmo001/aioazuredevops"
meta.changelog for python310Packages.aioazuredevops is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
Warning: no invocation of /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3/bin/aioazuredevops had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3/bin/.aioazuredevops-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 1.4.3 with grep in /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3
found 1.4.3 in filename of file in /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.azure_devops
python310Packages.aioazuredevops
python39Packages.aioazuredevops

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.aioazuredevops https://github.com/r-ryantm/nixpkgs/archive/a54974664d30444dd9fa253710667f8c92ad9439.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3
ls -la /nix/store/94rpw0k91bs0i1jw9c4flnwn7fidvbhb-python3.10-aioazuredevops-1.4.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.azure_devops
python310Packages.aioazuredevops
python39Packages.aioazuredevops

Maintainer pings
cc @dotlambda for testing.

Result of nixpkgs-review pr 161009 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.azure_devops
python310Packages.aioazuredevops
python39Packages.aioazuredevops


Question: How to perform inference from sensor_msgs/msg/PointCloud2 messages

I'm trying to perform inference with sensor_msgs/msg/PointCloud2 messages with the following structure:
---
header:
  stamp:
    sec:<PHONE_NUMBER>
    nanosec: 532001792
  frame_id: lidar_front
height: 1
width: 4314
fields:
- name: x
  offset: 0
  datatype: 7
  count: 1
- name: y
  offset: 4
  datatype: 7
  count: 1
- name: z
  offset: 8
  datatype: 7
  count: 1
- name: intensity
  offset: 16
  datatype: 2
  count: 1
- name: timestamp
  offset: 24
  datatype: 8
  count: 1
is_bigendian: false
point_step: 32
row_step: 138048
data: [41, 80, 35, 65, 251, 212, 240, 183, 63, 95, 230, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 148, 252, 34, 65, 54, 27, 54, 190, 62, 242, 229, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 168, 34, 65, 194, 198, 181, 190, 142, 150, 229, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 226, 89, 34, 65, 144, 36, 8, 191, 80, 84, 229, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '...']
is_dense: true

If I converted this into the same point cloud format that pcdet expects, would this be enough to perform inference and generate 3D bounding boxes?  Any examples or pointers?

not enough. As kitti dataset is a little different from other dataset like nuscense, waymo, kitti's 3d label is in camera coordinate, and the anchor is configured according to kitti dataset.
so you need to pay attention to following things:
1. let's kitti dataloader to load your data(easy)
2. when using output bounding boxs, you should plus height/2 in box's center in height dim(related to kitti dataset).

Your PointCloud2 message format is an ordered point cloud. You can use pcl::fromROSMsg  and pcl_conversions to convert the point cloud into a list of points in format XYZIR like the KITTI dataset.

You can use ros_numpy to transform the PointCloud2 ROS message into a NumPy array, then convert the array into the format that PCDet expects (according to __getitem__ function in pcdet/datasets/kitti/kitti_dataset.py). If you want boxes in LiDAR coordinate for evaluation, you can modify the generate_prediction_dict function which will be called after the model inference.

refer this PR:
https://github.com/open-mmlab/OpenPCDet/pull/193


Create Game Controller

Q
A

Is bugfix?
Yes/No

New feature?
Yes/No

Fixed issues
Fixes # if any

Optional description...

Review Requested !


[POLL] New default release name

I'm thinking to move to more readable release name format:
releases/2016_11_05_08:49:20

Instead of
releases/20161105084920

What @deployphp/maintainer are you think?
Perhaps, it will not work on Windows.
Also there is another approach of using incremental releases name:
...
releases/255
releases/256

Vote for new release name in v4

What about one more option to vote? :)
20161105_084920

Please keep windows compatibility a priority.

Will keep. v4 comes with native ssh support.

Also looks like what incremental dir name a winning.

New v4 will come with incremental naming 🏆


How to remove the alert icon in the LCD gauge?

I am using the LCD gauge, but I have not found in the docs how to remove the alert icon:

I thought it was thresholdVisible, but does not seem to be it.

Fixed the bug with latest commit


libvirt: deploy kbs for libvirt provider in e2e test

Fixes: #1777

Install k8s cluster and enable libvirt provider in this cluster
Create a file /root/libvirt.properties like

# cat /root/libvirt.properties
CLUSTER_NAME = "peer-pods"
KBS_IMAGE = "ghcr.io/confidential-containers/key-broker-service"
KBS_IMAGE_TAG = "v0.8.2"

Clone trustee repo

cd cloud-api-adaptor/src/cloud-api-adaptor/test/e2e
git clone https://github.com/confidential-containers/trustee.git

Run e2e test

cd cloud-api-adaptor/src/cloud-api-adaptor
export TEST_PROVISION_FILE="/root/libvirt.properties"
export CLOUD_PROVIDER=libvirt
export DEPLOY_KBS=true
export TEST_INSTALL_CAA=no
export TEST_TEARDOWN=no
make test-e2e

Check KBS pod

# kubectl get po -A |grep kbs
coco-tenant                      kbs-6f58d6dc94-xj9z8                               1/1     Running      0               12m

e2e test logs

# make test-e2e
go test -v -tags=libvirt -timeout 60m -count=1 ./test/e2e
time="2024-04-08T01:22:37Z" level=info msg="Do setup"
time="2024-04-08T01:22:37Z" level=info msg="Deploying kbs"
time="2024-04-08T01:22:37Z" level=info msg="creating key.bin"
/root/src/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor/test/e2e
time="2024-04-08T01:22:37Z" level=info msg="Creating kbs install overlay"
time="2024-04-08T01:22:37Z" level=info msg="Customize the overlay yaml file"
time="2024-04-08T01:22:37Z" level=info msg="Updating kbs image with \"ghcr.io/confidential-containers/key-broker-service\""
time="2024-04-08T01:22:37Z" level=info msg="Updating kbs image tag with \"v0.8.2\""
time="2024-04-08T01:22:37Z" level=info msg="Creating kbs install overlay"
time="2024-04-08T01:22:37Z" level=info msg="Install Kbs"
Pod IP:
time="2024-04-08T01:22:37Z" level=info msg="KBS PARAMScc_kbc::http://:8080:"
time="2024-04-08T01:22:37Z" level=info msg="Creating namespace 'coco-pp-e2e-test-3e99118f'..."
time="2024-04-08T01:22:37Z" level=info msg="Wait for namespace 'coco-pp-e2e-test-3e99118f' be ready..."
time="2024-04-08T01:22:44Z" level=info msg="Wait for default serviceaccount in namespace 'coco-pp-e2e-test-3e99118f'..."
time="2024-04-08T01:22:44Z" level=info msg="default serviceAccount exists, namespace 'coco-pp-e2e-test-3e99118f' is ready for use"
=== RUN   TestLibvirtCreateSimplePod
=== RUN   TestLibvirtCreateSimplePod/SimplePeerPod_test
    assessment_runner.go:259: Waiting for containers in pod: simple-test are ready
=== RUN   TestLibvirtCreateSimplePod/SimplePeerPod_test/PodVM_is_created
time="2024-04-08T01:23:24Z" level=info msg="Deleting pod simple-test..."
time="2024-04-08T01:23:29Z" level=info msg="Pod simple-test has been successfully deleted within 60s"
--- PASS: TestLibvirtCreateSimplePod (45.70s)
    --- PASS: TestLibvirtCreateSimplePod/SimplePeerPod_test (45.70s)
        --- PASS: TestLibvirtCreateSimplePod/SimplePeerPod_test/PodVM_is_created (0.00s)
=== RUN   TestLibvirtCreateSimplePodWithNydusAnnotation
=== RUN   TestLibvirtCreateSimplePodWithNydusAnnotation/SimplePeerPod_test
...

The code looks reasonable and the instructions and output you've provided seem to work. I do wonder if we need to document them (noteable where to check out trustee to and the DEPLOY_KBS flag and options) in the e2e README, but I appreciate that you didn't add these, so I'm not sure if should block this PR.

Thanks @stevenhorsman , We still have some gaps to provide a e2e guide besides deploying KBS, I'll add the guide when have the TEE enabled pod running.


wrong average mass for CHEBI:17403

For CHEBI:17403 (3-chloro-L-alanine) a mass of 123.009 is annotated whereas for its tautomere CHEBI:66916 (alanine zwitterion) a mass of 123.53800 is annotated. enviPat calculates an average mass of 123.5379 from the molecular formula which seems acceptable similar to the zwitterion mass but not to the first one.

This looks to me to be a developer issue.
For C3H6ClNO2, ACD chemsketch gives values of:
123.5382 for the average mass and
123.008706 for the monoisotopic mass
The Mol Wt on CHEBI:17403 has been calculated using whatever Ketcher/Indigo structures now use and it is wrong (123.009).
This is the monoisotopic weight, NOT the molecular weight
In contrast, CHEBI:58123, which has the same formula and was produced with ChemAxon, has a displayed molecular weight of 123.53800 (which is correct).

@bitbarbie, Sorry for the delay, but its fixed now.


jobs.max permissions appear broken in the latest update

Description of issue:
We have ranks that provide user's with the ability to join additional jobs. The default rank gets 1 job (jobs.max.1), a rankup down the line gives 2 jobs (jobs.max.2), another rankup down the line gives 3 jobs (jobs.max.3). Higher ranks on this track inherit from previous ranks.
A rank on a separate track provides 4 jobs.
We recently updated to 1.16.3, and updated jobs to 4.16.1. Before updating, these permission nodes would just apply a flat permission that only allowed the user to join as many jobs as their highest jobs.max permission was. Now however it seems to be adding permissions together, or something along those lines. A user with all 4 permissions from their ranks (jobs.max.1, jobs.max.2, jobs.max.3, and jobs.max.4) was able to join 10 jobs instead of 4 as it was before, as if the permissions are adding together. Trying to set jobs.max.[x] permissions as false permissions just seems to allow users to join as many jobs as they like. This does not seem like intentional behaviour as I've not seen it written anywhere that permissions were changed to act this way, and I've seen others report on the discord. Any fix or help is appreciated 🙂
CONFIG SECTION (DELETE IF NOT RELEVANT):
generalConfig.yml
# Maximum number of jobs a player can join.
# Use 0 for no maximum
# Keep in mind that jobs.max.[amount] will bypass this setting
max-jobs: 1

Server Type (Spigot/Paperspigot/etc):
Tuinity
Server Version (using /ver):
MC version 1.16.3
Relevant plugins (Delete if this isn't needed):
Luckperms version 5.1.93

https://github.com/Zrips/Jobs/issues/909


Could you send this to our Addon Galary.

See: https://github.com/kadirahq/getstorybook.io/blob/master/src/docs/addons/addon-gallery.js

I hope we can close this now.


updated to keep only WormBase entries

Keep only entries from WormBase instead of WormBase*, which will include WormBase_transposon, which is the cause for error later in wi-gatk csq annotation gff.
I will remove the following from wi-gatk accordingly:
        # Remove transposons from GFF3 as they throw errors with CSQ
        gzip -dc ${file(params.csq_gff, checkIfExists: true)} | grep -v 'transposon' | bgzip > csq.gff.gz
        tabix -p gff csq.gff.gz

This is not a simple fix. Never mind!


Add the ability to set the default theme through a configuration file

This PR adds the ability to set the default theme via a configuration file.
The location is set on ~/.config/chime/chime.conf on Unix or %APPDATA%\chime\chime.ini on Windows.
The format of the configuration file is:
[chime]
theme = zelda

Two unit tests have been added that test the detection of the config file location based on platform and test that chime changes its default theme based on the config file.
Closes #13

The PR is really cool, I didn't know about pytest monkeypatching!

There's one problem left to solve. Pytest (to my surprise) automatically picked up on :81 of README.md and treats it as a doctest.
```py
>>> chime.theme()  # return the current theme
'chime'

If the user has a config file that changes the default theme this test fill fail.

Yes I'm not sure if pytest has a global setup function to mock the config file before running tests, in any case I can't seem to find such a thing. I would say that things are fine like this, it's a bit of an edge case. However, the codebase quality of chime is currently quite high, and we're not in a rush. I don't have the time to look into this right now (work + hackathon this weekend), but let's take our time :)

maybe you can this via the conftest.py file

Yeah that did the trick. README.md now passes even if the user has a config file changing the default theme.

I don't have the time to look into this right now

Take your time! Never any rush on any of these 😀.

It's weird, I don't see the builds being built :/

That's a surprise for me too. Everything passed on my branch, but I'm not sure why things aren't kicking off here.

#16 hopefully fixes this

I guess you need to bump this pull request to trigger the CI :)

Rebased onto main!

Released in version 0.6.0 :). Thanks again!


3-side looped cube face overlapping fix

The changes applies to the behaviour of duplicated slides (from 3rd to 1st and from 1st to 3rd) for the issue shown with 3-sides cube with loop option enabled. This issue has been previously reported although not followed, the following fix, should resolve these edge-cases that only happen when:

Swiper has 3 slides only
The loop option is enabled
The "Cube effect" is activated.

Related issues:
https://github.com/nolimits4web/swiper/issues/3386
https://github.com/nolimits4web/swiper/issues/1772
https://github.com/nolimits4web/swiper/issues/1752
Probably this can be done better however this solves the issue in a pretty easy way.

Hi! Thanks for your PR, I checked it and it actually doesn't solve issue much for me, it is still kinda "glitching". What does solve it is just by setting loopedSlides: 3 parameter

Hi! Thanks for your PR, I checked it and it actually doesn't solve issue much for me, it is still kinda "glitching". What does solve it is just by setting loopedSlides: 3 parameter

Hmm let me check it then and if not I'll create a codepen of the issue this one solves.

It seems that loopedSlides also works :) Closing this one then, thanks @nolimits4web!


⚠ Bofrost.fr has degraded performance

In f6ee46a, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1136 ms

Resolved: Bofrost.fr performance has improved in c75715f after 6 minutes.


Add option not to apply a View when attaching a buffer?

The attachBuffer() function in sidre::View automatically calls apply() when possible.
In some cases, we might want to defer calling apply() until later.
Should we add a flag to this function to disable calling apply(), for example if one wants to call the variant of apply with additional options for setting strides and offsets?
To preserve the current behavior, the default value should be true.
Details
Implementation of View::attachBuffer():
https://github.com/LLNL/axom/blob/2de3ce8c1c505dfe7ce6f833601e517534a29b57/src/axom/sidre/core/View.cpp#L248-L277
Alternate form of apply
https://github.com/LLNL/axom/blob/2de3ce8c1c505dfe7ce6f833601e517534a29b57/src/axom/sidre/core/View.cpp#L338-L345

Reopen if/when issue re-appears.


Formfield should be renamed to FormField for consistency

But it's a breaking change so it might not be doable.

lets keep this on hold till a breaking change comes from mdc-web.

@filoozom with next release Textfield is being changed to TextField do you think we should rename this as well?

Yes, for sure. I'll open a PR real quick!


fixed check now button in home page

As discussed under issue #452 , the check now button was overflowing earlier like this

I made it properly responsive for all device sizes so that it fits perfectly and no overflow happens
https://github.com/user-attachments/assets/f8f2bc89-420f-40b5-ae72-04677b100e6f

@PSS2134 pls merge this asap

@PSS2134 pls look into this asap as PRs merged after 30 july wont be counted


Daisy bugs in non-JSON workflow creation paths.

WaitForInstancesSignal failure match list should be public
IncludeWorkflow needs to set parent during populate

/cc adjackura
/assign adjackura


[Bug]: Backup tool is not restoring collections index and status

Current Behavior
When i restore the loaded collections, collection state and indexes are not restoring.
Expected Behavior
Backup tool should restore the exact state of existing collection
Steps To Reproduce
No response
Environment
No response
Anything else?
No response

@kish5430 what state？ load or not？

@wayblink Yes...whether collection has loaded or not