MQTT WebSocket connection closed prematurely (IDFGH-5873)

Environment

Development Kit:      Lolin 32 lite
Module or chip used:  ESP32
IDF version Arduino 1.0.6 (IDF 3.3.5)
Operating System:     Windows
Using an IDE?: PlatformIO
Power Supply:         USB

Problem Description
I'm trying to update the MQTT connection URI. The Server logs show that the WebSocket connection is now being gracefully disconnected.
The process is as follows:

connect with WebSockets
wait 15 seconds
disconnect and wait for disconnect event
stop mqtt, update the uri and start again

Actual Behavior
Server logs:
13:24:56.584+01:00 [DBG][44][Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets] Connection id "0HMBP19PFQR4T" received FIN.
13:24:56.585+01:00 [DBG][52][Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets] Connection id "0HMBP19PFQR4T" sending FIN because: "The client closed the connection."
13:24:56.585+01:00 [DBG][52][Microsoft.AspNetCore.Server.Kestrel] Connection id "0HMBP19PFQR4T" disconnecting.
13:24:56.586+01:00 [DBG][8][Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport] Socket connection closed prematurely.
System.Net.WebSockets.WebSocketException (0x80004005): The remote party closed the WebSocket connection without completing the close handshake.
   at System.Net.WebSockets.ManagedWebSocket.ThrowIfEOFUnexpected(Boolean throwOnPrematureClosure)
   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken, Boolean throwOnPrematureClosure)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TWebSocketReceiveResultGetter,TWebSocketReceiveResult](Memory`1 payloadBuffer, CancellationToken cancellationToken, TWebSocketReceiveResultGetter resultGetter)
   at Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsServerTransport.StartReceiving(WebSocket socket)
13:24:56.586+01:00 [DBG][8][Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport] Waiting for the application to finish sending data.
13:24:56.593+01:00 [DBG][52][Microsoft.AspNetCore.Http.Connections.Internal.Transports.WebSocketsTransport] Socket closed.

Code to reproduce this issue
#define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_VERBOSE

#include <Arduino.h>
#include <WiFi.h>
#include "sdkconfig.h"
#include "esp_system.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "mqtt_client.h"
#include "esp_event.h"
#include "esp_log.h"

static const char *TAG = "MQTT_EXAMPLE";
esp_mqtt_client_handle_t mqttClient;
bool update = true;
bool setConfig = false;
bool canSetConfig = false;

static void log_error_if_nonzero(const char *message, int error_code)
{
    if (error_code != 0) {
        ESP_LOGE(TAG, "Last error %s: 0x%x", message, error_code);
    }
}
static void mqtt_event_handler(void *handler_args, esp_event_base_t base, int32_t event_id, void *event_data)
{
    ESP_LOGD(TAG, "Event dispatched from event loop base=%s, event_id=%d", base, event_id);
    esp_mqtt_event_handle_t event = (esp_mqtt_event_handle_t)event_data;
    switch ((esp_mqtt_event_id_t)event_id) {
    case MQTT_EVENT_CONNECTED:
        ESP_LOGI(TAG, "MQTT_EVENT_CONNECTED");
        break;
    case MQTT_EVENT_DISCONNECTED:
        ESP_LOGI(TAG, "MQTT_EVENT_DISCONNECTED");
        if (setConfig) {
            ESP_LOGI(TAG, "MQTT SET URI 1");
            setConfig = false;
            canSetConfig = true;
        }
        break;
    case MQTT_EVENT_ERROR:
        ESP_LOGI(TAG, "MQTT_EVENT_ERROR");
        if (event->error_handle->error_type == MQTT_ERROR_TYPE_TCP_TRANSPORT) {
            log_error_if_nonzero("reported from esp-tls", event->error_handle->esp_tls_last_esp_err);
            log_error_if_nonzero("reported from tls stack", event->error_handle->esp_tls_stack_err);
            log_error_if_nonzero("captured as transport's socket errno",  event->error_handle->esp_transport_sock_errno);
            ESP_LOGI(TAG, "Last errno string (%s)", strerror(event->error_handle->esp_transport_sock_errno));

        }
        break;
    default:
        ESP_LOGI(TAG, "Other event id:%d", event->event_id);
        break;
    }
}

void setup() {
    WiFi.mode(WIFI_MODE_STA);
    WiFi.begin("ssid", "pass");
    if (WiFi.waitForConnectResult() == WL_CONNECTED) {
        ESP_LOGI(TAG, "WIFI CONNECTED");

        esp_mqtt_client_config_t mqtt_cfg = {};
        mqtt_cfg.uri = "ws://user:pass@localhost:5000/mqtt";
        mqtt_cfg.client_id = "clientid";
        mqtt_cfg.buffer_size = 256;
        mqtt_cfg.network_timeout_ms = 5000;
        mqtt_cfg.keepalive = 60;
        mqttClient = esp_mqtt_client_init(&mqtt_cfg);
        esp_mqtt_client_register_event(mqttClient, (esp_mqtt_event_id_t)ESP_EVENT_ANY_ID, mqtt_event_handler, NULL);
        esp_mqtt_client_start(mqttClient);
    }
}

void loop() {
    if (update) {
        vTaskDelay(15000);
        setConfig = true;
        update = false;
        ESP_LOGI(TAG, "MQTT SET URI 0");

        esp_mqtt_client_disconnect(mqttClient);
    }
    if (canSetConfig) {
        ESP_LOGI(TAG, "MQTT SET URI 2");
        canSetConfig = false;

        esp_mqtt_client_stop(mqttClient);
        esp_mqtt_client_set_uri(mqttClient, "mqtt://user:pass@localhost:1883");
        esp_mqtt_client_start(mqttClient);
    }
}

Debug Logs
[I][main.cpp:127] setup(): WIFI CONNECTED
[D][main.cpp:50] mqtt_event_handler(): Event dispatched from event loop base=MQTT_EVENTS, event_id=7
[I][main.cpp:105] mqtt_event_handler(): Other event id:7
[D][main.cpp:50] mqtt_event_handler(): Event dispatched from event loop base=MQTT_EVENTS, event_id=1
[I][main.cpp:56] mqtt_event_handler(): MQTT_EVENT_CONNECTED
[I][main.cpp:147] loop(): MQTT SET URI 0
[D][main.cpp:50] mqtt_event_handler(): Event dispatched from event loop base=MQTT_EVENTS, event_id=2
[I][main.cpp:70] mqtt_event_handler(): MQTT_EVENT_DISCONNECTED
[I][main.cpp:72] mqtt_event_handler(): MQTT SET URI 1
[I][main.cpp:152] loop(): MQTT SET URI 2
[D][main.cpp:50] mqtt_event_handler(): Event dispatched from event loop base=MQTT_EVENTS, event_id=7
[I][main.cpp:105] mqtt_event_handler(): Other event id:7
[D][main.cpp:50] mqtt_event_handler(): Event dispatched from event loop base=MQTT_EVENTS, event_id=1
[I][main.cpp:56] mqtt_event_handler(): MQTT_EVENT_CONNECTED

Hi @olicooper
websocket close handshake was not supported on v3.3. Could you please switch to v4.3 and test again?
It has been added in https://github.com/espressif/esp-idf/commits/5e9f8b52e7a87371370205a387b2d94e5ac6cbf9

Not able to switch to 4.3 right now because 3.3 is the version that Arduino 1.0.6 uses and this is what I'm using in the project I am working on. I will try to set up a IDF test project to test soon.

Could you please post the packet capture for the connection closure then?
I've tested with the official broker implementation of MQTTnet and couldn't recreate this issue.
The broker log is the same with and without the patch and just says the connection been closed cleanly:
dbug: MQTTnet.Server.Scripting.PythonIOStream[0]
      Client 'ESP32_5f2CC4' is now disconnected (type = clean).
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished HTTP/1.1 GET http://<IP_ADDRESS>:80/mqtt - - - 101 - - 4483.2060ms

But from the packet capture, I can see the connection wasn't closed according to WS handshake:
No.     Time           Source                Destination           Protocol Length Info
    236 21.384827      <IP_ADDRESS>        <IP_ADDRESS>         WebSocket 56     WebSocket Binary [FIN] [MASKED]
    237 21.385211      <IP_ADDRESS>         <IP_ADDRESS>        WebSocket 58     WebSocket Connection Close [FIN]
    238 21.390346      <IP_ADDRESS>        <IP_ADDRESS>         TCP      54     52988 â†’ 80 [RST, ACK] Seq=416 Ack=292 Win=28694 Len=0

When applying the patch to send_disconnect_msg() the ws close handshake looks correct:
 No.     Time           Source                Destination           Protocol Length Info
   1110 26.854812      <IP_ADDRESS>        <IP_ADDRESS>         WebSocket 56     WebSocket Binary [FIN] [MASKED]     (MQTT disconnect: 0000  e0 00    ..)
   1111 26.855566      <IP_ADDRESS>         <IP_ADDRESS>        WebSocket 58     WebSocket Connection Close [FIN]
   1112 26.875038      <IP_ADDRESS>        <IP_ADDRESS>         WebSocket 60     WebSocket Connection Close [FIN] [MASKED]
   1113 26.876670      <IP_ADDRESS>         <IP_ADDRESS>        TCP      54     80 â†’ 63104 [FIN, ACK] Seq=292 Ack=422 Win=64379 Len=0
   1114 26.880998      <IP_ADDRESS>        <IP_ADDRESS>         TCP      54     63104 â†’ 80 [ACK] Seq=422 Ack=293 Win=5452 Len=0

I'd like to understand how this "official" broker implementation differs from your own server implementation. Did you add any specific transport hooks? From the log, it looks like the server is actually sending some data after the ws closure.
Also, I've noticed this warning in the broker console:
The official MQTT server implementation of MQTTnet
Copyright (c) 2017-2020 The MQTTnet Team
https://github.com/chkr1011/MQTTnet

 !  IT IS NOT RECOMMENDED TO USE IT FOR ANY DIFFERENT PURPOSE THAN TESTING OR EVALUATING!

@david-cermak
Is this close behavior implemented only for ws_client ?
Could it be also implemented for ws server in esp_http_server ?

@Maksons The close handshake is implemented in tcp_transport component and currently used only in ws_client. We'll probably add it to mqtt_client too.

Could it be also implemented for ws server in esp_http_server ?

websocket server in the esp_http_server doesn't use this component, and is designed to interact with user handlers on very low level, so I'd recommend implementing this in user space by handling control packets.

!  IT IS NOT RECOMMENDED TO USE IT FOR ANY DIFFERENT PURPOSE THAN TESTING OR EVALUATING!

I'm considering closing this issue as won't do, at least until the official MQTT server implementation of MQTTnet, reaches maturity or some other broker requires this. The patch posted above solves the problem in my case, but it's apparently not a universal fix and, more importantly, it would reduce user experience with other standard brokers.
@olicooper Any comment?

@olicooper Thanks for reporting, would you please help share if any updates for the issue? Thanks.

The only thing I can think of that may be different in my MQTTnet instance is that I publish a retained device 'online' status on connect and disconnect (IMqttServerClientDisconnectedHandler) events. It may be possible that the server publishes this message before the connection close event is fully handled? My MQTTnet instance is running on ASP.NET 5 in a Debian environment if that helps. I would argue that the software is beyond alpha stage at this point and that the developer is just limiting their liability.
As I don't think this issue is critical to the functioning of MQTT then I suppose it can be left for a while. Is it possible that this could cause memory leaks if left unhandled though? I have noticed a slight reduction in memory on each reconnect attempt.
I will try to get those Wireshark logs posted and do more testing in the mean time. Thanks for your help!

It may be possible that the server publishes this message before the connection close event is fully handled?

Maybe it could be the case, we will see from the wireshark capture.

I would argue that the software is beyond alpha stage

Yes, the ws close handshake is really by the book and makes perfect sense to be server initiated, as the server knows when the connection of the underlying transport closes (unlike e.g. for mosquittos, where the ws close is implemented but expected to be client initiated and thus may cause races -- client cannot assure that the mqtt close and ws close packets arrive exactly one after another), but it is in fact quite impractical and effectively delays the closure.

Is it possible that this could cause memory leaks if left unhandled though?

You mean memory leaks in the embedded target? No, I don't think so, the connection (socket) is closed in both cases (without the handshake it's just closed sooner)

I am happy for you to close this issue for now as it sounds like it isn't a high priority issue, especially since the error is handled gracefully on both ends of the connection. I will try to post the wireshark logs when I can.
Thanks again for your investigation.

@olicooper Thanks for reporting and sharing the updates, would you please help share if any updates for the issue? Could this issue be closed now? Thanks.

Thanks for reporting, would close due to short of feedback, feel free to reopen with more updates. Thanks.


Value function support of OptionSetValue and deprecation of OptionSetInfo function

✅ No public API change.

✅ No public API change.

Split up in other PRs


Script to easily change forks

discription
Script to change the forks. Nice to have script but i think it saves a little bit of time

Have you seen https://github.com/emu-sh/.oh-my-comma
?

never knew about this. Will definitely try Emu


Simulation tool for verilogA model?

Hi,
I am trying to simulate the verilogA model - which open source tool(s) would you suggest to dump waveforms ?
Thanks

Xyce -- see also #10
From @QuantamHD;

$ buildxyceplugin -o rram2 rram2.va . && Xyce -plugin ../../sp_lib/rram2.so rram_test.spice

@ratul619
Xyce if you need to simulate the device itself, but if you're asking for tools to view the waveforms. I've heard nice things about gtkwave, and mathplotlib which is just a python library that you can easily use to view waveforms.

FYi - There are some examples of spice simulations which produce data and svg at https://cs.opensource.google/skywater-pdk/sky130_fd_pr/+/main:cells/npn_11v0/tests/
I am unsure were the code that runs the spice simulation has ended up.


Attempt to fix client -> server backpressure for real

This is an attempt to fix ut-amrl/robofleet#6, which is the issue that we are still seeing lag (a large time delay with messages queuing up) in webviz visualization when network bandwidth is limited.
This works using the Websocket ping/pong protocol, which allows for sending and echoing a payload. I assume that the Websocket server is handling all messages in a FIFO fashion, and I can therefore ping the server with a message ID and wait for it to pong back the same ID before sending more messages.
This fixes the issue reproduced using artificial bandwidth limiting that I described on the linked issue.

The ping pong method is waht I found as well when looking into this, looks good to me!
However, I don't see a diff for the server to handle the ping messages and send back pongs (unless this is magically built in to WS or something?)...lets land the server side of this first, if it exists? Since that way there will never be a time when the clients are broken


Cart page could be better

The page version of the cart (at /cart) could look better in terms of spacing of the product list table.
All the code should be there - but I'm sure someone with better Bootstrap kung-fu that myself could make this look much better.
I'll point out that it does reflow responsively, which I think it great to have, but this also could be improved.

A lot of this has been tidied up in the develop branch


Using MDX with shadowing in minimal-blog-theme

Summary
Shadowing can be used only when the file extension is not mentioned in the imports for homepage.tsx.
Relevant information
When the homepage.tsx is being shadowed, the MDX content in the hero.mdx and bottom.mdx cannot be imported into the homepage.tsx successfully.
I have a custom version of both hero.mdx and bottom.mdx. The shadow file homepage.tsx is not rendering the shadow file instead rendering the one in node_modules. I tried installing gatsby-plugin-mdx, still nothing was being overwritten.
I actually want to decrease the margin-bottom in the template. Is there any workaround for this?

Environment (if relevant)

File contents (if changed)
gatsby-config.js: N/A
package.json: N/A
gatsby-node.js: N/A
gatsby-browser.js: N/A
gatsby-ssr.js: N/A

Thanks for the issue!
Since I wrote that part of the doc I know it 😆
Maybe my editor edited it.
Successfully published:
 -<EMAIL_ADDRESS>
Try the new release of the theme.

Thanks a lot for the update.


Makes solves reproducable.

When simultaneously simulating the solve, the there was a fear when networking that the state will be different when iterating in side of a frame.

No approaches. I have no idea how to do this in practice.


Editor enhancements

Suggestions for editor enhancements:

Add asterisk in window title for usaved buffer
Add Search and Find/Replace functionality
Make sure Ctrl-A (select all) works on all platforms

Moved to https://github.com/learningsimulator/learningsimulator/issues/99


Is 1.0.1.RELEASE published?

Hi,
Is 1.0.1.RELEASE published anywhere?
Here's where I'm looking:
https://repo.spring.io/milestone/org/springframework/cloud/spring-cloud-cloudfoundry-service-broker/
Thanks

@ReneHerrero Please see the Release notes. 1.0.1.RELEASE is in the Spring Release repo. There are some technical issues publishing to Maven Central that haven't been resolved yet.

@ReneHerrero The 1.0.1.RELEASE and 1.0.2.RELEASE releases are now available in Maven Central: http://search.maven.org/#search|gav|1|g%3A"org.springframework.cloud" AND a%3A"spring-cloud-cloudfoundry-service-broker"

Awesome!  Appreciate the notice.


dart:io HttpClient: Make request headers orderable

I'm sorry but my English is not good, so I express what I would like in code.
Code:
final client = HttpClient();
final request = await client.getUrl(Uri.parse('http://<IP_ADDRESS>:80/'));
request.headers.set(HttpHeaders.userAgentHeader, 'Dart/2.13 (dart:io)');
request.headers.set(HttpHeaders.hostHeader, 'localhost');
request.headers.set('another-header', '');
request.headers.set(HttpHeaders.contentLengthHeader, 0);
request.headers.set(HttpHeaders.acceptEncodingHeader, 'gzip');
await request.close();

Expected result (request header):
user-agent: Dart/2.13 (dart:io)
host: localhost
another-header:
content-length: 0
accept-encoding: gzip

Actual result (request header):
user-agent: Dart/2.13 (dart:io)
accept-encoding: gzip
content-length: 0
another-header:
host: localhost

The order of headers should not matter for compliant server implementation, why would you like to send them in a specified order?

@mraleph Because I'd like to send more natural requests for using private API.

Because I'd like to send more natural requests for using private API.

Is your server not able to parse other header orders?

@mraleph What I meant "private API" is an unofficial API like used only in mobile applications.

It does not really matter if it is private or not. What I am asking: is your server able to parse headers in the order which Dart is sending them in?

@mraleph No, but just I'd like to send requests in same order of headers as applications for naturality of requests.

Is this can't be implemented?


Deprecate recyclarr container

There is an official upstream container now

Done in https://github.com/onedr0p/containers/commit/f6505f5efbb05b472b2fe848f98d664b69e38ee9


seeing error when running npm run start-main-dev

On Windows 10, I was able to run the app successfully. However, I am seeing the following in the log for the npm run start-main-dev command. Here is the output:
{ Error: spawn C:\Users........\dist\7zip-lite\7z.exe ENOENT
at exports._errnoException (util.js:1050:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:367:16)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
code: 'ENOENT',
errno: 'ENOENT',
syscall: 'spawn C:\Users\..........\dist\7zip-lite\7z.exe',
path: 'C:\Users\.............\dist\7zip-lite\7z.exe',
spawnargs:
[ 'x',
'C:\Users\.......\AppData\Roaming\Electron\extensions\lmhkpmbekcpmknklioeibfkpmmfibljd.crx',
'-y',
'-oC:\Users\......\AppData\Roaming\Electron\extensions\lmhkpmbekcpmknklioeibfkpmmfibljd' ] }
Any idea what this is about?

What was the solution?

A solution would be helpful.

I've been working on updating all of the depencies. Hopefully that will be released  next week and will solve this problem for you.

The update has been released, try using that instead and let me know if it helps you out!


Website https://labs.play-with-k8s.com/ returns HTTP 500 on "Add new instance"

The Website https://labs.play-with-k8s.com/  returns an HTTP Error 500 when I try to "ADD NEW INSTANCE". This makes the Website unusable.
Tested on Chrome Version 76.0.3809.132 (Offizieller Build) (64-Bit) and Microsoft Edge 44.18362.329.0.

Reproducted here too

I see this also.

I had the same problem but 30 minutes later it was magically solved (with a new session)


Include chunk path in WithClientChunks

WithClientChunksChunkItem currently only includes paths to chunks' references, but not chunks themselves.
Fixes WEB-621.

clipy


don't use OverlayView

There was no problem until a while ago, but recent errors like this have come up.
app.js:1 TypeError: Cannot read property 'parentNode' of undefined
Is there a solution?

@ryosuke-kubota Solved by changing version from "v=3.exp" to "v=3.26" in googleMapURL.

@muntyanv
Thanks!!
I'll give it a try.

It seem that there are different issues with Google Map API, and v=3.26 fixed many problems


1kg handle multiple transcript effects

The annotated VCF for 1kg can have multiple ontology terms per transcript, and multiple transcripts per CSQ field. This handles that case properly and adds another test file where this case is shown.

Looks good, +1 modulo minor comment.

@jeromekelleher updated thanks!


Fix typo

Simple typo fix - no description needed

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

thanks!


[BUG] Problems when changing roles

Initially I have the role of:

Select another role

Pressing the "Set your role" button
The installation process
It shows "All done. Your role has been set!"

But in the end, after a re-entry the role in Athena-welcome does not change

Hey @NoneDev-git Thank you for your reporting. I will give a look to it and if I'm able to reproduce the issue, I will fix it. I'll keep you updated.

Okay, thank you.

And when you change, if you answer the question to remove the tools of other roles Y, then the tools of other roles should be unavailable?

And when you change, if you answer the question to remove the tools of other roles Y, then the tools of other roles should be unavailable?

They should be uninstalled.

Just may be a problem for me personally because when I change roles and answer Y, I still have tools from another role.

Just may be a problem for me personally because when I change roles and answer Y, I still have tools from another role.

So you installed at the beginning Bug Bounty Hunter Role, then you set the role for Enthusiast Student and select y for removing the previous role tools, but you still have Bug Bounty Hunter tools? Btw be aware that some tools of these two roles are the same.

Yes I checked I still have tools that don't match the other role.

Yes I checked I still have tools that don't match the other role.

Although it is logical because my role in fact, too, does not change.

@NoneDev-git I fixed it. Run sudo pacman -Syyu, reboot the system and use again the stuff about roles, and tell me if it is fixed so we can close this issue.

I have a problem

I have a problem

Try to run "rm -rf $HOME/.config/athena-welcome"

The problem is fixed! Thank you very much.


Add compatibility check to Circle CI to check plugin compatibility with example repository

Example repository at https://github.com/mkobit/jenkins-pipeline-shared-library-example

Use composite builds
Deterministic revision of https://github.com/mkobit/jenkins-pipeline-shared-library-example
Try to make use of shallow clone as much as possible
Think about implications of making breaking changes in this plugin that would break example

Going to see if this is doable as part of next set of tasks I tackle.


haskellPackages.perhaps: add link to upstream PR

Motivation for this change
In #79330 @peti requested I add a link to the upstream PR, sadly after that PR was merged. This adds that note.
Things done

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

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

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

@Taneb Thanks a lot for this quick follow-up!


Support for routing based on path and method?

Is there, or could there be, support routing based on a combination of the path and method?
As we migrate away from some legacy systems we need to just a little bit of routing magic. Right now we use haproxy with consul-template to build the config.

Not yet but I could add that, e.g. urlprefix-/foo method=GET,POST ?

That would work just great.

Yeah, I thought that would be a simple change and started working on that but that rabbit hole is a bit deeper than I thought. Need to give this a bit more thought.

Ok, no hurry. Thanks!

What about to make this feature is able to support protocols? Because a lot of users, for example, make requests to http when you've got https server and their requests will fail. I know, that there are many ways, to do it, like make another tls terminator, proxy and so on, but it would be really convenient if you implement this.

@ket4yii I think that is a different feature you're asking for which is redirect a -> b

@magiconair Yeah, maybe it's the better way. Is there any way to do it?

Not right now but you haven't been the first to ask. I'll add it at some point. Sorry, if I can't be more specific.

I've the same use case with cqrs micro-service. We would like to have the ability to have the same service/path and route request to the right backend regarding http method (GET for read and POST/PUT for write).

OK, I'll have another look. Started with this at some point but it took more time than I expected.


[Bug Report] <After Update Elvui & Merathilis is buggin>

What is the issue you are having?
Played this morning with no issues. - Playiing Wotlk Classic
Came home and updated Merathillis via Curseforge (only addon with an update).
Now when I come ingame, I cant use keyboard commands. I cant see topbar - Cant really use anything. Cant change anything in elvui (See photos.
So I try and delete Cache. Nothing different.
I try and reinstall Merathillis. Nothing different.
I try and update Elvui via tukui.org. - There was a minor change. Still nothing different.
I try and remove merathillis and then reinstall it. Nothing different.
This issu

What is the expected behavior?
Things should work
What actually happened?
Think I did
Suggested Solution/Workaround
No response
Errors
Message: ...s\ElvUI_MerathilisUI\Core\General\Functions\Core.lua:38: attempt to index global 'C_TooltipInfo' (a nil value)
Time: Wed Nov 16 13:54:40 2022
Count: 1
Stack: ...s\ElvUI_MerathilisUI\Core\General\Functions\Core.lua:38: attempt to index global 'C_TooltipInfo' (a nil value)
[string "@Interface\AddOns\ElvUI_MerathilisUI\Core\General\Functions\Core.lua"]:38: in main chunk

Locals: MER = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:363
 Media = <table> {
 }
 Enable = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:290
 RegisterChatCommand = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceConsole-3.0\AceConsole-3.0.lua:81
 EnableModule = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:328
 modules = <table> {
 }
 GetModule = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:206
 IterateEmbeds = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:438
 SecureHook = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceHook-3.0\AceHook-3.0.lua:335
 defaultModuleLibraries = <table> {
 }
 TimeLeft = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceTimer-3.0\AceTimer-3.0.lua:172
 UnregisterChatCommand = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceConsole-3.0\AceConsole-3.0.lua:107
 RawHookScript = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceHook-3.0\AceHook-3.0.lua:394
 ScheduleRepeatingTimer = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceTimer-3.0\AceTimer-3.0.lua:129
 CancelAllTimers = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceTimer-3.0\AceTimer-3.0.lua:160
 Printf = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceConsole-3.0\AceConsole-3.0.lua:65
 ClassIcons = <table> {
 }
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:405
 PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\ElvUI_MerathilisUI\Init.lua:169
 Unhook = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceHook-3.0\AceHook-3.0.lua:417
 AddLib = <function> defined @Interface\AddOns\ElvUI_MerathilisUI\Init.lua:111
 name = "ElvUI_MerathilisUI"
 Initialize = <function> defined @Interface\AddOns\ElvUI_MerathilisUI\Init.lua:131
 IsEnabled = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:447
 orderedModules = <table> {
 }
 ScheduleTimer = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceTimer-3.0\AceTimer-3.0.lua:94
 DisableModule = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:346
 Libs = <table> {
 }
 Modules = <table> {
 }
 Title = "MerathilisUI "
 UnregisterMessage = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\CallbackHandler-1.0\CallbackHandler-1.0.lua:151
 RegisterMessage = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\CallbackHandler-1.0\CallbackHandler-1.0.lua:88
 GetArgs = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceConsole-3.0\AceConsole-3.0.lua:140
 Print = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceConsole-3.0\AceConsole-3.0.lua:50
 IsDevelop = false
 IsHooked = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceHook-3.0\AceHook-3.0.lua:492
 CancelTimer = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceTimer-3.0\AceTimer-3.0.lua:147
 hooks = <table> {
 }
 IsModule = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:464
 NewModule = <function> defined @Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:231
 SetDefaultModuleState = <function> defined @Interface\AddOns\ElvUI_Libraries\

This is first Error of 236 Error.

ElvUI Changelog/Troubleshooting

[X] I have confirmed that I have read the Changelog and done the Troubleshooting Steps.
[X] I have disabled all addons except the AddOns called 'ElvUI' and 'ElvUI OptionsUI' and 'ElvUI_MerathilisUI' by using /muidebug on? This is important in order to rule out that any of your other addons are causing the issue. If you manage to pinpoint a conflict between ElvUI and/or MerathilisUI and another addon, make sure you include that information.
[X] I have verfied my issue doesn't exist in the default UI.
[X] I gave you information above on which XPack i play Classic, WotLK or Retail.

Just now - I have reinstalled 5.37.
Now its back to normal, so I suspect the 5.38 update to be bad?

I would not bad, i only just dont pretty much mainly care on classic versions. The error is happening because of a retail api, that just dont exist on classic

This should be fixed with 5.40


Update ServiceResponse.cs

:white_check_mark: Build Sankhya-SDK-dotnet 3.0.126 completed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/96ae961395 by @guibranco)


Hello, can you provide a code for measuring the number of model parameters?

Hello, can you provide a code for measuring the number of model parameters?

More importantly, I would like to ask why I found 139.45 when loading your rf_model on Google Cloud Drive on the offline test set for single model Cider 140.4 mentioned in the paper. Is there any problem with me?

Hi,
Regarding the parameters, adding these lines after the model creation in train.py /  test.py / demo.py should do the trick:
def count_parameters(model):
    return sum(p.numel() for p in model.parameters() if p.requires_grad)
print("The model has " + str(count_parameters(model)) + " trainable parameters")

About the second question, there is no problem with your implementation. I found a strange practice with other popular repositories, of not uploading the checkpoint reported in the paper and providing instead one of the model of the four from the ensemble model. I never quite figured out why and, at that time, I had decided to follow the same practice until I discovered the reason.
However, since it's been a lot and I still have not figured it out, I will just upload also that one to the drive :-)
Check the online drive, it is called rf_model_140.4.pth

Hello, about the parameter test, the result I measured is The model has 233803076 parameters, rf_model, this result looks inconsistent with the paper, is there something wrong with me? @jchenghu

No, your implementation should be fine, they are expected to be different because the paper reports the number of parameters without the backbone, whereas the checkpoint contains the full model.
The following code should give you a closer result:
def count_parameters(model):
    return sum(p.numel() for p in model.parameters() if p.requires_grad)
print("The model w/o backbone has " + str(count_parameters(model) - count_parameters(model.swin_transf)) + " parameters")

Hi I'm closing since the initial issue was solved, feel free to open a new one in the future
Best,
JIa


Properly set taskType for ReReco spec

@ticoann please merge it for today's new tag (HG1503)

It's interesting that we also need to patch the agent, otherwise we end up with MultiProcessing tasks.
I'm always confused about these spec patches :-)


SingleColumnParser/ScalarColumnParser: wrong precondition

Both parseRow() methods throw an exception if the column count is != 0 instead of when it is != 1:
override fun parseRow(columns: Array): T {
    if (columns.size() != 0)
        throw SQLiteException("Invalid row: row for SingleColumnParser must contain exactly one column")
    [suppress("UNCHECKED_CAST")]
    return columns[0] as T
}

Fixed. Thank you!


Parser ignores province buildings

Savegame parser still tries to look for the province buildings as if they were saved in province nodes like this:
-1={
  barracks=yes
  temple=yes
}

However, in 1.24 they are saved like this:
-1={
  buildings={
    barracks=yes
    temple=yes
  }
}

As a result, no buildings are loaded from 1.24 saves.
Since the buildings are now grouped in the buildings subnode rather than the province's node, it may be the time to scrap hasBuildings and just read whatever is inside buildings.

This has been fixed in May?, building work now.


Tutorial code

Refer to https://github.com/metanorma/metanorma.org/pull/565

[ ] Review the Terms and definitions sections. Can you (@ronaldtse) check if the information is still fine or if we should introduce the Concepts and Designations, too? Does the absolute beginner need to know these?

@ronaldtse Plese review this section.

[x]  Tutorial needs to show up as a tab in the main navigation. I tried that in a local build but it broke the code. @strogonoff you might know how to amend this.

Learn has been shown in the main nivgation.

[x]  The following lessons are a top-level navigation item: lesson-1, lesson-2, lesson-3, lesson-4. Because I used the base-docs.html template, they contain the automatically generated "further in this section" portion. I don't think this section is useful in the context of tutorials, so we need to touch the open-theme repository for this. However, because this is the theme repository for other sites too, we could probably create a new formatting template for the tutorials.

Further in this section has been hide.

[x] If possible, I would like to change the appearance of some additional elements.

The task checkboxes should not have leading bullet points

Leading bullet points has been hide.

The "Hint" dropdown is currently black, but to increase the awareness for them, I'd like them to be in one of our brand colors.

Refer to item 3, the color of Hint dropdown has been changed similar to the color of the button.

The button in each lesson is currently displayed as a link, although I have changed the respective Sass file. @strogonoff maybe you can have a look at this?

The appearance of the Start next lesson buttons has been fixed.


[Perf] prevent un-necessry re-renders of resizable Component on property control keyPress

Description
prevent Unnecessary re-renders of resizableComponent on property control keyPress
Fixes # 5568
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Open Property Pane of any Widget and change any Property, Profile the action on React dev tools.
ResizableWidget of only the respective widget should re-render.
Checklist:

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

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: prevent-resizableComponent-rerenders

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
51.87 (0.01)
33.51 (-0.02)
29.99 (0.05)
52.55 (0.02)

:red_circle:
app/client/src/components/editorComponents/DropTargetComponent.tsx
65 (0.71)
34.33 (-5.4)
52.94 (2.94)
60.67 (0.9)

:red_circle:
app/client/src/components/editorComponents/ResizableComponent.tsx
58.7 (-0.44)
15.52 (-6.7)
63.64 (0)
58.7 (0.46)

:green_circle:
app/client/src/selectors/editorSelectors.tsx
64.08 (1.77)
52.08 (6.13)
50 (4.76)
62.39 (3.51)

:red_circle:
app/client/src/widgets/BaseWidget.tsx
78.81 (0)
41.86 (-2.33)
77.42 (0)
77.88 (0)

/ok-to-test sha=0e27158

/ok-to-test sha=bf6c766

/ok-to-test sha=2867ec1


Could not find 'qebil' to install

(qebil) -bash-5.1$ pip install qebil
ERROR: Could not find a version that satisfies the requirement qebil (from versions: none)
ERROR: No matching distribution found for qebil

Hi @shanif3, at the moment there is no pypi release available but you can install the latests version via github, like this:
pip install https://github.com/ucsd-cmi/qebil/archive/refs/heads/main.zip. Best,

thanks!
i run: qebil fetch project --ebi-id ERP020591 --output-dir /home --prefix new --download-fastq
and got-
with issue: MISSING files for PAIRED_Metagenomic_0/
with issue: MISSING files for SINGLE_16S_0
why?

The explanation of why this happens is here:
https://qiita.ucsd.edu/static/doc/html/faq.html#some-of-the-studies-have-qiita-ebi-import-as-the-pi-why-is-this
From there:
MISSING: One or more of the fastq files for your study were unavailable for download from EBI/ENA or the downloaded files were found to contain corrupt data and were excluded from our automatic association and processing.
In general, if is just that the files weren't able to download you can try multiple times, until you get all the files.

Thanks for the response!
What do you mean by trying multiple times? If the first run was not successful does that mean that maybe the next run can be successful?

Right, for whatever reason [network outages, multiple download calls, the moon is not in the right location, too much wind ;-)] sometimes the URL for the submitted files is not available from ENA so trying multiple times works. In my limited experience, early in the week seems to work better than the weekend.

interesting ... ;)
bc rn im just trying to download fastqs from random studies and none of them downloading the fastqs. unfortunately :(
at the end i want to have the otu and taxonomy files of the study samples, so am i in the right place?

I want to add, that I have a program that rn can download data from SRA so if I manage to download the fastq from qiita can I do the same process with qiime2 to get the otu and taxonomy files?

I just tried qebil fetch project --ebi-id PRJEB18644 --verbose --output-dir PRJEB18644 --download-fastq and it finds the 6 samples but it only downloads 1 file (lane5_NoIndex.R1.ebi.fastq.gz) and I think is because the submitters used for 5 of them:
2023-12-15 05:32:53,331 : INFO : root : EBI strategy is:OTHER for SAMEA27288418
2023-12-15 05:32:53,331 : INFO : root : Layout is: SINGLE

In other words, the code can't automatically guess what kind of data is this. I think you can use some combinations of parameters to force things - if you are sure of the data you are downloading.
Anyway, I don't see why not using the other tool while we figure this one out; basically the most important thing is the metadata and that the files follow the run_prefix convention (within the preps) so they are easily linkable within Qiita.

I run the same command, and it doesn't download any fastq, not even 1:(
how can i define the data better so it can find the fastq
thanks again!

In the past, we simply ignore hard to download/fix studies/samples - if they are a must for our meta-analysis, we will contact whoever deposited the data and work directly with them to fix them and upload them to Qiita so others can reuse them in the future. However, sometimes, this is not possible. Additionally, we will evaluate the importance of a study based on their results and the number of samples - the lowest we have gone is ~20 samples per study.


Plotting the time-course using storage time and date of FID array

Hy again,
As I'm monitoring a long-time cinetic by using different acquisition times ( i.e. one or more spectra at day, according to observed variations in the signals of interest), it would be great to plot the integrals versus the time and date of acquisition as  "dd/mm/yyyy " + "hh:mm:ss"
In particular, it would be possible to automatically acquire the storage time and date of each FID  and consequently extrapolate it as  fid_array.datetime  as matplotlib time axis ?

Currently there is no functionality in NMRPy itself to do this directly. However, you can read the information from the acqus file in the folder of the spectrum (1, 2, 3, etc.), in line 6 or 7 (depending on TopSpin version). So you could extract this using standard Python tools for text file processing. Alternatively you could look at the time stamp of this file, which should be the same.

I see thanks again


WMS proxy is returning a 200 response code for

The WMS proxy is returning a 200 response code even if there was a problem with the URL.
For example, the backend returns a 200 for this error:
jQuery17201498423230368644_1424344942129({
  "error": "Opening given capabilities url failed."
})

Related issue: https://github.com/CartoDB/cartodb/issues/2113

Closing since a 200 code is needed to be able to capture the jsonp error response.


MacVim do not set configuration like guifont from my gvimrc

Steps to reproduce

Install MacVim from dmg package
Link a .vim directory in your home, something like this:
55B Oct 28 09:44 .vim -> $HOME/dev/src/github.com/giulianisanches/vimrc
Start MacVim.

The files should load just fine:
:scriptnames
  1: /Applications/MacVim.app/Contents/Resources/vim/vimrc
  2: ~/dev/src/github.com/giulianisanches/vimrc/vimrc
  3: /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syntax.vim
  4: /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/synload.vim
  5: /Applications/MacVim.app/Contents/Resources/vim/runtime/syntax/syncolor.vim
  6: /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim
  7: /Applications/MacVim.app/Contents/Resources/vim/runtime/menu.vim
  8: /Applications/MacVim.app/Contents/Resources/vim/runtime/autoload/paste.vim
  9: /Applications/MacVim.app/Contents/Resources/vim/runtime/scripts.vim
 10: /Applications/MacVim.app/Contents/Resources/vim/runtime/autoload/dist/script.vi
m
 11: /Applications/MacVim.app/Contents/Resources/vim/runtime/ftplugin.vim
 12: /Applications/MacVim.app/Contents/Resources/vim/runtime/indent.vim
 13: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/getscriptPlugin.
vim
 14: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/gzip.vim
 15: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/logiPat.vim
 16: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/manpager.vim
 17: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/matchparen.vim
 18: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/netrwPlugin.vim
 19: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/rrhelper.vim
 20: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/spellfile.vim
 21: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/tarPlugin.vim
 22: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/tohtml.vim
 23: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/vimballPlugin.vi
m
 24: /Applications/MacVim.app/Contents/Resources/vim/runtime/plugin/zipPlugin.vim
 25: /Applications/MacVim.app/Contents/Resources/vim/gvimrc
 26: /Applications/MacVim.app/Contents/Resources/vim/runtime/colors/lists/default.vi
m
 27: /Applications/MacVim.app/Contents/Resources/vim/runtime/colors/macvim.vim
 28: ~/dev/src/github.com/giulianisanches/vimrc/gvimrc

Expected behaviour
Settings like guifont should be set like expected, for example, set guifont=Monaco:h12
Version of Vim and architecture
:version VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Sep 15 2022 19:27:32) macOS version - x86_64 Included patches: 1-472
Environment
Operating System: Darwin C02FJ1DMMD6Q 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64
Terminal: iTerm2
Value of $TERM: xterm-256color
Shell: zsh
How MacVim was installed
Downaloded the dmg from Github
Logs and stack traces
No response
Vim configuration where issue is reproducable
https://github.com/giulianisanches/vimrc
Issue has been tested with given configuration

[X] by running MacVim.app from GUI macOS interface
[X] by running vim/gvim/etc installed by MacVim
[X] by running other versions of vim (e.g. /usr/bin/vim)

Issue has been tested with no configuration

[X] by running mvim --clean (or gvim, supplied by MacVim distribution)
[X] by running vim --clean (in terminal, supplied by MacVim distribution)
[X] by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Other conditions

[ ] The both Homebrew packages "vim" and "macvim" are installed

It was just a syntax error.


Combine compose files

I've removed Concourse from the stack files because the bakery is being removed so I think it will become less important to spin up a local version of concourse. Future work will make it easier to deploy a PR and test concourse with the one we have already deployed to production.

This is the follow up PR based on this one. This PR needs to be merged first.

@omehes would you be interested in reviewing this for me? I think you've had some experience using these files lately.
Test local development
These test cases should confirm that we can still run the development environment locally.
GIVEN:
The branch of this PR has been checked out
WHEN
The developer runs:
docker-compose up -d

Then
All the services that are expected to be running are running:
docker-compose ps


Feature Request: "install_dir" option to scons

scons install_dir=<install_dir>
This would install the 3 static libraries to:
<install_dir>/lib
and the relevant headers to:
<install_dir>/include
Thanks,
Abdel.

Hi Abdel,
Just to confirm, if you were to pass install_dir=out you would expect to get the following:
antbar01@antbar01:/acl/build/linux-arm64-v8a-neon-asserts/out$ tree
.
├── bin
│   ├── arm_compute_benchmark
│   ├── arm_compute_validation
│   ├── graph_alexnet
│   ├── ...
│   ├── neon_cartoon_effect
│   └── ...
├── include
│   └── arm_compute (all headers)
└── lib
    ├── libarm_compute_core.so
    ├── libarm_compute_core-static.a
    ├── libarm_compute_graph.so
    ├── libarm_compute_graph-static.a
    ├── libarm_compute.so
    └── libarm_compute-static.a

Hi Anthony,
Yes, exactly what I would expect.
Of course I would also expect that this install option is consistent with the various compile options and just install what is needed (for example I might not want to compile nor install all the binaries or the shared libraries).
Thanks!

It will only install whatever gets built by the other options. (i.e if you've got examples=0 then none of the graph_* neon_* cl_* binaries will be installed, etc.)
Was that what you meant ?

yes, exactly.

Closing as this is fixed here


conditional server.seed and comments rework

Can't test it out as multiple server instances don't work and my server now has players on it, but if that looks OK to you, it should be fine.

You can check you out random seed if you do not enter the variable? My always generates me the same.

As i told you : No seed = random value
Empty server.seed = 1
Of course if you start your server once, the random value will be keeped until you remove your files in your server identity folder (in serverfiles/server/your_identity). For your information, the identity is changed by changing "servicename" variable.

Tested working, can merge

I can not get the seed out randomly. Stop the server, delete the save folder in the path of my server, in my case is: /serverfiles/server/rust-server/save. I've also tried to remove Storage.db and UserPersistence.db files.
When I return to start the server, I generated the map with the same seed.
What am I doing wrong?
Another question, the file you have modified the github, I have to download it manually or automatically download in any way ?.
a greeting

This file has to be downloaded manually, as it's the main script. It's the only one that needs to be downloaded manually, otherwise, you can run the update-functions command. https://github.com/dgibbs64/linuxgsm/wiki/Update#updating-your-lgsm-script
It's possible that this random number is random to your machine. I'm not so sure about that. But the purpose of this little add isn't wether or not it's random, it's if you specify +server.seed with no value, it will always take the value of 1, and that is not desirable.

But the steps I performed to erase the data, correct? How do you do it?
Thank you

Save your rustserver settings in a local file
rm rustserver
wget http://gameservermanagers.com/dl/rustserver
nano rustserver

Edit rustserver to fit your needs.

thanks friend, but I mean to delete data from the saved game. What do wipe typical when updates.

The forced wipe happens tomorrow, i'll have to figure this out at the moment.
I did it once, but i'm not so sure if i was right :
/serverfiles/server/rust-server
Remove UserPersistence.db / Storage.db / save folder
One of them contains blueprints from players and doesn't need to be wiped all the time.

Ok, I do the same. I have added to steam, aceptame and we tried talking and servers. a greeting.


docs(dicom): add acknowledgments to package documentation

Note:

C++ libraries that we use
The libraries' versions
Funding from IDC

Closes #1206 #1207

@fedorov please take a look :pray:

Small suggestion, but otherwise looks great. Thank you for taking care of this!


Version the releases

Duplicate of https://github.com/jenkins-infra/kubernetes-management/issues/1673


Handle all cases of job resubmissions when there are failed and blocked jobs

When there are only missing jobs (wall-time timeouts) the resubmit-jobs command works well. There are cases involving blocked and failed jobs that are not covered. Jobs that should be blocked may get submitted.

Fixed in v0.4.2


Use the new insets API in EmojiSearch

Android
We draw all the way to the bottom edge of the screen, and put space under the last element so it isn’t obscured by the bottom line thing.

iOS
Similarly!


Why 672 seq_len is needed to predict 24 pred_len for ETTm1 dataset?

I found that for ETTm1 dataset, you uses --seq_len 672 --label_len 96 --pred_len 24 for multivariate prediction setting.
I think seq_len should be shorter than the other cases. ( pred_len = {48, 96, 288, 672} )
I want to know this is a typo or what the authors intended.

This is just the parameter that we recorded in the experiment which leads to better results, you can try other seq_len in your personal data.


Dismusic V2. A complete rewrite

A complete rewrite of the Dismusic Package to better suite discord bots

[ DO NOT MERGE ]
then turn this PR into a draft PR

Comment Reply from @retrouser955:

[ DO NOT MERGE ]

Tthen turn this PR into a draft PR

Lmao why are you here XDDDDDDDDD


Emit metadata 1.2 data

Originally reported by: Ivoz (Bitbucket: Ivoz, GitHub: Ivoz)

pep - http://legacy.python.org/dev/peps/pep-0345/
1.2 provides a number of very useful info, foremost: Requires-Dist, Requires-Python, requirement-markers
which will be great for enabling dependency statistics on pypi, and ahead-of-time dependency resolution in pip, if/when this was enabled in a future setuptools, people started to use it, and started uploading 1.2 metadata to pypi.
Additional thought - we'll probably want to test pypi can actually accept newer metadata versions if it's still the old one and not warehouse by the time this is release-ready.

Bitbucket: https://bitbucket.org/pypa/setuptools/issue/219

This is done, though I suspect support for the full spec is patchy. I'm going to close this in favor of individual tickets for missing support.


ORDER BY only return rows if there is an implicit index

I've created a test that demonstrates 2 issues:
https://play.golang.org/p/oxwbAIBIQT
Running go test gives
--- FAIL: TestIndex (0.10s)
index_test.go:41: unknown field _date
index_test.go:44: TestIndex: got  exp 1234

First, the the error at line 41 is triggered because ql requires any fields listed in ORDER BY to also be listed in SELECT. That's unexpected for fields only used for sorting, and requires dummy arguments to Scan.
Secondly, the error at line 44 indicates that a row was returned but the str field contained nothing. That is wrong, since there is no row with an empty str field.

It seems that adding an explicit CREATE INDEX on the date fields makes ORDER BY work as expected (line 55-71). Requiring an index for ORDER BY is fine by me, except that then the documentation contains confusing language:

Now certain SELECT statements may use the indices to speed up joins and/or to speed up record set filtering when the WHERE clause is used; or the indices might be used to improve the performance when the ORDER BY clause is present.

And even if an explicit index is required, I would expect an error from Query when using ORDER BY with no supporting index, at the very least sql.ErrNoRows, and not rows with empty value.
FWIW; I used -tags purego when I installed ql.

(A) Error at line 41 is real wrt the documentation. I have yet to figure out what to fix. The problem is that the select statement evaluation order reflects how the engine works, ie. at step 5 all non selected expressions do not propagate to later stages. Fixing this is probably possible, but not exactly trivial, I'm afraid. I'll check other SQL dialects for guidelines.
(B) Error at line 44 cannot be considered. When an non nil error is returned at line 40 the program cannot expect any valid results. t.Error at line 41 should be t.Fatal.
(C) The last issue, ORDER BY magically starts to work as documented when an index exists, is caused by the query planner and it sort of works as expected as the outcome is that the SELECT expessions are not used at all when an appropriate index exists.
I have long ago planned to add automatic indexes, ie. to compute the index on the fly when needed, as indicated by the planner, but non-existent. Adding this feature will automagically solve (A). Non trivial, but beneficial except for small tables where the overhead can actually slow down the query. (Comparable how a linear search can outperform smarter data structures for small N.)
Opinions/thoughts/ideas?

You're right about line 44 of course, and I seem to have confused myself with what seemed like a bug that ORDER BY didn't work at all without explicit indices, even when including all fields in SELECT. As I can't reproduce that error, the only remaining complaint is (A), that the ORDER BY fields have to be SELECT'ed.
With that in mind, I think this issue should be closed. If you think it is worth fixing (A) another issue should be filed for that only.


[Doc]:  documents for llms proxy usage.

When we use DB-GPT, it's pretty expensive.   Now, we will provide a proxy method to reduce the cost of development and use.

Hey @csunny - where do you see the cost add up? Isn't this running local LLM models?
Context - we're building something that might help here https://github.com/BerriAI/litellm/tree/main/cookbook/proxy-server

Nice job, maybe it's will help us,  @xuyuan23  @fangyinc  check this.

Thanks again, we will carefully evaluate for that.


recorded error in fileWriter never reset

If a fileWriter ever encounters some error (say, EIO), it will record it and return this error for later write & flush. However, even with the error set, the fileWriter still tries to do the normal work first (and it may succeed after a while), which may pass to the application a false negative result.

false negative is better than false positive. The EIO tell application that the file may be corrupt, and JuiceFS try its best to save the data.
Once all data are flushed, and the file handle is closed, app can access the file without problem.


Print/preview from pdf.js component getting some fields added. Help us to remove

On clicking the print button from the pdfviewer component could see four fields added in the pdf. Please find below the screen shot Highlighted in yellow.
Kindly help me to remove the four fields from the print option.

Date
pdf.js viewer(title text)
url
Date

Browser chrome, pdf.js version pdfjs-1.5.188-dist
Kindly help me to remove the four fields from the print option.

This cannot be done through code as browsers do not expose this functionality. It has to be disabled in the print dialog of the browser itself. Closing as answered.


Migrating from Travis to GitHub Actions

All Submissions:

[x] Have you followed the guidelines in our Contributing document? (I don't think you have one...?)
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

I don't have one no :D lol

I'm curious to see if your Travis checks work for the PR since I removed the .travis file.

Looks like it won't, nothing shows in the builds lol


compose: Fix buttons in error banners is not clickable.

This PR addresses an issue where buttons on error containers were not clickable due to error banners being incorrectly appended to the DOM. To resolve this, I have utilized the append_compose_banner_to_banner_list function to properly append error banners to the appropriate DOM element. This change ensures that error banners appear in the correct container, allowing buttons to be clickable.

Screenshots and screen captures:

Works for me in manual testing.

Merged, thanks @shameondev!


Could not resolve dependencies for project -starter-admin:jar:6.0.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:44 min
[INFO] Finished at: 2019-07-21T01:30:50+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project boot-react-starter-admin: Could not resolve dependencies for project -starter-admin:jar:6.0.0-SNAPSHOT: Could not find artifact com.mycompany:boot-react-starter-core:jar:6.0.0-SNAP (http://nexus.broadleafcommerce.org/nexus/content/groups/community-snapshots/) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

You need to execute mvn clean install in the root folder, like the documentation says. However, that doesn't work for master and dev5x due to other errors.

Also, make sure you are running Java 8 for the dependency resolution and run.

FTR, admin works properly in develop-6.0.x.
This issue can be closed.


BUG: Error in contact us page

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There is some error in the contact us page, it is not able to load, i want to correct it

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Can you please assign this issue under Gssoc'24 @Anushkabh


Automatically set sha/baseSha from GitHub event info if relevant

Current dependencies on/for this PR:

main

PR #42   👈

This comment was auto-generated by Graphite.


improvementstatement error in data-model

Proposed changes
this PR close :

#19739

Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

@stalary PTAL

run build all

run build all

run buildall


how to compile an arm64 version?

I can't find any libmediainfo* libzen* aarch64 version, so how to compile an debian 11 arm64 MediaInfo?

Currently, we only have ARM binaries for Raspbian.
The build procedure indicated in the README.md should also work for arm64 Debian. Alternatively, you can build from the bundled sources packages (CLI, GUI)

Currently, we only have ARM binaries for Raspbian.
The build procedure indicated in the README.md should also work for arm64 Debian. Alternatively, you can build from the bundled sources packages (CLI, GUI)

Ah sorry, I understand now. There is no need to follow the readme compilation tutorial, as you will run into various dependency issues. Just run CLI_Compile.sh directly. Thank you


Annotation work

A lot of improvements to annotations

@rsinghal I am implementing one more pull request that will improve the annotation integration with external systems and will fix many memory leaks caused by not unsubscribing from events. I should be ready really soon (hope to be tomorrow but more likely this Thursday).

Coverage increased (+2.6%) to 46.859% when pulling 5d67ac218d70232afe2198f642c62aab9f2e3717 on annotation-work into c03cc14184ff6749b0d6096bbb2a9ba7598ac799 on release2.1.

@rsinghal

@rsinghal I am implementing one more pull request that will improve the annotation integration with external systems and will fix many memory leaks caused by not unsubscribing from events. I should be ready really soon (hope to be tomorrow but more likely this Thursday).

I saw you merged it. I'll send pr to annotation-work as soon as possible.

👍

@radpet Not a problem.  We can still work against annotation-work (I am finishing up #983), I just wanted to get the merge in since the work around annotation is nearly done and I wanted it to be available to @aeschylus as he does some other work.


Unable to login with nsec.app

Hi,
I've created an nsec account, added my nostr credentials and tried to use it for logging in Coracle.
Nothing happens when I click on the "Log In" button.
Tried both mobile web and desktop web.
On the desktop, I can successfully log in with my Alby extension.
Thanks!
I love the product!

Try to add nsec.app on your Home Screen on your phone.
Open nsec.app on your phone, click on connect app, and open the scanner.
On Coracle desktop:
Logging -> Remote Signer -> Scan QR Code from nsec app
You don't need to click log in, the app should automatically log in.

Thanks, but I can't see the Remote Signer option in the login page.
See screenshot below.
[image: image.png]
--
Marco Barulli
https://marco.barulli.it
On Mon, Dec 9, 2024 at 12:35 PM Ticruz @.***> wrote:

Try to add nsec.app on your Home Screen on your phone.
Open nsec.app on your phone, click on connect app, and open the scanner.
On Coracle desktop:
Logging -> Remote Signer -> Scan QR Code from nsec app
You don't need to click log in, the app should automatically log in.
—
Reply to this email directly, view it on GitHub
https://github.com/coracle-social/coracle/issues/502#issuecomment-2527672053,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAILWGTCVUOBD45VENX5H2D2EV57FAVCNFSM6AAAAABTHL2DKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRXGY3TEMBVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


How to access the useRef() when importing JSX component into another container?

When creating a JSX from a GLTF, there is a:
const group = useRef()
This ref value is used commonly w/ gsap to do animations. If I import my JSX component into another layout, how do I access this useRef value? (group)
Right now doing a reference to the JSX component:
 <JSXComponent ref={thisRefWontWork}/>
I will get undefined. How am I able to access the contents of the original 'group' ref from outside of its component, when imported as a react functional component?

I think this was a noob inquiry, but I figured I'd put the solution here for another noob that ran into this:
Basically, I used forwardedRef instead of ref on the , then on the actually Scene.js file, I added in forwardedRef as a parameter in the react component, and changed the ref={forwardedRef}, then make sure you make the prior:
const group = useRef()
to now be
const group = forwardedRef
Now I am able to create animations of multiple GLTF->JSX components, all from a central place, by using the refs.


Linker dapp says deploying to 0,0

When deploying a scene with CLI version 3.11.0, the linker dapp initially shows the correct coordinates where the scene is
But once you begin the deployment, it changes those coordinates to 0,0

no longer relevant


covXtreme

Mission Statement
Repository for the penalised piecewise constant covariate marginal and conditional extreme value models that allows for contour estimation
Description
The covXtreme model and software for estimation of environmental design contours using the conditional extremes model of Heffernan and Tawn [2004]. The software is composed of peaks over threshold values for both a conditioning variate and its associated conditioned variates. Each pair is allocated to a particular covariate bin; all (joint) observations with the same covariate bin are assumed to have common extreme value characteristics. The non-stationary marginal extreme value characteristics of each variate is estimated using roughness-penalised maximum likelihood estimation using a generalised Pareto (GP) model above the threshold and gamma below. The extremal dependence structure between the variates on a transformed standard scale (Gumbel or Laplace) is then estimated using a conditional extremes model, also piecewise non-stationary with respect to covariates. Different approaches to contour estimation, generally reliant on simulation under the fitted models, are outlined. More theoretical details of the model can be found in https://www.sciencedirect.com/science/article/abs/pii/S0029801819303798. This work was part-funded by the European Union ERA-NET project entitled “Environmental Contours for SAfe DEsign of Ships and other marine structures (ECSADES). The code is all written in MATLAB.
Is this a new project or an existing one?
New Project
Current lead(s)
David Randell (@davidrandell84), Emma Ross (ERoss0), Philip Jonathan (@ygraigarw) and Ross Towe (@RPTowe)
Sponsoring organization(s), along with any other key contributing individuals and/or organizations
Shell PLC
Detail any existing community infrastructure, including:

Github/GitLab, or other location where the code is hosted
Website and/or docs
Communication channels ( such as Mailing lists, Slack, IRC )
Social Media Accounts

https://github.com/sede-open/covXtreme
Are there any specific infrastructure needs or requests outside of what is provided normally by LF Energy ? If so please detail them.
Maybe certain code quality scanning tools(SonarQube or Checkmarx), if LF energy has access to it.
Why would this be a good candidate for inclusion in LF Energy?
covXtreme will benefit from third parties enhancing the open-source software (recent examples include KAUST, DNV, Metocean Solutions). This may provide opportunities for Shell to improve its own internal software for related modelling activities. covXtreme provides the engineering community with access to a simple version of latest tools for marginal and joint extreme value analysis. This is aligned strongly with ongoing developments of regulatory framework, enabling safer design of marine structures.
How would this benefit from inclusion in LF Energy?
The addition to LF Energy will help CovXtreme to get more traction required in the initial stages, not to mention, the project will also get extra pair of eyes for refining growth strategy. Also the exposure will allow covXtreme to be applied to other application areas that we have not previously considered.
Provide a statement on alignment with the mission in the LF Energy charter.
Within the industry there is a push to having standard code and frameworks to maintain safety offshore, covXtreme will help to achieve that. Apart from environmental contours for ships and other marine structures, covXtreme can also analyse offshore wind and has general natural hazard applications.
What specific need does this project address?
covXtreme will provide environmental contours for safe design of ships and other marine structures. It can also analyse offshore wind and has general natural hazard applications.
Describe how this project impacts the energy industry.
Within the industry there is a push to having standard code and frameworks to maintain safety offshore, through Shell formally releasing their software it would show our commitment to being an industry leader in the sector. Several collaborators are already using previous versions of the code; however, we would like to formally the release an updated version of the code.
The code has many potential applications in other sectors that releasing the code could open, examples include analysing of offshore wind and generally natural hazard applications. This would create new collaborations and potential for new business opportunities.
Describe how this project intersects with other LF Energy projects/working groups/special interest groups.
covXtreme is aligned with the North Star Governing Principle of LFE, it will provide the 21st century plan of action for advance of transportation designs. It is also aligned with the architechtural principle 3 & 4 of LFE for the tangible world, overall it will improve the offshore safety.
Who are the potential benefactors of this project?
covXtreme provides the engineering community with access to simple version of latest tools for marginal and joint extreme value analysis, it will enable safer design of marine structures
What other organizations in the world should be interested in this project?
Within the industry there is a push to having standard code and frameworks to maintain safety offshore, through Shell formally releasing their software it would show our commitment to being an industry leader in the sector. Several collaborators are already using previous versions of the code; however, we would like to formally the release an updated version of the code.
The code has many potential applications in other sectors that releasing the code could open, examples include analysing of offshore wind and generally natural hazard applications. This would create new collaborations and potential for new business opportunities.
Plan for growing in maturity if accepted within LF Energy
Shell is committed to the future of covXtreme with a long term plan to further develop the product
Project license
Apache License 2.0
Is the project's code available now? If so provide a link to the code location.
https://github.com/sede-open/covXtreme
Does this project have ongoing public (or private) technical meetings?
Discussed internally on a regular basis.
Does this project's community venues have a code of conduct? If so, please provide a link to it?
There is an internal code of conduct that is the baseline for most of the Shell Project.
Describe the project's leadership team and decision-making process.
The covXtreme software has been developed by PTX/D/S (Data Science) over the course of a number of years. The development of methodology was initially motivated by Shell's involvement in an EU-funded project "ECSADES". More recent development was motivated by the needs of specific Shell research, development and applications projects. Project leadership is provided by PTX/D/S line.
Does this project have public governance (more than just one organization)?
No
Does this project have a development schedule and/or release schedule?
Not at the moment. covXtreme has improved with time and project team has made multiple incremental changes.
Does this project have dependencies on other open source projects? Which ones?
No
Describe the project's documentation.
The code has an associated user guide detailing two examples uses case as well as a journal paper that will be submitted in the next few weeks.
Describe any trademarks associated with the project.
We're not aware of any associated trademark.
Do you have a project roadmap? If so please attach or provide a link.
We have not finalised anything yet but there are certain ideas.
Are this project's roadmap and meeting minutes public posted?
No
Does this project have a legal entity and/or registered trademarks?
No
Has this project been announced or promoted in any press?
No promotion has been done with any media house
Does this project compete with other open source projects or commercial products?
No such products as per our knowledge.
### Tasks

@bhakar7 I want to confirm you are all set for 12/19. If you have any slides you want to include in our main presentation, please send to me<EMAIL_ADDRESS>Also, if you need me to send anyone else the meeting invitation, please let me know.

Hi @yarille Thanks for the confrimation, I'll share the list of attendees over email.

Hello @yarille I have some slides that I want to present in the meeting. Do you need to have a copy of them or am I alright to present them from my machine?

@RPTowe I can add them to our main presentation and/or you can present them from yours. We can do both. Whatever you prefer. If you can send them to me either way, that would be great. I would like to have them to share/post after the meeting with our meeting minutes if that is okay with you.

@yarille I have sent you the slides in an email.

Presented to TAC- 12/19/2023. Project will be taken to the TAC for vote via email.

Project approved via TAC email vote.


Multi frame

Add support for multi-frame responses from isotp-c.

I made some changes to the auto_pid_length function. Need to fix the tests to reflect these changes. And also add changes for the multi-frame additions.

Reviewed with @emarsman and @rwoberholzer


Query build should accept in WHERE clause MATCH AGAINST

So i've been searching how to make this query with the query builder class or the model but there is no way how to make this query here in example
SELECT * FROM countries WHERE MATCH (title) AGAINST ('a b c') OR MATCH (name) AGAINST ('a b c')
The Where method concatenates "=" symbol so i cannot do this maybe there is a way ?
But surely the Match() method can be implemented this way.
WHERE MATCH works differently so i really need this some way to implement it but i do not want to make a long query that i need to escape all of its content.

You can custom where condition with RawSql
See this

We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS.


[vidio] Add support for premier-exclusive videos

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[x] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Add another API endpoint for downloading premier-only videos (requires account regardless of video, so old URL may still be used)
(also adds subtitle support)

While looking at the JSON data, I noticed a key for checking premium videos. Revamped again for less hacky code


Throw error when attempting to construct a UNION of function sets

[x] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] Documentation added for any new functionality
[ ] Entries added to ./unreleased/ for any new functionality

closes #2772
The intended behavior is to throw an error, if a function set is packed into an expandable expression (e.g. UNION).
The underlying issue was that ExpansionMarker was scope-unaware, as it was setting subexpression flags without regard to the current value of the flag.

Would the error message this now raises make it clear to the user who hit the problem what was at issue and how to fix it?

Would the error message this now raises make it clear to the user who hit the problem what was at issue and how to fix it?

About as much as any other error message that references sets that are "too large to expand". The bug here was that it was possible to sneak in a set of function sets without triggering an error, since Apalache has no way of dealing with this at the constraint level (it would be so inefficient it's not even implemented)

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (d46cc5e) 78.84% compared to head (5c197f6) 78.83%.

:exclamation: Current head 5c197f6 differs from pull request most recent head b563d6e. Consider uploading reports for the commit b563d6e to get more accurate results

Files
Patch %
Lines

.../apalache/tla/bmcmt/analyses/ExpansionMarker.scala
50.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2778      +/-   ##
==========================================
- Coverage   78.84%   78.83%   -0.02%
==========================================
  Files         466      466
  Lines       15903    15903
  Branches     2604     2604
==========================================
- Hits        12539    12537       -2
- Misses       3364     3366       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove ember-cli-requestanimationframe-polyfill

This addon targets IE 10 as it's oldest browser, which supports rAF natively, so I believe this polyfill is not necessary.

@nlfurniss that addon should only import the polyfill if you have a browser in your targets.json that doesn't support raf.
So this shouldn't be affecting you in any way. Was there a particular reason for wanting to remove it?

It’s using an outdated version of ember-cli-Babel (v6), and since it seemed like it wasn’t needed, I figured it was easier to remove it than bump its dep and then then bump it in this addon.

@miguelcobain do you mind cutting a new release?

@nlfurniss released on 2.1.1

@nlfurniss released on 2.1.1

Thank you!


When adding device you can test that it works.

Testing that the device is working with the test modal, should be part of the flow. Here the user can see if readings and commands are working. And if there is any invalid messages.

Addressed in 223e183


Please add rminnich and devender as owners or managers

we need to be able to approve PRs and add users.

I got yours but need to know Devender  girhub id


Adding "Urban Sound Classification" tutorial on project page

description
We need to create a machine learning model to classify urban sounds using deep learning techniques. This model will be used to identify sounds like sirens, car horns, and other urban noises. The project will involve audio feature extraction (e.g., MFCCs) and training a model to classify these features.
Tasks:

Set up development environment
Install required libraries: librosa, tensorflow, scikit-learn, matplotlib.
Set up a Python virtual environment for the project.
Explore and Load Dataset
Download the UrbanSound8K dataset.
Load metadata and audio files from the dataset.
Extract Audio Features
Use librosa to extract audio features like MFCCs for each sound file.
Write a function to handle feature extraction.
Build Deep Learning Model
Use tensorflow to build a Sequential model.
Add dense layers and compile the model.
Train the model on extracted features.
Model Evaluation and Optimization
Evaluate the model using test data.
Visualize model accuracy and loss over training epochs.
Experiment with optimizations such as CNNs or data augmentation techniques.
Model Deployment
Save the trained model.
Create a deployment script (e.g., using Flask) to serve the model for real-time classification.

@vivekv2810 can u please assign this to me under gssoc-ext, hacktoberfest accepted and level label?

@Palmistry2310 assigning this issue to you.
Make sure to complete this.


Cannot load underlying module for 'XCTest' when i am using charts in xcode7.1

See #599

This maybe a little late but what you have to do is:
Click on File > New > Target > iOS Unit Testing Bundle.
And then add your tests in there. This worked for me. The problem was that I didn't select create unit tests when I created my project. Hope this helps someone.


Unable to view rtsps stream in HA in my production instance - works in my test instance?

This works in my test home assistant instance:
type: custom:webrtc-camera
url: rtsps://bblp:PASSWORD@<IP_ADDRESS>:322/streaming/live/1
background: true
But in my production one I get:

mse: tls: failed to verify certificate: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs
If I change to rtspx which I saw mentioned in an issue as disabling security, that also works in my test instance but fails in my production instance:

mse: wrong response on DESCRIBE

And now my WebRTC install in my production HA seems to have died - I can no longer access go2rtc at :1984 where I could earlier. And the video playback error has changed:

And removing the WebRTC integration and re-adding it fixed everything. Now go2rtc is working again on IP:1984 and the video is playing successfully in the dashboard, the same as my test HA instance.

I guess problem solved


⚠ Avatar API Endpoint has degraded performance

In 3683d01, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 2026 ms

Resolved: Avatar API Endpoint performance has improved in 95f86ce.


Table breaks out of layout (cbi/tblsection)

Working on luci-proto-wireguard. Unfortunately, the peers require quite some options. Too many for the table, so the table breaks out of the layout. Am I doing it wrong or is this an issue that needs to be adressed by e.g. breaking the rows somehow? I don't think there is an easy fix for that. Browser don't support automatic wrapping/breaking of TRs and teaching LUA how and when to split long TRs into multiple TRs seems tedious. Also, how to split the TH row so that the columns still match the corresponding TDs in TBODY? Ideas?
See the ugliness here :)

@danrl Likely some of the fields in the table have fixed sizes instead of based on the size of the browser window (e.g. public key, my address, etc entry fields) which cause the table to be unable to resize to the browser window.  Might be theme-specific issue too.

This has been resolved (for me). I chose a more relaxed design approach in luci-proto-wireguard eventually.


Update j.hept.io shortlinks

Hi @jbeda
Could you please update the following j.hept.io shortlinks to point to these new locations

[ ] https://j.hept.io/contour-kuard-example -> https://raw.githubusercontent.com/heptio/contour/master/examples/example-workload/kuard.yaml
[ ] https://j.hept.io/contour-deployment-rbac -> https://raw.githubusercontent.com/heptio/contour/master/examples/render/deployment-rbac.yaml

Please feel free to close this issue once complete.
Updates #1118

Updated! Let me know if they aren't working.

Looks good 👍 thanks @jbeda
@rochacon You're go to finish #1118


alfa-test-utils: extract and send metadata to the Siteimprove Intelligence Platform

Resolves II-8305
The README is extremely small, just showing basic use case, proper documentation will come later.

!pr extract


Add matcher for structs with ignored order in nested fields

In PR https://github.com/golang/mock/pull/546 we got a matcher that ignores the order of a slice or array. Sometimes the order can't be controlled properly it makes sense to have this matcher. But it is only capable of ignoring the order if the struct is of type slice or array, and not nested.
I would propose to add a matcher that will return true for unordered nested structs as well. Example unit test:
func TestOrderlessMatcher(t *testing.T) {
	testCases := []struct {
		expected interface{}
		value    interface{}
		matches  bool
	}{
		{
			struct{ List []string }{List: []string{"Value1", "Value2"}},
			struct{ List []string }{List: []string{"Value2", "Value1"}},
			true,
		},
	}
	for i, testCase := range testCases {
		t.Run(fmt.Sprintf("Test #%d", i), func(t *testing.T) {
			assert := assert.New(t)
			m := matchers.NewOrderlessMatcher(testCase.expected)
			assert.Equal(testCase.matches, m.Matches(testCase.value))
		})
	}
}

This is an understandable request. We are currently looking into whether or not the form of this feature should be a new top-level matcher or an option or change in the behavior of the existing InAnyOrder matcher.

@sebastianbuechler Can you clarify further about the matcher requirements ?
Can the struct have more fields which are not slice/array ? When you say nesting then do you mean any complex nested structure ?
eg:
type A struct {
  Field1 []string{}

  // some customer type which can have slice/array as it's own fields
  Field2 B

  // some primitive type fields
  Field3 int

  // slice/array of some non primitive type
  Field4 []C
}

type B struct {
  Field1 []D
}

type C struct {
  Field1 int
}

type D struct {
  Field1 string
}

// so are you expecting structs mentioned below should match ?
A1 := A{
  Field1: { "1", "2" },
  Field2: B{
    Field1: []D{
      { Field1: "a" }
      { Field2: "b" }
    }
  },
  Field3: 4,
  Field4: []C{
    { Field1: 1 }
    { Field1: 2 }
  }
}

A2 := A{
  Field1: { "2", "1" },
  Field2: B{
    Field1: []D{
      { Field1: "b" }
      { Field2: "a" }
    }
  },
  Field3: 4,
  Field4: []C{
    { Field1: 1 }
    { Field1: 2 }
  }
}


Add more checks

I found the issue here on osx: the method ImageSurface::create_from_png. It fails when leaving the read_func. And that's pretty much all we can get at this point... I suppose there is a bug in the osx implementation. We can still make a workaround for osx.

It not related to #185?

Ah maybe?

It seems to be working now so I merge (but the issue on OSX and potentially windows remains).


Add more testing frameworks, logos, and platform names.

@joshmarinacci I think we should see if we can get dark and light mode images for these frameworks:
https://docs.gitbook.com/content-editor/blocks/insert-images
For example, cypress we can do:


Why is the texture the same after different mesh Settings?

Use Github issues ONLY for bugs validated on the forum first!
We have a really active forum to help answering questions (https://forum.babylonjs.com/)
Repro

Bug repro on playground:
Expected result: diff material
Current result: same material

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [windows]
Browser [chrome]
Version [7.4.0]

Additional context
Add any other context about the problem here.
meshName and img is params, this is my code，please help me
scene.meshes.forEach((mesh) => {
    if (mesh.material) {
        if (mesh.material.name === meshName) {
            mesh.material.albedoTexture = BABYLON.Texture.CreateFromBase64String(img, scene)
        }
    }
});

@qq378488249 can you please use the forum sharing your repro there first ? we only use github once the issue has been validated there first. And most importantly, share a repro there :-)


Hide imports of dependencies

Currently, you can import a module's dependencies as follows.
from mlops.dataset.data_processor import Dict

I am still trying to find a concrete answer to this problem. It might be possible to structure __init__.py files such that dependency imports are hidden. I also know you can alias imports, e.g., from typing import Dict as _Dict, but that seems like a cumbersome solution to a relatively simple problem.

Was this supposed to be in the mlops repo?


Year Values are not shown by order!

Year values appear like this :
1398
1402
1394
...

Needs clarification.


Tabs opened are not formatted on save

Hey all,
I appreciate the work on this.
I have encountered an issue when I open a file, then open another file with :tabe.
The first file is formatted on save when I have the appropriate variable set.
The second file produces an error message. It still formats the file, but this error opens a scratch buffer unless errors are silenced. Then it just blinks a disconcerting red spot at the bottom of my screen.

Hi,

What is the error message? Is there something suspicious in :messages? No idea what a red blinking is supposed to mean.

What are the exact steps to reproduce it?
I tried this to no avail:
$ vim one.exs
:w
:tabe two.exs
:w
gt
u
:w

Works without problems here.

What Vim version do you use?

Could you try disabling as many other plugins as possible? Often they interfere in unexpected ways, so it's good to disable them in the meanwhile.

Formatting failed. Check :messages.
It isn't weird red stuff, it is just the normal red of a Error being logged, but :messages is empty.

I am on vim 8.0

It also takes the unsaved buffers I have and reformats the last saved version and replaces my changes with the formatted version of the previously saved file.

Huh, I can reproduce it with Vim but not with Neovim.
Thanks, I'm looking into it.

Okay, it should be fixed on master!
It was a rather stupid issue and lead to an autocmd set twice, so.. basically the plugin was run twice on :w, one time succeeding and one time failing. And Neovim is simply handling it better than Vim.
Anyway, the autocmd is only set once now and it should work the same everywhere.

I'm pretty sure it's fixed now, so I'm closing this. (Please reopen this issue otherwise.)
Thanks for bringing this up! ✨

Sounds good. I appreciate it. I have been using it the past few days, and it seems to be working great.
I may have found another bug, but I haven't put together a set of retro steps yet. so I will take care of that soon.
Thanks for this project.


Error when using json_extract_path on a field using custom type after updating from 3.9 to 3.10

Elixir version
1.13.4
Database and Version
postgres 13
Ecto Versions
3.10.1
Database Adapter and Versions (postgrex, myxql, etc)
postgrex 0.16.5
Current behavior
Assuming a schema with a field defined with a custom type something like this
defmodule Thing
  schema "things" do
    field :object, CustomType
  end
end

defmodule CustomType do
  use Ecto.Type

  def type, do: :map

  # ...
end

from(t in Thing, where: t["key"] == "val") |> Repo.all()

I get an error like this:
     ** (RuntimeError) expected field `object` to be an embed or a map, got: `CustomType`
     stacktrace:
       (elixir 1.13.4) lib/enum.ex:1715: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
       (elixir 1.13.4) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
       (elixir 1.13.4) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
       (ecto 3.10.1) lib/ecto/repo/queryable.ex:34: Ecto.Repo.Queryable.stream/3

Expected behavior
I would expect the query succeed, which it does when using Ecto 3.9.2.
If this was an expected change in the API then I think we should make the error more clear about why it does not work.

Hi, @tfwright, I believe this was fixed here: https://github.com/elixir-ecto/ecto/pull/4195, but it wasn't released yet.

My bad for not checking first! Thanks!


GEODE-8370: Add test for maxInactiveInterval

Write test verifying that maxInactiveInterval propagates correctly to all buckets

Failure in Distributed Test unrelated to this PR


Add storage for cacheable homekit entity maps.

Description:
Non-breaking change to cache the output of /accessories in a storage. This data should be refreshed when a change is announced by the device (the c# zeroconf field for IP, the same field in the Manufacturer Data field for BLE). The goal of this is:

To allow homekit_controller devices to be shown in the UI immediately after a start and not have to wait for discovery to complete (this will require config entries to come to fruition)
To allow homekit_controller entities to be shown in the UI (albeit it as unavailable) if HA starts when an accessory is switched off (this will require config entries to come to fruition)
To reduce start up time for bluetooth HomeKit devices (you have to enumerate every GATT characteristic and it is slow)

I've tested pairing from a clean env, and i've tested upgrading an existing env. Works as expected in both cases.
This is the last change before the main homekit_controller config entries pull request. I'd like to get this PR into a release and then do config entries in release after. After config entires is merged coverage will be high enough to remove homekit_controller from coveragerc!
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] Tests have been added to verify that the new code works.

I would recommend not adding this to 0.92. Let it go out in 0.93 and the config entry can come in 0.94.


Allow viewing and running qml apps installed in dev directory

:Release Notes:
Allow viewing and running qml apps installed in dev directory
:Detailed Notes:
Because sam ignored appinfo metadata of qml app installed in the
dev directory, therefore the qml apps were not exposed by 'listApps'
ls api and no way to launch it.
This code-patch gets rid of this problem.
:Testing Performed:
Tested locally on qemux86
:QA Notes:
None
:Issues Addressed:
None
Signed-off-by: Junil Kim<EMAIL_ADDRESS>

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

@@sangwoo-kang please review this PR.


Passing secrets from release Workflow to test Workflow

Current dependencies on/for this PR:

main

PR #1178   👈

This comment was auto-generated by Graphite.